diff --git a/ipk-source/sdxpinn-quecmanager-beta/CONTROL/control b/ipk-source/sdxpinn-quecmanager-beta/CONTROL/control index b14cf79..98b9c18 100755 --- a/ipk-source/sdxpinn-quecmanager-beta/CONTROL/control +++ b/ipk-source/sdxpinn-quecmanager-beta/CONTROL/control @@ -1,5 +1,5 @@ Package: sdxpinn-quecmanager-beta -Version: 2.2.8 +Version: 2.3.0 Architecture: aarch64_cortex-a53 Maintainer: Russel Yasol dr-dolomite@github.com Cameron Thompson iamromulan@github.com Christopher Landwehr clndwhr@github.com Source: github.com/iamromulan diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/etc/init.d/quecmanager_logging b/ipk-source/sdxpinn-quecmanager-beta/root/etc/init.d/quecmanager_logging new file mode 100644 index 0000000..eea4f02 --- /dev/null +++ b/ipk-source/sdxpinn-quecmanager-beta/root/etc/init.d/quecmanager_logging @@ -0,0 +1,103 @@ +#!/bin/sh /etc/rc.common +START=48 +STOP=11 +USE_PROCD=1 + +# QuecManager Logging Management Service +# Handles log rotation, cleanup, and logging system initialization + +start_service() { + echo "Starting QuecManager Logging Management..." + + # Initialize centralized logging system + echo "Initializing centralized logging directories..." + + # Source logger with error handling + if . /www/cgi-bin/services/quecmanager_logger.sh 2>/dev/null; then + qm_init_logs + LOGGER_AVAILABLE=1 + else + echo "Warning: Could not load logger, creating directories manually" + mkdir -p "/tmp/quecmanager/logs/daemons" "/tmp/quecmanager/logs/services" "/tmp/quecmanager/logs/settings" "/tmp/quecmanager/logs/system" 2>/dev/null || true + LOGGER_AVAILABLE=0 + fi + + # Set proper permissions + chmod 755 "/tmp/quecmanager/logs" "/tmp/quecmanager/logs/daemons" "/tmp/quecmanager/logs/services" "/tmp/quecmanager/logs/settings" "/tmp/quecmanager/logs/system" 2>/dev/null || true + + # Create status and readme files + cat > "/tmp/quecmanager/logs/status.json" </dev/null || true + + # Create README for administrators + cat > "/tmp/quecmanager/logs/README.txt" </dev/null || true + + # Log the initialization (only if logger is available) + if [ "$LOGGER_AVAILABLE" = "1" ]; then + qm_log_info "system" "quecmanager_logging" "Centralized logging system initialized" + fi + echo "Centralized logging directories initialized" + + # Start periodic log cleanup daemon + echo "Starting periodic log cleanup daemon..." + procd_open_instance cleanup + procd_set_param command sh -c 'while true; do sleep 21600; /www/cgi-bin/services/cleanup_logs.sh; done' + procd_set_param respawn + procd_set_param stdout 1 + procd_set_param stderr 1 + procd_close_instance + echo "Log cleanup daemon started (runs every 6 hours)" + + # Log the completion (only if logger is available) + if [ "$LOGGER_AVAILABLE" = "1" ]; then + qm_log_info "system" "quecmanager_logging" "QuecManager logging management started - cleanup every 6 hours" + fi + echo "QuecManager Logging Management started" +} + +stop_service() { + # Log shutdown (only if logger is available) + if . /www/cgi-bin/services/quecmanager_logger.sh 2>/dev/null; then + qm_log_info "system" "quecmanager_logging" "QuecManager logging management stopping" 2>/dev/null || true + fi + + # procd will handle stopping all instances automatically + echo "Stopping QuecManager Logging Management." +} diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/404.html b/ipk-source/sdxpinn-quecmanager-beta/root/www/404.html index 93f8d49..ef4427b 100644 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/404.html +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/404.html @@ -1 +1 @@ -404: This page could not be found.QuecManager

404

This page could not be found.

    \ No newline at end of file +404: This page could not be found.QuecManager

    404

    This page could not be found.

      \ No newline at end of file diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/404/index.html b/ipk-source/sdxpinn-quecmanager-beta/root/www/404/index.html index 93f8d49..ef4427b 100644 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/404/index.html +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/404/index.html @@ -1 +1 @@ -404: This page could not be found.QuecManager

      404

      This page could not be found.

        \ No newline at end of file +404: This page could not be found.QuecManager

        404

        This page could not be found.

          \ No newline at end of file diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/QktWtlsQL-2ss_eQyrSZD/_buildManifest.js b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/QktWtlsQL-2ss_eQyrSZD/_buildManifest.js new file mode 100644 index 0000000..68ad29f --- /dev/null +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/QktWtlsQL-2ss_eQyrSZD/_buildManifest.js @@ -0,0 +1 @@ +self.__BUILD_MANIFEST=function(r,e,t){return{__rewrites:{afterFiles:[],beforeFiles:[],fallback:[]},__routerFilterStatic:{numItems:33,errorRate:1e-4,numBits:633,numHashes:14,bitArray:[1,1,1,0,0,r,r,r,0,e,r,r,e,r,r,e,r,e,r,e,r,r,r,r,r,r,e,e,e,e,r,e,r,r,e,r,r,e,r,e,e,r,e,r,r,r,r,e,r,e,r,r,e,r,r,e,r,e,e,r,e,r,r,e,e,r,e,r,r,e,r,e,r,r,e,r,e,e,e,r,e,e,e,e,r,r,e,e,e,r,r,r,r,r,r,r,r,r,e,e,e,r,e,r,r,e,r,e,e,r,e,e,e,e,r,e,e,e,r,e,r,e,e,r,e,r,r,e,r,e,e,e,r,r,e,r,r,r,r,r,r,e,r,e,e,r,r,e,r,e,r,r,r,e,r,r,e,e,e,r,e,r,r,r,e,r,r,r,e,e,e,r,r,r,e,e,r,r,r,e,r,e,r,r,e,r,e,e,r,e,r,r,r,e,e,r,r,e,r,r,r,r,e,e,e,e,r,r,e,r,r,e,e,r,r,r,r,e,e,r,e,r,e,r,e,r,r,e,r,r,e,e,e,r,e,e,r,r,r,r,e,r,r,r,e,e,e,e,r,e,r,e,r,r,e,r,r,e,e,e,e,e,r,r,e,r,e,e,e,e,e,e,r,e,r,e,r,e,r,r,e,r,r,e,r,e,e,e,e,e,e,e,r,r,r,e,r,r,e,r,r,e,e,e,e,e,r,e,r,e,r,e,r,r,e,e,e,e,e,e,r,e,r,r,e,r,e,e,e,r,e,e,e,r,r,e,r,r,e,r,e,e,e,r,e,r,r,e,e,e,e,r,e,r,e,r,e,r,e,r,e,e,e,r,e,r,r,r,e,e,r,r,e,r,r,r,r,r,r,r,e,e,e,r,e,r,r,e,r,r,e,e,r,r,r,r,r,r,e,r,r,r,r,e,r,r,r,r,e,r,e,e,e,r,r,e,r,r,e,r,e,r,e,e,r,r,r,r,r,e,e,e,e,r,e,r,r,r,e,e,e,r,e,r,r,r,e,e,e,e,e,r,e,e,e,r,r,r,e,r,e,r,e,r,e,r,e,r,r,e,e,r,r,r,r,r,r,r,e,e,r,r,e,r,e,e,r,r,e,e,r,e,r,r,e,e,e,r,e,e,e,r,e,e,e,r,r,r,e,r,e,e,r,r,e,r,r,e,r,e,e,e,r,r,e,e,r,r,e,r,r,e,e,r,e,e,r,r,r,e,e,r,r,r,r,e,e,e,r,r,e,e,r,e,r,e,e,e,r,e,e,e,r,e,r,e,r,e,e,r,r,r,r,e,r,r,e,r,e,e,r,e,r,r,e,r,e,r,r,r,r,r,e,r,r,e,r,r,e,r,e,r,e,r,r,r,e,r,e,e,r,r,e,e,e,e,r,r,r,r,e,e,e,r,e,e,r,r,r,e,e,e,r]},__routerFilterDynamic:{numItems:e,errorRate:1e-4,numBits:e,numHashes:null,bitArray:[]},"/_error":["static/chunks/pages/_error-8219f0da6c3b58d9.js"],sortedPages:["/_app","/_error"]}}(1,0,0),self.__BUILD_MANIFEST_CB&&self.__BUILD_MANIFEST_CB(); \ No newline at end of file diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/uRwx5ooNp2kzLYjnL-ESB/_ssgManifest.js b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/QktWtlsQL-2ss_eQyrSZD/_ssgManifest.js similarity index 100% rename from ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/uRwx5ooNp2kzLYjnL-ESB/_ssgManifest.js rename to ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/QktWtlsQL-2ss_eQyrSZD/_ssgManifest.js diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/1209-6d7edd4420dc865e.js b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/1209-6d7edd4420dc865e.js deleted file mode 100644 index 91adadf..0000000 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/1209-6d7edd4420dc865e.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1209],{87133:(e,t,s)=>{s.r(t),s.d(t,{default:()=>y});var a=s(20475),l=s(20107),r=s(72167),i=s(35601),o=s(42541),c=s(76554),n=s(64219),d=s(49153),u=s(77257),h=s(45934),m=s(29475),p=s(39997);let v=(0,p.A)("LockOpen",[["rect",{width:"18",height:"11",x:"3",y:"11",rx:"2",ry:"2",key:"1w4ew1"}],["path",{d:"M7 11V7a5 5 0 0 1 9.9-1",key:"1mm8w8"}]]);var g=s(52161),w=s(97801),x=s(32857),N=s(49573);let C=(0,p.A)("CircleX",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m15 9-6 6",key:"1uzhvr"}],["path",{d:"m9 9 6 6",key:"z0biqf"}]]);var f=s(98969);let j=(0,p.A)("Clock1",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polyline",{points:"12 6 12 12 14.5 8",key:"12zbmj"}]]),b=(0,p.A)("Calendar",[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}]]),R=e=>{let{loading:t,scheduleData:s,onStartTimeChange:i,onEndTimeChange:c,onSchedulingToggle:u}=e,[h,p]=(0,l.useState)({text:"Disabled",color:"text-red-600",icon:C}),v=()=>{if(!s.enabled){p({text:"Disabled",color:"text-red-600",icon:C});return}let e=new Date,t=60*e.getHours()+e.getMinutes(),[a,l]=s.startTime.split(":").map(Number),[r,i]=s.endTime.split(":").map(Number),o=60*a+l,c=60*r+i;o<=c?t>=o&&t<=c?p({text:"Active",color:"text-green-600",icon:f.A}):p({text:"Inactive",color:"text-yellow-500",icon:j}):t>=o||t<=c?p({text:"Active",color:"text-green-600",icon:f.A}):p({text:"Inactive",color:"text-yellow-500",icon:j})},g=()=>{s.active?p({text:"Active",color:"text-green-600",icon:f.A}):s.enabled&&!s.active?p({text:"Inactive",color:"text-yellow-500",icon:j}):p({text:"Disabled",color:"text-red-600",icon:C})};(0,l.useEffect)(()=>{g();let e=setInterval(v,6e4);return()=>{clearInterval(e)}},[s]);let w=h.icon;return(0,a.jsxs)(r.Zp,{children:[(0,a.jsxs)(r.aR,{children:[(0,a.jsxs)(r.ZB,{className:"flex items-center justify-between",children:[(0,a.jsx)("div",{children:(0,a.jsx)("span",{children:"Cell Locking Scheduler"})}),(0,a.jsxs)("div",{className:"flex items-center",children:[(0,a.jsx)(w,{className:"h-4 w-4 mr-1 ".concat(h.color)}),(0,a.jsx)("div",{className:"text-sm text-gray-500",children:h.text})]})]}),(0,a.jsx)(r.BT,{children:"Schedule the device to lock to specific cells at certain times."})]}),(0,a.jsxs)(r.Wu,{children:[s.enabled&&(0,a.jsxs)(N.Fc,{className:"mb-6",children:[(0,a.jsx)(m.A,{className:"h-4 w-4",color:"orange"}),(0,a.jsx)(N.XL,{children:"Scheduled Cell Locking Active"}),(0,a.jsx)(N.TN,{children:"Cell locking is currently being managed by the scheduler. Manual changes to cell locks may be overridden during scheduled hours."})]}),(0,a.jsxs)("div",{className:"grid lg:grid-cols-2 grid-cols-1 grid-flow-row gap-4",children:[(0,a.jsxs)("div",{className:"grid w-full max-w-sm items-center gap-2",children:[(0,a.jsx)(d.J,{htmlFor:"start-time",children:"Start Time"}),(0,a.jsx)(n.p,{type:"time",id:"start-time",value:s.startTime,onChange:e=>i(e.target.value),disabled:t||s.enabled,placeholder:"START TIME"})]}),(0,a.jsxs)("div",{className:"grid w-full max-w-sm items-center gap-2",children:[(0,a.jsx)(d.J,{htmlFor:"end-time",children:"End Time"}),(0,a.jsx)(n.p,{type:"time",id:"end-time",value:s.endTime,onChange:e=>c(e.target.value),disabled:t||s.enabled,placeholder:"END TIME"})]}),(0,a.jsx)("div",{className:"lg:col-span-2 col-span-1",children:(0,a.jsx)("p",{className:"text-sm text-gray-500",children:"Make sure to properly set the timezone using Luci for this to properly work. The scheduler will lock the device to the selected cells during the specified time range. The scheduler will not lock the device if the time range is not valid (e.g. start time is after end time)."})})]})]}),(0,a.jsx)(r.wL,{className:"border-t py-4",children:(0,a.jsxs)(o.$,{onClick:()=>u(!s.enabled),disabled:t||!s.locked&&!s.enabled,children:[(0,a.jsx)(b,{className:"h-4 w-4"}),s.enabled?"Disable Scheduler":"Enable Scheduler"]})})]})};var A=s(88926);let y=()=>{let{toast:e}=(0,x.dj)(),[t,s]=(0,l.useState)(!1),[p,N]=(0,l.useState)(!1),[C,f]=(0,l.useState)(!1),[j,b]=(0,l.useState)(!1),[y,E]=(0,l.useState)({enabled:!1,startTime:"",endTime:"",active:!1,status:"",message:"",locked:!1}),[k,T]=(0,l.useState)({EARFCN1:"",PCI1:"",EARFCN2:"",PCI2:"",EARFCN3:"",PCI3:""}),[F,P]=(0,l.useState)({NRARFCN:"",NRPCI:"",SCS:"",NRBAND:""}),S=e=>{let t=e.match(/\+QNWLOCK:\s*(.+?)\n/);return t?t[1].replace(/"/g,"").split(",").map(e=>e.trim()):null},I=async()=>{try{s(!0);let e=await fetch("/cgi-bin/quecmanager/at_cmd/fetch_data.sh?set=8"),t=await e.json();if(!e.ok)throw Error("Failed to fetch current status");console.log("Current cell locking status:",t);let a=S(t[2].response);console.log("Persist status:",a),a&&a.length>=2&&(f("1"===a[1]),b("1"===a[2]));let l=S(t[0].response);if(console.log("Current LTE lock status:",l),l){let e={EARFCN1:l[2],PCI1:l[3],EARFCN2:l[4],PCI2:l[5],EARFCN3:l[6],PCI3:l[7]};T(e),console.log("New LTE state:",e),parseInt(l[1])>0&&N(!0)}let r=S(t[1].response);if(console.log("Current NR5G lock status:",r),r&&r.length>=5){let e={NRPCI:r[1],NRARFCN:r[2],SCS:r[3],NRBAND:r[4]};P(e),console.log("New NR5G state:",e),parseInt(r[1])>0&&N(!0)}}catch(t){console.error("Error fetching current status:",t),e({title:"Error",description:"Failed to fetch current cell locking status",variant:"destructive"})}finally{s(!1)}},L=async t=>{try{let a;if(s(!0),t&&(!y.startTime||!y.endTime))throw Error("Please set both start and end times");let l=t?{enabled:!0,startTime:y.startTime,endTime:y.endTime}:{enabled:!1},r=await fetch("/cgi-bin/quecmanager/cell-locking/handle_scheduled_locking.sh",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(l)}),i=await r.text();if(!r.ok)throw Error("Server responded with status: ".concat(r.status));try{a=JSON.parse(i)}catch(e){throw Error("Failed to parse response: ".concat(i))}if("success"===a.status)E(e=>({...e,enabled:t})),e({title:"Success",description:t?"Cell locking schedule enabled":"Cell locking schedule disabled"});else throw Error(a.message||"Failed to update scheduling")}catch(e){}finally{s(!1),await I()}},_=async()=>{try{var t,a,l,r;s(!0);let i=[];if(k.EARFCN1&&k.PCI1&&i.push([k.EARFCN1,k.PCI1]),k.EARFCN2&&k.PCI2&&i.push([k.EARFCN2,k.PCI2]),k.EARFCN3&&k.PCI3&&i.push([k.EARFCN3,k.PCI3]),0===i.length)throw Error("Please fill at least one EARFCN and PCI pair");let o='AT+QNWLOCK="common/4g",'.concat(i.length);i.forEach(e=>{let[t,s]=e;o+=",".concat(t,",").concat(s)});let c=await (0,A.a)(o,!0);if((null===(t=c.response)||void 0===t?void 0:t.status)!=="success")throw Error((null===(l=c.response)||void 0===l?void 0:l.raw_output)||"Failed to lock LTE cells");await new Promise(e=>setTimeout(e,1e3));let n=await (0,A.a)('AT+QNWLOCK="save_ctrl",1,0',!0);if((null===(a=n.response)||void 0===a?void 0:a.status)!=="success")throw Error((null===(r=n.response)||void 0===r?void 0:r.raw_output)||"Failed to save LTE lock configuration");await I(),e({title:"Success",description:"LTE cells locked successfully with ".concat(i.length," pair").concat(i.length>1?"s":"")})}catch(t){s(!1),e({title:"Error",description:t instanceof Error?t.message:"Failed to lock LTE cells",variant:"destructive"})}},G=async()=>{try{var t,a,l,r;if(s(!0),!F.NRPCI||!F.NRARFCN||!F.SCS||!F.NRBAND)throw Error("Please fill all NR5G fields");let i='AT+QNWLOCK="common/5g",'.concat(F.NRPCI,",").concat(F.NRARFCN,",").concat(F.SCS,",").concat(F.NRBAND),o=await (0,A.a)(i,!0);if((null===(t=o.response)||void 0===t?void 0:t.status)!=="success")throw Error((null===(l=o.response)||void 0===l?void 0:l.raw_output)||"Failed to lock NR5G cell");await new Promise(e=>setTimeout(e,1e3));let c=await (0,A.a)('AT+QNWLOCK="save_ctrl",0,1',!0);if((null===(a=c.response)||void 0===a?void 0:a.status)!=="success")throw Error((null===(r=c.response)||void 0===r?void 0:r.raw_output)||"Failed to save NR5G lock configuration");await I(),e({title:"Success",description:"NR5G cell locked successfully"})}catch(t){s(!1),e({title:"Error",description:t instanceof Error?t.message:"Failed to lock NR5G cell",variant:"destructive"})}},D=async()=>{try{var t,a,l,r,i,o,c,n;s(!0);let d=await (0,A.a)('AT+QNWLOCK="common/4g",0',!0);if((null===(t=d.response)||void 0===t?void 0:t.status)!=="success")throw Error((null===(i=d.response)||void 0===i?void 0:i.raw_output)||"Failed to reset LTE lock");await new Promise(e=>setTimeout(e,1e3));let u=await (0,A.a)('AT+QNWLOCK="save_ctrl",0,0',!0);if((null===(a=u.response)||void 0===a?void 0:a.status)!=="success")throw Error((null===(o=u.response)||void 0===o?void 0:o.raw_output)||"Failed to save LTE reset configuration");let h=await (0,A.a)("AT+COPS=2",!0);if((null===(l=h.response)||void 0===l?void 0:l.status)!=="success")throw Error((null===(c=h.response)||void 0===c?void 0:c.raw_output)||"Failed to disconnect from network");await new Promise(e=>setTimeout(e,2e3));let m=await (0,A.a)("AT+COPS=0",!0);if((null===(r=m.response)||void 0===r?void 0:r.status)!=="success")throw Error((null===(n=m.response)||void 0===n?void 0:n.raw_output)||"Failed to reconnect to network");await I(),e({title:"Success",description:"LTE cell locking reset to default"})}catch(t){s(!1),e({title:"Error",description:"Failed to reset LTE cell locking",variant:"destructive"})}},O=async()=>{try{var t,a,l,r,i,o,c,n;s(!0);let d=await (0,A.a)('AT+QNWLOCK="common/5g",0',!0);if((null===(t=d.response)||void 0===t?void 0:t.status)!=="success")throw Error((null===(i=d.response)||void 0===i?void 0:i.raw_output)||"Failed to reset NR5G lock");let u=await (0,A.a)('AT+QNWLOCK="save_ctrl",0,0',!0);if((null===(a=u.response)||void 0===a?void 0:a.status)!=="success")throw Error((null===(o=u.response)||void 0===o?void 0:o.raw_output)||"Failed to save NR5G reset configuration");let h=await (0,A.a)("AT+COPS=2",!0);if((null===(l=h.response)||void 0===l?void 0:l.status)!=="success")throw Error((null===(c=h.response)||void 0===c?void 0:c.raw_output)||"Failed to disconnect from network");await new Promise(e=>setTimeout(e,2e3));let m=await (0,A.a)("AT+COPS=0",!0);if((null===(r=m.response)||void 0===r?void 0:r.status)!=="success")throw Error((null===(n=m.response)||void 0===n?void 0:n.raw_output)||"Failed to reconnect to network");await I(),e({title:"Success",description:"NR5G cell locking reset to default"})}catch(t){s(!1),e({title:"Error",description:"Failed to reset NR5G cell locking",variant:"destructive"})}},z=async t=>{try{var a,l;s(!0);let r=await (0,A.a)('AT+QNWLOCK="save_ctrl",'.concat(t?"1":"0",",").concat(j?"1":"0"),!0);if((null===(a=r.response)||void 0===a?void 0:a.status)!=="success")throw Error((null===(l=r.response)||void 0===l?void 0:l.raw_output)||"Failed to update LTE persist setting");await I(),e({title:"Success",description:"LTE persist on boot ".concat(t?"enabled":"disabled")}),await new Promise(e=>setTimeout(e,2e3)),window.location.reload()}catch(t){e({title:"Error",description:"Failed to update LTE persist setting",variant:"destructive"})}finally{s(!1)}},B=async t=>{try{var a,l;s(!0);let r=await (0,A.a)('AT+QNWLOCK="save_ctrl",'.concat(C?"1":"0",",").concat(t?"1":"0"),!0);if((null===(a=r.response)||void 0===a?void 0:a.status)!=="success")throw Error((null===(l=r.response)||void 0===l?void 0:l.raw_output)||"Failed to update NR5G persist setting");await I(),e({title:"Success",description:"NR5G persist on boot ".concat(t?"enabled":"disabled")}),await new Promise(e=>setTimeout(e,2e3)),window.location.reload()}catch(t){e({title:"Error",description:"Failed to update NR5G persist setting",variant:"destructive"})}finally{s(!1)}};return(0,l.useEffect)(()=>{(async()=>{let e=await fetch("/cgi-bin/quecmanager/cell-locking/get_cell_lock.sh"),t=await e.json();E({enabled:t.enabled,startTime:t.start_time||"",endTime:t.end_time||"",active:t.active,status:t.status,message:t.message,locked:t.locked}),N(t.locked),f("1"===t.ltePersist),b("1"===t.nr5gPersist),await I()})()},[]),(0,l.useEffect)(()=>{E(e=>({...e,locked:p}))},[p]),(0,a.jsxs)("div",{className:"grid gap-6",children:[(0,a.jsxs)(r.Zp,{children:[(0,a.jsxs)(r.aR,{children:[(0,a.jsxs)("div",{className:"flex items-center justify-between",children:[(0,a.jsx)(r.ZB,{children:"4G LTE Cellular Locking"}),(0,a.jsx)(h.E,{children:p?(0,a.jsxs)("p",{className:"flex items-center gap-x-1",children:[(0,a.jsx)(m.A,{className:"h-3 w-3"}),"Locked"]}):(0,a.jsxs)("p",{className:"flex items-center gap-x-1",children:[(0,a.jsx)(v,{className:"h-3 w-3"}),"Unlocked"]})})]}),(0,a.jsx)(r.BT,{children:"Lock the device to specific LTE Physical Cell IDs."})]}),(0,a.jsx)(r.Wu,{children:(0,a.jsxs)("form",{className:"grid lg:grid-cols-2 grid-cols-1 grid-flow-row gap-6",children:[(0,a.jsxs)("div",{className:"grid w-full max-w-sm items-center gap-2",children:[(0,a.jsx)(d.J,{htmlFor:"EARFCN1",children:"EARFCN 1"}),(0,a.jsx)(n.p,{type:"text",id:"EARFCN1",placeholder:"EARFCN 1",value:k.EARFCN1,onChange:e=>T(t=>({...t,EARFCN1:e.target.value})),disabled:t||y.enabled&&p})]}),(0,a.jsxs)("div",{className:"grid w-full max-w-sm items-center gap-2",children:[(0,a.jsx)(d.J,{htmlFor:"PCI1",children:"PCI 1"}),(0,a.jsx)(n.p,{type:"text",id:"PCI1",placeholder:"PCI 1",value:k.PCI1,onChange:e=>T(t=>({...t,PCI1:e.target.value})),disabled:t||y.enabled&&p})]}),(0,a.jsx)(c.Separator,{className:"my-1 col-span-2 w-full"}),(0,a.jsxs)("div",{className:"grid w-full max-w-sm items-center gap-2",children:[(0,a.jsx)(d.J,{htmlFor:"EARFCN2",children:"EARFCN 2"}),(0,a.jsx)(n.p,{type:"text",id:"EARFCN2",placeholder:"EARFCN 2",value:k.EARFCN2,onChange:e=>T(t=>({...t,EARFCN2:e.target.value})),disabled:t||y.enabled&&p})]}),(0,a.jsxs)("div",{className:"grid w-full max-w-sm items-center gap-2",children:[(0,a.jsx)(d.J,{htmlFor:"PCI2",children:"PCI 2"}),(0,a.jsx)(n.p,{type:"text",id:"PCI2",placeholder:"PCI 2",value:k.PCI2,onChange:e=>T(t=>({...t,PCI2:e.target.value})),disabled:t||y.enabled&&p})]}),(0,a.jsx)(c.Separator,{className:"my-1 col-span-2 w-full"}),(0,a.jsxs)("div",{className:"grid w-full max-w-sm items-center gap-2",children:[(0,a.jsx)(d.J,{htmlFor:"EARFCN3",children:"EARFCN 3"}),(0,a.jsx)(n.p,{type:"text",id:"EARFCN3",placeholder:"EARFCN 3",value:k.EARFCN3,onChange:e=>T(t=>({...t,EARFCN3:e.target.value})),disabled:t||y.enabled&&p})]}),(0,a.jsxs)("div",{className:"grid w-full max-w-sm items-center gap-2",children:[(0,a.jsx)(d.J,{htmlFor:"PCI3",children:"PCI 3"}),(0,a.jsx)(n.p,{type:"text",id:"PCI3",placeholder:"PCI 3",value:k.PCI3,onChange:e=>T(t=>({...t,PCI3:e.target.value})),disabled:t||y.enabled&&p})]})]})}),(0,a.jsxs)(r.wL,{className:"border-t py-4 grid grid-flow-row md:grid-cols-3 grid-cols-1 gap-4",children:[(0,a.jsxs)(o.$,{onClick:_,disabled:t||y.enabled,children:[(0,a.jsx)(m.A,{className:"h-4 w-4"}),"Lock LTE Cells"]}),(0,a.jsxs)(u.l,{pressed:C,onPressedChange:z,disabled:t||y.enabled,children:[(0,a.jsx)(g.A,{className:"h-4 w-4 mr-2"}),"Persist on Reboot"]}),(0,a.jsxs)(o.$,{variant:"secondary",onClick:D,disabled:t||y.enabled,children:[(0,a.jsx)(w.A,{className:"h-4 w-4"}),"Reset to Default"]})]})]}),(0,a.jsxs)(r.Zp,{children:[(0,a.jsxs)(r.aR,{children:[(0,a.jsx)(r.ZB,{children:"NR5G-SA Cellular Locking"}),(0,a.jsx)(r.BT,{children:"Lock the device to a specific NR5G-SA Physical Cell ID."})]}),(0,a.jsx)(r.Wu,{children:(0,a.jsxs)("form",{className:"grid lg:grid-cols-2 grid-cols-1 grid-flow-row gap-6",children:[(0,a.jsxs)("div",{className:"grid w-full max-w-sm items-center gap-2",children:[(0,a.jsx)(d.J,{htmlFor:"NR-ARFCN",children:"NR ARFCN"}),(0,a.jsx)(n.p,{type:"text",id:"NR-ARFCN",placeholder:"NR ARFCN",value:F.NRARFCN,onChange:e=>P(t=>({...t,NRARFCN:e.target.value})),disabled:t||y.enabled&&p})]}),(0,a.jsxs)("div",{className:"grid w-full max-w-sm items-center gap-2",children:[(0,a.jsx)(d.J,{htmlFor:"NR-PCI",children:"NR PCI"}),(0,a.jsx)(n.p,{type:"text",id:"NR-PCI",placeholder:"NR PCI",value:F.NRPCI,onChange:e=>P(t=>({...t,NRPCI:e.target.value})),disabled:t||y.enabled&&p})]}),(0,a.jsx)(c.Separator,{className:"my-0.5 col-span-2 w-full"}),(0,a.jsxs)("div",{className:"grid w-full max-w-sm items-center gap-2",children:[(0,a.jsx)(d.J,{htmlFor:"SCS",children:"SCS"}),(0,a.jsxs)(i.l6,{value:F.SCS,onValueChange:e=>P(t=>({...t,SCS:e})),disabled:t||y.enabled&&p,children:[(0,a.jsx)(i.bq,{id:"SCS",children:(0,a.jsx)(i.yv,{placeholder:"SCS"})}),(0,a.jsx)(i.gC,{children:(0,a.jsxs)(i.s3,{children:[(0,a.jsx)(i.TR,{children:"SCS"}),(0,a.jsx)(i.eb,{value:"15",children:"15 kHz"}),(0,a.jsx)(i.eb,{value:"30",children:"30 kHz"}),(0,a.jsx)(i.eb,{value:"60",children:"60 kHz"}),(0,a.jsx)(i.eb,{value:"120",children:"120 kHz"}),(0,a.jsx)(i.eb,{value:"240",children:"240 kHz"})]})})]})]}),(0,a.jsxs)("div",{className:"grid w-full max-w-sm items-center gap-2",children:[(0,a.jsx)(d.J,{htmlFor:"NRBAND",children:"NR Band"}),(0,a.jsx)(n.p,{type:"text",id:"NRBAND",placeholder:"NR BAND",value:F.NRBAND,onChange:e=>P(t=>({...t,NRBAND:e.target.value})),disabled:t||y.enabled&&p})]})]})}),(0,a.jsxs)(r.wL,{className:"border-t py-4 grid grid-flow-row md:grid-cols-3 grid-cols-1 gap-4",children:[(0,a.jsxs)(o.$,{onClick:G,disabled:t||y.enabled,children:[(0,a.jsx)(m.A,{className:"h-4 w-4"}),"Lock NR5G-SA Cell"]}),(0,a.jsxs)(u.l,{pressed:j,onPressedChange:B,disabled:t||y.enabled,children:[(0,a.jsx)(g.A,{className:"h-4 w-4 mr-2"}),"Persist on Reboot"]}),(0,a.jsxs)(o.$,{variant:"secondary",onClick:O,disabled:t||y.enabled,children:[(0,a.jsx)(w.A,{className:"h-4 w-4"}),"Reset to Default"]})]})]}),(0,a.jsx)(R,{loading:t,scheduleData:y,onStartTimeChange:e=>{E(t=>({...t,startTime:e}))},onEndTimeChange:e=>{E(t=>({...t,endTime:e}))},onSchedulingToggle:L})]})}},77257:(e,t,s)=>{s.d(t,{l:()=>n,v:()=>c});var a=s(20475),l=s(20107),r=s(85692),i=s(29395),o=s(22250);let c=(0,i.F)("inline-flex items-center justify-center gap-2 rounded-md text-sm font-medium transition-colors hover:bg-muted hover:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 data-[state=on]:bg-accent data-[state=on]:text-accent-foreground [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{variants:{variant:{default:"bg-transparent",outline:"border border-input bg-transparent shadow-sm hover:bg-accent hover:text-accent-foreground"},size:{default:"h-9 px-2 min-w-9",sm:"h-8 px-1.5 min-w-8",lg:"h-10 px-2.5 min-w-10"}},defaultVariants:{variant:"default",size:"default"}}),n=l.forwardRef((e,t)=>{let{className:s,variant:l,size:i,...n}=e;return(0,a.jsx)(r.b,{ref:t,className:(0,o.cn)(c({variant:l,size:i,className:s})),...n})});n.displayName=r.b.displayName},29475:(e,t,s)=>{s.d(t,{A:()=>a});let a=(0,s(39997).A)("Lock",[["rect",{width:"18",height:"11",x:"3",y:"11",rx:"2",ry:"2",key:"1w4ew1"}],["path",{d:"M7 11V7a5 5 0 0 1 10 0v4",key:"fwvmzm"}]])},88926:(e,t,s)=>{s.d(t,{a:()=>a});let a=async function(e){let t=!(arguments.length>1)||void 0===arguments[1]||arguments[1],s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:30;try{var a;let l=e.trim().toUpperCase().startsWith("AT")?e.trim():"AT".concat(e.trim()),r=encodeURIComponent(l),i="/cgi-bin/quecmanager/at_cmd/at_queue_client.sh?command=".concat(r);t&&(i+="&wait=1&timeout=".concat(s));let o=await fetch(i,{method:"GET",headers:{Accept:"application/json",Authorization:"".concat(localStorage.getItem("authToken"))},signal:AbortSignal.timeout(1e3*s+5e3)});if(!o.ok)throw Error("AT command failed with status: ".concat(o.status));let c=await o.json();if(c.error)throw Error("AT queue error: ".concat(c.error));if(t&&(null===(a=c.response)||void 0===a?void 0:a.status)==="timeout")throw Error("AT command timed out after ".concat(s," seconds"));return c}catch(e){throw console.error("AT Command error:",e),e}}},88853:(e,t,s)=>{s.d(t,{b:()=>n});var a=s(20107),l=s(34544),r=s(20475),i="horizontal",o=["horizontal","vertical"],c=a.forwardRef((e,t)=>{let{decorative:s,orientation:a=i,...c}=e,n=o.includes(a)?a:i;return(0,r.jsx)(l.sG.div,{"data-orientation":n,...s?{role:"none"}:{"aria-orientation":"vertical"===n?n:void 0,role:"separator"},...c,ref:t})});c.displayName="Separator";var n=c},85692:(e,t,s)=>{s.d(t,{b:()=>n});var a=s(20107),l=s(94521),r=s(13061),i=s(34544),o=s(20475),c=a.forwardRef((e,t)=>{let{pressed:s,defaultPressed:a=!1,onPressedChange:c,...n}=e,[d=!1,u]=(0,r.i)({prop:s,onChange:c,defaultProp:a});return(0,o.jsx)(i.sG.button,{type:"button","aria-pressed":d,"data-state":d?"on":"off","data-disabled":e.disabled?"":void 0,...n,ref:t,onClick:(0,l.m)(e.onClick,()=>{e.disabled||u(!d)})})});c.displayName="Toggle";var n=c}}]); \ No newline at end of file diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/2266-b5acaea1bac39ea4.js b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/2266-b5acaea1bac39ea4.js new file mode 100644 index 0000000..9fd1776 --- /dev/null +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/2266-b5acaea1bac39ea4.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2266],{25621:(e,t,s)=>{s.r(t),s.d(t,{default:()=>y});var a=s(20475),l=s(20107),r=s(72167),i=s(35601),o=s(42541),c=s(76554),n=s(64219),d=s(49153),u=s(77257),h=s(45934),m=s(29475),p=s(39997);let v=(0,p.A)("LockOpen",[["rect",{width:"18",height:"11",x:"3",y:"11",rx:"2",ry:"2",key:"1w4ew1"}],["path",{d:"M7 11V7a5 5 0 0 1 9.9-1",key:"1mm8w8"}]]);var g=s(52161),w=s(97801),x=s(32857),N=s(49573),C=s(38545),f=s(98969);let j=(0,p.A)("Clock1",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polyline",{points:"12 6 12 12 14.5 8",key:"12zbmj"}]]),b=(0,p.A)("Calendar",[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}]]),A=e=>{let{loading:t,scheduleData:s,onStartTimeChange:i,onEndTimeChange:c,onSchedulingToggle:u}=e,[h,p]=(0,l.useState)({text:"Disabled",color:"text-red-600",icon:C.A}),v=()=>{if(!s.enabled){p({text:"Disabled",color:"text-red-600",icon:C.A});return}let e=new Date,t=60*e.getHours()+e.getMinutes(),[a,l]=s.startTime.split(":").map(Number),[r,i]=s.endTime.split(":").map(Number),o=60*a+l,c=60*r+i;o<=c?t>=o&&t<=c?p({text:"Active",color:"text-green-600",icon:f.A}):p({text:"Inactive",color:"text-yellow-500",icon:j}):t>=o||t<=c?p({text:"Active",color:"text-green-600",icon:f.A}):p({text:"Inactive",color:"text-yellow-500",icon:j})},g=()=>{s.active?p({text:"Active",color:"text-green-600",icon:f.A}):s.enabled&&!s.active?p({text:"Inactive",color:"text-yellow-500",icon:j}):p({text:"Disabled",color:"text-red-600",icon:C.A})};(0,l.useEffect)(()=>{g();let e=setInterval(v,6e4);return()=>{clearInterval(e)}},[s]);let w=h.icon;return(0,a.jsxs)(r.Zp,{children:[(0,a.jsxs)(r.aR,{children:[(0,a.jsxs)(r.ZB,{className:"flex items-center justify-between",children:[(0,a.jsx)("div",{children:(0,a.jsx)("span",{children:"Cell Locking Scheduler"})}),(0,a.jsxs)("div",{className:"flex items-center",children:[(0,a.jsx)(w,{className:"h-4 w-4 mr-1 ".concat(h.color)}),(0,a.jsx)("div",{className:"text-sm text-gray-500",children:h.text})]})]}),(0,a.jsx)(r.BT,{children:"Schedule the device to lock to specific cells at certain times."})]}),(0,a.jsxs)(r.Wu,{children:[s.enabled&&(0,a.jsxs)(N.Fc,{className:"mb-6",children:[(0,a.jsx)(m.A,{className:"h-4 w-4",color:"orange"}),(0,a.jsx)(N.XL,{children:"Scheduled Cell Locking Active"}),(0,a.jsx)(N.TN,{children:"Cell locking is currently being managed by the scheduler. Manual changes to cell locks may be overridden during scheduled hours."})]}),(0,a.jsxs)("div",{className:"grid lg:grid-cols-2 grid-cols-1 grid-flow-row gap-4",children:[(0,a.jsxs)("div",{className:"grid w-full max-w-sm items-center gap-2",children:[(0,a.jsx)(d.J,{htmlFor:"start-time",children:"Start Time"}),(0,a.jsx)(n.p,{type:"time",id:"start-time",value:s.startTime,onChange:e=>i(e.target.value),disabled:t||s.enabled,placeholder:"START TIME"})]}),(0,a.jsxs)("div",{className:"grid w-full max-w-sm items-center gap-2",children:[(0,a.jsx)(d.J,{htmlFor:"end-time",children:"End Time"}),(0,a.jsx)(n.p,{type:"time",id:"end-time",value:s.endTime,onChange:e=>c(e.target.value),disabled:t||s.enabled,placeholder:"END TIME"})]}),(0,a.jsx)("div",{className:"lg:col-span-2 col-span-1",children:(0,a.jsx)("p",{className:"text-sm text-gray-500",children:"Make sure to properly set the timezone using Luci for this to properly work. The scheduler will lock the device to the selected cells during the specified time range. The scheduler will not lock the device if the time range is not valid (e.g. start time is after end time)."})})]})]}),(0,a.jsx)(r.wL,{className:"border-t py-4",children:(0,a.jsxs)(o.$,{onClick:()=>u(!s.enabled),disabled:t||!s.locked&&!s.enabled,children:[(0,a.jsx)(b,{className:"h-4 w-4"}),s.enabled?"Disable Scheduler":"Enable Scheduler"]})})]})};var R=s(88926);let y=()=>{let{toast:e}=(0,x.dj)(),[t,s]=(0,l.useState)(!1),[p,N]=(0,l.useState)(!1),[C,f]=(0,l.useState)(!1),[j,b]=(0,l.useState)(!1),[y,E]=(0,l.useState)({enabled:!1,startTime:"",endTime:"",active:!1,status:"",message:"",locked:!1}),[k,T]=(0,l.useState)({EARFCN1:"",PCI1:"",EARFCN2:"",PCI2:"",EARFCN3:"",PCI3:""}),[F,P]=(0,l.useState)({NRARFCN:"",NRPCI:"",SCS:"",NRBAND:""}),S=e=>{let t=e.match(/\+QNWLOCK:\s*(.+?)\n/);return t?t[1].replace(/"/g,"").split(",").map(e=>e.trim()):null},I=async()=>{try{s(!0);let e=await fetch("/cgi-bin/quecmanager/at_cmd/fetch_data.sh?set=8"),t=await e.json();if(!e.ok)throw Error("Failed to fetch current status");console.log("Current cell locking status:",t);let a=S(t[2].response);console.log("Persist status:",a),a&&a.length>=2&&(f("1"===a[1]),b("1"===a[2]));let l=S(t[0].response);if(console.log("Current LTE lock status:",l),l){let e={EARFCN1:l[2],PCI1:l[3],EARFCN2:l[4],PCI2:l[5],EARFCN3:l[6],PCI3:l[7]};T(e),console.log("New LTE state:",e),parseInt(l[1])>0&&N(!0)}let r=S(t[1].response);if(console.log("Current NR5G lock status:",r),r&&r.length>=5){let e={NRPCI:r[1],NRARFCN:r[2],SCS:r[3],NRBAND:r[4]};P(e),console.log("New NR5G state:",e),parseInt(r[1])>0&&N(!0)}}catch(t){console.error("Error fetching current status:",t),e({title:"Error",description:"Failed to fetch current cell locking status",variant:"destructive"})}finally{s(!1)}},L=async t=>{try{let a;if(s(!0),t&&(!y.startTime||!y.endTime))throw Error("Please set both start and end times");let l=t?{enabled:!0,startTime:y.startTime,endTime:y.endTime}:{enabled:!1},r=await fetch("/cgi-bin/quecmanager/cell-locking/handle_scheduled_locking.sh",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(l)}),i=await r.text();if(!r.ok)throw Error("Server responded with status: ".concat(r.status));try{a=JSON.parse(i)}catch(e){throw Error("Failed to parse response: ".concat(i))}if("success"===a.status)E(e=>({...e,enabled:t})),e({title:"Success",description:t?"Cell locking schedule enabled":"Cell locking schedule disabled"});else throw Error(a.message||"Failed to update scheduling")}catch(e){}finally{s(!1),await I()}},_=async()=>{try{var t,a,l,r;s(!0);let i=[];if(k.EARFCN1&&k.PCI1&&i.push([k.EARFCN1,k.PCI1]),k.EARFCN2&&k.PCI2&&i.push([k.EARFCN2,k.PCI2]),k.EARFCN3&&k.PCI3&&i.push([k.EARFCN3,k.PCI3]),0===i.length)throw Error("Please fill at least one EARFCN and PCI pair");let o='AT+QNWLOCK="common/4g",'.concat(i.length);i.forEach(e=>{let[t,s]=e;o+=",".concat(t,",").concat(s)});let c=await (0,R.a)(o,!0);if((null===(t=c.response)||void 0===t?void 0:t.status)!=="success")throw Error((null===(l=c.response)||void 0===l?void 0:l.raw_output)||"Failed to lock LTE cells");await new Promise(e=>setTimeout(e,1e3));let n=await (0,R.a)('AT+QNWLOCK="save_ctrl",1,0',!0);if((null===(a=n.response)||void 0===a?void 0:a.status)!=="success")throw Error((null===(r=n.response)||void 0===r?void 0:r.raw_output)||"Failed to save LTE lock configuration");await I(),e({title:"Success",description:"LTE cells locked successfully with ".concat(i.length," pair").concat(i.length>1?"s":"")})}catch(t){s(!1),e({title:"Error",description:t instanceof Error?t.message:"Failed to lock LTE cells",variant:"destructive"})}},G=async()=>{try{var t,a,l,r;if(s(!0),!F.NRPCI||!F.NRARFCN||!F.SCS||!F.NRBAND)throw Error("Please fill all NR5G fields");let i='AT+QNWLOCK="common/5g",'.concat(F.NRPCI,",").concat(F.NRARFCN,",").concat(F.SCS,",").concat(F.NRBAND),o=await (0,R.a)(i,!0);if((null===(t=o.response)||void 0===t?void 0:t.status)!=="success")throw Error((null===(l=o.response)||void 0===l?void 0:l.raw_output)||"Failed to lock NR5G cell");await new Promise(e=>setTimeout(e,1e3));let c=await (0,R.a)('AT+QNWLOCK="save_ctrl",0,1',!0);if((null===(a=c.response)||void 0===a?void 0:a.status)!=="success")throw Error((null===(r=c.response)||void 0===r?void 0:r.raw_output)||"Failed to save NR5G lock configuration");await I(),e({title:"Success",description:"NR5G cell locked successfully"})}catch(t){s(!1),e({title:"Error",description:t instanceof Error?t.message:"Failed to lock NR5G cell",variant:"destructive"})}},D=async()=>{try{var t,a,l,r,i,o,c,n;s(!0);let d=await (0,R.a)('AT+QNWLOCK="common/4g",0',!0);if((null===(t=d.response)||void 0===t?void 0:t.status)!=="success")throw Error((null===(i=d.response)||void 0===i?void 0:i.raw_output)||"Failed to reset LTE lock");await new Promise(e=>setTimeout(e,1e3));let u=await (0,R.a)('AT+QNWLOCK="save_ctrl",0,0',!0);if((null===(a=u.response)||void 0===a?void 0:a.status)!=="success")throw Error((null===(o=u.response)||void 0===o?void 0:o.raw_output)||"Failed to save LTE reset configuration");let h=await (0,R.a)("AT+COPS=2",!0);if((null===(l=h.response)||void 0===l?void 0:l.status)!=="success")throw Error((null===(c=h.response)||void 0===c?void 0:c.raw_output)||"Failed to disconnect from network");await new Promise(e=>setTimeout(e,2e3));let m=await (0,R.a)("AT+COPS=0",!0);if((null===(r=m.response)||void 0===r?void 0:r.status)!=="success")throw Error((null===(n=m.response)||void 0===n?void 0:n.raw_output)||"Failed to reconnect to network");await I(),e({title:"Success",description:"LTE cell locking reset to default"})}catch(t){s(!1),e({title:"Error",description:"Failed to reset LTE cell locking",variant:"destructive"})}},O=async()=>{try{var t,a,l,r,i,o,c,n;s(!0);let d=await (0,R.a)('AT+QNWLOCK="common/5g",0',!0);if((null===(t=d.response)||void 0===t?void 0:t.status)!=="success")throw Error((null===(i=d.response)||void 0===i?void 0:i.raw_output)||"Failed to reset NR5G lock");let u=await (0,R.a)('AT+QNWLOCK="save_ctrl",0,0',!0);if((null===(a=u.response)||void 0===a?void 0:a.status)!=="success")throw Error((null===(o=u.response)||void 0===o?void 0:o.raw_output)||"Failed to save NR5G reset configuration");let h=await (0,R.a)("AT+COPS=2",!0);if((null===(l=h.response)||void 0===l?void 0:l.status)!=="success")throw Error((null===(c=h.response)||void 0===c?void 0:c.raw_output)||"Failed to disconnect from network");await new Promise(e=>setTimeout(e,2e3));let m=await (0,R.a)("AT+COPS=0",!0);if((null===(r=m.response)||void 0===r?void 0:r.status)!=="success")throw Error((null===(n=m.response)||void 0===n?void 0:n.raw_output)||"Failed to reconnect to network");await I(),e({title:"Success",description:"NR5G cell locking reset to default"})}catch(t){s(!1),e({title:"Error",description:"Failed to reset NR5G cell locking",variant:"destructive"})}},z=async t=>{try{var a,l;s(!0);let r=await (0,R.a)('AT+QNWLOCK="save_ctrl",'.concat(t?"1":"0",",").concat(j?"1":"0"),!0);if((null===(a=r.response)||void 0===a?void 0:a.status)!=="success")throw Error((null===(l=r.response)||void 0===l?void 0:l.raw_output)||"Failed to update LTE persist setting");await I(),e({title:"Success",description:"LTE persist on boot ".concat(t?"enabled":"disabled")}),await new Promise(e=>setTimeout(e,2e3)),window.location.reload()}catch(t){e({title:"Error",description:"Failed to update LTE persist setting",variant:"destructive"})}finally{s(!1)}},B=async t=>{try{var a,l;s(!0);let r=await (0,R.a)('AT+QNWLOCK="save_ctrl",'.concat(C?"1":"0",",").concat(t?"1":"0"),!0);if((null===(a=r.response)||void 0===a?void 0:a.status)!=="success")throw Error((null===(l=r.response)||void 0===l?void 0:l.raw_output)||"Failed to update NR5G persist setting");await I(),e({title:"Success",description:"NR5G persist on boot ".concat(t?"enabled":"disabled")}),await new Promise(e=>setTimeout(e,2e3)),window.location.reload()}catch(t){e({title:"Error",description:"Failed to update NR5G persist setting",variant:"destructive"})}finally{s(!1)}};return(0,l.useEffect)(()=>{(async()=>{let e=await fetch("/cgi-bin/quecmanager/cell-locking/get_cell_lock.sh"),t=await e.json();E({enabled:t.enabled,startTime:t.start_time||"",endTime:t.end_time||"",active:t.active,status:t.status,message:t.message,locked:t.locked}),N(t.locked),f("1"===t.ltePersist),b("1"===t.nr5gPersist),await I()})()},[]),(0,l.useEffect)(()=>{E(e=>({...e,locked:p}))},[p]),(0,a.jsxs)("div",{className:"grid gap-6",children:[(0,a.jsxs)(r.Zp,{children:[(0,a.jsxs)(r.aR,{children:[(0,a.jsxs)("div",{className:"flex items-center justify-between",children:[(0,a.jsx)(r.ZB,{children:"4G LTE Cellular Locking"}),(0,a.jsx)(h.E,{children:p?(0,a.jsxs)("p",{className:"flex items-center gap-x-1",children:[(0,a.jsx)(m.A,{className:"h-3 w-3"}),"Locked"]}):(0,a.jsxs)("p",{className:"flex items-center gap-x-1",children:[(0,a.jsx)(v,{className:"h-3 w-3"}),"Unlocked"]})})]}),(0,a.jsx)(r.BT,{children:"Lock the device to specific LTE Physical Cell IDs."})]}),(0,a.jsx)(r.Wu,{children:(0,a.jsxs)("form",{className:"grid lg:grid-cols-2 grid-cols-1 grid-flow-row gap-6",children:[(0,a.jsxs)("div",{className:"grid w-full max-w-sm items-center gap-2",children:[(0,a.jsx)(d.J,{htmlFor:"EARFCN1",children:"EARFCN 1"}),(0,a.jsx)(n.p,{type:"text",id:"EARFCN1",placeholder:"EARFCN 1",value:k.EARFCN1,onChange:e=>T(t=>({...t,EARFCN1:e.target.value})),disabled:t||y.enabled&&p})]}),(0,a.jsxs)("div",{className:"grid w-full max-w-sm items-center gap-2",children:[(0,a.jsx)(d.J,{htmlFor:"PCI1",children:"PCI 1"}),(0,a.jsx)(n.p,{type:"text",id:"PCI1",placeholder:"PCI 1",value:k.PCI1,onChange:e=>T(t=>({...t,PCI1:e.target.value})),disabled:t||y.enabled&&p})]}),(0,a.jsx)(c.Separator,{className:"my-1 col-span-2 w-full"}),(0,a.jsxs)("div",{className:"grid w-full max-w-sm items-center gap-2",children:[(0,a.jsx)(d.J,{htmlFor:"EARFCN2",children:"EARFCN 2"}),(0,a.jsx)(n.p,{type:"text",id:"EARFCN2",placeholder:"EARFCN 2",value:k.EARFCN2,onChange:e=>T(t=>({...t,EARFCN2:e.target.value})),disabled:t||y.enabled&&p})]}),(0,a.jsxs)("div",{className:"grid w-full max-w-sm items-center gap-2",children:[(0,a.jsx)(d.J,{htmlFor:"PCI2",children:"PCI 2"}),(0,a.jsx)(n.p,{type:"text",id:"PCI2",placeholder:"PCI 2",value:k.PCI2,onChange:e=>T(t=>({...t,PCI2:e.target.value})),disabled:t||y.enabled&&p})]}),(0,a.jsx)(c.Separator,{className:"my-1 col-span-2 w-full"}),(0,a.jsxs)("div",{className:"grid w-full max-w-sm items-center gap-2",children:[(0,a.jsx)(d.J,{htmlFor:"EARFCN3",children:"EARFCN 3"}),(0,a.jsx)(n.p,{type:"text",id:"EARFCN3",placeholder:"EARFCN 3",value:k.EARFCN3,onChange:e=>T(t=>({...t,EARFCN3:e.target.value})),disabled:t||y.enabled&&p})]}),(0,a.jsxs)("div",{className:"grid w-full max-w-sm items-center gap-2",children:[(0,a.jsx)(d.J,{htmlFor:"PCI3",children:"PCI 3"}),(0,a.jsx)(n.p,{type:"text",id:"PCI3",placeholder:"PCI 3",value:k.PCI3,onChange:e=>T(t=>({...t,PCI3:e.target.value})),disabled:t||y.enabled&&p})]})]})}),(0,a.jsxs)(r.wL,{className:"border-t py-4 grid grid-flow-row md:grid-cols-3 grid-cols-1 gap-4",children:[(0,a.jsxs)(o.$,{onClick:_,disabled:t||y.enabled,children:[(0,a.jsx)(m.A,{className:"h-4 w-4"}),"Lock LTE Cells"]}),(0,a.jsxs)(u.l,{pressed:C,onPressedChange:z,disabled:t||y.enabled,children:[(0,a.jsx)(g.A,{className:"h-4 w-4 mr-2"}),"Persist on Reboot"]}),(0,a.jsxs)(o.$,{variant:"secondary",onClick:D,disabled:t||y.enabled,children:[(0,a.jsx)(w.A,{className:"h-4 w-4"}),"Reset to Default"]})]})]}),(0,a.jsxs)(r.Zp,{children:[(0,a.jsxs)(r.aR,{children:[(0,a.jsx)(r.ZB,{children:"NR5G-SA Cellular Locking"}),(0,a.jsx)(r.BT,{children:"Lock the device to a specific NR5G-SA Physical Cell ID."})]}),(0,a.jsx)(r.Wu,{children:(0,a.jsxs)("form",{className:"grid lg:grid-cols-2 grid-cols-1 grid-flow-row gap-6",children:[(0,a.jsxs)("div",{className:"grid w-full max-w-sm items-center gap-2",children:[(0,a.jsx)(d.J,{htmlFor:"NR-ARFCN",children:"NR ARFCN"}),(0,a.jsx)(n.p,{type:"text",id:"NR-ARFCN",placeholder:"NR ARFCN",value:F.NRARFCN,onChange:e=>P(t=>({...t,NRARFCN:e.target.value})),disabled:t||y.enabled&&p})]}),(0,a.jsxs)("div",{className:"grid w-full max-w-sm items-center gap-2",children:[(0,a.jsx)(d.J,{htmlFor:"NR-PCI",children:"NR PCI"}),(0,a.jsx)(n.p,{type:"text",id:"NR-PCI",placeholder:"NR PCI",value:F.NRPCI,onChange:e=>P(t=>({...t,NRPCI:e.target.value})),disabled:t||y.enabled&&p})]}),(0,a.jsx)(c.Separator,{className:"my-0.5 col-span-2 w-full"}),(0,a.jsxs)("div",{className:"grid w-full max-w-sm items-center gap-2",children:[(0,a.jsx)(d.J,{htmlFor:"SCS",children:"SCS"}),(0,a.jsxs)(i.l6,{value:F.SCS,onValueChange:e=>P(t=>({...t,SCS:e})),disabled:t||y.enabled&&p,children:[(0,a.jsx)(i.bq,{id:"SCS",children:(0,a.jsx)(i.yv,{placeholder:"SCS"})}),(0,a.jsx)(i.gC,{children:(0,a.jsxs)(i.s3,{children:[(0,a.jsx)(i.TR,{children:"SCS"}),(0,a.jsx)(i.eb,{value:"15",children:"15 kHz"}),(0,a.jsx)(i.eb,{value:"30",children:"30 kHz"}),(0,a.jsx)(i.eb,{value:"60",children:"60 kHz"}),(0,a.jsx)(i.eb,{value:"120",children:"120 kHz"}),(0,a.jsx)(i.eb,{value:"240",children:"240 kHz"})]})})]})]}),(0,a.jsxs)("div",{className:"grid w-full max-w-sm items-center gap-2",children:[(0,a.jsx)(d.J,{htmlFor:"NRBAND",children:"NR Band"}),(0,a.jsx)(n.p,{type:"text",id:"NRBAND",placeholder:"NR BAND",value:F.NRBAND,onChange:e=>P(t=>({...t,NRBAND:e.target.value})),disabled:t||y.enabled&&p})]})]})}),(0,a.jsxs)(r.wL,{className:"border-t py-4 grid grid-flow-row md:grid-cols-3 grid-cols-1 gap-4",children:[(0,a.jsxs)(o.$,{onClick:G,disabled:t||y.enabled,children:[(0,a.jsx)(m.A,{className:"h-4 w-4"}),"Lock NR5G-SA Cell"]}),(0,a.jsxs)(u.l,{pressed:j,onPressedChange:B,disabled:t||y.enabled,children:[(0,a.jsx)(g.A,{className:"h-4 w-4 mr-2"}),"Persist on Reboot"]}),(0,a.jsxs)(o.$,{variant:"secondary",onClick:O,disabled:t||y.enabled,children:[(0,a.jsx)(w.A,{className:"h-4 w-4"}),"Reset to Default"]})]})]}),(0,a.jsx)(A,{loading:t,scheduleData:y,onStartTimeChange:e=>{E(t=>({...t,startTime:e}))},onEndTimeChange:e=>{E(t=>({...t,endTime:e}))},onSchedulingToggle:L})]})}},77257:(e,t,s)=>{s.d(t,{l:()=>n,v:()=>c});var a=s(20475),l=s(20107),r=s(85692),i=s(29395),o=s(22250);let c=(0,i.F)("inline-flex items-center justify-center gap-2 rounded-md text-sm font-medium transition-colors hover:bg-muted hover:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 data-[state=on]:bg-accent data-[state=on]:text-accent-foreground [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{variants:{variant:{default:"bg-transparent",outline:"border border-input bg-transparent shadow-sm hover:bg-accent hover:text-accent-foreground"},size:{default:"h-9 px-2 min-w-9",sm:"h-8 px-1.5 min-w-8",lg:"h-10 px-2.5 min-w-10"}},defaultVariants:{variant:"default",size:"default"}}),n=l.forwardRef((e,t)=>{let{className:s,variant:l,size:i,...n}=e;return(0,a.jsx)(r.b,{ref:t,className:(0,o.cn)(c({variant:l,size:i,className:s})),...n})});n.displayName=r.b.displayName},38545:(e,t,s)=>{s.d(t,{A:()=>a});let a=(0,s(39997).A)("CircleX",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m15 9-6 6",key:"1uzhvr"}],["path",{d:"m9 9 6 6",key:"z0biqf"}]])},29475:(e,t,s)=>{s.d(t,{A:()=>a});let a=(0,s(39997).A)("Lock",[["rect",{width:"18",height:"11",x:"3",y:"11",rx:"2",ry:"2",key:"1w4ew1"}],["path",{d:"M7 11V7a5 5 0 0 1 10 0v4",key:"fwvmzm"}]])},88926:(e,t,s)=>{s.d(t,{a:()=>a});let a=async function(e){let t=!(arguments.length>1)||void 0===arguments[1]||arguments[1],s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:30;try{var a;let l=e.trim().toUpperCase().startsWith("AT")?e.trim():"AT".concat(e.trim()),r=encodeURIComponent(l),i="/cgi-bin/quecmanager/at_cmd/at_queue_client.sh?command=".concat(r);t&&(i+="&wait=1&timeout=".concat(s));let o=await fetch(i,{method:"GET",headers:{Accept:"application/json",Authorization:"".concat(localStorage.getItem("authToken"))},signal:AbortSignal.timeout(1e3*s+5e3)});if(!o.ok)throw Error("AT command failed with status: ".concat(o.status));let c=await o.json();if(c.error)throw Error("AT queue error: ".concat(c.error));if(t&&(null===(a=c.response)||void 0===a?void 0:a.status)==="timeout")throw Error("AT command timed out after ".concat(s," seconds"));return c}catch(e){throw console.error("AT Command error:",e),e}}},88853:(e,t,s)=>{s.d(t,{b:()=>n});var a=s(20107),l=s(34544),r=s(20475),i="horizontal",o=["horizontal","vertical"],c=a.forwardRef((e,t)=>{let{decorative:s,orientation:a=i,...c}=e,n=o.includes(a)?a:i;return(0,r.jsx)(l.sG.div,{"data-orientation":n,...s?{role:"none"}:{"aria-orientation":"vertical"===n?n:void 0,role:"separator"},...c,ref:t})});c.displayName="Separator";var n=c},85692:(e,t,s)=>{s.d(t,{b:()=>n});var a=s(20107),l=s(94521),r=s(13061),i=s(34544),o=s(20475),c=a.forwardRef((e,t)=>{let{pressed:s,defaultPressed:a=!1,onPressedChange:c,...n}=e,[d=!1,u]=(0,r.i)({prop:s,onChange:c,defaultProp:a});return(0,o.jsx)(i.sG.button,{type:"button","aria-pressed":d,"data-state":d?"on":"off","data-disabled":e.disabled?"":void 0,...n,ref:t,onClick:(0,l.m)(e.onClick,()=>{e.disabled||u(!d)})})});c.displayName="Toggle";var n=c}}]); \ No newline at end of file diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/2908-257e27d7e62b1ccf.js b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/2908-257e27d7e62b1ccf.js new file mode 100644 index 0000000..e2b0655 --- /dev/null +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/2908-257e27d7e62b1ccf.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2908],{76076:(e,r,a)=>{a.d(r,{A:()=>t});let t=(0,a(39997).A)("FileUp",[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M12 12v6",key:"3ahymv"}],["path",{d:"m15 15-3-3-3 3",key:"15xj92"}]])},59166:(e,r,a)=>{a.d(r,{A:()=>t});let t=(0,a(39997).A)("LoaderCircle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]])},27720:(e,r,a)=>{a.d(r,{A:()=>t});let t=(0,a(39997).A)("Search",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]])},56703:(e,r,a)=>{a.d(r,{q:()=>t});function t(e,[r,a]){return Math.min(a,Math.max(r,e))}},28702:(e,r,a)=>{a.d(r,{UC:()=>ei,Y9:()=>en,q7:()=>et,bL:()=>ea,l9:()=>eo});var t=a(20107),n=a(45170),o=a(32474),i=a(64236),l=a(94521),d=a(13061),s=a(34544),c=a(54122),u=a(54245),p=a(72763),f=a(20475),v="Collapsible",[h,m]=(0,n.A)(v),[x,b]=h(v),g=t.forwardRef((e,r)=>{let{__scopeCollapsible:a,open:n,defaultOpen:o,disabled:i,onOpenChange:l,...c}=e,[u=!1,v]=(0,d.i)({prop:n,defaultProp:o,onChange:l});return(0,f.jsx)(x,{scope:a,disabled:i,contentId:(0,p.B)(),open:u,onOpenToggle:t.useCallback(()=>v(e=>!e),[v]),children:(0,f.jsx)(s.sG.div,{"data-state":k(u),"data-disabled":i?"":void 0,...c,ref:r})})});g.displayName=v;var y="CollapsibleTrigger",w=t.forwardRef((e,r)=>{let{__scopeCollapsible:a,...t}=e,n=b(y,a);return(0,f.jsx)(s.sG.button,{type:"button","aria-controls":n.contentId,"aria-expanded":n.open||!1,"data-state":k(n.open),"data-disabled":n.disabled?"":void 0,disabled:n.disabled,...t,ref:r,onClick:(0,l.m)(e.onClick,n.onOpenToggle)})});w.displayName=y;var j="CollapsibleContent",A=t.forwardRef((e,r)=>{let{forceMount:a,...t}=e,n=b(j,e.__scopeCollapsible);return(0,f.jsx)(u.C,{present:a||n.open,children:e=>{let{present:a}=e;return(0,f.jsx)(C,{...t,ref:r,present:a})}})});A.displayName=j;var C=t.forwardRef((e,r)=>{let{__scopeCollapsible:a,present:n,children:o,...l}=e,d=b(j,a),[u,p]=t.useState(n),v=t.useRef(null),h=(0,i.s)(r,v),m=t.useRef(0),x=m.current,g=t.useRef(0),y=g.current,w=d.open||u,A=t.useRef(w),C=t.useRef();return t.useEffect(()=>{let e=requestAnimationFrame(()=>A.current=!1);return()=>cancelAnimationFrame(e)},[]),(0,c.N)(()=>{let e=v.current;if(e){C.current=C.current||{transitionDuration:e.style.transitionDuration,animationName:e.style.animationName},e.style.transitionDuration="0s",e.style.animationName="none";let r=e.getBoundingClientRect();m.current=r.height,g.current=r.width,A.current||(e.style.transitionDuration=C.current.transitionDuration,e.style.animationName=C.current.animationName),p(n)}},[d.open,n]),(0,f.jsx)(s.sG.div,{"data-state":k(d.open),"data-disabled":d.disabled?"":void 0,id:d.contentId,hidden:!w,...l,ref:h,style:{"--radix-collapsible-content-height":x?"".concat(x,"px"):void 0,"--radix-collapsible-content-width":y?"".concat(y,"px"):void 0,...e.style},children:w&&o})});function k(e){return e?"open":"closed"}var N=a(76056),R="Accordion",I=["Home","End","ArrowDown","ArrowUp","ArrowLeft","ArrowRight"],[_,D,P]=(0,o.N)(R),[q,G]=(0,n.A)(R,[P,m]),M=m(),O=t.forwardRef((e,r)=>{let{type:a,...t}=e;return(0,f.jsx)(_.Provider,{scope:e.__scopeAccordion,children:"multiple"===a?(0,f.jsx)(S,{...t,ref:r}):(0,f.jsx)(z,{...t,ref:r})})});O.displayName=R;var[E,H]=q(R),[L,T]=q(R,{collapsible:!1}),z=t.forwardRef((e,r)=>{let{value:a,defaultValue:n,onValueChange:o=()=>{},collapsible:i=!1,...l}=e,[s,c]=(0,d.i)({prop:a,defaultProp:n,onChange:o});return(0,f.jsx)(E,{scope:e.__scopeAccordion,value:s?[s]:[],onItemOpen:c,onItemClose:t.useCallback(()=>i&&c(""),[i,c]),children:(0,f.jsx)(L,{scope:e.__scopeAccordion,collapsible:i,children:(0,f.jsx)(F,{...l,ref:r})})})}),S=t.forwardRef((e,r)=>{let{value:a,defaultValue:n,onValueChange:o=()=>{},...i}=e,[l=[],s]=(0,d.i)({prop:a,defaultProp:n,onChange:o}),c=t.useCallback(e=>s(function(){let r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return[...r,e]}),[s]),u=t.useCallback(e=>s(function(){let r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return r.filter(r=>r!==e)}),[s]);return(0,f.jsx)(E,{scope:e.__scopeAccordion,value:l,onItemOpen:c,onItemClose:u,children:(0,f.jsx)(L,{scope:e.__scopeAccordion,collapsible:!0,children:(0,f.jsx)(F,{...i,ref:r})})})}),[U,B]=q(R),F=t.forwardRef((e,r)=>{let{__scopeAccordion:a,disabled:n,dir:o,orientation:d="vertical",...c}=e,u=t.useRef(null),p=(0,i.s)(u,r),v=D(a),h="ltr"===(0,N.jH)(o),m=(0,l.m)(e.onKeyDown,e=>{var r;if(!I.includes(e.key))return;let a=e.target,t=v().filter(e=>{var r;return!(null===(r=e.ref.current)||void 0===r?void 0:r.disabled)}),n=t.findIndex(e=>e.ref.current===a),o=t.length;if(-1===n)return;e.preventDefault();let i=n,l=o-1,s=()=>{(i=n+1)>l&&(i=0)},c=()=>{(i=n-1)<0&&(i=l)};switch(e.key){case"Home":i=0;break;case"End":i=l;break;case"ArrowRight":"horizontal"===d&&(h?s():c());break;case"ArrowDown":"vertical"===d&&s();break;case"ArrowLeft":"horizontal"===d&&(h?c():s());break;case"ArrowUp":"vertical"===d&&c()}null===(r=t[i%o].ref.current)||void 0===r||r.focus()});return(0,f.jsx)(U,{scope:a,disabled:n,direction:o,orientation:d,children:(0,f.jsx)(_.Slot,{scope:a,children:(0,f.jsx)(s.sG.div,{...c,"data-orientation":d,ref:p,onKeyDown:n?void 0:m})})})}),K="AccordionItem",[V,Y]=q(K),Z=t.forwardRef((e,r)=>{let{__scopeAccordion:a,value:t,...n}=e,o=B(K,a),i=H(K,a),l=M(a),d=(0,p.B)(),s=t&&i.value.includes(t)||!1,c=o.disabled||e.disabled;return(0,f.jsx)(V,{scope:a,open:s,disabled:c,triggerId:d,children:(0,f.jsx)(g,{"data-orientation":o.orientation,"data-state":er(s),...l,...n,ref:r,disabled:c,open:s,onOpenChange:e=>{e?i.onItemOpen(t):i.onItemClose(t)}})})});Z.displayName=K;var J="AccordionHeader",Q=t.forwardRef((e,r)=>{let{__scopeAccordion:a,...t}=e,n=B(R,a),o=Y(J,a);return(0,f.jsx)(s.sG.h3,{"data-orientation":n.orientation,"data-state":er(o.open),"data-disabled":o.disabled?"":void 0,...t,ref:r})});Q.displayName=J;var W="AccordionTrigger",X=t.forwardRef((e,r)=>{let{__scopeAccordion:a,...t}=e,n=B(R,a),o=Y(W,a),i=T(W,a),l=M(a);return(0,f.jsx)(_.ItemSlot,{scope:a,children:(0,f.jsx)(w,{"aria-disabled":o.open&&!i.collapsible||void 0,"data-orientation":n.orientation,id:o.triggerId,...l,...t,ref:r})})});X.displayName=W;var $="AccordionContent",ee=t.forwardRef((e,r)=>{let{__scopeAccordion:a,...t}=e,n=B(R,a),o=Y($,a),i=M(a);return(0,f.jsx)(A,{role:"region","aria-labelledby":o.triggerId,"data-orientation":n.orientation,...i,...t,ref:r,style:{"--radix-accordion-content-height":"var(--radix-collapsible-content-height)","--radix-accordion-content-width":"var(--radix-collapsible-content-width)",...e.style}})});function er(e){return e?"open":"closed"}ee.displayName=$;var ea=O,et=Z,en=Q,eo=X,ei=ee},33466:(e,r,a)=>{a.d(r,{C1:()=>w,bL:()=>y});var t=a(20107),n=a(54379),o=a(34544),i=a(20475),l="Progress",[d,s]=(0,n.A)(l),[c,u]=d(l),p=t.forwardRef((e,r)=>{var a,t,n,l;let{__scopeProgress:d,value:s=null,max:u,getValueLabel:p=h,...f}=e;(u||0===u)&&!b(u)&&console.error((a="".concat(u),t="Progress","Invalid prop `max` of value `".concat(a,"` supplied to `").concat(t,"`. Only numbers greater than 0 are valid max values. Defaulting to `").concat(100,"`.")));let v=b(u)?u:100;null===s||g(s,v)||console.error((n="".concat(s),l="Progress","Invalid prop `value` of value `".concat(n,"` supplied to `").concat(l,"`. The `value` prop must be:\n - a positive number\n - less than the value passed to `max` (or ").concat(100," if no `max` prop is set)\n - `null` or `undefined` if the progress is indeterminate.\n\nDefaulting to `null`.")));let y=g(s,v)?s:null,w=x(y)?p(y,v):void 0;return(0,i.jsx)(c,{scope:d,value:y,max:v,children:(0,i.jsx)(o.sG.div,{"aria-valuemax":v,"aria-valuemin":0,"aria-valuenow":x(y)?y:void 0,"aria-valuetext":w,role:"progressbar","data-state":m(y,v),"data-value":null!=y?y:void 0,"data-max":v,...f,ref:r})})});p.displayName=l;var f="ProgressIndicator",v=t.forwardRef((e,r)=>{var a;let{__scopeProgress:t,...n}=e,l=u(f,t);return(0,i.jsx)(o.sG.div,{"data-state":m(l.value,l.max),"data-value":null!==(a=l.value)&&void 0!==a?a:void 0,"data-max":l.max,...n,ref:r})});function h(e,r){return"".concat(Math.round(e/r*100),"%")}function m(e,r){return null==e?"indeterminate":e===r?"complete":"loading"}function x(e){return"number"==typeof e}function b(e){return x(e)&&!isNaN(e)&&e>0}function g(e,r){return x(e)&&!isNaN(e)&&e<=r&&e>=0}v.displayName=f;var y=p,w=v}}]); \ No newline at end of file diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/3095-9939ca94522133b1.js b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/3095-9939ca94522133b1.js deleted file mode 100644 index 5118c59..0000000 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/3095-9939ca94522133b1.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3095],{91994:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(39997).A)("RefreshCw",[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]])},54379:(e,t,r)=>{r.d(t,{A:()=>i});var n=r(20107),o=r(20475);function i(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,i){let a=n.createContext(i),l=r.length;function s(t){let{scope:r,children:i,...s}=t,c=r?.[e][l]||a,d=n.useMemo(()=>s,Object.values(s));return(0,o.jsx)(c.Provider,{value:d,children:i})}return r=[...r,i],s.displayName=t+"Provider",[s,function(r,o){let s=o?.[e][l]||a,c=n.useContext(s);if(c)return c;if(void 0!==i)return i;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)]}},57563:(e,t,r)=>{r.d(t,{Mz:()=>R,i3:()=>H,UC:()=>z,bL:()=>M,Bk:()=>m});var n=r(20107),o=r(9895),i=r(84069),a=r(34544),l=r(20475),s=n.forwardRef((e,t)=>{let{children:r,width:n=10,height:o=5,...i}=e;return(0,l.jsx)(a.sG.svg,{...i,ref:t,width:n,height:o,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?r:(0,l.jsx)("polygon",{points:"0,0 30,0 15,10"})})});s.displayName="Arrow";var c=r(64236),d=r(54379),p=r(46774),u=r(54122),f=r(63620),v="Popper",[h,m]=(0,d.A)(v),[y,g]=h(v),w=e=>{let{__scopePopper:t,children:r}=e,[o,i]=n.useState(null);return(0,l.jsx)(y,{scope:t,anchor:o,onAnchorChange:i,children:r})};w.displayName=v;var b="PopperAnchor",x=n.forwardRef((e,t)=>{let{__scopePopper:r,virtualRef:o,...i}=e,s=g(b,r),d=n.useRef(null),p=(0,c.s)(t,d);return n.useEffect(()=>{s.onAnchorChange((null==o?void 0:o.current)||d.current)}),o?null:(0,l.jsx)(a.sG.div,{...i,ref:p})});x.displayName=b;var O="PopperContent",[j,P]=h(O),N=n.forwardRef((e,t)=>{var r,s,d,v,h,m,y,w;let{__scopePopper:b,side:x="bottom",sideOffset:P=0,align:N="center",alignOffset:A=0,arrowPadding:C=0,avoidCollisions:E=!0,collisionBoundary:M=[],collisionPadding:R=0,sticky:z="partial",hideWhenDetached:H=!1,updatePositionStrategy:D="optimized",onPlaced:Y,...$}=e,B=g(O,b),[G,U]=n.useState(null),W=(0,c.s)(t,e=>U(e)),[X,I]=n.useState(null),L=(0,f.X)(X),F=null!==(y=null==L?void 0:L.width)&&void 0!==y?y:0,q=null!==(w=null==L?void 0:L.height)&&void 0!==w?w:0,T="number"==typeof R?R:{top:0,right:0,bottom:0,left:0,...R},V=Array.isArray(M)?M:[M],J=V.length>0,K={padding:T,boundary:V.filter(S),altBoundary:J},{refs:Q,floatingStyles:Z,placement:ee,isPositioned:et,middlewareData:er}=(0,o.we)({strategy:"fixed",placement:x+("center"!==N?"-"+N:""),whileElementsMounted:function(){for(var e=arguments.length,t=Array(e),r=0;r{let{elements:t,rects:r,availableWidth:n,availableHeight:o}=e,{width:i,height:a}=r.reference,l=t.floating.style;l.setProperty("--radix-popper-available-width","".concat(n,"px")),l.setProperty("--radix-popper-available-height","".concat(o,"px")),l.setProperty("--radix-popper-anchor-width","".concat(i,"px")),l.setProperty("--radix-popper-anchor-height","".concat(a,"px"))}}),X&&(0,o.UE)({element:X,padding:C}),k({arrowWidth:F,arrowHeight:q}),H&&(0,o.jD)({strategy:"referenceHidden",...K})]}),[en,eo]=_(ee),ei=(0,p.c)(Y);(0,u.N)(()=>{et&&(null==ei||ei())},[et,ei]);let ea=null===(r=er.arrow)||void 0===r?void 0:r.x,el=null===(s=er.arrow)||void 0===s?void 0:s.y,es=(null===(d=er.arrow)||void 0===d?void 0:d.centerOffset)!==0,[ec,ed]=n.useState();return(0,u.N)(()=>{G&&ed(window.getComputedStyle(G).zIndex)},[G]),(0,l.jsx)("div",{ref:Q.setFloating,"data-radix-popper-content-wrapper":"",style:{...Z,transform:et?Z.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:ec,"--radix-popper-transform-origin":[null===(v=er.transformOrigin)||void 0===v?void 0:v.x,null===(h=er.transformOrigin)||void 0===h?void 0:h.y].join(" "),...(null===(m=er.hide)||void 0===m?void 0:m.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:(0,l.jsx)(j,{scope:b,placedSide:en,onArrowChange:I,arrowX:ea,arrowY:el,shouldHideArrow:es,children:(0,l.jsx)(a.sG.div,{"data-side":en,"data-align":eo,...$,ref:W,style:{...$.style,animation:et?void 0:"none"}})})})});N.displayName=O;var A="PopperArrow",C={top:"bottom",right:"left",bottom:"top",left:"right"},E=n.forwardRef(function(e,t){let{__scopePopper:r,...n}=e,o=P(A,r),i=C[o.placedSide];return(0,l.jsx)("span",{ref:o.onArrowChange,style:{position:"absolute",left:o.arrowX,top:o.arrowY,[i]: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,l.jsx)(s,{...n,ref:t,style:{...n.style,display:"block"}})})});function S(e){return null!==e}E.displayName=A;var k=e=>({name:"transformOrigin",options:e,fn(t){var r,n,o,i,a;let{placement:l,rects:s,middlewareData:c}=t,d=(null===(r=c.arrow)||void 0===r?void 0:r.centerOffset)!==0,p=d?0:e.arrowWidth,u=d?0:e.arrowHeight,[f,v]=_(l),h={start:"0%",center:"50%",end:"100%"}[v],m=(null!==(i=null===(n=c.arrow)||void 0===n?void 0:n.x)&&void 0!==i?i:0)+p/2,y=(null!==(a=null===(o=c.arrow)||void 0===o?void 0:o.y)&&void 0!==a?a:0)+u/2,g="",w="";return"bottom"===f?(g=d?h:"".concat(m,"px"),w="".concat(-u,"px")):"top"===f?(g=d?h:"".concat(m,"px"),w="".concat(s.floating.height+u,"px")):"right"===f?(g="".concat(-u,"px"),w=d?h:"".concat(y,"px")):"left"===f&&(g="".concat(s.floating.width+u,"px"),w=d?h:"".concat(y,"px")),{data:{x:g,y:w}}}});function _(e){let[t,r="center"]=e.split("-");return[t,r]}var M=w,R=x,z=N,H=E},91475:(e,t,r)=>{r.d(t,{b:()=>l,s:()=>a});var n=r(20107),o=r(34544),i=r(20475),a=n.forwardRef((e,t)=>(0,i.jsx)(o.sG.span,{...e,ref:t,style:{position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal",...e.style}}));a.displayName="VisuallyHidden";var l=a},45930:(e,t,r)=>{r.d(t,{k5:()=>d});var n=r(20107),o={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},i=n.createContext&&n.createContext(o),a=["attr","size","title"];function l(){return(l=Object.assign?Object.assign.bind():function(e){for(var t=1;tn.createElement(p,l({attr:c({},e.attr)},t),function e(t){return t&&t.map((t,r)=>n.createElement(t.tag,c({key:r},t.attr),e(t.child)))}(e.child))}function p(e){var t=t=>{var r,{attr:o,size:i,title:s}=e,d=function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r={};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(e,a),p=i||t.size||"1em";return t.className&&(r=t.className),e.className&&(r=(r?r+" ":"")+e.className),n.createElement("svg",l({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},t.attr,o,d,{className:r,style:c(c({color:e.color||t.color},t.style),e.style),height:p,width:p,xmlns:"http://www.w3.org/2000/svg"}),s&&n.createElement("title",null,s),e.children)};return void 0!==i?n.createElement(i.Consumer,null,e=>t(e)):t(o)}}}]); \ No newline at end of file diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/3095-9b41897dca47b121.js b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/3095-9b41897dca47b121.js new file mode 100644 index 0000000..33d4487 --- /dev/null +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/3095-9b41897dca47b121.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3095],{39997:(e,t,r)=>{r.d(t,{A:()=>s});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.indexOf(e)===t).join(" ")};var i={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 l=(0,n.forwardRef)((e,t)=>{let{color:r="currentColor",size:o=24,strokeWidth:l=2,absoluteStrokeWidth:s,className:c="",children:d,iconNode:u,...p}=e;return(0,n.createElement)("svg",{ref:t,...i,width:o,height:o,stroke:r,strokeWidth:s?24*Number(l)/Number(o):l,className:a("lucide",c),...p},[...u.map(e=>{let[t,r]=e;return(0,n.createElement)(t,r)}),...Array.isArray(d)?d:[d]])}),s=(e,t)=>{let r=(0,n.forwardRef)((r,i)=>{let{className:s,...c}=r;return(0,n.createElement)(l,{ref:i,iconNode:t,className:a("lucide-".concat(o(e)),s),...c})});return r.displayName="".concat(e),r}},91994:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(39997).A)("RefreshCw",[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]])},54379:(e,t,r)=>{r.d(t,{A:()=>a});var n=r(20107),o=r(20475);function a(e,t=[]){let r=[],i=()=>{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 i.scopeName=e,[function(t,a){let i=n.createContext(a),l=r.length;function s(t){let{scope:r,children:a,...s}=t,c=r?.[e][l]||i,d=n.useMemo(()=>s,Object.values(s));return(0,o.jsx)(c.Provider,{value:d,children:a})}return r=[...r,a],s.displayName=t+"Provider",[s,function(r,o){let s=o?.[e][l]||i,c=n.useContext(s);if(c)return c;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}(i,...t)]}},57563:(e,t,r)=>{r.d(t,{Mz:()=>M,i3:()=>H,UC:()=>z,bL:()=>_,Bk:()=>m});var n=r(20107),o=r(9895),a=r(84069),i=r(34544),l=r(20475),s=n.forwardRef((e,t)=>{let{children:r,width:n=10,height:o=5,...a}=e;return(0,l.jsx)(i.sG.svg,{...a,ref:t,width:n,height:o,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?r:(0,l.jsx)("polygon",{points:"0,0 30,0 15,10"})})});s.displayName="Arrow";var c=r(64236),d=r(54379),u=r(46774),p=r(54122),f=r(63620),v="Popper",[h,m]=(0,d.A)(v),[y,g]=h(v),w=e=>{let{__scopePopper:t,children:r}=e,[o,a]=n.useState(null);return(0,l.jsx)(y,{scope:t,anchor:o,onAnchorChange:a,children:r})};w.displayName=v;var b="PopperAnchor",x=n.forwardRef((e,t)=>{let{__scopePopper:r,virtualRef:o,...a}=e,s=g(b,r),d=n.useRef(null),u=(0,c.s)(t,d);return n.useEffect(()=>{s.onAnchorChange((null==o?void 0:o.current)||d.current)}),o?null:(0,l.jsx)(i.sG.div,{...a,ref:u})});x.displayName=b;var O="PopperContent",[j,N]=h(O),A=n.forwardRef((e,t)=>{var r,s,d,v,h,m,y,w;let{__scopePopper:b,side:x="bottom",sideOffset:N=0,align:A="center",alignOffset:P=0,arrowPadding:C=0,avoidCollisions:k=!0,collisionBoundary:_=[],collisionPadding:M=0,sticky:z="partial",hideWhenDetached:H=!1,updatePositionStrategy:$="optimized",onPlaced:L,...W}=e,B=g(O,b),[D,Y]=n.useState(null),G=(0,c.s)(t,e=>Y(e)),[U,X]=n.useState(null),I=(0,f.X)(U),F=null!==(y=null==I?void 0:I.width)&&void 0!==y?y:0,q=null!==(w=null==I?void 0:I.height)&&void 0!==w?w:0,T="number"==typeof M?M:{top:0,right:0,bottom:0,left:0,...M},V=Array.isArray(_)?_:[_],Z=V.length>0,J={padding:T,boundary:V.filter(E),altBoundary:Z},{refs:K,floatingStyles:Q,placement:ee,isPositioned:et,middlewareData:er}=(0,o.we)({strategy:"fixed",placement:x+("center"!==A?"-"+A:""),whileElementsMounted:function(){for(var e=arguments.length,t=Array(e),r=0;r{let{elements:t,rects:r,availableWidth:n,availableHeight:o}=e,{width:a,height:i}=r.reference,l=t.floating.style;l.setProperty("--radix-popper-available-width","".concat(n,"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"))}}),U&&(0,o.UE)({element:U,padding:C}),S({arrowWidth:F,arrowHeight:q}),H&&(0,o.jD)({strategy:"referenceHidden",...J})]}),[en,eo]=R(ee),ea=(0,u.c)(L);(0,p.N)(()=>{et&&(null==ea||ea())},[et,ea]);let ei=null===(r=er.arrow)||void 0===r?void 0:r.x,el=null===(s=er.arrow)||void 0===s?void 0:s.y,es=(null===(d=er.arrow)||void 0===d?void 0:d.centerOffset)!==0,[ec,ed]=n.useState();return(0,p.N)(()=>{D&&ed(window.getComputedStyle(D).zIndex)},[D]),(0,l.jsx)("div",{ref:K.setFloating,"data-radix-popper-content-wrapper":"",style:{...Q,transform:et?Q.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:ec,"--radix-popper-transform-origin":[null===(v=er.transformOrigin)||void 0===v?void 0:v.x,null===(h=er.transformOrigin)||void 0===h?void 0:h.y].join(" "),...(null===(m=er.hide)||void 0===m?void 0:m.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:(0,l.jsx)(j,{scope:b,placedSide:en,onArrowChange:X,arrowX:ei,arrowY:el,shouldHideArrow:es,children:(0,l.jsx)(i.sG.div,{"data-side":en,"data-align":eo,...W,ref:G,style:{...W.style,animation:et?void 0:"none"}})})})});A.displayName=O;var P="PopperArrow",C={top:"bottom",right:"left",bottom:"top",left:"right"},k=n.forwardRef(function(e,t){let{__scopePopper:r,...n}=e,o=N(P,r),a=C[o.placedSide];return(0,l.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,l.jsx)(s,{...n,ref:t,style:{...n.style,display:"block"}})})});function E(e){return null!==e}k.displayName=P;var S=e=>({name:"transformOrigin",options:e,fn(t){var r,n,o,a,i;let{placement:l,rects:s,middlewareData:c}=t,d=(null===(r=c.arrow)||void 0===r?void 0:r.centerOffset)!==0,u=d?0:e.arrowWidth,p=d?0:e.arrowHeight,[f,v]=R(l),h={start:"0%",center:"50%",end:"100%"}[v],m=(null!==(a=null===(n=c.arrow)||void 0===n?void 0:n.x)&&void 0!==a?a:0)+u/2,y=(null!==(i=null===(o=c.arrow)||void 0===o?void 0:o.y)&&void 0!==i?i:0)+p/2,g="",w="";return"bottom"===f?(g=d?h:"".concat(m,"px"),w="".concat(-p,"px")):"top"===f?(g=d?h:"".concat(m,"px"),w="".concat(s.floating.height+p,"px")):"right"===f?(g="".concat(-p,"px"),w=d?h:"".concat(y,"px")):"left"===f&&(g="".concat(s.floating.width+p,"px"),w=d?h:"".concat(y,"px")),{data:{x:g,y:w}}}});function R(e){let[t,r="center"]=e.split("-");return[t,r]}var _=w,M=x,z=A,H=k},91475:(e,t,r)=>{r.d(t,{b:()=>l,s:()=>i});var n=r(20107),o=r(34544),a=r(20475),i=n.forwardRef((e,t)=>(0,a.jsx)(o.sG.span,{...e,ref:t,style:{position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal",...e.style}}));i.displayName="VisuallyHidden";var l=i},45930:(e,t,r)=>{r.d(t,{k5:()=>d});var n=r(20107),o={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},a=n.createContext&&n.createContext(o),i=["attr","size","title"];function l(){return(l=Object.assign?Object.assign.bind():function(e){for(var t=1;tn.createElement(u,l({attr:c({},e.attr)},t),function e(t){return t&&t.map((t,r)=>n.createElement(t.tag,c({key:r},t.attr),e(t.child)))}(e.child))}function u(e){var t=t=>{var r,{attr:o,size:a,title:s}=e,d=function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r={};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(e,i),u=a||t.size||"1em";return t.className&&(r=t.className),e.className&&(r=(r?r+" ":"")+e.className),n.createElement("svg",l({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},t.attr,o,d,{className:r,style:c(c({color:e.color||t.color},t.style),e.style),height:u,width:u,xmlns:"http://www.w3.org/2000/svg"}),s&&n.createElement("title",null,s),e.children)};return void 0!==a?n.createElement(a.Consumer,null,e=>t(e)):t(o)}}}]); \ No newline at end of file diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/3453-1e7922659f5b386a.js b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/3453-1e7922659f5b386a.js deleted file mode 100644 index ec96bf0..0000000 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/3453-1e7922659f5b386a.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3453],{51873:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(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"}]])},32474:(e,t,r)=>{r.d(t,{N:()=>u});var n=r(20107),o=r(54379),a=r(64236),l=r(61837),i=r(20475);function u(e){let t=e+"CollectionProvider",[r,u]=(0,o.A)(t),[s,c]=r(t,{collectionRef:{current:null},itemMap:new Map}),d=e=>{let{scope:t,children:r}=e,o=n.useRef(null),a=n.useRef(new Map).current;return(0,i.jsx)(s,{scope:t,itemMap:a,collectionRef:o,children:r})};d.displayName=t;let f=e+"CollectionSlot",p=n.forwardRef((e,t)=>{let{scope:r,children:n}=e,o=c(f,r),u=(0,a.s)(t,o.collectionRef);return(0,i.jsx)(l.DX,{ref:u,children:n})});p.displayName=f;let v=e+"CollectionItemSlot",m="data-radix-collection-item",b=n.forwardRef((e,t)=>{let{scope:r,children:o,...u}=e,s=n.useRef(null),d=(0,a.s)(t,s),f=c(v,r);return n.useEffect(()=>(f.itemMap.set(s,{ref:s,...u}),()=>void f.itemMap.delete(s))),(0,i.jsx)(l.DX,{[m]:"",ref:d,children:o})});return b.displayName=v,[{Provider:d,Slot:p,ItemSlot:b},function(t){let r=c(e+"CollectionConsumer",t);return n.useCallback(()=>{let e=r.collectionRef.current;if(!e)return[];let t=Array.from(e.querySelectorAll("[".concat(m,"]")));return Array.from(r.itemMap.values()).sort((e,r)=>t.indexOf(e.ref.current)-t.indexOf(r.ref.current))},[r.collectionRef,r.itemMap])},u]}},71856:(e,t,r)=>{r.d(t,{RG:()=>R,bL:()=>M,q7:()=>T});var n=r(20107),o=r(94521),a=r(32474),l=r(64236),i=r(54379),u=r(72763),s=r(34544),c=r(46774),d=r(13061),f=r(76056),p=r(20475),v="rovingFocusGroup.onEntryFocus",m={bubbles:!1,cancelable:!0},b="RovingFocusGroup",[y,h,w]=(0,a.N)(b),[x,R]=(0,i.A)(b,[w]),[g,C]=x(b),A=n.forwardRef((e,t)=>(0,p.jsx)(y.Provider,{scope:e.__scopeRovingFocusGroup,children:(0,p.jsx)(y.Slot,{scope:e.__scopeRovingFocusGroup,children:(0,p.jsx)(j,{...e,ref:t})})}));A.displayName=b;var j=n.forwardRef((e,t)=>{let{__scopeRovingFocusGroup:r,orientation:a,loop:i=!1,dir:u,currentTabStopId:b,defaultCurrentTabStopId:y,onCurrentTabStopIdChange:w,onEntryFocus:x,preventScrollOnEntryFocus:R=!1,...C}=e,A=n.useRef(null),j=(0,l.s)(t,A),I=(0,f.jH)(u),[D=null,F]=(0,d.i)({prop:b,defaultProp:y,onChange:w}),[M,T]=n.useState(!1),E=(0,c.c)(x),G=h(r),N=n.useRef(!1),[S,K]=n.useState(0);return n.useEffect(()=>{let e=A.current;if(e)return e.addEventListener(v,E),()=>e.removeEventListener(v,E)},[E]),(0,p.jsx)(g,{scope:r,orientation:a,dir:I,loop:i,currentTabStopId:D,onItemFocus:n.useCallback(e=>F(e),[F]),onItemShiftTab:n.useCallback(()=>T(!0),[]),onFocusableItemAdd:n.useCallback(()=>K(e=>e+1),[]),onFocusableItemRemove:n.useCallback(()=>K(e=>e-1),[]),children:(0,p.jsx)(s.sG.div,{tabIndex:M||0===S?-1:0,"data-orientation":a,...C,ref:j,style:{outline:"none",...e.style},onMouseDown:(0,o.m)(e.onMouseDown,()=>{N.current=!0}),onFocus:(0,o.m)(e.onFocus,e=>{let t=!N.current;if(e.target===e.currentTarget&&t&&!M){let t=new CustomEvent(v,m);if(e.currentTarget.dispatchEvent(t),!t.defaultPrevented){let e=G().filter(e=>e.focusable);k([e.find(e=>e.active),e.find(e=>e.id===D),...e].filter(Boolean).map(e=>e.ref.current),R)}}N.current=!1}),onBlur:(0,o.m)(e.onBlur,()=>T(!1))})})}),I="RovingFocusGroupItem",D=n.forwardRef((e,t)=>{let{__scopeRovingFocusGroup:r,focusable:a=!0,active:l=!1,tabStopId:i,...c}=e,d=(0,u.B)(),f=i||d,v=C(I,r),m=v.currentTabStopId===f,b=h(r),{onFocusableItemAdd:w,onFocusableItemRemove:x}=v;return n.useEffect(()=>{if(a)return w(),()=>x()},[a,w,x]),(0,p.jsx)(y.ItemSlot,{scope:r,id:f,focusable:a,active:l,children:(0,p.jsx)(s.sG.span,{tabIndex:m?0:-1,"data-orientation":v.orientation,...c,ref:t,onMouseDown:(0,o.m)(e.onMouseDown,e=>{a?v.onItemFocus(f):e.preventDefault()}),onFocus:(0,o.m)(e.onFocus,()=>v.onItemFocus(f)),onKeyDown:(0,o.m)(e.onKeyDown,e=>{if("Tab"===e.key&&e.shiftKey){v.onItemShiftTab();return}if(e.target!==e.currentTarget)return;let t=function(e,t,r){var n;let o=(n=e.key,"rtl"!==r?n:"ArrowLeft"===n?"ArrowRight":"ArrowRight"===n?"ArrowLeft":n);if(!("vertical"===t&&["ArrowLeft","ArrowRight"].includes(o))&&!("horizontal"===t&&["ArrowUp","ArrowDown"].includes(o)))return F[o]}(e,v.orientation,v.dir);if(void 0!==t){if(e.metaKey||e.ctrlKey||e.altKey||e.shiftKey)return;e.preventDefault();let r=b().filter(e=>e.focusable).map(e=>e.ref.current);if("last"===t)r.reverse();else if("prev"===t||"next"===t){"prev"===t&&r.reverse();let n=r.indexOf(e.currentTarget);r=v.loop?function(e,t){return e.map((r,n)=>e[(t+n)%e.length])}(r,n+1):r.slice(n+1)}setTimeout(()=>k(r))}})})})});D.displayName=I;var F={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function k(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=document.activeElement;for(let n of e)if(n===r||(n.focus({preventScroll:t}),document.activeElement!==r))return}var M=A,T=D},93677:(e,t,r)=>{r.d(t,{B8:()=>k,UC:()=>T,bL:()=>F,l9:()=>M});var n=r(20107),o=r(94521),a=r(45170),l=r(71856),i=r(54245),u=r(34544),s=r(76056),c=r(13061),d=r(72763),f=r(20475),p="Tabs",[v,m]=(0,a.A)(p,[l.RG]),b=(0,l.RG)(),[y,h]=v(p),w=n.forwardRef((e,t)=>{let{__scopeTabs:r,value:n,onValueChange:o,defaultValue:a,orientation:l="horizontal",dir:i,activationMode:p="automatic",...v}=e,m=(0,s.jH)(i),[b,h]=(0,c.i)({prop:n,onChange:o,defaultProp:a});return(0,f.jsx)(y,{scope:r,baseId:(0,d.B)(),value:b,onValueChange:h,orientation:l,dir:m,activationMode:p,children:(0,f.jsx)(u.sG.div,{dir:m,"data-orientation":l,...v,ref:t})})});w.displayName=p;var x="TabsList",R=n.forwardRef((e,t)=>{let{__scopeTabs:r,loop:n=!0,...o}=e,a=h(x,r),i=b(r);return(0,f.jsx)(l.bL,{asChild:!0,...i,orientation:a.orientation,dir:a.dir,loop:n,children:(0,f.jsx)(u.sG.div,{role:"tablist","aria-orientation":a.orientation,...o,ref:t})})});R.displayName=x;var g="TabsTrigger",C=n.forwardRef((e,t)=>{let{__scopeTabs:r,value:n,disabled:a=!1,...i}=e,s=h(g,r),c=b(r),d=I(s.baseId,n),p=D(s.baseId,n),v=n===s.value;return(0,f.jsx)(l.q7,{asChild:!0,...c,focusable:!a,active:v,children:(0,f.jsx)(u.sG.button,{type:"button",role:"tab","aria-selected":v,"aria-controls":p,"data-state":v?"active":"inactive","data-disabled":a?"":void 0,disabled:a,id:d,...i,ref:t,onMouseDown:(0,o.m)(e.onMouseDown,e=>{a||0!==e.button||!1!==e.ctrlKey?e.preventDefault():s.onValueChange(n)}),onKeyDown:(0,o.m)(e.onKeyDown,e=>{[" ","Enter"].includes(e.key)&&s.onValueChange(n)}),onFocus:(0,o.m)(e.onFocus,()=>{let e="manual"!==s.activationMode;v||a||!e||s.onValueChange(n)})})})});C.displayName=g;var A="TabsContent",j=n.forwardRef((e,t)=>{let{__scopeTabs:r,value:o,forceMount:a,children:l,...s}=e,c=h(A,r),d=I(c.baseId,o),p=D(c.baseId,o),v=o===c.value,m=n.useRef(v);return n.useEffect(()=>{let e=requestAnimationFrame(()=>m.current=!1);return()=>cancelAnimationFrame(e)},[]),(0,f.jsx)(i.C,{present:a||v,children:r=>{let{present:n}=r;return(0,f.jsx)(u.sG.div,{"data-state":v?"active":"inactive","data-orientation":c.orientation,role:"tabpanel","aria-labelledby":d,hidden:!n,id:p,tabIndex:0,...s,ref:t,style:{...e.style,animationDuration:m.current?"0s":void 0},children:n&&l})}})});function I(e,t){return"".concat(e,"-trigger-").concat(t)}function D(e,t){return"".concat(e,"-content-").concat(t)}j.displayName=A;var F=w,k=R,M=C,T=j}}]); \ No newline at end of file diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/3453-f2ce347605b90abe.js b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/3453-f2ce347605b90abe.js new file mode 100644 index 0000000..6e9bda1 --- /dev/null +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/3453-f2ce347605b90abe.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3453],{51873:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(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"}]])},32474:(e,t,r)=>{r.d(t,{N:()=>u});var n=r(20107),o=r(54379),a=r(64236),l=r(61837),i=r(20475);function u(e){let t=e+"CollectionProvider",[r,u]=(0,o.A)(t),[s,c]=r(t,{collectionRef:{current:null},itemMap:new Map}),d=e=>{let{scope:t,children:r}=e,o=n.useRef(null),a=n.useRef(new Map).current;return(0,i.jsx)(s,{scope:t,itemMap:a,collectionRef:o,children:r})};d.displayName=t;let f=e+"CollectionSlot",v=n.forwardRef((e,t)=>{let{scope:r,children:n}=e,o=c(f,r),u=(0,a.s)(t,o.collectionRef);return(0,i.jsx)(l.DX,{ref:u,children:n})});v.displayName=f;let p=e+"CollectionItemSlot",m="data-radix-collection-item",b=n.forwardRef((e,t)=>{let{scope:r,children:o,...u}=e,s=n.useRef(null),d=(0,a.s)(t,s),f=c(p,r);return n.useEffect(()=>(f.itemMap.set(s,{ref:s,...u}),()=>void f.itemMap.delete(s))),(0,i.jsx)(l.DX,{[m]:"",ref:d,children:o})});return b.displayName=p,[{Provider:d,Slot:v,ItemSlot:b},function(t){let r=c(e+"CollectionConsumer",t);return n.useCallback(()=>{let e=r.collectionRef.current;if(!e)return[];let t=Array.from(e.querySelectorAll("[".concat(m,"]")));return Array.from(r.itemMap.values()).sort((e,r)=>t.indexOf(e.ref.current)-t.indexOf(r.ref.current))},[r.collectionRef,r.itemMap])},u]}},76056:(e,t,r)=>{r.d(t,{jH:()=>a});var n=r(20107);r(20475);var o=n.createContext(void 0);function a(e){let t=n.useContext(o);return e||t||"ltr"}},71856:(e,t,r)=>{r.d(t,{RG:()=>R,bL:()=>M,q7:()=>T});var n=r(20107),o=r(94521),a=r(32474),l=r(64236),i=r(54379),u=r(72763),s=r(34544),c=r(46774),d=r(13061),f=r(76056),v=r(20475),p="rovingFocusGroup.onEntryFocus",m={bubbles:!1,cancelable:!0},b="RovingFocusGroup",[y,h,w]=(0,a.N)(b),[x,R]=(0,i.A)(b,[w]),[g,C]=x(b),A=n.forwardRef((e,t)=>(0,v.jsx)(y.Provider,{scope:e.__scopeRovingFocusGroup,children:(0,v.jsx)(y.Slot,{scope:e.__scopeRovingFocusGroup,children:(0,v.jsx)(j,{...e,ref:t})})}));A.displayName=b;var j=n.forwardRef((e,t)=>{let{__scopeRovingFocusGroup:r,orientation:a,loop:i=!1,dir:u,currentTabStopId:b,defaultCurrentTabStopId:y,onCurrentTabStopIdChange:w,onEntryFocus:x,preventScrollOnEntryFocus:R=!1,...C}=e,A=n.useRef(null),j=(0,l.s)(t,A),I=(0,f.jH)(u),[D=null,F]=(0,d.i)({prop:b,defaultProp:y,onChange:w}),[M,T]=n.useState(!1),E=(0,c.c)(x),G=h(r),N=n.useRef(!1),[S,K]=n.useState(0);return n.useEffect(()=>{let e=A.current;if(e)return e.addEventListener(p,E),()=>e.removeEventListener(p,E)},[E]),(0,v.jsx)(g,{scope:r,orientation:a,dir:I,loop:i,currentTabStopId:D,onItemFocus:n.useCallback(e=>F(e),[F]),onItemShiftTab:n.useCallback(()=>T(!0),[]),onFocusableItemAdd:n.useCallback(()=>K(e=>e+1),[]),onFocusableItemRemove:n.useCallback(()=>K(e=>e-1),[]),children:(0,v.jsx)(s.sG.div,{tabIndex:M||0===S?-1:0,"data-orientation":a,...C,ref:j,style:{outline:"none",...e.style},onMouseDown:(0,o.m)(e.onMouseDown,()=>{N.current=!0}),onFocus:(0,o.m)(e.onFocus,e=>{let t=!N.current;if(e.target===e.currentTarget&&t&&!M){let t=new CustomEvent(p,m);if(e.currentTarget.dispatchEvent(t),!t.defaultPrevented){let e=G().filter(e=>e.focusable);k([e.find(e=>e.active),e.find(e=>e.id===D),...e].filter(Boolean).map(e=>e.ref.current),R)}}N.current=!1}),onBlur:(0,o.m)(e.onBlur,()=>T(!1))})})}),I="RovingFocusGroupItem",D=n.forwardRef((e,t)=>{let{__scopeRovingFocusGroup:r,focusable:a=!0,active:l=!1,tabStopId:i,...c}=e,d=(0,u.B)(),f=i||d,p=C(I,r),m=p.currentTabStopId===f,b=h(r),{onFocusableItemAdd:w,onFocusableItemRemove:x}=p;return n.useEffect(()=>{if(a)return w(),()=>x()},[a,w,x]),(0,v.jsx)(y.ItemSlot,{scope:r,id:f,focusable:a,active:l,children:(0,v.jsx)(s.sG.span,{tabIndex:m?0:-1,"data-orientation":p.orientation,...c,ref:t,onMouseDown:(0,o.m)(e.onMouseDown,e=>{a?p.onItemFocus(f):e.preventDefault()}),onFocus:(0,o.m)(e.onFocus,()=>p.onItemFocus(f)),onKeyDown:(0,o.m)(e.onKeyDown,e=>{if("Tab"===e.key&&e.shiftKey){p.onItemShiftTab();return}if(e.target!==e.currentTarget)return;let t=function(e,t,r){var n;let o=(n=e.key,"rtl"!==r?n:"ArrowLeft"===n?"ArrowRight":"ArrowRight"===n?"ArrowLeft":n);if(!("vertical"===t&&["ArrowLeft","ArrowRight"].includes(o))&&!("horizontal"===t&&["ArrowUp","ArrowDown"].includes(o)))return F[o]}(e,p.orientation,p.dir);if(void 0!==t){if(e.metaKey||e.ctrlKey||e.altKey||e.shiftKey)return;e.preventDefault();let r=b().filter(e=>e.focusable).map(e=>e.ref.current);if("last"===t)r.reverse();else if("prev"===t||"next"===t){"prev"===t&&r.reverse();let n=r.indexOf(e.currentTarget);r=p.loop?function(e,t){return e.map((r,n)=>e[(t+n)%e.length])}(r,n+1):r.slice(n+1)}setTimeout(()=>k(r))}})})})});D.displayName=I;var F={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function k(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=document.activeElement;for(let n of e)if(n===r||(n.focus({preventScroll:t}),document.activeElement!==r))return}var M=A,T=D},93677:(e,t,r)=>{r.d(t,{B8:()=>k,UC:()=>T,bL:()=>F,l9:()=>M});var n=r(20107),o=r(94521),a=r(45170),l=r(71856),i=r(54245),u=r(34544),s=r(76056),c=r(13061),d=r(72763),f=r(20475),v="Tabs",[p,m]=(0,a.A)(v,[l.RG]),b=(0,l.RG)(),[y,h]=p(v),w=n.forwardRef((e,t)=>{let{__scopeTabs:r,value:n,onValueChange:o,defaultValue:a,orientation:l="horizontal",dir:i,activationMode:v="automatic",...p}=e,m=(0,s.jH)(i),[b,h]=(0,c.i)({prop:n,onChange:o,defaultProp:a});return(0,f.jsx)(y,{scope:r,baseId:(0,d.B)(),value:b,onValueChange:h,orientation:l,dir:m,activationMode:v,children:(0,f.jsx)(u.sG.div,{dir:m,"data-orientation":l,...p,ref:t})})});w.displayName=v;var x="TabsList",R=n.forwardRef((e,t)=>{let{__scopeTabs:r,loop:n=!0,...o}=e,a=h(x,r),i=b(r);return(0,f.jsx)(l.bL,{asChild:!0,...i,orientation:a.orientation,dir:a.dir,loop:n,children:(0,f.jsx)(u.sG.div,{role:"tablist","aria-orientation":a.orientation,...o,ref:t})})});R.displayName=x;var g="TabsTrigger",C=n.forwardRef((e,t)=>{let{__scopeTabs:r,value:n,disabled:a=!1,...i}=e,s=h(g,r),c=b(r),d=I(s.baseId,n),v=D(s.baseId,n),p=n===s.value;return(0,f.jsx)(l.q7,{asChild:!0,...c,focusable:!a,active:p,children:(0,f.jsx)(u.sG.button,{type:"button",role:"tab","aria-selected":p,"aria-controls":v,"data-state":p?"active":"inactive","data-disabled":a?"":void 0,disabled:a,id:d,...i,ref:t,onMouseDown:(0,o.m)(e.onMouseDown,e=>{a||0!==e.button||!1!==e.ctrlKey?e.preventDefault():s.onValueChange(n)}),onKeyDown:(0,o.m)(e.onKeyDown,e=>{[" ","Enter"].includes(e.key)&&s.onValueChange(n)}),onFocus:(0,o.m)(e.onFocus,()=>{let e="manual"!==s.activationMode;p||a||!e||s.onValueChange(n)})})})});C.displayName=g;var A="TabsContent",j=n.forwardRef((e,t)=>{let{__scopeTabs:r,value:o,forceMount:a,children:l,...s}=e,c=h(A,r),d=I(c.baseId,o),v=D(c.baseId,o),p=o===c.value,m=n.useRef(p);return n.useEffect(()=>{let e=requestAnimationFrame(()=>m.current=!1);return()=>cancelAnimationFrame(e)},[]),(0,f.jsx)(i.C,{present:a||p,children:r=>{let{present:n}=r;return(0,f.jsx)(u.sG.div,{"data-state":p?"active":"inactive","data-orientation":c.orientation,role:"tabpanel","aria-labelledby":d,hidden:!n,id:v,tabIndex:0,...s,ref:t,style:{...e.style,animationDuration:m.current?"0s":void 0},children:n&&l})}})});function I(e,t){return"".concat(e,"-trigger-").concat(t)}function D(e,t){return"".concat(e,"-content-").concat(t)}j.displayName=A;var F=w,k=R,M=C,T=j}}]); \ No newline at end of file diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/3478-5bb461f5e48a9302.js b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/3478-5bb461f5e48a9302.js new file mode 100644 index 0000000..0504ad1 --- /dev/null +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/3478-5bb461f5e48a9302.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3478],{39997:(t,e,n)=>{"use strict";n.d(e,{A:()=>u});var r=n(20107);let a=t=>t.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),d=function(){for(var t=arguments.length,e=Array(t),n=0;n!!t&&n.indexOf(t)===e).join(" ")};var o={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,r.forwardRef)((t,e)=>{let{color:n="currentColor",size:a=24,strokeWidth:i=2,absoluteStrokeWidth:u,className:l="",children:c,iconNode:s,...$}=t;return(0,r.createElement)("svg",{ref:e,...o,width:a,height:a,stroke:n,strokeWidth:u?24*Number(i)/Number(a):i,className:d("lucide",l),...$},[...s.map(t=>{let[e,n]=t;return(0,r.createElement)(e,n)}),...Array.isArray(c)?c:[c]])}),u=(t,e)=>{let n=(0,r.forwardRef)((n,o)=>{let{className:u,...l}=n;return(0,r.createElement)(i,{ref:o,iconNode:e,className:d("lucide-".concat(a(t)),u),...l})});return n.displayName="".concat(t),n}},91912:(t,e,n)=>{"use strict";n.d(e,{A:()=>r});let r=(0,n(39997).A)("Check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]])},4917:(t,e,n)=>{"use strict";n.d(e,{A:()=>r});let r=(0,n(39997).A)("ChevronsUpDown",[["path",{d:"m7 15 5 5 5-5",key:"1hf1tw"}],["path",{d:"m7 9 5-5 5 5",key:"sgt6xg"}]])},83148:(t,e,n)=>{"use strict";n.d(e,{A:()=>r});let r=(0,n(39997).A)("RotateCw",[["path",{d:"M21 12a9 9 0 1 1-9-9c2.52 0 4.93 1 6.74 2.74L21 8",key:"1p45f6"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}]])},66698:(t,e,n)=>{"use strict";n.d(e,{A:()=>r});let r=(0,n(39997).A)("Send",[["path",{d:"M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z",key:"1ffxy3"}],["path",{d:"m21.854 2.147-10.94 10.939",key:"12cjpa"}]])},546:(t,e,n)=>{"use strict";var r=n(57213);function a(){}function d(){}d.resetWarningCache=a,t.exports=function(){function t(t,e,n,a,d,o){if(o!==r){var i=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 i.name="Invariant Violation",i}}function e(){return t}t.isRequired=t;var n={array:t,bigint:t,bool:t,func:t,number:t,object:t,string:t,symbol:t,any:t,arrayOf:e,element:t,elementType:t,instanceOf:e,node:t,objectOf:e,oneOf:e,oneOfType:e,shape:e,exact:e,checkPropTypes:d,resetWarningCache:a};return n.PropTypes=n,n}},83318:(t,e,n)=>{t.exports=n(546)()},57213:t=>{"use strict";t.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},3343:(t,e)=>{var n;!function(){"use strict";var r={}.hasOwnProperty;function a(){for(var t="",e=0;e{"use strict";function r(t,[e,n]){return Math.min(n,Math.max(e,t))}n.d(e,{q:()=>r})},32713:(t,e,n)=>{"use strict";n.d(e,{C1:()=>S,bL:()=>P});var r=n(20107),a=n(64236),d=n(45170),o=n(94521),i=n(13061),u=n(65163),l=n(63620),c=n(54245),s=n(34544),$=n(20475),f="Checkbox",[p,h]=(0,d.A)(f),[y,m]=p(f),g=r.forwardRef((t,e)=>{let{__scopeCheckbox:n,name:d,checked:u,defaultChecked:l,required:c,disabled:f,value:p="on",onCheckedChange:h,form:m,...g}=t,[v,b]=r.useState(null),P=(0,a.s)(e,t=>b(t)),S=r.useRef(!1),x=!v||m||!!v.closest("form"),[I=!1,w]=(0,i.i)({prop:u,defaultProp:l,onChange:h}),E=r.useRef(I);return r.useEffect(()=>{let t=null==v?void 0:v.form;if(t){let e=()=>w(E.current);return t.addEventListener("reset",e),()=>t.removeEventListener("reset",e)}},[v,w]),(0,$.jsxs)(y,{scope:n,state:I,disabled:f,children:[(0,$.jsx)(s.sG.button,{type:"button",role:"checkbox","aria-checked":O(I)?"mixed":I,"aria-required":c,"data-state":N(I),"data-disabled":f?"":void 0,disabled:f,value:p,...g,ref:P,onKeyDown:(0,o.m)(t.onKeyDown,t=>{"Enter"===t.key&&t.preventDefault()}),onClick:(0,o.m)(t.onClick,t=>{w(t=>!!O(t)||!t),x&&(S.current=t.isPropagationStopped(),S.current||t.stopPropagation())})}),x&&(0,$.jsx)(C,{control:v,bubbles:!S.current,name:d,value:p,checked:I,required:c,disabled:f,form:m,style:{transform:"translateX(-100%)"},defaultChecked:!O(l)&&l})]})});g.displayName=f;var v="CheckboxIndicator",b=r.forwardRef((t,e)=>{let{__scopeCheckbox:n,forceMount:r,...a}=t,d=m(v,n);return(0,$.jsx)(c.C,{present:r||O(d.state)||!0===d.state,children:(0,$.jsx)(s.sG.span,{"data-state":N(d.state),"data-disabled":d.disabled?"":void 0,...a,ref:e,style:{pointerEvents:"none",...t.style}})})});b.displayName=v;var C=t=>{let{control:e,checked:n,bubbles:a=!0,defaultChecked:d,...o}=t,i=r.useRef(null),c=(0,u.Z)(n),s=(0,l.X)(e);r.useEffect(()=>{let t=i.current,e=Object.getOwnPropertyDescriptor(window.HTMLInputElement.prototype,"checked").set;if(c!==n&&e){let r=new Event("click",{bubbles:a});t.indeterminate=O(n),e.call(t,!O(n)&&n),t.dispatchEvent(r)}},[c,n,a]);let f=r.useRef(!O(n)&&n);return(0,$.jsx)("input",{type:"checkbox","aria-hidden":!0,defaultChecked:null!=d?d:f.current,...o,tabIndex:-1,ref:i,style:{...t.style,...s,position:"absolute",pointerEvents:"none",opacity:0,margin:0}})};function O(t){return"indeterminate"===t}function N(t){return O(t)?"indeterminate":t?"checked":"unchecked"}var P=g,S=b},76056:(t,e,n)=>{"use strict";n.d(e,{jH:()=>d});var r=n(20107);n(20475);var a=r.createContext(void 0);function d(t){let e=r.useContext(a);return t||e||"ltr"}},65163:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a});var r=n(20107);function a(t){let e=r.useRef({value:t,previous:t});return r.useMemo(()=>(e.current.value!==t&&(e.current.previous=e.current.value,e.current.value=t),e.current.previous),[t])}},80421:(t,e,n)=>{"use strict";n.d(e,{uB:()=>tm});var r=/[\\\/_+.#"@\[\(\{&]/,a=/[\\\/_+.#"@\[\(\{&]/g,d=/[\s-]/,o=/[\s-]/g;function i(t){return t.toLowerCase().replace(o," ")}var u=n(20107),l=n(75456),c=n(72706),s=n(45170),$=n(72763),f=n(13061),p=n(80560),h=n(62802),y=n(46527),m=n(86432),g=n(3328),v=n(10201),b=n(76171),C=n(58020),O=n(79571),N=n(20475),P="Dialog",[S,x]=(0,s.A)(P),[I,w]=S(P),E=t=>{let{__scopeDialog:e,children:n,open:r,defaultOpen:a,onOpenChange:d,modal:o=!0}=t,i=u.useRef(null),l=u.useRef(null),[c=!1,s]=(0,f.i)({prop:r,defaultProp:a,onChange:d});return(0,N.jsx)(I,{scope:e,triggerRef:i,contentRef:l,contentId:(0,$.B)(),titleId:(0,$.B)(),descriptionId:(0,$.B)(),open:c,onOpenChange:s,onOpenToggle:u.useCallback(()=>s(t=>!t),[s]),modal:o,children:n})};E.displayName=P;var A="DialogTrigger";u.forwardRef((t,e)=>{let{__scopeDialog:n,...r}=t,a=w(A,n),d=(0,c.s)(e,a.triggerRef);return(0,N.jsx)(g.sG.button,{type:"button","aria-haspopup":"dialog","aria-expanded":a.open,"aria-controls":a.contentId,"data-state":H(a.open),...r,ref:d,onClick:(0,l.m)(t.onClick,a.onOpenToggle)})}).displayName=A;var j="DialogPortal",[k,T]=S(j,{forceMount:void 0}),R=t=>{let{__scopeDialog:e,forceMount:n,children:r,container:a}=t,d=w(j,e);return(0,N.jsx)(k,{scope:e,forceMount:n,children:u.Children.map(r,t=>(0,N.jsx)(m.C,{present:n||d.open,children:(0,N.jsx)(y.Z,{asChild:!0,container:a,children:t})}))})};R.displayName=j;var M="DialogOverlay",D=u.forwardRef((t,e)=>{let n=T(M,t.__scopeDialog),{forceMount:r=n.forceMount,...a}=t,d=w(M,t.__scopeDialog);return d.modal?(0,N.jsx)(m.C,{present:r||d.open,children:(0,N.jsx)(F,{...a,ref:e})}):null});D.displayName=M;var F=u.forwardRef((t,e)=>{let{__scopeDialog:n,...r}=t,a=w(M,n);return(0,N.jsx)(b.A,{as:O.DX,allowPinchZoom:!0,shards:[a.contentRef],children:(0,N.jsx)(g.sG.div,{"data-state":H(a.open),...r,ref:e,style:{pointerEvents:"auto",...r.style}})})}),L="DialogContent",B=u.forwardRef((t,e)=>{let n=T(L,t.__scopeDialog),{forceMount:r=n.forceMount,...a}=t,d=w(L,t.__scopeDialog);return(0,N.jsx)(m.C,{present:r||d.open,children:d.modal?(0,N.jsx)(G,{...a,ref:e}):(0,N.jsx)(_,{...a,ref:e})})});B.displayName=L;var G=u.forwardRef((t,e)=>{let n=w(L,t.__scopeDialog),r=u.useRef(null),a=(0,c.s)(e,n.contentRef,r);return u.useEffect(()=>{let t=r.current;if(t)return(0,C.Eq)(t)},[]),(0,N.jsx)(U,{...t,ref:a,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:(0,l.m)(t.onCloseAutoFocus,t=>{var e;t.preventDefault(),null===(e=n.triggerRef.current)||void 0===e||e.focus()}),onPointerDownOutside:(0,l.m)(t.onPointerDownOutside,t=>{let e=t.detail.originalEvent,n=0===e.button&&!0===e.ctrlKey;(2===e.button||n)&&t.preventDefault()}),onFocusOutside:(0,l.m)(t.onFocusOutside,t=>t.preventDefault())})}),_=u.forwardRef((t,e)=>{let n=w(L,t.__scopeDialog),r=u.useRef(!1),a=u.useRef(!1);return(0,N.jsx)(U,{...t,ref:e,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:e=>{var d,o;null===(d=t.onCloseAutoFocus)||void 0===d||d.call(t,e),e.defaultPrevented||(r.current||null===(o=n.triggerRef.current)||void 0===o||o.focus(),e.preventDefault()),r.current=!1,a.current=!1},onInteractOutside:e=>{var d,o;null===(d=t.onInteractOutside)||void 0===d||d.call(t,e),e.defaultPrevented||(r.current=!0,"pointerdown"!==e.detail.originalEvent.type||(a.current=!0));let i=e.target;(null===(o=n.triggerRef.current)||void 0===o?void 0:o.contains(i))&&e.preventDefault(),"focusin"===e.detail.originalEvent.type&&a.current&&e.preventDefault()}})}),U=u.forwardRef((t,e)=>{let{__scopeDialog:n,trapFocus:r,onOpenAutoFocus:a,onCloseAutoFocus:d,...o}=t,i=w(L,n),l=u.useRef(null),s=(0,c.s)(e,l);return(0,v.Oh)(),(0,N.jsxs)(N.Fragment,{children:[(0,N.jsx)(h.n,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:a,onUnmountAutoFocus:d,children:(0,N.jsx)(p.qW,{role:"dialog",id:i.contentId,"aria-describedby":i.descriptionId,"aria-labelledby":i.titleId,"data-state":H(i.open),...o,ref:s,onDismiss:()=>i.onOpenChange(!1)})}),(0,N.jsxs)(N.Fragment,{children:[(0,N.jsx)(J,{titleId:i.titleId}),(0,N.jsx)(X,{contentRef:l,descriptionId:i.descriptionId})]})]})}),K="DialogTitle";u.forwardRef((t,e)=>{let{__scopeDialog:n,...r}=t,a=w(K,n);return(0,N.jsx)(g.sG.h2,{id:a.titleId,...r,ref:e})}).displayName=K;var V="DialogDescription";u.forwardRef((t,e)=>{let{__scopeDialog:n,...r}=t,a=w(V,n);return(0,N.jsx)(g.sG.p,{id:a.descriptionId,...r,ref:e})}).displayName=V;var W="DialogClose";function H(t){return t?"open":"closed"}u.forwardRef((t,e)=>{let{__scopeDialog:n,...r}=t,a=w(W,n);return(0,N.jsx)(g.sG.button,{type:"button",...r,ref:e,onClick:(0,l.m)(t.onClick,()=>a.onOpenChange(!1))})}).displayName=W;var Z="DialogTitleWarning",[q,Y]=(0,s.q)(Z,{contentName:L,titleName:K,docsSlug:"dialog"}),J=t=>{let{titleId:e}=t,n=Y(Z),r="`".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 u.useEffect(()=>{e&&!document.getElementById(e)&&console.error(r)},[r,e]),null},X=t=>{let{contentRef:e,descriptionId:n}=t,r=Y("DialogDescriptionWarning"),a="Warning: Missing `Description` or `aria-describedby={undefined}` for {".concat(r.contentName,"}.");return u.useEffect(()=>{var t;let r=null===(t=e.current)||void 0===t?void 0:t.getAttribute("aria-describedby");n&&r&&!document.getElementById(n)&&console.warn(a)},[a,e,n]),null},z='[cmdk-group=""]',Q='[cmdk-group-items=""]',tt='[cmdk-item=""]',te="".concat(tt,':not([aria-disabled="true"])'),tn="cmdk-item-select",tr="data-value",ta=(t,e,n)=>(function(t,e,n){return function t(e,n,i,u,l,c,s){if(c===n.length)return l===e.length?1:.99;var $=`${l},${c}`;if(void 0!==s[$])return s[$];for(var f,p,h,y,m=u.charAt(c),g=i.indexOf(m,l),v=0;g>=0;)(f=t(e,n,i,u,g+1,c+1,s))>v&&(g===l?f*=1:r.test(e.charAt(g-1))?(f*=.8,(h=e.slice(l,g-1).match(a))&&l>0&&(f*=Math.pow(.999,h.length))):d.test(e.charAt(g-1))?(f*=.9,(y=e.slice(l,g-1).match(o))&&l>0&&(f*=Math.pow(.999,y.length))):(f*=.17,l>0&&(f*=Math.pow(.999,g-l))),e.charAt(g)!==n.charAt(c)&&(f*=.9999)),(f<.1&&i.charAt(g-1)===u.charAt(c+1)||u.charAt(c+1)===u.charAt(c)&&i.charAt(g-1)!==u.charAt(c))&&.1*(p=t(e,n,i,u,g+1,c+2,s))>f&&(f=.1*p),f>v&&(v=f),g=i.indexOf(m,g+1);return s[$]=v,v}(t=n&&n.length>0?`${t+" "+n.join(" ")}`:t,e,i(t),i(e),0,0,{})})(t,e,n),td=u.createContext(void 0),to=()=>u.useContext(td),ti=u.createContext(void 0),tu=()=>u.useContext(ti),tl=u.createContext(void 0),tc=u.forwardRef((t,e)=>{let n=tb(()=>{var e,n;return{search:"",value:null!=(n=null!=(e=t.value)?e:t.defaultValue)?n:"",selectedItemId:void 0,filtered:{count:0,items:new Map,groups:new Set}}}),r=tb(()=>new Set),a=tb(()=>new Map),d=tb(()=>new Map),o=tb(()=>new Set),i=tg(t),{label:l,children:c,value:s,onValueChange:f,filter:p,shouldFilter:h,loop:y,disablePointerSelection:m=!1,vimBindings:v=!0,...b}=t,C=(0,$.B)(),O=(0,$.B)(),N=(0,$.B)(),P=u.useRef(null),S=tN();tv(()=>{if(void 0!==s){let t=s.trim();n.current.value=t,x.emit()}},[s]),tv(()=>{S(6,k)},[]);let x=u.useMemo(()=>({subscribe:t=>(o.current.add(t),()=>o.current.delete(t)),snapshot:()=>n.current,setState:(t,e,r)=>{var a,d,o,u;if(!Object.is(n.current[t],e)){if(n.current[t]=e,"search"===t)j(),E(),S(1,A);else if("value"===t){if(document.activeElement.hasAttribute("cmdk-input")||document.activeElement.hasAttribute("cmdk-root")){let t=document.getElementById(N);t?t.focus():null==(a=document.getElementById(C))||a.focus()}if(S(7,()=>{var t;n.current.selectedItemId=null==(t=T())?void 0:t.id,x.emit()}),r||S(5,k),(null==(d=i.current)?void 0:d.value)!==void 0){null==(u=(o=i.current).onValueChange)||u.call(o,null!=e?e:"");return}}x.emit()}},emit:()=>{o.current.forEach(t=>t())}}),[]),I=u.useMemo(()=>({value:(t,e,r)=>{var a;e!==(null==(a=d.current.get(t))?void 0:a.value)&&(d.current.set(t,{value:e,keywords:r}),n.current.filtered.items.set(t,w(e,r)),S(2,()=>{E(),x.emit()}))},item:(t,e)=>(r.current.add(t),e&&(a.current.has(e)?a.current.get(e).add(t):a.current.set(e,new Set([t]))),S(3,()=>{j(),E(),n.current.value||A(),x.emit()}),()=>{d.current.delete(t),r.current.delete(t),n.current.filtered.items.delete(t);let e=T();S(4,()=>{j(),(null==e?void 0:e.getAttribute("id"))===t&&A(),x.emit()})}),group:t=>(a.current.has(t)||a.current.set(t,new Set),()=>{d.current.delete(t),a.current.delete(t)}),filter:()=>i.current.shouldFilter,label:l||t["aria-label"],getDisablePointerSelection:()=>i.current.disablePointerSelection,listId:C,inputId:N,labelId:O,listInnerRef:P}),[]);function w(t,e){var r,a;let d=null!=(a=null==(r=i.current)?void 0:r.filter)?a:ta;return t?d(t,n.current.search,e):0}function E(){if(!n.current.search||!1===i.current.shouldFilter)return;let t=n.current.filtered.items,e=[];n.current.filtered.groups.forEach(n=>{let r=a.current.get(n),d=0;r.forEach(e=>{d=Math.max(t.get(e),d)}),e.push([n,d])});let r=P.current;R().sort((e,n)=>{var r,a;let d=e.getAttribute("id"),o=n.getAttribute("id");return(null!=(r=t.get(o))?r:0)-(null!=(a=t.get(d))?a:0)}).forEach(t=>{let e=t.closest(Q);e?e.appendChild(t.parentElement===e?t:t.closest("".concat(Q," > *"))):r.appendChild(t.parentElement===r?t:t.closest("".concat(Q," > *")))}),e.sort((t,e)=>e[1]-t[1]).forEach(t=>{var e;let n=null==(e=P.current)?void 0:e.querySelector("".concat(z,"[").concat(tr,'="').concat(encodeURIComponent(t[0]),'"]'));null==n||n.parentElement.appendChild(n)})}function A(){let t=R().find(t=>"true"!==t.getAttribute("aria-disabled")),e=null==t?void 0:t.getAttribute(tr);x.setState("value",e||void 0)}function j(){var t,e,o,u;if(!n.current.search||!1===i.current.shouldFilter){n.current.filtered.count=r.current.size;return}n.current.filtered.groups=new Set;let l=0;for(let a of r.current){let r=w(null!=(e=null==(t=d.current.get(a))?void 0:t.value)?e:"",null!=(u=null==(o=d.current.get(a))?void 0:o.keywords)?u:[]);n.current.filtered.items.set(a,r),r>0&&l++}for(let[t,e]of a.current)for(let r of e)if(n.current.filtered.items.get(r)>0){n.current.filtered.groups.add(t);break}n.current.filtered.count=l}function k(){var t,e,n;let r=T();r&&((null==(t=r.parentElement)?void 0:t.firstChild)===r&&(null==(n=null==(e=r.closest(z))?void 0:e.querySelector('[cmdk-group-heading=""]'))||n.scrollIntoView({block:"nearest"})),r.scrollIntoView({block:"nearest"}))}function T(){var t;return null==(t=P.current)?void 0:t.querySelector("".concat(tt,'[aria-selected="true"]'))}function R(){var t;return Array.from((null==(t=P.current)?void 0:t.querySelectorAll(te))||[])}function M(t){let e=R()[t];e&&x.setState("value",e.getAttribute(tr))}function D(t){var e;let n=T(),r=R(),a=r.findIndex(t=>t===n),d=r[a+t];null!=(e=i.current)&&e.loop&&(d=a+t<0?r[r.length-1]:a+t===r.length?r[0]:r[a+t]),d&&x.setState("value",d.getAttribute(tr))}function F(t){let e=T(),n=null==e?void 0:e.closest(z),r;for(;n&&!r;)r=null==(n=t>0?function(t,e){let n=t.nextElementSibling;for(;n;){if(n.matches(e))return n;n=n.nextElementSibling}}(n,z):function(t,e){let n=t.previousElementSibling;for(;n;){if(n.matches(e))return n;n=n.previousElementSibling}}(n,z))?void 0:n.querySelector(te);r?x.setState("value",r.getAttribute(tr)):D(t)}let L=()=>M(R().length-1),B=t=>{t.preventDefault(),t.metaKey?L():t.altKey?F(1):D(1)},G=t=>{t.preventDefault(),t.metaKey?M(0):t.altKey?F(-1):D(-1)};return u.createElement(g.sG.div,{ref:e,tabIndex:-1,...b,"cmdk-root":"",onKeyDown:t=>{var e;null==(e=b.onKeyDown)||e.call(b,t);let n=t.nativeEvent.isComposing||229===t.keyCode;if(!(t.defaultPrevented||n))switch(t.key){case"n":case"j":v&&t.ctrlKey&&B(t);break;case"ArrowDown":B(t);break;case"p":case"k":v&&t.ctrlKey&&G(t);break;case"ArrowUp":G(t);break;case"Home":t.preventDefault(),M(0);break;case"End":t.preventDefault(),L();break;case"Enter":{t.preventDefault();let e=T();if(e){let t=new Event(tn);e.dispatchEvent(t)}}}}},u.createElement("label",{"cmdk-label":"",htmlFor:I.inputId,id:I.labelId,style:tS},l),tP(t,t=>u.createElement(ti.Provider,{value:x},u.createElement(td.Provider,{value:I},t))))}),ts=u.forwardRef((t,e)=>{var n,r;let a=(0,$.B)(),d=u.useRef(null),o=u.useContext(tl),i=to(),l=tg(t),s=null!=(r=null==(n=l.current)?void 0:n.forceMount)?r:null==o?void 0:o.forceMount;tv(()=>{if(!s)return i.item(a,null==o?void 0:o.id)},[s]);let f=tO(a,d,[t.value,t.children,d],t.keywords),p=tu(),h=tC(t=>t.value&&t.value===f.current),y=tC(t=>!!s||!1===i.filter()||!t.search||t.filtered.items.get(a)>0);function m(){var t,e;v(),null==(e=(t=l.current).onSelect)||e.call(t,f.current)}function v(){p.setState("value",f.current,!0)}if(u.useEffect(()=>{let e=d.current;if(!(!e||t.disabled))return e.addEventListener(tn,m),()=>e.removeEventListener(tn,m)},[y,t.onSelect,t.disabled]),!y)return null;let{disabled:b,value:C,onSelect:O,forceMount:N,keywords:P,...S}=t;return u.createElement(g.sG.div,{ref:(0,c.t)(d,e),...S,id:a,"cmdk-item":"",role:"option","aria-disabled":!!b,"aria-selected":!!h,"data-disabled":!!b,"data-selected":!!h,onPointerMove:b||i.getDisablePointerSelection()?void 0:v,onClick:b?void 0:m},t.children)}),t$=u.forwardRef((t,e)=>{let{heading:n,children:r,forceMount:a,...d}=t,o=(0,$.B)(),i=u.useRef(null),l=u.useRef(null),s=(0,$.B)(),f=to(),p=tC(t=>!!a||!1===f.filter()||!t.search||t.filtered.groups.has(o));tv(()=>f.group(o),[]),tO(o,i,[t.value,t.heading,l]);let h=u.useMemo(()=>({id:o,forceMount:a}),[a]);return u.createElement(g.sG.div,{ref:(0,c.t)(i,e),...d,"cmdk-group":"",role:"presentation",hidden:!p||void 0},n&&u.createElement("div",{ref:l,"cmdk-group-heading":"","aria-hidden":!0,id:s},n),tP(t,t=>u.createElement("div",{"cmdk-group-items":"",role:"group","aria-labelledby":n?s:void 0},u.createElement(tl.Provider,{value:h},t))))}),tf=u.forwardRef((t,e)=>{let{alwaysRender:n,...r}=t,a=u.useRef(null),d=tC(t=>!t.search);return n||d?u.createElement(g.sG.div,{ref:(0,c.t)(a,e),...r,"cmdk-separator":"",role:"separator"}):null}),tp=u.forwardRef((t,e)=>{let{onValueChange:n,...r}=t,a=null!=t.value,d=tu(),o=tC(t=>t.search),i=tC(t=>t.selectedItemId),l=to();return u.useEffect(()=>{null!=t.value&&d.setState("search",t.value)},[t.value]),u.createElement(g.sG.input,{ref:e,...r,"cmdk-input":"",autoComplete:"off",autoCorrect:"off",spellCheck:!1,"aria-autocomplete":"list",role:"combobox","aria-expanded":!0,"aria-controls":l.listId,"aria-labelledby":l.labelId,"aria-activedescendant":i,id:l.inputId,type:"text",value:a?t.value:o,onChange:t=>{a||d.setState("search",t.target.value),null==n||n(t.target.value)}})}),th=u.forwardRef((t,e)=>{let{children:n,label:r="Suggestions",...a}=t,d=u.useRef(null),o=u.useRef(null),i=tC(t=>t.selectedItemId),l=to();return u.useEffect(()=>{if(o.current&&d.current){let t=o.current,e=d.current,n,r=new ResizeObserver(()=>{n=requestAnimationFrame(()=>{let n=t.offsetHeight;e.style.setProperty("--cmdk-list-height",n.toFixed(1)+"px")})});return r.observe(t),()=>{cancelAnimationFrame(n),r.unobserve(t)}}},[]),u.createElement(g.sG.div,{ref:(0,c.t)(d,e),...a,"cmdk-list":"",role:"listbox",tabIndex:-1,"aria-activedescendant":i,"aria-label":r,id:l.listId},tP(t,t=>u.createElement("div",{ref:(0,c.t)(o,l.listInnerRef),"cmdk-list-sizer":""},t)))}),ty=u.forwardRef((t,e)=>{let{open:n,onOpenChange:r,overlayClassName:a,contentClassName:d,container:o,...i}=t;return u.createElement(E,{open:n,onOpenChange:r},u.createElement(R,{container:o},u.createElement(D,{"cmdk-overlay":"",className:a}),u.createElement(B,{"aria-label":t.label,"cmdk-dialog":"",className:d},u.createElement(tc,{ref:e,...i}))))}),tm=Object.assign(tc,{List:th,Item:ts,Input:tp,Group:t$,Separator:tf,Dialog:ty,Empty:u.forwardRef((t,e)=>tC(t=>0===t.filtered.count)?u.createElement(g.sG.div,{ref:e,...t,"cmdk-empty":"",role:"presentation"}):null),Loading:u.forwardRef((t,e)=>{let{progress:n,children:r,label:a="Loading...",...d}=t;return u.createElement(g.sG.div,{ref:e,...d,"cmdk-loading":"",role:"progressbar","aria-valuenow":n,"aria-valuemin":0,"aria-valuemax":100,"aria-label":a},tP(t,t=>u.createElement("div",{"aria-hidden":!0},t)))})});function tg(t){let e=u.useRef(t);return tv(()=>{e.current=t}),e}var tv="undefined"==typeof window?u.useEffect:u.useLayoutEffect;function tb(t){let e=u.useRef();return void 0===e.current&&(e.current=t()),e}function tC(t){let e=tu(),n=()=>t(e.snapshot());return u.useSyncExternalStore(e.subscribe,n,n)}function tO(t,e,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[],a=u.useRef(),d=to();return tv(()=>{var o;let i=(()=>{var t;for(let e of n){if("string"==typeof e)return e.trim();if("object"==typeof e&&"current"in e)return e.current?null==(t=e.current.textContent)?void 0:t.trim():a.current}})(),u=r.map(t=>t.trim());d.value(t,i,u),null==(o=e.current)||o.setAttribute(tr,i),a.current=i}),a}var tN=()=>{let[t,e]=u.useState(),n=tb(()=>new Map);return tv(()=>{n.current.forEach(t=>t()),n.current=new Map},[t]),(t,r)=>{n.current.set(t,r),e({})}};function tP(t,e){let n,{asChild:r,children:a}=t;return r&&u.isValidElement(a)?u.cloneElement("function"==typeof(n=a.type)?n(a.props):"render"in n?n.render(a.props):a,{ref:a.ref},e(a.props.children)):e(a)}var tS={position:"absolute",width:"1px",height:"1px",padding:"0",margin:"-1px",overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0"}},70964:(t,e,n)=>{"use strict";n.d(e,{Ay:()=>nA,Ko:()=>nj});let r={version:4,country_calling_codes:{1:["US","AG","AI","AS","BB","BM","BS","CA","DM","DO","GD","GU","JM","KN","KY","LC","MP","MS","PR","SX","TC","TT","VC","VG","VI"],7:["RU","KZ"],20:["EG"],27:["ZA"],30:["GR"],31:["NL"],32:["BE"],33:["FR"],34:["ES"],36:["HU"],39:["IT","VA"],40:["RO"],41:["CH"],43:["AT"],44:["GB","GG","IM","JE"],45:["DK"],46:["SE"],47:["NO","SJ"],48:["PL"],49:["DE"],51:["PE"],52:["MX"],53:["CU"],54:["AR"],55:["BR"],56:["CL"],57:["CO"],58:["VE"],60:["MY"],61:["AU","CC","CX"],62:["ID"],63:["PH"],64:["NZ"],65:["SG"],66:["TH"],81:["JP"],82:["KR"],84:["VN"],86:["CN"],90:["TR"],91:["IN"],92:["PK"],93:["AF"],94:["LK"],95:["MM"],98:["IR"],211:["SS"],212:["MA","EH"],213:["DZ"],216:["TN"],218:["LY"],220:["GM"],221:["SN"],222:["MR"],223:["ML"],224:["GN"],225:["CI"],226:["BF"],227:["NE"],228:["TG"],229:["BJ"],230:["MU"],231:["LR"],232:["SL"],233:["GH"],234:["NG"],235:["TD"],236:["CF"],237:["CM"],238:["CV"],239:["ST"],240:["GQ"],241:["GA"],242:["CG"],243:["CD"],244:["AO"],245:["GW"],246:["IO"],247:["AC"],248:["SC"],249:["SD"],250:["RW"],251:["ET"],252:["SO"],253:["DJ"],254:["KE"],255:["TZ"],256:["UG"],257:["BI"],258:["MZ"],260:["ZM"],261:["MG"],262:["RE","YT"],263:["ZW"],264:["NA"],265:["MW"],266:["LS"],267:["BW"],268:["SZ"],269:["KM"],290:["SH","TA"],291:["ER"],297:["AW"],298:["FO"],299:["GL"],350:["GI"],351:["PT"],352:["LU"],353:["IE"],354:["IS"],355:["AL"],356:["MT"],357:["CY"],358:["FI","AX"],359:["BG"],370:["LT"],371:["LV"],372:["EE"],373:["MD"],374:["AM"],375:["BY"],376:["AD"],377:["MC"],378:["SM"],380:["UA"],381:["RS"],382:["ME"],383:["XK"],385:["HR"],386:["SI"],387:["BA"],389:["MK"],420:["CZ"],421:["SK"],423:["LI"],500:["FK"],501:["BZ"],502:["GT"],503:["SV"],504:["HN"],505:["NI"],506:["CR"],507:["PA"],508:["PM"],509:["HT"],590:["GP","BL","MF"],591:["BO"],592:["GY"],593:["EC"],594:["GF"],595:["PY"],596:["MQ"],597:["SR"],598:["UY"],599:["CW","BQ"],670:["TL"],672:["NF"],673:["BN"],674:["NR"],675:["PG"],676:["TO"],677:["SB"],678:["VU"],679:["FJ"],680:["PW"],681:["WF"],682:["CK"],683:["NU"],685:["WS"],686:["KI"],687:["NC"],688:["TV"],689:["PF"],690:["TK"],691:["FM"],692:["MH"],850:["KP"],852:["HK"],853:["MO"],855:["KH"],856:["LA"],880:["BD"],886:["TW"],960:["MV"],961:["LB"],962:["JO"],963:["SY"],964:["IQ"],965:["KW"],966:["SA"],967:["YE"],968:["OM"],970:["PS"],971:["AE"],972:["IL"],973:["BH"],974:["QA"],975:["BT"],976:["MN"],977:["NP"],992:["TJ"],993:["TM"],994:["AZ"],995:["GE"],996:["KG"],998:["UZ"]},countries:{AC:["247","00","(?:[01589]\\d|[46])\\d{4}",[5,6]],AD:["376","00","(?:1|6\\d)\\d{7}|[135-9]\\d{5}",[6,8,9],[["(\\d{3})(\\d{3})","$1 $2",["[135-9]"]],["(\\d{4})(\\d{4})","$1 $2",["1"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6"]]]],AE:["971","00","(?:[4-7]\\d|9[0-689])\\d{7}|800\\d{2,9}|[2-4679]\\d{7}",[5,6,7,8,9,10,11,12],[["(\\d{3})(\\d{2,9})","$1 $2",["60|8"]],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[236]|[479][2-8]"],"0$1"],["(\\d{3})(\\d)(\\d{5})","$1 $2 $3",["[479]"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["5"],"0$1"]],"0"],AF:["93","00","[2-7]\\d{8}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[2-7]"],"0$1"]],"0"],AG:["1","011","(?:268|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([457]\\d{6})$|1","268$1",0,"268"],AI:["1","011","(?:264|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2457]\\d{6})$|1","264$1",0,"264"],AL:["355","00","(?:700\\d\\d|900)\\d{3}|8\\d{5,7}|(?:[2-5]|6\\d)\\d{7}",[6,7,8,9],[["(\\d{3})(\\d{3,4})","$1 $2",["80|9"],"0$1"],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["4[2-6]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[2358][2-5]|4"],"0$1"],["(\\d{3})(\\d{5})","$1 $2",["[23578]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["6"],"0$1"]],"0"],AM:["374","00","(?:[1-489]\\d|55|60|77)\\d{6}",[8],[["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["[89]0"],"0 $1"],["(\\d{3})(\\d{5})","$1 $2",["2|3[12]"],"(0$1)"],["(\\d{2})(\\d{6})","$1 $2",["1|47"],"(0$1)"],["(\\d{2})(\\d{6})","$1 $2",["[3-9]"],"0$1"]],"0"],AO:["244","00","[29]\\d{8}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[29]"]]]],AR:["54","00","(?:11|[89]\\d\\d)\\d{8}|[2368]\\d{9}",[10,11],[["(\\d{4})(\\d{2})(\\d{4})","$1 $2-$3",["2(?:2[024-9]|3[0-59]|47|6[245]|9[02-8])|3(?:3[28]|4[03-9]|5[2-46-8]|7[1-578]|8[2-9])","2(?:[23]02|6(?:[25]|4[6-8])|9(?:[02356]|4[02568]|72|8[23]))|3(?:3[28]|4(?:[04679]|3[5-8]|5[4-68]|8[2379])|5(?:[2467]|3[237]|8[2-5])|7[1-578]|8(?:[2469]|3[2578]|5[4-8]|7[36-8]|8[5-8]))|2(?:2[24-9]|3[1-59]|47)","2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3[78]|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8[23])|7[1-578]|8(?:[2469]|3[278]|5[56][46]|86[3-6]))|2(?:2[24-9]|3[1-59]|47)|38(?:[58][78]|7[378])|3(?:4[35][56]|58[45]|8(?:[38]5|54|76))[4-6]","2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3(?:5(?:4[0-25689]|[56])|[78])|58|8[2379])|5(?:[2467]|3[237]|8(?:[23]|4(?:[45]|60)|5(?:4[0-39]|5|64)))|7[1-578]|8(?:[2469]|3[278]|54(?:4|5[13-7]|6[89])|86[3-6]))|2(?:2[24-9]|3[1-59]|47)|38(?:[58][78]|7[378])|3(?:454|85[56])[46]|3(?:4(?:36|5[56])|8(?:[38]5|76))[4-6]"],"0$1",1],["(\\d{2})(\\d{4})(\\d{4})","$1 $2-$3",["1"],"0$1",1],["(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["[68]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2-$3",["[23]"],"0$1",1],["(\\d)(\\d{4})(\\d{2})(\\d{4})","$2 15-$3-$4",["9(?:2[2-469]|3[3-578])","9(?:2(?:2[024-9]|3[0-59]|47|6[245]|9[02-8])|3(?:3[28]|4[03-9]|5[2-46-8]|7[1-578]|8[2-9]))","9(?:2(?:[23]02|6(?:[25]|4[6-8])|9(?:[02356]|4[02568]|72|8[23]))|3(?:3[28]|4(?:[04679]|3[5-8]|5[4-68]|8[2379])|5(?:[2467]|3[237]|8[2-5])|7[1-578]|8(?:[2469]|3[2578]|5[4-8]|7[36-8]|8[5-8])))|92(?:2[24-9]|3[1-59]|47)","9(?:2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3[78]|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8[23])|7[1-578]|8(?:[2469]|3[278]|5(?:[56][46]|[78])|7[378]|8(?:6[3-6]|[78]))))|92(?:2[24-9]|3[1-59]|47)|93(?:4[35][56]|58[45]|8(?:[38]5|54|76))[4-6]","9(?:2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3(?:5(?:4[0-25689]|[56])|[78])|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8(?:[23]|4(?:[45]|60)|5(?:4[0-39]|5|64)))|7[1-578]|8(?:[2469]|3[278]|5(?:4(?:4|5[13-7]|6[89])|[56][46]|[78])|7[378]|8(?:6[3-6]|[78]))))|92(?:2[24-9]|3[1-59]|47)|93(?:4(?:36|5[56])|8(?:[38]5|76))[4-6]"],"0$1",0,"$1 $2 $3-$4"],["(\\d)(\\d{2})(\\d{4})(\\d{4})","$2 15-$3-$4",["91"],"0$1",0,"$1 $2 $3-$4"],["(\\d{3})(\\d{3})(\\d{5})","$1-$2-$3",["8"],"0$1"],["(\\d)(\\d{3})(\\d{3})(\\d{4})","$2 15-$3-$4",["9"],"0$1",0,"$1 $2 $3-$4"]],"0",0,"0?(?:(11|2(?:2(?:02?|[13]|2[13-79]|4[1-6]|5[2457]|6[124-8]|7[1-4]|8[13-6]|9[1267])|3(?:02?|1[467]|2[03-6]|3[13-8]|[49][2-6]|5[2-8]|[67])|4(?:7[3-578]|9)|6(?:[0136]|2[24-6]|4[6-8]?|5[15-8])|80|9(?:0[1-3]|[19]|2\\d|3[1-6]|4[02568]?|5[2-4]|6[2-46]|72?|8[23]?))|3(?:3(?:2[79]|6|8[2578])|4(?:0[0-24-9]|[12]|3[5-8]?|4[24-7]|5[4-68]?|6[02-9]|7[126]|8[2379]?|9[1-36-8])|5(?:1|2[1245]|3[237]?|4[1-46-9]|6[2-4]|7[1-6]|8[2-5]?)|6[24]|7(?:[069]|1[1568]|2[15]|3[145]|4[13]|5[14-8]|7[2-57]|8[126])|8(?:[01]|2[15-7]|3[2578]?|4[13-6]|5[4-8]?|6[1-357-9]|7[36-8]?|8[5-8]?|9[124])))15)?","9$1"],AS:["1","011","(?:[58]\\d\\d|684|900)\\d{7}",[10],0,"1",0,"([267]\\d{6})$|1","684$1",0,"684"],AT:["43","00","1\\d{3,12}|2\\d{6,12}|43(?:(?:0\\d|5[02-9])\\d{3,9}|2\\d{4,5}|[3467]\\d{4}|8\\d{4,6}|9\\d{4,7})|5\\d{4,12}|8\\d{7,12}|9\\d{8,12}|(?:[367]\\d|4[0-24-9])\\d{4,11}",[4,5,6,7,8,9,10,11,12,13],[["(\\d)(\\d{3,12})","$1 $2",["1(?:11|[2-9])"],"0$1"],["(\\d{3})(\\d{2})","$1 $2",["517"],"0$1"],["(\\d{2})(\\d{3,5})","$1 $2",["5[079]"],"0$1"],["(\\d{3})(\\d{3,10})","$1 $2",["(?:31|4)6|51|6(?:5[0-3579]|[6-9])|7(?:20|32|8)|[89]"],"0$1"],["(\\d{4})(\\d{3,9})","$1 $2",["[2-467]|5[2-6]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["5"],"0$1"],["(\\d{2})(\\d{4})(\\d{4,7})","$1 $2 $3",["5"],"0$1"]],"0"],AU:["61","001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011","1(?:[0-79]\\d{7}(?:\\d(?:\\d{2})?)?|8[0-24-9]\\d{7})|[2-478]\\d{8}|1\\d{4,7}",[5,6,7,8,9,10,12],[["(\\d{2})(\\d{3,4})","$1 $2",["16"],"0$1"],["(\\d{2})(\\d{3})(\\d{2,4})","$1 $2 $3",["16"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["14|4"],"0$1"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["[2378]"],"(0$1)"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1(?:30|[89])"]]],"0",0,"(183[12])|0",0,0,0,[["(?:(?:(?:2(?:[0-26-9]\\d|3[0-8]|4[02-9]|5[0135-9])|7(?:[013-57-9]\\d|2[0-8]))\\d|3(?:(?:[0-3589]\\d|6[1-9]|7[0-35-9])\\d|4(?:[0-578]\\d|90)))\\d\\d|8(?:51(?:0(?:0[03-9]|[12479]\\d|3[2-9]|5[0-8]|6[1-9]|8[0-7])|1(?:[0235689]\\d|1[0-69]|4[0-589]|7[0-47-9])|2(?:0[0-79]|[18][13579]|2[14-9]|3[0-46-9]|[4-6]\\d|7[89]|9[0-4])|3\\d\\d)|(?:6[0-8]|[78]\\d)\\d{3}|9(?:[02-9]\\d{3}|1(?:(?:[0-58]\\d|6[0135-9])\\d|7(?:0[0-24-9]|[1-9]\\d)|9(?:[0-46-9]\\d|5[0-79])))))\\d{3}",[9]],["4(?:79[01]|83[0-389]|94[0-4])\\d{5}|4(?:[0-36]\\d|4[047-9]|5[0-25-9]|7[02-8]|8[0-24-9]|9[0-37-9])\\d{6}",[9]],["180(?:0\\d{3}|2)\\d{3}",[7,10]],["190[0-26]\\d{6}",[10]],0,0,0,["163\\d{2,6}",[5,6,7,8,9]],["14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}",[9]],["13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}",[6,8,10,12]]],"0011"],AW:["297","00","(?:[25-79]\\d\\d|800)\\d{4}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[25-9]"]]]],AX:["358","00|99(?:[01469]|5(?:[14]1|3[23]|5[59]|77|88|9[09]))","2\\d{4,9}|35\\d{4,5}|(?:60\\d\\d|800)\\d{4,6}|7\\d{5,11}|(?:[14]\\d|3[0-46-9]|50)\\d{4,8}",[5,6,7,8,9,10,11,12],0,"0",0,0,0,0,"18",0,"00"],AZ:["994","00","365\\d{6}|(?:[124579]\\d|60|88)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["90"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[28]|2|365|46","1[28]|2|365[45]|46","1[28]|2|365(?:4|5[02])|46"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[13-9]"],"0$1"]],"0"],BA:["387","00","6\\d{8}|(?:[35689]\\d|49|70)\\d{6}",[8,9],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["6[1-3]|[7-9]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2-$3",["[3-5]|6[56]"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3 $4",["6"],"0$1"]],"0"],BB:["1","011","(?:246|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","246$1",0,"246"],BD:["880","00","[1-469]\\d{9}|8[0-79]\\d{7,8}|[2-79]\\d{8}|[2-9]\\d{7}|[3-9]\\d{6}|[57-9]\\d{5}",[6,7,8,9,10],[["(\\d{2})(\\d{4,6})","$1-$2",["31[5-8]|[459]1"],"0$1"],["(\\d{3})(\\d{3,7})","$1-$2",["3(?:[67]|8[013-9])|4(?:6[168]|7|[89][18])|5(?:6[128]|9)|6(?:[15]|28|4[14])|7[2-589]|8(?:0[014-9]|[12])|9[358]|(?:3[2-5]|4[235]|5[2-578]|6[0389]|76|8[3-7]|9[24])1|(?:44|66)[01346-9]"],"0$1"],["(\\d{4})(\\d{3,6})","$1-$2",["[13-9]|2[23]"],"0$1"],["(\\d)(\\d{7,8})","$1-$2",["2"],"0$1"]],"0"],BE:["32","00","4\\d{8}|[1-9]\\d{7}",[8,9],[["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["(?:80|9)0"],"0$1"],["(\\d)(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[239]|4[23]"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[15-8]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["4"],"0$1"]],"0"],BF:["226","00","[025-7]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[025-7]"]]]],BG:["359","00","00800\\d{7}|[2-7]\\d{6,7}|[89]\\d{6,8}|2\\d{5}",[6,7,8,9,12],[["(\\d)(\\d)(\\d{2})(\\d{2})","$1 $2 $3 $4",["2"],"0$1"],["(\\d{3})(\\d{4})","$1 $2",["43[1-6]|70[1-9]"],"0$1"],["(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["2"],"0$1"],["(\\d{2})(\\d{3})(\\d{2,3})","$1 $2 $3",["[356]|4[124-7]|7[1-9]|8[1-6]|9[1-7]"],"0$1"],["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["(?:70|8)0"],"0$1"],["(\\d{3})(\\d{3})(\\d{2})","$1 $2 $3",["43[1-7]|7"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[48]|9[08]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["9"],"0$1"]],"0"],BH:["973","00","[136-9]\\d{7}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[13679]|8[02-4679]"]]]],BI:["257","00","(?:[267]\\d|31)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2367]"]]]],BJ:["229","00","(?:01\\d|[24-689])\\d{7}",[8,10],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[24-689]"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["0"]]]],BL:["590","00","(?:590\\d|7090)\\d{5}|(?:69|80|9\\d)\\d{7}",[9],0,"0",0,0,0,0,0,[["590(?:2[7-9]|3[3-7]|5[12]|87)\\d{4}"],["(?:69(?:0\\d\\d|1(?:2[2-9]|3[0-5])|4(?:0[89]|1[2-6]|9\\d)|6(?:1[016-9]|5[0-4]|[67]\\d))|7090[0-4])\\d{4}"],["80[0-5]\\d{6}"],0,0,0,0,0,["9(?:(?:39[5-7]|76[018])\\d|475[0-6])\\d{4}"]]],BM:["1","011","(?:441|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","441$1",0,"441"],BN:["673","00","[2-578]\\d{6}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[2-578]"]]]],BO:["591","00(?:1\\d)?","8001\\d{5}|(?:[2-467]\\d|50)\\d{6}",[8,9],[["(\\d)(\\d{7})","$1 $2",["[235]|4[46]"]],["(\\d{8})","$1",["[67]"]],["(\\d{3})(\\d{2})(\\d{4})","$1 $2 $3",["8"]]],"0",0,"0(1\\d)?"],BQ:["599","00","(?:[34]1|7\\d)\\d{5}",[7],0,0,0,0,0,0,"[347]"],BR:["55","00(?:1[245]|2[1-35]|31|4[13]|[56]5|99)","(?:[1-46-9]\\d\\d|5(?:[0-46-9]\\d|5[0-46-9]))\\d{8}|[1-9]\\d{9}|[3589]\\d{8}|[34]\\d{7}",[8,9,10,11],[["(\\d{4})(\\d{4})","$1-$2",["300|4(?:0[02]|37)","4(?:02|37)0|[34]00"]],["(\\d{3})(\\d{2,3})(\\d{4})","$1 $2 $3",["(?:[358]|90)0"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1 $2-$3",["(?:[14689][1-9]|2[12478]|3[1-578]|5[13-5]|7[13-579])[2-57]"],"($1)"],["(\\d{2})(\\d{5})(\\d{4})","$1 $2-$3",["[16][1-9]|[2-57-9]"],"($1)"]],"0",0,"(?:0|90)(?:(1[245]|2[1-35]|31|4[13]|[56]5|99)(\\d{10,11}))?","$2"],BS:["1","011","(?:242|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([3-8]\\d{6})$|1","242$1",0,"242"],BT:["975","00","[17]\\d{7}|[2-8]\\d{6}",[7,8],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[2-68]|7[246]"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[67]|7"]]]],BW:["267","00","(?:0800|(?:[37]|800)\\d)\\d{6}|(?:[2-6]\\d|90)\\d{5}",[7,8,10],[["(\\d{2})(\\d{5})","$1 $2",["90"]],["(\\d{3})(\\d{4})","$1 $2",["[24-6]|3[15-9]"]],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[37]"]],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["0"]],["(\\d{3})(\\d{4})(\\d{3})","$1 $2 $3",["8"]]]],BY:["375","810","(?:[12]\\d|33|44|902)\\d{7}|8(?:0[0-79]\\d{5,7}|[1-7]\\d{9})|8(?:1[0-489]|[5-79]\\d)\\d{7}|8[1-79]\\d{6,7}|8[0-79]\\d{5}|8\\d{5}",[6,7,8,9,10,11],[["(\\d{3})(\\d{3})","$1 $2",["800"],"8 $1"],["(\\d{3})(\\d{2})(\\d{2,4})","$1 $2 $3",["800"],"8 $1"],["(\\d{4})(\\d{2})(\\d{3})","$1 $2-$3",["1(?:5[169]|6[3-5]|7[179])|2(?:1[35]|2[34]|3[3-5])","1(?:5[169]|6(?:3[1-3]|4|5[125])|7(?:1[3-9]|7[0-24-6]|9[2-7]))|2(?:1[35]|2[34]|3[3-5])"],"8 0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2-$3-$4",["1(?:[56]|7[467])|2[1-3]"],"8 0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2-$3-$4",["[1-4]"],"8 0$1"],["(\\d{3})(\\d{3,4})(\\d{4})","$1 $2 $3",["[89]"],"8 $1"]],"8",0,"0|80?",0,0,0,0,"8~10"],BZ:["501","00","(?:0800\\d|[2-8])\\d{6}",[7,11],[["(\\d{3})(\\d{4})","$1-$2",["[2-8]"]],["(\\d)(\\d{3})(\\d{4})(\\d{3})","$1-$2-$3-$4",["0"]]]],CA:["1","011","[2-9]\\d{9}|3\\d{6}",[7,10],0,"1",0,0,0,0,0,[["(?:2(?:04|[23]6|[48]9|50|63)|3(?:06|43|54|6[578]|82)|4(?:03|1[68]|[26]8|3[178]|50|74)|5(?:06|1[49]|48|79|8[147])|6(?:04|[18]3|39|47|72)|7(?:0[59]|42|53|78|8[02])|8(?:[06]7|19|25|7[39])|9(?:0[25]|42))[2-9]\\d{6}",[10]],["",[10]],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",[10]],["900[2-9]\\d{6}",[10]],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|(?:5(?:2[125-9]|33|44|66|77|88)|6(?:22|33))[2-9]\\d{6}",[10]],0,["310\\d{4}",[7]],0,["600[2-9]\\d{6}",[10]]]],CC:["61","001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011","1(?:[0-79]\\d{8}(?:\\d{2})?|8[0-24-9]\\d{7})|[148]\\d{8}|1\\d{5,7}",[6,7,8,9,10,12],0,"0",0,"([59]\\d{7})$|0","8$1",0,0,[["8(?:51(?:0(?:02|31|60|89)|1(?:18|76)|223)|91(?:0(?:1[0-2]|29)|1(?:[28]2|50|79)|2(?:10|64)|3(?:[06]8|22)|4[29]8|62\\d|70[23]|959))\\d{3}",[9]],["4(?:79[01]|83[0-389]|94[0-4])\\d{5}|4(?:[0-36]\\d|4[047-9]|5[0-25-9]|7[02-8]|8[0-24-9]|9[0-37-9])\\d{6}",[9]],["180(?:0\\d{3}|2)\\d{3}",[7,10]],["190[0-26]\\d{6}",[10]],0,0,0,0,["14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}",[9]],["13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}",[6,8,10,12]]],"0011"],CD:["243","00","(?:(?:[189]|5\\d)\\d|2)\\d{7}|[1-68]\\d{6}",[7,8,9,10],[["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["88"],"0$1"],["(\\d{2})(\\d{5})","$1 $2",["[1-6]"],"0$1"],["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["2"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[89]"],"0$1"],["(\\d{2})(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3 $4",["5"],"0$1"]],"0"],CF:["236","00","(?:[27]\\d{3}|8776)\\d{4}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[278]"]]]],CG:["242","00","222\\d{6}|(?:0\\d|80)\\d{7}",[9],[["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["8"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[02]"]]]],CH:["41","00","8\\d{11}|[2-9]\\d{8}",[9,12],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8[047]|90"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-79]|81"],"0$1"],["(\\d{3})(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["8"],"0$1"]],"0"],CI:["225","00","[02]\\d{9}",[10],[["(\\d{2})(\\d{2})(\\d)(\\d{5})","$1 $2 $3 $4",["2"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3 $4",["0"]]]],CK:["682","00","[2-578]\\d{4}",[5],[["(\\d{2})(\\d{3})","$1 $2",["[2-578]"]]]],CL:["56","(?:0|1(?:1[0-69]|2[02-5]|5[13-58]|69|7[0167]|8[018]))0","12300\\d{6}|6\\d{9,10}|[2-9]\\d{8}",[9,10,11],[["(\\d{5})(\\d{4})","$1 $2",["219","2196"],"($1)"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["44"]],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["2[1-36]"],"($1)"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["9[2-9]"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["3[2-5]|[47]|5[1-3578]|6[13-57]|8(?:0[1-9]|[1-9])"],"($1)"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["60|8"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]],["(\\d{3})(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3 $4",["60"]]]],CM:["237","00","[26]\\d{8}|88\\d{6,7}",[8,9],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["88"]],["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["[26]|88"]]]],CN:["86","00|1(?:[12]\\d|79)\\d\\d00","(?:(?:1[03-689]|2\\d)\\d\\d|6)\\d{8}|1\\d{10}|[126]\\d{6}(?:\\d(?:\\d{2})?)?|86\\d{5,6}|(?:[3-579]\\d|8[0-57-9])\\d{5,9}",[7,8,9,10,11,12],[["(\\d{2})(\\d{5,6})","$1 $2",["(?:10|2[0-57-9])[19]|3(?:[157]|35|49|9[1-68])|4(?:1[124-9]|2[179]|6[47-9]|7|8[23])|5(?:[1357]|2[37]|4[36]|6[1-46]|80)|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:07|1[236-8]|2[5-7]|[37]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3|4[13]|5[1-5]|7[0-79]|9[0-35-9])|(?:4[35]|59|85)[1-9]","(?:10|2[0-57-9])(?:1[02]|9[56])|8078|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))1","10(?:1(?:0|23)|9[56])|2[0-57-9](?:1(?:00|23)|9[56])|80781|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))12","10(?:1(?:0|23)|9[56])|2[0-57-9](?:1(?:00|23)|9[56])|807812|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))123","10(?:1(?:0|23)|9[56])|2[0-57-9](?:1(?:00|23)|9[56])|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:078|1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))123"],"0$1"],["(\\d{3})(\\d{5,6})","$1 $2",["3(?:[157]|35|49|9[1-68])|4(?:[17]|2[179]|6[47-9]|8[23])|5(?:[1357]|2[37]|4[36]|6[1-46]|80)|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]|4[13]|5[1-5])|(?:4[35]|59|85)[1-9]","(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))[19]","85[23](?:10|95)|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:10|9[56])","85[23](?:100|95)|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:100|9[56])"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["(?:4|80)0"]],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["10|2(?:[02-57-9]|1[1-9])","10|2(?:[02-57-9]|1[1-9])","10[0-79]|2(?:[02-57-9]|1[1-79])|(?:10|21)8(?:0[1-9]|[1-9])"],"0$1",1],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["3(?:[3-59]|7[02-68])|4(?:[26-8]|3[3-9]|5[2-9])|5(?:3[03-9]|[468]|7[028]|9[2-46-9])|6|7(?:[0-247]|3[04-9]|5[0-4689]|6[2368])|8(?:[1-358]|9[1-7])|9(?:[013479]|5[1-5])|(?:[34]1|55|79|87)[02-9]"],"0$1",1],["(\\d{3})(\\d{7,8})","$1 $2",["9"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["80"],"0$1",1],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["[3-578]"],"0$1",1],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["1[3-9]"]],["(\\d{2})(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3 $4",["[12]"],"0$1",1]],"0",0,"(1(?:[12]\\d|79)\\d\\d)|0",0,0,0,0,"00"],CO:["57","00(?:4(?:[14]4|56)|[579])","(?:46|60\\d\\d)\\d{6}|(?:1\\d|[39])\\d{9}",[8,10,11],[["(\\d{4})(\\d{4})","$1 $2",["46"]],["(\\d{3})(\\d{7})","$1 $2",["6|90"],"($1)"],["(\\d{3})(\\d{7})","$1 $2",["3[0-357]|91"]],["(\\d)(\\d{3})(\\d{7})","$1-$2-$3",["1"],"0$1",0,"$1 $2 $3"]],"0",0,"0([3579]|4(?:[14]4|56))?"],CR:["506","00","(?:8\\d|90)\\d{8}|(?:[24-8]\\d{3}|3005)\\d{4}",[8,10],[["(\\d{4})(\\d{4})","$1 $2",["[2-7]|8[3-9]"]],["(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["[89]"]]],0,0,"(19(?:0[0-2468]|1[09]|20|66|77|99))"],CU:["53","119","(?:[2-7]|8\\d\\d)\\d{7}|[2-47]\\d{6}|[34]\\d{5}",[6,7,8,10],[["(\\d{2})(\\d{4,6})","$1 $2",["2[1-4]|[34]"],"(0$1)"],["(\\d)(\\d{6,7})","$1 $2",["7"],"(0$1)"],["(\\d)(\\d{7})","$1 $2",["[56]"],"0$1"],["(\\d{3})(\\d{7})","$1 $2",["8"],"0$1"]],"0"],CV:["238","0","(?:[2-59]\\d\\d|800)\\d{4}",[7],[["(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["[2-589]"]]]],CW:["599","00","(?:[34]1|60|(?:7|9\\d)\\d)\\d{5}",[7,8],[["(\\d{3})(\\d{4})","$1 $2",["[3467]"]],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["9[4-8]"]]],0,0,0,0,0,"[69]"],CX:["61","001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011","1(?:[0-79]\\d{8}(?:\\d{2})?|8[0-24-9]\\d{7})|[148]\\d{8}|1\\d{5,7}",[6,7,8,9,10,12],0,"0",0,"([59]\\d{7})$|0","8$1",0,0,[["8(?:51(?:0(?:01|30|59|88)|1(?:17|46|75)|2(?:22|35))|91(?:00[6-9]|1(?:[28]1|49|78)|2(?:09|63)|3(?:12|26|75)|4(?:56|97)|64\\d|7(?:0[01]|1[0-2])|958))\\d{3}",[9]],["4(?:79[01]|83[0-389]|94[0-4])\\d{5}|4(?:[0-36]\\d|4[047-9]|5[0-25-9]|7[02-8]|8[0-24-9]|9[0-37-9])\\d{6}",[9]],["180(?:0\\d{3}|2)\\d{3}",[7,10]],["190[0-26]\\d{6}",[10]],0,0,0,0,["14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}",[9]],["13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}",[6,8,10,12]]],"0011"],CY:["357","00","(?:[279]\\d|[58]0)\\d{6}",[8],[["(\\d{2})(\\d{6})","$1 $2",["[257-9]"]]]],CZ:["420","00","(?:[2-578]\\d|60)\\d{7}|9\\d{8,11}",[9,10,11,12],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[2-8]|9[015-7]"]],["(\\d{2})(\\d{3})(\\d{3})(\\d{2})","$1 $2 $3 $4",["96"]],["(\\d{2})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["9"]],["(\\d{3})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["9"]]]],DE:["49","00","[2579]\\d{5,14}|49(?:[34]0|69|8\\d)\\d\\d?|49(?:37|49|60|7[089]|9\\d)\\d{1,3}|49(?:2[024-9]|3[2-689]|7[1-7])\\d{1,8}|(?:1|[368]\\d|4[0-8])\\d{3,13}|49(?:[015]\\d|2[13]|31|[46][1-8])\\d{1,9}",[4,5,6,7,8,9,10,11,12,13,14,15],[["(\\d{2})(\\d{3,13})","$1 $2",["3[02]|40|[68]9"],"0$1"],["(\\d{3})(\\d{3,12})","$1 $2",["2(?:0[1-389]|1[124]|2[18]|3[14])|3(?:[35-9][15]|4[015])|906|(?:2[4-9]|4[2-9]|[579][1-9]|[68][1-8])1","2(?:0[1-389]|12[0-8])|3(?:[35-9][15]|4[015])|906|2(?:[13][14]|2[18])|(?:2[4-9]|4[2-9]|[579][1-9]|[68][1-8])1"],"0$1"],["(\\d{4})(\\d{2,11})","$1 $2",["[24-6]|3(?:[3569][02-46-9]|4[2-4679]|7[2-467]|8[2-46-8])|70[2-8]|8(?:0[2-9]|[1-8])|90[7-9]|[79][1-9]","[24-6]|3(?:3(?:0[1-467]|2[127-9]|3[124578]|7[1257-9]|8[1256]|9[145])|4(?:2[135]|4[13578]|9[1346])|5(?:0[14]|2[1-3589]|6[1-4]|7[13468]|8[13568])|6(?:2[1-489]|3[124-6]|6[13]|7[12579]|8[1-356]|9[135])|7(?:2[1-7]|4[145]|6[1-5]|7[1-4])|8(?:21|3[1468]|6|7[1467]|8[136])|9(?:0[12479]|2[1358]|4[134679]|6[1-9]|7[136]|8[147]|9[1468]))|70[2-8]|8(?:0[2-9]|[1-8])|90[7-9]|[79][1-9]|3[68]4[1347]|3(?:47|60)[1356]|3(?:3[46]|46|5[49])[1246]|3[4579]3[1357]"],"0$1"],["(\\d{3})(\\d{4})","$1 $2",["138"],"0$1"],["(\\d{5})(\\d{2,10})","$1 $2",["3"],"0$1"],["(\\d{3})(\\d{5,11})","$1 $2",["181"],"0$1"],["(\\d{3})(\\d)(\\d{4,10})","$1 $2 $3",["1(?:3|80)|9"],"0$1"],["(\\d{3})(\\d{7,8})","$1 $2",["1[67]"],"0$1"],["(\\d{3})(\\d{7,12})","$1 $2",["8"],"0$1"],["(\\d{5})(\\d{6})","$1 $2",["185","1850","18500"],"0$1"],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["7"],"0$1"],["(\\d{4})(\\d{7})","$1 $2",["18[68]"],"0$1"],["(\\d{4})(\\d{7})","$1 $2",["15[1279]"],"0$1"],["(\\d{5})(\\d{6})","$1 $2",["15[03568]","15(?:[0568]|31)"],"0$1"],["(\\d{3})(\\d{8})","$1 $2",["18"],"0$1"],["(\\d{3})(\\d{2})(\\d{7,8})","$1 $2 $3",["1(?:6[023]|7)"],"0$1"],["(\\d{4})(\\d{2})(\\d{7})","$1 $2 $3",["15[279]"],"0$1"],["(\\d{3})(\\d{2})(\\d{8})","$1 $2 $3",["15"],"0$1"]],"0"],DJ:["253","00","(?:2\\d|77)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[27]"]]]],DK:["45","00","[2-9]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-9]"]]]],DM:["1","011","(?:[58]\\d\\d|767|900)\\d{7}",[10],0,"1",0,"([2-7]\\d{6})$|1","767$1",0,"767"],DO:["1","011","(?:[58]\\d\\d|900)\\d{7}",[10],0,"1",0,0,0,0,"8001|8[024]9"],DZ:["213","00","(?:[1-4]|[5-79]\\d|80)\\d{7}",[8,9],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[1-4]"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["9"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-8]"],"0$1"]],"0"],EC:["593","00","1\\d{9,10}|(?:[2-7]|9\\d)\\d{7}",[8,9,10,11],[["(\\d)(\\d{3})(\\d{4})","$1 $2-$3",["[2-7]"],"(0$1)",0,"$1-$2-$3"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["9"],"0$1"],["(\\d{4})(\\d{3})(\\d{3,4})","$1 $2 $3",["1"]]],"0"],EE:["372","00","8\\d{9}|[4578]\\d{7}|(?:[3-8]\\d|90)\\d{5}",[7,8,10],[["(\\d{3})(\\d{4})","$1 $2",["[369]|4[3-8]|5(?:[0-2]|5[0-478]|6[45])|7[1-9]|88","[369]|4[3-8]|5(?:[02]|1(?:[0-8]|95)|5[0-478]|6(?:4[0-4]|5[1-589]))|7[1-9]|88"]],["(\\d{4})(\\d{3,4})","$1 $2",["[45]|8(?:00|[1-49])","[45]|8(?:00[1-9]|[1-49])"]],["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["7"]],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["8"]]]],EG:["20","00","[189]\\d{8,9}|[24-6]\\d{8}|[135]\\d{7}",[8,9,10],[["(\\d)(\\d{7,8})","$1 $2",["[23]"],"0$1"],["(\\d{2})(\\d{6,7})","$1 $2",["1[35]|[4-6]|8[2468]|9[235-7]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[89]"],"0$1"],["(\\d{2})(\\d{8})","$1 $2",["1"],"0$1"]],"0"],EH:["212","00","[5-8]\\d{8}",[9],0,"0",0,0,0,0,"528[89]"],ER:["291","00","[178]\\d{6}",[7],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[178]"],"0$1"]],"0"],ES:["34","00","[5-9]\\d{8}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[89]00"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-9]"]]]],ET:["251","00","(?:11|[2-579]\\d)\\d{7}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[1-579]"],"0$1"]],"0"],FI:["358","00|99(?:[01469]|5(?:[14]1|3[23]|5[59]|77|88|9[09]))","[1-35689]\\d{4}|7\\d{10,11}|(?:[124-7]\\d|3[0-46-9])\\d{8}|[1-9]\\d{5,8}",[5,6,7,8,9,10,11,12],[["(\\d{5})","$1",["20[2-59]"],"0$1"],["(\\d{3})(\\d{3,7})","$1 $2",["(?:[1-3]0|[68])0|70[07-9]"],"0$1"],["(\\d{2})(\\d{4,8})","$1 $2",["[14]|2[09]|50|7[135]"],"0$1"],["(\\d{2})(\\d{6,10})","$1 $2",["7"],"0$1"],["(\\d)(\\d{4,9})","$1 $2",["(?:19|[2568])[1-8]|3(?:0[1-9]|[1-9])|9"],"0$1"]],"0",0,0,0,0,"1[03-79]|[2-9]",0,"00"],FJ:["679","0(?:0|52)","45\\d{5}|(?:0800\\d|[235-9])\\d{6}",[7,11],[["(\\d{3})(\\d{4})","$1 $2",["[235-9]|45"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["0"]]],0,0,0,0,0,0,0,"00"],FK:["500","00","[2-7]\\d{4}",[5]],FM:["691","00","(?:[39]\\d\\d|820)\\d{4}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[389]"]]]],FO:["298","00","[2-9]\\d{5}",[6],[["(\\d{6})","$1",["[2-9]"]]],0,0,"(10(?:01|[12]0|88))"],FR:["33","00","[1-9]\\d{8}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0 $1"],["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["[1-79]"],"0$1"]],"0"],GA:["241","00","(?:[067]\\d|11)\\d{6}|[2-7]\\d{6}",[7,8],[["(\\d)(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-7]"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["0"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["11|[67]"],"0$1"]],0,0,"0(11\\d{6}|60\\d{6}|61\\d{6}|6[256]\\d{6}|7[467]\\d{6})","$1"],GB:["44","00","[1-357-9]\\d{9}|[18]\\d{8}|8\\d{6}",[7,9,10],[["(\\d{3})(\\d{4})","$1 $2",["800","8001","80011","800111","8001111"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["845","8454","84546","845464"],"0$1"],["(\\d{3})(\\d{6})","$1 $2",["800"],"0$1"],["(\\d{5})(\\d{4,5})","$1 $2",["1(?:38|5[23]|69|76|94)","1(?:(?:38|69)7|5(?:24|39)|768|946)","1(?:3873|5(?:242|39[4-6])|(?:697|768)[347]|9467)"],"0$1"],["(\\d{4})(\\d{5,6})","$1 $2",["1(?:[2-69][02-9]|[78])"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["[25]|7(?:0|6[02-9])","[25]|7(?:0|6(?:[03-9]|2[356]))"],"0$1"],["(\\d{4})(\\d{6})","$1 $2",["7"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[1389]"],"0$1"]],"0",0,0,0,0,0,[["(?:1(?:1(?:3(?:[0-58]\\d\\d|73[0-35])|4(?:(?:[0-5]\\d|70)\\d|69[7-9])|(?:(?:5[0-26-9]|[78][0-49])\\d|6(?:[0-4]\\d|50))\\d)|(?:2(?:(?:0[024-9]|2[3-9]|3[3-79]|4[1-689]|[58][02-9]|6[0-47-9]|7[013-9]|9\\d)\\d|1(?:[0-7]\\d|8[0-3]))|(?:3(?:0\\d|1[0-8]|[25][02-9]|3[02-579]|[468][0-46-9]|7[1-35-79]|9[2-578])|4(?:0[03-9]|[137]\\d|[28][02-57-9]|4[02-69]|5[0-8]|[69][0-79])|5(?:0[1-35-9]|[16]\\d|2[024-9]|3[015689]|4[02-9]|5[03-9]|7[0-35-9]|8[0-468]|9[0-57-9])|6(?:0[034689]|1\\d|2[0-35689]|[38][013-9]|4[1-467]|5[0-69]|6[13-9]|7[0-8]|9[0-24578])|7(?:0[0246-9]|2\\d|3[0236-8]|4[03-9]|5[0-46-9]|6[013-9]|7[0-35-9]|8[024-9]|9[02-9])|8(?:0[35-9]|2[1-57-9]|3[02-578]|4[0-578]|5[124-9]|6[2-69]|7\\d|8[02-9]|9[02569])|9(?:0[02-589]|[18]\\d|2[02-689]|3[1-57-9]|4[2-9]|5[0-579]|6[2-47-9]|7[0-24578]|9[2-57]))\\d)\\d)|2(?:0[013478]|3[0189]|4[017]|8[0-46-9]|9[0-2])\\d{3})\\d{4}|1(?:2(?:0(?:46[1-4]|87[2-9])|545[1-79]|76(?:2\\d|3[1-8]|6[1-6])|9(?:7(?:2[0-4]|3[2-5])|8(?:2[2-8]|7[0-47-9]|8[3-5])))|3(?:6(?:38[2-5]|47[23])|8(?:47[04-9]|64[0157-9]))|4(?:044[1-7]|20(?:2[23]|8\\d)|6(?:0(?:30|5[2-57]|6[1-8]|7[2-8])|140)|8(?:052|87[1-3]))|5(?:2(?:4(?:3[2-79]|6\\d)|76\\d)|6(?:26[06-9]|686))|6(?:06(?:4\\d|7[4-79])|295[5-7]|35[34]\\d|47(?:24|61)|59(?:5[08]|6[67]|74)|9(?:55[0-4]|77[23]))|7(?:26(?:6[13-9]|7[0-7])|(?:442|688)\\d|50(?:2[0-3]|[3-68]2|76))|8(?:27[56]\\d|37(?:5[2-5]|8[239])|843[2-58])|9(?:0(?:0(?:6[1-8]|85)|52\\d)|3583|4(?:66[1-8]|9(?:2[01]|81))|63(?:23|3[1-4])|9561))\\d{3}",[9,10]],["7(?:457[0-57-9]|700[01]|911[028])\\d{5}|7(?:[1-3]\\d\\d|4(?:[0-46-9]\\d|5[0-689])|5(?:0[0-8]|[13-9]\\d|2[0-35-9])|7(?:0[1-9]|[1-7]\\d|8[02-9]|9[0-689])|8(?:[014-9]\\d|[23][0-8])|9(?:[024-9]\\d|1[02-9]|3[0-689]))\\d{6}",[10]],["80[08]\\d{7}|800\\d{6}|8001111"],["(?:8(?:4[2-5]|7[0-3])|9(?:[01]\\d|8[2-49]))\\d{7}|845464\\d",[7,10]],["70\\d{8}",[10]],0,["(?:3[0347]|55)\\d{8}",[10]],["76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}",[10]],["56\\d{8}",[10]]],0," x"],GD:["1","011","(?:473|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","473$1",0,"473"],GE:["995","00","(?:[3-57]\\d\\d|800)\\d{6}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["70"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["32"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[57]"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[348]"],"0$1"]],"0"],GF:["594","00","(?:[56]94\\d|7093)\\d{5}|(?:80|9\\d)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-7]|9[47]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[89]"],"0$1"]],"0"],GG:["44","00","(?:1481|[357-9]\\d{3})\\d{6}|8\\d{6}(?:\\d{2})?",[7,9,10],0,"0",0,"([25-9]\\d{5})$|0","1481$1",0,0,[["1481[25-9]\\d{5}",[10]],["7(?:(?:781|839)\\d|911[17])\\d{5}",[10]],["80[08]\\d{7}|800\\d{6}|8001111"],["(?:8(?:4[2-5]|7[0-3])|9(?:[01]\\d|8[0-3]))\\d{7}|845464\\d",[7,10]],["70\\d{8}",[10]],0,["(?:3[0347]|55)\\d{8}",[10]],["76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}",[10]],["56\\d{8}",[10]]]],GH:["233","00","(?:[235]\\d{3}|800)\\d{5}",[8,9],[["(\\d{3})(\\d{5})","$1 $2",["8"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[235]"],"0$1"]],"0"],GI:["350","00","(?:[25]\\d|60)\\d{6}",[8],[["(\\d{3})(\\d{5})","$1 $2",["2"]]]],GL:["299","00","(?:19|[2-689]\\d|70)\\d{4}",[6],[["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["19|[2-9]"]]]],GM:["220","00","[2-9]\\d{6}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[2-9]"]]]],GN:["224","00","722\\d{6}|(?:3|6\\d)\\d{7}",[8,9],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["3"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[67]"]]]],GP:["590","00","(?:590\\d|7090)\\d{5}|(?:69|80|9\\d)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-79]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0$1"]],"0",0,0,0,0,0,[["590(?:0[1-68]|[14][0-24-9]|2[0-68]|3[1-9]|5[3-579]|[68][0-689]|7[08]|9\\d)\\d{4}"],["(?:69(?:0\\d\\d|1(?:2[2-9]|3[0-5])|4(?:0[89]|1[2-6]|9\\d)|6(?:1[016-9]|5[0-4]|[67]\\d))|7090[0-4])\\d{4}"],["80[0-5]\\d{6}"],0,0,0,0,0,["9(?:(?:39[5-7]|76[018])\\d|475[0-6])\\d{4}"]]],GQ:["240","00","222\\d{6}|(?:3\\d|55|[89]0)\\d{7}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[235]"]],["(\\d{3})(\\d{6})","$1 $2",["[89]"]]]],GR:["30","00","5005000\\d{3}|8\\d{9,11}|(?:[269]\\d|70)\\d{8}",[10,11,12],[["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["21|7"]],["(\\d{4})(\\d{6})","$1 $2",["2(?:2|3[2-57-9]|4[2-469]|5[2-59]|6[2-9]|7[2-69]|8[2-49])|5"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[2689]"]],["(\\d{3})(\\d{3,4})(\\d{5})","$1 $2 $3",["8"]]]],GT:["502","00","80\\d{6}|(?:1\\d{3}|[2-7])\\d{7}",[8,11],[["(\\d{4})(\\d{4})","$1 $2",["[2-8]"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]]]],GU:["1","011","(?:[58]\\d\\d|671|900)\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","671$1",0,"671"],GW:["245","00","[49]\\d{8}|4\\d{6}",[7,9],[["(\\d{3})(\\d{4})","$1 $2",["40"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[49]"]]]],GY:["592","001","(?:[2-8]\\d{3}|9008)\\d{3}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[2-9]"]]]],HK:["852","00(?:30|5[09]|[126-9]?)","8[0-46-9]\\d{6,7}|9\\d{4,7}|(?:[2-7]|9\\d{3})\\d{7}",[5,6,7,8,9,11],[["(\\d{3})(\\d{2,5})","$1 $2",["900","9003"]],["(\\d{4})(\\d{4})","$1 $2",["[2-7]|8[1-4]|9(?:0[1-9]|[1-8])"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"]],["(\\d{3})(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3 $4",["9"]]],0,0,0,0,0,0,0,"00"],HN:["504","00","8\\d{10}|[237-9]\\d{7}",[8,11],[["(\\d{4})(\\d{4})","$1-$2",["[237-9]"]]]],HR:["385","00","(?:[24-69]\\d|3[0-79])\\d{7}|80\\d{5,7}|[1-79]\\d{7}|6\\d{5,6}",[6,7,8,9],[["(\\d{2})(\\d{2})(\\d{2,3})","$1 $2 $3",["6[01]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2,3})","$1 $2 $3",["8"],"0$1"],["(\\d)(\\d{4})(\\d{3})","$1 $2 $3",["1"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["6|7[245]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["9"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-57]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"],"0$1"]],"0"],HT:["509","00","(?:[2-489]\\d|55)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["[2-589]"]]]],HU:["36","00","[235-7]\\d{8}|[1-9]\\d{7}",[8,9],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["1"],"(06 $1)"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[27][2-9]|3[2-7]|4[24-9]|5[2-79]|6|8[2-57-9]|9[2-69]"],"(06 $1)"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-9]"],"06 $1"]],"06"],ID:["62","00[89]","00[1-9]\\d{9,14}|(?:[1-36]|8\\d{5})\\d{6}|00\\d{9}|[1-9]\\d{8,10}|[2-9]\\d{7}",[7,8,9,10,11,12,13,14,15,16,17],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["15"]],["(\\d{2})(\\d{5,9})","$1 $2",["2[124]|[36]1"],"(0$1)"],["(\\d{3})(\\d{5,7})","$1 $2",["800"],"0$1"],["(\\d{3})(\\d{5,8})","$1 $2",["[2-79]"],"(0$1)"],["(\\d{3})(\\d{3,4})(\\d{3})","$1-$2-$3",["8[1-35-9]"],"0$1"],["(\\d{3})(\\d{6,8})","$1 $2",["1"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["804"],"0$1"],["(\\d{3})(\\d)(\\d{3})(\\d{3})","$1 $2 $3 $4",["80"],"0$1"],["(\\d{3})(\\d{4})(\\d{4,5})","$1-$2-$3",["8"],"0$1"]],"0"],IE:["353","00","(?:1\\d|[2569])\\d{6,8}|4\\d{6,9}|7\\d{8}|8\\d{8,9}",[7,8,9,10],[["(\\d{2})(\\d{5})","$1 $2",["2[24-9]|47|58|6[237-9]|9[35-9]"],"(0$1)"],["(\\d{3})(\\d{5})","$1 $2",["[45]0"],"(0$1)"],["(\\d)(\\d{3,4})(\\d{4})","$1 $2 $3",["1"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2569]|4[1-69]|7[14]"],"(0$1)"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["70"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["81"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[78]"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["4"],"(0$1)"],["(\\d{2})(\\d)(\\d{3})(\\d{4})","$1 $2 $3 $4",["8"],"0$1"]],"0"],IL:["972","0(?:0|1[2-9])","1\\d{6}(?:\\d{3,5})?|[57]\\d{8}|[1-489]\\d{7}",[7,8,9,10,11,12],[["(\\d{4})(\\d{3})","$1-$2",["125"]],["(\\d{4})(\\d{2})(\\d{2})","$1-$2-$3",["121"]],["(\\d)(\\d{3})(\\d{4})","$1-$2-$3",["[2-489]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["[57]"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1-$2-$3",["12"]],["(\\d{4})(\\d{6})","$1-$2",["159"]],["(\\d)(\\d{3})(\\d{3})(\\d{3})","$1-$2-$3-$4",["1[7-9]"]],["(\\d{3})(\\d{1,2})(\\d{3})(\\d{4})","$1-$2 $3-$4",["15"]]],"0"],IM:["44","00","1624\\d{6}|(?:[3578]\\d|90)\\d{8}",[10],0,"0",0,"([25-8]\\d{5})$|0","1624$1",0,"74576|(?:16|7[56])24"],IN:["91","00","(?:000800|[2-9]\\d\\d)\\d{7}|1\\d{7,12}",[8,9,10,11,12,13],[["(\\d{8})","$1",["5(?:0|2[23]|3[03]|[67]1|88)","5(?:0|2(?:21|3)|3(?:0|3[23])|616|717|888)","5(?:0|2(?:21|3)|3(?:0|3[23])|616|717|8888)"],0,1],["(\\d{4})(\\d{4,5})","$1 $2",["180","1800"],0,1],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["140"],0,1],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["11|2[02]|33|4[04]|79[1-7]|80[2-46]","11|2[02]|33|4[04]|79(?:[1-6]|7[19])|80(?:[2-4]|6[0-589])","11|2[02]|33|4[04]|79(?:[124-6]|3(?:[02-9]|1[0-24-9])|7(?:1|9[1-6]))|80(?:[2-4]|6[0-589])"],"0$1",1],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["1(?:2[0-249]|3[0-25]|4[145]|[68]|7[1257])|2(?:1[257]|3[013]|4[01]|5[0137]|6[0158]|78|8[1568])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|5[12]|[78]1)|6(?:12|[2-4]1|5[17]|6[13]|80)|7(?:12|3[134]|4[47]|61|88)|8(?:16|2[014]|3[126]|6[136]|7[078]|8[34]|91)|(?:43|59|75)[15]|(?:1[59]|29|67|72)[14]","1(?:2[0-24]|3[0-25]|4[145]|[59][14]|6[1-9]|7[1257]|8[1-57-9])|2(?:1[257]|3[013]|4[01]|5[0137]|6[058]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|674|7(?:(?:2[14]|3[34]|5[15])[2-6]|61[346]|88[0-8])|8(?:70[2-6]|84[235-7]|91[3-7])|(?:1(?:29|60|8[06])|261|552|6(?:12|[2-47]1|5[17]|6[13]|80)|7(?:12|31|4[47])|8(?:16|2[014]|3[126]|6[136]|7[78]|83))[2-7]","1(?:2[0-24]|3[0-25]|4[145]|[59][14]|6[1-9]|7[1257]|8[1-57-9])|2(?:1[257]|3[013]|4[01]|5[0137]|6[058]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|6(?:12(?:[2-6]|7[0-8])|74[2-7])|7(?:(?:2[14]|5[15])[2-6]|3171|61[346]|88(?:[2-7]|82))|8(?:70[2-6]|84(?:[2356]|7[19])|91(?:[3-6]|7[19]))|73[134][2-6]|(?:74[47]|8(?:16|2[014]|3[126]|6[136]|7[78]|83))(?:[2-6]|7[19])|(?:1(?:29|60|8[06])|261|552|6(?:[2-4]1|5[17]|6[13]|7(?:1|4[0189])|80)|7(?:12|88[01]))[2-7]"],"0$1",1],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1(?:[2-479]|5[0235-9])|[2-5]|6(?:1[1358]|2[2457-9]|3[2-5]|4[235-7]|5[2-689]|6[24578]|7[235689]|8[1-6])|7(?:1[013-9]|28|3[129]|4[1-35689]|5[29]|6[02-5]|70)|807","1(?:[2-479]|5[0235-9])|[2-5]|6(?:1[1358]|2(?:[2457]|84|95)|3(?:[2-4]|55)|4[235-7]|5[2-689]|6[24578]|7[235689]|8[1-6])|7(?:1(?:[013-8]|9[6-9])|28[6-8]|3(?:17|2[0-49]|9[2-57])|4(?:1[2-4]|[29][0-7]|3[0-8]|[56]|8[0-24-7])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4|5[0-367])|70[13-7])|807[19]","1(?:[2-479]|5(?:[0236-9]|5[013-9]))|[2-5]|6(?:2(?:84|95)|355|83)|73179|807(?:1|9[1-3])|(?:1552|6(?:1[1358]|2[2457]|3[2-4]|4[235-7]|5[2-689]|6[24578]|7[235689]|8[124-6])\\d|7(?:1(?:[013-8]\\d|9[6-9])|28[6-8]|3(?:2[0-49]|9[2-57])|4(?:1[2-4]|[29][0-7]|3[0-8]|[56]\\d|8[0-24-7])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4\\d|5[0-367])|70[13-7]))[2-7]"],"0$1",1],["(\\d{5})(\\d{5})","$1 $2",["[6-9]"],"0$1",1],["(\\d{4})(\\d{2,4})(\\d{4})","$1 $2 $3",["1(?:6|8[06])","1(?:6|8[06]0)"],0,1],["(\\d{4})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["18"],0,1]],"0"],IO:["246","00","3\\d{6}",[7],[["(\\d{3})(\\d{4})","$1 $2",["3"]]]],IQ:["964","00","(?:1|7\\d\\d)\\d{7}|[2-6]\\d{7,8}",[8,9,10],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-6]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"0$1"]],"0"],IR:["98","00","[1-9]\\d{9}|(?:[1-8]\\d\\d|9)\\d{3,4}",[4,5,6,7,10],[["(\\d{4,5})","$1",["96"],"0$1"],["(\\d{2})(\\d{4,5})","$1 $2",["(?:1[137]|2[13-68]|3[1458]|4[145]|5[1468]|6[16]|7[1467]|8[13467])[12689]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["9"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["[1-8]"],"0$1"]],"0"],IS:["354","00|1(?:0(?:01|[12]0)|100)","(?:38\\d|[4-9])\\d{6}",[7,9],[["(\\d{3})(\\d{4})","$1 $2",["[4-9]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["3"]]],0,0,0,0,0,0,0,"00"],IT:["39","00","0\\d{5,10}|1\\d{8,10}|3(?:[0-8]\\d{7,10}|9\\d{7,8})|(?:43|55|70)\\d{8}|8\\d{5}(?:\\d{2,4})?",[6,7,8,9,10,11,12],[["(\\d{2})(\\d{4,6})","$1 $2",["0[26]"]],["(\\d{3})(\\d{3,6})","$1 $2",["0[13-57-9][0159]|8(?:03|4[17]|9[2-5])","0[13-57-9][0159]|8(?:03|4[17]|9(?:2|3[04]|[45][0-4]))"]],["(\\d{4})(\\d{2,6})","$1 $2",["0(?:[13-579][2-46-8]|8[236-8])"]],["(\\d{4})(\\d{4})","$1 $2",["894"]],["(\\d{2})(\\d{3,4})(\\d{4})","$1 $2 $3",["0[26]|5"]],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["1(?:44|[679])|[378]|43"]],["(\\d{3})(\\d{3,4})(\\d{4})","$1 $2 $3",["0[13-57-9][0159]|14"]],["(\\d{2})(\\d{4})(\\d{5})","$1 $2 $3",["0[26]"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["0"]],["(\\d{3})(\\d{4})(\\d{4,5})","$1 $2 $3",["3"]]],0,0,0,0,0,0,[["0669[0-79]\\d{1,6}|0(?:1(?:[0159]\\d|[27][1-5]|31|4[1-4]|6[1356]|8[2-57])|2\\d\\d|3(?:[0159]\\d|2[1-4]|3[12]|[48][1-6]|6[2-59]|7[1-7])|4(?:[0159]\\d|[23][1-9]|4[245]|6[1-5]|7[1-4]|81)|5(?:[0159]\\d|2[1-5]|3[2-6]|4[1-79]|6[4-6]|7[1-578]|8[3-8])|6(?:[0-57-9]\\d|6[0-8])|7(?:[0159]\\d|2[12]|3[1-7]|4[2-46]|6[13569]|7[13-6]|8[1-59])|8(?:[0159]\\d|2[3-578]|3[1-356]|[6-8][1-5])|9(?:[0159]\\d|[238][1-5]|4[12]|6[1-8]|7[1-6]))\\d{2,7}",[6,7,8,9,10,11]],["3[2-9]\\d{7,8}|(?:31|43)\\d{8}",[9,10]],["80(?:0\\d{3}|3)\\d{3}",[6,9]],["(?:0878\\d{3}|89(?:2\\d|3[04]|4(?:[0-4]|[5-9]\\d\\d)|5[0-4]))\\d\\d|(?:1(?:44|6[346])|89(?:38|5[5-9]|9))\\d{6}",[6,8,9,10]],["1(?:78\\d|99)\\d{6}",[9,10]],["3[2-8]\\d{9,10}",[11,12]],0,0,["55\\d{8}",[10]],["84(?:[08]\\d{3}|[17])\\d{3}",[6,9]]]],JE:["44","00","1534\\d{6}|(?:[3578]\\d|90)\\d{8}",[10],0,"0",0,"([0-24-8]\\d{5})$|0","1534$1",0,0,[["1534[0-24-8]\\d{5}"],["7(?:(?:(?:50|82)9|937)\\d|7(?:00[378]|97\\d))\\d{5}"],["80(?:07(?:35|81)|8901)\\d{4}"],["(?:8(?:4(?:4(?:4(?:05|42|69)|703)|5(?:041|800))|7(?:0002|1206))|90(?:066[59]|1810|71(?:07|55)))\\d{4}"],["701511\\d{4}"],0,["(?:3(?:0(?:07(?:35|81)|8901)|3\\d{4}|4(?:4(?:4(?:05|42|69)|703)|5(?:041|800))|7(?:0002|1206))|55\\d{4})\\d{4}"],["76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}"],["56\\d{8}"]]],JM:["1","011","(?:[58]\\d\\d|658|900)\\d{7}",[10],0,"1",0,0,0,0,"658|876"],JO:["962","00","(?:(?:[2689]|7\\d)\\d|32|53)\\d{6}",[8,9],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[2356]|87"],"(0$1)"],["(\\d{3})(\\d{5,6})","$1 $2",["[89]"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["70"],"0$1"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["7"],"0$1"]],"0"],JP:["81","010","00[1-9]\\d{6,14}|[257-9]\\d{9}|(?:00|[1-9]\\d\\d)\\d{6}",[8,9,10,11,12,13,14,15,16,17],[["(\\d{3})(\\d{3})(\\d{3})","$1-$2-$3",["(?:12|57|99)0"],"0$1"],["(\\d{4})(\\d)(\\d{4})","$1-$2-$3",["1(?:26|3[79]|4[56]|5[4-68]|6[3-5])|499|5(?:76|97)|746|8(?:3[89]|47|51)|9(?:80|9[16])","1(?:267|3(?:7[247]|9[278])|466|5(?:47|58|64)|6(?:3[245]|48|5[4-68]))|499[2468]|5(?:76|97)9|7468|8(?:3(?:8[7-9]|96)|477|51[2-9])|9(?:802|9(?:1[23]|69))|1(?:45|58)[67]","1(?:267|3(?:7[247]|9[278])|466|5(?:47|58|64)|6(?:3[245]|48|5[4-68]))|499[2468]|5(?:769|979[2-69])|7468|8(?:3(?:8[7-9]|96[2457-9])|477|51[2-9])|9(?:802|9(?:1[23]|69))|1(?:45|58)[67]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["60"],"0$1"],["(\\d)(\\d{4})(\\d{4})","$1-$2-$3",["[36]|4(?:2[09]|7[01])","[36]|4(?:2(?:0|9[02-69])|7(?:0[019]|1))"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["1(?:1|5[45]|77|88|9[69])|2(?:2[1-37]|3[0-269]|4[59]|5|6[24]|7[1-358]|8[1369]|9[0-38])|4(?:[28][1-9]|3[0-57]|[45]|6[248]|7[2-579]|9[29])|5(?:2|3[0459]|4[0-369]|5[29]|8[02389]|9[0-389])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9[2-6])|8(?:2[124589]|3[26-9]|49|51|6|7[0-468]|8[68]|9[019])|9(?:[23][1-9]|4[15]|5[138]|6[1-3]|7[156]|8[189]|9[1-489])","1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2(?:[127]|3[014-9])|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|9[19])|62|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|8[1-9]|9[29])|5(?:2|3(?:[045]|9[0-8])|4[0-369]|5[29]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9[0-2469])|3(?:[29]|60)|49|51|6(?:[0-24]|36|5[0-3589]|7[23]|9[01459])|7[0-468]|8[68])|9(?:[23][1-9]|4[15]|5[138]|6[1-3]|7[156]|8[189]|9(?:[1289]|3[34]|4[0178]))|(?:264|837)[016-9]|2(?:57|93)[015-9]|(?:25[0468]|422|838)[01]|(?:47[59]|59[89]|8(?:6[68]|9))[019]","1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2[127]|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|9(?:17|99))|6(?:2|4[016-9])|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|9[29])|5(?:2|3(?:[045]|9(?:[0-58]|6[4-9]|7[0-35689]))|4[0-369]|5[29]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9[0169])|3(?:[29]|60|7(?:[017-9]|6[6-8]))|49|51|6(?:[0-24]|36[2-57-9]|5(?:[0-389]|5[23])|6(?:[01]|9[178])|7(?:2[2-468]|3[78])|9[0145])|7[0-468]|8[68])|9(?:4[15]|5[138]|7[156]|8[189]|9(?:[1289]|3(?:31|4[357])|4[0178]))|(?:8294|96)[1-3]|2(?:57|93)[015-9]|(?:223|8699)[014-9]|(?:25[0468]|422|838)[01]|(?:48|8292|9[23])[1-9]|(?:47[59]|59[89]|8(?:68|9))[019]"],"0$1"],["(\\d{3})(\\d{2})(\\d{4})","$1-$2-$3",["[14]|[289][2-9]|5[3-9]|7[2-4679]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["800"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1-$2-$3",["[257-9]"],"0$1"]],"0",0,"(000[259]\\d{6})$|(?:(?:003768)0?)|0","$1"],KE:["254","000","(?:[17]\\d\\d|900)\\d{6}|(?:2|80)0\\d{6,7}|[4-6]\\d{6,8}",[7,8,9,10],[["(\\d{2})(\\d{5,7})","$1 $2",["[24-6]"],"0$1"],["(\\d{3})(\\d{6})","$1 $2",["[17]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["[89]"],"0$1"]],"0"],KG:["996","00","8\\d{9}|[235-9]\\d{8}",[9,10],[["(\\d{4})(\\d{5})","$1 $2",["3(?:1[346]|[24-79])"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[235-79]|88"],"0$1"],["(\\d{3})(\\d{3})(\\d)(\\d{2,3})","$1 $2 $3 $4",["8"],"0$1"]],"0"],KH:["855","00[14-9]","1\\d{9}|[1-9]\\d{7,8}",[8,9,10],[["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[1-9]"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]]],"0"],KI:["686","00","(?:[37]\\d|6[0-79])\\d{6}|(?:[2-48]\\d|50)\\d{3}",[5,8],0,"0"],KM:["269","00","[3478]\\d{6}",[7],[["(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["[3478]"]]]],KN:["1","011","(?:[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-7]\\d{6})$|1","869$1",0,"869"],KP:["850","00|99","85\\d{6}|(?:19\\d|[2-7])\\d{7}",[8,10],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["8"],"0$1"],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[2-7]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"]],"0"],KR:["82","00(?:[125689]|3(?:[46]5|91)|7(?:00|27|3|55|6[126]))","00[1-9]\\d{8,11}|(?:[12]|5\\d{3})\\d{7}|[13-6]\\d{9}|(?:[1-6]\\d|80)\\d{7}|[3-6]\\d{4,5}|(?:00|7)0\\d{8}",[5,6,8,9,10,11,12,13,14],[["(\\d{2})(\\d{3,4})","$1-$2",["(?:3[1-3]|[46][1-4]|5[1-5])1"],"0$1"],["(\\d{4})(\\d{4})","$1-$2",["1"]],["(\\d)(\\d{3,4})(\\d{4})","$1-$2-$3",["2"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["[36]0|8"],"0$1"],["(\\d{2})(\\d{3,4})(\\d{4})","$1-$2-$3",["[1346]|5[1-5]"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1-$2-$3",["[57]"],"0$1"],["(\\d{2})(\\d{5})(\\d{4})","$1-$2-$3",["5"],"0$1"]],"0",0,"0(8(?:[1-46-8]|5\\d\\d))?"],KW:["965","00","18\\d{5}|(?:[2569]\\d|41)\\d{6}",[7,8],[["(\\d{4})(\\d{3,4})","$1 $2",["[169]|2(?:[235]|4[1-35-9])|52"]],["(\\d{3})(\\d{5})","$1 $2",["[245]"]]]],KY:["1","011","(?:345|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","345$1",0,"345"],KZ:["7","810","(?:33622|8\\d{8})\\d{5}|[78]\\d{9}",[10,14],0,"8",0,0,0,0,"33|7",0,"8~10"],LA:["856","00","[23]\\d{9}|3\\d{8}|(?:[235-8]\\d|41)\\d{6}",[8,9,10],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["2[13]|3[14]|[4-8]"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3 $4",["30[0135-9]"],"0$1"],["(\\d{2})(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3 $4",["[23]"],"0$1"]],"0"],LB:["961","00","[27-9]\\d{7}|[13-9]\\d{6}",[7,8],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[13-69]|7(?:[2-57]|62|8[0-7]|9[04-9])|8[02-9]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[27-9]"]]],"0"],LC:["1","011","(?:[58]\\d\\d|758|900)\\d{7}",[10],0,"1",0,"([2-8]\\d{6})$|1","758$1",0,"758"],LI:["423","00","[68]\\d{8}|(?:[2378]\\d|90)\\d{5}",[7,9],[["(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["[2379]|8(?:0[09]|7)","[2379]|8(?:0(?:02|9)|7)"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["69"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6"]]],"0",0,"(1001)|0"],LK:["94","00","[1-9]\\d{8}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[1-689]"],"0$1"]],"0"],LR:["231","00","(?:[245]\\d|33|77|88)\\d{7}|(?:2\\d|[4-6])\\d{6}",[7,8,9],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["4[67]|[56]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["2"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[2-578]"],"0$1"]],"0"],LS:["266","00","(?:[256]\\d\\d|800)\\d{5}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[2568]"]]]],LT:["370","00","(?:[3469]\\d|52|[78]0)\\d{6}",[8],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["52[0-7]"],"(0-$1)",1],["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["[7-9]"],"0 $1",1],["(\\d{2})(\\d{6})","$1 $2",["37|4(?:[15]|6[1-8])"],"(0-$1)",1],["(\\d{3})(\\d{5})","$1 $2",["[3-6]"],"(0-$1)",1]],"0",0,"[08]"],LU:["352","00","35[013-9]\\d{4,8}|6\\d{8}|35\\d{2,4}|(?:[2457-9]\\d|3[0-46-9])\\d{2,9}",[4,5,6,7,8,9,10,11],[["(\\d{2})(\\d{3})","$1 $2",["2(?:0[2-689]|[2-9])|[3-57]|8(?:0[2-9]|[13-9])|9(?:0[89]|[2-579])"]],["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["2(?:0[2-689]|[2-9])|[3-57]|8(?:0[2-9]|[13-9])|9(?:0[89]|[2-579])"]],["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["20[2-689]"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{1,2})","$1 $2 $3 $4",["2(?:[0367]|4[3-8])"]],["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["80[01]|90[015]"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3 $4",["20"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})(\\d{1,2})","$1 $2 $3 $4 $5",["2(?:[0367]|4[3-8])"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{1,5})","$1 $2 $3 $4",["[3-57]|8[13-9]|9(?:0[89]|[2-579])|(?:2|80)[2-9]"]]],0,0,"(15(?:0[06]|1[12]|[35]5|4[04]|6[26]|77|88|99)\\d)"],LV:["371","00","(?:[268]\\d|90)\\d{6}",[8],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[269]|8[01]"]]]],LY:["218","00","[2-9]\\d{8}",[9],[["(\\d{2})(\\d{7})","$1-$2",["[2-9]"],"0$1"]],"0"],MA:["212","00","[5-8]\\d{8}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["5[45]"],"0$1"],["(\\d{4})(\\d{5})","$1-$2",["5(?:2[2-46-9]|3[3-9]|9)|8(?:0[89]|92)"],"0$1"],["(\\d{2})(\\d{7})","$1-$2",["8"],"0$1"],["(\\d{3})(\\d{6})","$1-$2",["[5-7]"],"0$1"]],"0",0,0,0,0,0,[["5(?:2(?:[0-25-79]\\d|3[1-578]|4[02-46-8]|8[0235-7])|3(?:[0-47]\\d|5[02-9]|6[02-8]|8[014-9]|9[3-9])|(?:4[067]|5[03])\\d)\\d{5}"],["(?:6(?:[0-79]\\d|8[0-247-9])|7(?:[0167]\\d|2[0-467]|5[0-3]|8[0-5]))\\d{6}"],["80[0-7]\\d{6}"],["89\\d{7}"],0,0,0,0,["(?:592(?:4[0-2]|93)|80[89]\\d\\d)\\d{4}"]]],MC:["377","00","(?:[3489]|6\\d)\\d{7}",[8,9],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["4"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[389]"]],["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["6"],"0$1"]],"0"],MD:["373","00","(?:[235-7]\\d|[89]0)\\d{6}",[8],[["(\\d{3})(\\d{5})","$1 $2",["[89]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["22|3"],"0$1"],["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["[25-7]"],"0$1"]],"0"],ME:["382","00","(?:20|[3-79]\\d)\\d{6}|80\\d{6,7}",[8,9],[["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-9]"],"0$1"]],"0"],MF:["590","00","(?:590\\d|7090)\\d{5}|(?:69|80|9\\d)\\d{7}",[9],0,"0",0,0,0,0,0,[["590(?:0[079]|[14]3|[27][79]|3[03-7]|5[0-268]|87)\\d{4}"],["(?:69(?:0\\d\\d|1(?:2[2-9]|3[0-5])|4(?:0[89]|1[2-6]|9\\d)|6(?:1[016-9]|5[0-4]|[67]\\d))|7090[0-4])\\d{4}"],["80[0-5]\\d{6}"],0,0,0,0,0,["9(?:(?:39[5-7]|76[018])\\d|475[0-6])\\d{4}"]]],MG:["261","00","[23]\\d{8}",[9],[["(\\d{2})(\\d{2})(\\d{3})(\\d{2})","$1 $2 $3 $4",["[23]"],"0$1"]],"0",0,"([24-9]\\d{6})$|0","20$1"],MH:["692","011","329\\d{4}|(?:[256]\\d|45)\\d{5}",[7],[["(\\d{3})(\\d{4})","$1-$2",["[2-6]"]]],"1"],MK:["389","00","[2-578]\\d{7}",[8],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["2|34[47]|4(?:[37]7|5[47]|64)"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[347]"],"0$1"],["(\\d{3})(\\d)(\\d{2})(\\d{2})","$1 $2 $3 $4",["[58]"],"0$1"]],"0"],ML:["223","00","[24-9]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[24-9]"]]]],MM:["95","00","1\\d{5,7}|95\\d{6}|(?:[4-7]|9[0-46-9])\\d{6,8}|(?:2|8\\d)\\d{5,8}",[6,7,8,9,10],[["(\\d)(\\d{2})(\\d{3})","$1 $2 $3",["16|2"],"0$1"],["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["4(?:[2-46]|5[3-5])|5|6(?:[1-689]|7[235-7])|7(?:[0-4]|5[2-7])|8[1-5]|(?:60|86)[23]"],"0$1"],["(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["[12]|452|678|86","[12]|452|6788|86"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[4-7]|8[1-35]"],"0$1"],["(\\d)(\\d{3})(\\d{4,6})","$1 $2 $3",["9(?:2[0-4]|[35-9]|4[137-9])"],"0$1"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["2"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"],"0$1"],["(\\d)(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["92"],"0$1"],["(\\d)(\\d{5})(\\d{4})","$1 $2 $3",["9"],"0$1"]],"0"],MN:["976","001","[12]\\d{7,9}|[5-9]\\d{7}",[8,9,10],[["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["[12]1"],"0$1"],["(\\d{4})(\\d{4})","$1 $2",["[5-9]"]],["(\\d{3})(\\d{5,6})","$1 $2",["[12]2[1-3]"],"0$1"],["(\\d{4})(\\d{5,6})","$1 $2",["[12](?:27|3[2-8]|4[2-68]|5[1-4689])","[12](?:27|3[2-8]|4[2-68]|5[1-4689])[0-3]"],"0$1"],["(\\d{5})(\\d{4,5})","$1 $2",["[12]"],"0$1"]],"0"],MO:["853","00","0800\\d{3}|(?:28|[68]\\d)\\d{6}",[7,8],[["(\\d{4})(\\d{3})","$1 $2",["0"]],["(\\d{4})(\\d{4})","$1 $2",["[268]"]]]],MP:["1","011","[58]\\d{9}|(?:67|90)0\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","670$1",0,"670"],MQ:["596","00","(?:596\\d|7091)\\d{5}|(?:69|[89]\\d)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-79]|8(?:0[6-9]|[36])"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0$1"]],"0"],MR:["222","00","(?:[2-4]\\d\\d|800)\\d{5}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-48]"]]]],MS:["1","011","(?:[58]\\d\\d|664|900)\\d{7}",[10],0,"1",0,"([34]\\d{6})$|1","664$1",0,"664"],MT:["356","00","3550\\d{4}|(?:[2579]\\d\\d|800)\\d{5}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[2357-9]"]]]],MU:["230","0(?:0|[24-7]0|3[03])","(?:[57]|8\\d\\d)\\d{7}|[2-468]\\d{6}",[7,8,10],[["(\\d{3})(\\d{4})","$1 $2",["[2-46]|8[013]"]],["(\\d{4})(\\d{4})","$1 $2",["[57]"]],["(\\d{5})(\\d{5})","$1 $2",["8"]]],0,0,0,0,0,0,0,"020"],MV:["960","0(?:0|19)","(?:800|9[0-57-9]\\d)\\d{7}|[34679]\\d{6}",[7,10],[["(\\d{3})(\\d{4})","$1-$2",["[34679]"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[89]"]]],0,0,0,0,0,0,0,"00"],MW:["265","00","(?:[1289]\\d|31|77)\\d{7}|1\\d{6}",[7,9],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["1[2-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["2"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[137-9]"],"0$1"]],"0"],MX:["52","0[09]","[2-9]\\d{9}",[10],[["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["33|5[56]|81"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[2-9]"]]],0,0,0,0,0,0,0,"00"],MY:["60","00","1\\d{8,9}|(?:3\\d|[4-9])\\d{7}",[8,9,10],[["(\\d)(\\d{3})(\\d{4})","$1-$2 $3",["[4-79]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1-$2 $3",["1(?:[02469]|[378][1-9]|53)|8","1(?:[02469]|[37][1-9]|53|8(?:[1-46-9]|5[7-9]))|8"],"0$1"],["(\\d)(\\d{4})(\\d{4})","$1-$2 $3",["3"],"0$1"],["(\\d)(\\d{3})(\\d{2})(\\d{4})","$1-$2-$3-$4",["1(?:[367]|80)"]],["(\\d{3})(\\d{3})(\\d{4})","$1-$2 $3",["15"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1-$2 $3",["1"],"0$1"]],"0"],MZ:["258","00","(?:2|8\\d)\\d{7}",[8,9],[["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["2|8[2-79]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"]]]],NA:["264","00","[68]\\d{7,8}",[8,9],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["88"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["6"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["87"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["8"],"0$1"]],"0"],NC:["687","00","(?:050|[2-57-9]\\d\\d)\\d{3}",[6],[["(\\d{2})(\\d{2})(\\d{2})","$1.$2.$3",["[02-57-9]"]]]],NE:["227","00","[027-9]\\d{7}",[8],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["08"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[089]|2[013]|7[0467]"]]]],NF:["672","00","[13]\\d{5}",[6],[["(\\d{2})(\\d{4})","$1 $2",["1[0-3]"]],["(\\d)(\\d{5})","$1 $2",["[13]"]]],0,0,"([0-258]\\d{4})$","3$1"],NG:["234","009","38\\d{6}|[78]\\d{9,13}|(?:20|9\\d)\\d{8}",[8,10,11,12,13,14],[["(\\d{2})(\\d{3})(\\d{2,3})","$1 $2 $3",["3"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["[7-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["20[129]"],"0$1"],["(\\d{4})(\\d{2})(\\d{4})","$1 $2 $3",["2"],"0$1"],["(\\d{3})(\\d{4})(\\d{4,5})","$1 $2 $3",["[78]"],"0$1"],["(\\d{3})(\\d{5})(\\d{5,6})","$1 $2 $3",["[78]"],"0$1"]],"0"],NI:["505","00","(?:1800|[25-8]\\d{3})\\d{4}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[125-8]"]]]],NL:["31","00","(?:[124-7]\\d\\d|3(?:[02-9]\\d|1[0-8]))\\d{6}|8\\d{6,9}|9\\d{6,10}|1\\d{4,5}",[5,6,7,8,9,10,11],[["(\\d{3})(\\d{4,7})","$1 $2",["[89]0"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["66"],"0$1"],["(\\d)(\\d{8})","$1 $2",["6"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["1[16-8]|2[259]|3[124]|4[17-9]|5[124679]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[1-578]|91"],"0$1"],["(\\d{3})(\\d{3})(\\d{5})","$1 $2 $3",["9"],"0$1"]],"0"],NO:["47","00","(?:0|[2-9]\\d{3})\\d{4}",[5,8],[["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["8"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-79]"]]],0,0,0,0,0,"[02-689]|7[0-8]"],NP:["977","00","(?:1\\d|9)\\d{9}|[1-9]\\d{7}",[8,10,11],[["(\\d)(\\d{7})","$1-$2",["1[2-6]"],"0$1"],["(\\d{2})(\\d{6})","$1-$2",["1[01]|[2-8]|9(?:[1-59]|[67][2-6])"],"0$1"],["(\\d{3})(\\d{7})","$1-$2",["9"]]],"0"],NR:["674","00","(?:444|(?:55|8\\d)\\d|666)\\d{4}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[4-68]"]]]],NU:["683","00","(?:[4-7]|888\\d)\\d{3}",[4,7],[["(\\d{3})(\\d{4})","$1 $2",["8"]]]],NZ:["64","0(?:0|161)","[1289]\\d{9}|50\\d{5}(?:\\d{2,3})?|[27-9]\\d{7,8}|(?:[34]\\d|6[0-35-9])\\d{6}|8\\d{4,6}",[5,6,7,8,9,10],[["(\\d{2})(\\d{3,8})","$1 $2",["8[1-79]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2,3})","$1 $2 $3",["50[036-8]|8|90","50(?:[0367]|88)|8|90"],"0$1"],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["24|[346]|7[2-57-9]|9[2-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["2(?:10|74)|[589]"],"0$1"],["(\\d{2})(\\d{3,4})(\\d{4})","$1 $2 $3",["1|2[028]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,5})","$1 $2 $3",["2(?:[169]|7[0-35-9])|7"],"0$1"]],"0",0,0,0,0,0,0,"00"],OM:["968","00","(?:1505|[279]\\d{3}|500)\\d{4}|800\\d{5,6}",[7,8,9],[["(\\d{3})(\\d{4,6})","$1 $2",["[58]"]],["(\\d{2})(\\d{6})","$1 $2",["2"]],["(\\d{4})(\\d{4})","$1 $2",["[179]"]]]],PA:["507","00","(?:00800|8\\d{3})\\d{6}|[68]\\d{7}|[1-57-9]\\d{6}",[7,8,10,11],[["(\\d{3})(\\d{4})","$1-$2",["[1-57-9]"]],["(\\d{4})(\\d{4})","$1-$2",["[68]"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"]]]],PE:["51","00|19(?:1[124]|77|90)00","(?:[14-8]|9\\d)\\d{7}",[8,9],[["(\\d{3})(\\d{5})","$1 $2",["80"],"(0$1)"],["(\\d)(\\d{7})","$1 $2",["1"],"(0$1)"],["(\\d{2})(\\d{6})","$1 $2",["[4-8]"],"(0$1)"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["9"]]],"0",0,0,0,0,0,0,"00"," Anexo "],PF:["689","00","4\\d{5}(?:\\d{2})?|8\\d{7,8}",[6,8,9],[["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["44"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["4|8[7-9]"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"]]]],PG:["675","00|140[1-3]","(?:180|[78]\\d{3})\\d{4}|(?:[2-589]\\d|64)\\d{5}",[7,8],[["(\\d{3})(\\d{4})","$1 $2",["18|[2-69]|85"]],["(\\d{4})(\\d{4})","$1 $2",["[78]"]]],0,0,0,0,0,0,0,"00"],PH:["63","00","(?:[2-7]|9\\d)\\d{8}|2\\d{5}|(?:1800|8)\\d{7,9}",[6,8,9,10,11,12,13],[["(\\d)(\\d{5})","$1 $2",["2"],"(0$1)"],["(\\d{4})(\\d{4,6})","$1 $2",["3(?:23|39|46)|4(?:2[3-6]|[35]9|4[26]|76)|544|88[245]|(?:52|64|86)2","3(?:230|397|461)|4(?:2(?:35|[46]4|51)|396|4(?:22|63)|59[347]|76[15])|5(?:221|446)|642[23]|8(?:622|8(?:[24]2|5[13]))"],"(0$1)"],["(\\d{5})(\\d{4})","$1 $2",["346|4(?:27|9[35])|883","3469|4(?:279|9(?:30|56))|8834"],"(0$1)"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["2"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[3-7]|8[2-8]"],"(0$1)"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[89]"],"0$1"],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]],["(\\d{4})(\\d{1,2})(\\d{3})(\\d{4})","$1 $2 $3 $4",["1"]]],"0"],PK:["92","00","122\\d{6}|[24-8]\\d{10,11}|9(?:[013-9]\\d{8,10}|2(?:[01]\\d\\d|2(?:[06-8]\\d|1[01]))\\d{7})|(?:[2-8]\\d{3}|92(?:[0-7]\\d|8[1-9]))\\d{6}|[24-9]\\d{8}|[89]\\d{7}",[8,9,10,11,12],[["(\\d{3})(\\d{3})(\\d{2,7})","$1 $2 $3",["[89]0"],"0$1"],["(\\d{4})(\\d{5})","$1 $2",["1"]],["(\\d{3})(\\d{6,7})","$1 $2",["2(?:3[2358]|4[2-4]|9[2-8])|45[3479]|54[2-467]|60[468]|72[236]|8(?:2[2-689]|3[23578]|4[3478]|5[2356])|9(?:2[2-8]|3[27-9]|4[2-6]|6[3569]|9[25-8])","9(?:2[3-8]|98)|(?:2(?:3[2358]|4[2-4]|9[2-8])|45[3479]|54[2-467]|60[468]|72[236]|8(?:2[2-689]|3[23578]|4[3478]|5[2356])|9(?:22|3[27-9]|4[2-6]|6[3569]|9[25-7]))[2-9]"],"(0$1)"],["(\\d{2})(\\d{7,8})","$1 $2",["(?:2[125]|4[0-246-9]|5[1-35-7]|6[1-8]|7[14]|8[16]|91)[2-9]"],"(0$1)"],["(\\d{5})(\\d{5})","$1 $2",["58"],"(0$1)"],["(\\d{3})(\\d{7})","$1 $2",["3"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["2[125]|4[0-246-9]|5[1-35-7]|6[1-8]|7[14]|8[16]|91"],"(0$1)"],["(\\d{3})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["[24-9]"],"(0$1)"]],"0"],PL:["48","00","(?:6|8\\d\\d)\\d{7}|[1-9]\\d{6}(?:\\d{2})?|[26]\\d{5}",[6,7,8,9,10],[["(\\d{5})","$1",["19"]],["(\\d{3})(\\d{3})","$1 $2",["11|20|64"]],["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["(?:1[2-8]|2[2-69]|3[2-4]|4[1-468]|5[24-689]|6[1-3578]|7[14-7]|8[1-79]|9[145])1","(?:1[2-8]|2[2-69]|3[2-4]|4[1-468]|5[24-689]|6[1-3578]|7[14-7]|8[1-79]|9[145])19"]],["(\\d{3})(\\d{2})(\\d{2,3})","$1 $2 $3",["64"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["21|39|45|5[0137]|6[0469]|7[02389]|8(?:0[14]|8)"]],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[2-8]|[2-7]|8[1-79]|9[145]"]],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["8"]]]],PM:["508","00","[45]\\d{5}|(?:708|8\\d\\d)\\d{6}",[6,9],[["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["[45]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["7"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0$1"]],"0"],PR:["1","011","(?:[589]\\d\\d|787)\\d{7}",[10],0,"1",0,0,0,0,"787|939"],PS:["970","00","[2489]2\\d{6}|(?:1\\d|5)\\d{8}",[8,9,10],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[2489]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["5"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]]],"0"],PT:["351","00","1693\\d{5}|(?:[26-9]\\d|30)\\d{7}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["2[12]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["16|[236-9]"]]]],PW:["680","01[12]","(?:[24-8]\\d\\d|345|900)\\d{4}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[2-9]"]]]],PY:["595","00","59\\d{4,6}|9\\d{5,10}|(?:[2-46-8]\\d|5[0-8])\\d{4,7}",[6,7,8,9,10,11],[["(\\d{3})(\\d{3,6})","$1 $2",["[2-9]0"],"0$1"],["(\\d{2})(\\d{5})","$1 $2",["[26]1|3[289]|4[1246-8]|7[1-3]|8[1-36]"],"(0$1)"],["(\\d{3})(\\d{4,5})","$1 $2",["2[279]|3[13-5]|4[359]|5|6(?:[34]|7[1-46-8])|7[46-8]|85"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["2[14-68]|3[26-9]|4[1246-8]|6(?:1|75)|7[1-35]|8[1-36]"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["87"]],["(\\d{3})(\\d{6})","$1 $2",["9(?:[5-79]|8[1-7])"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[2-8]"],"0$1"],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["9"]]],"0"],QA:["974","00","800\\d{4}|(?:2|800)\\d{6}|(?:0080|[3-7])\\d{7}",[7,8,9,11],[["(\\d{3})(\\d{4})","$1 $2",["2[16]|8"]],["(\\d{4})(\\d{4})","$1 $2",["[3-7]"]]]],RE:["262","00","709\\d{6}|(?:26|[689]\\d)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[26-9]"],"0$1"]],"0",0,0,0,0,0,[["26(?:2\\d\\d|3(?:0\\d|1[0-6]))\\d{4}"],["(?:69(?:2\\d\\d|3(?:[06][0-6]|1[013]|2[0-2]|3[0-39]|4\\d|5[0-5]|7[0-37]|8[0-8]|9[0-479]))|7092[0-3])\\d{4}"],["80\\d{7}"],["89[1-37-9]\\d{6}"],0,0,0,0,["9(?:399[0-3]|479[0-6]|76(?:2[278]|3[0-37]))\\d{4}"],["8(?:1[019]|2[0156]|84|90)\\d{6}"]]],RO:["40","00","(?:[236-8]\\d|90)\\d{7}|[23]\\d{5}",[6,9],[["(\\d{3})(\\d{3})","$1 $2",["2[3-6]","2[3-6]\\d9"],"0$1"],["(\\d{2})(\\d{4})","$1 $2",["219|31"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[23]1"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[236-9]"],"0$1"]],"0",0,0,0,0,0,0,0," int "],RS:["381","00","38[02-9]\\d{6,9}|6\\d{7,9}|90\\d{4,8}|38\\d{5,6}|(?:7\\d\\d|800)\\d{3,9}|(?:[12]\\d|3[0-79])\\d{5,10}",[6,7,8,9,10,11,12],[["(\\d{3})(\\d{3,9})","$1 $2",["(?:2[389]|39)0|[7-9]"],"0$1"],["(\\d{2})(\\d{5,10})","$1 $2",["[1-36]"],"0$1"]],"0"],RU:["7","810","8\\d{13}|[347-9]\\d{9}",[10,14],[["(\\d{4})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["7(?:1[0-8]|2[1-9])","7(?:1(?:[0-356]2|4[29]|7|8[27])|2(?:1[23]|[2-9]2))","7(?:1(?:[0-356]2|4[29]|7|8[27])|2(?:13[03-69]|62[013-9]))|72[1-57-9]2"],"8 ($1)",1],["(\\d{5})(\\d)(\\d{2})(\\d{2})","$1 $2 $3 $4",["7(?:1[0-68]|2[1-9])","7(?:1(?:[06][3-6]|[18]|2[35]|[3-5][3-5])|2(?:[13][3-5]|[24-689]|7[457]))","7(?:1(?:0(?:[356]|4[023])|[18]|2(?:3[013-9]|5)|3[45]|43[013-79]|5(?:3[1-8]|4[1-7]|5)|6(?:3[0-35-9]|[4-6]))|2(?:1(?:3[178]|[45])|[24-689]|3[35]|7[457]))|7(?:14|23)4[0-8]|71(?:33|45)[1-79]"],"8 ($1)",1],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"8 ($1)",1],["(\\d{3})(\\d{3})(\\d{2})(\\d{2})","$1 $2-$3-$4",["[349]|8(?:[02-7]|1[1-8])"],"8 ($1)",1],["(\\d{4})(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3 $4",["8"],"8 ($1)"]],"8",0,0,0,0,"3[04-689]|[489]",0,"8~10"],RW:["250","00","(?:06|[27]\\d\\d|[89]00)\\d{6}",[8,9],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["0"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["2"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[7-9]"],"0$1"]],"0"],SA:["966","00","92\\d{7}|(?:[15]|8\\d)\\d{8}",[9,10],[["(\\d{4})(\\d{5})","$1 $2",["9"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["5"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["81"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"]]],"0"],SB:["677","0[01]","[6-9]\\d{6}|[1-6]\\d{4}",[5,7],[["(\\d{2})(\\d{5})","$1 $2",["6[89]|7|8[4-9]|9(?:[1-8]|9[0-8])"]]]],SC:["248","010|0[0-2]","(?:[2489]\\d|64)\\d{5}",[7],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[246]|9[57]"]]],0,0,0,0,0,0,0,"00"],SD:["249","00","[19]\\d{8}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[19]"],"0$1"]],"0"],SE:["46","00","(?:[26]\\d\\d|9)\\d{9}|[1-9]\\d{8}|[1-689]\\d{7}|[1-4689]\\d{6}|2\\d{5}",[6,7,8,9,10,12],[["(\\d{2})(\\d{2,3})(\\d{2})","$1-$2 $3",["20"],"0$1",0,"$1 $2 $3"],["(\\d{3})(\\d{4})","$1-$2",["9(?:00|39|44|9)"],"0$1",0,"$1 $2"],["(\\d{2})(\\d{3})(\\d{2})","$1-$2 $3",["[12][136]|3[356]|4[0246]|6[03]|90[1-9]"],"0$1",0,"$1 $2 $3"],["(\\d)(\\d{2,3})(\\d{2})(\\d{2})","$1-$2 $3 $4",["8"],"0$1",0,"$1 $2 $3 $4"],["(\\d{3})(\\d{2,3})(\\d{2})","$1-$2 $3",["1[2457]|2(?:[247-9]|5[0138])|3[0247-9]|4[1357-9]|5[0-35-9]|6(?:[125689]|4[02-57]|7[0-2])|9(?:[125-8]|3[02-5]|4[0-3])"],"0$1",0,"$1 $2 $3"],["(\\d{3})(\\d{2,3})(\\d{3})","$1-$2 $3",["9(?:00|39|44)"],"0$1",0,"$1 $2 $3"],["(\\d{2})(\\d{2,3})(\\d{2})(\\d{2})","$1-$2 $3 $4",["1[13689]|2[0136]|3[1356]|4[0246]|54|6[03]|90[1-9]"],"0$1",0,"$1 $2 $3 $4"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1-$2 $3 $4",["10|7"],"0$1",0,"$1 $2 $3 $4"],["(\\d)(\\d{3})(\\d{3})(\\d{2})","$1-$2 $3 $4",["8"],"0$1",0,"$1 $2 $3 $4"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1-$2 $3 $4",["[13-5]|2(?:[247-9]|5[0138])|6(?:[124-689]|7[0-2])|9(?:[125-8]|3[02-5]|4[0-3])"],"0$1",0,"$1 $2 $3 $4"],["(\\d{3})(\\d{2})(\\d{2})(\\d{3})","$1-$2 $3 $4",["9"],"0$1",0,"$1 $2 $3 $4"],["(\\d{3})(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1-$2 $3 $4 $5",["[26]"],"0$1",0,"$1 $2 $3 $4 $5"]],"0"],SG:["65","0[0-3]\\d","(?:(?:1\\d|8)\\d\\d|7000)\\d{7}|[3689]\\d{7}",[8,10,11],[["(\\d{4})(\\d{4})","$1 $2",["[369]|8(?:0[1-9]|[1-9])"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"]],["(\\d{4})(\\d{4})(\\d{3})","$1 $2 $3",["7"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]]]],SH:["290","00","(?:[256]\\d|8)\\d{3}",[4,5],0,0,0,0,0,0,"[256]"],SI:["386","00|10(?:22|66|88|99)","[1-7]\\d{7}|8\\d{4,7}|90\\d{4,6}",[5,6,7,8],[["(\\d{2})(\\d{3,6})","$1 $2",["8[09]|9"],"0$1"],["(\\d{3})(\\d{5})","$1 $2",["59|8"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[37][01]|4[0139]|51|6"],"0$1"],["(\\d)(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[1-57]"],"(0$1)"]],"0",0,0,0,0,0,0,"00"],SJ:["47","00","0\\d{4}|(?:[489]\\d|79)\\d{6}",[5,8],0,0,0,0,0,0,"79"],SK:["421","00","[2-689]\\d{8}|[2-59]\\d{6}|[2-5]\\d{5}",[6,7,9],[["(\\d)(\\d{2})(\\d{3,4})","$1 $2 $3",["21"],"0$1"],["(\\d{2})(\\d{2})(\\d{2,3})","$1 $2 $3",["[3-5][1-8]1","[3-5][1-8]1[67]"],"0$1"],["(\\d)(\\d{3})(\\d{3})(\\d{2})","$1/$2 $3 $4",["2"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[689]"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1/$2 $3 $4",["[3-5]"],"0$1"]],"0"],SL:["232","00","(?:[237-9]\\d|66)\\d{6}",[8],[["(\\d{2})(\\d{6})","$1 $2",["[236-9]"],"(0$1)"]],"0"],SM:["378","00","(?:0549|[5-7]\\d)\\d{6}",[8,10],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-7]"]],["(\\d{4})(\\d{6})","$1 $2",["0"]]],0,0,"([89]\\d{5})$","0549$1"],SN:["221","00","(?:[378]\\d|93)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"]],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[379]"]]]],SO:["252","00","[346-9]\\d{8}|[12679]\\d{7}|[1-5]\\d{6}|[1348]\\d{5}",[6,7,8,9],[["(\\d{2})(\\d{4})","$1 $2",["8[125]"]],["(\\d{6})","$1",["[134]"]],["(\\d)(\\d{6})","$1 $2",["[15]|2[0-79]|3[0-46-8]|4[0-7]"]],["(\\d)(\\d{7})","$1 $2",["(?:2|90)4|[67]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[348]|64|79|90"]],["(\\d{2})(\\d{5,7})","$1 $2",["1|28|6[0-35-9]|7[67]|9[2-9]"]]],"0"],SR:["597","00","(?:[2-5]|68|[78]\\d)\\d{5}",[6,7],[["(\\d{2})(\\d{2})(\\d{2})","$1-$2-$3",["56"]],["(\\d{3})(\\d{3})","$1-$2",["[2-5]"]],["(\\d{3})(\\d{4})","$1-$2",["[6-8]"]]]],SS:["211","00","[19]\\d{8}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[19]"],"0$1"]],"0"],ST:["239","00","(?:22|9\\d)\\d{5}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[29]"]]]],SV:["503","00","[267]\\d{7}|(?:80\\d|900)\\d{4}(?:\\d{4})?",[7,8,11],[["(\\d{3})(\\d{4})","$1 $2",["[89]"]],["(\\d{4})(\\d{4})","$1 $2",["[267]"]],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["[89]"]]]],SX:["1","011","7215\\d{6}|(?:[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"(5\\d{6})$|1","721$1",0,"721"],SY:["963","00","[1-359]\\d{8}|[1-5]\\d{7}",[8,9],[["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[1-4]|5[1-3]"],"0$1",1],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[59]"],"0$1",1]],"0"],SZ:["268","00","0800\\d{4}|(?:[237]\\d|900)\\d{6}",[8,9],[["(\\d{4})(\\d{4})","$1 $2",["[0237]"]],["(\\d{5})(\\d{4})","$1 $2",["9"]]]],TA:["290","00","8\\d{3}",[4],0,0,0,0,0,0,"8"],TC:["1","011","(?:[58]\\d\\d|649|900)\\d{7}",[10],0,"1",0,"([2-479]\\d{6})$|1","649$1",0,"649"],TD:["235","00|16","(?:22|[689]\\d|77)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[26-9]"]]],0,0,0,0,0,0,0,"00"],TG:["228","00","[279]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[279]"]]]],TH:["66","00[1-9]","(?:001800|[2-57]|[689]\\d)\\d{7}|1\\d{7,9}",[8,9,10,13],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["2"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[13-9]"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]]],"0"],TJ:["992","810","[0-57-9]\\d{8}",[9],[["(\\d{6})(\\d)(\\d{2})","$1 $2 $3",["331","3317"]],["(\\d{3})(\\d{2})(\\d{4})","$1 $2 $3",["44[02-479]|[34]7"]],["(\\d{4})(\\d)(\\d{4})","$1 $2 $3",["3(?:[1245]|3[12])"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[0-57-9]"]]],0,0,0,0,0,0,0,"8~10"],TK:["690","00","[2-47]\\d{3,6}",[4,5,6,7]],TL:["670","00","7\\d{7}|(?:[2-47]\\d|[89]0)\\d{5}",[7,8],[["(\\d{3})(\\d{4})","$1 $2",["[2-489]|70"]],["(\\d{4})(\\d{4})","$1 $2",["7"]]]],TM:["993","810","(?:[1-6]\\d|71)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2-$3-$4",["12"],"(8 $1)"],["(\\d{3})(\\d)(\\d{2})(\\d{2})","$1 $2-$3-$4",["[1-5]"],"(8 $1)"],["(\\d{2})(\\d{6})","$1 $2",["[67]"],"8 $1"]],"8",0,0,0,0,0,0,"8~10"],TN:["216","00","[2-57-9]\\d{7}",[8],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[2-57-9]"]]]],TO:["676","00","(?:0800|(?:[5-8]\\d\\d|999)\\d)\\d{3}|[2-8]\\d{4}",[5,7],[["(\\d{2})(\\d{3})","$1-$2",["[2-4]|50|6[09]|7[0-24-69]|8[05]"]],["(\\d{4})(\\d{3})","$1 $2",["0"]],["(\\d{3})(\\d{4})","$1 $2",["[5-9]"]]]],TR:["90","00","4\\d{6}|8\\d{11,12}|(?:[2-58]\\d\\d|900)\\d{7}",[7,10,12,13],[["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["512|8[01589]|90"],"0$1",1],["(\\d{3})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["5(?:[0-59]|61)","5(?:[0-59]|61[06])","5(?:[0-59]|61[06]1)"],"0$1",1],["(\\d{3})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[24][1-8]|3[1-9]"],"(0$1)",1],["(\\d{3})(\\d{3})(\\d{6,7})","$1 $2 $3",["80"],"0$1",1]],"0"],TT:["1","011","(?:[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-46-8]\\d{6})$|1","868$1",0,"868"],TV:["688","00","(?:2|7\\d\\d|90)\\d{4}",[5,6,7],[["(\\d{2})(\\d{3})","$1 $2",["2"]],["(\\d{2})(\\d{4})","$1 $2",["90"]],["(\\d{2})(\\d{5})","$1 $2",["7"]]]],TW:["886","0(?:0[25-79]|19)","[2-689]\\d{8}|7\\d{9,10}|[2-8]\\d{7}|2\\d{6}",[7,8,9,10,11],[["(\\d{2})(\\d)(\\d{4})","$1 $2 $3",["202"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[258]0"],"0$1"],["(\\d)(\\d{3,4})(\\d{4})","$1 $2 $3",["[23568]|4(?:0[02-48]|[1-47-9])|7[1-9]","[23568]|4(?:0[2-48]|[1-47-9])|(?:400|7)[1-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[49]"],"0$1"],["(\\d{2})(\\d{4})(\\d{4,5})","$1 $2 $3",["7"],"0$1"]],"0",0,0,0,0,0,0,0,"#"],TZ:["255","00[056]","(?:[25-8]\\d|41|90)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{4})","$1 $2 $3",["[89]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[24]"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["5"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[67]"],"0$1"]],"0"],UA:["380","00","[89]\\d{9}|[3-9]\\d{8}",[9,10],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6[12][29]|(?:3[1-8]|4[136-8]|5[12457]|6[49])2|(?:56|65)[24]","6[12][29]|(?:35|4[1378]|5[12457]|6[49])2|(?:56|65)[24]|(?:3[1-46-8]|46)2[013-9]"],"0$1"],["(\\d{4})(\\d{5})","$1 $2",["3[1-8]|4(?:[1367]|[45][6-9]|8[4-6])|5(?:[1-5]|6[0135689]|7[4-6])|6(?:[12][3-7]|[459])","3[1-8]|4(?:[1367]|[45][6-9]|8[4-6])|5(?:[1-5]|6(?:[015689]|3[02389])|7[4-6])|6(?:[12][3-7]|[459])"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[3-7]|89|9[1-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["[89]"],"0$1"]],"0",0,0,0,0,0,0,"0~0"],UG:["256","00[057]","800\\d{6}|(?:[29]0|[347]\\d)\\d{7}",[9],[["(\\d{4})(\\d{5})","$1 $2",["202","2024"],"0$1"],["(\\d{3})(\\d{6})","$1 $2",["[27-9]|4(?:6[45]|[7-9])"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["[34]"],"0$1"]],"0"],US:["1","011","[2-9]\\d{9}|3\\d{6}",[10],[["(\\d{3})(\\d{4})","$1-$2",["310"],0,1],["(\\d{3})(\\d{3})(\\d{4})","($1) $2-$3",["[2-9]"],0,1,"$1-$2-$3"]],"1",0,0,0,0,0,[["(?:3052(?:0[0-8]|[1-9]\\d)|5056(?:[0-35-9]\\d|4[0-468]))\\d{4}|(?:2742|305[3-9]|472[247-9]|505[2-57-9]|983[2-47-9])\\d{6}|(?:2(?:0[1-35-9]|1[02-9]|2[03-57-9]|3[1459]|4[08]|5[1-46]|6[0279]|7[0269]|8[13])|3(?:0[1-47-9]|1[02-9]|2[0135-79]|3[0-24679]|4[167]|5[0-2]|6[01349]|8[056])|4(?:0[124-9]|1[02-579]|2[3-5]|3[0245]|4[023578]|58|6[349]|7[0589]|8[04])|5(?:0[1-47-9]|1[0235-8]|20|3[0149]|4[01]|5[179]|6[1-47]|7[0-5]|8[0256])|6(?:0[1-35-9]|1[024-9]|2[03689]|3[016]|4[0156]|5[01679]|6[0-279]|78|8[0-29])|7(?:0[1-46-8]|1[2-9]|2[04-8]|3[0-247]|4[037]|5[47]|6[02359]|7[0-59]|8[156])|8(?:0[1-68]|1[02-8]|2[068]|3[0-2589]|4[03578]|5[046-9]|6[02-5]|7[028])|9(?:0[1346-9]|1[02-9]|2[0589]|3[0146-8]|4[01357-9]|5[12469]|7[0-389]|8[04-69]))[2-9]\\d{6}"],[""],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"],["900[2-9]\\d{6}"],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}"],0,0,0,["305209\\d{4}"]]],UY:["598","0(?:0|1[3-9]\\d)","0004\\d{2,9}|[1249]\\d{7}|(?:[49]\\d|80)\\d{5}",[6,7,8,9,10,11,12,13],[["(\\d{3})(\\d{3,4})","$1 $2",["0"]],["(\\d{3})(\\d{4})","$1 $2",["[49]0|8"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["9"],"0$1"],["(\\d{4})(\\d{4})","$1 $2",["[124]"]],["(\\d{3})(\\d{3})(\\d{2,4})","$1 $2 $3",["0"]],["(\\d{3})(\\d{3})(\\d{3})(\\d{2,4})","$1 $2 $3 $4",["0"]]],"0",0,0,0,0,0,0,"00"," int. "],UZ:["998","00","(?:20|33|[5-9]\\d)\\d{7}",[9],[["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[235-9]"]]]],VA:["39","00","0\\d{5,10}|3[0-8]\\d{7,10}|55\\d{8}|8\\d{5}(?:\\d{2,4})?|(?:1\\d|39)\\d{7,8}",[6,7,8,9,10,11,12],0,0,0,0,0,0,"06698"],VC:["1","011","(?:[58]\\d\\d|784|900)\\d{7}",[10],0,"1",0,"([2-7]\\d{6})$|1","784$1",0,"784"],VE:["58","00","[68]00\\d{7}|(?:[24]\\d|[59]0)\\d{8}",[10],[["(\\d{3})(\\d{7})","$1-$2",["[24-689]"],"0$1"]],"0"],VG:["1","011","(?:284|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-578]\\d{6})$|1","284$1",0,"284"],VI:["1","011","[58]\\d{9}|(?:34|90)0\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","340$1",0,"340"],VN:["84","00","[12]\\d{9}|[135-9]\\d{8}|[16]\\d{7}|[16-8]\\d{6}",[7,8,9,10],[["(\\d{2})(\\d{5})","$1 $2",["80"],"0$1",1],["(\\d{4})(\\d{4,6})","$1 $2",["1"],0,1],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["6"],"0$1",1],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[357-9]"],"0$1",1],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["2[48]"],"0$1",1],["(\\d{3})(\\d{4})(\\d{3})","$1 $2 $3",["2"],"0$1",1]],"0"],VU:["678","00","[57-9]\\d{6}|(?:[238]\\d|48)\\d{3}",[5,7],[["(\\d{3})(\\d{4})","$1 $2",["[57-9]"]]]],WF:["681","00","(?:40|72|8\\d{4})\\d{4}|[89]\\d{5}",[6,9],[["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["[47-9]"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"]]]],WS:["685","0","(?:[2-6]|8\\d{5})\\d{4}|[78]\\d{6}|[68]\\d{5}",[5,6,7,10],[["(\\d{5})","$1",["[2-5]|6[1-9]"]],["(\\d{3})(\\d{3,7})","$1 $2",["[68]"]],["(\\d{2})(\\d{5})","$1 $2",["7"]]]],XK:["383","00","2\\d{7,8}|3\\d{7,11}|(?:4\\d\\d|[89]00)\\d{5}",[8,9,10,11,12],[["(\\d{3})(\\d{5})","$1 $2",["[89]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[2-4]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["2|39"],"0$1"],["(\\d{2})(\\d{7,10})","$1 $2",["3"],"0$1"]],"0"],YE:["967","00","(?:1|7\\d)\\d{7}|[1-7]\\d{6}",[7,8,9],[["(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["[1-6]|7(?:[24-6]|8[0-7])"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["7"],"0$1"]],"0"],YT:["262","00","7093\\d{5}|(?:80|9\\d)\\d{7}|(?:26|63)9\\d{6}",[9],0,"0",0,0,0,0,0,[["269(?:0[0-467]|15|5[0-4]|6\\d|[78]0)\\d{4}"],["(?:639(?:0[0-79]|1[019]|[267]\\d|3[09]|40|5[05-9]|9[04-79])|7093[5-7])\\d{4}"],["80\\d{7}"],0,0,0,0,0,["9(?:(?:39|47)8[01]|769\\d)\\d{4}"]]],ZA:["27","00","[1-79]\\d{8}|8\\d{4,9}",[5,6,7,8,9,10],[["(\\d{2})(\\d{3,4})","$1 $2",["8[1-4]"],"0$1"],["(\\d{2})(\\d{3})(\\d{2,3})","$1 $2 $3",["8[1-4]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["860"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[1-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"],"0$1"]],"0"],ZM:["260","00","800\\d{6}|(?:21|[579]\\d|63)\\d{7}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[28]"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["[579]"],"0$1"]],"0"],ZW:["263","00","2(?:[0-57-9]\\d{6,8}|6[0-24-9]\\d{6,7})|[38]\\d{9}|[35-8]\\d{8}|[3-6]\\d{7}|[1-689]\\d{6}|[1-3569]\\d{5}|[1356]\\d{4}",[5,6,7,8,9,10],[["(\\d{3})(\\d{3,5})","$1 $2",["2(?:0[45]|2[278]|[49]8)|3(?:[09]8|17)|6(?:[29]8|37|75)|[23][78]|(?:33|5[15]|6[68])[78]"],"0$1"],["(\\d)(\\d{3})(\\d{2,4})","$1 $2 $3",["[49]"],"0$1"],["(\\d{3})(\\d{4})","$1 $2",["80"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["24|8[13-59]|(?:2[05-79]|39|5[45]|6[15-8])2","2(?:02[014]|4|[56]20|[79]2)|392|5(?:42|525)|6(?:[16-8]21|52[013])|8[13-59]"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["2(?:1[39]|2[0157]|[378]|[56][14])|3(?:12|29)","2(?:1[39]|2[0157]|[378]|[56][14])|3(?:123|29)"],"0$1"],["(\\d{4})(\\d{6})","$1 $2",["8"],"0$1"],["(\\d{2})(\\d{3,5})","$1 $2",["1|2(?:0[0-36-9]|12|29|[56])|3(?:1[0-689]|[24-6])|5(?:[0236-9]|1[2-4])|6(?:[013-59]|7[0-46-9])|(?:33|55|6[68])[0-69]|(?:29|3[09]|62)[0-79]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["29[013-9]|39|54"],"0$1"],["(\\d{4})(\\d{3,5})","$1 $2",["(?:25|54)8","258|5483"],"0$1"]],"0"]},nonGeographic:{800:["800",0,"(?:00|[1-9]\\d)\\d{6}",[8],[["(\\d{4})(\\d{4})","$1 $2",["\\d"]]],0,0,0,0,0,0,[0,0,["(?:00|[1-9]\\d)\\d{6}"]]],808:["808",0,"[1-9]\\d{7}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[1-9]"]]],0,0,0,0,0,0,[0,0,0,0,0,0,0,0,0,["[1-9]\\d{7}"]]],870:["870",0,"7\\d{11}|[235-7]\\d{8}",[9,12],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[235-7]"]]],0,0,0,0,0,0,[0,["(?:[356]|774[45])\\d{8}|7[6-8]\\d{7}"],0,0,0,0,0,0,["2\\d{8}",[9]]]],878:["878",0,"10\\d{10}",[12],[["(\\d{2})(\\d{5})(\\d{5})","$1 $2 $3",["1"]]],0,0,0,0,0,0,[0,0,0,0,0,0,0,0,["10\\d{10}"]]],881:["881",0,"6\\d{9}|[0-36-9]\\d{8}",[9,10],[["(\\d)(\\d{3})(\\d{5})","$1 $2 $3",["[0-37-9]"]],["(\\d)(\\d{3})(\\d{5,6})","$1 $2 $3",["6"]]],0,0,0,0,0,0,[0,["6\\d{9}|[0-36-9]\\d{8}"]]],882:["882",0,"[13]\\d{6}(?:\\d{2,5})?|[19]\\d{7}|(?:[25]\\d\\d|4)\\d{7}(?:\\d{2})?",[7,8,9,10,11,12],[["(\\d{2})(\\d{5})","$1 $2",["16|342"]],["(\\d{2})(\\d{6})","$1 $2",["49"]],["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["1[36]|9"]],["(\\d{2})(\\d{4})(\\d{3})","$1 $2 $3",["3[23]"]],["(\\d{2})(\\d{3,4})(\\d{4})","$1 $2 $3",["16"]],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["10|23|3(?:[15]|4[57])|4|51"]],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["34"]],["(\\d{2})(\\d{4,5})(\\d{5})","$1 $2 $3",["[1-35]"]]],0,0,0,0,0,0,[0,["342\\d{4}|(?:337|49)\\d{6}|(?:3(?:2|47|7\\d{3})|50\\d{3})\\d{7}",[7,8,9,10,12]],0,0,0,["348[57]\\d{7}",[11]],0,0,["1(?:3(?:0[0347]|[13][0139]|2[035]|4[013568]|6[0459]|7[06]|8[15-8]|9[0689])\\d{4}|6\\d{5,10})|(?:345\\d|9[89])\\d{6}|(?:10|2(?:3|85\\d)|3(?:[15]|[69]\\d\\d)|4[15-8]|51)\\d{8}"]]],883:["883",0,"(?:[1-4]\\d|51)\\d{6,10}",[8,9,10,11,12],[["(\\d{3})(\\d{3})(\\d{2,8})","$1 $2 $3",["[14]|2[24-689]|3[02-689]|51[24-9]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["510"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["21"]],["(\\d{4})(\\d{4})(\\d{4})","$1 $2 $3",["51[13]"]],["(\\d{3})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["[235]"]]],0,0,0,0,0,0,[0,0,0,0,0,0,0,0,["(?:2(?:00\\d\\d|10)|(?:370[1-9]|51\\d0)\\d)\\d{7}|51(?:00\\d{5}|[24-9]0\\d{4,7})|(?:1[0-79]|2[24-689]|3[02-689]|4[0-4])0\\d{5,9}"]]],888:["888",0,"\\d{11}",[11],[["(\\d{3})(\\d{3})(\\d{5})","$1 $2 $3"]],0,0,0,0,0,0,[0,0,0,0,0,0,["\\d{11}"]]],979:["979",0,"[1359]\\d{8}",[9],[["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["[1359]"]]],0,0,0,0,0,0,[0,0,0,["[1359]\\d{8}"]]]}};function a(t,e){t=t.split("-"),e=e.split("-");for(var n=t[0].split("."),r=e[0].split("."),a=0;a<3;a++){var d=Number(n[a]),o=Number(r[a]);if(d>o)return 1;if(o>d)return -1;if(!isNaN(d)&&isNaN(o))return 1;if(isNaN(d)&&!isNaN(o))return -1}return t[1]&&e[1]?t[1]>e[1]?1:t[1]t.length)&&(e=t.length);for(var n=0,r=Array(e);n=t.length?{done:!0}:{done:!1,value:t[r++]}}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(e.split(""));!(n=a()).done;)n.value===t&&r++;return r}function k(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);no&&(d=a.length))),o++}return void 0===e&&(d=a.length),{value:a,caret:d}}(t.value,t.selectionStart,e),o=d.value,i=d.caret;if(r){var u=function(t,e,n){switch(n){case"Backspace":e>0&&(t=t.slice(0,e-1)+t.slice(e),e--);break;case"Delete":t=t.slice(0,e)+t.slice(e+1)}return{value:t,caret:e}}(o,i,r);o=u.value,i=u.caret}var l=function(t,e,n){"string"==typeof n&&(n=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"x",n=arguments.length>2?arguments[2]:void 0;if(!t)return function(t){return{text:t}};var r=j(e,t);return function(a){if(!a)return{text:"",template:t};for(var d,o=0,i="",u=function(t,e){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(n)return(n=n.call(t)).next.bind(n);if(Array.isArray(t)||(n=function(t,e){if(t){if("string"==typeof t)return k(t,void 0);var n=Object.prototype.toString.call(t).slice(8,-1);if("Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return k(t,void 0)}}(t))){n&&(t=n);var r=0;return function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(t.split(""));!(d=u()).done;){var l=d.value;if(l!==e){i+=l;continue}if(i+=a[o],++o===a.length&&a.length2&&void 0!==arguments[2]?arguments[2]:"x",r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:" ",a=t.length,d=j("(",t)-j(")",t);d>0&&a=0||(a[n]=t[n]);return a}(t,e);if(Object.getOwnPropertySymbols){var d=Object.getOwnPropertySymbols(t);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(t,n)&&(a[n]=t[n])}return a}(t,G))).ref,a=n.parse,d=n.format,o=n.value,i=n.defaultValue,u=n.controlled,l=n.onChange,c=n.onKeyDown,s=function(t,e){if(null==t)return{};var n,r,a=function(t,e){if(null==t)return{};var n,r,a={},d=Object.keys(t);for(r=0;r=0||(a[n]=t[n]);return a}(t,e);if(Object.getOwnPropertySymbols){var d=Object.getOwnPropertySymbols(t);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(t,n)&&(a[n]=t[n])}return a}(n,F),$=(0,P.useRef)(),f=(0,P.useCallback)(function(t){$.current=t,r&&("function"==typeof r?r(t):r.current=t)},[r]),p=(0,P.useCallback)(function(t){D($.current,a,d,void 0,l)},[$,a,d,l]),h=(0,P.useCallback)(function(t){if(c&&c(t),!t.defaultPrevented)return function(t,e,n,r,a){if(!e.hasAttribute("readonly")){var d=function(t){switch(t.keyCode){case T.Backspace:return"Backspace";case T.Delete:return"Delete"}}(t);switch(d){case"Delete":case"Backspace":t.preventDefault();var o,i=function(t){if(t.selectionStart!==t.selectionEnd)return{start:t.selectionStart,end:t.selectionEnd}}(e);if(i)return o=(o=e.value).slice(0,i.start)+o.slice(i.end),e.value=o,R(e,i.start),D(e,n,r,void 0,a);return D(e,n,r,d,a)}}}(t,$.current,a,d,l)},[$,a,d,l,c]),y=B(B({},s),{},{ref:f,onChange:p,onKeyDown:h}),void 0===u||u?B(B({},y),{},{value:d(null==o?"":o).text}):B(B({},y),{},{defaultValue:d(null==i?"":i).text}));return P.createElement(void 0===m?"input":m,I)}(U=P.forwardRef(U)).propTypes={parse:x.func.isRequired,format:x.func.isRequired,inputComponent:x.elementType,type:x.string,value:x.string,defaultValue:x.string,onChange:x.func,controlled:x.bool,onKeyDown:x.func,onCut:x.func,onPaste:x.func};let K=U;function V(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n=t.length?{done:!0}:{done:!1,value:t[r++]}}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(e);!(n=a()).done;){var d=n.value;0>t.indexOf(d)&&r.push(d)}return r.sort(function(t,e){return t-e})}(d,o.possibleLengths()))}else if(n&&!a)return"INVALID_LENGTH";var i=e.length,u=d[0];return u===i?"IS_POSSIBLE":u>i?"TOO_SHORT":d[d.length-1]=0?"IS_POSSIBLE":"INVALID_LENGTH"}(t,void 0,e)}function H(t,e){return"IS_POSSIBLE"===W(t,e)}function Z(t,e){return t=t||"",RegExp("^(?:"+e+")$").test(t)}function q(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n=t.length?{done:!0}:{done:!1,value:t[r++]}}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(Y);!(a=d()).done;){var o=a.value;if(X(r,o,n))return o}}}}function X(t,e,n){return!(!(e=n.type(e))||!e.pattern()||e.possibleLengths()&&0>e.possibleLengths().indexOf(t.length))&&Z(t,e.pattern())}var z="0-90-9٠-٩۰-۹",Q="".concat("-‐-―−ー-").concat("//").concat("..").concat(" \xa0\xad​⁠ ").concat("()()[]\\[\\]").concat("~⁓∼~"),tt="++",te=RegExp("(["+z+"])");function tn(t,e,n,r){if(e){var a=new f(r);a.selectNumberingPlan(e,n);var d=new RegExp(a.IDDPrefix());if(0===t.search(d)){var o=(t=t.slice(t.match(d)[0].length)).match(te);if(!o||null==o[1]||!(o[1].length>0)||"0"!==o[1])return t}}}function tr(t,e){if(t&&e.numberingPlan.nationalPrefixForParsing()){var n=RegExp("^(?:"+e.numberingPlan.nationalPrefixForParsing()+")"),r=n.exec(t);if(r){var a,d,o,i=r.length-1,u=i>0&&r[i];if(e.nationalPrefixTransformRule()&&u)a=t.replace(n,e.nationalPrefixTransformRule()),i>1&&(d=r[1]);else{var l=r[0];a=t.slice(l.length),u&&(d=r[1])}if(u){var c=t.indexOf(r[1]);t.slice(0,c)===e.numberingPlan.nationalPrefix()&&(o=e.numberingPlan.nationalPrefix())}else o=r[0];return{nationalNumber:a,nationalPrefix:o,carrierCode:d}}}return{nationalNumber:t}}function ta(t,e){var n=tr(t,e),r=n.carrierCode,a=n.nationalNumber;return a!==t&&(!(!Z(t,e.nationalNumberPattern())||Z(a,e.nationalNumberPattern()))||e.possibleLengths()&&!function(t,e){switch(W(t,e)){case"TOO_SHORT":case"INVALID_LENGTH":return!1;default:return!0}}(a,e))?{nationalNumber:t}:{nationalNumber:a,carrierCode:r}}function td(t,e,n,r){var a=e?C(e,r):n;if(0===t.indexOf(a)){(r=new f(r)).selectNumberingPlan(e,n);var d=t.slice(a.length),o=ta(d,r).nationalNumber,i=ta(t,r).nationalNumber;if(!Z(i,r.nationalNumberPattern())&&Z(o,r.nationalNumberPattern())||"TOO_LONG"===W(i,r))return{countryCallingCode:a,number:d}}return{number:t}}function to(t,e,n,r){if(!t)return{};if("+"!==t[0]){var a,d=tn(t,e,n,r);if(d&&d!==t)a=!0,t="+"+d;else{if(e||n){var o=td(t,e,n,r),i=o.countryCallingCode,u=o.number;if(i)return{countryCallingCodeSource:"FROM_NUMBER_WITHOUT_PLUS_SIGN",countryCallingCode:i,number:u}}return{number:t}}}if("0"===t[1])return{};r=new f(r);for(var l=2;l-1<=3&&l<=t.length;){var c=t.slice(1,l);if(r.hasCallingCode(c))return r.selectNumberingPlan(c),{countryCallingCodeSource:a?"FROM_NUMBER_WITH_IDD":"FROM_NUMBER_WITH_PLUS_SIGN",countryCallingCode:c,number:t.slice(l)};l++}return{}}function ti(t){return t.replace(RegExp("[".concat(Q,"]+"),"g")," ").trim()}var tu=/(\$\d)/;function tl(t,e,n){var r=n.useInternationalFormat,a=n.withNationalPrefix;n.carrierCode,n.metadata;var d=t.replace(new RegExp(e.pattern()),r?e.internationalFormat():a&&e.nationalPrefixFormattingRule()?e.format().replace(tu,e.nationalPrefixFormattingRule()):e.format());return r?ti(d):d}var tc=/^[\d]+(?:[~\u2053\u223C\uFF5E][\d]+)?$/;function ts(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n=t.length?{done:!0}:{done:!1,value:t[r++]}}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(t);!(n=r()).done;){var a=n.value;if(a.leadingDigitsPatterns().length>0){var d=a.leadingDigitsPatterns()[a.leadingDigitsPatterns().length-1];if(0!==e.search(d))continue}if(Z(e,a.pattern()))return a}}(r.formats(),t);return d?tl(t,d,{useInternationalFormat:"INTERNATIONAL"===n,withNationalPrefix:!d.nationalPrefixIsOptionalWhenFormattingInNationalFormat()||!a||!1!==a.nationalPrefix,carrierCode:e,metadata:r}):t}function ty(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)}return n}function tm(t){for(var e=1;e=0}):[])}},{key:"isPossible",value:function(){return function(t,e,n){if(void 0===e&&(e={}),n=new f(n),e.v2){if(!t.countryCallingCode)throw Error("Invalid phone number object passed");n.selectNumberingPlan(t.countryCallingCode)}else{if(!t.phone)return!1;if(t.country){if(!n.hasCountry(t.country))throw Error("Unknown country: ".concat(t.country));n.country(t.country)}else{if(!t.countryCallingCode)throw Error("Invalid phone number object passed");n.selectNumberingPlan(t.countryCallingCode)}}if(n.possibleLengths())return H(t.phone||t.nationalNumber,n);if(t.countryCallingCode&&n.isNonGeographicCallingCode(t.countryCallingCode))return!0;throw Error('Missing "possibleLengths" in metadata. Perhaps the metadata has been generated before v1.0.18.')}(this,{v2:!0},this.getMetadata())}},{key:"isValid",value:function(){var t,e;return(t=t={v2:!0},(e=new f(e=this.getMetadata())).selectNumberingPlan(this.country,this.countryCallingCode),e.hasTypes())?void 0!==J(this,t,e.metadata):Z(t.v2?this.nationalNumber:this.phone,e.nationalNumberPattern())}},{key:"isNonGeographic",value:function(){return new f(this.getMetadata()).isNonGeographicCallingCode(this.countryCallingCode)}},{key:"isEqual",value:function(t){return this.number===t.number&&this.ext===t.ext}},{key:"getType",value:function(){return J(this,{v2:!0},this.getMetadata())}},{key:"format",value:function(t,e){return function(t,e,n,r){if(n=n?tf(tf({},tp),n):tp,r=new f(r),t.country&&"001"!==t.country){if(!r.hasCountry(t.country))throw Error("Unknown country: ".concat(t.country));r.country(t.country)}else{if(!t.countryCallingCode)return t.phone||"";r.selectNumberingPlan(t.countryCallingCode)}var a,d,o,i,u,l,c,s,$,p,h,y,m,g=r.countryCallingCode(),v=n.v2?t.nationalNumber:t.phone;switch(e){case"NATIONAL":if(!v)return"";return a=m=th(v,t.carrierCode,"NATIONAL",r,n),d=t.ext,o=r,i=n.formatExtension,d?i(a,d,o):a;case"INTERNATIONAL":if(!v)return"+".concat(g);return m=th(v,null,"INTERNATIONAL",r,n),u=m="+".concat(g," ").concat(m),l=t.ext,c=r,s=n.formatExtension,l?s(u,l,c):u;case"E.164":return"+".concat(g).concat(v);case"RFC3966":return function(t){var e=t.number,n=t.ext;if(!e)return"";if("+"!==e[0])throw Error('"formatRFC3966()" expects "number" to be in E.164 format.');return"tel:".concat(e).concat(n?";ext="+n:"")}({number:"+".concat(g).concat(v),ext:t.ext});case"IDD":if(!n.fromCountry)return;return $=function(t,e,n,r,a){if(C(r,a.metadata)===n){var d,o,i=th(t,e,"NATIONAL",a);return"1"===n?n+" "+i:i}var u=(d=void 0,((o=new f(a.metadata)).selectNumberingPlan(r,d),o.defaultIDDPrefix())?o.defaultIDDPrefix():tc.test(o.IDDPrefix())?o.IDDPrefix():void 0);if(u)return"".concat(u," ").concat(n," ").concat(th(t,null,"INTERNATIONAL",a))}(v,t.carrierCode,g,n.fromCountry,r),p=t.ext,h=r,y=n.formatExtension,p?y($,p,h):$;default:throw Error('Unknown "format" argument passed to "formatNumber()": "'.concat(e,'"'))}}(this,t,e?tm(tm({},e),{},{v2:!0}):{v2:!0},this.getMetadata())}},{key:"formatNational",value:function(t){return this.format("NATIONAL",t)}},{key:"formatInternational",value:function(t){return this.format("INTERNATIONAL",t)}},{key:"getURI",value:function(t){return this.format("RFC3966",t)}}],function(t,e){for(var n=0;nt.length)&&(e=t.length);for(var n=0,r=Array(e);n1;)1&e&&(n+=t),e>>=1,t+=t;return n+t}function tP(t,e){return")"===t[e]&&e++,function(t){for(var e=[],n=0;nt.length)&&(e=t.length);for(var n=0,r=Array(e);n=t.length?{done:!0}:{done:!1,value:t[r++]}}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(t.split(""));!(e=r()).done;){var a=tx[e.value];a&&(n+=a)}return n}function tw(t,e,n){var r=n.metadata,a=n.useNationalPrefixFormattingRule,d=n.getSeparatorAfterNationalPrefix,o=tl(t.nationalSignificantNumber,e,{carrierCode:t.carrierCode,useInternationalFormat:t.international,withNationalPrefix:a,metadata:r});if(!a&&(t.nationalPrefix?o=t.nationalPrefix+d(e)+o:t.complexPrefixBeforeNationalSignificantNumber&&(o=t.complexPrefixBeforeNationalSignificantNumber+" "+o)),tI(o)===t.getNationalDigits())return o}var tE=function(){var t;function e(){!function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")}(this,e)}return t=[{key:"parse",value:function(t){if(this.context=[{or:!0,instructions:[]}],this.parsePattern(t),1!==this.context.length)throw Error("Non-finalized contexts left when pattern parse ended");var e=this.context[0],n=e.branches,r=e.instructions;if(n)return{op:"|",args:n.concat([tk(r)])};if(0===r.length)throw Error("Pattern is required");return 1===r.length?r[0]:r}},{key:"startContext",value:function(t){this.context.push(t)}},{key:"endContext",value:function(){this.context.pop()}},{key:"getContext",value:function(){return this.context[this.context.length-1]}},{key:"parsePattern",value:function(t){if(!t)throw Error("Pattern is required");var e=t.match(tj);if(!e){if(tA.test(t))throw Error("Illegal characters found in a pattern: ".concat(t));this.getContext().instructions=this.getContext().instructions.concat(t.split(""));return}var n=e[1],r=t.slice(0,e.index),a=t.slice(e.index+n.length);switch(n){case"(?:":r&&this.parsePattern(r),this.startContext({or:!0,instructions:[],branches:[]});break;case")":if(!this.getContext().or)throw Error('")" operator must be preceded by "(?:" operator');if(r&&this.parsePattern(r),0===this.getContext().instructions.length)throw Error('No instructions found after "|" operator in an "or" group');var d=this.getContext().branches;d.push(tk(this.getContext().instructions)),this.endContext(),this.getContext().instructions.push({op:"|",args:d});break;case"|":if(!this.getContext().or)throw Error('"|" operator can only be used inside "or" groups');if(r&&this.parsePattern(r),!this.getContext().branches){if(1===this.context.length)this.getContext().branches=[];else throw Error('"branches" not found in an "or" group context')}this.getContext().branches.push(tk(this.getContext().instructions)),this.getContext().instructions=[];break;case"[":r&&this.parsePattern(r),this.startContext({oneOfSet:!0});break;case"]":if(!this.getContext().oneOfSet)throw Error('"]" operator must be preceded by "[" operator');this.endContext(),this.getContext().instructions.push({op:"[]",args:function(t){for(var e=[],n=0;n=t.length?{done:!0}:{done:!1,value:t[r++]}}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function tR(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n1&&void 0!==arguments[1]?arguments[1]:{},n=e.allowOverflow;if(!t)throw Error("String is required");var r=function t(e,n,r){if("string"==typeof n){var a=e.join("");return 0===n.indexOf(a)?e.length===n.length?{match:!0,matchedChars:e}:{partialMatch:!0}:0===a.indexOf(n)?r&&e.length>n.length?{overflow:!0}:{match:!0,matchedChars:e.slice(0,n.length)}:void 0}if(Array.isArray(n)){for(var d=e.slice(),o=0;o=t.length?{done:!0}:{done:!1,value:t[r++]}}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function tF(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n=0)){var n=this.getTemplateForFormat(t,e);if(n)return this.setNationalNumberTemplate(n,e),!0}}},{key:"getSeparatorAfterNationalPrefix",value:function(t){return this.isNANP||t&&t.nationalPrefixFormattingRule()&&tB.test(t.nationalPrefixFormattingRule())?" ":""}},{key:"getInternationalPrefixBeforeCountryCallingCode",value:function(t,e){var n=t.IDDPrefix,r=t.missingPlus;return n?e&&!1===e.spacing?n:n+" ":r?"":"+"}},{key:"getTemplate",value:function(t){if(this.template){for(var e=-1,n=0,r=t.international?this.getInternationalPrefixBeforeCountryCallingCode(t,{spacing:!1}):"";nu.length)){var l=RegExp("^"+i+"$"),c=r.replace(/\d/g,"9");l.test(c)&&(u=c);var s=this.getFormatFormat(t,a);if(this.shouldTryNationalPrefixFormattingRule(t,{international:a,nationalPrefix:d})){var $=s.replace(tu,t.nationalPrefixFormattingRule());if(tI(t.nationalPrefixFormattingRule())===(d||"")+tI("$1")&&(s=$,n=!0,d))for(var f=d.length;f>0;)s=s.replace(/\d/,"x"),f--}var p=u.replace(new RegExp(i),s).replace(/9/g,"x");return!n&&(o?p=tN("x",o.length)+" "+p:d&&(p=tN("x",d.length)+this.getSeparatorAfterNationalPrefix(t)+p)),a&&(p=ti(p)),p}}},{key:"formatNextNationalNumberDigits",value:function(t){var e=function(t,e,n){for(var r,a=function(t,e){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(n)return(n=n.call(t)).next.bind(n);if(Array.isArray(t)||(n=function(t,e){if(t){if("string"==typeof t)return tC(t,void 0);var n=Object.prototype.toString.call(t).slice(8,-1);if("Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return tC(t,void 0)}}(t))){n&&(t=n);var r=0;return function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(n.split(""));!(r=a()).done;){var d=r.value;if(0>t.slice(e+1).search(tO))return;e=t.search(tO),t=t.replace(tO,d)}return[t,e]}(this.populatedNationalNumberTemplate,this.populatedNationalNumberTemplatePosition,t);if(!e){this.resetFormat();return}return this.populatedNationalNumberTemplate=e[0],this.populatedNationalNumberTemplatePosition=e[1],tP(this.populatedNationalNumberTemplate,this.populatedNationalNumberTemplatePosition+1)}},{key:"shouldTryNationalPrefixFormattingRule",value:function(t,e){var n=e.international,r=e.nationalPrefix;if(t.nationalPrefixFormattingRule()){var a=t.usesNationalPrefix();if(a&&r||!a&&!n)return!0}}}],function(t,e){for(var n=0;nt.length)&&(e=t.length);for(var n=0,r=Array(e);n=3;if(e.appendDigits(t),r&&this.extractIddPrefix(e),this.isWaitingForCountryCallingCode(e)){if(!this.extractCountryCallingCode(e))return}else e.appendNationalSignificantNumberDigits(t);e.international||this.hasExtractedNationalSignificantNumber||this.extractNationalSignificantNumber(e.getNationalDigits(),function(t){return e.update(t)})}},{key:"isWaitingForCountryCallingCode",value:function(t){var e=t.international,n=t.callingCode;return e&&!n}},{key:"extractCountryCallingCode",value:function(t){var e=to("+"+t.getDigitsWithoutInternationalPrefix(),this.defaultCountry,this.defaultCallingCode,this.metadata.metadata),n=e.countryCallingCode,r=e.number;if(n)return t.setCallingCode(n),t.update({nationalSignificantNumber:r}),!0}},{key:"reset",value:function(t){if(t){this.hasSelectedNumberingPlan=!0;var e=t._nationalPrefixForParsing();this.couldPossiblyExtractAnotherNationalSignificantNumber=e&&tZ.test(e)}else this.hasSelectedNumberingPlan=void 0,this.couldPossiblyExtractAnotherNationalSignificantNumber=void 0}},{key:"extractNationalSignificantNumber",value:function(t,e){if(this.hasSelectedNumberingPlan){var n=tr(t,this.metadata),r=n.nationalPrefix,a=n.nationalNumber,d=n.carrierCode;if(a!==t)return this.onExtractedNationalNumber(r,d,a,t,e),!0}}},{key:"extractAnotherNationalSignificantNumber",value:function(t,e,n){if(!this.hasExtractedNationalSignificantNumber)return this.extractNationalSignificantNumber(t,n);if(this.couldPossiblyExtractAnotherNationalSignificantNumber){var r=tr(t,this.metadata),a=r.nationalPrefix,d=r.nationalNumber,o=r.carrierCode;if(d!==e)return this.onExtractedNationalNumber(a,o,d,t,n),!0}}},{key:"onExtractedNationalNumber",value:function(t,e,n,r,a){var d,o,i=r.lastIndexOf(n);if(i>=0&&i===r.length-n.length){o=!0;var u=r.slice(0,i);u!==t&&(d=u)}a({nationalPrefix:t,carrierCode:e,nationalSignificantNumber:n,nationalSignificantNumberMatchesInput:o,complexPrefixBeforeNationalSignificantNumber:d}),this.hasExtractedNationalSignificantNumber=!0,this.onNationalSignificantNumberChange()}},{key:"reExtractNationalSignificantNumber",value:function(t){return!!this.extractAnotherNationalSignificantNumber(t.getNationalDigits(),t.nationalSignificantNumber,function(e){return t.update(e)})||(this.extractIddPrefix(t)||this.fixMissingPlus(t)?(this.extractCallingCodeAndNationalSignificantNumber(t),!0):void 0)}},{key:"extractIddPrefix",value:function(t){var e=t.international,n=t.IDDPrefix,r=t.digits;if(t.nationalSignificantNumber,!e&&!n){var a=tn(r,this.defaultCountry,this.defaultCallingCode,this.metadata.metadata);if(void 0!==a&&a!==r)return t.update({IDDPrefix:r.slice(0,r.length-a.length)}),this.startInternationalNumber(t,{country:void 0,callingCode:void 0}),!0}}},{key:"fixMissingPlus",value:function(t){if(!t.international){var e=td(t.digits,this.defaultCountry,this.defaultCallingCode,this.metadata.metadata),n=e.countryCallingCode;if(e.number,n)return t.update({missingPlus:!0}),this.startInternationalNumber(t,{country:t.country,callingCode:n}),!0}}},{key:"startInternationalNumber",value:function(t,e){var n=e.country,r=e.callingCode;t.startInternationalNumber(n,r),t.nationalSignificantNumber&&(t.resetNationalSignificantNumber(),this.onNationalSignificantNumberChange(),this.hasExtractedNationalSignificantNumber=void 0)}},{key:"extractCallingCodeAndNationalSignificantNumber",value:function(t){this.extractCountryCallingCode(t)&&this.extractNationalSignificantNumber(t.getNationalDigits(),function(e){return t.update(e)})}}],function(t,e){for(var n=0;nt.length)&&(e=t.length);for(var n=0,r=Array(e);n=t.length?{done:!0}:{done:!1,value:t[r++]}}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(n);!(a=d()).done;){var o=a.value;if(r.country(o),r.leadingDigits()){if(t&&0===t.search(r.leadingDigits()))return o}else if(J({phone:t,country:o},void 0,r.metadata))return o}}function tX(t,e){var n=e.nationalNumber,r=e.defaultCountry,a=e.metadata,d=a.getCountryCodesForCallingCode(t);return d?1===d.length?d[0]:tJ(n,{countries:d,defaultCountry:r,metadata:a.metadata}):void 0}function tz(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n1}},{key:"determineTheCountry",value:function(){this.state.setCountry(tX(this.isInternational()?this.state.callingCode:this.defaultCallingCode,{nationalNumber:this.state.nationalSignificantNumber,defaultCountry:this.defaultCountry,metadata:this.metadata}))}},{key:"getNumberValue",value:function(){var t=this.state,e=t.digits,n=t.callingCode,r=t.country,a=t.nationalSignificantNumber;if(e){if(this.isInternational())return n?"+"+n+a:"+"+e;if(r||n)return"+"+(r?this.metadata.countryCallingCode():n)+a}}},{key:"getNumber",value:function(){var t=this.state,e=t.nationalSignificantNumber,n=t.carrierCode,r=t.callingCode,a=this._getCountry();if(e&&(a||r)){if(a&&a===this.defaultCountry){var d=new f(this.metadata.metadata);d.selectNumberingPlan(a);var o=d.numberingPlan.callingCode(),i=this.metadata.getCountryCodesForCallingCode(o);if(i.length>1){var u=tJ(e,{countries:i,defaultCountry:this.defaultCountry,metadata:this.metadata.metadata});u&&(a=u)}}var l=new tg(a||r,e,this.metadata.metadata);return n&&(l.carrierCode=n),l}}},{key:"isPossible",value:function(){var t=this.getNumber();return!!t&&t.isPossible()}},{key:"isValid",value:function(){var t=this.getNumber();return!!t&&t.isValid()}},{key:"getNationalNumber",value:function(){return this.state.nationalSignificantNumber}},{key:"getChars",value:function(){return(this.state.international?"+":"")+this.state.digits}},{key:"getTemplate",value:function(){return this.formatter.getTemplate(this.state)||this.getNonFormattedTemplate()||""}}],function(t,e){for(var n=0;nt.length)&&(e=t.length);for(var n=0,r=Array(e);n=t.length?{done:!0}:{done:!1,value:t[r++]}}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(t.split(""));!(e=r()).done;){var a=e.value;n+=t9(a,n)||""}return n}function t9(t,e,n){if("+"===t){if(e){"function"==typeof n&&n("end");return}return"+"}return tx[t]}function t4(t,e,n){if(!n||!n.ignoreRest)return t9(t,e,function(t){n&&"end"===t&&(n.ignoreRest=!0)})}function t8(t){var e=t.onKeyDown,n=t.inputFormat;return(0,P.useCallback)(function(t){if(t.keyCode===t6&&"INTERNATIONAL"===n&&t.target instanceof HTMLInputElement&&t.target.selectionStart===t5.length){t.preventDefault();return}e&&e(t)},[e,n])}var t6=8,t5="+",t7=["onKeyDown","country","inputFormat","metadata","international","withCountryCallingCode"];function et(){return(et=Object.assign?Object.assign.bind():function(t){for(var e=1;e=0||(a[n]=t[n]);return a}(t,e);if(Object.getOwnPropertySymbols){var d=Object.getOwnPropertySymbols(t);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(t,n)&&(a[n]=t[n])}return a}(t,t7)),u=(0,P.useCallback)(function(t){var e=new tQ(r,o),n=t0({inputFormat:a,country:r,metadata:o}),d=e.input(n+t),i=e.getTemplate();return n&&(d=t1(d,n),i&&(i=t1(i,n))),{text:d,template:i}},[r,o]),l=t8({onKeyDown:n,inputFormat:a});return P.createElement(K,et({},i,{ref:e,parse:t4,format:u,onKeyDown:l}))}return(e=P.forwardRef(e)).propTypes={value:x.string.isRequired,onChange:x.func.isRequired,onKeyDown:x.func,country:x.string,inputFormat:x.oneOf(["INTERNATIONAL","NATIONAL_PART_OF_INTERNATIONAL","NATIONAL","INTERNATIONAL_OR_NATIONAL"]).isRequired,metadata:x.object},e}();var en=["value","onChange","onKeyDown","country","inputFormat","metadata","inputComponent","international","withCountryCallingCode"];function er(){return(er=Object.assign?Object.assign.bind():function(t){for(var e=1;e=0||(a[n]=t[n]);return a}(t,e);if(Object.getOwnPropertySymbols){var d=Object.getOwnPropertySymbols(t);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(t,n)&&(a[n]=t[n])}return a}(t,en)),s=t0({inputFormat:o,country:d,metadata:u}),$=(0,P.useCallback)(function(t){var e=t3(t.target.value);e===n&&0===ed(s,e,d,u).indexOf(t.target.value)&&(e=e.slice(0,-1)),r(e)},[s,n,r,d,u]),f=t8({onKeyDown:a,inputFormat:o});return P.createElement(void 0===l?"input":l,er({},c,{ref:e,value:ed(s,n,d,u),onChange:$,onKeyDown:f}))}return(e=P.forwardRef(e)).propTypes={value:x.string.isRequired,onChange:x.func.isRequired,onKeyDown:x.func,country:x.string,inputFormat:x.oneOf(["INTERNATIONAL","NATIONAL_PART_OF_INTERNATIONAL","NATIONAL","INTERNATIONAL_OR_NATIONAL"]).isRequired,metadata:x.object,inputComponent:x.elementType},e}();function ed(t,e,n,r){var a,d,o;return t1((a=t+e,d=n,(o=r)||(o=d,d=void 0),new tQ(d,o).input(a)),t)}function eo(t){return String.fromCodePoint(127397+t.toUpperCase().charCodeAt(0))}var ei=["value","onChange","options","disabled","readOnly"],eu=["value","options","className","iconComponent","getIconAspectRatio","arrowComponent","unicodeFlags"];function el(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n=0||(a[n]=t[n]);return a}(t,e);if(Object.getOwnPropertySymbols){var d=Object.getOwnPropertySymbols(t);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(t,n)&&(a[n]=t[n])}return a}function e$(t){var e=t.value,n=t.onChange,r=t.options,a=t.disabled,d=t.readOnly,o=es(t,ei),i=(0,P.useCallback)(function(t){var e=t.target.value;n("ZZ"===e?void 0:e)},[n]);return(0,P.useMemo)(function(){return ey(r,e)},[r,e]),P.createElement("select",ec({},o,{disabled:a||d,readOnly:d,value:e||"ZZ",onChange:i}),r.map(function(t){var e=t.value,n=t.label,r=t.divider;return P.createElement("option",{key:r?"|":e||"ZZ",value:r?"|":e||"ZZ",disabled:!!r,style:r?ef:void 0},n)}))}e$.propTypes={value:x.string,onChange:x.func.isRequired,options:x.arrayOf(x.shape({value:x.string,label:x.string,divider:x.bool})).isRequired,disabled:x.bool,readOnly:x.bool};var ef={fontSize:"1px",backgroundColor:"currentColor",color:"inherit"};function ep(t){var e=t.value,n=t.options,r=t.className,a=t.iconComponent,d=(t.getIconAspectRatio,t.arrowComponent),o=void 0===d?eh:d,i=t.unicodeFlags,u=es(t,eu),l=(0,P.useMemo)(function(){return ey(n,e)},[n,e]);return P.createElement("div",{className:"PhoneInputCountry"},P.createElement(e$,ec({},u,{value:e,options:n,className:E("PhoneInputCountrySelect",r)})),l&&(i&&e?P.createElement("div",{className:"PhoneInputCountryIconUnicode"},eo(e[0])+eo(e[1])):P.createElement(a,{"aria-hidden":!0,country:e,label:l.label,aspectRatio:i?1:void 0})),P.createElement(o,null))}function eh(){return P.createElement("div",{className:"PhoneInputCountrySelectArrow"})}function ey(t,e){for(var n,r=function(t,e){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(n)return(n=n.call(t)).next.bind(n);if(Array.isArray(t)||(n=function(t,e){if(t){if("string"==typeof t)return el(t,void 0);var n=Object.prototype.toString.call(t).slice(8,-1);if("Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return el(t,void 0)}}(t))){n&&(t=n);var r=0;return function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(t);!(n=r()).done;){var a,d=n.value;if(!d.divider&&(null==(a=d.value)?null==e:a===e))return d}}ep.propTypes={iconComponent:x.elementType,arrowComponent:x.elementType,unicodeFlags:x.bool};var em=["country","countryName","flags","flagUrl"];function eg(){return(eg=Object.assign?Object.assign.bind():function(t){for(var e=1;e=0||(a[n]=t[n]);return a}(t,e);if(Object.getOwnPropertySymbols){var d=Object.getOwnPropertySymbols(t);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(t,n)&&(a[n]=t[n])}return a}(t,em);return r&&r[e]?r[e]({title:n}):P.createElement("img",eg({},d,{alt:n,role:n?void 0:"presentation",src:a.replace("{XX}",e).replace("{xx}",e.toLowerCase())}))}ev.propTypes={country:x.string.isRequired,countryName:x.string.isRequired,flags:x.objectOf(x.elementType),flagUrl:x.string.isRequired};var eb=["aspectRatio"],eC=["title"],eO=["title"];function eN(){return(eN=Object.assign?Object.assign.bind():function(t){for(var e=1;e=0||(a[n]=t[n]);return a}(t,e);if(Object.getOwnPropertySymbols){var d=Object.getOwnPropertySymbols(t);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(t,n)&&(a[n]=t[n])}return a}function eS(t){var e=t.aspectRatio,n=eP(t,eb);return 1===e?P.createElement(eI,n):P.createElement(ex,n)}function ex(t){var e=t.title,n=eP(t,eC);return P.createElement("svg",eN({},n,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 75 50"}),P.createElement("title",null,e),P.createElement("g",{className:"PhoneInputInternationalIconGlobe",stroke:"currentColor",fill:"none",strokeWidth:"2",strokeMiterlimit:"10"},P.createElement("path",{strokeLinecap:"round",d:"M47.2,36.1C48.1,36,49,36,50,36c7.4,0,14,1.7,18.5,4.3"}),P.createElement("path",{d:"M68.6,9.6C64.2,12.3,57.5,14,50,14c-7.4,0-14-1.7-18.5-4.3"}),P.createElement("line",{x1:"26",y1:"25",x2:"74",y2:"25"}),P.createElement("line",{x1:"50",y1:"1",x2:"50",y2:"49"}),P.createElement("path",{strokeLinecap:"round",d:"M46.3,48.7c1.2,0.2,2.5,0.3,3.7,0.3c13.3,0,24-10.7,24-24S63.3,1,50,1S26,11.7,26,25c0,2,0.3,3.9,0.7,5.8"}),P.createElement("path",{strokeLinecap:"round",d:"M46.8,48.2c1,0.6,2.1,0.8,3.2,0.8c6.6,0,12-10.7,12-24S56.6,1,50,1S38,11.7,38,25c0,1.4,0.1,2.7,0.2,4c0,0.1,0,0.2,0,0.2"})),P.createElement("path",{className:"PhoneInputInternationalIconPhone",stroke:"none",fill:"currentColor",d:"M12.4,17.9c2.9-2.9,5.4-4.8,0.3-11.2S4.1,5.2,1.3,8.1C-2,11.4,1.1,23.5,13.1,35.6s24.3,15.2,27.5,11.9c2.8-2.8,7.8-6.3,1.4-11.5s-8.3-2.6-11.2,0.3c-2,2-7.2-2.2-11.7-6.7S10.4,19.9,12.4,17.9z"}))}function eI(t){var e=t.title,n=eP(t,eO);return P.createElement("svg",eN({},n,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 50 50"}),P.createElement("title",null,e),P.createElement("g",{className:"PhoneInputInternationalIconGlobe",stroke:"currentColor",fill:"none",strokeWidth:"2",strokeLinecap:"round"},P.createElement("path",{d:"M8.45,13A21.44,21.44,0,1,1,37.08,41.56"}),P.createElement("path",{d:"M19.36,35.47a36.9,36.9,0,0,1-2.28-13.24C17.08,10.39,21.88.85,27.8.85s10.72,9.54,10.72,21.38c0,6.48-1.44,12.28-3.71,16.21"}),P.createElement("path",{d:"M17.41,33.4A39,39,0,0,1,27.8,32.06c6.62,0,12.55,1.5,16.48,3.86"}),P.createElement("path",{d:"M44.29,8.53c-3.93,2.37-9.86,3.88-16.49,3.88S15.25,10.9,11.31,8.54"}),P.createElement("line",{x1:"27.8",y1:"0.85",x2:"27.8",y2:"34.61"}),P.createElement("line",{x1:"15.2",y1:"22.23",x2:"49.15",y2:"22.23"})),P.createElement("path",{className:"PhoneInputInternationalIconPhone",stroke:"transparent",fill:"currentColor",d:"M9.42,26.64c2.22-2.22,4.15-3.59.22-8.49S3.08,17,.93,19.17c-2.49,2.48-.13,11.74,9,20.89s18.41,11.5,20.89,9c2.15-2.15,5.91-4.77,1-8.71s-6.27-2-8.49.22c-1.55,1.55-5.48-1.69-8.86-5.08S7.87,28.19,9.42,26.64Z"}))}function ew(t){!function(t){if(t.length<2||"+"!==t[0])return!1;for(var e=1;e=48)||!(n<=57))return!1;e++}return!0}(t)&&console.error("[react-phone-number-input] Expected the initial `value` to be a E.164 phone number. Got",t)}function eE(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n=0||(a[n]=t[n]);return a}(t,e);if(Object.getOwnPropertySymbols){var d=Object.getOwnPropertySymbols(t);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(t,n)&&(a[n]=t[n])}return a}(t,eT),l=a===eS?i:void 0;return P.createElement("div",eR({},u,{className:E("PhoneInputCountryIcon",{"PhoneInputCountryIcon--square":1===l,"PhoneInputCountryIcon--border":d})}),d?P.createElement(r,{country:d,countryName:o,flags:e,flagUrl:n,className:"PhoneInputCountryIconImg"}):P.createElement(a,{title:o,aspectRatio:l,className:"PhoneInputCountryIconImg"}))}return d.propTypes={country:x.string,label:x.string.isRequired,aspectRatio:x.number},d}function eD(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);nt.length)&&(e=t.length);for(var n=0,r=Array(e);n=t.length)return"";var r=t.indexOf(";",n);return r>=0?t.substring(n,r):t.substring(n)}(t);if(!(null===r||0!==r.length&&(e0.test(r)||e1.test(r))))throw new eH("NOT_A_NUMBER");if(null===r)a=n(t)||"";else{a="","+"===r.charAt(0)&&(a+=r);var a,d,o=t.indexOf(e2);d=o>=0?o+e2.length:0;var i=t.indexOf(e3);a+=t.substring(d,i)}var u=a.indexOf(";isub=");if(u>0&&(a=a.substring(0,u)),""!==a)return a}(t,{extractFormattedPhoneNumber:function(t){return function(t,e,n){if(t){if(t.length>250){if(n)throw new eH("TOO_LONG");return}if(!1===e)return t;var r=t.search(e9);if(!(r<0))return t.slice(r).replace(e4,"")}}(t,n,e)}});if(!r)return{};if(!(r.length>=2&&eX.test(r)))return eY.test(r)?{error:"TOO_SHORT"}:{};var a=function(t){var e=t.search(ez);if(e<0)return{};for(var n=t.slice(0,e),r=t.match(ez),a=1;a17){if(e.v2)throw new eH("TOO_LONG");return{}}if(e.v2){var h=new tg(s,c,n.metadata);return l&&(h.country=l),p&&(h.carrierCode=p),o&&(h.ext=o),h.__countryCallingCodeSource=$,h}var y=(e.extended?!!n.hasSelectedNumberingPlan():!!l)&&Z(c,n.nationalNumberPattern());return e.extended?{country:l,countryCallingCode:s,carrierCode:p,valid:y,possible:!!y||!!(!0===e.extended&&n.possibleLengths()&&H(c,n)),phone:c,ext:o}:y?(r={country:l,phone:c},o&&(r.ext=o),r):{}}(t,e6(e6({},r),{},{v2:!0}),n)}catch(t){if(t instanceof eH);else throw t}}(t.text,t.options,t.metadata)}(t||"",e)}function nn(t,e,n){if(t){if("+"===t[0]){if("+"===t)return;var r=new tQ(e,n);return r.input(t),r.getNumberValue()}if(e){var a=no(t,e,n);return"+".concat(C(e,n)).concat(a||"")}}}function nr(t,e){var n,r=e.country,a=e.countries,d=e.defaultCountry,o=e.latestCountrySelectedByUser,i=e.required,u=e.metadata;if("+"===t)return r;var l=((n=new tQ(null,u)).input(t),n.getCountry());if(l)return!a||a.indexOf(l)>=0?l:void 0;if(r){if(ni(t,r,u)){if(o&&ni(t,o,u))return o;if(d&&ni(t,d,u))return d;if(!i)return}else if(!i)return}return r}function na(t,e,n){if(0!==t.indexOf(nt(e,n)))return t.replace(/\D/g,"");var r=new tQ(e,n);r.input(t);var a=r.getNumber();return a?a.formatNational().replace(/\D/g,""):""}function nd(t,e,n){return String.prototype.localeCompare?t.localeCompare(e,n):te?1:0}function no(t,e,n){var r=new tQ(e,n);r.input(t);var a=r.getNumber();return a&&a.nationalNumber}function ni(t,e,n){for(var r=nt(e,n),a=0;a=t.length?{done:!0}:{done:!1,value:t[r++]}}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(t);!(n=r()).done;){var a=n.value;a&&("function"==typeof a?a(e):a.current=e)}})([p.props.inputRef,p.inputRef],t)}),nO(p,"isCountrySupportedWithError",function(t){return eA(t,p.props.metadata)}),nO(p,"onCountryChange",function(t){var e=p.props,n=e.international,r=e.metadata,a=e.onChange,d=e.focusInputOnCountrySelection,o=p.state,i=function(t,e){var n=e.prevCountry,r=e.newCountry,a=e.metadata,d=e.useNationalFormat;if(n===r)return t;if(!t)return d?"":r?nt(r,a):"";if(r){if("+"===t[0]){if(d)return 0===t.indexOf("+"+C(r,a))?function(t,e,n){if(e){var r="+"+C(e,n);if(t.length0)return t.slice(0,t.length-d)}return t}(t,a,p)),t&&"+"!==t[0]&&(!a||c)&&(t="+"+t),!t&&r&&"+"===r[0]&&(a=c?void 0:d),"+"===t&&r&&"+"===r[0]&&r.length>1&&(a=void 0),t&&(n="+"===t[0]?"+"===t?void 0:a&&0===nt(a,p).indexOf(t)?void 0:nn(t,a,p):nn(t,a,p)),n&&(a=nr(n,{country:a,countries:l,defaultCountry:d,latestCountrySelectedByUser:o,required:!1,metadata:p}),!1===c&&a&&t&&"+"===t[0]&&(n=nn(t=na(t,a,p),a,p))),!a&&i&&(a=d||u()),{phoneDigits:t,country:a,value:n}}(t,{prevPhoneDigits:s,country:$,countryRequired:!a,defaultCountry:n,latestCountrySelectedByUser:h,getAnyCountry:function(){return p.getFirstSupportedCountry({countries:c})},countries:c,international:d,limitMaxLength:o,countryCallingCodeEditable:i,metadata:u}),m=y.phoneDigits,g=y.country,v=y.value,b={phoneDigits:m,value:v,country:g};h&&v&&!ni(v,h,u)&&(b.latestCountrySelectedByUser=void 0),!1!==i||v||m!==p.state.phoneDigits||(b.forceRerender={}),p.setState(b,function(){return r(v)})}),nO(p,"_onFocus",function(){return p.setState({isFocused:!0})}),nO(p,"_onBlur",function(){return p.setState({isFocused:!1})}),nO(p,"onFocus",function(t){p._onFocus();var e=p.props.onFocus;e&&e(t)}),nO(p,"onBlur",function(t){var e=p.props.onBlur;p._onBlur(),e&&e(t)}),nO(p,"onCountryFocus",function(t){p._onFocus();var e=p.props.countrySelectProps;if(e){var n=e.onFocus;n&&n(t)}}),nO(p,"onCountryBlur",function(t){p._onBlur();var e=p.props.countrySelectProps;if(e){var n=e.onBlur;n&&n(t)}}),p.inputRef=P.createRef();var e,n,a,d,o,i,u,l,c,s,$,p,h=p.props,y=h.value,m=(h.labels,h.international),g=h.addInternationalOption,v=h.displayInitialValueAsLocalNumber,b=h.initialValueFormat,O=h.metadata,N=p.props,S=N.defaultCountry,x=N.countries;S&&!p.isCountrySupportedWithError(S)&&(S=void 0),y&&ew(y),x=ej(x,O);var I=ne(y,O);p.CountryIcon=eM(p.props);var w=(a=(e={value:y,phoneNumber:I,defaultCountry:S,required:!g,countries:x||ek(O),getAnyCountry:function(){return p.getFirstSupportedCountry({countries:x})},metadata:O}).value,d=e.phoneNumber,o=e.defaultCountry,i=e.getAnyCountry,u=e.countries,l=e.required,c=e.metadata,d&&d.country?n=d.country:o&&(!a||ni(a,o,c))&&(n=o),u&&0>u.indexOf(n)&&(n=void 0),!n&&l&&u&&u.length>0&&(n=i()),n);return p.state={props:p.props,country:w,countries:x,phoneDigits:nu({value:y,phoneNumber:I,defaultCountry:S,international:m,useNationalFormat:v||"national"===b,metadata:O}),value:y},p}return!function(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&nC(t,e)}(r,t),e=[{key:"componentDidMount",value:function(){var t=this.props.onCountryChange,e=this.props.defaultCountry,n=this.state.country;t&&(e&&!this.isCountrySupportedWithError(e)&&(e=void 0),n!==e&&t(n))}},{key:"componentDidUpdate",value:function(t,e){var n=this.props.onCountryChange,r=this.state.country;n&&r!==e.country&&n(r)}},{key:"getCountrySelectOptions",value:function(t){var e=t.countries,n=this.props,r=n.international,a=n.countryCallingCodeEditable,d=n.countryOptionsOrder,o=n.addInternationalOption,i=n.labels,u=n.locales,l=n.metadata;return this.useMemoCountrySelectOptions(function(){var t,n,c,s,$,f,p;return function(t,e){if(!e)return t;for(var n,r=[],a=[],d=r,o=function(t,e){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(n)return(n=n.call(t)).next.bind(n);if(Array.isArray(t)||(n=function(t,e){if(t){if("string"==typeof t)return eE(t,void 0);var n=Object.prototype.toString.call(t).slice(8,-1);if("Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return eE(t,void 0)}}(t))){n&&(t=n);var r=0;return function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(e);!(n=o()).done;)!function(){var e=n.value;if("|"===e)d.push({divider:!0});else if("..."===e||"…"===e)d=a;else{r="\uD83C\uDF10"===e?void 0:e;var r,o=t.indexOf(t.filter(function(t){return t.value===r})[0]),i=t[o];t.splice(o,1),d.push(i)}}();return r.concat(t).concat(a)}((n=(t={countries:e||ek(l),countryNames:i,addInternationalOption:(!r||!1!==a)&&o,compareStringsLocales:u}).countries,c=t.countryNames,s=t.addInternationalOption,$=t.compareStringsLocales,(f=t.compareStrings)||(f=nd),(p=n.map(function(t){return{value:t,label:c[t]||t}})).sort(function(t,e){return f(t.label,e.label,$)}),s&&p.unshift({label:c.ZZ}),p),function(t,e){if(t&&(t=t.filter(function(t){switch(t){case"\uD83C\uDF10":case"|":case"...":case"…":return!0;default:return eA(t,e)}})).length>0)return t}(d,l))},[e,d,o,i,l])}},{key:"useMemoCountrySelectOptions",value:function(t,e){return this.countrySelectOptionsMemoDependencies&&function(t,e){if(t.length!==e.length)return!1;for(var n=0;n=0||(a[n]=t[n]);return a}(t,e);if(Object.getOwnPropertySymbols){var d=Object.getOwnPropertySymbols(t);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(t,n)&&(a[n]=t[n])}return a}(t,nf)),g=this.state,v=g.country,b=g.countries,C=g.phoneDigits,O=g.isFocused,N=this.getCountrySelectOptions({countries:b});return P.createElement($,nm({style:d,className:E(o,"PhoneInput",{"PhoneInput--focus":O,"PhoneInput--disabled":n,"PhoneInput--readOnly":r})},f),P.createElement(c,nm({name:e?"".concat(e,"Country"):void 0,"aria-label":p.country},s,{value:v,options:N,onChange:this.onCountryChange,onFocus:this.onCountryFocus,onBlur:this.onCountryBlur,disabled:n||s&&s.disabled,readOnly:r||s&&s.readOnly,iconComponent:this.CountryIcon})),P.createElement(l?ee:ea,nm({ref:this.setInputRef,type:"tel",autoComplete:a},u,m,{inputFormat:!0===y?"INTERNATIONAL":!1===y?"NATIONAL":"INTERNATIONAL_OR_NATIONAL",international:!!y||void 0,withCountryCallingCode:!!y||void 0,name:e,metadata:h,country:v,value:C||"",onChange:this.onChange,onFocus:this.onFocus,onBlur:this.onBlur,disabled:n,readOnly:r,inputComponent:i,className:E("PhoneInputInput",u&&u.className,m.className)})))}}],n=[{key:"getDerivedStateFromProps",value:function(t,e){return ny({props:t},function(t,e,n){var r=t.metadata,a=t.countries,d=t.defaultCountry,o=t.value,i=t.reset,u=t.international,l=t.displayInitialValueAsLocalNumber,c=t.initialValueFormat,s=e.defaultCountry,$=e.value,f=e.reset;n.country;var p=n.value,h=n.hasUserSelectedACountry,y=n.latestCountrySelectedByUser,m=function(t){return nu(ns(ns({},t),{},{international:u,useNationalFormat:l||"national"===c,metadata:r}))};if(i!==f)return{phoneDigits:m({value:void 0,defaultCountry:d}),value:void 0,country:d,latestCountrySelectedByUser:void 0,hasUserSelectedACountry:void 0};if(d!==s){var g=!d||eA(d,r),v=!p||u&&p===m({value:void 0,defaultCountry:s}),b=!o&&v;if(!h&&g&&b)return{country:d,phoneDigits:m({value:void 0,defaultCountry:d}),value:void 0}}if(!n$(o,$)&&!n$(o,p)){if(o){o&&ew(o),C=ne(o,r);var C,O,N,P=ej(a,r);C&&C.country?(!P||P.indexOf(C.country)>=0)&&(O=C.country):(O=nr(o,{country:void 0,countries:P,metadata:r}))||!d||0!==o.indexOf(nt(d,r))||(O=d)}return o?y&&((O?y===O:ni(o,y,r))?O||(O=y):N={latestCountrySelectedByUser:void 0}):N={latestCountrySelectedByUser:void 0,hasUserSelectedACountry:void 0},ns(ns({},N),{},{phoneDigits:m({phoneNumber:C,value:o,defaultCountry:d}),value:o,country:o?O:d})}}(t,e.props,e))}}],e&&ng(r.prototype,e),n&&ng(r,n),Object.defineProperty(r,"prototype",{writable:!1}),r}(P.PureComponent),nS=P.forwardRef(function(t,e){return P.createElement(nP,nm({},function(t){for(var e in t=ny({},t),nx)void 0===t[e]&&(t[e]=nx[e]);return t}(t),{inputRef:e}))});nS.propTypes={value:x.string,onChange:x.func.isRequired,onFocus:x.func,onBlur:x.func,disabled:x.bool,readOnly:x.bool,autoComplete:x.string,initialValueFormat:x.oneOf(["national"]),displayInitialValueAsLocalNumber:x.bool,defaultCountry:x.string,countries:x.arrayOf(x.string),labels:w,locales:x.oneOfType([x.string,x.arrayOf(x.string)]),flagUrl:x.string,flags:x.objectOf(x.elementType),flagComponent:x.elementType,addInternationalOption:x.bool,internationalIcon:x.elementType,countryOptionsOrder:x.arrayOf(x.string),style:x.object,className:x.string,countrySelectComponent:x.elementType,countrySelectProps:x.object,inputComponent:x.elementType,numberInputProps:x.object,containerComponent:x.elementType,containerComponentProps:x.object,smartCaret:x.bool,international:x.bool,limitMaxLength:x.bool,countryCallingCodeEditable:x.bool,metadata:I,onCountryChange:x.func,focusInputOnCountrySelection:x.bool};var nx={autoComplete:"tel",countrySelectComponent:ep,flagComponent:ev,flagUrl:"https://purecatamphetamine.github.io/country-flag-icons/3x2/{XX}.svg",internationalIcon:eS,inputComponent:"input",containerComponent:"div",reset:x.any,smartCaret:!0,addInternationalOption:!0,countryCallingCodeEditable:!0,focusInputOnCountrySelection:!0},nI=["metadata","labels"];function nw(){return(nw=Object.assign?Object.assign.bind():function(t){for(var e=1;e=0||(a[n]=t[n]);return a}(t,e);if(Object.getOwnPropertySymbols){var d=Object.getOwnPropertySymbols(t);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(t,n)&&(a[n]=t[n])}return a}(e,nI);return P.createElement(nS,nw({},i,{ref:n,metadata:a,labels:o}))});return e.propTypes={metadata:I,labels:w},e}nE();let nA=nE(r);function nj(){return function(t,e){var n=Array.prototype.slice.call(e);return n.push(r),t.apply(this,n)}(C,arguments)}}}]); \ No newline at end of file diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/4020-37bd34bf1a36f3fb.js b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/4020-37bd34bf1a36f3fb.js new file mode 100644 index 0000000..0f44f69 --- /dev/null +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/4020-37bd34bf1a36f3fb.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4020],{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"}]])},89463:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(39997).A)("CircleArrowDown",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 8v8",key:"napkw2"}],["path",{d:"m8 12 4 4 4-4",key:"k98ssh"}]])},622:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(39997).A)("CircleArrowUp",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m16 12-4-4-4 4",key:"177agl"}],["path",{d:"M12 16V8",key:"1sbj14"}]])},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"}]])},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"}]])},8782:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(39997).A)("Clock",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polyline",{points:"12 6 12 12 16 14",key:"68esgv"}]])},54385:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(39997).A)("EyeOff",[["path",{d:"M10.733 5.076a10.744 10.744 0 0 1 11.205 6.575 1 1 0 0 1 0 .696 10.747 10.747 0 0 1-1.444 2.49",key:"ct8e1f"}],["path",{d:"M14.084 14.158a3 3 0 0 1-4.242-4.242",key:"151rxh"}],["path",{d:"M17.479 17.499a10.75 10.75 0 0 1-15.417-5.151 1 1 0 0 1 0-.696 10.75 10.75 0 0 1 4.446-5.143",key:"13bj9a"}],["path",{d:"m2 2 20 20",key:"1ooewy"}]])},51589:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(39997).A)("Eye",[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]])},10964:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(39997).A)("Gauge",[["path",{d:"m12 14 4-4",key:"9kzdfg"}],["path",{d:"M3.34 19a10 10 0 1 1 17.32 0",key:"19p75a"}]])},13624:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(39997).A)("Info",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]])},99312:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(39997).A)("Link",[["path",{d:"M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71",key:"1cjeqo"}],["path",{d:"M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71",key:"19qd67"}]])},92867:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(39997).A)("MonitorCheck",[["path",{d:"m9 10 2 2 4-4",key:"1gnqz4"}],["rect",{width:"20",height:"14",x:"2",y:"3",rx:"2",key:"48i651"}],["path",{d:"M12 17v4",key:"1riwvh"}],["path",{d:"M8 21h8",key:"1ev6f3"}]])},32810:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(39997).A)("MonitorOff",[["path",{d:"M17 17H4a2 2 0 0 1-2-2V5c0-1.5 1-2 1-2",key:"k0q8oc"}],["path",{d:"M22 15V5a2 2 0 0 0-2-2H9",key:"cp1ac0"}],["path",{d:"M8 21h8",key:"1ev6f3"}],["path",{d:"M12 17v4",key:"1riwvh"}],["path",{d:"m2 2 20 20",key:"1ooewy"}]])},7778:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(39997).A)("Network",[["rect",{x:"16",y:"16",width:"6",height:"6",rx:"1",key:"4q2zg0"}],["rect",{x:"2",y:"16",width:"6",height:"6",rx:"1",key:"8cvhb9"}],["rect",{x:"9",y:"2",width:"6",height:"6",rx:"1",key:"1egb70"}],["path",{d:"M5 16v-3a1 1 0 0 1 1-1h12a1 1 0 0 1 1 1v3",key:"1jsf9p"}],["path",{d:"M12 12V8",key:"2874zd"}]])},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"}]])},99015:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(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"}]])},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"}]])},90304:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(39997).A)("TrendingDown",[["polyline",{points:"22 17 13.5 8.5 8.5 13.5 2 7",key:"1r2t7k"}],["polyline",{points:"16 17 22 17 22 11",key:"11uiuu"}]])},20633:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(39997).A)("TrendingUp",[["polyline",{points:"22 7 13.5 15.5 8.5 10.5 2 17",key:"126l90"}],["polyline",{points:"16 7 22 7 22 13",key:"kwv8wd"}]])},12607:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(39997).A)("TriangleAlert",[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]])},92823:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(39997).A)("Zap",[["path",{d:"M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z",key:"1xq2db"}]])},92776:function(e,t,n){var r=this&&this.__assign||function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;nt.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);it.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n};Object.defineProperty(t,"__esModule",{value:!0});var l=a(n(20107)),u=n(22184),s=n(30120),d=[(0,s.createAnimation)("PropagateLoader","25% {transform: translateX(-".concat(1,"rem) scale(0.75)}\n 50% {transform: translateX(-").concat(3,"rem) scale(0.6)}\n 75% {transform: translateX(-").concat(5,"rem) scale(0.5)}\n 95% {transform: translateX(0rem) scale(1)}"),"propogate-0"),(0,s.createAnimation)("PropagateLoader","25% {transform: translateX(-".concat(1,"rem) scale(0.75)}\n 50% {transform: translateX(-").concat(3,"rem) scale(0.6)}\n 75% {transform: translateX(-").concat(3,"rem) scale(0.6)}\n 95% {transform: translateX(0rem) scale(1)}"),"propogate-1"),(0,s.createAnimation)("PropagateLoader","25% {transform: translateX(-".concat(1,"rem) scale(0.75)}\n 75% {transform: translateX(-").concat(1,"rem) scale(0.75)}\n 95% {transform: translateX(0rem) scale(1)}"),"propogate-2"),(0,s.createAnimation)("PropagateLoader","25% {transform: translateX(".concat(1,"rem) scale(0.75)}\n 75% {transform: translateX(").concat(1,"rem) scale(0.75)}\n 95% {transform: translateX(0rem) scale(1)}"),"propogate-3"),(0,s.createAnimation)("PropagateLoader","25% {transform: translateX(".concat(1,"rem) scale(0.75)}\n 50% {transform: translateX(").concat(3,"rem) scale(0.6)}\n 75% {transform: translateX(").concat(3,"rem) scale(0.6)}\n 95% {transform: translateX(0rem) scale(1)}"),"propogate-4"),(0,s.createAnimation)("PropagateLoader","25% {transform: translateX(".concat(1,"rem) scale(0.75)}\n 50% {transform: translateX(").concat(3,"rem) scale(0.6)}\n 75% {transform: translateX(").concat(5,"rem) scale(0.5)}\n 95% {transform: translateX(0rem) scale(1)}"),"propogate-5")];t.default=function(e){var t=e.loading,n=e.color,i=void 0===n?"#000000":n,o=e.speedMultiplier,a=void 0===o?1:o,s=e.cssOverride,f=e.size,p=c(e,["loading","color","speedMultiplier","cssOverride","size"]),y=(0,u.parseLengthAndUnit)(void 0===f?15:f),h=y.value,m=y.unit,v=r({display:"inherit",position:"relative"},void 0===s?{}:s),g=function(e){return{position:"absolute",fontSize:"".concat(h/3).concat(m),width:"".concat(h).concat(m),height:"".concat(h).concat(m),background:i,borderRadius:"50%",animation:"".concat(d[e]," ").concat(1.5/a,"s infinite"),animationFillMode:"forwards"}};return void 0===t||t?l.createElement("span",r({style:v},p),l.createElement("span",{style:g(0)}),l.createElement("span",{style:g(1)}),l.createElement("span",{style:g(2)}),l.createElement("span",{style:g(3)}),l.createElement("span",{style:g(4)}),l.createElement("span",{style:g(5)})):null}},71834:(e,t,n)=>{n.d(t,{A:()=>s});var r=n(20107),i={cm:!0,mm:!0,in:!0,px:!0,pt:!0,pc:!0,em:!0,ex:!0,ch:!0,rem:!0,vw:!0,vh:!0,vmin:!0,vmax:!0,"%":!0};function o(e){var t=function(e){if("number"==typeof e)return{value:e,unit:"px"};var t,n=(e.match(/^[0-9.]*/)||"").toString();t=n.includes(".")?parseFloat(n):parseInt(n,10);var r=(e.match(/[^0-9]*$/)||"").toString();return i[r]?{value:t,unit:r}:(console.warn("React Spinners: ".concat(e," is not a valid css value. Defaulting to ").concat(t,"px.")),{value:t,unit:"px"})}(e);return"".concat(t.value).concat(t.unit)}var a=function(e,t,n){var r="react-spinners-".concat(e,"-").concat(n);if("undefined"==typeof window||!window.document)return r;var i=document.createElement("style");document.head.appendChild(i);var o=i.sheet,a="\n @keyframes ".concat(r," {\n ").concat(t,"\n }\n ");return o&&o.insertRule(a,0),r},c=function(){return(c=Object.assign||function(e){for(var t,n=1,r=arguments.length;nt.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);it.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n},u=[a("PuffLoader","0% {transform: scale(0)} 100% {transform: scale(1.0)}","puff-1"),a("PuffLoader","0% {opacity: 1} 100% {opacity: 0}","puff-2")];let s=function(e){var t=e.loading,n=e.color,i=void 0===n?"#000000":n,a=e.speedMultiplier,s=void 0===a?1:a,d=e.cssOverride,f=e.size,p=void 0===f?60:f,y=l(e,["loading","color","speedMultiplier","cssOverride","size"]),h=c({display:"inherit",position:"relative",width:o(p),height:o(p)},void 0===d?{}:d),m=function(e){return{position:"absolute",height:o(p),width:o(p),border:"thick solid ".concat(i),borderRadius:"50%",opacity:"1",top:"0",left:"0",animationFillMode:"both",animation:"".concat(u[0],", ").concat(u[1]),animationDuration:"".concat(2/s,"s"),animationIterationCount:"infinite",animationTimingFunction:"cubic-bezier(0.165, 0.84, 0.44, 1), cubic-bezier(0.3, 0.61, 0.355, 1)",animationDelay:1===e?"-1s":"0s"}};return void 0===t||t?r.createElement("span",c({style:h},y),r.createElement("span",{style:m(1)}),r.createElement("span",{style:m(2)})):null}},30120:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.createAnimation=void 0,t.createAnimation=function(e,t,n){var r="react-spinners-".concat(e,"-").concat(n);if("undefined"==typeof window||!window.document)return r;var i=document.createElement("style");document.head.appendChild(i);var o=i.sheet,a="\n @keyframes ".concat(r," {\n ").concat(t,"\n }\n ");return o&&o.insertRule(a,0),r}},22184:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.cssValue=t.parseLengthAndUnit=void 0;var n={cm:!0,mm:!0,in:!0,px:!0,pt:!0,pc:!0,em:!0,ex:!0,ch:!0,rem:!0,vw:!0,vh:!0,vmin:!0,vmax:!0,"%":!0};function r(e){if("number"==typeof e)return{value:e,unit:"px"};var t,r=(e.match(/^[0-9.]*/)||"").toString();t=r.includes(".")?parseFloat(r):parseInt(r,10);var i=(e.match(/[^0-9]*$/)||"").toString();return n[i]?{value:t,unit:i}:(console.warn("React Spinners: ".concat(e," is not a valid css value. Defaulting to ").concat(t,"px.")),{value:t,unit:"px"})}t.parseLengthAndUnit=r,t.cssValue=function(e){var t=r(e);return"".concat(t.value).concat(t.unit)}},79492:(e,t,n)=>{n.d(t,{G:()=>R});var r=n(20107),i=n(64901),o=n(61075),a=n(14632),c=n.n(a),l=n(12838),u=n.n(l),s=n(87107),d=n.n(s),f=n(50801),p=n.n(f),y=n(6440),h=n.n(y),m=n(60992),v=n(42555),g=n(37819),b=n(58864),x=n(95392),A=n(89952),O=n(95492),w=n(61211),k=["layout","type","stroke","connectNulls","isRange","ref"],E=["key"];function j(e){return(j="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function P(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function D(){return(D=Object.assign?Object.assign.bind():function(e){for(var t=1;t0||!h()(c,r)||!h()(l,i))?this.renderAreaWithAnimation(e,t):this.renderAreaStatically(r,i,e,t)}},{key:"render",value:function(){var e,t=this.props,n=t.hide,o=t.dot,a=t.points,c=t.className,l=t.top,u=t.left,s=t.xAxis,f=t.yAxis,p=t.width,y=t.height,h=t.isAnimationActive,m=t.id;if(n||!a||!a.length)return null;var v=this.state.isAnimationFinished,x=1===a.length,A=(0,i.A)("recharts-area",c),O=s&&s.allowDataOverflow,k=f&&f.allowDataOverflow,E=O||k,j=d()(m)?this.id:m,P=null!==(e=(0,w.J9)(o,!1))&&void 0!==e?e:{r:3,strokeWidth:2},D=P.r,M=P.strokeWidth,S=((0,w.sT)(o)?o:{}).clipDot,I=void 0===S||S,C=2*(void 0===D?3:D)+(void 0===M?2:M);return r.createElement(g.W,{className:A},O||k?r.createElement("defs",null,r.createElement("clipPath",{id:"clipPath-".concat(j)},r.createElement("rect",{x:O?u:u-p/2,y:k?l:l-y/2,width:O?p:2*p,height:k?y:2*y})),!I&&r.createElement("clipPath",{id:"clipPath-dots-".concat(j)},r.createElement("rect",{x:u-C/2,y:l-C/2,width:p+C,height:y+C}))):null,x?null:this.renderArea(E,j),(o||x)&&this.renderDots(E,I,j),(!h||v)&&b.Z.renderCallByParent(this.props,a))}}],n=[{key:"getDerivedStateFromProps",value:function(e,t){return e.animationId!==t.prevAnimationId?{prevAnimationId:e.animationId,curPoints:e.points,curBaseLine:e.baseLine,prevPoints:t.curPoints,prevBaseLine:t.curBaseLine}:e.points!==t.curPoints||e.baseLine!==t.curBaseLine?{curPoints:e.points,curBaseLine:e.baseLine}:null}}],t&&I(a.prototype,t),n&&I(a,n),Object.defineProperty(a,"prototype",{writable:!1}),a}(r.PureComponent);L(R,"displayName","Area"),L(R,"defaultProps",{stroke:"#3182bd",fill:"#3182bd",fillOpacity:.6,xAxisId:0,yAxisId:0,legendType:"line",connectNulls:!1,points:[],dot:!1,activeDot:!0,hide:!1,isAnimationActive:!x.m.isSsr,animationBegin:0,animationDuration:1500,animationEasing:"ease"}),L(R,"getBaseValue",function(e,t,n,r){var i=e.layout,o=e.baseValue,a=t.props.baseValue,c=null!=a?a:o;if((0,A.Et)(c)&&"number"==typeof c)return c;var l="horizontal"===i?r:n,u=l.scale.domain();if("number"===l.type){var s=Math.max(u[0],u[1]),d=Math.min(u[0],u[1]);return"dataMin"===c?d:"dataMax"===c?s:s<0?s:Math.max(Math.min(u[0],u[1]),0)}return"dataMin"===c?u[0]:"dataMax"===c?u[1]:u[0]}),L(R,"getComposedData",function(e){var t,n=e.props,r=e.item,i=e.xAxis,o=e.yAxis,a=e.xAxisTicks,c=e.yAxisTicks,l=e.bandSize,u=e.dataKey,s=e.stackedData,d=e.dataStartIndex,f=e.displayedData,p=e.offset,y=n.layout,h=s&&s.length,m=R.getBaseValue(n,r,i,o),v="horizontal"===y,g=!1,b=f.map(function(e,t){h?n=s[d+t]:Array.isArray(n=(0,O.kr)(e,u))?g=!0:n=[m,n];var n,r=null==n[1]||h&&null==(0,O.kr)(e,u);return v?{x:(0,O.nb)({axis:i,ticks:a,bandSize:l,entry:e,index:t}),y:r?null:o.scale(n[1]),value:n,payload:e}:{x:r?null:i.scale(n[1]),y:(0,O.nb)({axis:o,ticks:c,bandSize:l,entry:e,index:t}),value:n,payload:e}});return t=h||g?b.map(function(e){var t=Array.isArray(e.value)?e.value[0]:null;return v?{x:e.x,y:null!=t&&null!=e.y?o.scale(t):null}:{x:null!=t?i.scale(t):null,y:e.y}}):v?o.scale(m):i.scale(m),S({points:b,baseLine:t,layout:y,isRange:g},p)}),L(R,"renderDotItem",function(e,t){var n;if(r.isValidElement(e))n=r.cloneElement(e,t);else if(c()(e))n=e(t);else{var o=(0,i.A)("recharts-area-dot","boolean"!=typeof e?e.className:""),a=t.key,l=P(t,E);n=r.createElement(v.c,D({},l,{key:a,className:o}))}return n})},94005:(e,t,n)=>{n.d(t,{d:()=>M});var r=n(20107),i=n(14632),o=n.n(i),a=n(42228),c=n(89952),l=n(61211),u=n(95492),s=n(62882),d=n(67064),f=n(25161),p=["x1","y1","x2","y2","key"],y=["offset"];function h(e){return(h="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function m(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function v(e){for(var t=1;t=0)continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}var x=function(e){var t=e.fill;if(!t||"none"===t)return null;var n=e.fillOpacity,i=e.x,o=e.y,a=e.width,c=e.height,l=e.ry;return r.createElement("rect",{x:i,y:o,ry:l,width:a,height:c,stroke:"none",fill:t,fillOpacity:n,className:"recharts-cartesian-grid-bg"})};function A(e,t){var n;if(r.isValidElement(e))n=r.cloneElement(e,t);else if(o()(e))n=e(t);else{var i=t.x1,a=t.y1,c=t.x2,u=t.y2,s=t.key,d=b(t,p),f=(0,l.J9)(d,!1),h=(f.offset,b(f,y));n=r.createElement("line",g({},h,{x1:i,y1:a,x2:c,y2:u,fill:"none",key:s}))}return n}function O(e){var t=e.x,n=e.width,i=e.horizontal,o=void 0===i||i,a=e.horizontalPoints;if(!o||!a||!a.length)return null;var c=a.map(function(r,i){return A(o,v(v({},e),{},{x1:t,y1:r,x2:t+n,y2:r,key:"line-".concat(i),index:i}))});return r.createElement("g",{className:"recharts-cartesian-grid-horizontal"},c)}function w(e){var t=e.y,n=e.height,i=e.vertical,o=void 0===i||i,a=e.verticalPoints;if(!o||!a||!a.length)return null;var c=a.map(function(r,i){return A(o,v(v({},e),{},{x1:r,y1:t,x2:r,y2:t+n,key:"line-".concat(i),index:i}))});return r.createElement("g",{className:"recharts-cartesian-grid-vertical"},c)}function k(e){var t=e.horizontalFill,n=e.fillOpacity,i=e.x,o=e.y,a=e.width,c=e.height,l=e.horizontalPoints,u=e.horizontal;if(!(void 0===u||u)||!t||!t.length)return null;var s=l.map(function(e){return Math.round(e+o-o)}).sort(function(e,t){return e-t});o!==s[0]&&s.unshift(0);var d=s.map(function(e,l){var u=s[l+1]?s[l+1]-e:o+c-e;if(u<=0)return null;var d=l%t.length;return r.createElement("rect",{key:"react-".concat(l),y:e,x:i,height:u,width:a,stroke:"none",fill:t[d],fillOpacity:n,className:"recharts-cartesian-grid-bg"})});return r.createElement("g",{className:"recharts-cartesian-gridstripes-horizontal"},d)}function E(e){var t=e.vertical,n=e.verticalFill,i=e.fillOpacity,o=e.x,a=e.y,c=e.width,l=e.height,u=e.verticalPoints;if(!(void 0===t||t)||!n||!n.length)return null;var s=u.map(function(e){return Math.round(e+o-o)}).sort(function(e,t){return e-t});o!==s[0]&&s.unshift(0);var d=s.map(function(e,t){var u=s[t+1]?s[t+1]-e:o+c-e;if(u<=0)return null;var d=t%n.length;return r.createElement("rect",{key:"react-".concat(t),x:e,y:a,width:u,height:l,stroke:"none",fill:n[d],fillOpacity:i,className:"recharts-cartesian-grid-bg"})});return r.createElement("g",{className:"recharts-cartesian-gridstripes-vertical"},d)}var j=function(e,t){var n=e.xAxis,r=e.width,i=e.height,o=e.offset;return(0,u.PW)((0,s.f)(v(v(v({},d.u.defaultProps),n),{},{ticks:(0,u.Rh)(n,!0),viewBox:{x:0,y:0,width:r,height:i}})),o.left,o.left+o.width,t)},P=function(e,t){var n=e.yAxis,r=e.width,i=e.height,o=e.offset;return(0,u.PW)((0,s.f)(v(v(v({},d.u.defaultProps),n),{},{ticks:(0,u.Rh)(n,!0),viewBox:{x:0,y:0,width:r,height:i}})),o.top,o.top+o.height,t)},D={horizontal:!0,vertical:!0,stroke:"#ccc",fill:"none",verticalFill:[],horizontalFill:[]};function M(e){var t,n,i,l,u,s,d=(0,f.yi)(),p=(0,f.rY)(),y=(0,f.hj)(),m=v(v({},e),{},{stroke:null!==(t=e.stroke)&&void 0!==t?t:D.stroke,fill:null!==(n=e.fill)&&void 0!==n?n:D.fill,horizontal:null!==(i=e.horizontal)&&void 0!==i?i:D.horizontal,horizontalFill:null!==(l=e.horizontalFill)&&void 0!==l?l:D.horizontalFill,vertical:null!==(u=e.vertical)&&void 0!==u?u:D.vertical,verticalFill:null!==(s=e.verticalFill)&&void 0!==s?s:D.verticalFill,x:(0,c.Et)(e.x)?e.x:y.left,y:(0,c.Et)(e.y)?e.y:y.top,width:(0,c.Et)(e.width)?e.width:y.width,height:(0,c.Et)(e.height)?e.height:y.height}),b=m.x,A=m.y,M=m.width,S=m.height,I=m.syncWithTicks,C=m.horizontalValues,N=m.verticalValues,F=(0,f.pj)(),L=(0,f.$G)();if(!(0,c.Et)(M)||M<=0||!(0,c.Et)(S)||S<=0||!(0,c.Et)(b)||b!==+b||!(0,c.Et)(A)||A!==+A)return null;var z=m.verticalCoordinatesGenerator||j,R=m.horizontalCoordinatesGenerator||P,_=m.horizontalPoints,T=m.verticalPoints;if((!_||!_.length)&&o()(R)){var B=C&&C.length,V=R({yAxis:L?v(v({},L),{},{ticks:B?C:L.ticks}):void 0,width:d,height:p,offset:y},!!B||I);(0,a.R)(Array.isArray(V),"horizontalCoordinatesGenerator should return Array but instead it returned [".concat(h(V),"]")),Array.isArray(V)&&(_=V)}if((!T||!T.length)&&o()(z)){var X=N&&N.length,q=z({xAxis:F?v(v({},F),{},{ticks:X?N:F.ticks}):void 0,width:d,height:p,offset:y},!!X||I);(0,a.R)(Array.isArray(q),"verticalCoordinatesGenerator should return Array but instead it returned [".concat(h(q),"]")),Array.isArray(q)&&(T=q)}return r.createElement("g",{className:"recharts-cartesian-grid"},r.createElement(x,{fill:m.fill,fillOpacity:m.fillOpacity,x:m.x,y:m.y,width:m.width,height:m.height,ry:m.ry}),r.createElement(O,g({},m,{offset:y,horizontalPoints:_,xAxis:F,yAxis:L})),r.createElement(w,g({},m,{offset:y,verticalPoints:T,xAxis:F,yAxis:L})),r.createElement(k,g({},m,{horizontalPoints:_})),r.createElement(E,g({},m,{verticalPoints:T})))}M.displayName="CartesianGrid"},53134:(e,t,n)=>{n.d(t,{Q:()=>l});var r=n(90805),i=n(79492),o=n(4538),a=n(41797),c=n(98456),l=(0,r.gu)({chartName:"AreaChart",GraphicalChild:i.G,axisComponents:[{axisType:"xAxis",AxisComp:o.W},{axisType:"yAxis",AxisComp:a.h}],formatAxisMap:c.pr})},60241:(e,t,n)=>{n.d(t,{G$:()=>U,Hs:()=>A,UC:()=>et,VY:()=>er,ZL:()=>Q,bL:()=>K,bm:()=>ei,hE:()=>en,hJ:()=>ee,l9:()=>Y});var r=n(20107),i=n(94521),o=n(64236),a=n(45170),c=n(72763),l=n(13061),u=n(55302),s=n(38573),d=n(41913),f=n(54245),p=n(34544),y=n(10201),h=n(9543),m=n(58020),v=n(61837),g=n(20475),b="Dialog",[x,A]=(0,a.A)(b),[O,w]=x(b),k=e=>{let{__scopeDialog:t,children:n,open:i,defaultOpen:o,onOpenChange:a,modal:u=!0}=e,s=r.useRef(null),d=r.useRef(null),[f=!1,p]=(0,l.i)({prop:i,defaultProp:o,onChange:a});return(0,g.jsx)(O,{scope:t,triggerRef:s,contentRef:d,contentId:(0,c.B)(),titleId:(0,c.B)(),descriptionId:(0,c.B)(),open:f,onOpenChange:p,onOpenToggle:r.useCallback(()=>p(e=>!e),[p]),modal:u,children:n})};k.displayName=b;var E="DialogTrigger",j=r.forwardRef((e,t)=>{let{__scopeDialog:n,...r}=e,a=w(E,n),c=(0,o.s)(t,a.triggerRef);return(0,g.jsx)(p.sG.button,{type:"button","aria-haspopup":"dialog","aria-expanded":a.open,"aria-controls":a.contentId,"data-state":G(a.open),...r,ref:c,onClick:(0,i.m)(e.onClick,a.onOpenToggle)})});j.displayName=E;var P="DialogPortal",[D,M]=x(P,{forceMount:void 0}),S=e=>{let{__scopeDialog:t,forceMount:n,children:i,container:o}=e,a=w(P,t);return(0,g.jsx)(D,{scope:t,forceMount:n,children:r.Children.map(i,e=>(0,g.jsx)(f.C,{present:n||a.open,children:(0,g.jsx)(d.Z,{asChild:!0,container:o,children:e})}))})};S.displayName=P;var I="DialogOverlay",C=r.forwardRef((e,t)=>{let n=M(I,e.__scopeDialog),{forceMount:r=n.forceMount,...i}=e,o=w(I,e.__scopeDialog);return o.modal?(0,g.jsx)(f.C,{present:r||o.open,children:(0,g.jsx)(N,{...i,ref:t})}):null});C.displayName=I;var N=r.forwardRef((e,t)=>{let{__scopeDialog:n,...r}=e,i=w(I,n);return(0,g.jsx)(h.A,{as:v.DX,allowPinchZoom:!0,shards:[i.contentRef],children:(0,g.jsx)(p.sG.div,{"data-state":G(i.open),...r,ref:t,style:{pointerEvents:"auto",...r.style}})})}),F="DialogContent",L=r.forwardRef((e,t)=>{let n=M(F,e.__scopeDialog),{forceMount:r=n.forceMount,...i}=e,o=w(F,e.__scopeDialog);return(0,g.jsx)(f.C,{present:r||o.open,children:o.modal?(0,g.jsx)(z,{...i,ref:t}):(0,g.jsx)(R,{...i,ref:t})})});L.displayName=F;var z=r.forwardRef((e,t)=>{let n=w(F,e.__scopeDialog),a=r.useRef(null),c=(0,o.s)(t,n.contentRef,a);return r.useEffect(()=>{let e=a.current;if(e)return(0,m.Eq)(e)},[]),(0,g.jsx)(_,{...e,ref:c,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:(0,i.m)(e.onCloseAutoFocus,e=>{var t;e.preventDefault(),null===(t=n.triggerRef.current)||void 0===t||t.focus()}),onPointerDownOutside:(0,i.m)(e.onPointerDownOutside,e=>{let t=e.detail.originalEvent,n=0===t.button&&!0===t.ctrlKey;(2===t.button||n)&&e.preventDefault()}),onFocusOutside:(0,i.m)(e.onFocusOutside,e=>e.preventDefault())})}),R=r.forwardRef((e,t)=>{let n=w(F,e.__scopeDialog),i=r.useRef(!1),o=r.useRef(!1);return(0,g.jsx)(_,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{var r,a;null===(r=e.onCloseAutoFocus)||void 0===r||r.call(e,t),t.defaultPrevented||(i.current||null===(a=n.triggerRef.current)||void 0===a||a.focus(),t.preventDefault()),i.current=!1,o.current=!1},onInteractOutside:t=>{var r,a;null===(r=e.onInteractOutside)||void 0===r||r.call(e,t),t.defaultPrevented||(i.current=!0,"pointerdown"!==t.detail.originalEvent.type||(o.current=!0));let c=t.target;(null===(a=n.triggerRef.current)||void 0===a?void 0:a.contains(c))&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&o.current&&t.preventDefault()}})}),_=r.forwardRef((e,t)=>{let{__scopeDialog:n,trapFocus:i,onOpenAutoFocus:a,onCloseAutoFocus:c,...l}=e,d=w(F,n),f=r.useRef(null),p=(0,o.s)(t,f);return(0,y.Oh)(),(0,g.jsxs)(g.Fragment,{children:[(0,g.jsx)(s.n,{asChild:!0,loop:!0,trapped:i,onMountAutoFocus:a,onUnmountAutoFocus:c,children:(0,g.jsx)(u.qW,{role:"dialog",id:d.contentId,"aria-describedby":d.descriptionId,"aria-labelledby":d.titleId,"data-state":G(d.open),...l,ref:p,onDismiss:()=>d.onOpenChange(!1)})}),(0,g.jsxs)(g.Fragment,{children:[(0,g.jsx)($,{titleId:d.titleId}),(0,g.jsx)(Z,{contentRef:f,descriptionId:d.descriptionId})]})]})}),T="DialogTitle",B=r.forwardRef((e,t)=>{let{__scopeDialog:n,...r}=e,i=w(T,n);return(0,g.jsx)(p.sG.h2,{id:i.titleId,...r,ref:t})});B.displayName=T;var V="DialogDescription",X=r.forwardRef((e,t)=>{let{__scopeDialog:n,...r}=e,i=w(V,n);return(0,g.jsx)(p.sG.p,{id:i.descriptionId,...r,ref:t})});X.displayName=V;var q="DialogClose",W=r.forwardRef((e,t)=>{let{__scopeDialog:n,...r}=e,o=w(q,n);return(0,g.jsx)(p.sG.button,{type:"button",...r,ref:t,onClick:(0,i.m)(e.onClick,()=>o.onOpenChange(!1))})});function G(e){return e?"open":"closed"}W.displayName=q;var H="DialogTitleWarning",[U,J]=(0,a.q)(H,{contentName:F,titleName:T,docsSlug:"dialog"}),$=e=>{let{titleId:t}=e,n=J(H),i="`".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(i)},[i,t]),null},Z=e=>{let{contentRef:t,descriptionId:n}=e,i=J("DialogDescriptionWarning"),o="Warning: Missing `Description` or `aria-describedby={undefined}` for {".concat(i.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(o)},[o,t,n]),null},K=k,Y=j,Q=S,ee=C,et=L,en=B,er=X,ei=W},74043:(e,t,n)=>{n.d(t,{A:()=>E});var r=n(20107);function i(e){return"[object Object]"===Object.prototype.toString.call(e)||Array.isArray(e)}function o(e,t){let n=Object.keys(e),r=Object.keys(t);return n.length===r.length&&JSON.stringify(Object.keys(e.breakpoints||{}))===JSON.stringify(Object.keys(t.breakpoints||{}))&&n.every(n=>{let r=e[n],a=t[n];return"function"==typeof r?`${r}`==`${a}`:i(r)&&i(a)?o(r,a):r===a})}function a(e){return e.concat().sort((e,t)=>e.name>t.name?1:-1).map(e=>e.options)}function c(e){return"number"==typeof e}function l(e){return"string"==typeof e}function u(e){return"boolean"==typeof e}function s(e){return"[object Object]"===Object.prototype.toString.call(e)}function d(e){return Math.abs(e)}function f(e){return Math.sign(e)}function p(e){return v(e).map(Number)}function y(e){return e[h(e)]}function h(e){return Math.max(0,e.length-1)}function m(e,t=0){return Array.from(Array(e),(e,n)=>t+n)}function v(e){return Object.keys(e)}function g(e,t){return void 0!==t.MouseEvent&&e instanceof t.MouseEvent}function b(){let e=[],t={add:function(n,r,i,o={passive:!0}){let a;return"addEventListener"in n?(n.addEventListener(r,i,o),a=()=>n.removeEventListener(r,i,o)):(n.addListener(i),a=()=>n.removeListener(i)),e.push(a),t},clear:function(){e=e.filter(e=>e())}};return t}function x(e=0,t=0){let n=d(e-t);function r(n){return nt}return{length:n,max:t,min:e,constrain:function(n){return r(n)?nt},reachedMin:function(t){return t(v(n).forEach(r=>{let i=t[r],o=n[r],a=s(i)&&s(o);t[r]=a?e(i,o):o}),t),{})}(e,t||{})}return{mergeOptions:t,optionsAtMedia:function(n){let r=n.breakpoints||{},i=v(r).filter(t=>e.matchMedia(t).matches).map(e=>r[e]).reduce((e,n)=>t(e,n),{});return t(n,i)},optionsMediaQueries:function(t){return t.map(e=>v(e.breakpoints||{})).reduce((e,t)=>e.concat(t),[]).map(e.matchMedia)}}}(P),M=(E=[],{init:function(e,t){return(E=t.filter(({options:e})=>!1!==D.optionsAtMedia(e).active)).forEach(t=>t.init(e,D)),t.reduce((e,t)=>Object.assign(e,{[t.name]:t}),{})},destroy:function(){E=E.filter(e=>e.destroy())}}),S=b(),I=function(){let e,t={},n={init:function(t){e=t},emit:function(r){return(t[r]||[]).forEach(t=>t(e,r)),n},off:function(e,r){return t[e]=(t[e]||[]).filter(e=>e!==r),n},on:function(e,r){return t[e]=(t[e]||[]).concat([r]),n},clear:function(){t={}}};return n}(),{mergeOptions:C,optionsAtMedia:N,optionsMediaQueries:F}=D,{on:L,off:z,emit:R}=I,_=!1,T=C(w,k.globalOptions),B=C(T),V=[];function X(t,n){!_&&(B=N(T=C(T,t)),V=n||V,function(){let{container:t,slides:n}=B;o=(l(t)?e.querySelector(t):t)||e.children[0];let r=l(n)?o.querySelectorAll(n):n;a=[].slice.call(r||o.children)}(),r=function t(n){let r=function(e,t,n,r,i,o,a){let s,w;let{align:k,axis:E,direction:j,startIndex:P,loop:D,duration:M,dragFree:S,dragThreshold:I,inViewThreshold:C,slidesToScroll:N,skipSnaps:F,containScroll:L,watchResize:z,watchSlides:R,watchDrag:_,watchFocus:T}=o,B={measure:function(e){let{offsetTop:t,offsetLeft:n,offsetWidth:r,offsetHeight:i}=e;return{top:t,right:n+r,bottom:t+i,left:n,width:r,height:i}}},V=B.measure(t),X=n.map(B.measure),q=function(e,t){let n="rtl"===t,r="y"===e,i=!r&&n?-1:1;return{scroll:r?"y":"x",cross:r?"x":"y",startEdge:r?"top":n?"right":"left",endEdge:r?"bottom":n?"left":"right",measureSize:function(e){let{height:t,width:n}=e;return r?t:n},direction:function(e){return e*i}}}(E,j),W=q.measureSize(V),G={measure:function(e){return e/100*W}},H=function(e,t){let n={start:function(){return 0},center:function(e){return(t-e)/2},end:function(e){return t-e}};return{measure:function(r,i){return l(e)?n[e](r):e(t,r,i)}}}(k,W),U=!D&&!!L,{slideSizes:J,slideSizesWithGaps:$,startGap:Z,endGap:K}=function(e,t,n,r,i,o){let{measureSize:a,startEdge:c,endEdge:l}=e,u=n[0]&&i,s=function(){if(!u)return 0;let e=n[0];return d(t[c]-e[c])}(),f=u?parseFloat(o.getComputedStyle(y(r)).getPropertyValue(`margin-${l}`)):0,p=n.map(a),m=n.map((e,t,n)=>{let r=t===h(n);return t?r?p[t]+f:n[t+1][c]-e[c]:p[t]+s}).map(d);return{slideSizes:p,slideSizesWithGaps:m,startGap:s,endGap:f}}(q,V,X,n,D||!!L,i),Y=function(e,t,n,r,i,o,a,l,u){let{startEdge:s,endEdge:f,direction:m}=e,v=c(n);return{groupSlides:function(e){return v?p(e).filter(e=>e%n==0).map(t=>e.slice(t,t+n)):e.length?p(e).reduce((n,c,u)=>{let p=y(n)||0,v=c===h(e),g=i[s]-o[p][s],b=i[s]-o[c][f],x=r||0!==p?0:m(a),A=d(b-(!r&&v?m(l):0)-(g+x));return u&&A>t+2&&n.push(c),v&&n.push(e.length),n},[]).map((t,n,r)=>{let i=Math.max(r[n-1]||0);return e.slice(i,t)}):[]}}}(q,W,N,D,V,X,Z,K,0),{snaps:Q,snapsAligned:ee}=function(e,t,n,r,i){let{startEdge:o,endEdge:a}=e,{groupSlides:c}=i,l=c(r).map(e=>y(e)[a]-e[0][o]).map(d).map(t.measure),u=r.map(e=>n[o]-e[o]).map(e=>-d(e)),s=c(u).map(e=>e[0]).map((e,t)=>e+l[t]);return{snaps:u,snapsAligned:s}}(q,H,V,X,Y),et=-y(Q)+y($),{snapsContained:en,scrollContainLimit:er}=function(e,t,n,r,i){let o=x(-t+e,0),a=n.map((e,t)=>{let{min:r,max:i}=o,a=o.constrain(e),c=t===h(n);return t?c||1>d(r-a)?r:1>d(i-a)?i:a:i}).map(e=>parseFloat(e.toFixed(3))),c=function(){let e=a[0],t=y(a);return x(a.lastIndexOf(e),a.indexOf(t)+1)}();return{snapsContained:function(){if(t<=e+2)return[o.max];if("keepSnaps"===r)return a;let{min:n,max:i}=c;return a.slice(n,i)}(),scrollContainLimit:c}}(W,et,ee,L,0),ei=U?en:ee,{limit:eo}=function(e,t,n){let r=t[0];return{limit:x(n?r-e:y(t),r)}}(et,ei,D),ea=function e(t,n,r){let{constrain:i}=x(0,t),o=t+1,a=c(n);function c(e){return r?d((o+e)%o):i(e)}function l(){return e(t,a,r)}let u={get:function(){return a},set:function(e){return a=c(e),u},add:function(e){return l().set(a+e)},clone:l};return u}(h(ei),P,D),ec=ea.clone(),el=p(n),eu=({dragHandler:e,scrollBody:t,scrollBounds:n,options:{loop:r}},i)=>{r||n.constrain(e.pointerDown()),t.seek(i)},es=({scrollBody:e,translate:t,location:n,offsetLocation:r,scrollLooper:i,slideLooper:o,dragHandler:a,animation:c,eventHandler:l,scrollBounds:u,options:{loop:s}},d)=>{let f=e.settled(),p=!u.shouldConstrain(),y=s?f:f&&p;y&&!a.pointerDown()&&(c.stop(),l.emit("settle")),y||l.emit("scroll");let h=n.get()*d+ey.get()*(1-d);r.set(h),s&&(i.loop(e.direction()),o.loop()),t.to(r.get())},ed=function(e,t,n,r){let i=b(),o=1e3/60,a=null,c=0,l=0;function u(e){if(!l)return;a||(a=e);let i=e-a;for(a=e,c+=i;c>=o;)n(o),c-=o;r(c/o),l&&t.requestAnimationFrame(u)}function s(){t.cancelAnimationFrame(l),a=null,c=0,l=0}return{init:function(){i.add(e,"visibilitychange",()=>{e.hidden&&(a=null,c=0)})},destroy:function(){s(),i.clear()},start:function(){l||(l=t.requestAnimationFrame(u))},stop:s,update:()=>n(o),render:r}}(r,i,e=>eu(eE,e),e=>es(eE,e)),ef=ei[ea.get()],ep=A(ef),ey=A(ef),eh=A(ef),em=A(ef),ev=function(e,t,n,r,i,o){let a=0,c=0,l=i,u=.68,s=e.get(),p=0;function y(e){return l=e,m}function h(e){return u=e,m}let m={direction:function(){return c},duration:function(){return l},velocity:function(){return a},seek:function(t){let i=t/1e3,o=l*i,d=r.get()-e.get(),y=0;return l?(n.set(e),a+=d/o,a*=u,s+=a,e.add(a*i),y=s-p):(a=0,n.set(r),e.set(r),y=d),c=f(y),p=s,m},settled:function(){return .001>d(r.get()-t.get())},useBaseFriction:function(){return h(.68)},useBaseDuration:function(){return y(i)},useFriction:h,useDuration:y};return m}(ep,eh,ey,em,M,0),eg=function(e,t,n,r,i){let{reachedAny:o,removeOffset:a,constrain:c}=r;function l(e){return e.concat().sort((e,t)=>d(e)-d(t))[0]}function u(t,r){let i=[t,t+n,t-n];if(!e)return t;if(!r)return l(i);let o=i.filter(e=>f(e)===r);return o.length?l(o):y(i)-n}return{byDistance:function(n,r){let l=i.get()+n,{index:s,distance:f}=function(n){let r=e?a(n):c(n),{index:i}=t.map((e,t)=>({diff:u(e-r,0),index:t})).sort((e,t)=>d(e.diff)-d(t.diff))[0];return{index:i,distance:r}}(l),p=!e&&o(l);if(!r||p)return{index:s,distance:n};let y=n+u(t[s]-f,0);return{index:s,distance:y}},byIndex:function(e,n){let r=u(t[e]-i.get(),n);return{index:e,distance:r}},shortcut:u}}(D,ei,et,eo,em),eb=function(e,t,n,r,i,o,a){function c(i){let c=i.distance,l=i.index!==t.get();o.add(c),c&&(r.duration()?e.start():(e.update(),e.render(1),e.update())),l&&(n.set(t.get()),t.set(i.index),a.emit("select"))}return{distance:function(e,t){c(i.byDistance(e,t))},index:function(e,n){let r=t.clone().set(e);c(i.byIndex(r.get(),n))}}}(ed,ea,ec,ev,eg,em,a),ex=function(e){let{max:t,length:n}=e;return{get:function(e){return n?-((e-t)/n):0}}}(eo),eA=b(),eO=function(e,t,n,r){let i;let o={},a=null,c=null,l=!1;return{init:function(){i=new IntersectionObserver(e=>{l||(e.forEach(e=>{o[t.indexOf(e.target)]=e}),a=null,c=null,n.emit("slidesInView"))},{root:e.parentElement,threshold:r}),t.forEach(e=>i.observe(e))},destroy:function(){i&&i.disconnect(),l=!0},get:function(e=!0){if(e&&a)return a;if(!e&&c)return c;let t=v(o).reduce((t,n)=>{let r=parseInt(n),{isIntersecting:i}=o[r];return(e&&i||!e&&!i)&&t.push(r),t},[]);return e&&(a=t),e||(c=t),t}}}(t,n,a,C),{slideRegistry:ew}=function(e,t,n,r,i,o){let{groupSlides:a}=i,{min:c,max:l}=r;return{slideRegistry:function(){let r=a(o);return 1===n.length?[o]:e&&"keepSnaps"!==t?r.slice(c,l).map((e,t,n)=>{let r=t===h(n);return t?r?m(h(o)-y(n)[0]+1,y(n)[0]):e:m(y(n[0])+1)}):r}()}}(U,L,ei,er,Y,el),ek=function(e,t,n,r,i,o,a,l){let s={passive:!0,capture:!0},d=0;function f(e){"Tab"===e.code&&(d=new Date().getTime())}return{init:function(p){l&&(o.add(document,"keydown",f,!1),t.forEach((t,f)=>{o.add(t,"focus",t=>{(u(l)||l(p,t))&&function(t){if(new Date().getTime()-d>10)return;a.emit("slideFocusStart"),e.scrollLeft=0;let o=n.findIndex(e=>e.includes(t));c(o)&&(i.useDuration(0),r.index(o,0),a.emit("slideFocus"))}(f)},s)}))}}}(e,n,ew,eb,ev,eA,a,T),eE={ownerDocument:r,ownerWindow:i,eventHandler:a,containerRect:V,slideRects:X,animation:ed,axis:q,dragHandler:function(e,t,n,r,i,o,a,c,l,s,p,y,h,m,v,A,O,w,k){let{cross:E,direction:j}=e,P=["INPUT","SELECT","TEXTAREA"],D={passive:!1},M=b(),S=b(),I=x(50,225).constrain(m.measure(20)),C={mouse:300,touch:400},N={mouse:500,touch:600},F=v?43:25,L=!1,z=0,R=0,_=!1,T=!1,B=!1,V=!1;function X(e){if(!g(e,r)&&e.touches.length>=2)return q(e);let t=o.readPoint(e),n=o.readPoint(e,E),a=d(t-z),l=d(n-R);if(!T&&!V&&(!e.cancelable||!(T=a>l)))return q(e);let u=o.pointerMove(e);a>A&&(B=!0),s.useFriction(.3).useDuration(.75),c.start(),i.add(j(u)),e.preventDefault()}function q(e){let t=p.byDistance(0,!1).index!==y.get(),n=o.pointerUp(e)*(v?N:C)[V?"mouse":"touch"],r=function(e,t){let n=y.add(-1*f(e)),r=p.byDistance(e,!v).distance;return v||d(e)e.preventDefault(),D).add(t,"touchmove",()=>void 0,D).add(t,"touchend",()=>void 0).add(t,"touchstart",c).add(t,"mousedown",c).add(t,"touchcancel",q).add(t,"contextmenu",q).add(t,"click",W,!0);function c(c){(u(k)||k(e,c))&&function(e){let c=g(e,r);V=c,B=v&&c&&!e.buttons&&L,L=d(i.get()-a.get())>=2,c&&0!==e.button||function(e){let t=e.nodeName||"";return P.includes(t)}(e.target)||(_=!0,o.pointerDown(e),s.useFriction(0).useDuration(0),i.set(a),function(){let e=V?n:t;S.add(e,"touchmove",X,D).add(e,"touchend",q).add(e,"mousemove",X,D).add(e,"mouseup",q)}(),z=o.readPoint(e),R=o.readPoint(e,E),h.emit("pointerDown"))}(c)}},destroy:function(){M.clear(),S.clear()},pointerDown:function(){return _}}}(q,e,r,i,em,function(e,t){let n,r;function i(e){return e.timeStamp}function o(n,r){let i=r||e.scroll,o=`client${"x"===i?"X":"Y"}`;return(g(n,t)?n:n.touches[0])[o]}return{pointerDown:function(e){return n=e,r=e,o(e)},pointerMove:function(e){let t=o(e)-o(r),a=i(e)-i(n)>170;return r=e,a&&(n=e),t},pointerUp:function(e){if(!n||!r)return 0;let t=o(r)-o(n),a=i(e)-i(n),c=i(e)-i(r)>170,l=t/a;return a&&!c&&d(l)>.1?l:0},readPoint:o}}(q,i),ep,ed,eb,ev,eg,ea,a,G,S,I,F,0,_),eventStore:eA,percentOfView:G,index:ea,indexPrevious:ec,limit:eo,location:ep,offsetLocation:eh,previousLocation:ey,options:o,resizeHandler:function(e,t,n,r,i,o,a){let c,l;let s=[e].concat(r),f=[],p=!1;function y(e){return i.measureSize(a.measure(e))}return{init:function(i){o&&(l=y(e),f=r.map(y),c=new ResizeObserver(n=>{(u(o)||o(i,n))&&function(n){for(let o of n){if(p)return;let n=o.target===e,a=r.indexOf(o.target),c=n?l:f[a];if(d(y(n?e:r[a])-c)>=.5){i.reInit(),t.emit("resize");break}}}(n)}),n.requestAnimationFrame(()=>{s.forEach(e=>c.observe(e))}))},destroy:function(){p=!0,c&&c.disconnect()}}}(t,a,i,n,q,z,B),scrollBody:ev,scrollBounds:function(e,t,n,r,i){let o=i.measure(10),a=i.measure(50),c=x(.1,.99),l=!1;function u(){return!!(!l&&e.reachedAny(n.get())&&e.reachedAny(t.get()))}return{shouldConstrain:u,constrain:function(i){if(!u())return;let l=e.reachedMin(t.get())?"min":"max",s=d(e[l]-t.get()),f=n.get()-t.get(),p=c.constrain(s/a);n.subtract(f*p),!i&&d(f)e.add(a))}}}(et,eo,eh,[ep,eh,ey,em]),scrollProgress:ex,scrollSnapList:ei.map(ex.get),scrollSnaps:ei,scrollTarget:eg,scrollTo:eb,slideLooper:function(e,t,n,r,i,o,a,c,l){let u=p(i),s=y(f(p(i).reverse(),a[0]),n,!1).concat(y(f(u,t-a[0]-1),-n,!0));function d(e,t){return e.reduce((e,t)=>e-i[t],t)}function f(e,t){return e.reduce((e,n)=>d(e,t)>0?e.concat([n]):e,[])}function y(i,a,u){let s=o.map((e,n)=>({start:e-r[n]+.5+a,end:e+t-.5+a}));return i.map(t=>{let r=u?0:-n,i=u?n:0,o=s[t][u?"end":"start"];return{index:t,loopPoint:o,slideLocation:A(-1),translate:O(e,l[t]),target:()=>c.get()>o?r:i}})}return{canLoop:function(){return s.every(({index:e})=>.1>=d(u.filter(t=>t!==e),t))},clear:function(){s.forEach(e=>e.translate.clear())},loop:function(){s.forEach(e=>{let{target:t,translate:n,slideLocation:r}=e,i=t();i!==r.get()&&(n.to(i),r.set(i))})},loopPoints:s}}(q,W,et,J,$,Q,ei,eh,n),slideFocus:ek,slidesHandler:(w=!1,{init:function(e){R&&(s=new MutationObserver(t=>{!w&&(u(R)||R(e,t))&&function(t){for(let n of t)if("childList"===n.type){e.reInit(),a.emit("slidesChanged");break}}(t)})).observe(t,{childList:!0})},destroy:function(){s&&s.disconnect(),w=!0}}),slidesInView:eO,slideIndexes:el,slideRegistry:ew,slidesToScroll:Y,target:em,translate:O(q,t)};return eE}(e,o,a,j,P,n,I);return n.loop&&!r.slideLooper.canLoop()?t(Object.assign({},n,{loop:!1})):r}(B),F([T,...V.map(({options:e})=>e)]).forEach(e=>S.add(e,"change",q)),B.active&&(r.translate.to(r.location.get()),r.animation.init(),r.slidesInView.init(),r.slideFocus.init(U),r.eventHandler.init(U),r.resizeHandler.init(U),r.slidesHandler.init(U),r.options.loop&&r.slideLooper.loop(),o.offsetParent&&a.length&&r.dragHandler.init(U),i=M.init(U,V)))}function q(e,t){let n=H();W(),X(C({startIndex:n},e),t),I.emit("reInit")}function W(){r.dragHandler.destroy(),r.eventStore.clear(),r.translate.clear(),r.slideLooper.clear(),r.resizeHandler.destroy(),r.slidesHandler.destroy(),r.slidesInView.destroy(),r.animation.destroy(),M.destroy(),S.clear()}function G(e,t,n){B.active&&!_&&(r.scrollBody.useBaseFriction().useDuration(!0===t?0:B.duration),r.scrollTo.index(e,n||0))}function H(){return r.index.get()}let U={canScrollNext:function(){return r.index.add(1).get()!==H()},canScrollPrev:function(){return r.index.add(-1).get()!==H()},containerNode:function(){return o},internalEngine:function(){return r},destroy:function(){_||(_=!0,S.clear(),W(),I.emit("destroy"),I.clear())},off:z,on:L,emit:R,plugins:function(){return i},previousScrollSnap:function(){return r.indexPrevious.get()},reInit:q,rootNode:function(){return e},scrollNext:function(e){G(r.index.add(1).get(),e,-1)},scrollPrev:function(e){G(r.index.add(-1).get(),e,1)},scrollProgress:function(){return r.scrollProgress.get(r.location.get())},scrollSnapList:function(){return r.scrollSnapList},scrollTo:G,selectedScrollSnap:H,slideNodes:function(){return a},slidesInView:function(){return r.slidesInView.get()},slidesNotInView:function(){return r.slidesInView.get(!1)}};return X(t,n),setTimeout(()=>I.emit("init"),0),U}function E(e={},t=[]){let n=(0,r.useRef)(e),i=(0,r.useRef)(t),[c,l]=(0,r.useState)(),[u,s]=(0,r.useState)(),d=(0,r.useCallback)(()=>{c&&c.reInit(n.current,i.current)},[c]);return(0,r.useEffect)(()=>{o(n.current,e)||(n.current=e,d())},[e,d]),(0,r.useEffect)(()=>{!function(e,t){if(e.length!==t.length)return!1;let n=a(e),r=a(t);return n.every((e,t)=>o(e,r[t]))}(i.current,t)&&(i.current=t,d())},[t,d]),(0,r.useEffect)(()=>{if("undefined"!=typeof window&&window.document&&window.document.createElement&&u){k.globalOptions=E.globalOptions;let e=k(u,n.current,i.current);return l(e),()=>e.destroy()}l(void 0)},[u,l]),[s,c]}k.globalOptions=void 0,E.globalOptions=void 0}}]); \ No newline at end of file diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/4020-986435b93a4735a6.js b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/4020-986435b93a4735a6.js deleted file mode 100644 index 9c2f756..0000000 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/4020-986435b93a4735a6.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4020],{39997:(e,t,n)=>{n.d(t,{A:()=>c});var r=n(20107);let i=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),o=function(){for(var e=arguments.length,t=Array(e),n=0;n!!e&&n.indexOf(e)===t).join(" ")};var a={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 l=(0,r.forwardRef)((e,t)=>{let{color:n="currentColor",size:i=24,strokeWidth:l=2,absoluteStrokeWidth:c,className:u="",children:s,iconNode:d,...f}=e;return(0,r.createElement)("svg",{ref:t,...a,width:i,height:i,stroke:n,strokeWidth:c?24*Number(l)/Number(i):l,className:o("lucide",u),...f},[...d.map(e=>{let[t,n]=e;return(0,r.createElement)(t,n)}),...Array.isArray(s)?s:[s]])}),c=(e,t)=>{let n=(0,r.forwardRef)((n,a)=>{let{className:c,...u}=n;return(0,r.createElement)(l,{ref:a,iconNode:t,className:o("lucide-".concat(i(e)),c),...u})});return n.displayName="".concat(e),n}},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"}]])},89463:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(39997).A)("CircleArrowDown",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 8v8",key:"napkw2"}],["path",{d:"m8 12 4 4 4-4",key:"k98ssh"}]])},622:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(39997).A)("CircleArrowUp",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m16 12-4-4-4 4",key:"177agl"}],["path",{d:"M12 16V8",key:"1sbj14"}]])},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"}]])},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"}]])},8782:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(39997).A)("Clock",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polyline",{points:"12 6 12 12 16 14",key:"68esgv"}]])},54385:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(39997).A)("EyeOff",[["path",{d:"M10.733 5.076a10.744 10.744 0 0 1 11.205 6.575 1 1 0 0 1 0 .696 10.747 10.747 0 0 1-1.444 2.49",key:"ct8e1f"}],["path",{d:"M14.084 14.158a3 3 0 0 1-4.242-4.242",key:"151rxh"}],["path",{d:"M17.479 17.499a10.75 10.75 0 0 1-15.417-5.151 1 1 0 0 1 0-.696 10.75 10.75 0 0 1 4.446-5.143",key:"13bj9a"}],["path",{d:"m2 2 20 20",key:"1ooewy"}]])},51589:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(39997).A)("Eye",[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]])},10964:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(39997).A)("Gauge",[["path",{d:"m12 14 4-4",key:"9kzdfg"}],["path",{d:"M3.34 19a10 10 0 1 1 17.32 0",key:"19p75a"}]])},13624:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(39997).A)("Info",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]])},99312:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(39997).A)("Link",[["path",{d:"M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71",key:"1cjeqo"}],["path",{d:"M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71",key:"19qd67"}]])},92867:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(39997).A)("MonitorCheck",[["path",{d:"m9 10 2 2 4-4",key:"1gnqz4"}],["rect",{width:"20",height:"14",x:"2",y:"3",rx:"2",key:"48i651"}],["path",{d:"M12 17v4",key:"1riwvh"}],["path",{d:"M8 21h8",key:"1ev6f3"}]])},32810:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(39997).A)("MonitorOff",[["path",{d:"M17 17H4a2 2 0 0 1-2-2V5c0-1.5 1-2 1-2",key:"k0q8oc"}],["path",{d:"M22 15V5a2 2 0 0 0-2-2H9",key:"cp1ac0"}],["path",{d:"M8 21h8",key:"1ev6f3"}],["path",{d:"M12 17v4",key:"1riwvh"}],["path",{d:"m2 2 20 20",key:"1ooewy"}]])},7778:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(39997).A)("Network",[["rect",{x:"16",y:"16",width:"6",height:"6",rx:"1",key:"4q2zg0"}],["rect",{x:"2",y:"16",width:"6",height:"6",rx:"1",key:"8cvhb9"}],["rect",{x:"9",y:"2",width:"6",height:"6",rx:"1",key:"1egb70"}],["path",{d:"M5 16v-3a1 1 0 0 1 1-1h12a1 1 0 0 1 1 1v3",key:"1jsf9p"}],["path",{d:"M12 12V8",key:"2874zd"}]])},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"}]])},99015:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(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"}]])},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"}]])},90304:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(39997).A)("TrendingDown",[["polyline",{points:"22 17 13.5 8.5 8.5 13.5 2 7",key:"1r2t7k"}],["polyline",{points:"16 17 22 17 22 11",key:"11uiuu"}]])},20633:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(39997).A)("TrendingUp",[["polyline",{points:"22 7 13.5 15.5 8.5 10.5 2 17",key:"126l90"}],["polyline",{points:"16 7 22 7 22 13",key:"kwv8wd"}]])},12607:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(39997).A)("TriangleAlert",[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]])},92823:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(39997).A)("Zap",[["path",{d:"M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z",key:"1xq2db"}]])},92776:function(e,t,n){var r=this&&this.__assign||function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;nt.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);it.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n};Object.defineProperty(t,"__esModule",{value:!0});var c=a(n(20107)),u=n(22184),s=n(30120),d=[(0,s.createAnimation)("PropagateLoader","25% {transform: translateX(-".concat(1,"rem) scale(0.75)}\n 50% {transform: translateX(-").concat(3,"rem) scale(0.6)}\n 75% {transform: translateX(-").concat(5,"rem) scale(0.5)}\n 95% {transform: translateX(0rem) scale(1)}"),"propogate-0"),(0,s.createAnimation)("PropagateLoader","25% {transform: translateX(-".concat(1,"rem) scale(0.75)}\n 50% {transform: translateX(-").concat(3,"rem) scale(0.6)}\n 75% {transform: translateX(-").concat(3,"rem) scale(0.6)}\n 95% {transform: translateX(0rem) scale(1)}"),"propogate-1"),(0,s.createAnimation)("PropagateLoader","25% {transform: translateX(-".concat(1,"rem) scale(0.75)}\n 75% {transform: translateX(-").concat(1,"rem) scale(0.75)}\n 95% {transform: translateX(0rem) scale(1)}"),"propogate-2"),(0,s.createAnimation)("PropagateLoader","25% {transform: translateX(".concat(1,"rem) scale(0.75)}\n 75% {transform: translateX(").concat(1,"rem) scale(0.75)}\n 95% {transform: translateX(0rem) scale(1)}"),"propogate-3"),(0,s.createAnimation)("PropagateLoader","25% {transform: translateX(".concat(1,"rem) scale(0.75)}\n 50% {transform: translateX(").concat(3,"rem) scale(0.6)}\n 75% {transform: translateX(").concat(3,"rem) scale(0.6)}\n 95% {transform: translateX(0rem) scale(1)}"),"propogate-4"),(0,s.createAnimation)("PropagateLoader","25% {transform: translateX(".concat(1,"rem) scale(0.75)}\n 50% {transform: translateX(").concat(3,"rem) scale(0.6)}\n 75% {transform: translateX(").concat(5,"rem) scale(0.5)}\n 95% {transform: translateX(0rem) scale(1)}"),"propogate-5")];t.default=function(e){var t=e.loading,n=e.color,i=void 0===n?"#000000":n,o=e.speedMultiplier,a=void 0===o?1:o,s=e.cssOverride,f=e.size,p=l(e,["loading","color","speedMultiplier","cssOverride","size"]),y=(0,u.parseLengthAndUnit)(void 0===f?15:f),h=y.value,m=y.unit,v=r({display:"inherit",position:"relative"},void 0===s?{}:s),g=function(e){return{position:"absolute",fontSize:"".concat(h/3).concat(m),width:"".concat(h).concat(m),height:"".concat(h).concat(m),background:i,borderRadius:"50%",animation:"".concat(d[e]," ").concat(1.5/a,"s infinite"),animationFillMode:"forwards"}};return void 0===t||t?c.createElement("span",r({style:v},p),c.createElement("span",{style:g(0)}),c.createElement("span",{style:g(1)}),c.createElement("span",{style:g(2)}),c.createElement("span",{style:g(3)}),c.createElement("span",{style:g(4)}),c.createElement("span",{style:g(5)})):null}},71834:(e,t,n)=>{n.d(t,{A:()=>s});var r=n(20107),i={cm:!0,mm:!0,in:!0,px:!0,pt:!0,pc:!0,em:!0,ex:!0,ch:!0,rem:!0,vw:!0,vh:!0,vmin:!0,vmax:!0,"%":!0};function o(e){var t=function(e){if("number"==typeof e)return{value:e,unit:"px"};var t,n=(e.match(/^[0-9.]*/)||"").toString();t=n.includes(".")?parseFloat(n):parseInt(n,10);var r=(e.match(/[^0-9]*$/)||"").toString();return i[r]?{value:t,unit:r}:(console.warn("React Spinners: ".concat(e," is not a valid css value. Defaulting to ").concat(t,"px.")),{value:t,unit:"px"})}(e);return"".concat(t.value).concat(t.unit)}var a=function(e,t,n){var r="react-spinners-".concat(e,"-").concat(n);if("undefined"==typeof window||!window.document)return r;var i=document.createElement("style");document.head.appendChild(i);var o=i.sheet,a="\n @keyframes ".concat(r," {\n ").concat(t,"\n }\n ");return o&&o.insertRule(a,0),r},l=function(){return(l=Object.assign||function(e){for(var t,n=1,r=arguments.length;nt.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);it.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n},u=[a("PuffLoader","0% {transform: scale(0)} 100% {transform: scale(1.0)}","puff-1"),a("PuffLoader","0% {opacity: 1} 100% {opacity: 0}","puff-2")];let s=function(e){var t=e.loading,n=e.color,i=void 0===n?"#000000":n,a=e.speedMultiplier,s=void 0===a?1:a,d=e.cssOverride,f=e.size,p=void 0===f?60:f,y=c(e,["loading","color","speedMultiplier","cssOverride","size"]),h=l({display:"inherit",position:"relative",width:o(p),height:o(p)},void 0===d?{}:d),m=function(e){return{position:"absolute",height:o(p),width:o(p),border:"thick solid ".concat(i),borderRadius:"50%",opacity:"1",top:"0",left:"0",animationFillMode:"both",animation:"".concat(u[0],", ").concat(u[1]),animationDuration:"".concat(2/s,"s"),animationIterationCount:"infinite",animationTimingFunction:"cubic-bezier(0.165, 0.84, 0.44, 1), cubic-bezier(0.3, 0.61, 0.355, 1)",animationDelay:1===e?"-1s":"0s"}};return void 0===t||t?r.createElement("span",l({style:h},y),r.createElement("span",{style:m(1)}),r.createElement("span",{style:m(2)})):null}},30120:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.createAnimation=void 0,t.createAnimation=function(e,t,n){var r="react-spinners-".concat(e,"-").concat(n);if("undefined"==typeof window||!window.document)return r;var i=document.createElement("style");document.head.appendChild(i);var o=i.sheet,a="\n @keyframes ".concat(r," {\n ").concat(t,"\n }\n ");return o&&o.insertRule(a,0),r}},22184:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.cssValue=t.parseLengthAndUnit=void 0;var n={cm:!0,mm:!0,in:!0,px:!0,pt:!0,pc:!0,em:!0,ex:!0,ch:!0,rem:!0,vw:!0,vh:!0,vmin:!0,vmax:!0,"%":!0};function r(e){if("number"==typeof e)return{value:e,unit:"px"};var t,r=(e.match(/^[0-9.]*/)||"").toString();t=r.includes(".")?parseFloat(r):parseInt(r,10);var i=(e.match(/[^0-9]*$/)||"").toString();return n[i]?{value:t,unit:i}:(console.warn("React Spinners: ".concat(e," is not a valid css value. Defaulting to ").concat(t,"px.")),{value:t,unit:"px"})}t.parseLengthAndUnit=r,t.cssValue=function(e){var t=r(e);return"".concat(t.value).concat(t.unit)}},79492:(e,t,n)=>{n.d(t,{G:()=>F});var r=n(20107),i=n(64901),o=n(61075),a=n(14632),l=n.n(a),c=n(12838),u=n.n(c),s=n(87107),d=n.n(s),f=n(50801),p=n.n(f),y=n(6440),h=n.n(y),m=n(60992),v=n(42555),g=n(37819),b=n(58864),x=n(95392),w=n(89952),A=n(95492),O=n(61211),k=["layout","type","stroke","connectNulls","isRange","ref"],E=["key"];function j(e){return(j="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function P(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function D(){return(D=Object.assign?Object.assign.bind():function(e){for(var t=1;t0||!h()(l,r)||!h()(c,i))?this.renderAreaWithAnimation(e,t):this.renderAreaStatically(r,i,e,t)}},{key:"render",value:function(){var e,t=this.props,n=t.hide,o=t.dot,a=t.points,l=t.className,c=t.top,u=t.left,s=t.xAxis,f=t.yAxis,p=t.width,y=t.height,h=t.isAnimationActive,m=t.id;if(n||!a||!a.length)return null;var v=this.state.isAnimationFinished,x=1===a.length,w=(0,i.A)("recharts-area",l),A=s&&s.allowDataOverflow,k=f&&f.allowDataOverflow,E=A||k,j=d()(m)?this.id:m,P=null!==(e=(0,O.J9)(o,!1))&&void 0!==e?e:{r:3,strokeWidth:2},D=P.r,M=P.strokeWidth,S=((0,O.sT)(o)?o:{}).clipDot,C=void 0===S||S,I=2*(void 0===D?3:D)+(void 0===M?2:M);return r.createElement(g.W,{className:w},A||k?r.createElement("defs",null,r.createElement("clipPath",{id:"clipPath-".concat(j)},r.createElement("rect",{x:A?u:u-p/2,y:k?c:c-y/2,width:A?p:2*p,height:k?y:2*y})),!C&&r.createElement("clipPath",{id:"clipPath-dots-".concat(j)},r.createElement("rect",{x:u-I/2,y:c-I/2,width:p+I,height:y+I}))):null,x?null:this.renderArea(E,j),(o||x)&&this.renderDots(E,C,j),(!h||v)&&b.Z.renderCallByParent(this.props,a))}}],n=[{key:"getDerivedStateFromProps",value:function(e,t){return e.animationId!==t.prevAnimationId?{prevAnimationId:e.animationId,curPoints:e.points,curBaseLine:e.baseLine,prevPoints:t.curPoints,prevBaseLine:t.curBaseLine}:e.points!==t.curPoints||e.baseLine!==t.curBaseLine?{curPoints:e.points,curBaseLine:e.baseLine}:null}}],t&&C(a.prototype,t),n&&C(a,n),Object.defineProperty(a,"prototype",{writable:!1}),a}(r.PureComponent);R(F,"displayName","Area"),R(F,"defaultProps",{stroke:"#3182bd",fill:"#3182bd",fillOpacity:.6,xAxisId:0,yAxisId:0,legendType:"line",connectNulls:!1,points:[],dot:!1,activeDot:!0,hide:!1,isAnimationActive:!x.m.isSsr,animationBegin:0,animationDuration:1500,animationEasing:"ease"}),R(F,"getBaseValue",function(e,t,n,r){var i=e.layout,o=e.baseValue,a=t.props.baseValue,l=null!=a?a:o;if((0,w.Et)(l)&&"number"==typeof l)return l;var c="horizontal"===i?r:n,u=c.scale.domain();if("number"===c.type){var s=Math.max(u[0],u[1]),d=Math.min(u[0],u[1]);return"dataMin"===l?d:"dataMax"===l?s:s<0?s:Math.max(Math.min(u[0],u[1]),0)}return"dataMin"===l?u[0]:"dataMax"===l?u[1]:u[0]}),R(F,"getComposedData",function(e){var t,n=e.props,r=e.item,i=e.xAxis,o=e.yAxis,a=e.xAxisTicks,l=e.yAxisTicks,c=e.bandSize,u=e.dataKey,s=e.stackedData,d=e.dataStartIndex,f=e.displayedData,p=e.offset,y=n.layout,h=s&&s.length,m=F.getBaseValue(n,r,i,o),v="horizontal"===y,g=!1,b=f.map(function(e,t){h?n=s[d+t]:Array.isArray(n=(0,A.kr)(e,u))?g=!0:n=[m,n];var n,r=null==n[1]||h&&null==(0,A.kr)(e,u);return v?{x:(0,A.nb)({axis:i,ticks:a,bandSize:c,entry:e,index:t}),y:r?null:o.scale(n[1]),value:n,payload:e}:{x:r?null:i.scale(n[1]),y:(0,A.nb)({axis:o,ticks:l,bandSize:c,entry:e,index:t}),value:n,payload:e}});return t=h||g?b.map(function(e){var t=Array.isArray(e.value)?e.value[0]:null;return v?{x:e.x,y:null!=t&&null!=e.y?o.scale(t):null}:{x:null!=t?i.scale(t):null,y:e.y}}):v?o.scale(m):i.scale(m),S({points:b,baseLine:t,layout:y,isRange:g},p)}),R(F,"renderDotItem",function(e,t){var n;if(r.isValidElement(e))n=r.cloneElement(e,t);else if(l()(e))n=e(t);else{var o=(0,i.A)("recharts-area-dot","boolean"!=typeof e?e.className:""),a=t.key,c=P(t,E);n=r.createElement(v.c,D({},c,{key:a,className:o}))}return n})},94005:(e,t,n)=>{n.d(t,{d:()=>M});var r=n(20107),i=n(14632),o=n.n(i),a=n(42228),l=n(89952),c=n(61211),u=n(95492),s=n(62882),d=n(67064),f=n(25161),p=["x1","y1","x2","y2","key"],y=["offset"];function h(e){return(h="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function m(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function v(e){for(var t=1;t=0)continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}var x=function(e){var t=e.fill;if(!t||"none"===t)return null;var n=e.fillOpacity,i=e.x,o=e.y,a=e.width,l=e.height,c=e.ry;return r.createElement("rect",{x:i,y:o,ry:c,width:a,height:l,stroke:"none",fill:t,fillOpacity:n,className:"recharts-cartesian-grid-bg"})};function w(e,t){var n;if(r.isValidElement(e))n=r.cloneElement(e,t);else if(o()(e))n=e(t);else{var i=t.x1,a=t.y1,l=t.x2,u=t.y2,s=t.key,d=b(t,p),f=(0,c.J9)(d,!1),h=(f.offset,b(f,y));n=r.createElement("line",g({},h,{x1:i,y1:a,x2:l,y2:u,fill:"none",key:s}))}return n}function A(e){var t=e.x,n=e.width,i=e.horizontal,o=void 0===i||i,a=e.horizontalPoints;if(!o||!a||!a.length)return null;var l=a.map(function(r,i){return w(o,v(v({},e),{},{x1:t,y1:r,x2:t+n,y2:r,key:"line-".concat(i),index:i}))});return r.createElement("g",{className:"recharts-cartesian-grid-horizontal"},l)}function O(e){var t=e.y,n=e.height,i=e.vertical,o=void 0===i||i,a=e.verticalPoints;if(!o||!a||!a.length)return null;var l=a.map(function(r,i){return w(o,v(v({},e),{},{x1:r,y1:t,x2:r,y2:t+n,key:"line-".concat(i),index:i}))});return r.createElement("g",{className:"recharts-cartesian-grid-vertical"},l)}function k(e){var t=e.horizontalFill,n=e.fillOpacity,i=e.x,o=e.y,a=e.width,l=e.height,c=e.horizontalPoints,u=e.horizontal;if(!(void 0===u||u)||!t||!t.length)return null;var s=c.map(function(e){return Math.round(e+o-o)}).sort(function(e,t){return e-t});o!==s[0]&&s.unshift(0);var d=s.map(function(e,c){var u=s[c+1]?s[c+1]-e:o+l-e;if(u<=0)return null;var d=c%t.length;return r.createElement("rect",{key:"react-".concat(c),y:e,x:i,height:u,width:a,stroke:"none",fill:t[d],fillOpacity:n,className:"recharts-cartesian-grid-bg"})});return r.createElement("g",{className:"recharts-cartesian-gridstripes-horizontal"},d)}function E(e){var t=e.vertical,n=e.verticalFill,i=e.fillOpacity,o=e.x,a=e.y,l=e.width,c=e.height,u=e.verticalPoints;if(!(void 0===t||t)||!n||!n.length)return null;var s=u.map(function(e){return Math.round(e+o-o)}).sort(function(e,t){return e-t});o!==s[0]&&s.unshift(0);var d=s.map(function(e,t){var u=s[t+1]?s[t+1]-e:o+l-e;if(u<=0)return null;var d=t%n.length;return r.createElement("rect",{key:"react-".concat(t),x:e,y:a,width:u,height:c,stroke:"none",fill:n[d],fillOpacity:i,className:"recharts-cartesian-grid-bg"})});return r.createElement("g",{className:"recharts-cartesian-gridstripes-vertical"},d)}var j=function(e,t){var n=e.xAxis,r=e.width,i=e.height,o=e.offset;return(0,u.PW)((0,s.f)(v(v(v({},d.u.defaultProps),n),{},{ticks:(0,u.Rh)(n,!0),viewBox:{x:0,y:0,width:r,height:i}})),o.left,o.left+o.width,t)},P=function(e,t){var n=e.yAxis,r=e.width,i=e.height,o=e.offset;return(0,u.PW)((0,s.f)(v(v(v({},d.u.defaultProps),n),{},{ticks:(0,u.Rh)(n,!0),viewBox:{x:0,y:0,width:r,height:i}})),o.top,o.top+o.height,t)},D={horizontal:!0,vertical:!0,stroke:"#ccc",fill:"none",verticalFill:[],horizontalFill:[]};function M(e){var t,n,i,c,u,s,d=(0,f.yi)(),p=(0,f.rY)(),y=(0,f.hj)(),m=v(v({},e),{},{stroke:null!==(t=e.stroke)&&void 0!==t?t:D.stroke,fill:null!==(n=e.fill)&&void 0!==n?n:D.fill,horizontal:null!==(i=e.horizontal)&&void 0!==i?i:D.horizontal,horizontalFill:null!==(c=e.horizontalFill)&&void 0!==c?c:D.horizontalFill,vertical:null!==(u=e.vertical)&&void 0!==u?u:D.vertical,verticalFill:null!==(s=e.verticalFill)&&void 0!==s?s:D.verticalFill,x:(0,l.Et)(e.x)?e.x:y.left,y:(0,l.Et)(e.y)?e.y:y.top,width:(0,l.Et)(e.width)?e.width:y.width,height:(0,l.Et)(e.height)?e.height:y.height}),b=m.x,w=m.y,M=m.width,S=m.height,C=m.syncWithTicks,I=m.horizontalValues,N=m.verticalValues,L=(0,f.pj)(),R=(0,f.$G)();if(!(0,l.Et)(M)||M<=0||!(0,l.Et)(S)||S<=0||!(0,l.Et)(b)||b!==+b||!(0,l.Et)(w)||w!==+w)return null;var z=m.verticalCoordinatesGenerator||j,F=m.horizontalCoordinatesGenerator||P,_=m.horizontalPoints,T=m.verticalPoints;if((!_||!_.length)&&o()(F)){var B=I&&I.length,V=F({yAxis:R?v(v({},R),{},{ticks:B?I:R.ticks}):void 0,width:d,height:p,offset:y},!!B||C);(0,a.R)(Array.isArray(V),"horizontalCoordinatesGenerator should return Array but instead it returned [".concat(h(V),"]")),Array.isArray(V)&&(_=V)}if((!T||!T.length)&&o()(z)){var X=N&&N.length,W=z({xAxis:L?v(v({},L),{},{ticks:X?N:L.ticks}):void 0,width:d,height:p,offset:y},!!X||C);(0,a.R)(Array.isArray(W),"verticalCoordinatesGenerator should return Array but instead it returned [".concat(h(W),"]")),Array.isArray(W)&&(T=W)}return r.createElement("g",{className:"recharts-cartesian-grid"},r.createElement(x,{fill:m.fill,fillOpacity:m.fillOpacity,x:m.x,y:m.y,width:m.width,height:m.height,ry:m.ry}),r.createElement(A,g({},m,{offset:y,horizontalPoints:_,xAxis:L,yAxis:R})),r.createElement(O,g({},m,{offset:y,verticalPoints:T,xAxis:L,yAxis:R})),r.createElement(k,g({},m,{horizontalPoints:_})),r.createElement(E,g({},m,{verticalPoints:T})))}M.displayName="CartesianGrid"},53134:(e,t,n)=>{n.d(t,{Q:()=>c});var r=n(90805),i=n(79492),o=n(4538),a=n(41797),l=n(98456),c=(0,r.gu)({chartName:"AreaChart",GraphicalChild:i.G,axisComponents:[{axisType:"xAxis",AxisComp:o.W},{axisType:"yAxis",AxisComp:a.h}],formatAxisMap:l.pr})},60241:(e,t,n)=>{n.d(t,{G$:()=>$,Hs:()=>w,UC:()=>et,VY:()=>er,ZL:()=>Q,bL:()=>K,bm:()=>ei,hE:()=>en,hJ:()=>ee,l9:()=>Y});var r=n(20107),i=n(94521),o=n(64236),a=n(45170),l=n(72763),c=n(13061),u=n(55302),s=n(38573),d=n(41913),f=n(54245),p=n(34544),y=n(10201),h=n(9543),m=n(58020),v=n(61837),g=n(20475),b="Dialog",[x,w]=(0,a.A)(b),[A,O]=x(b),k=e=>{let{__scopeDialog:t,children:n,open:i,defaultOpen:o,onOpenChange:a,modal:u=!0}=e,s=r.useRef(null),d=r.useRef(null),[f=!1,p]=(0,c.i)({prop:i,defaultProp:o,onChange:a});return(0,g.jsx)(A,{scope:t,triggerRef:s,contentRef:d,contentId:(0,l.B)(),titleId:(0,l.B)(),descriptionId:(0,l.B)(),open:f,onOpenChange:p,onOpenToggle:r.useCallback(()=>p(e=>!e),[p]),modal:u,children:n})};k.displayName=b;var E="DialogTrigger",j=r.forwardRef((e,t)=>{let{__scopeDialog:n,...r}=e,a=O(E,n),l=(0,o.s)(t,a.triggerRef);return(0,g.jsx)(p.sG.button,{type:"button","aria-haspopup":"dialog","aria-expanded":a.open,"aria-controls":a.contentId,"data-state":G(a.open),...r,ref:l,onClick:(0,i.m)(e.onClick,a.onOpenToggle)})});j.displayName=E;var P="DialogPortal",[D,M]=x(P,{forceMount:void 0}),S=e=>{let{__scopeDialog:t,forceMount:n,children:i,container:o}=e,a=O(P,t);return(0,g.jsx)(D,{scope:t,forceMount:n,children:r.Children.map(i,e=>(0,g.jsx)(f.C,{present:n||a.open,children:(0,g.jsx)(d.Z,{asChild:!0,container:o,children:e})}))})};S.displayName=P;var C="DialogOverlay",I=r.forwardRef((e,t)=>{let n=M(C,e.__scopeDialog),{forceMount:r=n.forceMount,...i}=e,o=O(C,e.__scopeDialog);return o.modal?(0,g.jsx)(f.C,{present:r||o.open,children:(0,g.jsx)(N,{...i,ref:t})}):null});I.displayName=C;var N=r.forwardRef((e,t)=>{let{__scopeDialog:n,...r}=e,i=O(C,n);return(0,g.jsx)(h.A,{as:v.DX,allowPinchZoom:!0,shards:[i.contentRef],children:(0,g.jsx)(p.sG.div,{"data-state":G(i.open),...r,ref:t,style:{pointerEvents:"auto",...r.style}})})}),L="DialogContent",R=r.forwardRef((e,t)=>{let n=M(L,e.__scopeDialog),{forceMount:r=n.forceMount,...i}=e,o=O(L,e.__scopeDialog);return(0,g.jsx)(f.C,{present:r||o.open,children:o.modal?(0,g.jsx)(z,{...i,ref:t}):(0,g.jsx)(F,{...i,ref:t})})});R.displayName=L;var z=r.forwardRef((e,t)=>{let n=O(L,e.__scopeDialog),a=r.useRef(null),l=(0,o.s)(t,n.contentRef,a);return r.useEffect(()=>{let e=a.current;if(e)return(0,m.Eq)(e)},[]),(0,g.jsx)(_,{...e,ref:l,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:(0,i.m)(e.onCloseAutoFocus,e=>{var t;e.preventDefault(),null===(t=n.triggerRef.current)||void 0===t||t.focus()}),onPointerDownOutside:(0,i.m)(e.onPointerDownOutside,e=>{let t=e.detail.originalEvent,n=0===t.button&&!0===t.ctrlKey;(2===t.button||n)&&e.preventDefault()}),onFocusOutside:(0,i.m)(e.onFocusOutside,e=>e.preventDefault())})}),F=r.forwardRef((e,t)=>{let n=O(L,e.__scopeDialog),i=r.useRef(!1),o=r.useRef(!1);return(0,g.jsx)(_,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{var r,a;null===(r=e.onCloseAutoFocus)||void 0===r||r.call(e,t),t.defaultPrevented||(i.current||null===(a=n.triggerRef.current)||void 0===a||a.focus(),t.preventDefault()),i.current=!1,o.current=!1},onInteractOutside:t=>{var r,a;null===(r=e.onInteractOutside)||void 0===r||r.call(e,t),t.defaultPrevented||(i.current=!0,"pointerdown"!==t.detail.originalEvent.type||(o.current=!0));let l=t.target;(null===(a=n.triggerRef.current)||void 0===a?void 0:a.contains(l))&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&o.current&&t.preventDefault()}})}),_=r.forwardRef((e,t)=>{let{__scopeDialog:n,trapFocus:i,onOpenAutoFocus:a,onCloseAutoFocus:l,...c}=e,d=O(L,n),f=r.useRef(null),p=(0,o.s)(t,f);return(0,y.Oh)(),(0,g.jsxs)(g.Fragment,{children:[(0,g.jsx)(s.n,{asChild:!0,loop:!0,trapped:i,onMountAutoFocus:a,onUnmountAutoFocus:l,children:(0,g.jsx)(u.qW,{role:"dialog",id:d.contentId,"aria-describedby":d.descriptionId,"aria-labelledby":d.titleId,"data-state":G(d.open),...c,ref:p,onDismiss:()=>d.onOpenChange(!1)})}),(0,g.jsxs)(g.Fragment,{children:[(0,g.jsx)(J,{titleId:d.titleId}),(0,g.jsx)(Z,{contentRef:f,descriptionId:d.descriptionId})]})]})}),T="DialogTitle",B=r.forwardRef((e,t)=>{let{__scopeDialog:n,...r}=e,i=O(T,n);return(0,g.jsx)(p.sG.h2,{id:i.titleId,...r,ref:t})});B.displayName=T;var V="DialogDescription",X=r.forwardRef((e,t)=>{let{__scopeDialog:n,...r}=e,i=O(V,n);return(0,g.jsx)(p.sG.p,{id:i.descriptionId,...r,ref:t})});X.displayName=V;var W="DialogClose",q=r.forwardRef((e,t)=>{let{__scopeDialog:n,...r}=e,o=O(W,n);return(0,g.jsx)(p.sG.button,{type:"button",...r,ref:t,onClick:(0,i.m)(e.onClick,()=>o.onOpenChange(!1))})});function G(e){return e?"open":"closed"}q.displayName=W;var H="DialogTitleWarning",[$,U]=(0,a.q)(H,{contentName:L,titleName:T,docsSlug:"dialog"}),J=e=>{let{titleId:t}=e,n=U(H),i="`".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(i)},[i,t]),null},Z=e=>{let{contentRef:t,descriptionId:n}=e,i=U("DialogDescriptionWarning"),o="Warning: Missing `Description` or `aria-describedby={undefined}` for {".concat(i.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(o)},[o,t,n]),null},K=k,Y=j,Q=S,ee=I,et=R,en=B,er=X,ei=q},74043:(e,t,n)=>{n.d(t,{A:()=>E});var r=n(20107);function i(e){return"[object Object]"===Object.prototype.toString.call(e)||Array.isArray(e)}function o(e,t){let n=Object.keys(e),r=Object.keys(t);return n.length===r.length&&JSON.stringify(Object.keys(e.breakpoints||{}))===JSON.stringify(Object.keys(t.breakpoints||{}))&&n.every(n=>{let r=e[n],a=t[n];return"function"==typeof r?`${r}`==`${a}`:i(r)&&i(a)?o(r,a):r===a})}function a(e){return e.concat().sort((e,t)=>e.name>t.name?1:-1).map(e=>e.options)}function l(e){return"number"==typeof e}function c(e){return"string"==typeof e}function u(e){return"boolean"==typeof e}function s(e){return"[object Object]"===Object.prototype.toString.call(e)}function d(e){return Math.abs(e)}function f(e){return Math.sign(e)}function p(e){return v(e).map(Number)}function y(e){return e[h(e)]}function h(e){return Math.max(0,e.length-1)}function m(e,t=0){return Array.from(Array(e),(e,n)=>t+n)}function v(e){return Object.keys(e)}function g(e,t){return void 0!==t.MouseEvent&&e instanceof t.MouseEvent}function b(){let e=[],t={add:function(n,r,i,o={passive:!0}){let a;return"addEventListener"in n?(n.addEventListener(r,i,o),a=()=>n.removeEventListener(r,i,o)):(n.addListener(i),a=()=>n.removeListener(i)),e.push(a),t},clear:function(){e=e.filter(e=>e())}};return t}function x(e=0,t=0){let n=d(e-t);function r(n){return nt}return{length:n,max:t,min:e,constrain:function(n){return r(n)?nt},reachedMin:function(t){return t(v(n).forEach(r=>{let i=t[r],o=n[r],a=s(i)&&s(o);t[r]=a?e(i,o):o}),t),{})}(e,t||{})}return{mergeOptions:t,optionsAtMedia:function(n){let r=n.breakpoints||{},i=v(r).filter(t=>e.matchMedia(t).matches).map(e=>r[e]).reduce((e,n)=>t(e,n),{});return t(n,i)},optionsMediaQueries:function(t){return t.map(e=>v(e.breakpoints||{})).reduce((e,t)=>e.concat(t),[]).map(e.matchMedia)}}}(P),M=(E=[],{init:function(e,t){return(E=t.filter(({options:e})=>!1!==D.optionsAtMedia(e).active)).forEach(t=>t.init(e,D)),t.reduce((e,t)=>Object.assign(e,{[t.name]:t}),{})},destroy:function(){E=E.filter(e=>e.destroy())}}),S=b(),C=function(){let e,t={},n={init:function(t){e=t},emit:function(r){return(t[r]||[]).forEach(t=>t(e,r)),n},off:function(e,r){return t[e]=(t[e]||[]).filter(e=>e!==r),n},on:function(e,r){return t[e]=(t[e]||[]).concat([r]),n},clear:function(){t={}}};return n}(),{mergeOptions:I,optionsAtMedia:N,optionsMediaQueries:L}=D,{on:R,off:z,emit:F}=C,_=!1,T=I(O,k.globalOptions),B=I(T),V=[];function X(t,n){!_&&(B=N(T=I(T,t)),V=n||V,function(){let{container:t,slides:n}=B;o=(c(t)?e.querySelector(t):t)||e.children[0];let r=c(n)?o.querySelectorAll(n):n;a=[].slice.call(r||o.children)}(),r=function t(n){let r=function(e,t,n,r,i,o,a){let s,O;let{align:k,axis:E,direction:j,startIndex:P,loop:D,duration:M,dragFree:S,dragThreshold:C,inViewThreshold:I,slidesToScroll:N,skipSnaps:L,containScroll:R,watchResize:z,watchSlides:F,watchDrag:_,watchFocus:T}=o,B={measure:function(e){let{offsetTop:t,offsetLeft:n,offsetWidth:r,offsetHeight:i}=e;return{top:t,right:n+r,bottom:t+i,left:n,width:r,height:i}}},V=B.measure(t),X=n.map(B.measure),W=function(e,t){let n="rtl"===t,r="y"===e,i=!r&&n?-1:1;return{scroll:r?"y":"x",cross:r?"x":"y",startEdge:r?"top":n?"right":"left",endEdge:r?"bottom":n?"left":"right",measureSize:function(e){let{height:t,width:n}=e;return r?t:n},direction:function(e){return e*i}}}(E,j),q=W.measureSize(V),G={measure:function(e){return e/100*q}},H=function(e,t){let n={start:function(){return 0},center:function(e){return(t-e)/2},end:function(e){return t-e}};return{measure:function(r,i){return c(e)?n[e](r):e(t,r,i)}}}(k,q),$=!D&&!!R,{slideSizes:U,slideSizesWithGaps:J,startGap:Z,endGap:K}=function(e,t,n,r,i,o){let{measureSize:a,startEdge:l,endEdge:c}=e,u=n[0]&&i,s=function(){if(!u)return 0;let e=n[0];return d(t[l]-e[l])}(),f=u?parseFloat(o.getComputedStyle(y(r)).getPropertyValue(`margin-${c}`)):0,p=n.map(a),m=n.map((e,t,n)=>{let r=t===h(n);return t?r?p[t]+f:n[t+1][l]-e[l]:p[t]+s}).map(d);return{slideSizes:p,slideSizesWithGaps:m,startGap:s,endGap:f}}(W,V,X,n,D||!!R,i),Y=function(e,t,n,r,i,o,a,c,u){let{startEdge:s,endEdge:f,direction:m}=e,v=l(n);return{groupSlides:function(e){return v?p(e).filter(e=>e%n==0).map(t=>e.slice(t,t+n)):e.length?p(e).reduce((n,l,u)=>{let p=y(n)||0,v=l===h(e),g=i[s]-o[p][s],b=i[s]-o[l][f],x=r||0!==p?0:m(a),w=d(b-(!r&&v?m(c):0)-(g+x));return u&&w>t+2&&n.push(l),v&&n.push(e.length),n},[]).map((t,n,r)=>{let i=Math.max(r[n-1]||0);return e.slice(i,t)}):[]}}}(W,q,N,D,V,X,Z,K,0),{snaps:Q,snapsAligned:ee}=function(e,t,n,r,i){let{startEdge:o,endEdge:a}=e,{groupSlides:l}=i,c=l(r).map(e=>y(e)[a]-e[0][o]).map(d).map(t.measure),u=r.map(e=>n[o]-e[o]).map(e=>-d(e)),s=l(u).map(e=>e[0]).map((e,t)=>e+c[t]);return{snaps:u,snapsAligned:s}}(W,H,V,X,Y),et=-y(Q)+y(J),{snapsContained:en,scrollContainLimit:er}=function(e,t,n,r,i){let o=x(-t+e,0),a=n.map((e,t)=>{let{min:r,max:i}=o,a=o.constrain(e),l=t===h(n);return t?l||1>d(r-a)?r:1>d(i-a)?i:a:i}).map(e=>parseFloat(e.toFixed(3))),l=function(){let e=a[0],t=y(a);return x(a.lastIndexOf(e),a.indexOf(t)+1)}();return{snapsContained:function(){if(t<=e+2)return[o.max];if("keepSnaps"===r)return a;let{min:n,max:i}=l;return a.slice(n,i)}(),scrollContainLimit:l}}(q,et,ee,R,0),ei=$?en:ee,{limit:eo}=function(e,t,n){let r=t[0];return{limit:x(n?r-e:y(t),r)}}(et,ei,D),ea=function e(t,n,r){let{constrain:i}=x(0,t),o=t+1,a=l(n);function l(e){return r?d((o+e)%o):i(e)}function c(){return e(t,a,r)}let u={get:function(){return a},set:function(e){return a=l(e),u},add:function(e){return c().set(a+e)},clone:c};return u}(h(ei),P,D),el=ea.clone(),ec=p(n),eu=({dragHandler:e,scrollBody:t,scrollBounds:n,options:{loop:r}},i)=>{r||n.constrain(e.pointerDown()),t.seek(i)},es=({scrollBody:e,translate:t,location:n,offsetLocation:r,scrollLooper:i,slideLooper:o,dragHandler:a,animation:l,eventHandler:c,scrollBounds:u,options:{loop:s}},d)=>{let f=e.settled(),p=!u.shouldConstrain(),y=s?f:f&&p;y&&!a.pointerDown()&&(l.stop(),c.emit("settle")),y||c.emit("scroll");let h=n.get()*d+ey.get()*(1-d);r.set(h),s&&(i.loop(e.direction()),o.loop()),t.to(r.get())},ed=function(e,t,n,r){let i=b(),o=1e3/60,a=null,l=0,c=0;function u(e){if(!c)return;a||(a=e);let i=e-a;for(a=e,l+=i;l>=o;)n(o),l-=o;r(l/o),c&&t.requestAnimationFrame(u)}function s(){t.cancelAnimationFrame(c),a=null,l=0,c=0}return{init:function(){i.add(e,"visibilitychange",()=>{e.hidden&&(a=null,l=0)})},destroy:function(){s(),i.clear()},start:function(){c||(c=t.requestAnimationFrame(u))},stop:s,update:()=>n(o),render:r}}(r,i,e=>eu(eE,e),e=>es(eE,e)),ef=ei[ea.get()],ep=w(ef),ey=w(ef),eh=w(ef),em=w(ef),ev=function(e,t,n,r,i,o){let a=0,l=0,c=i,u=.68,s=e.get(),p=0;function y(e){return c=e,m}function h(e){return u=e,m}let m={direction:function(){return l},duration:function(){return c},velocity:function(){return a},seek:function(t){let i=t/1e3,o=c*i,d=r.get()-e.get(),y=0;return c?(n.set(e),a+=d/o,a*=u,s+=a,e.add(a*i),y=s-p):(a=0,n.set(r),e.set(r),y=d),l=f(y),p=s,m},settled:function(){return .001>d(r.get()-t.get())},useBaseFriction:function(){return h(.68)},useBaseDuration:function(){return y(i)},useFriction:h,useDuration:y};return m}(ep,eh,ey,em,M,0),eg=function(e,t,n,r,i){let{reachedAny:o,removeOffset:a,constrain:l}=r;function c(e){return e.concat().sort((e,t)=>d(e)-d(t))[0]}function u(t,r){let i=[t,t+n,t-n];if(!e)return t;if(!r)return c(i);let o=i.filter(e=>f(e)===r);return o.length?c(o):y(i)-n}return{byDistance:function(n,r){let c=i.get()+n,{index:s,distance:f}=function(n){let r=e?a(n):l(n),{index:i}=t.map((e,t)=>({diff:u(e-r,0),index:t})).sort((e,t)=>d(e.diff)-d(t.diff))[0];return{index:i,distance:r}}(c),p=!e&&o(c);if(!r||p)return{index:s,distance:n};let y=n+u(t[s]-f,0);return{index:s,distance:y}},byIndex:function(e,n){let r=u(t[e]-i.get(),n);return{index:e,distance:r}},shortcut:u}}(D,ei,et,eo,em),eb=function(e,t,n,r,i,o,a){function l(i){let l=i.distance,c=i.index!==t.get();o.add(l),l&&(r.duration()?e.start():(e.update(),e.render(1),e.update())),c&&(n.set(t.get()),t.set(i.index),a.emit("select"))}return{distance:function(e,t){l(i.byDistance(e,t))},index:function(e,n){let r=t.clone().set(e);l(i.byIndex(r.get(),n))}}}(ed,ea,el,ev,eg,em,a),ex=function(e){let{max:t,length:n}=e;return{get:function(e){return n?-((e-t)/n):0}}}(eo),ew=b(),eA=function(e,t,n,r){let i;let o={},a=null,l=null,c=!1;return{init:function(){i=new IntersectionObserver(e=>{c||(e.forEach(e=>{o[t.indexOf(e.target)]=e}),a=null,l=null,n.emit("slidesInView"))},{root:e.parentElement,threshold:r}),t.forEach(e=>i.observe(e))},destroy:function(){i&&i.disconnect(),c=!0},get:function(e=!0){if(e&&a)return a;if(!e&&l)return l;let t=v(o).reduce((t,n)=>{let r=parseInt(n),{isIntersecting:i}=o[r];return(e&&i||!e&&!i)&&t.push(r),t},[]);return e&&(a=t),e||(l=t),t}}}(t,n,a,I),{slideRegistry:eO}=function(e,t,n,r,i,o){let{groupSlides:a}=i,{min:l,max:c}=r;return{slideRegistry:function(){let r=a(o);return 1===n.length?[o]:e&&"keepSnaps"!==t?r.slice(l,c).map((e,t,n)=>{let r=t===h(n);return t?r?m(h(o)-y(n)[0]+1,y(n)[0]):e:m(y(n[0])+1)}):r}()}}($,R,ei,er,Y,ec),ek=function(e,t,n,r,i,o,a,c){let s={passive:!0,capture:!0},d=0;function f(e){"Tab"===e.code&&(d=new Date().getTime())}return{init:function(p){c&&(o.add(document,"keydown",f,!1),t.forEach((t,f)=>{o.add(t,"focus",t=>{(u(c)||c(p,t))&&function(t){if(new Date().getTime()-d>10)return;a.emit("slideFocusStart"),e.scrollLeft=0;let o=n.findIndex(e=>e.includes(t));l(o)&&(i.useDuration(0),r.index(o,0),a.emit("slideFocus"))}(f)},s)}))}}}(e,n,eO,eb,ev,ew,a,T),eE={ownerDocument:r,ownerWindow:i,eventHandler:a,containerRect:V,slideRects:X,animation:ed,axis:W,dragHandler:function(e,t,n,r,i,o,a,l,c,s,p,y,h,m,v,w,A,O,k){let{cross:E,direction:j}=e,P=["INPUT","SELECT","TEXTAREA"],D={passive:!1},M=b(),S=b(),C=x(50,225).constrain(m.measure(20)),I={mouse:300,touch:400},N={mouse:500,touch:600},L=v?43:25,R=!1,z=0,F=0,_=!1,T=!1,B=!1,V=!1;function X(e){if(!g(e,r)&&e.touches.length>=2)return W(e);let t=o.readPoint(e),n=o.readPoint(e,E),a=d(t-z),c=d(n-F);if(!T&&!V&&(!e.cancelable||!(T=a>c)))return W(e);let u=o.pointerMove(e);a>w&&(B=!0),s.useFriction(.3).useDuration(.75),l.start(),i.add(j(u)),e.preventDefault()}function W(e){let t=p.byDistance(0,!1).index!==y.get(),n=o.pointerUp(e)*(v?N:I)[V?"mouse":"touch"],r=function(e,t){let n=y.add(-1*f(e)),r=p.byDistance(e,!v).distance;return v||d(e)e.preventDefault(),D).add(t,"touchmove",()=>void 0,D).add(t,"touchend",()=>void 0).add(t,"touchstart",l).add(t,"mousedown",l).add(t,"touchcancel",W).add(t,"contextmenu",W).add(t,"click",q,!0);function l(l){(u(k)||k(e,l))&&function(e){let l=g(e,r);V=l,B=v&&l&&!e.buttons&&R,R=d(i.get()-a.get())>=2,l&&0!==e.button||function(e){let t=e.nodeName||"";return P.includes(t)}(e.target)||(_=!0,o.pointerDown(e),s.useFriction(0).useDuration(0),i.set(a),function(){let e=V?n:t;S.add(e,"touchmove",X,D).add(e,"touchend",W).add(e,"mousemove",X,D).add(e,"mouseup",W)}(),z=o.readPoint(e),F=o.readPoint(e,E),h.emit("pointerDown"))}(l)}},destroy:function(){M.clear(),S.clear()},pointerDown:function(){return _}}}(W,e,r,i,em,function(e,t){let n,r;function i(e){return e.timeStamp}function o(n,r){let i=r||e.scroll,o=`client${"x"===i?"X":"Y"}`;return(g(n,t)?n:n.touches[0])[o]}return{pointerDown:function(e){return n=e,r=e,o(e)},pointerMove:function(e){let t=o(e)-o(r),a=i(e)-i(n)>170;return r=e,a&&(n=e),t},pointerUp:function(e){if(!n||!r)return 0;let t=o(r)-o(n),a=i(e)-i(n),l=i(e)-i(r)>170,c=t/a;return a&&!l&&d(c)>.1?c:0},readPoint:o}}(W,i),ep,ed,eb,ev,eg,ea,a,G,S,C,L,0,_),eventStore:ew,percentOfView:G,index:ea,indexPrevious:el,limit:eo,location:ep,offsetLocation:eh,previousLocation:ey,options:o,resizeHandler:function(e,t,n,r,i,o,a){let l,c;let s=[e].concat(r),f=[],p=!1;function y(e){return i.measureSize(a.measure(e))}return{init:function(i){o&&(c=y(e),f=r.map(y),l=new ResizeObserver(n=>{(u(o)||o(i,n))&&function(n){for(let o of n){if(p)return;let n=o.target===e,a=r.indexOf(o.target),l=n?c:f[a];if(d(y(n?e:r[a])-l)>=.5){i.reInit(),t.emit("resize");break}}}(n)}),n.requestAnimationFrame(()=>{s.forEach(e=>l.observe(e))}))},destroy:function(){p=!0,l&&l.disconnect()}}}(t,a,i,n,W,z,B),scrollBody:ev,scrollBounds:function(e,t,n,r,i){let o=i.measure(10),a=i.measure(50),l=x(.1,.99),c=!1;function u(){return!!(!c&&e.reachedAny(n.get())&&e.reachedAny(t.get()))}return{shouldConstrain:u,constrain:function(i){if(!u())return;let c=e.reachedMin(t.get())?"min":"max",s=d(e[c]-t.get()),f=n.get()-t.get(),p=l.constrain(s/a);n.subtract(f*p),!i&&d(f)e.add(a))}}}(et,eo,eh,[ep,eh,ey,em]),scrollProgress:ex,scrollSnapList:ei.map(ex.get),scrollSnaps:ei,scrollTarget:eg,scrollTo:eb,slideLooper:function(e,t,n,r,i,o,a,l,c){let u=p(i),s=y(f(p(i).reverse(),a[0]),n,!1).concat(y(f(u,t-a[0]-1),-n,!0));function d(e,t){return e.reduce((e,t)=>e-i[t],t)}function f(e,t){return e.reduce((e,n)=>d(e,t)>0?e.concat([n]):e,[])}function y(i,a,u){let s=o.map((e,n)=>({start:e-r[n]+.5+a,end:e+t-.5+a}));return i.map(t=>{let r=u?0:-n,i=u?n:0,o=s[t][u?"end":"start"];return{index:t,loopPoint:o,slideLocation:w(-1),translate:A(e,c[t]),target:()=>l.get()>o?r:i}})}return{canLoop:function(){return s.every(({index:e})=>.1>=d(u.filter(t=>t!==e),t))},clear:function(){s.forEach(e=>e.translate.clear())},loop:function(){s.forEach(e=>{let{target:t,translate:n,slideLocation:r}=e,i=t();i!==r.get()&&(n.to(i),r.set(i))})},loopPoints:s}}(W,q,et,U,J,Q,ei,eh,n),slideFocus:ek,slidesHandler:(O=!1,{init:function(e){F&&(s=new MutationObserver(t=>{!O&&(u(F)||F(e,t))&&function(t){for(let n of t)if("childList"===n.type){e.reInit(),a.emit("slidesChanged");break}}(t)})).observe(t,{childList:!0})},destroy:function(){s&&s.disconnect(),O=!0}}),slidesInView:eA,slideIndexes:ec,slideRegistry:eO,slidesToScroll:Y,target:em,translate:A(W,t)};return eE}(e,o,a,j,P,n,C);return n.loop&&!r.slideLooper.canLoop()?t(Object.assign({},n,{loop:!1})):r}(B),L([T,...V.map(({options:e})=>e)]).forEach(e=>S.add(e,"change",W)),B.active&&(r.translate.to(r.location.get()),r.animation.init(),r.slidesInView.init(),r.slideFocus.init($),r.eventHandler.init($),r.resizeHandler.init($),r.slidesHandler.init($),r.options.loop&&r.slideLooper.loop(),o.offsetParent&&a.length&&r.dragHandler.init($),i=M.init($,V)))}function W(e,t){let n=H();q(),X(I({startIndex:n},e),t),C.emit("reInit")}function q(){r.dragHandler.destroy(),r.eventStore.clear(),r.translate.clear(),r.slideLooper.clear(),r.resizeHandler.destroy(),r.slidesHandler.destroy(),r.slidesInView.destroy(),r.animation.destroy(),M.destroy(),S.clear()}function G(e,t,n){B.active&&!_&&(r.scrollBody.useBaseFriction().useDuration(!0===t?0:B.duration),r.scrollTo.index(e,n||0))}function H(){return r.index.get()}let $={canScrollNext:function(){return r.index.add(1).get()!==H()},canScrollPrev:function(){return r.index.add(-1).get()!==H()},containerNode:function(){return o},internalEngine:function(){return r},destroy:function(){_||(_=!0,S.clear(),q(),C.emit("destroy"),C.clear())},off:z,on:R,emit:F,plugins:function(){return i},previousScrollSnap:function(){return r.indexPrevious.get()},reInit:W,rootNode:function(){return e},scrollNext:function(e){G(r.index.add(1).get(),e,-1)},scrollPrev:function(e){G(r.index.add(-1).get(),e,1)},scrollProgress:function(){return r.scrollProgress.get(r.location.get())},scrollSnapList:function(){return r.scrollSnapList},scrollTo:G,selectedScrollSnap:H,slideNodes:function(){return a},slidesInView:function(){return r.slidesInView.get()},slidesNotInView:function(){return r.slidesInView.get(!1)}};return X(t,n),setTimeout(()=>C.emit("init"),0),$}function E(e={},t=[]){let n=(0,r.useRef)(e),i=(0,r.useRef)(t),[l,c]=(0,r.useState)(),[u,s]=(0,r.useState)(),d=(0,r.useCallback)(()=>{l&&l.reInit(n.current,i.current)},[l]);return(0,r.useEffect)(()=>{o(n.current,e)||(n.current=e,d())},[e,d]),(0,r.useEffect)(()=>{!function(e,t){if(e.length!==t.length)return!1;let n=a(e),r=a(t);return n.every((e,t)=>o(e,r[t]))}(i.current,t)&&(i.current=t,d())},[t,d]),(0,r.useEffect)(()=>{if("undefined"!=typeof window&&window.document&&window.document.createElement&&u){k.globalOptions=E.globalOptions;let e=k(u,n.current,i.current);return c(e),()=>e.destroy()}c(void 0)},[u,c]),[s,l]}k.globalOptions=void 0,E.globalOptions=void 0}}]); \ No newline at end of file diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/4130-a889053c10e5e2c2.js b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/4130-a889053c10e5e2c2.js new file mode 100644 index 0000000..d175bc0 --- /dev/null +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/4130-a889053c10e5e2c2.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4130],{39997:(e,t,n)=>{n.d(t,{A:()=>a});var r=n(20107);let u=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),o=function(){for(var e=arguments.length,t=Array(e),n=0;n!!e&&n.indexOf(e)===t).join(" ")};var i={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 l=(0,r.forwardRef)((e,t)=>{let{color:n="currentColor",size:u=24,strokeWidth:l=2,absoluteStrokeWidth:a,className:s="",children:c,iconNode:d,...f}=e;return(0,r.createElement)("svg",{ref:t,...i,width:u,height:u,stroke:n,strokeWidth:a?24*Number(l)/Number(u):l,className:o("lucide",s),...f},[...d.map(e=>{let[t,n]=e;return(0,r.createElement)(t,n)}),...Array.isArray(c)?c:[c]])}),a=(e,t)=>{let n=(0,r.forwardRef)((n,i)=>{let{className:a,...s}=n;return(0,r.createElement)(l,{ref:i,iconNode:t,className:o("lucide-".concat(u(e)),a),...s})});return n.displayName="".concat(e),n}},58212:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(39997).A)("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]])},94521:(e,t,n)=>{n.d(t,{m:()=>r});function r(e,t,{checkForDefaultPrevented:n=!0}={}){return function(r){if(e?.(r),!1===n||!r.defaultPrevented)return t?.(r)}}},54379:(e,t,n)=>{n.d(t,{A:()=>o});var r=n(20107),u=n(20475);function o(e,t=[]){let n=[],i=()=>{let t=n.map(e=>r.createContext(e));return function(n){let u=n?.[e]||t;return r.useMemo(()=>({[`__scope${e}`]:{...n,[e]:u}}),[n,u])}};return i.scopeName=e,[function(t,o){let i=r.createContext(o),l=n.length;function a(t){let{scope:n,children:o,...a}=t,s=n?.[e][l]||i,c=r.useMemo(()=>a,Object.values(a));return(0,u.jsx)(s.Provider,{value:c,children:o})}return n=[...n,o],a.displayName=t+"Provider",[a,function(n,u){let a=u?.[e][l]||i,s=r.useContext(a);if(s)return s;if(void 0!==o)return o;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 u=n.reduce((t,{useScope:n,scopeName:r})=>{let u=n(e)[`__scope${r}`];return{...t,...u}},{});return r.useMemo(()=>({[`__scope${t.scopeName}`]:u}),[u])}};return n.scopeName=t.scopeName,n}(i,...t)]}},45170:(e,t,n)=>{n.d(t,{A:()=>i,q:()=>o});var r=n(20107),u=n(20475);function o(e,t){let n=r.createContext(t),o=e=>{let{children:t,...o}=e,i=r.useMemo(()=>o,Object.values(o));return(0,u.jsx)(n.Provider,{value:i,children:t})};return o.displayName=e+"Provider",[o,function(u){let o=r.useContext(n);if(o)return o;if(void 0!==t)return t;throw Error(`\`${u}\` must be used within \`${e}\``)}]}function i(e,t=[]){let n=[],o=()=>{let t=n.map(e=>r.createContext(e));return function(n){let u=n?.[e]||t;return r.useMemo(()=>({[`__scope${e}`]:{...n,[e]:u}}),[n,u])}};return o.scopeName=e,[function(t,o){let i=r.createContext(o),l=n.length;n=[...n,o];let a=t=>{let{scope:n,children:o,...a}=t,s=n?.[e]?.[l]||i,c=r.useMemo(()=>a,Object.values(a));return(0,u.jsx)(s.Provider,{value:c,children:o})};return a.displayName=t+"Provider",[a,function(n,u){let a=u?.[e]?.[l]||i,s=r.useContext(a);if(s)return s;if(void 0!==o)return o;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 u=n.reduce((t,{useScope:n,scopeName:r})=>{let u=n(e)[`__scope${r}`];return{...t,...u}},{});return r.useMemo(()=>({[`__scope${t.scopeName}`]:u}),[u])}};return n.scopeName=t.scopeName,n}(o,...t)]}},72763:(e,t,n)=>{n.d(t,{B:()=>a});var r,u=n(20107),o=n(54122),i=(r||(r=n.t(u,2)))["useId".toString()]||(()=>void 0),l=0;function a(e){let[t,n]=u.useState(i());return(0,o.N)(()=>{e||n(e=>e??String(l++))},[e]),e||(t?`radix-${t}`:"")}},21840:(e,t,n)=>{n.d(t,{b:()=>l});var r=n(20107),u=n(34544),o=n(20475),i=r.forwardRef((e,t)=>(0,o.jsx)(u.sG.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())}}));i.displayName="Label";var l=i},54245:(e,t,n)=>{n.d(t,{C:()=>i});var r=n(20107),u=n(64236),o=n(54122),i=e=>{let{present:t,children:n}=e,i=function(e){var t,n;let[u,i]=r.useState(),a=r.useRef({}),s=r.useRef(e),c=r.useRef("none"),[d,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)=>{let r=n[e][t];return null!=r?r:e},t));return r.useEffect(()=>{let e=l(a.current);c.current="mounted"===d?e:"none"},[d]),(0,o.N)(()=>{let t=a.current,n=s.current;if(n!==e){let r=c.current,u=l(t);e?f("MOUNT"):"none"===u||(null==t?void 0:t.display)==="none"?f("UNMOUNT"):n&&r!==u?f("ANIMATION_OUT"):f("UNMOUNT"),s.current=e}},[e,f]),(0,o.N)(()=>{if(u){var e;let t;let n=null!==(e=u.ownerDocument.defaultView)&&void 0!==e?e:window,r=e=>{let r=l(a.current).includes(e.animationName);if(e.target===u&&r&&(f("ANIMATION_END"),!s.current)){let e=u.style.animationFillMode;u.style.animationFillMode="forwards",t=n.setTimeout(()=>{"forwards"===u.style.animationFillMode&&(u.style.animationFillMode=e)})}},o=e=>{e.target===u&&(c.current=l(a.current))};return u.addEventListener("animationstart",o),u.addEventListener("animationcancel",r),u.addEventListener("animationend",r),()=>{n.clearTimeout(t),u.removeEventListener("animationstart",o),u.removeEventListener("animationcancel",r),u.removeEventListener("animationend",r)}}f("ANIMATION_END")},[u,f]),{isPresent:["mounted","unmountSuspended"].includes(d),ref:r.useCallback(e=>{e&&(a.current=getComputedStyle(e)),i(e)},[])}}(t),a="function"==typeof n?n({present:i.isPresent}):r.Children.only(n),s=(0,u.s)(i.ref,function(e){var t,n;let r=null===(t=Object.getOwnPropertyDescriptor(e.props,"ref"))||void 0===t?void 0:t.get,u=r&&"isReactWarning"in r&&r.isReactWarning;return u?e.ref:(u=(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}(a));return"function"==typeof n||i.isPresent?r.cloneElement(a,{ref:s}):null};function l(e){return(null==e?void 0:e.animationName)||"none"}i.displayName="Presence"},34544:(e,t,n)=>{n.d(t,{hO:()=>a,sG:()=>l});var r=n(20107),u=n(25642),o=n(61837),i=n(20475),l=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((e,t)=>{let n=r.forwardRef((e,n)=>{let{asChild:r,...u}=e,l=r?o.DX:t;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,i.jsx)(l,{...u,ref:n})});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});function a(e,t){e&&u.flushSync(()=>e.dispatchEvent(t))}},46774:(e,t,n)=>{n.d(t,{c:()=>u});var r=n(20107);function u(e){let t=r.useRef(e);return r.useEffect(()=>{t.current=e}),r.useMemo(()=>(...e)=>t.current?.(...e),[])}},13061:(e,t,n)=>{n.d(t,{i:()=>o});var r=n(20107),u=n(46774);function o({prop:e,defaultProp:t,onChange:n=()=>{}}){let[o,i]=function({defaultProp:e,onChange:t}){let n=r.useState(e),[o]=n,i=r.useRef(o),l=(0,u.c)(t);return r.useEffect(()=>{i.current!==o&&(l(o),i.current=o)},[o,i,l]),n}({defaultProp:t,onChange:n}),l=void 0!==e,a=l?e:o,s=(0,u.c)(n);return[a,r.useCallback(t=>{if(l){let n="function"==typeof t?t(e):t;n!==e&&s(n)}else i(t)},[l,e,i,s])]}},54122:(e,t,n)=>{n.d(t,{N:()=>u});var r=n(20107),u=globalThis?.document?r.useLayoutEffect:()=>{}},29395:(e,t,n)=>{n.d(t,{F:()=>o});let r=e=>"boolean"==typeof e?"".concat(e):0===e?"0":e,u=function(){for(var e,t,n=0,r="";nn=>{var o;if((null==t?void 0:t.variants)==null)return u(e,null==n?void 0:n.class,null==n?void 0:n.className);let{variants:i,defaultVariants:l}=t,a=Object.keys(i).map(e=>{let t=null==n?void 0:n[e],u=null==l?void 0:l[e];if(null===t)return null;let o=r(t)||r(u);return i[e][o]}),s=n&&Object.entries(n).reduce((e,t)=>{let[n,r]=t;return void 0===r||(e[n]=r),e},{});return u(e,a,null==t?void 0:null===(o=t.compoundVariants)||void 0===o?void 0:o.reduce((e,t)=>{let{class:n,className:r,...u}=t;return Object.entries(u).every(e=>{let[t,n]=e;return Array.isArray(n)?n.includes({...l,...s}[t]):({...l,...s})[t]===n})?[...e,n,r]:e},[]),null==n?void 0:n.class,null==n?void 0:n.className)}}}]); \ No newline at end of file diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/467-150cb05a6a0d0e15.js b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/467-150cb05a6a0d0e15.js deleted file mode 100644 index d0837b1..0000000 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/467-150cb05a6a0d0e15.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[467],{39997:(e,r,t)=>{t.d(r,{A:()=>s});var n=t(20107);let o=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),l=function(){for(var e=arguments.length,r=Array(e),t=0;t!!e&&t.indexOf(e)===r).join(" ")};var i={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 a=(0,n.forwardRef)((e,r)=>{let{color:t="currentColor",size:o=24,strokeWidth:a=2,absoluteStrokeWidth:s,className:c="",children:d,iconNode:u,...f}=e;return(0,n.createElement)("svg",{ref:r,...i,width:o,height:o,stroke:t,strokeWidth:s?24*Number(a)/Number(o):a,className:l("lucide",c),...f},[...u.map(e=>{let[r,t]=e;return(0,n.createElement)(r,t)}),...Array.isArray(d)?d:[d]])}),s=(e,r)=>{let t=(0,n.forwardRef)((t,i)=>{let{className:s,...c}=t;return(0,n.createElement)(a,{ref:i,iconNode:r,className:l("lucide-".concat(o(e)),s),...c})});return t.displayName="".concat(e),t}},56703:(e,r,t)=>{t.d(r,{q:()=>n});function n(e,[r,t]){return Math.min(t,Math.max(r,e))}},76056:(e,r,t)=>{t.d(r,{jH:()=>l});var n=t(20107);t(20475);var o=n.createContext(void 0);function l(e){let r=n.useContext(o);return e||r||"ltr"}},89679:(e,r,t)=>{t.d(r,{LM:()=>q,OK:()=>$,VM:()=>y,bL:()=>G,lr:()=>H});var n=t(20107),o=t(34544),l=t(54245),i=t(45170),a=t(64236),s=t(46774),c=t(76056),d=t(54122),u=t(56703),f=t(94521),p=t(20475),h="ScrollArea",[v,w]=(0,i.A)(h),[g,m]=v(h),b=n.forwardRef((e,r)=>{let{__scopeScrollArea:t,type:l="hover",dir:i,scrollHideDelay:s=600,...d}=e,[u,f]=n.useState(null),[h,v]=n.useState(null),[w,m]=n.useState(null),[b,S]=n.useState(null),[x,E]=n.useState(null),[y,C]=n.useState(0),[R,T]=n.useState(0),[L,P]=n.useState(!1),[j,_]=n.useState(!1),A=(0,a.s)(r,e=>f(e)),D=(0,c.jH)(i);return(0,p.jsx)(g,{scope:t,type:l,dir:D,scrollHideDelay:s,scrollArea:u,viewport:h,onViewportChange:v,content:w,onContentChange:m,scrollbarX:b,onScrollbarXChange:S,scrollbarXEnabled:L,onScrollbarXEnabledChange:P,scrollbarY:x,onScrollbarYChange:E,scrollbarYEnabled:j,onScrollbarYEnabledChange:_,onCornerWidthChange:C,onCornerHeightChange:T,children:(0,p.jsx)(o.sG.div,{dir:D,...d,ref:A,style:{position:"relative","--radix-scroll-area-corner-width":y+"px","--radix-scroll-area-corner-height":R+"px",...e.style}})})});b.displayName=h;var S="ScrollAreaViewport",x=n.forwardRef((e,r)=>{let{__scopeScrollArea:t,children:l,asChild:i,nonce:s,...c}=e,d=m(S,t),u=n.useRef(null),f=(0,a.s)(r,u,d.onViewportChange);return(0,p.jsxs)(p.Fragment,{children:[(0,p.jsx)("style",{dangerouslySetInnerHTML:{__html:"\n[data-radix-scroll-area-viewport] {\n scrollbar-width: none;\n -ms-overflow-style: none;\n -webkit-overflow-scrolling: touch;\n}\n[data-radix-scroll-area-viewport]::-webkit-scrollbar {\n display: none;\n}\n:where([data-radix-scroll-area-viewport]) {\n display: flex;\n flex-direction: column;\n align-items: stretch;\n}\n:where([data-radix-scroll-area-content]) {\n flex-grow: 1;\n}\n"},nonce:s}),(0,p.jsx)(o.sG.div,{"data-radix-scroll-area-viewport":"",...c,asChild:i,ref:f,style:{overflowX:d.scrollbarXEnabled?"scroll":"hidden",overflowY:d.scrollbarYEnabled?"scroll":"hidden",...e.style},children:function(e,r){let{asChild:t,children:o}=e;if(!t)return"function"==typeof r?r(o):r;let l=n.Children.only(o);return n.cloneElement(l,{children:"function"==typeof r?r(l.props.children):r})}({asChild:i,children:l},e=>(0,p.jsx)("div",{"data-radix-scroll-area-content":"",ref:d.onContentChange,style:{minWidth:d.scrollbarXEnabled?"fit-content":void 0},children:e}))})]})});x.displayName=S;var E="ScrollAreaScrollbar",y=n.forwardRef((e,r)=>{let{forceMount:t,...o}=e,l=m(E,e.__scopeScrollArea),{onScrollbarXEnabledChange:i,onScrollbarYEnabledChange:a}=l,s="horizontal"===e.orientation;return n.useEffect(()=>(s?i(!0):a(!0),()=>{s?i(!1):a(!1)}),[s,i,a]),"hover"===l.type?(0,p.jsx)(C,{...o,ref:r,forceMount:t}):"scroll"===l.type?(0,p.jsx)(R,{...o,ref:r,forceMount:t}):"auto"===l.type?(0,p.jsx)(T,{...o,ref:r,forceMount:t}):"always"===l.type?(0,p.jsx)(L,{...o,ref:r}):null});y.displayName=E;var C=n.forwardRef((e,r)=>{let{forceMount:t,...o}=e,i=m(E,e.__scopeScrollArea),[a,s]=n.useState(!1);return n.useEffect(()=>{let e=i.scrollArea,r=0;if(e){let t=()=>{window.clearTimeout(r),s(!0)},n=()=>{r=window.setTimeout(()=>s(!1),i.scrollHideDelay)};return e.addEventListener("pointerenter",t),e.addEventListener("pointerleave",n),()=>{window.clearTimeout(r),e.removeEventListener("pointerenter",t),e.removeEventListener("pointerleave",n)}}},[i.scrollArea,i.scrollHideDelay]),(0,p.jsx)(l.C,{present:t||a,children:(0,p.jsx)(T,{"data-state":a?"visible":"hidden",...o,ref:r})})}),R=n.forwardRef((e,r)=>{var t,o;let{forceMount:i,...a}=e,s=m(E,e.__scopeScrollArea),c="horizontal"===e.orientation,d=F(()=>h("SCROLL_END"),100),[u,h]=(t="hidden",o={hidden:{SCROLL:"scrolling"},scrolling:{SCROLL_END:"idle",POINTER_ENTER:"interacting"},interacting:{SCROLL:"interacting",POINTER_LEAVE:"idle"},idle:{HIDE:"hidden",SCROLL:"scrolling",POINTER_ENTER:"interacting"}},n.useReducer((e,r)=>{let t=o[e][r];return null!=t?t:e},t));return n.useEffect(()=>{if("idle"===u){let e=window.setTimeout(()=>h("HIDE"),s.scrollHideDelay);return()=>window.clearTimeout(e)}},[u,s.scrollHideDelay,h]),n.useEffect(()=>{let e=s.viewport,r=c?"scrollLeft":"scrollTop";if(e){let t=e[r],n=()=>{let n=e[r];t!==n&&(h("SCROLL"),d()),t=n};return e.addEventListener("scroll",n),()=>e.removeEventListener("scroll",n)}},[s.viewport,c,h,d]),(0,p.jsx)(l.C,{present:i||"hidden"!==u,children:(0,p.jsx)(L,{"data-state":"hidden"===u?"hidden":"visible",...a,ref:r,onPointerEnter:(0,f.m)(e.onPointerEnter,()=>h("POINTER_ENTER")),onPointerLeave:(0,f.m)(e.onPointerLeave,()=>h("POINTER_LEAVE"))})})}),T=n.forwardRef((e,r)=>{let t=m(E,e.__scopeScrollArea),{forceMount:o,...i}=e,[a,s]=n.useState(!1),c="horizontal"===e.orientation,d=F(()=>{if(t.viewport){let e=t.viewport.offsetWidth{let{orientation:t="vertical",...o}=e,l=m(E,e.__scopeScrollArea),i=n.useRef(null),a=n.useRef(0),[s,c]=n.useState({content:0,viewport:0,scrollbar:{size:0,paddingStart:0,paddingEnd:0}}),d=X(s.viewport,s.content),u={...o,sizes:s,onSizesChange:c,hasThumb:!!(d>0&&d<1),onThumbChange:e=>i.current=e,onThumbPointerUp:()=>a.current=0,onThumbPointerDown:e=>a.current=e};function f(e,r){return function(e,r,t){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"ltr",o=Y(t),l=r||o/2,i=t.scrollbar.paddingStart+l,a=t.scrollbar.size-t.scrollbar.paddingEnd-(o-l),s=t.content-t.viewport;return M([i,a],"ltr"===n?[0,s]:[-1*s,0])(e)}(e,a.current,s,r)}return"horizontal"===t?(0,p.jsx)(P,{...u,ref:r,onThumbPositionChange:()=>{if(l.viewport&&i.current){let e=U(l.viewport.scrollLeft,s,l.dir);i.current.style.transform="translate3d(".concat(e,"px, 0, 0)")}},onWheelScroll:e=>{l.viewport&&(l.viewport.scrollLeft=e)},onDragScroll:e=>{l.viewport&&(l.viewport.scrollLeft=f(e,l.dir))}}):"vertical"===t?(0,p.jsx)(j,{...u,ref:r,onThumbPositionChange:()=>{if(l.viewport&&i.current){let e=U(l.viewport.scrollTop,s);i.current.style.transform="translate3d(0, ".concat(e,"px, 0)")}},onWheelScroll:e=>{l.viewport&&(l.viewport.scrollTop=e)},onDragScroll:e=>{l.viewport&&(l.viewport.scrollTop=f(e))}}):null}),P=n.forwardRef((e,r)=>{let{sizes:t,onSizesChange:o,...l}=e,i=m(E,e.__scopeScrollArea),[s,c]=n.useState(),d=n.useRef(null),u=(0,a.s)(r,d,i.onScrollbarXChange);return n.useEffect(()=>{d.current&&c(getComputedStyle(d.current))},[d]),(0,p.jsx)(D,{"data-orientation":"horizontal",...l,ref:u,sizes:t,style:{bottom:0,left:"rtl"===i.dir?"var(--radix-scroll-area-corner-width)":0,right:"ltr"===i.dir?"var(--radix-scroll-area-corner-width)":0,"--radix-scroll-area-thumb-width":Y(t)+"px",...e.style},onThumbPointerDown:r=>e.onThumbPointerDown(r.x),onDragScroll:r=>e.onDragScroll(r.x),onWheelScroll:(r,t)=>{if(i.viewport){let n=i.viewport.scrollLeft+r.deltaX;e.onWheelScroll(n),function(e,r){return e>0&&e{d.current&&i.viewport&&s&&o({content:i.viewport.scrollWidth,viewport:i.viewport.offsetWidth,scrollbar:{size:d.current.clientWidth,paddingStart:I(s.paddingLeft),paddingEnd:I(s.paddingRight)}})}})}),j=n.forwardRef((e,r)=>{let{sizes:t,onSizesChange:o,...l}=e,i=m(E,e.__scopeScrollArea),[s,c]=n.useState(),d=n.useRef(null),u=(0,a.s)(r,d,i.onScrollbarYChange);return n.useEffect(()=>{d.current&&c(getComputedStyle(d.current))},[d]),(0,p.jsx)(D,{"data-orientation":"vertical",...l,ref:u,sizes:t,style:{top:0,right:"ltr"===i.dir?0:void 0,left:"rtl"===i.dir?0:void 0,bottom:"var(--radix-scroll-area-corner-height)","--radix-scroll-area-thumb-height":Y(t)+"px",...e.style},onThumbPointerDown:r=>e.onThumbPointerDown(r.y),onDragScroll:r=>e.onDragScroll(r.y),onWheelScroll:(r,t)=>{if(i.viewport){let n=i.viewport.scrollTop+r.deltaY;e.onWheelScroll(n),function(e,r){return e>0&&e{d.current&&i.viewport&&s&&o({content:i.viewport.scrollHeight,viewport:i.viewport.offsetHeight,scrollbar:{size:d.current.clientHeight,paddingStart:I(s.paddingTop),paddingEnd:I(s.paddingBottom)}})}})}),[_,A]=v(E),D=n.forwardRef((e,r)=>{let{__scopeScrollArea:t,sizes:l,hasThumb:i,onThumbChange:c,onThumbPointerUp:d,onThumbPointerDown:u,onThumbPositionChange:h,onDragScroll:v,onWheelScroll:w,onResize:g,...b}=e,S=m(E,t),[x,y]=n.useState(null),C=(0,a.s)(r,e=>y(e)),R=n.useRef(null),T=n.useRef(""),L=S.viewport,P=l.content-l.viewport,j=(0,s.c)(w),A=(0,s.c)(h),D=F(g,10);function N(e){R.current&&v({x:e.clientX-R.current.left,y:e.clientY-R.current.top})}return n.useEffect(()=>{let e=e=>{let r=e.target;(null==x?void 0:x.contains(r))&&j(e,P)};return document.addEventListener("wheel",e,{passive:!1}),()=>document.removeEventListener("wheel",e,{passive:!1})},[L,x,P,j]),n.useEffect(A,[l,A]),V(x,D),V(S.content,D),(0,p.jsx)(_,{scope:t,scrollbar:x,hasThumb:i,onThumbChange:(0,s.c)(c),onThumbPointerUp:(0,s.c)(d),onThumbPositionChange:A,onThumbPointerDown:(0,s.c)(u),children:(0,p.jsx)(o.sG.div,{...b,ref:C,style:{position:"absolute",...b.style},onPointerDown:(0,f.m)(e.onPointerDown,e=>{0===e.button&&(e.target.setPointerCapture(e.pointerId),R.current=x.getBoundingClientRect(),T.current=document.body.style.webkitUserSelect,document.body.style.webkitUserSelect="none",S.viewport&&(S.viewport.style.scrollBehavior="auto"),N(e))}),onPointerMove:(0,f.m)(e.onPointerMove,N),onPointerUp:(0,f.m)(e.onPointerUp,e=>{let r=e.target;r.hasPointerCapture(e.pointerId)&&r.releasePointerCapture(e.pointerId),document.body.style.webkitUserSelect=T.current,S.viewport&&(S.viewport.style.scrollBehavior=""),R.current=null})})})}),N="ScrollAreaThumb",H=n.forwardRef((e,r)=>{let{forceMount:t,...n}=e,o=A(N,e.__scopeScrollArea);return(0,p.jsx)(l.C,{present:t||o.hasThumb,children:(0,p.jsx)(W,{ref:r,...n})})}),W=n.forwardRef((e,r)=>{let{__scopeScrollArea:t,style:l,...i}=e,s=m(N,t),c=A(N,t),{onThumbPositionChange:d}=c,u=(0,a.s)(r,e=>c.onThumbChange(e)),h=n.useRef(),v=F(()=>{h.current&&(h.current(),h.current=void 0)},100);return n.useEffect(()=>{let e=s.viewport;if(e){let r=()=>{if(v(),!h.current){let r=B(e,d);h.current=r,d()}};return d(),e.addEventListener("scroll",r),()=>e.removeEventListener("scroll",r)}},[s.viewport,v,d]),(0,p.jsx)(o.sG.div,{"data-state":c.hasThumb?"visible":"hidden",...i,ref:u,style:{width:"var(--radix-scroll-area-thumb-width)",height:"var(--radix-scroll-area-thumb-height)",...l},onPointerDownCapture:(0,f.m)(e.onPointerDownCapture,e=>{let r=e.target.getBoundingClientRect(),t=e.clientX-r.left,n=e.clientY-r.top;c.onThumbPointerDown({x:t,y:n})}),onPointerUp:(0,f.m)(e.onPointerUp,c.onThumbPointerUp)})});H.displayName=N;var k="ScrollAreaCorner",z=n.forwardRef((e,r)=>{let t=m(k,e.__scopeScrollArea),n=!!(t.scrollbarX&&t.scrollbarY);return"scroll"!==t.type&&n?(0,p.jsx)(O,{...e,ref:r}):null});z.displayName=k;var O=n.forwardRef((e,r)=>{let{__scopeScrollArea:t,...l}=e,i=m(k,t),[a,s]=n.useState(0),[c,d]=n.useState(0),u=!!(a&&c);return V(i.scrollbarX,()=>{var e;let r=(null===(e=i.scrollbarX)||void 0===e?void 0:e.offsetHeight)||0;i.onCornerHeightChange(r),d(r)}),V(i.scrollbarY,()=>{var e;let r=(null===(e=i.scrollbarY)||void 0===e?void 0:e.offsetWidth)||0;i.onCornerWidthChange(r),s(r)}),u?(0,p.jsx)(o.sG.div,{...l,ref:r,style:{width:a,height:c,position:"absolute",right:"ltr"===i.dir?0:void 0,left:"rtl"===i.dir?0:void 0,bottom:0,...e.style}}):null});function I(e){return e?parseInt(e,10):0}function X(e,r){let t=e/r;return isNaN(t)?0:t}function Y(e){let r=X(e.viewport,e.content),t=e.scrollbar.paddingStart+e.scrollbar.paddingEnd;return Math.max((e.scrollbar.size-t)*r,18)}function U(e,r){let t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"ltr",n=Y(r),o=r.scrollbar.paddingStart+r.scrollbar.paddingEnd,l=r.scrollbar.size-o,i=r.content-r.viewport,a=(0,u.q)(e,"ltr"===t?[0,i]:[-1*i,0]);return M([0,i],[0,l-n])(a)}function M(e,r){return t=>{if(e[0]===e[1]||r[0]===r[1])return r[0];let n=(r[1]-r[0])/(e[1]-e[0]);return r[0]+n*(t-e[0])}}var B=function(e){let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:()=>{},t={left:e.scrollLeft,top:e.scrollTop},n=0;return!function o(){let l={left:e.scrollLeft,top:e.scrollTop},i=t.left!==l.left,a=t.top!==l.top;(i||a)&&r(),t=l,n=window.requestAnimationFrame(o)}(),()=>window.cancelAnimationFrame(n)};function F(e,r){let t=(0,s.c)(e),o=n.useRef(0);return n.useEffect(()=>()=>window.clearTimeout(o.current),[]),n.useCallback(()=>{window.clearTimeout(o.current),o.current=window.setTimeout(t,r)},[t,r])}function V(e,r){let t=(0,s.c)(r);(0,d.N)(()=>{let r=0;if(e){let n=new ResizeObserver(()=>{cancelAnimationFrame(r),r=window.requestAnimationFrame(t)});return n.observe(e),()=>{window.cancelAnimationFrame(r),n.unobserve(e)}}},[e,t])}var G=b,q=x,$=z}}]); \ No newline at end of file diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/5668-55d6f43ee8c71ac2.js b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/5668-55d6f43ee8c71ac2.js deleted file mode 100644 index 1829b75..0000000 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/5668-55d6f43ee8c71ac2.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5668],{76076:(e,r,a)=>{a.d(r,{A:()=>t});let t=(0,a(39997).A)("FileUp",[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M12 12v6",key:"3ahymv"}],["path",{d:"m15 15-3-3-3 3",key:"15xj92"}]])},59166:(e,r,a)=>{a.d(r,{A:()=>t});let t=(0,a(39997).A)("LoaderCircle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]])},27720:(e,r,a)=>{a.d(r,{A:()=>t});let t=(0,a(39997).A)("Search",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]])},28702:(e,r,a)=>{a.d(r,{UC:()=>ei,Y9:()=>en,q7:()=>et,bL:()=>ea,l9:()=>eo});var t=a(20107),n=a(45170),o=a(32474),i=a(64236),l=a(94521),d=a(13061),s=a(34544),c=a(54122),u=a(54245),p=a(72763),f=a(20475),v="Collapsible",[h,m]=(0,n.A)(v),[x,b]=h(v),g=t.forwardRef((e,r)=>{let{__scopeCollapsible:a,open:n,defaultOpen:o,disabled:i,onOpenChange:l,...c}=e,[u=!1,v]=(0,d.i)({prop:n,defaultProp:o,onChange:l});return(0,f.jsx)(x,{scope:a,disabled:i,contentId:(0,p.B)(),open:u,onOpenToggle:t.useCallback(()=>v(e=>!e),[v]),children:(0,f.jsx)(s.sG.div,{"data-state":k(u),"data-disabled":i?"":void 0,...c,ref:r})})});g.displayName=v;var y="CollapsibleTrigger",w=t.forwardRef((e,r)=>{let{__scopeCollapsible:a,...t}=e,n=b(y,a);return(0,f.jsx)(s.sG.button,{type:"button","aria-controls":n.contentId,"aria-expanded":n.open||!1,"data-state":k(n.open),"data-disabled":n.disabled?"":void 0,disabled:n.disabled,...t,ref:r,onClick:(0,l.m)(e.onClick,n.onOpenToggle)})});w.displayName=y;var j="CollapsibleContent",A=t.forwardRef((e,r)=>{let{forceMount:a,...t}=e,n=b(j,e.__scopeCollapsible);return(0,f.jsx)(u.C,{present:a||n.open,children:e=>{let{present:a}=e;return(0,f.jsx)(C,{...t,ref:r,present:a})}})});A.displayName=j;var C=t.forwardRef((e,r)=>{let{__scopeCollapsible:a,present:n,children:o,...l}=e,d=b(j,a),[u,p]=t.useState(n),v=t.useRef(null),h=(0,i.s)(r,v),m=t.useRef(0),x=m.current,g=t.useRef(0),y=g.current,w=d.open||u,A=t.useRef(w),C=t.useRef();return t.useEffect(()=>{let e=requestAnimationFrame(()=>A.current=!1);return()=>cancelAnimationFrame(e)},[]),(0,c.N)(()=>{let e=v.current;if(e){C.current=C.current||{transitionDuration:e.style.transitionDuration,animationName:e.style.animationName},e.style.transitionDuration="0s",e.style.animationName="none";let r=e.getBoundingClientRect();m.current=r.height,g.current=r.width,A.current||(e.style.transitionDuration=C.current.transitionDuration,e.style.animationName=C.current.animationName),p(n)}},[d.open,n]),(0,f.jsx)(s.sG.div,{"data-state":k(d.open),"data-disabled":d.disabled?"":void 0,id:d.contentId,hidden:!w,...l,ref:h,style:{"--radix-collapsible-content-height":x?"".concat(x,"px"):void 0,"--radix-collapsible-content-width":y?"".concat(y,"px"):void 0,...e.style},children:w&&o})});function k(e){return e?"open":"closed"}var N=a(76056),R="Accordion",I=["Home","End","ArrowDown","ArrowUp","ArrowLeft","ArrowRight"],[_,D,P]=(0,o.N)(R),[G,O]=(0,n.A)(R,[P,m]),q=m(),E=t.forwardRef((e,r)=>{let{type:a,...t}=e;return(0,f.jsx)(_.Provider,{scope:e.__scopeAccordion,children:"multiple"===a?(0,f.jsx)(S,{...t,ref:r}):(0,f.jsx)(z,{...t,ref:r})})});E.displayName=R;var[H,L]=G(R),[M,T]=G(R,{collapsible:!1}),z=t.forwardRef((e,r)=>{let{value:a,defaultValue:n,onValueChange:o=()=>{},collapsible:i=!1,...l}=e,[s,c]=(0,d.i)({prop:a,defaultProp:n,onChange:o});return(0,f.jsx)(H,{scope:e.__scopeAccordion,value:s?[s]:[],onItemOpen:c,onItemClose:t.useCallback(()=>i&&c(""),[i,c]),children:(0,f.jsx)(M,{scope:e.__scopeAccordion,collapsible:i,children:(0,f.jsx)(F,{...l,ref:r})})})}),S=t.forwardRef((e,r)=>{let{value:a,defaultValue:n,onValueChange:o=()=>{},...i}=e,[l=[],s]=(0,d.i)({prop:a,defaultProp:n,onChange:o}),c=t.useCallback(e=>s(function(){let r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return[...r,e]}),[s]),u=t.useCallback(e=>s(function(){let r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return r.filter(r=>r!==e)}),[s]);return(0,f.jsx)(H,{scope:e.__scopeAccordion,value:l,onItemOpen:c,onItemClose:u,children:(0,f.jsx)(M,{scope:e.__scopeAccordion,collapsible:!0,children:(0,f.jsx)(F,{...i,ref:r})})})}),[U,B]=G(R),F=t.forwardRef((e,r)=>{let{__scopeAccordion:a,disabled:n,dir:o,orientation:d="vertical",...c}=e,u=t.useRef(null),p=(0,i.s)(u,r),v=D(a),h="ltr"===(0,N.jH)(o),m=(0,l.m)(e.onKeyDown,e=>{var r;if(!I.includes(e.key))return;let a=e.target,t=v().filter(e=>{var r;return!(null===(r=e.ref.current)||void 0===r?void 0:r.disabled)}),n=t.findIndex(e=>e.ref.current===a),o=t.length;if(-1===n)return;e.preventDefault();let i=n,l=o-1,s=()=>{(i=n+1)>l&&(i=0)},c=()=>{(i=n-1)<0&&(i=l)};switch(e.key){case"Home":i=0;break;case"End":i=l;break;case"ArrowRight":"horizontal"===d&&(h?s():c());break;case"ArrowDown":"vertical"===d&&s();break;case"ArrowLeft":"horizontal"===d&&(h?c():s());break;case"ArrowUp":"vertical"===d&&c()}null===(r=t[i%o].ref.current)||void 0===r||r.focus()});return(0,f.jsx)(U,{scope:a,disabled:n,direction:o,orientation:d,children:(0,f.jsx)(_.Slot,{scope:a,children:(0,f.jsx)(s.sG.div,{...c,"data-orientation":d,ref:p,onKeyDown:n?void 0:m})})})}),K="AccordionItem",[V,Y]=G(K),Z=t.forwardRef((e,r)=>{let{__scopeAccordion:a,value:t,...n}=e,o=B(K,a),i=L(K,a),l=q(a),d=(0,p.B)(),s=t&&i.value.includes(t)||!1,c=o.disabled||e.disabled;return(0,f.jsx)(V,{scope:a,open:s,disabled:c,triggerId:d,children:(0,f.jsx)(g,{"data-orientation":o.orientation,"data-state":er(s),...l,...n,ref:r,disabled:c,open:s,onOpenChange:e=>{e?i.onItemOpen(t):i.onItemClose(t)}})})});Z.displayName=K;var J="AccordionHeader",Q=t.forwardRef((e,r)=>{let{__scopeAccordion:a,...t}=e,n=B(R,a),o=Y(J,a);return(0,f.jsx)(s.sG.h3,{"data-orientation":n.orientation,"data-state":er(o.open),"data-disabled":o.disabled?"":void 0,...t,ref:r})});Q.displayName=J;var W="AccordionTrigger",X=t.forwardRef((e,r)=>{let{__scopeAccordion:a,...t}=e,n=B(R,a),o=Y(W,a),i=T(W,a),l=q(a);return(0,f.jsx)(_.ItemSlot,{scope:a,children:(0,f.jsx)(w,{"aria-disabled":o.open&&!i.collapsible||void 0,"data-orientation":n.orientation,id:o.triggerId,...l,...t,ref:r})})});X.displayName=W;var $="AccordionContent",ee=t.forwardRef((e,r)=>{let{__scopeAccordion:a,...t}=e,n=B(R,a),o=Y($,a),i=q(a);return(0,f.jsx)(A,{role:"region","aria-labelledby":o.triggerId,"data-orientation":n.orientation,...i,...t,ref:r,style:{"--radix-accordion-content-height":"var(--radix-collapsible-content-height)","--radix-accordion-content-width":"var(--radix-collapsible-content-width)",...e.style}})});function er(e){return e?"open":"closed"}ee.displayName=$;var ea=E,et=Z,en=Q,eo=X,ei=ee},33466:(e,r,a)=>{a.d(r,{C1:()=>w,bL:()=>y});var t=a(20107),n=a(54379),o=a(34544),i=a(20475),l="Progress",[d,s]=(0,n.A)(l),[c,u]=d(l),p=t.forwardRef((e,r)=>{var a,t,n,l;let{__scopeProgress:d,value:s=null,max:u,getValueLabel:p=h,...f}=e;(u||0===u)&&!b(u)&&console.error((a="".concat(u),t="Progress","Invalid prop `max` of value `".concat(a,"` supplied to `").concat(t,"`. Only numbers greater than 0 are valid max values. Defaulting to `").concat(100,"`.")));let v=b(u)?u:100;null===s||g(s,v)||console.error((n="".concat(s),l="Progress","Invalid prop `value` of value `".concat(n,"` supplied to `").concat(l,"`. The `value` prop must be:\n - a positive number\n - less than the value passed to `max` (or ").concat(100," if no `max` prop is set)\n - `null` or `undefined` if the progress is indeterminate.\n\nDefaulting to `null`.")));let y=g(s,v)?s:null,w=x(y)?p(y,v):void 0;return(0,i.jsx)(c,{scope:d,value:y,max:v,children:(0,i.jsx)(o.sG.div,{"aria-valuemax":v,"aria-valuemin":0,"aria-valuenow":x(y)?y:void 0,"aria-valuetext":w,role:"progressbar","data-state":m(y,v),"data-value":null!=y?y:void 0,"data-max":v,...f,ref:r})})});p.displayName=l;var f="ProgressIndicator",v=t.forwardRef((e,r)=>{var a;let{__scopeProgress:t,...n}=e,l=u(f,t);return(0,i.jsx)(o.sG.div,{"data-state":m(l.value,l.max),"data-value":null!==(a=l.value)&&void 0!==a?a:void 0,"data-max":l.max,...n,ref:r})});function h(e,r){return"".concat(Math.round(e/r*100),"%")}function m(e,r){return null==e?"indeterminate":e===r?"complete":"loading"}function x(e){return"number"==typeof e}function b(e){return x(e)&&!isNaN(e)&&e>0}function g(e,r){return x(e)&&!isNaN(e)&&e<=r&&e>=0}v.displayName=f;var y=p,w=v}}]); \ No newline at end of file diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/5755-a5bfdac2a1c07373.js b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/5755-a5bfdac2a1c07373.js deleted file mode 100644 index 73bbfaf..0000000 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/5755-a5bfdac2a1c07373.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5755],{39997:(e,t,n)=>{n.d(t,{A:()=>a});var r=n(20107);let u=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),o=function(){for(var e=arguments.length,t=Array(e),n=0;n!!e&&n.indexOf(e)===t).join(" ")};var i={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 l=(0,r.forwardRef)((e,t)=>{let{color:n="currentColor",size:u=24,strokeWidth:l=2,absoluteStrokeWidth:a,className:s="",children:c,iconNode:d,...f}=e;return(0,r.createElement)("svg",{ref:t,...i,width:u,height:u,stroke:n,strokeWidth:a?24*Number(l)/Number(u):l,className:o("lucide",s),...f},[...d.map(e=>{let[t,n]=e;return(0,r.createElement)(t,n)}),...Array.isArray(c)?c:[c]])}),a=(e,t)=>{let n=(0,r.forwardRef)((n,i)=>{let{className:a,...s}=n;return(0,r.createElement)(l,{ref:i,iconNode:t,className:o("lucide-".concat(u(e)),a),...s})});return n.displayName="".concat(e),n}},58212:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(39997).A)("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]])},94521:(e,t,n)=>{n.d(t,{m:()=>r});function r(e,t,{checkForDefaultPrevented:n=!0}={}){return function(r){if(e?.(r),!1===n||!r.defaultPrevented)return t?.(r)}}},54379:(e,t,n)=>{n.d(t,{A:()=>o});var r=n(20107),u=n(20475);function o(e,t=[]){let n=[],i=()=>{let t=n.map(e=>r.createContext(e));return function(n){let u=n?.[e]||t;return r.useMemo(()=>({[`__scope${e}`]:{...n,[e]:u}}),[n,u])}};return i.scopeName=e,[function(t,o){let i=r.createContext(o),l=n.length;function a(t){let{scope:n,children:o,...a}=t,s=n?.[e][l]||i,c=r.useMemo(()=>a,Object.values(a));return(0,u.jsx)(s.Provider,{value:c,children:o})}return n=[...n,o],a.displayName=t+"Provider",[a,function(n,u){let a=u?.[e][l]||i,s=r.useContext(a);if(s)return s;if(void 0!==o)return o;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 u=n.reduce((t,{useScope:n,scopeName:r})=>{let u=n(e)[`__scope${r}`];return{...t,...u}},{});return r.useMemo(()=>({[`__scope${t.scopeName}`]:u}),[u])}};return n.scopeName=t.scopeName,n}(i,...t)]}},45170:(e,t,n)=>{n.d(t,{A:()=>i,q:()=>o});var r=n(20107),u=n(20475);function o(e,t){let n=r.createContext(t),o=e=>{let{children:t,...o}=e,i=r.useMemo(()=>o,Object.values(o));return(0,u.jsx)(n.Provider,{value:i,children:t})};return o.displayName=e+"Provider",[o,function(u){let o=r.useContext(n);if(o)return o;if(void 0!==t)return t;throw Error(`\`${u}\` must be used within \`${e}\``)}]}function i(e,t=[]){let n=[],o=()=>{let t=n.map(e=>r.createContext(e));return function(n){let u=n?.[e]||t;return r.useMemo(()=>({[`__scope${e}`]:{...n,[e]:u}}),[n,u])}};return o.scopeName=e,[function(t,o){let i=r.createContext(o),l=n.length;n=[...n,o];let a=t=>{let{scope:n,children:o,...a}=t,s=n?.[e]?.[l]||i,c=r.useMemo(()=>a,Object.values(a));return(0,u.jsx)(s.Provider,{value:c,children:o})};return a.displayName=t+"Provider",[a,function(n,u){let a=u?.[e]?.[l]||i,s=r.useContext(a);if(s)return s;if(void 0!==o)return o;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 u=n.reduce((t,{useScope:n,scopeName:r})=>{let u=n(e)[`__scope${r}`];return{...t,...u}},{});return r.useMemo(()=>({[`__scope${t.scopeName}`]:u}),[u])}};return n.scopeName=t.scopeName,n}(o,...t)]}},76056:(e,t,n)=>{n.d(t,{jH:()=>o});var r=n(20107);n(20475);var u=r.createContext(void 0);function o(e){let t=r.useContext(u);return e||t||"ltr"}},72763:(e,t,n)=>{n.d(t,{B:()=>a});var r,u=n(20107),o=n(54122),i=(r||(r=n.t(u,2)))["useId".toString()]||(()=>void 0),l=0;function a(e){let[t,n]=u.useState(i());return(0,o.N)(()=>{e||n(e=>e??String(l++))},[e]),e||(t?`radix-${t}`:"")}},21840:(e,t,n)=>{n.d(t,{b:()=>l});var r=n(20107),u=n(34544),o=n(20475),i=r.forwardRef((e,t)=>(0,o.jsx)(u.sG.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())}}));i.displayName="Label";var l=i},54245:(e,t,n)=>{n.d(t,{C:()=>i});var r=n(20107),u=n(64236),o=n(54122),i=e=>{let{present:t,children:n}=e,i=function(e){var t,n;let[u,i]=r.useState(),a=r.useRef({}),s=r.useRef(e),c=r.useRef("none"),[d,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)=>{let r=n[e][t];return null!=r?r:e},t));return r.useEffect(()=>{let e=l(a.current);c.current="mounted"===d?e:"none"},[d]),(0,o.N)(()=>{let t=a.current,n=s.current;if(n!==e){let r=c.current,u=l(t);e?f("MOUNT"):"none"===u||(null==t?void 0:t.display)==="none"?f("UNMOUNT"):n&&r!==u?f("ANIMATION_OUT"):f("UNMOUNT"),s.current=e}},[e,f]),(0,o.N)(()=>{if(u){var e;let t;let n=null!==(e=u.ownerDocument.defaultView)&&void 0!==e?e:window,r=e=>{let r=l(a.current).includes(e.animationName);if(e.target===u&&r&&(f("ANIMATION_END"),!s.current)){let e=u.style.animationFillMode;u.style.animationFillMode="forwards",t=n.setTimeout(()=>{"forwards"===u.style.animationFillMode&&(u.style.animationFillMode=e)})}},o=e=>{e.target===u&&(c.current=l(a.current))};return u.addEventListener("animationstart",o),u.addEventListener("animationcancel",r),u.addEventListener("animationend",r),()=>{n.clearTimeout(t),u.removeEventListener("animationstart",o),u.removeEventListener("animationcancel",r),u.removeEventListener("animationend",r)}}f("ANIMATION_END")},[u,f]),{isPresent:["mounted","unmountSuspended"].includes(d),ref:r.useCallback(e=>{e&&(a.current=getComputedStyle(e)),i(e)},[])}}(t),a="function"==typeof n?n({present:i.isPresent}):r.Children.only(n),s=(0,u.s)(i.ref,function(e){var t,n;let r=null===(t=Object.getOwnPropertyDescriptor(e.props,"ref"))||void 0===t?void 0:t.get,u=r&&"isReactWarning"in r&&r.isReactWarning;return u?e.ref:(u=(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}(a));return"function"==typeof n||i.isPresent?r.cloneElement(a,{ref:s}):null};function l(e){return(null==e?void 0:e.animationName)||"none"}i.displayName="Presence"},34544:(e,t,n)=>{n.d(t,{hO:()=>a,sG:()=>l});var r=n(20107),u=n(25642),o=n(61837),i=n(20475),l=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((e,t)=>{let n=r.forwardRef((e,n)=>{let{asChild:r,...u}=e,l=r?o.DX:t;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,i.jsx)(l,{...u,ref:n})});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});function a(e,t){e&&u.flushSync(()=>e.dispatchEvent(t))}},46774:(e,t,n)=>{n.d(t,{c:()=>u});var r=n(20107);function u(e){let t=r.useRef(e);return r.useEffect(()=>{t.current=e}),r.useMemo(()=>(...e)=>t.current?.(...e),[])}},13061:(e,t,n)=>{n.d(t,{i:()=>o});var r=n(20107),u=n(46774);function o({prop:e,defaultProp:t,onChange:n=()=>{}}){let[o,i]=function({defaultProp:e,onChange:t}){let n=r.useState(e),[o]=n,i=r.useRef(o),l=(0,u.c)(t);return r.useEffect(()=>{i.current!==o&&(l(o),i.current=o)},[o,i,l]),n}({defaultProp:t,onChange:n}),l=void 0!==e,a=l?e:o,s=(0,u.c)(n);return[a,r.useCallback(t=>{if(l){let n="function"==typeof t?t(e):t;n!==e&&s(n)}else i(t)},[l,e,i,s])]}},54122:(e,t,n)=>{n.d(t,{N:()=>u});var r=n(20107),u=globalThis?.document?r.useLayoutEffect:()=>{}},29395:(e,t,n)=>{n.d(t,{F:()=>o});let r=e=>"boolean"==typeof e?"".concat(e):0===e?"0":e,u=function(){for(var e,t,n=0,r="";nn=>{var o;if((null==t?void 0:t.variants)==null)return u(e,null==n?void 0:n.class,null==n?void 0:n.className);let{variants:i,defaultVariants:l}=t,a=Object.keys(i).map(e=>{let t=null==n?void 0:n[e],u=null==l?void 0:l[e];if(null===t)return null;let o=r(t)||r(u);return i[e][o]}),s=n&&Object.entries(n).reduce((e,t)=>{let[n,r]=t;return void 0===r||(e[n]=r),e},{});return u(e,a,null==t?void 0:null===(o=t.compoundVariants)||void 0===o?void 0:o.reduce((e,t)=>{let{class:n,className:r,...u}=t;return Object.entries(u).every(e=>{let[t,n]=e;return Array.isArray(n)?n.includes({...l,...s}[t]):({...l,...s})[t]===n})?[...e,n,r]:e},[]),null==n?void 0:n.class,null==n?void 0:n.className)}}}]); \ No newline at end of file diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/8171-3864f38194afa137.js b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/8171-3864f38194afa137.js deleted file mode 100644 index d4f93c6..0000000 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/8171-3864f38194afa137.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8171],{78171:(e,r,t)=>{t.r(r),t.d(r,{default:()=>w});var a=t(20475),s=t(72167),n=t(45934),l=t(76554),i=t(42541),d=t(39997);let c=(0,d.A)("Radio",[["path",{d:"M4.9 19.1C1 15.2 1 8.8 4.9 4.9",key:"1vaf9d"}],["path",{d:"M7.8 16.2c-2.3-2.3-2.3-6.1 0-8.5",key:"u1ii0m"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}],["path",{d:"M16.2 7.8c2.3 2.3 2.3 6.1 0 8.5",key:"1j5fej"}],["path",{d:"M19.1 4.9C23 8.8 23 15.1 19.1 19",key:"10b0cb"}]]);var o=t(92823);let u=(0,d.A)("Signal",[["path",{d:"M2 20h.01",key:"4haj6o"}],["path",{d:"M7 20v-4",key:"j294jx"}],["path",{d:"M12 20v-8",key:"i3yub9"}],["path",{d:"M17 20V8",key:"1tkaf5"}],["path",{d:"M22 4v16",key:"sih9yq"}]]),m=(0,d.A)("Activity",[["path",{d:"M22 12h-2.48a2 2 0 0 0-1.93 1.46l-2.35 8.36a.25.25 0 0 1-.48 0L9.24 2.18a.25.25 0 0 0-.48 0l-2.35 8.36A2 2 0 0 1 4.49 12H2",key:"169zse"}]]);var h=t(17799),x=t(91994),g=t(8782),f=t(49573),p=t(20107);let v=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:3e4,[r,t]=(0,p.useState)([]),[a,s]=(0,p.useState)(!0),[n,l]=(0,p.useState)(null),[i,d]=(0,p.useState)(null),c=(0,p.useCallback)(async()=>{try{l(null);let e=await fetch("/cgi-bin/quecmanager/experimental/fetch_interpretations.sh",{cache:"no-cache",headers:{"Cache-Control":"no-cache",Pragma:"no-cache"}});if(!e.ok)throw Error("HTTP ".concat(e.status,": Failed to fetch interpretations"));let r=await e.json(),a=Array.isArray(r)?r:[];t(a),d(new Date)}catch(e){console.error("Failed to fetch interpretations:",e),l(e instanceof Error?e.message:"Unknown error occurred")}finally{s(!1)}},[]);return(0,p.useEffect)(()=>{if(c(),e>0){let r=setInterval(c,e);return()=>clearInterval(r)}},[c,e]),{interpretations:r,loading:a,error:n,lastUpdate:i,refresh:(0,p.useCallback)(()=>{s(!0),c()},[c])}};var b=t(36760);let y=e=>e.toLowerCase().includes("band")?(0,a.jsx)(c,{className:"h-4 w-4"}):e.toLowerCase().includes("carrier aggregation")||e.toLowerCase().includes("carriers")?(0,a.jsx)(o.A,{className:"h-4 w-4"}):e.toLowerCase().includes("signal")?(0,a.jsx)(u,{className:"h-4 w-4"}):(e.toLowerCase().includes("network mode")||e.toLowerCase().includes("pci")||e.toLowerCase().includes("earfcn"),(0,a.jsx)(m,{className:"h-4 w-4"})),j=e=>{let r=e.toLowerCase();return r.includes("signal lost")||r.includes("no cellular")?"bg-red-100 text-red-800 border-red-200 dark:bg-red-900/20 dark:text-red-300 dark:border-red-800":r.includes("signal restored")||r.includes("connected")?"bg-green-100 text-green-800 border-green-200 dark:bg-green-900/20 dark:text-green-300 dark:border-green-800":r.includes("aggregation activated")||r.includes("carriers increased")?"bg-blue-100 text-blue-800 border-blue-200 dark:bg-blue-900/20 dark:text-blue-300 dark:border-blue-800":r.includes("aggregation deactivated")||r.includes("single carrier")?"bg-orange-100 text-orange-800 border-orange-200 dark:bg-orange-900/20 dark:text-orange-300 dark:border-orange-800":r.includes("network mode changed")||r.includes("nsa")||r.includes("lte")||r.includes("5g sa")?"bg-purple-100 text-purple-800 border-purple-200 dark:bg-purple-900/20 dark:text-purple-300 dark:border-purple-800":r.includes("band")&&(r.includes("added")||r.includes("removed")||r.includes("changed"))?"bg-teal-100 text-teal-800 border-teal-200 dark:bg-teal-900/20 dark:text-teal-300 dark:border-teal-800":"bg-gray-100 text-gray-800 border-gray-200 dark:bg-gray-900/20 dark:text-gray-300 dark:border-gray-800"};function w(){let{interpretations:e,loading:r,error:t,lastUpdate:d,refresh:p}=v(3e4),w=e=>{try{let r=new Date(e);return{date:r.toLocaleDateString(),time:r.toLocaleTimeString([],{hour:"2-digit",minute:"2-digit"})}}catch(r){return{date:e.split(" ")[0]||"",time:e.split(" ")[1]||""}}},N=e.reduce((e,r)=>{let{date:t}=w(r.datetime);return e[t]||(e[t]=[]),e[t].push(r),e},{}),k=Object.keys(N).sort((e,r)=>new Date(r).getTime()-new Date(e).getTime());return(0,a.jsxs)(s.Zp,{children:[(0,a.jsxs)(s.aR,{children:[(0,a.jsx)(s.ZB,{children:"Network Insights"}),(0,a.jsx)(s.BT,{children:"Real-time insights into your cellular network changes, including band switches, carrier aggregation events, and signal quality changes. The monitoring service runs automatically as part of QuecManager services."})]}),(0,a.jsx)(s.Wu,{children:(0,a.jsxs)("div",{className:"space-y-6",children:[t&&(0,a.jsxs)(f.Fc,{variant:"destructive",children:[(0,a.jsx)(h.A,{className:"h-4 w-4"}),(0,a.jsxs)(f.TN,{children:["Failed to load network insights: ",t]})]}),(0,a.jsxs)("div",{className:"grid gap-6",children:[(0,a.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-4 gap-4",children:[(0,a.jsx)(s.Zp,{children:(0,a.jsx)(s.Wu,{className:"p-4",children:(0,a.jsxs)("div",{className:"flex items-center space-x-3",children:[(0,a.jsx)(m,{className:"h-8 w-8 text-blue-500"}),(0,a.jsxs)("div",{children:[(0,a.jsx)("p",{className:"text-sm font-medium",children:"Total Events"}),r&&0===e.length?(0,a.jsx)(b.E,{className:"h-8 w-6 mt-1"}):(0,a.jsx)("p",{className:"text-2xl font-bold",children:e.length})]})]})})}),(0,a.jsx)(s.Zp,{children:(0,a.jsx)(s.Wu,{className:"p-4",children:(0,a.jsxs)("div",{className:"flex items-center space-x-3",children:[(0,a.jsx)(c,{className:"h-8 w-8 text-teal-500"}),(0,a.jsxs)("div",{children:[(0,a.jsx)("p",{className:"text-sm font-medium",children:"Band Changes"}),r&&0===e.length?(0,a.jsx)(b.E,{className:"h-8 w-6 mt-1"}):(0,a.jsx)("p",{className:"text-2xl font-bold",children:e.filter(e=>e.interpretation.toLowerCase().includes("band")).length})]})]})})}),(0,a.jsx)(s.Zp,{children:(0,a.jsx)(s.Wu,{className:"p-4",children:(0,a.jsxs)("div",{className:"flex items-center space-x-3",children:[(0,a.jsx)(o.A,{className:"h-8 w-8 text-blue-500"}),(0,a.jsxs)("div",{children:[(0,a.jsx)("p",{className:"text-sm font-medium",children:"CA Events"}),r&&0===e.length?(0,a.jsx)(b.E,{className:"h-8 w-6 mt-1"}):(0,a.jsx)("p",{className:"text-2xl font-bold",children:e.filter(e=>e.interpretation.toLowerCase().includes("carrier aggregation")||e.interpretation.toLowerCase().includes("carriers")).length})]})]})})}),(0,a.jsx)(s.Zp,{children:(0,a.jsx)(s.Wu,{className:"p-4",children:(0,a.jsxs)("div",{className:"flex items-center space-x-3",children:[(0,a.jsx)(u,{className:"h-8 w-8 text-green-500"}),(0,a.jsxs)("div",{children:[(0,a.jsx)("p",{className:"text-sm font-medium",children:"Signal Events"}),r&&0===e.length?(0,a.jsx)(b.E,{className:"h-8 w-6 mt-1"}):(0,a.jsx)("p",{className:"text-2xl font-bold",children:e.filter(e=>e.interpretation.toLowerCase().includes("signal")||e.interpretation.toLowerCase().includes("network mode")).length})]})]})})})]}),r&&0===e.length?(0,a.jsx)(s.Zp,{className:"pt-6",children:(0,a.jsxs)(s.Wu,{className:"flex flex-col gap-4",children:[(0,a.jsx)(b.E,{className:"h-16 w-full"}),(0,a.jsx)(b.E,{className:"h-16 w-full"}),(0,a.jsx)(b.E,{className:"h-16 w-full"})]})}):(0,a.jsx)(a.Fragment,{children:r||0!==k.length?k.map(e=>(0,a.jsxs)(s.Zp,{children:[(0,a.jsx)(s.aR,{children:(0,a.jsxs)("div",{className:"flex items-center justify-between",children:[(0,a.jsx)(s.ZB,{children:e}),(0,a.jsxs)(n.E,{variant:"secondary",children:[N[e].length," event",1!==N[e].length?"s":""]})]})}),(0,a.jsx)(s.Wu,{children:(0,a.jsx)("div",{className:"space-y-4",children:N[e].sort((e,r)=>new Date(r.datetime).getTime()-new Date(e.datetime).getTime()).map((r,t)=>{let{time:s}=w(r.datetime);return(0,a.jsxs)("div",{children:[(0,a.jsxs)("div",{className:"flex items-start space-x-3",children:[(0,a.jsx)("div",{className:"p-2 rounded-full border ".concat(j(r.interpretation)),children:y(r.interpretation)}),(0,a.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,a.jsx)("div",{className:"flex items-center space-x-2",children:(0,a.jsx)("span",{className:"text-sm font-medium text-muted-foreground",children:s})}),(0,a.jsx)("p",{className:"mt-1 text-sm leading-relaxed",children:r.interpretation})]})]}),t{t.d(r,{Fc:()=>d,TN:()=>o,XL:()=>c});var a=t(20475),s=t(20107),n=t(29395),l=t(22250);let i=(0,n.F)("relative w-full rounded-lg border px-4 py-3 text-sm [&>svg+div]:translate-y-[-3px] [&>svg]:absolute [&>svg]:left-4 [&>svg]:top-4 [&>svg]:text-foreground [&>svg~*]:pl-7",{variants:{variant:{default:"bg-background text-foreground",destructive:"border-destructive/50 text-destructive dark:border-destructive [&>svg]:text-destructive"}},defaultVariants:{variant:"default"}}),d=s.forwardRef((e,r)=>{let{className:t,variant:s,...n}=e;return(0,a.jsx)("div",{ref:r,role:"alert",className:(0,l.cn)(i({variant:s}),t),...n})});d.displayName="Alert";let c=s.forwardRef((e,r)=>{let{className:t,...s}=e;return(0,a.jsx)("h5",{ref:r,className:(0,l.cn)("mb-1 font-medium leading-none tracking-tight",t),...s})});c.displayName="AlertTitle";let o=s.forwardRef((e,r)=>{let{className:t,...s}=e;return(0,a.jsx)("div",{ref:r,className:(0,l.cn)("text-sm [&_p]:leading-relaxed",t),...s})});o.displayName="AlertDescription"},45934:(e,r,t)=>{t.d(r,{E:()=>i});var a=t(20475);t(20107);var s=t(29395),n=t(22250);let l=(0,s.F)("inline-flex items-center rounded-md border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground shadow hover:bg-primary/80",secondary:"border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80",destructive:"border-transparent bg-destructive text-destructive-foreground shadow hover:bg-destructive/80",outline:"text-foreground"}},defaultVariants:{variant:"default"}});function i(e){let{className:r,variant:t,...s}=e;return(0,a.jsx)("div",{className:(0,n.cn)(l({variant:t}),r),...s})}},42541:(e,r,t)=>{t.d(r,{$:()=>c,r:()=>d});var a=t(20475),s=t(20107),n=t(61837),l=t(29395),i=t(22250);let d=(0,l.F)("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{variants:{variant:{default:"bg-primary text-primary-foreground shadow hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90",outline:"border border-input bg-background shadow-sm hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2",sm:"h-8 rounded-md px-3 text-xs",lg:"h-10 rounded-md px-8",icon:"h-9 w-9"}},defaultVariants:{variant:"default",size:"default"}}),c=s.forwardRef((e,r)=>{let{className:t,variant:s,size:l,asChild:c=!1,...o}=e,u=c?n.DX:"button";return(0,a.jsx)(u,{className:(0,i.cn)(d({variant:s,size:l,className:t})),ref:r,...o})});c.displayName="Button"},72167:(e,r,t)=>{t.d(r,{BT:()=>c,Wu:()=>o,ZB:()=>d,Zp:()=>l,aR:()=>i,wL:()=>u});var a=t(20475),s=t(20107),n=t(22250);let l=s.forwardRef((e,r)=>{let{className:t,...s}=e;return(0,a.jsx)("div",{ref:r,className:(0,n.cn)("rounded-xl border bg-card text-card-foreground shadow",t),...s})});l.displayName="Card";let i=s.forwardRef((e,r)=>{let{className:t,...s}=e;return(0,a.jsx)("div",{ref:r,className:(0,n.cn)("flex flex-col space-y-1.5 p-6",t),...s})});i.displayName="CardHeader";let d=s.forwardRef((e,r)=>{let{className:t,...s}=e;return(0,a.jsx)("h3",{ref:r,className:(0,n.cn)("font-semibold leading-none tracking-tight",t),...s})});d.displayName="CardTitle";let c=s.forwardRef((e,r)=>{let{className:t,...s}=e;return(0,a.jsx)("p",{ref:r,className:(0,n.cn)("text-sm text-muted-foreground",t),...s})});c.displayName="CardDescription";let o=s.forwardRef((e,r)=>{let{className:t,...s}=e;return(0,a.jsx)("div",{ref:r,className:(0,n.cn)("p-6 pt-0",t),...s})});o.displayName="CardContent";let u=s.forwardRef((e,r)=>{let{className:t,...s}=e;return(0,a.jsx)("div",{ref:r,className:(0,n.cn)("flex items-center p-6 pt-0",t),...s})});u.displayName="CardFooter"},76554:(e,r,t)=>{t.d(r,{Separator:()=>i});var a=t(20475),s=t(20107),n=t(88853),l=t(22250);let i=s.forwardRef((e,r)=>{let{className:t,orientation:s="horizontal",decorative:i=!0,...d}=e;return(0,a.jsx)(n.b,{ref:r,decorative:i,orientation:s,className:(0,l.cn)("shrink-0 bg-border","horizontal"===s?"h-[1px] w-full":"h-full w-[1px]",t),...d})});i.displayName=n.b.displayName},36760:(e,r,t)=>{t.d(r,{E:()=>n});var a=t(20475),s=t(22250);function n(e){let{className:r,...t}=e;return(0,a.jsx)("div",{className:(0,s.cn)("animate-pulse rounded-md bg-primary/10",r),...t})}},22250:(e,r,t)=>{t.d(r,{cn:()=>n});var a=t(64901),s=t(868);function n(){for(var e=arguments.length,r=Array(e),t=0;t{t.d(r,{A:()=>d});var a=t(20107);let s=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),n=function(){for(var e=arguments.length,r=Array(e),t=0;t!!e&&t.indexOf(e)===r).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,a.forwardRef)((e,r)=>{let{color:t="currentColor",size:s=24,strokeWidth:i=2,absoluteStrokeWidth:d,className:c="",children:o,iconNode:u,...m}=e;return(0,a.createElement)("svg",{ref:r,...l,width:s,height:s,stroke:t,strokeWidth:d?24*Number(i)/Number(s):i,className:n("lucide",c),...m},[...u.map(e=>{let[r,t]=e;return(0,a.createElement)(r,t)}),...Array.isArray(o)?o:[o]])}),d=(e,r)=>{let t=(0,a.forwardRef)((t,l)=>{let{className:d,...c}=t;return(0,a.createElement)(i,{ref:l,iconNode:r,className:n("lucide-".concat(s(e)),d),...c})});return t.displayName="".concat(e),t}},17799:(e,r,t)=>{t.d(r,{A:()=>a});let a=(0,t(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"}]])},8782:(e,r,t)=>{t.d(r,{A:()=>a});let a=(0,t(39997).A)("Clock",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polyline",{points:"12 6 12 12 16 14",key:"68esgv"}]])},91994:(e,r,t)=>{t.d(r,{A:()=>a});let a=(0,t(39997).A)("RefreshCw",[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]])},92823:(e,r,t)=>{t.d(r,{A:()=>a});let a=(0,t(39997).A)("Zap",[["path",{d:"M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z",key:"1xq2db"}]])},34544:(e,r,t)=>{t.d(r,{hO:()=>d,sG:()=>i});var a=t(20107),s=t(25642),n=t(61837),l=t(20475),i=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((e,r)=>{let t=a.forwardRef((e,t)=>{let{asChild:a,...s}=e,i=a?n.DX:r;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,l.jsx)(i,{...s,ref:t})});return t.displayName=`Primitive.${r}`,{...e,[r]:t}},{});function d(e,r){e&&s.flushSync(()=>e.dispatchEvent(r))}},88853:(e,r,t)=>{t.d(r,{b:()=>c});var a=t(20107),s=t(34544),n=t(20475),l="horizontal",i=["horizontal","vertical"],d=a.forwardRef((e,r)=>{let{decorative:t,orientation:a=l,...d}=e,c=i.includes(a)?a:l;return(0,n.jsx)(s.sG.div,{"data-orientation":c,...t?{role:"none"}:{"aria-orientation":"vertical"===c?c:void 0,role:"separator"},...d,ref:r})});d.displayName="Separator";var c=d},29395:(e,r,t)=>{t.d(r,{F:()=>n});let a=e=>"boolean"==typeof e?"".concat(e):0===e?"0":e,s=function(){for(var e,r,t=0,a="";tt=>{var n;if((null==r?void 0:r.variants)==null)return s(e,null==t?void 0:t.class,null==t?void 0:t.className);let{variants:l,defaultVariants:i}=r,d=Object.keys(l).map(e=>{let r=null==t?void 0:t[e],s=null==i?void 0:i[e];if(null===r)return null;let n=a(r)||a(s);return l[e][n]}),c=t&&Object.entries(t).reduce((e,r)=>{let[t,a]=r;return void 0===a||(e[t]=a),e},{});return s(e,d,null==r?void 0:null===(n=r.compoundVariants)||void 0===n?void 0:n.reduce((e,r)=>{let{class:t,className:a,...s}=r;return Object.entries(s).every(e=>{let[r,t]=e;return Array.isArray(t)?t.includes({...i,...c}[r]):({...i,...c})[r]===t})?[...e,t,a]:e},[]),null==t?void 0:t.class,null==t?void 0:t.className)}}}]); \ No newline at end of file diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/8171-70f2e3ca931caba6.js b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/8171-70f2e3ca931caba6.js new file mode 100644 index 0000000..dface90 --- /dev/null +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/8171-70f2e3ca931caba6.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8171],{78171:(e,r,t)=>{t.r(r),t.d(r,{default:()=>w});var a=t(20475),s=t(72167),n=t(45934),l=t(76554),i=t(42541),d=t(39997);let c=(0,d.A)("Radio",[["path",{d:"M4.9 19.1C1 15.2 1 8.8 4.9 4.9",key:"1vaf9d"}],["path",{d:"M7.8 16.2c-2.3-2.3-2.3-6.1 0-8.5",key:"u1ii0m"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}],["path",{d:"M16.2 7.8c2.3 2.3 2.3 6.1 0 8.5",key:"1j5fej"}],["path",{d:"M19.1 4.9C23 8.8 23 15.1 19.1 19",key:"10b0cb"}]]);var o=t(92823);let u=(0,d.A)("Signal",[["path",{d:"M2 20h.01",key:"4haj6o"}],["path",{d:"M7 20v-4",key:"j294jx"}],["path",{d:"M12 20v-8",key:"i3yub9"}],["path",{d:"M17 20V8",key:"1tkaf5"}],["path",{d:"M22 4v16",key:"sih9yq"}]]),m=(0,d.A)("Activity",[["path",{d:"M22 12h-2.48a2 2 0 0 0-1.93 1.46l-2.35 8.36a.25.25 0 0 1-.48 0L9.24 2.18a.25.25 0 0 0-.48 0l-2.35 8.36A2 2 0 0 1 4.49 12H2",key:"169zse"}]]);var h=t(17799),x=t(91994),g=t(8782),f=t(49573),p=t(20107);let v=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:3e4,[r,t]=(0,p.useState)([]),[a,s]=(0,p.useState)(!0),[n,l]=(0,p.useState)(null),[i,d]=(0,p.useState)(null),c=(0,p.useCallback)(async()=>{try{l(null);let e=await fetch("/cgi-bin/quecmanager/experimental/fetch_interpretations.sh",{cache:"no-cache",headers:{"Cache-Control":"no-cache",Pragma:"no-cache"}});if(!e.ok)throw Error("HTTP ".concat(e.status,": Failed to fetch interpretations"));let r=await e.json(),a=Array.isArray(r)?r:[];t(a),d(new Date)}catch(e){console.error("Failed to fetch interpretations:",e),l(e instanceof Error?e.message:"Unknown error occurred")}finally{s(!1)}},[]);return(0,p.useEffect)(()=>{if(c(),e>0){let r=setInterval(c,e);return()=>clearInterval(r)}},[c,e]),{interpretations:r,loading:a,error:n,lastUpdate:i,refresh:(0,p.useCallback)(()=>{s(!0),c()},[c])}};var b=t(36760);let y=e=>e.toLowerCase().includes("band")?(0,a.jsx)(c,{className:"h-4 w-4"}):e.toLowerCase().includes("carrier aggregation")||e.toLowerCase().includes("carriers")?(0,a.jsx)(o.A,{className:"h-4 w-4"}):e.toLowerCase().includes("signal")?(0,a.jsx)(u,{className:"h-4 w-4"}):(e.toLowerCase().includes("network mode")||e.toLowerCase().includes("pci")||e.toLowerCase().includes("earfcn"),(0,a.jsx)(m,{className:"h-4 w-4"})),j=e=>{let r=e.toLowerCase();return r.includes("signal lost")||r.includes("no cellular")?"bg-red-100 text-red-800 border-red-200 dark:bg-red-900/20 dark:text-red-300 dark:border-red-800":r.includes("signal restored")||r.includes("connected")?"bg-green-100 text-green-800 border-green-200 dark:bg-green-900/20 dark:text-green-300 dark:border-green-800":r.includes("aggregation activated")||r.includes("carriers increased")?"bg-blue-100 text-blue-800 border-blue-200 dark:bg-blue-900/20 dark:text-blue-300 dark:border-blue-800":r.includes("aggregation deactivated")||r.includes("single carrier")?"bg-orange-100 text-orange-800 border-orange-200 dark:bg-orange-900/20 dark:text-orange-300 dark:border-orange-800":r.includes("network mode changed")||r.includes("nsa")||r.includes("lte")||r.includes("5g sa")?"bg-purple-100 text-purple-800 border-purple-200 dark:bg-purple-900/20 dark:text-purple-300 dark:border-purple-800":r.includes("band")&&(r.includes("added")||r.includes("removed")||r.includes("changed"))?"bg-teal-100 text-teal-800 border-teal-200 dark:bg-teal-900/20 dark:text-teal-300 dark:border-teal-800":"bg-gray-100 text-gray-800 border-gray-200 dark:bg-gray-900/20 dark:text-gray-300 dark:border-gray-800"};function w(){let{interpretations:e,loading:r,error:t,lastUpdate:d,refresh:p}=v(3e4),w=e=>{try{let r=new Date(e);return{date:r.toLocaleDateString(),time:r.toLocaleTimeString([],{hour:"2-digit",minute:"2-digit"})}}catch(r){return{date:e.split(" ")[0]||"",time:e.split(" ")[1]||""}}},N=e.reduce((e,r)=>{let{date:t}=w(r.datetime);return e[t]||(e[t]=[]),e[t].push(r),e},{}),k=Object.keys(N).sort((e,r)=>new Date(r).getTime()-new Date(e).getTime());return(0,a.jsxs)(s.Zp,{children:[(0,a.jsxs)(s.aR,{children:[(0,a.jsx)(s.ZB,{children:"Network Insights"}),(0,a.jsx)(s.BT,{children:"Real-time insights into your cellular network changes, including band switches, carrier aggregation events, and signal quality changes. The monitoring service runs automatically as part of QuecManager services."})]}),(0,a.jsx)(s.Wu,{children:(0,a.jsxs)("div",{className:"space-y-6",children:[t&&(0,a.jsxs)(f.Fc,{variant:"destructive",children:[(0,a.jsx)(h.A,{className:"h-4 w-4"}),(0,a.jsxs)(f.TN,{children:["Failed to load network insights: ",t]})]}),(0,a.jsxs)("div",{className:"grid gap-6",children:[(0,a.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-4 gap-4",children:[(0,a.jsx)(s.Zp,{children:(0,a.jsx)(s.Wu,{className:"p-4",children:(0,a.jsxs)("div",{className:"flex items-center space-x-3",children:[(0,a.jsx)(m,{className:"h-8 w-8 text-blue-500"}),(0,a.jsxs)("div",{children:[(0,a.jsx)("p",{className:"text-sm font-medium",children:"Total Events"}),r&&0===e.length?(0,a.jsx)(b.E,{className:"h-8 w-6 mt-1"}):(0,a.jsx)("p",{className:"text-2xl font-bold",children:e.length})]})]})})}),(0,a.jsx)(s.Zp,{children:(0,a.jsx)(s.Wu,{className:"p-4",children:(0,a.jsxs)("div",{className:"flex items-center space-x-3",children:[(0,a.jsx)(c,{className:"h-8 w-8 text-teal-500"}),(0,a.jsxs)("div",{children:[(0,a.jsx)("p",{className:"text-sm font-medium",children:"Band Changes"}),r&&0===e.length?(0,a.jsx)(b.E,{className:"h-8 w-6 mt-1"}):(0,a.jsx)("p",{className:"text-2xl font-bold",children:e.filter(e=>e.interpretation.toLowerCase().includes("band")).length})]})]})})}),(0,a.jsx)(s.Zp,{children:(0,a.jsx)(s.Wu,{className:"p-4",children:(0,a.jsxs)("div",{className:"flex items-center space-x-3",children:[(0,a.jsx)(o.A,{className:"h-8 w-8 text-blue-500"}),(0,a.jsxs)("div",{children:[(0,a.jsx)("p",{className:"text-sm font-medium",children:"CA Events"}),r&&0===e.length?(0,a.jsx)(b.E,{className:"h-8 w-6 mt-1"}):(0,a.jsx)("p",{className:"text-2xl font-bold",children:e.filter(e=>e.interpretation.toLowerCase().includes("carrier aggregation")||e.interpretation.toLowerCase().includes("carriers")).length})]})]})})}),(0,a.jsx)(s.Zp,{children:(0,a.jsx)(s.Wu,{className:"p-4",children:(0,a.jsxs)("div",{className:"flex items-center space-x-3",children:[(0,a.jsx)(u,{className:"h-8 w-8 text-green-500"}),(0,a.jsxs)("div",{children:[(0,a.jsx)("p",{className:"text-sm font-medium",children:"Network Events"}),r&&0===e.length?(0,a.jsx)(b.E,{className:"h-8 w-6 mt-1"}):(0,a.jsx)("p",{className:"text-2xl font-bold",children:e.filter(e=>e.interpretation.toLowerCase().includes("signal")||e.interpretation.toLowerCase().includes("network mode")).length})]})]})})})]}),r&&0===e.length?(0,a.jsx)(s.Zp,{className:"pt-6",children:(0,a.jsxs)(s.Wu,{className:"flex flex-col gap-4",children:[(0,a.jsx)(b.E,{className:"h-16 w-full"}),(0,a.jsx)(b.E,{className:"h-16 w-full"}),(0,a.jsx)(b.E,{className:"h-16 w-full"})]})}):(0,a.jsx)(a.Fragment,{children:r||0!==k.length?k.map(e=>(0,a.jsxs)(s.Zp,{children:[(0,a.jsx)(s.aR,{children:(0,a.jsxs)("div",{className:"flex items-center justify-between",children:[(0,a.jsx)(s.ZB,{children:e}),(0,a.jsxs)(n.E,{variant:"secondary",children:[N[e].length," event",1!==N[e].length?"s":""]})]})}),(0,a.jsx)(s.Wu,{children:(0,a.jsx)("div",{className:"space-y-4",children:N[e].sort((e,r)=>new Date(r.datetime).getTime()-new Date(e.datetime).getTime()).map((r,t)=>{let{time:s}=w(r.datetime);return(0,a.jsxs)("div",{children:[(0,a.jsxs)("div",{className:"flex items-start space-x-3",children:[(0,a.jsx)("div",{className:"p-2 rounded-full border ".concat(j(r.interpretation)),children:y(r.interpretation)}),(0,a.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,a.jsx)("div",{className:"flex items-center space-x-2",children:(0,a.jsx)("span",{className:"text-sm font-medium text-muted-foreground",children:s})}),(0,a.jsx)("p",{className:"mt-1 text-sm leading-relaxed",children:r.interpretation})]})]}),t{t.d(r,{Fc:()=>d,TN:()=>o,XL:()=>c});var a=t(20475),s=t(20107),n=t(29395),l=t(22250);let i=(0,n.F)("relative w-full rounded-lg border px-4 py-3 text-sm [&>svg+div]:translate-y-[-3px] [&>svg]:absolute [&>svg]:left-4 [&>svg]:top-4 [&>svg]:text-foreground [&>svg~*]:pl-7",{variants:{variant:{default:"bg-background text-foreground",destructive:"border-destructive/50 text-destructive dark:border-destructive [&>svg]:text-destructive"}},defaultVariants:{variant:"default"}}),d=s.forwardRef((e,r)=>{let{className:t,variant:s,...n}=e;return(0,a.jsx)("div",{ref:r,role:"alert",className:(0,l.cn)(i({variant:s}),t),...n})});d.displayName="Alert";let c=s.forwardRef((e,r)=>{let{className:t,...s}=e;return(0,a.jsx)("h5",{ref:r,className:(0,l.cn)("mb-1 font-medium leading-none tracking-tight",t),...s})});c.displayName="AlertTitle";let o=s.forwardRef((e,r)=>{let{className:t,...s}=e;return(0,a.jsx)("div",{ref:r,className:(0,l.cn)("text-sm [&_p]:leading-relaxed",t),...s})});o.displayName="AlertDescription"},45934:(e,r,t)=>{t.d(r,{E:()=>i});var a=t(20475);t(20107);var s=t(29395),n=t(22250);let l=(0,s.F)("inline-flex items-center rounded-md border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground shadow hover:bg-primary/80",secondary:"border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80",destructive:"border-transparent bg-destructive text-destructive-foreground shadow hover:bg-destructive/80",outline:"text-foreground"}},defaultVariants:{variant:"default"}});function i(e){let{className:r,variant:t,...s}=e;return(0,a.jsx)("div",{className:(0,n.cn)(l({variant:t}),r),...s})}},42541:(e,r,t)=>{t.d(r,{$:()=>c,r:()=>d});var a=t(20475),s=t(20107),n=t(61837),l=t(29395),i=t(22250);let d=(0,l.F)("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{variants:{variant:{default:"bg-primary text-primary-foreground shadow hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90",outline:"border border-input bg-background shadow-sm hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2",sm:"h-8 rounded-md px-3 text-xs",lg:"h-10 rounded-md px-8",icon:"h-9 w-9"}},defaultVariants:{variant:"default",size:"default"}}),c=s.forwardRef((e,r)=>{let{className:t,variant:s,size:l,asChild:c=!1,...o}=e,u=c?n.DX:"button";return(0,a.jsx)(u,{className:(0,i.cn)(d({variant:s,size:l,className:t})),ref:r,...o})});c.displayName="Button"},72167:(e,r,t)=>{t.d(r,{BT:()=>c,Wu:()=>o,ZB:()=>d,Zp:()=>l,aR:()=>i,wL:()=>u});var a=t(20475),s=t(20107),n=t(22250);let l=s.forwardRef((e,r)=>{let{className:t,...s}=e;return(0,a.jsx)("div",{ref:r,className:(0,n.cn)("rounded-xl border bg-card text-card-foreground shadow",t),...s})});l.displayName="Card";let i=s.forwardRef((e,r)=>{let{className:t,...s}=e;return(0,a.jsx)("div",{ref:r,className:(0,n.cn)("flex flex-col space-y-1.5 p-6",t),...s})});i.displayName="CardHeader";let d=s.forwardRef((e,r)=>{let{className:t,...s}=e;return(0,a.jsx)("h3",{ref:r,className:(0,n.cn)("font-semibold leading-none tracking-tight",t),...s})});d.displayName="CardTitle";let c=s.forwardRef((e,r)=>{let{className:t,...s}=e;return(0,a.jsx)("p",{ref:r,className:(0,n.cn)("text-sm text-muted-foreground",t),...s})});c.displayName="CardDescription";let o=s.forwardRef((e,r)=>{let{className:t,...s}=e;return(0,a.jsx)("div",{ref:r,className:(0,n.cn)("p-6 pt-0",t),...s})});o.displayName="CardContent";let u=s.forwardRef((e,r)=>{let{className:t,...s}=e;return(0,a.jsx)("div",{ref:r,className:(0,n.cn)("flex items-center p-6 pt-0",t),...s})});u.displayName="CardFooter"},76554:(e,r,t)=>{t.d(r,{Separator:()=>i});var a=t(20475),s=t(20107),n=t(88853),l=t(22250);let i=s.forwardRef((e,r)=>{let{className:t,orientation:s="horizontal",decorative:i=!0,...d}=e;return(0,a.jsx)(n.b,{ref:r,decorative:i,orientation:s,className:(0,l.cn)("shrink-0 bg-border","horizontal"===s?"h-[1px] w-full":"h-full w-[1px]",t),...d})});i.displayName=n.b.displayName},36760:(e,r,t)=>{t.d(r,{E:()=>n});var a=t(20475),s=t(22250);function n(e){let{className:r,...t}=e;return(0,a.jsx)("div",{className:(0,s.cn)("animate-pulse rounded-md bg-primary/10",r),...t})}},22250:(e,r,t)=>{t.d(r,{cn:()=>n});var a=t(64901),s=t(868);function n(){for(var e=arguments.length,r=Array(e),t=0;t{t.d(r,{A:()=>d});var a=t(20107);let s=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),n=function(){for(var e=arguments.length,r=Array(e),t=0;t!!e&&t.indexOf(e)===r).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,a.forwardRef)((e,r)=>{let{color:t="currentColor",size:s=24,strokeWidth:i=2,absoluteStrokeWidth:d,className:c="",children:o,iconNode:u,...m}=e;return(0,a.createElement)("svg",{ref:r,...l,width:s,height:s,stroke:t,strokeWidth:d?24*Number(i)/Number(s):i,className:n("lucide",c),...m},[...u.map(e=>{let[r,t]=e;return(0,a.createElement)(r,t)}),...Array.isArray(o)?o:[o]])}),d=(e,r)=>{let t=(0,a.forwardRef)((t,l)=>{let{className:d,...c}=t;return(0,a.createElement)(i,{ref:l,iconNode:r,className:n("lucide-".concat(s(e)),d),...c})});return t.displayName="".concat(e),t}},17799:(e,r,t)=>{t.d(r,{A:()=>a});let a=(0,t(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"}]])},8782:(e,r,t)=>{t.d(r,{A:()=>a});let a=(0,t(39997).A)("Clock",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polyline",{points:"12 6 12 12 16 14",key:"68esgv"}]])},91994:(e,r,t)=>{t.d(r,{A:()=>a});let a=(0,t(39997).A)("RefreshCw",[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]])},92823:(e,r,t)=>{t.d(r,{A:()=>a});let a=(0,t(39997).A)("Zap",[["path",{d:"M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z",key:"1xq2db"}]])},34544:(e,r,t)=>{t.d(r,{hO:()=>d,sG:()=>i});var a=t(20107),s=t(25642),n=t(61837),l=t(20475),i=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((e,r)=>{let t=a.forwardRef((e,t)=>{let{asChild:a,...s}=e,i=a?n.DX:r;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,l.jsx)(i,{...s,ref:t})});return t.displayName=`Primitive.${r}`,{...e,[r]:t}},{});function d(e,r){e&&s.flushSync(()=>e.dispatchEvent(r))}},88853:(e,r,t)=>{t.d(r,{b:()=>c});var a=t(20107),s=t(34544),n=t(20475),l="horizontal",i=["horizontal","vertical"],d=a.forwardRef((e,r)=>{let{decorative:t,orientation:a=l,...d}=e,c=i.includes(a)?a:l;return(0,n.jsx)(s.sG.div,{"data-orientation":c,...t?{role:"none"}:{"aria-orientation":"vertical"===c?c:void 0,role:"separator"},...d,ref:r})});d.displayName="Separator";var c=d},29395:(e,r,t)=>{t.d(r,{F:()=>n});let a=e=>"boolean"==typeof e?"".concat(e):0===e?"0":e,s=function(){for(var e,r,t=0,a="";tt=>{var n;if((null==r?void 0:r.variants)==null)return s(e,null==t?void 0:t.class,null==t?void 0:t.className);let{variants:l,defaultVariants:i}=r,d=Object.keys(l).map(e=>{let r=null==t?void 0:t[e],s=null==i?void 0:i[e];if(null===r)return null;let n=a(r)||a(s);return l[e][n]}),c=t&&Object.entries(t).reduce((e,r)=>{let[t,a]=r;return void 0===a||(e[t]=a),e},{});return s(e,d,null==r?void 0:null===(n=r.compoundVariants)||void 0===n?void 0:n.reduce((e,r)=>{let{class:t,className:a,...s}=r;return Object.entries(s).every(e=>{let[r,t]=e;return Array.isArray(t)?t.includes({...i,...c}[r]):({...i,...c})[r]===t})?[...e,t,a]:e},[]),null==t?void 0:t.class,null==t?void 0:t.className)}}}]); \ No newline at end of file diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/8371-3531d13d75bb983e.js b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/8371-3531d13d75bb983e.js new file mode 100644 index 0000000..8acbc91 --- /dev/null +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/8371-3531d13d75bb983e.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8371],{39997:(e,t,n)=>{n.d(t,{A:()=>a});var r=n(20107);let u=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),o=function(){for(var e=arguments.length,t=Array(e),n=0;n!!e&&n.indexOf(e)===t).join(" ")};var i={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 l=(0,r.forwardRef)((e,t)=>{let{color:n="currentColor",size:u=24,strokeWidth:l=2,absoluteStrokeWidth:a,className:s="",children:c,iconNode:d,...f}=e;return(0,r.createElement)("svg",{ref:t,...i,width:u,height:u,stroke:n,strokeWidth:a?24*Number(l)/Number(u):l,className:o("lucide",s),...f},[...d.map(e=>{let[t,n]=e;return(0,r.createElement)(t,n)}),...Array.isArray(c)?c:[c]])}),a=(e,t)=>{let n=(0,r.forwardRef)((n,i)=>{let{className:a,...s}=n;return(0,r.createElement)(l,{ref:i,iconNode:t,className:o("lucide-".concat(u(e)),a),...s})});return n.displayName="".concat(e),n}},54385:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(39997).A)("EyeOff",[["path",{d:"M10.733 5.076a10.744 10.744 0 0 1 11.205 6.575 1 1 0 0 1 0 .696 10.747 10.747 0 0 1-1.444 2.49",key:"ct8e1f"}],["path",{d:"M14.084 14.158a3 3 0 0 1-4.242-4.242",key:"151rxh"}],["path",{d:"M17.479 17.499a10.75 10.75 0 0 1-15.417-5.151 1 1 0 0 1 0-.696 10.75 10.75 0 0 1 4.446-5.143",key:"13bj9a"}],["path",{d:"m2 2 20 20",key:"1ooewy"}]])},51589:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(39997).A)("Eye",[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]])},56703:(e,t,n)=>{n.d(t,{q:()=>r});function r(e,[t,n]){return Math.min(n,Math.max(t,e))}},94521:(e,t,n)=>{n.d(t,{m:()=>r});function r(e,t,{checkForDefaultPrevented:n=!0}={}){return function(r){if(e?.(r),!1===n||!r.defaultPrevented)return t?.(r)}}},45170:(e,t,n)=>{n.d(t,{A:()=>i,q:()=>o});var r=n(20107),u=n(20475);function o(e,t){let n=r.createContext(t),o=e=>{let{children:t,...o}=e,i=r.useMemo(()=>o,Object.values(o));return(0,u.jsx)(n.Provider,{value:i,children:t})};return o.displayName=e+"Provider",[o,function(u){let o=r.useContext(n);if(o)return o;if(void 0!==t)return t;throw Error(`\`${u}\` must be used within \`${e}\``)}]}function i(e,t=[]){let n=[],o=()=>{let t=n.map(e=>r.createContext(e));return function(n){let u=n?.[e]||t;return r.useMemo(()=>({[`__scope${e}`]:{...n,[e]:u}}),[n,u])}};return o.scopeName=e,[function(t,o){let i=r.createContext(o),l=n.length;n=[...n,o];let a=t=>{let{scope:n,children:o,...a}=t,s=n?.[e]?.[l]||i,c=r.useMemo(()=>a,Object.values(a));return(0,u.jsx)(s.Provider,{value:c,children:o})};return a.displayName=t+"Provider",[a,function(n,u){let a=u?.[e]?.[l]||i,s=r.useContext(a);if(s)return s;if(void 0!==o)return o;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 u=n.reduce((t,{useScope:n,scopeName:r})=>{let u=n(e)[`__scope${r}`];return{...t,...u}},{});return r.useMemo(()=>({[`__scope${t.scopeName}`]:u}),[u])}};return n.scopeName=t.scopeName,n}(o,...t)]}},76056:(e,t,n)=>{n.d(t,{jH:()=>o});var r=n(20107);n(20475);var u=r.createContext(void 0);function o(e){let t=r.useContext(u);return e||t||"ltr"}},54245:(e,t,n)=>{n.d(t,{C:()=>i});var r=n(20107),u=n(64236),o=n(54122),i=e=>{let{present:t,children:n}=e,i=function(e){var t,n;let[u,i]=r.useState(),a=r.useRef({}),s=r.useRef(e),c=r.useRef("none"),[d,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)=>{let r=n[e][t];return null!=r?r:e},t));return r.useEffect(()=>{let e=l(a.current);c.current="mounted"===d?e:"none"},[d]),(0,o.N)(()=>{let t=a.current,n=s.current;if(n!==e){let r=c.current,u=l(t);e?f("MOUNT"):"none"===u||(null==t?void 0:t.display)==="none"?f("UNMOUNT"):n&&r!==u?f("ANIMATION_OUT"):f("UNMOUNT"),s.current=e}},[e,f]),(0,o.N)(()=>{if(u){var e;let t;let n=null!==(e=u.ownerDocument.defaultView)&&void 0!==e?e:window,r=e=>{let r=l(a.current).includes(e.animationName);if(e.target===u&&r&&(f("ANIMATION_END"),!s.current)){let e=u.style.animationFillMode;u.style.animationFillMode="forwards",t=n.setTimeout(()=>{"forwards"===u.style.animationFillMode&&(u.style.animationFillMode=e)})}},o=e=>{e.target===u&&(c.current=l(a.current))};return u.addEventListener("animationstart",o),u.addEventListener("animationcancel",r),u.addEventListener("animationend",r),()=>{n.clearTimeout(t),u.removeEventListener("animationstart",o),u.removeEventListener("animationcancel",r),u.removeEventListener("animationend",r)}}f("ANIMATION_END")},[u,f]),{isPresent:["mounted","unmountSuspended"].includes(d),ref:r.useCallback(e=>{e&&(a.current=getComputedStyle(e)),i(e)},[])}}(t),a="function"==typeof n?n({present:i.isPresent}):r.Children.only(n),s=(0,u.s)(i.ref,function(e){var t,n;let r=null===(t=Object.getOwnPropertyDescriptor(e.props,"ref"))||void 0===t?void 0:t.get,u=r&&"isReactWarning"in r&&r.isReactWarning;return u?e.ref:(u=(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}(a));return"function"==typeof n||i.isPresent?r.cloneElement(a,{ref:s}):null};function l(e){return(null==e?void 0:e.animationName)||"none"}i.displayName="Presence"},34544:(e,t,n)=>{n.d(t,{hO:()=>a,sG:()=>l});var r=n(20107),u=n(25642),o=n(61837),i=n(20475),l=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((e,t)=>{let n=r.forwardRef((e,n)=>{let{asChild:r,...u}=e,l=r?o.DX:t;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,i.jsx)(l,{...u,ref:n})});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});function a(e,t){e&&u.flushSync(()=>e.dispatchEvent(t))}},46774:(e,t,n)=>{n.d(t,{c:()=>u});var r=n(20107);function u(e){let t=r.useRef(e);return r.useEffect(()=>{t.current=e}),r.useMemo(()=>(...e)=>t.current?.(...e),[])}},54122:(e,t,n)=>{n.d(t,{N:()=>u});var r=n(20107),u=globalThis?.document?r.useLayoutEffect:()=>{}},29395:(e,t,n)=>{n.d(t,{F:()=>o});let r=e=>"boolean"==typeof e?"".concat(e):0===e?"0":e,u=function(){for(var e,t,n=0,r="";nn=>{var o;if((null==t?void 0:t.variants)==null)return u(e,null==n?void 0:n.class,null==n?void 0:n.className);let{variants:i,defaultVariants:l}=t,a=Object.keys(i).map(e=>{let t=null==n?void 0:n[e],u=null==l?void 0:l[e];if(null===t)return null;let o=r(t)||r(u);return i[e][o]}),s=n&&Object.entries(n).reduce((e,t)=>{let[n,r]=t;return void 0===r||(e[n]=r),e},{});return u(e,a,null==t?void 0:null===(o=t.compoundVariants)||void 0===o?void 0:o.reduce((e,t)=>{let{class:n,className:r,...u}=t;return Object.entries(u).every(e=>{let[t,n]=e;return Array.isArray(n)?n.includes({...l,...s}[t]):({...l,...s})[t]===n})?[...e,n,r]:e},[]),null==n?void 0:n.class,null==n?void 0:n.className)}}}]); \ No newline at end of file diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/9679-02a7013bb86edb7d.js b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/9679-02a7013bb86edb7d.js new file mode 100644 index 0000000..c6b66eb --- /dev/null +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/9679-02a7013bb86edb7d.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9679],{89679:(e,r,t)=>{t.d(r,{LM:()=>q,OK:()=>K,VM:()=>y,bL:()=>G,lr:()=>H});var n=t(20107),o=t(34544),l=t(54245),i=t(45170),a=t(64236),s=t(46774),c=t(76056),d=t(54122),u=t(56703),p=t(94521),f=t(20475),h="ScrollArea",[v,w]=(0,i.A)(h),[g,b]=v(h),m=n.forwardRef((e,r)=>{let{__scopeScrollArea:t,type:l="hover",dir:i,scrollHideDelay:s=600,...d}=e,[u,p]=n.useState(null),[h,v]=n.useState(null),[w,b]=n.useState(null),[m,S]=n.useState(null),[x,E]=n.useState(null),[y,C]=n.useState(0),[T,R]=n.useState(0),[L,P]=n.useState(!1),[_,j]=n.useState(!1),D=(0,a.s)(r,e=>p(e)),A=(0,c.jH)(i);return(0,f.jsx)(g,{scope:t,type:l,dir:A,scrollHideDelay:s,scrollArea:u,viewport:h,onViewportChange:v,content:w,onContentChange:b,scrollbarX:m,onScrollbarXChange:S,scrollbarXEnabled:L,onScrollbarXEnabledChange:P,scrollbarY:x,onScrollbarYChange:E,scrollbarYEnabled:_,onScrollbarYEnabledChange:j,onCornerWidthChange:C,onCornerHeightChange:R,children:(0,f.jsx)(o.sG.div,{dir:A,...d,ref:D,style:{position:"relative","--radix-scroll-area-corner-width":y+"px","--radix-scroll-area-corner-height":T+"px",...e.style}})})});m.displayName=h;var S="ScrollAreaViewport",x=n.forwardRef((e,r)=>{let{__scopeScrollArea:t,children:l,asChild:i,nonce:s,...c}=e,d=b(S,t),u=n.useRef(null),p=(0,a.s)(r,u,d.onViewportChange);return(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)("style",{dangerouslySetInnerHTML:{__html:"\n[data-radix-scroll-area-viewport] {\n scrollbar-width: none;\n -ms-overflow-style: none;\n -webkit-overflow-scrolling: touch;\n}\n[data-radix-scroll-area-viewport]::-webkit-scrollbar {\n display: none;\n}\n:where([data-radix-scroll-area-viewport]) {\n display: flex;\n flex-direction: column;\n align-items: stretch;\n}\n:where([data-radix-scroll-area-content]) {\n flex-grow: 1;\n}\n"},nonce:s}),(0,f.jsx)(o.sG.div,{"data-radix-scroll-area-viewport":"",...c,asChild:i,ref:p,style:{overflowX:d.scrollbarXEnabled?"scroll":"hidden",overflowY:d.scrollbarYEnabled?"scroll":"hidden",...e.style},children:function(e,r){let{asChild:t,children:o}=e;if(!t)return"function"==typeof r?r(o):r;let l=n.Children.only(o);return n.cloneElement(l,{children:"function"==typeof r?r(l.props.children):r})}({asChild:i,children:l},e=>(0,f.jsx)("div",{"data-radix-scroll-area-content":"",ref:d.onContentChange,style:{minWidth:d.scrollbarXEnabled?"fit-content":void 0},children:e}))})]})});x.displayName=S;var E="ScrollAreaScrollbar",y=n.forwardRef((e,r)=>{let{forceMount:t,...o}=e,l=b(E,e.__scopeScrollArea),{onScrollbarXEnabledChange:i,onScrollbarYEnabledChange:a}=l,s="horizontal"===e.orientation;return n.useEffect(()=>(s?i(!0):a(!0),()=>{s?i(!1):a(!1)}),[s,i,a]),"hover"===l.type?(0,f.jsx)(C,{...o,ref:r,forceMount:t}):"scroll"===l.type?(0,f.jsx)(T,{...o,ref:r,forceMount:t}):"auto"===l.type?(0,f.jsx)(R,{...o,ref:r,forceMount:t}):"always"===l.type?(0,f.jsx)(L,{...o,ref:r}):null});y.displayName=E;var C=n.forwardRef((e,r)=>{let{forceMount:t,...o}=e,i=b(E,e.__scopeScrollArea),[a,s]=n.useState(!1);return n.useEffect(()=>{let e=i.scrollArea,r=0;if(e){let t=()=>{window.clearTimeout(r),s(!0)},n=()=>{r=window.setTimeout(()=>s(!1),i.scrollHideDelay)};return e.addEventListener("pointerenter",t),e.addEventListener("pointerleave",n),()=>{window.clearTimeout(r),e.removeEventListener("pointerenter",t),e.removeEventListener("pointerleave",n)}}},[i.scrollArea,i.scrollHideDelay]),(0,f.jsx)(l.C,{present:t||a,children:(0,f.jsx)(R,{"data-state":a?"visible":"hidden",...o,ref:r})})}),T=n.forwardRef((e,r)=>{var t,o;let{forceMount:i,...a}=e,s=b(E,e.__scopeScrollArea),c="horizontal"===e.orientation,d=V(()=>h("SCROLL_END"),100),[u,h]=(t="hidden",o={hidden:{SCROLL:"scrolling"},scrolling:{SCROLL_END:"idle",POINTER_ENTER:"interacting"},interacting:{SCROLL:"interacting",POINTER_LEAVE:"idle"},idle:{HIDE:"hidden",SCROLL:"scrolling",POINTER_ENTER:"interacting"}},n.useReducer((e,r)=>{let t=o[e][r];return null!=t?t:e},t));return n.useEffect(()=>{if("idle"===u){let e=window.setTimeout(()=>h("HIDE"),s.scrollHideDelay);return()=>window.clearTimeout(e)}},[u,s.scrollHideDelay,h]),n.useEffect(()=>{let e=s.viewport,r=c?"scrollLeft":"scrollTop";if(e){let t=e[r],n=()=>{let n=e[r];t!==n&&(h("SCROLL"),d()),t=n};return e.addEventListener("scroll",n),()=>e.removeEventListener("scroll",n)}},[s.viewport,c,h,d]),(0,f.jsx)(l.C,{present:i||"hidden"!==u,children:(0,f.jsx)(L,{"data-state":"hidden"===u?"hidden":"visible",...a,ref:r,onPointerEnter:(0,p.m)(e.onPointerEnter,()=>h("POINTER_ENTER")),onPointerLeave:(0,p.m)(e.onPointerLeave,()=>h("POINTER_LEAVE"))})})}),R=n.forwardRef((e,r)=>{let t=b(E,e.__scopeScrollArea),{forceMount:o,...i}=e,[a,s]=n.useState(!1),c="horizontal"===e.orientation,d=V(()=>{if(t.viewport){let e=t.viewport.offsetWidth{let{orientation:t="vertical",...o}=e,l=b(E,e.__scopeScrollArea),i=n.useRef(null),a=n.useRef(0),[s,c]=n.useState({content:0,viewport:0,scrollbar:{size:0,paddingStart:0,paddingEnd:0}}),d=Y(s.viewport,s.content),u={...o,sizes:s,onSizesChange:c,hasThumb:!!(d>0&&d<1),onThumbChange:e=>i.current=e,onThumbPointerUp:()=>a.current=0,onThumbPointerDown:e=>a.current=e};function p(e,r){return function(e,r,t){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"ltr",o=k(t),l=r||o/2,i=t.scrollbar.paddingStart+l,a=t.scrollbar.size-t.scrollbar.paddingEnd-(o-l),s=t.content-t.viewport;return F([i,a],"ltr"===n?[0,s]:[-1*s,0])(e)}(e,a.current,s,r)}return"horizontal"===t?(0,f.jsx)(P,{...u,ref:r,onThumbPositionChange:()=>{if(l.viewport&&i.current){let e=U(l.viewport.scrollLeft,s,l.dir);i.current.style.transform="translate3d(".concat(e,"px, 0, 0)")}},onWheelScroll:e=>{l.viewport&&(l.viewport.scrollLeft=e)},onDragScroll:e=>{l.viewport&&(l.viewport.scrollLeft=p(e,l.dir))}}):"vertical"===t?(0,f.jsx)(_,{...u,ref:r,onThumbPositionChange:()=>{if(l.viewport&&i.current){let e=U(l.viewport.scrollTop,s);i.current.style.transform="translate3d(0, ".concat(e,"px, 0)")}},onWheelScroll:e=>{l.viewport&&(l.viewport.scrollTop=e)},onDragScroll:e=>{l.viewport&&(l.viewport.scrollTop=p(e))}}):null}),P=n.forwardRef((e,r)=>{let{sizes:t,onSizesChange:o,...l}=e,i=b(E,e.__scopeScrollArea),[s,c]=n.useState(),d=n.useRef(null),u=(0,a.s)(r,d,i.onScrollbarXChange);return n.useEffect(()=>{d.current&&c(getComputedStyle(d.current))},[d]),(0,f.jsx)(A,{"data-orientation":"horizontal",...l,ref:u,sizes:t,style:{bottom:0,left:"rtl"===i.dir?"var(--radix-scroll-area-corner-width)":0,right:"ltr"===i.dir?"var(--radix-scroll-area-corner-width)":0,"--radix-scroll-area-thumb-width":k(t)+"px",...e.style},onThumbPointerDown:r=>e.onThumbPointerDown(r.x),onDragScroll:r=>e.onDragScroll(r.x),onWheelScroll:(r,t)=>{if(i.viewport){let n=i.viewport.scrollLeft+r.deltaX;e.onWheelScroll(n),function(e,r){return e>0&&e{d.current&&i.viewport&&s&&o({content:i.viewport.scrollWidth,viewport:i.viewport.offsetWidth,scrollbar:{size:d.current.clientWidth,paddingStart:X(s.paddingLeft),paddingEnd:X(s.paddingRight)}})}})}),_=n.forwardRef((e,r)=>{let{sizes:t,onSizesChange:o,...l}=e,i=b(E,e.__scopeScrollArea),[s,c]=n.useState(),d=n.useRef(null),u=(0,a.s)(r,d,i.onScrollbarYChange);return n.useEffect(()=>{d.current&&c(getComputedStyle(d.current))},[d]),(0,f.jsx)(A,{"data-orientation":"vertical",...l,ref:u,sizes:t,style:{top:0,right:"ltr"===i.dir?0:void 0,left:"rtl"===i.dir?0:void 0,bottom:"var(--radix-scroll-area-corner-height)","--radix-scroll-area-thumb-height":k(t)+"px",...e.style},onThumbPointerDown:r=>e.onThumbPointerDown(r.y),onDragScroll:r=>e.onDragScroll(r.y),onWheelScroll:(r,t)=>{if(i.viewport){let n=i.viewport.scrollTop+r.deltaY;e.onWheelScroll(n),function(e,r){return e>0&&e{d.current&&i.viewport&&s&&o({content:i.viewport.scrollHeight,viewport:i.viewport.offsetHeight,scrollbar:{size:d.current.clientHeight,paddingStart:X(s.paddingTop),paddingEnd:X(s.paddingBottom)}})}})}),[j,D]=v(E),A=n.forwardRef((e,r)=>{let{__scopeScrollArea:t,sizes:l,hasThumb:i,onThumbChange:c,onThumbPointerUp:d,onThumbPointerDown:u,onThumbPositionChange:h,onDragScroll:v,onWheelScroll:w,onResize:g,...m}=e,S=b(E,t),[x,y]=n.useState(null),C=(0,a.s)(r,e=>y(e)),T=n.useRef(null),R=n.useRef(""),L=S.viewport,P=l.content-l.viewport,_=(0,s.c)(w),D=(0,s.c)(h),A=V(g,10);function N(e){T.current&&v({x:e.clientX-T.current.left,y:e.clientY-T.current.top})}return n.useEffect(()=>{let e=e=>{let r=e.target;(null==x?void 0:x.contains(r))&&_(e,P)};return document.addEventListener("wheel",e,{passive:!1}),()=>document.removeEventListener("wheel",e,{passive:!1})},[L,x,P,_]),n.useEffect(D,[l,D]),B(x,A),B(S.content,A),(0,f.jsx)(j,{scope:t,scrollbar:x,hasThumb:i,onThumbChange:(0,s.c)(c),onThumbPointerUp:(0,s.c)(d),onThumbPositionChange:D,onThumbPointerDown:(0,s.c)(u),children:(0,f.jsx)(o.sG.div,{...m,ref:C,style:{position:"absolute",...m.style},onPointerDown:(0,p.m)(e.onPointerDown,e=>{0===e.button&&(e.target.setPointerCapture(e.pointerId),T.current=x.getBoundingClientRect(),R.current=document.body.style.webkitUserSelect,document.body.style.webkitUserSelect="none",S.viewport&&(S.viewport.style.scrollBehavior="auto"),N(e))}),onPointerMove:(0,p.m)(e.onPointerMove,N),onPointerUp:(0,p.m)(e.onPointerUp,e=>{let r=e.target;r.hasPointerCapture(e.pointerId)&&r.releasePointerCapture(e.pointerId),document.body.style.webkitUserSelect=R.current,S.viewport&&(S.viewport.style.scrollBehavior=""),T.current=null})})})}),N="ScrollAreaThumb",H=n.forwardRef((e,r)=>{let{forceMount:t,...n}=e,o=D(N,e.__scopeScrollArea);return(0,f.jsx)(l.C,{present:t||o.hasThumb,children:(0,f.jsx)(z,{ref:r,...n})})}),z=n.forwardRef((e,r)=>{let{__scopeScrollArea:t,style:l,...i}=e,s=b(N,t),c=D(N,t),{onThumbPositionChange:d}=c,u=(0,a.s)(r,e=>c.onThumbChange(e)),h=n.useRef(),v=V(()=>{h.current&&(h.current(),h.current=void 0)},100);return n.useEffect(()=>{let e=s.viewport;if(e){let r=()=>{if(v(),!h.current){let r=M(e,d);h.current=r,d()}};return d(),e.addEventListener("scroll",r),()=>e.removeEventListener("scroll",r)}},[s.viewport,v,d]),(0,f.jsx)(o.sG.div,{"data-state":c.hasThumb?"visible":"hidden",...i,ref:u,style:{width:"var(--radix-scroll-area-thumb-width)",height:"var(--radix-scroll-area-thumb-height)",...l},onPointerDownCapture:(0,p.m)(e.onPointerDownCapture,e=>{let r=e.target.getBoundingClientRect(),t=e.clientX-r.left,n=e.clientY-r.top;c.onThumbPointerDown({x:t,y:n})}),onPointerUp:(0,p.m)(e.onPointerUp,c.onThumbPointerUp)})});H.displayName=N;var W="ScrollAreaCorner",O=n.forwardRef((e,r)=>{let t=b(W,e.__scopeScrollArea),n=!!(t.scrollbarX&&t.scrollbarY);return"scroll"!==t.type&&n?(0,f.jsx)(I,{...e,ref:r}):null});O.displayName=W;var I=n.forwardRef((e,r)=>{let{__scopeScrollArea:t,...l}=e,i=b(W,t),[a,s]=n.useState(0),[c,d]=n.useState(0),u=!!(a&&c);return B(i.scrollbarX,()=>{var e;let r=(null===(e=i.scrollbarX)||void 0===e?void 0:e.offsetHeight)||0;i.onCornerHeightChange(r),d(r)}),B(i.scrollbarY,()=>{var e;let r=(null===(e=i.scrollbarY)||void 0===e?void 0:e.offsetWidth)||0;i.onCornerWidthChange(r),s(r)}),u?(0,f.jsx)(o.sG.div,{...l,ref:r,style:{width:a,height:c,position:"absolute",right:"ltr"===i.dir?0:void 0,left:"rtl"===i.dir?0:void 0,bottom:0,...e.style}}):null});function X(e){return e?parseInt(e,10):0}function Y(e,r){let t=e/r;return isNaN(t)?0:t}function k(e){let r=Y(e.viewport,e.content),t=e.scrollbar.paddingStart+e.scrollbar.paddingEnd;return Math.max((e.scrollbar.size-t)*r,18)}function U(e,r){let t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"ltr",n=k(r),o=r.scrollbar.paddingStart+r.scrollbar.paddingEnd,l=r.scrollbar.size-o,i=r.content-r.viewport,a=(0,u.q)(e,"ltr"===t?[0,i]:[-1*i,0]);return F([0,i],[0,l-n])(a)}function F(e,r){return t=>{if(e[0]===e[1]||r[0]===r[1])return r[0];let n=(r[1]-r[0])/(e[1]-e[0]);return r[0]+n*(t-e[0])}}var M=function(e){let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:()=>{},t={left:e.scrollLeft,top:e.scrollTop},n=0;return!function o(){let l={left:e.scrollLeft,top:e.scrollTop},i=t.left!==l.left,a=t.top!==l.top;(i||a)&&r(),t=l,n=window.requestAnimationFrame(o)}(),()=>window.cancelAnimationFrame(n)};function V(e,r){let t=(0,s.c)(e),o=n.useRef(0);return n.useEffect(()=>()=>window.clearTimeout(o.current),[]),n.useCallback(()=>{window.clearTimeout(o.current),o.current=window.setTimeout(t,r)},[t,r])}function B(e,r){let t=(0,s.c)(r);(0,d.N)(()=>{let r=0;if(e){let n=new ResizeObserver(()=>{cancelAnimationFrame(r),r=window.requestAnimationFrame(t)});return n.observe(e),()=>{window.cancelAnimationFrame(r),n.unobserve(e)}}},[e,t])}var G=m,q=x,K=O}}]); \ No newline at end of file diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/9951-9fd38181d65049b0.js b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/9951-9fd38181d65049b0.js deleted file mode 100644 index 98d5c4b..0000000 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/9951-9fd38181d65049b0.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9951],{91912:(t,e,n)=>{"use strict";n.d(e,{A:()=>r});let r=(0,n(39997).A)("Check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]])},4917:(t,e,n)=>{"use strict";n.d(e,{A:()=>r});let r=(0,n(39997).A)("ChevronsUpDown",[["path",{d:"m7 15 5 5 5-5",key:"1hf1tw"}],["path",{d:"m7 9 5-5 5 5",key:"sgt6xg"}]])},83148:(t,e,n)=>{"use strict";n.d(e,{A:()=>r});let r=(0,n(39997).A)("RotateCw",[["path",{d:"M21 12a9 9 0 1 1-9-9c2.52 0 4.93 1 6.74 2.74L21 8",key:"1p45f6"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}]])},66698:(t,e,n)=>{"use strict";n.d(e,{A:()=>r});let r=(0,n(39997).A)("Send",[["path",{d:"M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z",key:"1ffxy3"}],["path",{d:"m21.854 2.147-10.94 10.939",key:"12cjpa"}]])},546:(t,e,n)=>{"use strict";var r=n(57213);function a(){}function d(){}d.resetWarningCache=a,t.exports=function(){function t(t,e,n,a,d,o){if(o!==r){var i=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 i.name="Invariant Violation",i}}function e(){return t}t.isRequired=t;var n={array:t,bigint:t,bool:t,func:t,number:t,object:t,string:t,symbol:t,any:t,arrayOf:e,element:t,elementType:t,instanceOf:e,node:t,objectOf:e,oneOf:e,oneOfType:e,shape:e,exact:e,checkPropTypes:d,resetWarningCache:a};return n.PropTypes=n,n}},83318:(t,e,n)=>{t.exports=n(546)()},57213:t=>{"use strict";t.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},3343:(t,e)=>{var n;!function(){"use strict";var r={}.hasOwnProperty;function a(){for(var t="",e=0;e{"use strict";n.d(e,{C1:()=>S,bL:()=>P});var r=n(20107),a=n(64236),d=n(45170),o=n(94521),i=n(13061),u=n(65163),l=n(63620),c=n(54245),s=n(34544),$=n(20475),f="Checkbox",[p,h]=(0,d.A)(f),[y,m]=p(f),g=r.forwardRef((t,e)=>{let{__scopeCheckbox:n,name:d,checked:u,defaultChecked:l,required:c,disabled:f,value:p="on",onCheckedChange:h,form:m,...g}=t,[v,b]=r.useState(null),P=(0,a.s)(e,t=>b(t)),S=r.useRef(!1),x=!v||m||!!v.closest("form"),[I=!1,w]=(0,i.i)({prop:u,defaultProp:l,onChange:h}),E=r.useRef(I);return r.useEffect(()=>{let t=null==v?void 0:v.form;if(t){let e=()=>w(E.current);return t.addEventListener("reset",e),()=>t.removeEventListener("reset",e)}},[v,w]),(0,$.jsxs)(y,{scope:n,state:I,disabled:f,children:[(0,$.jsx)(s.sG.button,{type:"button",role:"checkbox","aria-checked":O(I)?"mixed":I,"aria-required":c,"data-state":N(I),"data-disabled":f?"":void 0,disabled:f,value:p,...g,ref:P,onKeyDown:(0,o.m)(t.onKeyDown,t=>{"Enter"===t.key&&t.preventDefault()}),onClick:(0,o.m)(t.onClick,t=>{w(t=>!!O(t)||!t),x&&(S.current=t.isPropagationStopped(),S.current||t.stopPropagation())})}),x&&(0,$.jsx)(C,{control:v,bubbles:!S.current,name:d,value:p,checked:I,required:c,disabled:f,form:m,style:{transform:"translateX(-100%)"},defaultChecked:!O(l)&&l})]})});g.displayName=f;var v="CheckboxIndicator",b=r.forwardRef((t,e)=>{let{__scopeCheckbox:n,forceMount:r,...a}=t,d=m(v,n);return(0,$.jsx)(c.C,{present:r||O(d.state)||!0===d.state,children:(0,$.jsx)(s.sG.span,{"data-state":N(d.state),"data-disabled":d.disabled?"":void 0,...a,ref:e,style:{pointerEvents:"none",...t.style}})})});b.displayName=v;var C=t=>{let{control:e,checked:n,bubbles:a=!0,defaultChecked:d,...o}=t,i=r.useRef(null),c=(0,u.Z)(n),s=(0,l.X)(e);r.useEffect(()=>{let t=i.current,e=Object.getOwnPropertyDescriptor(window.HTMLInputElement.prototype,"checked").set;if(c!==n&&e){let r=new Event("click",{bubbles:a});t.indeterminate=O(n),e.call(t,!O(n)&&n),t.dispatchEvent(r)}},[c,n,a]);let f=r.useRef(!O(n)&&n);return(0,$.jsx)("input",{type:"checkbox","aria-hidden":!0,defaultChecked:null!=d?d:f.current,...o,tabIndex:-1,ref:i,style:{...t.style,...s,position:"absolute",pointerEvents:"none",opacity:0,margin:0}})};function O(t){return"indeterminate"===t}function N(t){return O(t)?"indeterminate":t?"checked":"unchecked"}var P=g,S=b},65163:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a});var r=n(20107);function a(t){let e=r.useRef({value:t,previous:t});return r.useMemo(()=>(e.current.value!==t&&(e.current.previous=e.current.value,e.current.value=t),e.current.previous),[t])}},80421:(t,e,n)=>{"use strict";n.d(e,{uB:()=>tm});var r=/[\\\/_+.#"@\[\(\{&]/,a=/[\\\/_+.#"@\[\(\{&]/g,d=/[\s-]/,o=/[\s-]/g;function i(t){return t.toLowerCase().replace(o," ")}var u=n(20107),l=n(75456),c=n(72706),s=n(45170),$=n(72763),f=n(13061),p=n(80560),h=n(62802),y=n(46527),m=n(86432),g=n(3328),v=n(10201),b=n(76171),C=n(58020),O=n(79571),N=n(20475),P="Dialog",[S,x]=(0,s.A)(P),[I,w]=S(P),E=t=>{let{__scopeDialog:e,children:n,open:r,defaultOpen:a,onOpenChange:d,modal:o=!0}=t,i=u.useRef(null),l=u.useRef(null),[c=!1,s]=(0,f.i)({prop:r,defaultProp:a,onChange:d});return(0,N.jsx)(I,{scope:e,triggerRef:i,contentRef:l,contentId:(0,$.B)(),titleId:(0,$.B)(),descriptionId:(0,$.B)(),open:c,onOpenChange:s,onOpenToggle:u.useCallback(()=>s(t=>!t),[s]),modal:o,children:n})};E.displayName=P;var A="DialogTrigger";u.forwardRef((t,e)=>{let{__scopeDialog:n,...r}=t,a=w(A,n),d=(0,c.s)(e,a.triggerRef);return(0,N.jsx)(g.sG.button,{type:"button","aria-haspopup":"dialog","aria-expanded":a.open,"aria-controls":a.contentId,"data-state":H(a.open),...r,ref:d,onClick:(0,l.m)(t.onClick,a.onOpenToggle)})}).displayName=A;var j="DialogPortal",[T,k]=S(j,{forceMount:void 0}),R=t=>{let{__scopeDialog:e,forceMount:n,children:r,container:a}=t,d=w(j,e);return(0,N.jsx)(T,{scope:e,forceMount:n,children:u.Children.map(r,t=>(0,N.jsx)(m.C,{present:n||d.open,children:(0,N.jsx)(y.Z,{asChild:!0,container:a,children:t})}))})};R.displayName=j;var M="DialogOverlay",D=u.forwardRef((t,e)=>{let n=k(M,t.__scopeDialog),{forceMount:r=n.forceMount,...a}=t,d=w(M,t.__scopeDialog);return d.modal?(0,N.jsx)(m.C,{present:r||d.open,children:(0,N.jsx)(F,{...a,ref:e})}):null});D.displayName=M;var F=u.forwardRef((t,e)=>{let{__scopeDialog:n,...r}=t,a=w(M,n);return(0,N.jsx)(b.A,{as:O.DX,allowPinchZoom:!0,shards:[a.contentRef],children:(0,N.jsx)(g.sG.div,{"data-state":H(a.open),...r,ref:e,style:{pointerEvents:"auto",...r.style}})})}),L="DialogContent",B=u.forwardRef((t,e)=>{let n=k(L,t.__scopeDialog),{forceMount:r=n.forceMount,...a}=t,d=w(L,t.__scopeDialog);return(0,N.jsx)(m.C,{present:r||d.open,children:d.modal?(0,N.jsx)(G,{...a,ref:e}):(0,N.jsx)(_,{...a,ref:e})})});B.displayName=L;var G=u.forwardRef((t,e)=>{let n=w(L,t.__scopeDialog),r=u.useRef(null),a=(0,c.s)(e,n.contentRef,r);return u.useEffect(()=>{let t=r.current;if(t)return(0,C.Eq)(t)},[]),(0,N.jsx)(U,{...t,ref:a,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:(0,l.m)(t.onCloseAutoFocus,t=>{var e;t.preventDefault(),null===(e=n.triggerRef.current)||void 0===e||e.focus()}),onPointerDownOutside:(0,l.m)(t.onPointerDownOutside,t=>{let e=t.detail.originalEvent,n=0===e.button&&!0===e.ctrlKey;(2===e.button||n)&&t.preventDefault()}),onFocusOutside:(0,l.m)(t.onFocusOutside,t=>t.preventDefault())})}),_=u.forwardRef((t,e)=>{let n=w(L,t.__scopeDialog),r=u.useRef(!1),a=u.useRef(!1);return(0,N.jsx)(U,{...t,ref:e,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:e=>{var d,o;null===(d=t.onCloseAutoFocus)||void 0===d||d.call(t,e),e.defaultPrevented||(r.current||null===(o=n.triggerRef.current)||void 0===o||o.focus(),e.preventDefault()),r.current=!1,a.current=!1},onInteractOutside:e=>{var d,o;null===(d=t.onInteractOutside)||void 0===d||d.call(t,e),e.defaultPrevented||(r.current=!0,"pointerdown"!==e.detail.originalEvent.type||(a.current=!0));let i=e.target;(null===(o=n.triggerRef.current)||void 0===o?void 0:o.contains(i))&&e.preventDefault(),"focusin"===e.detail.originalEvent.type&&a.current&&e.preventDefault()}})}),U=u.forwardRef((t,e)=>{let{__scopeDialog:n,trapFocus:r,onOpenAutoFocus:a,onCloseAutoFocus:d,...o}=t,i=w(L,n),l=u.useRef(null),s=(0,c.s)(e,l);return(0,v.Oh)(),(0,N.jsxs)(N.Fragment,{children:[(0,N.jsx)(h.n,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:a,onUnmountAutoFocus:d,children:(0,N.jsx)(p.qW,{role:"dialog",id:i.contentId,"aria-describedby":i.descriptionId,"aria-labelledby":i.titleId,"data-state":H(i.open),...o,ref:s,onDismiss:()=>i.onOpenChange(!1)})}),(0,N.jsxs)(N.Fragment,{children:[(0,N.jsx)(J,{titleId:i.titleId}),(0,N.jsx)(X,{contentRef:l,descriptionId:i.descriptionId})]})]})}),K="DialogTitle";u.forwardRef((t,e)=>{let{__scopeDialog:n,...r}=t,a=w(K,n);return(0,N.jsx)(g.sG.h2,{id:a.titleId,...r,ref:e})}).displayName=K;var V="DialogDescription";u.forwardRef((t,e)=>{let{__scopeDialog:n,...r}=t,a=w(V,n);return(0,N.jsx)(g.sG.p,{id:a.descriptionId,...r,ref:e})}).displayName=V;var W="DialogClose";function H(t){return t?"open":"closed"}u.forwardRef((t,e)=>{let{__scopeDialog:n,...r}=t,a=w(W,n);return(0,N.jsx)(g.sG.button,{type:"button",...r,ref:e,onClick:(0,l.m)(t.onClick,()=>a.onOpenChange(!1))})}).displayName=W;var Z="DialogTitleWarning",[q,Y]=(0,s.q)(Z,{contentName:L,titleName:K,docsSlug:"dialog"}),J=t=>{let{titleId:e}=t,n=Y(Z),r="`".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 u.useEffect(()=>{e&&!document.getElementById(e)&&console.error(r)},[r,e]),null},X=t=>{let{contentRef:e,descriptionId:n}=t,r=Y("DialogDescriptionWarning"),a="Warning: Missing `Description` or `aria-describedby={undefined}` for {".concat(r.contentName,"}.");return u.useEffect(()=>{var t;let r=null===(t=e.current)||void 0===t?void 0:t.getAttribute("aria-describedby");n&&r&&!document.getElementById(n)&&console.warn(a)},[a,e,n]),null},z='[cmdk-group=""]',Q='[cmdk-group-items=""]',tt='[cmdk-item=""]',te="".concat(tt,':not([aria-disabled="true"])'),tn="cmdk-item-select",tr="data-value",ta=(t,e,n)=>(function(t,e,n){return function t(e,n,i,u,l,c,s){if(c===n.length)return l===e.length?1:.99;var $=`${l},${c}`;if(void 0!==s[$])return s[$];for(var f,p,h,y,m=u.charAt(c),g=i.indexOf(m,l),v=0;g>=0;)(f=t(e,n,i,u,g+1,c+1,s))>v&&(g===l?f*=1:r.test(e.charAt(g-1))?(f*=.8,(h=e.slice(l,g-1).match(a))&&l>0&&(f*=Math.pow(.999,h.length))):d.test(e.charAt(g-1))?(f*=.9,(y=e.slice(l,g-1).match(o))&&l>0&&(f*=Math.pow(.999,y.length))):(f*=.17,l>0&&(f*=Math.pow(.999,g-l))),e.charAt(g)!==n.charAt(c)&&(f*=.9999)),(f<.1&&i.charAt(g-1)===u.charAt(c+1)||u.charAt(c+1)===u.charAt(c)&&i.charAt(g-1)!==u.charAt(c))&&.1*(p=t(e,n,i,u,g+1,c+2,s))>f&&(f=.1*p),f>v&&(v=f),g=i.indexOf(m,g+1);return s[$]=v,v}(t=n&&n.length>0?`${t+" "+n.join(" ")}`:t,e,i(t),i(e),0,0,{})})(t,e,n),td=u.createContext(void 0),to=()=>u.useContext(td),ti=u.createContext(void 0),tu=()=>u.useContext(ti),tl=u.createContext(void 0),tc=u.forwardRef((t,e)=>{let n=tb(()=>{var e,n;return{search:"",value:null!=(n=null!=(e=t.value)?e:t.defaultValue)?n:"",selectedItemId:void 0,filtered:{count:0,items:new Map,groups:new Set}}}),r=tb(()=>new Set),a=tb(()=>new Map),d=tb(()=>new Map),o=tb(()=>new Set),i=tg(t),{label:l,children:c,value:s,onValueChange:f,filter:p,shouldFilter:h,loop:y,disablePointerSelection:m=!1,vimBindings:v=!0,...b}=t,C=(0,$.B)(),O=(0,$.B)(),N=(0,$.B)(),P=u.useRef(null),S=tN();tv(()=>{if(void 0!==s){let t=s.trim();n.current.value=t,x.emit()}},[s]),tv(()=>{S(6,T)},[]);let x=u.useMemo(()=>({subscribe:t=>(o.current.add(t),()=>o.current.delete(t)),snapshot:()=>n.current,setState:(t,e,r)=>{var a,d,o,u;if(!Object.is(n.current[t],e)){if(n.current[t]=e,"search"===t)j(),E(),S(1,A);else if("value"===t){if(document.activeElement.hasAttribute("cmdk-input")||document.activeElement.hasAttribute("cmdk-root")){let t=document.getElementById(N);t?t.focus():null==(a=document.getElementById(C))||a.focus()}if(S(7,()=>{var t;n.current.selectedItemId=null==(t=k())?void 0:t.id,x.emit()}),r||S(5,T),(null==(d=i.current)?void 0:d.value)!==void 0){null==(u=(o=i.current).onValueChange)||u.call(o,null!=e?e:"");return}}x.emit()}},emit:()=>{o.current.forEach(t=>t())}}),[]),I=u.useMemo(()=>({value:(t,e,r)=>{var a;e!==(null==(a=d.current.get(t))?void 0:a.value)&&(d.current.set(t,{value:e,keywords:r}),n.current.filtered.items.set(t,w(e,r)),S(2,()=>{E(),x.emit()}))},item:(t,e)=>(r.current.add(t),e&&(a.current.has(e)?a.current.get(e).add(t):a.current.set(e,new Set([t]))),S(3,()=>{j(),E(),n.current.value||A(),x.emit()}),()=>{d.current.delete(t),r.current.delete(t),n.current.filtered.items.delete(t);let e=k();S(4,()=>{j(),(null==e?void 0:e.getAttribute("id"))===t&&A(),x.emit()})}),group:t=>(a.current.has(t)||a.current.set(t,new Set),()=>{d.current.delete(t),a.current.delete(t)}),filter:()=>i.current.shouldFilter,label:l||t["aria-label"],getDisablePointerSelection:()=>i.current.disablePointerSelection,listId:C,inputId:N,labelId:O,listInnerRef:P}),[]);function w(t,e){var r,a;let d=null!=(a=null==(r=i.current)?void 0:r.filter)?a:ta;return t?d(t,n.current.search,e):0}function E(){if(!n.current.search||!1===i.current.shouldFilter)return;let t=n.current.filtered.items,e=[];n.current.filtered.groups.forEach(n=>{let r=a.current.get(n),d=0;r.forEach(e=>{d=Math.max(t.get(e),d)}),e.push([n,d])});let r=P.current;R().sort((e,n)=>{var r,a;let d=e.getAttribute("id"),o=n.getAttribute("id");return(null!=(r=t.get(o))?r:0)-(null!=(a=t.get(d))?a:0)}).forEach(t=>{let e=t.closest(Q);e?e.appendChild(t.parentElement===e?t:t.closest("".concat(Q," > *"))):r.appendChild(t.parentElement===r?t:t.closest("".concat(Q," > *")))}),e.sort((t,e)=>e[1]-t[1]).forEach(t=>{var e;let n=null==(e=P.current)?void 0:e.querySelector("".concat(z,"[").concat(tr,'="').concat(encodeURIComponent(t[0]),'"]'));null==n||n.parentElement.appendChild(n)})}function A(){let t=R().find(t=>"true"!==t.getAttribute("aria-disabled")),e=null==t?void 0:t.getAttribute(tr);x.setState("value",e||void 0)}function j(){var t,e,o,u;if(!n.current.search||!1===i.current.shouldFilter){n.current.filtered.count=r.current.size;return}n.current.filtered.groups=new Set;let l=0;for(let a of r.current){let r=w(null!=(e=null==(t=d.current.get(a))?void 0:t.value)?e:"",null!=(u=null==(o=d.current.get(a))?void 0:o.keywords)?u:[]);n.current.filtered.items.set(a,r),r>0&&l++}for(let[t,e]of a.current)for(let r of e)if(n.current.filtered.items.get(r)>0){n.current.filtered.groups.add(t);break}n.current.filtered.count=l}function T(){var t,e,n;let r=k();r&&((null==(t=r.parentElement)?void 0:t.firstChild)===r&&(null==(n=null==(e=r.closest(z))?void 0:e.querySelector('[cmdk-group-heading=""]'))||n.scrollIntoView({block:"nearest"})),r.scrollIntoView({block:"nearest"}))}function k(){var t;return null==(t=P.current)?void 0:t.querySelector("".concat(tt,'[aria-selected="true"]'))}function R(){var t;return Array.from((null==(t=P.current)?void 0:t.querySelectorAll(te))||[])}function M(t){let e=R()[t];e&&x.setState("value",e.getAttribute(tr))}function D(t){var e;let n=k(),r=R(),a=r.findIndex(t=>t===n),d=r[a+t];null!=(e=i.current)&&e.loop&&(d=a+t<0?r[r.length-1]:a+t===r.length?r[0]:r[a+t]),d&&x.setState("value",d.getAttribute(tr))}function F(t){let e=k(),n=null==e?void 0:e.closest(z),r;for(;n&&!r;)r=null==(n=t>0?function(t,e){let n=t.nextElementSibling;for(;n;){if(n.matches(e))return n;n=n.nextElementSibling}}(n,z):function(t,e){let n=t.previousElementSibling;for(;n;){if(n.matches(e))return n;n=n.previousElementSibling}}(n,z))?void 0:n.querySelector(te);r?x.setState("value",r.getAttribute(tr)):D(t)}let L=()=>M(R().length-1),B=t=>{t.preventDefault(),t.metaKey?L():t.altKey?F(1):D(1)},G=t=>{t.preventDefault(),t.metaKey?M(0):t.altKey?F(-1):D(-1)};return u.createElement(g.sG.div,{ref:e,tabIndex:-1,...b,"cmdk-root":"",onKeyDown:t=>{var e;null==(e=b.onKeyDown)||e.call(b,t);let n=t.nativeEvent.isComposing||229===t.keyCode;if(!(t.defaultPrevented||n))switch(t.key){case"n":case"j":v&&t.ctrlKey&&B(t);break;case"ArrowDown":B(t);break;case"p":case"k":v&&t.ctrlKey&&G(t);break;case"ArrowUp":G(t);break;case"Home":t.preventDefault(),M(0);break;case"End":t.preventDefault(),L();break;case"Enter":{t.preventDefault();let e=k();if(e){let t=new Event(tn);e.dispatchEvent(t)}}}}},u.createElement("label",{"cmdk-label":"",htmlFor:I.inputId,id:I.labelId,style:tS},l),tP(t,t=>u.createElement(ti.Provider,{value:x},u.createElement(td.Provider,{value:I},t))))}),ts=u.forwardRef((t,e)=>{var n,r;let a=(0,$.B)(),d=u.useRef(null),o=u.useContext(tl),i=to(),l=tg(t),s=null!=(r=null==(n=l.current)?void 0:n.forceMount)?r:null==o?void 0:o.forceMount;tv(()=>{if(!s)return i.item(a,null==o?void 0:o.id)},[s]);let f=tO(a,d,[t.value,t.children,d],t.keywords),p=tu(),h=tC(t=>t.value&&t.value===f.current),y=tC(t=>!!s||!1===i.filter()||!t.search||t.filtered.items.get(a)>0);function m(){var t,e;v(),null==(e=(t=l.current).onSelect)||e.call(t,f.current)}function v(){p.setState("value",f.current,!0)}if(u.useEffect(()=>{let e=d.current;if(!(!e||t.disabled))return e.addEventListener(tn,m),()=>e.removeEventListener(tn,m)},[y,t.onSelect,t.disabled]),!y)return null;let{disabled:b,value:C,onSelect:O,forceMount:N,keywords:P,...S}=t;return u.createElement(g.sG.div,{ref:(0,c.t)(d,e),...S,id:a,"cmdk-item":"",role:"option","aria-disabled":!!b,"aria-selected":!!h,"data-disabled":!!b,"data-selected":!!h,onPointerMove:b||i.getDisablePointerSelection()?void 0:v,onClick:b?void 0:m},t.children)}),t$=u.forwardRef((t,e)=>{let{heading:n,children:r,forceMount:a,...d}=t,o=(0,$.B)(),i=u.useRef(null),l=u.useRef(null),s=(0,$.B)(),f=to(),p=tC(t=>!!a||!1===f.filter()||!t.search||t.filtered.groups.has(o));tv(()=>f.group(o),[]),tO(o,i,[t.value,t.heading,l]);let h=u.useMemo(()=>({id:o,forceMount:a}),[a]);return u.createElement(g.sG.div,{ref:(0,c.t)(i,e),...d,"cmdk-group":"",role:"presentation",hidden:!p||void 0},n&&u.createElement("div",{ref:l,"cmdk-group-heading":"","aria-hidden":!0,id:s},n),tP(t,t=>u.createElement("div",{"cmdk-group-items":"",role:"group","aria-labelledby":n?s:void 0},u.createElement(tl.Provider,{value:h},t))))}),tf=u.forwardRef((t,e)=>{let{alwaysRender:n,...r}=t,a=u.useRef(null),d=tC(t=>!t.search);return n||d?u.createElement(g.sG.div,{ref:(0,c.t)(a,e),...r,"cmdk-separator":"",role:"separator"}):null}),tp=u.forwardRef((t,e)=>{let{onValueChange:n,...r}=t,a=null!=t.value,d=tu(),o=tC(t=>t.search),i=tC(t=>t.selectedItemId),l=to();return u.useEffect(()=>{null!=t.value&&d.setState("search",t.value)},[t.value]),u.createElement(g.sG.input,{ref:e,...r,"cmdk-input":"",autoComplete:"off",autoCorrect:"off",spellCheck:!1,"aria-autocomplete":"list",role:"combobox","aria-expanded":!0,"aria-controls":l.listId,"aria-labelledby":l.labelId,"aria-activedescendant":i,id:l.inputId,type:"text",value:a?t.value:o,onChange:t=>{a||d.setState("search",t.target.value),null==n||n(t.target.value)}})}),th=u.forwardRef((t,e)=>{let{children:n,label:r="Suggestions",...a}=t,d=u.useRef(null),o=u.useRef(null),i=tC(t=>t.selectedItemId),l=to();return u.useEffect(()=>{if(o.current&&d.current){let t=o.current,e=d.current,n,r=new ResizeObserver(()=>{n=requestAnimationFrame(()=>{let n=t.offsetHeight;e.style.setProperty("--cmdk-list-height",n.toFixed(1)+"px")})});return r.observe(t),()=>{cancelAnimationFrame(n),r.unobserve(t)}}},[]),u.createElement(g.sG.div,{ref:(0,c.t)(d,e),...a,"cmdk-list":"",role:"listbox",tabIndex:-1,"aria-activedescendant":i,"aria-label":r,id:l.listId},tP(t,t=>u.createElement("div",{ref:(0,c.t)(o,l.listInnerRef),"cmdk-list-sizer":""},t)))}),ty=u.forwardRef((t,e)=>{let{open:n,onOpenChange:r,overlayClassName:a,contentClassName:d,container:o,...i}=t;return u.createElement(E,{open:n,onOpenChange:r},u.createElement(R,{container:o},u.createElement(D,{"cmdk-overlay":"",className:a}),u.createElement(B,{"aria-label":t.label,"cmdk-dialog":"",className:d},u.createElement(tc,{ref:e,...i}))))}),tm=Object.assign(tc,{List:th,Item:ts,Input:tp,Group:t$,Separator:tf,Dialog:ty,Empty:u.forwardRef((t,e)=>tC(t=>0===t.filtered.count)?u.createElement(g.sG.div,{ref:e,...t,"cmdk-empty":"",role:"presentation"}):null),Loading:u.forwardRef((t,e)=>{let{progress:n,children:r,label:a="Loading...",...d}=t;return u.createElement(g.sG.div,{ref:e,...d,"cmdk-loading":"",role:"progressbar","aria-valuenow":n,"aria-valuemin":0,"aria-valuemax":100,"aria-label":a},tP(t,t=>u.createElement("div",{"aria-hidden":!0},t)))})});function tg(t){let e=u.useRef(t);return tv(()=>{e.current=t}),e}var tv="undefined"==typeof window?u.useEffect:u.useLayoutEffect;function tb(t){let e=u.useRef();return void 0===e.current&&(e.current=t()),e}function tC(t){let e=tu(),n=()=>t(e.snapshot());return u.useSyncExternalStore(e.subscribe,n,n)}function tO(t,e,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[],a=u.useRef(),d=to();return tv(()=>{var o;let i=(()=>{var t;for(let e of n){if("string"==typeof e)return e.trim();if("object"==typeof e&&"current"in e)return e.current?null==(t=e.current.textContent)?void 0:t.trim():a.current}})(),u=r.map(t=>t.trim());d.value(t,i,u),null==(o=e.current)||o.setAttribute(tr,i),a.current=i}),a}var tN=()=>{let[t,e]=u.useState(),n=tb(()=>new Map);return tv(()=>{n.current.forEach(t=>t()),n.current=new Map},[t]),(t,r)=>{n.current.set(t,r),e({})}};function tP(t,e){let n,{asChild:r,children:a}=t;return r&&u.isValidElement(a)?u.cloneElement("function"==typeof(n=a.type)?n(a.props):"render"in n?n.render(a.props):a,{ref:a.ref},e(a.props.children)):e(a)}var tS={position:"absolute",width:"1px",height:"1px",padding:"0",margin:"-1px",overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0"}},70964:(t,e,n)=>{"use strict";n.d(e,{Ay:()=>nA,Ko:()=>nj});let r={version:4,country_calling_codes:{1:["US","AG","AI","AS","BB","BM","BS","CA","DM","DO","GD","GU","JM","KN","KY","LC","MP","MS","PR","SX","TC","TT","VC","VG","VI"],7:["RU","KZ"],20:["EG"],27:["ZA"],30:["GR"],31:["NL"],32:["BE"],33:["FR"],34:["ES"],36:["HU"],39:["IT","VA"],40:["RO"],41:["CH"],43:["AT"],44:["GB","GG","IM","JE"],45:["DK"],46:["SE"],47:["NO","SJ"],48:["PL"],49:["DE"],51:["PE"],52:["MX"],53:["CU"],54:["AR"],55:["BR"],56:["CL"],57:["CO"],58:["VE"],60:["MY"],61:["AU","CC","CX"],62:["ID"],63:["PH"],64:["NZ"],65:["SG"],66:["TH"],81:["JP"],82:["KR"],84:["VN"],86:["CN"],90:["TR"],91:["IN"],92:["PK"],93:["AF"],94:["LK"],95:["MM"],98:["IR"],211:["SS"],212:["MA","EH"],213:["DZ"],216:["TN"],218:["LY"],220:["GM"],221:["SN"],222:["MR"],223:["ML"],224:["GN"],225:["CI"],226:["BF"],227:["NE"],228:["TG"],229:["BJ"],230:["MU"],231:["LR"],232:["SL"],233:["GH"],234:["NG"],235:["TD"],236:["CF"],237:["CM"],238:["CV"],239:["ST"],240:["GQ"],241:["GA"],242:["CG"],243:["CD"],244:["AO"],245:["GW"],246:["IO"],247:["AC"],248:["SC"],249:["SD"],250:["RW"],251:["ET"],252:["SO"],253:["DJ"],254:["KE"],255:["TZ"],256:["UG"],257:["BI"],258:["MZ"],260:["ZM"],261:["MG"],262:["RE","YT"],263:["ZW"],264:["NA"],265:["MW"],266:["LS"],267:["BW"],268:["SZ"],269:["KM"],290:["SH","TA"],291:["ER"],297:["AW"],298:["FO"],299:["GL"],350:["GI"],351:["PT"],352:["LU"],353:["IE"],354:["IS"],355:["AL"],356:["MT"],357:["CY"],358:["FI","AX"],359:["BG"],370:["LT"],371:["LV"],372:["EE"],373:["MD"],374:["AM"],375:["BY"],376:["AD"],377:["MC"],378:["SM"],380:["UA"],381:["RS"],382:["ME"],383:["XK"],385:["HR"],386:["SI"],387:["BA"],389:["MK"],420:["CZ"],421:["SK"],423:["LI"],500:["FK"],501:["BZ"],502:["GT"],503:["SV"],504:["HN"],505:["NI"],506:["CR"],507:["PA"],508:["PM"],509:["HT"],590:["GP","BL","MF"],591:["BO"],592:["GY"],593:["EC"],594:["GF"],595:["PY"],596:["MQ"],597:["SR"],598:["UY"],599:["CW","BQ"],670:["TL"],672:["NF"],673:["BN"],674:["NR"],675:["PG"],676:["TO"],677:["SB"],678:["VU"],679:["FJ"],680:["PW"],681:["WF"],682:["CK"],683:["NU"],685:["WS"],686:["KI"],687:["NC"],688:["TV"],689:["PF"],690:["TK"],691:["FM"],692:["MH"],850:["KP"],852:["HK"],853:["MO"],855:["KH"],856:["LA"],880:["BD"],886:["TW"],960:["MV"],961:["LB"],962:["JO"],963:["SY"],964:["IQ"],965:["KW"],966:["SA"],967:["YE"],968:["OM"],970:["PS"],971:["AE"],972:["IL"],973:["BH"],974:["QA"],975:["BT"],976:["MN"],977:["NP"],992:["TJ"],993:["TM"],994:["AZ"],995:["GE"],996:["KG"],998:["UZ"]},countries:{AC:["247","00","(?:[01589]\\d|[46])\\d{4}",[5,6]],AD:["376","00","(?:1|6\\d)\\d{7}|[135-9]\\d{5}",[6,8,9],[["(\\d{3})(\\d{3})","$1 $2",["[135-9]"]],["(\\d{4})(\\d{4})","$1 $2",["1"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6"]]]],AE:["971","00","(?:[4-7]\\d|9[0-689])\\d{7}|800\\d{2,9}|[2-4679]\\d{7}",[5,6,7,8,9,10,11,12],[["(\\d{3})(\\d{2,9})","$1 $2",["60|8"]],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[236]|[479][2-8]"],"0$1"],["(\\d{3})(\\d)(\\d{5})","$1 $2 $3",["[479]"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["5"],"0$1"]],"0"],AF:["93","00","[2-7]\\d{8}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[2-7]"],"0$1"]],"0"],AG:["1","011","(?:268|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([457]\\d{6})$|1","268$1",0,"268"],AI:["1","011","(?:264|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2457]\\d{6})$|1","264$1",0,"264"],AL:["355","00","(?:700\\d\\d|900)\\d{3}|8\\d{5,7}|(?:[2-5]|6\\d)\\d{7}",[6,7,8,9],[["(\\d{3})(\\d{3,4})","$1 $2",["80|9"],"0$1"],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["4[2-6]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[2358][2-5]|4"],"0$1"],["(\\d{3})(\\d{5})","$1 $2",["[23578]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["6"],"0$1"]],"0"],AM:["374","00","(?:[1-489]\\d|55|60|77)\\d{6}",[8],[["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["[89]0"],"0 $1"],["(\\d{3})(\\d{5})","$1 $2",["2|3[12]"],"(0$1)"],["(\\d{2})(\\d{6})","$1 $2",["1|47"],"(0$1)"],["(\\d{2})(\\d{6})","$1 $2",["[3-9]"],"0$1"]],"0"],AO:["244","00","[29]\\d{8}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[29]"]]]],AR:["54","00","(?:11|[89]\\d\\d)\\d{8}|[2368]\\d{9}",[10,11],[["(\\d{4})(\\d{2})(\\d{4})","$1 $2-$3",["2(?:2[024-9]|3[0-59]|47|6[245]|9[02-8])|3(?:3[28]|4[03-9]|5[2-46-8]|7[1-578]|8[2-9])","2(?:[23]02|6(?:[25]|4[6-8])|9(?:[02356]|4[02568]|72|8[23]))|3(?:3[28]|4(?:[04679]|3[5-8]|5[4-68]|8[2379])|5(?:[2467]|3[237]|8[2-5])|7[1-578]|8(?:[2469]|3[2578]|5[4-8]|7[36-8]|8[5-8]))|2(?:2[24-9]|3[1-59]|47)","2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3[78]|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8[23])|7[1-578]|8(?:[2469]|3[278]|5[56][46]|86[3-6]))|2(?:2[24-9]|3[1-59]|47)|38(?:[58][78]|7[378])|3(?:4[35][56]|58[45]|8(?:[38]5|54|76))[4-6]","2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3(?:5(?:4[0-25689]|[56])|[78])|58|8[2379])|5(?:[2467]|3[237]|8(?:[23]|4(?:[45]|60)|5(?:4[0-39]|5|64)))|7[1-578]|8(?:[2469]|3[278]|54(?:4|5[13-7]|6[89])|86[3-6]))|2(?:2[24-9]|3[1-59]|47)|38(?:[58][78]|7[378])|3(?:454|85[56])[46]|3(?:4(?:36|5[56])|8(?:[38]5|76))[4-6]"],"0$1",1],["(\\d{2})(\\d{4})(\\d{4})","$1 $2-$3",["1"],"0$1",1],["(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["[68]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2-$3",["[23]"],"0$1",1],["(\\d)(\\d{4})(\\d{2})(\\d{4})","$2 15-$3-$4",["9(?:2[2-469]|3[3-578])","9(?:2(?:2[024-9]|3[0-59]|47|6[245]|9[02-8])|3(?:3[28]|4[03-9]|5[2-46-8]|7[1-578]|8[2-9]))","9(?:2(?:[23]02|6(?:[25]|4[6-8])|9(?:[02356]|4[02568]|72|8[23]))|3(?:3[28]|4(?:[04679]|3[5-8]|5[4-68]|8[2379])|5(?:[2467]|3[237]|8[2-5])|7[1-578]|8(?:[2469]|3[2578]|5[4-8]|7[36-8]|8[5-8])))|92(?:2[24-9]|3[1-59]|47)","9(?:2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3[78]|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8[23])|7[1-578]|8(?:[2469]|3[278]|5(?:[56][46]|[78])|7[378]|8(?:6[3-6]|[78]))))|92(?:2[24-9]|3[1-59]|47)|93(?:4[35][56]|58[45]|8(?:[38]5|54|76))[4-6]","9(?:2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3(?:5(?:4[0-25689]|[56])|[78])|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8(?:[23]|4(?:[45]|60)|5(?:4[0-39]|5|64)))|7[1-578]|8(?:[2469]|3[278]|5(?:4(?:4|5[13-7]|6[89])|[56][46]|[78])|7[378]|8(?:6[3-6]|[78]))))|92(?:2[24-9]|3[1-59]|47)|93(?:4(?:36|5[56])|8(?:[38]5|76))[4-6]"],"0$1",0,"$1 $2 $3-$4"],["(\\d)(\\d{2})(\\d{4})(\\d{4})","$2 15-$3-$4",["91"],"0$1",0,"$1 $2 $3-$4"],["(\\d{3})(\\d{3})(\\d{5})","$1-$2-$3",["8"],"0$1"],["(\\d)(\\d{3})(\\d{3})(\\d{4})","$2 15-$3-$4",["9"],"0$1",0,"$1 $2 $3-$4"]],"0",0,"0?(?:(11|2(?:2(?:02?|[13]|2[13-79]|4[1-6]|5[2457]|6[124-8]|7[1-4]|8[13-6]|9[1267])|3(?:02?|1[467]|2[03-6]|3[13-8]|[49][2-6]|5[2-8]|[67])|4(?:7[3-578]|9)|6(?:[0136]|2[24-6]|4[6-8]?|5[15-8])|80|9(?:0[1-3]|[19]|2\\d|3[1-6]|4[02568]?|5[2-4]|6[2-46]|72?|8[23]?))|3(?:3(?:2[79]|6|8[2578])|4(?:0[0-24-9]|[12]|3[5-8]?|4[24-7]|5[4-68]?|6[02-9]|7[126]|8[2379]?|9[1-36-8])|5(?:1|2[1245]|3[237]?|4[1-46-9]|6[2-4]|7[1-6]|8[2-5]?)|6[24]|7(?:[069]|1[1568]|2[15]|3[145]|4[13]|5[14-8]|7[2-57]|8[126])|8(?:[01]|2[15-7]|3[2578]?|4[13-6]|5[4-8]?|6[1-357-9]|7[36-8]?|8[5-8]?|9[124])))15)?","9$1"],AS:["1","011","(?:[58]\\d\\d|684|900)\\d{7}",[10],0,"1",0,"([267]\\d{6})$|1","684$1",0,"684"],AT:["43","00","1\\d{3,12}|2\\d{6,12}|43(?:(?:0\\d|5[02-9])\\d{3,9}|2\\d{4,5}|[3467]\\d{4}|8\\d{4,6}|9\\d{4,7})|5\\d{4,12}|8\\d{7,12}|9\\d{8,12}|(?:[367]\\d|4[0-24-9])\\d{4,11}",[4,5,6,7,8,9,10,11,12,13],[["(\\d)(\\d{3,12})","$1 $2",["1(?:11|[2-9])"],"0$1"],["(\\d{3})(\\d{2})","$1 $2",["517"],"0$1"],["(\\d{2})(\\d{3,5})","$1 $2",["5[079]"],"0$1"],["(\\d{3})(\\d{3,10})","$1 $2",["(?:31|4)6|51|6(?:5[0-3579]|[6-9])|7(?:20|32|8)|[89]"],"0$1"],["(\\d{4})(\\d{3,9})","$1 $2",["[2-467]|5[2-6]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["5"],"0$1"],["(\\d{2})(\\d{4})(\\d{4,7})","$1 $2 $3",["5"],"0$1"]],"0"],AU:["61","001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011","1(?:[0-79]\\d{7}(?:\\d(?:\\d{2})?)?|8[0-24-9]\\d{7})|[2-478]\\d{8}|1\\d{4,7}",[5,6,7,8,9,10,12],[["(\\d{2})(\\d{3,4})","$1 $2",["16"],"0$1"],["(\\d{2})(\\d{3})(\\d{2,4})","$1 $2 $3",["16"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["14|4"],"0$1"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["[2378]"],"(0$1)"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1(?:30|[89])"]]],"0",0,"(183[12])|0",0,0,0,[["(?:(?:(?:2(?:[0-26-9]\\d|3[0-8]|4[02-9]|5[0135-9])|7(?:[013-57-9]\\d|2[0-8]))\\d|3(?:(?:[0-3589]\\d|6[1-9]|7[0-35-9])\\d|4(?:[0-578]\\d|90)))\\d\\d|8(?:51(?:0(?:0[03-9]|[12479]\\d|3[2-9]|5[0-8]|6[1-9]|8[0-7])|1(?:[0235689]\\d|1[0-69]|4[0-589]|7[0-47-9])|2(?:0[0-79]|[18][13579]|2[14-9]|3[0-46-9]|[4-6]\\d|7[89]|9[0-4])|3\\d\\d)|(?:6[0-8]|[78]\\d)\\d{3}|9(?:[02-9]\\d{3}|1(?:(?:[0-58]\\d|6[0135-9])\\d|7(?:0[0-24-9]|[1-9]\\d)|9(?:[0-46-9]\\d|5[0-79])))))\\d{3}",[9]],["4(?:79[01]|83[0-389]|94[0-4])\\d{5}|4(?:[0-36]\\d|4[047-9]|5[0-25-9]|7[02-8]|8[0-24-9]|9[0-37-9])\\d{6}",[9]],["180(?:0\\d{3}|2)\\d{3}",[7,10]],["190[0-26]\\d{6}",[10]],0,0,0,["163\\d{2,6}",[5,6,7,8,9]],["14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}",[9]],["13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}",[6,8,10,12]]],"0011"],AW:["297","00","(?:[25-79]\\d\\d|800)\\d{4}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[25-9]"]]]],AX:["358","00|99(?:[01469]|5(?:[14]1|3[23]|5[59]|77|88|9[09]))","2\\d{4,9}|35\\d{4,5}|(?:60\\d\\d|800)\\d{4,6}|7\\d{5,11}|(?:[14]\\d|3[0-46-9]|50)\\d{4,8}",[5,6,7,8,9,10,11,12],0,"0",0,0,0,0,"18",0,"00"],AZ:["994","00","365\\d{6}|(?:[124579]\\d|60|88)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["90"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[28]|2|365|46","1[28]|2|365[45]|46","1[28]|2|365(?:4|5[02])|46"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[13-9]"],"0$1"]],"0"],BA:["387","00","6\\d{8}|(?:[35689]\\d|49|70)\\d{6}",[8,9],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["6[1-3]|[7-9]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2-$3",["[3-5]|6[56]"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3 $4",["6"],"0$1"]],"0"],BB:["1","011","(?:246|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","246$1",0,"246"],BD:["880","00","[1-469]\\d{9}|8[0-79]\\d{7,8}|[2-79]\\d{8}|[2-9]\\d{7}|[3-9]\\d{6}|[57-9]\\d{5}",[6,7,8,9,10],[["(\\d{2})(\\d{4,6})","$1-$2",["31[5-8]|[459]1"],"0$1"],["(\\d{3})(\\d{3,7})","$1-$2",["3(?:[67]|8[013-9])|4(?:6[168]|7|[89][18])|5(?:6[128]|9)|6(?:[15]|28|4[14])|7[2-589]|8(?:0[014-9]|[12])|9[358]|(?:3[2-5]|4[235]|5[2-578]|6[0389]|76|8[3-7]|9[24])1|(?:44|66)[01346-9]"],"0$1"],["(\\d{4})(\\d{3,6})","$1-$2",["[13-9]|2[23]"],"0$1"],["(\\d)(\\d{7,8})","$1-$2",["2"],"0$1"]],"0"],BE:["32","00","4\\d{8}|[1-9]\\d{7}",[8,9],[["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["(?:80|9)0"],"0$1"],["(\\d)(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[239]|4[23]"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[15-8]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["4"],"0$1"]],"0"],BF:["226","00","[025-7]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[025-7]"]]]],BG:["359","00","00800\\d{7}|[2-7]\\d{6,7}|[89]\\d{6,8}|2\\d{5}",[6,7,8,9,12],[["(\\d)(\\d)(\\d{2})(\\d{2})","$1 $2 $3 $4",["2"],"0$1"],["(\\d{3})(\\d{4})","$1 $2",["43[1-6]|70[1-9]"],"0$1"],["(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["2"],"0$1"],["(\\d{2})(\\d{3})(\\d{2,3})","$1 $2 $3",["[356]|4[124-7]|7[1-9]|8[1-6]|9[1-7]"],"0$1"],["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["(?:70|8)0"],"0$1"],["(\\d{3})(\\d{3})(\\d{2})","$1 $2 $3",["43[1-7]|7"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[48]|9[08]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["9"],"0$1"]],"0"],BH:["973","00","[136-9]\\d{7}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[13679]|8[02-4679]"]]]],BI:["257","00","(?:[267]\\d|31)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2367]"]]]],BJ:["229","00","(?:01\\d|[24-689])\\d{7}",[8,10],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[24-689]"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["0"]]]],BL:["590","00","(?:590\\d|7090)\\d{5}|(?:69|80|9\\d)\\d{7}",[9],0,"0",0,0,0,0,0,[["590(?:2[7-9]|3[3-7]|5[12]|87)\\d{4}"],["(?:69(?:0\\d\\d|1(?:2[2-9]|3[0-5])|4(?:0[89]|1[2-6]|9\\d)|6(?:1[016-9]|5[0-4]|[67]\\d))|7090[0-4])\\d{4}"],["80[0-5]\\d{6}"],0,0,0,0,0,["9(?:(?:39[5-7]|76[018])\\d|475[0-6])\\d{4}"]]],BM:["1","011","(?:441|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","441$1",0,"441"],BN:["673","00","[2-578]\\d{6}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[2-578]"]]]],BO:["591","00(?:1\\d)?","8001\\d{5}|(?:[2-467]\\d|50)\\d{6}",[8,9],[["(\\d)(\\d{7})","$1 $2",["[235]|4[46]"]],["(\\d{8})","$1",["[67]"]],["(\\d{3})(\\d{2})(\\d{4})","$1 $2 $3",["8"]]],"0",0,"0(1\\d)?"],BQ:["599","00","(?:[34]1|7\\d)\\d{5}",[7],0,0,0,0,0,0,"[347]"],BR:["55","00(?:1[245]|2[1-35]|31|4[13]|[56]5|99)","(?:[1-46-9]\\d\\d|5(?:[0-46-9]\\d|5[0-46-9]))\\d{8}|[1-9]\\d{9}|[3589]\\d{8}|[34]\\d{7}",[8,9,10,11],[["(\\d{4})(\\d{4})","$1-$2",["300|4(?:0[02]|37)","4(?:02|37)0|[34]00"]],["(\\d{3})(\\d{2,3})(\\d{4})","$1 $2 $3",["(?:[358]|90)0"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1 $2-$3",["(?:[14689][1-9]|2[12478]|3[1-578]|5[13-5]|7[13-579])[2-57]"],"($1)"],["(\\d{2})(\\d{5})(\\d{4})","$1 $2-$3",["[16][1-9]|[2-57-9]"],"($1)"]],"0",0,"(?:0|90)(?:(1[245]|2[1-35]|31|4[13]|[56]5|99)(\\d{10,11}))?","$2"],BS:["1","011","(?:242|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([3-8]\\d{6})$|1","242$1",0,"242"],BT:["975","00","[17]\\d{7}|[2-8]\\d{6}",[7,8],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[2-68]|7[246]"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[67]|7"]]]],BW:["267","00","(?:0800|(?:[37]|800)\\d)\\d{6}|(?:[2-6]\\d|90)\\d{5}",[7,8,10],[["(\\d{2})(\\d{5})","$1 $2",["90"]],["(\\d{3})(\\d{4})","$1 $2",["[24-6]|3[15-9]"]],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[37]"]],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["0"]],["(\\d{3})(\\d{4})(\\d{3})","$1 $2 $3",["8"]]]],BY:["375","810","(?:[12]\\d|33|44|902)\\d{7}|8(?:0[0-79]\\d{5,7}|[1-7]\\d{9})|8(?:1[0-489]|[5-79]\\d)\\d{7}|8[1-79]\\d{6,7}|8[0-79]\\d{5}|8\\d{5}",[6,7,8,9,10,11],[["(\\d{3})(\\d{3})","$1 $2",["800"],"8 $1"],["(\\d{3})(\\d{2})(\\d{2,4})","$1 $2 $3",["800"],"8 $1"],["(\\d{4})(\\d{2})(\\d{3})","$1 $2-$3",["1(?:5[169]|6[3-5]|7[179])|2(?:1[35]|2[34]|3[3-5])","1(?:5[169]|6(?:3[1-3]|4|5[125])|7(?:1[3-9]|7[0-24-6]|9[2-7]))|2(?:1[35]|2[34]|3[3-5])"],"8 0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2-$3-$4",["1(?:[56]|7[467])|2[1-3]"],"8 0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2-$3-$4",["[1-4]"],"8 0$1"],["(\\d{3})(\\d{3,4})(\\d{4})","$1 $2 $3",["[89]"],"8 $1"]],"8",0,"0|80?",0,0,0,0,"8~10"],BZ:["501","00","(?:0800\\d|[2-8])\\d{6}",[7,11],[["(\\d{3})(\\d{4})","$1-$2",["[2-8]"]],["(\\d)(\\d{3})(\\d{4})(\\d{3})","$1-$2-$3-$4",["0"]]]],CA:["1","011","[2-9]\\d{9}|3\\d{6}",[7,10],0,"1",0,0,0,0,0,[["(?:2(?:04|[23]6|[48]9|50|63)|3(?:06|43|54|6[578]|82)|4(?:03|1[68]|[26]8|3[178]|50|74)|5(?:06|1[49]|48|79|8[147])|6(?:04|[18]3|39|47|72)|7(?:0[59]|42|53|78|8[02])|8(?:[06]7|19|25|7[39])|9(?:0[25]|42))[2-9]\\d{6}",[10]],["",[10]],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",[10]],["900[2-9]\\d{6}",[10]],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|(?:5(?:2[125-9]|33|44|66|77|88)|6(?:22|33))[2-9]\\d{6}",[10]],0,["310\\d{4}",[7]],0,["600[2-9]\\d{6}",[10]]]],CC:["61","001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011","1(?:[0-79]\\d{8}(?:\\d{2})?|8[0-24-9]\\d{7})|[148]\\d{8}|1\\d{5,7}",[6,7,8,9,10,12],0,"0",0,"([59]\\d{7})$|0","8$1",0,0,[["8(?:51(?:0(?:02|31|60|89)|1(?:18|76)|223)|91(?:0(?:1[0-2]|29)|1(?:[28]2|50|79)|2(?:10|64)|3(?:[06]8|22)|4[29]8|62\\d|70[23]|959))\\d{3}",[9]],["4(?:79[01]|83[0-389]|94[0-4])\\d{5}|4(?:[0-36]\\d|4[047-9]|5[0-25-9]|7[02-8]|8[0-24-9]|9[0-37-9])\\d{6}",[9]],["180(?:0\\d{3}|2)\\d{3}",[7,10]],["190[0-26]\\d{6}",[10]],0,0,0,0,["14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}",[9]],["13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}",[6,8,10,12]]],"0011"],CD:["243","00","(?:(?:[189]|5\\d)\\d|2)\\d{7}|[1-68]\\d{6}",[7,8,9,10],[["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["88"],"0$1"],["(\\d{2})(\\d{5})","$1 $2",["[1-6]"],"0$1"],["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["2"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[89]"],"0$1"],["(\\d{2})(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3 $4",["5"],"0$1"]],"0"],CF:["236","00","(?:[27]\\d{3}|8776)\\d{4}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[278]"]]]],CG:["242","00","222\\d{6}|(?:0\\d|80)\\d{7}",[9],[["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["8"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[02]"]]]],CH:["41","00","8\\d{11}|[2-9]\\d{8}",[9,12],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8[047]|90"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-79]|81"],"0$1"],["(\\d{3})(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["8"],"0$1"]],"0"],CI:["225","00","[02]\\d{9}",[10],[["(\\d{2})(\\d{2})(\\d)(\\d{5})","$1 $2 $3 $4",["2"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3 $4",["0"]]]],CK:["682","00","[2-578]\\d{4}",[5],[["(\\d{2})(\\d{3})","$1 $2",["[2-578]"]]]],CL:["56","(?:0|1(?:1[0-69]|2[02-5]|5[13-58]|69|7[0167]|8[018]))0","12300\\d{6}|6\\d{9,10}|[2-9]\\d{8}",[9,10,11],[["(\\d{5})(\\d{4})","$1 $2",["219","2196"],"($1)"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["44"]],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["2[1-36]"],"($1)"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["9[2-9]"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["3[2-5]|[47]|5[1-3578]|6[13-57]|8(?:0[1-9]|[1-9])"],"($1)"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["60|8"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]],["(\\d{3})(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3 $4",["60"]]]],CM:["237","00","[26]\\d{8}|88\\d{6,7}",[8,9],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["88"]],["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["[26]|88"]]]],CN:["86","00|1(?:[12]\\d|79)\\d\\d00","(?:(?:1[03-689]|2\\d)\\d\\d|6)\\d{8}|1\\d{10}|[126]\\d{6}(?:\\d(?:\\d{2})?)?|86\\d{5,6}|(?:[3-579]\\d|8[0-57-9])\\d{5,9}",[7,8,9,10,11,12],[["(\\d{2})(\\d{5,6})","$1 $2",["(?:10|2[0-57-9])[19]|3(?:[157]|35|49|9[1-68])|4(?:1[124-9]|2[179]|6[47-9]|7|8[23])|5(?:[1357]|2[37]|4[36]|6[1-46]|80)|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:07|1[236-8]|2[5-7]|[37]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3|4[13]|5[1-5]|7[0-79]|9[0-35-9])|(?:4[35]|59|85)[1-9]","(?:10|2[0-57-9])(?:1[02]|9[56])|8078|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))1","10(?:1(?:0|23)|9[56])|2[0-57-9](?:1(?:00|23)|9[56])|80781|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))12","10(?:1(?:0|23)|9[56])|2[0-57-9](?:1(?:00|23)|9[56])|807812|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))123","10(?:1(?:0|23)|9[56])|2[0-57-9](?:1(?:00|23)|9[56])|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:078|1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))123"],"0$1"],["(\\d{3})(\\d{5,6})","$1 $2",["3(?:[157]|35|49|9[1-68])|4(?:[17]|2[179]|6[47-9]|8[23])|5(?:[1357]|2[37]|4[36]|6[1-46]|80)|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]|4[13]|5[1-5])|(?:4[35]|59|85)[1-9]","(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))[19]","85[23](?:10|95)|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:10|9[56])","85[23](?:100|95)|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:100|9[56])"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["(?:4|80)0"]],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["10|2(?:[02-57-9]|1[1-9])","10|2(?:[02-57-9]|1[1-9])","10[0-79]|2(?:[02-57-9]|1[1-79])|(?:10|21)8(?:0[1-9]|[1-9])"],"0$1",1],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["3(?:[3-59]|7[02-68])|4(?:[26-8]|3[3-9]|5[2-9])|5(?:3[03-9]|[468]|7[028]|9[2-46-9])|6|7(?:[0-247]|3[04-9]|5[0-4689]|6[2368])|8(?:[1-358]|9[1-7])|9(?:[013479]|5[1-5])|(?:[34]1|55|79|87)[02-9]"],"0$1",1],["(\\d{3})(\\d{7,8})","$1 $2",["9"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["80"],"0$1",1],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["[3-578]"],"0$1",1],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["1[3-9]"]],["(\\d{2})(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3 $4",["[12]"],"0$1",1]],"0",0,"(1(?:[12]\\d|79)\\d\\d)|0",0,0,0,0,"00"],CO:["57","00(?:4(?:[14]4|56)|[579])","(?:46|60\\d\\d)\\d{6}|(?:1\\d|[39])\\d{9}",[8,10,11],[["(\\d{4})(\\d{4})","$1 $2",["46"]],["(\\d{3})(\\d{7})","$1 $2",["6|90"],"($1)"],["(\\d{3})(\\d{7})","$1 $2",["3[0-357]|91"]],["(\\d)(\\d{3})(\\d{7})","$1-$2-$3",["1"],"0$1",0,"$1 $2 $3"]],"0",0,"0([3579]|4(?:[14]4|56))?"],CR:["506","00","(?:8\\d|90)\\d{8}|(?:[24-8]\\d{3}|3005)\\d{4}",[8,10],[["(\\d{4})(\\d{4})","$1 $2",["[2-7]|8[3-9]"]],["(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["[89]"]]],0,0,"(19(?:0[0-2468]|1[09]|20|66|77|99))"],CU:["53","119","(?:[2-7]|8\\d\\d)\\d{7}|[2-47]\\d{6}|[34]\\d{5}",[6,7,8,10],[["(\\d{2})(\\d{4,6})","$1 $2",["2[1-4]|[34]"],"(0$1)"],["(\\d)(\\d{6,7})","$1 $2",["7"],"(0$1)"],["(\\d)(\\d{7})","$1 $2",["[56]"],"0$1"],["(\\d{3})(\\d{7})","$1 $2",["8"],"0$1"]],"0"],CV:["238","0","(?:[2-59]\\d\\d|800)\\d{4}",[7],[["(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["[2-589]"]]]],CW:["599","00","(?:[34]1|60|(?:7|9\\d)\\d)\\d{5}",[7,8],[["(\\d{3})(\\d{4})","$1 $2",["[3467]"]],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["9[4-8]"]]],0,0,0,0,0,"[69]"],CX:["61","001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011","1(?:[0-79]\\d{8}(?:\\d{2})?|8[0-24-9]\\d{7})|[148]\\d{8}|1\\d{5,7}",[6,7,8,9,10,12],0,"0",0,"([59]\\d{7})$|0","8$1",0,0,[["8(?:51(?:0(?:01|30|59|88)|1(?:17|46|75)|2(?:22|35))|91(?:00[6-9]|1(?:[28]1|49|78)|2(?:09|63)|3(?:12|26|75)|4(?:56|97)|64\\d|7(?:0[01]|1[0-2])|958))\\d{3}",[9]],["4(?:79[01]|83[0-389]|94[0-4])\\d{5}|4(?:[0-36]\\d|4[047-9]|5[0-25-9]|7[02-8]|8[0-24-9]|9[0-37-9])\\d{6}",[9]],["180(?:0\\d{3}|2)\\d{3}",[7,10]],["190[0-26]\\d{6}",[10]],0,0,0,0,["14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}",[9]],["13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}",[6,8,10,12]]],"0011"],CY:["357","00","(?:[279]\\d|[58]0)\\d{6}",[8],[["(\\d{2})(\\d{6})","$1 $2",["[257-9]"]]]],CZ:["420","00","(?:[2-578]\\d|60)\\d{7}|9\\d{8,11}",[9,10,11,12],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[2-8]|9[015-7]"]],["(\\d{2})(\\d{3})(\\d{3})(\\d{2})","$1 $2 $3 $4",["96"]],["(\\d{2})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["9"]],["(\\d{3})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["9"]]]],DE:["49","00","[2579]\\d{5,14}|49(?:[34]0|69|8\\d)\\d\\d?|49(?:37|49|60|7[089]|9\\d)\\d{1,3}|49(?:2[024-9]|3[2-689]|7[1-7])\\d{1,8}|(?:1|[368]\\d|4[0-8])\\d{3,13}|49(?:[015]\\d|2[13]|31|[46][1-8])\\d{1,9}",[4,5,6,7,8,9,10,11,12,13,14,15],[["(\\d{2})(\\d{3,13})","$1 $2",["3[02]|40|[68]9"],"0$1"],["(\\d{3})(\\d{3,12})","$1 $2",["2(?:0[1-389]|1[124]|2[18]|3[14])|3(?:[35-9][15]|4[015])|906|(?:2[4-9]|4[2-9]|[579][1-9]|[68][1-8])1","2(?:0[1-389]|12[0-8])|3(?:[35-9][15]|4[015])|906|2(?:[13][14]|2[18])|(?:2[4-9]|4[2-9]|[579][1-9]|[68][1-8])1"],"0$1"],["(\\d{4})(\\d{2,11})","$1 $2",["[24-6]|3(?:[3569][02-46-9]|4[2-4679]|7[2-467]|8[2-46-8])|70[2-8]|8(?:0[2-9]|[1-8])|90[7-9]|[79][1-9]","[24-6]|3(?:3(?:0[1-467]|2[127-9]|3[124578]|7[1257-9]|8[1256]|9[145])|4(?:2[135]|4[13578]|9[1346])|5(?:0[14]|2[1-3589]|6[1-4]|7[13468]|8[13568])|6(?:2[1-489]|3[124-6]|6[13]|7[12579]|8[1-356]|9[135])|7(?:2[1-7]|4[145]|6[1-5]|7[1-4])|8(?:21|3[1468]|6|7[1467]|8[136])|9(?:0[12479]|2[1358]|4[134679]|6[1-9]|7[136]|8[147]|9[1468]))|70[2-8]|8(?:0[2-9]|[1-8])|90[7-9]|[79][1-9]|3[68]4[1347]|3(?:47|60)[1356]|3(?:3[46]|46|5[49])[1246]|3[4579]3[1357]"],"0$1"],["(\\d{3})(\\d{4})","$1 $2",["138"],"0$1"],["(\\d{5})(\\d{2,10})","$1 $2",["3"],"0$1"],["(\\d{3})(\\d{5,11})","$1 $2",["181"],"0$1"],["(\\d{3})(\\d)(\\d{4,10})","$1 $2 $3",["1(?:3|80)|9"],"0$1"],["(\\d{3})(\\d{7,8})","$1 $2",["1[67]"],"0$1"],["(\\d{3})(\\d{7,12})","$1 $2",["8"],"0$1"],["(\\d{5})(\\d{6})","$1 $2",["185","1850","18500"],"0$1"],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["7"],"0$1"],["(\\d{4})(\\d{7})","$1 $2",["18[68]"],"0$1"],["(\\d{4})(\\d{7})","$1 $2",["15[1279]"],"0$1"],["(\\d{5})(\\d{6})","$1 $2",["15[03568]","15(?:[0568]|31)"],"0$1"],["(\\d{3})(\\d{8})","$1 $2",["18"],"0$1"],["(\\d{3})(\\d{2})(\\d{7,8})","$1 $2 $3",["1(?:6[023]|7)"],"0$1"],["(\\d{4})(\\d{2})(\\d{7})","$1 $2 $3",["15[279]"],"0$1"],["(\\d{3})(\\d{2})(\\d{8})","$1 $2 $3",["15"],"0$1"]],"0"],DJ:["253","00","(?:2\\d|77)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[27]"]]]],DK:["45","00","[2-9]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-9]"]]]],DM:["1","011","(?:[58]\\d\\d|767|900)\\d{7}",[10],0,"1",0,"([2-7]\\d{6})$|1","767$1",0,"767"],DO:["1","011","(?:[58]\\d\\d|900)\\d{7}",[10],0,"1",0,0,0,0,"8001|8[024]9"],DZ:["213","00","(?:[1-4]|[5-79]\\d|80)\\d{7}",[8,9],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[1-4]"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["9"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-8]"],"0$1"]],"0"],EC:["593","00","1\\d{9,10}|(?:[2-7]|9\\d)\\d{7}",[8,9,10,11],[["(\\d)(\\d{3})(\\d{4})","$1 $2-$3",["[2-7]"],"(0$1)",0,"$1-$2-$3"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["9"],"0$1"],["(\\d{4})(\\d{3})(\\d{3,4})","$1 $2 $3",["1"]]],"0"],EE:["372","00","8\\d{9}|[4578]\\d{7}|(?:[3-8]\\d|90)\\d{5}",[7,8,10],[["(\\d{3})(\\d{4})","$1 $2",["[369]|4[3-8]|5(?:[0-2]|5[0-478]|6[45])|7[1-9]|88","[369]|4[3-8]|5(?:[02]|1(?:[0-8]|95)|5[0-478]|6(?:4[0-4]|5[1-589]))|7[1-9]|88"]],["(\\d{4})(\\d{3,4})","$1 $2",["[45]|8(?:00|[1-49])","[45]|8(?:00[1-9]|[1-49])"]],["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["7"]],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["8"]]]],EG:["20","00","[189]\\d{8,9}|[24-6]\\d{8}|[135]\\d{7}",[8,9,10],[["(\\d)(\\d{7,8})","$1 $2",["[23]"],"0$1"],["(\\d{2})(\\d{6,7})","$1 $2",["1[35]|[4-6]|8[2468]|9[235-7]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[89]"],"0$1"],["(\\d{2})(\\d{8})","$1 $2",["1"],"0$1"]],"0"],EH:["212","00","[5-8]\\d{8}",[9],0,"0",0,0,0,0,"528[89]"],ER:["291","00","[178]\\d{6}",[7],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[178]"],"0$1"]],"0"],ES:["34","00","[5-9]\\d{8}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[89]00"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-9]"]]]],ET:["251","00","(?:11|[2-579]\\d)\\d{7}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[1-579]"],"0$1"]],"0"],FI:["358","00|99(?:[01469]|5(?:[14]1|3[23]|5[59]|77|88|9[09]))","[1-35689]\\d{4}|7\\d{10,11}|(?:[124-7]\\d|3[0-46-9])\\d{8}|[1-9]\\d{5,8}",[5,6,7,8,9,10,11,12],[["(\\d{5})","$1",["20[2-59]"],"0$1"],["(\\d{3})(\\d{3,7})","$1 $2",["(?:[1-3]0|[68])0|70[07-9]"],"0$1"],["(\\d{2})(\\d{4,8})","$1 $2",["[14]|2[09]|50|7[135]"],"0$1"],["(\\d{2})(\\d{6,10})","$1 $2",["7"],"0$1"],["(\\d)(\\d{4,9})","$1 $2",["(?:19|[2568])[1-8]|3(?:0[1-9]|[1-9])|9"],"0$1"]],"0",0,0,0,0,"1[03-79]|[2-9]",0,"00"],FJ:["679","0(?:0|52)","45\\d{5}|(?:0800\\d|[235-9])\\d{6}",[7,11],[["(\\d{3})(\\d{4})","$1 $2",["[235-9]|45"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["0"]]],0,0,0,0,0,0,0,"00"],FK:["500","00","[2-7]\\d{4}",[5]],FM:["691","00","(?:[39]\\d\\d|820)\\d{4}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[389]"]]]],FO:["298","00","[2-9]\\d{5}",[6],[["(\\d{6})","$1",["[2-9]"]]],0,0,"(10(?:01|[12]0|88))"],FR:["33","00","[1-9]\\d{8}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0 $1"],["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["[1-79]"],"0$1"]],"0"],GA:["241","00","(?:[067]\\d|11)\\d{6}|[2-7]\\d{6}",[7,8],[["(\\d)(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-7]"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["0"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["11|[67]"],"0$1"]],0,0,"0(11\\d{6}|60\\d{6}|61\\d{6}|6[256]\\d{6}|7[467]\\d{6})","$1"],GB:["44","00","[1-357-9]\\d{9}|[18]\\d{8}|8\\d{6}",[7,9,10],[["(\\d{3})(\\d{4})","$1 $2",["800","8001","80011","800111","8001111"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["845","8454","84546","845464"],"0$1"],["(\\d{3})(\\d{6})","$1 $2",["800"],"0$1"],["(\\d{5})(\\d{4,5})","$1 $2",["1(?:38|5[23]|69|76|94)","1(?:(?:38|69)7|5(?:24|39)|768|946)","1(?:3873|5(?:242|39[4-6])|(?:697|768)[347]|9467)"],"0$1"],["(\\d{4})(\\d{5,6})","$1 $2",["1(?:[2-69][02-9]|[78])"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["[25]|7(?:0|6[02-9])","[25]|7(?:0|6(?:[03-9]|2[356]))"],"0$1"],["(\\d{4})(\\d{6})","$1 $2",["7"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[1389]"],"0$1"]],"0",0,0,0,0,0,[["(?:1(?:1(?:3(?:[0-58]\\d\\d|73[0-35])|4(?:(?:[0-5]\\d|70)\\d|69[7-9])|(?:(?:5[0-26-9]|[78][0-49])\\d|6(?:[0-4]\\d|50))\\d)|(?:2(?:(?:0[024-9]|2[3-9]|3[3-79]|4[1-689]|[58][02-9]|6[0-47-9]|7[013-9]|9\\d)\\d|1(?:[0-7]\\d|8[0-3]))|(?:3(?:0\\d|1[0-8]|[25][02-9]|3[02-579]|[468][0-46-9]|7[1-35-79]|9[2-578])|4(?:0[03-9]|[137]\\d|[28][02-57-9]|4[02-69]|5[0-8]|[69][0-79])|5(?:0[1-35-9]|[16]\\d|2[024-9]|3[015689]|4[02-9]|5[03-9]|7[0-35-9]|8[0-468]|9[0-57-9])|6(?:0[034689]|1\\d|2[0-35689]|[38][013-9]|4[1-467]|5[0-69]|6[13-9]|7[0-8]|9[0-24578])|7(?:0[0246-9]|2\\d|3[0236-8]|4[03-9]|5[0-46-9]|6[013-9]|7[0-35-9]|8[024-9]|9[02-9])|8(?:0[35-9]|2[1-57-9]|3[02-578]|4[0-578]|5[124-9]|6[2-69]|7\\d|8[02-9]|9[02569])|9(?:0[02-589]|[18]\\d|2[02-689]|3[1-57-9]|4[2-9]|5[0-579]|6[2-47-9]|7[0-24578]|9[2-57]))\\d)\\d)|2(?:0[013478]|3[0189]|4[017]|8[0-46-9]|9[0-2])\\d{3})\\d{4}|1(?:2(?:0(?:46[1-4]|87[2-9])|545[1-79]|76(?:2\\d|3[1-8]|6[1-6])|9(?:7(?:2[0-4]|3[2-5])|8(?:2[2-8]|7[0-47-9]|8[3-5])))|3(?:6(?:38[2-5]|47[23])|8(?:47[04-9]|64[0157-9]))|4(?:044[1-7]|20(?:2[23]|8\\d)|6(?:0(?:30|5[2-57]|6[1-8]|7[2-8])|140)|8(?:052|87[1-3]))|5(?:2(?:4(?:3[2-79]|6\\d)|76\\d)|6(?:26[06-9]|686))|6(?:06(?:4\\d|7[4-79])|295[5-7]|35[34]\\d|47(?:24|61)|59(?:5[08]|6[67]|74)|9(?:55[0-4]|77[23]))|7(?:26(?:6[13-9]|7[0-7])|(?:442|688)\\d|50(?:2[0-3]|[3-68]2|76))|8(?:27[56]\\d|37(?:5[2-5]|8[239])|843[2-58])|9(?:0(?:0(?:6[1-8]|85)|52\\d)|3583|4(?:66[1-8]|9(?:2[01]|81))|63(?:23|3[1-4])|9561))\\d{3}",[9,10]],["7(?:457[0-57-9]|700[01]|911[028])\\d{5}|7(?:[1-3]\\d\\d|4(?:[0-46-9]\\d|5[0-689])|5(?:0[0-8]|[13-9]\\d|2[0-35-9])|7(?:0[1-9]|[1-7]\\d|8[02-9]|9[0-689])|8(?:[014-9]\\d|[23][0-8])|9(?:[024-9]\\d|1[02-9]|3[0-689]))\\d{6}",[10]],["80[08]\\d{7}|800\\d{6}|8001111"],["(?:8(?:4[2-5]|7[0-3])|9(?:[01]\\d|8[2-49]))\\d{7}|845464\\d",[7,10]],["70\\d{8}",[10]],0,["(?:3[0347]|55)\\d{8}",[10]],["76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}",[10]],["56\\d{8}",[10]]],0," x"],GD:["1","011","(?:473|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","473$1",0,"473"],GE:["995","00","(?:[3-57]\\d\\d|800)\\d{6}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["70"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["32"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[57]"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[348]"],"0$1"]],"0"],GF:["594","00","(?:[56]94\\d|7093)\\d{5}|(?:80|9\\d)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-7]|9[47]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[89]"],"0$1"]],"0"],GG:["44","00","(?:1481|[357-9]\\d{3})\\d{6}|8\\d{6}(?:\\d{2})?",[7,9,10],0,"0",0,"([25-9]\\d{5})$|0","1481$1",0,0,[["1481[25-9]\\d{5}",[10]],["7(?:(?:781|839)\\d|911[17])\\d{5}",[10]],["80[08]\\d{7}|800\\d{6}|8001111"],["(?:8(?:4[2-5]|7[0-3])|9(?:[01]\\d|8[0-3]))\\d{7}|845464\\d",[7,10]],["70\\d{8}",[10]],0,["(?:3[0347]|55)\\d{8}",[10]],["76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}",[10]],["56\\d{8}",[10]]]],GH:["233","00","(?:[235]\\d{3}|800)\\d{5}",[8,9],[["(\\d{3})(\\d{5})","$1 $2",["8"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[235]"],"0$1"]],"0"],GI:["350","00","(?:[25]\\d|60)\\d{6}",[8],[["(\\d{3})(\\d{5})","$1 $2",["2"]]]],GL:["299","00","(?:19|[2-689]\\d|70)\\d{4}",[6],[["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["19|[2-9]"]]]],GM:["220","00","[2-9]\\d{6}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[2-9]"]]]],GN:["224","00","722\\d{6}|(?:3|6\\d)\\d{7}",[8,9],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["3"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[67]"]]]],GP:["590","00","(?:590\\d|7090)\\d{5}|(?:69|80|9\\d)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-79]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0$1"]],"0",0,0,0,0,0,[["590(?:0[1-68]|[14][0-24-9]|2[0-68]|3[1-9]|5[3-579]|[68][0-689]|7[08]|9\\d)\\d{4}"],["(?:69(?:0\\d\\d|1(?:2[2-9]|3[0-5])|4(?:0[89]|1[2-6]|9\\d)|6(?:1[016-9]|5[0-4]|[67]\\d))|7090[0-4])\\d{4}"],["80[0-5]\\d{6}"],0,0,0,0,0,["9(?:(?:39[5-7]|76[018])\\d|475[0-6])\\d{4}"]]],GQ:["240","00","222\\d{6}|(?:3\\d|55|[89]0)\\d{7}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[235]"]],["(\\d{3})(\\d{6})","$1 $2",["[89]"]]]],GR:["30","00","5005000\\d{3}|8\\d{9,11}|(?:[269]\\d|70)\\d{8}",[10,11,12],[["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["21|7"]],["(\\d{4})(\\d{6})","$1 $2",["2(?:2|3[2-57-9]|4[2-469]|5[2-59]|6[2-9]|7[2-69]|8[2-49])|5"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[2689]"]],["(\\d{3})(\\d{3,4})(\\d{5})","$1 $2 $3",["8"]]]],GT:["502","00","80\\d{6}|(?:1\\d{3}|[2-7])\\d{7}",[8,11],[["(\\d{4})(\\d{4})","$1 $2",["[2-8]"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]]]],GU:["1","011","(?:[58]\\d\\d|671|900)\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","671$1",0,"671"],GW:["245","00","[49]\\d{8}|4\\d{6}",[7,9],[["(\\d{3})(\\d{4})","$1 $2",["40"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[49]"]]]],GY:["592","001","(?:[2-8]\\d{3}|9008)\\d{3}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[2-9]"]]]],HK:["852","00(?:30|5[09]|[126-9]?)","8[0-46-9]\\d{6,7}|9\\d{4,7}|(?:[2-7]|9\\d{3})\\d{7}",[5,6,7,8,9,11],[["(\\d{3})(\\d{2,5})","$1 $2",["900","9003"]],["(\\d{4})(\\d{4})","$1 $2",["[2-7]|8[1-4]|9(?:0[1-9]|[1-8])"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"]],["(\\d{3})(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3 $4",["9"]]],0,0,0,0,0,0,0,"00"],HN:["504","00","8\\d{10}|[237-9]\\d{7}",[8,11],[["(\\d{4})(\\d{4})","$1-$2",["[237-9]"]]]],HR:["385","00","(?:[24-69]\\d|3[0-79])\\d{7}|80\\d{5,7}|[1-79]\\d{7}|6\\d{5,6}",[6,7,8,9],[["(\\d{2})(\\d{2})(\\d{2,3})","$1 $2 $3",["6[01]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2,3})","$1 $2 $3",["8"],"0$1"],["(\\d)(\\d{4})(\\d{3})","$1 $2 $3",["1"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["6|7[245]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["9"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-57]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"],"0$1"]],"0"],HT:["509","00","(?:[2-489]\\d|55)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["[2-589]"]]]],HU:["36","00","[235-7]\\d{8}|[1-9]\\d{7}",[8,9],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["1"],"(06 $1)"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[27][2-9]|3[2-7]|4[24-9]|5[2-79]|6|8[2-57-9]|9[2-69]"],"(06 $1)"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-9]"],"06 $1"]],"06"],ID:["62","00[89]","00[1-9]\\d{9,14}|(?:[1-36]|8\\d{5})\\d{6}|00\\d{9}|[1-9]\\d{8,10}|[2-9]\\d{7}",[7,8,9,10,11,12,13,14,15,16,17],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["15"]],["(\\d{2})(\\d{5,9})","$1 $2",["2[124]|[36]1"],"(0$1)"],["(\\d{3})(\\d{5,7})","$1 $2",["800"],"0$1"],["(\\d{3})(\\d{5,8})","$1 $2",["[2-79]"],"(0$1)"],["(\\d{3})(\\d{3,4})(\\d{3})","$1-$2-$3",["8[1-35-9]"],"0$1"],["(\\d{3})(\\d{6,8})","$1 $2",["1"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["804"],"0$1"],["(\\d{3})(\\d)(\\d{3})(\\d{3})","$1 $2 $3 $4",["80"],"0$1"],["(\\d{3})(\\d{4})(\\d{4,5})","$1-$2-$3",["8"],"0$1"]],"0"],IE:["353","00","(?:1\\d|[2569])\\d{6,8}|4\\d{6,9}|7\\d{8}|8\\d{8,9}",[7,8,9,10],[["(\\d{2})(\\d{5})","$1 $2",["2[24-9]|47|58|6[237-9]|9[35-9]"],"(0$1)"],["(\\d{3})(\\d{5})","$1 $2",["[45]0"],"(0$1)"],["(\\d)(\\d{3,4})(\\d{4})","$1 $2 $3",["1"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2569]|4[1-69]|7[14]"],"(0$1)"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["70"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["81"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[78]"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["4"],"(0$1)"],["(\\d{2})(\\d)(\\d{3})(\\d{4})","$1 $2 $3 $4",["8"],"0$1"]],"0"],IL:["972","0(?:0|1[2-9])","1\\d{6}(?:\\d{3,5})?|[57]\\d{8}|[1-489]\\d{7}",[7,8,9,10,11,12],[["(\\d{4})(\\d{3})","$1-$2",["125"]],["(\\d{4})(\\d{2})(\\d{2})","$1-$2-$3",["121"]],["(\\d)(\\d{3})(\\d{4})","$1-$2-$3",["[2-489]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["[57]"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1-$2-$3",["12"]],["(\\d{4})(\\d{6})","$1-$2",["159"]],["(\\d)(\\d{3})(\\d{3})(\\d{3})","$1-$2-$3-$4",["1[7-9]"]],["(\\d{3})(\\d{1,2})(\\d{3})(\\d{4})","$1-$2 $3-$4",["15"]]],"0"],IM:["44","00","1624\\d{6}|(?:[3578]\\d|90)\\d{8}",[10],0,"0",0,"([25-8]\\d{5})$|0","1624$1",0,"74576|(?:16|7[56])24"],IN:["91","00","(?:000800|[2-9]\\d\\d)\\d{7}|1\\d{7,12}",[8,9,10,11,12,13],[["(\\d{8})","$1",["5(?:0|2[23]|3[03]|[67]1|88)","5(?:0|2(?:21|3)|3(?:0|3[23])|616|717|888)","5(?:0|2(?:21|3)|3(?:0|3[23])|616|717|8888)"],0,1],["(\\d{4})(\\d{4,5})","$1 $2",["180","1800"],0,1],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["140"],0,1],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["11|2[02]|33|4[04]|79[1-7]|80[2-46]","11|2[02]|33|4[04]|79(?:[1-6]|7[19])|80(?:[2-4]|6[0-589])","11|2[02]|33|4[04]|79(?:[124-6]|3(?:[02-9]|1[0-24-9])|7(?:1|9[1-6]))|80(?:[2-4]|6[0-589])"],"0$1",1],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["1(?:2[0-249]|3[0-25]|4[145]|[68]|7[1257])|2(?:1[257]|3[013]|4[01]|5[0137]|6[0158]|78|8[1568])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|5[12]|[78]1)|6(?:12|[2-4]1|5[17]|6[13]|80)|7(?:12|3[134]|4[47]|61|88)|8(?:16|2[014]|3[126]|6[136]|7[078]|8[34]|91)|(?:43|59|75)[15]|(?:1[59]|29|67|72)[14]","1(?:2[0-24]|3[0-25]|4[145]|[59][14]|6[1-9]|7[1257]|8[1-57-9])|2(?:1[257]|3[013]|4[01]|5[0137]|6[058]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|674|7(?:(?:2[14]|3[34]|5[15])[2-6]|61[346]|88[0-8])|8(?:70[2-6]|84[235-7]|91[3-7])|(?:1(?:29|60|8[06])|261|552|6(?:12|[2-47]1|5[17]|6[13]|80)|7(?:12|31|4[47])|8(?:16|2[014]|3[126]|6[136]|7[78]|83))[2-7]","1(?:2[0-24]|3[0-25]|4[145]|[59][14]|6[1-9]|7[1257]|8[1-57-9])|2(?:1[257]|3[013]|4[01]|5[0137]|6[058]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|6(?:12(?:[2-6]|7[0-8])|74[2-7])|7(?:(?:2[14]|5[15])[2-6]|3171|61[346]|88(?:[2-7]|82))|8(?:70[2-6]|84(?:[2356]|7[19])|91(?:[3-6]|7[19]))|73[134][2-6]|(?:74[47]|8(?:16|2[014]|3[126]|6[136]|7[78]|83))(?:[2-6]|7[19])|(?:1(?:29|60|8[06])|261|552|6(?:[2-4]1|5[17]|6[13]|7(?:1|4[0189])|80)|7(?:12|88[01]))[2-7]"],"0$1",1],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1(?:[2-479]|5[0235-9])|[2-5]|6(?:1[1358]|2[2457-9]|3[2-5]|4[235-7]|5[2-689]|6[24578]|7[235689]|8[1-6])|7(?:1[013-9]|28|3[129]|4[1-35689]|5[29]|6[02-5]|70)|807","1(?:[2-479]|5[0235-9])|[2-5]|6(?:1[1358]|2(?:[2457]|84|95)|3(?:[2-4]|55)|4[235-7]|5[2-689]|6[24578]|7[235689]|8[1-6])|7(?:1(?:[013-8]|9[6-9])|28[6-8]|3(?:17|2[0-49]|9[2-57])|4(?:1[2-4]|[29][0-7]|3[0-8]|[56]|8[0-24-7])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4|5[0-367])|70[13-7])|807[19]","1(?:[2-479]|5(?:[0236-9]|5[013-9]))|[2-5]|6(?:2(?:84|95)|355|83)|73179|807(?:1|9[1-3])|(?:1552|6(?:1[1358]|2[2457]|3[2-4]|4[235-7]|5[2-689]|6[24578]|7[235689]|8[124-6])\\d|7(?:1(?:[013-8]\\d|9[6-9])|28[6-8]|3(?:2[0-49]|9[2-57])|4(?:1[2-4]|[29][0-7]|3[0-8]|[56]\\d|8[0-24-7])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4\\d|5[0-367])|70[13-7]))[2-7]"],"0$1",1],["(\\d{5})(\\d{5})","$1 $2",["[6-9]"],"0$1",1],["(\\d{4})(\\d{2,4})(\\d{4})","$1 $2 $3",["1(?:6|8[06])","1(?:6|8[06]0)"],0,1],["(\\d{4})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["18"],0,1]],"0"],IO:["246","00","3\\d{6}",[7],[["(\\d{3})(\\d{4})","$1 $2",["3"]]]],IQ:["964","00","(?:1|7\\d\\d)\\d{7}|[2-6]\\d{7,8}",[8,9,10],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-6]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"0$1"]],"0"],IR:["98","00","[1-9]\\d{9}|(?:[1-8]\\d\\d|9)\\d{3,4}",[4,5,6,7,10],[["(\\d{4,5})","$1",["96"],"0$1"],["(\\d{2})(\\d{4,5})","$1 $2",["(?:1[137]|2[13-68]|3[1458]|4[145]|5[1468]|6[16]|7[1467]|8[13467])[12689]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["9"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["[1-8]"],"0$1"]],"0"],IS:["354","00|1(?:0(?:01|[12]0)|100)","(?:38\\d|[4-9])\\d{6}",[7,9],[["(\\d{3})(\\d{4})","$1 $2",["[4-9]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["3"]]],0,0,0,0,0,0,0,"00"],IT:["39","00","0\\d{5,10}|1\\d{8,10}|3(?:[0-8]\\d{7,10}|9\\d{7,8})|(?:43|55|70)\\d{8}|8\\d{5}(?:\\d{2,4})?",[6,7,8,9,10,11,12],[["(\\d{2})(\\d{4,6})","$1 $2",["0[26]"]],["(\\d{3})(\\d{3,6})","$1 $2",["0[13-57-9][0159]|8(?:03|4[17]|9[2-5])","0[13-57-9][0159]|8(?:03|4[17]|9(?:2|3[04]|[45][0-4]))"]],["(\\d{4})(\\d{2,6})","$1 $2",["0(?:[13-579][2-46-8]|8[236-8])"]],["(\\d{4})(\\d{4})","$1 $2",["894"]],["(\\d{2})(\\d{3,4})(\\d{4})","$1 $2 $3",["0[26]|5"]],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["1(?:44|[679])|[378]|43"]],["(\\d{3})(\\d{3,4})(\\d{4})","$1 $2 $3",["0[13-57-9][0159]|14"]],["(\\d{2})(\\d{4})(\\d{5})","$1 $2 $3",["0[26]"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["0"]],["(\\d{3})(\\d{4})(\\d{4,5})","$1 $2 $3",["3"]]],0,0,0,0,0,0,[["0669[0-79]\\d{1,6}|0(?:1(?:[0159]\\d|[27][1-5]|31|4[1-4]|6[1356]|8[2-57])|2\\d\\d|3(?:[0159]\\d|2[1-4]|3[12]|[48][1-6]|6[2-59]|7[1-7])|4(?:[0159]\\d|[23][1-9]|4[245]|6[1-5]|7[1-4]|81)|5(?:[0159]\\d|2[1-5]|3[2-6]|4[1-79]|6[4-6]|7[1-578]|8[3-8])|6(?:[0-57-9]\\d|6[0-8])|7(?:[0159]\\d|2[12]|3[1-7]|4[2-46]|6[13569]|7[13-6]|8[1-59])|8(?:[0159]\\d|2[3-578]|3[1-356]|[6-8][1-5])|9(?:[0159]\\d|[238][1-5]|4[12]|6[1-8]|7[1-6]))\\d{2,7}",[6,7,8,9,10,11]],["3[2-9]\\d{7,8}|(?:31|43)\\d{8}",[9,10]],["80(?:0\\d{3}|3)\\d{3}",[6,9]],["(?:0878\\d{3}|89(?:2\\d|3[04]|4(?:[0-4]|[5-9]\\d\\d)|5[0-4]))\\d\\d|(?:1(?:44|6[346])|89(?:38|5[5-9]|9))\\d{6}",[6,8,9,10]],["1(?:78\\d|99)\\d{6}",[9,10]],["3[2-8]\\d{9,10}",[11,12]],0,0,["55\\d{8}",[10]],["84(?:[08]\\d{3}|[17])\\d{3}",[6,9]]]],JE:["44","00","1534\\d{6}|(?:[3578]\\d|90)\\d{8}",[10],0,"0",0,"([0-24-8]\\d{5})$|0","1534$1",0,0,[["1534[0-24-8]\\d{5}"],["7(?:(?:(?:50|82)9|937)\\d|7(?:00[378]|97\\d))\\d{5}"],["80(?:07(?:35|81)|8901)\\d{4}"],["(?:8(?:4(?:4(?:4(?:05|42|69)|703)|5(?:041|800))|7(?:0002|1206))|90(?:066[59]|1810|71(?:07|55)))\\d{4}"],["701511\\d{4}"],0,["(?:3(?:0(?:07(?:35|81)|8901)|3\\d{4}|4(?:4(?:4(?:05|42|69)|703)|5(?:041|800))|7(?:0002|1206))|55\\d{4})\\d{4}"],["76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}"],["56\\d{8}"]]],JM:["1","011","(?:[58]\\d\\d|658|900)\\d{7}",[10],0,"1",0,0,0,0,"658|876"],JO:["962","00","(?:(?:[2689]|7\\d)\\d|32|53)\\d{6}",[8,9],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[2356]|87"],"(0$1)"],["(\\d{3})(\\d{5,6})","$1 $2",["[89]"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["70"],"0$1"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["7"],"0$1"]],"0"],JP:["81","010","00[1-9]\\d{6,14}|[257-9]\\d{9}|(?:00|[1-9]\\d\\d)\\d{6}",[8,9,10,11,12,13,14,15,16,17],[["(\\d{3})(\\d{3})(\\d{3})","$1-$2-$3",["(?:12|57|99)0"],"0$1"],["(\\d{4})(\\d)(\\d{4})","$1-$2-$3",["1(?:26|3[79]|4[56]|5[4-68]|6[3-5])|499|5(?:76|97)|746|8(?:3[89]|47|51)|9(?:80|9[16])","1(?:267|3(?:7[247]|9[278])|466|5(?:47|58|64)|6(?:3[245]|48|5[4-68]))|499[2468]|5(?:76|97)9|7468|8(?:3(?:8[7-9]|96)|477|51[2-9])|9(?:802|9(?:1[23]|69))|1(?:45|58)[67]","1(?:267|3(?:7[247]|9[278])|466|5(?:47|58|64)|6(?:3[245]|48|5[4-68]))|499[2468]|5(?:769|979[2-69])|7468|8(?:3(?:8[7-9]|96[2457-9])|477|51[2-9])|9(?:802|9(?:1[23]|69))|1(?:45|58)[67]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["60"],"0$1"],["(\\d)(\\d{4})(\\d{4})","$1-$2-$3",["[36]|4(?:2[09]|7[01])","[36]|4(?:2(?:0|9[02-69])|7(?:0[019]|1))"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["1(?:1|5[45]|77|88|9[69])|2(?:2[1-37]|3[0-269]|4[59]|5|6[24]|7[1-358]|8[1369]|9[0-38])|4(?:[28][1-9]|3[0-57]|[45]|6[248]|7[2-579]|9[29])|5(?:2|3[0459]|4[0-369]|5[29]|8[02389]|9[0-389])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9[2-6])|8(?:2[124589]|3[26-9]|49|51|6|7[0-468]|8[68]|9[019])|9(?:[23][1-9]|4[15]|5[138]|6[1-3]|7[156]|8[189]|9[1-489])","1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2(?:[127]|3[014-9])|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|9[19])|62|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|8[1-9]|9[29])|5(?:2|3(?:[045]|9[0-8])|4[0-369]|5[29]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9[0-2469])|3(?:[29]|60)|49|51|6(?:[0-24]|36|5[0-3589]|7[23]|9[01459])|7[0-468]|8[68])|9(?:[23][1-9]|4[15]|5[138]|6[1-3]|7[156]|8[189]|9(?:[1289]|3[34]|4[0178]))|(?:264|837)[016-9]|2(?:57|93)[015-9]|(?:25[0468]|422|838)[01]|(?:47[59]|59[89]|8(?:6[68]|9))[019]","1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2[127]|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|9(?:17|99))|6(?:2|4[016-9])|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|9[29])|5(?:2|3(?:[045]|9(?:[0-58]|6[4-9]|7[0-35689]))|4[0-369]|5[29]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9[0169])|3(?:[29]|60|7(?:[017-9]|6[6-8]))|49|51|6(?:[0-24]|36[2-57-9]|5(?:[0-389]|5[23])|6(?:[01]|9[178])|7(?:2[2-468]|3[78])|9[0145])|7[0-468]|8[68])|9(?:4[15]|5[138]|7[156]|8[189]|9(?:[1289]|3(?:31|4[357])|4[0178]))|(?:8294|96)[1-3]|2(?:57|93)[015-9]|(?:223|8699)[014-9]|(?:25[0468]|422|838)[01]|(?:48|8292|9[23])[1-9]|(?:47[59]|59[89]|8(?:68|9))[019]"],"0$1"],["(\\d{3})(\\d{2})(\\d{4})","$1-$2-$3",["[14]|[289][2-9]|5[3-9]|7[2-4679]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["800"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1-$2-$3",["[257-9]"],"0$1"]],"0",0,"(000[259]\\d{6})$|(?:(?:003768)0?)|0","$1"],KE:["254","000","(?:[17]\\d\\d|900)\\d{6}|(?:2|80)0\\d{6,7}|[4-6]\\d{6,8}",[7,8,9,10],[["(\\d{2})(\\d{5,7})","$1 $2",["[24-6]"],"0$1"],["(\\d{3})(\\d{6})","$1 $2",["[17]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["[89]"],"0$1"]],"0"],KG:["996","00","8\\d{9}|[235-9]\\d{8}",[9,10],[["(\\d{4})(\\d{5})","$1 $2",["3(?:1[346]|[24-79])"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[235-79]|88"],"0$1"],["(\\d{3})(\\d{3})(\\d)(\\d{2,3})","$1 $2 $3 $4",["8"],"0$1"]],"0"],KH:["855","00[14-9]","1\\d{9}|[1-9]\\d{7,8}",[8,9,10],[["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[1-9]"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]]],"0"],KI:["686","00","(?:[37]\\d|6[0-79])\\d{6}|(?:[2-48]\\d|50)\\d{3}",[5,8],0,"0"],KM:["269","00","[3478]\\d{6}",[7],[["(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["[3478]"]]]],KN:["1","011","(?:[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-7]\\d{6})$|1","869$1",0,"869"],KP:["850","00|99","85\\d{6}|(?:19\\d|[2-7])\\d{7}",[8,10],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["8"],"0$1"],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[2-7]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"]],"0"],KR:["82","00(?:[125689]|3(?:[46]5|91)|7(?:00|27|3|55|6[126]))","00[1-9]\\d{8,11}|(?:[12]|5\\d{3})\\d{7}|[13-6]\\d{9}|(?:[1-6]\\d|80)\\d{7}|[3-6]\\d{4,5}|(?:00|7)0\\d{8}",[5,6,8,9,10,11,12,13,14],[["(\\d{2})(\\d{3,4})","$1-$2",["(?:3[1-3]|[46][1-4]|5[1-5])1"],"0$1"],["(\\d{4})(\\d{4})","$1-$2",["1"]],["(\\d)(\\d{3,4})(\\d{4})","$1-$2-$3",["2"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["[36]0|8"],"0$1"],["(\\d{2})(\\d{3,4})(\\d{4})","$1-$2-$3",["[1346]|5[1-5]"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1-$2-$3",["[57]"],"0$1"],["(\\d{2})(\\d{5})(\\d{4})","$1-$2-$3",["5"],"0$1"]],"0",0,"0(8(?:[1-46-8]|5\\d\\d))?"],KW:["965","00","18\\d{5}|(?:[2569]\\d|41)\\d{6}",[7,8],[["(\\d{4})(\\d{3,4})","$1 $2",["[169]|2(?:[235]|4[1-35-9])|52"]],["(\\d{3})(\\d{5})","$1 $2",["[245]"]]]],KY:["1","011","(?:345|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","345$1",0,"345"],KZ:["7","810","(?:33622|8\\d{8})\\d{5}|[78]\\d{9}",[10,14],0,"8",0,0,0,0,"33|7",0,"8~10"],LA:["856","00","[23]\\d{9}|3\\d{8}|(?:[235-8]\\d|41)\\d{6}",[8,9,10],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["2[13]|3[14]|[4-8]"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3 $4",["30[0135-9]"],"0$1"],["(\\d{2})(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3 $4",["[23]"],"0$1"]],"0"],LB:["961","00","[27-9]\\d{7}|[13-9]\\d{6}",[7,8],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[13-69]|7(?:[2-57]|62|8[0-7]|9[04-9])|8[02-9]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[27-9]"]]],"0"],LC:["1","011","(?:[58]\\d\\d|758|900)\\d{7}",[10],0,"1",0,"([2-8]\\d{6})$|1","758$1",0,"758"],LI:["423","00","[68]\\d{8}|(?:[2378]\\d|90)\\d{5}",[7,9],[["(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["[2379]|8(?:0[09]|7)","[2379]|8(?:0(?:02|9)|7)"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["69"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6"]]],"0",0,"(1001)|0"],LK:["94","00","[1-9]\\d{8}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[1-689]"],"0$1"]],"0"],LR:["231","00","(?:[245]\\d|33|77|88)\\d{7}|(?:2\\d|[4-6])\\d{6}",[7,8,9],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["4[67]|[56]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["2"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[2-578]"],"0$1"]],"0"],LS:["266","00","(?:[256]\\d\\d|800)\\d{5}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[2568]"]]]],LT:["370","00","(?:[3469]\\d|52|[78]0)\\d{6}",[8],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["52[0-7]"],"(0-$1)",1],["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["[7-9]"],"0 $1",1],["(\\d{2})(\\d{6})","$1 $2",["37|4(?:[15]|6[1-8])"],"(0-$1)",1],["(\\d{3})(\\d{5})","$1 $2",["[3-6]"],"(0-$1)",1]],"0",0,"[08]"],LU:["352","00","35[013-9]\\d{4,8}|6\\d{8}|35\\d{2,4}|(?:[2457-9]\\d|3[0-46-9])\\d{2,9}",[4,5,6,7,8,9,10,11],[["(\\d{2})(\\d{3})","$1 $2",["2(?:0[2-689]|[2-9])|[3-57]|8(?:0[2-9]|[13-9])|9(?:0[89]|[2-579])"]],["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["2(?:0[2-689]|[2-9])|[3-57]|8(?:0[2-9]|[13-9])|9(?:0[89]|[2-579])"]],["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["20[2-689]"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{1,2})","$1 $2 $3 $4",["2(?:[0367]|4[3-8])"]],["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["80[01]|90[015]"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3 $4",["20"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})(\\d{1,2})","$1 $2 $3 $4 $5",["2(?:[0367]|4[3-8])"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{1,5})","$1 $2 $3 $4",["[3-57]|8[13-9]|9(?:0[89]|[2-579])|(?:2|80)[2-9]"]]],0,0,"(15(?:0[06]|1[12]|[35]5|4[04]|6[26]|77|88|99)\\d)"],LV:["371","00","(?:[268]\\d|90)\\d{6}",[8],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[269]|8[01]"]]]],LY:["218","00","[2-9]\\d{8}",[9],[["(\\d{2})(\\d{7})","$1-$2",["[2-9]"],"0$1"]],"0"],MA:["212","00","[5-8]\\d{8}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["5[45]"],"0$1"],["(\\d{4})(\\d{5})","$1-$2",["5(?:2[2-46-9]|3[3-9]|9)|8(?:0[89]|92)"],"0$1"],["(\\d{2})(\\d{7})","$1-$2",["8"],"0$1"],["(\\d{3})(\\d{6})","$1-$2",["[5-7]"],"0$1"]],"0",0,0,0,0,0,[["5(?:2(?:[0-25-79]\\d|3[1-578]|4[02-46-8]|8[0235-7])|3(?:[0-47]\\d|5[02-9]|6[02-8]|8[014-9]|9[3-9])|(?:4[067]|5[03])\\d)\\d{5}"],["(?:6(?:[0-79]\\d|8[0-247-9])|7(?:[0167]\\d|2[0-467]|5[0-3]|8[0-5]))\\d{6}"],["80[0-7]\\d{6}"],["89\\d{7}"],0,0,0,0,["(?:592(?:4[0-2]|93)|80[89]\\d\\d)\\d{4}"]]],MC:["377","00","(?:[3489]|6\\d)\\d{7}",[8,9],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["4"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[389]"]],["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["6"],"0$1"]],"0"],MD:["373","00","(?:[235-7]\\d|[89]0)\\d{6}",[8],[["(\\d{3})(\\d{5})","$1 $2",["[89]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["22|3"],"0$1"],["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["[25-7]"],"0$1"]],"0"],ME:["382","00","(?:20|[3-79]\\d)\\d{6}|80\\d{6,7}",[8,9],[["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-9]"],"0$1"]],"0"],MF:["590","00","(?:590\\d|7090)\\d{5}|(?:69|80|9\\d)\\d{7}",[9],0,"0",0,0,0,0,0,[["590(?:0[079]|[14]3|[27][79]|3[03-7]|5[0-268]|87)\\d{4}"],["(?:69(?:0\\d\\d|1(?:2[2-9]|3[0-5])|4(?:0[89]|1[2-6]|9\\d)|6(?:1[016-9]|5[0-4]|[67]\\d))|7090[0-4])\\d{4}"],["80[0-5]\\d{6}"],0,0,0,0,0,["9(?:(?:39[5-7]|76[018])\\d|475[0-6])\\d{4}"]]],MG:["261","00","[23]\\d{8}",[9],[["(\\d{2})(\\d{2})(\\d{3})(\\d{2})","$1 $2 $3 $4",["[23]"],"0$1"]],"0",0,"([24-9]\\d{6})$|0","20$1"],MH:["692","011","329\\d{4}|(?:[256]\\d|45)\\d{5}",[7],[["(\\d{3})(\\d{4})","$1-$2",["[2-6]"]]],"1"],MK:["389","00","[2-578]\\d{7}",[8],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["2|34[47]|4(?:[37]7|5[47]|64)"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[347]"],"0$1"],["(\\d{3})(\\d)(\\d{2})(\\d{2})","$1 $2 $3 $4",["[58]"],"0$1"]],"0"],ML:["223","00","[24-9]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[24-9]"]]]],MM:["95","00","1\\d{5,7}|95\\d{6}|(?:[4-7]|9[0-46-9])\\d{6,8}|(?:2|8\\d)\\d{5,8}",[6,7,8,9,10],[["(\\d)(\\d{2})(\\d{3})","$1 $2 $3",["16|2"],"0$1"],["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["4(?:[2-46]|5[3-5])|5|6(?:[1-689]|7[235-7])|7(?:[0-4]|5[2-7])|8[1-5]|(?:60|86)[23]"],"0$1"],["(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["[12]|452|678|86","[12]|452|6788|86"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[4-7]|8[1-35]"],"0$1"],["(\\d)(\\d{3})(\\d{4,6})","$1 $2 $3",["9(?:2[0-4]|[35-9]|4[137-9])"],"0$1"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["2"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"],"0$1"],["(\\d)(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["92"],"0$1"],["(\\d)(\\d{5})(\\d{4})","$1 $2 $3",["9"],"0$1"]],"0"],MN:["976","001","[12]\\d{7,9}|[5-9]\\d{7}",[8,9,10],[["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["[12]1"],"0$1"],["(\\d{4})(\\d{4})","$1 $2",["[5-9]"]],["(\\d{3})(\\d{5,6})","$1 $2",["[12]2[1-3]"],"0$1"],["(\\d{4})(\\d{5,6})","$1 $2",["[12](?:27|3[2-8]|4[2-68]|5[1-4689])","[12](?:27|3[2-8]|4[2-68]|5[1-4689])[0-3]"],"0$1"],["(\\d{5})(\\d{4,5})","$1 $2",["[12]"],"0$1"]],"0"],MO:["853","00","0800\\d{3}|(?:28|[68]\\d)\\d{6}",[7,8],[["(\\d{4})(\\d{3})","$1 $2",["0"]],["(\\d{4})(\\d{4})","$1 $2",["[268]"]]]],MP:["1","011","[58]\\d{9}|(?:67|90)0\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","670$1",0,"670"],MQ:["596","00","(?:596\\d|7091)\\d{5}|(?:69|[89]\\d)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-79]|8(?:0[6-9]|[36])"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0$1"]],"0"],MR:["222","00","(?:[2-4]\\d\\d|800)\\d{5}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-48]"]]]],MS:["1","011","(?:[58]\\d\\d|664|900)\\d{7}",[10],0,"1",0,"([34]\\d{6})$|1","664$1",0,"664"],MT:["356","00","3550\\d{4}|(?:[2579]\\d\\d|800)\\d{5}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[2357-9]"]]]],MU:["230","0(?:0|[24-7]0|3[03])","(?:[57]|8\\d\\d)\\d{7}|[2-468]\\d{6}",[7,8,10],[["(\\d{3})(\\d{4})","$1 $2",["[2-46]|8[013]"]],["(\\d{4})(\\d{4})","$1 $2",["[57]"]],["(\\d{5})(\\d{5})","$1 $2",["8"]]],0,0,0,0,0,0,0,"020"],MV:["960","0(?:0|19)","(?:800|9[0-57-9]\\d)\\d{7}|[34679]\\d{6}",[7,10],[["(\\d{3})(\\d{4})","$1-$2",["[34679]"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[89]"]]],0,0,0,0,0,0,0,"00"],MW:["265","00","(?:[1289]\\d|31|77)\\d{7}|1\\d{6}",[7,9],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["1[2-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["2"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[137-9]"],"0$1"]],"0"],MX:["52","0[09]","[2-9]\\d{9}",[10],[["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["33|5[56]|81"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[2-9]"]]],0,0,0,0,0,0,0,"00"],MY:["60","00","1\\d{8,9}|(?:3\\d|[4-9])\\d{7}",[8,9,10],[["(\\d)(\\d{3})(\\d{4})","$1-$2 $3",["[4-79]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1-$2 $3",["1(?:[02469]|[378][1-9]|53)|8","1(?:[02469]|[37][1-9]|53|8(?:[1-46-9]|5[7-9]))|8"],"0$1"],["(\\d)(\\d{4})(\\d{4})","$1-$2 $3",["3"],"0$1"],["(\\d)(\\d{3})(\\d{2})(\\d{4})","$1-$2-$3-$4",["1(?:[367]|80)"]],["(\\d{3})(\\d{3})(\\d{4})","$1-$2 $3",["15"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1-$2 $3",["1"],"0$1"]],"0"],MZ:["258","00","(?:2|8\\d)\\d{7}",[8,9],[["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["2|8[2-79]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"]]]],NA:["264","00","[68]\\d{7,8}",[8,9],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["88"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["6"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["87"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["8"],"0$1"]],"0"],NC:["687","00","(?:050|[2-57-9]\\d\\d)\\d{3}",[6],[["(\\d{2})(\\d{2})(\\d{2})","$1.$2.$3",["[02-57-9]"]]]],NE:["227","00","[027-9]\\d{7}",[8],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["08"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[089]|2[013]|7[0467]"]]]],NF:["672","00","[13]\\d{5}",[6],[["(\\d{2})(\\d{4})","$1 $2",["1[0-3]"]],["(\\d)(\\d{5})","$1 $2",["[13]"]]],0,0,"([0-258]\\d{4})$","3$1"],NG:["234","009","38\\d{6}|[78]\\d{9,13}|(?:20|9\\d)\\d{8}",[8,10,11,12,13,14],[["(\\d{2})(\\d{3})(\\d{2,3})","$1 $2 $3",["3"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["[7-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["20[129]"],"0$1"],["(\\d{4})(\\d{2})(\\d{4})","$1 $2 $3",["2"],"0$1"],["(\\d{3})(\\d{4})(\\d{4,5})","$1 $2 $3",["[78]"],"0$1"],["(\\d{3})(\\d{5})(\\d{5,6})","$1 $2 $3",["[78]"],"0$1"]],"0"],NI:["505","00","(?:1800|[25-8]\\d{3})\\d{4}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[125-8]"]]]],NL:["31","00","(?:[124-7]\\d\\d|3(?:[02-9]\\d|1[0-8]))\\d{6}|8\\d{6,9}|9\\d{6,10}|1\\d{4,5}",[5,6,7,8,9,10,11],[["(\\d{3})(\\d{4,7})","$1 $2",["[89]0"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["66"],"0$1"],["(\\d)(\\d{8})","$1 $2",["6"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["1[16-8]|2[259]|3[124]|4[17-9]|5[124679]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[1-578]|91"],"0$1"],["(\\d{3})(\\d{3})(\\d{5})","$1 $2 $3",["9"],"0$1"]],"0"],NO:["47","00","(?:0|[2-9]\\d{3})\\d{4}",[5,8],[["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["8"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-79]"]]],0,0,0,0,0,"[02-689]|7[0-8]"],NP:["977","00","(?:1\\d|9)\\d{9}|[1-9]\\d{7}",[8,10,11],[["(\\d)(\\d{7})","$1-$2",["1[2-6]"],"0$1"],["(\\d{2})(\\d{6})","$1-$2",["1[01]|[2-8]|9(?:[1-59]|[67][2-6])"],"0$1"],["(\\d{3})(\\d{7})","$1-$2",["9"]]],"0"],NR:["674","00","(?:444|(?:55|8\\d)\\d|666)\\d{4}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[4-68]"]]]],NU:["683","00","(?:[4-7]|888\\d)\\d{3}",[4,7],[["(\\d{3})(\\d{4})","$1 $2",["8"]]]],NZ:["64","0(?:0|161)","[1289]\\d{9}|50\\d{5}(?:\\d{2,3})?|[27-9]\\d{7,8}|(?:[34]\\d|6[0-35-9])\\d{6}|8\\d{4,6}",[5,6,7,8,9,10],[["(\\d{2})(\\d{3,8})","$1 $2",["8[1-79]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2,3})","$1 $2 $3",["50[036-8]|8|90","50(?:[0367]|88)|8|90"],"0$1"],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["24|[346]|7[2-57-9]|9[2-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["2(?:10|74)|[589]"],"0$1"],["(\\d{2})(\\d{3,4})(\\d{4})","$1 $2 $3",["1|2[028]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,5})","$1 $2 $3",["2(?:[169]|7[0-35-9])|7"],"0$1"]],"0",0,0,0,0,0,0,"00"],OM:["968","00","(?:1505|[279]\\d{3}|500)\\d{4}|800\\d{5,6}",[7,8,9],[["(\\d{3})(\\d{4,6})","$1 $2",["[58]"]],["(\\d{2})(\\d{6})","$1 $2",["2"]],["(\\d{4})(\\d{4})","$1 $2",["[179]"]]]],PA:["507","00","(?:00800|8\\d{3})\\d{6}|[68]\\d{7}|[1-57-9]\\d{6}",[7,8,10,11],[["(\\d{3})(\\d{4})","$1-$2",["[1-57-9]"]],["(\\d{4})(\\d{4})","$1-$2",["[68]"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"]]]],PE:["51","00|19(?:1[124]|77|90)00","(?:[14-8]|9\\d)\\d{7}",[8,9],[["(\\d{3})(\\d{5})","$1 $2",["80"],"(0$1)"],["(\\d)(\\d{7})","$1 $2",["1"],"(0$1)"],["(\\d{2})(\\d{6})","$1 $2",["[4-8]"],"(0$1)"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["9"]]],"0",0,0,0,0,0,0,"00"," Anexo "],PF:["689","00","4\\d{5}(?:\\d{2})?|8\\d{7,8}",[6,8,9],[["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["44"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["4|8[7-9]"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"]]]],PG:["675","00|140[1-3]","(?:180|[78]\\d{3})\\d{4}|(?:[2-589]\\d|64)\\d{5}",[7,8],[["(\\d{3})(\\d{4})","$1 $2",["18|[2-69]|85"]],["(\\d{4})(\\d{4})","$1 $2",["[78]"]]],0,0,0,0,0,0,0,"00"],PH:["63","00","(?:[2-7]|9\\d)\\d{8}|2\\d{5}|(?:1800|8)\\d{7,9}",[6,8,9,10,11,12,13],[["(\\d)(\\d{5})","$1 $2",["2"],"(0$1)"],["(\\d{4})(\\d{4,6})","$1 $2",["3(?:23|39|46)|4(?:2[3-6]|[35]9|4[26]|76)|544|88[245]|(?:52|64|86)2","3(?:230|397|461)|4(?:2(?:35|[46]4|51)|396|4(?:22|63)|59[347]|76[15])|5(?:221|446)|642[23]|8(?:622|8(?:[24]2|5[13]))"],"(0$1)"],["(\\d{5})(\\d{4})","$1 $2",["346|4(?:27|9[35])|883","3469|4(?:279|9(?:30|56))|8834"],"(0$1)"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["2"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[3-7]|8[2-8]"],"(0$1)"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[89]"],"0$1"],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]],["(\\d{4})(\\d{1,2})(\\d{3})(\\d{4})","$1 $2 $3 $4",["1"]]],"0"],PK:["92","00","122\\d{6}|[24-8]\\d{10,11}|9(?:[013-9]\\d{8,10}|2(?:[01]\\d\\d|2(?:[06-8]\\d|1[01]))\\d{7})|(?:[2-8]\\d{3}|92(?:[0-7]\\d|8[1-9]))\\d{6}|[24-9]\\d{8}|[89]\\d{7}",[8,9,10,11,12],[["(\\d{3})(\\d{3})(\\d{2,7})","$1 $2 $3",["[89]0"],"0$1"],["(\\d{4})(\\d{5})","$1 $2",["1"]],["(\\d{3})(\\d{6,7})","$1 $2",["2(?:3[2358]|4[2-4]|9[2-8])|45[3479]|54[2-467]|60[468]|72[236]|8(?:2[2-689]|3[23578]|4[3478]|5[2356])|9(?:2[2-8]|3[27-9]|4[2-6]|6[3569]|9[25-8])","9(?:2[3-8]|98)|(?:2(?:3[2358]|4[2-4]|9[2-8])|45[3479]|54[2-467]|60[468]|72[236]|8(?:2[2-689]|3[23578]|4[3478]|5[2356])|9(?:22|3[27-9]|4[2-6]|6[3569]|9[25-7]))[2-9]"],"(0$1)"],["(\\d{2})(\\d{7,8})","$1 $2",["(?:2[125]|4[0-246-9]|5[1-35-7]|6[1-8]|7[14]|8[16]|91)[2-9]"],"(0$1)"],["(\\d{5})(\\d{5})","$1 $2",["58"],"(0$1)"],["(\\d{3})(\\d{7})","$1 $2",["3"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["2[125]|4[0-246-9]|5[1-35-7]|6[1-8]|7[14]|8[16]|91"],"(0$1)"],["(\\d{3})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["[24-9]"],"(0$1)"]],"0"],PL:["48","00","(?:6|8\\d\\d)\\d{7}|[1-9]\\d{6}(?:\\d{2})?|[26]\\d{5}",[6,7,8,9,10],[["(\\d{5})","$1",["19"]],["(\\d{3})(\\d{3})","$1 $2",["11|20|64"]],["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["(?:1[2-8]|2[2-69]|3[2-4]|4[1-468]|5[24-689]|6[1-3578]|7[14-7]|8[1-79]|9[145])1","(?:1[2-8]|2[2-69]|3[2-4]|4[1-468]|5[24-689]|6[1-3578]|7[14-7]|8[1-79]|9[145])19"]],["(\\d{3})(\\d{2})(\\d{2,3})","$1 $2 $3",["64"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["21|39|45|5[0137]|6[0469]|7[02389]|8(?:0[14]|8)"]],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[2-8]|[2-7]|8[1-79]|9[145]"]],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["8"]]]],PM:["508","00","[45]\\d{5}|(?:708|8\\d\\d)\\d{6}",[6,9],[["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["[45]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["7"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0$1"]],"0"],PR:["1","011","(?:[589]\\d\\d|787)\\d{7}",[10],0,"1",0,0,0,0,"787|939"],PS:["970","00","[2489]2\\d{6}|(?:1\\d|5)\\d{8}",[8,9,10],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[2489]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["5"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]]],"0"],PT:["351","00","1693\\d{5}|(?:[26-9]\\d|30)\\d{7}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["2[12]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["16|[236-9]"]]]],PW:["680","01[12]","(?:[24-8]\\d\\d|345|900)\\d{4}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[2-9]"]]]],PY:["595","00","59\\d{4,6}|9\\d{5,10}|(?:[2-46-8]\\d|5[0-8])\\d{4,7}",[6,7,8,9,10,11],[["(\\d{3})(\\d{3,6})","$1 $2",["[2-9]0"],"0$1"],["(\\d{2})(\\d{5})","$1 $2",["[26]1|3[289]|4[1246-8]|7[1-3]|8[1-36]"],"(0$1)"],["(\\d{3})(\\d{4,5})","$1 $2",["2[279]|3[13-5]|4[359]|5|6(?:[34]|7[1-46-8])|7[46-8]|85"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["2[14-68]|3[26-9]|4[1246-8]|6(?:1|75)|7[1-35]|8[1-36]"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["87"]],["(\\d{3})(\\d{6})","$1 $2",["9(?:[5-79]|8[1-7])"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[2-8]"],"0$1"],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["9"]]],"0"],QA:["974","00","800\\d{4}|(?:2|800)\\d{6}|(?:0080|[3-7])\\d{7}",[7,8,9,11],[["(\\d{3})(\\d{4})","$1 $2",["2[16]|8"]],["(\\d{4})(\\d{4})","$1 $2",["[3-7]"]]]],RE:["262","00","709\\d{6}|(?:26|[689]\\d)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[26-9]"],"0$1"]],"0",0,0,0,0,0,[["26(?:2\\d\\d|3(?:0\\d|1[0-6]))\\d{4}"],["(?:69(?:2\\d\\d|3(?:[06][0-6]|1[013]|2[0-2]|3[0-39]|4\\d|5[0-5]|7[0-37]|8[0-8]|9[0-479]))|7092[0-3])\\d{4}"],["80\\d{7}"],["89[1-37-9]\\d{6}"],0,0,0,0,["9(?:399[0-3]|479[0-6]|76(?:2[278]|3[0-37]))\\d{4}"],["8(?:1[019]|2[0156]|84|90)\\d{6}"]]],RO:["40","00","(?:[236-8]\\d|90)\\d{7}|[23]\\d{5}",[6,9],[["(\\d{3})(\\d{3})","$1 $2",["2[3-6]","2[3-6]\\d9"],"0$1"],["(\\d{2})(\\d{4})","$1 $2",["219|31"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[23]1"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[236-9]"],"0$1"]],"0",0,0,0,0,0,0,0," int "],RS:["381","00","38[02-9]\\d{6,9}|6\\d{7,9}|90\\d{4,8}|38\\d{5,6}|(?:7\\d\\d|800)\\d{3,9}|(?:[12]\\d|3[0-79])\\d{5,10}",[6,7,8,9,10,11,12],[["(\\d{3})(\\d{3,9})","$1 $2",["(?:2[389]|39)0|[7-9]"],"0$1"],["(\\d{2})(\\d{5,10})","$1 $2",["[1-36]"],"0$1"]],"0"],RU:["7","810","8\\d{13}|[347-9]\\d{9}",[10,14],[["(\\d{4})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["7(?:1[0-8]|2[1-9])","7(?:1(?:[0-356]2|4[29]|7|8[27])|2(?:1[23]|[2-9]2))","7(?:1(?:[0-356]2|4[29]|7|8[27])|2(?:13[03-69]|62[013-9]))|72[1-57-9]2"],"8 ($1)",1],["(\\d{5})(\\d)(\\d{2})(\\d{2})","$1 $2 $3 $4",["7(?:1[0-68]|2[1-9])","7(?:1(?:[06][3-6]|[18]|2[35]|[3-5][3-5])|2(?:[13][3-5]|[24-689]|7[457]))","7(?:1(?:0(?:[356]|4[023])|[18]|2(?:3[013-9]|5)|3[45]|43[013-79]|5(?:3[1-8]|4[1-7]|5)|6(?:3[0-35-9]|[4-6]))|2(?:1(?:3[178]|[45])|[24-689]|3[35]|7[457]))|7(?:14|23)4[0-8]|71(?:33|45)[1-79]"],"8 ($1)",1],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"8 ($1)",1],["(\\d{3})(\\d{3})(\\d{2})(\\d{2})","$1 $2-$3-$4",["[349]|8(?:[02-7]|1[1-8])"],"8 ($1)",1],["(\\d{4})(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3 $4",["8"],"8 ($1)"]],"8",0,0,0,0,"3[04-689]|[489]",0,"8~10"],RW:["250","00","(?:06|[27]\\d\\d|[89]00)\\d{6}",[8,9],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["0"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["2"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[7-9]"],"0$1"]],"0"],SA:["966","00","92\\d{7}|(?:[15]|8\\d)\\d{8}",[9,10],[["(\\d{4})(\\d{5})","$1 $2",["9"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["5"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["81"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"]]],"0"],SB:["677","0[01]","[6-9]\\d{6}|[1-6]\\d{4}",[5,7],[["(\\d{2})(\\d{5})","$1 $2",["6[89]|7|8[4-9]|9(?:[1-8]|9[0-8])"]]]],SC:["248","010|0[0-2]","(?:[2489]\\d|64)\\d{5}",[7],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[246]|9[57]"]]],0,0,0,0,0,0,0,"00"],SD:["249","00","[19]\\d{8}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[19]"],"0$1"]],"0"],SE:["46","00","(?:[26]\\d\\d|9)\\d{9}|[1-9]\\d{8}|[1-689]\\d{7}|[1-4689]\\d{6}|2\\d{5}",[6,7,8,9,10,12],[["(\\d{2})(\\d{2,3})(\\d{2})","$1-$2 $3",["20"],"0$1",0,"$1 $2 $3"],["(\\d{3})(\\d{4})","$1-$2",["9(?:00|39|44|9)"],"0$1",0,"$1 $2"],["(\\d{2})(\\d{3})(\\d{2})","$1-$2 $3",["[12][136]|3[356]|4[0246]|6[03]|90[1-9]"],"0$1",0,"$1 $2 $3"],["(\\d)(\\d{2,3})(\\d{2})(\\d{2})","$1-$2 $3 $4",["8"],"0$1",0,"$1 $2 $3 $4"],["(\\d{3})(\\d{2,3})(\\d{2})","$1-$2 $3",["1[2457]|2(?:[247-9]|5[0138])|3[0247-9]|4[1357-9]|5[0-35-9]|6(?:[125689]|4[02-57]|7[0-2])|9(?:[125-8]|3[02-5]|4[0-3])"],"0$1",0,"$1 $2 $3"],["(\\d{3})(\\d{2,3})(\\d{3})","$1-$2 $3",["9(?:00|39|44)"],"0$1",0,"$1 $2 $3"],["(\\d{2})(\\d{2,3})(\\d{2})(\\d{2})","$1-$2 $3 $4",["1[13689]|2[0136]|3[1356]|4[0246]|54|6[03]|90[1-9]"],"0$1",0,"$1 $2 $3 $4"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1-$2 $3 $4",["10|7"],"0$1",0,"$1 $2 $3 $4"],["(\\d)(\\d{3})(\\d{3})(\\d{2})","$1-$2 $3 $4",["8"],"0$1",0,"$1 $2 $3 $4"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1-$2 $3 $4",["[13-5]|2(?:[247-9]|5[0138])|6(?:[124-689]|7[0-2])|9(?:[125-8]|3[02-5]|4[0-3])"],"0$1",0,"$1 $2 $3 $4"],["(\\d{3})(\\d{2})(\\d{2})(\\d{3})","$1-$2 $3 $4",["9"],"0$1",0,"$1 $2 $3 $4"],["(\\d{3})(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1-$2 $3 $4 $5",["[26]"],"0$1",0,"$1 $2 $3 $4 $5"]],"0"],SG:["65","0[0-3]\\d","(?:(?:1\\d|8)\\d\\d|7000)\\d{7}|[3689]\\d{7}",[8,10,11],[["(\\d{4})(\\d{4})","$1 $2",["[369]|8(?:0[1-9]|[1-9])"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"]],["(\\d{4})(\\d{4})(\\d{3})","$1 $2 $3",["7"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]]]],SH:["290","00","(?:[256]\\d|8)\\d{3}",[4,5],0,0,0,0,0,0,"[256]"],SI:["386","00|10(?:22|66|88|99)","[1-7]\\d{7}|8\\d{4,7}|90\\d{4,6}",[5,6,7,8],[["(\\d{2})(\\d{3,6})","$1 $2",["8[09]|9"],"0$1"],["(\\d{3})(\\d{5})","$1 $2",["59|8"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[37][01]|4[0139]|51|6"],"0$1"],["(\\d)(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[1-57]"],"(0$1)"]],"0",0,0,0,0,0,0,"00"],SJ:["47","00","0\\d{4}|(?:[489]\\d|79)\\d{6}",[5,8],0,0,0,0,0,0,"79"],SK:["421","00","[2-689]\\d{8}|[2-59]\\d{6}|[2-5]\\d{5}",[6,7,9],[["(\\d)(\\d{2})(\\d{3,4})","$1 $2 $3",["21"],"0$1"],["(\\d{2})(\\d{2})(\\d{2,3})","$1 $2 $3",["[3-5][1-8]1","[3-5][1-8]1[67]"],"0$1"],["(\\d)(\\d{3})(\\d{3})(\\d{2})","$1/$2 $3 $4",["2"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[689]"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1/$2 $3 $4",["[3-5]"],"0$1"]],"0"],SL:["232","00","(?:[237-9]\\d|66)\\d{6}",[8],[["(\\d{2})(\\d{6})","$1 $2",["[236-9]"],"(0$1)"]],"0"],SM:["378","00","(?:0549|[5-7]\\d)\\d{6}",[8,10],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-7]"]],["(\\d{4})(\\d{6})","$1 $2",["0"]]],0,0,"([89]\\d{5})$","0549$1"],SN:["221","00","(?:[378]\\d|93)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"]],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[379]"]]]],SO:["252","00","[346-9]\\d{8}|[12679]\\d{7}|[1-5]\\d{6}|[1348]\\d{5}",[6,7,8,9],[["(\\d{2})(\\d{4})","$1 $2",["8[125]"]],["(\\d{6})","$1",["[134]"]],["(\\d)(\\d{6})","$1 $2",["[15]|2[0-79]|3[0-46-8]|4[0-7]"]],["(\\d)(\\d{7})","$1 $2",["(?:2|90)4|[67]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[348]|64|79|90"]],["(\\d{2})(\\d{5,7})","$1 $2",["1|28|6[0-35-9]|7[67]|9[2-9]"]]],"0"],SR:["597","00","(?:[2-5]|68|[78]\\d)\\d{5}",[6,7],[["(\\d{2})(\\d{2})(\\d{2})","$1-$2-$3",["56"]],["(\\d{3})(\\d{3})","$1-$2",["[2-5]"]],["(\\d{3})(\\d{4})","$1-$2",["[6-8]"]]]],SS:["211","00","[19]\\d{8}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[19]"],"0$1"]],"0"],ST:["239","00","(?:22|9\\d)\\d{5}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[29]"]]]],SV:["503","00","[267]\\d{7}|(?:80\\d|900)\\d{4}(?:\\d{4})?",[7,8,11],[["(\\d{3})(\\d{4})","$1 $2",["[89]"]],["(\\d{4})(\\d{4})","$1 $2",["[267]"]],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["[89]"]]]],SX:["1","011","7215\\d{6}|(?:[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"(5\\d{6})$|1","721$1",0,"721"],SY:["963","00","[1-359]\\d{8}|[1-5]\\d{7}",[8,9],[["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[1-4]|5[1-3]"],"0$1",1],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[59]"],"0$1",1]],"0"],SZ:["268","00","0800\\d{4}|(?:[237]\\d|900)\\d{6}",[8,9],[["(\\d{4})(\\d{4})","$1 $2",["[0237]"]],["(\\d{5})(\\d{4})","$1 $2",["9"]]]],TA:["290","00","8\\d{3}",[4],0,0,0,0,0,0,"8"],TC:["1","011","(?:[58]\\d\\d|649|900)\\d{7}",[10],0,"1",0,"([2-479]\\d{6})$|1","649$1",0,"649"],TD:["235","00|16","(?:22|[689]\\d|77)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[26-9]"]]],0,0,0,0,0,0,0,"00"],TG:["228","00","[279]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[279]"]]]],TH:["66","00[1-9]","(?:001800|[2-57]|[689]\\d)\\d{7}|1\\d{7,9}",[8,9,10,13],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["2"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[13-9]"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]]],"0"],TJ:["992","810","[0-57-9]\\d{8}",[9],[["(\\d{6})(\\d)(\\d{2})","$1 $2 $3",["331","3317"]],["(\\d{3})(\\d{2})(\\d{4})","$1 $2 $3",["44[02-479]|[34]7"]],["(\\d{4})(\\d)(\\d{4})","$1 $2 $3",["3(?:[1245]|3[12])"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[0-57-9]"]]],0,0,0,0,0,0,0,"8~10"],TK:["690","00","[2-47]\\d{3,6}",[4,5,6,7]],TL:["670","00","7\\d{7}|(?:[2-47]\\d|[89]0)\\d{5}",[7,8],[["(\\d{3})(\\d{4})","$1 $2",["[2-489]|70"]],["(\\d{4})(\\d{4})","$1 $2",["7"]]]],TM:["993","810","(?:[1-6]\\d|71)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2-$3-$4",["12"],"(8 $1)"],["(\\d{3})(\\d)(\\d{2})(\\d{2})","$1 $2-$3-$4",["[1-5]"],"(8 $1)"],["(\\d{2})(\\d{6})","$1 $2",["[67]"],"8 $1"]],"8",0,0,0,0,0,0,"8~10"],TN:["216","00","[2-57-9]\\d{7}",[8],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[2-57-9]"]]]],TO:["676","00","(?:0800|(?:[5-8]\\d\\d|999)\\d)\\d{3}|[2-8]\\d{4}",[5,7],[["(\\d{2})(\\d{3})","$1-$2",["[2-4]|50|6[09]|7[0-24-69]|8[05]"]],["(\\d{4})(\\d{3})","$1 $2",["0"]],["(\\d{3})(\\d{4})","$1 $2",["[5-9]"]]]],TR:["90","00","4\\d{6}|8\\d{11,12}|(?:[2-58]\\d\\d|900)\\d{7}",[7,10,12,13],[["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["512|8[01589]|90"],"0$1",1],["(\\d{3})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["5(?:[0-59]|61)","5(?:[0-59]|61[06])","5(?:[0-59]|61[06]1)"],"0$1",1],["(\\d{3})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[24][1-8]|3[1-9]"],"(0$1)",1],["(\\d{3})(\\d{3})(\\d{6,7})","$1 $2 $3",["80"],"0$1",1]],"0"],TT:["1","011","(?:[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-46-8]\\d{6})$|1","868$1",0,"868"],TV:["688","00","(?:2|7\\d\\d|90)\\d{4}",[5,6,7],[["(\\d{2})(\\d{3})","$1 $2",["2"]],["(\\d{2})(\\d{4})","$1 $2",["90"]],["(\\d{2})(\\d{5})","$1 $2",["7"]]]],TW:["886","0(?:0[25-79]|19)","[2-689]\\d{8}|7\\d{9,10}|[2-8]\\d{7}|2\\d{6}",[7,8,9,10,11],[["(\\d{2})(\\d)(\\d{4})","$1 $2 $3",["202"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[258]0"],"0$1"],["(\\d)(\\d{3,4})(\\d{4})","$1 $2 $3",["[23568]|4(?:0[02-48]|[1-47-9])|7[1-9]","[23568]|4(?:0[2-48]|[1-47-9])|(?:400|7)[1-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[49]"],"0$1"],["(\\d{2})(\\d{4})(\\d{4,5})","$1 $2 $3",["7"],"0$1"]],"0",0,0,0,0,0,0,0,"#"],TZ:["255","00[056]","(?:[25-8]\\d|41|90)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{4})","$1 $2 $3",["[89]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[24]"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["5"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[67]"],"0$1"]],"0"],UA:["380","00","[89]\\d{9}|[3-9]\\d{8}",[9,10],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6[12][29]|(?:3[1-8]|4[136-8]|5[12457]|6[49])2|(?:56|65)[24]","6[12][29]|(?:35|4[1378]|5[12457]|6[49])2|(?:56|65)[24]|(?:3[1-46-8]|46)2[013-9]"],"0$1"],["(\\d{4})(\\d{5})","$1 $2",["3[1-8]|4(?:[1367]|[45][6-9]|8[4-6])|5(?:[1-5]|6[0135689]|7[4-6])|6(?:[12][3-7]|[459])","3[1-8]|4(?:[1367]|[45][6-9]|8[4-6])|5(?:[1-5]|6(?:[015689]|3[02389])|7[4-6])|6(?:[12][3-7]|[459])"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[3-7]|89|9[1-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["[89]"],"0$1"]],"0",0,0,0,0,0,0,"0~0"],UG:["256","00[057]","800\\d{6}|(?:[29]0|[347]\\d)\\d{7}",[9],[["(\\d{4})(\\d{5})","$1 $2",["202","2024"],"0$1"],["(\\d{3})(\\d{6})","$1 $2",["[27-9]|4(?:6[45]|[7-9])"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["[34]"],"0$1"]],"0"],US:["1","011","[2-9]\\d{9}|3\\d{6}",[10],[["(\\d{3})(\\d{4})","$1-$2",["310"],0,1],["(\\d{3})(\\d{3})(\\d{4})","($1) $2-$3",["[2-9]"],0,1,"$1-$2-$3"]],"1",0,0,0,0,0,[["(?:3052(?:0[0-8]|[1-9]\\d)|5056(?:[0-35-9]\\d|4[0-468]))\\d{4}|(?:2742|305[3-9]|472[247-9]|505[2-57-9]|983[2-47-9])\\d{6}|(?:2(?:0[1-35-9]|1[02-9]|2[03-57-9]|3[1459]|4[08]|5[1-46]|6[0279]|7[0269]|8[13])|3(?:0[1-47-9]|1[02-9]|2[0135-79]|3[0-24679]|4[167]|5[0-2]|6[01349]|8[056])|4(?:0[124-9]|1[02-579]|2[3-5]|3[0245]|4[023578]|58|6[349]|7[0589]|8[04])|5(?:0[1-47-9]|1[0235-8]|20|3[0149]|4[01]|5[179]|6[1-47]|7[0-5]|8[0256])|6(?:0[1-35-9]|1[024-9]|2[03689]|3[016]|4[0156]|5[01679]|6[0-279]|78|8[0-29])|7(?:0[1-46-8]|1[2-9]|2[04-8]|3[0-247]|4[037]|5[47]|6[02359]|7[0-59]|8[156])|8(?:0[1-68]|1[02-8]|2[068]|3[0-2589]|4[03578]|5[046-9]|6[02-5]|7[028])|9(?:0[1346-9]|1[02-9]|2[0589]|3[0146-8]|4[01357-9]|5[12469]|7[0-389]|8[04-69]))[2-9]\\d{6}"],[""],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"],["900[2-9]\\d{6}"],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}"],0,0,0,["305209\\d{4}"]]],UY:["598","0(?:0|1[3-9]\\d)","0004\\d{2,9}|[1249]\\d{7}|(?:[49]\\d|80)\\d{5}",[6,7,8,9,10,11,12,13],[["(\\d{3})(\\d{3,4})","$1 $2",["0"]],["(\\d{3})(\\d{4})","$1 $2",["[49]0|8"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["9"],"0$1"],["(\\d{4})(\\d{4})","$1 $2",["[124]"]],["(\\d{3})(\\d{3})(\\d{2,4})","$1 $2 $3",["0"]],["(\\d{3})(\\d{3})(\\d{3})(\\d{2,4})","$1 $2 $3 $4",["0"]]],"0",0,0,0,0,0,0,"00"," int. "],UZ:["998","00","(?:20|33|[5-9]\\d)\\d{7}",[9],[["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[235-9]"]]]],VA:["39","00","0\\d{5,10}|3[0-8]\\d{7,10}|55\\d{8}|8\\d{5}(?:\\d{2,4})?|(?:1\\d|39)\\d{7,8}",[6,7,8,9,10,11,12],0,0,0,0,0,0,"06698"],VC:["1","011","(?:[58]\\d\\d|784|900)\\d{7}",[10],0,"1",0,"([2-7]\\d{6})$|1","784$1",0,"784"],VE:["58","00","[68]00\\d{7}|(?:[24]\\d|[59]0)\\d{8}",[10],[["(\\d{3})(\\d{7})","$1-$2",["[24-689]"],"0$1"]],"0"],VG:["1","011","(?:284|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-578]\\d{6})$|1","284$1",0,"284"],VI:["1","011","[58]\\d{9}|(?:34|90)0\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","340$1",0,"340"],VN:["84","00","[12]\\d{9}|[135-9]\\d{8}|[16]\\d{7}|[16-8]\\d{6}",[7,8,9,10],[["(\\d{2})(\\d{5})","$1 $2",["80"],"0$1",1],["(\\d{4})(\\d{4,6})","$1 $2",["1"],0,1],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["6"],"0$1",1],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[357-9]"],"0$1",1],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["2[48]"],"0$1",1],["(\\d{3})(\\d{4})(\\d{3})","$1 $2 $3",["2"],"0$1",1]],"0"],VU:["678","00","[57-9]\\d{6}|(?:[238]\\d|48)\\d{3}",[5,7],[["(\\d{3})(\\d{4})","$1 $2",["[57-9]"]]]],WF:["681","00","(?:40|72|8\\d{4})\\d{4}|[89]\\d{5}",[6,9],[["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["[47-9]"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"]]]],WS:["685","0","(?:[2-6]|8\\d{5})\\d{4}|[78]\\d{6}|[68]\\d{5}",[5,6,7,10],[["(\\d{5})","$1",["[2-5]|6[1-9]"]],["(\\d{3})(\\d{3,7})","$1 $2",["[68]"]],["(\\d{2})(\\d{5})","$1 $2",["7"]]]],XK:["383","00","2\\d{7,8}|3\\d{7,11}|(?:4\\d\\d|[89]00)\\d{5}",[8,9,10,11,12],[["(\\d{3})(\\d{5})","$1 $2",["[89]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[2-4]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["2|39"],"0$1"],["(\\d{2})(\\d{7,10})","$1 $2",["3"],"0$1"]],"0"],YE:["967","00","(?:1|7\\d)\\d{7}|[1-7]\\d{6}",[7,8,9],[["(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["[1-6]|7(?:[24-6]|8[0-7])"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["7"],"0$1"]],"0"],YT:["262","00","7093\\d{5}|(?:80|9\\d)\\d{7}|(?:26|63)9\\d{6}",[9],0,"0",0,0,0,0,0,[["269(?:0[0-467]|15|5[0-4]|6\\d|[78]0)\\d{4}"],["(?:639(?:0[0-79]|1[019]|[267]\\d|3[09]|40|5[05-9]|9[04-79])|7093[5-7])\\d{4}"],["80\\d{7}"],0,0,0,0,0,["9(?:(?:39|47)8[01]|769\\d)\\d{4}"]]],ZA:["27","00","[1-79]\\d{8}|8\\d{4,9}",[5,6,7,8,9,10],[["(\\d{2})(\\d{3,4})","$1 $2",["8[1-4]"],"0$1"],["(\\d{2})(\\d{3})(\\d{2,3})","$1 $2 $3",["8[1-4]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["860"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[1-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"],"0$1"]],"0"],ZM:["260","00","800\\d{6}|(?:21|[579]\\d|63)\\d{7}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[28]"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["[579]"],"0$1"]],"0"],ZW:["263","00","2(?:[0-57-9]\\d{6,8}|6[0-24-9]\\d{6,7})|[38]\\d{9}|[35-8]\\d{8}|[3-6]\\d{7}|[1-689]\\d{6}|[1-3569]\\d{5}|[1356]\\d{4}",[5,6,7,8,9,10],[["(\\d{3})(\\d{3,5})","$1 $2",["2(?:0[45]|2[278]|[49]8)|3(?:[09]8|17)|6(?:[29]8|37|75)|[23][78]|(?:33|5[15]|6[68])[78]"],"0$1"],["(\\d)(\\d{3})(\\d{2,4})","$1 $2 $3",["[49]"],"0$1"],["(\\d{3})(\\d{4})","$1 $2",["80"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["24|8[13-59]|(?:2[05-79]|39|5[45]|6[15-8])2","2(?:02[014]|4|[56]20|[79]2)|392|5(?:42|525)|6(?:[16-8]21|52[013])|8[13-59]"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["2(?:1[39]|2[0157]|[378]|[56][14])|3(?:12|29)","2(?:1[39]|2[0157]|[378]|[56][14])|3(?:123|29)"],"0$1"],["(\\d{4})(\\d{6})","$1 $2",["8"],"0$1"],["(\\d{2})(\\d{3,5})","$1 $2",["1|2(?:0[0-36-9]|12|29|[56])|3(?:1[0-689]|[24-6])|5(?:[0236-9]|1[2-4])|6(?:[013-59]|7[0-46-9])|(?:33|55|6[68])[0-69]|(?:29|3[09]|62)[0-79]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["29[013-9]|39|54"],"0$1"],["(\\d{4})(\\d{3,5})","$1 $2",["(?:25|54)8","258|5483"],"0$1"]],"0"]},nonGeographic:{800:["800",0,"(?:00|[1-9]\\d)\\d{6}",[8],[["(\\d{4})(\\d{4})","$1 $2",["\\d"]]],0,0,0,0,0,0,[0,0,["(?:00|[1-9]\\d)\\d{6}"]]],808:["808",0,"[1-9]\\d{7}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[1-9]"]]],0,0,0,0,0,0,[0,0,0,0,0,0,0,0,0,["[1-9]\\d{7}"]]],870:["870",0,"7\\d{11}|[235-7]\\d{8}",[9,12],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[235-7]"]]],0,0,0,0,0,0,[0,["(?:[356]|774[45])\\d{8}|7[6-8]\\d{7}"],0,0,0,0,0,0,["2\\d{8}",[9]]]],878:["878",0,"10\\d{10}",[12],[["(\\d{2})(\\d{5})(\\d{5})","$1 $2 $3",["1"]]],0,0,0,0,0,0,[0,0,0,0,0,0,0,0,["10\\d{10}"]]],881:["881",0,"6\\d{9}|[0-36-9]\\d{8}",[9,10],[["(\\d)(\\d{3})(\\d{5})","$1 $2 $3",["[0-37-9]"]],["(\\d)(\\d{3})(\\d{5,6})","$1 $2 $3",["6"]]],0,0,0,0,0,0,[0,["6\\d{9}|[0-36-9]\\d{8}"]]],882:["882",0,"[13]\\d{6}(?:\\d{2,5})?|[19]\\d{7}|(?:[25]\\d\\d|4)\\d{7}(?:\\d{2})?",[7,8,9,10,11,12],[["(\\d{2})(\\d{5})","$1 $2",["16|342"]],["(\\d{2})(\\d{6})","$1 $2",["49"]],["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["1[36]|9"]],["(\\d{2})(\\d{4})(\\d{3})","$1 $2 $3",["3[23]"]],["(\\d{2})(\\d{3,4})(\\d{4})","$1 $2 $3",["16"]],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["10|23|3(?:[15]|4[57])|4|51"]],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["34"]],["(\\d{2})(\\d{4,5})(\\d{5})","$1 $2 $3",["[1-35]"]]],0,0,0,0,0,0,[0,["342\\d{4}|(?:337|49)\\d{6}|(?:3(?:2|47|7\\d{3})|50\\d{3})\\d{7}",[7,8,9,10,12]],0,0,0,["348[57]\\d{7}",[11]],0,0,["1(?:3(?:0[0347]|[13][0139]|2[035]|4[013568]|6[0459]|7[06]|8[15-8]|9[0689])\\d{4}|6\\d{5,10})|(?:345\\d|9[89])\\d{6}|(?:10|2(?:3|85\\d)|3(?:[15]|[69]\\d\\d)|4[15-8]|51)\\d{8}"]]],883:["883",0,"(?:[1-4]\\d|51)\\d{6,10}",[8,9,10,11,12],[["(\\d{3})(\\d{3})(\\d{2,8})","$1 $2 $3",["[14]|2[24-689]|3[02-689]|51[24-9]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["510"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["21"]],["(\\d{4})(\\d{4})(\\d{4})","$1 $2 $3",["51[13]"]],["(\\d{3})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["[235]"]]],0,0,0,0,0,0,[0,0,0,0,0,0,0,0,["(?:2(?:00\\d\\d|10)|(?:370[1-9]|51\\d0)\\d)\\d{7}|51(?:00\\d{5}|[24-9]0\\d{4,7})|(?:1[0-79]|2[24-689]|3[02-689]|4[0-4])0\\d{5,9}"]]],888:["888",0,"\\d{11}",[11],[["(\\d{3})(\\d{3})(\\d{5})","$1 $2 $3"]],0,0,0,0,0,0,[0,0,0,0,0,0,["\\d{11}"]]],979:["979",0,"[1359]\\d{8}",[9],[["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["[1359]"]]],0,0,0,0,0,0,[0,0,0,["[1359]\\d{8}"]]]}};function a(t,e){t=t.split("-"),e=e.split("-");for(var n=t[0].split("."),r=e[0].split("."),a=0;a<3;a++){var d=Number(n[a]),o=Number(r[a]);if(d>o)return 1;if(o>d)return -1;if(!isNaN(d)&&isNaN(o))return 1;if(isNaN(d)&&!isNaN(o))return -1}return t[1]&&e[1]?t[1]>e[1]?1:t[1]t.length)&&(e=t.length);for(var n=0,r=Array(e);n=t.length?{done:!0}:{done:!1,value:t[r++]}}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(e.split(""));!(n=a()).done;)n.value===t&&r++;return r}function T(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);no&&(d=a.length))),o++}return void 0===e&&(d=a.length),{value:a,caret:d}}(t.value,t.selectionStart,e),o=d.value,i=d.caret;if(r){var u=function(t,e,n){switch(n){case"Backspace":e>0&&(t=t.slice(0,e-1)+t.slice(e),e--);break;case"Delete":t=t.slice(0,e)+t.slice(e+1)}return{value:t,caret:e}}(o,i,r);o=u.value,i=u.caret}var l=function(t,e,n){"string"==typeof n&&(n=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"x",n=arguments.length>2?arguments[2]:void 0;if(!t)return function(t){return{text:t}};var r=j(e,t);return function(a){if(!a)return{text:"",template:t};for(var d,o=0,i="",u=function(t,e){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(n)return(n=n.call(t)).next.bind(n);if(Array.isArray(t)||(n=function(t,e){if(t){if("string"==typeof t)return T(t,void 0);var n=Object.prototype.toString.call(t).slice(8,-1);if("Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return T(t,void 0)}}(t))){n&&(t=n);var r=0;return function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(t.split(""));!(d=u()).done;){var l=d.value;if(l!==e){i+=l;continue}if(i+=a[o],++o===a.length&&a.length2&&void 0!==arguments[2]?arguments[2]:"x",r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:" ",a=t.length,d=j("(",t)-j(")",t);d>0&&a=0||(a[n]=t[n]);return a}(t,e);if(Object.getOwnPropertySymbols){var d=Object.getOwnPropertySymbols(t);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(t,n)&&(a[n]=t[n])}return a}(t,G))).ref,a=n.parse,d=n.format,o=n.value,i=n.defaultValue,u=n.controlled,l=n.onChange,c=n.onKeyDown,s=function(t,e){if(null==t)return{};var n,r,a=function(t,e){if(null==t)return{};var n,r,a={},d=Object.keys(t);for(r=0;r=0||(a[n]=t[n]);return a}(t,e);if(Object.getOwnPropertySymbols){var d=Object.getOwnPropertySymbols(t);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(t,n)&&(a[n]=t[n])}return a}(n,F),$=(0,P.useRef)(),f=(0,P.useCallback)(function(t){$.current=t,r&&("function"==typeof r?r(t):r.current=t)},[r]),p=(0,P.useCallback)(function(t){D($.current,a,d,void 0,l)},[$,a,d,l]),h=(0,P.useCallback)(function(t){if(c&&c(t),!t.defaultPrevented)return function(t,e,n,r,a){if(!e.hasAttribute("readonly")){var d=function(t){switch(t.keyCode){case k.Backspace:return"Backspace";case k.Delete:return"Delete"}}(t);switch(d){case"Delete":case"Backspace":t.preventDefault();var o,i=function(t){if(t.selectionStart!==t.selectionEnd)return{start:t.selectionStart,end:t.selectionEnd}}(e);if(i)return o=(o=e.value).slice(0,i.start)+o.slice(i.end),e.value=o,R(e,i.start),D(e,n,r,void 0,a);return D(e,n,r,d,a)}}}(t,$.current,a,d,l)},[$,a,d,l,c]),y=B(B({},s),{},{ref:f,onChange:p,onKeyDown:h}),void 0===u||u?B(B({},y),{},{value:d(null==o?"":o).text}):B(B({},y),{},{defaultValue:d(null==i?"":i).text}));return P.createElement(void 0===m?"input":m,I)}(U=P.forwardRef(U)).propTypes={parse:x.func.isRequired,format:x.func.isRequired,inputComponent:x.elementType,type:x.string,value:x.string,defaultValue:x.string,onChange:x.func,controlled:x.bool,onKeyDown:x.func,onCut:x.func,onPaste:x.func};let K=U;function V(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n=t.length?{done:!0}:{done:!1,value:t[r++]}}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(e);!(n=a()).done;){var d=n.value;0>t.indexOf(d)&&r.push(d)}return r.sort(function(t,e){return t-e})}(d,o.possibleLengths()))}else if(n&&!a)return"INVALID_LENGTH";var i=e.length,u=d[0];return u===i?"IS_POSSIBLE":u>i?"TOO_SHORT":d[d.length-1]=0?"IS_POSSIBLE":"INVALID_LENGTH"}(t,void 0,e)}function H(t,e){return"IS_POSSIBLE"===W(t,e)}function Z(t,e){return t=t||"",RegExp("^(?:"+e+")$").test(t)}function q(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n=t.length?{done:!0}:{done:!1,value:t[r++]}}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(Y);!(a=d()).done;){var o=a.value;if(X(r,o,n))return o}}}}function X(t,e,n){return!(!(e=n.type(e))||!e.pattern()||e.possibleLengths()&&0>e.possibleLengths().indexOf(t.length))&&Z(t,e.pattern())}var z="0-90-9٠-٩۰-۹",Q="".concat("-‐-―−ー-").concat("//").concat("..").concat(" \xa0\xad​⁠ ").concat("()()[]\\[\\]").concat("~⁓∼~"),tt="++",te=RegExp("(["+z+"])");function tn(t,e,n,r){if(e){var a=new f(r);a.selectNumberingPlan(e,n);var d=new RegExp(a.IDDPrefix());if(0===t.search(d)){var o=(t=t.slice(t.match(d)[0].length)).match(te);if(!o||null==o[1]||!(o[1].length>0)||"0"!==o[1])return t}}}function tr(t,e){if(t&&e.numberingPlan.nationalPrefixForParsing()){var n=RegExp("^(?:"+e.numberingPlan.nationalPrefixForParsing()+")"),r=n.exec(t);if(r){var a,d,o,i=r.length-1,u=i>0&&r[i];if(e.nationalPrefixTransformRule()&&u)a=t.replace(n,e.nationalPrefixTransformRule()),i>1&&(d=r[1]);else{var l=r[0];a=t.slice(l.length),u&&(d=r[1])}if(u){var c=t.indexOf(r[1]);t.slice(0,c)===e.numberingPlan.nationalPrefix()&&(o=e.numberingPlan.nationalPrefix())}else o=r[0];return{nationalNumber:a,nationalPrefix:o,carrierCode:d}}}return{nationalNumber:t}}function ta(t,e){var n=tr(t,e),r=n.carrierCode,a=n.nationalNumber;return a!==t&&(!(!Z(t,e.nationalNumberPattern())||Z(a,e.nationalNumberPattern()))||e.possibleLengths()&&!function(t,e){switch(W(t,e)){case"TOO_SHORT":case"INVALID_LENGTH":return!1;default:return!0}}(a,e))?{nationalNumber:t}:{nationalNumber:a,carrierCode:r}}function td(t,e,n,r){var a=e?C(e,r):n;if(0===t.indexOf(a)){(r=new f(r)).selectNumberingPlan(e,n);var d=t.slice(a.length),o=ta(d,r).nationalNumber,i=ta(t,r).nationalNumber;if(!Z(i,r.nationalNumberPattern())&&Z(o,r.nationalNumberPattern())||"TOO_LONG"===W(i,r))return{countryCallingCode:a,number:d}}return{number:t}}function to(t,e,n,r){if(!t)return{};if("+"!==t[0]){var a,d=tn(t,e,n,r);if(d&&d!==t)a=!0,t="+"+d;else{if(e||n){var o=td(t,e,n,r),i=o.countryCallingCode,u=o.number;if(i)return{countryCallingCodeSource:"FROM_NUMBER_WITHOUT_PLUS_SIGN",countryCallingCode:i,number:u}}return{number:t}}}if("0"===t[1])return{};r=new f(r);for(var l=2;l-1<=3&&l<=t.length;){var c=t.slice(1,l);if(r.hasCallingCode(c))return r.selectNumberingPlan(c),{countryCallingCodeSource:a?"FROM_NUMBER_WITH_IDD":"FROM_NUMBER_WITH_PLUS_SIGN",countryCallingCode:c,number:t.slice(l)};l++}return{}}function ti(t){return t.replace(RegExp("[".concat(Q,"]+"),"g")," ").trim()}var tu=/(\$\d)/;function tl(t,e,n){var r=n.useInternationalFormat,a=n.withNationalPrefix;n.carrierCode,n.metadata;var d=t.replace(new RegExp(e.pattern()),r?e.internationalFormat():a&&e.nationalPrefixFormattingRule()?e.format().replace(tu,e.nationalPrefixFormattingRule()):e.format());return r?ti(d):d}var tc=/^[\d]+(?:[~\u2053\u223C\uFF5E][\d]+)?$/;function ts(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n=t.length?{done:!0}:{done:!1,value:t[r++]}}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(t);!(n=r()).done;){var a=n.value;if(a.leadingDigitsPatterns().length>0){var d=a.leadingDigitsPatterns()[a.leadingDigitsPatterns().length-1];if(0!==e.search(d))continue}if(Z(e,a.pattern()))return a}}(r.formats(),t);return d?tl(t,d,{useInternationalFormat:"INTERNATIONAL"===n,withNationalPrefix:!d.nationalPrefixIsOptionalWhenFormattingInNationalFormat()||!a||!1!==a.nationalPrefix,carrierCode:e,metadata:r}):t}function ty(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)}return n}function tm(t){for(var e=1;e=0}):[])}},{key:"isPossible",value:function(){return function(t,e,n){if(void 0===e&&(e={}),n=new f(n),e.v2){if(!t.countryCallingCode)throw Error("Invalid phone number object passed");n.selectNumberingPlan(t.countryCallingCode)}else{if(!t.phone)return!1;if(t.country){if(!n.hasCountry(t.country))throw Error("Unknown country: ".concat(t.country));n.country(t.country)}else{if(!t.countryCallingCode)throw Error("Invalid phone number object passed");n.selectNumberingPlan(t.countryCallingCode)}}if(n.possibleLengths())return H(t.phone||t.nationalNumber,n);if(t.countryCallingCode&&n.isNonGeographicCallingCode(t.countryCallingCode))return!0;throw Error('Missing "possibleLengths" in metadata. Perhaps the metadata has been generated before v1.0.18.')}(this,{v2:!0},this.getMetadata())}},{key:"isValid",value:function(){var t,e;return(t=t={v2:!0},(e=new f(e=this.getMetadata())).selectNumberingPlan(this.country,this.countryCallingCode),e.hasTypes())?void 0!==J(this,t,e.metadata):Z(t.v2?this.nationalNumber:this.phone,e.nationalNumberPattern())}},{key:"isNonGeographic",value:function(){return new f(this.getMetadata()).isNonGeographicCallingCode(this.countryCallingCode)}},{key:"isEqual",value:function(t){return this.number===t.number&&this.ext===t.ext}},{key:"getType",value:function(){return J(this,{v2:!0},this.getMetadata())}},{key:"format",value:function(t,e){return function(t,e,n,r){if(n=n?tf(tf({},tp),n):tp,r=new f(r),t.country&&"001"!==t.country){if(!r.hasCountry(t.country))throw Error("Unknown country: ".concat(t.country));r.country(t.country)}else{if(!t.countryCallingCode)return t.phone||"";r.selectNumberingPlan(t.countryCallingCode)}var a,d,o,i,u,l,c,s,$,p,h,y,m,g=r.countryCallingCode(),v=n.v2?t.nationalNumber:t.phone;switch(e){case"NATIONAL":if(!v)return"";return a=m=th(v,t.carrierCode,"NATIONAL",r,n),d=t.ext,o=r,i=n.formatExtension,d?i(a,d,o):a;case"INTERNATIONAL":if(!v)return"+".concat(g);return m=th(v,null,"INTERNATIONAL",r,n),u=m="+".concat(g," ").concat(m),l=t.ext,c=r,s=n.formatExtension,l?s(u,l,c):u;case"E.164":return"+".concat(g).concat(v);case"RFC3966":return function(t){var e=t.number,n=t.ext;if(!e)return"";if("+"!==e[0])throw Error('"formatRFC3966()" expects "number" to be in E.164 format.');return"tel:".concat(e).concat(n?";ext="+n:"")}({number:"+".concat(g).concat(v),ext:t.ext});case"IDD":if(!n.fromCountry)return;return $=function(t,e,n,r,a){if(C(r,a.metadata)===n){var d,o,i=th(t,e,"NATIONAL",a);return"1"===n?n+" "+i:i}var u=(d=void 0,((o=new f(a.metadata)).selectNumberingPlan(r,d),o.defaultIDDPrefix())?o.defaultIDDPrefix():tc.test(o.IDDPrefix())?o.IDDPrefix():void 0);if(u)return"".concat(u," ").concat(n," ").concat(th(t,null,"INTERNATIONAL",a))}(v,t.carrierCode,g,n.fromCountry,r),p=t.ext,h=r,y=n.formatExtension,p?y($,p,h):$;default:throw Error('Unknown "format" argument passed to "formatNumber()": "'.concat(e,'"'))}}(this,t,e?tm(tm({},e),{},{v2:!0}):{v2:!0},this.getMetadata())}},{key:"formatNational",value:function(t){return this.format("NATIONAL",t)}},{key:"formatInternational",value:function(t){return this.format("INTERNATIONAL",t)}},{key:"getURI",value:function(t){return this.format("RFC3966",t)}}],function(t,e){for(var n=0;nt.length)&&(e=t.length);for(var n=0,r=Array(e);n1;)1&e&&(n+=t),e>>=1,t+=t;return n+t}function tP(t,e){return")"===t[e]&&e++,function(t){for(var e=[],n=0;nt.length)&&(e=t.length);for(var n=0,r=Array(e);n=t.length?{done:!0}:{done:!1,value:t[r++]}}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(t.split(""));!(e=r()).done;){var a=tx[e.value];a&&(n+=a)}return n}function tw(t,e,n){var r=n.metadata,a=n.useNationalPrefixFormattingRule,d=n.getSeparatorAfterNationalPrefix,o=tl(t.nationalSignificantNumber,e,{carrierCode:t.carrierCode,useInternationalFormat:t.international,withNationalPrefix:a,metadata:r});if(!a&&(t.nationalPrefix?o=t.nationalPrefix+d(e)+o:t.complexPrefixBeforeNationalSignificantNumber&&(o=t.complexPrefixBeforeNationalSignificantNumber+" "+o)),tI(o)===t.getNationalDigits())return o}var tE=function(){var t;function e(){!function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")}(this,e)}return t=[{key:"parse",value:function(t){if(this.context=[{or:!0,instructions:[]}],this.parsePattern(t),1!==this.context.length)throw Error("Non-finalized contexts left when pattern parse ended");var e=this.context[0],n=e.branches,r=e.instructions;if(n)return{op:"|",args:n.concat([tT(r)])};if(0===r.length)throw Error("Pattern is required");return 1===r.length?r[0]:r}},{key:"startContext",value:function(t){this.context.push(t)}},{key:"endContext",value:function(){this.context.pop()}},{key:"getContext",value:function(){return this.context[this.context.length-1]}},{key:"parsePattern",value:function(t){if(!t)throw Error("Pattern is required");var e=t.match(tj);if(!e){if(tA.test(t))throw Error("Illegal characters found in a pattern: ".concat(t));this.getContext().instructions=this.getContext().instructions.concat(t.split(""));return}var n=e[1],r=t.slice(0,e.index),a=t.slice(e.index+n.length);switch(n){case"(?:":r&&this.parsePattern(r),this.startContext({or:!0,instructions:[],branches:[]});break;case")":if(!this.getContext().or)throw Error('")" operator must be preceded by "(?:" operator');if(r&&this.parsePattern(r),0===this.getContext().instructions.length)throw Error('No instructions found after "|" operator in an "or" group');var d=this.getContext().branches;d.push(tT(this.getContext().instructions)),this.endContext(),this.getContext().instructions.push({op:"|",args:d});break;case"|":if(!this.getContext().or)throw Error('"|" operator can only be used inside "or" groups');if(r&&this.parsePattern(r),!this.getContext().branches){if(1===this.context.length)this.getContext().branches=[];else throw Error('"branches" not found in an "or" group context')}this.getContext().branches.push(tT(this.getContext().instructions)),this.getContext().instructions=[];break;case"[":r&&this.parsePattern(r),this.startContext({oneOfSet:!0});break;case"]":if(!this.getContext().oneOfSet)throw Error('"]" operator must be preceded by "[" operator');this.endContext(),this.getContext().instructions.push({op:"[]",args:function(t){for(var e=[],n=0;n=t.length?{done:!0}:{done:!1,value:t[r++]}}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function tR(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n1&&void 0!==arguments[1]?arguments[1]:{},n=e.allowOverflow;if(!t)throw Error("String is required");var r=function t(e,n,r){if("string"==typeof n){var a=e.join("");return 0===n.indexOf(a)?e.length===n.length?{match:!0,matchedChars:e}:{partialMatch:!0}:0===a.indexOf(n)?r&&e.length>n.length?{overflow:!0}:{match:!0,matchedChars:e.slice(0,n.length)}:void 0}if(Array.isArray(n)){for(var d=e.slice(),o=0;o=t.length?{done:!0}:{done:!1,value:t[r++]}}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function tF(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n=0)){var n=this.getTemplateForFormat(t,e);if(n)return this.setNationalNumberTemplate(n,e),!0}}},{key:"getSeparatorAfterNationalPrefix",value:function(t){return this.isNANP||t&&t.nationalPrefixFormattingRule()&&tB.test(t.nationalPrefixFormattingRule())?" ":""}},{key:"getInternationalPrefixBeforeCountryCallingCode",value:function(t,e){var n=t.IDDPrefix,r=t.missingPlus;return n?e&&!1===e.spacing?n:n+" ":r?"":"+"}},{key:"getTemplate",value:function(t){if(this.template){for(var e=-1,n=0,r=t.international?this.getInternationalPrefixBeforeCountryCallingCode(t,{spacing:!1}):"";nu.length)){var l=RegExp("^"+i+"$"),c=r.replace(/\d/g,"9");l.test(c)&&(u=c);var s=this.getFormatFormat(t,a);if(this.shouldTryNationalPrefixFormattingRule(t,{international:a,nationalPrefix:d})){var $=s.replace(tu,t.nationalPrefixFormattingRule());if(tI(t.nationalPrefixFormattingRule())===(d||"")+tI("$1")&&(s=$,n=!0,d))for(var f=d.length;f>0;)s=s.replace(/\d/,"x"),f--}var p=u.replace(new RegExp(i),s).replace(/9/g,"x");return!n&&(o?p=tN("x",o.length)+" "+p:d&&(p=tN("x",d.length)+this.getSeparatorAfterNationalPrefix(t)+p)),a&&(p=ti(p)),p}}},{key:"formatNextNationalNumberDigits",value:function(t){var e=function(t,e,n){for(var r,a=function(t,e){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(n)return(n=n.call(t)).next.bind(n);if(Array.isArray(t)||(n=function(t,e){if(t){if("string"==typeof t)return tC(t,void 0);var n=Object.prototype.toString.call(t).slice(8,-1);if("Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return tC(t,void 0)}}(t))){n&&(t=n);var r=0;return function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(n.split(""));!(r=a()).done;){var d=r.value;if(0>t.slice(e+1).search(tO))return;e=t.search(tO),t=t.replace(tO,d)}return[t,e]}(this.populatedNationalNumberTemplate,this.populatedNationalNumberTemplatePosition,t);if(!e){this.resetFormat();return}return this.populatedNationalNumberTemplate=e[0],this.populatedNationalNumberTemplatePosition=e[1],tP(this.populatedNationalNumberTemplate,this.populatedNationalNumberTemplatePosition+1)}},{key:"shouldTryNationalPrefixFormattingRule",value:function(t,e){var n=e.international,r=e.nationalPrefix;if(t.nationalPrefixFormattingRule()){var a=t.usesNationalPrefix();if(a&&r||!a&&!n)return!0}}}],function(t,e){for(var n=0;nt.length)&&(e=t.length);for(var n=0,r=Array(e);n=3;if(e.appendDigits(t),r&&this.extractIddPrefix(e),this.isWaitingForCountryCallingCode(e)){if(!this.extractCountryCallingCode(e))return}else e.appendNationalSignificantNumberDigits(t);e.international||this.hasExtractedNationalSignificantNumber||this.extractNationalSignificantNumber(e.getNationalDigits(),function(t){return e.update(t)})}},{key:"isWaitingForCountryCallingCode",value:function(t){var e=t.international,n=t.callingCode;return e&&!n}},{key:"extractCountryCallingCode",value:function(t){var e=to("+"+t.getDigitsWithoutInternationalPrefix(),this.defaultCountry,this.defaultCallingCode,this.metadata.metadata),n=e.countryCallingCode,r=e.number;if(n)return t.setCallingCode(n),t.update({nationalSignificantNumber:r}),!0}},{key:"reset",value:function(t){if(t){this.hasSelectedNumberingPlan=!0;var e=t._nationalPrefixForParsing();this.couldPossiblyExtractAnotherNationalSignificantNumber=e&&tZ.test(e)}else this.hasSelectedNumberingPlan=void 0,this.couldPossiblyExtractAnotherNationalSignificantNumber=void 0}},{key:"extractNationalSignificantNumber",value:function(t,e){if(this.hasSelectedNumberingPlan){var n=tr(t,this.metadata),r=n.nationalPrefix,a=n.nationalNumber,d=n.carrierCode;if(a!==t)return this.onExtractedNationalNumber(r,d,a,t,e),!0}}},{key:"extractAnotherNationalSignificantNumber",value:function(t,e,n){if(!this.hasExtractedNationalSignificantNumber)return this.extractNationalSignificantNumber(t,n);if(this.couldPossiblyExtractAnotherNationalSignificantNumber){var r=tr(t,this.metadata),a=r.nationalPrefix,d=r.nationalNumber,o=r.carrierCode;if(d!==e)return this.onExtractedNationalNumber(a,o,d,t,n),!0}}},{key:"onExtractedNationalNumber",value:function(t,e,n,r,a){var d,o,i=r.lastIndexOf(n);if(i>=0&&i===r.length-n.length){o=!0;var u=r.slice(0,i);u!==t&&(d=u)}a({nationalPrefix:t,carrierCode:e,nationalSignificantNumber:n,nationalSignificantNumberMatchesInput:o,complexPrefixBeforeNationalSignificantNumber:d}),this.hasExtractedNationalSignificantNumber=!0,this.onNationalSignificantNumberChange()}},{key:"reExtractNationalSignificantNumber",value:function(t){return!!this.extractAnotherNationalSignificantNumber(t.getNationalDigits(),t.nationalSignificantNumber,function(e){return t.update(e)})||(this.extractIddPrefix(t)||this.fixMissingPlus(t)?(this.extractCallingCodeAndNationalSignificantNumber(t),!0):void 0)}},{key:"extractIddPrefix",value:function(t){var e=t.international,n=t.IDDPrefix,r=t.digits;if(t.nationalSignificantNumber,!e&&!n){var a=tn(r,this.defaultCountry,this.defaultCallingCode,this.metadata.metadata);if(void 0!==a&&a!==r)return t.update({IDDPrefix:r.slice(0,r.length-a.length)}),this.startInternationalNumber(t,{country:void 0,callingCode:void 0}),!0}}},{key:"fixMissingPlus",value:function(t){if(!t.international){var e=td(t.digits,this.defaultCountry,this.defaultCallingCode,this.metadata.metadata),n=e.countryCallingCode;if(e.number,n)return t.update({missingPlus:!0}),this.startInternationalNumber(t,{country:t.country,callingCode:n}),!0}}},{key:"startInternationalNumber",value:function(t,e){var n=e.country,r=e.callingCode;t.startInternationalNumber(n,r),t.nationalSignificantNumber&&(t.resetNationalSignificantNumber(),this.onNationalSignificantNumberChange(),this.hasExtractedNationalSignificantNumber=void 0)}},{key:"extractCallingCodeAndNationalSignificantNumber",value:function(t){this.extractCountryCallingCode(t)&&this.extractNationalSignificantNumber(t.getNationalDigits(),function(e){return t.update(e)})}}],function(t,e){for(var n=0;nt.length)&&(e=t.length);for(var n=0,r=Array(e);n=t.length?{done:!0}:{done:!1,value:t[r++]}}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(n);!(a=d()).done;){var o=a.value;if(r.country(o),r.leadingDigits()){if(t&&0===t.search(r.leadingDigits()))return o}else if(J({phone:t,country:o},void 0,r.metadata))return o}}function tX(t,e){var n=e.nationalNumber,r=e.defaultCountry,a=e.metadata,d=a.getCountryCodesForCallingCode(t);return d?1===d.length?d[0]:tJ(n,{countries:d,defaultCountry:r,metadata:a.metadata}):void 0}function tz(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n1}},{key:"determineTheCountry",value:function(){this.state.setCountry(tX(this.isInternational()?this.state.callingCode:this.defaultCallingCode,{nationalNumber:this.state.nationalSignificantNumber,defaultCountry:this.defaultCountry,metadata:this.metadata}))}},{key:"getNumberValue",value:function(){var t=this.state,e=t.digits,n=t.callingCode,r=t.country,a=t.nationalSignificantNumber;if(e){if(this.isInternational())return n?"+"+n+a:"+"+e;if(r||n)return"+"+(r?this.metadata.countryCallingCode():n)+a}}},{key:"getNumber",value:function(){var t=this.state,e=t.nationalSignificantNumber,n=t.carrierCode,r=t.callingCode,a=this._getCountry();if(e&&(a||r)){if(a&&a===this.defaultCountry){var d=new f(this.metadata.metadata);d.selectNumberingPlan(a);var o=d.numberingPlan.callingCode(),i=this.metadata.getCountryCodesForCallingCode(o);if(i.length>1){var u=tJ(e,{countries:i,defaultCountry:this.defaultCountry,metadata:this.metadata.metadata});u&&(a=u)}}var l=new tg(a||r,e,this.metadata.metadata);return n&&(l.carrierCode=n),l}}},{key:"isPossible",value:function(){var t=this.getNumber();return!!t&&t.isPossible()}},{key:"isValid",value:function(){var t=this.getNumber();return!!t&&t.isValid()}},{key:"getNationalNumber",value:function(){return this.state.nationalSignificantNumber}},{key:"getChars",value:function(){return(this.state.international?"+":"")+this.state.digits}},{key:"getTemplate",value:function(){return this.formatter.getTemplate(this.state)||this.getNonFormattedTemplate()||""}}],function(t,e){for(var n=0;nt.length)&&(e=t.length);for(var n=0,r=Array(e);n=t.length?{done:!0}:{done:!1,value:t[r++]}}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(t.split(""));!(e=r()).done;){var a=e.value;n+=t9(a,n)||""}return n}function t9(t,e,n){if("+"===t){if(e){"function"==typeof n&&n("end");return}return"+"}return tx[t]}function t4(t,e,n){if(!n||!n.ignoreRest)return t9(t,e,function(t){n&&"end"===t&&(n.ignoreRest=!0)})}function t8(t){var e=t.onKeyDown,n=t.inputFormat;return(0,P.useCallback)(function(t){if(t.keyCode===t6&&"INTERNATIONAL"===n&&t.target instanceof HTMLInputElement&&t.target.selectionStart===t5.length){t.preventDefault();return}e&&e(t)},[e,n])}var t6=8,t5="+",t7=["onKeyDown","country","inputFormat","metadata","international","withCountryCallingCode"];function et(){return(et=Object.assign?Object.assign.bind():function(t){for(var e=1;e=0||(a[n]=t[n]);return a}(t,e);if(Object.getOwnPropertySymbols){var d=Object.getOwnPropertySymbols(t);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(t,n)&&(a[n]=t[n])}return a}(t,t7)),u=(0,P.useCallback)(function(t){var e=new tQ(r,o),n=t0({inputFormat:a,country:r,metadata:o}),d=e.input(n+t),i=e.getTemplate();return n&&(d=t1(d,n),i&&(i=t1(i,n))),{text:d,template:i}},[r,o]),l=t8({onKeyDown:n,inputFormat:a});return P.createElement(K,et({},i,{ref:e,parse:t4,format:u,onKeyDown:l}))}return(e=P.forwardRef(e)).propTypes={value:x.string.isRequired,onChange:x.func.isRequired,onKeyDown:x.func,country:x.string,inputFormat:x.oneOf(["INTERNATIONAL","NATIONAL_PART_OF_INTERNATIONAL","NATIONAL","INTERNATIONAL_OR_NATIONAL"]).isRequired,metadata:x.object},e}();var en=["value","onChange","onKeyDown","country","inputFormat","metadata","inputComponent","international","withCountryCallingCode"];function er(){return(er=Object.assign?Object.assign.bind():function(t){for(var e=1;e=0||(a[n]=t[n]);return a}(t,e);if(Object.getOwnPropertySymbols){var d=Object.getOwnPropertySymbols(t);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(t,n)&&(a[n]=t[n])}return a}(t,en)),s=t0({inputFormat:o,country:d,metadata:u}),$=(0,P.useCallback)(function(t){var e=t3(t.target.value);e===n&&0===ed(s,e,d,u).indexOf(t.target.value)&&(e=e.slice(0,-1)),r(e)},[s,n,r,d,u]),f=t8({onKeyDown:a,inputFormat:o});return P.createElement(void 0===l?"input":l,er({},c,{ref:e,value:ed(s,n,d,u),onChange:$,onKeyDown:f}))}return(e=P.forwardRef(e)).propTypes={value:x.string.isRequired,onChange:x.func.isRequired,onKeyDown:x.func,country:x.string,inputFormat:x.oneOf(["INTERNATIONAL","NATIONAL_PART_OF_INTERNATIONAL","NATIONAL","INTERNATIONAL_OR_NATIONAL"]).isRequired,metadata:x.object,inputComponent:x.elementType},e}();function ed(t,e,n,r){var a,d,o;return t1((a=t+e,d=n,(o=r)||(o=d,d=void 0),new tQ(d,o).input(a)),t)}function eo(t){return String.fromCodePoint(127397+t.toUpperCase().charCodeAt(0))}var ei=["value","onChange","options","disabled","readOnly"],eu=["value","options","className","iconComponent","getIconAspectRatio","arrowComponent","unicodeFlags"];function el(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n=0||(a[n]=t[n]);return a}(t,e);if(Object.getOwnPropertySymbols){var d=Object.getOwnPropertySymbols(t);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(t,n)&&(a[n]=t[n])}return a}function e$(t){var e=t.value,n=t.onChange,r=t.options,a=t.disabled,d=t.readOnly,o=es(t,ei),i=(0,P.useCallback)(function(t){var e=t.target.value;n("ZZ"===e?void 0:e)},[n]);return(0,P.useMemo)(function(){return ey(r,e)},[r,e]),P.createElement("select",ec({},o,{disabled:a||d,readOnly:d,value:e||"ZZ",onChange:i}),r.map(function(t){var e=t.value,n=t.label,r=t.divider;return P.createElement("option",{key:r?"|":e||"ZZ",value:r?"|":e||"ZZ",disabled:!!r,style:r?ef:void 0},n)}))}e$.propTypes={value:x.string,onChange:x.func.isRequired,options:x.arrayOf(x.shape({value:x.string,label:x.string,divider:x.bool})).isRequired,disabled:x.bool,readOnly:x.bool};var ef={fontSize:"1px",backgroundColor:"currentColor",color:"inherit"};function ep(t){var e=t.value,n=t.options,r=t.className,a=t.iconComponent,d=(t.getIconAspectRatio,t.arrowComponent),o=void 0===d?eh:d,i=t.unicodeFlags,u=es(t,eu),l=(0,P.useMemo)(function(){return ey(n,e)},[n,e]);return P.createElement("div",{className:"PhoneInputCountry"},P.createElement(e$,ec({},u,{value:e,options:n,className:E("PhoneInputCountrySelect",r)})),l&&(i&&e?P.createElement("div",{className:"PhoneInputCountryIconUnicode"},eo(e[0])+eo(e[1])):P.createElement(a,{"aria-hidden":!0,country:e,label:l.label,aspectRatio:i?1:void 0})),P.createElement(o,null))}function eh(){return P.createElement("div",{className:"PhoneInputCountrySelectArrow"})}function ey(t,e){for(var n,r=function(t,e){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(n)return(n=n.call(t)).next.bind(n);if(Array.isArray(t)||(n=function(t,e){if(t){if("string"==typeof t)return el(t,void 0);var n=Object.prototype.toString.call(t).slice(8,-1);if("Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return el(t,void 0)}}(t))){n&&(t=n);var r=0;return function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(t);!(n=r()).done;){var a,d=n.value;if(!d.divider&&(null==(a=d.value)?null==e:a===e))return d}}ep.propTypes={iconComponent:x.elementType,arrowComponent:x.elementType,unicodeFlags:x.bool};var em=["country","countryName","flags","flagUrl"];function eg(){return(eg=Object.assign?Object.assign.bind():function(t){for(var e=1;e=0||(a[n]=t[n]);return a}(t,e);if(Object.getOwnPropertySymbols){var d=Object.getOwnPropertySymbols(t);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(t,n)&&(a[n]=t[n])}return a}(t,em);return r&&r[e]?r[e]({title:n}):P.createElement("img",eg({},d,{alt:n,role:n?void 0:"presentation",src:a.replace("{XX}",e).replace("{xx}",e.toLowerCase())}))}ev.propTypes={country:x.string.isRequired,countryName:x.string.isRequired,flags:x.objectOf(x.elementType),flagUrl:x.string.isRequired};var eb=["aspectRatio"],eC=["title"],eO=["title"];function eN(){return(eN=Object.assign?Object.assign.bind():function(t){for(var e=1;e=0||(a[n]=t[n]);return a}(t,e);if(Object.getOwnPropertySymbols){var d=Object.getOwnPropertySymbols(t);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(t,n)&&(a[n]=t[n])}return a}function eS(t){var e=t.aspectRatio,n=eP(t,eb);return 1===e?P.createElement(eI,n):P.createElement(ex,n)}function ex(t){var e=t.title,n=eP(t,eC);return P.createElement("svg",eN({},n,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 75 50"}),P.createElement("title",null,e),P.createElement("g",{className:"PhoneInputInternationalIconGlobe",stroke:"currentColor",fill:"none",strokeWidth:"2",strokeMiterlimit:"10"},P.createElement("path",{strokeLinecap:"round",d:"M47.2,36.1C48.1,36,49,36,50,36c7.4,0,14,1.7,18.5,4.3"}),P.createElement("path",{d:"M68.6,9.6C64.2,12.3,57.5,14,50,14c-7.4,0-14-1.7-18.5-4.3"}),P.createElement("line",{x1:"26",y1:"25",x2:"74",y2:"25"}),P.createElement("line",{x1:"50",y1:"1",x2:"50",y2:"49"}),P.createElement("path",{strokeLinecap:"round",d:"M46.3,48.7c1.2,0.2,2.5,0.3,3.7,0.3c13.3,0,24-10.7,24-24S63.3,1,50,1S26,11.7,26,25c0,2,0.3,3.9,0.7,5.8"}),P.createElement("path",{strokeLinecap:"round",d:"M46.8,48.2c1,0.6,2.1,0.8,3.2,0.8c6.6,0,12-10.7,12-24S56.6,1,50,1S38,11.7,38,25c0,1.4,0.1,2.7,0.2,4c0,0.1,0,0.2,0,0.2"})),P.createElement("path",{className:"PhoneInputInternationalIconPhone",stroke:"none",fill:"currentColor",d:"M12.4,17.9c2.9-2.9,5.4-4.8,0.3-11.2S4.1,5.2,1.3,8.1C-2,11.4,1.1,23.5,13.1,35.6s24.3,15.2,27.5,11.9c2.8-2.8,7.8-6.3,1.4-11.5s-8.3-2.6-11.2,0.3c-2,2-7.2-2.2-11.7-6.7S10.4,19.9,12.4,17.9z"}))}function eI(t){var e=t.title,n=eP(t,eO);return P.createElement("svg",eN({},n,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 50 50"}),P.createElement("title",null,e),P.createElement("g",{className:"PhoneInputInternationalIconGlobe",stroke:"currentColor",fill:"none",strokeWidth:"2",strokeLinecap:"round"},P.createElement("path",{d:"M8.45,13A21.44,21.44,0,1,1,37.08,41.56"}),P.createElement("path",{d:"M19.36,35.47a36.9,36.9,0,0,1-2.28-13.24C17.08,10.39,21.88.85,27.8.85s10.72,9.54,10.72,21.38c0,6.48-1.44,12.28-3.71,16.21"}),P.createElement("path",{d:"M17.41,33.4A39,39,0,0,1,27.8,32.06c6.62,0,12.55,1.5,16.48,3.86"}),P.createElement("path",{d:"M44.29,8.53c-3.93,2.37-9.86,3.88-16.49,3.88S15.25,10.9,11.31,8.54"}),P.createElement("line",{x1:"27.8",y1:"0.85",x2:"27.8",y2:"34.61"}),P.createElement("line",{x1:"15.2",y1:"22.23",x2:"49.15",y2:"22.23"})),P.createElement("path",{className:"PhoneInputInternationalIconPhone",stroke:"transparent",fill:"currentColor",d:"M9.42,26.64c2.22-2.22,4.15-3.59.22-8.49S3.08,17,.93,19.17c-2.49,2.48-.13,11.74,9,20.89s18.41,11.5,20.89,9c2.15-2.15,5.91-4.77,1-8.71s-6.27-2-8.49.22c-1.55,1.55-5.48-1.69-8.86-5.08S7.87,28.19,9.42,26.64Z"}))}function ew(t){!function(t){if(t.length<2||"+"!==t[0])return!1;for(var e=1;e=48)||!(n<=57))return!1;e++}return!0}(t)&&console.error("[react-phone-number-input] Expected the initial `value` to be a E.164 phone number. Got",t)}function eE(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n=0||(a[n]=t[n]);return a}(t,e);if(Object.getOwnPropertySymbols){var d=Object.getOwnPropertySymbols(t);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(t,n)&&(a[n]=t[n])}return a}(t,ek),l=a===eS?i:void 0;return P.createElement("div",eR({},u,{className:E("PhoneInputCountryIcon",{"PhoneInputCountryIcon--square":1===l,"PhoneInputCountryIcon--border":d})}),d?P.createElement(r,{country:d,countryName:o,flags:e,flagUrl:n,className:"PhoneInputCountryIconImg"}):P.createElement(a,{title:o,aspectRatio:l,className:"PhoneInputCountryIconImg"}))}return d.propTypes={country:x.string,label:x.string.isRequired,aspectRatio:x.number},d}function eD(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);nt.length)&&(e=t.length);for(var n=0,r=Array(e);n=t.length)return"";var r=t.indexOf(";",n);return r>=0?t.substring(n,r):t.substring(n)}(t);if(!(null===r||0!==r.length&&(e0.test(r)||e1.test(r))))throw new eH("NOT_A_NUMBER");if(null===r)a=n(t)||"";else{a="","+"===r.charAt(0)&&(a+=r);var a,d,o=t.indexOf(e2);d=o>=0?o+e2.length:0;var i=t.indexOf(e3);a+=t.substring(d,i)}var u=a.indexOf(";isub=");if(u>0&&(a=a.substring(0,u)),""!==a)return a}(t,{extractFormattedPhoneNumber:function(t){return function(t,e,n){if(t){if(t.length>250){if(n)throw new eH("TOO_LONG");return}if(!1===e)return t;var r=t.search(e9);if(!(r<0))return t.slice(r).replace(e4,"")}}(t,n,e)}});if(!r)return{};if(!(r.length>=2&&eX.test(r)))return eY.test(r)?{error:"TOO_SHORT"}:{};var a=function(t){var e=t.search(ez);if(e<0)return{};for(var n=t.slice(0,e),r=t.match(ez),a=1;a17){if(e.v2)throw new eH("TOO_LONG");return{}}if(e.v2){var h=new tg(s,c,n.metadata);return l&&(h.country=l),p&&(h.carrierCode=p),o&&(h.ext=o),h.__countryCallingCodeSource=$,h}var y=(e.extended?!!n.hasSelectedNumberingPlan():!!l)&&Z(c,n.nationalNumberPattern());return e.extended?{country:l,countryCallingCode:s,carrierCode:p,valid:y,possible:!!y||!!(!0===e.extended&&n.possibleLengths()&&H(c,n)),phone:c,ext:o}:y?(r={country:l,phone:c},o&&(r.ext=o),r):{}}(t,e6(e6({},r),{},{v2:!0}),n)}catch(t){if(t instanceof eH);else throw t}}(t.text,t.options,t.metadata)}(t||"",e)}function nn(t,e,n){if(t){if("+"===t[0]){if("+"===t)return;var r=new tQ(e,n);return r.input(t),r.getNumberValue()}if(e){var a=no(t,e,n);return"+".concat(C(e,n)).concat(a||"")}}}function nr(t,e){var n,r=e.country,a=e.countries,d=e.defaultCountry,o=e.latestCountrySelectedByUser,i=e.required,u=e.metadata;if("+"===t)return r;var l=((n=new tQ(null,u)).input(t),n.getCountry());if(l)return!a||a.indexOf(l)>=0?l:void 0;if(r){if(ni(t,r,u)){if(o&&ni(t,o,u))return o;if(d&&ni(t,d,u))return d;if(!i)return}else if(!i)return}return r}function na(t,e,n){if(0!==t.indexOf(nt(e,n)))return t.replace(/\D/g,"");var r=new tQ(e,n);r.input(t);var a=r.getNumber();return a?a.formatNational().replace(/\D/g,""):""}function nd(t,e,n){return String.prototype.localeCompare?t.localeCompare(e,n):te?1:0}function no(t,e,n){var r=new tQ(e,n);r.input(t);var a=r.getNumber();return a&&a.nationalNumber}function ni(t,e,n){for(var r=nt(e,n),a=0;a=t.length?{done:!0}:{done:!1,value:t[r++]}}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(t);!(n=r()).done;){var a=n.value;a&&("function"==typeof a?a(e):a.current=e)}})([p.props.inputRef,p.inputRef],t)}),nO(p,"isCountrySupportedWithError",function(t){return eA(t,p.props.metadata)}),nO(p,"onCountryChange",function(t){var e=p.props,n=e.international,r=e.metadata,a=e.onChange,d=e.focusInputOnCountrySelection,o=p.state,i=function(t,e){var n=e.prevCountry,r=e.newCountry,a=e.metadata,d=e.useNationalFormat;if(n===r)return t;if(!t)return d?"":r?nt(r,a):"";if(r){if("+"===t[0]){if(d)return 0===t.indexOf("+"+C(r,a))?function(t,e,n){if(e){var r="+"+C(e,n);if(t.length0)return t.slice(0,t.length-d)}return t}(t,a,p)),t&&"+"!==t[0]&&(!a||c)&&(t="+"+t),!t&&r&&"+"===r[0]&&(a=c?void 0:d),"+"===t&&r&&"+"===r[0]&&r.length>1&&(a=void 0),t&&(n="+"===t[0]?"+"===t?void 0:a&&0===nt(a,p).indexOf(t)?void 0:nn(t,a,p):nn(t,a,p)),n&&(a=nr(n,{country:a,countries:l,defaultCountry:d,latestCountrySelectedByUser:o,required:!1,metadata:p}),!1===c&&a&&t&&"+"===t[0]&&(n=nn(t=na(t,a,p),a,p))),!a&&i&&(a=d||u()),{phoneDigits:t,country:a,value:n}}(t,{prevPhoneDigits:s,country:$,countryRequired:!a,defaultCountry:n,latestCountrySelectedByUser:h,getAnyCountry:function(){return p.getFirstSupportedCountry({countries:c})},countries:c,international:d,limitMaxLength:o,countryCallingCodeEditable:i,metadata:u}),m=y.phoneDigits,g=y.country,v=y.value,b={phoneDigits:m,value:v,country:g};h&&v&&!ni(v,h,u)&&(b.latestCountrySelectedByUser=void 0),!1!==i||v||m!==p.state.phoneDigits||(b.forceRerender={}),p.setState(b,function(){return r(v)})}),nO(p,"_onFocus",function(){return p.setState({isFocused:!0})}),nO(p,"_onBlur",function(){return p.setState({isFocused:!1})}),nO(p,"onFocus",function(t){p._onFocus();var e=p.props.onFocus;e&&e(t)}),nO(p,"onBlur",function(t){var e=p.props.onBlur;p._onBlur(),e&&e(t)}),nO(p,"onCountryFocus",function(t){p._onFocus();var e=p.props.countrySelectProps;if(e){var n=e.onFocus;n&&n(t)}}),nO(p,"onCountryBlur",function(t){p._onBlur();var e=p.props.countrySelectProps;if(e){var n=e.onBlur;n&&n(t)}}),p.inputRef=P.createRef();var e,n,a,d,o,i,u,l,c,s,$,p,h=p.props,y=h.value,m=(h.labels,h.international),g=h.addInternationalOption,v=h.displayInitialValueAsLocalNumber,b=h.initialValueFormat,O=h.metadata,N=p.props,S=N.defaultCountry,x=N.countries;S&&!p.isCountrySupportedWithError(S)&&(S=void 0),y&&ew(y),x=ej(x,O);var I=ne(y,O);p.CountryIcon=eM(p.props);var w=(a=(e={value:y,phoneNumber:I,defaultCountry:S,required:!g,countries:x||eT(O),getAnyCountry:function(){return p.getFirstSupportedCountry({countries:x})},metadata:O}).value,d=e.phoneNumber,o=e.defaultCountry,i=e.getAnyCountry,u=e.countries,l=e.required,c=e.metadata,d&&d.country?n=d.country:o&&(!a||ni(a,o,c))&&(n=o),u&&0>u.indexOf(n)&&(n=void 0),!n&&l&&u&&u.length>0&&(n=i()),n);return p.state={props:p.props,country:w,countries:x,phoneDigits:nu({value:y,phoneNumber:I,defaultCountry:S,international:m,useNationalFormat:v||"national"===b,metadata:O}),value:y},p}return!function(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&nC(t,e)}(r,t),e=[{key:"componentDidMount",value:function(){var t=this.props.onCountryChange,e=this.props.defaultCountry,n=this.state.country;t&&(e&&!this.isCountrySupportedWithError(e)&&(e=void 0),n!==e&&t(n))}},{key:"componentDidUpdate",value:function(t,e){var n=this.props.onCountryChange,r=this.state.country;n&&r!==e.country&&n(r)}},{key:"getCountrySelectOptions",value:function(t){var e=t.countries,n=this.props,r=n.international,a=n.countryCallingCodeEditable,d=n.countryOptionsOrder,o=n.addInternationalOption,i=n.labels,u=n.locales,l=n.metadata;return this.useMemoCountrySelectOptions(function(){var t,n,c,s,$,f,p;return function(t,e){if(!e)return t;for(var n,r=[],a=[],d=r,o=function(t,e){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(n)return(n=n.call(t)).next.bind(n);if(Array.isArray(t)||(n=function(t,e){if(t){if("string"==typeof t)return eE(t,void 0);var n=Object.prototype.toString.call(t).slice(8,-1);if("Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return eE(t,void 0)}}(t))){n&&(t=n);var r=0;return function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(e);!(n=o()).done;)!function(){var e=n.value;if("|"===e)d.push({divider:!0});else if("..."===e||"…"===e)d=a;else{r="\uD83C\uDF10"===e?void 0:e;var r,o=t.indexOf(t.filter(function(t){return t.value===r})[0]),i=t[o];t.splice(o,1),d.push(i)}}();return r.concat(t).concat(a)}((n=(t={countries:e||eT(l),countryNames:i,addInternationalOption:(!r||!1!==a)&&o,compareStringsLocales:u}).countries,c=t.countryNames,s=t.addInternationalOption,$=t.compareStringsLocales,(f=t.compareStrings)||(f=nd),(p=n.map(function(t){return{value:t,label:c[t]||t}})).sort(function(t,e){return f(t.label,e.label,$)}),s&&p.unshift({label:c.ZZ}),p),function(t,e){if(t&&(t=t.filter(function(t){switch(t){case"\uD83C\uDF10":case"|":case"...":case"…":return!0;default:return eA(t,e)}})).length>0)return t}(d,l))},[e,d,o,i,l])}},{key:"useMemoCountrySelectOptions",value:function(t,e){return this.countrySelectOptionsMemoDependencies&&function(t,e){if(t.length!==e.length)return!1;for(var n=0;n=0||(a[n]=t[n]);return a}(t,e);if(Object.getOwnPropertySymbols){var d=Object.getOwnPropertySymbols(t);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(t,n)&&(a[n]=t[n])}return a}(t,nf)),g=this.state,v=g.country,b=g.countries,C=g.phoneDigits,O=g.isFocused,N=this.getCountrySelectOptions({countries:b});return P.createElement($,nm({style:d,className:E(o,"PhoneInput",{"PhoneInput--focus":O,"PhoneInput--disabled":n,"PhoneInput--readOnly":r})},f),P.createElement(c,nm({name:e?"".concat(e,"Country"):void 0,"aria-label":p.country},s,{value:v,options:N,onChange:this.onCountryChange,onFocus:this.onCountryFocus,onBlur:this.onCountryBlur,disabled:n||s&&s.disabled,readOnly:r||s&&s.readOnly,iconComponent:this.CountryIcon})),P.createElement(l?ee:ea,nm({ref:this.setInputRef,type:"tel",autoComplete:a},u,m,{inputFormat:!0===y?"INTERNATIONAL":!1===y?"NATIONAL":"INTERNATIONAL_OR_NATIONAL",international:!!y||void 0,withCountryCallingCode:!!y||void 0,name:e,metadata:h,country:v,value:C||"",onChange:this.onChange,onFocus:this.onFocus,onBlur:this.onBlur,disabled:n,readOnly:r,inputComponent:i,className:E("PhoneInputInput",u&&u.className,m.className)})))}}],n=[{key:"getDerivedStateFromProps",value:function(t,e){return ny({props:t},function(t,e,n){var r=t.metadata,a=t.countries,d=t.defaultCountry,o=t.value,i=t.reset,u=t.international,l=t.displayInitialValueAsLocalNumber,c=t.initialValueFormat,s=e.defaultCountry,$=e.value,f=e.reset;n.country;var p=n.value,h=n.hasUserSelectedACountry,y=n.latestCountrySelectedByUser,m=function(t){return nu(ns(ns({},t),{},{international:u,useNationalFormat:l||"national"===c,metadata:r}))};if(i!==f)return{phoneDigits:m({value:void 0,defaultCountry:d}),value:void 0,country:d,latestCountrySelectedByUser:void 0,hasUserSelectedACountry:void 0};if(d!==s){var g=!d||eA(d,r),v=!p||u&&p===m({value:void 0,defaultCountry:s}),b=!o&&v;if(!h&&g&&b)return{country:d,phoneDigits:m({value:void 0,defaultCountry:d}),value:void 0}}if(!n$(o,$)&&!n$(o,p)){if(o){o&&ew(o),C=ne(o,r);var C,O,N,P=ej(a,r);C&&C.country?(!P||P.indexOf(C.country)>=0)&&(O=C.country):(O=nr(o,{country:void 0,countries:P,metadata:r}))||!d||0!==o.indexOf(nt(d,r))||(O=d)}return o?y&&((O?y===O:ni(o,y,r))?O||(O=y):N={latestCountrySelectedByUser:void 0}):N={latestCountrySelectedByUser:void 0,hasUserSelectedACountry:void 0},ns(ns({},N),{},{phoneDigits:m({phoneNumber:C,value:o,defaultCountry:d}),value:o,country:o?O:d})}}(t,e.props,e))}}],e&&ng(r.prototype,e),n&&ng(r,n),Object.defineProperty(r,"prototype",{writable:!1}),r}(P.PureComponent),nS=P.forwardRef(function(t,e){return P.createElement(nP,nm({},function(t){for(var e in t=ny({},t),nx)void 0===t[e]&&(t[e]=nx[e]);return t}(t),{inputRef:e}))});nS.propTypes={value:x.string,onChange:x.func.isRequired,onFocus:x.func,onBlur:x.func,disabled:x.bool,readOnly:x.bool,autoComplete:x.string,initialValueFormat:x.oneOf(["national"]),displayInitialValueAsLocalNumber:x.bool,defaultCountry:x.string,countries:x.arrayOf(x.string),labels:w,locales:x.oneOfType([x.string,x.arrayOf(x.string)]),flagUrl:x.string,flags:x.objectOf(x.elementType),flagComponent:x.elementType,addInternationalOption:x.bool,internationalIcon:x.elementType,countryOptionsOrder:x.arrayOf(x.string),style:x.object,className:x.string,countrySelectComponent:x.elementType,countrySelectProps:x.object,inputComponent:x.elementType,numberInputProps:x.object,containerComponent:x.elementType,containerComponentProps:x.object,smartCaret:x.bool,international:x.bool,limitMaxLength:x.bool,countryCallingCodeEditable:x.bool,metadata:I,onCountryChange:x.func,focusInputOnCountrySelection:x.bool};var nx={autoComplete:"tel",countrySelectComponent:ep,flagComponent:ev,flagUrl:"https://purecatamphetamine.github.io/country-flag-icons/3x2/{XX}.svg",internationalIcon:eS,inputComponent:"input",containerComponent:"div",reset:x.any,smartCaret:!0,addInternationalOption:!0,countryCallingCodeEditable:!0,focusInputOnCountrySelection:!0},nI=["metadata","labels"];function nw(){return(nw=Object.assign?Object.assign.bind():function(t){for(var e=1;e=0||(a[n]=t[n]);return a}(t,e);if(Object.getOwnPropertySymbols){var d=Object.getOwnPropertySymbols(t);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(t,n)&&(a[n]=t[n])}return a}(e,nI);return P.createElement(nS,nw({},i,{ref:n,metadata:a,labels:o}))});return e.propTypes={metadata:I,labels:w},e}nE();let nA=nE(r);function nj(){return function(t,e){var n=Array.prototype.slice.call(e);return n.push(r),t.apply(this,n)}(C,arguments)}}}]); \ No newline at end of file diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/about/page-079c1f16ed5f1bf0.js b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/about/page-079c1f16ed5f1bf0.js new file mode 100644 index 0000000..6a932ee --- /dev/null +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/about/page-079c1f16ed5f1bf0.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6655],{96520:(e,s,a)=>{Promise.resolve().then(a.bind(a,51228))},51228:(e,s,a)=>{"use strict";a.r(s),a.d(s,{default:()=>x});var l=a(20475),r=a(20107),n=a(72167);let i=()=>{let[e,s]=(0,r.useState)(null),[a,l]=(0,r.useState)(!0),n=(0,r.useCallback)(async()=>{try{let e=await fetch("/cgi-bin/quecmanager/settings/device-uptime.sh"),a=await e.json();s(e=>e?{...e,deviceUptime:a.uptime.formatted||"N/A"}:e)}catch(e){console.error("Error fetching uptime:",e)}},[]),i=(0,r.useCallback)(async()=>{try{l(!0);let[e,a]=await Promise.all([fetch("/cgi-bin/quecmanager/at_cmd/fetch_data.sh?set=3"),fetch("/cgi-bin/quecmanager/settings/device-uptime.sh")]),[r,n]=await Promise.all([e.json(),a.json()]),i={manufacturer:r[0].response.split("\n")[1].trim(),model:r[1].response.split("\n")[1].trim(),firmwareVersion:r[2].response.split("\n")[1].trim(),phoneNum:r[3].response.split("\n")[1].split(":")[1].split(",")[1].replace(/"/g,"").trim(),imsi:r[4].response.split("\n")[1].trim(),iccid:r[5].response.split("\n")[1].split(":")[1].trim(),imei:r[6].response.split("\n")[1].trim(),currentDeviceIP:r[7].response.split("\n")[1].split(",")[1].replace(/"/g,"").trim(),lanGateway:r[7].response.split("\n")[1].split(":")[1].split(",")[3].replace(/"/g,"").trim(),wwanIPv4:r[8].response.split("\n")[1].split(":")[1].split(",")[4].replace(/"/g,"").trim(),wwanIPv6:r[8].response.split("\n")[2].split(",")[4].replace(/"/g,"").trim(),lteCategory:r[9].response.split("\n")[5].split(":")[2].trim(),deviceUptime:n.uptime.formatted||"N/A",LTE3GppRel:r[10].response.split("\n")[1].split(":")[1].split(",")[1].replace(/R/g,"").trim(),NR3GppRel:r[10].response.split("\n")[1].split(":")[1].split(",")[2].replace(/R/g,"").trim()};s(i)}catch(e){console.error("Error fetching data:",e)}l(!1)},[]);return(0,r.useEffect)(()=>{i();let e=setInterval(n,1e3);return()=>{clearInterval(e)}},[i,n]),{data:e,isLoading:a,fetchAboutData:i}};var t=a(36824),d=a(36760),c=a(42541),m=a(51589),o=a(54385);let x=()=>{let{data:e,isLoading:s}=i(),[a,x]=r.useState(!1);return(0,l.jsxs)(n.Zp,{children:[(0,l.jsxs)(n.aR,{children:[(0,l.jsx)(n.ZB,{children:"QuecManager"}),(0,l.jsx)("div",{className:"grid xl:gap-y-10 gap-y-8 gap-4",children:(0,l.jsx)("div",{className:"grid gap-4",children:(0,l.jsxs)("div",{className:"flex flex-row justify-between items-center",children:[(0,l.jsx)("div",{className:"flex flex-row items-center gap-x-2",children:(0,l.jsx)(n.BT,{children:"What is QuecManager and how it can help you."})}),(0,l.jsx)("div",{className:"flex flex-row items-center gap-x-2",children:(0,l.jsxs)(c.$,{onClick:()=>x(e=>!e),children:[a?(0,l.jsx)(m.A,{className:"xl:size-6 size-5"}):(0,l.jsx)(o.A,{className:"xl:size-6 size-5"}),(0,l.jsxs)("span",{className:"hidden md:block",children:[a?"Show":"Hide"," Sensitive Data"]})]})})]})})})]}),(0,l.jsxs)(n.Wu,{className:"grid lg:grid-cols-2 grid-cols-1 grid-flow-row gap-8",children:[(0,l.jsxs)(n.Zp,{children:[(0,l.jsxs)(n.aR,{children:[(0,l.jsx)(n.ZB,{children:"Device Technical Details"}),(0,l.jsx)(n.BT,{children:"View technical details of your device."})]}),(0,l.jsx)(n.Wu,{children:(0,l.jsxs)(t.F,{className:"w-full",children:[(0,l.jsxs)("div",{className:"grid md:gap-2 gap-4",children:[(0,l.jsxs)("div",{className:"flex md:flex-row flex-col md:items-center justify-between",children:[(0,l.jsx)("span",{children:"Modem Manufacturer"}),(0,l.jsx)("span",{className:"font-semibold max-w-32 md:max-w-full truncate",children:s?(0,l.jsx)(d.E,{className:"h-4 w-32"}):(0,l.jsx)(l.Fragment,{children:(null==e?void 0:e.manufacturer)||"N/A"})})]}),(0,l.jsxs)("div",{className:"flex md:flex-row flex-col md:items-center justify-between",children:[(0,l.jsx)("span",{children:"Modem Model"}),(0,l.jsx)("span",{className:"font-semibold max-w-32 md:max-w-full truncate",children:s?(0,l.jsx)(d.E,{className:"h-4 w-32"}):(0,l.jsx)(l.Fragment,{children:(null==e?void 0:e.model)||"N/A"})})]}),(0,l.jsxs)("div",{className:"flex md:flex-row flex-col md:items-center justify-between",children:[(0,l.jsx)("span",{children:"LTE 3GPP Release Version"}),(0,l.jsx)("span",{className:"font-semibold max-w-32 md:max-w-full truncate",children:s?(0,l.jsx)(d.E,{className:"h-4 w-32"}):(0,l.jsxs)(l.Fragment,{children:["Release ",(null==e?void 0:e.LTE3GppRel)||"N/A"]})})]}),(0,l.jsxs)("div",{className:"flex md:flex-row flex-col md:items-center justify-between",children:[(0,l.jsx)("span",{children:"NR5G 3GPP Release Version"}),(0,l.jsx)("span",{className:"font-semibold max-w-32 md:max-w-full truncate",children:s?(0,l.jsx)(d.E,{className:"h-4 w-32"}):(0,l.jsxs)(l.Fragment,{children:["Release ",(null==e?void 0:e.NR3GppRel)||"N/A"]})})]}),(0,l.jsxs)("div",{className:"flex md:flex-row flex-col md:items-center justify-between",children:[(0,l.jsx)("span",{children:"Firmware Revision"}),(0,l.jsx)("span",{className:"font-semibold max-w-32 md:max-w-full truncate",children:s?(0,l.jsx)(d.E,{className:"h-4 w-32"}):(0,l.jsx)(l.Fragment,{children:(null==e?void 0:e.firmwareVersion)||"N/A"})})]}),(0,l.jsxs)("div",{className:"flex md:flex-row flex-col md:items-center justify-between",children:[(0,l.jsx)("span",{children:"LTE Category"}),(0,l.jsx)("span",{className:"font-semibold max-w-32 md:max-w-full truncate",children:s?(0,l.jsx)(d.E,{className:"h-4 w-32"}):(0,l.jsxs)(l.Fragment,{children:["CAT-",(null==e?void 0:e.lteCategory)||"N/A"]})})]}),(0,l.jsxs)("div",{className:"flex md:flex-row flex-col md:items-center justify-between",children:[(0,l.jsx)("span",{children:"Active Phone Number"}),(0,l.jsx)("span",{className:"font-semibold max-w-32 md:max-w-full truncate",children:s?(0,l.jsx)(d.E,{className:"h-4 w-32"}):a?(0,l.jsx)("div",{className:"border-none bg-gray-600 rounded-md h-5 md:w-36 w-24"}):(0,l.jsx)(l.Fragment,{children:(null==e?void 0:e.phoneNum)||"N/A"})})]}),(0,l.jsxs)("div",{className:"flex md:flex-row flex-col md:items-center justify-between",children:[(0,l.jsx)("span",{children:"Active IMSI"}),(0,l.jsx)("span",{className:"font-semibold max-w-32 md:max-w-full truncate",children:s?(0,l.jsx)(d.E,{className:"h-4 w-32"}):a?(0,l.jsx)("div",{className:"border-none bg-gray-600 rounded-md h-5 md:w-36 w-24"}):(0,l.jsx)(l.Fragment,{children:(null==e?void 0:e.imsi)||"N/A"})})]}),(0,l.jsxs)("div",{className:"flex md:flex-row flex-col md:items-center justify-between",children:[(0,l.jsx)("span",{children:"Active ICCID"}),(0,l.jsx)("span",{className:"font-semibold max-w-32 md:max-w-full truncate",children:s?(0,l.jsx)(d.E,{className:"h-4 w-32"}):a?(0,l.jsx)("div",{className:"border-none bg-gray-600 rounded-md h-5 md:w-36 w-24"}):(0,l.jsx)(l.Fragment,{children:(null==e?void 0:e.iccid)||"N/A"})})]}),(0,l.jsxs)("div",{className:"flex md:flex-row flex-col md:items-center justify-between",children:[(0,l.jsx)("span",{children:"IMEI"}),(0,l.jsx)("span",{className:"font-semibold max-w-32 md:max-w-full truncate",children:s?(0,l.jsx)(d.E,{className:"h-4 w-32"}):a?(0,l.jsx)("div",{className:"border-none bg-gray-600 rounded-md h-5 md:w-36 w-24"}):(0,l.jsx)(l.Fragment,{children:(null==e?void 0:e.imei)||"N/A"})})]}),(0,l.jsxs)("div",{className:"flex md:flex-row flex-col md:items-center justify-between",children:[(0,l.jsx)("span",{children:"Current Device IP"}),(0,l.jsx)("span",{className:"font-semibold max-w-32 md:max-w-full truncate",children:s?(0,l.jsx)(d.E,{className:"h-4 w-32"}):(0,l.jsx)(l.Fragment,{children:(null==e?void 0:e.currentDeviceIP)||"N/A"})})]}),(0,l.jsxs)("div",{className:"flex md:flex-row flex-col md:items-center justify-between",children:[(0,l.jsx)("span",{children:"LAN Gateway"}),(0,l.jsx)("span",{className:"font-semibold max-w-32 md:max-w-full truncate",children:s?(0,l.jsx)(d.E,{className:"h-4 w-32"}):(0,l.jsx)(l.Fragment,{children:(null==e?void 0:e.lanGateway)||"N/A"})})]}),(0,l.jsxs)("div",{className:"flex md:flex-row flex-col md:items-center justify-between",children:[(0,l.jsx)("span",{children:"WWAN IPv4"}),(0,l.jsx)("span",{className:"font-semibold max-w-32 md:max-w-full truncate",children:s?(0,l.jsx)(d.E,{className:"h-4 w-32"}):a?(0,l.jsx)("div",{className:"border-none bg-gray-600 rounded-md h-5 md:w-36 w-24"}):(0,l.jsx)(l.Fragment,{children:(null==e?void 0:e.wwanIPv4)||"N/A"})})]}),(0,l.jsxs)("div",{className:"flex md:flex-row flex-col md:items-center justify-between",children:[(0,l.jsx)("span",{children:"WWAN IPv6"}),(0,l.jsx)("span",{className:"font-semibold max-w-32 md:max-w-full truncate",children:s?(0,l.jsx)(d.E,{className:"h-4 w-32"}):a?(0,l.jsx)("div",{className:"border-none bg-gray-600 rounded-md h-5 md:w-36 w-24"}):(0,l.jsx)(l.Fragment,{children:(null==e?void 0:e.wwanIPv6)||"N/A"})})]}),(0,l.jsxs)("div",{className:"flex md:flex-row flex-col md:items-center justify-between",children:[(0,l.jsx)("span",{children:"Device Uptime"}),(0,l.jsx)("span",{className:"font-semibold max-w-32 md:max-w-full truncate",children:s?(0,l.jsx)(d.E,{className:"h-4 w-32"}):(0,l.jsx)(l.Fragment,{children:(null==e?void 0:e.deviceUptime)||"N/A"})})]})]}),(0,l.jsx)(t.$,{orientation:"horizontal"})]})})]}),(0,l.jsxs)(n.Zp,{children:[(0,l.jsxs)(n.aR,{children:[(0,l.jsx)(n.ZB,{children:"About Us"}),(0,l.jsx)(n.BT,{children:"Who we are and what we do."})]}),(0,l.jsxs)(n.Wu,{className:"space-y-6",children:[(0,l.jsxs)("div",{className:"grid gap-2",children:[(0,l.jsx)("h1",{className:"text-xl font-bold antialiased",children:"QuecManager"}),(0,l.jsx)("p",{className:"text-md font-medium antialiased",children:"QuecManager is a modern dashboard for managing and monitoring cellular modems, evolved from its roots as 'Simple Admin' in the RGMII toolkit. The application provides real-time insights into signal metrics, carrier aggregation, network addressing, and band-specific performance while offering intuitive controls for modem configuration. With its comprehensive feature set and clean interface, QuecManager transforms complex cellular technology into an accessible experience for both technical users and those simply looking to optimize their connectivity. Our mission remains focused on delivering powerful monitoring and management capabilities without sacrificing usability or visual clarity."})]}),(0,l.jsxs)("div",{children:[(0,l.jsx)("h1",{className:"text-xl font-bold antialiased",children:"Thanks to"}),(0,l.jsxs)("ul",{className:"list-disc list-inside text-md font-medium antialiased",children:[(0,l.jsxs)("li",{children:["RGMII Toolkit, Documentation, and Backend",(0,l.jsx)("a",{href:"https://github.com/iamromulan",target:"_blank",className:"text-primary font-semibold ml-2",children:"iamromulan"})]}),(0,l.jsxs)("li",{children:["Simple Admin 2.0 and QuecManager Scripts & GUI",(0,l.jsx)("a",{href:"https://github.com/dr-dolomite",target:"_blank",className:"text-primary font-semibold ml-2",children:"dr-dolomite"})]}),(0,l.jsxs)("li",{children:["QuecManager Scripts & GUI Improvements",(0,l.jsx)("a",{href:"https://github.com/clndwhr",target:"_blank",className:"text-primary font-semibold ml-2",children:"clndwhr"})]}),(0,l.jsxs)("li",{children:["Original Simple Admin",(0,l.jsx)("a",{href:"https://github.com/aesthernr",target:"_blank",className:"text-primary font-semibold ml-2",children:"aesthernr"})]}),(0,l.jsxs)("li",{children:["Original Socat Bridge",(0,l.jsx)("a",{href:"https://github.com/natecarlson",target:"_blank",className:"text-primary font-semibold ml-2",children:"natecarlson"})]}),(0,l.jsx)("li",{children:"Wutang Clan"})]}),(0,l.jsxs)("div",{className:"mt-2 gap-y-1",children:[(0,l.jsxs)("p",{children:["Check the Quecmanager project",(0,l.jsx)("a",{href:"https://github.com/dr-dolomite/QuecManager-JS",target:"_blank",className:"text-primary font-semibold ml-1",children:"here"})]}),(0,l.jsxs)("p",{children:["Check the toolkit project",(0,l.jsx)("a",{href:"https://github.com/iamromulan/quectel-rgmii-toolkit",target:"_blank",className:"text-primary font-semibold ml-1",children:"here"})]})]})]})]})]})]}),(0,l.jsx)(n.wL,{className:"flex justify-center",children:(0,l.jsx)("p",{children:"QuecManager \xa9 2024 - For Personal Use Only. All rights reserved."})})]})}},42541:(e,s,a)=>{"use strict";a.d(s,{$:()=>c,r:()=>d});var l=a(20475),r=a(20107),n=a(61837),i=a(29395),t=a(22250);let d=(0,i.F)("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{variants:{variant:{default:"bg-primary text-primary-foreground shadow hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90",outline:"border border-input bg-background shadow-sm hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2",sm:"h-8 rounded-md px-3 text-xs",lg:"h-10 rounded-md px-8",icon:"h-9 w-9"}},defaultVariants:{variant:"default",size:"default"}}),c=r.forwardRef((e,s)=>{let{className:a,variant:r,size:i,asChild:c=!1,...m}=e,o=c?n.DX:"button";return(0,l.jsx)(o,{className:(0,t.cn)(d({variant:r,size:i,className:a})),ref:s,...m})});c.displayName="Button"},72167:(e,s,a)=>{"use strict";a.d(s,{BT:()=>c,Wu:()=>m,ZB:()=>d,Zp:()=>i,aR:()=>t,wL:()=>o});var l=a(20475),r=a(20107),n=a(22250);let i=r.forwardRef((e,s)=>{let{className:a,...r}=e;return(0,l.jsx)("div",{ref:s,className:(0,n.cn)("rounded-xl border bg-card text-card-foreground shadow",a),...r})});i.displayName="Card";let t=r.forwardRef((e,s)=>{let{className:a,...r}=e;return(0,l.jsx)("div",{ref:s,className:(0,n.cn)("flex flex-col space-y-1.5 p-6",a),...r})});t.displayName="CardHeader";let d=r.forwardRef((e,s)=>{let{className:a,...r}=e;return(0,l.jsx)("h3",{ref:s,className:(0,n.cn)("font-semibold leading-none tracking-tight",a),...r})});d.displayName="CardTitle";let c=r.forwardRef((e,s)=>{let{className:a,...r}=e;return(0,l.jsx)("p",{ref:s,className:(0,n.cn)("text-sm text-muted-foreground",a),...r})});c.displayName="CardDescription";let m=r.forwardRef((e,s)=>{let{className:a,...r}=e;return(0,l.jsx)("div",{ref:s,className:(0,n.cn)("p-6 pt-0",a),...r})});m.displayName="CardContent";let o=r.forwardRef((e,s)=>{let{className:a,...r}=e;return(0,l.jsx)("div",{ref:s,className:(0,n.cn)("flex items-center p-6 pt-0",a),...r})});o.displayName="CardFooter"},36824:(e,s,a)=>{"use strict";a.d(s,{$:()=>d,F:()=>t});var l=a(20475),r=a(20107),n=a(89679),i=a(22250);let t=r.forwardRef((e,s)=>{let{className:a,children:r,...t}=e;return(0,l.jsxs)(n.bL,{ref:s,className:(0,i.cn)("relative overflow-hidden",a),...t,children:[(0,l.jsx)(n.LM,{className:"h-full w-full rounded-[inherit]",children:r}),(0,l.jsx)(d,{}),(0,l.jsx)(n.OK,{})]})});t.displayName=n.bL.displayName;let d=r.forwardRef((e,s)=>{let{className:a,orientation:r="vertical",...t}=e;return(0,l.jsx)(n.VM,{ref:s,orientation:r,className:(0,i.cn)("flex touch-none select-none transition-colors","vertical"===r&&"h-full w-2.5 border-l border-l-transparent p-[1px]","horizontal"===r&&"h-2.5 flex-col border-t border-t-transparent p-[1px]",a),...t,children:(0,l.jsx)(n.lr,{className:"relative flex-1 rounded-full bg-border"})})});d.displayName=n.VM.displayName},36760:(e,s,a)=>{"use strict";a.d(s,{E:()=>n});var l=a(20475),r=a(22250);function n(e){let{className:s,...a}=e;return(0,l.jsx)("div",{className:(0,r.cn)("animate-pulse rounded-md bg-primary/10",s),...a})}},22250:(e,s,a)=>{"use strict";a.d(s,{cn:()=>n});var l=a(64901),r=a(868);function n(){for(var e=arguments.length,s=Array(e),a=0;a{var s=s=>e(e.s=s);e.O(0,[7780,9679,8371,191,6035,7358],()=>s(96520)),_N_E=e.O()}]); \ No newline at end of file diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/about/page-e3585b7a2d76b411.js b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/about/page-e3585b7a2d76b411.js deleted file mode 100644 index 00d950c..0000000 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/about/page-e3585b7a2d76b411.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6655],{96520:(e,s,r)=>{Promise.resolve().then(r.bind(r,51228))},51228:(e,s,r)=>{"use strict";r.r(s),r.d(s,{default:()=>u});var t=r(20475),n=r(20107),l=r(72167);let a=()=>{let[e,s]=(0,n.useState)(null),[r,t]=(0,n.useState)(!0),l=(0,n.useCallback)(async()=>{try{let e=await fetch("/cgi-bin/quecmanager/settings/device-uptime.sh"),r=await e.json();s(e=>e?{...e,deviceUptime:r.uptime.formatted||"N/A"}:e)}catch(e){console.error("Error fetching uptime:",e)}},[]),a=(0,n.useCallback)(async()=>{try{t(!0);let[e,r]=await Promise.all([fetch("/cgi-bin/quecmanager/at_cmd/fetch_data.sh?set=3"),fetch("/cgi-bin/quecmanager/settings/device-uptime.sh")]),[n,l]=await Promise.all([e.json(),r.json()]),a={manufacturer:n[0].response.split("\n")[1].trim(),model:n[1].response.split("\n")[1].trim(),firmwareVersion:n[2].response.split("\n")[1].trim(),phoneNum:n[3].response.split("\n")[1].split(":")[1].split(",")[1].replace(/"/g,"").trim(),imsi:n[4].response.split("\n")[1].trim(),iccid:n[5].response.split("\n")[1].split(":")[1].trim(),imei:n[6].response.split("\n")[1].trim(),currentDeviceIP:n[7].response.split("\n")[1].split(",")[1].replace(/"/g,"").trim(),lanGateway:n[7].response.split("\n")[1].split(":")[1].split(",")[3].replace(/"/g,"").trim(),wwanIPv4:n[8].response.split("\n")[1].split(":")[1].split(",")[4].replace(/"/g,"").trim(),wwanIPv6:n[8].response.split("\n")[2].split(",")[4].replace(/"/g,"").trim(),lteCategory:n[9].response.split("\n")[5].split(":")[2].trim(),deviceUptime:l.uptime.formatted||"N/A",LTE3GppRel:n[10].response.split("\n")[1].split(":")[1].split(",")[1].replace(/R/g,"").trim(),NR3GppRel:n[10].response.split("\n")[1].split(":")[1].split(",")[2].replace(/R/g,"").trim()};s(a)}catch(e){console.error("Error fetching data:",e)}t(!1)},[]);return(0,n.useEffect)(()=>{a();let e=setInterval(l,1e3);return()=>{clearInterval(e)}},[a,l]),{data:e,isLoading:r,fetchAboutData:a}};var i=r(36824),c=r(36760),d=r(42541),o=r(51589),m=r(54385);let u=()=>{let{data:e,isLoading:s}=a(),[r,u]=n.useState(!1);return(0,t.jsxs)(l.Zp,{children:[(0,t.jsxs)(l.aR,{children:[(0,t.jsx)(l.ZB,{children:"QuecManager"}),(0,t.jsx)("div",{className:"grid xl:gap-y-10 gap-y-8 gap-4",children:(0,t.jsx)("div",{className:"grid gap-4",children:(0,t.jsxs)("div",{className:"flex flex-row justify-between items-center",children:[(0,t.jsx)("div",{className:"flex flex-row items-center gap-x-2",children:(0,t.jsx)(l.BT,{children:"What is QuecManager and how it can help you."})}),(0,t.jsx)("div",{className:"flex flex-row items-center gap-x-2",children:(0,t.jsxs)(d.$,{onClick:()=>u(e=>!e),children:[r?(0,t.jsx)(o.A,{className:"xl:size-6 size-5"}):(0,t.jsx)(m.A,{className:"xl:size-6 size-5"}),(0,t.jsxs)("span",{className:"hidden md:block",children:[r?"Show":"Hide"," Sensitive Data"]})]})})]})})})]}),(0,t.jsxs)(l.Wu,{className:"grid lg:grid-cols-2 grid-cols-1 grid-flow-row gap-8",children:[(0,t.jsxs)(l.Zp,{children:[(0,t.jsxs)(l.aR,{children:[(0,t.jsx)(l.ZB,{children:"Device Technical Details"}),(0,t.jsx)(l.BT,{children:"View technical details of your device."})]}),(0,t.jsx)(l.Wu,{children:(0,t.jsxs)(i.F,{className:"w-full",children:[(0,t.jsxs)("div",{className:"grid md:gap-2 gap-4",children:[(0,t.jsxs)("div",{className:"flex md:flex-row flex-col md:items-center justify-between",children:[(0,t.jsx)("span",{children:"Modem Manufacturer"}),(0,t.jsx)("span",{className:"font-semibold max-w-32 md:max-w-full truncate",children:s?(0,t.jsx)(c.E,{className:"h-4 w-32"}):(0,t.jsx)(t.Fragment,{children:(null==e?void 0:e.manufacturer)||"N/A"})})]}),(0,t.jsxs)("div",{className:"flex md:flex-row flex-col md:items-center justify-between",children:[(0,t.jsx)("span",{children:"Modem Model"}),(0,t.jsx)("span",{className:"font-semibold max-w-32 md:max-w-full truncate",children:s?(0,t.jsx)(c.E,{className:"h-4 w-32"}):(0,t.jsx)(t.Fragment,{children:(null==e?void 0:e.model)||"N/A"})})]}),(0,t.jsxs)("div",{className:"flex md:flex-row flex-col md:items-center justify-between",children:[(0,t.jsx)("span",{children:"LTE 3GPP Release Version"}),(0,t.jsx)("span",{className:"font-semibold max-w-32 md:max-w-full truncate",children:s?(0,t.jsx)(c.E,{className:"h-4 w-32"}):(0,t.jsxs)(t.Fragment,{children:["Release ",(null==e?void 0:e.LTE3GppRel)||"N/A"]})})]}),(0,t.jsxs)("div",{className:"flex md:flex-row flex-col md:items-center justify-between",children:[(0,t.jsx)("span",{children:"NR5G 3GPP Release Version"}),(0,t.jsx)("span",{className:"font-semibold max-w-32 md:max-w-full truncate",children:s?(0,t.jsx)(c.E,{className:"h-4 w-32"}):(0,t.jsxs)(t.Fragment,{children:["Release ",(null==e?void 0:e.NR3GppRel)||"N/A"]})})]}),(0,t.jsxs)("div",{className:"flex md:flex-row flex-col md:items-center justify-between",children:[(0,t.jsx)("span",{children:"Firmware Revision"}),(0,t.jsx)("span",{className:"font-semibold max-w-32 md:max-w-full truncate",children:s?(0,t.jsx)(c.E,{className:"h-4 w-32"}):(0,t.jsx)(t.Fragment,{children:(null==e?void 0:e.firmwareVersion)||"N/A"})})]}),(0,t.jsxs)("div",{className:"flex md:flex-row flex-col md:items-center justify-between",children:[(0,t.jsx)("span",{children:"LTE Category"}),(0,t.jsx)("span",{className:"font-semibold max-w-32 md:max-w-full truncate",children:s?(0,t.jsx)(c.E,{className:"h-4 w-32"}):(0,t.jsxs)(t.Fragment,{children:["CAT-",(null==e?void 0:e.lteCategory)||"N/A"]})})]}),(0,t.jsxs)("div",{className:"flex md:flex-row flex-col md:items-center justify-between",children:[(0,t.jsx)("span",{children:"Active Phone Number"}),(0,t.jsx)("span",{className:"font-semibold max-w-32 md:max-w-full truncate",children:s?(0,t.jsx)(c.E,{className:"h-4 w-32"}):r?(0,t.jsx)("div",{className:"border-none bg-gray-600 rounded-md h-5 md:w-36 w-24"}):(0,t.jsx)(t.Fragment,{children:(null==e?void 0:e.phoneNum)||"N/A"})})]}),(0,t.jsxs)("div",{className:"flex md:flex-row flex-col md:items-center justify-between",children:[(0,t.jsx)("span",{children:"Active IMSI"}),(0,t.jsx)("span",{className:"font-semibold max-w-32 md:max-w-full truncate",children:s?(0,t.jsx)(c.E,{className:"h-4 w-32"}):r?(0,t.jsx)("div",{className:"border-none bg-gray-600 rounded-md h-5 md:w-36 w-24"}):(0,t.jsx)(t.Fragment,{children:(null==e?void 0:e.imsi)||"N/A"})})]}),(0,t.jsxs)("div",{className:"flex md:flex-row flex-col md:items-center justify-between",children:[(0,t.jsx)("span",{children:"Active ICCID"}),(0,t.jsx)("span",{className:"font-semibold max-w-32 md:max-w-full truncate",children:s?(0,t.jsx)(c.E,{className:"h-4 w-32"}):r?(0,t.jsx)("div",{className:"border-none bg-gray-600 rounded-md h-5 md:w-36 w-24"}):(0,t.jsx)(t.Fragment,{children:(null==e?void 0:e.iccid)||"N/A"})})]}),(0,t.jsxs)("div",{className:"flex md:flex-row flex-col md:items-center justify-between",children:[(0,t.jsx)("span",{children:"IMEI"}),(0,t.jsx)("span",{className:"font-semibold max-w-32 md:max-w-full truncate",children:s?(0,t.jsx)(c.E,{className:"h-4 w-32"}):r?(0,t.jsx)("div",{className:"border-none bg-gray-600 rounded-md h-5 md:w-36 w-24"}):(0,t.jsx)(t.Fragment,{children:(null==e?void 0:e.imei)||"N/A"})})]}),(0,t.jsxs)("div",{className:"flex md:flex-row flex-col md:items-center justify-between",children:[(0,t.jsx)("span",{children:"Current Device IP"}),(0,t.jsx)("span",{className:"font-semibold max-w-32 md:max-w-full truncate",children:s?(0,t.jsx)(c.E,{className:"h-4 w-32"}):(0,t.jsx)(t.Fragment,{children:(null==e?void 0:e.currentDeviceIP)||"N/A"})})]}),(0,t.jsxs)("div",{className:"flex md:flex-row flex-col md:items-center justify-between",children:[(0,t.jsx)("span",{children:"LAN Gateway"}),(0,t.jsx)("span",{className:"font-semibold max-w-32 md:max-w-full truncate",children:s?(0,t.jsx)(c.E,{className:"h-4 w-32"}):(0,t.jsx)(t.Fragment,{children:(null==e?void 0:e.lanGateway)||"N/A"})})]}),(0,t.jsxs)("div",{className:"flex md:flex-row flex-col md:items-center justify-between",children:[(0,t.jsx)("span",{children:"WWAN IPv4"}),(0,t.jsx)("span",{className:"font-semibold max-w-32 md:max-w-full truncate",children:s?(0,t.jsx)(c.E,{className:"h-4 w-32"}):r?(0,t.jsx)("div",{className:"border-none bg-gray-600 rounded-md h-5 md:w-36 w-24"}):(0,t.jsx)(t.Fragment,{children:(null==e?void 0:e.wwanIPv4)||"N/A"})})]}),(0,t.jsxs)("div",{className:"flex md:flex-row flex-col md:items-center justify-between",children:[(0,t.jsx)("span",{children:"WWAN IPv6"}),(0,t.jsx)("span",{className:"font-semibold max-w-32 md:max-w-full truncate",children:s?(0,t.jsx)(c.E,{className:"h-4 w-32"}):r?(0,t.jsx)("div",{className:"border-none bg-gray-600 rounded-md h-5 md:w-36 w-24"}):(0,t.jsx)(t.Fragment,{children:(null==e?void 0:e.wwanIPv6)||"N/A"})})]}),(0,t.jsxs)("div",{className:"flex md:flex-row flex-col md:items-center justify-between",children:[(0,t.jsx)("span",{children:"Device Uptime"}),(0,t.jsx)("span",{className:"font-semibold max-w-32 md:max-w-full truncate",children:s?(0,t.jsx)(c.E,{className:"h-4 w-32"}):(0,t.jsx)(t.Fragment,{children:(null==e?void 0:e.deviceUptime)||"N/A"})})]})]}),(0,t.jsx)(i.$,{orientation:"horizontal"})]})})]}),(0,t.jsxs)(l.Zp,{children:[(0,t.jsxs)(l.aR,{children:[(0,t.jsx)(l.ZB,{children:"About Us"}),(0,t.jsx)(l.BT,{children:"Who we are and what we do."})]}),(0,t.jsxs)(l.Wu,{className:"space-y-6",children:[(0,t.jsxs)("div",{className:"grid gap-2",children:[(0,t.jsx)("h1",{className:"text-xl font-bold antialiased",children:"QuecManager"}),(0,t.jsx)("p",{className:"text-md font-medium antialiased",children:"QuecManager is a modern dashboard for managing and monitoring cellular modems, evolved from its roots as 'Simple Admin' in the RGMII toolkit. The application provides real-time insights into signal metrics, carrier aggregation, network addressing, and band-specific performance while offering intuitive controls for modem configuration. With its comprehensive feature set and clean interface, QuecManager transforms complex cellular technology into an accessible experience for both technical users and those simply looking to optimize their connectivity. Our mission remains focused on delivering powerful monitoring and management capabilities without sacrificing usability or visual clarity."})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("h1",{className:"text-xl font-bold antialiased",children:"Thanks to"}),(0,t.jsxs)("ul",{className:"list-disc list-inside text-md font-medium antialiased",children:[(0,t.jsxs)("li",{children:["RGMII Toolkit, Documentation, and Backend",(0,t.jsx)("a",{href:"https://github.com/iamromulan",target:"_blank",className:"text-primary font-semibold ml-2",children:"iamromulan"})]}),(0,t.jsxs)("li",{children:["Simple Admin 2.0 and QuecManager Scripts & GUI",(0,t.jsx)("a",{href:"https://github.com/dr-dolomite",target:"_blank",className:"text-primary font-semibold ml-2",children:"dr-dolomite"})]}),(0,t.jsxs)("li",{children:["QuecManager Scripts & GUI Improvements",(0,t.jsx)("a",{href:"https://github.com/clndwhr",target:"_blank",className:"text-primary font-semibold ml-2",children:"clndwhr"})]}),(0,t.jsxs)("li",{children:["Original Simple Admin",(0,t.jsx)("a",{href:"https://github.com/aesthernr",target:"_blank",className:"text-primary font-semibold ml-2",children:"aesthernr"})]}),(0,t.jsxs)("li",{children:["Original Socat Bridge",(0,t.jsx)("a",{href:"https://github.com/natecarlson",target:"_blank",className:"text-primary font-semibold ml-2",children:"natecarlson"})]}),(0,t.jsx)("li",{children:"Wutang Clan"})]}),(0,t.jsxs)("div",{className:"mt-2 gap-y-1",children:[(0,t.jsxs)("p",{children:["Check the Quecmanager project",(0,t.jsx)("a",{href:"https://github.com/dr-dolomite/QuecManager-JS",target:"_blank",className:"text-primary font-semibold ml-1",children:"here"})]}),(0,t.jsxs)("p",{children:["Check the toolkit project",(0,t.jsx)("a",{href:"https://github.com/iamromulan/quectel-rgmii-toolkit",target:"_blank",className:"text-primary font-semibold ml-1",children:"here"})]})]})]})]})]})]}),(0,t.jsx)(l.wL,{className:"flex justify-center",children:(0,t.jsx)("p",{children:"QuecManager \xa9 2024 - For Personal Use Only. All rights reserved."})})]})}},42541:(e,s,r)=>{"use strict";r.d(s,{$:()=>d,r:()=>c});var t=r(20475),n=r(20107),l=r(61837),a=r(29395),i=r(22250);let c=(0,a.F)("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{variants:{variant:{default:"bg-primary text-primary-foreground shadow hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90",outline:"border border-input bg-background shadow-sm hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2",sm:"h-8 rounded-md px-3 text-xs",lg:"h-10 rounded-md px-8",icon:"h-9 w-9"}},defaultVariants:{variant:"default",size:"default"}}),d=n.forwardRef((e,s)=>{let{className:r,variant:n,size:a,asChild:d=!1,...o}=e,m=d?l.DX:"button";return(0,t.jsx)(m,{className:(0,i.cn)(c({variant:n,size:a,className:r})),ref:s,...o})});d.displayName="Button"},72167:(e,s,r)=>{"use strict";r.d(s,{BT:()=>d,Wu:()=>o,ZB:()=>c,Zp:()=>a,aR:()=>i,wL:()=>m});var t=r(20475),n=r(20107),l=r(22250);let a=n.forwardRef((e,s)=>{let{className:r,...n}=e;return(0,t.jsx)("div",{ref:s,className:(0,l.cn)("rounded-xl border bg-card text-card-foreground shadow",r),...n})});a.displayName="Card";let i=n.forwardRef((e,s)=>{let{className:r,...n}=e;return(0,t.jsx)("div",{ref:s,className:(0,l.cn)("flex flex-col space-y-1.5 p-6",r),...n})});i.displayName="CardHeader";let c=n.forwardRef((e,s)=>{let{className:r,...n}=e;return(0,t.jsx)("h3",{ref:s,className:(0,l.cn)("font-semibold leading-none tracking-tight",r),...n})});c.displayName="CardTitle";let d=n.forwardRef((e,s)=>{let{className:r,...n}=e;return(0,t.jsx)("p",{ref:s,className:(0,l.cn)("text-sm text-muted-foreground",r),...n})});d.displayName="CardDescription";let o=n.forwardRef((e,s)=>{let{className:r,...n}=e;return(0,t.jsx)("div",{ref:s,className:(0,l.cn)("p-6 pt-0",r),...n})});o.displayName="CardContent";let m=n.forwardRef((e,s)=>{let{className:r,...n}=e;return(0,t.jsx)("div",{ref:s,className:(0,l.cn)("flex items-center p-6 pt-0",r),...n})});m.displayName="CardFooter"},36824:(e,s,r)=>{"use strict";r.d(s,{$:()=>c,F:()=>i});var t=r(20475),n=r(20107),l=r(89679),a=r(22250);let i=n.forwardRef((e,s)=>{let{className:r,children:n,...i}=e;return(0,t.jsxs)(l.bL,{ref:s,className:(0,a.cn)("relative overflow-hidden",r),...i,children:[(0,t.jsx)(l.LM,{className:"h-full w-full rounded-[inherit]",children:n}),(0,t.jsx)(c,{}),(0,t.jsx)(l.OK,{})]})});i.displayName=l.bL.displayName;let c=n.forwardRef((e,s)=>{let{className:r,orientation:n="vertical",...i}=e;return(0,t.jsx)(l.VM,{ref:s,orientation:n,className:(0,a.cn)("flex touch-none select-none transition-colors","vertical"===n&&"h-full w-2.5 border-l border-l-transparent p-[1px]","horizontal"===n&&"h-2.5 flex-col border-t border-t-transparent p-[1px]",r),...i,children:(0,t.jsx)(l.lr,{className:"relative flex-1 rounded-full bg-border"})})});c.displayName=l.VM.displayName},36760:(e,s,r)=>{"use strict";r.d(s,{E:()=>l});var t=r(20475),n=r(22250);function l(e){let{className:s,...r}=e;return(0,t.jsx)("div",{className:(0,n.cn)("animate-pulse rounded-md bg-primary/10",s),...r})}},22250:(e,s,r)=>{"use strict";r.d(s,{cn:()=>l});var t=r(64901),n=r(868);function l(){for(var e=arguments.length,s=Array(e),r=0;r{"use strict";r.d(s,{A:()=>t});let t=(0,r(39997).A)("EyeOff",[["path",{d:"M10.733 5.076a10.744 10.744 0 0 1 11.205 6.575 1 1 0 0 1 0 .696 10.747 10.747 0 0 1-1.444 2.49",key:"ct8e1f"}],["path",{d:"M14.084 14.158a3 3 0 0 1-4.242-4.242",key:"151rxh"}],["path",{d:"M17.479 17.499a10.75 10.75 0 0 1-15.417-5.151 1 1 0 0 1 0-.696 10.75 10.75 0 0 1 4.446-5.143",key:"13bj9a"}],["path",{d:"m2 2 20 20",key:"1ooewy"}]])},51589:(e,s,r)=>{"use strict";r.d(s,{A:()=>t});let t=(0,r(39997).A)("Eye",[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]])},94521:(e,s,r)=>{"use strict";function t(e,s,{checkForDefaultPrevented:r=!0}={}){return function(t){if(e?.(t),!1===r||!t.defaultPrevented)return s?.(t)}}r.d(s,{m:()=>t})},45170:(e,s,r)=>{"use strict";r.d(s,{A:()=>a,q:()=>l});var t=r(20107),n=r(20475);function l(e,s){let r=t.createContext(s),l=e=>{let{children:s,...l}=e,a=t.useMemo(()=>l,Object.values(l));return(0,n.jsx)(r.Provider,{value:a,children:s})};return l.displayName=e+"Provider",[l,function(n){let l=t.useContext(r);if(l)return l;if(void 0!==s)return s;throw Error(`\`${n}\` must be used within \`${e}\``)}]}function a(e,s=[]){let r=[],l=()=>{let s=r.map(e=>t.createContext(e));return function(r){let n=r?.[e]||s;return t.useMemo(()=>({[`__scope${e}`]:{...r,[e]:n}}),[r,n])}};return l.scopeName=e,[function(s,l){let a=t.createContext(l),i=r.length;r=[...r,l];let c=s=>{let{scope:r,children:l,...c}=s,d=r?.[e]?.[i]||a,o=t.useMemo(()=>c,Object.values(c));return(0,n.jsx)(d.Provider,{value:o,children:l})};return c.displayName=s+"Provider",[c,function(r,n){let c=n?.[e]?.[i]||a,d=t.useContext(c);if(d)return d;if(void 0!==l)return l;throw Error(`\`${r}\` must be used within \`${s}\``)}]},function(...e){let s=e[0];if(1===e.length)return s;let r=()=>{let r=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let n=r.reduce((s,{useScope:r,scopeName:t})=>{let n=r(e)[`__scope${t}`];return{...s,...n}},{});return t.useMemo(()=>({[`__scope${s.scopeName}`]:n}),[n])}};return r.scopeName=s.scopeName,r}(l,...s)]}},54245:(e,s,r)=>{"use strict";r.d(s,{C:()=>a});var t=r(20107),n=r(64236),l=r(54122),a=e=>{let{present:s,children:r}=e,a=function(e){var s,r;let[n,a]=t.useState(),c=t.useRef({}),d=t.useRef(e),o=t.useRef("none"),[m,u]=(s=e?"mounted":"unmounted",r={mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}},t.useReducer((e,s)=>{let t=r[e][s];return null!=t?t:e},s));return t.useEffect(()=>{let e=i(c.current);o.current="mounted"===m?e:"none"},[m]),(0,l.N)(()=>{let s=c.current,r=d.current;if(r!==e){let t=o.current,n=i(s);e?u("MOUNT"):"none"===n||(null==s?void 0:s.display)==="none"?u("UNMOUNT"):r&&t!==n?u("ANIMATION_OUT"):u("UNMOUNT"),d.current=e}},[e,u]),(0,l.N)(()=>{if(n){var e;let s;let r=null!==(e=n.ownerDocument.defaultView)&&void 0!==e?e:window,t=e=>{let t=i(c.current).includes(e.animationName);if(e.target===n&&t&&(u("ANIMATION_END"),!d.current)){let e=n.style.animationFillMode;n.style.animationFillMode="forwards",s=r.setTimeout(()=>{"forwards"===n.style.animationFillMode&&(n.style.animationFillMode=e)})}},l=e=>{e.target===n&&(o.current=i(c.current))};return n.addEventListener("animationstart",l),n.addEventListener("animationcancel",t),n.addEventListener("animationend",t),()=>{r.clearTimeout(s),n.removeEventListener("animationstart",l),n.removeEventListener("animationcancel",t),n.removeEventListener("animationend",t)}}u("ANIMATION_END")},[n,u]),{isPresent:["mounted","unmountSuspended"].includes(m),ref:t.useCallback(e=>{e&&(c.current=getComputedStyle(e)),a(e)},[])}}(s),c="function"==typeof r?r({present:a.isPresent}):t.Children.only(r),d=(0,n.s)(a.ref,function(e){var s,r;let t=null===(s=Object.getOwnPropertyDescriptor(e.props,"ref"))||void 0===s?void 0:s.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(n=(t=null===(r=Object.getOwnPropertyDescriptor(e,"ref"))||void 0===r?void 0:r.get)&&"isReactWarning"in t&&t.isReactWarning)?e.props.ref:e.props.ref||e.ref}(c));return"function"==typeof r||a.isPresent?t.cloneElement(c,{ref:d}):null};function i(e){return(null==e?void 0:e.animationName)||"none"}a.displayName="Presence"},34544:(e,s,r)=>{"use strict";r.d(s,{hO:()=>c,sG:()=>i});var t=r(20107),n=r(25642),l=r(61837),a=r(20475),i=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((e,s)=>{let r=t.forwardRef((e,r)=>{let{asChild:t,...n}=e,i=t?l.DX:s;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,a.jsx)(i,{...n,ref:r})});return r.displayName=`Primitive.${s}`,{...e,[s]:r}},{});function c(e,s){e&&n.flushSync(()=>e.dispatchEvent(s))}},46774:(e,s,r)=>{"use strict";r.d(s,{c:()=>n});var t=r(20107);function n(e){let s=t.useRef(e);return t.useEffect(()=>{s.current=e}),t.useMemo(()=>(...e)=>s.current?.(...e),[])}},54122:(e,s,r)=>{"use strict";r.d(s,{N:()=>n});var t=r(20107),n=globalThis?.document?t.useLayoutEffect:()=>{}},29395:(e,s,r)=>{"use strict";r.d(s,{F:()=>l});let t=e=>"boolean"==typeof e?"".concat(e):0===e?"0":e,n=function(){for(var e,s,r=0,t="";rr=>{var l;if((null==s?void 0:s.variants)==null)return n(e,null==r?void 0:r.class,null==r?void 0:r.className);let{variants:a,defaultVariants:i}=s,c=Object.keys(a).map(e=>{let s=null==r?void 0:r[e],n=null==i?void 0:i[e];if(null===s)return null;let l=t(s)||t(n);return a[e][l]}),d=r&&Object.entries(r).reduce((e,s)=>{let[r,t]=s;return void 0===t||(e[r]=t),e},{});return n(e,c,null==s?void 0:null===(l=s.compoundVariants)||void 0===l?void 0:l.reduce((e,s)=>{let{class:r,className:t,...n}=s;return Object.entries(n).every(e=>{let[s,r]=e;return Array.isArray(r)?r.includes({...i,...d}[s]):({...i,...d})[s]===r})?[...e,r,t]:e},[]),null==r?void 0:r.class,null==r?void 0:r.className)}}},e=>{var s=s=>e(e.s=s);e.O(0,[7780,467,191,6035,7358],()=>s(96520)),_N_E=e.O()}]); \ No newline at end of file diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/advanced-settings/at-terminal/page-e325f400037645e7.js b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/advanced-settings/at-terminal/page-e1e1862a9f9e1af4.js similarity index 73% rename from ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/advanced-settings/at-terminal/page-e325f400037645e7.js rename to ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/advanced-settings/at-terminal/page-e1e1862a9f9e1af4.js index 6ff552a..d7c4be3 100644 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/advanced-settings/at-terminal/page-e325f400037645e7.js +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/advanced-settings/at-terminal/page-e1e1862a9f9e1af4.js @@ -1 +1 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8757],{52787:(e,t,r)=>{Promise.resolve().then(r.bind(r,30233))},30233:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>w});var a=r(20475),s=r(20107),o=r(72167),n=r(36824),l=r(42541),i=r(49153),d=r(31739),c=r(64219),m=r(51873),u=r(58212),p=r(66698);let f=(0,r(39997).A)("Copy",[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]]);var x=r(76554),h=r(32857),v=r(97818),g=r(51303),y=r(45934);let w=()=>{let{toast:e}=(0,h.dj)(),[t,r]=(0,s.useState)(""),[w,b]=(0,s.useState)(""),[j,N]=(0,s.useState)([]),[C,T]=(0,s.useState)([]),[A,S]=(0,s.useState)([]),[E,k]=(0,s.useState)(!1),[R,_]=(0,s.useState)([]),[I,O]=(0,s.useState)(!0),[F,D]=(0,s.useState)(-1),z=(0,s.useRef)(null),L=(0,s.useRef)(null),M=localStorage.getItem("authToken");(0,s.useEffect)(()=>{let e=e=>{L.current&&!L.current.contains(e.target)&&(T([]),D(-1))};return document.addEventListener("mousedown",e),()=>document.removeEventListener("mousedown",e)},[]),(0,s.useEffect)(()=>{(async()=>{try{let e=await fetch("/cgi-bin/quecmanager/advance/fetch_commands.sh"),t=await e.json(),r=Object.entries(t).filter(e=>{let[t]=e;return"error"!==t}).map(e=>{let[t,r]=e;return{description:t,command:r}});if(0===r.length&&t.error)throw Error(t.error);_(r)}catch(t){console.error("Failed to fetch AT commands:",t),e({title:"Error",description:t instanceof Error?t.message:"Failed to load common AT commands",variant:"destructive"})}finally{O(!1)}})()},[]),(0,s.useEffect)(()=>{let e=window.localStorage.getItem("atCommandHistory"),t=window.localStorage.getItem("atCommands");if(e)try{N(JSON.parse(e))}catch(e){console.error("Failed to parse command history:",e),N([])}if(t)try{S(JSON.parse(t))}catch(e){console.error("Failed to parse previous commands:",e),S([])}},[]),(0,s.useEffect)(()=>{j.length>0&&window.localStorage.setItem("atCommandHistory",JSON.stringify(j))},[j]),(0,s.useEffect)(()=>{A.length>0&&window.localStorage.setItem("atCommands",JSON.stringify(A))},[A]);let H=async()=>{let t=w.trim();if("tetris"===t.toLowerCase()){window.open("/utils/dsMDh6647ZGkOLyv60QE/OGwW8ufEw6nWPQSaliNX/games/tetris","_blank"),b("");return}if("prev"===t.toLowerCase()){if(j.length>0){let t=j[0].command;b(""),e({title:"Executing Previous Command",description:"Executing ".concat(t)}),k(!0),r("> ".concat(t,"\nExecuting command, please wait...")),(async()=>{try{var a,s,o,n,l,i;let d=encodeURIComponent(t),c=await fetch("/cgi-bin/quecmanager/at_cmd/at_queue_client.sh?command=".concat(d,"&wait=1"),{method:"GET",headers:{Authorization:"".concat(M)}}),m=await c.json(),u="> ".concat(t,"\n");(null===(a=m.response)||void 0===a?void 0:a.raw_output)&&(u+=m.response.raw_output),r(u);let p={command:t,response:m.response.raw_output||"No output",timestamp:m.command.timestamp,status:m.response.status,duration:m.response.duration_ms,commandId:m.command.id};N(e=>[p,...e]),((null==m?void 0:null===(s=m.response)||void 0===s?void 0:s.status)==="error"||(null==m?void 0:null===(o=m.response)||void 0===o?void 0:o.status)==="timeout")&&e({title:"Command ".concat((null==m?void 0:null===(n=m.response)||void 0===n?void 0:n.status)==="timeout"?"Timeout":"Error"),description:(null==m?void 0:null===(l=m.response)||void 0===l?void 0:l.raw_output)||"Command execution ".concat(null==m?void 0:null===(i=m.response)||void 0===i?void 0:i.status),variant:"destructive"})}catch(s){let a=s instanceof Error?null==s?void 0:s.message:"An unknown error occurred";r("> ".concat(t,"\nError: ").concat(a)),e({title:"Error",description:a,variant:"destructive"})}finally{k(!1)}})();return}e({title:"No Previous Command",description:"Command history is empty",variant:"destructive"});return}if(!t.toUpperCase().startsWith("AT")){e({title:"Invalid Command",description:"Command must start with 'AT'",variant:"destructive"});return}k(!0),b(""),r("> ".concat(t,"\nExecuting command, please wait..."));try{var a,s,o,n,l,i,d,c,m,u;let p=encodeURIComponent(t),f=await fetch("/cgi-bin/quecmanager/at_cmd/at_queue_client.sh?command=".concat(p,"&wait=1"),{method:"GET",headers:{Authorization:"".concat(M)}}),x=await f.json(),h="> ".concat(t,"\n");(null==x?void 0:null===(a=x.response)||void 0===a?void 0:a.raw_output)&&(h+=null==x?void 0:null===(d=x.response)||void 0===d?void 0:d.raw_output),r(h);let v={command:t,response:(null==x?void 0:null===(s=x.response)||void 0===s?void 0:s.raw_output)||"No output",timestamp:x.command.timestamp,status:null==x?void 0:null===(o=x.response)||void 0===o?void 0:o.status,duration:null==x?void 0:null===(n=x.response)||void 0===n?void 0:n.duration_ms,commandId:x.command.id};N(e=>[v,...e]),"success"!==x.response.status||A.includes(t)||S(e=>[...e,t]),((null==x?void 0:null===(l=x.response)||void 0===l?void 0:l.status)==="error"||(null==x?void 0:null===(i=x.response)||void 0===i?void 0:i.status)==="timeout")&&e({title:"Command ".concat((null==x?void 0:null===(c=x.response)||void 0===c?void 0:c.status)==="timeout"?"Timeout":"Error"),description:(null==x?void 0:null===(m=x.response)||void 0===m?void 0:m.raw_output)||"Command execution ".concat(null==x?void 0:null===(u=x.response)||void 0===u?void 0:u.status),variant:"destructive"})}catch(s){let a=s instanceof Error?s.message:"An unknown error occurred";r("> ".concat(t,"\nError: ").concat(a)),e({title:"Error",description:a,variant:"destructive"})}finally{k(!1)}},Z=e=>{N(t=>{let r=[...t];return r.splice(e,1),0===r.length&&window.localStorage.removeItem("atCommandHistory"),r})},J=e=>{S(t=>{let r=t.filter(t=>t!==e);return window.localStorage.setItem("atCommands",JSON.stringify(r)),r}),T(t=>t.filter(t=>t!==e))},V=async t=>{try{if(navigator.clipboard&&window.isSecureContext)await navigator.clipboard.writeText(t);else{let e=document.createElement("textarea");e.value=t,e.style.position="fixed",e.style.left="-999999px",e.style.top="-999999px",document.body.appendChild(e),e.focus(),e.select();try{document.execCommand("copy")}catch(e){throw console.error("Fallback: Oops, unable to copy",e),Error("Copy failed")}finally{e.remove()}}e({title:"Copied!",description:'Command "'.concat(t,'" copied to clipboard'),duration:2e3})}catch(t){console.error("Failed to copy command:",t),e({title:"Error",description:"Failed to copy command to clipboard",variant:"destructive",duration:3e3})}};return(0,a.jsxs)("div",{className:"grid gap-6",children:[(0,a.jsxs)(o.Zp,{children:[(0,a.jsxs)(o.aR,{children:[(0,a.jsx)(o.ZB,{children:"AT Terminal"}),(0,a.jsx)(o.BT,{children:"Send AT commands to your device using the queue system"})]}),(0,a.jsx)(o.Wu,{children:(0,a.jsxs)("div",{className:"grid gap-8 w-full max-w-screen p-4",children:[(0,a.jsxs)("div",{className:"grid gap-1.5",children:[(0,a.jsx)(i.J,{htmlFor:"ATOutput",children:"AT Command Output"}),(0,a.jsx)(d.T,{value:t,placeholder:"AT command output will appear here...",readOnly:!0,className:"h-64 font-mono",id:"ATOutput"})]}),(0,a.jsxs)("div",{children:[(0,a.jsx)(x.Separator,{className:"mb-2"}),0===j.length?(0,a.jsx)("p",{className:"italic text-sm text-muted-foreground font-medium text-center",children:"Command History is Empty"}):(0,a.jsxs)("div",{children:[(0,a.jsxs)("div",{className:"flex justify-between items-center mb-2",children:[(0,a.jsx)(i.J,{children:"Command History"}),(0,a.jsxs)(v.Lt,{children:[(0,a.jsx)(v.tv,{asChild:!0,children:(0,a.jsxs)(l.$,{variant:"outline",size:"sm",children:[(0,a.jsx)(m.A,{className:"h-4 w-4 text-rose-500"}),"Clear All"]})}),(0,a.jsxs)(v.EO,{children:[(0,a.jsxs)(v.wd,{children:[(0,a.jsx)(v.r7,{children:"Clear Command History"}),(0,a.jsx)(v.$v,{children:"This action cannot be undone. This will permanently delete your command history."})]}),(0,a.jsxs)(v.ck,{children:[(0,a.jsx)(v.Zr,{children:"Cancel"}),(0,a.jsx)(v.Rx,{onClick:()=>{N([]),window.localStorage.removeItem("atCommandHistory")},children:"Continue"})]})]})]})]}),(0,a.jsx)(n.F,{className:"h-44 p-4",children:(0,a.jsx)("div",{className:"grid gap-y-2",children:j.map((e,t)=>(0,a.jsx)(o.Zp,{className:"hover:bg-accent/50 transition-colors cursor-pointer",onClick:()=>V(e.command),children:(0,a.jsx)(o.Wu,{className:"p-3 relative",children:(0,a.jsxs)(n.F,{className:"max-w-xs md:max-w-full",children:[(0,a.jsx)(l.$,{variant:"ghost",size:"icon",className:"absolute right-2 top-2 h-4 w-4",onClick:e=>{e.stopPropagation(),Z(t)},children:(0,a.jsx)(u.A,{className:"h-4 w-4"})}),(0,a.jsxs)("div",{className:"grid gap-2",children:[(0,a.jsxs)("div",{className:"flex items-center gap-x-2",children:[(0,a.jsx)("p",{className:"text-sm font-medium",children:e.command}),(0,a.jsxs)(y.E,{className:"".concat("success"===e.status?"bg-primary text-foreground":"timeout"===e.status?"bg-yellow-500 text-foreground":"bg-red-500 text-red-foreground"),children:[e.status," -"," ",void 0!==e.duration&&"".concat(e.duration,"ms")]})]}),e.response&&"No output"!==e.response&&(0,a.jsx)("p",{className:"whitespace-pre-wrap font-mono text-sm",children:e.response})]}),(0,a.jsx)(n.$,{orientation:"horizontal"})]})})},"".concat(e.timestamp,"-").concat(t)))})})]}),(0,a.jsx)(x.Separator,{className:"mt-2"})]}),(0,a.jsxs)("div",{className:"grid gap-1.5 relative",children:[(0,a.jsx)(i.J,{htmlFor:"ATInput",children:"AT Command Input"}),(0,a.jsx)(c.p,{ref:z,value:w,onChange:e=>{let t=e.target.value;b(t),D(-1),requestAnimationFrame(()=>{t.trim()?T(A.filter(e=>e.toLowerCase().includes(t.toLowerCase())).slice(0,5)):T([])})},onKeyDown:e=>{"Enter"!==e.key||e.shiftKey||(e.preventDefault(),H())},placeholder:"ATI",id:"ATInput",disabled:E,autoComplete:"off"}),C.length>0&&(0,a.jsx)("div",{ref:L,className:"absolute top-full mt-1 bg-background border rounded-md shadow-lg z-10 w-full",children:(0,a.jsx)(n.F,{className:"max-h-[200px]",children:C.map((e,t)=>(0,a.jsxs)("div",{className:"p-2 cursor-pointer flex items-center justify-between group transition-colors ".concat(t===F?"bg-accent":"hover:bg-accent/50"),onClick:()=>{var t;b(e),T([]),D(-1),null===(t=z.current)||void 0===t||t.focus()},children:[(0,a.jsx)("p",{className:"text-sm font-medium text-muted-foreground flex-grow",children:e}),(0,a.jsx)(l.$,{variant:"ghost",size:"icon",className:"h-4 w-4 opacity-0 group-hover:opacity-100 transition-opacity",onClick:t=>{t.stopPropagation(),J(e)},children:(0,a.jsx)(u.A,{className:"h-4 w-4"})})]},t))})}),(0,a.jsx)("p",{className:"text-sm text-muted-foreground",children:"Your successful commands will be saved for autocomplete."})]})]})}),(0,a.jsx)(o.wL,{className:"grid border-t py-4",children:(0,a.jsxs)(l.$,{onClick:H,disabled:E,children:[(0,a.jsx)(p.A,{className:"mr-2"}),E?"Sending...":"Send Command"]})})]}),(0,a.jsxs)(o.Zp,{children:[(0,a.jsxs)(o.aR,{children:[(0,a.jsx)(o.ZB,{children:"Common AT Commands List"}),(0,a.jsx)(o.BT,{children:"Here are some common AT commands you can try:"})]}),(0,a.jsx)(o.Wu,{children:(0,a.jsxs)(g.XI,{children:[(0,a.jsx)(g.r6,{children:"AT Command List"}),(0,a.jsx)(g.A0,{children:(0,a.jsxs)(g.Hj,{children:[(0,a.jsx)(g.nd,{children:"AT Command"}),(0,a.jsx)(g.nd,{className:"text-right",children:"Description"})]})}),(0,a.jsx)(g.BF,{children:I?(0,a.jsx)(g.Hj,{children:(0,a.jsx)(g.nA,{colSpan:3,className:"text-center",children:"Loading commands..."})}):0===R.length?(0,a.jsx)(g.Hj,{children:(0,a.jsx)(g.nA,{colSpan:3,className:"text-center",children:"No commands available"})}):R.map((e,t)=>(0,a.jsxs)(g.Hj,{children:[(0,a.jsxs)(g.nA,{className:"flex items-center gap-x-2",children:[(0,a.jsx)("p",{className:"font-mono truncate max-w-6 md:max-w-md",children:e.command}),(0,a.jsx)(f,{className:"w-3 h-3 hover:text-purple-300 cursor-pointer",onClick:()=>V(e.command)})]}),(0,a.jsx)(g.nA,{className:"text-right max-w-10 md:max-w-lg",children:e.description})]},t))})]})})]})]})}},97818:(e,t,r)=>{"use strict";r.d(t,{$v:()=>h,EO:()=>u,Lt:()=>i,Rx:()=>v,Zr:()=>g,ck:()=>f,r7:()=>x,tv:()=>d,wd:()=>p});var a=r(20475),s=r(20107),o=r(50564),n=r(22250),l=r(42541);let i=o.bL,d=o.l9,c=o.ZL,m=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,a.jsx)(o.hJ,{className:(0,n.cn)("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",r),...s,ref:t})});m.displayName=o.hJ.displayName;let u=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,a.jsxs)(c,{children:[(0,a.jsx)(m,{}),(0,a.jsx)(o.UC,{ref:t,className:(0,n.cn)("fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",r),...s})]})});u.displayName=o.UC.displayName;let p=e=>{let{className:t,...r}=e;return(0,a.jsx)("div",{className:(0,n.cn)("flex flex-col space-y-2 text-center sm:text-left",t),...r})};p.displayName="AlertDialogHeader";let f=e=>{let{className:t,...r}=e;return(0,a.jsx)("div",{className:(0,n.cn)("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",t),...r})};f.displayName="AlertDialogFooter";let x=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,a.jsx)(o.hE,{ref:t,className:(0,n.cn)("text-lg font-semibold",r),...s})});x.displayName=o.hE.displayName;let h=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,a.jsx)(o.VY,{ref:t,className:(0,n.cn)("text-sm text-muted-foreground",r),...s})});h.displayName=o.VY.displayName;let v=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,a.jsx)(o.rc,{ref:t,className:(0,n.cn)((0,l.r)(),r),...s})});v.displayName=o.rc.displayName;let g=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,a.jsx)(o.ZD,{ref:t,className:(0,n.cn)((0,l.r)({variant:"outline"}),"mt-2 sm:mt-0",r),...s})});g.displayName=o.ZD.displayName},45934:(e,t,r)=>{"use strict";r.d(t,{E:()=>l});var a=r(20475);r(20107);var s=r(29395),o=r(22250);let n=(0,s.F)("inline-flex items-center rounded-md border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground shadow hover:bg-primary/80",secondary:"border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80",destructive:"border-transparent bg-destructive text-destructive-foreground shadow hover:bg-destructive/80",outline:"text-foreground"}},defaultVariants:{variant:"default"}});function l(e){let{className:t,variant:r,...s}=e;return(0,a.jsx)("div",{className:(0,o.cn)(n({variant:r}),t),...s})}},42541:(e,t,r)=>{"use strict";r.d(t,{$:()=>d,r:()=>i});var a=r(20475),s=r(20107),o=r(61837),n=r(29395),l=r(22250);let i=(0,n.F)("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{variants:{variant:{default:"bg-primary text-primary-foreground shadow hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90",outline:"border border-input bg-background shadow-sm hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2",sm:"h-8 rounded-md px-3 text-xs",lg:"h-10 rounded-md px-8",icon:"h-9 w-9"}},defaultVariants:{variant:"default",size:"default"}}),d=s.forwardRef((e,t)=>{let{className:r,variant:s,size:n,asChild:d=!1,...c}=e,m=d?o.DX:"button";return(0,a.jsx)(m,{className:(0,l.cn)(i({variant:s,size:n,className:r})),ref:t,...c})});d.displayName="Button"},72167:(e,t,r)=>{"use strict";r.d(t,{BT:()=>d,Wu:()=>c,ZB:()=>i,Zp:()=>n,aR:()=>l,wL:()=>m});var a=r(20475),s=r(20107),o=r(22250);let n=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,a.jsx)("div",{ref:t,className:(0,o.cn)("rounded-xl border bg-card text-card-foreground shadow",r),...s})});n.displayName="Card";let l=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,a.jsx)("div",{ref:t,className:(0,o.cn)("flex flex-col space-y-1.5 p-6",r),...s})});l.displayName="CardHeader";let i=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,a.jsx)("h3",{ref:t,className:(0,o.cn)("font-semibold leading-none tracking-tight",r),...s})});i.displayName="CardTitle";let d=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,a.jsx)("p",{ref:t,className:(0,o.cn)("text-sm text-muted-foreground",r),...s})});d.displayName="CardDescription";let c=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,a.jsx)("div",{ref:t,className:(0,o.cn)("p-6 pt-0",r),...s})});c.displayName="CardContent";let m=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,a.jsx)("div",{ref:t,className:(0,o.cn)("flex items-center p-6 pt-0",r),...s})});m.displayName="CardFooter"},64219:(e,t,r)=>{"use strict";r.d(t,{p:()=>n});var a=r(20475),s=r(20107),o=r(22250);let n=s.forwardRef((e,t)=>{let{className:r,type:s,...n}=e;return(0,a.jsx)("input",{type:s,className:(0,o.cn)("flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-sm shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50",r),ref:t,...n})});n.displayName="Input"},49153:(e,t,r)=>{"use strict";r.d(t,{J:()=>d});var a=r(20475),s=r(20107),o=r(21840),n=r(29395),l=r(22250);let i=(0,n.F)("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),d=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,a.jsx)(o.b,{ref:t,className:(0,l.cn)(i(),r),...s})});d.displayName=o.b.displayName},36824:(e,t,r)=>{"use strict";r.d(t,{$:()=>i,F:()=>l});var a=r(20475),s=r(20107),o=r(89679),n=r(22250);let l=s.forwardRef((e,t)=>{let{className:r,children:s,...l}=e;return(0,a.jsxs)(o.bL,{ref:t,className:(0,n.cn)("relative overflow-hidden",r),...l,children:[(0,a.jsx)(o.LM,{className:"h-full w-full rounded-[inherit]",children:s}),(0,a.jsx)(i,{}),(0,a.jsx)(o.OK,{})]})});l.displayName=o.bL.displayName;let i=s.forwardRef((e,t)=>{let{className:r,orientation:s="vertical",...l}=e;return(0,a.jsx)(o.VM,{ref:t,orientation:s,className:(0,n.cn)("flex touch-none select-none transition-colors","vertical"===s&&"h-full w-2.5 border-l border-l-transparent p-[1px]","horizontal"===s&&"h-2.5 flex-col border-t border-t-transparent p-[1px]",r),...l,children:(0,a.jsx)(o.lr,{className:"relative flex-1 rounded-full bg-border"})})});i.displayName=o.VM.displayName},76554:(e,t,r)=>{"use strict";r.d(t,{Separator:()=>l});var a=r(20475),s=r(20107),o=r(88853),n=r(22250);let l=s.forwardRef((e,t)=>{let{className:r,orientation:s="horizontal",decorative:l=!0,...i}=e;return(0,a.jsx)(o.b,{ref:t,decorative:l,orientation:s,className:(0,n.cn)("shrink-0 bg-border","horizontal"===s?"h-[1px] w-full":"h-full w-[1px]",r),...i})});l.displayName=o.b.displayName},51303:(e,t,r)=>{"use strict";r.d(t,{A0:()=>l,BF:()=>i,Hj:()=>d,XI:()=>n,nA:()=>m,nd:()=>c,r6:()=>u});var a=r(20475),s=r(20107),o=r(22250);let n=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,a.jsx)("div",{className:"relative w-full overflow-auto",children:(0,a.jsx)("table",{ref:t,className:(0,o.cn)("w-full caption-bottom text-sm",r),...s})})});n.displayName="Table";let l=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,a.jsx)("thead",{ref:t,className:(0,o.cn)("[&_tr]:border-b",r),...s})});l.displayName="TableHeader";let i=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,a.jsx)("tbody",{ref:t,className:(0,o.cn)("[&_tr:last-child]:border-0",r),...s})});i.displayName="TableBody",s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,a.jsx)("tfoot",{ref:t,className:(0,o.cn)("border-t bg-muted/50 font-medium [&>tr]:last:border-b-0",r),...s})}).displayName="TableFooter";let d=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,a.jsx)("tr",{ref:t,className:(0,o.cn)("border-b transition-colors hover:bg-muted/50 data-[state=selected]:bg-muted",r),...s})});d.displayName="TableRow";let c=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,a.jsx)("th",{ref:t,className:(0,o.cn)("h-10 px-2 text-left align-middle font-medium text-muted-foreground [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]",r),...s})});c.displayName="TableHead";let m=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,a.jsx)("td",{ref:t,className:(0,o.cn)("p-2 align-middle [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]",r),...s})});m.displayName="TableCell";let u=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,a.jsx)("caption",{ref:t,className:(0,o.cn)("mt-4 text-sm text-muted-foreground",r),...s})});u.displayName="TableCaption"},31739:(e,t,r)=>{"use strict";r.d(t,{T:()=>n});var a=r(20475),s=r(20107),o=r(22250);let n=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,a.jsx)("textarea",{className:(0,o.cn)("flex min-h-[60px] w-full rounded-md border border-input bg-transparent px-3 py-2 text-base shadow-sm placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",r),ref:t,...s})});n.displayName="Textarea"},32857:(e,t,r)=>{"use strict";r.d(t,{dj:()=>u,oR:()=>m});var a=r(20107);let s=0,o=new Map,n=e=>{if(o.has(e))return;let t=setTimeout(()=>{o.delete(e),c({type:"REMOVE_TOAST",toastId:e})},1e6);o.set(e,t)},l=(e,t)=>{switch(t.type){case"ADD_TOAST":return{...e,toasts:[t.toast,...e.toasts].slice(0,1)};case"UPDATE_TOAST":return{...e,toasts:e.toasts.map(e=>e.id===t.toast.id?{...e,...t.toast}:e)};case"DISMISS_TOAST":{let{toastId:r}=t;return r?n(r):e.toasts.forEach(e=>{n(e.id)}),{...e,toasts:e.toasts.map(e=>e.id===r||void 0===r?{...e,open:!1}:e)}}case"REMOVE_TOAST":if(void 0===t.toastId)return{...e,toasts:[]};return{...e,toasts:e.toasts.filter(e=>e.id!==t.toastId)}}},i=[],d={toasts:[]};function c(e){d=l(d,e),i.forEach(e=>{e(d)})}function m(e){let{...t}=e,r=(s=(s+1)%Number.MAX_SAFE_INTEGER).toString(),a=()=>c({type:"DISMISS_TOAST",toastId:r});return c({type:"ADD_TOAST",toast:{...t,id:r,open:!0,onOpenChange:e=>{e||a()}}}),{id:r,dismiss:a,update:e=>c({type:"UPDATE_TOAST",toast:{...e,id:r}})}}function u(){let[e,t]=a.useState(d);return a.useEffect(()=>(i.push(t),()=>{let e=i.indexOf(t);e>-1&&i.splice(e,1)}),[e]),{...e,toast:m,dismiss:e=>c({type:"DISMISS_TOAST",toastId:e})}}},22250:(e,t,r)=>{"use strict";r.d(t,{cn:()=>o});var a=r(64901),s=r(868);function o(){for(var e=arguments.length,t=Array(e),r=0;r{"use strict";r.d(t,{A:()=>a});let a=(0,r(39997).A)("Send",[["path",{d:"M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z",key:"1ffxy3"}],["path",{d:"m21.854 2.147-10.94 10.939",key:"12cjpa"}]])},51873:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});let a=(0,r(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"}]])},58212:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});let a=(0,r(39997).A)("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]])},21840:(e,t,r)=>{"use strict";r.d(t,{b:()=>l});var a=r(20107),s=r(34544),o=r(20475),n=a.forwardRef((e,t)=>(0,o.jsx)(s.sG.label,{...e,ref:t,onMouseDown:t=>{var r;t.target.closest("button, input, select, textarea")||(null===(r=e.onMouseDown)||void 0===r||r.call(e,t),!t.defaultPrevented&&t.detail>1&&t.preventDefault())}}));n.displayName="Label";var l=n},88853:(e,t,r)=>{"use strict";r.d(t,{b:()=>d});var a=r(20107),s=r(34544),o=r(20475),n="horizontal",l=["horizontal","vertical"],i=a.forwardRef((e,t)=>{let{decorative:r,orientation:a=n,...i}=e,d=l.includes(a)?a:n;return(0,o.jsx)(s.sG.div,{"data-orientation":d,...r?{role:"none"}:{"aria-orientation":"vertical"===d?d:void 0,role:"separator"},...i,ref:t})});i.displayName="Separator";var d=i}},e=>{var t=t=>e(e.s=t);e.O(0,[7780,8885,9464,467,564,191,6035,7358],()=>t(52787)),_N_E=e.O()}]); \ No newline at end of file +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8757],{52787:(e,t,r)=>{Promise.resolve().then(r.bind(r,30233))},30233:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>w});var a=r(20475),s=r(20107),o=r(72167),n=r(36824),l=r(42541),i=r(49153),d=r(31739),c=r(64219),u=r(51873),m=r(58212),p=r(66698);let f=(0,r(39997).A)("Copy",[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]]);var x=r(76554),h=r(32857),v=r(97818),g=r(51303),y=r(45934);let w=()=>{let{toast:e}=(0,h.dj)(),[t,r]=(0,s.useState)(""),[w,b]=(0,s.useState)(""),[j,N]=(0,s.useState)([]),[C,A]=(0,s.useState)([]),[T,E]=(0,s.useState)([]),[S,k]=(0,s.useState)(!1),[R,_]=(0,s.useState)([]),[O,I]=(0,s.useState)(!0),[F,L]=(0,s.useState)(-1),z=(0,s.useRef)(null),D=(0,s.useRef)(null),M=localStorage.getItem("authToken");(0,s.useEffect)(()=>{let e=e=>{D.current&&!D.current.contains(e.target)&&(A([]),L(-1))};return document.addEventListener("mousedown",e),()=>document.removeEventListener("mousedown",e)},[]),(0,s.useEffect)(()=>{(async()=>{try{let e=await fetch("/cgi-bin/quecmanager/advance/fetch_commands.sh"),t=await e.json(),r=Object.entries(t).filter(e=>{let[t]=e;return"error"!==t}).map(e=>{let[t,r]=e;return{description:t,command:r}});if(0===r.length&&t.error)throw Error(t.error);_(r)}catch(t){console.error("Failed to fetch AT commands:",t),e({title:"Error",description:t instanceof Error?t.message:"Failed to load common AT commands",variant:"destructive"})}finally{I(!1)}})()},[]),(0,s.useEffect)(()=>{let e=window.localStorage.getItem("atCommandHistory"),t=window.localStorage.getItem("atCommands");if(e)try{N(JSON.parse(e))}catch(e){console.error("Failed to parse command history:",e),N([])}if(t)try{E(JSON.parse(t))}catch(e){console.error("Failed to parse previous commands:",e),E([])}},[]),(0,s.useEffect)(()=>{j.length>0&&window.localStorage.setItem("atCommandHistory",JSON.stringify(j))},[j]),(0,s.useEffect)(()=>{T.length>0&&window.localStorage.setItem("atCommands",JSON.stringify(T))},[T]);let H=async()=>{let t=w.trim();if("tetris"===t.toLowerCase()){window.open("/utils/dsMDh6647ZGkOLyv60QE/OGwW8ufEw6nWPQSaliNX/games/tetris","_blank"),b("");return}if("prev"===t.toLowerCase()){if(j.length>0){let t=j[0].command;b(""),e({title:"Executing Previous Command",description:"Executing ".concat(t)}),k(!0),r("> ".concat(t,"\nExecuting command, please wait...")),(async()=>{try{var a,s,o,n,l,i;let d=encodeURIComponent(t),c=await fetch("/cgi-bin/quecmanager/at_cmd/at_queue_client.sh?command=".concat(d,"&wait=1"),{method:"GET",headers:{Authorization:"".concat(M)}}),u=await c.json(),m="> ".concat(t,"\n");(null===(a=u.response)||void 0===a?void 0:a.raw_output)&&(m+=u.response.raw_output),r(m);let p={command:t,response:u.response.raw_output||"No output",timestamp:u.command.timestamp,status:u.response.status,duration:u.response.duration_ms,commandId:u.command.id};N(e=>[p,...e]),((null==u?void 0:null===(s=u.response)||void 0===s?void 0:s.status)==="error"||(null==u?void 0:null===(o=u.response)||void 0===o?void 0:o.status)==="timeout")&&e({title:"Command ".concat((null==u?void 0:null===(n=u.response)||void 0===n?void 0:n.status)==="timeout"?"Timeout":"Error"),description:(null==u?void 0:null===(l=u.response)||void 0===l?void 0:l.raw_output)||"Command execution ".concat(null==u?void 0:null===(i=u.response)||void 0===i?void 0:i.status),variant:"destructive"})}catch(s){let a=s instanceof Error?null==s?void 0:s.message:"An unknown error occurred";r("> ".concat(t,"\nError: ").concat(a)),e({title:"Error",description:a,variant:"destructive"})}finally{k(!1)}})();return}e({title:"No Previous Command",description:"Command history is empty",variant:"destructive"});return}if(!t.toUpperCase().startsWith("AT")){e({title:"Invalid Command",description:"Command must start with 'AT'",variant:"destructive"});return}k(!0),b(""),r("> ".concat(t,"\nExecuting command, please wait..."));try{var a,s,o,n,l,i,d,c,u,m;let p=encodeURIComponent(t),f=await fetch("/cgi-bin/quecmanager/at_cmd/at_queue_client.sh?command=".concat(p,"&wait=1"),{method:"GET",headers:{Authorization:"".concat(M)}}),x=await f.json(),h="> ".concat(t,"\n");(null==x?void 0:null===(a=x.response)||void 0===a?void 0:a.raw_output)&&(h+=null==x?void 0:null===(d=x.response)||void 0===d?void 0:d.raw_output),r(h);let v={command:t,response:(null==x?void 0:null===(s=x.response)||void 0===s?void 0:s.raw_output)||"No output",timestamp:x.command.timestamp,status:null==x?void 0:null===(o=x.response)||void 0===o?void 0:o.status,duration:null==x?void 0:null===(n=x.response)||void 0===n?void 0:n.duration_ms,commandId:x.command.id};N(e=>[v,...e]),"success"!==x.response.status||T.includes(t)||E(e=>[...e,t]),((null==x?void 0:null===(l=x.response)||void 0===l?void 0:l.status)==="error"||(null==x?void 0:null===(i=x.response)||void 0===i?void 0:i.status)==="timeout")&&e({title:"Command ".concat((null==x?void 0:null===(c=x.response)||void 0===c?void 0:c.status)==="timeout"?"Timeout":"Error"),description:(null==x?void 0:null===(u=x.response)||void 0===u?void 0:u.raw_output)||"Command execution ".concat(null==x?void 0:null===(m=x.response)||void 0===m?void 0:m.status),variant:"destructive"})}catch(s){let a=s instanceof Error?s.message:"An unknown error occurred";r("> ".concat(t,"\nError: ").concat(a)),e({title:"Error",description:a,variant:"destructive"})}finally{k(!1)}},Z=e=>{N(t=>{let r=[...t];return r.splice(e,1),0===r.length&&window.localStorage.removeItem("atCommandHistory"),r})},$=e=>{E(t=>{let r=t.filter(t=>t!==e);return window.localStorage.setItem("atCommands",JSON.stringify(r)),r}),A(t=>t.filter(t=>t!==e))},B=async t=>{try{if(navigator.clipboard&&window.isSecureContext)await navigator.clipboard.writeText(t);else{let e=document.createElement("textarea");e.value=t,e.style.position="fixed",e.style.left="-999999px",e.style.top="-999999px",document.body.appendChild(e),e.focus(),e.select();try{document.execCommand("copy")}catch(e){throw console.error("Fallback: Oops, unable to copy",e),Error("Copy failed")}finally{e.remove()}}e({title:"Copied!",description:'Command "'.concat(t,'" copied to clipboard'),duration:2e3})}catch(t){console.error("Failed to copy command:",t),e({title:"Error",description:"Failed to copy command to clipboard",variant:"destructive",duration:3e3})}};return(0,a.jsxs)("div",{className:"grid gap-6",children:[(0,a.jsxs)(o.Zp,{children:[(0,a.jsxs)(o.aR,{children:[(0,a.jsx)(o.ZB,{children:"AT Terminal"}),(0,a.jsx)(o.BT,{children:"Send AT commands to your device using the queue system"})]}),(0,a.jsx)(o.Wu,{children:(0,a.jsxs)("div",{className:"grid gap-8 w-full max-w-screen p-4",children:[(0,a.jsxs)("div",{className:"grid gap-1.5",children:[(0,a.jsx)(i.J,{htmlFor:"ATOutput",children:"AT Command Output"}),(0,a.jsx)(d.T,{value:t,placeholder:"AT command output will appear here...",readOnly:!0,className:"h-64 font-mono",id:"ATOutput"})]}),(0,a.jsxs)("div",{children:[(0,a.jsx)(x.Separator,{className:"mb-2"}),0===j.length?(0,a.jsx)("p",{className:"italic text-sm text-muted-foreground font-medium text-center",children:"Command History is Empty"}):(0,a.jsxs)("div",{children:[(0,a.jsxs)("div",{className:"flex justify-between items-center mb-2",children:[(0,a.jsx)(i.J,{children:"Command History"}),(0,a.jsxs)(v.Lt,{children:[(0,a.jsx)(v.tv,{asChild:!0,children:(0,a.jsxs)(l.$,{variant:"outline",size:"sm",children:[(0,a.jsx)(u.A,{className:"h-4 w-4 text-rose-500"}),"Clear All"]})}),(0,a.jsxs)(v.EO,{children:[(0,a.jsxs)(v.wd,{children:[(0,a.jsx)(v.r7,{children:"Clear Command History"}),(0,a.jsx)(v.$v,{children:"This action cannot be undone. This will permanently delete your command history."})]}),(0,a.jsxs)(v.ck,{children:[(0,a.jsx)(v.Zr,{children:"Cancel"}),(0,a.jsx)(v.Rx,{onClick:()=>{N([]),window.localStorage.removeItem("atCommandHistory")},children:"Continue"})]})]})]})]}),(0,a.jsx)(n.F,{className:"h-44 p-4",children:(0,a.jsx)("div",{className:"grid gap-y-2",children:j.map((e,t)=>(0,a.jsx)(o.Zp,{className:"hover:bg-accent/50 transition-colors cursor-pointer",onClick:()=>B(e.command),children:(0,a.jsx)(o.Wu,{className:"p-3 relative",children:(0,a.jsxs)(n.F,{className:"max-w-xs md:max-w-full",children:[(0,a.jsx)(l.$,{variant:"ghost",size:"icon",className:"absolute right-2 top-2 h-4 w-4",onClick:e=>{e.stopPropagation(),Z(t)},children:(0,a.jsx)(m.A,{className:"h-4 w-4"})}),(0,a.jsxs)("div",{className:"grid gap-2",children:[(0,a.jsxs)("div",{className:"flex items-center gap-x-2",children:[(0,a.jsx)("p",{className:"text-sm font-medium",children:e.command}),(0,a.jsxs)(y.E,{className:"".concat("success"===e.status?"bg-primary text-foreground":"timeout"===e.status?"bg-yellow-500 text-foreground":"bg-red-500 text-red-foreground"),children:[e.status," -"," ",void 0!==e.duration&&"".concat(e.duration,"ms")]})]}),e.response&&"No output"!==e.response&&(0,a.jsx)("p",{className:"whitespace-pre-wrap font-mono text-sm",children:e.response})]}),(0,a.jsx)(n.$,{orientation:"horizontal"})]})})},"".concat(e.timestamp,"-").concat(t)))})})]}),(0,a.jsx)(x.Separator,{className:"mt-2"})]}),(0,a.jsxs)("div",{className:"grid gap-1.5 relative",children:[(0,a.jsx)(i.J,{htmlFor:"ATInput",children:"AT Command Input"}),(0,a.jsx)(c.p,{ref:z,value:w,onChange:e=>{let t=e.target.value;b(t),L(-1),requestAnimationFrame(()=>{t.trim()?A(T.filter(e=>e.toLowerCase().includes(t.toLowerCase())).slice(0,5)):A([])})},onKeyDown:e=>{"Enter"!==e.key||e.shiftKey||(e.preventDefault(),H())},placeholder:"ATI",id:"ATInput",disabled:S,autoComplete:"off"}),C.length>0&&(0,a.jsx)("div",{ref:D,className:"absolute top-full mt-1 bg-background border rounded-md shadow-lg z-10 w-full",children:(0,a.jsx)(n.F,{className:"max-h-[200px]",children:C.map((e,t)=>(0,a.jsxs)("div",{className:"p-2 cursor-pointer flex items-center justify-between group transition-colors ".concat(t===F?"bg-accent":"hover:bg-accent/50"),onClick:()=>{var t;b(e),A([]),L(-1),null===(t=z.current)||void 0===t||t.focus()},children:[(0,a.jsx)("p",{className:"text-sm font-medium text-muted-foreground flex-grow",children:e}),(0,a.jsx)(l.$,{variant:"ghost",size:"icon",className:"h-4 w-4 opacity-0 group-hover:opacity-100 transition-opacity",onClick:t=>{t.stopPropagation(),$(e)},children:(0,a.jsx)(m.A,{className:"h-4 w-4"})})]},t))})}),(0,a.jsx)("p",{className:"text-sm text-muted-foreground",children:"Your successful commands will be saved for autocomplete."})]})]})}),(0,a.jsx)(o.wL,{className:"grid border-t py-4",children:(0,a.jsxs)(l.$,{onClick:H,disabled:S,children:[(0,a.jsx)(p.A,{className:"mr-2"}),S?"Sending...":"Send Command"]})})]}),(0,a.jsxs)(o.Zp,{children:[(0,a.jsxs)(o.aR,{children:[(0,a.jsx)(o.ZB,{children:"Common AT Commands List"}),(0,a.jsx)(o.BT,{children:"Here are some common AT commands you can try:"})]}),(0,a.jsx)(o.Wu,{children:(0,a.jsxs)(g.XI,{children:[(0,a.jsx)(g.r6,{children:"AT Command List"}),(0,a.jsx)(g.A0,{children:(0,a.jsxs)(g.Hj,{children:[(0,a.jsx)(g.nd,{children:"AT Command"}),(0,a.jsx)(g.nd,{className:"text-right",children:"Description"})]})}),(0,a.jsx)(g.BF,{children:O?(0,a.jsx)(g.Hj,{children:(0,a.jsx)(g.nA,{colSpan:3,className:"text-center",children:"Loading commands..."})}):0===R.length?(0,a.jsx)(g.Hj,{children:(0,a.jsx)(g.nA,{colSpan:3,className:"text-center",children:"No commands available"})}):R.map((e,t)=>(0,a.jsxs)(g.Hj,{children:[(0,a.jsxs)(g.nA,{className:"flex items-center gap-x-2",children:[(0,a.jsx)("p",{className:"font-mono truncate max-w-6 md:max-w-md",children:e.command}),(0,a.jsx)(f,{className:"w-3 h-3 hover:text-purple-300 cursor-pointer",onClick:()=>B(e.command)})]}),(0,a.jsx)(g.nA,{className:"text-right max-w-10 md:max-w-lg",children:e.description})]},t))})]})})]})]})}},97818:(e,t,r)=>{"use strict";r.d(t,{$v:()=>h,EO:()=>m,Lt:()=>i,Rx:()=>v,Zr:()=>g,ck:()=>f,r7:()=>x,tv:()=>d,wd:()=>p});var a=r(20475),s=r(20107),o=r(50564),n=r(22250),l=r(42541);let i=o.bL,d=o.l9,c=o.ZL,u=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,a.jsx)(o.hJ,{className:(0,n.cn)("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",r),...s,ref:t})});u.displayName=o.hJ.displayName;let m=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,a.jsxs)(c,{children:[(0,a.jsx)(u,{}),(0,a.jsx)(o.UC,{ref:t,className:(0,n.cn)("fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",r),...s})]})});m.displayName=o.UC.displayName;let p=e=>{let{className:t,...r}=e;return(0,a.jsx)("div",{className:(0,n.cn)("flex flex-col space-y-2 text-center sm:text-left",t),...r})};p.displayName="AlertDialogHeader";let f=e=>{let{className:t,...r}=e;return(0,a.jsx)("div",{className:(0,n.cn)("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",t),...r})};f.displayName="AlertDialogFooter";let x=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,a.jsx)(o.hE,{ref:t,className:(0,n.cn)("text-lg font-semibold",r),...s})});x.displayName=o.hE.displayName;let h=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,a.jsx)(o.VY,{ref:t,className:(0,n.cn)("text-sm text-muted-foreground",r),...s})});h.displayName=o.VY.displayName;let v=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,a.jsx)(o.rc,{ref:t,className:(0,n.cn)((0,l.r)(),r),...s})});v.displayName=o.rc.displayName;let g=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,a.jsx)(o.ZD,{ref:t,className:(0,n.cn)((0,l.r)({variant:"outline"}),"mt-2 sm:mt-0",r),...s})});g.displayName=o.ZD.displayName},45934:(e,t,r)=>{"use strict";r.d(t,{E:()=>l});var a=r(20475);r(20107);var s=r(29395),o=r(22250);let n=(0,s.F)("inline-flex items-center rounded-md border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground shadow hover:bg-primary/80",secondary:"border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80",destructive:"border-transparent bg-destructive text-destructive-foreground shadow hover:bg-destructive/80",outline:"text-foreground"}},defaultVariants:{variant:"default"}});function l(e){let{className:t,variant:r,...s}=e;return(0,a.jsx)("div",{className:(0,o.cn)(n({variant:r}),t),...s})}},42541:(e,t,r)=>{"use strict";r.d(t,{$:()=>d,r:()=>i});var a=r(20475),s=r(20107),o=r(61837),n=r(29395),l=r(22250);let i=(0,n.F)("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{variants:{variant:{default:"bg-primary text-primary-foreground shadow hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90",outline:"border border-input bg-background shadow-sm hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2",sm:"h-8 rounded-md px-3 text-xs",lg:"h-10 rounded-md px-8",icon:"h-9 w-9"}},defaultVariants:{variant:"default",size:"default"}}),d=s.forwardRef((e,t)=>{let{className:r,variant:s,size:n,asChild:d=!1,...c}=e,u=d?o.DX:"button";return(0,a.jsx)(u,{className:(0,l.cn)(i({variant:s,size:n,className:r})),ref:t,...c})});d.displayName="Button"},72167:(e,t,r)=>{"use strict";r.d(t,{BT:()=>d,Wu:()=>c,ZB:()=>i,Zp:()=>n,aR:()=>l,wL:()=>u});var a=r(20475),s=r(20107),o=r(22250);let n=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,a.jsx)("div",{ref:t,className:(0,o.cn)("rounded-xl border bg-card text-card-foreground shadow",r),...s})});n.displayName="Card";let l=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,a.jsx)("div",{ref:t,className:(0,o.cn)("flex flex-col space-y-1.5 p-6",r),...s})});l.displayName="CardHeader";let i=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,a.jsx)("h3",{ref:t,className:(0,o.cn)("font-semibold leading-none tracking-tight",r),...s})});i.displayName="CardTitle";let d=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,a.jsx)("p",{ref:t,className:(0,o.cn)("text-sm text-muted-foreground",r),...s})});d.displayName="CardDescription";let c=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,a.jsx)("div",{ref:t,className:(0,o.cn)("p-6 pt-0",r),...s})});c.displayName="CardContent";let u=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,a.jsx)("div",{ref:t,className:(0,o.cn)("flex items-center p-6 pt-0",r),...s})});u.displayName="CardFooter"},64219:(e,t,r)=>{"use strict";r.d(t,{p:()=>n});var a=r(20475),s=r(20107),o=r(22250);let n=s.forwardRef((e,t)=>{let{className:r,type:s,...n}=e;return(0,a.jsx)("input",{type:s,className:(0,o.cn)("flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-sm shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50",r),ref:t,...n})});n.displayName="Input"},49153:(e,t,r)=>{"use strict";r.d(t,{J:()=>d});var a=r(20475),s=r(20107),o=r(21840),n=r(29395),l=r(22250);let i=(0,n.F)("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),d=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,a.jsx)(o.b,{ref:t,className:(0,l.cn)(i(),r),...s})});d.displayName=o.b.displayName},36824:(e,t,r)=>{"use strict";r.d(t,{$:()=>i,F:()=>l});var a=r(20475),s=r(20107),o=r(89679),n=r(22250);let l=s.forwardRef((e,t)=>{let{className:r,children:s,...l}=e;return(0,a.jsxs)(o.bL,{ref:t,className:(0,n.cn)("relative overflow-hidden",r),...l,children:[(0,a.jsx)(o.LM,{className:"h-full w-full rounded-[inherit]",children:s}),(0,a.jsx)(i,{}),(0,a.jsx)(o.OK,{})]})});l.displayName=o.bL.displayName;let i=s.forwardRef((e,t)=>{let{className:r,orientation:s="vertical",...l}=e;return(0,a.jsx)(o.VM,{ref:t,orientation:s,className:(0,n.cn)("flex touch-none select-none transition-colors","vertical"===s&&"h-full w-2.5 border-l border-l-transparent p-[1px]","horizontal"===s&&"h-2.5 flex-col border-t border-t-transparent p-[1px]",r),...l,children:(0,a.jsx)(o.lr,{className:"relative flex-1 rounded-full bg-border"})})});i.displayName=o.VM.displayName},76554:(e,t,r)=>{"use strict";r.d(t,{Separator:()=>l});var a=r(20475),s=r(20107),o=r(88853),n=r(22250);let l=s.forwardRef((e,t)=>{let{className:r,orientation:s="horizontal",decorative:l=!0,...i}=e;return(0,a.jsx)(o.b,{ref:t,decorative:l,orientation:s,className:(0,n.cn)("shrink-0 bg-border","horizontal"===s?"h-[1px] w-full":"h-full w-[1px]",r),...i})});l.displayName=o.b.displayName},51303:(e,t,r)=>{"use strict";r.d(t,{A0:()=>l,BF:()=>i,Hj:()=>d,XI:()=>n,nA:()=>u,nd:()=>c,r6:()=>m});var a=r(20475),s=r(20107),o=r(22250);let n=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,a.jsx)("div",{className:"relative w-full overflow-auto",children:(0,a.jsx)("table",{ref:t,className:(0,o.cn)("w-full caption-bottom text-sm",r),...s})})});n.displayName="Table";let l=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,a.jsx)("thead",{ref:t,className:(0,o.cn)("[&_tr]:border-b",r),...s})});l.displayName="TableHeader";let i=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,a.jsx)("tbody",{ref:t,className:(0,o.cn)("[&_tr:last-child]:border-0",r),...s})});i.displayName="TableBody",s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,a.jsx)("tfoot",{ref:t,className:(0,o.cn)("border-t bg-muted/50 font-medium [&>tr]:last:border-b-0",r),...s})}).displayName="TableFooter";let d=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,a.jsx)("tr",{ref:t,className:(0,o.cn)("border-b transition-colors hover:bg-muted/50 data-[state=selected]:bg-muted",r),...s})});d.displayName="TableRow";let c=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,a.jsx)("th",{ref:t,className:(0,o.cn)("h-10 px-2 text-left align-middle font-medium text-muted-foreground [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]",r),...s})});c.displayName="TableHead";let u=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,a.jsx)("td",{ref:t,className:(0,o.cn)("p-2 align-middle [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]",r),...s})});u.displayName="TableCell";let m=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,a.jsx)("caption",{ref:t,className:(0,o.cn)("mt-4 text-sm text-muted-foreground",r),...s})});m.displayName="TableCaption"},31739:(e,t,r)=>{"use strict";r.d(t,{T:()=>n});var a=r(20475),s=r(20107),o=r(22250);let n=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,a.jsx)("textarea",{className:(0,o.cn)("flex min-h-[60px] w-full rounded-md border border-input bg-transparent px-3 py-2 text-base shadow-sm placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",r),ref:t,...s})});n.displayName="Textarea"},32857:(e,t,r)=>{"use strict";r.d(t,{dj:()=>m,oR:()=>u});var a=r(20107);let s=0,o=new Map,n=e=>{if(o.has(e))return;let t=setTimeout(()=>{o.delete(e),c({type:"REMOVE_TOAST",toastId:e})},1e6);o.set(e,t)},l=(e,t)=>{switch(t.type){case"ADD_TOAST":return{...e,toasts:[t.toast,...e.toasts].slice(0,1)};case"UPDATE_TOAST":return{...e,toasts:e.toasts.map(e=>e.id===t.toast.id?{...e,...t.toast}:e)};case"DISMISS_TOAST":{let{toastId:r}=t;return r?n(r):e.toasts.forEach(e=>{n(e.id)}),{...e,toasts:e.toasts.map(e=>e.id===r||void 0===r?{...e,open:!1}:e)}}case"REMOVE_TOAST":if(void 0===t.toastId)return{...e,toasts:[]};return{...e,toasts:e.toasts.filter(e=>e.id!==t.toastId)}}},i=[],d={toasts:[]};function c(e){d=l(d,e),i.forEach(e=>{e(d)})}function u(e){let{...t}=e,r=(s=(s+1)%Number.MAX_SAFE_INTEGER).toString(),a=()=>c({type:"DISMISS_TOAST",toastId:r});return c({type:"ADD_TOAST",toast:{...t,id:r,open:!0,onOpenChange:e=>{e||a()}}}),{id:r,dismiss:a,update:e=>c({type:"UPDATE_TOAST",toast:{...e,id:r}})}}function m(){let[e,t]=a.useState(d);return a.useEffect(()=>(i.push(t),()=>{let e=i.indexOf(t);e>-1&&i.splice(e,1)}),[e]),{...e,toast:u,dismiss:e=>c({type:"DISMISS_TOAST",toastId:e})}}},22250:(e,t,r)=>{"use strict";r.d(t,{cn:()=>o});var a=r(64901),s=r(868);function o(){for(var e=arguments.length,t=Array(e),r=0;r{"use strict";r.d(t,{A:()=>i});var a=r(20107);let s=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),o=function(){for(var e=arguments.length,t=Array(e),r=0;r!!e&&r.indexOf(e)===t).join(" ")};var n={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 l=(0,a.forwardRef)((e,t)=>{let{color:r="currentColor",size:s=24,strokeWidth:l=2,absoluteStrokeWidth:i,className:d="",children:c,iconNode:u,...m}=e;return(0,a.createElement)("svg",{ref:t,...n,width:s,height:s,stroke:r,strokeWidth:i?24*Number(l)/Number(s):l,className:o("lucide",d),...m},[...u.map(e=>{let[t,r]=e;return(0,a.createElement)(t,r)}),...Array.isArray(c)?c:[c]])}),i=(e,t)=>{let r=(0,a.forwardRef)((r,n)=>{let{className:i,...d}=r;return(0,a.createElement)(l,{ref:n,iconNode:t,className:o("lucide-".concat(s(e)),i),...d})});return r.displayName="".concat(e),r}},66698:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});let a=(0,r(39997).A)("Send",[["path",{d:"M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z",key:"1ffxy3"}],["path",{d:"m21.854 2.147-10.94 10.939",key:"12cjpa"}]])},51873:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});let a=(0,r(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"}]])},58212:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});let a=(0,r(39997).A)("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]])},56703:(e,t,r)=>{"use strict";function a(e,[t,r]){return Math.min(r,Math.max(t,e))}r.d(t,{q:()=>a})},76056:(e,t,r)=>{"use strict";r.d(t,{jH:()=>o});var a=r(20107);r(20475);var s=a.createContext(void 0);function o(e){let t=a.useContext(s);return e||t||"ltr"}},21840:(e,t,r)=>{"use strict";r.d(t,{b:()=>l});var a=r(20107),s=r(34544),o=r(20475),n=a.forwardRef((e,t)=>(0,o.jsx)(s.sG.label,{...e,ref:t,onMouseDown:t=>{var r;t.target.closest("button, input, select, textarea")||(null===(r=e.onMouseDown)||void 0===r||r.call(e,t),!t.defaultPrevented&&t.detail>1&&t.preventDefault())}}));n.displayName="Label";var l=n},88853:(e,t,r)=>{"use strict";r.d(t,{b:()=>d});var a=r(20107),s=r(34544),o=r(20475),n="horizontal",l=["horizontal","vertical"],i=a.forwardRef((e,t)=>{let{decorative:r,orientation:a=n,...i}=e,d=l.includes(a)?a:n;return(0,o.jsx)(s.sG.div,{"data-orientation":d,...r?{role:"none"}:{"aria-orientation":"vertical"===d?d:void 0,role:"separator"},...i,ref:t})});i.displayName="Separator";var d=i}},e=>{var t=t=>e(e.s=t);e.O(0,[7780,8885,9464,9679,564,191,6035,7358],()=>t(52787)),_N_E=e.O()}]); \ No newline at end of file diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/cell-settings/cell-locking/page-2efaba6b348064d3.js b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/cell-settings/cell-locking/page-2efaba6b348064d3.js new file mode 100644 index 0000000..ee6cee7 --- /dev/null +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/cell-settings/cell-locking/page-2efaba6b348064d3.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5665],{63881:(e,s,_)=>{Promise.resolve().then(_.bind(_,25621))}},e=>{var s=s=>e(e.s=s);e.O(0,[9980,7780,8885,3746,9464,3494,2487,2266,191,6035,7358],()=>s(63881)),_N_E=e.O()}]); \ No newline at end of file diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/cell-settings/cell-locking/page-8ef19f2a1c7eec6b.js b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/cell-settings/cell-locking/page-8ef19f2a1c7eec6b.js deleted file mode 100644 index dc6977f..0000000 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/cell-settings/cell-locking/page-8ef19f2a1c7eec6b.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5665],{63881:(e,s,_)=>{Promise.resolve().then(_.bind(_,87133))}},e=>{var s=s=>e(e.s=s);e.O(0,[9980,7780,8885,3746,9464,3494,2487,1209,191,6035,7358],()=>s(63881)),_N_E=e.O()}]); \ No newline at end of file diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/cell-settings/page-283fcf1b01289ed9.js b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/cell-settings/page-283fcf1b01289ed9.js new file mode 100644 index 0000000..d4fd972 --- /dev/null +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/cell-settings/page-283fcf1b01289ed9.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4808],{38448:(e,s,_)=>{Promise.resolve().then(_.bind(_,25621))}},e=>{var s=s=>e(e.s=s);e.O(0,[9980,7780,8885,3746,9464,3494,2487,2266,191,6035,7358],()=>s(38448)),_N_E=e.O()}]); \ No newline at end of file diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/cell-settings/page-63a656aeea715dfb.js b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/cell-settings/page-63a656aeea715dfb.js deleted file mode 100644 index 312df7d..0000000 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/cell-settings/page-63a656aeea715dfb.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4808],{38448:(e,s,_)=>{Promise.resolve().then(_.bind(_,87133))}},e=>{var s=s=>e(e.s=s);e.O(0,[9980,7780,8885,3746,9464,3494,2487,1209,191,6035,7358],()=>s(38448)),_N_E=e.O()}]); \ No newline at end of file diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/cell-settings/sms/page-4b89264bd37ab145.js b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/cell-settings/sms/page-06f7d4987dbbe415.js similarity index 99% rename from ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/cell-settings/sms/page-4b89264bd37ab145.js rename to ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/cell-settings/sms/page-06f7d4987dbbe415.js index 4935329..1d85f88 100644 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/cell-settings/sms/page-4b89264bd37ab145.js +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/cell-settings/sms/page-06f7d4987dbbe415.js @@ -1 +1 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3358],{27676:(e,t,s)=>{Promise.resolve().then(s.bind(s,91557))},91557:(e,t,s)=>{"use strict";s.r(t),s.d(t,{default:()=>O});var a=s(20475),r=s(20107),n=s(59166),l=s(66698),o=s(83148),i=s(51873),d=s(72167),c=s(93557),m=s(36824),u=s(574),p=s(42541),f=s(76554),x=s(31739),h=s(32857),g=s(4917),y=s(91912),j=s(70964),N=s(68288),v=s(80421),w=s(22250),b=s(7197);let S=r.forwardRef((e,t)=>{let{className:s,...r}=e;return(0,a.jsx)(v.uB,{ref:t,className:(0,w.cn)("flex h-full w-full flex-col overflow-hidden rounded-md bg-popover text-popover-foreground",s),...r})});S.displayName=v.uB.displayName;let R=r.forwardRef((e,t)=>{let{className:s,...r}=e;return(0,a.jsxs)("div",{className:"flex items-center border-b px-3","cmdk-input-wrapper":"",children:[(0,a.jsx)(b.$p$,{className:"mr-2 h-4 w-4 shrink-0 opacity-50"}),(0,a.jsx)(v.uB.Input,{ref:t,className:(0,w.cn)("flex h-10 w-full rounded-md bg-transparent py-3 text-sm outline-none placeholder:text-muted-foreground disabled:cursor-not-allowed disabled:opacity-50",s),...r})]})});R.displayName=v.uB.Input.displayName;let C=r.forwardRef((e,t)=>{let{className:s,...r}=e;return(0,a.jsx)(v.uB.List,{ref:t,className:(0,w.cn)("max-h-[300px] overflow-y-auto overflow-x-hidden",s),...r})});C.displayName=v.uB.List.displayName;let E=r.forwardRef((e,t)=>(0,a.jsx)(v.uB.Empty,{ref:t,className:"py-6 text-center text-sm",...e}));E.displayName=v.uB.Empty.displayName;let T=r.forwardRef((e,t)=>{let{className:s,...r}=e;return(0,a.jsx)(v.uB.Group,{ref:t,className:(0,w.cn)("overflow-hidden p-1 text-foreground [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:py-1.5 [&_[cmdk-group-heading]]:text-xs [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-muted-foreground",s),...r})});T.displayName=v.uB.Group.displayName,r.forwardRef((e,t)=>{let{className:s,...r}=e;return(0,a.jsx)(v.uB.Separator,{ref:t,className:(0,w.cn)("-mx-1 h-px bg-border",s),...r})}).displayName=v.uB.Separator.displayName;let A=r.forwardRef((e,t)=>{let{className:s,...r}=e;return(0,a.jsx)(v.uB.Item,{ref:t,className:(0,w.cn)("relative flex cursor-default gap-2 select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none data-[disabled=true]:pointer-events-none data-[selected=true]:bg-accent data-[selected=true]:text-accent-foreground data-[disabled=true]:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",s),...r})});A.displayName=v.uB.Item.displayName;var k=s(64219),_=s(55948);let M=r.forwardRef((e,t)=>{let{className:s,onChange:r,...n}=e;return(0,a.jsx)(j.Ay,{ref:t,className:(0,w.cn)("flex",s),flagComponent:D,countrySelectComponent:B,inputComponent:I,international:!0,defaultCountry:"US",smartCaret:!1,onChange:e=>null==r?void 0:r(e||""),...n})});M.displayName="PhoneInput";let I=r.forwardRef((e,t)=>{let{className:s,...r}=e;return(0,a.jsx)(k.p,{className:(0,w.cn)("rounded-e-lg rounded-s-none",s),...r,ref:t})});I.displayName="InputComponent";let B=e=>{let{disabled:t,value:s,options:r,onChange:n}=e;return(0,a.jsxs)(_.AM,{children:[(0,a.jsx)(_.Wv,{asChild:!0,children:(0,a.jsxs)(p.$,{type:"button",variant:"outline",className:"flex gap-1 rounded-e-none rounded-s-lg border-r-0 px-3 focus:z-10",disabled:t,children:[(0,a.jsx)(D,{country:s,countryName:s}),(0,a.jsx)(g.A,{className:(0,w.cn)("-mr-2 size-4 opacity-50",t?"hidden":"opacity-100")})]})}),(0,a.jsx)(_.hl,{className:"w-[300px] p-0",children:(0,a.jsxs)(S,{children:[(0,a.jsx)(R,{placeholder:"Search country..."}),(0,a.jsx)(C,{children:(0,a.jsxs)(m.F,{className:"h-72",children:[(0,a.jsx)(E,{children:"No country found."}),(0,a.jsx)(T,{children:r.map(e=>{let{value:t,label:r}=e;return t?(0,a.jsx)(z,{country:t,countryName:r,selectedCountry:s,onChange:n},t):null})})]})})]})})]})},z=e=>{let{country:t,countryName:s,selectedCountry:r,onChange:n}=e;return(0,a.jsxs)(A,{className:"gap-2",onSelect:()=>n(t),children:[(0,a.jsx)(D,{country:t,countryName:s}),(0,a.jsx)("span",{className:"flex-1 text-sm",children:s}),(0,a.jsx)("span",{className:"text-sm text-foreground/50",children:"+".concat(j.Ko(t))}),(0,a.jsx)(y.A,{className:"ml-auto size-4 ".concat(t===r?"opacity-100":"opacity-0")})]})},D=e=>{let{country:t,countryName:s}=e,r=N.Ay[t];return(0,a.jsx)("span",{className:"flex h-4 w-6 overflow-hidden rounded-sm bg-foreground/20 [&_svg]:size-full",children:r&&(0,a.jsx)(r,{title:s})})},O=()=>{let[e,t]=(0,r.useState)([]),[s,g]=(0,r.useState)(!1),[y,j]=(0,r.useState)([]),[N,v]=(0,r.useState)(""),[w,b]=(0,r.useState)(""),[S,R]=(0,r.useState)(!1),[C,E]=(0,r.useState)(""),T=e=>e.replace(/\+|\s/g,""),A=(e,t)=>{if(!e.trim()||!t.trim())return(0,h.oR)({title:"Validation Error",description:"Phone number and message are required",variant:"destructive"}),!1;let s=T(e);return!!/^\d+$/.test(s)||((0,h.oR)({title:"Validation Error",description:"Phone number should contain only numbers",variant:"destructive"}),!1)},k=async()=>{if(A(N,w)){R(!0);try{let e={phone:T(N.trim()),message:w.trim()},t=await fetch("/cgi-bin/quecmanager/cell-settings/sms/sms_send.sh",{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded",Accept:"application/json","Cache-Control":"no-cache"},body:new URLSearchParams(e).toString()}),s=await t.json();if(console.log("Response data:",s),s.success)(0,h.oR)({title:"Success",description:"Message sent successfully"}),v(""),b(""),B();else throw Error(s.error||"Failed to send message")}catch(e){console.error("Send operation failed:",e),(0,h.oR)({title:"Error",description:e instanceof Error?e.message:"Something went wrong",variant:"destructive"})}finally{R(!1)}}},_=async(e,t)=>{if(A(e,t)){R(!0);try{let s={phone:T(e.trim()),message:t.trim()},a=await fetch("/cgi-bin/quecmanager/cell-settings/sms/sms_send.sh",{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded",Accept:"application/json","Cache-Control":"no-cache"},body:new URLSearchParams(s).toString()}),r=await a.json();if(console.log("Response data:",r),r.success)(0,h.oR)({title:"Success",description:"Reply sent successfully"}),E(""),B();else throw Error(r.error||"Failed to send reply")}catch(e){console.error("Reply operation failed:",e),(0,h.oR)({title:"Error",description:e instanceof Error?e.message:"Something went wrong",variant:"destructive"})}finally{R(!1)}}},I=e=>{let t={},s=[];return e.msg.forEach(e=>{if(void 0!==e.reference&&void 0!==e.part){var a;let r="".concat(e.sender,"-").concat(e.reference);t[r]||(t[r]={index:e.index,status:"received",sender:e.sender,timestamp:e.timestamp,message:"",originalIndices:[]}),t[r].message+=e.content,null===(a=t[r].originalIndices)||void 0===a||a.push(e.index),e.part===e.total&&(s.push(t[r]),delete t[r])}else s.push({index:e.index,status:"received",sender:e.sender,timestamp:e.timestamp,message:e.content,originalIndices:[e.index]})}),Object.values(t).forEach(e=>{s.push(e)}),s.sort((e,t)=>new Date(t.timestamp).getTime()-new Date(e.timestamp).getTime())},B=async()=>{g(!0);try{let e=await fetch("/cgi-bin/quecmanager/cell-settings/sms/sms_inbox.sh"),s=await e.json();if(!(null==s?void 0:s.msg)||!Array.isArray(s.msg))throw Error("Invalid response format");let a=I(s);t(a),j([])}catch(e){console.error("Failed to refresh SMS:",e),t([])}finally{g(!1)}},z=async e=>{g(!0);try{if(!e.length)throw Error("No messages selected");let t=[...new Set(e)].sort((e,t)=>e-t).join(",");console.log("Deleting messages with indices:",t);let s=await fetch("/cgi-bin/quecmanager/cell-settings/sms/sms_delete.sh?indexes=".concat(t),{method:"GET",headers:{Accept:"application/json","Cache-Control":"no-cache"}}),a=await s.text();if(console.log("Raw response:",a),/Deleted message \d+/.test(a))(0,h.oR)({title:"Success!",description:"Selected messages deleted."}),await B();else throw Error("Something went wrong")}catch(e){console.error("Delete operation failed:",e),(0,h.oR)({title:"Error!",description:"Something went wrong",variant:"destructive"})}finally{g(!1)}},D=e=>{j(t=>{let s=new Set(t);return e.every(e=>s.has(e))?e.forEach(e=>s.delete(e)):e.forEach(e=>s.add(e)),Array.from(s)})},O=e=>{try{let[t,s]=e.split(" "),[a,r,n]=t.split("/");return{date:"20".concat(n,"-").concat(a,"-").concat(r),time:s}}catch(e){return console.error("Error parsing timestamp:",e),{date:"Invalid date",time:"Invalid time"}}};return(0,r.useEffect)(()=>{B()},[]),(0,a.jsxs)("div",{className:"grid gap-6",children:[(0,a.jsxs)(d.Zp,{className:"w-full max-w-screen",children:[(0,a.jsxs)(d.aR,{children:[(0,a.jsx)(d.ZB,{children:"SMS Inbox"}),(0,a.jsx)(d.BT,{children:(0,a.jsxs)("div",{className:"flex justify-between items-center",children:[(0,a.jsx)("span",{children:"View and manage SMS messages"}),(0,a.jsxs)("div",{className:"flex items-center space-x-1.5",children:[(0,a.jsx)(u.S,{checked:e.length>0&&y.length===e.flatMap(e=>e.originalIndices||[e.index]).length,onCheckedChange:t=>{t?j(e.flatMap(e=>e.originalIndices||[e.index])):j([])}}),(0,a.jsx)("span",{className:"text-sm",children:"Select All"})]})]})})]}),(0,a.jsx)(d.Wu,{children:(0,a.jsx)(m.F,{className:"h-[400px] w-full xs:max-w-xs p-4 grid",children:s?(0,a.jsxs)("div",{className:"flex flex-col items-center justify-center py-8",children:[(0,a.jsx)(n.A,{className:"h-8 w-8 animate-spin"}),(0,a.jsx)("p",{className:"mt-2",children:"Loading messages..."})]}):0===e.length?(0,a.jsx)("p",{className:"text-center py-8 text-muted-foreground",children:"No messages found"}):e.map(e=>{let{date:t,time:s}=O(e.timestamp),r=e.originalIndices||[e.index];return(0,a.jsxs)(c.lG,{children:[(0,a.jsx)(c.zM,{className:"w-full",children:(0,a.jsxs)(d.Zp,{className:"my-2 dark:hover:bg-slate-900 hover:bg-slate-100",children:[(0,a.jsxs)(d.aR,{children:[(0,a.jsxs)("div",{className:"flex justify-between items-center",children:[(0,a.jsx)(d.ZB,{children:e.sender}),(0,a.jsxs)("div",{className:"flex items-center space-x-2",onClick:e=>e.stopPropagation(),children:[(0,a.jsx)("p",{className:"text-muted-foreground font-medium text-xs",children:r.join(", ")}),(0,a.jsx)(u.S,{checked:r.every(e=>y.includes(e)),onCheckedChange:()=>D(r)})]})]}),(0,a.jsxs)(d.BT,{className:"text-left",children:[t," at ",s]})]}),(0,a.jsx)(d.Wu,{children:(0,a.jsx)("p",{className:"line-clamp-3",children:e.message})})]})}),(0,a.jsxs)(c.Cf,{children:[(0,a.jsxs)(c.c7,{children:[(0,a.jsx)(c.L3,{children:e.sender}),(0,a.jsxs)(c.rr,{children:[t," at ",s]})]}),(0,a.jsx)("p",{className:"whitespace-pre-line",children:e.message}),(0,a.jsx)(f.Separator,{className:"my-2"}),(0,a.jsxs)("div",{className:"space-y-4",children:[(0,a.jsx)(x.T,{placeholder:"Reply to ".concat(e.sender,"..."),className:"h-24",value:C,onChange:e=>E(e.target.value)}),(0,a.jsx)("div",{className:"flex justify-end",children:(0,a.jsxs)(p.$,{onClick:()=>_(e.sender,C),disabled:S||!C.trim(),children:[S?(0,a.jsx)(n.A,{className:"h-4 w-4 animate-spin"}):(0,a.jsx)(l.A,{className:"h-4 w-4"}),S?"Sending...":"Reply"]})})]})]})]},r.join("-"))})})}),(0,a.jsx)(d.wL,{className:"border-t py-4",children:(0,a.jsxs)("div",{className:"flex w-full justify-between items-center",children:[(0,a.jsxs)(p.$,{variant:"outline",onClick:B,disabled:s,children:[(0,a.jsx)(o.A,{className:"h-4 w-4"}),"Refresh"]}),(0,a.jsxs)(p.$,{variant:"destructive",disabled:0===y.length||s,onClick:()=>{if(0===y.length){(0,h.oR)({title:"Delete Messages",description:"No messages selected"});return}z(y)},children:[(0,a.jsx)(i.A,{className:"h-4 w-4"}),"Delete Selected"]})]})})]}),(0,a.jsxs)(d.Zp,{children:[(0,a.jsxs)(d.aR,{children:[(0,a.jsx)(d.ZB,{children:"Send SMS"}),(0,a.jsx)(d.BT,{children:"Send a new SMS message"})]}),(0,a.jsx)(d.Wu,{children:(0,a.jsxs)("div",{className:"grid gap-6",children:[(0,a.jsx)(M,{value:N,onChange:e=>v(e),placeholder:"Enter recipient phone number"}),(0,a.jsx)(x.T,{placeholder:"Type your SMS here...",className:"h-32",value:w,onChange:e=>b(e.target.value),required:!0}),(0,a.jsx)("div",{className:"flex justify-end",children:(0,a.jsxs)(p.$,{onClick:k,disabled:S||!N.trim()||!w.trim(),children:[S?(0,a.jsx)(n.A,{className:"h-4 w-4 animate-spin"}):(0,a.jsx)(l.A,{className:"h-4 w-4"}),S?"Sending SMS...":"Send SMS"]})})]})})]})]})}},42541:(e,t,s)=>{"use strict";s.d(t,{$:()=>d,r:()=>i});var a=s(20475),r=s(20107),n=s(61837),l=s(29395),o=s(22250);let i=(0,l.F)("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{variants:{variant:{default:"bg-primary text-primary-foreground shadow hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90",outline:"border border-input bg-background shadow-sm hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2",sm:"h-8 rounded-md px-3 text-xs",lg:"h-10 rounded-md px-8",icon:"h-9 w-9"}},defaultVariants:{variant:"default",size:"default"}}),d=r.forwardRef((e,t)=>{let{className:s,variant:r,size:l,asChild:d=!1,...c}=e,m=d?n.DX:"button";return(0,a.jsx)(m,{className:(0,o.cn)(i({variant:r,size:l,className:s})),ref:t,...c})});d.displayName="Button"},72167:(e,t,s)=>{"use strict";s.d(t,{BT:()=>d,Wu:()=>c,ZB:()=>i,Zp:()=>l,aR:()=>o,wL:()=>m});var a=s(20475),r=s(20107),n=s(22250);let l=r.forwardRef((e,t)=>{let{className:s,...r}=e;return(0,a.jsx)("div",{ref:t,className:(0,n.cn)("rounded-xl border bg-card text-card-foreground shadow",s),...r})});l.displayName="Card";let o=r.forwardRef((e,t)=>{let{className:s,...r}=e;return(0,a.jsx)("div",{ref:t,className:(0,n.cn)("flex flex-col space-y-1.5 p-6",s),...r})});o.displayName="CardHeader";let i=r.forwardRef((e,t)=>{let{className:s,...r}=e;return(0,a.jsx)("h3",{ref:t,className:(0,n.cn)("font-semibold leading-none tracking-tight",s),...r})});i.displayName="CardTitle";let d=r.forwardRef((e,t)=>{let{className:s,...r}=e;return(0,a.jsx)("p",{ref:t,className:(0,n.cn)("text-sm text-muted-foreground",s),...r})});d.displayName="CardDescription";let c=r.forwardRef((e,t)=>{let{className:s,...r}=e;return(0,a.jsx)("div",{ref:t,className:(0,n.cn)("p-6 pt-0",s),...r})});c.displayName="CardContent";let m=r.forwardRef((e,t)=>{let{className:s,...r}=e;return(0,a.jsx)("div",{ref:t,className:(0,n.cn)("flex items-center p-6 pt-0",s),...r})});m.displayName="CardFooter"},574:(e,t,s)=>{"use strict";s.d(t,{S:()=>i});var a=s(20475),r=s(20107),n=s(32713),l=s(7197),o=s(22250);let i=r.forwardRef((e,t)=>{let{className:s,...r}=e;return(0,a.jsx)(n.bL,{ref:t,className:(0,o.cn)("peer h-4 w-4 shrink-0 rounded-sm border border-primary shadow focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground",s),...r,children:(0,a.jsx)(n.C1,{className:(0,o.cn)("flex items-center justify-center text-current"),children:(0,a.jsx)(l.Srz,{className:"h-4 w-4"})})})});i.displayName=n.bL.displayName},93557:(e,t,s)=>{"use strict";s.d(t,{Cf:()=>p,Es:()=>x,HM:()=>m,L3:()=>h,c7:()=>f,lG:()=>i,rr:()=>g,zM:()=>d});var a=s(20475),r=s(20107),n=s(60241),l=s(7197),o=s(22250);let i=n.bL,d=n.l9,c=n.ZL,m=n.bm,u=r.forwardRef((e,t)=>{let{className:s,...r}=e;return(0,a.jsx)(n.hJ,{ref:t,className:(0,o.cn)("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",s),...r})});u.displayName=n.hJ.displayName;let p=r.forwardRef((e,t)=>{let{className:s,children:r,...i}=e;return(0,a.jsxs)(c,{children:[(0,a.jsx)(u,{}),(0,a.jsxs)(n.UC,{ref:t,className:(0,o.cn)("fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",s),...i,children:[r,(0,a.jsxs)(n.bm,{className:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground",children:[(0,a.jsx)(l.MKb,{className:"h-4 w-4"}),(0,a.jsx)("span",{className:"sr-only",children:"Close"})]})]})]})});p.displayName=n.UC.displayName;let f=e=>{let{className:t,...s}=e;return(0,a.jsx)("div",{className:(0,o.cn)("flex flex-col space-y-1.5 text-center sm:text-left",t),...s})};f.displayName="DialogHeader";let x=e=>{let{className:t,...s}=e;return(0,a.jsx)("div",{className:(0,o.cn)("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",t),...s})};x.displayName="DialogFooter";let h=r.forwardRef((e,t)=>{let{className:s,...r}=e;return(0,a.jsx)(n.hE,{ref:t,className:(0,o.cn)("text-lg font-semibold leading-none tracking-tight",s),...r})});h.displayName=n.hE.displayName;let g=r.forwardRef((e,t)=>{let{className:s,...r}=e;return(0,a.jsx)(n.VY,{ref:t,className:(0,o.cn)("text-sm text-muted-foreground",s),...r})});g.displayName=n.VY.displayName},64219:(e,t,s)=>{"use strict";s.d(t,{p:()=>l});var a=s(20475),r=s(20107),n=s(22250);let l=r.forwardRef((e,t)=>{let{className:s,type:r,...l}=e;return(0,a.jsx)("input",{type:r,className:(0,n.cn)("flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-sm shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50",s),ref:t,...l})});l.displayName="Input"},55948:(e,t,s)=>{"use strict";s.d(t,{AM:()=>o,Wv:()=>i,hl:()=>d});var a=s(20475),r=s(20107),n=s(21869),l=s(22250);let o=n.bL,i=n.l9;n.Mz;let d=r.forwardRef((e,t)=>{let{className:s,align:r="center",sideOffset:o=4,...i}=e;return(0,a.jsx)(n.ZL,{children:(0,a.jsx)(n.UC,{ref:t,align:r,sideOffset:o,className:(0,l.cn)("z-50 w-72 rounded-md border bg-popover p-4 text-popover-foreground shadow-md outline-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",s),...i})})});d.displayName=n.UC.displayName},36824:(e,t,s)=>{"use strict";s.d(t,{$:()=>i,F:()=>o});var a=s(20475),r=s(20107),n=s(89679),l=s(22250);let o=r.forwardRef((e,t)=>{let{className:s,children:r,...o}=e;return(0,a.jsxs)(n.bL,{ref:t,className:(0,l.cn)("relative overflow-hidden",s),...o,children:[(0,a.jsx)(n.LM,{className:"h-full w-full rounded-[inherit]",children:r}),(0,a.jsx)(i,{}),(0,a.jsx)(n.OK,{})]})});o.displayName=n.bL.displayName;let i=r.forwardRef((e,t)=>{let{className:s,orientation:r="vertical",...o}=e;return(0,a.jsx)(n.VM,{ref:t,orientation:r,className:(0,l.cn)("flex touch-none select-none transition-colors","vertical"===r&&"h-full w-2.5 border-l border-l-transparent p-[1px]","horizontal"===r&&"h-2.5 flex-col border-t border-t-transparent p-[1px]",s),...o,children:(0,a.jsx)(n.lr,{className:"relative flex-1 rounded-full bg-border"})})});i.displayName=n.VM.displayName},76554:(e,t,s)=>{"use strict";s.d(t,{Separator:()=>o});var a=s(20475),r=s(20107),n=s(88853),l=s(22250);let o=r.forwardRef((e,t)=>{let{className:s,orientation:r="horizontal",decorative:o=!0,...i}=e;return(0,a.jsx)(n.b,{ref:t,decorative:o,orientation:r,className:(0,l.cn)("shrink-0 bg-border","horizontal"===r?"h-[1px] w-full":"h-full w-[1px]",s),...i})});o.displayName=n.b.displayName},31739:(e,t,s)=>{"use strict";s.d(t,{T:()=>l});var a=s(20475),r=s(20107),n=s(22250);let l=r.forwardRef((e,t)=>{let{className:s,...r}=e;return(0,a.jsx)("textarea",{className:(0,n.cn)("flex min-h-[60px] w-full rounded-md border border-input bg-transparent px-3 py-2 text-base shadow-sm placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",s),ref:t,...r})});l.displayName="Textarea"},32857:(e,t,s)=>{"use strict";s.d(t,{dj:()=>u,oR:()=>m});var a=s(20107);let r=0,n=new Map,l=e=>{if(n.has(e))return;let t=setTimeout(()=>{n.delete(e),c({type:"REMOVE_TOAST",toastId:e})},1e6);n.set(e,t)},o=(e,t)=>{switch(t.type){case"ADD_TOAST":return{...e,toasts:[t.toast,...e.toasts].slice(0,1)};case"UPDATE_TOAST":return{...e,toasts:e.toasts.map(e=>e.id===t.toast.id?{...e,...t.toast}:e)};case"DISMISS_TOAST":{let{toastId:s}=t;return s?l(s):e.toasts.forEach(e=>{l(e.id)}),{...e,toasts:e.toasts.map(e=>e.id===s||void 0===s?{...e,open:!1}:e)}}case"REMOVE_TOAST":if(void 0===t.toastId)return{...e,toasts:[]};return{...e,toasts:e.toasts.filter(e=>e.id!==t.toastId)}}},i=[],d={toasts:[]};function c(e){d=o(d,e),i.forEach(e=>{e(d)})}function m(e){let{...t}=e,s=(r=(r+1)%Number.MAX_SAFE_INTEGER).toString(),a=()=>c({type:"DISMISS_TOAST",toastId:s});return c({type:"ADD_TOAST",toast:{...t,id:s,open:!0,onOpenChange:e=>{e||a()}}}),{id:s,dismiss:a,update:e=>c({type:"UPDATE_TOAST",toast:{...e,id:s}})}}function u(){let[e,t]=a.useState(d);return a.useEffect(()=>(i.push(t),()=>{let e=i.indexOf(t);e>-1&&i.splice(e,1)}),[e]),{...e,toast:m,dismiss:e=>c({type:"DISMISS_TOAST",toastId:e})}}},22250:(e,t,s)=>{"use strict";s.d(t,{cn:()=>n});var a=s(64901),r=s(868);function n(){for(var e=arguments.length,t=Array(e),s=0;s{var t=t=>e(e.s=t);e.O(0,[9980,1217,7780,8885,3746,9464,467,7510,9951,191,6035,7358],()=>t(27676)),_N_E=e.O()}]); \ No newline at end of file +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3358],{27676:(e,t,s)=>{Promise.resolve().then(s.bind(s,91557))},91557:(e,t,s)=>{"use strict";s.r(t),s.d(t,{default:()=>O});var a=s(20475),r=s(20107),n=s(59166),l=s(66698),o=s(83148),i=s(51873),d=s(72167),c=s(93557),m=s(36824),u=s(574),p=s(42541),f=s(76554),x=s(31739),h=s(32857),g=s(4917),y=s(91912),j=s(70964),N=s(68288),v=s(80421),w=s(22250),b=s(7197);let S=r.forwardRef((e,t)=>{let{className:s,...r}=e;return(0,a.jsx)(v.uB,{ref:t,className:(0,w.cn)("flex h-full w-full flex-col overflow-hidden rounded-md bg-popover text-popover-foreground",s),...r})});S.displayName=v.uB.displayName;let R=r.forwardRef((e,t)=>{let{className:s,...r}=e;return(0,a.jsxs)("div",{className:"flex items-center border-b px-3","cmdk-input-wrapper":"",children:[(0,a.jsx)(b.$p$,{className:"mr-2 h-4 w-4 shrink-0 opacity-50"}),(0,a.jsx)(v.uB.Input,{ref:t,className:(0,w.cn)("flex h-10 w-full rounded-md bg-transparent py-3 text-sm outline-none placeholder:text-muted-foreground disabled:cursor-not-allowed disabled:opacity-50",s),...r})]})});R.displayName=v.uB.Input.displayName;let C=r.forwardRef((e,t)=>{let{className:s,...r}=e;return(0,a.jsx)(v.uB.List,{ref:t,className:(0,w.cn)("max-h-[300px] overflow-y-auto overflow-x-hidden",s),...r})});C.displayName=v.uB.List.displayName;let E=r.forwardRef((e,t)=>(0,a.jsx)(v.uB.Empty,{ref:t,className:"py-6 text-center text-sm",...e}));E.displayName=v.uB.Empty.displayName;let T=r.forwardRef((e,t)=>{let{className:s,...r}=e;return(0,a.jsx)(v.uB.Group,{ref:t,className:(0,w.cn)("overflow-hidden p-1 text-foreground [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:py-1.5 [&_[cmdk-group-heading]]:text-xs [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-muted-foreground",s),...r})});T.displayName=v.uB.Group.displayName,r.forwardRef((e,t)=>{let{className:s,...r}=e;return(0,a.jsx)(v.uB.Separator,{ref:t,className:(0,w.cn)("-mx-1 h-px bg-border",s),...r})}).displayName=v.uB.Separator.displayName;let A=r.forwardRef((e,t)=>{let{className:s,...r}=e;return(0,a.jsx)(v.uB.Item,{ref:t,className:(0,w.cn)("relative flex cursor-default gap-2 select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none data-[disabled=true]:pointer-events-none data-[selected=true]:bg-accent data-[selected=true]:text-accent-foreground data-[disabled=true]:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",s),...r})});A.displayName=v.uB.Item.displayName;var k=s(64219),_=s(55948);let M=r.forwardRef((e,t)=>{let{className:s,onChange:r,...n}=e;return(0,a.jsx)(j.Ay,{ref:t,className:(0,w.cn)("flex",s),flagComponent:D,countrySelectComponent:B,inputComponent:I,international:!0,defaultCountry:"US",smartCaret:!1,onChange:e=>null==r?void 0:r(e||""),...n})});M.displayName="PhoneInput";let I=r.forwardRef((e,t)=>{let{className:s,...r}=e;return(0,a.jsx)(k.p,{className:(0,w.cn)("rounded-e-lg rounded-s-none",s),...r,ref:t})});I.displayName="InputComponent";let B=e=>{let{disabled:t,value:s,options:r,onChange:n}=e;return(0,a.jsxs)(_.AM,{children:[(0,a.jsx)(_.Wv,{asChild:!0,children:(0,a.jsxs)(p.$,{type:"button",variant:"outline",className:"flex gap-1 rounded-e-none rounded-s-lg border-r-0 px-3 focus:z-10",disabled:t,children:[(0,a.jsx)(D,{country:s,countryName:s}),(0,a.jsx)(g.A,{className:(0,w.cn)("-mr-2 size-4 opacity-50",t?"hidden":"opacity-100")})]})}),(0,a.jsx)(_.hl,{className:"w-[300px] p-0",children:(0,a.jsxs)(S,{children:[(0,a.jsx)(R,{placeholder:"Search country..."}),(0,a.jsx)(C,{children:(0,a.jsxs)(m.F,{className:"h-72",children:[(0,a.jsx)(E,{children:"No country found."}),(0,a.jsx)(T,{children:r.map(e=>{let{value:t,label:r}=e;return t?(0,a.jsx)(z,{country:t,countryName:r,selectedCountry:s,onChange:n},t):null})})]})})]})})]})},z=e=>{let{country:t,countryName:s,selectedCountry:r,onChange:n}=e;return(0,a.jsxs)(A,{className:"gap-2",onSelect:()=>n(t),children:[(0,a.jsx)(D,{country:t,countryName:s}),(0,a.jsx)("span",{className:"flex-1 text-sm",children:s}),(0,a.jsx)("span",{className:"text-sm text-foreground/50",children:"+".concat(j.Ko(t))}),(0,a.jsx)(y.A,{className:"ml-auto size-4 ".concat(t===r?"opacity-100":"opacity-0")})]})},D=e=>{let{country:t,countryName:s}=e,r=N.Ay[t];return(0,a.jsx)("span",{className:"flex h-4 w-6 overflow-hidden rounded-sm bg-foreground/20 [&_svg]:size-full",children:r&&(0,a.jsx)(r,{title:s})})},O=()=>{let[e,t]=(0,r.useState)([]),[s,g]=(0,r.useState)(!1),[y,j]=(0,r.useState)([]),[N,v]=(0,r.useState)(""),[w,b]=(0,r.useState)(""),[S,R]=(0,r.useState)(!1),[C,E]=(0,r.useState)(""),T=e=>e.replace(/\+|\s/g,""),A=(e,t)=>{if(!e.trim()||!t.trim())return(0,h.oR)({title:"Validation Error",description:"Phone number and message are required",variant:"destructive"}),!1;let s=T(e);return!!/^\d+$/.test(s)||((0,h.oR)({title:"Validation Error",description:"Phone number should contain only numbers",variant:"destructive"}),!1)},k=async()=>{if(A(N,w)){R(!0);try{let e={phone:T(N.trim()),message:w.trim()},t=await fetch("/cgi-bin/quecmanager/cell-settings/sms/sms_send.sh",{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded",Accept:"application/json","Cache-Control":"no-cache"},body:new URLSearchParams(e).toString()}),s=await t.json();if(console.log("Response data:",s),s.success)(0,h.oR)({title:"Success",description:"Message sent successfully"}),v(""),b(""),B();else throw Error(s.error||"Failed to send message")}catch(e){console.error("Send operation failed:",e),(0,h.oR)({title:"Error",description:e instanceof Error?e.message:"Something went wrong",variant:"destructive"})}finally{R(!1)}}},_=async(e,t)=>{if(A(e,t)){R(!0);try{let s={phone:T(e.trim()),message:t.trim()},a=await fetch("/cgi-bin/quecmanager/cell-settings/sms/sms_send.sh",{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded",Accept:"application/json","Cache-Control":"no-cache"},body:new URLSearchParams(s).toString()}),r=await a.json();if(console.log("Response data:",r),r.success)(0,h.oR)({title:"Success",description:"Reply sent successfully"}),E(""),B();else throw Error(r.error||"Failed to send reply")}catch(e){console.error("Reply operation failed:",e),(0,h.oR)({title:"Error",description:e instanceof Error?e.message:"Something went wrong",variant:"destructive"})}finally{R(!1)}}},I=e=>{let t={},s=[];return e.msg.forEach(e=>{if(void 0!==e.reference&&void 0!==e.part){var a;let r="".concat(e.sender,"-").concat(e.reference);t[r]||(t[r]={index:e.index,status:"received",sender:e.sender,timestamp:e.timestamp,message:"",originalIndices:[]}),t[r].message+=e.content,null===(a=t[r].originalIndices)||void 0===a||a.push(e.index),e.part===e.total&&(s.push(t[r]),delete t[r])}else s.push({index:e.index,status:"received",sender:e.sender,timestamp:e.timestamp,message:e.content,originalIndices:[e.index]})}),Object.values(t).forEach(e=>{s.push(e)}),s.sort((e,t)=>new Date(t.timestamp).getTime()-new Date(e.timestamp).getTime())},B=async()=>{g(!0);try{let e=await fetch("/cgi-bin/quecmanager/cell-settings/sms/sms_inbox.sh"),s=await e.json();if(!(null==s?void 0:s.msg)||!Array.isArray(s.msg))throw Error("Invalid response format");let a=I(s);t(a),j([])}catch(e){console.error("Failed to refresh SMS:",e),t([])}finally{g(!1)}},z=async e=>{g(!0);try{if(!e.length)throw Error("No messages selected");let t=[...new Set(e)].sort((e,t)=>e-t).join(",");console.log("Deleting messages with indices:",t);let s=await fetch("/cgi-bin/quecmanager/cell-settings/sms/sms_delete.sh?indexes=".concat(t),{method:"GET",headers:{Accept:"application/json","Cache-Control":"no-cache"}}),a=await s.text();if(console.log("Raw response:",a),/Deleted message \d+/.test(a))(0,h.oR)({title:"Success!",description:"Selected messages deleted."}),await B();else throw Error("Something went wrong")}catch(e){console.error("Delete operation failed:",e),(0,h.oR)({title:"Error!",description:"Something went wrong",variant:"destructive"})}finally{g(!1)}},D=e=>{j(t=>{let s=new Set(t);return e.every(e=>s.has(e))?e.forEach(e=>s.delete(e)):e.forEach(e=>s.add(e)),Array.from(s)})},O=e=>{try{let[t,s]=e.split(" "),[a,r,n]=t.split("/");return{date:"20".concat(n,"-").concat(a,"-").concat(r),time:s}}catch(e){return console.error("Error parsing timestamp:",e),{date:"Invalid date",time:"Invalid time"}}};return(0,r.useEffect)(()=>{B()},[]),(0,a.jsxs)("div",{className:"grid gap-6",children:[(0,a.jsxs)(d.Zp,{className:"w-full max-w-screen",children:[(0,a.jsxs)(d.aR,{children:[(0,a.jsx)(d.ZB,{children:"SMS Inbox"}),(0,a.jsx)(d.BT,{children:(0,a.jsxs)("div",{className:"flex justify-between items-center",children:[(0,a.jsx)("span",{children:"View and manage SMS messages"}),(0,a.jsxs)("div",{className:"flex items-center space-x-1.5",children:[(0,a.jsx)(u.S,{checked:e.length>0&&y.length===e.flatMap(e=>e.originalIndices||[e.index]).length,onCheckedChange:t=>{t?j(e.flatMap(e=>e.originalIndices||[e.index])):j([])}}),(0,a.jsx)("span",{className:"text-sm",children:"Select All"})]})]})})]}),(0,a.jsx)(d.Wu,{children:(0,a.jsx)(m.F,{className:"h-[400px] w-full xs:max-w-xs p-4 grid",children:s?(0,a.jsxs)("div",{className:"flex flex-col items-center justify-center py-8",children:[(0,a.jsx)(n.A,{className:"h-8 w-8 animate-spin"}),(0,a.jsx)("p",{className:"mt-2",children:"Loading messages..."})]}):0===e.length?(0,a.jsx)("p",{className:"text-center py-8 text-muted-foreground",children:"No messages found"}):e.map(e=>{let{date:t,time:s}=O(e.timestamp),r=e.originalIndices||[e.index];return(0,a.jsxs)(c.lG,{children:[(0,a.jsx)(c.zM,{className:"w-full",children:(0,a.jsxs)(d.Zp,{className:"my-2 dark:hover:bg-slate-900 hover:bg-slate-100",children:[(0,a.jsxs)(d.aR,{children:[(0,a.jsxs)("div",{className:"flex justify-between items-center",children:[(0,a.jsx)(d.ZB,{children:e.sender}),(0,a.jsxs)("div",{className:"flex items-center space-x-2",onClick:e=>e.stopPropagation(),children:[(0,a.jsx)("p",{className:"text-muted-foreground font-medium text-xs",children:r.join(", ")}),(0,a.jsx)(u.S,{checked:r.every(e=>y.includes(e)),onCheckedChange:()=>D(r)})]})]}),(0,a.jsxs)(d.BT,{className:"text-left",children:[t," at ",s]})]}),(0,a.jsx)(d.Wu,{children:(0,a.jsx)("p",{className:"line-clamp-3",children:e.message})})]})}),(0,a.jsxs)(c.Cf,{children:[(0,a.jsxs)(c.c7,{children:[(0,a.jsx)(c.L3,{children:e.sender}),(0,a.jsxs)(c.rr,{children:[t," at ",s]})]}),(0,a.jsx)("p",{className:"whitespace-pre-line",children:e.message}),(0,a.jsx)(f.Separator,{className:"my-2"}),(0,a.jsxs)("div",{className:"space-y-4",children:[(0,a.jsx)(x.T,{placeholder:"Reply to ".concat(e.sender,"..."),className:"h-24",value:C,onChange:e=>E(e.target.value)}),(0,a.jsx)("div",{className:"flex justify-end",children:(0,a.jsxs)(p.$,{onClick:()=>_(e.sender,C),disabled:S||!C.trim(),children:[S?(0,a.jsx)(n.A,{className:"h-4 w-4 animate-spin"}):(0,a.jsx)(l.A,{className:"h-4 w-4"}),S?"Sending...":"Reply"]})})]})]})]},r.join("-"))})})}),(0,a.jsx)(d.wL,{className:"border-t py-4",children:(0,a.jsxs)("div",{className:"flex w-full justify-between items-center",children:[(0,a.jsxs)(p.$,{variant:"outline",onClick:B,disabled:s,children:[(0,a.jsx)(o.A,{className:"h-4 w-4"}),"Refresh"]}),(0,a.jsxs)(p.$,{variant:"destructive",disabled:0===y.length||s,onClick:()=>{if(0===y.length){(0,h.oR)({title:"Delete Messages",description:"No messages selected"});return}z(y)},children:[(0,a.jsx)(i.A,{className:"h-4 w-4"}),"Delete Selected"]})]})})]}),(0,a.jsxs)(d.Zp,{children:[(0,a.jsxs)(d.aR,{children:[(0,a.jsx)(d.ZB,{children:"Send SMS"}),(0,a.jsx)(d.BT,{children:"Send a new SMS message"})]}),(0,a.jsx)(d.Wu,{children:(0,a.jsxs)("div",{className:"grid gap-6",children:[(0,a.jsx)(M,{value:N,onChange:e=>v(e),placeholder:"Enter recipient phone number"}),(0,a.jsx)(x.T,{placeholder:"Type your SMS here...",className:"h-32",value:w,onChange:e=>b(e.target.value),required:!0}),(0,a.jsx)("div",{className:"flex justify-end",children:(0,a.jsxs)(p.$,{onClick:k,disabled:S||!N.trim()||!w.trim(),children:[S?(0,a.jsx)(n.A,{className:"h-4 w-4 animate-spin"}):(0,a.jsx)(l.A,{className:"h-4 w-4"}),S?"Sending SMS...":"Send SMS"]})})]})})]})]})}},42541:(e,t,s)=>{"use strict";s.d(t,{$:()=>d,r:()=>i});var a=s(20475),r=s(20107),n=s(61837),l=s(29395),o=s(22250);let i=(0,l.F)("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{variants:{variant:{default:"bg-primary text-primary-foreground shadow hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90",outline:"border border-input bg-background shadow-sm hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2",sm:"h-8 rounded-md px-3 text-xs",lg:"h-10 rounded-md px-8",icon:"h-9 w-9"}},defaultVariants:{variant:"default",size:"default"}}),d=r.forwardRef((e,t)=>{let{className:s,variant:r,size:l,asChild:d=!1,...c}=e,m=d?n.DX:"button";return(0,a.jsx)(m,{className:(0,o.cn)(i({variant:r,size:l,className:s})),ref:t,...c})});d.displayName="Button"},72167:(e,t,s)=>{"use strict";s.d(t,{BT:()=>d,Wu:()=>c,ZB:()=>i,Zp:()=>l,aR:()=>o,wL:()=>m});var a=s(20475),r=s(20107),n=s(22250);let l=r.forwardRef((e,t)=>{let{className:s,...r}=e;return(0,a.jsx)("div",{ref:t,className:(0,n.cn)("rounded-xl border bg-card text-card-foreground shadow",s),...r})});l.displayName="Card";let o=r.forwardRef((e,t)=>{let{className:s,...r}=e;return(0,a.jsx)("div",{ref:t,className:(0,n.cn)("flex flex-col space-y-1.5 p-6",s),...r})});o.displayName="CardHeader";let i=r.forwardRef((e,t)=>{let{className:s,...r}=e;return(0,a.jsx)("h3",{ref:t,className:(0,n.cn)("font-semibold leading-none tracking-tight",s),...r})});i.displayName="CardTitle";let d=r.forwardRef((e,t)=>{let{className:s,...r}=e;return(0,a.jsx)("p",{ref:t,className:(0,n.cn)("text-sm text-muted-foreground",s),...r})});d.displayName="CardDescription";let c=r.forwardRef((e,t)=>{let{className:s,...r}=e;return(0,a.jsx)("div",{ref:t,className:(0,n.cn)("p-6 pt-0",s),...r})});c.displayName="CardContent";let m=r.forwardRef((e,t)=>{let{className:s,...r}=e;return(0,a.jsx)("div",{ref:t,className:(0,n.cn)("flex items-center p-6 pt-0",s),...r})});m.displayName="CardFooter"},574:(e,t,s)=>{"use strict";s.d(t,{S:()=>i});var a=s(20475),r=s(20107),n=s(32713),l=s(7197),o=s(22250);let i=r.forwardRef((e,t)=>{let{className:s,...r}=e;return(0,a.jsx)(n.bL,{ref:t,className:(0,o.cn)("peer h-4 w-4 shrink-0 rounded-sm border border-primary shadow focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground",s),...r,children:(0,a.jsx)(n.C1,{className:(0,o.cn)("flex items-center justify-center text-current"),children:(0,a.jsx)(l.Srz,{className:"h-4 w-4"})})})});i.displayName=n.bL.displayName},93557:(e,t,s)=>{"use strict";s.d(t,{Cf:()=>p,Es:()=>x,HM:()=>m,L3:()=>h,c7:()=>f,lG:()=>i,rr:()=>g,zM:()=>d});var a=s(20475),r=s(20107),n=s(60241),l=s(7197),o=s(22250);let i=n.bL,d=n.l9,c=n.ZL,m=n.bm,u=r.forwardRef((e,t)=>{let{className:s,...r}=e;return(0,a.jsx)(n.hJ,{ref:t,className:(0,o.cn)("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",s),...r})});u.displayName=n.hJ.displayName;let p=r.forwardRef((e,t)=>{let{className:s,children:r,...i}=e;return(0,a.jsxs)(c,{children:[(0,a.jsx)(u,{}),(0,a.jsxs)(n.UC,{ref:t,className:(0,o.cn)("fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",s),...i,children:[r,(0,a.jsxs)(n.bm,{className:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground",children:[(0,a.jsx)(l.MKb,{className:"h-4 w-4"}),(0,a.jsx)("span",{className:"sr-only",children:"Close"})]})]})]})});p.displayName=n.UC.displayName;let f=e=>{let{className:t,...s}=e;return(0,a.jsx)("div",{className:(0,o.cn)("flex flex-col space-y-1.5 text-center sm:text-left",t),...s})};f.displayName="DialogHeader";let x=e=>{let{className:t,...s}=e;return(0,a.jsx)("div",{className:(0,o.cn)("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",t),...s})};x.displayName="DialogFooter";let h=r.forwardRef((e,t)=>{let{className:s,...r}=e;return(0,a.jsx)(n.hE,{ref:t,className:(0,o.cn)("text-lg font-semibold leading-none tracking-tight",s),...r})});h.displayName=n.hE.displayName;let g=r.forwardRef((e,t)=>{let{className:s,...r}=e;return(0,a.jsx)(n.VY,{ref:t,className:(0,o.cn)("text-sm text-muted-foreground",s),...r})});g.displayName=n.VY.displayName},64219:(e,t,s)=>{"use strict";s.d(t,{p:()=>l});var a=s(20475),r=s(20107),n=s(22250);let l=r.forwardRef((e,t)=>{let{className:s,type:r,...l}=e;return(0,a.jsx)("input",{type:r,className:(0,n.cn)("flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-sm shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50",s),ref:t,...l})});l.displayName="Input"},55948:(e,t,s)=>{"use strict";s.d(t,{AM:()=>o,Wv:()=>i,hl:()=>d});var a=s(20475),r=s(20107),n=s(21869),l=s(22250);let o=n.bL,i=n.l9;n.Mz;let d=r.forwardRef((e,t)=>{let{className:s,align:r="center",sideOffset:o=4,...i}=e;return(0,a.jsx)(n.ZL,{children:(0,a.jsx)(n.UC,{ref:t,align:r,sideOffset:o,className:(0,l.cn)("z-50 w-72 rounded-md border bg-popover p-4 text-popover-foreground shadow-md outline-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",s),...i})})});d.displayName=n.UC.displayName},36824:(e,t,s)=>{"use strict";s.d(t,{$:()=>i,F:()=>o});var a=s(20475),r=s(20107),n=s(89679),l=s(22250);let o=r.forwardRef((e,t)=>{let{className:s,children:r,...o}=e;return(0,a.jsxs)(n.bL,{ref:t,className:(0,l.cn)("relative overflow-hidden",s),...o,children:[(0,a.jsx)(n.LM,{className:"h-full w-full rounded-[inherit]",children:r}),(0,a.jsx)(i,{}),(0,a.jsx)(n.OK,{})]})});o.displayName=n.bL.displayName;let i=r.forwardRef((e,t)=>{let{className:s,orientation:r="vertical",...o}=e;return(0,a.jsx)(n.VM,{ref:t,orientation:r,className:(0,l.cn)("flex touch-none select-none transition-colors","vertical"===r&&"h-full w-2.5 border-l border-l-transparent p-[1px]","horizontal"===r&&"h-2.5 flex-col border-t border-t-transparent p-[1px]",s),...o,children:(0,a.jsx)(n.lr,{className:"relative flex-1 rounded-full bg-border"})})});i.displayName=n.VM.displayName},76554:(e,t,s)=>{"use strict";s.d(t,{Separator:()=>o});var a=s(20475),r=s(20107),n=s(88853),l=s(22250);let o=r.forwardRef((e,t)=>{let{className:s,orientation:r="horizontal",decorative:o=!0,...i}=e;return(0,a.jsx)(n.b,{ref:t,decorative:o,orientation:r,className:(0,l.cn)("shrink-0 bg-border","horizontal"===r?"h-[1px] w-full":"h-full w-[1px]",s),...i})});o.displayName=n.b.displayName},31739:(e,t,s)=>{"use strict";s.d(t,{T:()=>l});var a=s(20475),r=s(20107),n=s(22250);let l=r.forwardRef((e,t)=>{let{className:s,...r}=e;return(0,a.jsx)("textarea",{className:(0,n.cn)("flex min-h-[60px] w-full rounded-md border border-input bg-transparent px-3 py-2 text-base shadow-sm placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",s),ref:t,...r})});l.displayName="Textarea"},32857:(e,t,s)=>{"use strict";s.d(t,{dj:()=>u,oR:()=>m});var a=s(20107);let r=0,n=new Map,l=e=>{if(n.has(e))return;let t=setTimeout(()=>{n.delete(e),c({type:"REMOVE_TOAST",toastId:e})},1e6);n.set(e,t)},o=(e,t)=>{switch(t.type){case"ADD_TOAST":return{...e,toasts:[t.toast,...e.toasts].slice(0,1)};case"UPDATE_TOAST":return{...e,toasts:e.toasts.map(e=>e.id===t.toast.id?{...e,...t.toast}:e)};case"DISMISS_TOAST":{let{toastId:s}=t;return s?l(s):e.toasts.forEach(e=>{l(e.id)}),{...e,toasts:e.toasts.map(e=>e.id===s||void 0===s?{...e,open:!1}:e)}}case"REMOVE_TOAST":if(void 0===t.toastId)return{...e,toasts:[]};return{...e,toasts:e.toasts.filter(e=>e.id!==t.toastId)}}},i=[],d={toasts:[]};function c(e){d=o(d,e),i.forEach(e=>{e(d)})}function m(e){let{...t}=e,s=(r=(r+1)%Number.MAX_SAFE_INTEGER).toString(),a=()=>c({type:"DISMISS_TOAST",toastId:s});return c({type:"ADD_TOAST",toast:{...t,id:s,open:!0,onOpenChange:e=>{e||a()}}}),{id:s,dismiss:a,update:e=>c({type:"UPDATE_TOAST",toast:{...e,id:s}})}}function u(){let[e,t]=a.useState(d);return a.useEffect(()=>(i.push(t),()=>{let e=i.indexOf(t);e>-1&&i.splice(e,1)}),[e]),{...e,toast:m,dismiss:e=>c({type:"DISMISS_TOAST",toastId:e})}}},22250:(e,t,s)=>{"use strict";s.d(t,{cn:()=>n});var a=s(64901),r=s(868);function n(){for(var e=arguments.length,t=Array(e),s=0;s{var t=t=>e(e.s=t);e.O(0,[9980,1217,7780,8885,3746,9464,9679,7510,3478,191,6035,7358],()=>t(27676)),_N_E=e.O()}]); \ No newline at end of file diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/custom-features/cell-scanner/page-dbf6dbe438b0ff9a.js b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/custom-features/cell-scanner/page-6ef00860eb7e9c78.js similarity index 99% rename from ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/custom-features/cell-scanner/page-dbf6dbe438b0ff9a.js rename to ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/custom-features/cell-scanner/page-6ef00860eb7e9c78.js index e093b50..51801a0 100644 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/custom-features/cell-scanner/page-dbf6dbe438b0ff9a.js +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/custom-features/cell-scanner/page-6ef00860eb7e9c78.js @@ -1 +1 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8627],{23357:(e,t,a)=>{Promise.resolve().then(a.bind(a,12005))},12005:(e,t,a)=>{"use strict";a.r(t),a.d(t,{default:()=>F});var s=a(20475),n=a(20107),r=a(72167),l=a(51303),i=a(85014),c=a(42541),d=a(33466),o=a(22250);let u=n.forwardRef((e,t)=>{let{className:a,value:n,...r}=e;return(0,s.jsx)(d.bL,{ref:t,className:(0,o.cn)("relative h-2 w-full overflow-hidden rounded-full bg-primary/20",a),...r,children:(0,s.jsx)(d.C1,{className:"h-full w-full flex-1 bg-primary transition-all",style:{transform:"translateX(-".concat(100-(n||0),"%)")}})})});u.displayName=d.bL.displayName;var m=a(59166),p=a(27720),f=a(91994),h=a(76076),x=a(51873),g=a(45934),j=a(38741),v=a(36824),N=a(32857);let b=e=>{let{neighborCells:t}=e;(0,n.useEffect)(()=>{t&&console.log("Neighbor cells data:",t)},[t]);let a=e=>e?Array.from(e.matchAll(/\+QENG: "neighbourcell (intra|inter)","LTE",(\d+),(\d+),(-?\d+),(-?\d+)/g)).map(e=>({type:"LTE",cellType:e[1],frequency:parseInt(e[2]),pci:parseInt(e[3]),rsrq:parseInt(e[4]),rsrp:parseInt(e[5])})):[],r=e=>e?Array.from(e.matchAll(/\+QNWCFG: "nr5g_meas_info",(\d+),(\d+),(\d+),(-?\d+),(-?\d+)/g)).map(e=>({type:"NR5G-NSA",cellType:"nr5g",frequency:parseInt(e[2]),pci:parseInt(e[3]),rsrp:parseInt(e[4]),rsrq:parseInt(e[5])})):[],c=e=>e>=-65?(0,s.jsx)(j.z_q,{className:"text-xl text-green-500"}):e>=-75?(0,s.jsx)(j.sRp,{className:"text-xl text-green-400"}):e>=-85?(0,s.jsx)(j.ztD,{className:"text-xl text-yellow-500"}):e>=-95?(0,s.jsx)(j.G7Q,{className:"text-xl text-yellow-600"}):(0,s.jsx)(j.NJ4,{className:"text-xl text-red-500"}),d=[];if((null==t?void 0:t.status)==="success"){var o,u,m,p;(null===(o=t.data)||void 0===o?void 0:o.neighborCells)?d=[...d,...a(t.data.neighborCells)]:(null===(u=t.raw_data)||void 0===u?void 0:u.neighborCells)&&(d=[...d,...a(t.raw_data.neighborCells)]),(null===(m=t.data)||void 0===m?void 0:m.meas)?d=[...d,...r(t.data.meas)]:(null===(p=t.raw_data)||void 0===p?void 0:p.meas)&&(d=[...d,...r(t.raw_data.meas)])}return(d.sort((e,t)=>e.type.startsWith("NR5G")&&!t.type.startsWith("NR5G")?-1:!e.type.startsWith("NR5G")&&t.type.startsWith("NR5G")?1:t.rsrp-e.rsrp),t&&0!==d.length)?(0,s.jsx)("div",{className:"space-y-4",children:(0,s.jsxs)(l.XI,{children:[(0,s.jsx)(l.A0,{children:(0,s.jsxs)(l.Hj,{children:[(0,s.jsx)(l.nd,{children:"Type"}),(0,s.jsx)(l.nd,{children:"Cell Type"}),(0,s.jsx)(l.nd,{children:"Frequency"}),(0,s.jsx)(l.nd,{children:"PCI"}),(0,s.jsx)(l.nd,{children:"Signal"})]})}),(0,s.jsx)(l.BF,{children:d.map((e,t)=>(0,s.jsxs)(l.Hj,{children:[(0,s.jsx)(l.nA,{className:"font-medium",children:e.type}),(0,s.jsx)(l.nA,{children:e.cellType}),(0,s.jsx)(l.nA,{children:e.frequency}),(0,s.jsx)(l.nA,{children:e.pci}),(0,s.jsx)(l.nA,{children:(0,s.jsx)(i.TooltipProvider,{children:(0,s.jsxs)(i.m_,{children:[(0,s.jsx)(i.k$,{children:c(e.rsrp)}),(0,s.jsx)(i.ZI,{children:(0,s.jsxs)("div",{className:"grid gap-1",children:[(0,s.jsxs)("div",{className:"grid grid-cols-2 gap-1",children:["RSRP ",(0,s.jsxs)("span",{className:"font-medium",children:[e.rsrp," dBm"]})]}),(0,s.jsxs)("div",{className:"grid grid-cols-2 gap-1",children:["RSRQ ",(0,s.jsxs)("span",{className:"font-medium",children:[e.rsrq," dB"]})]})]})})]})})})]},"".concat(e.type,"-").concat(e.frequency,"-").concat(e.pci,"-").concat(t)))})]})}):(0,s.jsx)("div",{className:"text-center py-4 text-gray-500",children:"No neighbor cells data available"})};var y=a(7197),w=a(23484),T=a(37921),C=a(28702);let I=C.bL,S=n.forwardRef((e,t)=>{let{className:a,...n}=e;return(0,s.jsx)(C.q7,{ref:t,className:(0,o.cn)("border-b",a),...n})});S.displayName="AccordionItem";let R=n.forwardRef((e,t)=>{let{className:a,children:n,...r}=e;return(0,s.jsx)(C.Y9,{className:"flex",children:(0,s.jsxs)(C.l9,{ref:t,className:(0,o.cn)("flex flex-1 items-center justify-between py-4 text-sm font-medium transition-all hover:underline text-left [&[data-state=open]>svg]:rotate-180",a),...r,children:[n,(0,s.jsx)(y.D3D,{className:"h-4 w-4 shrink-0 text-muted-foreground transition-transform duration-200"})]})})});R.displayName=C.l9.displayName;let D=n.forwardRef((e,t)=>{let{className:a,children:n,...r}=e;return(0,s.jsx)(C.UC,{ref:t,className:"overflow-hidden text-sm data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down",...r,children:(0,s.jsx)("div",{className:(0,o.cn)("pb-4 pt-0",a),children:n})})});D.displayName=C.UC.displayName;let k=e=>{var t,a,n,l,i,c;let{cell:d,operatorInfo:o}=e,u="LTE"===d.type;return(0,s.jsxs)(r.Zp,{className:"overflow-hidden border shadow-sm",children:[(0,s.jsxs)(r.aR,{className:"bg-muted/30 pb-2",children:[(0,s.jsx)("div",{className:"flex justify-between items-center",children:(0,s.jsxs)("div",{className:"flex items-center space-x-2",children:[(0,s.jsxs)(g.E,{variant:u?"outline":"default",className:u?"bg-orange-600":"",children:[u?"LTE":"5G NR"," - ",(null==o?void 0:o.brand)&&o.operator?"".concat(o.brand):(null==o?void 0:o.operator)?o.operator:"".concat(d.mcc).concat(d.mnc)]}),(0,s.jsx)(r.ZB,{className:"text-base",children:u?"Band ".concat(d.band," (").concat((null===(t=d.frequencyInfo)||void 0===t?void 0:t.bandName)||"Unknown",")"):"n".concat(d.band," (").concat((null===(a=d.frequencyInfo)||void 0===a?void 0:a.bandName)||"Unknown",")")})]})}),(0,s.jsxs)(r.BT,{className:"mt-1 flex items-center space-x-2",children:[(0,s.jsxs)("span",{children:["Cell ID: ",d.cellId]}),(0,s.jsx)("span",{children:"•"}),(0,s.jsxs)("span",{children:["PCI: ",d.pci]}),(0,s.jsx)("span",{children:"•"}),(0,s.jsx)("span",{children:u?"EARFCN: ".concat(d.freq):"NR-ARFCN: ".concat(d.freq)})]})]}),(0,s.jsxs)(r.Wu,{className:"pt-4",children:[(0,s.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-x-8 gap-y-2",children:[(0,s.jsx)("div",{className:"space-y-3",children:(0,s.jsxs)("div",{children:[(0,s.jsx)("h4",{className:"text-sm font-semibold mb-1",children:"Frequency Information"}),(0,s.jsxs)("div",{className:"grid grid-cols-2 gap-y-1 text-sm",children:[(0,s.jsx)("div",{className:"text-muted-foreground",children:"Downlink Frequency:"}),(0,s.jsxs)("div",{className:"font-medium",children:[(null===(n=d.frequencyInfo)||void 0===n?void 0:n.dlFrequency)||"Unknown"," MHz"]}),(0,s.jsx)("div",{className:"text-muted-foreground",children:"Uplink Frequency:"}),(0,s.jsxs)("div",{className:"font-medium",children:[(null===(l=d.frequencyInfo)||void 0===l?void 0:l.ulFrequency)||"Unknown"," MHz"]}),(0,s.jsx)("div",{className:"text-muted-foreground",children:"Duplex Mode:"}),(0,s.jsx)("div",{className:"font-medium",children:(null===(i=d.frequencyInfo)||void 0===i?void 0:i.duplexType)||"Unknown"}),u&&(null===(c=d.frequencyInfo)||void 0===c?void 0:c.ulEarfcn)&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("div",{className:"text-muted-foreground",children:"Uplink EARFCN:"}),(0,s.jsx)("div",{className:"font-medium",children:d.frequencyInfo.ulEarfcn})]})]})]})}),(0,s.jsx)("div",{className:"space-y-3",children:(0,s.jsxs)("div",{children:[(0,s.jsx)("h4",{className:"text-sm font-semibold mb-1",children:"Signal Parameters"}),(0,s.jsxs)("div",{className:"grid grid-cols-2 gap-y-1 text-sm",children:[(0,s.jsx)("div",{className:"text-muted-foreground",children:"RSRP:"}),(0,s.jsxs)("div",{className:"font-medium",children:[d.rsrp||"-"," dBm"]}),(0,s.jsx)("div",{className:"text-muted-foreground",children:"RSRQ:"}),(0,s.jsxs)("div",{className:"font-medium",children:[d.rsrq||"-"," dB"]}),u?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("div",{className:"text-muted-foreground",children:"SQUAL:"}),(0,s.jsx)("div",{className:"font-medium",children:d.squal}),(0,s.jsx)("div",{className:"text-muted-foreground",children:"Bandwidth:"}),(0,s.jsx)("div",{className:"font-medium",children:d.bandwidthMHz||"".concat(d.bandwidth," RB")})]}):(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("div",{className:"text-muted-foreground",children:"Subcarrier Spacing:"}),(0,s.jsxs)("div",{className:"font-medium",children:[d.scs||"-"," kHz"]}),(0,s.jsx)("div",{className:"text-muted-foreground",children:"Carrier Bandwidth:"}),(0,s.jsxs)("div",{className:"font-medium",children:[d.carrierBandwidth||"-"," RB"]}),(0,s.jsx)("div",{className:"text-muted-foreground",children:"SSB SCS:"}),(0,s.jsxs)("div",{className:"font-medium",children:[d.ssbScs||"-"," kHz"]})]})]})]})})]}),(0,s.jsx)(I,{type:"single",collapsible:!0,className:"mt-4",children:(0,s.jsxs)(S,{value:"advanced",children:[(0,s.jsx)(R,{className:"text-sm py-2",children:"Advanced Details"}),(0,s.jsx)(D,{children:o&&(0,s.jsx)("div",{children:(0,s.jsxs)("div",{className:"grid grid-cols-2 gap-y-1 text-sm",children:[(0,s.jsx)("div",{className:"text-muted-foreground",children:"Operator:"}),(0,s.jsx)("div",{className:"font-medium",children:o.operator}),(0,s.jsx)("div",{className:"text-muted-foreground",children:"Brand:"}),(0,s.jsx)("div",{className:"font-medium",children:o.brand}),(0,s.jsx)("div",{className:"text-muted-foreground",children:"Country:"}),(0,s.jsx)("div",{className:"font-medium",children:o.countryName}),(0,s.jsx)("div",{className:"text-muted-foreground",children:"MCC-MNC:"}),(0,s.jsxs)("div",{className:"font-medium",children:[o.mcc,"-",o.mnc]}),(0,s.jsx)("div",{className:"text-muted-foreground",children:"SRXLEV:"}),(0,s.jsx)("div",{className:"font-medium",children:d.srxlev})]})})})]})})]})]})},L=e=>{let{scanResult:t,isLoading:a=!1,mccMncList:l=[]}=e,[i,c]=(0,n.useState)("all"),d=(0,n.useCallback)((e,t)=>l.find(a=>a.mcc===e&&a.mnc===t)||null,[l]),o=[{band:1,name:"2100",dlLow:2110,dlHigh:2170,ulLow:1920,ulHigh:1980,earfcnOffset:0,earfcnRange:[0,599],spacing:.1,duplexType:"FDD"},{band:2,name:"1900 PCS",dlLow:1930,dlHigh:1990,ulLow:1850,ulHigh:1910,earfcnOffset:600,earfcnRange:[600,1199],spacing:.1,duplexType:"FDD"},{band:3,name:"1800",dlLow:1805,dlHigh:1880,ulLow:1710,ulHigh:1785,earfcnOffset:1200,earfcnRange:[1200,1949],spacing:.1,duplexType:"FDD"},{band:5,name:"850",dlLow:869,dlHigh:894,ulLow:824,ulHigh:849,earfcnOffset:2400,earfcnRange:[2400,2649],spacing:.1,duplexType:"FDD"},{band:7,name:"2600",dlLow:2620,dlHigh:2690,ulLow:2500,ulHigh:2570,earfcnOffset:2750,earfcnRange:[2750,3449],spacing:.1,duplexType:"FDD"},{band:8,name:"900",dlLow:925,dlHigh:960,ulLow:880,ulHigh:915,earfcnOffset:3450,earfcnRange:[3450,3799],spacing:.1,duplexType:"FDD"},{band:20,name:"800 DD",dlLow:791,dlHigh:821,ulLow:832,ulHigh:862,earfcnOffset:6150,earfcnRange:[6150,6449],spacing:.1,duplexType:"FDD"},{band:28,name:"700 APT",dlLow:758,dlHigh:803,ulLow:703,ulHigh:748,earfcnOffset:9210,earfcnRange:[9210,9659],spacing:.1,duplexType:"FDD"},{band:41,name:"TD 2500",dlLow:2496,dlHigh:2690,ulLow:2496,ulHigh:2690,earfcnOffset:39650,earfcnRange:[39650,41589],spacing:.1,duplexType:"TDD"}],u=[{band:1,name:"2100",dlLow:2110,dlHigh:2170,ulLow:1920,ulHigh:1980,nrarfcnOffset:422e3,nrarfcnRange:[422e3,434e3],duplexType:"FDD"},{band:3,name:"1800",dlLow:1805,dlHigh:1880,ulLow:1710,ulHigh:1785,nrarfcnOffset:361e3,nrarfcnRange:[361e3,376e3],duplexType:"FDD"},{band:5,name:"CLR",dlLow:869,dlHigh:894,ulLow:824,ulHigh:849,nrarfcnOffset:173800,nrarfcnRange:[173800,178800],duplexType:"FDD"},{band:7,name:"2600",dlLow:2620,dlHigh:2690,ulLow:2500,ulHigh:2570,nrarfcnOffset:524e3,nrarfcnRange:[524e3,538e3],duplexType:"FDD"},{band:20,name:"800 DD",dlLow:791,dlHigh:821,ulLow:832,ulHigh:862,nrarfcnOffset:158200,nrarfcnRange:[158200,164200],duplexType:"FDD"},{band:25,name:"Extended PCS",dlLow:1930,dlHigh:1995,ulLow:1850,ulHigh:1915,nrarfcnOffset:386e3,nrarfcnRange:[386e3,399e3],duplexType:"FDD"},{band:28,name:"700 APT",dlLow:758,dlHigh:803,ulLow:703,ulHigh:748,nrarfcnOffset:151600,nrarfcnRange:[151600,160600],duplexType:"FDD"},{band:41,name:"TD 2500",dlLow:2496,dlHigh:2690,ulLow:2496,ulHigh:2690,nrarfcnOffset:499200,nrarfcnRange:[499200,537999],duplexType:"TDD"},{band:66,name:"AWS-3",dlLow:2110,dlHigh:2200,ulLow:1710,ulHigh:1780,nrarfcnOffset:422e3,nrarfcnRange:[422e3,44e4],duplexType:"FDD"},{band:70,name:"AWS-4",dlLow:1995,dlHigh:2020,ulLow:1695,ulHigh:1710,nrarfcnOffset:399001,nrarfcnRange:[399001,404e3],duplexType:"FDD"},{band:71,name:"600MHz",dlLow:617,dlHigh:652,ulLow:663,ulHigh:698,nrarfcnOffset:123400,nrarfcnRange:[123400,130400],duplexType:"FDD"},{band:77,name:"C-Band",dlLow:3300,dlHigh:4200,ulLow:3300,ulHigh:4200,nrarfcnOffset:62e4,nrarfcnRange:[62e4,68e4],duplexType:"TDD"},{band:78,name:"C-Band (3.5GHz)",dlLow:3300,dlHigh:3800,ulLow:3300,ulHigh:3800,nrarfcnOffset:62e4,nrarfcnRange:[62e4,653333],duplexType:"TDD"}],p=(0,n.useCallback)(e=>e?e.split("\n").filter(e=>e.trim().startsWith("+QSCAN:")).map(e=>{let[t,a,s,n,r,l,i,c,...d]=e.substring(e.indexOf(":")+1).trim().split(",").map(e=>e.trim().replace(/\\"/g,"").replace(/"/g,"").replace(/\r/g,"")),o={type:t=t.replace(/\\\\/g,"").replace(/\\/g,"").replace(/"/g,"").trim(),mcc:a,mnc:s,freq:parseInt(n),pci:parseInt(r),rsrp:parseInt(l),rsrq:parseInt(i),srxlev:"-"===c?0:parseInt(c),cellId:"",tac:"",band:0};if("LTE"===t){let[e,t,a,s,n]=d;return{...o,type:"LTE",squal:"-"===e?0:parseInt(e),cellId:t,tac:a,bandwidth:parseInt(s),band:parseInt(n)}}if("NR5G"===t){let[e,t,a,s,n,r,l,i]=d;return{...o,type:"NR5G",cellId:t,tac:a,scs:parseInt(e),carrierBandwidth:parseInt(s),band:parseInt(n),offsetToPointA:parseInt(r),ssbSubcarrierOffset:parseInt(l),ssbScs:"-"===i?0:parseInt(i,10)}}return null}).filter(e=>null!==e):[],[]),f=(0,n.useCallback)(e=>{let t,a;let s=e.freq,n=o.find(t=>s>=t.earfcnRange[0]&&s<=t.earfcnRange[1]&&t.band===e.band);if(!n){let t,a;let n=o.find(t=>t.band===e.band);if(!n)return null;let r=n.dlLow+(s-n.earfcnOffset)%1e3*n.spacing;if("FDD"===n.duplexType){t=s+18e3;let e=n.ulHigh-n.ulLow;a=(n.ulLow+e/2).toFixed(2)}else a=r.toFixed(2);return{band:n.band,bandName:n.name,earfcn:s,dlFrequency:r.toFixed(2),ulFrequency:a,ulEarfcn:t,duplexType:n.duplexType,bandwidth:e.bandwidthMHz}}let r=n.dlLow+(s-n.earfcnOffset)*n.spacing;if("FDD"===n.duplexType){let e=s-n.earfcnOffset;t=s+18e3,a=n.ulLow+e*n.spacing}else a=r;return{band:n.band,bandName:n.name,earfcn:s,dlFrequency:r.toFixed(2),ulFrequency:a.toFixed(2),ulEarfcn:t,duplexType:n.duplexType,bandwidth:e.bandwidthMHz}},[o]),h=(0,n.useCallback)(e=>{let t;let a=e.freq;if(a>=0&&a<=599999)t=0+(a-0)*.005;else if(a>=6e5&&a<=2016666)t=3e3+(a-6e5)*.015;else{if(!(a>=2016667)||!(a<=3279165))return null;t=24250.08+(a-2016667)*.06}let s=u.find(t=>a>=t.nrarfcnRange[0]&&a<=t.nrarfcnRange[1]&&t.band===e.band);if(!s){let s=u.find(t=>t.band===e.band);return s?{band:s.band,bandName:s.name,nrarfcn:a,dlFrequency:t.toFixed(2),ulFrequency:"FDD"===s.duplexType?((s.ulLow+s.ulHigh)/2).toFixed(2):t.toFixed(2),duplexType:s.duplexType,scs:e.scs,channelBandwidth:"".concat(e.carrierBandwidth," RB")}:null}let n="FDD"===s.duplexType?s.ulLow+(t-s.dlLow):t;return{band:s.band,bandName:s.name,nrarfcn:a,dlFrequency:t.toFixed(2),ulFrequency:n.toFixed(2),duplexType:s.duplexType,scs:e.scs,channelBandwidth:"".concat(e.carrierBandwidth," RB")}},[u]),x=(0,n.useMemo)(()=>{if(!(null==t?void 0:t.output))return{lte:[],nr5g:[]};let e=p(t.output),a=[],s=[];e.forEach(e=>{var t,n;let r=d(e.mcc,e.mnc);if("LTE"===e.type){let s=null!==(t=f(e))&&void 0!==t?t:void 0;a.push({...e,frequencyInfo:s,operatorInfo:r})}else if("NR5G"===e.type){let t=null!==(n=h(e))&&void 0!==n?n:void 0;s.push({...e,frequencyInfo:t,operatorInfo:r})}});let n=(e,t)=>{var a,s;let n=(null===(a=e.operatorInfo)||void 0===a?void 0:a.operator)||"",r=(null===(s=t.operatorInfo)||void 0===s?void 0:s.operator)||"";return n.localeCompare(r)};return{lte:a.sort(n),nr5g:s.sort(n)}},[t,p,f,h,d]);if(a)return(0,s.jsxs)(r.Zp,{children:[(0,s.jsxs)(r.aR,{children:[(0,s.jsx)(r.ZB,{children:"Cell Frequency Analysis"}),(0,s.jsx)(r.BT,{children:"Analyzing frequency details for detected cells..."})]}),(0,s.jsx)(r.Wu,{className:"flex items-center justify-center min-h-[300px]",children:(0,s.jsxs)("div",{className:"flex flex-col items-center space-y-4",children:[(0,s.jsx)(m.A,{className:"w-8 h-8 animate-spin text-primary"}),(0,s.jsx)("p",{className:"text-sm text-muted-foreground",children:"Processing frequency information..."})]})})]});if(!t||!t.output)return(0,s.jsxs)(r.Zp,{children:[(0,s.jsxs)(r.aR,{children:[(0,s.jsx)(r.ZB,{children:"Cell Frequency Analysis"}),(0,s.jsx)(r.BT,{children:"Detailed frequency information for detected cells"})]}),(0,s.jsx)(r.Wu,{className:"flex items-center justify-center min-h-[300px]",children:(0,s.jsx)("p",{className:"text-muted-foreground",children:"Run a cell scan to view detailed frequency information"})})]});let g=x.lte.length+x.nr5g.length;return(0,s.jsxs)(r.Zp,{children:[(0,s.jsxs)(r.aR,{children:[(0,s.jsx)(r.ZB,{children:"Cell Frequency Analysis"}),(0,s.jsx)(r.BT,{children:t.timestamp&&(0,s.jsxs)("div",{className:"mt-1 text-sm text-muted-foreground",children:["Analysis based on full cell scan from: ",t.timestamp]})})]}),(0,s.jsx)(r.Wu,{children:(0,s.jsxs)(T.tU,{defaultValue:"all",value:i,onValueChange:e=>c(e),className:"mb-6",children:[(0,s.jsxs)(T.j7,{className:"grid w-full grid-cols-3",children:[(0,s.jsxs)(T.Xi,{value:"all",children:["All Cells (",g,")"]}),(0,s.jsxs)(T.Xi,{value:"lte",children:["LTE (",x.lte.length,")"]}),(0,s.jsxs)(T.Xi,{value:"nr5g",children:["5G NR (",x.nr5g.length,")"]})]}),(0,s.jsx)(T.av,{value:"all",className:"mt-4",children:(0,s.jsx)(v.F,{className:"h-[500px] pr-4",children:0===g?(0,s.jsx)("div",{className:"text-center py-8 text-muted-foreground",children:"No cells detected in the scan"}):(0,s.jsxs)("div",{className:"grid grid-cols-1 gap-4",children:[x.lte.map((e,t)=>(0,s.jsx)(k,{cell:e,operatorInfo:e.operatorInfo},"lte-".concat(e.cellId,"-").concat(t))),x.nr5g.map((e,t)=>(0,s.jsx)(k,{cell:e,operatorInfo:e.operatorInfo},"nr5g-".concat(e.cellId,"-").concat(t)))]})})}),(0,s.jsx)(T.av,{value:"lte",className:"mt-4",children:(0,s.jsx)(v.F,{className:"h-[500px] pr-4",children:0===x.lte.length?(0,s.jsx)("div",{className:"text-center py-8 text-muted-foreground",children:"No LTE cells detected in the scan"}):(0,s.jsx)("div",{className:"grid grid-cols-1 gap-4",children:x.lte.map((e,t)=>(0,s.jsx)(k,{cell:e,operatorInfo:e.operatorInfo},"lte-".concat(e.cellId,"-").concat(t)))})})}),(0,s.jsx)(T.av,{value:"nr5g",className:"mt-4",children:(0,s.jsx)(v.F,{className:"h-[500px] pr-4",children:0===x.nr5g.length?(0,s.jsx)("div",{className:"text-center py-8 text-muted-foreground",children:"No 5G NR cells detected in the scan"}):(0,s.jsx)("div",{className:"grid grid-cols-1 gap-4",children:x.nr5g.map((e,t)=>(0,s.jsx)(k,{cell:e,operatorInfo:e.operatorInfo},"nr5g-".concat(e.cellId,"-").concat(t)))})})})]})}),(0,s.jsx)(r.wL,{className:"border-t p-4 flex justify-between",children:(0,s.jsx)("div",{className:"text-xs text-muted-foreground",children:"Frequency calculation based on 3GPP TS 38.104 and TS 36.101 specifications"})})]})},F=()=>{let{toast:e}=(0,N.dj)(),[t,a]=(0,n.useState)(null),[d,o]=(0,n.useState)(null),[T,C]=(0,n.useState)(0),[I,S]=(0,n.useState)(!1),[R,D]=(0,n.useState)(null),[k,F]=(0,n.useState)([]),[A,P]=(0,n.useState)(null),[E,q]=(0,n.useState)({status:"idle",progress:0,message:""}),[H,M]=(0,n.useState)(0);(0,n.useEffect)(()=>{if(!d){C(0);return}let e=()=>{let t=new Date(d).getTime(),a=Math.max(0,6e4-(new Date().getTime()-t));C(a),a>0&&requestAnimationFrame(e)};e()},[d]);let _=(0,n.useCallback)(async()=>{try{let e=await fetch("/cgi-bin/quecmanager/experimental/cell_scanner/fetch_mccmnc.sh"),t=await e.json();F(t)}catch(t){console.error("Failed to fetch MCC-MNC list:",t),e({title:"Warning",description:"Failed to load operator information",variant:"destructive"})}},[]);(0,n.useEffect)(()=>{_()},[_]);let B=(0,n.useCallback)(async()=>{try{let e=await fetch("/cgi-bin/quecmanager/experimental/quecwatch/fetch-quecwatch.sh"),t=await e.json();D(t)}catch(t){console.error("Failed to fetch Quecwatch status:",t),e({title:"Error",description:"Failed to check Quecwatch status",variant:"destructive"})}},[]),O=(0,n.useCallback)((e,t)=>k.find(a=>a.mcc===e&&a.mnc===t)||null,[k]),z=(0,n.useCallback)(e=>e?e.split("\n").filter(e=>e.trim().startsWith("+QSCAN:")).map(e=>{let[t,a,s,n,r,l,i,c,...d]=e.substring(e.indexOf(":")+1).trim().split(",").map(e=>e.trim().replace(/\\"/g,"").replace(/"/g,"").replace(/\r/g,"")),o={type:t=t.replace(/\\\\/g,"").replace(/\\/g,"").replace(/"/g,"").trim(),mcc:a,mnc:s,freq:parseInt(n),pci:parseInt(r),rsrp:parseInt(l),rsrq:parseInt(i),srxlev:"-"===c?0:parseInt(c),cellId:"",tac:""};if("LTE"===t){let[e,t,a,s,n]=d,r=parseInt(s),l=w.U_[r.toString()]||"".concat(r," RB");return{...o,type:"LTE",squal:"-"===e?0:parseInt(e),cellId:t,tac:a,bandwidth:r,bandwidthMHz:l,band:parseInt(n)}}if("NR5G"===t){let[e,t,a,s,n,r,l,i]=d;return{...o,type:"NR5G",cellId:t,tac:a,scs:parseInt(e),carrierBandwidth:parseInt(s),band:parseInt(n),offsetToPointA:parseInt(r),ssbSubcarrierOffset:parseInt(l),ssbScs:parseInt(i)}}return null}).filter(e=>null!==e):[],[]),U=(0,n.useCallback)(async()=>{try{let e=await fetch("/cgi-bin/quecmanager/experimental/cell_scanner/check_scan.sh",{headers:{"Cache-Control":"no-cache, no-store"}});if(!e.ok)return;let t=await e.json();"success"===t.status&&t.output?(a(t),o(t.timestamp||null)):"running"===t.status&&(q({status:"scanning",progress:50,message:"Scan in progress...",startTime:Date.now()-6e4}),W(),setTimeout(G,2e3))}catch(e){console.error("Failed to check initial scan results",e)}},[]),G=(0,n.useCallback)(async()=>{if(H>60){console.log("Reached maximum polling attempts, waiting for results to appear");return}try{let e=await fetch("/cgi-bin/quecmanager/experimental/cell_scanner/check_scan.sh",{headers:{"Cache-Control":"no-cache, no-store"}});if(!e.ok)throw Error("HTTP error! status: ".concat(e.status));let t=await e.json();if("success"===t.status&&t.output){a(t),o(t.timestamp||null),q({status:"idle",progress:100,message:""}),M(0);return}if("running"===t.status){M(e=>e+1),setTimeout(G,2e3);return}H<30&&(M(e=>e+1),setTimeout(G,2e3))}catch(e){console.error("Failed to check scan status",e),H<60&&(M(e=>e+1),setTimeout(G,3e3))}},[H]),W=(0,n.useCallback)(()=>{let e;e=setInterval(()=>{q(t=>{if("scanning"!==t.status)return clearInterval(e),t;let a=10+88*Math.min((Date.now()-(t.startTime||Date.now()))/12e4,1),s="Scanning available networks... This may take a minute";return a>85?s="Finalizing scan results...":a>50&&(s="Collecting operator data..."),{...t,progress:Math.min(a,98),message:s}})},1e3),setTimeout(()=>{clearInterval(e),q(e=>"scanning"===e.status?{...e,progress:98,message:"Waiting for results..."}:e)},15e4)},[]),Z=(0,n.useCallback)(async()=>{if("scanning"!==E.status&&!I){S(!0),a(null),o(null),M(0),q({status:"scanning",progress:0,message:"Initiating scan...",startTime:Date.now()});try{let e=await fetch("/cgi-bin/quecmanager/experimental/cell_scanner/cell_scan.sh",{headers:{"Cache-Control":"no-cache, no-store"}});if(!e.ok)throw Error("HTTP error! status: ".concat(e.status));let t=await e.json();if("running"===t.status||"success"===t.status)q(e=>({...e,progress:10,message:"Scan in progress..."})),W(),setTimeout(G,2e3);else throw Error(t.message||"Failed to start scan")}catch(t){console.error("Scan error:",t),e({title:"Error",description:t instanceof Error?t.message:"Failed to start cell scan",variant:"destructive"}),q({status:"idle",progress:0,message:""})}finally{S(!1)}}},[E.status,I,G,W]),Q=(0,n.useCallback)(e=>e.reduce((e,t)=>{let a="".concat(t.mcc).concat(t.mnc);if(!e[a]){let s=O(t.mcc,t.mnc);e[a]={cells:[],operatorInfo:s}}return e[a].cells.push(t),e},{}),[O]),$=(0,n.useCallback)(e=>[...e].sort((e,t)=>e.type!==t.type?"LTE"===e.type?-1:1:t.rsrp-e.rsrp),[]),X=(0,n.useCallback)(e=>e>=-65?(0,s.jsx)(j.z_q,{className:"text-xl text-green-500"}):e>=-75?(0,s.jsx)(j.sRp,{className:"text-xl text-green-400"}):e>=-85?(0,s.jsx)(j.ztD,{className:"text-xl text-yellow-500"}):e>=-95?(0,s.jsx)(j.G7Q,{className:"text-xl text-yellow-600"}):(0,s.jsx)(j.NJ4,{className:"text-xl text-red-500"}),[]);(0,n.useEffect)(()=>{U(),B()},[U,B]);let V=(0,n.useCallback)(async()=>{a(null),o(null),q({status:"idle",progress:0,message:""});let t=await fetch("/cgi-bin/quecmanager/experimental/cell_scanner/clear_scan.sh",{headers:{"Cache-Control":"no-cache, no-store"}});if(!t.ok)return;let s=await t.json();"success"!==s.status&&"idle"!==s.status&&e({title:"Error",description:"Failed to remove scan results. Please try again.",variant:"destructive"})},[]),K=(0,n.useCallback)(()=>{if(!(null==t?void 0:t.output))return;let e=new Blob([["Type,MCC,MNC,Frequency,PCI,RSRP,RSRQ,Band,Cell ID,TAC",...z(t.output).map(e=>"".concat(e.type,",").concat(e.mcc,",").concat(e.mnc,",").concat(e.freq,",").concat(e.pci,",").concat(e.rsrp,",").concat(e.rsrq,",").concat(e.band,",").concat(e.cellId,",").concat(e.tac))].join("\n")],{type:"text/csv;charset=utf-8;"}),a=document.createElement("a");a.href=URL.createObjectURL(e),a.setAttribute("download","cell_scan_".concat(new Date().toISOString(),".csv")),document.body.appendChild(a),a.click(),document.body.removeChild(a)},[t,z]),J=(0,n.useCallback)((e,t,a)=>a?"".concat(e).concat(t," - ").concat(a.brand," by ").concat(a.operator):"".concat(e).concat(t),[]),Y=(null==t?void 0:t.status)==="success"&&t.output?Q(z(t.output)):{},ee=(0,n.useCallback)(async()=>{if(!I){S(!0),P(null);try{let e=await fetch("/cgi-bin/quecmanager/experimental/cell_scanner/network_info.sh");if(!e.ok)throw Error("HTTP error! status: ".concat(e.status));let s=await e.json();if(console.log("Neighbor cell data:",s),"success"===s.status&&s.mode){var t,a;(null===(t=s.data)||void 0===t?void 0:t.neighborCells)||(null===(a=s.data)||void 0===a?void 0:a.meas)?P(s):s.raw_data&&P({status:s.status,timestamp:s.timestamp,mode:s.mode,data:{neighborCells:s.raw_data.neighborCells,meas:s.raw_data.meas}})}else P(s)}catch(t){console.error("Failed to fetch neighbor cells",t),e({title:"Error",description:"Failed to scan neighbor cells. Please try again.",variant:"destructive"})}finally{S(!1)}}},[I]),et=(0,n.useCallback)(()=>{P(null)},[]);return(0,s.jsxs)("div",{className:"grid gap-5",children:[(0,s.jsxs)(r.Zp,{children:[(0,s.jsxs)(r.aR,{children:[(0,s.jsx)(r.ZB,{children:"Full Network Cell Scan"}),(0,s.jsxs)(r.BT,{children:["Scan all available network cells, including those from other network providers. Current network mode will affect the results and you may be disconnected during the scan.",d&&(0,s.jsxs)("div",{className:"mt-1 text-sm text-muted-foreground",children:["Last scan: ",d]})]})]}),(0,s.jsx)(r.Wu,{children:(0,s.jsxs)(v.F,{className:"h-96",children:[!t&&"idle"===E.status&&(0,s.jsx)("div",{className:"flex items-center justify-center h-full",children:(0,s.jsx)("p",{className:"text-gray-500 text-center",children:"Click the button below to start scanning the network..."})}),"scanning"===E.status&&(0,s.jsxs)("div",{className:"flex flex-col space-y-2 items-center justify-center h-full w-full",children:[(0,s.jsx)(u,{value:E.progress,className:"w-full"}),(0,s.jsx)("div",{className:"flex items-center justify-center",children:(0,s.jsx)("p",{className:"text-sm text-gray-500 text-center",children:E.message})})]}),(0,s.jsx)("div",{className:"grid gap-4",children:Object.entries(Y).map(e=>{let[t,{cells:a,operatorInfo:n}]=e;return(0,s.jsxs)(r.Zp,{className:"p-4 grid gap-2",children:[(0,s.jsx)("div",{children:(0,s.jsx)(g.E,{children:J(a[0].mcc,a[0].mnc,n)})}),(0,s.jsxs)(l.XI,{children:[(0,s.jsx)(l.A0,{children:(0,s.jsxs)(l.Hj,{children:[(0,s.jsx)(l.nd,{children:"Type"}),(0,s.jsx)(l.nd,{children:"E/ARFCN"}),(0,s.jsx)(l.nd,{children:"PCI"}),(0,s.jsx)(l.nd,{children:"Band"}),(0,s.jsx)(l.nd,{children:"Bandwidth"}),(0,s.jsx)(l.nd,{children:"Cell ID"}),(0,s.jsx)(l.nd,{children:"TAC"}),(0,s.jsx)(l.nd,{children:"Signal"})]})}),(0,s.jsx)(l.BF,{children:$(a).map((e,t)=>(0,s.jsxs)(l.Hj,{children:[(0,s.jsx)(l.nA,{children:e.type}),(0,s.jsx)(l.nA,{children:e.freq}),(0,s.jsx)(l.nA,{children:e.pci}),(0,s.jsx)(l.nA,{children:e.band}),(0,s.jsx)(l.nA,{children:"LTE"===e.type?e.bandwidthMHz:e.carrierBandwidth+"MHz"}),(0,s.jsx)(l.nA,{children:parseInt(e.cellId,16)||"-"}),(0,s.jsx)(l.nA,{children:parseInt(e.tac,16)||"-"}),(0,s.jsx)(l.nA,{children:(0,s.jsx)(i.TooltipProvider,{children:(0,s.jsxs)(i.m_,{children:[(0,s.jsx)(i.k$,{children:X(e.rsrp)}),(0,s.jsx)(i.ZI,{children:(0,s.jsxs)("div",{className:"grid gap-1",children:[(0,s.jsxs)("div",{className:"grid grid-cols-2 gap-1",children:["RSRP"," ",(0,s.jsxs)("span",{className:"font-medium",children:[e.rsrp," dBm"]})]}),(0,s.jsxs)("div",{className:"grid grid-cols-2 gap-1",children:["RSRQ"," ",(0,s.jsxs)("span",{className:"font-medium",children:[e.rsrq," dB"]})]})]})})]})})})]},"".concat(e.cellId,"-").concat(t)))})]})]},t)})})]})}),(0,s.jsx)(r.wL,{className:"border-t py-4",children:(0,s.jsxs)("div",{className:"flex items-center space-x-4",children:[(null==R?void 0:R.status)==="active"?(0,s.jsx)(i.TooltipProvider,{children:(0,s.jsxs)(i.m_,{children:[(0,s.jsx)(i.k$,{children:(0,s.jsx)(c.$,{disabled:!0,children:"scanning"===E.status?(0,s.jsxs)("div",{className:"flex items-center gap-x-2",children:[(0,s.jsx)(m.A,{className:"animate-spin w-4 h-4"}),(0,s.jsx)("span",{children:"Scanning Network..."})]}):t?(0,s.jsxs)("div",{className:"flex items-center space-x-2",children:[(0,s.jsx)(f.A,{className:"w-4 h-4"}),(0,s.jsx)("span",{children:"Run Cell Scan Again"})]}):(0,s.jsxs)("div",{className:"flex items-center space-x-2",children:[(0,s.jsx)(p.A,{className:"w-4 h-4"}),(0,s.jsx)("span",{children:"Start Cell Scan"})]})})}),(0,s.jsx)(i.ZI,{children:"Please disable Quecwatch first before proceeding."})]})}):(0,s.jsx)(i.TooltipProvider,{children:(0,s.jsxs)(i.m_,{children:[(0,s.jsx)(i.k$,{asChild:!0,children:(0,s.jsx)(c.$,{onClick:Z,disabled:"scanning"===E.status||I||T>0,children:"scanning"===E.status?(0,s.jsxs)("div",{className:"flex items-center gap-x-2",children:[(0,s.jsx)(m.A,{className:"animate-spin w-4 h-4"}),(0,s.jsx)("span",{children:"Scanning Network..."})]}):t?(0,s.jsxs)("div",{className:"flex items-center space-x-2",children:[(0,s.jsx)(f.A,{className:"w-4 h-4"}),(0,s.jsx)("span",{children:"Run Cell Scan Again"})]}):(0,s.jsxs)("div",{className:"flex items-center space-x-2",children:[(0,s.jsx)(p.A,{className:"w-4 h-4"}),(0,s.jsx)("span",{children:"Start Cell Scan"})]})})}),(0,s.jsx)(i.ZI,{children:T>0?(0,s.jsxs)("span",{children:["Please wait ",Math.ceil(T/1e3)," ","seconds before scanning again"]}):(0,s.jsx)("span",{children:"Start a new network scan"})})]})}),(null==t?void 0:t.status)==="success"&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)(c.$,{variant:"secondary",onClick:K,disabled:"scanning"===E.status,children:[(0,s.jsx)(h.A,{className:"w-4 h-4 mr-2"}),"Export to CSV"]}),(0,s.jsxs)(c.$,{variant:"destructive",onClick:V,disabled:"scanning"===E.status,children:[(0,s.jsx)(x.A,{className:"w-4 h-4 mr-2"}),"Clear Results"]})]})]})})]}),(0,s.jsxs)(r.Zp,{children:[(0,s.jsxs)(r.aR,{children:[(0,s.jsx)(r.ZB,{children:"Neighbor Cell Scan"}),(0,s.jsxs)(r.BT,{children:["Scan neighbor cells of the current network provider. This provides detailed information about cells in your immediate vicinity that your device can connect to.",(null==A?void 0:A.timestamp)&&(0,s.jsxs)("div",{className:"mt-1 text-sm text-muted-foreground",children:["Last scan: ",A.timestamp]})]})]}),(0,s.jsx)(r.Wu,{children:(0,s.jsx)(b,{neighborCells:A})}),(0,s.jsx)(r.wL,{className:"border-t py-4",children:(0,s.jsxs)("div",{className:"flex items-center space-x-4",children:[(0,s.jsx)(c.$,{onClick:ee,disabled:I,children:I?(0,s.jsxs)("div",{className:"flex items-center gap-x-2",children:[(0,s.jsx)(m.A,{className:"animate-spin w-4 h-4"}),(0,s.jsx)("span",{children:"Scanning..."})]}):(0,s.jsxs)("div",{className:"flex items-center space-x-2",children:[(0,s.jsx)(y.$p$,{className:"w-4 h-4"}),(0,s.jsx)("span",{children:"Start Neighbor Scan"})]})}),(null==A?void 0:A.status)==="success"&&(0,s.jsxs)(c.$,{variant:"destructive",onClick:et,disabled:I,children:[(0,s.jsx)(x.A,{className:"w-4 h-4 mr-2"}),"Clear Results"]})]})})]}),(0,s.jsx)(L,{scanResult:t,isLoading:"scanning"===E.status,mccMncList:k})]})}},45934:(e,t,a)=>{"use strict";a.d(t,{E:()=>i});var s=a(20475);a(20107);var n=a(29395),r=a(22250);let l=(0,n.F)("inline-flex items-center rounded-md border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground shadow hover:bg-primary/80",secondary:"border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80",destructive:"border-transparent bg-destructive text-destructive-foreground shadow hover:bg-destructive/80",outline:"text-foreground"}},defaultVariants:{variant:"default"}});function i(e){let{className:t,variant:a,...n}=e;return(0,s.jsx)("div",{className:(0,r.cn)(l({variant:a}),t),...n})}},42541:(e,t,a)=>{"use strict";a.d(t,{$:()=>d,r:()=>c});var s=a(20475),n=a(20107),r=a(61837),l=a(29395),i=a(22250);let c=(0,l.F)("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{variants:{variant:{default:"bg-primary text-primary-foreground shadow hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90",outline:"border border-input bg-background shadow-sm hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2",sm:"h-8 rounded-md px-3 text-xs",lg:"h-10 rounded-md px-8",icon:"h-9 w-9"}},defaultVariants:{variant:"default",size:"default"}}),d=n.forwardRef((e,t)=>{let{className:a,variant:n,size:l,asChild:d=!1,...o}=e,u=d?r.DX:"button";return(0,s.jsx)(u,{className:(0,i.cn)(c({variant:n,size:l,className:a})),ref:t,...o})});d.displayName="Button"},72167:(e,t,a)=>{"use strict";a.d(t,{BT:()=>d,Wu:()=>o,ZB:()=>c,Zp:()=>l,aR:()=>i,wL:()=>u});var s=a(20475),n=a(20107),r=a(22250);let l=n.forwardRef((e,t)=>{let{className:a,...n}=e;return(0,s.jsx)("div",{ref:t,className:(0,r.cn)("rounded-xl border bg-card text-card-foreground shadow",a),...n})});l.displayName="Card";let i=n.forwardRef((e,t)=>{let{className:a,...n}=e;return(0,s.jsx)("div",{ref:t,className:(0,r.cn)("flex flex-col space-y-1.5 p-6",a),...n})});i.displayName="CardHeader";let c=n.forwardRef((e,t)=>{let{className:a,...n}=e;return(0,s.jsx)("h3",{ref:t,className:(0,r.cn)("font-semibold leading-none tracking-tight",a),...n})});c.displayName="CardTitle";let d=n.forwardRef((e,t)=>{let{className:a,...n}=e;return(0,s.jsx)("p",{ref:t,className:(0,r.cn)("text-sm text-muted-foreground",a),...n})});d.displayName="CardDescription";let o=n.forwardRef((e,t)=>{let{className:a,...n}=e;return(0,s.jsx)("div",{ref:t,className:(0,r.cn)("p-6 pt-0",a),...n})});o.displayName="CardContent";let u=n.forwardRef((e,t)=>{let{className:a,...n}=e;return(0,s.jsx)("div",{ref:t,className:(0,r.cn)("flex items-center p-6 pt-0",a),...n})});u.displayName="CardFooter"},36824:(e,t,a)=>{"use strict";a.d(t,{$:()=>c,F:()=>i});var s=a(20475),n=a(20107),r=a(89679),l=a(22250);let i=n.forwardRef((e,t)=>{let{className:a,children:n,...i}=e;return(0,s.jsxs)(r.bL,{ref:t,className:(0,l.cn)("relative overflow-hidden",a),...i,children:[(0,s.jsx)(r.LM,{className:"h-full w-full rounded-[inherit]",children:n}),(0,s.jsx)(c,{}),(0,s.jsx)(r.OK,{})]})});i.displayName=r.bL.displayName;let c=n.forwardRef((e,t)=>{let{className:a,orientation:n="vertical",...i}=e;return(0,s.jsx)(r.VM,{ref:t,orientation:n,className:(0,l.cn)("flex touch-none select-none transition-colors","vertical"===n&&"h-full w-2.5 border-l border-l-transparent p-[1px]","horizontal"===n&&"h-2.5 flex-col border-t border-t-transparent p-[1px]",a),...i,children:(0,s.jsx)(r.lr,{className:"relative flex-1 rounded-full bg-border"})})});c.displayName=r.VM.displayName},51303:(e,t,a)=>{"use strict";a.d(t,{A0:()=>i,BF:()=>c,Hj:()=>d,XI:()=>l,nA:()=>u,nd:()=>o,r6:()=>m});var s=a(20475),n=a(20107),r=a(22250);let l=n.forwardRef((e,t)=>{let{className:a,...n}=e;return(0,s.jsx)("div",{className:"relative w-full overflow-auto",children:(0,s.jsx)("table",{ref:t,className:(0,r.cn)("w-full caption-bottom text-sm",a),...n})})});l.displayName="Table";let i=n.forwardRef((e,t)=>{let{className:a,...n}=e;return(0,s.jsx)("thead",{ref:t,className:(0,r.cn)("[&_tr]:border-b",a),...n})});i.displayName="TableHeader";let c=n.forwardRef((e,t)=>{let{className:a,...n}=e;return(0,s.jsx)("tbody",{ref:t,className:(0,r.cn)("[&_tr:last-child]:border-0",a),...n})});c.displayName="TableBody",n.forwardRef((e,t)=>{let{className:a,...n}=e;return(0,s.jsx)("tfoot",{ref:t,className:(0,r.cn)("border-t bg-muted/50 font-medium [&>tr]:last:border-b-0",a),...n})}).displayName="TableFooter";let d=n.forwardRef((e,t)=>{let{className:a,...n}=e;return(0,s.jsx)("tr",{ref:t,className:(0,r.cn)("border-b transition-colors hover:bg-muted/50 data-[state=selected]:bg-muted",a),...n})});d.displayName="TableRow";let o=n.forwardRef((e,t)=>{let{className:a,...n}=e;return(0,s.jsx)("th",{ref:t,className:(0,r.cn)("h-10 px-2 text-left align-middle font-medium text-muted-foreground [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]",a),...n})});o.displayName="TableHead";let u=n.forwardRef((e,t)=>{let{className:a,...n}=e;return(0,s.jsx)("td",{ref:t,className:(0,r.cn)("p-2 align-middle [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]",a),...n})});u.displayName="TableCell";let m=n.forwardRef((e,t)=>{let{className:a,...n}=e;return(0,s.jsx)("caption",{ref:t,className:(0,r.cn)("mt-4 text-sm text-muted-foreground",a),...n})});m.displayName="TableCaption"},37921:(e,t,a)=>{"use strict";a.d(t,{Xi:()=>d,av:()=>o,j7:()=>c,tU:()=>i});var s=a(20475),n=a(20107),r=a(93677),l=a(22250);let i=r.bL,c=n.forwardRef((e,t)=>{let{className:a,...n}=e;return(0,s.jsx)(r.B8,{ref:t,className:(0,l.cn)("inline-flex h-9 items-center justify-center rounded-lg bg-muted p-1 text-muted-foreground",a),...n})});c.displayName=r.B8.displayName;let d=n.forwardRef((e,t)=>{let{className:a,...n}=e;return(0,s.jsx)(r.l9,{ref:t,className:(0,l.cn)("inline-flex items-center justify-center whitespace-nowrap rounded-md px-3 py-1 text-sm font-medium ring-offset-background transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:bg-background data-[state=active]:text-foreground data-[state=active]:shadow",a),...n})});d.displayName=r.l9.displayName;let o=n.forwardRef((e,t)=>{let{className:a,...n}=e;return(0,s.jsx)(r.UC,{ref:t,className:(0,l.cn)("mt-2 ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",a),...n})});o.displayName=r.UC.displayName},85014:(e,t,a)=>{"use strict";a.d(t,{TooltipProvider:()=>i,ZI:()=>o,k$:()=>d,m_:()=>c});var s=a(20475),n=a(20107),r=a(43048),l=a(22250);let i=r.Kq,c=r.bL,d=r.l9,o=n.forwardRef((e,t)=>{let{className:a,sideOffset:n=4,...i}=e;return(0,s.jsx)(r.UC,{ref:t,sideOffset:n,className:(0,l.cn)("z-50 overflow-hidden rounded-md bg-primary px-3 py-1.5 text-xs text-primary-foreground animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",a),...i})});o.displayName=r.UC.displayName},32857:(e,t,a)=>{"use strict";a.d(t,{dj:()=>m,oR:()=>u});var s=a(20107);let n=0,r=new Map,l=e=>{if(r.has(e))return;let t=setTimeout(()=>{r.delete(e),o({type:"REMOVE_TOAST",toastId:e})},1e6);r.set(e,t)},i=(e,t)=>{switch(t.type){case"ADD_TOAST":return{...e,toasts:[t.toast,...e.toasts].slice(0,1)};case"UPDATE_TOAST":return{...e,toasts:e.toasts.map(e=>e.id===t.toast.id?{...e,...t.toast}:e)};case"DISMISS_TOAST":{let{toastId:a}=t;return a?l(a):e.toasts.forEach(e=>{l(e.id)}),{...e,toasts:e.toasts.map(e=>e.id===a||void 0===a?{...e,open:!1}:e)}}case"REMOVE_TOAST":if(void 0===t.toastId)return{...e,toasts:[]};return{...e,toasts:e.toasts.filter(e=>e.id!==t.toastId)}}},c=[],d={toasts:[]};function o(e){d=i(d,e),c.forEach(e=>{e(d)})}function u(e){let{...t}=e,a=(n=(n+1)%Number.MAX_SAFE_INTEGER).toString(),s=()=>o({type:"DISMISS_TOAST",toastId:a});return o({type:"ADD_TOAST",toast:{...t,id:a,open:!0,onOpenChange:e=>{e||s()}}}),{id:a,dismiss:s,update:e=>o({type:"UPDATE_TOAST",toast:{...e,id:a}})}}function m(){let[e,t]=s.useState(d);return s.useEffect(()=>(c.push(t),()=>{let e=c.indexOf(t);e>-1&&c.splice(e,1)}),[e]),{...e,toast:u,dismiss:e=>o({type:"DISMISS_TOAST",toastId:e})}}},22250:(e,t,a)=>{"use strict";a.d(t,{cn:()=>r});var s=a(64901),n=a(868);function r(){for(var e=arguments.length,t=Array(e),a=0;a{"use strict";a.d(t,{QI:()=>l,U_:()=>s,ZK:()=>n,jq:()=>r});let s={6:"1.4 MHz",15:"3 MHz",25:"5 MHz",50:"10 MHz",75:"15 MHz",100:"20 MHz","-":"-"},n={0:"No cause",2:"IMSI unknown in HSS",3:"Illegal UE",5:"IMEI not accepted",6:"Illegal ME",7:"EPS services not allowed",8:"EPS services and non-EPS services not allowed",9:"UE identity cannot be derived by the network",10:"Implicitly detached",11:"PLMN not allowed",12:"Tracking Area not allowed",13:"Roaming not allowed in this tracking area",14:"EPS services not allowed in this PLMN",15:"No Suitable Cells in tracking area",16:"MSC temporarily not reachable",17:"Network failure",18:"CS domain not available",19:"ESM failure",20:"MAC failure",21:"Synch failure",22:"Congestion",23:"UE security capabilities mismatch",24:"Security mode rejected, unspecified",25:"Not authorized for this CSG",26:"Non-EPS authentication unacceptable",31:"Redirection to 5GCN required",35:"Requested service option not authorized in this PLMN",39:"CS service temporarily not available",40:"No EPS bearer context activated",42:"Severe network failure",95:"Semantically incorrect message",96:"Invalid mandatory information",97:"Message type non-existent or not implemented",98:"Message type not compatible with the protocol state",99:"Information element non-existent or not implemented",100:"Conditional IE error",101:"Message not compatible with the protocol state",111:"Protocol error, unspecified"},r={0:"No cause",8:"Operator Determined Barring",26:"Insufficient resources",27:"Missing or unknown APN",28:"Unknown PDN type",29:"User authentication failed",30:"Request rejected by Serving GW or PDN GW",31:"Request rejected, unspecified",32:"Service option not supported",33:"Requested service option not subscribed",34:"Service option temporarily out of order",35:"PTI already in use",36:"Regular deactivation",37:"EPS QoS not accepted",38:"Network failure",39:"Reactivation requested",41:"Semantic error in the TFT operation",42:"Syntactical error in the TFT operation",43:"Invalid EPS bearer identity",44:"Semantic errors in packet filter(s)",45:"Syntactical errors in packet filter(s)",46:"Unused (see NOTE 2)",47:"PTI mismatch",49:"Last PDN disconnection not allowed",50:"PDN type IPv4 only allowed",51:"PDN type IPv6 only allowed",52:"Single address bearers only allowed",53:"ESM information not received",54:"PDN connection does not exist",55:"Multiple PDN connections for a given APN not allowed",56:"Collision with network initiated request",57:"PDN type IPv4v6 only allowed",58:"PDN type non IP only allowed",59:"Unsupported QCI value",60:"Bearer handling not supported",61:"PDN type Ethernet only allowed",65:"Maximum number of EPS bearers reached",66:"Requested APN not supported in current RAT and PLMN combination",81:"Invalid PTI value",95:"Semantically incorrect message",96:"Invalid mandatory information",97:"Message type non-existent or not implemented",98:"Message type not compatible with the protocol state",99:"Information element non-existent or not implemented",100:"Conditional IE error",101:"Message not compatible with the protocol state",111:"Protocol error, unspecified",112:"APN restriction value incompatible with active EPS bearer context",113:"Multiple accesses to a PDN connection not allowed"},l={0:"No cause",3:"Illegal UE",5:"PEI not accepted",6:"Illegal ME",7:"5GS services not allowed",9:"UE identity cannot be derived by the network",10:"Implicitly de-registered",11:"PLMN not allowed",12:"Tracking area not allowed",13:"Roaming not allowed in this tracking area",15:"No suitable cells in tracking area",20:"MAC failure",21:"Synch failure",22:"Congestion",23:"UE security capabilities mismatch",24:"Security mode rejected, unspecified",26:"Non-5G authentication unacceptable",27:"N1 mode not allowed",28:"Restricted service area",31:"Redirection to EPC required",43:"LADN not available",62:"No network slices available",65:"Maximum number of PDU sessions reached",67:"Insufficient resources for specific slice and DNN",69:"Insufficient resources for specific slice",71:"ngKSI already in use",72:"Non-3GPP access to 5GCN not allowed",73:"Serving network not authorized",74:"Temporarily not authorized for this SNPN",75:"Permanently not authorized for this SNPN",76:"Not authorized for this CAG or authorized for CAG cells only",77:"Wireline access area not allowed",78:"PLMN not allowed to operate at the present UE location",79:"UAS services not allowed",90:"Payload was not forwarded",91:"DNN not supported or not subscribed in the slice",92:"Insufficient user-plane resources for the PDU session",95:"Semantically incorrect message",96:"Invalid mandatory information",97:"Message type non-existent or not implemented",98:"Message type not compatible with the protocol state",99:"Information element non-existent or not implemented",100:"Conditional IE error",101:"Message not compatible with the protocol state",111:"Protocol error, unspecified"}}},e=>{var t=t=>e(e.s=t);e.O(0,[9980,2101,7780,8885,3746,3048,467,3095,3453,5668,191,6035,7358],()=>t(23357)),_N_E=e.O()}]); \ No newline at end of file +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8627],{23357:(e,t,a)=>{Promise.resolve().then(a.bind(a,12005))},12005:(e,t,a)=>{"use strict";a.r(t),a.d(t,{default:()=>F});var s=a(20475),n=a(20107),r=a(72167),l=a(51303),i=a(85014),c=a(42541),d=a(33466),o=a(22250);let u=n.forwardRef((e,t)=>{let{className:a,value:n,...r}=e;return(0,s.jsx)(d.bL,{ref:t,className:(0,o.cn)("relative h-2 w-full overflow-hidden rounded-full bg-primary/20",a),...r,children:(0,s.jsx)(d.C1,{className:"h-full w-full flex-1 bg-primary transition-all",style:{transform:"translateX(-".concat(100-(n||0),"%)")}})})});u.displayName=d.bL.displayName;var m=a(59166),p=a(27720),f=a(91994),h=a(76076),x=a(51873),g=a(45934),j=a(38741),v=a(36824),N=a(32857);let b=e=>{let{neighborCells:t}=e;(0,n.useEffect)(()=>{t&&console.log("Neighbor cells data:",t)},[t]);let a=e=>e?Array.from(e.matchAll(/\+QENG: "neighbourcell (intra|inter)","LTE",(\d+),(\d+),(-?\d+),(-?\d+)/g)).map(e=>({type:"LTE",cellType:e[1],frequency:parseInt(e[2]),pci:parseInt(e[3]),rsrq:parseInt(e[4]),rsrp:parseInt(e[5])})):[],r=e=>e?Array.from(e.matchAll(/\+QNWCFG: "nr5g_meas_info",(\d+),(\d+),(\d+),(-?\d+),(-?\d+)/g)).map(e=>({type:"NR5G-NSA",cellType:"nr5g",frequency:parseInt(e[2]),pci:parseInt(e[3]),rsrp:parseInt(e[4]),rsrq:parseInt(e[5])})):[],c=e=>e>=-65?(0,s.jsx)(j.z_q,{className:"text-xl text-green-500"}):e>=-75?(0,s.jsx)(j.sRp,{className:"text-xl text-green-400"}):e>=-85?(0,s.jsx)(j.ztD,{className:"text-xl text-yellow-500"}):e>=-95?(0,s.jsx)(j.G7Q,{className:"text-xl text-yellow-600"}):(0,s.jsx)(j.NJ4,{className:"text-xl text-red-500"}),d=[];if((null==t?void 0:t.status)==="success"){var o,u,m,p;(null===(o=t.data)||void 0===o?void 0:o.neighborCells)?d=[...d,...a(t.data.neighborCells)]:(null===(u=t.raw_data)||void 0===u?void 0:u.neighborCells)&&(d=[...d,...a(t.raw_data.neighborCells)]),(null===(m=t.data)||void 0===m?void 0:m.meas)?d=[...d,...r(t.data.meas)]:(null===(p=t.raw_data)||void 0===p?void 0:p.meas)&&(d=[...d,...r(t.raw_data.meas)])}return(d.sort((e,t)=>e.type.startsWith("NR5G")&&!t.type.startsWith("NR5G")?-1:!e.type.startsWith("NR5G")&&t.type.startsWith("NR5G")?1:t.rsrp-e.rsrp),t&&0!==d.length)?(0,s.jsx)("div",{className:"space-y-4",children:(0,s.jsxs)(l.XI,{children:[(0,s.jsx)(l.A0,{children:(0,s.jsxs)(l.Hj,{children:[(0,s.jsx)(l.nd,{children:"Type"}),(0,s.jsx)(l.nd,{children:"Cell Type"}),(0,s.jsx)(l.nd,{children:"Frequency"}),(0,s.jsx)(l.nd,{children:"PCI"}),(0,s.jsx)(l.nd,{children:"Signal"})]})}),(0,s.jsx)(l.BF,{children:d.map((e,t)=>(0,s.jsxs)(l.Hj,{children:[(0,s.jsx)(l.nA,{className:"font-medium",children:e.type}),(0,s.jsx)(l.nA,{children:e.cellType}),(0,s.jsx)(l.nA,{children:e.frequency}),(0,s.jsx)(l.nA,{children:e.pci}),(0,s.jsx)(l.nA,{children:(0,s.jsx)(i.TooltipProvider,{children:(0,s.jsxs)(i.m_,{children:[(0,s.jsx)(i.k$,{children:c(e.rsrp)}),(0,s.jsx)(i.ZI,{children:(0,s.jsxs)("div",{className:"grid gap-1",children:[(0,s.jsxs)("div",{className:"grid grid-cols-2 gap-1",children:["RSRP ",(0,s.jsxs)("span",{className:"font-medium",children:[e.rsrp," dBm"]})]}),(0,s.jsxs)("div",{className:"grid grid-cols-2 gap-1",children:["RSRQ ",(0,s.jsxs)("span",{className:"font-medium",children:[e.rsrq," dB"]})]})]})})]})})})]},"".concat(e.type,"-").concat(e.frequency,"-").concat(e.pci,"-").concat(t)))})]})}):(0,s.jsx)("div",{className:"text-center py-4 text-gray-500",children:"No neighbor cells data available"})};var y=a(7197),w=a(23484),T=a(37921),C=a(28702);let I=C.bL,S=n.forwardRef((e,t)=>{let{className:a,...n}=e;return(0,s.jsx)(C.q7,{ref:t,className:(0,o.cn)("border-b",a),...n})});S.displayName="AccordionItem";let R=n.forwardRef((e,t)=>{let{className:a,children:n,...r}=e;return(0,s.jsx)(C.Y9,{className:"flex",children:(0,s.jsxs)(C.l9,{ref:t,className:(0,o.cn)("flex flex-1 items-center justify-between py-4 text-sm font-medium transition-all hover:underline text-left [&[data-state=open]>svg]:rotate-180",a),...r,children:[n,(0,s.jsx)(y.D3D,{className:"h-4 w-4 shrink-0 text-muted-foreground transition-transform duration-200"})]})})});R.displayName=C.l9.displayName;let D=n.forwardRef((e,t)=>{let{className:a,children:n,...r}=e;return(0,s.jsx)(C.UC,{ref:t,className:"overflow-hidden text-sm data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down",...r,children:(0,s.jsx)("div",{className:(0,o.cn)("pb-4 pt-0",a),children:n})})});D.displayName=C.UC.displayName;let k=e=>{var t,a,n,l,i,c;let{cell:d,operatorInfo:o}=e,u="LTE"===d.type;return(0,s.jsxs)(r.Zp,{className:"overflow-hidden border shadow-sm",children:[(0,s.jsxs)(r.aR,{className:"bg-muted/30 pb-2",children:[(0,s.jsx)("div",{className:"flex justify-between items-center",children:(0,s.jsxs)("div",{className:"flex items-center space-x-2",children:[(0,s.jsxs)(g.E,{variant:u?"outline":"default",className:u?"bg-orange-600":"",children:[u?"LTE":"5G NR"," - ",(null==o?void 0:o.brand)&&o.operator?"".concat(o.brand):(null==o?void 0:o.operator)?o.operator:"".concat(d.mcc).concat(d.mnc)]}),(0,s.jsx)(r.ZB,{className:"text-base",children:u?"Band ".concat(d.band," (").concat((null===(t=d.frequencyInfo)||void 0===t?void 0:t.bandName)||"Unknown",")"):"n".concat(d.band," (").concat((null===(a=d.frequencyInfo)||void 0===a?void 0:a.bandName)||"Unknown",")")})]})}),(0,s.jsxs)(r.BT,{className:"mt-1 flex items-center space-x-2",children:[(0,s.jsxs)("span",{children:["Cell ID: ",d.cellId]}),(0,s.jsx)("span",{children:"•"}),(0,s.jsxs)("span",{children:["PCI: ",d.pci]}),(0,s.jsx)("span",{children:"•"}),(0,s.jsx)("span",{children:u?"EARFCN: ".concat(d.freq):"NR-ARFCN: ".concat(d.freq)})]})]}),(0,s.jsxs)(r.Wu,{className:"pt-4",children:[(0,s.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-x-8 gap-y-2",children:[(0,s.jsx)("div",{className:"space-y-3",children:(0,s.jsxs)("div",{children:[(0,s.jsx)("h4",{className:"text-sm font-semibold mb-1",children:"Frequency Information"}),(0,s.jsxs)("div",{className:"grid grid-cols-2 gap-y-1 text-sm",children:[(0,s.jsx)("div",{className:"text-muted-foreground",children:"Downlink Frequency:"}),(0,s.jsxs)("div",{className:"font-medium",children:[(null===(n=d.frequencyInfo)||void 0===n?void 0:n.dlFrequency)||"Unknown"," MHz"]}),(0,s.jsx)("div",{className:"text-muted-foreground",children:"Uplink Frequency:"}),(0,s.jsxs)("div",{className:"font-medium",children:[(null===(l=d.frequencyInfo)||void 0===l?void 0:l.ulFrequency)||"Unknown"," MHz"]}),(0,s.jsx)("div",{className:"text-muted-foreground",children:"Duplex Mode:"}),(0,s.jsx)("div",{className:"font-medium",children:(null===(i=d.frequencyInfo)||void 0===i?void 0:i.duplexType)||"Unknown"}),u&&(null===(c=d.frequencyInfo)||void 0===c?void 0:c.ulEarfcn)&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("div",{className:"text-muted-foreground",children:"Uplink EARFCN:"}),(0,s.jsx)("div",{className:"font-medium",children:d.frequencyInfo.ulEarfcn})]})]})]})}),(0,s.jsx)("div",{className:"space-y-3",children:(0,s.jsxs)("div",{children:[(0,s.jsx)("h4",{className:"text-sm font-semibold mb-1",children:"Signal Parameters"}),(0,s.jsxs)("div",{className:"grid grid-cols-2 gap-y-1 text-sm",children:[(0,s.jsx)("div",{className:"text-muted-foreground",children:"RSRP:"}),(0,s.jsxs)("div",{className:"font-medium",children:[d.rsrp||"-"," dBm"]}),(0,s.jsx)("div",{className:"text-muted-foreground",children:"RSRQ:"}),(0,s.jsxs)("div",{className:"font-medium",children:[d.rsrq||"-"," dB"]}),u?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("div",{className:"text-muted-foreground",children:"SQUAL:"}),(0,s.jsx)("div",{className:"font-medium",children:d.squal}),(0,s.jsx)("div",{className:"text-muted-foreground",children:"Bandwidth:"}),(0,s.jsx)("div",{className:"font-medium",children:d.bandwidthMHz||"".concat(d.bandwidth," RB")})]}):(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("div",{className:"text-muted-foreground",children:"Subcarrier Spacing:"}),(0,s.jsxs)("div",{className:"font-medium",children:[d.scs||"-"," kHz"]}),(0,s.jsx)("div",{className:"text-muted-foreground",children:"Carrier Bandwidth:"}),(0,s.jsxs)("div",{className:"font-medium",children:[d.carrierBandwidth||"-"," RB"]}),(0,s.jsx)("div",{className:"text-muted-foreground",children:"SSB SCS:"}),(0,s.jsxs)("div",{className:"font-medium",children:[d.ssbScs||"-"," kHz"]})]})]})]})})]}),(0,s.jsx)(I,{type:"single",collapsible:!0,className:"mt-4",children:(0,s.jsxs)(S,{value:"advanced",children:[(0,s.jsx)(R,{className:"text-sm py-2",children:"Advanced Details"}),(0,s.jsx)(D,{children:o&&(0,s.jsx)("div",{children:(0,s.jsxs)("div",{className:"grid grid-cols-2 gap-y-1 text-sm",children:[(0,s.jsx)("div",{className:"text-muted-foreground",children:"Operator:"}),(0,s.jsx)("div",{className:"font-medium",children:o.operator}),(0,s.jsx)("div",{className:"text-muted-foreground",children:"Brand:"}),(0,s.jsx)("div",{className:"font-medium",children:o.brand}),(0,s.jsx)("div",{className:"text-muted-foreground",children:"Country:"}),(0,s.jsx)("div",{className:"font-medium",children:o.countryName}),(0,s.jsx)("div",{className:"text-muted-foreground",children:"MCC-MNC:"}),(0,s.jsxs)("div",{className:"font-medium",children:[o.mcc,"-",o.mnc]}),(0,s.jsx)("div",{className:"text-muted-foreground",children:"SRXLEV:"}),(0,s.jsx)("div",{className:"font-medium",children:d.srxlev})]})})})]})})]})]})},L=e=>{let{scanResult:t,isLoading:a=!1,mccMncList:l=[]}=e,[i,c]=(0,n.useState)("all"),d=(0,n.useCallback)((e,t)=>l.find(a=>a.mcc===e&&a.mnc===t)||null,[l]),o=[{band:1,name:"2100",dlLow:2110,dlHigh:2170,ulLow:1920,ulHigh:1980,earfcnOffset:0,earfcnRange:[0,599],spacing:.1,duplexType:"FDD"},{band:2,name:"1900 PCS",dlLow:1930,dlHigh:1990,ulLow:1850,ulHigh:1910,earfcnOffset:600,earfcnRange:[600,1199],spacing:.1,duplexType:"FDD"},{band:3,name:"1800",dlLow:1805,dlHigh:1880,ulLow:1710,ulHigh:1785,earfcnOffset:1200,earfcnRange:[1200,1949],spacing:.1,duplexType:"FDD"},{band:5,name:"850",dlLow:869,dlHigh:894,ulLow:824,ulHigh:849,earfcnOffset:2400,earfcnRange:[2400,2649],spacing:.1,duplexType:"FDD"},{band:7,name:"2600",dlLow:2620,dlHigh:2690,ulLow:2500,ulHigh:2570,earfcnOffset:2750,earfcnRange:[2750,3449],spacing:.1,duplexType:"FDD"},{band:8,name:"900",dlLow:925,dlHigh:960,ulLow:880,ulHigh:915,earfcnOffset:3450,earfcnRange:[3450,3799],spacing:.1,duplexType:"FDD"},{band:20,name:"800 DD",dlLow:791,dlHigh:821,ulLow:832,ulHigh:862,earfcnOffset:6150,earfcnRange:[6150,6449],spacing:.1,duplexType:"FDD"},{band:28,name:"700 APT",dlLow:758,dlHigh:803,ulLow:703,ulHigh:748,earfcnOffset:9210,earfcnRange:[9210,9659],spacing:.1,duplexType:"FDD"},{band:41,name:"TD 2500",dlLow:2496,dlHigh:2690,ulLow:2496,ulHigh:2690,earfcnOffset:39650,earfcnRange:[39650,41589],spacing:.1,duplexType:"TDD"}],u=[{band:1,name:"2100",dlLow:2110,dlHigh:2170,ulLow:1920,ulHigh:1980,nrarfcnOffset:422e3,nrarfcnRange:[422e3,434e3],duplexType:"FDD"},{band:3,name:"1800",dlLow:1805,dlHigh:1880,ulLow:1710,ulHigh:1785,nrarfcnOffset:361e3,nrarfcnRange:[361e3,376e3],duplexType:"FDD"},{band:5,name:"CLR",dlLow:869,dlHigh:894,ulLow:824,ulHigh:849,nrarfcnOffset:173800,nrarfcnRange:[173800,178800],duplexType:"FDD"},{band:7,name:"2600",dlLow:2620,dlHigh:2690,ulLow:2500,ulHigh:2570,nrarfcnOffset:524e3,nrarfcnRange:[524e3,538e3],duplexType:"FDD"},{band:20,name:"800 DD",dlLow:791,dlHigh:821,ulLow:832,ulHigh:862,nrarfcnOffset:158200,nrarfcnRange:[158200,164200],duplexType:"FDD"},{band:25,name:"Extended PCS",dlLow:1930,dlHigh:1995,ulLow:1850,ulHigh:1915,nrarfcnOffset:386e3,nrarfcnRange:[386e3,399e3],duplexType:"FDD"},{band:28,name:"700 APT",dlLow:758,dlHigh:803,ulLow:703,ulHigh:748,nrarfcnOffset:151600,nrarfcnRange:[151600,160600],duplexType:"FDD"},{band:41,name:"TD 2500",dlLow:2496,dlHigh:2690,ulLow:2496,ulHigh:2690,nrarfcnOffset:499200,nrarfcnRange:[499200,537999],duplexType:"TDD"},{band:66,name:"AWS-3",dlLow:2110,dlHigh:2200,ulLow:1710,ulHigh:1780,nrarfcnOffset:422e3,nrarfcnRange:[422e3,44e4],duplexType:"FDD"},{band:70,name:"AWS-4",dlLow:1995,dlHigh:2020,ulLow:1695,ulHigh:1710,nrarfcnOffset:399001,nrarfcnRange:[399001,404e3],duplexType:"FDD"},{band:71,name:"600MHz",dlLow:617,dlHigh:652,ulLow:663,ulHigh:698,nrarfcnOffset:123400,nrarfcnRange:[123400,130400],duplexType:"FDD"},{band:77,name:"C-Band",dlLow:3300,dlHigh:4200,ulLow:3300,ulHigh:4200,nrarfcnOffset:62e4,nrarfcnRange:[62e4,68e4],duplexType:"TDD"},{band:78,name:"C-Band (3.5GHz)",dlLow:3300,dlHigh:3800,ulLow:3300,ulHigh:3800,nrarfcnOffset:62e4,nrarfcnRange:[62e4,653333],duplexType:"TDD"}],p=(0,n.useCallback)(e=>e?e.split("\n").filter(e=>e.trim().startsWith("+QSCAN:")).map(e=>{let[t,a,s,n,r,l,i,c,...d]=e.substring(e.indexOf(":")+1).trim().split(",").map(e=>e.trim().replace(/\\"/g,"").replace(/"/g,"").replace(/\r/g,"")),o={type:t=t.replace(/\\\\/g,"").replace(/\\/g,"").replace(/"/g,"").trim(),mcc:a,mnc:s,freq:parseInt(n),pci:parseInt(r),rsrp:parseInt(l),rsrq:parseInt(i),srxlev:"-"===c?0:parseInt(c),cellId:"",tac:"",band:0};if("LTE"===t){let[e,t,a,s,n]=d;return{...o,type:"LTE",squal:"-"===e?0:parseInt(e),cellId:t,tac:a,bandwidth:parseInt(s),band:parseInt(n)}}if("NR5G"===t){let[e,t,a,s,n,r,l,i]=d;return{...o,type:"NR5G",cellId:t,tac:a,scs:parseInt(e),carrierBandwidth:parseInt(s),band:parseInt(n),offsetToPointA:parseInt(r),ssbSubcarrierOffset:parseInt(l),ssbScs:"-"===i?0:parseInt(i,10)}}return null}).filter(e=>null!==e):[],[]),f=(0,n.useCallback)(e=>{let t,a;let s=e.freq,n=o.find(t=>s>=t.earfcnRange[0]&&s<=t.earfcnRange[1]&&t.band===e.band);if(!n){let t,a;let n=o.find(t=>t.band===e.band);if(!n)return null;let r=n.dlLow+(s-n.earfcnOffset)%1e3*n.spacing;if("FDD"===n.duplexType){t=s+18e3;let e=n.ulHigh-n.ulLow;a=(n.ulLow+e/2).toFixed(2)}else a=r.toFixed(2);return{band:n.band,bandName:n.name,earfcn:s,dlFrequency:r.toFixed(2),ulFrequency:a,ulEarfcn:t,duplexType:n.duplexType,bandwidth:e.bandwidthMHz}}let r=n.dlLow+(s-n.earfcnOffset)*n.spacing;if("FDD"===n.duplexType){let e=s-n.earfcnOffset;t=s+18e3,a=n.ulLow+e*n.spacing}else a=r;return{band:n.band,bandName:n.name,earfcn:s,dlFrequency:r.toFixed(2),ulFrequency:a.toFixed(2),ulEarfcn:t,duplexType:n.duplexType,bandwidth:e.bandwidthMHz}},[o]),h=(0,n.useCallback)(e=>{let t;let a=e.freq;if(a>=0&&a<=599999)t=0+(a-0)*.005;else if(a>=6e5&&a<=2016666)t=3e3+(a-6e5)*.015;else{if(!(a>=2016667)||!(a<=3279165))return null;t=24250.08+(a-2016667)*.06}let s=u.find(t=>a>=t.nrarfcnRange[0]&&a<=t.nrarfcnRange[1]&&t.band===e.band);if(!s){let s=u.find(t=>t.band===e.band);return s?{band:s.band,bandName:s.name,nrarfcn:a,dlFrequency:t.toFixed(2),ulFrequency:"FDD"===s.duplexType?((s.ulLow+s.ulHigh)/2).toFixed(2):t.toFixed(2),duplexType:s.duplexType,scs:e.scs,channelBandwidth:"".concat(e.carrierBandwidth," RB")}:null}let n="FDD"===s.duplexType?s.ulLow+(t-s.dlLow):t;return{band:s.band,bandName:s.name,nrarfcn:a,dlFrequency:t.toFixed(2),ulFrequency:n.toFixed(2),duplexType:s.duplexType,scs:e.scs,channelBandwidth:"".concat(e.carrierBandwidth," RB")}},[u]),x=(0,n.useMemo)(()=>{if(!(null==t?void 0:t.output))return{lte:[],nr5g:[]};let e=p(t.output),a=[],s=[];e.forEach(e=>{var t,n;let r=d(e.mcc,e.mnc);if("LTE"===e.type){let s=null!==(t=f(e))&&void 0!==t?t:void 0;a.push({...e,frequencyInfo:s,operatorInfo:r})}else if("NR5G"===e.type){let t=null!==(n=h(e))&&void 0!==n?n:void 0;s.push({...e,frequencyInfo:t,operatorInfo:r})}});let n=(e,t)=>{var a,s;let n=(null===(a=e.operatorInfo)||void 0===a?void 0:a.operator)||"",r=(null===(s=t.operatorInfo)||void 0===s?void 0:s.operator)||"";return n.localeCompare(r)};return{lte:a.sort(n),nr5g:s.sort(n)}},[t,p,f,h,d]);if(a)return(0,s.jsxs)(r.Zp,{children:[(0,s.jsxs)(r.aR,{children:[(0,s.jsx)(r.ZB,{children:"Cell Frequency Analysis"}),(0,s.jsx)(r.BT,{children:"Analyzing frequency details for detected cells..."})]}),(0,s.jsx)(r.Wu,{className:"flex items-center justify-center min-h-[300px]",children:(0,s.jsxs)("div",{className:"flex flex-col items-center space-y-4",children:[(0,s.jsx)(m.A,{className:"w-8 h-8 animate-spin text-primary"}),(0,s.jsx)("p",{className:"text-sm text-muted-foreground",children:"Processing frequency information..."})]})})]});if(!t||!t.output)return(0,s.jsxs)(r.Zp,{children:[(0,s.jsxs)(r.aR,{children:[(0,s.jsx)(r.ZB,{children:"Cell Frequency Analysis"}),(0,s.jsx)(r.BT,{children:"Detailed frequency information for detected cells"})]}),(0,s.jsx)(r.Wu,{className:"flex items-center justify-center min-h-[300px]",children:(0,s.jsx)("p",{className:"text-muted-foreground",children:"Run a cell scan to view detailed frequency information"})})]});let g=x.lte.length+x.nr5g.length;return(0,s.jsxs)(r.Zp,{children:[(0,s.jsxs)(r.aR,{children:[(0,s.jsx)(r.ZB,{children:"Cell Frequency Analysis"}),(0,s.jsx)(r.BT,{children:t.timestamp&&(0,s.jsxs)("div",{className:"mt-1 text-sm text-muted-foreground",children:["Analysis based on full cell scan from: ",t.timestamp]})})]}),(0,s.jsx)(r.Wu,{children:(0,s.jsxs)(T.tU,{defaultValue:"all",value:i,onValueChange:e=>c(e),className:"mb-6",children:[(0,s.jsxs)(T.j7,{className:"grid w-full grid-cols-3",children:[(0,s.jsxs)(T.Xi,{value:"all",children:["All Cells (",g,")"]}),(0,s.jsxs)(T.Xi,{value:"lte",children:["LTE (",x.lte.length,")"]}),(0,s.jsxs)(T.Xi,{value:"nr5g",children:["5G NR (",x.nr5g.length,")"]})]}),(0,s.jsx)(T.av,{value:"all",className:"mt-4",children:(0,s.jsx)(v.F,{className:"h-[500px] pr-4",children:0===g?(0,s.jsx)("div",{className:"text-center py-8 text-muted-foreground",children:"No cells detected in the scan"}):(0,s.jsxs)("div",{className:"grid grid-cols-1 gap-4",children:[x.lte.map((e,t)=>(0,s.jsx)(k,{cell:e,operatorInfo:e.operatorInfo},"lte-".concat(e.cellId,"-").concat(t))),x.nr5g.map((e,t)=>(0,s.jsx)(k,{cell:e,operatorInfo:e.operatorInfo},"nr5g-".concat(e.cellId,"-").concat(t)))]})})}),(0,s.jsx)(T.av,{value:"lte",className:"mt-4",children:(0,s.jsx)(v.F,{className:"h-[500px] pr-4",children:0===x.lte.length?(0,s.jsx)("div",{className:"text-center py-8 text-muted-foreground",children:"No LTE cells detected in the scan"}):(0,s.jsx)("div",{className:"grid grid-cols-1 gap-4",children:x.lte.map((e,t)=>(0,s.jsx)(k,{cell:e,operatorInfo:e.operatorInfo},"lte-".concat(e.cellId,"-").concat(t)))})})}),(0,s.jsx)(T.av,{value:"nr5g",className:"mt-4",children:(0,s.jsx)(v.F,{className:"h-[500px] pr-4",children:0===x.nr5g.length?(0,s.jsx)("div",{className:"text-center py-8 text-muted-foreground",children:"No 5G NR cells detected in the scan"}):(0,s.jsx)("div",{className:"grid grid-cols-1 gap-4",children:x.nr5g.map((e,t)=>(0,s.jsx)(k,{cell:e,operatorInfo:e.operatorInfo},"nr5g-".concat(e.cellId,"-").concat(t)))})})})]})}),(0,s.jsx)(r.wL,{className:"border-t p-4 flex justify-between",children:(0,s.jsx)("div",{className:"text-xs text-muted-foreground",children:"Frequency calculation based on 3GPP TS 38.104 and TS 36.101 specifications"})})]})},F=()=>{let{toast:e}=(0,N.dj)(),[t,a]=(0,n.useState)(null),[d,o]=(0,n.useState)(null),[T,C]=(0,n.useState)(0),[I,S]=(0,n.useState)(!1),[R,D]=(0,n.useState)(null),[k,F]=(0,n.useState)([]),[A,P]=(0,n.useState)(null),[E,q]=(0,n.useState)({status:"idle",progress:0,message:""}),[H,M]=(0,n.useState)(0);(0,n.useEffect)(()=>{if(!d){C(0);return}let e=()=>{let t=new Date(d).getTime(),a=Math.max(0,6e4-(new Date().getTime()-t));C(a),a>0&&requestAnimationFrame(e)};e()},[d]);let _=(0,n.useCallback)(async()=>{try{let e=await fetch("/cgi-bin/quecmanager/experimental/cell_scanner/fetch_mccmnc.sh"),t=await e.json();F(t)}catch(t){console.error("Failed to fetch MCC-MNC list:",t),e({title:"Warning",description:"Failed to load operator information",variant:"destructive"})}},[]);(0,n.useEffect)(()=>{_()},[_]);let B=(0,n.useCallback)(async()=>{try{let e=await fetch("/cgi-bin/quecmanager/experimental/quecwatch/fetch-quecwatch.sh"),t=await e.json();D(t)}catch(t){console.error("Failed to fetch Quecwatch status:",t),e({title:"Error",description:"Failed to check Quecwatch status",variant:"destructive"})}},[]),O=(0,n.useCallback)((e,t)=>k.find(a=>a.mcc===e&&a.mnc===t)||null,[k]),z=(0,n.useCallback)(e=>e?e.split("\n").filter(e=>e.trim().startsWith("+QSCAN:")).map(e=>{let[t,a,s,n,r,l,i,c,...d]=e.substring(e.indexOf(":")+1).trim().split(",").map(e=>e.trim().replace(/\\"/g,"").replace(/"/g,"").replace(/\r/g,"")),o={type:t=t.replace(/\\\\/g,"").replace(/\\/g,"").replace(/"/g,"").trim(),mcc:a,mnc:s,freq:parseInt(n),pci:parseInt(r),rsrp:parseInt(l),rsrq:parseInt(i),srxlev:"-"===c?0:parseInt(c),cellId:"",tac:""};if("LTE"===t){let[e,t,a,s,n]=d,r=parseInt(s),l=w.U_[r.toString()]||"".concat(r," RB");return{...o,type:"LTE",squal:"-"===e?0:parseInt(e),cellId:t,tac:a,bandwidth:r,bandwidthMHz:l,band:parseInt(n)}}if("NR5G"===t){let[e,t,a,s,n,r,l,i]=d;return{...o,type:"NR5G",cellId:t,tac:a,scs:parseInt(e),carrierBandwidth:parseInt(s),band:parseInt(n),offsetToPointA:parseInt(r),ssbSubcarrierOffset:parseInt(l),ssbScs:parseInt(i)}}return null}).filter(e=>null!==e):[],[]),U=(0,n.useCallback)(async()=>{try{let e=await fetch("/cgi-bin/quecmanager/experimental/cell_scanner/check_scan.sh",{headers:{"Cache-Control":"no-cache, no-store"}});if(!e.ok)return;let t=await e.json();"success"===t.status&&t.output?(a(t),o(t.timestamp||null)):"running"===t.status&&(q({status:"scanning",progress:50,message:"Scan in progress...",startTime:Date.now()-6e4}),W(),setTimeout(G,2e3))}catch(e){console.error("Failed to check initial scan results",e)}},[]),G=(0,n.useCallback)(async()=>{if(H>60){console.log("Reached maximum polling attempts, waiting for results to appear");return}try{let e=await fetch("/cgi-bin/quecmanager/experimental/cell_scanner/check_scan.sh",{headers:{"Cache-Control":"no-cache, no-store"}});if(!e.ok)throw Error("HTTP error! status: ".concat(e.status));let t=await e.json();if("success"===t.status&&t.output){a(t),o(t.timestamp||null),q({status:"idle",progress:100,message:""}),M(0);return}if("running"===t.status){M(e=>e+1),setTimeout(G,2e3);return}H<30&&(M(e=>e+1),setTimeout(G,2e3))}catch(e){console.error("Failed to check scan status",e),H<60&&(M(e=>e+1),setTimeout(G,3e3))}},[H]),W=(0,n.useCallback)(()=>{let e;e=setInterval(()=>{q(t=>{if("scanning"!==t.status)return clearInterval(e),t;let a=10+88*Math.min((Date.now()-(t.startTime||Date.now()))/12e4,1),s="Scanning available networks... This may take a minute";return a>85?s="Finalizing scan results...":a>50&&(s="Collecting operator data..."),{...t,progress:Math.min(a,98),message:s}})},1e3),setTimeout(()=>{clearInterval(e),q(e=>"scanning"===e.status?{...e,progress:98,message:"Waiting for results..."}:e)},15e4)},[]),Z=(0,n.useCallback)(async()=>{if("scanning"!==E.status&&!I){S(!0),a(null),o(null),M(0),q({status:"scanning",progress:0,message:"Initiating scan...",startTime:Date.now()});try{let e=await fetch("/cgi-bin/quecmanager/experimental/cell_scanner/cell_scan.sh",{headers:{"Cache-Control":"no-cache, no-store"}});if(!e.ok)throw Error("HTTP error! status: ".concat(e.status));let t=await e.json();if("running"===t.status||"success"===t.status)q(e=>({...e,progress:10,message:"Scan in progress..."})),W(),setTimeout(G,2e3);else throw Error(t.message||"Failed to start scan")}catch(t){console.error("Scan error:",t),e({title:"Error",description:t instanceof Error?t.message:"Failed to start cell scan",variant:"destructive"}),q({status:"idle",progress:0,message:""})}finally{S(!1)}}},[E.status,I,G,W]),Q=(0,n.useCallback)(e=>e.reduce((e,t)=>{let a="".concat(t.mcc).concat(t.mnc);if(!e[a]){let s=O(t.mcc,t.mnc);e[a]={cells:[],operatorInfo:s}}return e[a].cells.push(t),e},{}),[O]),$=(0,n.useCallback)(e=>[...e].sort((e,t)=>e.type!==t.type?"LTE"===e.type?-1:1:t.rsrp-e.rsrp),[]),X=(0,n.useCallback)(e=>e>=-65?(0,s.jsx)(j.z_q,{className:"text-xl text-green-500"}):e>=-75?(0,s.jsx)(j.sRp,{className:"text-xl text-green-400"}):e>=-85?(0,s.jsx)(j.ztD,{className:"text-xl text-yellow-500"}):e>=-95?(0,s.jsx)(j.G7Q,{className:"text-xl text-yellow-600"}):(0,s.jsx)(j.NJ4,{className:"text-xl text-red-500"}),[]);(0,n.useEffect)(()=>{U(),B()},[U,B]);let V=(0,n.useCallback)(async()=>{a(null),o(null),q({status:"idle",progress:0,message:""});let t=await fetch("/cgi-bin/quecmanager/experimental/cell_scanner/clear_scan.sh",{headers:{"Cache-Control":"no-cache, no-store"}});if(!t.ok)return;let s=await t.json();"success"!==s.status&&"idle"!==s.status&&e({title:"Error",description:"Failed to remove scan results. Please try again.",variant:"destructive"})},[]),K=(0,n.useCallback)(()=>{if(!(null==t?void 0:t.output))return;let e=new Blob([["Type,MCC,MNC,Frequency,PCI,RSRP,RSRQ,Band,Cell ID,TAC",...z(t.output).map(e=>"".concat(e.type,",").concat(e.mcc,",").concat(e.mnc,",").concat(e.freq,",").concat(e.pci,",").concat(e.rsrp,",").concat(e.rsrq,",").concat(e.band,",").concat(e.cellId,",").concat(e.tac))].join("\n")],{type:"text/csv;charset=utf-8;"}),a=document.createElement("a");a.href=URL.createObjectURL(e),a.setAttribute("download","cell_scan_".concat(new Date().toISOString(),".csv")),document.body.appendChild(a),a.click(),document.body.removeChild(a)},[t,z]),J=(0,n.useCallback)((e,t,a)=>a?"".concat(e).concat(t," - ").concat(a.brand," by ").concat(a.operator):"".concat(e).concat(t),[]),Y=(null==t?void 0:t.status)==="success"&&t.output?Q(z(t.output)):{},ee=(0,n.useCallback)(async()=>{if(!I){S(!0),P(null);try{let e=await fetch("/cgi-bin/quecmanager/experimental/cell_scanner/network_info.sh");if(!e.ok)throw Error("HTTP error! status: ".concat(e.status));let s=await e.json();if(console.log("Neighbor cell data:",s),"success"===s.status&&s.mode){var t,a;(null===(t=s.data)||void 0===t?void 0:t.neighborCells)||(null===(a=s.data)||void 0===a?void 0:a.meas)?P(s):s.raw_data&&P({status:s.status,timestamp:s.timestamp,mode:s.mode,data:{neighborCells:s.raw_data.neighborCells,meas:s.raw_data.meas}})}else P(s)}catch(t){console.error("Failed to fetch neighbor cells",t),e({title:"Error",description:"Failed to scan neighbor cells. Please try again.",variant:"destructive"})}finally{S(!1)}}},[I]),et=(0,n.useCallback)(()=>{P(null)},[]);return(0,s.jsxs)("div",{className:"grid gap-5",children:[(0,s.jsxs)(r.Zp,{children:[(0,s.jsxs)(r.aR,{children:[(0,s.jsx)(r.ZB,{children:"Full Network Cell Scan"}),(0,s.jsxs)(r.BT,{children:["Scan all available network cells, including those from other network providers. Current network mode will affect the results and you may be disconnected during the scan.",d&&(0,s.jsxs)("div",{className:"mt-1 text-sm text-muted-foreground",children:["Last scan: ",d]})]})]}),(0,s.jsx)(r.Wu,{children:(0,s.jsxs)(v.F,{className:"h-96",children:[!t&&"idle"===E.status&&(0,s.jsx)("div",{className:"flex items-center justify-center h-full",children:(0,s.jsx)("p",{className:"text-gray-500 text-center",children:"Click the button below to start scanning the network..."})}),"scanning"===E.status&&(0,s.jsxs)("div",{className:"flex flex-col space-y-2 items-center justify-center h-full w-full",children:[(0,s.jsx)(u,{value:E.progress,className:"w-full"}),(0,s.jsx)("div",{className:"flex items-center justify-center",children:(0,s.jsx)("p",{className:"text-sm text-gray-500 text-center",children:E.message})})]}),(0,s.jsx)("div",{className:"grid gap-4",children:Object.entries(Y).map(e=>{let[t,{cells:a,operatorInfo:n}]=e;return(0,s.jsxs)(r.Zp,{className:"p-4 grid gap-2",children:[(0,s.jsx)("div",{children:(0,s.jsx)(g.E,{children:J(a[0].mcc,a[0].mnc,n)})}),(0,s.jsxs)(l.XI,{children:[(0,s.jsx)(l.A0,{children:(0,s.jsxs)(l.Hj,{children:[(0,s.jsx)(l.nd,{children:"Type"}),(0,s.jsx)(l.nd,{children:"E/ARFCN"}),(0,s.jsx)(l.nd,{children:"PCI"}),(0,s.jsx)(l.nd,{children:"Band"}),(0,s.jsx)(l.nd,{children:"Bandwidth"}),(0,s.jsx)(l.nd,{children:"Cell ID"}),(0,s.jsx)(l.nd,{children:"TAC"}),(0,s.jsx)(l.nd,{children:"Signal"})]})}),(0,s.jsx)(l.BF,{children:$(a).map((e,t)=>(0,s.jsxs)(l.Hj,{children:[(0,s.jsx)(l.nA,{children:e.type}),(0,s.jsx)(l.nA,{children:e.freq}),(0,s.jsx)(l.nA,{children:e.pci}),(0,s.jsx)(l.nA,{children:e.band}),(0,s.jsx)(l.nA,{children:"LTE"===e.type?e.bandwidthMHz:e.carrierBandwidth+"MHz"}),(0,s.jsx)(l.nA,{children:parseInt(e.cellId,16)||"-"}),(0,s.jsx)(l.nA,{children:parseInt(e.tac,16)||"-"}),(0,s.jsx)(l.nA,{children:(0,s.jsx)(i.TooltipProvider,{children:(0,s.jsxs)(i.m_,{children:[(0,s.jsx)(i.k$,{children:X(e.rsrp)}),(0,s.jsx)(i.ZI,{children:(0,s.jsxs)("div",{className:"grid gap-1",children:[(0,s.jsxs)("div",{className:"grid grid-cols-2 gap-1",children:["RSRP"," ",(0,s.jsxs)("span",{className:"font-medium",children:[e.rsrp," dBm"]})]}),(0,s.jsxs)("div",{className:"grid grid-cols-2 gap-1",children:["RSRQ"," ",(0,s.jsxs)("span",{className:"font-medium",children:[e.rsrq," dB"]})]})]})})]})})})]},"".concat(e.cellId,"-").concat(t)))})]})]},t)})})]})}),(0,s.jsx)(r.wL,{className:"border-t py-4",children:(0,s.jsxs)("div",{className:"flex items-center space-x-4",children:[(null==R?void 0:R.status)==="active"?(0,s.jsx)(i.TooltipProvider,{children:(0,s.jsxs)(i.m_,{children:[(0,s.jsx)(i.k$,{children:(0,s.jsx)(c.$,{disabled:!0,children:"scanning"===E.status?(0,s.jsxs)("div",{className:"flex items-center gap-x-2",children:[(0,s.jsx)(m.A,{className:"animate-spin w-4 h-4"}),(0,s.jsx)("span",{children:"Scanning Network..."})]}):t?(0,s.jsxs)("div",{className:"flex items-center space-x-2",children:[(0,s.jsx)(f.A,{className:"w-4 h-4"}),(0,s.jsx)("span",{children:"Run Cell Scan Again"})]}):(0,s.jsxs)("div",{className:"flex items-center space-x-2",children:[(0,s.jsx)(p.A,{className:"w-4 h-4"}),(0,s.jsx)("span",{children:"Start Cell Scan"})]})})}),(0,s.jsx)(i.ZI,{children:"Please disable Quecwatch first before proceeding."})]})}):(0,s.jsx)(i.TooltipProvider,{children:(0,s.jsxs)(i.m_,{children:[(0,s.jsx)(i.k$,{asChild:!0,children:(0,s.jsx)(c.$,{onClick:Z,disabled:"scanning"===E.status||I||T>0,children:"scanning"===E.status?(0,s.jsxs)("div",{className:"flex items-center gap-x-2",children:[(0,s.jsx)(m.A,{className:"animate-spin w-4 h-4"}),(0,s.jsx)("span",{children:"Scanning Network..."})]}):t?(0,s.jsxs)("div",{className:"flex items-center space-x-2",children:[(0,s.jsx)(f.A,{className:"w-4 h-4"}),(0,s.jsx)("span",{children:"Run Cell Scan Again"})]}):(0,s.jsxs)("div",{className:"flex items-center space-x-2",children:[(0,s.jsx)(p.A,{className:"w-4 h-4"}),(0,s.jsx)("span",{children:"Start Cell Scan"})]})})}),(0,s.jsx)(i.ZI,{children:T>0?(0,s.jsxs)("span",{children:["Please wait ",Math.ceil(T/1e3)," ","seconds before scanning again"]}):(0,s.jsx)("span",{children:"Start a new network scan"})})]})}),(null==t?void 0:t.status)==="success"&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)(c.$,{variant:"secondary",onClick:K,disabled:"scanning"===E.status,children:[(0,s.jsx)(h.A,{className:"w-4 h-4 mr-2"}),"Export to CSV"]}),(0,s.jsxs)(c.$,{variant:"destructive",onClick:V,disabled:"scanning"===E.status,children:[(0,s.jsx)(x.A,{className:"w-4 h-4 mr-2"}),"Clear Results"]})]})]})})]}),(0,s.jsxs)(r.Zp,{children:[(0,s.jsxs)(r.aR,{children:[(0,s.jsx)(r.ZB,{children:"Neighbor Cell Scan"}),(0,s.jsxs)(r.BT,{children:["Scan neighbor cells of the current network provider. This provides detailed information about cells in your immediate vicinity that your device can connect to.",(null==A?void 0:A.timestamp)&&(0,s.jsxs)("div",{className:"mt-1 text-sm text-muted-foreground",children:["Last scan: ",A.timestamp]})]})]}),(0,s.jsx)(r.Wu,{children:(0,s.jsx)(b,{neighborCells:A})}),(0,s.jsx)(r.wL,{className:"border-t py-4",children:(0,s.jsxs)("div",{className:"flex items-center space-x-4",children:[(0,s.jsx)(c.$,{onClick:ee,disabled:I,children:I?(0,s.jsxs)("div",{className:"flex items-center gap-x-2",children:[(0,s.jsx)(m.A,{className:"animate-spin w-4 h-4"}),(0,s.jsx)("span",{children:"Scanning..."})]}):(0,s.jsxs)("div",{className:"flex items-center space-x-2",children:[(0,s.jsx)(y.$p$,{className:"w-4 h-4"}),(0,s.jsx)("span",{children:"Start Neighbor Scan"})]})}),(null==A?void 0:A.status)==="success"&&(0,s.jsxs)(c.$,{variant:"destructive",onClick:et,disabled:I,children:[(0,s.jsx)(x.A,{className:"w-4 h-4 mr-2"}),"Clear Results"]})]})})]}),(0,s.jsx)(L,{scanResult:t,isLoading:"scanning"===E.status,mccMncList:k})]})}},45934:(e,t,a)=>{"use strict";a.d(t,{E:()=>i});var s=a(20475);a(20107);var n=a(29395),r=a(22250);let l=(0,n.F)("inline-flex items-center rounded-md border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground shadow hover:bg-primary/80",secondary:"border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80",destructive:"border-transparent bg-destructive text-destructive-foreground shadow hover:bg-destructive/80",outline:"text-foreground"}},defaultVariants:{variant:"default"}});function i(e){let{className:t,variant:a,...n}=e;return(0,s.jsx)("div",{className:(0,r.cn)(l({variant:a}),t),...n})}},42541:(e,t,a)=>{"use strict";a.d(t,{$:()=>d,r:()=>c});var s=a(20475),n=a(20107),r=a(61837),l=a(29395),i=a(22250);let c=(0,l.F)("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{variants:{variant:{default:"bg-primary text-primary-foreground shadow hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90",outline:"border border-input bg-background shadow-sm hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2",sm:"h-8 rounded-md px-3 text-xs",lg:"h-10 rounded-md px-8",icon:"h-9 w-9"}},defaultVariants:{variant:"default",size:"default"}}),d=n.forwardRef((e,t)=>{let{className:a,variant:n,size:l,asChild:d=!1,...o}=e,u=d?r.DX:"button";return(0,s.jsx)(u,{className:(0,i.cn)(c({variant:n,size:l,className:a})),ref:t,...o})});d.displayName="Button"},72167:(e,t,a)=>{"use strict";a.d(t,{BT:()=>d,Wu:()=>o,ZB:()=>c,Zp:()=>l,aR:()=>i,wL:()=>u});var s=a(20475),n=a(20107),r=a(22250);let l=n.forwardRef((e,t)=>{let{className:a,...n}=e;return(0,s.jsx)("div",{ref:t,className:(0,r.cn)("rounded-xl border bg-card text-card-foreground shadow",a),...n})});l.displayName="Card";let i=n.forwardRef((e,t)=>{let{className:a,...n}=e;return(0,s.jsx)("div",{ref:t,className:(0,r.cn)("flex flex-col space-y-1.5 p-6",a),...n})});i.displayName="CardHeader";let c=n.forwardRef((e,t)=>{let{className:a,...n}=e;return(0,s.jsx)("h3",{ref:t,className:(0,r.cn)("font-semibold leading-none tracking-tight",a),...n})});c.displayName="CardTitle";let d=n.forwardRef((e,t)=>{let{className:a,...n}=e;return(0,s.jsx)("p",{ref:t,className:(0,r.cn)("text-sm text-muted-foreground",a),...n})});d.displayName="CardDescription";let o=n.forwardRef((e,t)=>{let{className:a,...n}=e;return(0,s.jsx)("div",{ref:t,className:(0,r.cn)("p-6 pt-0",a),...n})});o.displayName="CardContent";let u=n.forwardRef((e,t)=>{let{className:a,...n}=e;return(0,s.jsx)("div",{ref:t,className:(0,r.cn)("flex items-center p-6 pt-0",a),...n})});u.displayName="CardFooter"},36824:(e,t,a)=>{"use strict";a.d(t,{$:()=>c,F:()=>i});var s=a(20475),n=a(20107),r=a(89679),l=a(22250);let i=n.forwardRef((e,t)=>{let{className:a,children:n,...i}=e;return(0,s.jsxs)(r.bL,{ref:t,className:(0,l.cn)("relative overflow-hidden",a),...i,children:[(0,s.jsx)(r.LM,{className:"h-full w-full rounded-[inherit]",children:n}),(0,s.jsx)(c,{}),(0,s.jsx)(r.OK,{})]})});i.displayName=r.bL.displayName;let c=n.forwardRef((e,t)=>{let{className:a,orientation:n="vertical",...i}=e;return(0,s.jsx)(r.VM,{ref:t,orientation:n,className:(0,l.cn)("flex touch-none select-none transition-colors","vertical"===n&&"h-full w-2.5 border-l border-l-transparent p-[1px]","horizontal"===n&&"h-2.5 flex-col border-t border-t-transparent p-[1px]",a),...i,children:(0,s.jsx)(r.lr,{className:"relative flex-1 rounded-full bg-border"})})});c.displayName=r.VM.displayName},51303:(e,t,a)=>{"use strict";a.d(t,{A0:()=>i,BF:()=>c,Hj:()=>d,XI:()=>l,nA:()=>u,nd:()=>o,r6:()=>m});var s=a(20475),n=a(20107),r=a(22250);let l=n.forwardRef((e,t)=>{let{className:a,...n}=e;return(0,s.jsx)("div",{className:"relative w-full overflow-auto",children:(0,s.jsx)("table",{ref:t,className:(0,r.cn)("w-full caption-bottom text-sm",a),...n})})});l.displayName="Table";let i=n.forwardRef((e,t)=>{let{className:a,...n}=e;return(0,s.jsx)("thead",{ref:t,className:(0,r.cn)("[&_tr]:border-b",a),...n})});i.displayName="TableHeader";let c=n.forwardRef((e,t)=>{let{className:a,...n}=e;return(0,s.jsx)("tbody",{ref:t,className:(0,r.cn)("[&_tr:last-child]:border-0",a),...n})});c.displayName="TableBody",n.forwardRef((e,t)=>{let{className:a,...n}=e;return(0,s.jsx)("tfoot",{ref:t,className:(0,r.cn)("border-t bg-muted/50 font-medium [&>tr]:last:border-b-0",a),...n})}).displayName="TableFooter";let d=n.forwardRef((e,t)=>{let{className:a,...n}=e;return(0,s.jsx)("tr",{ref:t,className:(0,r.cn)("border-b transition-colors hover:bg-muted/50 data-[state=selected]:bg-muted",a),...n})});d.displayName="TableRow";let o=n.forwardRef((e,t)=>{let{className:a,...n}=e;return(0,s.jsx)("th",{ref:t,className:(0,r.cn)("h-10 px-2 text-left align-middle font-medium text-muted-foreground [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]",a),...n})});o.displayName="TableHead";let u=n.forwardRef((e,t)=>{let{className:a,...n}=e;return(0,s.jsx)("td",{ref:t,className:(0,r.cn)("p-2 align-middle [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]",a),...n})});u.displayName="TableCell";let m=n.forwardRef((e,t)=>{let{className:a,...n}=e;return(0,s.jsx)("caption",{ref:t,className:(0,r.cn)("mt-4 text-sm text-muted-foreground",a),...n})});m.displayName="TableCaption"},37921:(e,t,a)=>{"use strict";a.d(t,{Xi:()=>d,av:()=>o,j7:()=>c,tU:()=>i});var s=a(20475),n=a(20107),r=a(93677),l=a(22250);let i=r.bL,c=n.forwardRef((e,t)=>{let{className:a,...n}=e;return(0,s.jsx)(r.B8,{ref:t,className:(0,l.cn)("inline-flex h-9 items-center justify-center rounded-lg bg-muted p-1 text-muted-foreground",a),...n})});c.displayName=r.B8.displayName;let d=n.forwardRef((e,t)=>{let{className:a,...n}=e;return(0,s.jsx)(r.l9,{ref:t,className:(0,l.cn)("inline-flex items-center justify-center whitespace-nowrap rounded-md px-3 py-1 text-sm font-medium ring-offset-background transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:bg-background data-[state=active]:text-foreground data-[state=active]:shadow",a),...n})});d.displayName=r.l9.displayName;let o=n.forwardRef((e,t)=>{let{className:a,...n}=e;return(0,s.jsx)(r.UC,{ref:t,className:(0,l.cn)("mt-2 ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",a),...n})});o.displayName=r.UC.displayName},85014:(e,t,a)=>{"use strict";a.d(t,{TooltipProvider:()=>i,ZI:()=>o,k$:()=>d,m_:()=>c});var s=a(20475),n=a(20107),r=a(43048),l=a(22250);let i=r.Kq,c=r.bL,d=r.l9,o=n.forwardRef((e,t)=>{let{className:a,sideOffset:n=4,...i}=e;return(0,s.jsx)(r.UC,{ref:t,sideOffset:n,className:(0,l.cn)("z-50 overflow-hidden rounded-md bg-primary px-3 py-1.5 text-xs text-primary-foreground animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",a),...i})});o.displayName=r.UC.displayName},32857:(e,t,a)=>{"use strict";a.d(t,{dj:()=>m,oR:()=>u});var s=a(20107);let n=0,r=new Map,l=e=>{if(r.has(e))return;let t=setTimeout(()=>{r.delete(e),o({type:"REMOVE_TOAST",toastId:e})},1e6);r.set(e,t)},i=(e,t)=>{switch(t.type){case"ADD_TOAST":return{...e,toasts:[t.toast,...e.toasts].slice(0,1)};case"UPDATE_TOAST":return{...e,toasts:e.toasts.map(e=>e.id===t.toast.id?{...e,...t.toast}:e)};case"DISMISS_TOAST":{let{toastId:a}=t;return a?l(a):e.toasts.forEach(e=>{l(e.id)}),{...e,toasts:e.toasts.map(e=>e.id===a||void 0===a?{...e,open:!1}:e)}}case"REMOVE_TOAST":if(void 0===t.toastId)return{...e,toasts:[]};return{...e,toasts:e.toasts.filter(e=>e.id!==t.toastId)}}},c=[],d={toasts:[]};function o(e){d=i(d,e),c.forEach(e=>{e(d)})}function u(e){let{...t}=e,a=(n=(n+1)%Number.MAX_SAFE_INTEGER).toString(),s=()=>o({type:"DISMISS_TOAST",toastId:a});return o({type:"ADD_TOAST",toast:{...t,id:a,open:!0,onOpenChange:e=>{e||s()}}}),{id:a,dismiss:s,update:e=>o({type:"UPDATE_TOAST",toast:{...e,id:a}})}}function m(){let[e,t]=s.useState(d);return s.useEffect(()=>(c.push(t),()=>{let e=c.indexOf(t);e>-1&&c.splice(e,1)}),[e]),{...e,toast:u,dismiss:e=>o({type:"DISMISS_TOAST",toastId:e})}}},22250:(e,t,a)=>{"use strict";a.d(t,{cn:()=>r});var s=a(64901),n=a(868);function r(){for(var e=arguments.length,t=Array(e),a=0;a{"use strict";a.d(t,{QI:()=>l,U_:()=>s,ZK:()=>n,jq:()=>r});let s={6:"1.4 MHz",15:"3 MHz",25:"5 MHz",50:"10 MHz",75:"15 MHz",100:"20 MHz","-":"-"},n={0:"No cause",2:"IMSI unknown in HSS",3:"Illegal UE",5:"IMEI not accepted",6:"Illegal ME",7:"EPS services not allowed",8:"EPS services and non-EPS services not allowed",9:"UE identity cannot be derived by the network",10:"Implicitly detached",11:"PLMN not allowed",12:"Tracking Area not allowed",13:"Roaming not allowed in this tracking area",14:"EPS services not allowed in this PLMN",15:"No Suitable Cells in tracking area",16:"MSC temporarily not reachable",17:"Network failure",18:"CS domain not available",19:"ESM failure",20:"MAC failure",21:"Synch failure",22:"Congestion",23:"UE security capabilities mismatch",24:"Security mode rejected, unspecified",25:"Not authorized for this CSG",26:"Non-EPS authentication unacceptable",31:"Redirection to 5GCN required",35:"Requested service option not authorized in this PLMN",39:"CS service temporarily not available",40:"No EPS bearer context activated",42:"Severe network failure",95:"Semantically incorrect message",96:"Invalid mandatory information",97:"Message type non-existent or not implemented",98:"Message type not compatible with the protocol state",99:"Information element non-existent or not implemented",100:"Conditional IE error",101:"Message not compatible with the protocol state",111:"Protocol error, unspecified"},r={0:"No cause",8:"Operator Determined Barring",26:"Insufficient resources",27:"Missing or unknown APN",28:"Unknown PDN type",29:"User authentication failed",30:"Request rejected by Serving GW or PDN GW",31:"Request rejected, unspecified",32:"Service option not supported",33:"Requested service option not subscribed",34:"Service option temporarily out of order",35:"PTI already in use",36:"Regular deactivation",37:"EPS QoS not accepted",38:"Network failure",39:"Reactivation requested",41:"Semantic error in the TFT operation",42:"Syntactical error in the TFT operation",43:"Invalid EPS bearer identity",44:"Semantic errors in packet filter(s)",45:"Syntactical errors in packet filter(s)",46:"Unused (see NOTE 2)",47:"PTI mismatch",49:"Last PDN disconnection not allowed",50:"PDN type IPv4 only allowed",51:"PDN type IPv6 only allowed",52:"Single address bearers only allowed",53:"ESM information not received",54:"PDN connection does not exist",55:"Multiple PDN connections for a given APN not allowed",56:"Collision with network initiated request",57:"PDN type IPv4v6 only allowed",58:"PDN type non IP only allowed",59:"Unsupported QCI value",60:"Bearer handling not supported",61:"PDN type Ethernet only allowed",65:"Maximum number of EPS bearers reached",66:"Requested APN not supported in current RAT and PLMN combination",81:"Invalid PTI value",95:"Semantically incorrect message",96:"Invalid mandatory information",97:"Message type non-existent or not implemented",98:"Message type not compatible with the protocol state",99:"Information element non-existent or not implemented",100:"Conditional IE error",101:"Message not compatible with the protocol state",111:"Protocol error, unspecified",112:"APN restriction value incompatible with active EPS bearer context",113:"Multiple accesses to a PDN connection not allowed"},l={0:"No cause",3:"Illegal UE",5:"PEI not accepted",6:"Illegal ME",7:"5GS services not allowed",9:"UE identity cannot be derived by the network",10:"Implicitly de-registered",11:"PLMN not allowed",12:"Tracking area not allowed",13:"Roaming not allowed in this tracking area",15:"No suitable cells in tracking area",20:"MAC failure",21:"Synch failure",22:"Congestion",23:"UE security capabilities mismatch",24:"Security mode rejected, unspecified",26:"Non-5G authentication unacceptable",27:"N1 mode not allowed",28:"Restricted service area",31:"Redirection to EPC required",43:"LADN not available",62:"No network slices available",65:"Maximum number of PDU sessions reached",67:"Insufficient resources for specific slice and DNN",69:"Insufficient resources for specific slice",71:"ngKSI already in use",72:"Non-3GPP access to 5GCN not allowed",73:"Serving network not authorized",74:"Temporarily not authorized for this SNPN",75:"Permanently not authorized for this SNPN",76:"Not authorized for this CAG or authorized for CAG cells only",77:"Wireline access area not allowed",78:"PLMN not allowed to operate at the present UE location",79:"UAS services not allowed",90:"Payload was not forwarded",91:"DNN not supported or not subscribed in the slice",92:"Insufficient user-plane resources for the PDU session",95:"Semantically incorrect message",96:"Invalid mandatory information",97:"Message type non-existent or not implemented",98:"Message type not compatible with the protocol state",99:"Information element non-existent or not implemented",100:"Conditional IE error",101:"Message not compatible with the protocol state",111:"Protocol error, unspecified"}}},e=>{var t=t=>e(e.s=t);e.O(0,[9980,2101,7780,8885,3746,3048,9679,3095,3453,2908,191,6035,7358],()=>t(23357)),_N_E=e.O()}]); \ No newline at end of file diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/custom-features/frequency-calculator/page-b5121ca09bdae69d.js b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/custom-features/frequency-calculator/page-48ab40a8390ddc8a.js similarity index 99% rename from ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/custom-features/frequency-calculator/page-b5121ca09bdae69d.js rename to ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/custom-features/frequency-calculator/page-48ab40a8390ddc8a.js index 25eb0c4..5e2a91c 100644 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/custom-features/frequency-calculator/page-b5121ca09bdae69d.js +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/custom-features/frequency-calculator/page-48ab40a8390ddc8a.js @@ -1 +1 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6617],{62227:(e,a,n)=>{Promise.resolve().then(n.bind(n,42503))},42503:(e,a,n)=>{"use strict";n.r(a),n.d(a,{default:()=>g});var l=n(20475),r=n(20107),s=n(72167),d=n(64219),t=n(42541),i=n(49153),o=n(37921),c=n(51873),f=n(58212);let u=e=>{if(window.localStorage)try{let a=localStorage.getItem(e);console.log("LocalStorage value for ".concat(e,":"),a?JSON.parse(a):"null")}catch(e){console.error("Error reading from localStorage:",e)}else console.log("localStorage not available")},g=()=>{let[e,a]=(0,r.useState)(""),[n,g]=(0,r.useState)(null),[m,p]=(0,r.useState)(""),[h,x]=(0,r.useState)("auto"),[y,w]=(0,r.useState)([]),b=[{band:1,name:"2100",dlLow:2110,dlHigh:2170,ulLow:1920,ulHigh:1980,earfcnOffset:0,earfcnRange:[0,599],spacing:.1,duplexType:"FDD"},{band:2,name:"1900 PCS",dlLow:1930,dlHigh:1990,ulLow:1850,ulHigh:1910,earfcnOffset:600,earfcnRange:[600,1199],spacing:.1,duplexType:"FDD"},{band:3,name:"1800",dlLow:1805,dlHigh:1880,ulLow:1710,ulHigh:1785,earfcnOffset:1200,earfcnRange:[1200,1949],spacing:.1,duplexType:"FDD"},{band:4,name:"AWS-1",dlLow:2110,dlHigh:2155,ulLow:1710,ulHigh:1755,earfcnOffset:1950,earfcnRange:[1950,2399],spacing:.1,duplexType:"FDD"},{band:5,name:"850",dlLow:869,dlHigh:894,ulLow:824,ulHigh:849,earfcnOffset:2400,earfcnRange:[2400,2649],spacing:.1,duplexType:"FDD"},{band:7,name:"2600",dlLow:2620,dlHigh:2690,ulLow:2500,ulHigh:2570,earfcnOffset:2750,earfcnRange:[2750,3449],spacing:.1,duplexType:"FDD"},{band:8,name:"900",dlLow:925,dlHigh:960,ulLow:880,ulHigh:915,earfcnOffset:3450,earfcnRange:[3450,3799],spacing:.1,duplexType:"FDD"},{band:12,name:"700 a",dlLow:729,dlHigh:746,ulLow:699,ulHigh:716,earfcnOffset:5010,earfcnRange:[5010,5179],spacing:.1,duplexType:"FDD"},{band:13,name:"700 c",dlLow:746,dlHigh:756,ulLow:777,ulHigh:787,earfcnOffset:5180,earfcnRange:[5180,5279],spacing:.1,duplexType:"FDD"},{band:14,name:"700 PS",dlLow:758,dlHigh:768,ulLow:788,ulHigh:798,earfcnOffset:5280,earfcnRange:[5280,5379],spacing:.1,duplexType:"FDD"},{band:17,name:"700 b",dlLow:734,dlHigh:746,ulLow:704,ulHigh:716,earfcnOffset:5730,earfcnRange:[5730,5849],spacing:.1,duplexType:"FDD"},{band:20,name:"800 DD",dlLow:791,dlHigh:821,ulLow:832,ulHigh:862,earfcnOffset:6150,earfcnRange:[6150,6449],spacing:.1,duplexType:"FDD"},{band:25,name:"1900+",dlLow:1930,dlHigh:1995,ulLow:1850,ulHigh:1915,earfcnOffset:8040,earfcnRange:[8040,8689],spacing:.1,duplexType:"FDD"},{band:26,name:"850+",dlLow:859,dlHigh:894,ulLow:814,ulHigh:849,earfcnOffset:8690,earfcnRange:[8690,9039],spacing:.1,duplexType:"FDD"},{band:28,name:"700 APT",dlLow:758,dlHigh:803,ulLow:703,ulHigh:748,earfcnOffset:9210,earfcnRange:[9210,9659],spacing:.1,duplexType:"FDD"},{band:66,name:"AWS-3",dlLow:2110,dlHigh:2200,ulLow:1710,ulHigh:1780,earfcnOffset:66436,earfcnRange:[66436,67335],spacing:.1,duplexType:"FDD"},{band:71,name:"600",dlLow:617,dlHigh:652,ulLow:663,ulHigh:698,earfcnOffset:68586,earfcnRange:[68586,68935],spacing:.1,duplexType:"FDD"},{band:38,name:"TD 2600",dlLow:2570,dlHigh:2620,ulLow:2570,ulHigh:2620,earfcnOffset:37750,earfcnRange:[37750,38249],spacing:.1,duplexType:"TDD"},{band:40,name:"TD 2300",dlLow:2300,dlHigh:2400,ulLow:2300,ulHigh:2400,earfcnOffset:38650,earfcnRange:[38650,39649],spacing:.1,duplexType:"TDD"},{band:41,name:"TD 2500",dlLow:2496,dlHigh:2690,ulLow:2496,ulHigh:2690,earfcnOffset:39650,earfcnRange:[39650,41589],spacing:.1,duplexType:"TDD"},{band:48,name:"CBRS",dlLow:3550,dlHigh:3700,ulLow:3550,ulHigh:3700,earfcnOffset:55240,earfcnRange:[55240,56739],spacing:.1,duplexType:"TDD"}],D=[{band:5,name:"850",dlLow:869,dlHigh:894,ulLow:824,ulHigh:849,nrarfcnOffset:173800,nrarfcnRange:[173800,178800],duplexType:"FDD"},{band:8,name:"900",dlLow:925,dlHigh:960,ulLow:880,ulHigh:915,nrarfcnOffset:185e3,nrarfcnRange:[185e3,192e3],duplexType:"FDD"},{band:12,name:"700 a",dlLow:729,dlHigh:746,ulLow:699,ulHigh:716,nrarfcnOffset:145800,nrarfcnRange:[145800,149200],duplexType:"FDD"},{band:14,name:"700 PS",dlLow:758,dlHigh:768,ulLow:788,ulHigh:798,nrarfcnOffset:151600,nrarfcnRange:[151600,153600],duplexType:"FDD"},{band:20,name:"800 DD",dlLow:791,dlHigh:821,ulLow:832,ulHigh:862,nrarfcnOffset:158200,nrarfcnRange:[158200,164200],duplexType:"FDD"},{band:28,name:"700 APT",dlLow:758,dlHigh:803,ulLow:703,ulHigh:748,nrarfcnOffset:151600,nrarfcnRange:[151600,160600],duplexType:"FDD"},{band:71,name:"600",dlLow:617,dlHigh:652,ulLow:663,ulHigh:698,nrarfcnOffset:123400,nrarfcnRange:[123400,130400],duplexType:"FDD"},{band:1,name:"2100",dlLow:2110,dlHigh:2170,ulLow:1920,ulHigh:1980,nrarfcnOffset:422e3,nrarfcnRange:[422e3,434e3],duplexType:"FDD"},{band:2,name:"1900 PCS",dlLow:1930,dlHigh:1990,ulLow:1850,ulHigh:1910,nrarfcnOffset:386e3,nrarfcnRange:[386e3,398e3],duplexType:"FDD"},{band:3,name:"1800",dlLow:1805,dlHigh:1880,ulLow:1710,ulHigh:1785,nrarfcnOffset:361e3,nrarfcnRange:[361e3,376e3],duplexType:"FDD"},{band:7,name:"2600",dlLow:2620,dlHigh:2690,ulLow:2500,ulHigh:2570,nrarfcnOffset:524e3,nrarfcnRange:[524e3,538e3],duplexType:"FDD"},{band:25,name:"1900+",dlLow:1930,dlHigh:1995,ulLow:1850,ulHigh:1915,nrarfcnOffset:386e3,nrarfcnRange:[386e3,399e3],duplexType:"FDD"},{band:66,name:"AWS-3",dlLow:2110,dlHigh:2200,ulLow:1710,ulHigh:1780,nrarfcnOffset:422e3,nrarfcnRange:[422e3,44e4],duplexType:"FDD"},{band:70,name:"AWS-4",dlLow:1995,dlHigh:2020,ulLow:1695,ulHigh:1710,nrarfcnOffset:399e3,nrarfcnRange:[399e3,404e3],duplexType:"FDD"},{band:34,name:"2000 TDD",dlLow:2010,dlHigh:2025,ulLow:2010,ulHigh:2025,nrarfcnOffset:402e3,nrarfcnRange:[402e3,405e3],duplexType:"TDD"},{band:38,name:"TD 2600",dlLow:2570,dlHigh:2620,ulLow:2570,ulHigh:2620,nrarfcnOffset:514e3,nrarfcnRange:[514e3,524e3],duplexType:"TDD"},{band:39,name:"IMT 1900 TDD",dlLow:1880,dlHigh:1920,ulLow:1880,ulHigh:1920,nrarfcnOffset:376e3,nrarfcnRange:[376e3,384e3],duplexType:"TDD"},{band:40,name:"TD 2300",dlLow:2300,dlHigh:2400,ulLow:2300,ulHigh:2400,nrarfcnOffset:46e4,nrarfcnRange:[46e4,48e4],duplexType:"TDD"},{band:41,name:"TD 2500",dlLow:2496,dlHigh:2690,ulLow:2496,ulHigh:2690,nrarfcnOffset:499200,nrarfcnRange:[499200,537999],duplexType:"TDD"},{band:48,name:"CBRS",dlLow:3550,dlHigh:3700,ulLow:3550,ulHigh:3700,nrarfcnOffset:636667,nrarfcnRange:[636667,646666],duplexType:"TDD"},{band:77,name:"C-Band",dlLow:3300,dlHigh:4200,ulLow:3300,ulHigh:4200,nrarfcnOffset:62e4,nrarfcnRange:[62e4,68e4],duplexType:"TDD"},{band:78,name:"C-Band (3.5GHz)",dlLow:3300,dlHigh:3800,ulLow:3300,ulHigh:3800,nrarfcnOffset:62e4,nrarfcnRange:[62e4,653333],duplexType:"TDD"},{band:79,name:"4.5GHz",dlLow:4400,dlHigh:5e3,ulLow:4400,ulHigh:5e3,nrarfcnOffset:693334,nrarfcnRange:[693334,733333],duplexType:"TDD"},{band:90,name:"TD 2600",dlLow:2496,dlHigh:2690,ulLow:2496,ulHigh:2690,nrarfcnOffset:499200,nrarfcnRange:[499200,538e3],duplexType:"TDD"},{band:257,name:"28 GHz",dlLow:26500,dlHigh:29500,ulLow:26500,ulHigh:29500,nrarfcnOffset:2054166,nrarfcnRange:[2054166,2104165],duplexType:"TDD"},{band:258,name:"26 GHz",dlLow:24250,dlHigh:27500,ulLow:24250,ulHigh:27500,nrarfcnOffset:2016667,nrarfcnRange:[2016667,2070832],duplexType:"TDD"},{band:259,name:"41 GHz",dlLow:39500,dlHigh:43500,ulLow:39500,ulHigh:43500,nrarfcnOffset:2270832,nrarfcnRange:[2270832,2337499],duplexType:"TDD"},{band:260,name:"39 GHz",dlLow:37e3,dlHigh:4e4,ulLow:37e3,ulHigh:4e4,nrarfcnOffset:2229166,nrarfcnRange:[2229166,2279165],duplexType:"TDD"},{band:261,name:"28 GHz",dlLow:27500,dlHigh:28350,ulLow:27500,ulHigh:28350,nrarfcnOffset:2070833,nrarfcnRange:[2070833,2084999],duplexType:"TDD"}],H=e=>{let a=[];for(let n of b)if(e>=n.earfcnRange[0]&&e<=n.earfcnRange[1]){let l,r;let s=n.dlLow+(e-n.earfcnOffset)*n.spacing;if("FDD"===n.duplexType){let a=e-n.earfcnOffset;l=e+18e3,r=n.ulLow+a*n.spacing}else l=e,r=s;a.push({...n,dlFrequency:s.toFixed(2),ulFrequency:r.toFixed(2),ulEarfcn:l})}return 0===a.length?null:{networkType:"LTE",earfcn:e,frequency:a[0].dlFrequency,possibleBands:a}},N=e=>{let a;if(e>=0&&e<=599999)a=0+(e-0)*.005;else if(e>=6e5&&e<=2016666)a=3e3+(e-6e5)*.015;else{if(!(e>=2016667)||!(e<=3279165))return null;a=24250.08+(e-2016667)*.06}let n=[];for(let a of D)e>=a.nrarfcnRange[0]&&e<=a.nrarfcnRange[1]&&n.push(a);return 0===n.length?null:{networkType:"NR",earfcn:e,frequency:a.toFixed(2),possibleBands:n}},L=function(e){let a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=parseInt(e);return isNaN(n)?{error:"Please enter a valid number"}:"lte"===a||null===a&&n>=0&&n<=68935?H(n):"nr"===a||null===a&&n>=123400?N(n):null};(0,r.useEffect)(()=>{if(window.localStorage)try{let e=localStorage.getItem("earfcnHistory");if(u("earfcnHistory"),e)try{let a=JSON.parse(e);console.log("Parsed history:",a),w(a)}catch(e){console.error("Error parsing history JSON:",e),w([])}}catch(e){console.error("Error accessing localStorage:",e),w([])}},[]),(0,r.useEffect)(()=>{if(console.log("History changed, saving to localStorage:",y),window.localStorage)try{if(y.length>0){let e=JSON.stringify(y);console.log("Serialized history:",e),localStorage.setItem("earfcnHistory",e)}else localStorage.removeItem("earfcnHistory");u("earfcnHistory")}catch(e){console.error("Error saving history to localStorage:",e)}},[y]);let v=e=>{w(a=>a.filter(a=>a.id!==e))};return(0,l.jsxs)(s.Zp,{className:"w-full",children:[(0,l.jsxs)(s.aR,{children:[(0,l.jsx)(s.ZB,{children:"E/ARFCN Calculator"}),(0,l.jsx)(s.BT,{children:"Calculate frequency information from E/ARFCN for LTE and NR-ARFCN for 5G"})]}),(0,l.jsxs)(s.Wu,{children:[(0,l.jsx)(o.tU,{defaultValue:"auto",value:h,onValueChange:e=>x(e),className:"mb-6",children:(0,l.jsxs)(o.j7,{className:"grid w-full grid-cols-3",children:[(0,l.jsx)(o.Xi,{value:"auto",children:"Auto-Detect"}),(0,l.jsx)(o.Xi,{value:"lte",children:"LTE (4G)"}),(0,l.jsx)(o.Xi,{value:"nr",children:"NR (5G)"})]})}),(0,l.jsxs)("div",{className:"flex space-x-4 mb-6",children:[(0,l.jsxs)("div",{className:"flex-1",children:[(0,l.jsx)(i.J,{htmlFor:"earfcn",className:"mb-2 block",children:"lte"===h?"E-ARFCN":"nr"===h?"NR-ARFCN":"E/ARFCN Value"}),(0,l.jsx)(d.p,{id:"earfcn",type:"number",placeholder:"Enter channel number",value:e,onChange:e=>a(e.target.value),className:"w-full"})]}),(0,l.jsx)("div",{className:"flex items-end",children:(0,l.jsx)(t.$,{onClick:()=>{if(!e){p("Please enter an E/ARFCN value"),g(null);return}try{let a=L(e,"auto"===h?null:h);if(!a||"error"in a)a&&"error"in a?p(a.error):p("Could not identify band for this E/ARFCN value"),g(null);else{g(a),p("");let e={...a,timestamp:new Date().toISOString(),id:Date.now().toString()};w(a=>[e,...a.slice(0,9)])}}catch(a){let e=a instanceof Error?a.message:"Unknown error";console.error("Calculation error:",a),p("Calculation error: "+e),g(null)}},children:"Calculate"})})]}),m&&(0,l.jsx)("div",{className:"p-3 mb-6 bg-red-50 border border-red-200 text-red-700 rounded",children:m}),n&&(0,l.jsxs)("div",{className:"p-4 border rounded-md bg-gray-50 dark:bg-gray-800",children:[(0,l.jsx)("h3",{className:"text-lg font-semibold mb-3",children:"Result"}),(0,l.jsxs)("div",{className:"grid grid-cols-2 gap-y-1 gap-x-4 mb-8",children:[(0,l.jsx)("div",{className:"text-gray-600 dark:text-gray-400 font-medium",children:"Network Type"}),(0,l.jsx)("div",{className:"font-medium",children:n.networkType}),(0,l.jsx)("div",{className:"text-gray-600 dark:text-gray-400 font-medium",children:"LTE"===n.networkType?"EARFCN":"NR-ARFCN"}),(0,l.jsx)("div",{className:"font-medium",children:n.earfcn}),(0,l.jsx)("div",{className:"text-gray-600 dark:text-gray-400 font-medium",children:"Frequency"}),(0,l.jsxs)("div",{className:"font-medium",children:[n.frequency," MHz"]})]}),(0,l.jsx)("h4",{className:"font-semibold mb-2",children:"Possible Operating Bands"}),(0,l.jsx)("div",{className:"space-y-4",children:n.possibleBands.map((e,a)=>(0,l.jsxs)("div",{className:"border-t pt-2 first:border-t-0 first:pt-0",children:[(0,l.jsxs)("div",{className:"font-semibold",children:["NR"===n.networkType?"n".concat(e.band):"Band ".concat(e.band)," ","(",e.name,")"]}),(0,l.jsxs)("div",{className:"grid grid-cols-2 gap-y-1 gap-x-4 mt-1 text-sm",children:[(0,l.jsx)("div",{className:"text-gray-600 dark:text-gray-400 font-medium",children:"Duplex Mode"}),(0,l.jsx)("div",{className:"font-semibold",children:e.duplexType}),(0,l.jsx)("div",{className:"text-gray-600 dark:text-gray-400 font-medium",children:"Downlink Range"}),(0,l.jsxs)("div",{className:"font-semibold",children:[e.dlLow," - ",e.dlHigh," MHz"]}),"FDD"===e.duplexType&&(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("div",{className:"text-gray-600 dark:text-gray-400 font-medium",children:"Uplink Range"}),(0,l.jsxs)("div",{className:"font-semibold",children:[e.ulLow," - ",e.ulHigh," MHz"]})]}),(0,l.jsx)("div",{className:"text-gray-600 dark:text-gray-400 font-medium",children:"LTE"===n.networkType?"EARFCN Range":"NR-ARFCN Range"}),(0,l.jsx)("div",{className:"font-semibold",children:"LTE"===n.networkType?"".concat(e.earfcnRange[0]," - ").concat(e.earfcnRange[1]):"".concat(e.nrarfcnRange[0]," - ").concat(e.nrarfcnRange[1])}),"LTE"===n.networkType&&(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("div",{className:"text-gray-600 dark:text-gray-400 font-medium",children:"Downlink Frequency"}),(0,l.jsxs)("div",{className:"font-semibold",children:[e.dlFrequency," MHz"]}),(0,l.jsx)("div",{className:"text-gray-600 dark:text-gray-400 font-medium",children:"Uplink Frequency"}),(0,l.jsxs)("div",{className:"font-semibold",children:[e.ulFrequency," MHz"]}),"FDD"===e.duplexType&&(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("div",{className:"text-gray-600 dark:text-gray-400 font-medium",children:"Uplink EARFCN"}),(0,l.jsx)("div",{className:"font-semibold",children:e.ulEarfcn})]})]})]})]},a))}),(0,l.jsxs)("div",{className:"text-xs text-gray-500 mt-4",children:["Calculation method:"," ","NR"===n.networkType?"3GPP TS 38.104 Section 5.4.2.1":"3GPP TS 36.101 Section 5.7"]})]}),(0,l.jsxs)("div",{className:"mt-8",children:[(0,l.jsxs)("div",{className:"flex justify-between items-center mb-2",children:[(0,l.jsx)("h3",{className:"text-lg font-semibold",children:"Calculation History"}),y.length>0&&(0,l.jsxs)(t.$,{variant:"outline",size:"sm",onClick:()=>{w([])},className:"h-8",children:[(0,l.jsx)(c.A,{className:"h-4 w-4 mr-1"}),"Clear All"]})]}),0===y.length?(0,l.jsx)("div",{className:"text-center p-6 border rounded-md text-gray-500 dark:text-gray-400",children:"No calculation history yet. Enter an E/ARFCN value and click Calculate."}):(0,l.jsx)("div",{className:"space-y-2",children:y.map(e=>(0,l.jsxs)("div",{className:"p-3 border rounded-md flex justify-between items-start bg-gray-50 dark:bg-gray-800",children:[(0,l.jsxs)("div",{className:"flex-1",children:[(0,l.jsxs)("div",{className:"flex items-center",children:[(0,l.jsx)("span",{className:"font-semibold text-lg",children:e.earfcn}),(0,l.jsx)("span",{className:"mx-2 text-gray-400",children:"•"}),(0,l.jsxs)("span",{className:"text-sm",children:[e.frequency," MHz"]}),(0,l.jsx)("span",{className:"mx-2 text-gray-400",children:"•"}),(0,l.jsx)("span",{className:"text-sm",children:e.networkType})]}),e.possibleBands&&(0,l.jsxs)("div",{className:"text-sm text-gray-600 dark:text-gray-400 font-medium mt-1",children:["Bands:"," ",e.possibleBands.map(a=>"NR"===e.networkType?"n".concat(a.band):"".concat(a.band)).join(", ")]}),(0,l.jsx)("div",{className:"text-xs text-gray-500 dark:text-gray-500 mt-1",children:e.timestamp?new Date(e.timestamp).toLocaleString():"No timestamp"})]}),(0,l.jsx)(t.$,{variant:"ghost",size:"sm",onClick:()=>v(e.id),className:"text-gray-500 h-8 w-8 p-0",children:(0,l.jsx)(f.A,{className:"h-4 w-4"})})]},e.id))})]})]})]})}},42541:(e,a,n)=>{"use strict";n.d(a,{$:()=>o,r:()=>i});var l=n(20475),r=n(20107),s=n(61837),d=n(29395),t=n(22250);let i=(0,d.F)("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{variants:{variant:{default:"bg-primary text-primary-foreground shadow hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90",outline:"border border-input bg-background shadow-sm hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2",sm:"h-8 rounded-md px-3 text-xs",lg:"h-10 rounded-md px-8",icon:"h-9 w-9"}},defaultVariants:{variant:"default",size:"default"}}),o=r.forwardRef((e,a)=>{let{className:n,variant:r,size:d,asChild:o=!1,...c}=e,f=o?s.DX:"button";return(0,l.jsx)(f,{className:(0,t.cn)(i({variant:r,size:d,className:n})),ref:a,...c})});o.displayName="Button"},72167:(e,a,n)=>{"use strict";n.d(a,{BT:()=>o,Wu:()=>c,ZB:()=>i,Zp:()=>d,aR:()=>t,wL:()=>f});var l=n(20475),r=n(20107),s=n(22250);let d=r.forwardRef((e,a)=>{let{className:n,...r}=e;return(0,l.jsx)("div",{ref:a,className:(0,s.cn)("rounded-xl border bg-card text-card-foreground shadow",n),...r})});d.displayName="Card";let t=r.forwardRef((e,a)=>{let{className:n,...r}=e;return(0,l.jsx)("div",{ref:a,className:(0,s.cn)("flex flex-col space-y-1.5 p-6",n),...r})});t.displayName="CardHeader";let i=r.forwardRef((e,a)=>{let{className:n,...r}=e;return(0,l.jsx)("h3",{ref:a,className:(0,s.cn)("font-semibold leading-none tracking-tight",n),...r})});i.displayName="CardTitle";let o=r.forwardRef((e,a)=>{let{className:n,...r}=e;return(0,l.jsx)("p",{ref:a,className:(0,s.cn)("text-sm text-muted-foreground",n),...r})});o.displayName="CardDescription";let c=r.forwardRef((e,a)=>{let{className:n,...r}=e;return(0,l.jsx)("div",{ref:a,className:(0,s.cn)("p-6 pt-0",n),...r})});c.displayName="CardContent";let f=r.forwardRef((e,a)=>{let{className:n,...r}=e;return(0,l.jsx)("div",{ref:a,className:(0,s.cn)("flex items-center p-6 pt-0",n),...r})});f.displayName="CardFooter"},64219:(e,a,n)=>{"use strict";n.d(a,{p:()=>d});var l=n(20475),r=n(20107),s=n(22250);let d=r.forwardRef((e,a)=>{let{className:n,type:r,...d}=e;return(0,l.jsx)("input",{type:r,className:(0,s.cn)("flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-sm shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50",n),ref:a,...d})});d.displayName="Input"},49153:(e,a,n)=>{"use strict";n.d(a,{J:()=>o});var l=n(20475),r=n(20107),s=n(21840),d=n(29395),t=n(22250);let i=(0,d.F)("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),o=r.forwardRef((e,a)=>{let{className:n,...r}=e;return(0,l.jsx)(s.b,{ref:a,className:(0,t.cn)(i(),n),...r})});o.displayName=s.b.displayName},37921:(e,a,n)=>{"use strict";n.d(a,{Xi:()=>o,av:()=>c,j7:()=>i,tU:()=>t});var l=n(20475),r=n(20107),s=n(93677),d=n(22250);let t=s.bL,i=r.forwardRef((e,a)=>{let{className:n,...r}=e;return(0,l.jsx)(s.B8,{ref:a,className:(0,d.cn)("inline-flex h-9 items-center justify-center rounded-lg bg-muted p-1 text-muted-foreground",n),...r})});i.displayName=s.B8.displayName;let o=r.forwardRef((e,a)=>{let{className:n,...r}=e;return(0,l.jsx)(s.l9,{ref:a,className:(0,d.cn)("inline-flex items-center justify-center whitespace-nowrap rounded-md px-3 py-1 text-sm font-medium ring-offset-background transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:bg-background data-[state=active]:text-foreground data-[state=active]:shadow",n),...r})});o.displayName=s.l9.displayName;let c=r.forwardRef((e,a)=>{let{className:n,...r}=e;return(0,l.jsx)(s.UC,{ref:a,className:(0,d.cn)("mt-2 ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",n),...r})});c.displayName=s.UC.displayName},22250:(e,a,n)=>{"use strict";n.d(a,{cn:()=>s});var l=n(64901),r=n(868);function s(){for(var e=arguments.length,a=Array(e),n=0;n{var a=a=>e(e.s=a);e.O(0,[7780,3453,5755,191,6035,7358],()=>a(62227)),_N_E=e.O()}]); \ No newline at end of file +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6617],{62227:(e,a,n)=>{Promise.resolve().then(n.bind(n,42503))},42503:(e,a,n)=>{"use strict";n.r(a),n.d(a,{default:()=>g});var l=n(20475),r=n(20107),s=n(72167),d=n(64219),t=n(42541),i=n(49153),o=n(37921),c=n(51873),f=n(58212);let u=e=>{if(window.localStorage)try{let a=localStorage.getItem(e);console.log("LocalStorage value for ".concat(e,":"),a?JSON.parse(a):"null")}catch(e){console.error("Error reading from localStorage:",e)}else console.log("localStorage not available")},g=()=>{let[e,a]=(0,r.useState)(""),[n,g]=(0,r.useState)(null),[m,p]=(0,r.useState)(""),[h,x]=(0,r.useState)("auto"),[y,w]=(0,r.useState)([]),b=[{band:1,name:"2100",dlLow:2110,dlHigh:2170,ulLow:1920,ulHigh:1980,earfcnOffset:0,earfcnRange:[0,599],spacing:.1,duplexType:"FDD"},{band:2,name:"1900 PCS",dlLow:1930,dlHigh:1990,ulLow:1850,ulHigh:1910,earfcnOffset:600,earfcnRange:[600,1199],spacing:.1,duplexType:"FDD"},{band:3,name:"1800",dlLow:1805,dlHigh:1880,ulLow:1710,ulHigh:1785,earfcnOffset:1200,earfcnRange:[1200,1949],spacing:.1,duplexType:"FDD"},{band:4,name:"AWS-1",dlLow:2110,dlHigh:2155,ulLow:1710,ulHigh:1755,earfcnOffset:1950,earfcnRange:[1950,2399],spacing:.1,duplexType:"FDD"},{band:5,name:"850",dlLow:869,dlHigh:894,ulLow:824,ulHigh:849,earfcnOffset:2400,earfcnRange:[2400,2649],spacing:.1,duplexType:"FDD"},{band:7,name:"2600",dlLow:2620,dlHigh:2690,ulLow:2500,ulHigh:2570,earfcnOffset:2750,earfcnRange:[2750,3449],spacing:.1,duplexType:"FDD"},{band:8,name:"900",dlLow:925,dlHigh:960,ulLow:880,ulHigh:915,earfcnOffset:3450,earfcnRange:[3450,3799],spacing:.1,duplexType:"FDD"},{band:12,name:"700 a",dlLow:729,dlHigh:746,ulLow:699,ulHigh:716,earfcnOffset:5010,earfcnRange:[5010,5179],spacing:.1,duplexType:"FDD"},{band:13,name:"700 c",dlLow:746,dlHigh:756,ulLow:777,ulHigh:787,earfcnOffset:5180,earfcnRange:[5180,5279],spacing:.1,duplexType:"FDD"},{band:14,name:"700 PS",dlLow:758,dlHigh:768,ulLow:788,ulHigh:798,earfcnOffset:5280,earfcnRange:[5280,5379],spacing:.1,duplexType:"FDD"},{band:17,name:"700 b",dlLow:734,dlHigh:746,ulLow:704,ulHigh:716,earfcnOffset:5730,earfcnRange:[5730,5849],spacing:.1,duplexType:"FDD"},{band:20,name:"800 DD",dlLow:791,dlHigh:821,ulLow:832,ulHigh:862,earfcnOffset:6150,earfcnRange:[6150,6449],spacing:.1,duplexType:"FDD"},{band:25,name:"1900+",dlLow:1930,dlHigh:1995,ulLow:1850,ulHigh:1915,earfcnOffset:8040,earfcnRange:[8040,8689],spacing:.1,duplexType:"FDD"},{band:26,name:"850+",dlLow:859,dlHigh:894,ulLow:814,ulHigh:849,earfcnOffset:8690,earfcnRange:[8690,9039],spacing:.1,duplexType:"FDD"},{band:28,name:"700 APT",dlLow:758,dlHigh:803,ulLow:703,ulHigh:748,earfcnOffset:9210,earfcnRange:[9210,9659],spacing:.1,duplexType:"FDD"},{band:66,name:"AWS-3",dlLow:2110,dlHigh:2200,ulLow:1710,ulHigh:1780,earfcnOffset:66436,earfcnRange:[66436,67335],spacing:.1,duplexType:"FDD"},{band:71,name:"600",dlLow:617,dlHigh:652,ulLow:663,ulHigh:698,earfcnOffset:68586,earfcnRange:[68586,68935],spacing:.1,duplexType:"FDD"},{band:38,name:"TD 2600",dlLow:2570,dlHigh:2620,ulLow:2570,ulHigh:2620,earfcnOffset:37750,earfcnRange:[37750,38249],spacing:.1,duplexType:"TDD"},{band:40,name:"TD 2300",dlLow:2300,dlHigh:2400,ulLow:2300,ulHigh:2400,earfcnOffset:38650,earfcnRange:[38650,39649],spacing:.1,duplexType:"TDD"},{band:41,name:"TD 2500",dlLow:2496,dlHigh:2690,ulLow:2496,ulHigh:2690,earfcnOffset:39650,earfcnRange:[39650,41589],spacing:.1,duplexType:"TDD"},{band:48,name:"CBRS",dlLow:3550,dlHigh:3700,ulLow:3550,ulHigh:3700,earfcnOffset:55240,earfcnRange:[55240,56739],spacing:.1,duplexType:"TDD"}],D=[{band:5,name:"850",dlLow:869,dlHigh:894,ulLow:824,ulHigh:849,nrarfcnOffset:173800,nrarfcnRange:[173800,178800],duplexType:"FDD"},{band:8,name:"900",dlLow:925,dlHigh:960,ulLow:880,ulHigh:915,nrarfcnOffset:185e3,nrarfcnRange:[185e3,192e3],duplexType:"FDD"},{band:12,name:"700 a",dlLow:729,dlHigh:746,ulLow:699,ulHigh:716,nrarfcnOffset:145800,nrarfcnRange:[145800,149200],duplexType:"FDD"},{band:14,name:"700 PS",dlLow:758,dlHigh:768,ulLow:788,ulHigh:798,nrarfcnOffset:151600,nrarfcnRange:[151600,153600],duplexType:"FDD"},{band:20,name:"800 DD",dlLow:791,dlHigh:821,ulLow:832,ulHigh:862,nrarfcnOffset:158200,nrarfcnRange:[158200,164200],duplexType:"FDD"},{band:28,name:"700 APT",dlLow:758,dlHigh:803,ulLow:703,ulHigh:748,nrarfcnOffset:151600,nrarfcnRange:[151600,160600],duplexType:"FDD"},{band:71,name:"600",dlLow:617,dlHigh:652,ulLow:663,ulHigh:698,nrarfcnOffset:123400,nrarfcnRange:[123400,130400],duplexType:"FDD"},{band:1,name:"2100",dlLow:2110,dlHigh:2170,ulLow:1920,ulHigh:1980,nrarfcnOffset:422e3,nrarfcnRange:[422e3,434e3],duplexType:"FDD"},{band:2,name:"1900 PCS",dlLow:1930,dlHigh:1990,ulLow:1850,ulHigh:1910,nrarfcnOffset:386e3,nrarfcnRange:[386e3,398e3],duplexType:"FDD"},{band:3,name:"1800",dlLow:1805,dlHigh:1880,ulLow:1710,ulHigh:1785,nrarfcnOffset:361e3,nrarfcnRange:[361e3,376e3],duplexType:"FDD"},{band:7,name:"2600",dlLow:2620,dlHigh:2690,ulLow:2500,ulHigh:2570,nrarfcnOffset:524e3,nrarfcnRange:[524e3,538e3],duplexType:"FDD"},{band:25,name:"1900+",dlLow:1930,dlHigh:1995,ulLow:1850,ulHigh:1915,nrarfcnOffset:386e3,nrarfcnRange:[386e3,399e3],duplexType:"FDD"},{band:66,name:"AWS-3",dlLow:2110,dlHigh:2200,ulLow:1710,ulHigh:1780,nrarfcnOffset:422e3,nrarfcnRange:[422e3,44e4],duplexType:"FDD"},{band:70,name:"AWS-4",dlLow:1995,dlHigh:2020,ulLow:1695,ulHigh:1710,nrarfcnOffset:399e3,nrarfcnRange:[399e3,404e3],duplexType:"FDD"},{band:34,name:"2000 TDD",dlLow:2010,dlHigh:2025,ulLow:2010,ulHigh:2025,nrarfcnOffset:402e3,nrarfcnRange:[402e3,405e3],duplexType:"TDD"},{band:38,name:"TD 2600",dlLow:2570,dlHigh:2620,ulLow:2570,ulHigh:2620,nrarfcnOffset:514e3,nrarfcnRange:[514e3,524e3],duplexType:"TDD"},{band:39,name:"IMT 1900 TDD",dlLow:1880,dlHigh:1920,ulLow:1880,ulHigh:1920,nrarfcnOffset:376e3,nrarfcnRange:[376e3,384e3],duplexType:"TDD"},{band:40,name:"TD 2300",dlLow:2300,dlHigh:2400,ulLow:2300,ulHigh:2400,nrarfcnOffset:46e4,nrarfcnRange:[46e4,48e4],duplexType:"TDD"},{band:41,name:"TD 2500",dlLow:2496,dlHigh:2690,ulLow:2496,ulHigh:2690,nrarfcnOffset:499200,nrarfcnRange:[499200,537999],duplexType:"TDD"},{band:48,name:"CBRS",dlLow:3550,dlHigh:3700,ulLow:3550,ulHigh:3700,nrarfcnOffset:636667,nrarfcnRange:[636667,646666],duplexType:"TDD"},{band:77,name:"C-Band",dlLow:3300,dlHigh:4200,ulLow:3300,ulHigh:4200,nrarfcnOffset:62e4,nrarfcnRange:[62e4,68e4],duplexType:"TDD"},{band:78,name:"C-Band (3.5GHz)",dlLow:3300,dlHigh:3800,ulLow:3300,ulHigh:3800,nrarfcnOffset:62e4,nrarfcnRange:[62e4,653333],duplexType:"TDD"},{band:79,name:"4.5GHz",dlLow:4400,dlHigh:5e3,ulLow:4400,ulHigh:5e3,nrarfcnOffset:693334,nrarfcnRange:[693334,733333],duplexType:"TDD"},{band:90,name:"TD 2600",dlLow:2496,dlHigh:2690,ulLow:2496,ulHigh:2690,nrarfcnOffset:499200,nrarfcnRange:[499200,538e3],duplexType:"TDD"},{band:257,name:"28 GHz",dlLow:26500,dlHigh:29500,ulLow:26500,ulHigh:29500,nrarfcnOffset:2054166,nrarfcnRange:[2054166,2104165],duplexType:"TDD"},{band:258,name:"26 GHz",dlLow:24250,dlHigh:27500,ulLow:24250,ulHigh:27500,nrarfcnOffset:2016667,nrarfcnRange:[2016667,2070832],duplexType:"TDD"},{band:259,name:"41 GHz",dlLow:39500,dlHigh:43500,ulLow:39500,ulHigh:43500,nrarfcnOffset:2270832,nrarfcnRange:[2270832,2337499],duplexType:"TDD"},{band:260,name:"39 GHz",dlLow:37e3,dlHigh:4e4,ulLow:37e3,ulHigh:4e4,nrarfcnOffset:2229166,nrarfcnRange:[2229166,2279165],duplexType:"TDD"},{band:261,name:"28 GHz",dlLow:27500,dlHigh:28350,ulLow:27500,ulHigh:28350,nrarfcnOffset:2070833,nrarfcnRange:[2070833,2084999],duplexType:"TDD"}],H=e=>{let a=[];for(let n of b)if(e>=n.earfcnRange[0]&&e<=n.earfcnRange[1]){let l,r;let s=n.dlLow+(e-n.earfcnOffset)*n.spacing;if("FDD"===n.duplexType){let a=e-n.earfcnOffset;l=e+18e3,r=n.ulLow+a*n.spacing}else l=e,r=s;a.push({...n,dlFrequency:s.toFixed(2),ulFrequency:r.toFixed(2),ulEarfcn:l})}return 0===a.length?null:{networkType:"LTE",earfcn:e,frequency:a[0].dlFrequency,possibleBands:a}},N=e=>{let a;if(e>=0&&e<=599999)a=0+(e-0)*.005;else if(e>=6e5&&e<=2016666)a=3e3+(e-6e5)*.015;else{if(!(e>=2016667)||!(e<=3279165))return null;a=24250.08+(e-2016667)*.06}let n=[];for(let a of D)e>=a.nrarfcnRange[0]&&e<=a.nrarfcnRange[1]&&n.push(a);return 0===n.length?null:{networkType:"NR",earfcn:e,frequency:a.toFixed(2),possibleBands:n}},L=function(e){let a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=parseInt(e);return isNaN(n)?{error:"Please enter a valid number"}:"lte"===a||null===a&&n>=0&&n<=68935?H(n):"nr"===a||null===a&&n>=123400?N(n):null};(0,r.useEffect)(()=>{if(window.localStorage)try{let e=localStorage.getItem("earfcnHistory");if(u("earfcnHistory"),e)try{let a=JSON.parse(e);console.log("Parsed history:",a),w(a)}catch(e){console.error("Error parsing history JSON:",e),w([])}}catch(e){console.error("Error accessing localStorage:",e),w([])}},[]),(0,r.useEffect)(()=>{if(console.log("History changed, saving to localStorage:",y),window.localStorage)try{if(y.length>0){let e=JSON.stringify(y);console.log("Serialized history:",e),localStorage.setItem("earfcnHistory",e)}else localStorage.removeItem("earfcnHistory");u("earfcnHistory")}catch(e){console.error("Error saving history to localStorage:",e)}},[y]);let v=e=>{w(a=>a.filter(a=>a.id!==e))};return(0,l.jsxs)(s.Zp,{className:"w-full",children:[(0,l.jsxs)(s.aR,{children:[(0,l.jsx)(s.ZB,{children:"E/ARFCN Calculator"}),(0,l.jsx)(s.BT,{children:"Calculate frequency information from E/ARFCN for LTE and NR-ARFCN for 5G"})]}),(0,l.jsxs)(s.Wu,{children:[(0,l.jsx)(o.tU,{defaultValue:"auto",value:h,onValueChange:e=>x(e),className:"mb-6",children:(0,l.jsxs)(o.j7,{className:"grid w-full grid-cols-3",children:[(0,l.jsx)(o.Xi,{value:"auto",children:"Auto-Detect"}),(0,l.jsx)(o.Xi,{value:"lte",children:"LTE (4G)"}),(0,l.jsx)(o.Xi,{value:"nr",children:"NR (5G)"})]})}),(0,l.jsxs)("div",{className:"flex space-x-4 mb-6",children:[(0,l.jsxs)("div",{className:"flex-1",children:[(0,l.jsx)(i.J,{htmlFor:"earfcn",className:"mb-2 block",children:"lte"===h?"E-ARFCN":"nr"===h?"NR-ARFCN":"E/ARFCN Value"}),(0,l.jsx)(d.p,{id:"earfcn",type:"number",placeholder:"Enter channel number",value:e,onChange:e=>a(e.target.value),className:"w-full"})]}),(0,l.jsx)("div",{className:"flex items-end",children:(0,l.jsx)(t.$,{onClick:()=>{if(!e){p("Please enter an E/ARFCN value"),g(null);return}try{let a=L(e,"auto"===h?null:h);if(!a||"error"in a)a&&"error"in a?p(a.error):p("Could not identify band for this E/ARFCN value"),g(null);else{g(a),p("");let e={...a,timestamp:new Date().toISOString(),id:Date.now().toString()};w(a=>[e,...a.slice(0,9)])}}catch(a){let e=a instanceof Error?a.message:"Unknown error";console.error("Calculation error:",a),p("Calculation error: "+e),g(null)}},children:"Calculate"})})]}),m&&(0,l.jsx)("div",{className:"p-3 mb-6 bg-red-50 border border-red-200 text-red-700 rounded",children:m}),n&&(0,l.jsxs)("div",{className:"p-4 border rounded-md bg-gray-50 dark:bg-gray-800",children:[(0,l.jsx)("h3",{className:"text-lg font-semibold mb-3",children:"Result"}),(0,l.jsxs)("div",{className:"grid grid-cols-2 gap-y-1 gap-x-4 mb-8",children:[(0,l.jsx)("div",{className:"text-gray-600 dark:text-gray-400 font-medium",children:"Network Type"}),(0,l.jsx)("div",{className:"font-medium",children:n.networkType}),(0,l.jsx)("div",{className:"text-gray-600 dark:text-gray-400 font-medium",children:"LTE"===n.networkType?"EARFCN":"NR-ARFCN"}),(0,l.jsx)("div",{className:"font-medium",children:n.earfcn}),(0,l.jsx)("div",{className:"text-gray-600 dark:text-gray-400 font-medium",children:"Frequency"}),(0,l.jsxs)("div",{className:"font-medium",children:[n.frequency," MHz"]})]}),(0,l.jsx)("h4",{className:"font-semibold mb-2",children:"Possible Operating Bands"}),(0,l.jsx)("div",{className:"space-y-4",children:n.possibleBands.map((e,a)=>(0,l.jsxs)("div",{className:"border-t pt-2 first:border-t-0 first:pt-0",children:[(0,l.jsxs)("div",{className:"font-semibold",children:["NR"===n.networkType?"n".concat(e.band):"Band ".concat(e.band)," ","(",e.name,")"]}),(0,l.jsxs)("div",{className:"grid grid-cols-2 gap-y-1 gap-x-4 mt-1 text-sm",children:[(0,l.jsx)("div",{className:"text-gray-600 dark:text-gray-400 font-medium",children:"Duplex Mode"}),(0,l.jsx)("div",{className:"font-semibold",children:e.duplexType}),(0,l.jsx)("div",{className:"text-gray-600 dark:text-gray-400 font-medium",children:"Downlink Range"}),(0,l.jsxs)("div",{className:"font-semibold",children:[e.dlLow," - ",e.dlHigh," MHz"]}),"FDD"===e.duplexType&&(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("div",{className:"text-gray-600 dark:text-gray-400 font-medium",children:"Uplink Range"}),(0,l.jsxs)("div",{className:"font-semibold",children:[e.ulLow," - ",e.ulHigh," MHz"]})]}),(0,l.jsx)("div",{className:"text-gray-600 dark:text-gray-400 font-medium",children:"LTE"===n.networkType?"EARFCN Range":"NR-ARFCN Range"}),(0,l.jsx)("div",{className:"font-semibold",children:"LTE"===n.networkType?"".concat(e.earfcnRange[0]," - ").concat(e.earfcnRange[1]):"".concat(e.nrarfcnRange[0]," - ").concat(e.nrarfcnRange[1])}),"LTE"===n.networkType&&(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("div",{className:"text-gray-600 dark:text-gray-400 font-medium",children:"Downlink Frequency"}),(0,l.jsxs)("div",{className:"font-semibold",children:[e.dlFrequency," MHz"]}),(0,l.jsx)("div",{className:"text-gray-600 dark:text-gray-400 font-medium",children:"Uplink Frequency"}),(0,l.jsxs)("div",{className:"font-semibold",children:[e.ulFrequency," MHz"]}),"FDD"===e.duplexType&&(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("div",{className:"text-gray-600 dark:text-gray-400 font-medium",children:"Uplink EARFCN"}),(0,l.jsx)("div",{className:"font-semibold",children:e.ulEarfcn})]})]})]})]},a))}),(0,l.jsxs)("div",{className:"text-xs text-gray-500 mt-4",children:["Calculation method:"," ","NR"===n.networkType?"3GPP TS 38.104 Section 5.4.2.1":"3GPP TS 36.101 Section 5.7"]})]}),(0,l.jsxs)("div",{className:"mt-8",children:[(0,l.jsxs)("div",{className:"flex justify-between items-center mb-2",children:[(0,l.jsx)("h3",{className:"text-lg font-semibold",children:"Calculation History"}),y.length>0&&(0,l.jsxs)(t.$,{variant:"outline",size:"sm",onClick:()=>{w([])},className:"h-8",children:[(0,l.jsx)(c.A,{className:"h-4 w-4 mr-1"}),"Clear All"]})]}),0===y.length?(0,l.jsx)("div",{className:"text-center p-6 border rounded-md text-gray-500 dark:text-gray-400",children:"No calculation history yet. Enter an E/ARFCN value and click Calculate."}):(0,l.jsx)("div",{className:"space-y-2",children:y.map(e=>(0,l.jsxs)("div",{className:"p-3 border rounded-md flex justify-between items-start bg-gray-50 dark:bg-gray-800",children:[(0,l.jsxs)("div",{className:"flex-1",children:[(0,l.jsxs)("div",{className:"flex items-center",children:[(0,l.jsx)("span",{className:"font-semibold text-lg",children:e.earfcn}),(0,l.jsx)("span",{className:"mx-2 text-gray-400",children:"•"}),(0,l.jsxs)("span",{className:"text-sm",children:[e.frequency," MHz"]}),(0,l.jsx)("span",{className:"mx-2 text-gray-400",children:"•"}),(0,l.jsx)("span",{className:"text-sm",children:e.networkType})]}),e.possibleBands&&(0,l.jsxs)("div",{className:"text-sm text-gray-600 dark:text-gray-400 font-medium mt-1",children:["Bands:"," ",e.possibleBands.map(a=>"NR"===e.networkType?"n".concat(a.band):"".concat(a.band)).join(", ")]}),(0,l.jsx)("div",{className:"text-xs text-gray-500 dark:text-gray-500 mt-1",children:e.timestamp?new Date(e.timestamp).toLocaleString():"No timestamp"})]}),(0,l.jsx)(t.$,{variant:"ghost",size:"sm",onClick:()=>v(e.id),className:"text-gray-500 h-8 w-8 p-0",children:(0,l.jsx)(f.A,{className:"h-4 w-4"})})]},e.id))})]})]})]})}},42541:(e,a,n)=>{"use strict";n.d(a,{$:()=>o,r:()=>i});var l=n(20475),r=n(20107),s=n(61837),d=n(29395),t=n(22250);let i=(0,d.F)("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{variants:{variant:{default:"bg-primary text-primary-foreground shadow hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90",outline:"border border-input bg-background shadow-sm hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2",sm:"h-8 rounded-md px-3 text-xs",lg:"h-10 rounded-md px-8",icon:"h-9 w-9"}},defaultVariants:{variant:"default",size:"default"}}),o=r.forwardRef((e,a)=>{let{className:n,variant:r,size:d,asChild:o=!1,...c}=e,f=o?s.DX:"button";return(0,l.jsx)(f,{className:(0,t.cn)(i({variant:r,size:d,className:n})),ref:a,...c})});o.displayName="Button"},72167:(e,a,n)=>{"use strict";n.d(a,{BT:()=>o,Wu:()=>c,ZB:()=>i,Zp:()=>d,aR:()=>t,wL:()=>f});var l=n(20475),r=n(20107),s=n(22250);let d=r.forwardRef((e,a)=>{let{className:n,...r}=e;return(0,l.jsx)("div",{ref:a,className:(0,s.cn)("rounded-xl border bg-card text-card-foreground shadow",n),...r})});d.displayName="Card";let t=r.forwardRef((e,a)=>{let{className:n,...r}=e;return(0,l.jsx)("div",{ref:a,className:(0,s.cn)("flex flex-col space-y-1.5 p-6",n),...r})});t.displayName="CardHeader";let i=r.forwardRef((e,a)=>{let{className:n,...r}=e;return(0,l.jsx)("h3",{ref:a,className:(0,s.cn)("font-semibold leading-none tracking-tight",n),...r})});i.displayName="CardTitle";let o=r.forwardRef((e,a)=>{let{className:n,...r}=e;return(0,l.jsx)("p",{ref:a,className:(0,s.cn)("text-sm text-muted-foreground",n),...r})});o.displayName="CardDescription";let c=r.forwardRef((e,a)=>{let{className:n,...r}=e;return(0,l.jsx)("div",{ref:a,className:(0,s.cn)("p-6 pt-0",n),...r})});c.displayName="CardContent";let f=r.forwardRef((e,a)=>{let{className:n,...r}=e;return(0,l.jsx)("div",{ref:a,className:(0,s.cn)("flex items-center p-6 pt-0",n),...r})});f.displayName="CardFooter"},64219:(e,a,n)=>{"use strict";n.d(a,{p:()=>d});var l=n(20475),r=n(20107),s=n(22250);let d=r.forwardRef((e,a)=>{let{className:n,type:r,...d}=e;return(0,l.jsx)("input",{type:r,className:(0,s.cn)("flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-sm shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50",n),ref:a,...d})});d.displayName="Input"},49153:(e,a,n)=>{"use strict";n.d(a,{J:()=>o});var l=n(20475),r=n(20107),s=n(21840),d=n(29395),t=n(22250);let i=(0,d.F)("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),o=r.forwardRef((e,a)=>{let{className:n,...r}=e;return(0,l.jsx)(s.b,{ref:a,className:(0,t.cn)(i(),n),...r})});o.displayName=s.b.displayName},37921:(e,a,n)=>{"use strict";n.d(a,{Xi:()=>o,av:()=>c,j7:()=>i,tU:()=>t});var l=n(20475),r=n(20107),s=n(93677),d=n(22250);let t=s.bL,i=r.forwardRef((e,a)=>{let{className:n,...r}=e;return(0,l.jsx)(s.B8,{ref:a,className:(0,d.cn)("inline-flex h-9 items-center justify-center rounded-lg bg-muted p-1 text-muted-foreground",n),...r})});i.displayName=s.B8.displayName;let o=r.forwardRef((e,a)=>{let{className:n,...r}=e;return(0,l.jsx)(s.l9,{ref:a,className:(0,d.cn)("inline-flex items-center justify-center whitespace-nowrap rounded-md px-3 py-1 text-sm font-medium ring-offset-background transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:bg-background data-[state=active]:text-foreground data-[state=active]:shadow",n),...r})});o.displayName=s.l9.displayName;let c=r.forwardRef((e,a)=>{let{className:n,...r}=e;return(0,l.jsx)(s.UC,{ref:a,className:(0,d.cn)("mt-2 ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",n),...r})});c.displayName=s.UC.displayName},22250:(e,a,n)=>{"use strict";n.d(a,{cn:()=>s});var l=n(64901),r=n(868);function s(){for(var e=arguments.length,a=Array(e),n=0;n{var a=a=>e(e.s=a);e.O(0,[7780,3453,4130,191,6035,7358],()=>a(62227)),_N_E=e.O()}]); \ No newline at end of file diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/custom-features/layout-8acecbbd9a820475.js b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/custom-features/layout-8acecbbd9a820475.js deleted file mode 100644 index daa9c3b..0000000 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/custom-features/layout-8acecbbd9a820475.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8248],{43421:(e,s,a)=>{Promise.resolve().then(a.bind(a,14938))},14938:(e,s,a)=>{"use strict";a.r(s),a.d(s,{default:()=>l});var t=a(20475);a(20107);var r=a(16118),c=a(9477),u=a.n(c);let l=e=>{let{children:s}=e,a=(0,r.usePathname)();return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:"mx-auto grid w-full max-w-6xl gap-2",children:(0,t.jsx)("h1",{className:"text-3xl font-semibold",children:"Custom Features"})}),(0,t.jsxs)("div",{className:"mx-auto grid w-full max-w-6xl items-start gap-6 md:grid-cols-[180px_1fr] lg:grid-cols-[250px_1fr]",children:[(0,t.jsxs)("nav",{className:"grid gap-4 text-sm text-muted-foreground","x-chunk":"dashboard-04-chunk-0",children:[(0,t.jsx)(u(),{href:"/dashboard/custom-features/quecwatch",className:"".concat("/dashboard/custom-features/quecwatch"===a?"font-semibold text-primary":"text-sm"),children:"QuecWatch"}),(0,t.jsx)(u(),{href:"/dashboard/custom-features/quecprofiles",className:"".concat("/dashboard/custom-features/quecprofiles"===a?"font-semibold text-primary":"text-sm"),children:"QuecProfiles"}),(0,t.jsx)(u(),{href:"/dashboard/custom-features/cell-scanner",className:"".concat("/dashboard/custom-features/cell-scanner"===a?"font-semibold text-primary":"text-sm"),children:"Cell Scanner"}),(0,t.jsx)(u(),{href:"/dashboard/custom-features/frequency-calculator",className:"".concat("/dashboard/custom-features/frequency-calculator"===a?"font-semibold text-primary":"text-sm"),children:"Frequency Calculator"})]}),s]})]})}},16118:(e,s,a)=>{"use strict";var t=a(65834);a.o(t,"usePathname")&&a.d(s,{usePathname:function(){return t.usePathname}}),a.o(t,"useRouter")&&a.d(s,{useRouter:function(){return t.useRouter}})}},e=>{var s=s=>e(e.s=s);e.O(0,[9477,191,6035,7358],()=>s(43421)),_N_E=e.O()}]); \ No newline at end of file diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/custom-features/layout-e39a026cb4bba80e.js b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/custom-features/layout-e39a026cb4bba80e.js new file mode 100644 index 0000000..2e54044 --- /dev/null +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/custom-features/layout-e39a026cb4bba80e.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8248],{43421:(e,s,a)=>{Promise.resolve().then(a.bind(a,14938))},14938:(e,s,a)=>{"use strict";a.r(s),a.d(s,{default:()=>l});var t=a(20475);a(20107);var r=a(16118),c=a(9477),u=a.n(c);let l=e=>{let{children:s}=e,a=(0,r.usePathname)();return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:"mx-auto grid w-full max-w-6xl gap-2",children:(0,t.jsx)("h1",{className:"text-3xl font-semibold",children:"Custom Features"})}),(0,t.jsxs)("div",{className:"mx-auto grid w-full max-w-6xl items-start gap-6 md:grid-cols-[180px_1fr] lg:grid-cols-[250px_1fr]",children:[(0,t.jsxs)("nav",{className:"grid gap-4 text-sm text-muted-foreground","x-chunk":"dashboard-04-chunk-0",children:[(0,t.jsx)(u(),{href:"/dashboard/custom-features/quecwatch",className:"".concat("/dashboard/custom-features/quecwatch/"===a?"font-semibold text-primary":"text-sm"),children:"QuecWatch"}),(0,t.jsx)(u(),{href:"/dashboard/custom-features/quecprofiles",className:"".concat("/dashboard/custom-features/quecprofiles/"===a?"font-semibold text-primary":"text-sm"),children:"QuecProfiles"}),(0,t.jsx)(u(),{href:"/dashboard/custom-features/cell-scanner",className:"".concat("/dashboard/custom-features/cell-scanner/"===a?"font-semibold text-primary":"text-sm"),children:"Cell Scanner"}),(0,t.jsx)(u(),{href:"/dashboard/custom-features/frequency-calculator",className:"".concat("/dashboard/custom-features/frequency-calculator/"===a?"font-semibold text-primary":"text-sm"),children:"Frequency Calculator"})]}),s]})]})}},16118:(e,s,a)=>{"use strict";var t=a(65834);a.o(t,"usePathname")&&a.d(s,{usePathname:function(){return t.usePathname}}),a.o(t,"useRouter")&&a.d(s,{useRouter:function(){return t.useRouter}})}},e=>{var s=s=>e(e.s=s);e.O(0,[9477,191,6035,7358],()=>s(43421)),_N_E=e.O()}]); \ No newline at end of file diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/experimental/layout-8e15d627987cc9e6.js b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/experimental/layout-0848225084616b4a.js similarity index 54% rename from ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/experimental/layout-8e15d627987cc9e6.js rename to ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/experimental/layout-0848225084616b4a.js index 6cd5cb0..902452e 100644 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/experimental/layout-8e15d627987cc9e6.js +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/experimental/layout-0848225084616b4a.js @@ -1 +1 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3075],{87390:(e,s,a)=>{Promise.resolve().then(a.bind(a,31753))},31753:(e,s,a)=>{"use strict";a.r(s),a.d(s,{default:()=>d});var t=a(20475);a(20107);var r=a(16118),l=a(9477),n=a.n(l);let d=e=>{let{children:s}=e,a=(0,r.usePathname)();return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:"mx-auto grid w-full max-w-6xl gap-2",children:(0,t.jsx)("h1",{className:"text-3xl font-semibold",children:"Experimental"})}),(0,t.jsxs)("div",{className:"mx-auto grid w-full max-w-6xl items-start gap-6 md:grid-cols-[180px_1fr] lg:grid-cols-[250px_1fr]",children:[(0,t.jsxs)("nav",{className:"grid gap-4 text-sm text-muted-foreground","x-chunk":"dashboard-04-chunk-0",children:[(0,t.jsx)(n(),{href:"/dashboard/experimental/network-insights",className:"".concat("/dashboard/experimental/network-insights/"===a?"font-semibold text-primary":"text-sm"),children:"Network Insights"}),(0,t.jsx)(n(),{href:"/dashboard/experimental/keep-alive",className:"".concat("/dashboard/experimental/keep-alive/"===a?"font-semibold text-primary":"text-sm"),children:"Keep Alive"}),(0,t.jsx)(n(),{href:"/dashboard/experimental/scheduled-reboot",className:"".concat("/dashboard/experimental/scheduled-reboot/"===a?"font-semibold text-primary":"text-sm"),children:"Scheduled Reboot"})]}),s]})]})}},16118:(e,s,a)=>{"use strict";var t=a(65834);a.o(t,"usePathname")&&a.d(s,{usePathname:function(){return t.usePathname}}),a.o(t,"useRouter")&&a.d(s,{useRouter:function(){return t.useRouter}})}},e=>{var s=s=>e(e.s=s);e.O(0,[9477,191,6035,7358],()=>s(87390)),_N_E=e.O()}]); \ No newline at end of file +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3075],{87390:(e,s,a)=>{Promise.resolve().then(a.bind(a,31753))},31753:(e,s,a)=>{"use strict";a.r(s),a.d(s,{default:()=>n});var t=a(20475);a(20107);var r=a(16118),l=a(9477),d=a.n(l);let n=e=>{let{children:s}=e,a=(0,r.usePathname)();return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:"mx-auto grid w-full max-w-6xl gap-2",children:(0,t.jsx)("h1",{className:"text-3xl font-semibold",children:"Experimental"})}),(0,t.jsxs)("div",{className:"mx-auto grid w-full max-w-6xl items-start gap-6 md:grid-cols-[180px_1fr] lg:grid-cols-[250px_1fr]",children:[(0,t.jsxs)("nav",{className:"grid gap-4 text-sm text-muted-foreground","x-chunk":"dashboard-04-chunk-0",children:[(0,t.jsx)(d(),{href:"/dashboard/experimental/network-insights",className:"".concat("/dashboard/experimental/network-insights/"===a?"font-semibold text-primary":"text-sm"),children:"Network Insights"}),(0,t.jsx)(d(),{href:"/dashboard/experimental/keep-alive",className:"".concat("/dashboard/experimental/keep-alive/"===a?"font-semibold text-primary":"text-sm"),children:"Keep Alive"}),(0,t.jsx)(d(),{href:"/dashboard/experimental/scheduled-reboot",className:"".concat("/dashboard/experimental/scheduled-reboot/"===a?"font-semibold text-primary":"text-sm"),children:"Scheduled Reboot"}),(0,t.jsx)(d(),{href:"/dashboard/experimental/logs",className:"".concat("/dashboard/experimental/logs/"===a?"font-semibold text-primary":"text-sm"),children:"Logs"})]}),s]})]})}},16118:(e,s,a)=>{"use strict";var t=a(65834);a.o(t,"usePathname")&&a.d(s,{usePathname:function(){return t.usePathname}}),a.o(t,"useRouter")&&a.d(s,{useRouter:function(){return t.useRouter}})}},e=>{var s=s=>e(e.s=s);e.O(0,[9477,191,6035,7358],()=>s(87390)),_N_E=e.O()}]); \ No newline at end of file diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/experimental/logs/page-aafc009d49918935.js b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/experimental/logs/page-aafc009d49918935.js new file mode 100644 index 0000000..9cea996 --- /dev/null +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/experimental/logs/page-aafc009d49918935.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6738],{72770:(e,t,r)=>{Promise.resolve().then(r.bind(r,89163))},89163:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>b});var s=r(20475),a=r(20107),n=r(72167),l=r(45934),i=r(42541),d=r(35601),c=r(64219),o=r(49153),u=r(36824),m=r(38545),f=r(17799),h=r(13624),x=r(39997);let p=(0,x.A)("CircleCheckBig",[["path",{d:"M21.801 10A10 10 0 1 1 17 3.335",key:"yps3ct"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]]);var g=r(27720),v=r(91994);let y=(0,x.A)("Download",[["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["polyline",{points:"7 10 12 15 17 10",key:"2ggqvy"}],["line",{x1:"12",x2:"12",y1:"15",y2:"3",key:"1vk2je"}]]);var j=r(49573);let b=()=>{let[e,t]=(0,a.useState)([]),[r,x]=(0,a.useState)(""),[b,N]=(0,a.useState)([]),[w,R]=(0,a.useState)(""),[C,k]=(0,a.useState)("all"),[A,S]=(0,a.useState)(""),[E,L]=(0,a.useState)("100"),[O,M]=(0,a.useState)([]),[T,F]=(0,a.useState)(0),[U,I]=(0,a.useState)(!1),[D,_]=(0,a.useState)(""),[q,P]=(0,a.useState)(new Date),z=(0,a.useCallback)(async()=>{try{let e=await fetch("/cgi-bin/quecmanager/experimental/logs/fetch_logs.sh"),s=await e.json();s.categories&&(t(s.categories),s.categories.length>0&&!r&&x(s.categories[0]))}catch(e){_("Failed to fetch log categories"),console.error("Error fetching categories:",e)}},[r]),B=(0,a.useCallback)(async e=>{if(e)try{let t=await fetch("/cgi-bin/quecmanager/experimental/logs/fetch_logs.sh?category=".concat(encodeURIComponent(e))),r=await t.json();r.scripts&&(N(r.scripts),R(""))}catch(e){_("Failed to fetch scripts for category"),console.error("Error fetching scripts:",e)}},[]),V=(0,a.useCallback)(async()=>{if(r&&w){I(!0),_("");try{let e=new URLSearchParams({category:r,script:w,lines:E});C&&"all"!==C&&e.append("level",C);let t=await fetch("/cgi-bin/quecmanager/experimental/logs/fetch_logs.sh?".concat(e)),s=await t.json();if(s.entries){let e=s.entries;A&&(e=e.filter(e=>e.message.toLowerCase().includes(A.toLowerCase())||e.script.toLowerCase().includes(A.toLowerCase()))),M(e),F(s.total||0),P(new Date)}else s.error&&_(s.error)}catch(e){_("Failed to fetch logs"),console.error("Error fetching logs:",e)}finally{I(!1)}}},[r,w,C,A,E]),[W,J]=(0,a.useState)(!1),[Z,$]=(0,a.useState)(5e3);(0,a.useEffect)(()=>{let e;return W&&r&&w&&(e=setInterval(V,Z)),()=>{e&&clearInterval(e)}},[W,Z,V,r,w]),(0,a.useEffect)(()=>{z()},[z]),(0,a.useEffect)(()=>{r&&B(r)},[r,B]),(0,a.useEffect)(()=>{r&&w&&V()},[r,w,V]);let G=e=>{switch(e.toUpperCase()){case"ERROR":return{variant:"destructive",className:"bg-red-500 hover:bg-red-600 text-white border-red-500"};case"WARN":return{variant:"secondary",className:"bg-orange-500 hover:bg-orange-600 text-white border-orange-500"};case"INFO":return{variant:"default",className:"bg-blue-500 hover:bg-blue-600 text-white border-blue-500"};case"DEBUG":return{variant:"outline",className:"bg-green-500 hover:bg-green-600 text-white border-green-500"};default:return{variant:"default",className:"bg-gray-500 hover:bg-gray-600 text-white border-gray-500"}}},H=e=>{switch(e.toUpperCase()){case"ERROR":return(0,s.jsx)(m.A,{className:"h-4 w-4"});case"WARN":return(0,s.jsx)(f.A,{className:"h-4 w-4"});case"INFO":default:return(0,s.jsx)(h.A,{className:"h-4 w-4"});case"DEBUG":return(0,s.jsx)(p,{className:"h-4 w-4"})}};return(0,s.jsxs)("div",{className:"space-y-6",children:[(0,s.jsxs)(n.Zp,{children:[(0,s.jsxs)(n.aR,{children:[(0,s.jsx)(n.ZB,{children:"System Logs"}),(0,s.jsx)(n.BT,{children:"View and analyze centralized logs from QuecManager services"})]}),(0,s.jsxs)(n.Wu,{className:"space-y-4",children:[(0,s.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[(0,s.jsxs)("div",{className:"space-y-2",children:[(0,s.jsx)(o.J,{htmlFor:"category",children:"Category"}),(0,s.jsxs)(d.l6,{value:r,onValueChange:x,children:[(0,s.jsx)(d.bq,{id:"category",children:(0,s.jsx)(d.yv,{placeholder:"Select category..."})}),(0,s.jsx)(d.gC,{children:e.map(e=>(0,s.jsx)(d.eb,{value:e,children:e},e))})]})]}),(0,s.jsxs)("div",{className:"space-y-2",children:[(0,s.jsx)(o.J,{htmlFor:"script",children:"Script"}),(0,s.jsxs)(d.l6,{value:w,onValueChange:R,disabled:!r,children:[(0,s.jsx)(d.bq,{id:"script",children:(0,s.jsx)(d.yv,{placeholder:"Select script..."})}),(0,s.jsx)(d.gC,{children:b.map(e=>(0,s.jsx)(d.eb,{value:e,children:e},e))})]})]})]}),(0,s.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-4",children:[(0,s.jsxs)("div",{className:"space-y-2",children:[(0,s.jsx)(o.J,{htmlFor:"level",children:"Log Level"}),(0,s.jsxs)(d.l6,{value:C,onValueChange:k,children:[(0,s.jsx)(d.bq,{id:"level",children:(0,s.jsx)(d.yv,{placeholder:"All levels..."})}),(0,s.jsxs)(d.gC,{children:[(0,s.jsx)(d.eb,{value:"all",children:"All levels"}),(0,s.jsx)(d.eb,{value:"ERROR",children:"Error"}),(0,s.jsx)(d.eb,{value:"WARN",children:"Warning"}),(0,s.jsx)(d.eb,{value:"INFO",children:"Info"}),(0,s.jsx)(d.eb,{value:"DEBUG",children:"Debug"})]})]})]}),(0,s.jsxs)("div",{className:"space-y-2",children:[(0,s.jsx)(o.J,{htmlFor:"lines",children:"Max Lines"}),(0,s.jsxs)(d.l6,{value:E,onValueChange:L,children:[(0,s.jsx)(d.bq,{id:"lines",children:(0,s.jsx)(d.yv,{})}),(0,s.jsxs)(d.gC,{children:[(0,s.jsx)(d.eb,{value:"50",children:"50 lines"}),(0,s.jsx)(d.eb,{value:"100",children:"100 lines"}),(0,s.jsx)(d.eb,{value:"200",children:"200 lines"}),(0,s.jsx)(d.eb,{value:"500",children:"500 lines"})]})]})]}),(0,s.jsxs)("div",{className:"space-y-2",children:[(0,s.jsx)(o.J,{htmlFor:"search",children:"Search"}),(0,s.jsxs)("div",{className:"relative",children:[(0,s.jsx)(g.A,{className:"absolute left-3 top-1/2 transform -translate-y-1/2 h-4 w-4 text-muted-foreground"}),(0,s.jsx)(c.p,{id:"search",placeholder:"Search messages...",value:A,onChange:e=>S(e.target.value),className:"pl-10"})]})]})]}),(0,s.jsxs)("div",{className:"flex flex-wrap items-center justify-between gap-4",children:[(0,s.jsxs)("div",{className:"flex items-center gap-2",children:[(0,s.jsxs)(i.$,{onClick:V,disabled:U||!w,children:[(0,s.jsx)(v.A,{className:"h-4 w-4 ".concat(U?"animate-spin":"")}),"Refresh"]}),(0,s.jsxs)(i.$,{onClick:()=>{let e=new Blob([O.map(e=>"[".concat(e.timestamp,"] [").concat(e.level,"] [").concat(e.script,"] [PID:").concat(e.pid,"] ").concat(e.message)).join("\n")],{type:"text/plain"}),t=URL.createObjectURL(e),s=document.createElement("a");s.href=t,s.download="".concat(w,"_").concat(r,"_logs_").concat(new Date().toISOString().split("T")[0],".txt"),document.body.appendChild(s),s.click(),document.body.removeChild(s),URL.revokeObjectURL(t)},variant:"outline",disabled:0===O.length,children:[(0,s.jsx)(y,{className:"h-4 w-4"}),"Export"]})]}),(0,s.jsxs)("div",{className:"flex items-center gap-2 text-sm text-muted-foreground",children:[(0,s.jsx)("span",{children:"Auto-refresh:"}),(0,s.jsx)(i.$,{variant:W?"default":"outline",size:"sm",onClick:()=>J(!W),children:W?"On":"Off"}),W&&(0,s.jsxs)(d.l6,{value:Z.toString(),onValueChange:e=>$(parseInt(e)),children:[(0,s.jsx)(d.bq,{className:"w-20",children:(0,s.jsx)(d.yv,{})}),(0,s.jsxs)(d.gC,{children:[(0,s.jsx)(d.eb,{value:"5000",children:"5s"}),(0,s.jsx)(d.eb,{value:"10000",children:"10s"}),(0,s.jsx)(d.eb,{value:"30000",children:"30s"}),(0,s.jsx)(d.eb,{value:"60000",children:"1m"})]})]})]})]})]})]}),D&&(0,s.jsxs)(j.Fc,{variant:"destructive",children:[(0,s.jsx)(f.A,{className:"h-4 w-4"}),(0,s.jsx)(j.TN,{children:D})]}),(0,s.jsxs)(n.Zp,{children:[(0,s.jsx)(n.aR,{children:(0,s.jsxs)("div",{className:"flex items-center justify-between",children:[(0,s.jsxs)("div",{children:[(0,s.jsx)(n.ZB,{children:"Log Entries"}),(0,s.jsx)(n.BT,{children:w?(0,s.jsxs)(s.Fragment,{children:["Showing ",O.length," of ",T," entries from"," ",w,A&&' (filtered by "'.concat(A,'")')]}):"Select a category and script to view logs"})]}),q&&(0,s.jsxs)("div",{className:"text-sm text-muted-foreground",children:["Last updated: ",q.toLocaleTimeString()]})]})}),(0,s.jsx)(n.Wu,{children:w?(0,s.jsx)(u.F,{className:"h-[600px] w-full rounded-md border p-4",children:U?(0,s.jsxs)("div",{className:"flex items-center justify-center h-32",children:[(0,s.jsx)(v.A,{className:"h-6 w-6 animate-spin mr-2"}),"Loading logs..."]}):O.length>0?(0,s.jsx)("div",{className:"space-y-2",children:O.map((e,t)=>(0,s.jsxs)("div",{className:"flex items-start gap-3 p-3 rounded-lg bg-muted/30 hover:bg-muted/50 transition-colors font-mono text-sm",children:[(0,s.jsxs)("div",{className:"flex items-center gap-2 min-w-0 flex-shrink-0",children:[H(e.level),(0,s.jsx)(l.E,{...G(e.level),className:"text-xs ".concat(G(e.level).className),children:e.level})]}),(0,s.jsxs)("div",{className:"min-w-0 flex-1",children:[(0,s.jsxs)("div",{className:"flex items-center gap-2 text-xs text-muted-foreground mb-1",children:[(0,s.jsx)("span",{children:e.timestamp}),(0,s.jsx)("span",{children:"•"}),(0,s.jsx)("span",{children:e.script}),(0,s.jsx)("span",{children:"•"}),(0,s.jsxs)("span",{children:["PID:",e.pid]})]}),(0,s.jsx)("div",{className:"break-words",children:e.message})]})]},t))}):(0,s.jsx)("div",{className:"flex items-center justify-center h-32 text-muted-foreground",children:"No log entries found"})}):(0,s.jsx)("div",{className:"flex items-center justify-center h-32 text-muted-foreground",children:"Select a category and script to view logs"})})]})]})}},49573:(e,t,r)=>{"use strict";r.d(t,{Fc:()=>d,TN:()=>o,XL:()=>c});var s=r(20475),a=r(20107),n=r(29395),l=r(22250);let i=(0,n.F)("relative w-full rounded-lg border px-4 py-3 text-sm [&>svg+div]:translate-y-[-3px] [&>svg]:absolute [&>svg]:left-4 [&>svg]:top-4 [&>svg]:text-foreground [&>svg~*]:pl-7",{variants:{variant:{default:"bg-background text-foreground",destructive:"border-destructive/50 text-destructive dark:border-destructive [&>svg]:text-destructive"}},defaultVariants:{variant:"default"}}),d=a.forwardRef((e,t)=>{let{className:r,variant:a,...n}=e;return(0,s.jsx)("div",{ref:t,role:"alert",className:(0,l.cn)(i({variant:a}),r),...n})});d.displayName="Alert";let c=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,s.jsx)("h5",{ref:t,className:(0,l.cn)("mb-1 font-medium leading-none tracking-tight",r),...a})});c.displayName="AlertTitle";let o=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,s.jsx)("div",{ref:t,className:(0,l.cn)("text-sm [&_p]:leading-relaxed",r),...a})});o.displayName="AlertDescription"},45934:(e,t,r)=>{"use strict";r.d(t,{E:()=>i});var s=r(20475);r(20107);var a=r(29395),n=r(22250);let l=(0,a.F)("inline-flex items-center rounded-md border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground shadow hover:bg-primary/80",secondary:"border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80",destructive:"border-transparent bg-destructive text-destructive-foreground shadow hover:bg-destructive/80",outline:"text-foreground"}},defaultVariants:{variant:"default"}});function i(e){let{className:t,variant:r,...a}=e;return(0,s.jsx)("div",{className:(0,n.cn)(l({variant:r}),t),...a})}},42541:(e,t,r)=>{"use strict";r.d(t,{$:()=>c,r:()=>d});var s=r(20475),a=r(20107),n=r(61837),l=r(29395),i=r(22250);let d=(0,l.F)("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{variants:{variant:{default:"bg-primary text-primary-foreground shadow hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90",outline:"border border-input bg-background shadow-sm hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2",sm:"h-8 rounded-md px-3 text-xs",lg:"h-10 rounded-md px-8",icon:"h-9 w-9"}},defaultVariants:{variant:"default",size:"default"}}),c=a.forwardRef((e,t)=>{let{className:r,variant:a,size:l,asChild:c=!1,...o}=e,u=c?n.DX:"button";return(0,s.jsx)(u,{className:(0,i.cn)(d({variant:a,size:l,className:r})),ref:t,...o})});c.displayName="Button"},72167:(e,t,r)=>{"use strict";r.d(t,{BT:()=>c,Wu:()=>o,ZB:()=>d,Zp:()=>l,aR:()=>i,wL:()=>u});var s=r(20475),a=r(20107),n=r(22250);let l=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,s.jsx)("div",{ref:t,className:(0,n.cn)("rounded-xl border bg-card text-card-foreground shadow",r),...a})});l.displayName="Card";let i=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,s.jsx)("div",{ref:t,className:(0,n.cn)("flex flex-col space-y-1.5 p-6",r),...a})});i.displayName="CardHeader";let d=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,s.jsx)("h3",{ref:t,className:(0,n.cn)("font-semibold leading-none tracking-tight",r),...a})});d.displayName="CardTitle";let c=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,s.jsx)("p",{ref:t,className:(0,n.cn)("text-sm text-muted-foreground",r),...a})});c.displayName="CardDescription";let o=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,s.jsx)("div",{ref:t,className:(0,n.cn)("p-6 pt-0",r),...a})});o.displayName="CardContent";let u=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,s.jsx)("div",{ref:t,className:(0,n.cn)("flex items-center p-6 pt-0",r),...a})});u.displayName="CardFooter"},64219:(e,t,r)=>{"use strict";r.d(t,{p:()=>l});var s=r(20475),a=r(20107),n=r(22250);let l=a.forwardRef((e,t)=>{let{className:r,type:a,...l}=e;return(0,s.jsx)("input",{type:a,className:(0,n.cn)("flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-sm shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50",r),ref:t,...l})});l.displayName="Input"},49153:(e,t,r)=>{"use strict";r.d(t,{J:()=>c});var s=r(20475),a=r(20107),n=r(21840),l=r(29395),i=r(22250);let d=(0,l.F)("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),c=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,s.jsx)(n.b,{ref:t,className:(0,i.cn)(d(),r),...a})});c.displayName=n.b.displayName},36824:(e,t,r)=>{"use strict";r.d(t,{$:()=>d,F:()=>i});var s=r(20475),a=r(20107),n=r(89679),l=r(22250);let i=a.forwardRef((e,t)=>{let{className:r,children:a,...i}=e;return(0,s.jsxs)(n.bL,{ref:t,className:(0,l.cn)("relative overflow-hidden",r),...i,children:[(0,s.jsx)(n.LM,{className:"h-full w-full rounded-[inherit]",children:a}),(0,s.jsx)(d,{}),(0,s.jsx)(n.OK,{})]})});i.displayName=n.bL.displayName;let d=a.forwardRef((e,t)=>{let{className:r,orientation:a="vertical",...i}=e;return(0,s.jsx)(n.VM,{ref:t,orientation:a,className:(0,l.cn)("flex touch-none select-none transition-colors","vertical"===a&&"h-full w-2.5 border-l border-l-transparent p-[1px]","horizontal"===a&&"h-2.5 flex-col border-t border-t-transparent p-[1px]",r),...i,children:(0,s.jsx)(n.lr,{className:"relative flex-1 rounded-full bg-border"})})});d.displayName=n.VM.displayName},35601:(e,t,r)=>{"use strict";r.d(t,{TR:()=>x,bq:()=>u,eb:()=>p,gC:()=>h,l6:()=>d,s3:()=>c,yv:()=>o});var s=r(20475),a=r(20107),n=r(7197),l=r(95257),i=r(22250);let d=l.bL,c=l.YJ,o=l.WT,u=a.forwardRef((e,t)=>{let{className:r,children:a,...d}=e;return(0,s.jsxs)(l.l9,{ref:t,className:(0,i.cn)("flex h-9 w-full items-center justify-between whitespace-nowrap rounded-md border border-input bg-transparent px-3 py-2 text-sm shadow-sm ring-offset-background placeholder:text-muted-foreground focus:outline-none focus:ring-1 focus:ring-ring disabled:cursor-not-allowed disabled:opacity-50 [&>span]:line-clamp-1",r),...d,children:[a,(0,s.jsx)(l.In,{asChild:!0,children:(0,s.jsx)(n.TBE,{className:"h-4 w-4 opacity-50"})})]})});u.displayName=l.l9.displayName;let m=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,s.jsx)(l.PP,{ref:t,className:(0,i.cn)("flex cursor-default items-center justify-center py-1",r),...a,children:(0,s.jsx)(n.Mtm,{})})});m.displayName=l.PP.displayName;let f=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,s.jsx)(l.wn,{ref:t,className:(0,i.cn)("flex cursor-default items-center justify-center py-1",r),...a,children:(0,s.jsx)(n.D3D,{})})});f.displayName=l.wn.displayName;let h=a.forwardRef((e,t)=>{let{className:r,children:a,position:n="popper",...d}=e;return(0,s.jsx)(l.ZL,{children:(0,s.jsxs)(l.UC,{ref:t,className:(0,i.cn)("relative z-50 max-h-96 min-w-[8rem] overflow-hidden rounded-md border bg-popover text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2","popper"===n&&"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",r),position:n,...d,children:[(0,s.jsx)(m,{}),(0,s.jsx)(l.LM,{className:(0,i.cn)("p-1","popper"===n&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"),children:a}),(0,s.jsx)(f,{})]})})});h.displayName=l.UC.displayName;let x=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,s.jsx)(l.JU,{ref:t,className:(0,i.cn)("px-2 py-1.5 text-sm font-semibold",r),...a})});x.displayName=l.JU.displayName;let p=a.forwardRef((e,t)=>{let{className:r,children:a,...d}=e;return(0,s.jsxs)(l.q7,{ref:t,className:(0,i.cn)("relative flex w-full cursor-default select-none items-center rounded-sm py-1.5 pl-2 pr-8 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",r),...d,children:[(0,s.jsx)("span",{className:"absolute right-2 flex h-3.5 w-3.5 items-center justify-center",children:(0,s.jsx)(l.VF,{children:(0,s.jsx)(n.Srz,{className:"h-4 w-4"})})}),(0,s.jsx)(l.p4,{children:a})]})});p.displayName=l.q7.displayName,a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,s.jsx)(l.wv,{ref:t,className:(0,i.cn)("-mx-1 my-1 h-px bg-muted",r),...a})}).displayName=l.wv.displayName},22250:(e,t,r)=>{"use strict";r.d(t,{cn:()=>n});var s=r(64901),a=r(868);function n(){for(var e=arguments.length,t=Array(e),r=0;r{"use strict";r.d(t,{A:()=>s});let s=(0,r(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"}]])},38545:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});let s=(0,r(39997).A)("CircleX",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m15 9-6 6",key:"1uzhvr"}],["path",{d:"m9 9 6 6",key:"z0biqf"}]])},13624:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});let s=(0,r(39997).A)("Info",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]])},91994:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});let s=(0,r(39997).A)("RefreshCw",[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]])},27720:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});let s=(0,r(39997).A)("Search",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]])},54245:(e,t,r)=>{"use strict";r.d(t,{C:()=>l});var s=r(20107),a=r(64236),n=r(54122),l=e=>{let{present:t,children:r}=e,l=function(e){var t,r;let[a,l]=s.useState(),d=s.useRef({}),c=s.useRef(e),o=s.useRef("none"),[u,m]=(t=e?"mounted":"unmounted",r={mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}},s.useReducer((e,t)=>{let s=r[e][t];return null!=s?s:e},t));return s.useEffect(()=>{let e=i(d.current);o.current="mounted"===u?e:"none"},[u]),(0,n.N)(()=>{let t=d.current,r=c.current;if(r!==e){let s=o.current,a=i(t);e?m("MOUNT"):"none"===a||(null==t?void 0:t.display)==="none"?m("UNMOUNT"):r&&s!==a?m("ANIMATION_OUT"):m("UNMOUNT"),c.current=e}},[e,m]),(0,n.N)(()=>{if(a){var e;let t;let r=null!==(e=a.ownerDocument.defaultView)&&void 0!==e?e:window,s=e=>{let s=i(d.current).includes(e.animationName);if(e.target===a&&s&&(m("ANIMATION_END"),!c.current)){let e=a.style.animationFillMode;a.style.animationFillMode="forwards",t=r.setTimeout(()=>{"forwards"===a.style.animationFillMode&&(a.style.animationFillMode=e)})}},n=e=>{e.target===a&&(o.current=i(d.current))};return a.addEventListener("animationstart",n),a.addEventListener("animationcancel",s),a.addEventListener("animationend",s),()=>{r.clearTimeout(t),a.removeEventListener("animationstart",n),a.removeEventListener("animationcancel",s),a.removeEventListener("animationend",s)}}m("ANIMATION_END")},[a,m]),{isPresent:["mounted","unmountSuspended"].includes(u),ref:s.useCallback(e=>{e&&(d.current=getComputedStyle(e)),l(e)},[])}}(t),d="function"==typeof r?r({present:l.isPresent}):s.Children.only(r),c=(0,a.s)(l.ref,function(e){var t,r;let s=null===(t=Object.getOwnPropertyDescriptor(e.props,"ref"))||void 0===t?void 0:t.get,a=s&&"isReactWarning"in s&&s.isReactWarning;return a?e.ref:(a=(s=null===(r=Object.getOwnPropertyDescriptor(e,"ref"))||void 0===r?void 0:r.get)&&"isReactWarning"in s&&s.isReactWarning)?e.props.ref:e.props.ref||e.ref}(d));return"function"==typeof r||l.isPresent?s.cloneElement(d,{ref:c}):null};function i(e){return(null==e?void 0:e.animationName)||"none"}l.displayName="Presence"}},e=>{var t=t=>e(e.s=t);e.O(0,[9980,7780,8885,3746,9464,3494,9679,191,6035,7358],()=>t(72770)),_N_E=e.O()}]); \ No newline at end of file diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/home/page-661b3af7c8f413d7.js b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/home/page-33d481e5935a59d3.js similarity index 65% rename from ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/home/page-661b3af7c8f413d7.js rename to ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/home/page-33d481e5935a59d3.js index 32af53d..e401a92 100644 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/home/page-661b3af7c8f413d7.js +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/home/page-33d481e5935a59d3.js @@ -1 +1 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6665],{98722:(e,s,t)=>{Promise.resolve().then(t.bind(t,42988))},42988:(e,s,t)=>{"use strict";t.r(s),t.d(s,{default:()=>eK});var r=t(20475),l=t(20107),n=t(32857),a=t(72167),i=t(36760),o=t(45934);let d=e=>{let{data:s,isLoading:t,hideSensitiveData:l}=e;return(0,r.jsxs)(a.Zp,{children:[(0,r.jsxs)(a.aR,{children:[(0,r.jsx)(a.ZB,{children:"Sim Card"}),(0,r.jsx)(a.BT,{children:"Sim card information"})]}),(0,r.jsxs)(a.Wu,{className:"grid gap-2",children:[(0,r.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,r.jsx)("p",{children:"Sim Card Slot in Use"}),t?(0,r.jsx)(i.E,{className:"h-4 w-[50px]"}):(0,r.jsx)("p",{className:"font-bold",children:null==s?void 0:s.simCard.slot})]}),(0,r.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,r.jsx)("p",{children:"Sim Card State"}),t?(0,r.jsx)(i.E,{className:"h-6 w-[100px]"}):(0,r.jsx)(o.E,{className:"font-bold ".concat((null==s?void 0:s.simCard.state)==="Inserted"?"bg-emerald-500 hover:bg-emerald-800":"bg-rose-500 hover:bg-rose-800"),children:null==s?void 0:s.simCard.state})]}),(0,r.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,r.jsx)("p",{children:"Provider"}),t?(0,r.jsx)(i.E,{className:"h-4 w-[100px]"}):(0,r.jsx)("p",{className:"font-bold",children:null==s?void 0:s.simCard.provider})]}),(0,r.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,r.jsx)("p",{children:"Phone Number"}),t?(0,r.jsx)(i.E,{className:"h-4 w-[140px]"}):l?(0,r.jsx)("div",{className:"border-none bg-gray-600 rounded-md h-5 md:w-36 w-24"}):(0,r.jsx)("p",{className:"font-bold",children:null==s?void 0:s.simCard.phoneNumber})]}),(0,r.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,r.jsx)("p",{children:"IMSI"}),t?(0,r.jsx)(i.E,{className:"h-4 w-[140px]"}):l?(0,r.jsx)("div",{className:"border-none bg-gray-600 rounded-md h-5 md:w-36 w-24"}):(0,r.jsx)("p",{className:"font-bold",children:null==s?void 0:s.simCard.imsi})]}),(0,r.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,r.jsx)("p",{children:"ICCID"}),t?(0,r.jsx)(i.E,{className:"h-4 w-[140px]"}):l?(0,r.jsx)("div",{className:"border-none bg-gray-600 rounded-md h-5 md:w-36 w-24"}):(0,r.jsx)("p",{className:"font-bold",children:null==s?void 0:s.simCard.iccid})]}),(0,r.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,r.jsx)("p",{children:"IMEI"}),t?(0,r.jsx)(i.E,{className:"h-4 w-[140px]"}):l?(0,r.jsx)("div",{className:"border-none bg-gray-600 rounded-md h-5 md:w-36 w-24"}):(0,r.jsx)("p",{className:"font-bold",children:null==s?void 0:s.simCard.imei})]})]})]})},c={6:"1.4 MHz",15:"3 MHz",25:"5 MHz",50:"10 MHz",75:"15 MHz",100:"20 MHz"},m={0:"5 MHz",1:"10 MHz",2:"15 MHz",3:"20 MHz",4:"25 MHz",5:"30 MHz",6:"40 MHz",7:"50 MHz",8:"60 MHz",9:"70 MHz",10:"80 MHz",11:"90 MHz",12:"100 MHz",13:"200 MHz",14:"400 MHz",15:"35 MHz",16:"45 MHz"},u={2:"UTRAN",4:"HSDPA",5:"HSUPA",6:"HSDPA & HSUPA",7:"E-UTRAN",10:"E-UTRAN - 5GCN",11:"NR - 5GCN",12:"NG-RAN",13:"E-UTRAN-NR Dual"},x=e=>u[e]||"Unknown",h=e=>{let{data:s,isLoading:t,dataConnectionState:l,connectionStateLoading:n}=e;return(0,r.jsxs)(a.Zp,{children:[(0,r.jsxs)(a.aR,{children:[(0,r.jsx)(a.ZB,{children:"Connection"}),(0,r.jsx)(a.BT,{children:"Connection information"})]}),(0,r.jsxs)(a.Wu,{className:"grid gap-2",children:[(0,r.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,r.jsx)("div",{children:"APN"}),t?(0,r.jsx)(i.E,{className:"h-4 w-[100px]"}):(0,r.jsx)("div",{className:"font-bold",children:null==s?void 0:s.connection.apn})]}),(0,r.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,r.jsx)("div",{children:"Operator State"}),t?(0,r.jsx)(i.E,{className:"h-6 w-[100px]"}):(0,r.jsx)(o.E,{className:"font-bold ".concat((null==s?void 0:s.connection.operatorState)==="Unknown"||(null==s?void 0:s.connection.operatorState)==="Denied"||(null==s?void 0:s.connection.operatorState)==="Not Registered"?"bg-rose-500 hover:bg-rose-800":"bg-emerald-500 hover:bg-emerald-800"),children:null==s?void 0:s.connection.operatorState})]}),(0,r.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,r.jsx)("div",{children:"Functionality State"}),t?(0,r.jsx)(i.E,{className:"h-6 w-[100px]"}):(0,r.jsx)(o.E,{className:"font-bold ".concat((null==s?void 0:s.connection.functionalityState)==="Enabled"?"bg-emerald-500 hover:bg-emerald-800":"bg-rose-500 hover:bg-rose-800"),children:null==s?void 0:s.connection.functionalityState})]}),(0,r.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,r.jsx)("div",{children:"Data Connection State"}),n?(0,r.jsx)(i.E,{className:"h-6 w-[100px]"}):(0,r.jsx)(o.E,{className:"font-bold ".concat("Connected"===l?"bg-emerald-500 hover:bg-emerald-800":"bg-rose-500 hover:bg-rose-800"),children:l})]}),(0,r.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,r.jsx)("div",{children:"Network Type"}),t?(0,r.jsx)(i.E,{className:"h-4 w-[100px]"}):(0,r.jsx)("div",{className:"font-bold",children:null==s?void 0:s.connection.networkType})]}),(0,r.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,r.jsx)("div",{children:"Modem Temperature"}),t?(0,r.jsx)(i.E,{className:"h-4 w-[100px]"}):(0,r.jsx)("div",{className:"font-bold",children:null==s?void 0:s.connection.modemTemperature})]}),(0,r.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,r.jsx)("div",{children:"Access Technology"}),t?(0,r.jsx)(i.E,{className:"h-4 w-[100px]"}):(0,r.jsx)("div",{className:"font-bold",children:(null==s?void 0:s.connection.accessTechnology)?x(s.connection.accessTechnology):"Unknown"})]})]})]})},p=e=>{let{data:s,isLoading:t,bytesSent:l,bytesReceived:n}=e;return(0,r.jsxs)(a.Zp,{children:[(0,r.jsxs)(a.aR,{children:[(0,r.jsx)(a.ZB,{children:"Data Transmission"}),(0,r.jsx)(a.BT,{children:"Data transmission information"})]}),(0,r.jsxs)(a.Wu,{className:"grid gap-2",children:[(0,r.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,r.jsx)("p",{children:"Carrier Aggregation"}),t?(0,r.jsx)(i.E,{className:"h-6 w-[100px]"}):(0,r.jsx)(o.E,{className:"font-bold ".concat((null==s?void 0:s.dataTransmission.carrierAggregation)==="Multi"?"bg-emerald-500 hover:bg-emerald-800":"bg-rose-500 hover:bg-rose-800"),children:null==s?void 0:s.dataTransmission.carrierAggregation})]}),(0,r.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,r.jsx)("p",{children:"Bandwidth"}),t?(0,r.jsx)(i.E,{className:"h-4 w-[100px]"}):(0,r.jsx)("p",{className:"font-bold",children:null==s?void 0:s.dataTransmission.bandwidth})]}),(0,r.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,r.jsx)("p",{children:"Connected Bands"}),t?(0,r.jsx)(i.E,{className:"h-4 w-[100px]"}):(0,r.jsx)("p",{className:"font-bold",children:null==s?void 0:s.dataTransmission.connectedBands})]}),(0,r.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,r.jsx)("p",{children:"Signal Strength"}),t?(0,r.jsx)(i.E,{className:"h-6 w-[100px]"}):(0,r.jsx)(o.E,{className:"font-bold ".concat((null==s?void 0:s.dataTransmission.signalStrength)&&parseInt(null==s?void 0:s.dataTransmission.signalStrength)>80?"bg-emerald-500 hover:bg-emerald-800":(null==s?void 0:s.dataTransmission.signalStrength)&&parseInt(null==s?void 0:s.dataTransmission.signalStrength)>40?"bg-orange-500 hover:bg-orange-800":"bg-rose-500 hover:bg-rose-800"),children:null==s?void 0:s.dataTransmission.signalStrength})]}),(0,r.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,r.jsx)("p",{children:"MIMO Layers"}),t?(0,r.jsx)(i.E,{className:"h-4 w-[100px]"}):(0,r.jsx)("p",{className:"font-bold",children:null==s?void 0:s.dataTransmission.mimoLayers})]}),(0,r.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,r.jsx)("p",{children:"Bytes Sent"}),(0,r.jsx)("p",{className:"font-bold",children:l})]}),(0,r.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,r.jsx)("p",{children:"Bytes Received"}),(0,r.jsx)("p",{className:"font-bold",children:n})]})]})]})};var f=t(85014);let g=e=>{let{data:s,isLoading:t}=e;return(0,r.jsxs)(a.Zp,{children:[(0,r.jsxs)(a.aR,{children:[(0,r.jsx)(a.ZB,{children:"Cellular Information"}),(0,r.jsx)(a.BT,{children:"Cellular network information"})]}),(0,r.jsxs)(a.Wu,{className:"grid gap-2",children:[(0,r.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,r.jsx)("p",{children:"Cell ID"}),t?(0,r.jsx)(i.E,{className:"h-4 w-[80px]"}):(0,r.jsx)("p",{className:"font-bold",children:null==s?void 0:s.cellularInfo.cellId})]}),(0,r.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,r.jsx)(f.TooltipProvider,{children:(0,r.jsxs)(f.m_,{children:[(0,r.jsx)(f.k$,{children:"TAC"}),(0,r.jsx)(f.ZI,{children:(0,r.jsx)("div",{className:"grid grid-cols-1 gap-1",children:(0,r.jsx)("span",{className:"font-medium",children:"Region / Tracking Area Code"})})})]})}),t?(0,r.jsx)(i.E,{className:"h-4 w-[80px]"}):(0,r.jsx)("p",{className:"font-bold",children:null==s?void 0:s.cellularInfo.trackingAreaCode})]}),(0,r.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,r.jsx)("p",{children:"Physical Cell IDs"}),t?(0,r.jsx)(i.E,{className:"h-4 w-[80px]"}):(0,r.jsx)("p",{className:"font-bold",children:null==s?void 0:s.cellularInfo.physicalCellId})]}),(0,r.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,r.jsx)("p",{children:"E/ARFCN"}),t?(0,r.jsx)(i.E,{className:"h-4 w-[80px]"}):(0,r.jsx)("p",{className:"font-bold",children:null==s?void 0:s.cellularInfo.earfcn})]}),(0,r.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,r.jsx)("p",{children:"Mobile Country Code"}),t?(0,r.jsx)(i.E,{className:"h-4 w-[80px]"}):(0,r.jsx)("p",{className:"font-bold",children:null==s?void 0:s.cellularInfo.mcc})]}),(0,r.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,r.jsx)("p",{children:"Mobile Network Code"}),t?(0,r.jsx)(i.E,{className:"h-4 w-[80px]"}):(0,r.jsx)("p",{className:"font-bold",children:null==s?void 0:s.cellularInfo.mnc})]}),(0,r.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,r.jsx)("p",{children:"Antenna Signal Quality"}),t?(0,r.jsx)(i.E,{className:"h-6 w-[80px]"}):(0,r.jsx)(o.E,{className:"\n font-bold ".concat((null==s?void 0:s.cellularInfo.signalQuality)&&parseInt(null==s?void 0:s.cellularInfo.signalQuality)>80?"bg-emerald-500 hover:bg-emerald-800":(null==s?void 0:s.cellularInfo.signalQuality)&&parseInt(null==s?void 0:s.cellularInfo.signalQuality)>40?"bg-orange-500 hover:bg-orange-800":"bg-rose-500 hover:bg-rose-800"),children:null==s?void 0:s.cellularInfo.signalQuality})]})]})]})};var v=t(1307),j=t(53134),N=t(94005),w=t(4538),b=t(41797),y=t(79492);let S={signal:{label:"LTE/5G Signal Metrics"},rsrp:{label:"RSRP",color:"hsl(var(--chart-1))"},rsrq:{label:"RSRQ",color:"hsl(var(--chart-2))"},sinr:{label:"SINR",color:"hsl(var(--chart-3))"}},A=e=>{let s=e.split("\n").filter(e=>e.trim()),t=[];s.forEach(e=>{let s=e.match(/-?\d+/g);s&&t.push(...s.map(Number))});let r=t.filter(e=>-140!==e&&-32768!==e);return 0===r.length?0:Math.round(r.reduce((e,s)=>e+s,0)/r.length)},C=()=>{let[e,s]=(0,l.useState)(()=>{let e=new Date;return Array.from({length:5},(s,t)=>({time:new Date(e.getTime()-(4-t)*3e3).toISOString(),rsrp:0,rsrq:0,sinr:0}))}),[t,n]=(0,l.useState)("rsrp"),[o,d]=(0,l.useState)(!0),[c,m]=(0,l.useState)(null),u=(0,l.useCallback)(async()=>{try{let e;let t=await fetch("/cgi-bin/quecmanager/home/fetch_signal_metrics.sh");if(!t.ok)throw Error("Failed to fetch signal metrics");try{e=await t.json()}catch(e){throw console.error("Error parsing JSON:",e),Error("Failed to parse signal metrics data")}let r=Math.min(e.rsrp.length,e.rsrq.length,e.sinr.length);if(0===r)throw Error("No signal metrics data available");let l=Array.from({length:r},(s,t)=>({time:e.rsrp[t].datetime,rsrp:A(e.rsrp[t].output),rsrq:A(e.rsrq[t].output),sinr:A(e.sinr[t].output)}));s(l),m(null)}catch(t){console.error("Error fetching metrics:",t),m(t instanceof Error?t.message:"An unknown error occurred");let e=new Date().toISOString();s(s=>{let t=[...s];return t.length>=20&&t.shift(),t.push({time:e,rsrp:0,rsrq:0,sinr:0}),t})}finally{d(!1)}},[]);(0,l.useEffect)(()=>{u();let e=setInterval(u,15e3);return()=>clearInterval(e)},[u]);let x=e.length>0?e[e.length-1]:{rsrp:0,rsrq:0,sinr:0};return c?(0,r.jsx)(a.Zp,{children:(0,r.jsxs)(a.aR,{children:[(0,r.jsx)(a.ZB,{children:"Error Loading Signal Metrics"}),(0,r.jsx)(a.BT,{children:c})]})}):(0,r.jsxs)(a.Zp,{children:[(0,r.jsxs)(a.aR,{className:"flex flex-col items-stretch space-y-0 border-b p-0 sm:flex-row",children:[(0,r.jsxs)("div",{className:"flex flex-1 flex-col justify-center gap-1 px-6 py-5 sm:py-6",children:[(0,r.jsx)(a.ZB,{children:"Antenna Port Signal Metrics"}),(0,r.jsx)(a.BT,{children:"Per-port signal values averaged across all active ports"})]}),(0,r.jsx)("div",{className:"flex",children:["rsrp","rsrq","sinr"].map(e=>(0,r.jsxs)("button",{"data-active":t===e,className:"flex flex-1 flex-col justify-center gap-1 border-t px-6 py-4 text-left even:border-l data-[active=true]:bg-muted/50 sm:border-l sm:border-t-0 sm:px-8 sm:py-6",onClick:()=>n(e),children:[(0,r.jsx)("span",{className:"text-xs text-muted-foreground",children:S[e].label}),o?(0,r.jsx)(i.E,{className:"lg:h-10 h-6 w-full"}):(0,r.jsx)("span",{className:"text-base font-bold leading-none sm:text-3xl",children:x[e].toFixed(0)})]},e))})]}),(0,r.jsx)(a.Wu,{className:"px-2 sm:p-6",children:(0,r.jsx)(v.at,{config:S,className:"aspect-auto h-[250px] w-full",children:(0,r.jsxs)(j.Q,{accessibilityLayer:!0,data:e,margin:{left:12,right:12},children:[(0,r.jsxs)("defs",{children:[(0,r.jsxs)("linearGradient",{id:"fillRsrp",x1:"0",y1:"0",x2:"0",y2:"1",children:[(0,r.jsx)("stop",{offset:"5%",stopColor:"var(--color-rsrp)",stopOpacity:.8}),(0,r.jsx)("stop",{offset:"95%",stopColor:"var(--color-rsrp)",stopOpacity:.1})]}),(0,r.jsxs)("linearGradient",{id:"fillRsrq",x1:"0",y1:"0",x2:"0",y2:"1",children:[(0,r.jsx)("stop",{offset:"5%",stopColor:"var(--color-rsrq)",stopOpacity:.8}),(0,r.jsx)("stop",{offset:"95%",stopColor:"var(--color-rsrq)",stopOpacity:.1})]}),(0,r.jsxs)("linearGradient",{id:"fillSinr",x1:"0",y1:"0",x2:"0",y2:"1",children:[(0,r.jsx)("stop",{offset:"5%",stopColor:"var(--color-sinr)",stopOpacity:.8}),(0,r.jsx)("stop",{offset:"95%",stopColor:"var(--color-sinr)",stopOpacity:.1})]})]}),(0,r.jsx)(N.d,{vertical:!1}),(0,r.jsx)(w.W,{dataKey:"time",tickLine:!1,axisLine:!1,tickMargin:8,minTickGap:32,tickFormatter:e=>new Date(e).toLocaleTimeString("en-US",{hour:"2-digit",minute:"2-digit",hour12:!0})}),(0,r.jsx)(b.h,{hide:!0,domain:(e=>{switch(e){case"rsrp":return[-140,-60];case"rsrq":return[-20,0];case"sinr":return[-10,30];default:return[0,"auto"]}})(t)}),(0,r.jsx)(v.II,{content:(0,r.jsx)(v.Nt,{className:"w-[200px]",nameKey:"metric",labelFormatter:e=>new Date(e).toLocaleTimeString("en-US",{hour:"2-digit",minute:"2-digit",second:"2-digit",hour12:!0})})}),(0,r.jsx)(y.G,{dataKey:t,type:"monotone",stroke:"var(--color-".concat(t,")"),fill:"url(#fill".concat(t.charAt(0).toUpperCase()+t.slice(1),")"),strokeWidth:2,activeDot:{r:4},baseValue:(e=>{switch(e){case"rsrp":return -140;case"rsrq":return -20;case"sinr":return -10;default:return 0}})(t)})]})})}),(0,r.jsxs)(a.wL,{className:"flex-col items-start gap-2 text-sm",children:[(0,r.jsx)("div",{className:"flex gap-2 font-medium leading-none",children:"Displays aggregated signal metrics across all active antenna ports."}),(0,r.jsx)("div",{className:"leading-none text-muted-foreground italic",children:"Higher values indicate better signal quality."})]})]})};var I=t(92867),k=t(32810);let E=e=>"".concat(Math.round(e/1048576)," MB"),T=()=>{let[e,s]=(0,l.useState)({total:0,used:0,available:0}),[t,n]=(0,l.useState)({enabled:!1,interval:2,running:!1}),[o,d]=(0,l.useState)(!0),[c,m]=(0,l.useState)(!1),u=(0,l.useCallback)(async()=>{try{let e=await fetch("/cgi-bin/quecmanager/home/memory/fetch_memory.sh",{method:"GET",cache:"no-store",headers:{"Content-Type":"application/json"}});if(!e.ok)return!1;let t=await e.json();if("success"===t.status&&t.data)return s(t.data),m(!0),!0;return!1}catch(e){return console.error("Failed to fetch memory data:",e),!1}},[]),x=(0,l.useCallback)(async()=>{try{let e=await fetch("/cgi-bin/quecmanager/home/memory/memory_service.sh",{method:"GET",cache:"no-store",headers:{"Content-Type":"application/json"}});if(!e.ok)return null;let s=await e.json();if("success"===s.status&&s.data)return n(s.data),s.data;return null}catch(e){return console.error("Failed to fetch memory config:",e),null}},[]);return(0,l.useEffect)(()=>{let e=null;return(async()=>{d(!0);let s=await x();(null==s?void 0:s.enabled)&&(await u(),e=setInterval(u,Math.max(1e3*(s.interval||2),1e3))),d(!1)})(),()=>{e&&clearInterval(e)}},[]),(0,r.jsxs)(a.Zp,{children:[(0,r.jsxs)(a.aR,{className:"flex flex-row items-center justify-between",children:[(0,r.jsx)(a.ZB,{children:"Memory"}),t.enabled&&t.running?(0,r.jsx)(I.A,{className:"h-4 w-4 text-green-500"}):(0,r.jsx)(k.A,{className:"h-4 w-4 text-red-500"})]}),(0,r.jsx)(a.Wu,{children:o||!c?(0,r.jsxs)("div",{className:"grid lg:grid-cols-3 grid-cols-2 grid-flow-row gap-4 col-span-3",children:[(0,r.jsxs)("div",{className:"grid gap-1",children:[(0,r.jsx)("span",{className:"text-sm text-muted-foreground",children:"Total"}),(0,r.jsx)(i.E,{className:"h-5 w-24"})]}),(0,r.jsxs)("div",{className:"grid gap-1",children:[(0,r.jsx)("span",{className:"text-sm text-muted-foreground",children:"Used"}),(0,r.jsx)(i.E,{className:"h-5 w-24"})]}),(0,r.jsxs)("div",{className:"grid gap-1",children:[(0,r.jsx)("span",{className:"text-sm text-muted-foreground",children:"Available"}),(0,r.jsx)(i.E,{className:"h-5 w-24"})]})]}):t.enabled?(0,r.jsxs)("div",{className:"grid lg:grid-cols-3 grid-cols-2 grid-flow-row gap-4 col-span-3",children:[(0,r.jsxs)("div",{className:"grid gap-1",children:[(0,r.jsx)("span",{className:"text-sm text-muted-foreground",children:"Total"}),(0,r.jsx)("span",{className:"text-base font-bold",children:E(e.total)})]}),(0,r.jsxs)("div",{className:"grid gap-1",children:[(0,r.jsx)("span",{className:"text-sm text-muted-foreground",children:"Used"}),(0,r.jsx)("span",{className:"text-base font-bold",children:E(e.used)})]}),(0,r.jsxs)("div",{className:"grid gap-1",children:[(0,r.jsx)("span",{className:"text-sm text-muted-foreground",children:"Available"}),(0,r.jsx)("span",{className:"text-base font-bold",children:E(e.available)})]})]}):(0,r.jsxs)("div",{className:"text-center py-4",children:[(0,r.jsx)("p",{className:"text-sm text-muted-foreground",children:"Memory monitoring is disabled."}),(0,r.jsx)("p",{className:"text-xs text-muted-foreground mt-1",children:"Enable it in Settings → Personalization"})]})})]})},R={ms:{label:"ms",color:"hsl(var(--chart-4))"}},P=()=>new Date().toLocaleTimeString([],{hour:"2-digit",minute:"2-digit",second:"2-digit"}),M=()=>{let[e,s]=(0,l.useState)(()=>{let e=localStorage.getItem("pingData");return e?JSON.parse(e):[]}),[t,n]=(0,l.useState)(()=>{let e=localStorage.getItem("pingData");if(e){let s=JSON.parse(e);return s.length>0?s[s.length-1].ms:null}return null}),[d,c]=(0,l.useState)({enabled:!0,interval:5,host:"8.8.8.8",running:!1}),[m,u]=(0,l.useState)(()=>{let e=localStorage.getItem("pingData");return!e||0===JSON.parse(e).length}),[x,h]=(0,l.useState)(()=>{let e=localStorage.getItem("pingData");return!!e&&JSON.parse(e).length>0}),p=(0,l.useCallback)(async()=>{try{let e=await fetch("/cgi-bin/quecmanager/home/ping/fetch_ping.sh",{method:"GET",cache:"no-store",headers:{"Content-Type":"application/json"}});if(!e.ok)return!1;let t=await e.json();if("success"===t.status&&t.data){let e=t.data;if("number"==typeof e.latency){n(e.latency);let t={time:P(),ms:e.latency,index:0};s(e=>{let s;return s=e.length<5?[...e,t].map((e,s)=>({...e,index:s+1})):[...e.slice(1),t].map((e,s)=>({...e,index:s+1})),localStorage.setItem("pingData",JSON.stringify(s)),s}),h(!0)}return!0}return!1}catch(e){return console.error("Failed to fetch ping data:",e),!1}},[]),f=(0,l.useCallback)(async()=>{try{let e=await fetch("/cgi-bin/quecmanager/home/ping/ping_service.sh",{method:"GET",cache:"no-store",headers:{"Content-Type":"application/json"}});if(!e.ok)return null;let s=await e.json();if("success"===s.status&&s.data)return c(s.data),s.data;return null}catch(e){return console.error("Failed to fetch ping config:",e),null}},[]);return(0,l.useEffect)(()=>{let e=null;return(async()=>{u(!0);let s=await f();if(null==s?void 0:s.enabled){await p();let t=Math.max(1e3*(s.interval||5),1e3);console.log("Starting ping polling with ".concat(t,"ms interval (").concat(s.interval,"s from config)")),e=setInterval(p,t)}u(!1)})(),()=>{e&&clearInterval(e)}},[f,p]),(0,r.jsxs)(a.Zp,{children:[(0,r.jsxs)(a.aR,{className:"flex flex-row items-center justify-between space-y-0 pb-2",children:[(0,r.jsx)(a.ZB,{children:"Ping Latency"}),d.enabled?null!==t?(0,r.jsxs)(o.E,{className:"text-normal font-bold",children:[t," ms"]}):null:(0,r.jsx)(o.E,{variant:"secondary",className:"text-normal font-bold",children:"Ping Disabled"})]}),(0,r.jsx)(a.Wu,{children:m?(0,r.jsx)(i.E,{className:"h-[200px] w-full"}):d.enabled?x?(0,r.jsx)(v.at,{config:R,children:(0,r.jsxs)(j.Q,{accessibilityLayer:!0,data:e,margin:{top:5,right:10,left:0,bottom:5},children:[(0,r.jsx)("defs",{children:(0,r.jsxs)("linearGradient",{id:"fillPing",x1:"0",y1:"0",x2:"0",y2:"1",children:[(0,r.jsx)("stop",{offset:"5%",stopColor:"var(--color-ms)",stopOpacity:.8}),(0,r.jsx)("stop",{offset:"95%",stopColor:"var(--color-ms)",stopOpacity:.1})]})}),(0,r.jsx)(N.d,{vertical:!1,stroke:"var(--border)",strokeOpacity:.2}),(0,r.jsx)(w.W,{dataKey:"index",tickLine:!1,axisLine:!1,tickMargin:5,tick:{fontSize:9},ticks:[1,2,3,4,5]}),(0,r.jsx)(b.h,{hide:!1,domain:(()=>{if(0===e.length)return[0,100];let s=e.map(e=>e.ms);return[Math.max(0,Math.min(...s)-5),Math.max(...s)+5]})(),tickLine:!1,axisLine:!1,width:20,tick:{fontSize:10},tickFormatter:e=>"".concat(e)}),(0,r.jsx)(v.II,{cursor:!1,content:(0,r.jsx)(v.Nt,{labelFormatter:(s,t)=>{let r=e.find(e=>e.index===s);return r?"".concat(r.time):s},formatter:(e,s)=>["".concat(e," ms"),"Latency"]})}),(0,r.jsx)(y.G,{dataKey:"ms",type:"monotone",stroke:"var(--color-ms)",strokeWidth:2,fill:"url(#fillPing)",activeDot:{r:4,strokeWidth:0},isAnimationActive:!0,animationDuration:1200,animationEasing:"ease-in-out"})]})}):(0,r.jsx)("div",{className:"text-center py-4",children:(0,r.jsx)("p",{className:"text-sm text-muted-foreground",children:"Starting ping monitoring..."})}):(0,r.jsxs)("div",{className:"text-center py-4",children:[(0,r.jsx)("p",{className:"text-sm text-muted-foreground",children:"Ping monitoring is disabled."}),(0,r.jsx)("p",{className:"text-xs text-muted-foreground mt-1",children:"Enable it in Settings → Personalization"})]})})]})};var D=t(42541),z=t(93557),L=t(97801),U=t(51589),G=t(54385),B=t(14389),_=t(98969),F=t(17799),O=t(92776),q=t.n(O),Z=t(7197),H=t(74043),Q=t(22250);let W=l.createContext(null);function $(){let e=l.useContext(W);if(!e)throw Error("useCarousel must be used within a ");return e}let K=l.forwardRef((e,s)=>{let{orientation:t="horizontal",opts:n,setApi:a,plugins:i,className:o,children:d,...c}=e,[m,u]=(0,H.A)({...n,axis:"horizontal"===t?"x":"y"},i),[x,h]=l.useState(!1),[p,f]=l.useState(!1),g=l.useCallback(e=>{e&&(h(e.canScrollPrev()),f(e.canScrollNext()))},[]),v=l.useCallback(()=>{null==u||u.scrollPrev()},[u]),j=l.useCallback(()=>{null==u||u.scrollNext()},[u]),N=l.useCallback(e=>{"ArrowLeft"===e.key?(e.preventDefault(),v()):"ArrowRight"===e.key&&(e.preventDefault(),j())},[v,j]);return l.useEffect(()=>{u&&a&&a(u)},[u,a]),l.useEffect(()=>{if(u)return g(u),u.on("reInit",g),u.on("select",g),()=>{null==u||u.off("select",g)}},[u,g]),(0,r.jsx)(W.Provider,{value:{carouselRef:m,api:u,opts:n,orientation:t||((null==n?void 0:n.axis)==="y"?"vertical":"horizontal"),scrollPrev:v,scrollNext:j,canScrollPrev:x,canScrollNext:p},children:(0,r.jsx)("div",{ref:s,onKeyDownCapture:N,className:(0,Q.cn)("relative",o),role:"region","aria-roledescription":"carousel",...c,children:d})})});K.displayName="Carousel";let J=l.forwardRef((e,s)=>{let{className:t,...l}=e,{carouselRef:n,orientation:a}=$();return(0,r.jsx)("div",{ref:n,className:"overflow-hidden",children:(0,r.jsx)("div",{ref:s,className:(0,Q.cn)("flex","horizontal"===a?"-ml-4":"-mt-4 flex-col",t),...l})})});J.displayName="CarouselContent";let V=l.forwardRef((e,s)=>{let{className:t,...l}=e,{orientation:n}=$();return(0,r.jsx)("div",{ref:s,role:"group","aria-roledescription":"slide",className:(0,Q.cn)("min-w-0 shrink-0 grow-0 basis-full","horizontal"===n?"pl-4":"pt-4",t),...l})});V.displayName="CarouselItem",l.forwardRef((e,s)=>{let{className:t,variant:l="outline",size:n="icon",...a}=e,{orientation:i,scrollPrev:o,canScrollPrev:d}=$();return(0,r.jsxs)(D.$,{ref:s,variant:l,size:n,className:(0,Q.cn)("absolute h-8 w-8 rounded-full","horizontal"===i?"-left-12 top-1/2 -translate-y-1/2":"-top-12 left-1/2 -translate-x-1/2 rotate-90",t),disabled:!d,onClick:o,...a,children:[(0,r.jsx)(Z.A60,{className:"h-4 w-4"}),(0,r.jsx)("span",{className:"sr-only",children:"Previous slide"})]})}).displayName="CarouselPrevious",l.forwardRef((e,s)=>{let{className:t,variant:l="outline",size:n="icon",...a}=e,{orientation:i,scrollNext:o,canScrollNext:d}=$();return(0,r.jsxs)(D.$,{ref:s,variant:l,size:n,className:(0,Q.cn)("absolute h-8 w-8 rounded-full","horizontal"===i?"-right-12 top-1/2 -translate-y-1/2":"-bottom-12 left-1/2 -translate-x-1/2 rotate-90",t),disabled:!d,onClick:o,...a,children:[(0,r.jsx)(Z.flY,{className:"h-4 w-4"}),(0,r.jsx)("span",{className:"sr-only",children:"Next slide"})]})}).displayName="CarouselNext";let Y=e=>{let{id:s,bandNumber:t,earfcn:l,bandwidth:n,pci:i,rsrp:d,rsrq:c,sinr:m}=e;return(0,r.jsx)(a.Zp,{className:"p-8",children:(0,r.jsxs)("div",{className:"flex flex-row items-center gap-6 justify-between",children:[(0,r.jsxs)("div",{className:"grid gap-2 w-[180px]",children:[(0,r.jsx)("h2",{className:"text-md font-bold",children:"Band"}),(0,r.jsxs)("div",{className:"flex flex-row items-center gap-2",children:[t.replace("LTE BAND ","B").replace("NR5G BAND ","N"),t.includes("NR5G")&&(0,r.jsx)(o.E,{className:"text-xs bg-blue-600 hover:bg-blue-800",children:"NR 5G"})]})]}),(0,r.jsxs)("div",{className:"grid gap-2",children:[(0,r.jsx)("p",{className:"text-sm font-bold",children:"E/ARFCN"}),(0,r.jsx)("p",{children:l})]}),(0,r.jsxs)("div",{className:"grid gap-2",children:[(0,r.jsx)("p",{className:"text-sm font-bold",children:"Bandwidth"}),(0,r.jsx)("p",{children:n})]}),(0,r.jsxs)("div",{className:"grid gap-2",children:[(0,r.jsx)("p",{className:"text-sm font-bold",children:"Physical Cell ID"}),(0,r.jsx)("p",{children:i})]}),(0,r.jsxs)("div",{className:"grid gap-2",children:[(0,r.jsx)("p",{className:"text-sm font-bold",children:"RSRP"}),(0,r.jsxs)(o.E,{className:parseInt(d)>=-80?"bg-emerald-500 hover:bg-emerald-800":parseInt(d)>=-100?"bg-orange-500 hover:bg-orange-800":"bg-rose-500 hover:bg-rose-800",children:[d," dBm"]})]}),(0,r.jsxs)("div",{className:"grid gap-2",children:[(0,r.jsx)("p",{className:"text-sm font-bold",children:"RSRQ"}),(0,r.jsxs)(o.E,{className:10>=parseInt(c)?"bg-emerald-500 hover:bg-emerald-800":20>=parseInt(c)?"bg-orange-500 hover:bg-orange-800":"bg-rose-500 hover:bg-rose-800",children:[c," dB"]})]}),(0,r.jsxs)("div",{className:"grid gap-2",children:[(0,r.jsx)("p",{className:"text-sm font-bold",children:t.includes("NR5G")?"NR-SNR":"SINR"}),(0,r.jsxs)(o.E,{className:parseInt(m)>=(t.includes("NR5G")?20:14)?"bg-emerald-500 hover:bg-emerald-800":parseInt(m)>=-2?"bg-orange-500 hover:bg-orange-800":"bg-rose-500 hover:bg-rose-800",children:[m," dB"]})]})]})})},X=e=>{let{bands:s,isLoading:t}=e;return t?(0,r.jsxs)("div",{className:"flex items-center justify-center",children:[(0,r.jsx)("div",{className:"hidden lg:block w-full",children:(0,r.jsxs)(a.Zp,{className:"p-6 grid gap-4",children:[s&&s.map(e=>(0,r.jsx)(Y,{...e},e.id)),(0,r.jsx)(a.wL,{className:"w-full p-6 flex items-center justify-center",children:(0,r.jsx)(a.BT,{className:"text-md",children:"Currently bands connected."})})]})}),(0,r.jsx)(K,{className:"lg:hidden w-full max-w-xs",children:(0,r.jsx)(J,{children:(0,r.jsx)(V,{children:(0,r.jsx)("div",{className:"p-1",children:(0,r.jsx)(a.Zp,{children:(0,r.jsxs)(a.Wu,{className:"aspect-square p-4 gap-4 flex flex-col items-center justify-center flex-grow",children:[(0,r.jsxs)("div",{className:"flex justify-between w-full",children:[(0,r.jsx)("p",{children:"Band"}),(0,r.jsx)("div",{children:(0,r.jsx)(i.E,{className:"w-16 h-4"})})]}),(0,r.jsxs)("div",{className:"flex justify-between w-full",children:[(0,r.jsx)("p",{children:"E/ARFCN"}),(0,r.jsx)("div",{children:(0,r.jsx)(i.E,{className:"w-16 h-4"})})]}),(0,r.jsxs)("div",{className:"flex justify-between w-full",children:[(0,r.jsx)("p",{children:"Bandwidth"}),(0,r.jsx)("div",{children:(0,r.jsx)(i.E,{className:"w-16 h-4"})})]}),(0,r.jsxs)("div",{className:"flex justify-between w-full",children:[(0,r.jsx)("p",{children:"PCI"}),(0,r.jsx)("div",{children:(0,r.jsx)(i.E,{className:"w-16 h-4"})})]}),(0,r.jsxs)("div",{className:"flex justify-between w-full",children:[(0,r.jsx)("p",{children:"RSRP"}),(0,r.jsx)("div",{children:(0,r.jsx)(i.E,{className:"w-32 h-4"})})]}),(0,r.jsxs)("div",{className:"flex justify-between w-full",children:[(0,r.jsx)("p",{children:"RSRQ"}),(0,r.jsx)("div",{children:(0,r.jsx)(i.E,{className:"w-32 h-4"})})]}),(0,r.jsxs)("div",{className:"flex justify-between w-full",children:[(0,r.jsx)("p",{children:"SINR"}),(0,r.jsx)("div",{children:(0,r.jsx)(i.E,{className:"w-32 h-4"})})]})]})})})})})})]}):(0,r.jsxs)("div",{className:"flex items-center justify-center",children:[(0,r.jsx)("div",{className:"hidden lg:block w-full",children:(0,r.jsx)(a.Zp,{className:"p-6 grid gap-4",children:s&&s.map(e=>(0,r.jsx)(Y,{...e},e.id))})}),(0,r.jsx)(K,{className:"lg:hidden w-full max-w-xs",children:(0,r.jsx)(J,{children:null==s?void 0:s.map(e=>(0,r.jsx)(V,{className:"md:basis-1/2 lg:basis-1/3",children:(0,r.jsx)("div",{className:"p-1",children:(0,r.jsx)(a.Zp,{children:(0,r.jsxs)(a.Wu,{className:"aspect-square p-4 gap-4 flex flex-col items-center justify-center flex-grow",children:[(0,r.jsxs)("div",{className:"flex justify-between w-full",children:[(0,r.jsx)("p",{children:"Band"}),(0,r.jsx)("p",{children:e.bandNumber})]}),(0,r.jsxs)("div",{className:"flex justify-between w-full",children:[(0,r.jsx)("p",{children:"E/ARFCN"}),(0,r.jsx)("p",{children:e.earfcn})]}),(0,r.jsxs)("div",{className:"flex justify-between w-full",children:[(0,r.jsx)("p",{children:"Bandwidth"}),(0,r.jsx)("p",{children:e.bandwidth})]}),(0,r.jsxs)("div",{className:"flex justify-between w-full",children:[(0,r.jsx)("p",{children:"PCI"}),(0,r.jsx)("p",{children:e.pci})]}),(0,r.jsxs)("div",{className:"flex justify-between w-full",children:[(0,r.jsx)("p",{children:"RSRP"}),(0,r.jsxs)(o.E,{className:parseInt(e.rsrp)>=-80?"bg-emerald-500 hover:bg-emerald-800":parseInt(e.rsrp)>=-100?"bg-orange-500 hover:bg-orange-800":"bg-rose-500 hover:bg-rose-800",children:[e.rsrp," dBm"]})]}),(0,r.jsxs)("div",{className:"flex justify-between w-full",children:[(0,r.jsx)("p",{children:"RSRQ"}),(0,r.jsxs)(o.E,{className:10>=parseInt(e.rsrq)?"bg-emerald-500 hover:bg-emerald-800":20>=parseInt(e.rsrq)?"bg-orange-500 hover:bg-orange-800":"bg-rose-500 hover:bg-rose-800",children:[e.rsrq," dB"]})]}),(0,r.jsxs)("div",{className:"flex justify-between w-full",children:[(0,r.jsx)("p",{children:"SINR"}),(0,r.jsxs)(o.E,{className:parseInt(e.sinr)>=20?"bg-emerald-500 hover:bg-emerald-800":parseInt(e.sinr)>=-2?"bg-orange-500 hover:bg-orange-800":"bg-rose-500 hover:bg-rose-800",children:[e.sinr," dB"]})]})]})})})},e.id))})})]})},ee=function(e,s,t,r){let l=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"Unknown",n=arguments.length>5&&void 0!==arguments[5]?arguments[5]:":",a=arguments.length>6&&void 0!==arguments[6]?arguments[6]:",";try{var i,o,d;return(null===(d=e.split("\n")[s])||void 0===d?void 0:null===(o=d.split(n)[t])||void 0===o?void 0:null===(i=o.split(a)[r])||void 0===i?void 0:i.replace(/"/g,"").trim())||l}catch(e){return l}},es=function(e,s){var t,r;let l=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"-",n=ee((null===(r=e[15])||void 0===r?void 0:null===(t=r.response)||void 0===t?void 0:t.split("\n").find(e=>e.includes('QMAP: "WWAN"')&&e.includes('"'.concat(s,'"'))))||"",0,1,4,l," ",","),a="IPV6"==s?n.replace(/::/g,":"):n;return["0.0.0.0","::","::0","::0:0:0:0:0:0:0:0","0:0:0:0:0:0:0:0"].includes(a)?l:a},et=function(e,s,t,r,l){let n=arguments.length>5&&void 0!==arguments[5]?arguments[5]:"-";try{var a,i,o;if(!(null===(a=e[t])||void 0===a?void 0:a.response)||!(null===(i=e[l])||void 0===i?void 0:i.response))return n;let d=e[t].response.split("\n").filter(e=>e.includes('+QMAP: "WWAN"')),c=null===(o=d[0])||void 0===o?void 0:o.match(/\+QMAP: "WWAN",\d+,(\d+),/),m=c?c[1]:null;if(!m)return n;let u=e[l].response.split("\n").filter(e=>e.includes("+CGCONTRDP:")).find(e=>{let s=e.match(/\+CGCONTRDP: (\d+),/);return s&&s[1]===m});if(!u)return n;let x=u.split(",");if(x.length<=r[s])return n;return x[r[s]].replace(/"/g,"").trim()||n}catch(e){return console.error("Error parsing DNS address:",e),n}},er=e=>{try{let s=e.match(/^(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$/),t=e.split(".").length>4;return s?e:t?eN(e):e.replace(/:{3,}/g,"::")}catch(s){return console.error("Error formatting DNS address:",s),e}},el=e=>ee(e,1,1,3),en=(e,s)=>({1:"Registered",2:"Searching",3:"Denied",4:"Unknown",5:"Roaming"})[Number(ee(e,1,1,1))||Number(ee(s,1,1,1))]||"Not Registered",ea=e=>{let s=e.match(/"LTE BAND \d+"|"NR5G BAND \d+"/g)||[],t=null==s?void 0:s.some(e=>e.includes("LTE")),r=null==s?void 0:s.some(e=>e.includes("NR5G"));return t&&r?"NR5G-NSA":t?"LTE":r?"NR5G-SA":"No Signal"},ei=e=>{let s=["cpuss-0","cpuss-1","cpuss-2","cpuss-3"].map(s=>{var t;let r=e.split("\n").find(e=>e.includes(s));return parseInt(null==r?void 0:null===(t=r.split(":")[1])||void 0===t?void 0:t.split(",")[1].replace(/"/g,"").trim())}),t=s.reduce((e,s)=>e+s,0)/s.length;return"".concat(Math.round(t),"\xb0C")},eo=e=>{let s=[-140,-37625,-32768],t=e=>{var t;return(null==e?void 0:null===(t=e.split(":")[1])||void 0===t?void 0:t.split(",").slice(0,4).map(e=>parseInt(e.trim())).filter(e=>!s.includes(e)))||[]},r=t(e.split("\n").find(e=>e.includes("LTE"))),l=t(e.split("\n").find(e=>e.includes("NR5G"))),n=e=>Math.max(0,Math.min(100,(e.reduce((e,s)=>e+s,0)/e.length+125)/50*100)),a=r.length?n(r):null,i=l.length?n(l):null;return null!==a&&null!==i?"".concat(Math.round((a+i)/2),"%"):null!==a?"".concat(Math.round(a),"%"):null!==i?"".concat(Math.round(i),"%"):"Unknown%"},ed=function(e,s,t,r){let l=arguments.length>4&&void 0!==arguments[4]&&arguments[4],n=t[s],a=r[s];return void 0===n||void 0===a||l?void 0!==n&&void 0!==a&&l?ee(e,n,1,a).toUpperCase():"Unknown":parseInt(ee(e,n,1,a),16).toString().toUpperCase()},ec=(e,s,t)=>{let r=t[s];return ee(e,"NR5G-NSA"===s?2:1,1,r)},em=e=>{let s=[-140,-32768,-37625],t=e=>ee(e||"",0,1,1,"Unknown",":"," ").split(",").slice(0,4).map(e=>parseInt(e.trim())).filter(e=>!s.includes(e))||[],r=e=>e.length?Math.max(0,Math.min(100,(e.reduce((e,s)=>e+s,0)/e.length- -10)/40*100)):0,l=e.split("\n"),n=r(t(l.find(e=>e.includes("LTE")))),a=r(t(l.find(e=>e.includes("NR5G"))));return n&&a?"".concat(Math.round((n+a)/2),"%"):n?"".concat(Math.round(n),"%"):a?"".concat(Math.round(a),"%"):"Unknown%"},eu=e=>{let s=e=>e.map(e=>ee(e,0,1,3,"Unknown",":",",")),t=[...s(e.split("+QCAINFO").filter(e=>e.includes("LTE BAND"))),...s(e.split("+QCAINFO").filter(e=>e.includes("NR5G BAND")))];return t.length?t:["Unknown"]},ex=e=>{let s=s=>e.split("+QCAINFO").filter(e=>e.includes(s)).map(e=>{var s,t;return(null===(t=e.split(":")[1])||void 0===t?void 0:null===(s=t.split(",")[1])||void 0===s?void 0:s.trim())||"Unknown"}),t=s("LTE BAND"),r=s("NR5G BAND");return[...t,...r].length?[...t,...r]:["Unknown"]},eh=e=>{let s=(s,t)=>e.split("+QCAINFO").filter(e=>e.includes(s)).map(e=>{var s;return t[null===(s=e.split(":")[1])||void 0===s?void 0:s.split(",")[2]]||"Unknown"}),t=s("LTE BAND",c),r=s("NR5G BAND",m);return[...t,...r].length?[...t,...r]:["Unknown"]},ep=(e,s)=>{let t=e=>{var s;return e&&(null===(s=e[8===e.length?4:5])||void 0===s?void 0:s.trim())||"Unknown"},r=e=>e.map(e=>{var s;return t(null===(s=e.split(":")[1])||void 0===s?void 0:s.split(","))}),l=e.split("+QCAINFO");return[r(l.filter(e=>e.includes("PCC")))[0],...r(l.filter(e=>e.includes("SCC")))].filter(e=>"Unknown"!==e)},ef=e=>{let s=e=>{var s;return e&&(null===(s=e[(()=>{switch(e.length){case 8:return 5;case 12:return 9;default:return 6}})()])||void 0===s?void 0:s.trim())||"Unknown"},t=e=>e.map(e=>{var t;return s(null===(t=e.split(":")[1])||void 0===t?void 0:t.split(","))}),r=e.split("+QCAINFO");return[t(r.filter(e=>e.includes("PCC")))[0],...t(r.filter(e=>e.includes("SCC")))].filter(e=>"Unknown"!==e)},eg=e=>{let s=e=>{var s;return e&&(null===(s=e[(()=>{switch(e.length){case 8:return 6;case 12:return 10;default:return 7}})()])||void 0===s?void 0:s.trim())||"Unknown"},t=e=>e.map(e=>{var t;return s(null===(t=e.split(":")[1])||void 0===t?void 0:t.split(","))}),r=e.split("+QCAINFO");return[t(r.filter(e=>e.includes("PCC")))[0],...t(r.filter(e=>e.includes("SCC")))].filter(e=>"Unknown"!==e)},ev=(e,s)=>{let t=e=>{var s;return e&&(null===(s=e[(()=>{switch(e.length){case 9:return 8;case 8:return 7;case 12:return 11;default:return 9}})()])||void 0===s?void 0:s.trim())||"Unknown"},r=e=>e.map(e=>{var s;let r=t(null===(s=e.split(":")[1])||void 0===s?void 0:s.split(","));if("-32768"===r)return"-";let l=parseInt(r)>=4e3?"4000":-3e3>parseInt(r)?"-":r;return isNaN(parseInt(l))||e.includes("LTE")?l||"Unknown":Math.round(parseInt(l)/100).toString()}),l=e.split("+QCAINFO");return[r(l.filter(e=>e.includes("PCC")))[0],...r(l.filter(e=>e.includes("SCC")))].filter(e=>"Unknown"!==e)},ej=e=>{let s=[-32768,-140],t=e=>ee(e||"",0,1,1,"-32768",":"," ").split(",").slice(0,4).map(e=>parseInt(e.trim())).filter(e=>!s.includes(e))||[],r=t(e.split("\n").find(e=>e.includes("LTE"))).length,l=t(e.split("\n").find(e=>e.includes("NR5G"))).length;return r&&l?"LTE ".concat(r," / NR ").concat(l):r?" LTE ".concat(r):l?"NR ".concat(l):"Unknown"},eN=e=>{try{let s=e.split(".");if(s.length<8)return e;let t=s.map(e=>{let s=parseInt(e,10);return isNaN(s)?"00":s.toString(16).padStart(2,"0")}),r=[];for(let e=0;ee.replace(/^0+/,"")||"0"),n=[],a=[];for(let e=0;e0&&(a.length>n.length&&(n=[...a]),a=[]);if(a.length>n.length&&(n=[...a]),n.length>=2){let e=[];for(let s=0;s{let[e,s]=(0,l.useState)(null),[t,r]=(0,l.useState)(!0),[n,a]=(0,l.useState)(null),[i,o]=(0,l.useState)(0),[d,c]=(0,l.useState)(!0),m=(0,l.useCallback)(async()=>{try{c(!0);let e=await fetch("/cgi-bin/quecmanager/home/fetch_public_ip.sh"),t="Can't fetch public IP";if(e.ok){let s=await e.json();t=s.error?"No Internet":s.public_ip||"-"}s(e=>e?{...e,networkAddressing:{...e.networkAddressing,publicIPv4:t}}:null)}catch(e){console.error("Error fetching public IP:",e),s(e=>e?{...e,networkAddressing:{...e.networkAddressing,publicIPv4:"Can't fetch public IP"}}:null)}finally{c(!1)}},[]),u=(0,l.useCallback)(async e=>{console.error("Error fetching home data:",e),i<2?(console.log("Attempting automatic recovery (attempt ".concat(i+1,"/2)...")),o(e=>e+1),await new Promise(e=>setTimeout(e,2e3)),x()):(console.error("Max retry attempts reached. Please refresh manually."),a(e),s({simCard:{slot:"Unknown",state:"Unknown",provider:"Unknown",phoneNumber:"Unknown",imsi:"-",iccid:"-",imei:"-"},connection:{apn:"No APN",operatorState:"Unknown",functionalityState:"Disabled",networkType:"No Signal",modemTemperature:"Unknown",accessTechnology:"-"},dataTransmission:{carrierAggregation:"Inactive",connectedBands:"-",signalStrength:"-%",mimoLayers:"-",bandwidth:"Unknown"},cellularInfo:{cellId:"-",trackingAreaCode:"-",cellIdRaw:"-",trackingAreaCodeRaw:"-",physicalCellId:"-",earfcn:"-",mcc:"-",mnc:"-",signalQuality:"-%"},currentBands:{id:[1],bandNumber:["-"],earfcn:["-"],bandwidth:["-"],pci:["-"],rsrp:["-"],rsrq:["-"],sinr:["-"]},networkAddressing:{publicIPv4:"Not available",cellularIPv4:"Not available",cellularIPv6:"Not available",carrierPrimaryDNS:"Not available",carrierSecondaryDNS:"Not available",rawCarrierPrimaryDNS:"Not available",rawCarrierSecondaryDNS:"Not available"},timeAdvance:{lteTimeAdvance:"-",nrTimeAdvance:"-"}}))},[i]),x=(0,l.useCallback)(async()=>{try{var e,t,l,n,i,d,c,x,h,p,f,g,v,j,N,w,b,y,S,A,C,I,k,E,T,R;let r=await fetch("/cgi-bin/quecmanager/at_cmd/fetch_data.sh?set=1");if(!r.ok)throw Error("API returned status ".concat(r.status));let u=await r.json();u.some(e=>e.response.toLowerCase().includes("failed"))&&(console.error("SMS tool failure detected in modem response. Attempting service restart via reset-at-bridge.sh."),await fetch("/cgi-bin/quecmanager/reset-at-bridge.sh"));let P={simCard:{slot:ee(u[0].response,1,1,0),state:u[6].response.includes("READY")?"Inserted":u[6].response.includes("PIN")?"Waiting for PIN":u[6].response.includes("PUK")?"Waiting for Password":u[6].response.toLowerCase().includes("failed")?"SMS-Tool Failed Token":"Unknown",provider:ee(u[2].response,1,1,2),phoneNumber:ee(u[1].response,1,1,1),imsi:ee(u[3].response,1,0,0),iccid:ee(u[4].response,1,1,1,"Unknown",":"," "),imei:ee(u[5].response,1,0,0)},connection:{apn:ee(null===(e=u[7])||void 0===e?void 0:e.response,1,1,2,ee(null===(t=u[12])||void 0===t?void 0:t.response,1,1,2)),operatorState:en(null===(l=u[8])||void 0===l?void 0:l.response,null===(n=u[16])||void 0===n?void 0:n.response)||"Unknown",functionalityState:"1"===ee(null===(i=u[9])||void 0===i?void 0:i.response,1,1,0)?"Enabled":"Disabled",networkType:ea(u[13].response)||"No Signal",modemTemperature:ei(u[11].response)||"Unknown",accessTechnology:el(u[2].response)||"Unknown"},dataTransmission:{carrierAggregation:(null===(d=u[13].response.match(/"LTE BAND \d+"|"NR5G BAND \d+"/g))||void 0===d?void 0:d.length)>1?"Multi":"Inactive",bandwidth:eh(u[13].response).join(", ")||"Unknown",connectedBands:eu(u[13].response).join(", ").replaceAll("LTE BAND ","B").replaceAll("NR5G BAND ","N")||"Unknown",signalStrength:eo(u[14].response)||"Unknown",mimoLayers:ej(u[14].response)||"Unknown"},cellularInfo:{cellId:ed(null===(c=u[10])||void 0===c?void 0:c.response,ea(null===(x=u[13])||void 0===x?void 0:x.response),{"NR5G-SA":1,"NR5G-NSA":2,LTE:1},{"NR5G-SA":6,"NR5G-NSA":4,LTE:6},!1),trackingAreaCode:ed(null===(h=u[10])||void 0===h?void 0:h.response,ea(null===(p=u[13])||void 0===p?void 0:p.response),{"NR5G-SA":1,"NR5G-NSA":2,LTE:1},{"NR5G-SA":8,"NR5G-NSA":10,LTE:12},!1),cellIdRaw:ed(null===(f=u[10])||void 0===f?void 0:f.response,ea(null===(g=u[13])||void 0===g?void 0:g.response),{"NR5G-SA":1,"NR5G-NSA":2,LTE:1},{"NR5G-SA":6,"NR5G-NSA":4,LTE:6},!0),trackingAreaCodeRaw:ed(null===(v=u[10])||void 0===v?void 0:v.response,ea(null===(j=u[13])||void 0===j?void 0:j.response),{"NR5G-SA":1,"NR5G-NSA":2,LTE:1},{"NR5G-SA":8,"NR5G-NSA":10,LTE:12},!0),physicalCellId:ep(u[13].response,ea(u[13].response)).join(", ")||"Unknown",earfcn:ex(u[13].response).join(", "),mcc:ec(null===(N=u[10])||void 0===N?void 0:N.response,ea(null===(w=u[13])||void 0===w?void 0:w.response),{"NR5G-NSA":2,LTE:4,"NR5G-SA":4}),mnc:ec(null===(b=u[10])||void 0===b?void 0:b.response,ea(null===(y=u[13])||void 0===y?void 0:y.response),{"NR5G-NSA":3,LTE:5,"NR5G-SA":5}),signalQuality:em(u[19].response)||"Unknown"},currentBands:{id:Array.from({length:null!==(R=null===(S=eu(u[13].response))||void 0===S?void 0:S.length)&&void 0!==R?R:0},(e,s)=>s+1)||[1],bandNumber:eu(u[13].response)||["Unknown"],earfcn:ex(u[13].response),bandwidth:eh(u[13].response)||["Unknown"],pci:ep(u[13].response,ea(u[13].response))||["Unknown"],rsrp:ef(u[13].response),rsrq:eg(u[13].response)||["Unknown"],sinr:ev(u[13].response,ea(u[13].response))||["Unknown"]},networkAddressing:{publicIPv4:"Loading...",cellularIPv4:es(u,"IPV4"),cellularIPv6:es(u,"IPV6"),carrierPrimaryDNS:er(et(u,ea(null===(A=u[13])||void 0===A?void 0:A.response),15,{"NR5G-SA":5,"NR5G-NSA":6,LTE:6},20)),carrierSecondaryDNS:er(et(u,ea(null===(C=u[13])||void 0===C?void 0:C.response),15,{"NR5G-SA":6,"NR5G-NSA":7,LTE:7},20)),rawCarrierPrimaryDNS:et(u,ea(null===(I=u[13])||void 0===I?void 0:I.response),15,{"NR5G-SA":5,"NR5G-NSA":6,LTE:6},20),rawCarrierSecondaryDNS:et(u,ea(null===(k=u[13])||void 0===k?void 0:k.response),15,{"NR5G-SA":6,"NR5G-NSA":7,LTE:7},20)},timeAdvance:{lteTimeAdvance:ee(null===(E=u[21])||void 0===E?void 0:E.response,1,1,2),nrTimeAdvance:ee(null===(T=u[22])||void 0===T?void 0:T.response,1,1,2)}};s(P),o(0),a(null),m()}catch(e){console.error("Error fetching home data:",e),u(e instanceof Error?e:Error(String(e)))}finally{r(!1)}},[u,m]);return(0,l.useEffect)(()=>{let e,s,t=!0;return(async()=>{if(t)try{await x()}finally{t&&r(!1)}})(),e=setInterval(()=>{x()},15e3),s=setInterval(()=>{m()},3e4),()=>{t=!1,clearInterval(e),clearInterval(s)}},[x,m]),{data:e,isLoading:t,error:n,refresh:(0,l.useCallback)(async()=>{r(!0),await x(),r(!1)},[x]),isPublicIPLoading:d}},eb=()=>{let[e,s]=(0,l.useState)("Unknown"),[t,r]=(0,l.useState)(!0),n=(0,l.useCallback)(async()=>{try{r(!0);let e=await fetch("/cgi-bin/quecmanager/home/check_net.sh"),t=await e.json();s("ACTIVE"===t.connection?"Connected":"Disconnected"),r(!1)}catch(e){console.error("Error fetching data connection state:",e),s("Unknown"),r(!1)}},[]);return(0,l.useEffect)(()=>{n();let e=setInterval(n,3e4);return()=>clearInterval(e)},[n]),{dataConnectionState:e,refresh:(0,l.useCallback)(()=>{n()},[n]),isStateLoading:t}},ey=e=>{if(0===e)return"0 Bytes";let s=Math.floor(Math.log(e)/Math.log(1024));return parseFloat((e/Math.pow(1024,s)).toFixed(2))+" "+["Bytes","KB","MB","GB","TB"][s]},eS=()=>{let[e,s]=(0,l.useState)("0 Bytes"),[t,r]=(0,l.useState)("0 Bytes"),[n,a]=(0,l.useState)(""),i=e=>{var t,l;let n=Array.isArray(e)?e[e.length-1]:e;if(!n)return;a(n.datetime);let i=n.output.replace(/\r\\n/g,"\n").trim().split("\n").filter(e=>e.trim()),o=null===(t=i.find(e=>e.includes("+QGDCNT:")))||void 0===t?void 0:t.trim(),d=null===(l=i.find(e=>e.includes("+QGDNRCNT:")))||void 0===l?void 0:l.trim();if(!o||!d){console.error("Missing required data in response");return}let[c,m]=o.replace("+QGDCNT:","").split(",").map(e=>parseInt(e.trim())),[u,x]=d.replace("+QGDNRCNT:","").split(",").map(e=>parseInt(e.trim()));s(ey((m||0)+(u||0))),r(ey((c||0)+(x||0)))},o=(0,l.useCallback)(async()=>{try{let e=await fetch("/cgi-bin/quecmanager/home/fetch_data_usage.sh"),s=await e.json();i(s)}catch(e){console.error("Error fetching traffic stats:",e)}},[]);return(0,l.useEffect)(()=>{o();let e=setInterval(o,12e3);return()=>clearInterval(e)},[o]),{bytesSent:e,bytesReceived:t,lastUpdateTime:n,refresh:(0,l.useCallback)(()=>{o()},[o])}};var eA=t(23484);let eC=()=>{let[e,s]=(0,l.useState)(!1),[t,r]=(0,l.useState)(null),n=(e,s)=>{var t,r,l,n;let a=null===(r=e.split("\n")[1])||void 0===r?void 0:null===(t=r.split(":")[1])||void 0===t?void 0:t.split(",")[1].trim(),i=null===(n=s.split("\n")[1])||void 0===n?void 0:null===(l=n.split(":")[1])||void 0===l?void 0:l.split(",")[1].trim();return"1"===a||"1"===i?"Registered":"Not Registered"},a=(e,s)=>{var t,r,l,n;return(null===(r=e.split("\n")[1])||void 0===r?void 0:null===(t=r.split(":")[1])||void 0===t?void 0:t.split(",")[2].replace(/"/g,"").trim())===(null===(n=s.split("\n")[1])||void 0===n?void 0:null===(l=n.split(":")[1])||void 0===l?void 0:l.split(",")[2].replace(/"/g,"").trim())?"Enabled":"Disabled"},i=e=>{var s,t,r,l;let n=null===(t=e.split("\n")[1])||void 0===t?void 0:null===(s=t.split(":")[1])||void 0===s?void 0:s.split(",")[1].trim(),a=null===(l=e.split("\n")[2])||void 0===l?void 0:null===(r=l.split(":")[1])||void 0===r?void 0:r.split(",")[1].trim();return n&&"1"===n||a&&"1"===a?"Connected":"Disconnected"},o=e=>{try{var s,t,r,l;let n=e.trim().split("\n").map(e=>e.trim()),a=n.find(e=>e.includes("+QRSRP:")&&e.includes("LTE")),i=n.find(e=>e.includes("+QRSRP:")&&e.includes("NR5G")),o=[];a&&(o=null==a?void 0:null===(t=a.split(":")[1])||void 0===t?void 0:null===(s=t.split(","))||void 0===s?void 0:s.slice(0,4).map(e=>e.trim()).filter(e=>!isNaN(parseInt(e))).map(e=>parseInt(e)));let d=[];if(i&&(d=null==i?void 0:null===(l=i.split(":")[1])||void 0===l?void 0:null===(r=l.split(","))||void 0===r?void 0:r.slice(0,4).map(e=>e.trim()).filter(e=>!isNaN(parseInt(e))).map(e=>parseInt(e))),o=o.filter(e=>-32768!==e),d=d.filter(e=>-32768!==e),o=o.filter(e=>-140!==e),d=d.filter(e=>-140!==e),o.length>0){let e=o.reduce((e,s)=>e+s,0)/o.length;if(d.length>0){let s=d.reduce((e,s)=>e+s,0)/d.length;return(e+s)/2<-100?"Poor":"Good"}return e<-100?"Poor":"Good"}if(d.length>0)return d.reduce((e,s)=>e+s,0)/d.length<-100?"Poor":"Good";return"N/A"}catch(e){return console.error("Error processing cell signal:",e),"N/A"}},d=e=>{let s=e.split("\n").filter(e=>e.startsWith("+QTEMP:")).map(e=>parseInt(e.split(":")[1].split(",")[1].replace(/"/g,"").trim())).filter(e=>e>=0&&e<99);return s.reduce((e,s)=>e+s,0)/s.length<50?"Normal":"High"},c=e=>{var s,t,r,l,n,a;let i=null===(t=e.split("\n")[1])||void 0===t?void 0:null===(s=t.split(":")[1])||void 0===s?void 0:s.split(",")[1].trim(),o=null===(l=e.split("\n")[2])||void 0===l?void 0:null===(r=l.split(":")[1])||void 0===r?void 0:r.split(",")[1].trim(),d=null===(a=e.split("\n")[3])||void 0===a?void 0:null===(n=a.split(":")[1])||void 0===n?void 0:n.split(",")[1].trim(),c=["0"!==i?"EMM: ".concat(i):null,"0"!==o?"ESM: ".concat(o):null,"0"!==d?"NRMM: ".concat(d):null].filter(Boolean);return c.length>0?c.join(", "):"None"},m=e=>{var s,t,r,l,n,a;let i=null===(t=e.split("\n")[1])||void 0===t?void 0:null===(s=t.split(":")[1])||void 0===s?void 0:s.split(",")[1].trim(),o=null===(l=e.split("\n")[2])||void 0===l?void 0:null===(r=l.split(":")[1])||void 0===r?void 0:r.split(",")[1].trim(),d=null===(a=e.split("\n")[3])||void 0===a?void 0:null===(n=a.split(":")[1])||void 0===n?void 0:n.split(",")[1].trim(),c={};return i&&"0"!==i&&(c.emm={code:i,description:eA.ZK[i]||"Unknown EMM cause"}),o&&"0"!==o&&(c.esm={code:o,description:eA.jq[o]||"Unknown ESM cause"}),d&&"0"!==d&&(c.nrmm={code:d,description:eA.QI[d]||"Unknown NRMM cause"}),Object.keys(c).length>0?c:null};return{isRunningDiagnostics:e,runDiagnosticsData:t,startDiagnostics:async()=>{s(!0),new Date().toISOString();try{let e=await fetch("/cgi-bin/quecmanager/at_cmd/fetch_data.sh?set=6"),s=await e.json(),t={netRegistration:n(s[0].response,s[1].response),simState:s[2].response.split("\n")[1].split(":")[1].trim(),manualAPN:a(s[3].response,s[4].response),wanIP:i(s[5].response),cellSignal:o(s[6].response),modemTemp:d(s[7].response),netReject:c(s[8].response),rejectCauses:m(s[8].response)};return r(t),t}catch(e){throw console.error("Error running diagnostics:",e),e}finally{s(!1)}}}};var eI=t(80159),ek=t(12607),eE=t(25262),eT=t(8782),eR=t(10964),eP=t(89463),eM=t(90304),eD=t(622),ez=t(20633),eL=t(7778),eU=t(99312),eG=t(91994),eB=t(92823),e_=t(71834);let eF=e=>{if(null==e)return"N/A";let s=["B","KB","MB","GB"],t=e,r=0;for(;t>=1024&&r{if(null==e)return"N/A";let s=["bps","Kbps","Mbps","Gbps"],t=8*e,r=0;for(;t>=1e3&&r{var e,s,t,i;let{toast:d}=(0,n.dj)(),[c,m]=(0,l.useState)(null),[u,x]=(0,l.useState)(null),[h,p]=(0,l.useState)(null),[f,g]=(0,l.useState)(!1),[v,j]=(0,l.useState)(!1),[N,w]=(0,l.useState)(!1),[b,y]=(0,l.useState)(0),[S,A]=(0,l.useState)(!1),[C,I]=(0,l.useState)(!1),k=(0,l.useRef)(null),E=(0,l.useRef)(null),T=(0,l.useCallback)(()=>{m(null),x(null),p(null),g(!1),j(!1),w(!1),y(0),E.current=null,k.current&&(clearInterval(k.current),k.current=null)},[]);(0,l.useEffect)(()=>{let e=sessionStorage.getItem("speedtestData");if(e&&m(JSON.parse(e)),f&&!v){A(!0);let e=setTimeout(()=>{A(!1)},1e4);return()=>clearTimeout(e)}},[f,v]),(0,l.useEffect)(()=>()=>{k.current&&clearInterval(k.current)},[]);let R=(0,l.useCallback)(async()=>{try{let e=await fetch("/cgi-bin/quecmanager/home/speedtest/speedtest_status.sh");if(!e.ok)throw Error("Failed to fetch status: ".concat(e.status));let s=await e.json();if("not_running"===s.status){v&&(p("Test ended unexpectedly"),j(!1)),k.current&&(clearInterval(k.current),k.current=null);return}if(s.type)try{switch(s.type){case"ping":x("ping"),s.ping&&"number"==typeof s.ping.progress&&y(s.ping.progress);break;case"download":case"upload":"ping"!==u&&x(s.type);break;case"result":if(s.download&&s.upload&&s.ping){E.current=s,m(s),g(!0),j(!1),sessionStorage.setItem("speedtestData",JSON.stringify(s)),k.current&&(clearInterval(k.current),k.current=null);return}console.warn("Incomplete result data received:",s)}}catch(e){console.error("Error processing speedtest data:",e)}(s.type&&(s.download||s.upload||s.ping)||s.isp)&&(E.current=s,m(s))}catch(e){console.error("Error polling speedtest status:",e),v&&(p("Failed to get speedtest status"),j(!1),k.current&&(clearInterval(k.current),k.current=null))}},[u,v]),P=(0,l.useCallback)(async()=>{if(!S)try{if(T(),w(!0),j(!0),I(!0),!(await fetch("/cgi-bin/quecmanager/home/speedtest/start_speedtest.sh",{method:"GET"})).ok)throw Error("Failed to start speedtest");k.current=setInterval(R,300),w(!1)}catch(e){console.error("Speedtest start error:",e),p(e instanceof Error?"Failed to start speedtest: ".concat(e.message):"Failed to start speedtest"),w(!1),j(!1)}},[S,T,R]);return(0,r.jsxs)(a.Zp,{children:[(0,r.jsx)(a.aR,{children:(0,r.jsx)(a.ZB,{children:"Network Speedtest"})}),(0,r.jsxs)(a.Wu,{className:"flex flex-col gap-6 p-4 items-center justify-center",children:[(0,r.jsxs)(z.lG,{open:C,onOpenChange:I,children:[(0,r.jsx)(z.zM,{asChild:!0,children:(0,r.jsxs)("div",{className:"relative flex flex-col items-center justify-center",children:[(0,r.jsx)(e_.A,{color:"#5420ab",size:192,className:"-top-8 -left-8 absolute",style:{zIndex:1}}),(0,r.jsx)(B.A,{className:"size-32 z-10 text-primary cursor-pointer hover:text-primary/80 transition-colors duration-300",onClick:e=>{S||(e.preventDefault(),P())}})]})}),(0,r.jsxs)(z.Cf,{className:"sm:max-w-[800px] max-w-xs mx-auto",children:[(0,r.jsx)(z.c7,{children:(0,r.jsxs)(z.L3,{className:"flex items-center",children:[(0,r.jsx)(eR.A,{className:"mr-2"})," Network Speedtest",f&&(0,r.jsx)(o.E,{variant:"outline",className:"ml-2",children:"Complete"}),v&&!f&&(0,r.jsx)(o.E,{variant:"outline",className:"ml-2 bg-primary/10",children:"Running..."})]})}),(0,r.jsx)("div",{className:"lg:max-w-full max-w-sm mx-auto min-w-sm py-6",children:(()=>{var e,s,t,l,n,i,o,d,m,x,p,g,j,w,y,S,A,C,I,k,E,R,M,D,z,L;if(h)return(0,r.jsxs)("div",{className:"flex flex-col items-center justify-center space-y-4",children:[(0,r.jsx)(ek.A,{className:"text-rose-600 lg:size-48 size-16 animate-pulse"}),(0,r.jsx)("h3",{className:"text-xl font-semibold",children:"Network Speedtest Failed"}),(0,r.jsxs)("p",{className:"text-sm text-gray-500",children:["Something went wrong while running the speedtest.",(0,r.jsx)("span",{className:"underline cursor-pointer ml-2",onClick:()=>{T(),P()},children:"Please try again."})]})]});if(N||v&&!c)return(0,r.jsxs)("div",{className:"flex flex-col items-center justify-center space-y-4",children:[(0,r.jsx)(eE.A,{className:"text-primary lg:size-48 size-16 animate-pulse"}),(0,r.jsx)("h3",{className:"md:text-xl text-lg font-semibold",children:"Initiating Network Speedtest"}),(0,r.jsx)("p",{className:"text-sm text-gray-500 text-center",children:"Locating and establishing a connection to a server. Please wait..."})]});if("ping"===u)return(0,r.jsxs)("div",{className:"flex flex-col items-center justify-center space-y-4",children:[(0,r.jsx)(eT.A,{className:"text-gray-600 size-16 animate-pulse"}),(0,r.jsx)("h3",{className:"text-xl font-semibold",children:"Calculating Ping Latency"}),(0,r.jsx)("div",{className:"w-full bg-gray-200 rounded-full h-2.5",children:(0,r.jsx)("div",{className:"bg-blue-600 h-2.5 rounded-full",style:{width:"".concat(100*(b||0),"%")}})}),(0,r.jsx)("p",{className:"text-sm text-gray-500",children:(null==c?void 0:c.ping)?"Latency: ".concat(c.ping.latency.toFixed(2)," ms, \n Jitter: ").concat(c.ping.jitter.toFixed(2)," ms"):"Measuring network responsiveness..."})]});if(f)return c&&c.download&&c.upload&&c.ping?(0,r.jsxs)("div",{className:"grid gap-4 w-full min-w-sm",children:[(0,r.jsxs)(a.Zp,{children:[(0,r.jsx)(a.aR,{children:(0,r.jsxs)(a.ZB,{className:"flex items-center",children:[(0,r.jsx)(eR.A,{className:"mr-4 text-violet-600"})," Speedtest Result"]})}),(0,r.jsx)(a.Wu,{className:"lg:py-12 py-6 min-w-sm w-full",children:(0,r.jsxs)("div",{className:"grid lg:grid-cols-2 grid-cols-1 grid-flow-row gap-4 lg:gap-y-0 gap-y-8 gap-x-8",children:[(0,r.jsxs)("div",{className:"grid gap-1 place-items-center",children:[(0,r.jsxs)("div",{className:"flex items-center space-x-2",children:[(0,r.jsx)(eP.A,{className:"text-green-600 lg:size-6 size-4"}),(0,r.jsx)("p",{className:"font-semibold",children:"Download"})]}),(0,r.jsx)("h1",{className:"text-[3rem] font-semibold text-center antialiased leading-tight",children:eO(null===(t=c.download)||void 0===t?void 0:t.bandwidth)}),(0,r.jsxs)("div",{className:"grid gap-0.5 lg:flex lg:items-center lg:space-x-1",children:[(0,r.jsxs)("div",{className:"flex items-center justify-center gap-x-2",children:[(0,r.jsx)(eM.A,{className:"text-gray-600 lg:size-6 size-4"}),(0,r.jsx)("p",{className:"text-foreground-muted text-sm text-center",children:"Latency"})]}),(0,r.jsxs)("p",{className:"text-foreground-muted text-sm text-center",children:[null!==(R=null===(i=c.download)||void 0===i?void 0:null===(n=i.latency)||void 0===n?void 0:null===(l=n.iqm)||void 0===l?void 0:l.toFixed(2))&&void 0!==R?R:"N/A"," ","ms"]})]})]}),(0,r.jsxs)("div",{className:"grid gap-1.5 place-items-center",children:[(0,r.jsxs)("div",{className:"flex items-center space-x-2",children:[(0,r.jsx)(eD.A,{className:"text-violet-600 lg:size-6 size-4"}),(0,r.jsx)("p",{className:"font-semibold",children:"Upload"})]}),(0,r.jsx)("h1",{className:"text-[3rem] font-semibold text-center antialiased leading-tight",children:eO(null===(o=c.upload)||void 0===o?void 0:o.bandwidth)}),(0,r.jsxs)("div",{className:"grid gap-0.5 lg:flex lg:items-center lg:space-x-1",children:[(0,r.jsxs)("div",{className:"flex items-center justify-center gap-x-2",children:[(0,r.jsx)(eM.A,{className:"text-gray-600 lg:size-6 size-4"}),(0,r.jsx)("p",{className:"text-foreground-muted text-sm text-center",children:"Latency"})]}),(0,r.jsxs)("p",{className:"text-foreground-muted text-sm text-center",children:[null!==(M=null===(x=c.upload)||void 0===x?void 0:null===(m=x.latency)||void 0===m?void 0:null===(d=m.iqm)||void 0===d?void 0:d.toFixed(2))&&void 0!==M?M:"N/A"," ","ms"]})]})]})]})}),(0,r.jsxs)(a.wL,{className:"flex items-center justify-between mx-auto",children:[(0,r.jsxs)("div",{className:"grid gap-0.5 lg:flex lg:items-center lg:space-x-1",children:[(0,r.jsxs)("div",{className:"flex items-center justify-center gap-x-2",children:[(0,r.jsx)(eT.A,{className:"text-gray-600 lg:size-6 size-4"}),(0,r.jsx)("p",{className:"text-foreground-muted text-sm text-center",children:"Ping"})]}),(0,r.jsxs)("p",{className:"text-foreground-muted text-sm text-center",children:[null!==(D=null===(g=c.ping)||void 0===g?void 0:null===(p=g.latency)||void 0===p?void 0:p.toFixed(2))&&void 0!==D?D:"N/A"," ms"]})]}),(0,r.jsxs)("div",{className:"grid gap-0.5 lg:flex lg:items-center lg:space-x-1",children:[(0,r.jsxs)("div",{className:"flex items-center justify-center gap-x-2",children:[(0,r.jsx)(ez.A,{className:"text-gray-600 lg:size-6 size-4"}),(0,r.jsx)("p",{className:"text-foreground-muted text-sm text-center",children:"Jitter"})]}),(0,r.jsxs)("p",{className:"text-foreground-muted text-sm text-center",children:[null!==(z=null===(w=c.ping)||void 0===w?void 0:null===(j=w.jitter)||void 0===j?void 0:j.toFixed(2))&&void 0!==z?z:"N/A"," ms"]})]})]})]}),(0,r.jsxs)(a.Zp,{children:[(0,r.jsx)(a.aR,{children:(0,r.jsxs)(a.ZB,{className:"flex items-center",children:[(0,r.jsx)(eL.A,{className:"mr-4 text-blue-600"})," Connection & Server Details"]})}),(0,r.jsx)(a.Wu,{children:(0,r.jsxs)("div",{className:"grid gap-2",children:[(0,r.jsxs)("div",{className:"grid grid-cols-2 grid-flow-row gap-2 truncate",children:[(0,r.jsx)("p",{className:"font-medium",children:"ISP:"}),(0,r.jsx)("p",{children:c.isp||"N/A"})]}),(0,r.jsxs)("div",{className:"grid grid-cols-2 grid-flow-row gap-2 truncate",children:[(0,r.jsx)("p",{className:"font-medium",children:"Internal IP:"}),(0,r.jsx)("p",{children:(null===(y=c.interface)||void 0===y?void 0:y.internalIp)||"N/A"})]}),(0,r.jsxs)("div",{className:"grid grid-cols-2 grid-flow-row gap-2 truncate",children:[(0,r.jsx)("p",{className:"font-medium",children:"External IP:"}),(0,r.jsx)("p",{children:(null===(S=c.interface)||void 0===S?void 0:S.externalIp)||"N/A"})]}),(0,r.jsxs)("div",{className:"grid grid-cols-2 grid-flow-row gap-2 truncate",children:[(0,r.jsx)("p",{className:"font-medium",children:"Server Name:"}),(0,r.jsx)("p",{children:(null===(A=c.server)||void 0===A?void 0:A.name)||"N/A"})]}),(0,r.jsxs)("div",{className:"grid grid-cols-2 grid-flow-row gap-2 truncate",children:[(0,r.jsx)("p",{className:"font-medium",children:"Location:"}),(0,r.jsx)("p",{children:(null===(C=c.server)||void 0===C?void 0:C.location)||"N/A"})]}),(0,r.jsxs)("div",{className:"grid grid-cols-2 grid-flow-row gap-2 truncate",children:[(0,r.jsx)("p",{className:"font-medium",children:"Country:"}),(0,r.jsx)("p",{children:(null===(I=c.server)||void 0===I?void 0:I.country)||"N/A"})]}),(0,r.jsxs)("div",{className:"grid grid-cols-2 grid-flow-row gap-2 truncate",children:[(0,r.jsx)("p",{className:"font-medium",children:"Server IP:"}),(0,r.jsx)("p",{children:(null===(k=c.server)||void 0===k?void 0:k.host)||"N/A"})]}),(null===(E=c.result)||void 0===E?void 0:E.url)&&(0,r.jsxs)("div",{className:"flex items-center gap-x-2 mt-4",children:[(0,r.jsx)(eU.A,{className:"text-blue-600 size-4"}),(0,r.jsx)("a",{href:c.result.url,target:"_blank",rel:"noopener noreferrer",className:"font-medium text-blue-600 hover:underline",children:"View Full Result Online"})]})]})})]})]}):(0,r.jsxs)("div",{className:"flex flex-col items-center justify-center space-y-4",children:[(0,r.jsx)(ek.A,{className:"text-amber-500 lg:size-16 size-8"}),(0,r.jsx)("h3",{className:"text-xl font-semibold",children:"Incomplete Test Results"}),(0,r.jsxs)("p",{className:"text-sm text-gray-500 text-center",children:["The test didn't complete properly. Some data may be missing.",(0,r.jsx)("span",{className:"underline cursor-pointer ml-2 block",onClick:()=>{T(),P()},children:"Run the test again"})]})]});if(!u||!c)return null;if(!c[u])return(0,r.jsxs)("div",{className:"flex flex-col items-center justify-center space-y-4",children:[(0,r.jsx)(eG.A,{className:"text-primary lg:size-16 size-8 animate-spin"}),(0,r.jsx)("h3",{className:"text-lg font-semibold",children:"Loading test data..."})]});let U=c[u],G="download"===u;return(0,r.jsxs)(a.Zp,{className:"p-4 w-full",children:[(0,r.jsx)(a.aR,{children:(0,r.jsxs)(a.ZB,{className:"flex items-center",children:[G?(0,r.jsx)(eP.A,{className:"text-green-500 lg:size-6 size-4 mr-1"}):(0,r.jsx)(eD.A,{className:"text-violet-500 lg:size-6 size-4 mr-1"}),(0,r.jsxs)("p",{className:"ml-2",children:["Testing ",G?"Download":"Upload"," Speed"]})]})}),(0,r.jsx)(a.Wu,{children:(0,r.jsx)("div",{className:"grid place-items-center max-w-sm lg:max-w-full mx-auto w-full",children:(0,r.jsx)("h1",{className:"lg:text-[4rem] text-[3rem] font-semibold text-center",children:eO(U.bandwidth)})})}),(0,r.jsx)(a.wL,{children:(0,r.jsxs)("div",{className:"grid lg:grid-cols-3 grid-cols-1 grid-flow-row gap-4",children:[(0,r.jsxs)("div",{className:"grid gap-1 place-items-center",children:[(0,r.jsxs)("div",{className:"flex items-center",children:[(0,r.jsx)(eB.A,{className:"mr-2 text-yellow-600"}),"Bytes Transferred"]}),(0,r.jsx)("p",{className:"lg:text-md text-base text-muted font-semibold",children:eF(U.bytes)})]}),(0,r.jsxs)("div",{className:"grid gap-1 place-items-center",children:[(0,r.jsxs)("div",{className:"flex items-center",children:[(0,r.jsx)(eR.A,{className:"mr-2 text-purple-600"}),"Elapsed Time"]}),(0,r.jsxs)("p",{className:"lg:text-md text-base text-muted font-semibold",children:[(U.elapsed/1e3).toFixed(2)," sec"]})]}),(0,r.jsxs)("div",{className:"grid gap-1 place-items-center",children:[(0,r.jsxs)("div",{className:"flex items-center",children:[(0,r.jsx)(eT.A,{className:"mr-2 text-gray-600"}),"Latency (IQM)"]}),(0,r.jsxs)("p",{className:"lg:text-md text-base text-muted font-semibold",children:[null!==(L=null===(s=U.latency)||void 0===s?void 0:null===(e=s.iqm)||void 0===e?void 0:e.toFixed(2))&&void 0!==L?L:"N/A"," ms"]})]})]})})]})})()}),(0,r.jsx)(z.Es,{className:"flex justify-between items-center",children:f?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("div",{children:(0,r.jsxs)(D.$,{onClick:()=>{S?d({title:"Please wait",description:"Cooldown period active"}):(T(),P())},variant:"outline",disabled:S,children:[(0,r.jsx)(eG.A,{className:"h-4 w-4"}),"Run Again"]})}),(0,r.jsx)(D.$,{onClick:()=>I(!1),children:"Close"})]}):(0,r.jsx)(r.Fragment,{children:v?(0,r.jsx)(D.$,{onClick:()=>{T(),I(!1)},variant:"destructive",children:"Cancel Test"}):(0,r.jsx)(D.$,{onClick:()=>I(!1),children:"Close"})})})]})]}),(0,r.jsxs)("div",{children:[(0,r.jsx)(a.BT,{className:"relative flex flex-col items-center justify-center",children:S?"Please wait 10 seconds before starting another test.":v?"Test in progress...":"Run a speed test to check your internet connection."}),c?(0,r.jsx)("div",{className:"mt-4",children:(0,r.jsx)("div",{className:"relative flex flex-col items-center justify-center",children:(0,r.jsxs)("div",{className:"grid lg:grid-cols-3 grid-cols-1 grid-flow-row",children:[(0,r.jsxs)("div",{className:"flex items-center mx-2",children:[(0,r.jsx)(eP.A,{className:"text-green-500 lg:size-4 size-4 mr-1"}),(null==c?void 0:c.download)?"".concat(eO(null==c?void 0:null===(e=c.download)||void 0===e?void 0:e.bandwidth)):"N/A"]}),(0,r.jsxs)("div",{className:"flex items-center mx-2",children:[(0,r.jsx)(eD.A,{className:"text-violet-500 lg:size-4 size-4 mr-1"}),(null==c?void 0:c.upload)?"".concat(eO(null==c?void 0:null===(s=c.upload)||void 0===s?void 0:s.bandwidth)):"N/A"]}),(0,r.jsxs)("div",{className:"flex items-center mx-2",children:[(0,r.jsx)(eT.A,{className:"text-gray-600 lg:size-4 mr-1"}),(null==c?void 0:c.ping)?"".concat(null==c?void 0:null===(i=c.ping)||void 0===i?void 0:null===(t=i.latency)||void 0===t?void 0:t.toFixed(2)," ms"):"N/A"]})]})})}):v?(0,r.jsx)("p",{className:"text-sm text-gray-500 text-center",children:'"Test in progress..."'}):(0,r.jsx)("p",{className:"text-sm text-gray-500 text-center",children:'"Previous data not available."'})]})]})]})};var eZ=t(88926);let eH=e=>{let{data:s,isLoading:t,isPublicIPLoading:l=!1,hideSensitiveData:n}=e;return(0,r.jsx)(a.Zp,{className:"md:py-6 md:px-6 py-6 px-4 ",children:(0,r.jsxs)("div",{className:"grid lg:grid-cols-5 grid-cols-1 grid-flow-row gap-4",children:[(0,r.jsxs)("div",{className:"grid place-items-center gap-1.5",children:[(0,r.jsx)("h2",{className:"font-semibold",children:"Public IPv4 Address"}),t||l?(0,r.jsx)(i.E,{className:"h-4 w-[100px]"}):n?(0,r.jsx)("div",{className:"border-none bg-gray-600 rounded-md h-5 md:w-36 w-24"}):(0,r.jsx)("p",{children:null==s?void 0:s.networkAddressing.publicIPv4})]}),(0,r.jsxs)("div",{className:"grid place-items-center gap-1.5",children:[(0,r.jsx)("h2",{className:"font-semibold",children:"Cellular IPv4 Address"}),(0,r.jsx)("div",{className:"flex items-center gap-x-2",children:t?(0,r.jsx)(i.E,{className:"h-4 w-[100px]"}):n?(0,r.jsx)("div",{className:"border-none bg-gray-600 rounded-md h-5 md:w-36 w-24"}):(0,r.jsx)("p",{children:null==s?void 0:s.networkAddressing.cellularIPv4})})]}),(0,r.jsxs)("div",{className:"grid place-items-center gap-1.5",children:[(0,r.jsx)("h2",{className:"font-semibold",children:"Cellular IPv6 Address"}),t?(0,r.jsx)(i.E,{className:"h-4 w-[100px]"}):n?(0,r.jsx)("div",{className:"border-none bg-gray-600 rounded-md h-5 md:w-36 w-24"}):(0,r.jsx)("p",{children:null==s?void 0:s.networkAddressing.cellularIPv6})]}),(0,r.jsxs)("div",{className:"grid place-items-center gap-1.5",children:[(0,r.jsx)("h2",{className:"font-semibold",children:"Carrier Primary DNS"}),t?(0,r.jsx)(i.E,{className:"h-4 w-[100px]"}):(0,r.jsx)(f.TooltipProvider,{children:(0,r.jsxs)(f.m_,{children:[(0,r.jsx)(f.k$,{children:null==s?void 0:s.networkAddressing.carrierPrimaryDNS}),(0,r.jsx)(f.ZI,{children:(0,r.jsx)("p",{children:null==s?void 0:s.networkAddressing.rawCarrierPrimaryDNS})})]})})]}),(0,r.jsxs)("div",{className:"grid place-items-center gap-1.5",children:[(0,r.jsx)("h2",{className:"font-semibold",children:"Carrier Secondary DNS"}),t?(0,r.jsx)(i.E,{className:"h-4 w-[100px]"}):(0,r.jsx)(f.TooltipProvider,{children:(0,r.jsxs)(f.m_,{children:[(0,r.jsx)(f.k$,{children:null==s?void 0:s.networkAddressing.carrierSecondaryDNS}),(0,r.jsx)(f.ZI,{children:(0,r.jsx)("p",{children:null==s?void 0:s.networkAddressing.rawCarrierSecondaryDNS})})]})})]})]})})};var eQ=t(99015),eW=t(13624);let e$=e=>{let{lteTimeAdvance:s="0",nrTimeAdvance:t="0",isLoading:n=!1,networkType:o="Unknown"}=e,[d,c]=(0,l.useState)("km"),[m,u]=(0,l.useState)(!0);(0,l.useEffect)(()=>{(async()=>{try{u(!0);let e=await fetch("/cgi-bin/quecmanager/settings/measurement_units.sh"),s=await e.json();"success"===s.status&&s.data&&c(s.data.unit)}catch(e){console.error("Error fetching measurement unit:",e),c("km")}finally{u(!1)}})()},[]);let x=s&&"Unknown"!==s&&"-"!==s&&parseInt(s,10)||0,h=t&&"Unknown"!==t&&"-"!==t&&parseInt(t,10)||0,p=x>0?(e=>((e<0||e>1282)&&(console.warn("Invalid LTE TA value: ".concat(e,", using 0 instead")),e=0),1/3072e4*(16*e)*3e8/2/1e3))(x):0,g=h>0?(e=>(e<0&&(console.warn("Invalid negative NTA value: ".concat(e,", using 0 instead")),e=0),3e8*e*(1/196608e4)/2/1e3))(h):0,v=e=>.621371*e,j=e=>{if(0===e)return"-";if("mi"===d){let s=v(e);if(s<1){let e=5280*s;return"".concat(e.toFixed(0)," ft")}return"".concat(s.toFixed(2)," mi")}return e<1?"".concat((1e3*e).toFixed(0)," m"):"".concat(e.toFixed(2)," km")};return(0,r.jsxs)(a.Zp,{className:"overflow-hidden",children:[(0,r.jsx)(a.aR,{children:(0,r.jsx)(a.ZB,{children:"Distance to Cell Tower"})}),(0,r.jsx)(a.Wu,{children:n||m?(0,r.jsxs)("div",{className:"space-y-3",children:[(0,r.jsxs)("div",{className:"flex items-center justify-between mb-1",children:[(0,r.jsxs)("div",{className:"flex items-center",children:[(0,r.jsx)(eQ.A,{className:"h-4 w-4 mr-1.5"}),(0,r.jsx)("span",{className:"text-sm font-medium",children:"LTE"})]}),(0,r.jsxs)("div",{className:"flex items-center",children:[(0,r.jsx)(i.E,{className:"h-4 w-16 mr-2"}),(0,r.jsx)(f.TooltipProvider,{children:(0,r.jsxs)(f.m_,{children:[(0,r.jsx)(f.k$,{asChild:!0,children:(0,r.jsx)(eW.A,{className:"h-4 w-4 text-muted-foreground"})}),(0,r.jsx)(f.ZI,{children:(0,r.jsx)(i.E,{className:"h-4 w-16 mr-2"})})]})})]})]}),(0,r.jsxs)("div",{className:"flex items-center justify-between mb-1",children:[(0,r.jsxs)("div",{className:"flex items-center",children:[(0,r.jsx)(eQ.A,{className:"h-4 w-4 mr-1.5"}),(0,r.jsx)("span",{className:"text-sm font-medium",children:"NR5G"})]}),(0,r.jsxs)("div",{className:"flex items-center",children:[(0,r.jsx)(i.E,{className:"h-4 w-16 mr-2"}),(0,r.jsx)(f.TooltipProvider,{children:(0,r.jsxs)(f.m_,{children:[(0,r.jsx)(f.k$,{asChild:!0,children:(0,r.jsx)(eW.A,{className:"h-4 w-4 text-muted-foreground"})}),(0,r.jsx)(f.ZI,{children:(0,r.jsx)(i.E,{className:"h-4 w-16 mr-2"})})]})})]})]})]}):(0,r.jsxs)("div",{className:"space-y-3",children:[x>0&&(0,r.jsxs)("div",{className:"flex items-center justify-between mb-1",children:[(0,r.jsxs)("div",{className:"flex items-center",children:[(0,r.jsx)(eQ.A,{className:"h-4 w-4 mr-1.5"}),(0,r.jsx)("span",{className:"text-sm font-medium",children:"LTE"})]}),(0,r.jsxs)("div",{className:"flex items-center",children:[(0,r.jsx)("p",{className:"mr-2",children:j(p)}),(0,r.jsx)(f.TooltipProvider,{children:(0,r.jsxs)(f.m_,{children:[(0,r.jsx)(f.k$,{asChild:!0,children:(0,r.jsx)(eW.A,{className:"h-4 w-4 text-muted-foreground"})}),(0,r.jsx)(f.ZI,{children:(0,r.jsxs)("p",{className:"max-w-xs text-xs mr-2",children:["LTE TA ",x]})})]})})]})]}),h>0&&(0,r.jsxs)("div",{className:"flex items-center justify-between mb-1",children:[(0,r.jsxs)("div",{className:"flex items-center",children:[(0,r.jsx)(eQ.A,{className:"h-4 w-4 mr-1.5"}),(0,r.jsx)("span",{className:"text-sm font-medium",children:"NR5G"})]}),(0,r.jsxs)("div",{className:"flex items-center",children:[(0,r.jsx)("p",{className:"mr-2",children:j(g)}),(0,r.jsx)(f.TooltipProvider,{children:(0,r.jsxs)(f.m_,{children:[(0,r.jsx)(f.k$,{asChild:!0,children:(0,r.jsx)(eW.A,{className:"h-4 w-4 text-muted-foreground"})}),(0,r.jsx)(f.ZI,{children:(0,r.jsxs)("p",{className:"max-w-xs text-xs mr-2",children:["NTA ",h]})})]})})]})]}),!x&&!h&&(0,r.jsx)("div",{className:"h-16 flex items-center justify-center",children:(0,r.jsx)("p",{className:"text-muted-foreground text-sm",children:"No timing advance data available"})})]})})]})},eK=()=>{var e,s,t;let{toast:a}=(0,n.dj)(),[i,o]=(0,l.useState)(!1),[c,m]=(0,l.useState)(!1),{data:u,isLoading:x,refresh:f,isPublicIPLoading:v}=ew(),{dataConnectionState:j,isStateLoading:N,refresh:w}=eb(),{isRunningDiagnostics:b,runDiagnosticsData:y,startDiagnostics:S}=eC(),{bytesSent:A,bytesReceived:I,refresh:k}=eS(),E=async()=>{try{var e,s;let t=await (0,eZ.a)("AT+QUIMSLOT?"),r=null===(e=t.response)||void 0===e?void 0:e.raw_output.split("\n")[1].split(":")[1].trim(),l=await (0,eZ.a)("1"===r?"AT+QUIMSLOT=2":"AT+QUIMSLOT=1");if("error"===l.status||(null===(s=l.response)||void 0===s?void 0:s.status)==="error")throw Error("Failed to change SIM slot");a({title:"SIM Slot Changed",description:"The SIM slot has been changed successfully"}),setTimeout(async()=>{await (0,eZ.a)("AT+COPS=2"),setTimeout(async()=>{let e=await (0,eZ.a)("AT+COPS=0");if("error"===e.status)throw Error("Failed to reconnect to the network");a({title:"Network Reconnected",description:"The device has been reconnected to the network"})},2e3)},3e3),setTimeout(R,3e3)}catch(e){console.error("Error changing SIM slot:",e),a({variant:"destructive",title:"SIM Slot Change Failed",description:e instanceof Error?e.message:"Failed to change the SIM slot"})}},R=(0,l.useCallback)(async()=>{try{await Promise.all([f(),w(),k()])}catch(e){console.error("Error refreshing data:",e),a({variant:"destructive",title:"Refresh Failed",description:"Failed to refresh the data"})}},[f,w,k]),[P,O]=(0,l.useState)([]),Z=async()=>{try{await S()}catch(e){a({variant:"destructive",title:"Diagnostics Failed",description:"Failed to run diagnostics"})}};return(0,l.useEffect)(()=>{if(u&&u.currentBands){var e;let s=null===(e=u.currentBands.id)||void 0===e?void 0:e.map((e,s)=>{var t,r,l,n,a,i,o;return{id:e,bandNumber:(null===(t=u.currentBands.bandNumber)||void 0===t?void 0:t[s])||"N/A",earfcn:(null===(r=u.currentBands.earfcn)||void 0===r?void 0:r[s])||"N/A",bandwidth:(null===(l=u.currentBands.bandwidth)||void 0===l?void 0:l[s])||"N/A",pci:(null===(n=u.currentBands.pci)||void 0===n?void 0:n[s])||"N/A",rsrp:(null===(a=u.currentBands.rsrp)||void 0===a?void 0:a[s])||"N/A",rsrq:(null===(i=u.currentBands.rsrq)||void 0===i?void 0:i[s])||"N/A",sinr:(null===(o=u.currentBands.sinr)||void 0===o?void 0:o[s])||"N/A"}});s&&O(s)}},[u]),(0,l.useEffect)(()=>{var e,s;(null==u?void 0:null===(s=u.simCard)||void 0===s?void 0:null===(e=s.state)||void 0===e?void 0:e.toLowerCase().includes("failed"))&&a({title:"SMS_Tool failed to acquire token",description:"The system will attempt to recover automatically. If this issue persists, please logout and log back in or restart the device.",variant:"destructive"}),x||(null==u?void 0:u.simCard.state)!=="Not Inserted"||o(!0)},[u,x]),(0,r.jsxs)("div",{className:"grid xl:gap-y-10 gap-y-8 gap-4",children:[(0,r.jsxs)("div",{className:"grid gap-4",children:[(0,r.jsxs)("div",{className:"flex flex-row justify-between items-center",children:[(0,r.jsxs)("div",{className:"flex flex-row gap-2 items-center",children:[(0,r.jsx)("h1",{className:"xl:text-3xl text-base font-bold",children:"Connection Summary"}),(0,r.jsx)(D.$,{variant:"ghost",size:"icon",className:"text-sm",onClick:R,children:(0,r.jsx)(L.A,{className:"xl:size-6 size-5 text-blue-500",strokeWidth:3})})]}),(0,r.jsxs)("div",{className:"flex flex-row items-center gap-x-2",children:[(0,r.jsxs)(D.$,{onClick:()=>m(e=>!e),children:[c?(0,r.jsx)(U.A,{className:"xl:size-6 size-5"}):(0,r.jsx)(G.A,{className:"xl:size-6 size-5"}),(0,r.jsxs)("span",{className:"hidden md:block",children:[c?"Show":"Hide"," Sensitive Data"]})]}),(null==u?void 0:u.simCard.state)==="Not Inserted"&&(0,r.jsxs)(z.lG,{open:i,onOpenChange:o,children:[(0,r.jsx)(z.zM,{asChild:!0,children:(0,r.jsxs)(D.$,{variant:"destructive",children:[(0,r.jsx)(eI.fU4,{className:"xl:size-6 size-5"}),(0,r.jsx)("span",{className:"hidden md:block",children:"No SIM"})]})}),(0,r.jsxs)(z.Cf,{className:"max-w-xs md:max-w-lg",children:[(0,r.jsx)(z.c7,{children:(0,r.jsx)(z.L3,{children:"No SIM Detected"})}),(0,r.jsxs)("div",{className:"grid gap-4 py-4",children:[(0,r.jsx)("div",{className:"flex items-center justify-center",children:(0,r.jsx)(eI.fU4,{className:"xl:size-14 md:size-12 size-6 text-red-500"})}),(0,r.jsx)("p",{className:"text-center",children:"There is no SIM card detected in the device. Please insert a SIM card or change the SIM card slot to use the device."})]}),(0,r.jsxs)("div",{className:"flex justify-end mt-4",children:[(0,r.jsx)(D.$,{onClick:E,className:"mr-2",children:"Change SIM Slot"}),(0,r.jsx)(z.HM,{asChild:!0,children:(0,r.jsx)(D.$,{variant:"secondary",onClick:()=>o(!1),children:"Close"})})]})]})]}),(0,r.jsxs)(z.lG,{children:[(0,r.jsx)(z.zM,{asChild:!0,children:(0,r.jsxs)(D.$,{onClick:Z,children:[(0,r.jsx)(B.A,{className:"xl:size-6 size-5"}),(0,r.jsx)("span",{className:"hidden md:block",children:"Run Diagnostics"})]})}),!b&&(0,r.jsxs)(z.Cf,{className:"max-w-xs md:max-w-lg",children:[(0,r.jsx)(z.c7,{children:(0,r.jsx)(z.L3,{children:"Diagnostics Result"})}),(0,r.jsx)(z.rr,{children:"This is the result of the diagnostic test ran on your device."}),(0,r.jsxs)("div",{className:"grid gap-4 py-4",children:[(0,r.jsxs)("div",{className:"flex items-center justify-between",children:[(0,r.jsx)("h3",{className:"font-semibold",children:"Network Registration "}),(null==y?void 0:y.netRegistration)==="Registered"?(0,r.jsx)(_.A,{className:"text-green-500"}):(0,r.jsx)(F.A,{className:"text-red-500"})]}),(0,r.jsxs)("div",{className:"flex items-center justify-between",children:[(0,r.jsx)("h3",{className:"font-semibold",children:"U-SIM State"}),(null==y?void 0:y.simState)==="READY"?(0,r.jsx)(_.A,{className:"text-green-500"}):(0,r.jsx)(F.A,{className:"text-red-500"})]}),(0,r.jsxs)("div",{className:"flex items-center justify-between",children:[(0,r.jsx)("h3",{className:"font-semibold",children:"Manual APN"}),(null==y?void 0:y.manualAPN)==="Enabled"?(0,r.jsx)(_.A,{className:"text-green-500"}):(0,r.jsx)(F.A,{className:"text-red-500"})]}),(0,r.jsxs)("div",{className:"flex items-center justify-between",children:[(0,r.jsx)("h3",{className:"font-semibold",children:"WAN IP"}),(null==y?void 0:y.wanIP)==="Connected"?(0,r.jsx)(_.A,{className:"text-green-500"}):(0,r.jsx)(F.A,{className:"text-red-500"})]}),(0,r.jsxs)("div",{className:"flex items-center justify-between",children:[(0,r.jsx)("h3",{className:"font-semibold",children:"Cellular Signal"}),(null==y?void 0:y.cellSignal)==="Good"?(0,r.jsx)(_.A,{className:"text-green-500"}):(0,r.jsx)(F.A,{className:"text-red-500"})]}),(0,r.jsxs)("div",{className:"flex items-center justify-between",children:[(0,r.jsx)("h3",{className:"font-semibold",children:"Modem Temperature"}),(null==y?void 0:y.modemTemp)==="Normal"?(0,r.jsx)(_.A,{className:"text-green-500"}):(0,r.jsx)(F.A,{className:"text-red-500"})]}),(0,r.jsxs)("div",{className:"flex items-center justify-between mt-6",children:[(0,r.jsx)("h3",{className:"font-semibold",children:"Network Reject Causes"}),(0,r.jsx)("div",{className:"flex flex-col items-end space-y-1",children:(null==y?void 0:y.rejectCauses)?(0,r.jsxs)(r.Fragment,{children:[y.rejectCauses.emm&&(0,r.jsxs)("div",{className:"flex items-center space-x-2",children:[(0,r.jsx)(F.A,{className:"text-red-500 w-4 h-4"}),(0,r.jsxs)("span",{className:"text-sm",children:["EMM (",y.rejectCauses.emm.code,"):"," ",y.rejectCauses.emm.description]})]}),y.rejectCauses.esm&&(0,r.jsxs)("div",{className:"flex items-center space-x-2",children:[(0,r.jsx)(F.A,{className:"text-red-500 w-4 h-4"}),(0,r.jsxs)("span",{className:"text-sm",children:["ESM (",y.rejectCauses.esm.code,"):"," ",y.rejectCauses.esm.description]})]}),y.rejectCauses.nrmm&&(0,r.jsxs)("div",{className:"flex items-center space-x-2",children:[(0,r.jsx)(F.A,{className:"text-red-500 w-4 h-4"}),(0,r.jsxs)("span",{className:"text-sm",children:["NRMM (",y.rejectCauses.nrmm.code,"):"," ",y.rejectCauses.nrmm.description]})]})]}):(0,r.jsxs)("div",{className:"flex items-center space-x-2",children:[(0,r.jsx)(_.A,{className:"text-green-500"}),(0,r.jsx)("span",{children:"None"})]})})]})]})]}),b&&(0,r.jsxs)(z.Cf,{className:"max-w-xs md:max-w-lg",children:[(0,r.jsx)(z.c7,{children:(0,r.jsx)(z.L3,{children:"Running Diagnostics"})}),(0,r.jsx)("div",{className:"flex items-center justify-center my-4",children:(0,r.jsx)(q(),{color:"#6D28D9"})}),(0,r.jsx)(z.rr,{className:"text-center",children:"Please wait while we run diagnostics on your device."})]})]})]})]}),(0,r.jsxs)("div",{className:"grid lg:grid-cols-2 grid-cols-1 grid-flow-row gap-4",children:[(0,r.jsx)("div",{children:(0,r.jsx)(C,{})}),(0,r.jsxs)("div",{className:"grid gap-2 lg:grid-cols-2 grid-cols-1 grid-flow-row",children:[(0,r.jsx)(e$,{lteTimeAdvance:null==u?void 0:null===(e=u.timeAdvance)||void 0===e?void 0:e.lteTimeAdvance,nrTimeAdvance:null==u?void 0:null===(s=u.timeAdvance)||void 0===s?void 0:s.nrTimeAdvance,isLoading:x,networkType:null==u?void 0:null===(t=u.connection)||void 0===t?void 0:t.networkType}),(0,r.jsx)(T,{}),(0,r.jsx)(eq,{}),(0,r.jsx)(M,{})]})]}),(0,r.jsxs)("div",{className:"grid 2xl:grid-cols-4 lg:grid-cols-2 grid-cols-1 gap-4",children:[(0,r.jsx)(d,{data:u,isLoading:x,hideSensitiveData:c}),(0,r.jsx)(h,{data:u,isLoading:x,dataConnectionState:j,connectionStateLoading:N}),(0,r.jsx)(p,{data:u,isLoading:x,bytesSent:A,bytesReceived:I}),(0,r.jsx)(g,{data:u,isLoading:x})]})]}),(0,r.jsxs)("div",{className:"grid gap-4 w-full",children:[(0,r.jsx)("h1",{className:"xl:text-3xl text-base font-bold",children:"Active Addresses"}),(0,r.jsx)("div",{children:(0,r.jsx)(eH,{data:u,isLoading:x,isPublicIPLoading:v,hideSensitiveData:c})})]}),(0,r.jsxs)("div",{className:"grid gap-4 w-full",children:[(0,r.jsx)("h1",{className:"xl:text-3xl text-base font-bold",children:"Current Active Bands"}),(0,r.jsx)("div",{children:(0,r.jsx)(X,{bands:P,isLoading:x})})]})]})}},45934:(e,s,t)=>{"use strict";t.d(s,{E:()=>i});var r=t(20475);t(20107);var l=t(29395),n=t(22250);let a=(0,l.F)("inline-flex items-center rounded-md border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground shadow hover:bg-primary/80",secondary:"border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80",destructive:"border-transparent bg-destructive text-destructive-foreground shadow hover:bg-destructive/80",outline:"text-foreground"}},defaultVariants:{variant:"default"}});function i(e){let{className:s,variant:t,...l}=e;return(0,r.jsx)("div",{className:(0,n.cn)(a({variant:t}),s),...l})}},42541:(e,s,t)=>{"use strict";t.d(s,{$:()=>d,r:()=>o});var r=t(20475),l=t(20107),n=t(61837),a=t(29395),i=t(22250);let o=(0,a.F)("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{variants:{variant:{default:"bg-primary text-primary-foreground shadow hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90",outline:"border border-input bg-background shadow-sm hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2",sm:"h-8 rounded-md px-3 text-xs",lg:"h-10 rounded-md px-8",icon:"h-9 w-9"}},defaultVariants:{variant:"default",size:"default"}}),d=l.forwardRef((e,s)=>{let{className:t,variant:l,size:a,asChild:d=!1,...c}=e,m=d?n.DX:"button";return(0,r.jsx)(m,{className:(0,i.cn)(o({variant:l,size:a,className:t})),ref:s,...c})});d.displayName="Button"},72167:(e,s,t)=>{"use strict";t.d(s,{BT:()=>d,Wu:()=>c,ZB:()=>o,Zp:()=>a,aR:()=>i,wL:()=>m});var r=t(20475),l=t(20107),n=t(22250);let a=l.forwardRef((e,s)=>{let{className:t,...l}=e;return(0,r.jsx)("div",{ref:s,className:(0,n.cn)("rounded-xl border bg-card text-card-foreground shadow",t),...l})});a.displayName="Card";let i=l.forwardRef((e,s)=>{let{className:t,...l}=e;return(0,r.jsx)("div",{ref:s,className:(0,n.cn)("flex flex-col space-y-1.5 p-6",t),...l})});i.displayName="CardHeader";let o=l.forwardRef((e,s)=>{let{className:t,...l}=e;return(0,r.jsx)("h3",{ref:s,className:(0,n.cn)("font-semibold leading-none tracking-tight",t),...l})});o.displayName="CardTitle";let d=l.forwardRef((e,s)=>{let{className:t,...l}=e;return(0,r.jsx)("p",{ref:s,className:(0,n.cn)("text-sm text-muted-foreground",t),...l})});d.displayName="CardDescription";let c=l.forwardRef((e,s)=>{let{className:t,...l}=e;return(0,r.jsx)("div",{ref:s,className:(0,n.cn)("p-6 pt-0",t),...l})});c.displayName="CardContent";let m=l.forwardRef((e,s)=>{let{className:t,...l}=e;return(0,r.jsx)("div",{ref:s,className:(0,n.cn)("flex items-center p-6 pt-0",t),...l})});m.displayName="CardFooter"},1307:(e,s,t)=>{"use strict";t.d(s,{II:()=>h,Nt:()=>p,at:()=>u});var r=t(20475),l=t(20107),n=t(81155),a=t(58601),i=t(58736),o=t(22250);let d={light:"",dark:".dark"},c=l.createContext(null);function m(){let e=l.useContext(c);if(!e)throw Error("useChart must be used within a ");return e}let u=l.forwardRef((e,s)=>{let{id:t,className:a,children:i,config:d,...m}=e,u=l.useId(),h="chart-".concat(t||u.replace(/:/g,""));return(0,r.jsx)(c.Provider,{value:{config:d},children:(0,r.jsxs)("div",{"data-chart":h,ref:s,className:(0,o.cn)("flex aspect-video justify-center text-xs [&_.recharts-cartesian-axis-tick_text]:fill-muted-foreground [&_.recharts-cartesian-grid_line[stroke='#ccc']]:stroke-border/50 [&_.recharts-curve.recharts-tooltip-cursor]:stroke-border [&_.recharts-dot[stroke='#fff']]:stroke-transparent [&_.recharts-layer]:outline-none [&_.recharts-polar-grid_[stroke='#ccc']]:stroke-border [&_.recharts-radial-bar-background-sector]:fill-muted [&_.recharts-rectangle.recharts-tooltip-cursor]:fill-muted [&_.recharts-reference-line_[stroke='#ccc']]:stroke-border [&_.recharts-sector[stroke='#fff']]:stroke-transparent [&_.recharts-sector]:outline-none [&_.recharts-surface]:outline-none",a),...m,children:[(0,r.jsx)(x,{id:h,config:d}),(0,r.jsx)(n.u,{children:i})]})})});u.displayName="Chart";let x=e=>{let{id:s,config:t}=e,l=Object.entries(t).filter(e=>{let[s,t]=e;return t.theme||t.color});return l.length?(0,r.jsx)("style",{dangerouslySetInnerHTML:{__html:Object.entries(d).map(e=>{let[t,r]=e;return"\n".concat(r," [data-chart=").concat(s,"] {\n").concat(l.map(e=>{var s;let[r,l]=e,n=(null===(s=l.theme)||void 0===s?void 0:s[t])||l.color;return n?" --color-".concat(r,": ").concat(n,";"):null}).join("\n"),"\n}\n")}).join("\n")}}):null},h=a.m,p=l.forwardRef((e,s)=>{let{active:t,payload:n,className:a,indicator:i="dot",hideLabel:d=!1,hideIndicator:c=!1,label:u,labelFormatter:x,labelClassName:h,formatter:p,color:g,nameKey:v,labelKey:j}=e,{config:N}=m(),w=l.useMemo(()=>{var e;if(d||!(null==n?void 0:n.length))return null;let[s]=n,t="".concat(j||s.dataKey||s.name||"value"),l=f(N,s,t),a=j||"string"!=typeof u?null==l?void 0:l.label:(null===(e=N[u])||void 0===e?void 0:e.label)||u;return x?(0,r.jsx)("div",{className:(0,o.cn)("font-medium",h),children:x(a,n)}):a?(0,r.jsx)("div",{className:(0,o.cn)("font-medium",h),children:a}):null},[u,x,n,d,h,N,j]);if(!t||!(null==n?void 0:n.length))return null;let b=1===n.length&&"dot"!==i;return(0,r.jsxs)("div",{ref:s,className:(0,o.cn)("grid min-w-[8rem] items-start gap-1.5 rounded-lg border border-border/50 bg-background px-2.5 py-1.5 text-xs shadow-xl",a),children:[b?null:w,(0,r.jsx)("div",{className:"grid gap-1.5",children:n.map((e,s)=>{let t="".concat(v||e.name||e.dataKey||"value"),l=f(N,e,t),n=g||e.payload.fill||e.color;return(0,r.jsx)("div",{className:(0,o.cn)("flex w-full flex-wrap items-stretch gap-2 [&>svg]:h-2.5 [&>svg]:w-2.5 [&>svg]:text-muted-foreground","dot"===i&&"items-center"),children:p&&(null==e?void 0:e.value)!==void 0&&e.name?p(e.value,e.name,e,s,e.payload):(0,r.jsxs)(r.Fragment,{children:[(null==l?void 0:l.icon)?(0,r.jsx)(l.icon,{}):!c&&(0,r.jsx)("div",{className:(0,o.cn)("shrink-0 rounded-[2px] border-[--color-border] bg-[--color-bg]",{"h-2.5 w-2.5":"dot"===i,"w-1":"line"===i,"w-0 border-[1.5px] border-dashed bg-transparent":"dashed"===i,"my-0.5":b&&"dashed"===i}),style:{"--color-bg":n,"--color-border":n}}),(0,r.jsxs)("div",{className:(0,o.cn)("flex flex-1 justify-between leading-none",b?"items-end":"items-center"),children:[(0,r.jsxs)("div",{className:"grid gap-1.5",children:[b?w:null,(0,r.jsx)("span",{className:"text-muted-foreground",children:(null==l?void 0:l.label)||e.name})]}),e.value&&(0,r.jsx)("span",{className:"font-mono font-medium tabular-nums text-foreground",children:e.value.toLocaleString()})]})]})},e.dataKey)})})]})});function f(e,s,t){if("object"!=typeof s||null===s)return;let r="payload"in s&&"object"==typeof s.payload&&null!==s.payload?s.payload:void 0,l=t;return t in s&&"string"==typeof s[t]?l=s[t]:r&&t in r&&"string"==typeof r[t]&&(l=r[t]),l in e?e[l]:e[t]}p.displayName="ChartTooltip",i.s,l.forwardRef((e,s)=>{let{className:t,hideIcon:l=!1,payload:n,verticalAlign:a="bottom",nameKey:i}=e,{config:d}=m();return(null==n?void 0:n.length)?(0,r.jsx)("div",{ref:s,className:(0,o.cn)("flex items-center justify-center gap-4","top"===a?"pb-3":"pt-3",t),children:n.map(e=>{let s="".concat(i||e.dataKey||"value"),t=f(d,e,s);return(0,r.jsxs)("div",{className:(0,o.cn)("flex items-center gap-1.5 [&>svg]:h-3 [&>svg]:w-3 [&>svg]:text-muted-foreground"),children:[(null==t?void 0:t.icon)&&!l?(0,r.jsx)(t.icon,{}):(0,r.jsx)("div",{className:"h-2 w-2 shrink-0 rounded-[2px]",style:{backgroundColor:e.color}}),null==t?void 0:t.label]},e.value)})}):null}).displayName="ChartLegend"},93557:(e,s,t)=>{"use strict";t.d(s,{Cf:()=>x,Es:()=>p,HM:()=>m,L3:()=>f,c7:()=>h,lG:()=>o,rr:()=>g,zM:()=>d});var r=t(20475),l=t(20107),n=t(60241),a=t(7197),i=t(22250);let o=n.bL,d=n.l9,c=n.ZL,m=n.bm,u=l.forwardRef((e,s)=>{let{className:t,...l}=e;return(0,r.jsx)(n.hJ,{ref:s,className:(0,i.cn)("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",t),...l})});u.displayName=n.hJ.displayName;let x=l.forwardRef((e,s)=>{let{className:t,children:l,...o}=e;return(0,r.jsxs)(c,{children:[(0,r.jsx)(u,{}),(0,r.jsxs)(n.UC,{ref:s,className:(0,i.cn)("fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",t),...o,children:[l,(0,r.jsxs)(n.bm,{className:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground",children:[(0,r.jsx)(a.MKb,{className:"h-4 w-4"}),(0,r.jsx)("span",{className:"sr-only",children:"Close"})]})]})]})});x.displayName=n.UC.displayName;let h=e=>{let{className:s,...t}=e;return(0,r.jsx)("div",{className:(0,i.cn)("flex flex-col space-y-1.5 text-center sm:text-left",s),...t})};h.displayName="DialogHeader";let p=e=>{let{className:s,...t}=e;return(0,r.jsx)("div",{className:(0,i.cn)("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",s),...t})};p.displayName="DialogFooter";let f=l.forwardRef((e,s)=>{let{className:t,...l}=e;return(0,r.jsx)(n.hE,{ref:s,className:(0,i.cn)("text-lg font-semibold leading-none tracking-tight",t),...l})});f.displayName=n.hE.displayName;let g=l.forwardRef((e,s)=>{let{className:t,...l}=e;return(0,r.jsx)(n.VY,{ref:s,className:(0,i.cn)("text-sm text-muted-foreground",t),...l})});g.displayName=n.VY.displayName},36760:(e,s,t)=>{"use strict";t.d(s,{E:()=>n});var r=t(20475),l=t(22250);function n(e){let{className:s,...t}=e;return(0,r.jsx)("div",{className:(0,l.cn)("animate-pulse rounded-md bg-primary/10",s),...t})}},85014:(e,s,t)=>{"use strict";t.d(s,{TooltipProvider:()=>i,ZI:()=>c,k$:()=>d,m_:()=>o});var r=t(20475),l=t(20107),n=t(43048),a=t(22250);let i=n.Kq,o=n.bL,d=n.l9,c=l.forwardRef((e,s)=>{let{className:t,sideOffset:l=4,...i}=e;return(0,r.jsx)(n.UC,{ref:s,sideOffset:l,className:(0,a.cn)("z-50 overflow-hidden rounded-md bg-primary px-3 py-1.5 text-xs text-primary-foreground animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",t),...i})});c.displayName=n.UC.displayName},32857:(e,s,t)=>{"use strict";t.d(s,{dj:()=>u,oR:()=>m});var r=t(20107);let l=0,n=new Map,a=e=>{if(n.has(e))return;let s=setTimeout(()=>{n.delete(e),c({type:"REMOVE_TOAST",toastId:e})},1e6);n.set(e,s)},i=(e,s)=>{switch(s.type){case"ADD_TOAST":return{...e,toasts:[s.toast,...e.toasts].slice(0,1)};case"UPDATE_TOAST":return{...e,toasts:e.toasts.map(e=>e.id===s.toast.id?{...e,...s.toast}:e)};case"DISMISS_TOAST":{let{toastId:t}=s;return t?a(t):e.toasts.forEach(e=>{a(e.id)}),{...e,toasts:e.toasts.map(e=>e.id===t||void 0===t?{...e,open:!1}:e)}}case"REMOVE_TOAST":if(void 0===s.toastId)return{...e,toasts:[]};return{...e,toasts:e.toasts.filter(e=>e.id!==s.toastId)}}},o=[],d={toasts:[]};function c(e){d=i(d,e),o.forEach(e=>{e(d)})}function m(e){let{...s}=e,t=(l=(l+1)%Number.MAX_SAFE_INTEGER).toString(),r=()=>c({type:"DISMISS_TOAST",toastId:t});return c({type:"ADD_TOAST",toast:{...s,id:t,open:!0,onOpenChange:e=>{e||r()}}}),{id:t,dismiss:r,update:e=>c({type:"UPDATE_TOAST",toast:{...e,id:t}})}}function u(){let[e,s]=r.useState(d);return r.useEffect(()=>(o.push(s),()=>{let e=o.indexOf(s);e>-1&&o.splice(e,1)}),[e]),{...e,toast:m,dismiss:e=>c({type:"DISMISS_TOAST",toastId:e})}}},22250:(e,s,t)=>{"use strict";t.d(s,{cn:()=>n});var r=t(64901),l=t(868);function n(){for(var e=arguments.length,s=Array(e),t=0;t{"use strict";t.d(s,{QI:()=>a,U_:()=>r,ZK:()=>l,jq:()=>n});let r={6:"1.4 MHz",15:"3 MHz",25:"5 MHz",50:"10 MHz",75:"15 MHz",100:"20 MHz","-":"-"},l={0:"No cause",2:"IMSI unknown in HSS",3:"Illegal UE",5:"IMEI not accepted",6:"Illegal ME",7:"EPS services not allowed",8:"EPS services and non-EPS services not allowed",9:"UE identity cannot be derived by the network",10:"Implicitly detached",11:"PLMN not allowed",12:"Tracking Area not allowed",13:"Roaming not allowed in this tracking area",14:"EPS services not allowed in this PLMN",15:"No Suitable Cells in tracking area",16:"MSC temporarily not reachable",17:"Network failure",18:"CS domain not available",19:"ESM failure",20:"MAC failure",21:"Synch failure",22:"Congestion",23:"UE security capabilities mismatch",24:"Security mode rejected, unspecified",25:"Not authorized for this CSG",26:"Non-EPS authentication unacceptable",31:"Redirection to 5GCN required",35:"Requested service option not authorized in this PLMN",39:"CS service temporarily not available",40:"No EPS bearer context activated",42:"Severe network failure",95:"Semantically incorrect message",96:"Invalid mandatory information",97:"Message type non-existent or not implemented",98:"Message type not compatible with the protocol state",99:"Information element non-existent or not implemented",100:"Conditional IE error",101:"Message not compatible with the protocol state",111:"Protocol error, unspecified"},n={0:"No cause",8:"Operator Determined Barring",26:"Insufficient resources",27:"Missing or unknown APN",28:"Unknown PDN type",29:"User authentication failed",30:"Request rejected by Serving GW or PDN GW",31:"Request rejected, unspecified",32:"Service option not supported",33:"Requested service option not subscribed",34:"Service option temporarily out of order",35:"PTI already in use",36:"Regular deactivation",37:"EPS QoS not accepted",38:"Network failure",39:"Reactivation requested",41:"Semantic error in the TFT operation",42:"Syntactical error in the TFT operation",43:"Invalid EPS bearer identity",44:"Semantic errors in packet filter(s)",45:"Syntactical errors in packet filter(s)",46:"Unused (see NOTE 2)",47:"PTI mismatch",49:"Last PDN disconnection not allowed",50:"PDN type IPv4 only allowed",51:"PDN type IPv6 only allowed",52:"Single address bearers only allowed",53:"ESM information not received",54:"PDN connection does not exist",55:"Multiple PDN connections for a given APN not allowed",56:"Collision with network initiated request",57:"PDN type IPv4v6 only allowed",58:"PDN type non IP only allowed",59:"Unsupported QCI value",60:"Bearer handling not supported",61:"PDN type Ethernet only allowed",65:"Maximum number of EPS bearers reached",66:"Requested APN not supported in current RAT and PLMN combination",81:"Invalid PTI value",95:"Semantically incorrect message",96:"Invalid mandatory information",97:"Message type non-existent or not implemented",98:"Message type not compatible with the protocol state",99:"Information element non-existent or not implemented",100:"Conditional IE error",101:"Message not compatible with the protocol state",111:"Protocol error, unspecified",112:"APN restriction value incompatible with active EPS bearer context",113:"Multiple accesses to a PDN connection not allowed"},a={0:"No cause",3:"Illegal UE",5:"PEI not accepted",6:"Illegal ME",7:"5GS services not allowed",9:"UE identity cannot be derived by the network",10:"Implicitly de-registered",11:"PLMN not allowed",12:"Tracking area not allowed",13:"Roaming not allowed in this tracking area",15:"No suitable cells in tracking area",20:"MAC failure",21:"Synch failure",22:"Congestion",23:"UE security capabilities mismatch",24:"Security mode rejected, unspecified",26:"Non-5G authentication unacceptable",27:"N1 mode not allowed",28:"Restricted service area",31:"Redirection to EPC required",43:"LADN not available",62:"No network slices available",65:"Maximum number of PDU sessions reached",67:"Insufficient resources for specific slice and DNN",69:"Insufficient resources for specific slice",71:"ngKSI already in use",72:"Non-3GPP access to 5GCN not allowed",73:"Serving network not authorized",74:"Temporarily not authorized for this SNPN",75:"Permanently not authorized for this SNPN",76:"Not authorized for this CAG or authorized for CAG cells only",77:"Wireline access area not allowed",78:"PLMN not allowed to operate at the present UE location",79:"UAS services not allowed",90:"Payload was not forwarded",91:"DNN not supported or not subscribed in the slice",92:"Insufficient user-plane resources for the PDU session",95:"Semantically incorrect message",96:"Invalid mandatory information",97:"Message type non-existent or not implemented",98:"Message type not compatible with the protocol state",99:"Information element non-existent or not implemented",100:"Conditional IE error",101:"Message not compatible with the protocol state",111:"Protocol error, unspecified"}},88926:(e,s,t)=>{"use strict";t.d(s,{a:()=>r});let r=async function(e){let s=!(arguments.length>1)||void 0===arguments[1]||arguments[1],t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:30;try{var r;let l=e.trim().toUpperCase().startsWith("AT")?e.trim():"AT".concat(e.trim()),n=encodeURIComponent(l),a="/cgi-bin/quecmanager/at_cmd/at_queue_client.sh?command=".concat(n);s&&(a+="&wait=1&timeout=".concat(t));let i=await fetch(a,{method:"GET",headers:{Accept:"application/json",Authorization:"".concat(localStorage.getItem("authToken"))},signal:AbortSignal.timeout(1e3*t+5e3)});if(!i.ok)throw Error("AT command failed with status: ".concat(i.status));let o=await i.json();if(o.error)throw Error("AT queue error: ".concat(o.error));if(s&&(null===(r=o.response)||void 0===r?void 0:r.status)==="timeout")throw Error("AT command timed out after ".concat(t," seconds"));return o}catch(e){throw console.error("AT Command error:",e),e}}}},e=>{var s=s=>e(e.s=s);e.O(0,[9980,9649,7780,8885,3746,9464,3048,1074,3095,4020,191,6035,7358],()=>s(98722)),_N_E=e.O()}]); \ No newline at end of file +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6665],{98722:(e,s,t)=>{Promise.resolve().then(t.bind(t,42988))},42988:(e,s,t)=>{"use strict";t.r(s),t.d(s,{default:()=>eK});var r=t(20475),l=t(20107),n=t(32857),a=t(72167),i=t(36760),o=t(45934);let d=e=>{let{data:s,isLoading:t,hideSensitiveData:l}=e;return(0,r.jsxs)(a.Zp,{children:[(0,r.jsxs)(a.aR,{children:[(0,r.jsx)(a.ZB,{children:"Sim Card"}),(0,r.jsx)(a.BT,{children:"Sim card information"})]}),(0,r.jsxs)(a.Wu,{className:"grid gap-2",children:[(0,r.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,r.jsx)("p",{children:"Sim Card Slot in Use"}),t?(0,r.jsx)(i.E,{className:"h-4 w-[50px]"}):(0,r.jsx)("p",{className:"font-bold",children:null==s?void 0:s.simCard.slot})]}),(0,r.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,r.jsx)("p",{children:"Sim Card State"}),t?(0,r.jsx)(i.E,{className:"h-6 w-[100px]"}):(0,r.jsx)(o.E,{className:"font-bold ".concat((null==s?void 0:s.simCard.state)==="Inserted"?"bg-emerald-500 hover:bg-emerald-800":"bg-rose-500 hover:bg-rose-800"),children:null==s?void 0:s.simCard.state})]}),(0,r.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,r.jsx)("p",{children:"Provider"}),t?(0,r.jsx)(i.E,{className:"h-4 w-[100px]"}):(0,r.jsx)("p",{className:"font-bold",children:null==s?void 0:s.simCard.provider})]}),(0,r.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,r.jsx)("p",{children:"Phone Number"}),t?(0,r.jsx)(i.E,{className:"h-4 w-[140px]"}):l?(0,r.jsx)("div",{className:"border-none bg-gray-600 rounded-md h-5 md:w-36 w-24"}):(0,r.jsx)("p",{className:"font-bold",children:null==s?void 0:s.simCard.phoneNumber})]}),(0,r.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,r.jsx)("p",{children:"IMSI"}),t?(0,r.jsx)(i.E,{className:"h-4 w-[140px]"}):l?(0,r.jsx)("div",{className:"border-none bg-gray-600 rounded-md h-5 md:w-36 w-24"}):(0,r.jsx)("p",{className:"font-bold",children:null==s?void 0:s.simCard.imsi})]}),(0,r.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,r.jsx)("p",{children:"ICCID"}),t?(0,r.jsx)(i.E,{className:"h-4 w-[140px]"}):l?(0,r.jsx)("div",{className:"border-none bg-gray-600 rounded-md h-5 md:w-36 w-24"}):(0,r.jsx)("p",{className:"font-bold",children:null==s?void 0:s.simCard.iccid})]}),(0,r.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,r.jsx)("p",{children:"IMEI"}),t?(0,r.jsx)(i.E,{className:"h-4 w-[140px]"}):l?(0,r.jsx)("div",{className:"border-none bg-gray-600 rounded-md h-5 md:w-36 w-24"}):(0,r.jsx)("p",{className:"font-bold",children:null==s?void 0:s.simCard.imei})]})]})]})},c={6:"1.4 MHz",15:"3 MHz",25:"5 MHz",50:"10 MHz",75:"15 MHz",100:"20 MHz"},m={0:"5 MHz",1:"10 MHz",2:"15 MHz",3:"20 MHz",4:"25 MHz",5:"30 MHz",6:"40 MHz",7:"50 MHz",8:"60 MHz",9:"70 MHz",10:"80 MHz",11:"90 MHz",12:"100 MHz",13:"200 MHz",14:"400 MHz",15:"35 MHz",16:"45 MHz"},u={2:"UTRAN",4:"HSDPA",5:"HSUPA",6:"HSDPA & HSUPA",7:"E-UTRAN",10:"E-UTRAN - 5GCN",11:"NR - 5GCN",12:"NG-RAN",13:"E-UTRAN-NR Dual"},x=e=>u[e]||"Unknown",h=e=>{let{data:s,isLoading:t,dataConnectionState:l,connectionStateLoading:n}=e;return(0,r.jsxs)(a.Zp,{children:[(0,r.jsxs)(a.aR,{children:[(0,r.jsx)(a.ZB,{children:"Connection"}),(0,r.jsx)(a.BT,{children:"Connection information"})]}),(0,r.jsxs)(a.Wu,{className:"grid gap-2",children:[(0,r.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,r.jsx)("div",{children:"APN"}),t?(0,r.jsx)(i.E,{className:"h-4 w-[100px]"}):(0,r.jsx)("div",{className:"font-bold",children:null==s?void 0:s.connection.apn})]}),(0,r.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,r.jsx)("div",{children:"Operator State"}),t?(0,r.jsx)(i.E,{className:"h-6 w-[100px]"}):(0,r.jsx)(o.E,{className:"font-bold ".concat((null==s?void 0:s.connection.operatorState)==="Unknown"||(null==s?void 0:s.connection.operatorState)==="Denied"||(null==s?void 0:s.connection.operatorState)==="Not Registered"?"bg-rose-500 hover:bg-rose-800":"bg-emerald-500 hover:bg-emerald-800"),children:null==s?void 0:s.connection.operatorState})]}),(0,r.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,r.jsx)("div",{children:"Functionality State"}),t?(0,r.jsx)(i.E,{className:"h-6 w-[100px]"}):(0,r.jsx)(o.E,{className:"font-bold ".concat((null==s?void 0:s.connection.functionalityState)==="Enabled"?"bg-emerald-500 hover:bg-emerald-800":"bg-rose-500 hover:bg-rose-800"),children:null==s?void 0:s.connection.functionalityState})]}),(0,r.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,r.jsx)("div",{children:"Data Connection State"}),n?(0,r.jsx)(i.E,{className:"h-6 w-[100px]"}):(0,r.jsx)(o.E,{className:"font-bold ".concat("Connected"===l?"bg-emerald-500 hover:bg-emerald-800":"bg-rose-500 hover:bg-rose-800"),children:l})]}),(0,r.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,r.jsx)("div",{children:"Network Type"}),t?(0,r.jsx)(i.E,{className:"h-4 w-[100px]"}):(0,r.jsx)("div",{className:"font-bold",children:null==s?void 0:s.connection.networkType})]}),(0,r.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,r.jsx)("div",{children:"Modem Temperature"}),t?(0,r.jsx)(i.E,{className:"h-4 w-[100px]"}):(0,r.jsx)("div",{className:"font-bold",children:null==s?void 0:s.connection.modemTemperature})]}),(0,r.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,r.jsx)("div",{children:"Access Technology"}),t?(0,r.jsx)(i.E,{className:"h-4 w-[100px]"}):(0,r.jsx)("div",{className:"font-bold",children:(null==s?void 0:s.connection.accessTechnology)?x(s.connection.accessTechnology):"Unknown"})]})]})]})},p=e=>{let{data:s,isLoading:t,bytesSent:l,bytesReceived:n}=e;return(0,r.jsxs)(a.Zp,{children:[(0,r.jsxs)(a.aR,{children:[(0,r.jsx)(a.ZB,{children:"Data Transmission"}),(0,r.jsx)(a.BT,{children:"Data transmission information"})]}),(0,r.jsxs)(a.Wu,{className:"grid gap-2",children:[(0,r.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,r.jsx)("p",{children:"Carrier Aggregation"}),t?(0,r.jsx)(i.E,{className:"h-6 w-[100px]"}):(0,r.jsx)(o.E,{className:"font-bold ".concat((null==s?void 0:s.dataTransmission.carrierAggregation)==="Multi"?"bg-emerald-500 hover:bg-emerald-800":"bg-rose-500 hover:bg-rose-800"),children:null==s?void 0:s.dataTransmission.carrierAggregation})]}),(0,r.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,r.jsx)("p",{children:"Bandwidth"}),t?(0,r.jsx)(i.E,{className:"h-4 w-[100px]"}):(0,r.jsx)("p",{className:"font-bold",children:null==s?void 0:s.dataTransmission.bandwidth})]}),(0,r.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,r.jsx)("p",{children:"Connected Bands"}),t?(0,r.jsx)(i.E,{className:"h-4 w-[100px]"}):(0,r.jsx)("p",{className:"font-bold",children:null==s?void 0:s.dataTransmission.connectedBands})]}),(0,r.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,r.jsx)("p",{children:"Signal Strength"}),t?(0,r.jsx)(i.E,{className:"h-6 w-[100px]"}):(0,r.jsx)(o.E,{className:"font-bold ".concat((null==s?void 0:s.dataTransmission.signalStrength)&&parseInt(null==s?void 0:s.dataTransmission.signalStrength)>80?"bg-emerald-500 hover:bg-emerald-800":(null==s?void 0:s.dataTransmission.signalStrength)&&parseInt(null==s?void 0:s.dataTransmission.signalStrength)>40?"bg-orange-500 hover:bg-orange-800":"bg-rose-500 hover:bg-rose-800"),children:null==s?void 0:s.dataTransmission.signalStrength})]}),(0,r.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,r.jsx)("p",{children:"MIMO Layers"}),t?(0,r.jsx)(i.E,{className:"h-4 w-[100px]"}):(0,r.jsx)("p",{className:"font-bold",children:null==s?void 0:s.dataTransmission.mimoLayers})]}),(0,r.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,r.jsx)("p",{children:"Bytes Sent"}),(0,r.jsx)("p",{className:"font-bold",children:l})]}),(0,r.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,r.jsx)("p",{children:"Bytes Received"}),(0,r.jsx)("p",{className:"font-bold",children:n})]})]})]})};var f=t(85014);let g=e=>{let{data:s,isLoading:t}=e;return(0,r.jsxs)(a.Zp,{children:[(0,r.jsxs)(a.aR,{children:[(0,r.jsx)(a.ZB,{children:"Cellular Information"}),(0,r.jsx)(a.BT,{children:"Cellular network information"})]}),(0,r.jsxs)(a.Wu,{className:"grid gap-2",children:[(0,r.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,r.jsx)("p",{children:"Cell ID"}),t?(0,r.jsx)(i.E,{className:"h-4 w-[80px]"}):(0,r.jsx)("p",{className:"font-bold",children:null==s?void 0:s.cellularInfo.cellId})]}),(0,r.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,r.jsx)(f.TooltipProvider,{children:(0,r.jsxs)(f.m_,{children:[(0,r.jsx)(f.k$,{children:"TAC"}),(0,r.jsx)(f.ZI,{children:(0,r.jsx)("div",{className:"grid grid-cols-1 gap-1",children:(0,r.jsx)("span",{className:"font-medium",children:"Region / Tracking Area Code"})})})]})}),t?(0,r.jsx)(i.E,{className:"h-4 w-[80px]"}):(0,r.jsx)("p",{className:"font-bold",children:null==s?void 0:s.cellularInfo.trackingAreaCode})]}),(0,r.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,r.jsx)("p",{children:"Physical Cell IDs"}),t?(0,r.jsx)(i.E,{className:"h-4 w-[80px]"}):(0,r.jsx)("p",{className:"font-bold",children:null==s?void 0:s.cellularInfo.physicalCellId})]}),(0,r.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,r.jsx)("p",{children:"E/ARFCN"}),t?(0,r.jsx)(i.E,{className:"h-4 w-[80px]"}):(0,r.jsx)("p",{className:"font-bold",children:null==s?void 0:s.cellularInfo.earfcn})]}),(0,r.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,r.jsx)("p",{children:"Mobile Country Code"}),t?(0,r.jsx)(i.E,{className:"h-4 w-[80px]"}):(0,r.jsx)("p",{className:"font-bold",children:null==s?void 0:s.cellularInfo.mcc})]}),(0,r.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,r.jsx)("p",{children:"Mobile Network Code"}),t?(0,r.jsx)(i.E,{className:"h-4 w-[80px]"}):(0,r.jsx)("p",{className:"font-bold",children:null==s?void 0:s.cellularInfo.mnc})]}),(0,r.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,r.jsx)("p",{children:"Antenna Signal Quality"}),t?(0,r.jsx)(i.E,{className:"h-6 w-[80px]"}):(0,r.jsx)(o.E,{className:"\n font-bold ".concat((null==s?void 0:s.cellularInfo.signalQuality)&&parseInt(null==s?void 0:s.cellularInfo.signalQuality)>80?"bg-emerald-500 hover:bg-emerald-800":(null==s?void 0:s.cellularInfo.signalQuality)&&parseInt(null==s?void 0:s.cellularInfo.signalQuality)>40?"bg-orange-500 hover:bg-orange-800":"bg-rose-500 hover:bg-rose-800"),children:null==s?void 0:s.cellularInfo.signalQuality})]})]})]})};var v=t(1307),j=t(53134),N=t(94005),w=t(4538),b=t(41797),y=t(79492);let S={signal:{label:"LTE/5G Signal Metrics"},rsrp:{label:"RSRP",color:"hsl(var(--chart-1))"},rsrq:{label:"RSRQ",color:"hsl(var(--chart-2))"},sinr:{label:"SINR",color:"hsl(var(--chart-3))"}},A=e=>{let s=e.split("\n").filter(e=>e.trim()),t=[];s.forEach(e=>{let s=e.match(/-?\d+/g);s&&t.push(...s.map(Number))});let r=t.filter(e=>-140!==e&&-32768!==e);return 0===r.length?0:Math.round(r.reduce((e,s)=>e+s,0)/r.length)},C=()=>{let[e,s]=(0,l.useState)(()=>{let e=new Date;return Array.from({length:5},(s,t)=>({time:new Date(e.getTime()-(4-t)*3e3).toISOString(),rsrp:0,rsrq:0,sinr:0}))}),[t,n]=(0,l.useState)("rsrp"),[o,d]=(0,l.useState)(!0),[c,m]=(0,l.useState)(null),u=(0,l.useCallback)(async()=>{try{let e;let t=await fetch("/cgi-bin/quecmanager/home/fetch_signal_metrics.sh");if(!t.ok)throw Error("Failed to fetch signal metrics");try{e=await t.json()}catch(e){throw console.error("Error parsing JSON:",e),Error("Failed to parse signal metrics data")}let r=Math.min(e.rsrp.length,e.rsrq.length,e.sinr.length);if(0===r)throw Error("No signal metrics data available");let l=Array.from({length:r},(s,t)=>({time:e.rsrp[t].datetime,rsrp:A(e.rsrp[t].output),rsrq:A(e.rsrq[t].output),sinr:A(e.sinr[t].output)}));s(l),m(null)}catch(t){console.error("Error fetching metrics:",t),m(t instanceof Error?t.message:"An unknown error occurred");let e=new Date().toISOString();s(s=>{let t=[...s];return t.length>=20&&t.shift(),t.push({time:e,rsrp:0,rsrq:0,sinr:0}),t})}finally{d(!1)}},[]);(0,l.useEffect)(()=>{u();let e=setInterval(u,15e3);return()=>clearInterval(e)},[u]);let x=e.length>0?e[e.length-1]:{rsrp:0,rsrq:0,sinr:0};return c?(0,r.jsx)(a.Zp,{children:(0,r.jsxs)(a.aR,{children:[(0,r.jsx)(a.ZB,{children:"Error Loading Signal Metrics"}),(0,r.jsx)(a.BT,{children:c})]})}):(0,r.jsxs)(a.Zp,{children:[(0,r.jsxs)(a.aR,{className:"flex flex-col items-stretch space-y-0 border-b p-0 sm:flex-row",children:[(0,r.jsxs)("div",{className:"flex flex-1 flex-col justify-center gap-1 px-6 py-5 sm:py-6",children:[(0,r.jsx)(a.ZB,{children:"Antenna Port Signal Metrics"}),(0,r.jsx)(a.BT,{children:"Per-port signal values averaged across all active ports"})]}),(0,r.jsx)("div",{className:"flex",children:["rsrp","rsrq","sinr"].map(e=>(0,r.jsxs)("button",{"data-active":t===e,className:"flex flex-1 flex-col justify-center gap-1 border-t px-6 py-4 text-left even:border-l data-[active=true]:bg-muted/50 sm:border-l sm:border-t-0 sm:px-8 sm:py-6",onClick:()=>n(e),children:[(0,r.jsx)("span",{className:"text-xs text-muted-foreground",children:S[e].label}),o?(0,r.jsx)(i.E,{className:"lg:h-10 h-6 w-full"}):(0,r.jsx)("span",{className:"text-base font-bold leading-none sm:text-3xl",children:x[e].toFixed(0)})]},e))})]}),(0,r.jsx)(a.Wu,{className:"px-2 sm:p-6",children:(0,r.jsx)(v.at,{config:S,className:"aspect-auto h-[250px] w-full",children:(0,r.jsxs)(j.Q,{accessibilityLayer:!0,data:e,margin:{left:12,right:12},children:[(0,r.jsxs)("defs",{children:[(0,r.jsxs)("linearGradient",{id:"fillRsrp",x1:"0",y1:"0",x2:"0",y2:"1",children:[(0,r.jsx)("stop",{offset:"5%",stopColor:"var(--color-rsrp)",stopOpacity:.8}),(0,r.jsx)("stop",{offset:"95%",stopColor:"var(--color-rsrp)",stopOpacity:.1})]}),(0,r.jsxs)("linearGradient",{id:"fillRsrq",x1:"0",y1:"0",x2:"0",y2:"1",children:[(0,r.jsx)("stop",{offset:"5%",stopColor:"var(--color-rsrq)",stopOpacity:.8}),(0,r.jsx)("stop",{offset:"95%",stopColor:"var(--color-rsrq)",stopOpacity:.1})]}),(0,r.jsxs)("linearGradient",{id:"fillSinr",x1:"0",y1:"0",x2:"0",y2:"1",children:[(0,r.jsx)("stop",{offset:"5%",stopColor:"var(--color-sinr)",stopOpacity:.8}),(0,r.jsx)("stop",{offset:"95%",stopColor:"var(--color-sinr)",stopOpacity:.1})]})]}),(0,r.jsx)(N.d,{vertical:!1}),(0,r.jsx)(w.W,{dataKey:"time",tickLine:!1,axisLine:!1,tickMargin:8,minTickGap:32,tickFormatter:e=>new Date(e).toLocaleTimeString("en-US",{hour:"2-digit",minute:"2-digit",hour12:!0})}),(0,r.jsx)(b.h,{hide:!0,domain:(e=>{switch(e){case"rsrp":return[-140,-60];case"rsrq":return[-20,0];case"sinr":return[-10,30];default:return[0,"auto"]}})(t)}),(0,r.jsx)(v.II,{content:(0,r.jsx)(v.Nt,{className:"w-[200px]",nameKey:"metric",labelFormatter:e=>new Date(e).toLocaleTimeString("en-US",{hour:"2-digit",minute:"2-digit",second:"2-digit",hour12:!0})})}),(0,r.jsx)(y.G,{dataKey:t,type:"monotone",stroke:"var(--color-".concat(t,")"),fill:"url(#fill".concat(t.charAt(0).toUpperCase()+t.slice(1),")"),strokeWidth:2,activeDot:{r:4},baseValue:(e=>{switch(e){case"rsrp":return -140;case"rsrq":return -20;case"sinr":return -10;default:return 0}})(t)})]})})}),(0,r.jsxs)(a.wL,{className:"flex-col items-start gap-2 text-sm",children:[(0,r.jsx)("div",{className:"flex gap-2 font-medium leading-none",children:"Displays aggregated signal metrics across all active antenna ports."}),(0,r.jsx)("div",{className:"leading-none text-muted-foreground italic",children:"Higher values indicate better signal quality."})]})]})};var I=t(92867),k=t(32810);let E=e=>"".concat(Math.round(e/1048576)," MB"),T=()=>{let[e,s]=(0,l.useState)({total:0,used:0,available:0}),[t,n]=(0,l.useState)({enabled:!1,interval:2,running:!1}),[o,d]=(0,l.useState)(!0),[c,m]=(0,l.useState)(!1),u=(0,l.useCallback)(async()=>{try{let e=await fetch("/cgi-bin/quecmanager/home/memory/fetch_memory.sh",{method:"GET",cache:"no-store",headers:{"Content-Type":"application/json"}});if(!e.ok)return!1;let t=await e.json();if("success"===t.status&&t.data)return s(t.data),m(!0),!0;return!1}catch(e){return console.error("Failed to fetch memory data:",e),!1}},[]),x=(0,l.useCallback)(async()=>{try{let e=await fetch("/cgi-bin/quecmanager/home/memory/memory_service.sh",{method:"GET",cache:"no-store",headers:{"Content-Type":"application/json"}});if(!e.ok)return null;let s=await e.json();if("success"===s.status&&s.data)return n(s.data),s.data;return null}catch(e){return console.error("Failed to fetch memory config:",e),null}},[]);return(0,l.useEffect)(()=>{let e=null;return(async()=>{d(!0);let s=await x();(null==s?void 0:s.enabled)&&(await u(),e=setInterval(u,Math.max(1e3*(s.interval||2),1e3))),d(!1)})(),()=>{e&&clearInterval(e)}},[]),(0,r.jsxs)(a.Zp,{children:[(0,r.jsxs)(a.aR,{className:"flex flex-row items-center justify-between",children:[(0,r.jsx)(a.ZB,{children:"Memory"}),t.enabled&&t.running?(0,r.jsx)(I.A,{className:"h-4 w-4 text-green-500"}):(0,r.jsx)(k.A,{className:"h-4 w-4 text-red-500"})]}),(0,r.jsx)(a.Wu,{children:o||!c?(0,r.jsxs)("div",{className:"grid lg:grid-cols-3 grid-cols-2 grid-flow-row gap-4 col-span-3",children:[(0,r.jsxs)("div",{className:"grid gap-1",children:[(0,r.jsx)("span",{className:"text-sm text-muted-foreground",children:"Total"}),(0,r.jsx)(i.E,{className:"h-5 w-24"})]}),(0,r.jsxs)("div",{className:"grid gap-1",children:[(0,r.jsx)("span",{className:"text-sm text-muted-foreground",children:"Used"}),(0,r.jsx)(i.E,{className:"h-5 w-24"})]}),(0,r.jsxs)("div",{className:"grid gap-1",children:[(0,r.jsx)("span",{className:"text-sm text-muted-foreground",children:"Available"}),(0,r.jsx)(i.E,{className:"h-5 w-24"})]})]}):t.enabled?(0,r.jsxs)("div",{className:"grid lg:grid-cols-3 grid-cols-2 grid-flow-row gap-4 col-span-3",children:[(0,r.jsxs)("div",{className:"grid gap-1",children:[(0,r.jsx)("span",{className:"text-sm text-muted-foreground",children:"Total"}),(0,r.jsx)("span",{className:"text-base font-bold",children:E(e.total)})]}),(0,r.jsxs)("div",{className:"grid gap-1",children:[(0,r.jsx)("span",{className:"text-sm text-muted-foreground",children:"Used"}),(0,r.jsx)("span",{className:"text-base font-bold",children:E(e.used)})]}),(0,r.jsxs)("div",{className:"grid gap-1",children:[(0,r.jsx)("span",{className:"text-sm text-muted-foreground",children:"Available"}),(0,r.jsx)("span",{className:"text-base font-bold",children:E(e.available)})]})]}):(0,r.jsxs)("div",{className:"text-center py-4",children:[(0,r.jsx)("p",{className:"text-sm text-muted-foreground",children:"Memory monitoring is disabled."}),(0,r.jsx)("p",{className:"text-xs text-muted-foreground mt-1",children:"Enable it in Settings → Personalization"})]})})]})},R={ms:{label:"ms",color:"hsl(var(--chart-4))"}},P=()=>new Date().toLocaleTimeString([],{hour:"2-digit",minute:"2-digit",second:"2-digit"}),M=()=>{let[e,s]=(0,l.useState)(()=>{let e=localStorage.getItem("pingData");return e?JSON.parse(e):[]}),[t,n]=(0,l.useState)(()=>{let e=localStorage.getItem("pingData");if(e){let s=JSON.parse(e);return s.length>0?s[s.length-1].ms:null}return null}),[d,c]=(0,l.useState)({enabled:!0,interval:5,host:"8.8.8.8",running:!1}),[m,u]=(0,l.useState)(()=>{let e=localStorage.getItem("pingData");return!e||0===JSON.parse(e).length}),[x,h]=(0,l.useState)(()=>{let e=localStorage.getItem("pingData");return!!e&&JSON.parse(e).length>0}),p=(0,l.useCallback)(async()=>{try{let e=await fetch("/cgi-bin/quecmanager/home/ping/fetch_ping.sh",{method:"GET",cache:"no-store",headers:{"Content-Type":"application/json"}});if(!e.ok)return!1;let t=await e.json();if("success"===t.status&&t.data){let e=t.data;if("number"==typeof e.latency){n(e.latency);let t={time:P(),ms:e.latency,index:0};s(e=>{let s;return s=e.length<5?[...e,t].map((e,s)=>({...e,index:s+1})):[...e.slice(1),t].map((e,s)=>({...e,index:s+1})),localStorage.setItem("pingData",JSON.stringify(s)),s}),h(!0)}return!0}return!1}catch(e){return console.error("Failed to fetch ping data:",e),!1}},[]),f=(0,l.useCallback)(async()=>{try{let e=await fetch("/cgi-bin/quecmanager/home/ping/ping_service.sh",{method:"GET",cache:"no-store",headers:{"Content-Type":"application/json"}});if(!e.ok)return null;let s=await e.json();if("success"===s.status&&s.data)return c(s.data),s.data;return null}catch(e){return console.error("Failed to fetch ping config:",e),null}},[]);return(0,l.useEffect)(()=>{let e=null;return(async()=>{u(!0);let s=await f();if(null==s?void 0:s.enabled){await p();let t=Math.max(1e3*(s.interval||5),1e3);console.log("Starting ping polling with ".concat(t,"ms interval (").concat(s.interval,"s from config)")),e=setInterval(p,t)}u(!1)})(),()=>{e&&clearInterval(e)}},[f,p]),(0,r.jsxs)(a.Zp,{children:[(0,r.jsxs)(a.aR,{className:"flex flex-row items-center justify-between space-y-0 pb-2",children:[(0,r.jsx)(a.ZB,{children:"Ping Latency"}),d.enabled?null!==t?(0,r.jsxs)(o.E,{className:"text-normal font-bold",children:[t," ms"]}):null:(0,r.jsx)(o.E,{variant:"secondary",className:"text-normal font-bold",children:"Ping Disabled"})]}),(0,r.jsx)(a.Wu,{children:m?(0,r.jsx)(i.E,{className:"h-[200px] w-full"}):d.enabled?x?(0,r.jsx)(v.at,{config:R,children:(0,r.jsxs)(j.Q,{accessibilityLayer:!0,data:e,margin:{top:5,right:10,left:0,bottom:5},children:[(0,r.jsx)("defs",{children:(0,r.jsxs)("linearGradient",{id:"fillPing",x1:"0",y1:"0",x2:"0",y2:"1",children:[(0,r.jsx)("stop",{offset:"5%",stopColor:"var(--color-ms)",stopOpacity:.8}),(0,r.jsx)("stop",{offset:"95%",stopColor:"var(--color-ms)",stopOpacity:.1})]})}),(0,r.jsx)(N.d,{vertical:!1,stroke:"var(--border)",strokeOpacity:.2}),(0,r.jsx)(w.W,{dataKey:"index",tickLine:!1,axisLine:!1,tickMargin:5,tick:{fontSize:9},ticks:[1,2,3,4,5]}),(0,r.jsx)(b.h,{hide:!1,domain:(()=>{if(0===e.length)return[0,100];let s=e.map(e=>e.ms);return[Math.max(0,Math.min(...s)-5),Math.max(...s)+5]})(),tickLine:!1,axisLine:!1,width:20,tick:{fontSize:10},tickFormatter:e=>"".concat(e)}),(0,r.jsx)(v.II,{cursor:!1,content:(0,r.jsx)(v.Nt,{labelFormatter:(s,t)=>{let r=e.find(e=>e.index===s);return r?"".concat(r.time):s},formatter:(e,s)=>["".concat(e," ms"),"Latency"]})}),(0,r.jsx)(y.G,{dataKey:"ms",type:"monotone",stroke:"var(--color-ms)",strokeWidth:2,fill:"url(#fillPing)",activeDot:{r:4,strokeWidth:0},isAnimationActive:!0,animationDuration:1200,animationEasing:"ease-in-out"})]})}):(0,r.jsx)("div",{className:"text-center py-4",children:(0,r.jsx)("p",{className:"text-sm text-muted-foreground",children:"Starting ping monitoring..."})}):(0,r.jsxs)("div",{className:"text-center py-4",children:[(0,r.jsx)("p",{className:"text-sm text-muted-foreground",children:"Ping monitoring is disabled."}),(0,r.jsx)("p",{className:"text-xs text-muted-foreground mt-1",children:"Enable it in Settings → Personalization"})]})})]})};var D=t(42541),z=t(93557),L=t(97801),U=t(51589),G=t(54385),B=t(14389),_=t(98969),F=t(17799),O=t(92776),q=t.n(O),Z=t(7197),H=t(74043),Q=t(22250);let W=l.createContext(null);function $(){let e=l.useContext(W);if(!e)throw Error("useCarousel must be used within a ");return e}let K=l.forwardRef((e,s)=>{let{orientation:t="horizontal",opts:n,setApi:a,plugins:i,className:o,children:d,...c}=e,[m,u]=(0,H.A)({...n,axis:"horizontal"===t?"x":"y"},i),[x,h]=l.useState(!1),[p,f]=l.useState(!1),g=l.useCallback(e=>{e&&(h(e.canScrollPrev()),f(e.canScrollNext()))},[]),v=l.useCallback(()=>{null==u||u.scrollPrev()},[u]),j=l.useCallback(()=>{null==u||u.scrollNext()},[u]),N=l.useCallback(e=>{"ArrowLeft"===e.key?(e.preventDefault(),v()):"ArrowRight"===e.key&&(e.preventDefault(),j())},[v,j]);return l.useEffect(()=>{u&&a&&a(u)},[u,a]),l.useEffect(()=>{if(u)return g(u),u.on("reInit",g),u.on("select",g),()=>{null==u||u.off("select",g)}},[u,g]),(0,r.jsx)(W.Provider,{value:{carouselRef:m,api:u,opts:n,orientation:t||((null==n?void 0:n.axis)==="y"?"vertical":"horizontal"),scrollPrev:v,scrollNext:j,canScrollPrev:x,canScrollNext:p},children:(0,r.jsx)("div",{ref:s,onKeyDownCapture:N,className:(0,Q.cn)("relative",o),role:"region","aria-roledescription":"carousel",...c,children:d})})});K.displayName="Carousel";let J=l.forwardRef((e,s)=>{let{className:t,...l}=e,{carouselRef:n,orientation:a}=$();return(0,r.jsx)("div",{ref:n,className:"overflow-hidden",children:(0,r.jsx)("div",{ref:s,className:(0,Q.cn)("flex","horizontal"===a?"-ml-4":"-mt-4 flex-col",t),...l})})});J.displayName="CarouselContent";let V=l.forwardRef((e,s)=>{let{className:t,...l}=e,{orientation:n}=$();return(0,r.jsx)("div",{ref:s,role:"group","aria-roledescription":"slide",className:(0,Q.cn)("min-w-0 shrink-0 grow-0 basis-full","horizontal"===n?"pl-4":"pt-4",t),...l})});V.displayName="CarouselItem",l.forwardRef((e,s)=>{let{className:t,variant:l="outline",size:n="icon",...a}=e,{orientation:i,scrollPrev:o,canScrollPrev:d}=$();return(0,r.jsxs)(D.$,{ref:s,variant:l,size:n,className:(0,Q.cn)("absolute h-8 w-8 rounded-full","horizontal"===i?"-left-12 top-1/2 -translate-y-1/2":"-top-12 left-1/2 -translate-x-1/2 rotate-90",t),disabled:!d,onClick:o,...a,children:[(0,r.jsx)(Z.A60,{className:"h-4 w-4"}),(0,r.jsx)("span",{className:"sr-only",children:"Previous slide"})]})}).displayName="CarouselPrevious",l.forwardRef((e,s)=>{let{className:t,variant:l="outline",size:n="icon",...a}=e,{orientation:i,scrollNext:o,canScrollNext:d}=$();return(0,r.jsxs)(D.$,{ref:s,variant:l,size:n,className:(0,Q.cn)("absolute h-8 w-8 rounded-full","horizontal"===i?"-right-12 top-1/2 -translate-y-1/2":"-bottom-12 left-1/2 -translate-x-1/2 rotate-90",t),disabled:!d,onClick:o,...a,children:[(0,r.jsx)(Z.flY,{className:"h-4 w-4"}),(0,r.jsx)("span",{className:"sr-only",children:"Next slide"})]})}).displayName="CarouselNext";let Y=e=>{let{id:s,bandNumber:t,earfcn:l,bandwidth:n,pci:i,rsrp:d,rsrq:c,sinr:m}=e;return(0,r.jsx)(a.Zp,{className:"p-8",children:(0,r.jsxs)("div",{className:"flex flex-row items-center gap-6 justify-between",children:[(0,r.jsxs)("div",{className:"grid gap-2 w-[180px]",children:[(0,r.jsx)("h2",{className:"text-md font-bold",children:"Band"}),(0,r.jsxs)("div",{className:"flex flex-row items-center gap-2",children:[t.replace("LTE BAND ","B").replace("NR5G BAND ","N"),t.includes("NR5G")&&(0,r.jsx)(o.E,{className:"text-xs bg-blue-600 hover:bg-blue-800",children:"NR 5G"})]})]}),(0,r.jsxs)("div",{className:"grid gap-2",children:[(0,r.jsx)("p",{className:"text-sm font-bold",children:"E/ARFCN"}),(0,r.jsx)("p",{children:l})]}),(0,r.jsxs)("div",{className:"grid gap-2",children:[(0,r.jsx)("p",{className:"text-sm font-bold",children:"Bandwidth"}),(0,r.jsx)("p",{children:n})]}),(0,r.jsxs)("div",{className:"grid gap-2",children:[(0,r.jsx)("p",{className:"text-sm font-bold",children:"Physical Cell ID"}),(0,r.jsx)("p",{children:i})]}),(0,r.jsxs)("div",{className:"grid gap-2",children:[(0,r.jsx)("p",{className:"text-sm font-bold",children:"RSRP"}),(0,r.jsxs)(o.E,{className:parseInt(d)>=-80?"bg-emerald-500 hover:bg-emerald-800":parseInt(d)>=-100?"bg-orange-500 hover:bg-orange-800":"bg-rose-500 hover:bg-rose-800",children:[d," dBm"]})]}),(0,r.jsxs)("div",{className:"grid gap-2",children:[(0,r.jsx)("p",{className:"text-sm font-bold",children:"RSRQ"}),(0,r.jsxs)(o.E,{className:10>=parseInt(c)?"bg-emerald-500 hover:bg-emerald-800":20>=parseInt(c)?"bg-orange-500 hover:bg-orange-800":"bg-rose-500 hover:bg-rose-800",children:[c," dB"]})]}),(0,r.jsxs)("div",{className:"grid gap-2",children:[(0,r.jsx)("p",{className:"text-sm font-bold",children:t.includes("NR5G")?"NR-SNR":"SINR"}),(0,r.jsxs)(o.E,{className:parseInt(m)>=(t.includes("NR5G")?20:14)?"bg-emerald-500 hover:bg-emerald-800":parseInt(m)>=-2?"bg-orange-500 hover:bg-orange-800":"bg-rose-500 hover:bg-rose-800",children:[m," dB"]})]})]})})},X=e=>{let{bands:s,isLoading:t}=e;return t?(0,r.jsxs)("div",{className:"flex items-center justify-center",children:[(0,r.jsx)("div",{className:"hidden lg:block w-full",children:(0,r.jsxs)(a.Zp,{className:"p-6 grid gap-4",children:[s&&s.map(e=>(0,r.jsx)(Y,{...e},e.id)),(0,r.jsx)(a.wL,{className:"w-full p-6 flex items-center justify-center",children:(0,r.jsx)(a.BT,{className:"text-md",children:"Currently bands connected."})})]})}),(0,r.jsx)(K,{className:"lg:hidden w-full max-w-xs",children:(0,r.jsx)(J,{children:(0,r.jsx)(V,{children:(0,r.jsx)("div",{className:"p-1",children:(0,r.jsx)(a.Zp,{children:(0,r.jsxs)(a.Wu,{className:"aspect-square p-4 gap-4 flex flex-col items-center justify-center flex-grow",children:[(0,r.jsxs)("div",{className:"flex justify-between w-full",children:[(0,r.jsx)("p",{children:"Band"}),(0,r.jsx)("div",{children:(0,r.jsx)(i.E,{className:"w-16 h-4"})})]}),(0,r.jsxs)("div",{className:"flex justify-between w-full",children:[(0,r.jsx)("p",{children:"E/ARFCN"}),(0,r.jsx)("div",{children:(0,r.jsx)(i.E,{className:"w-16 h-4"})})]}),(0,r.jsxs)("div",{className:"flex justify-between w-full",children:[(0,r.jsx)("p",{children:"Bandwidth"}),(0,r.jsx)("div",{children:(0,r.jsx)(i.E,{className:"w-16 h-4"})})]}),(0,r.jsxs)("div",{className:"flex justify-between w-full",children:[(0,r.jsx)("p",{children:"PCI"}),(0,r.jsx)("div",{children:(0,r.jsx)(i.E,{className:"w-16 h-4"})})]}),(0,r.jsxs)("div",{className:"flex justify-between w-full",children:[(0,r.jsx)("p",{children:"RSRP"}),(0,r.jsx)("div",{children:(0,r.jsx)(i.E,{className:"w-32 h-4"})})]}),(0,r.jsxs)("div",{className:"flex justify-between w-full",children:[(0,r.jsx)("p",{children:"RSRQ"}),(0,r.jsx)("div",{children:(0,r.jsx)(i.E,{className:"w-32 h-4"})})]}),(0,r.jsxs)("div",{className:"flex justify-between w-full",children:[(0,r.jsx)("p",{children:"SINR"}),(0,r.jsx)("div",{children:(0,r.jsx)(i.E,{className:"w-32 h-4"})})]})]})})})})})})]}):(0,r.jsxs)("div",{className:"flex items-center justify-center",children:[(0,r.jsx)("div",{className:"hidden lg:block w-full",children:(0,r.jsx)(a.Zp,{className:"p-6 grid gap-4",children:s&&s.map(e=>(0,r.jsx)(Y,{...e},e.id))})}),(0,r.jsx)(K,{className:"lg:hidden w-full max-w-xs",children:(0,r.jsx)(J,{children:null==s?void 0:s.map(e=>(0,r.jsx)(V,{className:"md:basis-1/2 lg:basis-1/3",children:(0,r.jsx)("div",{className:"p-1",children:(0,r.jsx)(a.Zp,{children:(0,r.jsxs)(a.Wu,{className:"aspect-square p-4 gap-4 flex flex-col items-center justify-center flex-grow",children:[(0,r.jsxs)("div",{className:"flex justify-between w-full",children:[(0,r.jsx)("p",{children:"Band"}),(0,r.jsx)("p",{children:e.bandNumber})]}),(0,r.jsxs)("div",{className:"flex justify-between w-full",children:[(0,r.jsx)("p",{children:"E/ARFCN"}),(0,r.jsx)("p",{children:e.earfcn})]}),(0,r.jsxs)("div",{className:"flex justify-between w-full",children:[(0,r.jsx)("p",{children:"Bandwidth"}),(0,r.jsx)("p",{children:e.bandwidth})]}),(0,r.jsxs)("div",{className:"flex justify-between w-full",children:[(0,r.jsx)("p",{children:"PCI"}),(0,r.jsx)("p",{children:e.pci})]}),(0,r.jsxs)("div",{className:"flex justify-between w-full",children:[(0,r.jsx)("p",{children:"RSRP"}),(0,r.jsxs)(o.E,{className:parseInt(e.rsrp)>=-80?"bg-emerald-500 hover:bg-emerald-800":parseInt(e.rsrp)>=-100?"bg-orange-500 hover:bg-orange-800":"bg-rose-500 hover:bg-rose-800",children:[e.rsrp," dBm"]})]}),(0,r.jsxs)("div",{className:"flex justify-between w-full",children:[(0,r.jsx)("p",{children:"RSRQ"}),(0,r.jsxs)(o.E,{className:10>=parseInt(e.rsrq)?"bg-emerald-500 hover:bg-emerald-800":20>=parseInt(e.rsrq)?"bg-orange-500 hover:bg-orange-800":"bg-rose-500 hover:bg-rose-800",children:[e.rsrq," dB"]})]}),(0,r.jsxs)("div",{className:"flex justify-between w-full",children:[(0,r.jsx)("p",{children:"SINR"}),(0,r.jsxs)(o.E,{className:parseInt(e.sinr)>=20?"bg-emerald-500 hover:bg-emerald-800":parseInt(e.sinr)>=-2?"bg-orange-500 hover:bg-orange-800":"bg-rose-500 hover:bg-rose-800",children:[e.sinr," dB"]})]})]})})})},e.id))})})]})},ee=function(e,s,t,r){let l=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"Unknown",n=arguments.length>5&&void 0!==arguments[5]?arguments[5]:":",a=arguments.length>6&&void 0!==arguments[6]?arguments[6]:",";try{var i,o,d;return(null===(d=e.split("\n")[s])||void 0===d?void 0:null===(o=d.split(n)[t])||void 0===o?void 0:null===(i=o.split(a)[r])||void 0===i?void 0:i.replace(/"/g,"").trim())||l}catch(e){return l}},es=function(e,s){var t,r;let l=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"-",n=ee((null===(r=e[15])||void 0===r?void 0:null===(t=r.response)||void 0===t?void 0:t.split("\n").find(e=>e.includes('QMAP: "WWAN"')&&e.includes('"'.concat(s,'"'))))||"",0,1,4,l," ",","),a="IPV6"==s?n.replace(/::/g,":"):n;return["0.0.0.0","::","::0","::0:0:0:0:0:0:0:0","0:0:0:0:0:0:0:0"].includes(a)?l:a},et=function(e,s,t,r,l){let n=arguments.length>5&&void 0!==arguments[5]?arguments[5]:"-";try{var a,i,o;if(!(null===(a=e[t])||void 0===a?void 0:a.response)||!(null===(i=e[l])||void 0===i?void 0:i.response))return n;let d=e[t].response.split("\n").filter(e=>e.includes('+QMAP: "WWAN"')),c=null===(o=d[0])||void 0===o?void 0:o.match(/\+QMAP: "WWAN",\d+,(\d+),/),m=c?c[1]:null;if(!m)return n;let u=e[l].response.split("\n").filter(e=>e.includes("+CGCONTRDP:")).find(e=>{let s=e.match(/\+CGCONTRDP: (\d+),/);return s&&s[1]===m});if(!u)return n;let x=u.split(",");if(x.length<=r[s])return n;return x[r[s]].replace(/"/g,"").trim()||n}catch(e){return console.error("Error parsing DNS address:",e),n}},er=e=>{try{let s=e.match(/^(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$/),t=e.split(".").length>4;return s?e:t?eN(e):e.replace(/:{3,}/g,"::")}catch(s){return console.error("Error formatting DNS address:",s),e}},el=e=>ee(e,1,1,3),en=(e,s)=>({1:"Registered",2:"Searching",3:"Denied",4:"Unknown",5:"Roaming"})[Number(ee(e,1,1,1))||Number(ee(s,1,1,1))]||"Not Registered",ea=e=>{let s=e.match(/"LTE BAND \d+"|"NR5G BAND \d+"/g)||[],t=null==s?void 0:s.some(e=>e.includes("LTE")),r=null==s?void 0:s.some(e=>e.includes("NR5G"));return t&&r?"NR5G-NSA":t?"LTE":r?"NR5G-SA":"No Signal"},ei=e=>{let s=["cpuss-0","cpuss-1","cpuss-2","cpuss-3"].map(s=>{var t;let r=e.split("\n").find(e=>e.includes(s));return parseInt(null==r?void 0:null===(t=r.split(":")[1])||void 0===t?void 0:t.split(",")[1].replace(/"/g,"").trim())}),t=s.reduce((e,s)=>e+s,0)/s.length;return"".concat(Math.round(t),"\xb0C")},eo=e=>{let s=[-140,-37625,-32768],t=e=>{var t;return(null==e?void 0:null===(t=e.split(":")[1])||void 0===t?void 0:t.split(",").slice(0,4).map(e=>parseInt(e.trim())).filter(e=>!s.includes(e)))||[]},r=t(e.split("\n").find(e=>e.includes("LTE"))),l=t(e.split("\n").find(e=>e.includes("NR5G"))),n=e=>Math.max(0,Math.min(100,(e.reduce((e,s)=>e+s,0)/e.length+125)/50*100)),a=r.length?n(r):null,i=l.length?n(l):null;return null!==a&&null!==i?"".concat(Math.round((a+i)/2),"%"):null!==a?"".concat(Math.round(a),"%"):null!==i?"".concat(Math.round(i),"%"):"Unknown%"},ed=function(e,s,t,r){let l=arguments.length>4&&void 0!==arguments[4]&&arguments[4],n=t[s],a=r[s];return void 0===n||void 0===a||l?void 0!==n&&void 0!==a&&l?ee(e,n,1,a).toUpperCase():"Unknown":parseInt(ee(e,n,1,a),16).toString().toUpperCase()},ec=(e,s,t)=>{let r=t[s];return ee(e,"NR5G-NSA"===s?2:1,1,r)},em=e=>{let s=[-140,-32768,-37625],t=e=>ee(e||"",0,1,1,"Unknown",":"," ").split(",").slice(0,4).map(e=>parseInt(e.trim())).filter(e=>!s.includes(e))||[],r=e=>e.length?Math.max(0,Math.min(100,(e.reduce((e,s)=>e+s,0)/e.length- -10)/40*100)):0,l=e.split("\n"),n=r(t(l.find(e=>e.includes("LTE")))),a=r(t(l.find(e=>e.includes("NR5G"))));return n&&a?"".concat(Math.round((n+a)/2),"%"):n?"".concat(Math.round(n),"%"):a?"".concat(Math.round(a),"%"):"Unknown%"},eu=e=>{let s=e=>e.map(e=>ee(e,0,1,3,"Unknown",":",",")),t=[...s(e.split("+QCAINFO").filter(e=>e.includes("LTE BAND"))),...s(e.split("+QCAINFO").filter(e=>e.includes("NR5G BAND")))];return t.length?t:["Unknown"]},ex=e=>{let s=s=>e.split("+QCAINFO").filter(e=>e.includes(s)).map(e=>{var s,t;return(null===(t=e.split(":")[1])||void 0===t?void 0:null===(s=t.split(",")[1])||void 0===s?void 0:s.trim())||"Unknown"}),t=s("LTE BAND"),r=s("NR5G BAND");return[...t,...r].length?[...t,...r]:["Unknown"]},eh=e=>{let s=(s,t)=>e.split("+QCAINFO").filter(e=>e.includes(s)).map(e=>{var s;return t[null===(s=e.split(":")[1])||void 0===s?void 0:s.split(",")[2]]||"Unknown"}),t=s("LTE BAND",c),r=s("NR5G BAND",m);return[...t,...r].length?[...t,...r]:["Unknown"]},ep=(e,s)=>{let t=e=>{var s;return e&&(null===(s=e[8===e.length?4:5])||void 0===s?void 0:s.trim())||"Unknown"},r=e=>e.map(e=>{var s;return t(null===(s=e.split(":")[1])||void 0===s?void 0:s.split(","))}),l=e.split("+QCAINFO");return[r(l.filter(e=>e.includes("PCC")))[0],...r(l.filter(e=>e.includes("SCC")))].filter(e=>"Unknown"!==e)},ef=e=>{let s=e=>{var s;return e&&(null===(s=e[(()=>{switch(e.length){case 8:return 5;case 12:return 9;default:return 6}})()])||void 0===s?void 0:s.trim())||"Unknown"},t=e=>e.map(e=>{var t;return s(null===(t=e.split(":")[1])||void 0===t?void 0:t.split(","))}),r=e.split("+QCAINFO");return[t(r.filter(e=>e.includes("PCC")))[0],...t(r.filter(e=>e.includes("SCC")))].filter(e=>"Unknown"!==e)},eg=e=>{let s=e=>{var s;return e&&(null===(s=e[(()=>{switch(e.length){case 8:return 6;case 12:return 10;default:return 7}})()])||void 0===s?void 0:s.trim())||"Unknown"},t=e=>e.map(e=>{var t;return s(null===(t=e.split(":")[1])||void 0===t?void 0:t.split(","))}),r=e.split("+QCAINFO");return[t(r.filter(e=>e.includes("PCC")))[0],...t(r.filter(e=>e.includes("SCC")))].filter(e=>"Unknown"!==e)},ev=(e,s)=>{let t=e=>{var s;return e&&(null===(s=e[(()=>{switch(e.length){case 9:return 8;case 8:return 7;case 12:return 11;default:return 9}})()])||void 0===s?void 0:s.trim())||"Unknown"},r=e=>e.map(e=>{var s;let r=t(null===(s=e.split(":")[1])||void 0===s?void 0:s.split(","));if("-32768"===r)return"-";let l=parseInt(r)>=4e3?"4000":-3e3>parseInt(r)?"-":r;return isNaN(parseInt(l))||e.includes("LTE")?l||"Unknown":Math.round(parseInt(l)/100).toString()}),l=e.split("+QCAINFO");return[r(l.filter(e=>e.includes("PCC")))[0],...r(l.filter(e=>e.includes("SCC")))].filter(e=>"Unknown"!==e)},ej=e=>{let s=[-32768,-140],t=e=>ee(e||"",0,1,1,"-32768",":"," ").split(",").slice(0,4).map(e=>parseInt(e.trim())).filter(e=>!s.includes(e))||[],r=t(e.split("\n").find(e=>e.includes("LTE"))).length,l=t(e.split("\n").find(e=>e.includes("NR5G"))).length;return r&&l?"LTE ".concat(r," / NR ").concat(l):r?" LTE ".concat(r):l?"NR ".concat(l):"Unknown"},eN=e=>{try{let s=e.split(".");if(s.length<8)return e;let t=s.map(e=>{let s=parseInt(e,10);return isNaN(s)?"00":s.toString(16).padStart(2,"0")}),r=[];for(let e=0;ee.replace(/^0+/,"")||"0"),n=[],a=[];for(let e=0;e0&&(a.length>n.length&&(n=[...a]),a=[]);if(a.length>n.length&&(n=[...a]),n.length>=2){let e=[];for(let s=0;s{let[e,s]=(0,l.useState)(null),[t,r]=(0,l.useState)(!0),[n,a]=(0,l.useState)(null),[i,o]=(0,l.useState)(0),[d,c]=(0,l.useState)(!0),m=(0,l.useCallback)(async()=>{try{c(!0);let e=await fetch("/cgi-bin/quecmanager/home/fetch_public_ip.sh"),t="Can't fetch public IP";if(e.ok){let s=await e.json();t=s.error?"No Internet":s.public_ip||"-"}s(e=>e?{...e,networkAddressing:{...e.networkAddressing,publicIPv4:t}}:null)}catch(e){console.error("Error fetching public IP:",e),s(e=>e?{...e,networkAddressing:{...e.networkAddressing,publicIPv4:"Can't fetch public IP"}}:null)}finally{c(!1)}},[]),u=(0,l.useCallback)(async e=>{console.error("Error fetching home data:",e),i<2?(console.log("Attempting automatic recovery (attempt ".concat(i+1,"/2)...")),o(e=>e+1),await new Promise(e=>setTimeout(e,2e3)),x()):(console.error("Max retry attempts reached. Please refresh manually."),a(e),s({simCard:{slot:"Unknown",state:"Unknown",provider:"Unknown",phoneNumber:"Unknown",imsi:"-",iccid:"-",imei:"-"},connection:{apn:"No APN",operatorState:"Unknown",functionalityState:"Disabled",networkType:"No Signal",modemTemperature:"Unknown",accessTechnology:"-"},dataTransmission:{carrierAggregation:"Inactive",connectedBands:"-",signalStrength:"-%",mimoLayers:"-",bandwidth:"Unknown"},cellularInfo:{cellId:"-",trackingAreaCode:"-",cellIdRaw:"-",trackingAreaCodeRaw:"-",physicalCellId:"-",earfcn:"-",mcc:"-",mnc:"-",signalQuality:"-%"},currentBands:{id:[1],bandNumber:["-"],earfcn:["-"],bandwidth:["-"],pci:["-"],rsrp:["-"],rsrq:["-"],sinr:["-"]},networkAddressing:{publicIPv4:"Not available",cellularIPv4:"Not available",cellularIPv6:"Not available",carrierPrimaryDNS:"Not available",carrierSecondaryDNS:"Not available",rawCarrierPrimaryDNS:"Not available",rawCarrierSecondaryDNS:"Not available"},timeAdvance:{lteTimeAdvance:"-",nrTimeAdvance:"-"}}))},[i]),x=(0,l.useCallback)(async()=>{try{var e,t,l,n,i,d,c,x,h,p,f,g,v,j,N,w,b,y,S,A,C,I,k,E,T,R;let r=await fetch("/cgi-bin/quecmanager/at_cmd/fetch_data.sh?set=1");if(!r.ok)throw Error("API returned status ".concat(r.status));let u=await r.json();u.some(e=>e.response.toLowerCase().includes("failed"))&&(console.error("SMS tool failure detected in modem response. Attempting service restart via reset-at-bridge.sh."),await fetch("/cgi-bin/quecmanager/reset-at-bridge.sh"));let P={simCard:{slot:ee(u[0].response,1,1,0),state:u[6].response.includes("READY")?"Inserted":u[6].response.includes("PIN")?"Waiting for PIN":u[6].response.includes("PUK")?"Waiting for Password":u[6].response.toLowerCase().includes("failed")?"SMS-Tool Failed Token":"Unknown",provider:ee(u[2].response,1,1,2),phoneNumber:ee(u[1].response,1,1,1),imsi:ee(u[3].response,1,0,0),iccid:ee(u[4].response,1,1,1,"Unknown",":"," "),imei:ee(u[5].response,1,0,0)},connection:{apn:ee(null===(e=u[7])||void 0===e?void 0:e.response,1,1,2,ee(null===(t=u[12])||void 0===t?void 0:t.response,1,1,2)),operatorState:en(null===(l=u[8])||void 0===l?void 0:l.response,null===(n=u[16])||void 0===n?void 0:n.response)||"Unknown",functionalityState:"1"===ee(null===(i=u[9])||void 0===i?void 0:i.response,1,1,0)?"Enabled":"Disabled",networkType:ea(u[13].response)||"No Signal",modemTemperature:ei(u[11].response)||"Unknown",accessTechnology:el(u[2].response)||"Unknown"},dataTransmission:{carrierAggregation:(null===(d=u[13].response.match(/"LTE BAND \d+"|"NR5G BAND \d+"/g))||void 0===d?void 0:d.length)>1?"Multi":"Inactive",bandwidth:eh(u[13].response).join(", ")||"Unknown",connectedBands:eu(u[13].response).join(", ").replaceAll("LTE BAND ","B").replaceAll("NR5G BAND ","N")||"Unknown",signalStrength:eo(u[14].response)||"Unknown",mimoLayers:ej(u[14].response)||"Unknown"},cellularInfo:{cellId:ed(null===(c=u[10])||void 0===c?void 0:c.response,ea(null===(x=u[13])||void 0===x?void 0:x.response),{"NR5G-SA":1,"NR5G-NSA":2,LTE:1},{"NR5G-SA":6,"NR5G-NSA":4,LTE:6},!1),trackingAreaCode:ed(null===(h=u[10])||void 0===h?void 0:h.response,ea(null===(p=u[13])||void 0===p?void 0:p.response),{"NR5G-SA":1,"NR5G-NSA":2,LTE:1},{"NR5G-SA":8,"NR5G-NSA":10,LTE:12},!1),cellIdRaw:ed(null===(f=u[10])||void 0===f?void 0:f.response,ea(null===(g=u[13])||void 0===g?void 0:g.response),{"NR5G-SA":1,"NR5G-NSA":2,LTE:1},{"NR5G-SA":6,"NR5G-NSA":4,LTE:6},!0),trackingAreaCodeRaw:ed(null===(v=u[10])||void 0===v?void 0:v.response,ea(null===(j=u[13])||void 0===j?void 0:j.response),{"NR5G-SA":1,"NR5G-NSA":2,LTE:1},{"NR5G-SA":8,"NR5G-NSA":10,LTE:12},!0),physicalCellId:ep(u[13].response,ea(u[13].response)).join(", ")||"Unknown",earfcn:ex(u[13].response).join(", "),mcc:ec(null===(N=u[10])||void 0===N?void 0:N.response,ea(null===(w=u[13])||void 0===w?void 0:w.response),{"NR5G-NSA":2,LTE:4,"NR5G-SA":4}),mnc:ec(null===(b=u[10])||void 0===b?void 0:b.response,ea(null===(y=u[13])||void 0===y?void 0:y.response),{"NR5G-NSA":3,LTE:5,"NR5G-SA":5}),signalQuality:em(u[19].response)||"Unknown"},currentBands:{id:Array.from({length:null!==(R=null===(S=eu(u[13].response))||void 0===S?void 0:S.length)&&void 0!==R?R:0},(e,s)=>s+1)||[1],bandNumber:eu(u[13].response)||["Unknown"],earfcn:ex(u[13].response),bandwidth:eh(u[13].response)||["Unknown"],pci:ep(u[13].response,ea(u[13].response))||["Unknown"],rsrp:ef(u[13].response),rsrq:eg(u[13].response)||["Unknown"],sinr:ev(u[13].response,ea(u[13].response))||["Unknown"]},networkAddressing:{publicIPv4:"Loading...",cellularIPv4:es(u,"IPV4"),cellularIPv6:es(u,"IPV6"),carrierPrimaryDNS:er(et(u,ea(null===(A=u[13])||void 0===A?void 0:A.response),15,{"NR5G-SA":5,"NR5G-NSA":6,LTE:6},20)),carrierSecondaryDNS:er(et(u,ea(null===(C=u[13])||void 0===C?void 0:C.response),15,{"NR5G-SA":6,"NR5G-NSA":7,LTE:7},20)),rawCarrierPrimaryDNS:et(u,ea(null===(I=u[13])||void 0===I?void 0:I.response),15,{"NR5G-SA":5,"NR5G-NSA":6,LTE:6},20),rawCarrierSecondaryDNS:et(u,ea(null===(k=u[13])||void 0===k?void 0:k.response),15,{"NR5G-SA":6,"NR5G-NSA":7,LTE:7},20)},timeAdvance:{lteTimeAdvance:ee(null===(E=u[21])||void 0===E?void 0:E.response,1,1,2),nrTimeAdvance:ee(null===(T=u[22])||void 0===T?void 0:T.response,1,1,2)}};s(P),o(0),a(null),m()}catch(e){console.error("Error fetching home data:",e),u(e instanceof Error?e:Error(String(e)))}finally{r(!1)}},[u,m]);return(0,l.useEffect)(()=>{let e,s,t=!0;return(async()=>{if(t)try{await x()}finally{t&&r(!1)}})(),e=setInterval(()=>{x()},15e3),s=setInterval(()=>{m()},3e4),()=>{t=!1,clearInterval(e),clearInterval(s)}},[x,m]),{data:e,isLoading:t,error:n,refresh:(0,l.useCallback)(async()=>{r(!0),await x(),r(!1)},[x]),isPublicIPLoading:d}},eb=()=>{let[e,s]=(0,l.useState)("Unknown"),[t,r]=(0,l.useState)(!0),n=(0,l.useCallback)(async()=>{try{r(!0);let e=await fetch("/cgi-bin/quecmanager/home/check_net.sh"),t=await e.json();s("ACTIVE"===t.connection?"Connected":"Disconnected"),r(!1)}catch(e){console.error("Error fetching data connection state:",e),s("Unknown"),r(!1)}},[]);return(0,l.useEffect)(()=>{n();let e=setInterval(n,3e4);return()=>clearInterval(e)},[n]),{dataConnectionState:e,refresh:(0,l.useCallback)(()=>{n()},[n]),isStateLoading:t}},ey=e=>{if(0===e)return"0 Bytes";let s=Math.floor(Math.log(e)/Math.log(1024));return parseFloat((e/Math.pow(1024,s)).toFixed(2))+" "+["Bytes","KB","MB","GB","TB"][s]},eS=()=>{let[e,s]=(0,l.useState)("0 Bytes"),[t,r]=(0,l.useState)("0 Bytes"),[n,a]=(0,l.useState)(""),i=e=>{var t,l;let n=Array.isArray(e)?e[e.length-1]:e;if(!n)return;a(n.datetime);let i=n.output.replace(/\r\\n/g,"\n").trim().split("\n").filter(e=>e.trim()),o=null===(t=i.find(e=>e.includes("+QGDCNT:")))||void 0===t?void 0:t.trim(),d=null===(l=i.find(e=>e.includes("+QGDNRCNT:")))||void 0===l?void 0:l.trim();if(!o||!d){console.error("Missing required data in response");return}let[c,m]=o.replace("+QGDCNT:","").split(",").map(e=>parseInt(e.trim())),[u,x]=d.replace("+QGDNRCNT:","").split(",").map(e=>parseInt(e.trim()));s(ey((m||0)+(u||0))),r(ey((c||0)+(x||0)))},o=(0,l.useCallback)(async()=>{try{let e=await fetch("/cgi-bin/quecmanager/home/fetch_data_usage.sh"),s=await e.json();i(s)}catch(e){console.error("Error fetching traffic stats:",e)}},[]);return(0,l.useEffect)(()=>{o();let e=setInterval(o,12e3);return()=>clearInterval(e)},[o]),{bytesSent:e,bytesReceived:t,lastUpdateTime:n,refresh:(0,l.useCallback)(()=>{o()},[o])}};var eA=t(23484);let eC=()=>{let[e,s]=(0,l.useState)(!1),[t,r]=(0,l.useState)(null),n=(e,s)=>{var t,r,l,n;let a=null===(r=e.split("\n")[1])||void 0===r?void 0:null===(t=r.split(":")[1])||void 0===t?void 0:t.split(",")[1].trim(),i=null===(n=s.split("\n")[1])||void 0===n?void 0:null===(l=n.split(":")[1])||void 0===l?void 0:l.split(",")[1].trim();return"1"===a||"1"===i?"Registered":"Not Registered"},a=(e,s)=>{var t,r,l,n;return(null===(r=e.split("\n")[1])||void 0===r?void 0:null===(t=r.split(":")[1])||void 0===t?void 0:t.split(",")[2].replace(/"/g,"").trim())===(null===(n=s.split("\n")[1])||void 0===n?void 0:null===(l=n.split(":")[1])||void 0===l?void 0:l.split(",")[2].replace(/"/g,"").trim())?"Enabled":"Disabled"},i=e=>{var s,t,r,l;let n=null===(t=e.split("\n")[1])||void 0===t?void 0:null===(s=t.split(":")[1])||void 0===s?void 0:s.split(",")[1].trim(),a=null===(l=e.split("\n")[2])||void 0===l?void 0:null===(r=l.split(":")[1])||void 0===r?void 0:r.split(",")[1].trim();return n&&"1"===n||a&&"1"===a?"Connected":"Disconnected"},o=e=>{try{var s,t,r,l;let n=e.trim().split("\n").map(e=>e.trim()),a=n.find(e=>e.includes("+QRSRP:")&&e.includes("LTE")),i=n.find(e=>e.includes("+QRSRP:")&&e.includes("NR5G")),o=[];a&&(o=null==a?void 0:null===(t=a.split(":")[1])||void 0===t?void 0:null===(s=t.split(","))||void 0===s?void 0:s.slice(0,4).map(e=>e.trim()).filter(e=>!isNaN(parseInt(e))).map(e=>parseInt(e)));let d=[];if(i&&(d=null==i?void 0:null===(l=i.split(":")[1])||void 0===l?void 0:null===(r=l.split(","))||void 0===r?void 0:r.slice(0,4).map(e=>e.trim()).filter(e=>!isNaN(parseInt(e))).map(e=>parseInt(e))),o=o.filter(e=>-32768!==e),d=d.filter(e=>-32768!==e),o=o.filter(e=>-140!==e),d=d.filter(e=>-140!==e),o.length>0){let e=o.reduce((e,s)=>e+s,0)/o.length;if(d.length>0){let s=d.reduce((e,s)=>e+s,0)/d.length;return(e+s)/2<-100?"Poor":"Good"}return e<-100?"Poor":"Good"}if(d.length>0)return d.reduce((e,s)=>e+s,0)/d.length<-100?"Poor":"Good";return"N/A"}catch(e){return console.error("Error processing cell signal:",e),"N/A"}},d=e=>{let s=e.split("\n").filter(e=>e.startsWith("+QTEMP:")).map(e=>parseInt(e.split(":")[1].split(",")[1].replace(/"/g,"").trim())).filter(e=>e>=0&&e<99);return s.reduce((e,s)=>e+s,0)/s.length<50?"Normal":"High"},c=e=>{var s,t,r,l,n,a;let i=null===(t=e.split("\n")[1])||void 0===t?void 0:null===(s=t.split(":")[1])||void 0===s?void 0:s.split(",")[1].trim(),o=null===(l=e.split("\n")[2])||void 0===l?void 0:null===(r=l.split(":")[1])||void 0===r?void 0:r.split(",")[1].trim(),d=null===(a=e.split("\n")[3])||void 0===a?void 0:null===(n=a.split(":")[1])||void 0===n?void 0:n.split(",")[1].trim(),c=["0"!==i?"EMM: ".concat(i):null,"0"!==o?"ESM: ".concat(o):null,"0"!==d?"NRMM: ".concat(d):null].filter(Boolean);return c.length>0?c.join(", "):"None"},m=e=>{var s,t,r,l,n,a;let i=null===(t=e.split("\n")[1])||void 0===t?void 0:null===(s=t.split(":")[1])||void 0===s?void 0:s.split(",")[1].trim(),o=null===(l=e.split("\n")[2])||void 0===l?void 0:null===(r=l.split(":")[1])||void 0===r?void 0:r.split(",")[1].trim(),d=null===(a=e.split("\n")[3])||void 0===a?void 0:null===(n=a.split(":")[1])||void 0===n?void 0:n.split(",")[1].trim(),c={};return i&&"0"!==i&&(c.emm={code:i,description:eA.ZK[i]||"Unknown EMM cause"}),o&&"0"!==o&&(c.esm={code:o,description:eA.jq[o]||"Unknown ESM cause"}),d&&"0"!==d&&(c.nrmm={code:d,description:eA.QI[d]||"Unknown NRMM cause"}),Object.keys(c).length>0?c:null};return{isRunningDiagnostics:e,runDiagnosticsData:t,startDiagnostics:async()=>{s(!0),new Date().toISOString();try{let e=await fetch("/cgi-bin/quecmanager/at_cmd/fetch_data.sh?set=6"),s=await e.json(),t={netRegistration:n(s[0].response,s[1].response),simState:s[2].response.split("\n")[1].split(":")[1].trim(),manualAPN:a(s[3].response,s[4].response),wanIP:i(s[5].response),cellSignal:o(s[6].response),modemTemp:d(s[7].response),netReject:c(s[8].response),rejectCauses:m(s[8].response)};return r(t),t}catch(e){throw console.error("Error running diagnostics:",e),e}finally{s(!1)}}}};var eI=t(80159),ek=t(12607),eE=t(25262),eT=t(8782),eR=t(10964),eP=t(89463),eM=t(90304),eD=t(622),ez=t(20633),eL=t(7778),eU=t(99312),eG=t(91994),eB=t(92823),e_=t(71834);let eF=e=>{if(null==e)return"N/A";let s=["B","KB","MB","GB"],t=e,r=0;for(;t>=1024&&r{if(null==e)return"N/A";let s=["bps","Kbps","Mbps","Gbps"],t=8*e,r=0;for(;t>=1e3&&r{var e,s,t,i;let{toast:d}=(0,n.dj)(),[c,m]=(0,l.useState)(null),[u,x]=(0,l.useState)(null),[h,p]=(0,l.useState)(null),[f,g]=(0,l.useState)(!1),[v,j]=(0,l.useState)(!1),[N,w]=(0,l.useState)(!1),[b,y]=(0,l.useState)(0),[S,A]=(0,l.useState)(!1),[C,I]=(0,l.useState)(!1),k=(0,l.useRef)(null),E=(0,l.useRef)(null),T=(0,l.useCallback)(()=>{m(null),x(null),p(null),g(!1),j(!1),w(!1),y(0),E.current=null,k.current&&(clearInterval(k.current),k.current=null)},[]);(0,l.useEffect)(()=>{let e=sessionStorage.getItem("speedtestData");if(e&&m(JSON.parse(e)),f&&!v){A(!0);let e=setTimeout(()=>{A(!1)},1e4);return()=>clearTimeout(e)}},[f,v]),(0,l.useEffect)(()=>()=>{k.current&&clearInterval(k.current)},[]);let R=(0,l.useCallback)(async()=>{try{let e=await fetch("/cgi-bin/quecmanager/home/speedtest/speedtest_status.sh");if(!e.ok)throw Error("Failed to fetch status: ".concat(e.status));let s=await e.json();if("not_running"===s.status){v&&(p("Test ended unexpectedly"),j(!1)),k.current&&(clearInterval(k.current),k.current=null);return}if(s.type)try{switch(s.type){case"ping":x("ping"),s.ping&&"number"==typeof s.ping.progress&&y(s.ping.progress);break;case"download":case"upload":"ping"!==u&&x(s.type);break;case"result":if(s.download&&s.upload&&s.ping){E.current=s,m(s),g(!0),j(!1),sessionStorage.setItem("speedtestData",JSON.stringify(s)),k.current&&(clearInterval(k.current),k.current=null);return}console.warn("Incomplete result data received:",s)}}catch(e){console.error("Error processing speedtest data:",e)}(s.type&&(s.download||s.upload||s.ping)||s.isp)&&(E.current=s,m(s))}catch(e){console.error("Error polling speedtest status:",e),v&&(p("Failed to get speedtest status"),j(!1),k.current&&(clearInterval(k.current),k.current=null))}},[u,v]),P=(0,l.useCallback)(async()=>{if(!S)try{if(T(),w(!0),j(!0),I(!0),!(await fetch("/cgi-bin/quecmanager/home/speedtest/start_speedtest.sh",{method:"GET"})).ok)throw Error("Failed to start speedtest");k.current=setInterval(R,300),w(!1)}catch(e){console.error("Speedtest start error:",e),p(e instanceof Error?"Failed to start speedtest: ".concat(e.message):"Failed to start speedtest"),w(!1),j(!1)}},[S,T,R]);return(0,r.jsxs)(a.Zp,{children:[(0,r.jsx)(a.aR,{children:(0,r.jsx)(a.ZB,{children:"Network Speedtest"})}),(0,r.jsxs)(a.Wu,{className:"flex flex-col gap-6 p-4 items-center justify-center",children:[(0,r.jsxs)(z.lG,{open:C,onOpenChange:I,children:[(0,r.jsx)(z.zM,{asChild:!0,children:(0,r.jsxs)("div",{className:"relative flex flex-col items-center justify-center",children:[(0,r.jsx)(e_.A,{color:"#5420ab",size:192,className:"-top-8 -left-8 absolute",style:{zIndex:1}}),(0,r.jsx)(B.A,{className:"size-32 z-10 text-primary cursor-pointer hover:text-primary/80 transition-colors duration-300",onClick:e=>{S||(e.preventDefault(),P())}})]})}),(0,r.jsxs)(z.Cf,{className:"sm:max-w-[800px] max-w-xs mx-auto",children:[(0,r.jsx)(z.c7,{children:(0,r.jsxs)(z.L3,{className:"flex items-center",children:[(0,r.jsx)(eR.A,{className:"mr-2"})," Network Speedtest",f&&(0,r.jsx)(o.E,{variant:"outline",className:"ml-2",children:"Complete"}),v&&!f&&(0,r.jsx)(o.E,{variant:"outline",className:"ml-2 bg-primary/10",children:"Running..."})]})}),(0,r.jsx)("div",{className:"lg:max-w-full max-w-sm mx-auto min-w-sm py-6",children:(()=>{var e,s,t,l,n,i,o,d,m,x,p,g,j,w,y,S,A,C,I,k,E,R,M,D,z,L;if(h)return(0,r.jsxs)("div",{className:"flex flex-col items-center justify-center space-y-4",children:[(0,r.jsx)(ek.A,{className:"text-rose-600 lg:size-48 size-16 animate-pulse"}),(0,r.jsx)("h3",{className:"text-xl font-semibold",children:"Network Speedtest Failed"}),(0,r.jsxs)("p",{className:"text-sm text-gray-500",children:["Something went wrong while running the speedtest.",(0,r.jsx)("span",{className:"underline cursor-pointer ml-2",onClick:()=>{T(),P()},children:"Please try again."})]})]});if(N||v&&!c)return(0,r.jsxs)("div",{className:"flex flex-col items-center justify-center space-y-4",children:[(0,r.jsx)(eE.A,{className:"text-primary lg:size-48 size-16 animate-pulse"}),(0,r.jsx)("h3",{className:"md:text-xl text-lg font-semibold",children:"Initiating Network Speedtest"}),(0,r.jsx)("p",{className:"text-sm text-gray-500 text-center",children:"Locating and establishing a connection to a server. Please wait..."})]});if("ping"===u)return(0,r.jsxs)("div",{className:"flex flex-col items-center justify-center space-y-4",children:[(0,r.jsx)(eT.A,{className:"text-gray-600 size-16 animate-pulse"}),(0,r.jsx)("h3",{className:"text-xl font-semibold",children:"Calculating Ping Latency"}),(0,r.jsx)("div",{className:"w-full bg-gray-200 rounded-full h-2.5",children:(0,r.jsx)("div",{className:"bg-blue-600 h-2.5 rounded-full",style:{width:"".concat(100*(b||0),"%")}})}),(0,r.jsx)("p",{className:"text-sm text-gray-500",children:(null==c?void 0:c.ping)?"Latency: ".concat(c.ping.latency.toFixed(2)," ms, \n Jitter: ").concat(c.ping.jitter.toFixed(2)," ms"):"Measuring network responsiveness..."})]});if(f)return c&&c.download&&c.upload&&c.ping?(0,r.jsxs)("div",{className:"grid gap-4 w-full min-w-sm",children:[(0,r.jsxs)(a.Zp,{children:[(0,r.jsx)(a.aR,{children:(0,r.jsxs)(a.ZB,{className:"flex items-center",children:[(0,r.jsx)(eR.A,{className:"mr-4 text-violet-600"})," Speedtest Result"]})}),(0,r.jsx)(a.Wu,{className:"lg:py-12 py-6 min-w-sm w-full",children:(0,r.jsxs)("div",{className:"grid lg:grid-cols-2 grid-cols-1 grid-flow-row gap-4 lg:gap-y-0 gap-y-8 gap-x-8",children:[(0,r.jsxs)("div",{className:"grid gap-1 place-items-center",children:[(0,r.jsxs)("div",{className:"flex items-center space-x-2",children:[(0,r.jsx)(eP.A,{className:"text-green-600 lg:size-6 size-4"}),(0,r.jsx)("p",{className:"font-semibold",children:"Download"})]}),(0,r.jsx)("h1",{className:"text-[3rem] font-semibold text-center antialiased leading-tight",children:eO(null===(t=c.download)||void 0===t?void 0:t.bandwidth)}),(0,r.jsxs)("div",{className:"grid gap-0.5 lg:flex lg:items-center lg:space-x-1",children:[(0,r.jsxs)("div",{className:"flex items-center justify-center gap-x-2",children:[(0,r.jsx)(eM.A,{className:"text-gray-600 lg:size-6 size-4"}),(0,r.jsx)("p",{className:"text-foreground-muted text-sm text-center",children:"Latency"})]}),(0,r.jsxs)("p",{className:"text-foreground-muted text-sm text-center",children:[null!==(R=null===(i=c.download)||void 0===i?void 0:null===(n=i.latency)||void 0===n?void 0:null===(l=n.iqm)||void 0===l?void 0:l.toFixed(2))&&void 0!==R?R:"N/A"," ","ms"]})]})]}),(0,r.jsxs)("div",{className:"grid gap-1.5 place-items-center",children:[(0,r.jsxs)("div",{className:"flex items-center space-x-2",children:[(0,r.jsx)(eD.A,{className:"text-violet-600 lg:size-6 size-4"}),(0,r.jsx)("p",{className:"font-semibold",children:"Upload"})]}),(0,r.jsx)("h1",{className:"text-[3rem] font-semibold text-center antialiased leading-tight",children:eO(null===(o=c.upload)||void 0===o?void 0:o.bandwidth)}),(0,r.jsxs)("div",{className:"grid gap-0.5 lg:flex lg:items-center lg:space-x-1",children:[(0,r.jsxs)("div",{className:"flex items-center justify-center gap-x-2",children:[(0,r.jsx)(eM.A,{className:"text-gray-600 lg:size-6 size-4"}),(0,r.jsx)("p",{className:"text-foreground-muted text-sm text-center",children:"Latency"})]}),(0,r.jsxs)("p",{className:"text-foreground-muted text-sm text-center",children:[null!==(M=null===(x=c.upload)||void 0===x?void 0:null===(m=x.latency)||void 0===m?void 0:null===(d=m.iqm)||void 0===d?void 0:d.toFixed(2))&&void 0!==M?M:"N/A"," ","ms"]})]})]})]})}),(0,r.jsxs)(a.wL,{className:"flex items-center justify-between mx-auto",children:[(0,r.jsxs)("div",{className:"grid gap-0.5 lg:flex lg:items-center lg:space-x-1",children:[(0,r.jsxs)("div",{className:"flex items-center justify-center gap-x-2",children:[(0,r.jsx)(eT.A,{className:"text-gray-600 lg:size-6 size-4"}),(0,r.jsx)("p",{className:"text-foreground-muted text-sm text-center",children:"Ping"})]}),(0,r.jsxs)("p",{className:"text-foreground-muted text-sm text-center",children:[null!==(D=null===(g=c.ping)||void 0===g?void 0:null===(p=g.latency)||void 0===p?void 0:p.toFixed(2))&&void 0!==D?D:"N/A"," ms"]})]}),(0,r.jsxs)("div",{className:"grid gap-0.5 lg:flex lg:items-center lg:space-x-1",children:[(0,r.jsxs)("div",{className:"flex items-center justify-center gap-x-2",children:[(0,r.jsx)(ez.A,{className:"text-gray-600 lg:size-6 size-4"}),(0,r.jsx)("p",{className:"text-foreground-muted text-sm text-center",children:"Jitter"})]}),(0,r.jsxs)("p",{className:"text-foreground-muted text-sm text-center",children:[null!==(z=null===(w=c.ping)||void 0===w?void 0:null===(j=w.jitter)||void 0===j?void 0:j.toFixed(2))&&void 0!==z?z:"N/A"," ms"]})]})]})]}),(0,r.jsxs)(a.Zp,{children:[(0,r.jsx)(a.aR,{children:(0,r.jsxs)(a.ZB,{className:"flex items-center",children:[(0,r.jsx)(eL.A,{className:"mr-4 text-blue-600"})," Connection & Server Details"]})}),(0,r.jsx)(a.Wu,{children:(0,r.jsxs)("div",{className:"grid gap-2",children:[(0,r.jsxs)("div",{className:"grid grid-cols-2 grid-flow-row gap-2 truncate",children:[(0,r.jsx)("p",{className:"font-medium",children:"ISP:"}),(0,r.jsx)("p",{children:c.isp||"N/A"})]}),(0,r.jsxs)("div",{className:"grid grid-cols-2 grid-flow-row gap-2 truncate",children:[(0,r.jsx)("p",{className:"font-medium",children:"Internal IP:"}),(0,r.jsx)("p",{children:(null===(y=c.interface)||void 0===y?void 0:y.internalIp)||"N/A"})]}),(0,r.jsxs)("div",{className:"grid grid-cols-2 grid-flow-row gap-2 truncate",children:[(0,r.jsx)("p",{className:"font-medium",children:"External IP:"}),(0,r.jsx)("p",{children:(null===(S=c.interface)||void 0===S?void 0:S.externalIp)||"N/A"})]}),(0,r.jsxs)("div",{className:"grid grid-cols-2 grid-flow-row gap-2 truncate",children:[(0,r.jsx)("p",{className:"font-medium",children:"Server Name:"}),(0,r.jsx)("p",{children:(null===(A=c.server)||void 0===A?void 0:A.name)||"N/A"})]}),(0,r.jsxs)("div",{className:"grid grid-cols-2 grid-flow-row gap-2 truncate",children:[(0,r.jsx)("p",{className:"font-medium",children:"Location:"}),(0,r.jsx)("p",{children:(null===(C=c.server)||void 0===C?void 0:C.location)||"N/A"})]}),(0,r.jsxs)("div",{className:"grid grid-cols-2 grid-flow-row gap-2 truncate",children:[(0,r.jsx)("p",{className:"font-medium",children:"Country:"}),(0,r.jsx)("p",{children:(null===(I=c.server)||void 0===I?void 0:I.country)||"N/A"})]}),(0,r.jsxs)("div",{className:"grid grid-cols-2 grid-flow-row gap-2 truncate",children:[(0,r.jsx)("p",{className:"font-medium",children:"Server IP:"}),(0,r.jsx)("p",{children:(null===(k=c.server)||void 0===k?void 0:k.host)||"N/A"})]}),(null===(E=c.result)||void 0===E?void 0:E.url)&&(0,r.jsxs)("div",{className:"flex items-center gap-x-2 mt-4",children:[(0,r.jsx)(eU.A,{className:"text-blue-600 size-4"}),(0,r.jsx)("a",{href:c.result.url,target:"_blank",rel:"noopener noreferrer",className:"font-medium text-blue-600 hover:underline",children:"View Full Result Online"})]})]})})]})]}):(0,r.jsxs)("div",{className:"flex flex-col items-center justify-center space-y-4",children:[(0,r.jsx)(ek.A,{className:"text-amber-500 lg:size-16 size-8"}),(0,r.jsx)("h3",{className:"text-xl font-semibold",children:"Incomplete Test Results"}),(0,r.jsxs)("p",{className:"text-sm text-gray-500 text-center",children:["The test didn't complete properly. Some data may be missing.",(0,r.jsx)("span",{className:"underline cursor-pointer ml-2 block",onClick:()=>{T(),P()},children:"Run the test again"})]})]});if(!u||!c)return null;if(!c[u])return(0,r.jsxs)("div",{className:"flex flex-col items-center justify-center space-y-4",children:[(0,r.jsx)(eG.A,{className:"text-primary lg:size-16 size-8 animate-spin"}),(0,r.jsx)("h3",{className:"text-lg font-semibold",children:"Loading test data..."})]});let U=c[u],G="download"===u;return(0,r.jsxs)(a.Zp,{className:"p-4 w-full",children:[(0,r.jsx)(a.aR,{children:(0,r.jsxs)(a.ZB,{className:"flex items-center",children:[G?(0,r.jsx)(eP.A,{className:"text-green-500 lg:size-6 size-4 mr-1"}):(0,r.jsx)(eD.A,{className:"text-violet-500 lg:size-6 size-4 mr-1"}),(0,r.jsxs)("p",{className:"ml-2",children:["Testing ",G?"Download":"Upload"," Speed"]})]})}),(0,r.jsx)(a.Wu,{children:(0,r.jsx)("div",{className:"grid place-items-center max-w-sm lg:max-w-full mx-auto w-full",children:(0,r.jsx)("h1",{className:"lg:text-[4rem] text-[3rem] font-semibold text-center",children:eO(U.bandwidth)})})}),(0,r.jsx)(a.wL,{children:(0,r.jsxs)("div",{className:"grid lg:grid-cols-3 grid-cols-1 grid-flow-row gap-4",children:[(0,r.jsxs)("div",{className:"grid gap-1 place-items-center",children:[(0,r.jsxs)("div",{className:"flex items-center",children:[(0,r.jsx)(eB.A,{className:"mr-2 text-yellow-600"}),"Bytes Transferred"]}),(0,r.jsx)("p",{className:"lg:text-md text-base text-muted font-semibold",children:eF(U.bytes)})]}),(0,r.jsxs)("div",{className:"grid gap-1 place-items-center",children:[(0,r.jsxs)("div",{className:"flex items-center",children:[(0,r.jsx)(eR.A,{className:"mr-2 text-purple-600"}),"Elapsed Time"]}),(0,r.jsxs)("p",{className:"lg:text-md text-base text-muted font-semibold",children:[(U.elapsed/1e3).toFixed(2)," sec"]})]}),(0,r.jsxs)("div",{className:"grid gap-1 place-items-center",children:[(0,r.jsxs)("div",{className:"flex items-center",children:[(0,r.jsx)(eT.A,{className:"mr-2 text-gray-600"}),"Latency (IQM)"]}),(0,r.jsxs)("p",{className:"lg:text-md text-base text-muted font-semibold",children:[null!==(L=null===(s=U.latency)||void 0===s?void 0:null===(e=s.iqm)||void 0===e?void 0:e.toFixed(2))&&void 0!==L?L:"N/A"," ms"]})]})]})})]})})()}),(0,r.jsx)(z.Es,{className:"flex justify-between items-center",children:f?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("div",{children:(0,r.jsxs)(D.$,{onClick:()=>{S?d({title:"Please wait",description:"Cooldown period active"}):(T(),P())},variant:"outline",disabled:S,children:[(0,r.jsx)(eG.A,{className:"h-4 w-4"}),"Run Again"]})}),(0,r.jsx)(D.$,{onClick:()=>I(!1),children:"Close"})]}):(0,r.jsx)(r.Fragment,{children:v?(0,r.jsx)(D.$,{onClick:()=>{T(),I(!1)},variant:"destructive",children:"Cancel Test"}):(0,r.jsx)(D.$,{onClick:()=>I(!1),children:"Close"})})})]})]}),(0,r.jsxs)("div",{children:[(0,r.jsx)(a.BT,{className:"relative flex flex-col items-center justify-center",children:S?"Please wait 10 seconds before starting another test.":v?"Test in progress...":"Run a speed test to check your internet connection."}),c?(0,r.jsx)("div",{className:"mt-4",children:(0,r.jsx)("div",{className:"relative flex flex-col items-center justify-center",children:(0,r.jsxs)("div",{className:"grid grid-cols-3 grid-flow-row",children:[(0,r.jsxs)("div",{className:"flex items-center mx-2",children:[(0,r.jsx)(eP.A,{className:"text-green-500 size-4 mr-1"}),(null==c?void 0:c.download)?"".concat(eO(null==c?void 0:null===(e=c.download)||void 0===e?void 0:e.bandwidth)):"N/A"]}),(0,r.jsxs)("div",{className:"flex items-center mx-2",children:[(0,r.jsx)(eD.A,{className:"text-violet-500 size-4 mr-1"}),(null==c?void 0:c.upload)?"".concat(eO(null==c?void 0:null===(s=c.upload)||void 0===s?void 0:s.bandwidth)):"N/A"]}),(0,r.jsxs)("div",{className:"flex items-center mx-2",children:[(0,r.jsx)(eT.A,{className:"text-gray-600 size-4 mr-1"}),(null==c?void 0:c.ping)?"".concat(null==c?void 0:null===(i=c.ping)||void 0===i?void 0:null===(t=i.latency)||void 0===t?void 0:t.toFixed(2)," ms"):"N/A"]})]})})}):v?(0,r.jsx)("p",{className:"text-sm text-gray-500 text-center",children:'"Test in progress..."'}):(0,r.jsx)("p",{className:"text-sm text-gray-500 text-center",children:'"Previous data not available."'})]})]})]})};var eZ=t(88926);let eH=e=>{let{data:s,isLoading:t,isPublicIPLoading:l=!1,hideSensitiveData:n}=e;return(0,r.jsx)(a.Zp,{className:"md:py-6 md:px-6 py-6 px-4 ",children:(0,r.jsxs)("div",{className:"grid lg:grid-cols-5 grid-cols-1 grid-flow-row gap-4",children:[(0,r.jsxs)("div",{className:"grid place-items-center gap-1.5",children:[(0,r.jsx)("h2",{className:"font-semibold",children:"Public IPv4 Address"}),t||l?(0,r.jsx)(i.E,{className:"h-4 w-[100px]"}):n?(0,r.jsx)("div",{className:"border-none bg-gray-600 rounded-md h-5 md:w-36 w-24"}):(0,r.jsx)("p",{children:null==s?void 0:s.networkAddressing.publicIPv4})]}),(0,r.jsxs)("div",{className:"grid place-items-center gap-1.5",children:[(0,r.jsx)("h2",{className:"font-semibold",children:"Cellular IPv4 Address"}),(0,r.jsx)("div",{className:"flex items-center gap-x-2",children:t?(0,r.jsx)(i.E,{className:"h-4 w-[100px]"}):n?(0,r.jsx)("div",{className:"border-none bg-gray-600 rounded-md h-5 md:w-36 w-24"}):(0,r.jsx)("p",{children:null==s?void 0:s.networkAddressing.cellularIPv4})})]}),(0,r.jsxs)("div",{className:"grid place-items-center gap-1.5",children:[(0,r.jsx)("h2",{className:"font-semibold",children:"Cellular IPv6 Address"}),t?(0,r.jsx)(i.E,{className:"h-4 w-[100px]"}):n?(0,r.jsx)("div",{className:"border-none bg-gray-600 rounded-md h-5 md:w-36 w-24"}):(0,r.jsx)("p",{children:null==s?void 0:s.networkAddressing.cellularIPv6})]}),(0,r.jsxs)("div",{className:"grid place-items-center gap-1.5",children:[(0,r.jsx)("h2",{className:"font-semibold",children:"Carrier Primary DNS"}),t?(0,r.jsx)(i.E,{className:"h-4 w-[100px]"}):(0,r.jsx)(f.TooltipProvider,{children:(0,r.jsxs)(f.m_,{children:[(0,r.jsx)(f.k$,{children:null==s?void 0:s.networkAddressing.carrierPrimaryDNS}),(0,r.jsx)(f.ZI,{children:(0,r.jsx)("p",{children:null==s?void 0:s.networkAddressing.rawCarrierPrimaryDNS})})]})})]}),(0,r.jsxs)("div",{className:"grid place-items-center gap-1.5",children:[(0,r.jsx)("h2",{className:"font-semibold",children:"Carrier Secondary DNS"}),t?(0,r.jsx)(i.E,{className:"h-4 w-[100px]"}):(0,r.jsx)(f.TooltipProvider,{children:(0,r.jsxs)(f.m_,{children:[(0,r.jsx)(f.k$,{children:null==s?void 0:s.networkAddressing.carrierSecondaryDNS}),(0,r.jsx)(f.ZI,{children:(0,r.jsx)("p",{children:null==s?void 0:s.networkAddressing.rawCarrierSecondaryDNS})})]})})]})]})})};var eQ=t(99015),eW=t(13624);let e$=e=>{let{lteTimeAdvance:s="0",nrTimeAdvance:t="0",isLoading:n=!1,networkType:o="Unknown"}=e,[d,c]=(0,l.useState)("km"),[m,u]=(0,l.useState)(!0);(0,l.useEffect)(()=>{(async()=>{try{u(!0);let e=await fetch("/cgi-bin/quecmanager/settings/measurement_units.sh"),s=await e.json();"success"===s.status&&s.data&&c(s.data.unit)}catch(e){console.error("Error fetching measurement unit:",e),c("km")}finally{u(!1)}})()},[]);let x=s&&"Unknown"!==s&&"-"!==s&&parseInt(s,10)||0,h=t&&"Unknown"!==t&&"-"!==t&&parseInt(t,10)||0,p=x>0?(e=>((e<0||e>1282)&&(console.warn("Invalid LTE TA value: ".concat(e,", using 0 instead")),e=0),1/3072e4*(16*e)*3e8/2/1e3))(x):0,g=h>0?(e=>(e<0&&(console.warn("Invalid negative NTA value: ".concat(e,", using 0 instead")),e=0),3e8*e*(1/196608e4)/2/1e3))(h):0,v=e=>.621371*e,j=e=>{if(0===e)return"-";if("mi"===d){let s=v(e);if(s<1){let e=5280*s;return"".concat(e.toFixed(0)," ft")}return"".concat(s.toFixed(2)," mi")}return e<1?"".concat((1e3*e).toFixed(0)," m"):"".concat(e.toFixed(2)," km")};return(0,r.jsxs)(a.Zp,{className:"overflow-hidden",children:[(0,r.jsx)(a.aR,{children:(0,r.jsx)(a.ZB,{children:"Distance to Cell Tower"})}),(0,r.jsx)(a.Wu,{children:n||m?(0,r.jsxs)("div",{className:"space-y-3",children:[(0,r.jsxs)("div",{className:"flex items-center justify-between mb-1",children:[(0,r.jsxs)("div",{className:"flex items-center",children:[(0,r.jsx)(eQ.A,{className:"h-4 w-4 mr-1.5"}),(0,r.jsx)("span",{className:"text-sm font-medium",children:"LTE"})]}),(0,r.jsxs)("div",{className:"flex items-center",children:[(0,r.jsx)(i.E,{className:"h-4 w-16 mr-2"}),(0,r.jsx)(f.TooltipProvider,{children:(0,r.jsxs)(f.m_,{children:[(0,r.jsx)(f.k$,{asChild:!0,children:(0,r.jsx)(eW.A,{className:"h-4 w-4 text-muted-foreground"})}),(0,r.jsx)(f.ZI,{children:(0,r.jsx)(i.E,{className:"h-4 w-16 mr-2"})})]})})]})]}),(0,r.jsxs)("div",{className:"flex items-center justify-between mb-1",children:[(0,r.jsxs)("div",{className:"flex items-center",children:[(0,r.jsx)(eQ.A,{className:"h-4 w-4 mr-1.5"}),(0,r.jsx)("span",{className:"text-sm font-medium",children:"NR5G"})]}),(0,r.jsxs)("div",{className:"flex items-center",children:[(0,r.jsx)(i.E,{className:"h-4 w-16 mr-2"}),(0,r.jsx)(f.TooltipProvider,{children:(0,r.jsxs)(f.m_,{children:[(0,r.jsx)(f.k$,{asChild:!0,children:(0,r.jsx)(eW.A,{className:"h-4 w-4 text-muted-foreground"})}),(0,r.jsx)(f.ZI,{children:(0,r.jsx)(i.E,{className:"h-4 w-16 mr-2"})})]})})]})]})]}):(0,r.jsxs)("div",{className:"space-y-3",children:[x>0&&(0,r.jsxs)("div",{className:"flex items-center justify-between mb-1",children:[(0,r.jsxs)("div",{className:"flex items-center",children:[(0,r.jsx)(eQ.A,{className:"h-4 w-4 mr-1.5"}),(0,r.jsx)("span",{className:"text-sm font-medium",children:"LTE"})]}),(0,r.jsxs)("div",{className:"flex items-center",children:[(0,r.jsx)("p",{className:"mr-2",children:j(p)}),(0,r.jsx)(f.TooltipProvider,{children:(0,r.jsxs)(f.m_,{children:[(0,r.jsx)(f.k$,{asChild:!0,children:(0,r.jsx)(eW.A,{className:"h-4 w-4 text-muted-foreground"})}),(0,r.jsx)(f.ZI,{children:(0,r.jsxs)("p",{className:"max-w-xs text-xs mr-2",children:["LTE TA ",x]})})]})})]})]}),h>0&&(0,r.jsxs)("div",{className:"flex items-center justify-between mb-1",children:[(0,r.jsxs)("div",{className:"flex items-center",children:[(0,r.jsx)(eQ.A,{className:"h-4 w-4 mr-1.5"}),(0,r.jsx)("span",{className:"text-sm font-medium",children:"NR5G"})]}),(0,r.jsxs)("div",{className:"flex items-center",children:[(0,r.jsx)("p",{className:"mr-2",children:j(g)}),(0,r.jsx)(f.TooltipProvider,{children:(0,r.jsxs)(f.m_,{children:[(0,r.jsx)(f.k$,{asChild:!0,children:(0,r.jsx)(eW.A,{className:"h-4 w-4 text-muted-foreground"})}),(0,r.jsx)(f.ZI,{children:(0,r.jsxs)("p",{className:"max-w-xs text-xs mr-2",children:["NTA ",h]})})]})})]})]}),!x&&!h&&(0,r.jsx)("div",{className:"h-16 flex items-center justify-center",children:(0,r.jsx)("p",{className:"text-muted-foreground text-sm",children:"No timing advance data available"})})]})})]})},eK=()=>{var e,s,t;let{toast:a}=(0,n.dj)(),[i,o]=(0,l.useState)(!1),[c,m]=(0,l.useState)(!1),{data:u,isLoading:x,refresh:f,isPublicIPLoading:v}=ew(),{dataConnectionState:j,isStateLoading:N,refresh:w}=eb(),{isRunningDiagnostics:b,runDiagnosticsData:y,startDiagnostics:S}=eC(),{bytesSent:A,bytesReceived:I,refresh:k}=eS(),E=async()=>{try{var e,s;let t=await (0,eZ.a)("AT+QUIMSLOT?"),r=null===(e=t.response)||void 0===e?void 0:e.raw_output.split("\n")[1].split(":")[1].trim(),l=await (0,eZ.a)("1"===r?"AT+QUIMSLOT=2":"AT+QUIMSLOT=1");if("error"===l.status||(null===(s=l.response)||void 0===s?void 0:s.status)==="error")throw Error("Failed to change SIM slot");a({title:"SIM Slot Changed",description:"The SIM slot has been changed successfully"}),setTimeout(async()=>{await (0,eZ.a)("AT+COPS=2"),setTimeout(async()=>{let e=await (0,eZ.a)("AT+COPS=0");if("error"===e.status)throw Error("Failed to reconnect to the network");a({title:"Network Reconnected",description:"The device has been reconnected to the network"})},2e3)},3e3),setTimeout(R,3e3)}catch(e){console.error("Error changing SIM slot:",e),a({variant:"destructive",title:"SIM Slot Change Failed",description:e instanceof Error?e.message:"Failed to change the SIM slot"})}},R=(0,l.useCallback)(async()=>{try{await Promise.all([f(),w(),k()])}catch(e){console.error("Error refreshing data:",e),a({variant:"destructive",title:"Refresh Failed",description:"Failed to refresh the data"})}},[f,w,k]),[P,O]=(0,l.useState)([]),Z=async()=>{try{await S()}catch(e){a({variant:"destructive",title:"Diagnostics Failed",description:"Failed to run diagnostics"})}};return(0,l.useEffect)(()=>{if(u&&u.currentBands){var e;let s=null===(e=u.currentBands.id)||void 0===e?void 0:e.map((e,s)=>{var t,r,l,n,a,i,o;return{id:e,bandNumber:(null===(t=u.currentBands.bandNumber)||void 0===t?void 0:t[s])||"N/A",earfcn:(null===(r=u.currentBands.earfcn)||void 0===r?void 0:r[s])||"N/A",bandwidth:(null===(l=u.currentBands.bandwidth)||void 0===l?void 0:l[s])||"N/A",pci:(null===(n=u.currentBands.pci)||void 0===n?void 0:n[s])||"N/A",rsrp:(null===(a=u.currentBands.rsrp)||void 0===a?void 0:a[s])||"N/A",rsrq:(null===(i=u.currentBands.rsrq)||void 0===i?void 0:i[s])||"N/A",sinr:(null===(o=u.currentBands.sinr)||void 0===o?void 0:o[s])||"N/A"}});s&&O(s)}},[u]),(0,l.useEffect)(()=>{var e,s;(null==u?void 0:null===(s=u.simCard)||void 0===s?void 0:null===(e=s.state)||void 0===e?void 0:e.toLowerCase().includes("failed"))&&a({title:"SMS_Tool failed to acquire token",description:"The system will attempt to recover automatically. If this issue persists, please logout and log back in or restart the device.",variant:"destructive"}),x||(null==u?void 0:u.simCard.state)!=="Not Inserted"||o(!0)},[u,x]),(0,r.jsxs)("div",{className:"grid xl:gap-y-10 gap-y-8 gap-4",children:[(0,r.jsxs)("div",{className:"grid gap-4",children:[(0,r.jsxs)("div",{className:"flex flex-row justify-between items-center",children:[(0,r.jsxs)("div",{className:"flex flex-row gap-2 items-center",children:[(0,r.jsx)("h1",{className:"xl:text-3xl text-base font-bold",children:"Connection Summary"}),(0,r.jsx)(D.$,{variant:"ghost",size:"icon",className:"text-sm",onClick:R,children:(0,r.jsx)(L.A,{className:"xl:size-6 size-5 text-blue-500",strokeWidth:3})})]}),(0,r.jsxs)("div",{className:"flex flex-row items-center gap-x-2",children:[(0,r.jsxs)(D.$,{onClick:()=>m(e=>!e),children:[c?(0,r.jsx)(U.A,{className:"xl:size-6 size-5"}):(0,r.jsx)(G.A,{className:"xl:size-6 size-5"}),(0,r.jsxs)("span",{className:"hidden md:block",children:[c?"Show":"Hide"," Sensitive Data"]})]}),(null==u?void 0:u.simCard.state)==="Not Inserted"&&(0,r.jsxs)(z.lG,{open:i,onOpenChange:o,children:[(0,r.jsx)(z.zM,{asChild:!0,children:(0,r.jsxs)(D.$,{variant:"destructive",children:[(0,r.jsx)(eI.fU4,{className:"xl:size-6 size-5"}),(0,r.jsx)("span",{className:"hidden md:block",children:"No SIM"})]})}),(0,r.jsxs)(z.Cf,{className:"max-w-xs md:max-w-lg",children:[(0,r.jsx)(z.c7,{children:(0,r.jsx)(z.L3,{children:"No SIM Detected"})}),(0,r.jsxs)("div",{className:"grid gap-4 py-4",children:[(0,r.jsx)("div",{className:"flex items-center justify-center",children:(0,r.jsx)(eI.fU4,{className:"xl:size-14 md:size-12 size-6 text-red-500"})}),(0,r.jsx)("p",{className:"text-center",children:"There is no SIM card detected in the device. Please insert a SIM card or change the SIM card slot to use the device."})]}),(0,r.jsxs)("div",{className:"flex justify-end mt-4",children:[(0,r.jsx)(D.$,{onClick:E,className:"mr-2",children:"Change SIM Slot"}),(0,r.jsx)(z.HM,{asChild:!0,children:(0,r.jsx)(D.$,{variant:"secondary",onClick:()=>o(!1),children:"Close"})})]})]})]}),(0,r.jsxs)(z.lG,{children:[(0,r.jsx)(z.zM,{asChild:!0,children:(0,r.jsxs)(D.$,{onClick:Z,children:[(0,r.jsx)(B.A,{className:"xl:size-6 size-5"}),(0,r.jsx)("span",{className:"hidden md:block",children:"Run Diagnostics"})]})}),!b&&(0,r.jsxs)(z.Cf,{className:"max-w-xs md:max-w-lg",children:[(0,r.jsx)(z.c7,{children:(0,r.jsx)(z.L3,{children:"Diagnostics Result"})}),(0,r.jsx)(z.rr,{children:"This is the result of the diagnostic test ran on your device."}),(0,r.jsxs)("div",{className:"grid gap-4 py-4",children:[(0,r.jsxs)("div",{className:"flex items-center justify-between",children:[(0,r.jsx)("h3",{className:"font-semibold",children:"Network Registration "}),(null==y?void 0:y.netRegistration)==="Registered"?(0,r.jsx)(_.A,{className:"text-green-500"}):(0,r.jsx)(F.A,{className:"text-red-500"})]}),(0,r.jsxs)("div",{className:"flex items-center justify-between",children:[(0,r.jsx)("h3",{className:"font-semibold",children:"U-SIM State"}),(null==y?void 0:y.simState)==="READY"?(0,r.jsx)(_.A,{className:"text-green-500"}):(0,r.jsx)(F.A,{className:"text-red-500"})]}),(0,r.jsxs)("div",{className:"flex items-center justify-between",children:[(0,r.jsx)("h3",{className:"font-semibold",children:"Manual APN"}),(null==y?void 0:y.manualAPN)==="Enabled"?(0,r.jsx)(_.A,{className:"text-green-500"}):(0,r.jsx)(F.A,{className:"text-red-500"})]}),(0,r.jsxs)("div",{className:"flex items-center justify-between",children:[(0,r.jsx)("h3",{className:"font-semibold",children:"WAN IP"}),(null==y?void 0:y.wanIP)==="Connected"?(0,r.jsx)(_.A,{className:"text-green-500"}):(0,r.jsx)(F.A,{className:"text-red-500"})]}),(0,r.jsxs)("div",{className:"flex items-center justify-between",children:[(0,r.jsx)("h3",{className:"font-semibold",children:"Cellular Signal"}),(null==y?void 0:y.cellSignal)==="Good"?(0,r.jsx)(_.A,{className:"text-green-500"}):(0,r.jsx)(F.A,{className:"text-red-500"})]}),(0,r.jsxs)("div",{className:"flex items-center justify-between",children:[(0,r.jsx)("h3",{className:"font-semibold",children:"Modem Temperature"}),(null==y?void 0:y.modemTemp)==="Normal"?(0,r.jsx)(_.A,{className:"text-green-500"}):(0,r.jsx)(F.A,{className:"text-red-500"})]}),(0,r.jsxs)("div",{className:"flex items-center justify-between mt-6",children:[(0,r.jsx)("h3",{className:"font-semibold",children:"Network Reject Causes"}),(0,r.jsx)("div",{className:"flex flex-col items-end space-y-1",children:(null==y?void 0:y.rejectCauses)?(0,r.jsxs)(r.Fragment,{children:[y.rejectCauses.emm&&(0,r.jsxs)("div",{className:"flex items-center space-x-2",children:[(0,r.jsx)(F.A,{className:"text-red-500 w-4 h-4"}),(0,r.jsxs)("span",{className:"text-sm",children:["EMM (",y.rejectCauses.emm.code,"):"," ",y.rejectCauses.emm.description]})]}),y.rejectCauses.esm&&(0,r.jsxs)("div",{className:"flex items-center space-x-2",children:[(0,r.jsx)(F.A,{className:"text-red-500 w-4 h-4"}),(0,r.jsxs)("span",{className:"text-sm",children:["ESM (",y.rejectCauses.esm.code,"):"," ",y.rejectCauses.esm.description]})]}),y.rejectCauses.nrmm&&(0,r.jsxs)("div",{className:"flex items-center space-x-2",children:[(0,r.jsx)(F.A,{className:"text-red-500 w-4 h-4"}),(0,r.jsxs)("span",{className:"text-sm",children:["NRMM (",y.rejectCauses.nrmm.code,"):"," ",y.rejectCauses.nrmm.description]})]})]}):(0,r.jsxs)("div",{className:"flex items-center space-x-2",children:[(0,r.jsx)(_.A,{className:"text-green-500"}),(0,r.jsx)("span",{children:"None"})]})})]})]})]}),b&&(0,r.jsxs)(z.Cf,{className:"max-w-xs md:max-w-lg",children:[(0,r.jsx)(z.c7,{children:(0,r.jsx)(z.L3,{children:"Running Diagnostics"})}),(0,r.jsx)("div",{className:"flex items-center justify-center my-4",children:(0,r.jsx)(q(),{color:"#6D28D9"})}),(0,r.jsx)(z.rr,{className:"text-center",children:"Please wait while we run diagnostics on your device."})]})]})]})]}),(0,r.jsxs)("div",{className:"grid lg:grid-cols-2 grid-cols-1 grid-flow-row gap-4",children:[(0,r.jsx)("div",{children:(0,r.jsx)(C,{})}),(0,r.jsxs)("div",{className:"grid gap-2 lg:grid-cols-2 grid-cols-1 grid-flow-row",children:[(0,r.jsx)(e$,{lteTimeAdvance:null==u?void 0:null===(e=u.timeAdvance)||void 0===e?void 0:e.lteTimeAdvance,nrTimeAdvance:null==u?void 0:null===(s=u.timeAdvance)||void 0===s?void 0:s.nrTimeAdvance,isLoading:x,networkType:null==u?void 0:null===(t=u.connection)||void 0===t?void 0:t.networkType}),(0,r.jsx)(T,{}),(0,r.jsx)(eq,{}),(0,r.jsx)(M,{})]})]}),(0,r.jsxs)("div",{className:"grid 2xl:grid-cols-4 lg:grid-cols-2 grid-cols-1 gap-4",children:[(0,r.jsx)(d,{data:u,isLoading:x,hideSensitiveData:c}),(0,r.jsx)(h,{data:u,isLoading:x,dataConnectionState:j,connectionStateLoading:N}),(0,r.jsx)(p,{data:u,isLoading:x,bytesSent:A,bytesReceived:I}),(0,r.jsx)(g,{data:u,isLoading:x})]})]}),(0,r.jsxs)("div",{className:"grid gap-4 w-full",children:[(0,r.jsx)("h1",{className:"xl:text-3xl text-base font-bold",children:"Active Addresses"}),(0,r.jsx)("div",{children:(0,r.jsx)(eH,{data:u,isLoading:x,isPublicIPLoading:v,hideSensitiveData:c})})]}),(0,r.jsxs)("div",{className:"grid gap-4 w-full",children:[(0,r.jsx)("h1",{className:"xl:text-3xl text-base font-bold",children:"Current Active Bands"}),(0,r.jsx)("div",{children:(0,r.jsx)(X,{bands:P,isLoading:x})})]})]})}},45934:(e,s,t)=>{"use strict";t.d(s,{E:()=>i});var r=t(20475);t(20107);var l=t(29395),n=t(22250);let a=(0,l.F)("inline-flex items-center rounded-md border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground shadow hover:bg-primary/80",secondary:"border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80",destructive:"border-transparent bg-destructive text-destructive-foreground shadow hover:bg-destructive/80",outline:"text-foreground"}},defaultVariants:{variant:"default"}});function i(e){let{className:s,variant:t,...l}=e;return(0,r.jsx)("div",{className:(0,n.cn)(a({variant:t}),s),...l})}},42541:(e,s,t)=>{"use strict";t.d(s,{$:()=>d,r:()=>o});var r=t(20475),l=t(20107),n=t(61837),a=t(29395),i=t(22250);let o=(0,a.F)("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{variants:{variant:{default:"bg-primary text-primary-foreground shadow hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90",outline:"border border-input bg-background shadow-sm hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2",sm:"h-8 rounded-md px-3 text-xs",lg:"h-10 rounded-md px-8",icon:"h-9 w-9"}},defaultVariants:{variant:"default",size:"default"}}),d=l.forwardRef((e,s)=>{let{className:t,variant:l,size:a,asChild:d=!1,...c}=e,m=d?n.DX:"button";return(0,r.jsx)(m,{className:(0,i.cn)(o({variant:l,size:a,className:t})),ref:s,...c})});d.displayName="Button"},72167:(e,s,t)=>{"use strict";t.d(s,{BT:()=>d,Wu:()=>c,ZB:()=>o,Zp:()=>a,aR:()=>i,wL:()=>m});var r=t(20475),l=t(20107),n=t(22250);let a=l.forwardRef((e,s)=>{let{className:t,...l}=e;return(0,r.jsx)("div",{ref:s,className:(0,n.cn)("rounded-xl border bg-card text-card-foreground shadow",t),...l})});a.displayName="Card";let i=l.forwardRef((e,s)=>{let{className:t,...l}=e;return(0,r.jsx)("div",{ref:s,className:(0,n.cn)("flex flex-col space-y-1.5 p-6",t),...l})});i.displayName="CardHeader";let o=l.forwardRef((e,s)=>{let{className:t,...l}=e;return(0,r.jsx)("h3",{ref:s,className:(0,n.cn)("font-semibold leading-none tracking-tight",t),...l})});o.displayName="CardTitle";let d=l.forwardRef((e,s)=>{let{className:t,...l}=e;return(0,r.jsx)("p",{ref:s,className:(0,n.cn)("text-sm text-muted-foreground",t),...l})});d.displayName="CardDescription";let c=l.forwardRef((e,s)=>{let{className:t,...l}=e;return(0,r.jsx)("div",{ref:s,className:(0,n.cn)("p-6 pt-0",t),...l})});c.displayName="CardContent";let m=l.forwardRef((e,s)=>{let{className:t,...l}=e;return(0,r.jsx)("div",{ref:s,className:(0,n.cn)("flex items-center p-6 pt-0",t),...l})});m.displayName="CardFooter"},1307:(e,s,t)=>{"use strict";t.d(s,{II:()=>h,Nt:()=>p,at:()=>u});var r=t(20475),l=t(20107),n=t(81155),a=t(58601),i=t(58736),o=t(22250);let d={light:"",dark:".dark"},c=l.createContext(null);function m(){let e=l.useContext(c);if(!e)throw Error("useChart must be used within a ");return e}let u=l.forwardRef((e,s)=>{let{id:t,className:a,children:i,config:d,...m}=e,u=l.useId(),h="chart-".concat(t||u.replace(/:/g,""));return(0,r.jsx)(c.Provider,{value:{config:d},children:(0,r.jsxs)("div",{"data-chart":h,ref:s,className:(0,o.cn)("flex aspect-video justify-center text-xs [&_.recharts-cartesian-axis-tick_text]:fill-muted-foreground [&_.recharts-cartesian-grid_line[stroke='#ccc']]:stroke-border/50 [&_.recharts-curve.recharts-tooltip-cursor]:stroke-border [&_.recharts-dot[stroke='#fff']]:stroke-transparent [&_.recharts-layer]:outline-none [&_.recharts-polar-grid_[stroke='#ccc']]:stroke-border [&_.recharts-radial-bar-background-sector]:fill-muted [&_.recharts-rectangle.recharts-tooltip-cursor]:fill-muted [&_.recharts-reference-line_[stroke='#ccc']]:stroke-border [&_.recharts-sector[stroke='#fff']]:stroke-transparent [&_.recharts-sector]:outline-none [&_.recharts-surface]:outline-none",a),...m,children:[(0,r.jsx)(x,{id:h,config:d}),(0,r.jsx)(n.u,{children:i})]})})});u.displayName="Chart";let x=e=>{let{id:s,config:t}=e,l=Object.entries(t).filter(e=>{let[s,t]=e;return t.theme||t.color});return l.length?(0,r.jsx)("style",{dangerouslySetInnerHTML:{__html:Object.entries(d).map(e=>{let[t,r]=e;return"\n".concat(r," [data-chart=").concat(s,"] {\n").concat(l.map(e=>{var s;let[r,l]=e,n=(null===(s=l.theme)||void 0===s?void 0:s[t])||l.color;return n?" --color-".concat(r,": ").concat(n,";"):null}).join("\n"),"\n}\n")}).join("\n")}}):null},h=a.m,p=l.forwardRef((e,s)=>{let{active:t,payload:n,className:a,indicator:i="dot",hideLabel:d=!1,hideIndicator:c=!1,label:u,labelFormatter:x,labelClassName:h,formatter:p,color:g,nameKey:v,labelKey:j}=e,{config:N}=m(),w=l.useMemo(()=>{var e;if(d||!(null==n?void 0:n.length))return null;let[s]=n,t="".concat(j||s.dataKey||s.name||"value"),l=f(N,s,t),a=j||"string"!=typeof u?null==l?void 0:l.label:(null===(e=N[u])||void 0===e?void 0:e.label)||u;return x?(0,r.jsx)("div",{className:(0,o.cn)("font-medium",h),children:x(a,n)}):a?(0,r.jsx)("div",{className:(0,o.cn)("font-medium",h),children:a}):null},[u,x,n,d,h,N,j]);if(!t||!(null==n?void 0:n.length))return null;let b=1===n.length&&"dot"!==i;return(0,r.jsxs)("div",{ref:s,className:(0,o.cn)("grid min-w-[8rem] items-start gap-1.5 rounded-lg border border-border/50 bg-background px-2.5 py-1.5 text-xs shadow-xl",a),children:[b?null:w,(0,r.jsx)("div",{className:"grid gap-1.5",children:n.map((e,s)=>{let t="".concat(v||e.name||e.dataKey||"value"),l=f(N,e,t),n=g||e.payload.fill||e.color;return(0,r.jsx)("div",{className:(0,o.cn)("flex w-full flex-wrap items-stretch gap-2 [&>svg]:h-2.5 [&>svg]:w-2.5 [&>svg]:text-muted-foreground","dot"===i&&"items-center"),children:p&&(null==e?void 0:e.value)!==void 0&&e.name?p(e.value,e.name,e,s,e.payload):(0,r.jsxs)(r.Fragment,{children:[(null==l?void 0:l.icon)?(0,r.jsx)(l.icon,{}):!c&&(0,r.jsx)("div",{className:(0,o.cn)("shrink-0 rounded-[2px] border-[--color-border] bg-[--color-bg]",{"h-2.5 w-2.5":"dot"===i,"w-1":"line"===i,"w-0 border-[1.5px] border-dashed bg-transparent":"dashed"===i,"my-0.5":b&&"dashed"===i}),style:{"--color-bg":n,"--color-border":n}}),(0,r.jsxs)("div",{className:(0,o.cn)("flex flex-1 justify-between leading-none",b?"items-end":"items-center"),children:[(0,r.jsxs)("div",{className:"grid gap-1.5",children:[b?w:null,(0,r.jsx)("span",{className:"text-muted-foreground",children:(null==l?void 0:l.label)||e.name})]}),e.value&&(0,r.jsx)("span",{className:"font-mono font-medium tabular-nums text-foreground",children:e.value.toLocaleString()})]})]})},e.dataKey)})})]})});function f(e,s,t){if("object"!=typeof s||null===s)return;let r="payload"in s&&"object"==typeof s.payload&&null!==s.payload?s.payload:void 0,l=t;return t in s&&"string"==typeof s[t]?l=s[t]:r&&t in r&&"string"==typeof r[t]&&(l=r[t]),l in e?e[l]:e[t]}p.displayName="ChartTooltip",i.s,l.forwardRef((e,s)=>{let{className:t,hideIcon:l=!1,payload:n,verticalAlign:a="bottom",nameKey:i}=e,{config:d}=m();return(null==n?void 0:n.length)?(0,r.jsx)("div",{ref:s,className:(0,o.cn)("flex items-center justify-center gap-4","top"===a?"pb-3":"pt-3",t),children:n.map(e=>{let s="".concat(i||e.dataKey||"value"),t=f(d,e,s);return(0,r.jsxs)("div",{className:(0,o.cn)("flex items-center gap-1.5 [&>svg]:h-3 [&>svg]:w-3 [&>svg]:text-muted-foreground"),children:[(null==t?void 0:t.icon)&&!l?(0,r.jsx)(t.icon,{}):(0,r.jsx)("div",{className:"h-2 w-2 shrink-0 rounded-[2px]",style:{backgroundColor:e.color}}),null==t?void 0:t.label]},e.value)})}):null}).displayName="ChartLegend"},93557:(e,s,t)=>{"use strict";t.d(s,{Cf:()=>x,Es:()=>p,HM:()=>m,L3:()=>f,c7:()=>h,lG:()=>o,rr:()=>g,zM:()=>d});var r=t(20475),l=t(20107),n=t(60241),a=t(7197),i=t(22250);let o=n.bL,d=n.l9,c=n.ZL,m=n.bm,u=l.forwardRef((e,s)=>{let{className:t,...l}=e;return(0,r.jsx)(n.hJ,{ref:s,className:(0,i.cn)("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",t),...l})});u.displayName=n.hJ.displayName;let x=l.forwardRef((e,s)=>{let{className:t,children:l,...o}=e;return(0,r.jsxs)(c,{children:[(0,r.jsx)(u,{}),(0,r.jsxs)(n.UC,{ref:s,className:(0,i.cn)("fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",t),...o,children:[l,(0,r.jsxs)(n.bm,{className:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground",children:[(0,r.jsx)(a.MKb,{className:"h-4 w-4"}),(0,r.jsx)("span",{className:"sr-only",children:"Close"})]})]})]})});x.displayName=n.UC.displayName;let h=e=>{let{className:s,...t}=e;return(0,r.jsx)("div",{className:(0,i.cn)("flex flex-col space-y-1.5 text-center sm:text-left",s),...t})};h.displayName="DialogHeader";let p=e=>{let{className:s,...t}=e;return(0,r.jsx)("div",{className:(0,i.cn)("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",s),...t})};p.displayName="DialogFooter";let f=l.forwardRef((e,s)=>{let{className:t,...l}=e;return(0,r.jsx)(n.hE,{ref:s,className:(0,i.cn)("text-lg font-semibold leading-none tracking-tight",t),...l})});f.displayName=n.hE.displayName;let g=l.forwardRef((e,s)=>{let{className:t,...l}=e;return(0,r.jsx)(n.VY,{ref:s,className:(0,i.cn)("text-sm text-muted-foreground",t),...l})});g.displayName=n.VY.displayName},36760:(e,s,t)=>{"use strict";t.d(s,{E:()=>n});var r=t(20475),l=t(22250);function n(e){let{className:s,...t}=e;return(0,r.jsx)("div",{className:(0,l.cn)("animate-pulse rounded-md bg-primary/10",s),...t})}},85014:(e,s,t)=>{"use strict";t.d(s,{TooltipProvider:()=>i,ZI:()=>c,k$:()=>d,m_:()=>o});var r=t(20475),l=t(20107),n=t(43048),a=t(22250);let i=n.Kq,o=n.bL,d=n.l9,c=l.forwardRef((e,s)=>{let{className:t,sideOffset:l=4,...i}=e;return(0,r.jsx)(n.UC,{ref:s,sideOffset:l,className:(0,a.cn)("z-50 overflow-hidden rounded-md bg-primary px-3 py-1.5 text-xs text-primary-foreground animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",t),...i})});c.displayName=n.UC.displayName},32857:(e,s,t)=>{"use strict";t.d(s,{dj:()=>u,oR:()=>m});var r=t(20107);let l=0,n=new Map,a=e=>{if(n.has(e))return;let s=setTimeout(()=>{n.delete(e),c({type:"REMOVE_TOAST",toastId:e})},1e6);n.set(e,s)},i=(e,s)=>{switch(s.type){case"ADD_TOAST":return{...e,toasts:[s.toast,...e.toasts].slice(0,1)};case"UPDATE_TOAST":return{...e,toasts:e.toasts.map(e=>e.id===s.toast.id?{...e,...s.toast}:e)};case"DISMISS_TOAST":{let{toastId:t}=s;return t?a(t):e.toasts.forEach(e=>{a(e.id)}),{...e,toasts:e.toasts.map(e=>e.id===t||void 0===t?{...e,open:!1}:e)}}case"REMOVE_TOAST":if(void 0===s.toastId)return{...e,toasts:[]};return{...e,toasts:e.toasts.filter(e=>e.id!==s.toastId)}}},o=[],d={toasts:[]};function c(e){d=i(d,e),o.forEach(e=>{e(d)})}function m(e){let{...s}=e,t=(l=(l+1)%Number.MAX_SAFE_INTEGER).toString(),r=()=>c({type:"DISMISS_TOAST",toastId:t});return c({type:"ADD_TOAST",toast:{...s,id:t,open:!0,onOpenChange:e=>{e||r()}}}),{id:t,dismiss:r,update:e=>c({type:"UPDATE_TOAST",toast:{...e,id:t}})}}function u(){let[e,s]=r.useState(d);return r.useEffect(()=>(o.push(s),()=>{let e=o.indexOf(s);e>-1&&o.splice(e,1)}),[e]),{...e,toast:m,dismiss:e=>c({type:"DISMISS_TOAST",toastId:e})}}},22250:(e,s,t)=>{"use strict";t.d(s,{cn:()=>n});var r=t(64901),l=t(868);function n(){for(var e=arguments.length,s=Array(e),t=0;t{"use strict";t.d(s,{QI:()=>a,U_:()=>r,ZK:()=>l,jq:()=>n});let r={6:"1.4 MHz",15:"3 MHz",25:"5 MHz",50:"10 MHz",75:"15 MHz",100:"20 MHz","-":"-"},l={0:"No cause",2:"IMSI unknown in HSS",3:"Illegal UE",5:"IMEI not accepted",6:"Illegal ME",7:"EPS services not allowed",8:"EPS services and non-EPS services not allowed",9:"UE identity cannot be derived by the network",10:"Implicitly detached",11:"PLMN not allowed",12:"Tracking Area not allowed",13:"Roaming not allowed in this tracking area",14:"EPS services not allowed in this PLMN",15:"No Suitable Cells in tracking area",16:"MSC temporarily not reachable",17:"Network failure",18:"CS domain not available",19:"ESM failure",20:"MAC failure",21:"Synch failure",22:"Congestion",23:"UE security capabilities mismatch",24:"Security mode rejected, unspecified",25:"Not authorized for this CSG",26:"Non-EPS authentication unacceptable",31:"Redirection to 5GCN required",35:"Requested service option not authorized in this PLMN",39:"CS service temporarily not available",40:"No EPS bearer context activated",42:"Severe network failure",95:"Semantically incorrect message",96:"Invalid mandatory information",97:"Message type non-existent or not implemented",98:"Message type not compatible with the protocol state",99:"Information element non-existent or not implemented",100:"Conditional IE error",101:"Message not compatible with the protocol state",111:"Protocol error, unspecified"},n={0:"No cause",8:"Operator Determined Barring",26:"Insufficient resources",27:"Missing or unknown APN",28:"Unknown PDN type",29:"User authentication failed",30:"Request rejected by Serving GW or PDN GW",31:"Request rejected, unspecified",32:"Service option not supported",33:"Requested service option not subscribed",34:"Service option temporarily out of order",35:"PTI already in use",36:"Regular deactivation",37:"EPS QoS not accepted",38:"Network failure",39:"Reactivation requested",41:"Semantic error in the TFT operation",42:"Syntactical error in the TFT operation",43:"Invalid EPS bearer identity",44:"Semantic errors in packet filter(s)",45:"Syntactical errors in packet filter(s)",46:"Unused (see NOTE 2)",47:"PTI mismatch",49:"Last PDN disconnection not allowed",50:"PDN type IPv4 only allowed",51:"PDN type IPv6 only allowed",52:"Single address bearers only allowed",53:"ESM information not received",54:"PDN connection does not exist",55:"Multiple PDN connections for a given APN not allowed",56:"Collision with network initiated request",57:"PDN type IPv4v6 only allowed",58:"PDN type non IP only allowed",59:"Unsupported QCI value",60:"Bearer handling not supported",61:"PDN type Ethernet only allowed",65:"Maximum number of EPS bearers reached",66:"Requested APN not supported in current RAT and PLMN combination",81:"Invalid PTI value",95:"Semantically incorrect message",96:"Invalid mandatory information",97:"Message type non-existent or not implemented",98:"Message type not compatible with the protocol state",99:"Information element non-existent or not implemented",100:"Conditional IE error",101:"Message not compatible with the protocol state",111:"Protocol error, unspecified",112:"APN restriction value incompatible with active EPS bearer context",113:"Multiple accesses to a PDN connection not allowed"},a={0:"No cause",3:"Illegal UE",5:"PEI not accepted",6:"Illegal ME",7:"5GS services not allowed",9:"UE identity cannot be derived by the network",10:"Implicitly de-registered",11:"PLMN not allowed",12:"Tracking area not allowed",13:"Roaming not allowed in this tracking area",15:"No suitable cells in tracking area",20:"MAC failure",21:"Synch failure",22:"Congestion",23:"UE security capabilities mismatch",24:"Security mode rejected, unspecified",26:"Non-5G authentication unacceptable",27:"N1 mode not allowed",28:"Restricted service area",31:"Redirection to EPC required",43:"LADN not available",62:"No network slices available",65:"Maximum number of PDU sessions reached",67:"Insufficient resources for specific slice and DNN",69:"Insufficient resources for specific slice",71:"ngKSI already in use",72:"Non-3GPP access to 5GCN not allowed",73:"Serving network not authorized",74:"Temporarily not authorized for this SNPN",75:"Permanently not authorized for this SNPN",76:"Not authorized for this CAG or authorized for CAG cells only",77:"Wireline access area not allowed",78:"PLMN not allowed to operate at the present UE location",79:"UAS services not allowed",90:"Payload was not forwarded",91:"DNN not supported or not subscribed in the slice",92:"Insufficient user-plane resources for the PDU session",95:"Semantically incorrect message",96:"Invalid mandatory information",97:"Message type non-existent or not implemented",98:"Message type not compatible with the protocol state",99:"Information element non-existent or not implemented",100:"Conditional IE error",101:"Message not compatible with the protocol state",111:"Protocol error, unspecified"}},88926:(e,s,t)=>{"use strict";t.d(s,{a:()=>r});let r=async function(e){let s=!(arguments.length>1)||void 0===arguments[1]||arguments[1],t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:30;try{var r;let l=e.trim().toUpperCase().startsWith("AT")?e.trim():"AT".concat(e.trim()),n=encodeURIComponent(l),a="/cgi-bin/quecmanager/at_cmd/at_queue_client.sh?command=".concat(n);s&&(a+="&wait=1&timeout=".concat(t));let i=await fetch(a,{method:"GET",headers:{Accept:"application/json",Authorization:"".concat(localStorage.getItem("authToken"))},signal:AbortSignal.timeout(1e3*t+5e3)});if(!i.ok)throw Error("AT command failed with status: ".concat(i.status));let o=await i.json();if(o.error)throw Error("AT queue error: ".concat(o.error));if(s&&(null===(r=o.response)||void 0===r?void 0:r.status)==="timeout")throw Error("AT command timed out after ".concat(t," seconds"));return o}catch(e){throw console.error("AT Command error:",e),e}}}},e=>{var s=s=>e(e.s=s);e.O(0,[9980,9649,7780,8885,3746,9464,3048,1074,3095,4020,191,6035,7358],()=>s(98722)),_N_E=e.O()}]); \ No newline at end of file diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/layout-7031c764ad5e7199.js b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/layout-7031c764ad5e7199.js new file mode 100644 index 0000000..b254b34 --- /dev/null +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/layout-7031c764ad5e7199.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1954],{2930:(e,t,a)=>{Promise.resolve().then(a.bind(a,63231))},63231:(e,t,a)=>{"use strict";a.r(t),a.d(t,{default:()=>O});var s=a(20475),r=a(9477),o=a.n(r),n=a(19546),i=a(20107),l=a(16118);let d=e=>{let{children:t}=e,a=(0,l.useRouter)(),{isAuthenticated:r,checkAuth:o}=(0,n.A)();return((0,i.useEffect)(()=>{o()||a.push("/login")},[]),r)?(0,s.jsx)(s.Fragment,{children:t}):null};var c=a(99015),u=a(26459),m=a(30058),f=a(44381),h=a(42541),x=a(88926),p=a(86118),g=a(97818),b=a(53538),y=a(76406),j=a(2609),v=a(92159),w=a(60241),N=a(7197),S=a(29395),T=a(22250);let A=w.bL,k=w.l9,C=w.bm,R=w.ZL,_=i.forwardRef((e,t)=>{let{className:a,...r}=e;return(0,s.jsx)(w.hJ,{className:(0,T.cn)("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",a),...r,ref:t})});_.displayName=w.hJ.displayName;let E=(0,S.F)("fixed z-50 gap-4 bg-background p-6 shadow-lg transition ease-in-out data-[state=closed]:duration-300 data-[state=open]:duration-500 data-[state=open]:animate-in data-[state=closed]:animate-out",{variants:{side:{top:"inset-x-0 top-0 border-b data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top",bottom:"inset-x-0 bottom-0 border-t data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom",left:"inset-y-0 left-0 h-full w-3/4 border-r data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left sm:max-w-sm",right:"inset-y-0 right-0 h-full w-3/4 border-l data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right sm:max-w-sm"}},defaultVariants:{side:"right"}}),I=i.forwardRef((e,t)=>{let{side:a="right",className:r,children:o,...n}=e;return(0,s.jsxs)(R,{children:[(0,s.jsx)(_,{}),(0,s.jsxs)(w.UC,{ref:t,className:(0,T.cn)(E({side:a}),r),...n,children:[(0,s.jsxs)(w.bm,{className:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-secondary",children:[(0,s.jsx)(N.MKb,{className:"h-4 w-4"}),(0,s.jsx)("span",{className:"sr-only",children:"Close"})]}),o]})]})});I.displayName=w.UC.displayName,i.forwardRef((e,t)=>{let{className:a,...r}=e;return(0,s.jsx)(w.hE,{ref:t,className:(0,T.cn)("text-lg font-semibold text-foreground",a),...r})}).displayName=w.hE.displayName,i.forwardRef((e,t)=>{let{className:a,...r}=e;return(0,s.jsx)(w.VY,{ref:t,className:(0,T.cn)("text-sm text-muted-foreground",a),...r})}).displayName=w.VY.displayName;var z=a(32857);let O=e=>{let{children:t}=e,a=(0,l.usePathname)(),{logout:r}=(0,n.A)(),{setTheme:w}=(0,v.D)(),[N,S]=(0,i.useState)(!1),[T,R]=(0,i.useState)(!1),[_,E]=(0,i.useState)(!1),[O,P]=(0,i.useState)(null),[D,L]=(0,i.useState)(!1),U=(0,z.dj)(),F="profile_picture_data",q="profile_picture_metadata",V=()=>{try{let e=localStorage.getItem(F);e&&(P(e),L(!0))}catch(e){console.error("Error loading cached image:",e)}},J=(e,t)=>{try{localStorage.setItem(F,e),localStorage.setItem(q,JSON.stringify(t))}catch(a){if(console.error("Error updating cache:",a),a instanceof Error&&"QuotaExceededError"===a.name){Z();try{localStorage.setItem(F,e),localStorage.setItem(q,JSON.stringify(t))}catch(e){console.error("Failed to cache image even after clearing:",e)}}}},Z=()=>{try{localStorage.removeItem(F),localStorage.removeItem(q)}catch(e){console.error("Error clearing cache:",e)}},M=()=>{try{let e=localStorage.getItem(q);return e?JSON.parse(e):null}catch(e){return console.error("Error getting cached metadata:",e),null}},Q=async()=>{try{var e;E(!0);let t=await fetch("/cgi-bin/quecmanager/settings/profile_picture.sh"),a=await t.json();if("success"===a.status&&(null===(e=a.data)||void 0===e?void 0:e.exists)){let e={size:a.data.size,modified:a.data.modified,type:a.data.type},t=M();t&&t.size===e.size&&t.modified===e.modified&&t.type===e.type?L(!0):a.data.data&&(P(a.data.data),L(!0),J(a.data.data,e))}else P(null),L(!1),Z()}catch(e){console.error("Error fetching profile picture:",e),localStorage.getItem(F)||(P(null),L(!1))}finally{E(!1)}};(0,i.useEffect)(()=>{V(),Q()},[]),(0,i.useEffect)(()=>{let e=()=>{V(),Q()};window.addEventListener("profilePictureUpdated",e),window.addEventListener("profilePictureDeleted",e);let t=e=>{(e.key===F||e.key===q)&&V()};return window.addEventListener("storage",t),()=>{window.removeEventListener("profilePictureUpdated",e),window.removeEventListener("profilePictureDeleted",e),window.removeEventListener("storage",t)}},[]);let B=async()=>{try{S(!0),await (0,x.a)("AT+QPOWD=1",!0,60),U.toast({title:"Rebooting device",description:"Please wait for the device to restart. This may take up to ".concat(90," seconds."),duration:9e4}),setTimeout(()=>{U.toast({title:"Device is now active",description:"The device has been rebooted successfully."})},9e4),setTimeout(()=>{window.location.reload()},92e3)}catch(e){console.error("Reboot error:",e),U.toast({title:"Failed to reboot device",description:"Please try again.",variant:"destructive"})}finally{S(!1)}},H=async()=>{try{S(!0),await fetch("/cgi-bin/quecmanager/settings/force-reboot.sh"),U.toast({title:"Rebooting device",description:"Please wait for the device to restart. This may take up to ".concat(90," seconds."),duration:9e4}),setTimeout(()=>{U.toast({title:"Device is now active",description:"The device has been rebooted successfully."})},9e4),setTimeout(()=>{window.location.reload()},92e3)}catch(e){console.error("Reboot error:",e),U.toast({title:"Failed to reboot device",description:"Please try again.",variant:"destructive"})}finally{S(!1)}},$=async()=>{try{R(!0),await (0,x.a)("AT+COPS=2",!0,30),U.toast({title:"Disconnected from network",description:"Reconnecting in 2 seconds..."}),await new Promise(e=>setTimeout(e,2e3)),await (0,x.a)("AT+COPS=0",!0,60),U.toast({title:"Reconnected to network",description:"The device has been reconnected successfully."}),await new Promise(e=>setTimeout(e,3e3)),window.location.reload()}catch(e){console.error("Reconnect error:",e),U.toast({title:"Failed to reconnect to network",description:"Please try again.",variant:"destructive"})}finally{R(!1)}};return(0,s.jsxs)("div",{className:"flex min-h-screen w-full flex-col",children:[(0,s.jsxs)("header",{className:"sticky top-0 flex h-16 items-center gap-4 border-b bg-background px-4 md:px-6",children:[(0,s.jsxs)("nav",{className:"hidden flex-col gap-6 text-lg font-medium lg:flex lg:flex-row lg:items-center lg:gap-5 lg:text-base xl:gap-6",children:[(0,s.jsxs)(o(),{href:"/dashboard/home/",className:"flex items-center gap-2 text-lg font-semibold md:text-xl md:mr-8",children:[(0,s.jsx)(c.A,{className:"h-6 w-6"}),(0,s.jsx)("h1",{children:"QuecManager"})]}),(0,s.jsx)(o(),{href:"/dashboard/home/",className:"".concat("/dashboard/home/"===a?"text-foreground":"text-muted-foreground"," transition-colors hover:text-foreground"),children:"Home"}),(0,s.jsx)(o(),{href:"/dashboard/cell-settings/basic-settings/",className:"".concat(a.includes("/dashboard/cell-settings/")?"text-foreground":"text-muted-foreground"," transition-colors hover:text-foreground"),children:"Cellular"}),(0,s.jsx)(o(),{href:"/dashboard/advanced-settings/connectivity",className:"".concat(a.includes("/dashboard/advanced-settings")?"text-foreground":"text-muted-foreground"," transition-colors hover:text-foreground"),children:"Advance"}),(0,s.jsx)(o(),{href:"/dashboard/custom-features/quecwatch",className:"".concat(a.includes("/dashboard/custom-features/")?"text-foreground":"text-muted-foreground"," transition-colors hover:text-foreground whitespace-nowrap"),children:"Custom Features"}),(0,s.jsx)(o(),{href:"/dashboard/experimental/network-insights",className:"".concat(a.includes("/dashboard/experimental/")?"text-foreground":"text-muted-foreground"," transition-colors hover:text-foreground"),children:"Experimental"})]}),(0,s.jsxs)(A,{children:[(0,s.jsx)(k,{asChild:!0,children:(0,s.jsxs)(h.$,{variant:"outline",size:"icon",className:"shrink-0 lg:hidden",children:[(0,s.jsx)(u.A,{className:"h-5 w-5"}),(0,s.jsx)("span",{className:"sr-only",children:"Toggle navigation menu"})]})}),(0,s.jsx)(I,{side:"left",children:(0,s.jsxs)("nav",{className:"grid gap-6 text-lg font-medium",children:[(0,s.jsx)(C,{asChild:!0,children:(0,s.jsxs)(o(),{href:"/dashboard/home/",className:"flex items-center gap-2 text-lg font-semibold",children:[(0,s.jsx)(c.A,{className:"h-6 w-6"}),(0,s.jsx)("span",{children:"QuecManager"})]})}),(0,s.jsx)(C,{asChild:!0,children:(0,s.jsx)(o(),{href:"/dashboard/home/",className:"".concat("/dashboard/home/"===a?"text-foreground":"text-muted-foreground"," transition-colors hover:text-foreground"),children:"Home"})}),(0,s.jsx)(C,{asChild:!0,children:(0,s.jsx)(o(),{href:"/dashboard/cell-settings/basic-settings/",className:"".concat(a.includes("/dashboard/cell-settings")?"text-foreground":"text-muted-foreground"," transition-colors hover:text-foreground"),children:"Cellular"})}),(0,s.jsx)(C,{asChild:!0,children:(0,s.jsx)(o(),{href:"/dashboard/advanced-settings/connectivity",className:"".concat(a.includes("/dashboard/advanced-settings")?"text-foreground":"text-muted-foreground"," transition-colors hover:text-foreground"),children:"Advance"})}),(0,s.jsx)(C,{asChild:!0,children:(0,s.jsx)(o(),{href:"/dashboard/custom-features/",className:"".concat("/dashboard/custom-features/"===a?"text-foreground":"text-muted-foreground"," transition-colors hover:text-foreground"),children:"Custom Features"})}),(0,s.jsx)(C,{asChild:!0,children:(0,s.jsx)(o(),{href:"/dashboard/experimental/",className:"".concat("/dashboard/experimental/"===a?"text-foreground":"text-muted-foreground"," transition-colors hover:text-foreground"),children:"Experimental"})}),(0,s.jsx)(C,{asChild:!0,children:(0,s.jsx)(o(),{href:"/dashboard/settings/personalization",className:"".concat(a.includes("/dashboard/settings")?"text-foreground":"text-muted-foreground"," transition-colors hover:text-foreground"),children:"Settings"})})]})})]}),(0,s.jsxs)("div",{className:"flex w-full items-center gap-4 md:ml-auto md:gap-2 lg:gap-4",children:[(0,s.jsx)("form",{className:"ml-auto flex-1 sm:flex-initial",children:(0,s.jsxs)(p.rI,{children:[(0,s.jsx)(p.ty,{asChild:!0,children:(0,s.jsxs)(h.$,{variant:"outline",size:"icon",children:[(0,s.jsx)(y.A,{className:"h-[1.2rem] w-[1.2rem] rotate-0 scale-100 transition-all dark:-rotate-90 dark:scale-0"}),(0,s.jsx)(j.A,{className:"absolute h-[1.2rem] w-[1.2rem] rotate-90 scale-0 transition-all dark:rotate-0 dark:scale-100"}),(0,s.jsx)("span",{className:"sr-only",children:"Toggle theme"})]})}),(0,s.jsxs)(p.SQ,{align:"end",children:[(0,s.jsx)(p._2,{onClick:()=>w("light"),children:"Light"}),(0,s.jsx)(p._2,{onClick:()=>w("dark"),children:"Dark"}),(0,s.jsx)(p._2,{onClick:()=>w("system"),children:"System"})]})]})}),(0,s.jsxs)(p.rI,{children:[(0,s.jsx)(p.ty,{asChild:!0,children:(0,s.jsxs)(h.$,{variant:"secondary",size:"icon",className:"rounded-full",children:[O?(0,s.jsxs)(b.eu,{children:[(0,s.jsx)(b.BK,{src:O,alt:"Profile Picture"}),(0,s.jsx)(b.q5,{children:(0,s.jsx)(m.A,{className:"h-5 w-5"})})]}):(0,s.jsx)(m.A,{className:"h-5 w-5"}),(0,s.jsx)("span",{className:"sr-only",children:"Toggle user menu"})]})}),(0,s.jsxs)(p.SQ,{align:"end",children:[(0,s.jsx)(p.lp,{children:"Options"}),(0,s.jsx)(p.mB,{}),(0,s.jsx)(p._2,{asChild:!0,children:(0,s.jsx)(o(),{href:"/dashboard/settings/personalization",children:"Settings"})}),(0,s.jsx)(p._2,{asChild:!0,children:(0,s.jsx)("a",{href:"/cgi-bin/luci",target:"_blank",rel:"noreferrer noopener",children:"Luci"})}),(0,s.jsx)(p._2,{asChild:!0,children:(0,s.jsx)("a",{href:"https://github.com/iamromulan/cellular-modem-wiki/discussions/new/choose",target:"_blank",children:"Support"})}),(0,s.jsx)(p._2,{asChild:!0,children:(0,s.jsx)(o(),{href:"/dashboard/about",children:"About"})}),(0,s.jsx)(p.mB,{}),(0,s.jsx)(p._2,{onClick:$,children:T?"Reconnecting...":"Reconnect"}),(0,s.jsx)(p._2,{asChild:!0,children:(0,s.jsxs)(g.Lt,{children:[(0,s.jsx)(g.tv,{asChild:!0,children:(0,s.jsx)("button",{className:"relative flex w-full cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none transition-colors hover:bg-accent hover:text-accent-foreground",children:"Reboot"})}),(0,s.jsxs)(g.EO,{children:[(0,s.jsxs)(g.wd,{children:[(0,s.jsx)(g.r7,{children:"Are you sure?"}),(0,s.jsx)(g.$v,{children:"This will reboot your device. The connection will be lost temporarily. Please wait for the page to reload."})]}),(0,s.jsxs)(g.ck,{children:[(0,s.jsx)(g.Zr,{children:"Cancel"}),(0,s.jsxs)(g.Rx,{onClick:B,disabled:N,children:[(0,s.jsx)(f.A,{className:"size-4"}),"Reboot Now"]})]})]})]})}),(0,s.jsx)(p._2,{asChild:!0,children:(0,s.jsxs)(g.Lt,{children:[(0,s.jsx)(g.tv,{asChild:!0,children:(0,s.jsx)("button",{className:"relative flex w-full cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none transition-colors hover:bg-accent hover:text-accent-foreground",children:"Force Reboot"})}),(0,s.jsxs)(g.EO,{children:[(0,s.jsxs)(g.wd,{children:[(0,s.jsx)(g.r7,{children:"Are you sure?"}),(0,s.jsx)(g.$v,{children:"This will force reboot your device. The connection will be lost temporarily. Please wait for the page to reload."})]}),(0,s.jsxs)(g.ck,{children:[(0,s.jsx)(g.Zr,{children:"Cancel"}),(0,s.jsxs)(g.Rx,{onClick:H,disabled:N,children:[(0,s.jsx)(f.A,{className:"size-4"}),"Force Reboot Now"]})]})]})]})}),(0,s.jsx)(p.mB,{}),(0,s.jsx)(p._2,{onClick:r,children:"Logout"})]})]})]})]}),(0,s.jsx)("main",{className:"flex min-h-[calc(100vh_-_theme(spacing.16))] flex-1 flex-col gap-4 bg-muted/40 p-4 md:gap-8 md:p-10",children:(0,s.jsx)(d,{children:t})})]})}},97818:(e,t,a)=>{"use strict";a.d(t,{$v:()=>p,EO:()=>m,Lt:()=>l,Rx:()=>g,Zr:()=>b,ck:()=>h,r7:()=>x,tv:()=>d,wd:()=>f});var s=a(20475),r=a(20107),o=a(50564),n=a(22250),i=a(42541);let l=o.bL,d=o.l9,c=o.ZL,u=r.forwardRef((e,t)=>{let{className:a,...r}=e;return(0,s.jsx)(o.hJ,{className:(0,n.cn)("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",a),...r,ref:t})});u.displayName=o.hJ.displayName;let m=r.forwardRef((e,t)=>{let{className:a,...r}=e;return(0,s.jsxs)(c,{children:[(0,s.jsx)(u,{}),(0,s.jsx)(o.UC,{ref:t,className:(0,n.cn)("fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",a),...r})]})});m.displayName=o.UC.displayName;let f=e=>{let{className:t,...a}=e;return(0,s.jsx)("div",{className:(0,n.cn)("flex flex-col space-y-2 text-center sm:text-left",t),...a})};f.displayName="AlertDialogHeader";let h=e=>{let{className:t,...a}=e;return(0,s.jsx)("div",{className:(0,n.cn)("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",t),...a})};h.displayName="AlertDialogFooter";let x=r.forwardRef((e,t)=>{let{className:a,...r}=e;return(0,s.jsx)(o.hE,{ref:t,className:(0,n.cn)("text-lg font-semibold",a),...r})});x.displayName=o.hE.displayName;let p=r.forwardRef((e,t)=>{let{className:a,...r}=e;return(0,s.jsx)(o.VY,{ref:t,className:(0,n.cn)("text-sm text-muted-foreground",a),...r})});p.displayName=o.VY.displayName;let g=r.forwardRef((e,t)=>{let{className:a,...r}=e;return(0,s.jsx)(o.rc,{ref:t,className:(0,n.cn)((0,i.r)(),a),...r})});g.displayName=o.rc.displayName;let b=r.forwardRef((e,t)=>{let{className:a,...r}=e;return(0,s.jsx)(o.ZD,{ref:t,className:(0,n.cn)((0,i.r)({variant:"outline"}),"mt-2 sm:mt-0",a),...r})});b.displayName=o.ZD.displayName},53538:(e,t,a)=>{"use strict";a.d(t,{BK:()=>l,eu:()=>i,q5:()=>d});var s=a(20475),r=a(20107),o=a(88601),n=a(22250);let i=r.forwardRef((e,t)=>{let{className:a,...r}=e;return(0,s.jsx)(o.bL,{ref:t,className:(0,n.cn)("relative flex h-10 w-10 shrink-0 overflow-hidden rounded-full",a),...r})});i.displayName=o.bL.displayName;let l=r.forwardRef((e,t)=>{let{className:a,...r}=e;return(0,s.jsx)(o._V,{ref:t,className:(0,n.cn)("aspect-square h-full w-full",a),...r})});l.displayName=o._V.displayName;let d=r.forwardRef((e,t)=>{let{className:a,...r}=e;return(0,s.jsx)(o.H4,{ref:t,className:(0,n.cn)("flex h-full w-full items-center justify-center rounded-full bg-muted",a),...r})});d.displayName=o.H4.displayName},42541:(e,t,a)=>{"use strict";a.d(t,{$:()=>d,r:()=>l});var s=a(20475),r=a(20107),o=a(61837),n=a(29395),i=a(22250);let l=(0,n.F)("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{variants:{variant:{default:"bg-primary text-primary-foreground shadow hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90",outline:"border border-input bg-background shadow-sm hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2",sm:"h-8 rounded-md px-3 text-xs",lg:"h-10 rounded-md px-8",icon:"h-9 w-9"}},defaultVariants:{variant:"default",size:"default"}}),d=r.forwardRef((e,t)=>{let{className:a,variant:r,size:n,asChild:d=!1,...c}=e,u=d?o.DX:"button";return(0,s.jsx)(u,{className:(0,i.cn)(l({variant:r,size:n,className:a})),ref:t,...c})});d.displayName="Button"},86118:(e,t,a)=>{"use strict";a.d(t,{SQ:()=>c,_2:()=>u,lp:()=>m,mB:()=>f,rI:()=>l,ty:()=>d});var s=a(20475),r=a(20107),o=a(77536),n=a(7197),i=a(22250);let l=o.bL,d=o.l9;o.YJ,o.ZL,o.Pb,o.z6,r.forwardRef((e,t)=>{let{className:a,inset:r,children:l,...d}=e;return(0,s.jsxs)(o.ZP,{ref:t,className:(0,i.cn)("flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent data-[state=open]:bg-accent",r&&"pl-8",a),...d,children:[l,(0,s.jsx)(n.vKP,{className:"ml-auto h-4 w-4"})]})}).displayName=o.ZP.displayName,r.forwardRef((e,t)=>{let{className:a,...r}=e;return(0,s.jsx)(o.G5,{ref:t,className:(0,i.cn)("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",a),...r})}).displayName=o.G5.displayName;let c=r.forwardRef((e,t)=>{let{className:a,sideOffset:r=4,...n}=e;return(0,s.jsx)(o.ZL,{children:(0,s.jsx)(o.UC,{ref:t,sideOffset:r,className:(0,i.cn)("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md","data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",a),...n})})});c.displayName=o.UC.displayName;let u=r.forwardRef((e,t)=>{let{className:a,inset:r,...n}=e;return(0,s.jsx)(o.q7,{ref:t,className:(0,i.cn)("relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",r&&"pl-8",a),...n})});u.displayName=o.q7.displayName,r.forwardRef((e,t)=>{let{className:a,children:r,checked:l,...d}=e;return(0,s.jsxs)(o.H_,{ref:t,className:(0,i.cn)("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",a),checked:l,...d,children:[(0,s.jsx)("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:(0,s.jsx)(o.VF,{children:(0,s.jsx)(n.Srz,{className:"h-4 w-4"})})}),r]})}).displayName=o.H_.displayName,r.forwardRef((e,t)=>{let{className:a,children:r,...l}=e;return(0,s.jsxs)(o.hN,{ref:t,className:(0,i.cn)("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",a),...l,children:[(0,s.jsx)("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:(0,s.jsx)(o.VF,{children:(0,s.jsx)(n.RiX,{className:"h-4 w-4 fill-current"})})}),r]})}).displayName=o.hN.displayName;let m=r.forwardRef((e,t)=>{let{className:a,inset:r,...n}=e;return(0,s.jsx)(o.JU,{ref:t,className:(0,i.cn)("px-2 py-1.5 text-sm font-semibold",r&&"pl-8",a),...n})});m.displayName=o.JU.displayName;let f=r.forwardRef((e,t)=>{let{className:a,...r}=e;return(0,s.jsx)(o.wv,{ref:t,className:(0,i.cn)("-mx-1 my-1 h-px bg-muted",a),...r})});f.displayName=o.wv.displayName},19546:(e,t,a)=>{"use strict";a.d(t,{A:()=>o});var s=a(20107),r=a(16118);function o(){let[e,t]=(0,s.useState)(!1),a=(0,r.useRouter)();function o(e){let t={token:e,lastActivity:Date.now(),expiresAt:Date.now()+18e5};localStorage.setItem("session",JSON.stringify(t))}async function n(){localStorage.removeItem("session"),t(!1),fetch("/cgi-bin/quecmanager/logout.sh",{method:"POST",headers:{"Content-Type":"application/json",Authorization:"".concat(localStorage.getItem("authToken"))}}),localStorage.removeItem("authToken"),a.push("/")}function i(){let e=function(){let e=function(){let e=localStorage.getItem("session");if(!e)return null;try{return JSON.parse(e)}catch(e){return null}}();if(!e)return!1;let t=Date.now();return t>e.expiresAt?(n(),!1):(t-e.lastActivity>3e5&&o(e.token),!0)}();return t(e),e}return(0,s.useEffect)(()=>{i()},[]),{isAuthenticated:e,login:async function(e){let s=encodeURIComponent(e);try{let e=await fetch("/cgi-bin/quecmanager/auth.sh",{method:"POST",headers:{"Content-Type":"application/json"},body:"password=".concat(s)}),r=await e.json();if(console.log(r),"success"!==r.state)return!1;{(null==r?void 0:r.token)&&localStorage.setItem("authToken",r.token);let e=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:32,t="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789";return Array.from(crypto.getRandomValues(new Uint8Array(e))).map(e=>t[e%t.length]).join("")}();return o(e),t(!0),a.push("/dashboard/home"),!0}}catch(e){return console.error("Login error:",e),!1}},logout:n,checkAuth:i}}},32857:(e,t,a)=>{"use strict";a.d(t,{dj:()=>m,oR:()=>u});var s=a(20107);let r=0,o=new Map,n=e=>{if(o.has(e))return;let t=setTimeout(()=>{o.delete(e),c({type:"REMOVE_TOAST",toastId:e})},1e6);o.set(e,t)},i=(e,t)=>{switch(t.type){case"ADD_TOAST":return{...e,toasts:[t.toast,...e.toasts].slice(0,1)};case"UPDATE_TOAST":return{...e,toasts:e.toasts.map(e=>e.id===t.toast.id?{...e,...t.toast}:e)};case"DISMISS_TOAST":{let{toastId:a}=t;return a?n(a):e.toasts.forEach(e=>{n(e.id)}),{...e,toasts:e.toasts.map(e=>e.id===a||void 0===a?{...e,open:!1}:e)}}case"REMOVE_TOAST":if(void 0===t.toastId)return{...e,toasts:[]};return{...e,toasts:e.toasts.filter(e=>e.id!==t.toastId)}}},l=[],d={toasts:[]};function c(e){d=i(d,e),l.forEach(e=>{e(d)})}function u(e){let{...t}=e,a=(r=(r+1)%Number.MAX_SAFE_INTEGER).toString(),s=()=>c({type:"DISMISS_TOAST",toastId:a});return c({type:"ADD_TOAST",toast:{...t,id:a,open:!0,onOpenChange:e=>{e||s()}}}),{id:a,dismiss:s,update:e=>c({type:"UPDATE_TOAST",toast:{...e,id:a}})}}function m(){let[e,t]=s.useState(d);return s.useEffect(()=>(l.push(t),()=>{let e=l.indexOf(t);e>-1&&l.splice(e,1)}),[e]),{...e,toast:u,dismiss:e=>c({type:"DISMISS_TOAST",toastId:e})}}},22250:(e,t,a)=>{"use strict";a.d(t,{cn:()=>o});var s=a(64901),r=a(868);function o(){for(var e=arguments.length,t=Array(e),a=0;a{"use strict";a.d(t,{a:()=>s});let s=async function(e){let t=!(arguments.length>1)||void 0===arguments[1]||arguments[1],a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:30;try{var s;let r=e.trim().toUpperCase().startsWith("AT")?e.trim():"AT".concat(e.trim()),o=encodeURIComponent(r),n="/cgi-bin/quecmanager/at_cmd/at_queue_client.sh?command=".concat(o);t&&(n+="&wait=1&timeout=".concat(a));let i=await fetch(n,{method:"GET",headers:{Accept:"application/json",Authorization:"".concat(localStorage.getItem("authToken"))},signal:AbortSignal.timeout(1e3*a+5e3)});if(!i.ok)throw Error("AT command failed with status: ".concat(i.status));let l=await i.json();if(l.error)throw Error("AT queue error: ".concat(l.error));if(t&&(null===(s=l.response)||void 0===s?void 0:s.status)==="timeout")throw Error("AT command timed out after ".concat(a," seconds"));return l}catch(e){throw console.error("AT Command error:",e),e}}}},e=>{var t=t=>e(e.s=t);e.O(0,[9980,7780,8885,3746,9464,9477,564,2682,9873,6223,191,6035,7358],()=>t(2930)),_N_E=e.O()}]); \ No newline at end of file diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/layout-e1e7681e45955939.js b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/layout-e1e7681e45955939.js deleted file mode 100644 index e6bc048..0000000 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/layout-e1e7681e45955939.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1954],{2930:(e,t,a)=>{Promise.resolve().then(a.bind(a,63231))},63231:(e,t,a)=>{"use strict";a.r(t),a.d(t,{default:()=>P});var s=a(20475),r=a(9477),o=a.n(r),n=a(19546),i=a(20107),l=a(16118);let d=e=>{let{children:t}=e,a=(0,l.useRouter)(),{isAuthenticated:r,checkAuth:o}=(0,n.A)();return((0,i.useEffect)(()=>{o()||a.push("/login")},[]),r)?(0,s.jsx)(s.Fragment,{children:t}):null};var c=a(99015),u=a(26459),m=a(30058),f=a(44381),h=a(42541),x=a(46052),p=a(88926),g=a(86118),b=a(97818),y=a(53538),v=a(76406),j=a(2609),w=a(92159),N=a(60241),S=a(7197),T=a(29395),A=a(22250);let k=N.bL,C=N.l9,E=N.bm,R=N.ZL,_=i.forwardRef((e,t)=>{let{className:a,...r}=e;return(0,s.jsx)(N.hJ,{className:(0,A.cn)("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",a),...r,ref:t})});_.displayName=N.hJ.displayName;let I=(0,T.F)("fixed z-50 gap-4 bg-background p-6 shadow-lg transition ease-in-out data-[state=closed]:duration-300 data-[state=open]:duration-500 data-[state=open]:animate-in data-[state=closed]:animate-out",{variants:{side:{top:"inset-x-0 top-0 border-b data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top",bottom:"inset-x-0 bottom-0 border-t data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom",left:"inset-y-0 left-0 h-full w-3/4 border-r data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left sm:max-w-sm",right:"inset-y-0 right-0 h-full w-3/4 border-l data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right sm:max-w-sm"}},defaultVariants:{side:"right"}}),z=i.forwardRef((e,t)=>{let{side:a="right",className:r,children:o,...n}=e;return(0,s.jsxs)(R,{children:[(0,s.jsx)(_,{}),(0,s.jsxs)(N.UC,{ref:t,className:(0,A.cn)(I({side:a}),r),...n,children:[(0,s.jsxs)(N.bm,{className:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-secondary",children:[(0,s.jsx)(S.MKb,{className:"h-4 w-4"}),(0,s.jsx)("span",{className:"sr-only",children:"Close"})]}),o]})]})});z.displayName=N.UC.displayName,i.forwardRef((e,t)=>{let{className:a,...r}=e;return(0,s.jsx)(N.hE,{ref:t,className:(0,A.cn)("text-lg font-semibold text-foreground",a),...r})}).displayName=N.hE.displayName,i.forwardRef((e,t)=>{let{className:a,...r}=e;return(0,s.jsx)(N.VY,{ref:t,className:(0,A.cn)("text-sm text-muted-foreground",a),...r})}).displayName=N.VY.displayName;var O=a(32857);let P=e=>{let{children:t}=e,a=(0,l.usePathname)(),{logout:r}=(0,n.A)(),{setTheme:N}=(0,w.D)(),[S,T]=(0,i.useState)(!1),[A,R]=(0,i.useState)(!1),[_,I]=(0,i.useState)(!1),[P,D]=(0,i.useState)(null),[L,U]=(0,i.useState)(!1),F=(0,O.dj)(),q="profile_picture_data",V="profile_picture_metadata",J=()=>{try{let e=localStorage.getItem(q);e&&(D(e),U(!0))}catch(e){console.error("Error loading cached image:",e)}},Z=(e,t)=>{try{localStorage.setItem(q,e),localStorage.setItem(V,JSON.stringify(t))}catch(a){if(console.error("Error updating cache:",a),a instanceof Error&&"QuotaExceededError"===a.name){M();try{localStorage.setItem(q,e),localStorage.setItem(V,JSON.stringify(t))}catch(e){console.error("Failed to cache image even after clearing:",e)}}}},M=()=>{try{localStorage.removeItem(q),localStorage.removeItem(V)}catch(e){console.error("Error clearing cache:",e)}},Q=()=>{try{let e=localStorage.getItem(V);return e?JSON.parse(e):null}catch(e){return console.error("Error getting cached metadata:",e),null}},B=async()=>{try{var e;I(!0);let t=await fetch("/cgi-bin/quecmanager/settings/profile_picture.sh"),a=await t.json();if("success"===a.status&&(null===(e=a.data)||void 0===e?void 0:e.exists)){let e={size:a.data.size,modified:a.data.modified,type:a.data.type},t=Q();t&&t.size===e.size&&t.modified===e.modified&&t.type===e.type?U(!0):a.data.data&&(D(a.data.data),U(!0),Z(a.data.data,e))}else D(null),U(!1),M()}catch(e){console.error("Error fetching profile picture:",e),localStorage.getItem(q)||(D(null),U(!1))}finally{I(!1)}};(0,i.useEffect)(()=>{J(),B()},[]),(0,i.useEffect)(()=>{let e=()=>{J(),B()};window.addEventListener("profilePictureUpdated",e),window.addEventListener("profilePictureDeleted",e);let t=e=>{(e.key===q||e.key===V)&&J()};return window.addEventListener("storage",t),()=>{window.removeEventListener("profilePictureUpdated",e),window.removeEventListener("profilePictureDeleted",e),window.removeEventListener("storage",t)}},[]);let{isServerAlive:H}=(0,x.A)();(0,i.useEffect)(()=>{H||r()},[H,r]);let $=async()=>{try{T(!0),await (0,p.a)("AT+QPOWD=1",!0,60),F.toast({title:"Rebooting device",description:"Please wait for the device to restart. This may take up to ".concat(90," seconds."),duration:9e4}),setTimeout(()=>{F.toast({title:"Device is now active",description:"The device has been rebooted successfully."})},9e4),setTimeout(()=>{window.location.reload()},92e3)}catch(e){console.error("Reboot error:",e),F.toast({title:"Failed to reboot device",description:"Please try again.",variant:"destructive"})}finally{T(!1)}},G=async()=>{try{T(!0),await fetch("/cgi-bin/quecmanager/settings/force-reboot.sh"),F.toast({title:"Rebooting device",description:"Please wait for the device to restart. This may take up to ".concat(90," seconds."),duration:9e4}),setTimeout(()=>{F.toast({title:"Device is now active",description:"The device has been rebooted successfully."})},9e4),setTimeout(()=>{window.location.reload()},92e3)}catch(e){console.error("Reboot error:",e),F.toast({title:"Failed to reboot device",description:"Please try again.",variant:"destructive"})}finally{T(!1)}},Y=async()=>{try{R(!0),await (0,p.a)("AT+COPS=2",!0,30),F.toast({title:"Disconnected from network",description:"Reconnecting in 2 seconds..."}),await new Promise(e=>setTimeout(e,2e3)),await (0,p.a)("AT+COPS=0",!0,60),F.toast({title:"Reconnected to network",description:"The device has been reconnected successfully."}),await new Promise(e=>setTimeout(e,3e3)),window.location.reload()}catch(e){console.error("Reconnect error:",e),F.toast({title:"Failed to reconnect to network",description:"Please try again.",variant:"destructive"})}finally{R(!1)}};return(0,s.jsxs)("div",{className:"flex min-h-screen w-full flex-col",children:[(0,s.jsxs)("header",{className:"sticky top-0 flex h-16 items-center gap-4 border-b bg-background px-4 md:px-6",children:[(0,s.jsxs)("nav",{className:"hidden flex-col gap-6 text-lg font-medium lg:flex lg:flex-row lg:items-center lg:gap-5 lg:text-base xl:gap-6",children:[(0,s.jsxs)(o(),{href:"/dashboard/home/",className:"flex items-center gap-2 text-lg font-semibold md:text-xl md:mr-8",children:[(0,s.jsx)(c.A,{className:"h-6 w-6"}),(0,s.jsx)("h1",{children:"QuecManager"})]}),(0,s.jsx)(o(),{href:"/dashboard/home/",className:"".concat("/dashboard/home/"===a?"text-foreground":"text-muted-foreground"," transition-colors hover:text-foreground"),children:"Home"}),(0,s.jsx)(o(),{href:"/dashboard/cell-settings/basic-settings/",className:"".concat(a.includes("/dashboard/cell-settings/")?"text-foreground":"text-muted-foreground"," transition-colors hover:text-foreground"),children:"Cellular"}),(0,s.jsx)(o(),{href:"/dashboard/advanced-settings/connectivity",className:"".concat(a.includes("/dashboard/advanced-settings")?"text-foreground":"text-muted-foreground"," transition-colors hover:text-foreground"),children:"Advance"}),(0,s.jsx)(o(),{href:"/dashboard/custom-features/quecwatch",className:"".concat(a.includes("/dashboard/custom-features/")?"text-foreground":"text-muted-foreground"," transition-colors hover:text-foreground whitespace-nowrap"),children:"Custom Features"}),(0,s.jsx)(o(),{href:"/dashboard/experimental/network-insights",className:"".concat(a.includes("/dashboard/experimental/")?"text-foreground":"text-muted-foreground"," transition-colors hover:text-foreground"),children:"Experimental"})]}),(0,s.jsxs)(k,{children:[(0,s.jsx)(C,{asChild:!0,children:(0,s.jsxs)(h.$,{variant:"outline",size:"icon",className:"shrink-0 lg:hidden",children:[(0,s.jsx)(u.A,{className:"h-5 w-5"}),(0,s.jsx)("span",{className:"sr-only",children:"Toggle navigation menu"})]})}),(0,s.jsx)(z,{side:"left",children:(0,s.jsxs)("nav",{className:"grid gap-6 text-lg font-medium",children:[(0,s.jsx)(E,{asChild:!0,children:(0,s.jsxs)(o(),{href:"/dashboard/home/",className:"flex items-center gap-2 text-lg font-semibold",children:[(0,s.jsx)(c.A,{className:"h-6 w-6"}),(0,s.jsx)("span",{children:"QuecManager"})]})}),(0,s.jsx)(E,{asChild:!0,children:(0,s.jsx)(o(),{href:"/dashboard/home/",className:"".concat("/dashboard/home/"===a?"text-foreground":"text-muted-foreground"," transition-colors hover:text-foreground"),children:"Home"})}),(0,s.jsx)(E,{asChild:!0,children:(0,s.jsx)(o(),{href:"/dashboard/cell-settings/basic-settings/",className:"".concat(a.includes("/dashboard/cell-settings")?"text-foreground":"text-muted-foreground"," transition-colors hover:text-foreground"),children:"Cellular"})}),(0,s.jsx)(E,{asChild:!0,children:(0,s.jsx)(o(),{href:"/dashboard/advanced-settings/connectivity",className:"".concat(a.includes("/dashboard/advanced-settings")?"text-foreground":"text-muted-foreground"," transition-colors hover:text-foreground"),children:"Advance"})}),(0,s.jsx)(E,{asChild:!0,children:(0,s.jsx)(o(),{href:"/dashboard/custom-features/",className:"".concat("/dashboard/custom-features/"===a?"text-foreground":"text-muted-foreground"," transition-colors hover:text-foreground"),children:"Custom Features"})}),(0,s.jsx)(E,{asChild:!0,children:(0,s.jsx)(o(),{href:"/dashboard/experimental/",className:"".concat("/dashboard/experimental/"===a?"text-foreground":"text-muted-foreground"," transition-colors hover:text-foreground"),children:"Experimental"})}),(0,s.jsx)(E,{asChild:!0,children:(0,s.jsx)(o(),{href:"/dashboard/settings/personalization",className:"".concat(a.includes("/dashboard/settings")?"text-foreground":"text-muted-foreground"," transition-colors hover:text-foreground"),children:"Settings"})})]})})]}),(0,s.jsxs)("div",{className:"flex w-full items-center gap-4 md:ml-auto md:gap-2 lg:gap-4",children:[(0,s.jsx)("form",{className:"ml-auto flex-1 sm:flex-initial",children:(0,s.jsxs)(g.rI,{children:[(0,s.jsx)(g.ty,{asChild:!0,children:(0,s.jsxs)(h.$,{variant:"outline",size:"icon",children:[(0,s.jsx)(v.A,{className:"h-[1.2rem] w-[1.2rem] rotate-0 scale-100 transition-all dark:-rotate-90 dark:scale-0"}),(0,s.jsx)(j.A,{className:"absolute h-[1.2rem] w-[1.2rem] rotate-90 scale-0 transition-all dark:rotate-0 dark:scale-100"}),(0,s.jsx)("span",{className:"sr-only",children:"Toggle theme"})]})}),(0,s.jsxs)(g.SQ,{align:"end",children:[(0,s.jsx)(g._2,{onClick:()=>N("light"),children:"Light"}),(0,s.jsx)(g._2,{onClick:()=>N("dark"),children:"Dark"}),(0,s.jsx)(g._2,{onClick:()=>N("system"),children:"System"})]})]})}),(0,s.jsxs)(g.rI,{children:[(0,s.jsx)(g.ty,{asChild:!0,children:(0,s.jsxs)(h.$,{variant:"secondary",size:"icon",className:"rounded-full",children:[P?(0,s.jsxs)(y.eu,{children:[(0,s.jsx)(y.BK,{src:P,alt:"Profile Picture"}),(0,s.jsx)(y.q5,{children:(0,s.jsx)(m.A,{className:"h-5 w-5"})})]}):(0,s.jsx)(m.A,{className:"h-5 w-5"}),(0,s.jsx)("span",{className:"sr-only",children:"Toggle user menu"})]})}),(0,s.jsxs)(g.SQ,{align:"end",children:[(0,s.jsx)(g.lp,{children:"Options"}),(0,s.jsx)(g.mB,{}),(0,s.jsx)(g._2,{asChild:!0,children:(0,s.jsx)(o(),{href:"/dashboard/settings/personalization",children:"Settings"})}),(0,s.jsx)(g._2,{asChild:!0,children:(0,s.jsx)("a",{href:"/cgi-bin/luci",target:"_blank",rel:"noreferrer noopener",children:"Luci"})}),(0,s.jsx)(g._2,{asChild:!0,children:(0,s.jsx)("a",{href:"https://github.com/iamromulan/cellular-modem-wiki/discussions/new/choose",target:"_blank",children:"Support"})}),(0,s.jsx)(g._2,{asChild:!0,children:(0,s.jsx)(o(),{href:"/dashboard/about",children:"About"})}),(0,s.jsx)(g.mB,{}),(0,s.jsx)(g._2,{onClick:Y,children:A?"Reconnecting...":"Reconnect"}),(0,s.jsx)(g._2,{asChild:!0,children:(0,s.jsxs)(b.Lt,{children:[(0,s.jsx)(b.tv,{asChild:!0,children:(0,s.jsx)("button",{className:"relative flex w-full cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none transition-colors hover:bg-accent hover:text-accent-foreground",children:"Reboot"})}),(0,s.jsxs)(b.EO,{children:[(0,s.jsxs)(b.wd,{children:[(0,s.jsx)(b.r7,{children:"Are you sure?"}),(0,s.jsx)(b.$v,{children:"This will reboot your device. The connection will be lost temporarily. Please wait for the page to reload."})]}),(0,s.jsxs)(b.ck,{children:[(0,s.jsx)(b.Zr,{children:"Cancel"}),(0,s.jsxs)(b.Rx,{onClick:$,disabled:S,children:[(0,s.jsx)(f.A,{className:"size-4"}),"Reboot Now"]})]})]})]})}),(0,s.jsx)(g._2,{asChild:!0,children:(0,s.jsxs)(b.Lt,{children:[(0,s.jsx)(b.tv,{asChild:!0,children:(0,s.jsx)("button",{className:"relative flex w-full cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none transition-colors hover:bg-accent hover:text-accent-foreground",children:"Force Reboot"})}),(0,s.jsxs)(b.EO,{children:[(0,s.jsxs)(b.wd,{children:[(0,s.jsx)(b.r7,{children:"Are you sure?"}),(0,s.jsx)(b.$v,{children:"This will force reboot your device. The connection will be lost temporarily. Please wait for the page to reload."})]}),(0,s.jsxs)(b.ck,{children:[(0,s.jsx)(b.Zr,{children:"Cancel"}),(0,s.jsxs)(b.Rx,{onClick:G,disabled:S,children:[(0,s.jsx)(f.A,{className:"size-4"}),"Force Reboot Now"]})]})]})]})}),(0,s.jsx)(g.mB,{}),(0,s.jsx)(g._2,{onClick:r,children:"Logout"})]})]})]})]}),(0,s.jsx)("main",{className:"flex min-h-[calc(100vh_-_theme(spacing.16))] flex-1 flex-col gap-4 bg-muted/40 p-4 md:gap-8 md:p-10",children:(0,s.jsx)(d,{children:t})})]})}},97818:(e,t,a)=>{"use strict";a.d(t,{$v:()=>p,EO:()=>m,Lt:()=>l,Rx:()=>g,Zr:()=>b,ck:()=>h,r7:()=>x,tv:()=>d,wd:()=>f});var s=a(20475),r=a(20107),o=a(50564),n=a(22250),i=a(42541);let l=o.bL,d=o.l9,c=o.ZL,u=r.forwardRef((e,t)=>{let{className:a,...r}=e;return(0,s.jsx)(o.hJ,{className:(0,n.cn)("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",a),...r,ref:t})});u.displayName=o.hJ.displayName;let m=r.forwardRef((e,t)=>{let{className:a,...r}=e;return(0,s.jsxs)(c,{children:[(0,s.jsx)(u,{}),(0,s.jsx)(o.UC,{ref:t,className:(0,n.cn)("fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",a),...r})]})});m.displayName=o.UC.displayName;let f=e=>{let{className:t,...a}=e;return(0,s.jsx)("div",{className:(0,n.cn)("flex flex-col space-y-2 text-center sm:text-left",t),...a})};f.displayName="AlertDialogHeader";let h=e=>{let{className:t,...a}=e;return(0,s.jsx)("div",{className:(0,n.cn)("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",t),...a})};h.displayName="AlertDialogFooter";let x=r.forwardRef((e,t)=>{let{className:a,...r}=e;return(0,s.jsx)(o.hE,{ref:t,className:(0,n.cn)("text-lg font-semibold",a),...r})});x.displayName=o.hE.displayName;let p=r.forwardRef((e,t)=>{let{className:a,...r}=e;return(0,s.jsx)(o.VY,{ref:t,className:(0,n.cn)("text-sm text-muted-foreground",a),...r})});p.displayName=o.VY.displayName;let g=r.forwardRef((e,t)=>{let{className:a,...r}=e;return(0,s.jsx)(o.rc,{ref:t,className:(0,n.cn)((0,i.r)(),a),...r})});g.displayName=o.rc.displayName;let b=r.forwardRef((e,t)=>{let{className:a,...r}=e;return(0,s.jsx)(o.ZD,{ref:t,className:(0,n.cn)((0,i.r)({variant:"outline"}),"mt-2 sm:mt-0",a),...r})});b.displayName=o.ZD.displayName},53538:(e,t,a)=>{"use strict";a.d(t,{BK:()=>l,eu:()=>i,q5:()=>d});var s=a(20475),r=a(20107),o=a(88601),n=a(22250);let i=r.forwardRef((e,t)=>{let{className:a,...r}=e;return(0,s.jsx)(o.bL,{ref:t,className:(0,n.cn)("relative flex h-10 w-10 shrink-0 overflow-hidden rounded-full",a),...r})});i.displayName=o.bL.displayName;let l=r.forwardRef((e,t)=>{let{className:a,...r}=e;return(0,s.jsx)(o._V,{ref:t,className:(0,n.cn)("aspect-square h-full w-full",a),...r})});l.displayName=o._V.displayName;let d=r.forwardRef((e,t)=>{let{className:a,...r}=e;return(0,s.jsx)(o.H4,{ref:t,className:(0,n.cn)("flex h-full w-full items-center justify-center rounded-full bg-muted",a),...r})});d.displayName=o.H4.displayName},42541:(e,t,a)=>{"use strict";a.d(t,{$:()=>d,r:()=>l});var s=a(20475),r=a(20107),o=a(61837),n=a(29395),i=a(22250);let l=(0,n.F)("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{variants:{variant:{default:"bg-primary text-primary-foreground shadow hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90",outline:"border border-input bg-background shadow-sm hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2",sm:"h-8 rounded-md px-3 text-xs",lg:"h-10 rounded-md px-8",icon:"h-9 w-9"}},defaultVariants:{variant:"default",size:"default"}}),d=r.forwardRef((e,t)=>{let{className:a,variant:r,size:n,asChild:d=!1,...c}=e,u=d?o.DX:"button";return(0,s.jsx)(u,{className:(0,i.cn)(l({variant:r,size:n,className:a})),ref:t,...c})});d.displayName="Button"},86118:(e,t,a)=>{"use strict";a.d(t,{SQ:()=>c,_2:()=>u,lp:()=>m,mB:()=>f,rI:()=>l,ty:()=>d});var s=a(20475),r=a(20107),o=a(77536),n=a(7197),i=a(22250);let l=o.bL,d=o.l9;o.YJ,o.ZL,o.Pb,o.z6,r.forwardRef((e,t)=>{let{className:a,inset:r,children:l,...d}=e;return(0,s.jsxs)(o.ZP,{ref:t,className:(0,i.cn)("flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent data-[state=open]:bg-accent",r&&"pl-8",a),...d,children:[l,(0,s.jsx)(n.vKP,{className:"ml-auto h-4 w-4"})]})}).displayName=o.ZP.displayName,r.forwardRef((e,t)=>{let{className:a,...r}=e;return(0,s.jsx)(o.G5,{ref:t,className:(0,i.cn)("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",a),...r})}).displayName=o.G5.displayName;let c=r.forwardRef((e,t)=>{let{className:a,sideOffset:r=4,...n}=e;return(0,s.jsx)(o.ZL,{children:(0,s.jsx)(o.UC,{ref:t,sideOffset:r,className:(0,i.cn)("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md","data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",a),...n})})});c.displayName=o.UC.displayName;let u=r.forwardRef((e,t)=>{let{className:a,inset:r,...n}=e;return(0,s.jsx)(o.q7,{ref:t,className:(0,i.cn)("relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",r&&"pl-8",a),...n})});u.displayName=o.q7.displayName,r.forwardRef((e,t)=>{let{className:a,children:r,checked:l,...d}=e;return(0,s.jsxs)(o.H_,{ref:t,className:(0,i.cn)("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",a),checked:l,...d,children:[(0,s.jsx)("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:(0,s.jsx)(o.VF,{children:(0,s.jsx)(n.Srz,{className:"h-4 w-4"})})}),r]})}).displayName=o.H_.displayName,r.forwardRef((e,t)=>{let{className:a,children:r,...l}=e;return(0,s.jsxs)(o.hN,{ref:t,className:(0,i.cn)("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",a),...l,children:[(0,s.jsx)("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:(0,s.jsx)(o.VF,{children:(0,s.jsx)(n.RiX,{className:"h-4 w-4 fill-current"})})}),r]})}).displayName=o.hN.displayName;let m=r.forwardRef((e,t)=>{let{className:a,inset:r,...n}=e;return(0,s.jsx)(o.JU,{ref:t,className:(0,i.cn)("px-2 py-1.5 text-sm font-semibold",r&&"pl-8",a),...n})});m.displayName=o.JU.displayName;let f=r.forwardRef((e,t)=>{let{className:a,...r}=e;return(0,s.jsx)(o.wv,{ref:t,className:(0,i.cn)("-mx-1 my-1 h-px bg-muted",a),...r})});f.displayName=o.wv.displayName},19546:(e,t,a)=>{"use strict";a.d(t,{A:()=>o});var s=a(20107),r=a(16118);function o(){let[e,t]=(0,s.useState)(!1),a=(0,r.useRouter)();function o(e){let t={token:e,lastActivity:Date.now(),expiresAt:Date.now()+18e5};localStorage.setItem("session",JSON.stringify(t))}async function n(){localStorage.removeItem("session"),t(!1),fetch("/cgi-bin/quecmanager/logout.sh",{method:"POST",headers:{"Content-Type":"application/json",Authorization:"".concat(localStorage.getItem("authToken"))}}),localStorage.removeItem("authToken"),a.push("/")}function i(){let e=function(){let e=function(){let e=localStorage.getItem("session");if(!e)return null;try{return JSON.parse(e)}catch(e){return null}}();if(!e)return!1;let t=Date.now();return t>e.expiresAt?(n(),!1):(t-e.lastActivity>3e5&&o(e.token),!0)}();return t(e),e}return(0,s.useEffect)(()=>{i()},[]),{isAuthenticated:e,login:async function(e){let s=encodeURIComponent(e);try{let e=await fetch("/cgi-bin/quecmanager/auth.sh",{method:"POST",headers:{"Content-Type":"application/json"},body:"password=".concat(s)}),r=await e.json();if(console.log(r),"success"!==r.state)return!1;{(null==r?void 0:r.token)&&localStorage.setItem("authToken",r.token);let e=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:32,t="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789";return Array.from(crypto.getRandomValues(new Uint8Array(e))).map(e=>t[e%t.length]).join("")}();return o(e),t(!0),a.push("/dashboard/home"),!0}}catch(e){return console.error("Login error:",e),!1}},logout:n,checkAuth:i}}},46052:(e,t,a)=>{"use strict";a.d(t,{A:()=>o});var s=a(20107),r=a(19546);let o=()=>{let[e,t]=(0,s.useState)(!0),{logout:a}=(0,r.A)();async function o(){try{let e=await fetch("/cgi-bin/quecmanager/heartbeat.sh",{method:"GET",headers:{"Cache-Control":"no-cache"}});if(!e.ok){n();return}(await e.json()).alive?t(!0):n()}catch(e){n()}}function n(){t(!1),a()}return(0,s.useEffect)(()=>{let e=setInterval(o,5e3);return()=>{clearInterval(e)}},[]),{isServerAlive:e}}},32857:(e,t,a)=>{"use strict";a.d(t,{dj:()=>m,oR:()=>u});var s=a(20107);let r=0,o=new Map,n=e=>{if(o.has(e))return;let t=setTimeout(()=>{o.delete(e),c({type:"REMOVE_TOAST",toastId:e})},1e6);o.set(e,t)},i=(e,t)=>{switch(t.type){case"ADD_TOAST":return{...e,toasts:[t.toast,...e.toasts].slice(0,1)};case"UPDATE_TOAST":return{...e,toasts:e.toasts.map(e=>e.id===t.toast.id?{...e,...t.toast}:e)};case"DISMISS_TOAST":{let{toastId:a}=t;return a?n(a):e.toasts.forEach(e=>{n(e.id)}),{...e,toasts:e.toasts.map(e=>e.id===a||void 0===a?{...e,open:!1}:e)}}case"REMOVE_TOAST":if(void 0===t.toastId)return{...e,toasts:[]};return{...e,toasts:e.toasts.filter(e=>e.id!==t.toastId)}}},l=[],d={toasts:[]};function c(e){d=i(d,e),l.forEach(e=>{e(d)})}function u(e){let{...t}=e,a=(r=(r+1)%Number.MAX_SAFE_INTEGER).toString(),s=()=>c({type:"DISMISS_TOAST",toastId:a});return c({type:"ADD_TOAST",toast:{...t,id:a,open:!0,onOpenChange:e=>{e||s()}}}),{id:a,dismiss:s,update:e=>c({type:"UPDATE_TOAST",toast:{...e,id:a}})}}function m(){let[e,t]=s.useState(d);return s.useEffect(()=>(l.push(t),()=>{let e=l.indexOf(t);e>-1&&l.splice(e,1)}),[e]),{...e,toast:u,dismiss:e=>c({type:"DISMISS_TOAST",toastId:e})}}},22250:(e,t,a)=>{"use strict";a.d(t,{cn:()=>o});var s=a(64901),r=a(868);function o(){for(var e=arguments.length,t=Array(e),a=0;a{"use strict";a.d(t,{a:()=>s});let s=async function(e){let t=!(arguments.length>1)||void 0===arguments[1]||arguments[1],a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:30;try{var s;let r=e.trim().toUpperCase().startsWith("AT")?e.trim():"AT".concat(e.trim()),o=encodeURIComponent(r),n="/cgi-bin/quecmanager/at_cmd/at_queue_client.sh?command=".concat(o);t&&(n+="&wait=1&timeout=".concat(a));let i=await fetch(n,{method:"GET",headers:{Accept:"application/json",Authorization:"".concat(localStorage.getItem("authToken"))},signal:AbortSignal.timeout(1e3*a+5e3)});if(!i.ok)throw Error("AT command failed with status: ".concat(i.status));let l=await i.json();if(l.error)throw Error("AT queue error: ".concat(l.error));if(t&&(null===(s=l.response)||void 0===s?void 0:s.status)==="timeout")throw Error("AT command timed out after ".concat(a," seconds"));return l}catch(e){throw console.error("AT Command error:",e),e}}}},e=>{var t=t=>e(e.s=t);e.O(0,[9980,7780,8885,3746,9464,9477,564,2682,9873,6223,191,6035,7358],()=>t(2930)),_N_E=e.O()}]); \ No newline at end of file diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/login/page-0a8c0a357c794cc3.js b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/login/page-0a8c0a357c794cc3.js deleted file mode 100644 index 3a5fb32..0000000 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/login/page-0a8c0a357c794cc3.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4520],{74674:(e,t,r)=>{Promise.resolve().then(r.bind(r,56960))},56960:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>v});var s=r(20475),n=r(20107),a=r(19546),o=r(16118),i=r(32857),l=r(114),c=r(46052),u=r(42541),d=r(64219),f=r(49153),m=r(9477),h=r.n(m);let p=(0,r(39997).A)("ArrowLeft",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]]),v=()=>{let{toast:e}=(0,i.dj)(),[t,r]=(0,n.useState)(""),[m,v]=(0,n.useState)(""),{login:g,logout:x}=(0,a.A)(),{luciLogin:y}=((0,o.useRouter)(),{luciLogin:async function(e){let t=encodeURIComponent(e);try{return window.location.href="/cgi-bin/luci?luci_username=root&luci_password="+t,!0}catch(e){return console.error("Login error:",e),!1}}}),{isServerAlive:b}=(0,c.A)();(0,n.useEffect)(()=>{b||x()},[b,x]);let w=async e=>{e.preventDefault(),await g(t)||v("Invalid password")};return(0,s.jsx)("div",{className:"bg-background flex min-h-svh flex-col items-center justify-center gap-6 p-6 md:p-10",children:(0,s.jsx)("div",{className:"w-full max-w-sm",children:(0,s.jsxs)("div",{className:"flex flex-col gap-6",children:[(0,s.jsxs)("div",{className:"flex flex-col gap-6",children:[(0,s.jsxs)("div",{className:"flex flex-col items-center gap-2",children:[(0,s.jsx)("a",{href:"/",className:"flex flex-col items-center gap-2 font-medium",children:(0,s.jsx)("img",{src:"/login-logo.svg",alt:"QuecManager Logo",className:"size-36 aspect-square object-cover"})}),(0,s.jsx)("h1",{className:"text-xl font-bold",children:"Welcome to QuecManager"}),(0,s.jsxs)("div",{className:"text-center text-sm",children:["Forgot your password?"," ",(0,s.jsx)(u.$,{variant:"link",type:"button",className:"p-0 underline",onClick:()=>{e({variant:"destructive",title:"Forgot your password?",description:"Use the toolkit script to create a new password.",action:(0,s.jsx)(l.A,{})})},children:"Reset it"})]})]}),(0,s.jsx)("form",{onSubmit:w,children:(0,s.jsxs)("div",{className:"flex flex-col gap-6",children:[(0,s.jsxs)("div",{className:"grid gap-3",children:[(0,s.jsx)(f.J,{htmlFor:"email",children:"Password"}),(0,s.jsx)(d.p,{id:"password",type:"password",required:!0,value:t,onChange:e=>r(e.target.value)})]}),(0,s.jsxs)("div",{className:"grid gap-2",children:[(0,s.jsx)(u.$,{type:"submit",className:"w-full",children:"Login"}),(0,s.jsxs)(h(),{href:"/",className:"flex items-center",children:[(0,s.jsx)(p,{className:"size-4 gap-x-1 text-muted-foreground"}),(0,s.jsx)("p",{className:"text-xs text-muted-foreground underline underline-offset-4",children:"Go Back"})]})]}),m&&(0,s.jsx)("div",{className:"bg-rose-500 p-1 rounded-md flex text-center justify-center items-center",children:(0,s.jsx)("p",{children:m})})]})})]}),(0,s.jsxs)("div",{className:"text-muted-foreground *:[a]:hover:text-primary text-center text-xs text-balance *:[a]:underline *:[a]:underline-offset-4",children:["By clicking continue, you agree to our"," ",(0,s.jsx)(h(),{href:"/legal/tos",className:"text-primary underline underline-offset-4",children:"Terms of Service"})," ","and"," ",(0,s.jsx)(h(),{href:"/legal/privacy",className:"text-primary underline underline-offset-4",children:"Privacy Policy"}),"."]})]})})})}},114:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var s=r(20475),n=r(42541),a=r(7197);let o=()=>(0,s.jsx)(n.$,{asChild:!0,variant:"outline",className:"ml-2",children:(0,s.jsxs)("a",{href:"https://github.com/iamromulan/quectel-rgmii-toolkit/tree/development-SDXPINN",children:[(0,s.jsx)(a.ERf,{className:"w-4 h-4 mr-2"}),"Get there!"]})})},42541:(e,t,r)=>{"use strict";r.d(t,{$:()=>c,r:()=>l});var s=r(20475),n=r(20107),a=r(61837),o=r(29395),i=r(22250);let l=(0,o.F)("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{variants:{variant:{default:"bg-primary text-primary-foreground shadow hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90",outline:"border border-input bg-background shadow-sm hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2",sm:"h-8 rounded-md px-3 text-xs",lg:"h-10 rounded-md px-8",icon:"h-9 w-9"}},defaultVariants:{variant:"default",size:"default"}}),c=n.forwardRef((e,t)=>{let{className:r,variant:n,size:o,asChild:c=!1,...u}=e,d=c?a.DX:"button";return(0,s.jsx)(d,{className:(0,i.cn)(l({variant:n,size:o,className:r})),ref:t,...u})});c.displayName="Button"},64219:(e,t,r)=>{"use strict";r.d(t,{p:()=>o});var s=r(20475),n=r(20107),a=r(22250);let o=n.forwardRef((e,t)=>{let{className:r,type:n,...o}=e;return(0,s.jsx)("input",{type:n,className:(0,a.cn)("flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-sm shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50",r),ref:t,...o})});o.displayName="Input"},49153:(e,t,r)=>{"use strict";r.d(t,{J:()=>c});var s=r(20475),n=r(20107),a=r(21840),o=r(29395),i=r(22250);let l=(0,o.F)("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),c=n.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,s.jsx)(a.b,{ref:t,className:(0,i.cn)(l(),r),...n})});c.displayName=a.b.displayName},19546:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var s=r(20107),n=r(16118);function a(){let[e,t]=(0,s.useState)(!1),r=(0,n.useRouter)();function a(e){let t={token:e,lastActivity:Date.now(),expiresAt:Date.now()+18e5};localStorage.setItem("session",JSON.stringify(t))}async function o(){localStorage.removeItem("session"),t(!1),fetch("/cgi-bin/quecmanager/logout.sh",{method:"POST",headers:{"Content-Type":"application/json",Authorization:"".concat(localStorage.getItem("authToken"))}}),localStorage.removeItem("authToken"),r.push("/")}function i(){let e=function(){let e=function(){let e=localStorage.getItem("session");if(!e)return null;try{return JSON.parse(e)}catch(e){return null}}();if(!e)return!1;let t=Date.now();return t>e.expiresAt?(o(),!1):(t-e.lastActivity>3e5&&a(e.token),!0)}();return t(e),e}return(0,s.useEffect)(()=>{i()},[]),{isAuthenticated:e,login:async function(e){let s=encodeURIComponent(e);try{let e=await fetch("/cgi-bin/quecmanager/auth.sh",{method:"POST",headers:{"Content-Type":"application/json"},body:"password=".concat(s)}),n=await e.json();if(console.log(n),"success"!==n.state)return!1;{(null==n?void 0:n.token)&&localStorage.setItem("authToken",n.token);let e=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:32,t="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789";return Array.from(crypto.getRandomValues(new Uint8Array(e))).map(e=>t[e%t.length]).join("")}();return a(e),t(!0),r.push("/dashboard/home"),!0}}catch(e){return console.error("Login error:",e),!1}},logout:o,checkAuth:i}}},46052:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var s=r(20107),n=r(19546);let a=()=>{let[e,t]=(0,s.useState)(!0),{logout:r}=(0,n.A)();async function a(){try{let e=await fetch("/cgi-bin/quecmanager/heartbeat.sh",{method:"GET",headers:{"Cache-Control":"no-cache"}});if(!e.ok){o();return}(await e.json()).alive?t(!0):o()}catch(e){o()}}function o(){t(!1),r()}return(0,s.useEffect)(()=>{let e=setInterval(a,5e3);return()=>{clearInterval(e)}},[]),{isServerAlive:e}}},32857:(e,t,r)=>{"use strict";r.d(t,{dj:()=>f,oR:()=>d});var s=r(20107);let n=0,a=new Map,o=e=>{if(a.has(e))return;let t=setTimeout(()=>{a.delete(e),u({type:"REMOVE_TOAST",toastId:e})},1e6);a.set(e,t)},i=(e,t)=>{switch(t.type){case"ADD_TOAST":return{...e,toasts:[t.toast,...e.toasts].slice(0,1)};case"UPDATE_TOAST":return{...e,toasts:e.toasts.map(e=>e.id===t.toast.id?{...e,...t.toast}:e)};case"DISMISS_TOAST":{let{toastId:r}=t;return r?o(r):e.toasts.forEach(e=>{o(e.id)}),{...e,toasts:e.toasts.map(e=>e.id===r||void 0===r?{...e,open:!1}:e)}}case"REMOVE_TOAST":if(void 0===t.toastId)return{...e,toasts:[]};return{...e,toasts:e.toasts.filter(e=>e.id!==t.toastId)}}},l=[],c={toasts:[]};function u(e){c=i(c,e),l.forEach(e=>{e(c)})}function d(e){let{...t}=e,r=(n=(n+1)%Number.MAX_SAFE_INTEGER).toString(),s=()=>u({type:"DISMISS_TOAST",toastId:r});return u({type:"ADD_TOAST",toast:{...t,id:r,open:!0,onOpenChange:e=>{e||s()}}}),{id:r,dismiss:s,update:e=>u({type:"UPDATE_TOAST",toast:{...e,id:r}})}}function f(){let[e,t]=s.useState(c);return s.useEffect(()=>(l.push(t),()=>{let e=l.indexOf(t);e>-1&&l.splice(e,1)}),[e]),{...e,toast:d,dismiss:e=>u({type:"DISMISS_TOAST",toastId:e})}}},22250:(e,t,r)=>{"use strict";r.d(t,{cn:()=>a});var s=r(64901),n=r(868);function a(){for(var e=arguments.length,t=Array(e),r=0;r{"use strict";r.d(t,{A:()=>l});var s=r(20107);let n=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.indexOf(e)===t).join(" ")};var o={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,s.forwardRef)((e,t)=>{let{color:r="currentColor",size:n=24,strokeWidth:i=2,absoluteStrokeWidth:l,className:c="",children:u,iconNode:d,...f}=e;return(0,s.createElement)("svg",{ref:t,...o,width:n,height:n,stroke:r,strokeWidth:l?24*Number(i)/Number(n):i,className:a("lucide",c),...f},[...d.map(e=>{let[t,r]=e;return(0,s.createElement)(t,r)}),...Array.isArray(u)?u:[u]])}),l=(e,t)=>{let r=(0,s.forwardRef)((r,o)=>{let{className:l,...c}=r;return(0,s.createElement)(i,{ref:o,iconNode:t,className:a("lucide-".concat(n(e)),l),...c})});return r.displayName="".concat(e),r}},16118:(e,t,r)=>{"use strict";var s=r(65834);r.o(s,"usePathname")&&r.d(t,{usePathname:function(){return s.usePathname}}),r.o(s,"useRouter")&&r.d(t,{useRouter:function(){return s.useRouter}})},21840:(e,t,r)=>{"use strict";r.d(t,{b:()=>i});var s=r(20107),n=r(34544),a=r(20475),o=s.forwardRef((e,t)=>(0,a.jsx)(n.sG.label,{...e,ref:t,onMouseDown:t=>{var r;t.target.closest("button, input, select, textarea")||(null===(r=e.onMouseDown)||void 0===r||r.call(e,t),!t.defaultPrevented&&t.detail>1&&t.preventDefault())}}));o.displayName="Label";var i=o},34544:(e,t,r)=>{"use strict";r.d(t,{hO:()=>l,sG:()=>i});var s=r(20107),n=r(25642),a=r(61837),o=r(20475),i=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((e,t)=>{let r=s.forwardRef((e,r)=>{let{asChild:s,...n}=e,i=s?a.DX:t;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,o.jsx)(i,{...n,ref:r})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function l(e,t){e&&n.flushSync(()=>e.dispatchEvent(t))}},29395:(e,t,r)=>{"use strict";r.d(t,{F:()=>a});let s=e=>"boolean"==typeof e?"".concat(e):0===e?"0":e,n=function(){for(var e,t,r=0,s="";rr=>{var a;if((null==t?void 0:t.variants)==null)return n(e,null==r?void 0:r.class,null==r?void 0:r.className);let{variants:o,defaultVariants:i}=t,l=Object.keys(o).map(e=>{let t=null==r?void 0:r[e],n=null==i?void 0:i[e];if(null===t)return null;let a=s(t)||s(n);return o[e][a]}),c=r&&Object.entries(r).reduce((e,t)=>{let[r,s]=t;return void 0===s||(e[r]=s),e},{});return n(e,l,null==t?void 0:null===(a=t.compoundVariants)||void 0===a?void 0:a.reduce((e,t)=>{let{class:r,className:s,...n}=t;return Object.entries(n).every(e=>{let[t,r]=e;return Array.isArray(r)?r.includes({...i,...c}[t]):({...i,...c})[t]===r})?[...e,r,s]:e},[]),null==r?void 0:r.class,null==r?void 0:r.className)}}},e=>{var t=t=>e(e.s=t);e.O(0,[9980,7780,9477,191,6035,7358],()=>t(74674)),_N_E=e.O()}]); \ No newline at end of file diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/login/page-d586ebf909e3be1e.js b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/login/page-d586ebf909e3be1e.js new file mode 100644 index 0000000..57e6516 --- /dev/null +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/login/page-d586ebf909e3be1e.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4520],{74674:(e,t,r)=>{Promise.resolve().then(r.bind(r,56960))},56960:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>h});var s=r(20475),n=r(20107),a=r(19546),o=r(16118),i=r(32857),l=r(114),c=r(42541),u=r(64219),d=r(49153),f=r(9477),m=r.n(f);let p=(0,r(39997).A)("ArrowLeft",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]]),h=()=>{let{toast:e}=(0,i.dj)(),[t,r]=(0,n.useState)(""),[f,h]=(0,n.useState)(""),{login:v,logout:g}=(0,a.A)(),{luciLogin:x}=((0,o.useRouter)(),{luciLogin:async function(e){let t=encodeURIComponent(e);try{return window.location.href="/cgi-bin/luci?luci_username=root&luci_password="+t,!0}catch(e){return console.error("Login error:",e),!1}}}),y=async e=>{e.preventDefault(),await v(t)||h("Invalid password")};return(0,s.jsx)("div",{className:"bg-background flex min-h-svh flex-col items-center justify-center gap-6 p-6 md:p-10",children:(0,s.jsx)("div",{className:"w-full max-w-sm",children:(0,s.jsxs)("div",{className:"flex flex-col gap-6",children:[(0,s.jsxs)("div",{className:"flex flex-col gap-6",children:[(0,s.jsxs)("div",{className:"flex flex-col items-center gap-2",children:[(0,s.jsx)("a",{href:"/",className:"flex flex-col items-center gap-2 font-medium",children:(0,s.jsx)("img",{src:"/login-logo.svg",alt:"QuecManager Logo",className:"size-36 aspect-square object-cover"})}),(0,s.jsx)("h1",{className:"text-xl font-bold",children:"Welcome to QuecManager"}),(0,s.jsxs)("div",{className:"text-center text-sm",children:["Forgot your password?"," ",(0,s.jsx)(c.$,{variant:"link",type:"button",className:"p-0 underline",onClick:()=>{e({variant:"destructive",title:"Forgot your password?",description:"Use the toolkit script to create a new password.",action:(0,s.jsx)(l.A,{})})},children:"Reset it"})]})]}),(0,s.jsx)("form",{onSubmit:y,children:(0,s.jsxs)("div",{className:"flex flex-col gap-6",children:[(0,s.jsxs)("div",{className:"grid gap-3",children:[(0,s.jsx)(d.J,{htmlFor:"email",children:"Password"}),(0,s.jsx)(u.p,{id:"password",type:"password",required:!0,value:t,onChange:e=>r(e.target.value)})]}),(0,s.jsxs)("div",{className:"grid gap-2",children:[(0,s.jsx)(c.$,{type:"submit",className:"w-full",children:"Login"}),(0,s.jsxs)(m(),{href:"/",className:"flex items-center",children:[(0,s.jsx)(p,{className:"size-4 gap-x-1 text-muted-foreground"}),(0,s.jsx)("p",{className:"text-xs text-muted-foreground underline underline-offset-4",children:"Go Back"})]})]}),f&&(0,s.jsx)("div",{className:"bg-rose-500 p-1 rounded-md flex text-center justify-center items-center",children:(0,s.jsx)("p",{children:f})})]})})]}),(0,s.jsxs)("div",{className:"text-muted-foreground *:[a]:hover:text-primary text-center text-xs text-balance *:[a]:underline *:[a]:underline-offset-4",children:["By clicking continue, you agree to our"," ",(0,s.jsx)(m(),{href:"/legal/tos",className:"text-primary underline underline-offset-4",children:"Terms of Service"})," ","and"," ",(0,s.jsx)(m(),{href:"/legal/privacy",className:"text-primary underline underline-offset-4",children:"Privacy Policy"}),"."]})]})})})}},114:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var s=r(20475),n=r(42541),a=r(7197);let o=()=>(0,s.jsx)(n.$,{asChild:!0,variant:"outline",className:"ml-2",children:(0,s.jsxs)("a",{href:"https://github.com/iamromulan/quectel-rgmii-toolkit/tree/development-SDXPINN",children:[(0,s.jsx)(a.ERf,{className:"w-4 h-4 mr-2"}),"Get there!"]})})},42541:(e,t,r)=>{"use strict";r.d(t,{$:()=>c,r:()=>l});var s=r(20475),n=r(20107),a=r(61837),o=r(29395),i=r(22250);let l=(0,o.F)("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{variants:{variant:{default:"bg-primary text-primary-foreground shadow hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90",outline:"border border-input bg-background shadow-sm hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2",sm:"h-8 rounded-md px-3 text-xs",lg:"h-10 rounded-md px-8",icon:"h-9 w-9"}},defaultVariants:{variant:"default",size:"default"}}),c=n.forwardRef((e,t)=>{let{className:r,variant:n,size:o,asChild:c=!1,...u}=e,d=c?a.DX:"button";return(0,s.jsx)(d,{className:(0,i.cn)(l({variant:n,size:o,className:r})),ref:t,...u})});c.displayName="Button"},64219:(e,t,r)=>{"use strict";r.d(t,{p:()=>o});var s=r(20475),n=r(20107),a=r(22250);let o=n.forwardRef((e,t)=>{let{className:r,type:n,...o}=e;return(0,s.jsx)("input",{type:n,className:(0,a.cn)("flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-sm shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50",r),ref:t,...o})});o.displayName="Input"},49153:(e,t,r)=>{"use strict";r.d(t,{J:()=>c});var s=r(20475),n=r(20107),a=r(21840),o=r(29395),i=r(22250);let l=(0,o.F)("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),c=n.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,s.jsx)(a.b,{ref:t,className:(0,i.cn)(l(),r),...n})});c.displayName=a.b.displayName},19546:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var s=r(20107),n=r(16118);function a(){let[e,t]=(0,s.useState)(!1),r=(0,n.useRouter)();function a(e){let t={token:e,lastActivity:Date.now(),expiresAt:Date.now()+18e5};localStorage.setItem("session",JSON.stringify(t))}async function o(){localStorage.removeItem("session"),t(!1),fetch("/cgi-bin/quecmanager/logout.sh",{method:"POST",headers:{"Content-Type":"application/json",Authorization:"".concat(localStorage.getItem("authToken"))}}),localStorage.removeItem("authToken"),r.push("/")}function i(){let e=function(){let e=function(){let e=localStorage.getItem("session");if(!e)return null;try{return JSON.parse(e)}catch(e){return null}}();if(!e)return!1;let t=Date.now();return t>e.expiresAt?(o(),!1):(t-e.lastActivity>3e5&&a(e.token),!0)}();return t(e),e}return(0,s.useEffect)(()=>{i()},[]),{isAuthenticated:e,login:async function(e){let s=encodeURIComponent(e);try{let e=await fetch("/cgi-bin/quecmanager/auth.sh",{method:"POST",headers:{"Content-Type":"application/json"},body:"password=".concat(s)}),n=await e.json();if(console.log(n),"success"!==n.state)return!1;{(null==n?void 0:n.token)&&localStorage.setItem("authToken",n.token);let e=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:32,t="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789";return Array.from(crypto.getRandomValues(new Uint8Array(e))).map(e=>t[e%t.length]).join("")}();return a(e),t(!0),r.push("/dashboard/home"),!0}}catch(e){return console.error("Login error:",e),!1}},logout:o,checkAuth:i}}},32857:(e,t,r)=>{"use strict";r.d(t,{dj:()=>f,oR:()=>d});var s=r(20107);let n=0,a=new Map,o=e=>{if(a.has(e))return;let t=setTimeout(()=>{a.delete(e),u({type:"REMOVE_TOAST",toastId:e})},1e6);a.set(e,t)},i=(e,t)=>{switch(t.type){case"ADD_TOAST":return{...e,toasts:[t.toast,...e.toasts].slice(0,1)};case"UPDATE_TOAST":return{...e,toasts:e.toasts.map(e=>e.id===t.toast.id?{...e,...t.toast}:e)};case"DISMISS_TOAST":{let{toastId:r}=t;return r?o(r):e.toasts.forEach(e=>{o(e.id)}),{...e,toasts:e.toasts.map(e=>e.id===r||void 0===r?{...e,open:!1}:e)}}case"REMOVE_TOAST":if(void 0===t.toastId)return{...e,toasts:[]};return{...e,toasts:e.toasts.filter(e=>e.id!==t.toastId)}}},l=[],c={toasts:[]};function u(e){c=i(c,e),l.forEach(e=>{e(c)})}function d(e){let{...t}=e,r=(n=(n+1)%Number.MAX_SAFE_INTEGER).toString(),s=()=>u({type:"DISMISS_TOAST",toastId:r});return u({type:"ADD_TOAST",toast:{...t,id:r,open:!0,onOpenChange:e=>{e||s()}}}),{id:r,dismiss:s,update:e=>u({type:"UPDATE_TOAST",toast:{...e,id:r}})}}function f(){let[e,t]=s.useState(c);return s.useEffect(()=>(l.push(t),()=>{let e=l.indexOf(t);e>-1&&l.splice(e,1)}),[e]),{...e,toast:d,dismiss:e=>u({type:"DISMISS_TOAST",toastId:e})}}},22250:(e,t,r)=>{"use strict";r.d(t,{cn:()=>a});var s=r(64901),n=r(868);function a(){for(var e=arguments.length,t=Array(e),r=0;r{"use strict";r.d(t,{A:()=>l});var s=r(20107);let n=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.indexOf(e)===t).join(" ")};var o={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,s.forwardRef)((e,t)=>{let{color:r="currentColor",size:n=24,strokeWidth:i=2,absoluteStrokeWidth:l,className:c="",children:u,iconNode:d,...f}=e;return(0,s.createElement)("svg",{ref:t,...o,width:n,height:n,stroke:r,strokeWidth:l?24*Number(i)/Number(n):i,className:a("lucide",c),...f},[...d.map(e=>{let[t,r]=e;return(0,s.createElement)(t,r)}),...Array.isArray(u)?u:[u]])}),l=(e,t)=>{let r=(0,s.forwardRef)((r,o)=>{let{className:l,...c}=r;return(0,s.createElement)(i,{ref:o,iconNode:t,className:a("lucide-".concat(n(e)),l),...c})});return r.displayName="".concat(e),r}},16118:(e,t,r)=>{"use strict";var s=r(65834);r.o(s,"usePathname")&&r.d(t,{usePathname:function(){return s.usePathname}}),r.o(s,"useRouter")&&r.d(t,{useRouter:function(){return s.useRouter}})},21840:(e,t,r)=>{"use strict";r.d(t,{b:()=>i});var s=r(20107),n=r(34544),a=r(20475),o=s.forwardRef((e,t)=>(0,a.jsx)(n.sG.label,{...e,ref:t,onMouseDown:t=>{var r;t.target.closest("button, input, select, textarea")||(null===(r=e.onMouseDown)||void 0===r||r.call(e,t),!t.defaultPrevented&&t.detail>1&&t.preventDefault())}}));o.displayName="Label";var i=o},34544:(e,t,r)=>{"use strict";r.d(t,{hO:()=>l,sG:()=>i});var s=r(20107),n=r(25642),a=r(61837),o=r(20475),i=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((e,t)=>{let r=s.forwardRef((e,r)=>{let{asChild:s,...n}=e,i=s?a.DX:t;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,o.jsx)(i,{...n,ref:r})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function l(e,t){e&&n.flushSync(()=>e.dispatchEvent(t))}},29395:(e,t,r)=>{"use strict";r.d(t,{F:()=>a});let s=e=>"boolean"==typeof e?"".concat(e):0===e?"0":e,n=function(){for(var e,t,r=0,s="";rr=>{var a;if((null==t?void 0:t.variants)==null)return n(e,null==r?void 0:r.class,null==r?void 0:r.className);let{variants:o,defaultVariants:i}=t,l=Object.keys(o).map(e=>{let t=null==r?void 0:r[e],n=null==i?void 0:i[e];if(null===t)return null;let a=s(t)||s(n);return o[e][a]}),c=r&&Object.entries(r).reduce((e,t)=>{let[r,s]=t;return void 0===s||(e[r]=s),e},{});return n(e,l,null==t?void 0:null===(a=t.compoundVariants)||void 0===a?void 0:a.reduce((e,t)=>{let{class:r,className:s,...n}=t;return Object.entries(n).every(e=>{let[t,r]=e;return Array.isArray(r)?r.includes({...i,...c}[t]):({...i,...c})[t]===r})?[...e,r,s]:e},[]),null==r?void 0:r.class,null==r?void 0:r.className)}}},e=>{var t=t=>e(e.s=t);e.O(0,[9980,7780,9477,191,6035,7358],()=>t(74674)),_N_E=e.O()}]); \ No newline at end of file diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/page-326b7ebc65edd149.js b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/page-326b7ebc65edd149.js deleted file mode 100644 index fb156f3..0000000 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/page-326b7ebc65edd149.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8974],{80827:(e,t,r)=>{Promise.resolve().then(r.bind(r,69363))},69363:(e,t,r)=>{"use strict";r.d(t,{default:()=>T});var a=r(20475),n=r(20107),s=r(90805),l=r(17255),o=r(4538),i=r(41797),d=r(98456),c=(0,s.gu)({chartName:"BarChart",GraphicalChild:l.y,defaultTooltipEventType:"axis",validateTooltipEventTypes:["axis","item"],axisComponents:[{axisType:"xAxis",AxisComp:o.W},{axisType:"yAxis",AxisComp:i.h}],formatAxisMap:d.pr}),u=r(72167),m=r(36760),f=r(42541),p=r(9477),x=r.n(p),h=r(1307),v=r(76554),g=r(7197),N=r(92159),y=r(86118);function b(){let{setTheme:e}=(0,N.D)();return(0,a.jsxs)(y.rI,{children:[(0,a.jsx)(y.ty,{asChild:!0,children:(0,a.jsxs)(f.$,{variant:"outline",size:"icon",children:[(0,a.jsx)(g.gLX,{className:"h-[1.2rem] w-[1.2rem] rotate-0 scale-100 transition-all dark:-rotate-90 dark:scale-0"}),(0,a.jsx)(g.rRK,{className:"absolute h-[1.2rem] w-[1.2rem] rotate-90 scale-0 transition-all dark:rotate-0 dark:scale-100"}),(0,a.jsx)("span",{className:"sr-only",children:"Toggle theme"})]})}),(0,a.jsxs)(y.SQ,{align:"end",children:[(0,a.jsx)(y._2,{onClick:()=>e("light"),children:"Light"}),(0,a.jsx)(y._2,{onClick:()=>e("dark"),children:"Dark"}),(0,a.jsx)(y._2,{onClick:()=>e("system"),children:"System"})]})]})}let j={rsrp:{min:-140,max:-70},rsrq:{min:-20,max:-10},sinr:{min:0,max:20}},w=(e,t)=>{let r=j[e];return Math.min(Math.max(Math.round(10*((Math.max(Math.min(t,r.max),r.min)-r.min)/(r.max-r.min)*100))/10,0),100)};var k=r(19546),R=r(46052);let S=e=>{if(!e)return null;let t=e.map(Number).filter(e=>-32768!==e&&5!==e&&-140!==e);return 0===t.length?null:Math.round(t.reduce((e,t)=>e+t,0)/t.length)};function T(){var e,t,r;let[s,d]=(0,n.useState)({rsrp:null,rsrq:null,sinr:null,networkType:"",bands:null,networkName:""}),[p,N]=(0,n.useState)(!0),y=(0,n.useRef)(null),{logout:j}=(0,k.A)(),{isServerAlive:T}=(0,R.A)();(0,n.useEffect)(()=>{T||j();let e=setInterval(async()=>{try{let e=await fetch("/cgi-bin/quecmanager/at_cmd/fetch_data.sh?set=5"),t=await e.json();if(console.log(t),t){let e={rsrp:S(t[0].response.match(/-?\d+/g)),rsrq:S(t[1].response.match(/-?\d+/g)),sinr:S(t[2].response.match(/-?\d+/g)),networkType:"",bands:null,networkName:""};console.log(e);let r=t[3].response.match(/"LTE BAND \d+"|"NR5G BAND \d+"/g),a=null==r?void 0:r.some(e=>e.includes("LTE")),n=null==r?void 0:r.some(e=>e.includes("NR5G"));e.networkType=a&&n?"NR5G-NSA":a?"LTE":n?"NR5G-SA":"No Signal";let s=null==r?void 0:r.map(e=>e.includes("LTE")?"B".concat(e.match(/\d+/)):e.includes("NR5G")?"N".concat(e.split(" ")[2].replace(/"/g,"").trim()):void 0);e.bands=s?s.join(", "):"No Signal",e.networkName=t[4].response.split("\n")[1].split(":")[1].split(",")[1].replace(/"/g,"").trim()||"No Signal",d(e),y.current=e}}catch(e){console.error("Error fetching stats:",e)}finally{p&&N(!1)}},2e3);return()=>clearInterval(e)},[p,T,j]);let C=[{activity:"rsrp",value:null!==s.rsrp?w("rsrp",s.rsrp):0,label:null!==s.rsrp?"".concat(s.rsrp.toFixed(1)," dBm"):"No Signal",fill:"hsl(var(--chart-1))"},{activity:"rsrq",value:null!==s.rsrq?w("rsrq",s.rsrq):0,label:null!==s.rsrq?"".concat(s.rsrq.toFixed(1)," dB"):"No Signal",fill:"hsl(var(--chart-2))"},{activity:"sinr",value:null!==s.sinr?w("sinr",s.sinr):0,label:null!==s.sinr?"".concat(s.sinr.toFixed(1)," dB"):"No Signal",fill:"hsl(var(--chart-3))"}];return(0,a.jsxs)(u.Zp,{className:"xl:max-w-xl xl:w-[800px] max-w-sm",children:[(0,a.jsx)(u.aR,{children:(0,a.jsxs)("div",{className:"flex flex-row justify-between items-center",children:[(0,a.jsx)(u.ZB,{children:"QuecManager Quick Stats"}),(0,a.jsx)(b,{})]})}),(0,a.jsxs)(u.Wu,{className:"flex flex-col gap-4",children:[(0,a.jsxs)("div",{className:"flex flex-row justify-evenly items-center w-full p-2 border-t border-b",children:[p?(0,a.jsx)(m.E,{className:"h-8 w-24"}):(0,a.jsx)("div",{children:s.networkName}),(0,a.jsx)(v.Separator,{orientation:"vertical",className:"mx-2 h-10 w-px"}),p?(0,a.jsx)(m.E,{className:"h-8 w-24"}):(0,a.jsx)("div",{children:s.networkType}),(0,a.jsx)(v.Separator,{orientation:"vertical",className:"mx-2 h-10 w-px"}),p?(0,a.jsx)(m.E,{className:"h-8 w-24"}):(0,a.jsx)("div",{children:s.bands})]}),(0,a.jsx)("div",{className:"flex gap-4 xl:p-4 p-2 pb-2",children:p?(0,a.jsx)(m.E,{className:"h-[140px] w-full"}):(0,a.jsx)(h.at,{config:{sinr:{label:"sinr",color:"hsl(var(--chart-1))"},rsrp:{label:"rsrp",color:"hsl(var(--chart-2))"},rsrq:{label:"rsrq",color:"hsl(var(--chart-3))"}},className:"h-[140px] w-full",children:(0,a.jsxs)(c,{margin:{left:0,right:0,top:0,bottom:10},data:C,layout:"vertical",barSize:32,barGap:2,children:[(0,a.jsx)(o.W,{type:"number",dataKey:"value",hide:!0}),(0,a.jsx)(i.h,{dataKey:"activity",type:"category",tickLine:!1,tickMargin:4,axisLine:!1,className:"uppercase"}),(0,a.jsx)(l.y,{dataKey:"value",radius:5})]})})})]}),(0,a.jsxs)(u.wL,{className:"flex flex-col gap-4",children:[(0,a.jsx)("div",{className:"flex flex-row border-t border-b xl:p-4 p-2 w-full",children:(0,a.jsxs)("div",{className:"flex w-full items-center gap-2",children:[(0,a.jsxs)("div",{className:"grid flex-1 auto-rows-min gap-0.5",children:[(0,a.jsx)("div",{className:"text-xs text-muted-foreground",children:"RSRP"}),p?(0,a.jsx)(m.E,{className:"h-8 w-24"}):(0,a.jsxs)("div",{className:"flex items-baseline gap-1 xl:text-2xl text-md font-bold tabular-nums leading-none",children:[null===(e=s.rsrp)||void 0===e?void 0:e.toFixed(1),(0,a.jsx)("span",{className:"text-sm font-normal text-muted-foreground",children:"dBm"})]})]}),(0,a.jsx)(v.Separator,{orientation:"vertical",className:"mx-2 h-10 w-px"}),(0,a.jsxs)("div",{className:"grid flex-1 auto-rows-min gap-0.5",children:[(0,a.jsx)("div",{className:"text-xs text-muted-foreground",children:"RSRQ"}),p?(0,a.jsx)(m.E,{className:"h-8 w-24"}):(0,a.jsxs)("div",{className:"flex items-baseline gap-1 xl:text-2xl text-md font-bold tabular-nums leading-none",children:[null===(t=s.rsrq)||void 0===t?void 0:t.toFixed(1),(0,a.jsx)("span",{className:"text-sm font-normal text-muted-foreground",children:"dB"})]})]}),(0,a.jsx)(v.Separator,{orientation:"vertical",className:"mx-2 h-10 w-px"}),(0,a.jsxs)("div",{className:"grid flex-1 auto-rows-min gap-0.5",children:[(0,a.jsx)("div",{className:"text-xs text-muted-foreground",children:"SINR"}),p?(0,a.jsx)(m.E,{className:"h-8 w-24"}):(0,a.jsxs)("div",{className:"flex items-baseline gap-1 xl:text-2xl text-md font-bold tabular-nums leading-none",children:[null===(r=s.sinr)||void 0===r?void 0:r.toFixed(1),(0,a.jsx)("span",{className:"text-sm font-normal text-muted-foreground",children:"dB"})]})]})]})}),(0,a.jsxs)("div",{className:"grid lg:grid-cols-2 grid-flow-row gap-4",children:[(0,a.jsx)(f.$,{asChild:!0,children:(0,a.jsxs)(x(),{href:"/login",children:["Login to QuecManager",(0,a.jsx)(g.flY,{className:"w-4 h-4"})]})}),(0,a.jsx)(f.$,{variant:"secondary",asChild:!0,children:(0,a.jsxs)("a",{href:"/cgi-bin/luci",children:["Login to Luci Interface",(0,a.jsx)(g.flY,{className:"w-4 h-4"})]})})]})]})]})}},42541:(e,t,r)=>{"use strict";r.d(t,{$:()=>d,r:()=>i});var a=r(20475),n=r(20107),s=r(61837),l=r(29395),o=r(22250);let i=(0,l.F)("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{variants:{variant:{default:"bg-primary text-primary-foreground shadow hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90",outline:"border border-input bg-background shadow-sm hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2",sm:"h-8 rounded-md px-3 text-xs",lg:"h-10 rounded-md px-8",icon:"h-9 w-9"}},defaultVariants:{variant:"default",size:"default"}}),d=n.forwardRef((e,t)=>{let{className:r,variant:n,size:l,asChild:d=!1,...c}=e,u=d?s.DX:"button";return(0,a.jsx)(u,{className:(0,o.cn)(i({variant:n,size:l,className:r})),ref:t,...c})});d.displayName="Button"},72167:(e,t,r)=>{"use strict";r.d(t,{BT:()=>d,Wu:()=>c,ZB:()=>i,Zp:()=>l,aR:()=>o,wL:()=>u});var a=r(20475),n=r(20107),s=r(22250);let l=n.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,a.jsx)("div",{ref:t,className:(0,s.cn)("rounded-xl border bg-card text-card-foreground shadow",r),...n})});l.displayName="Card";let o=n.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,a.jsx)("div",{ref:t,className:(0,s.cn)("flex flex-col space-y-1.5 p-6",r),...n})});o.displayName="CardHeader";let i=n.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,a.jsx)("h3",{ref:t,className:(0,s.cn)("font-semibold leading-none tracking-tight",r),...n})});i.displayName="CardTitle";let d=n.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,a.jsx)("p",{ref:t,className:(0,s.cn)("text-sm text-muted-foreground",r),...n})});d.displayName="CardDescription";let c=n.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,a.jsx)("div",{ref:t,className:(0,s.cn)("p-6 pt-0",r),...n})});c.displayName="CardContent";let u=n.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,a.jsx)("div",{ref:t,className:(0,s.cn)("flex items-center p-6 pt-0",r),...n})});u.displayName="CardFooter"},1307:(e,t,r)=>{"use strict";r.d(t,{II:()=>p,Nt:()=>x,at:()=>m});var a=r(20475),n=r(20107),s=r(81155),l=r(58601),o=r(58736),i=r(22250);let d={light:"",dark:".dark"},c=n.createContext(null);function u(){let e=n.useContext(c);if(!e)throw Error("useChart must be used within a ");return e}let m=n.forwardRef((e,t)=>{let{id:r,className:l,children:o,config:d,...u}=e,m=n.useId(),p="chart-".concat(r||m.replace(/:/g,""));return(0,a.jsx)(c.Provider,{value:{config:d},children:(0,a.jsxs)("div",{"data-chart":p,ref:t,className:(0,i.cn)("flex aspect-video justify-center text-xs [&_.recharts-cartesian-axis-tick_text]:fill-muted-foreground [&_.recharts-cartesian-grid_line[stroke='#ccc']]:stroke-border/50 [&_.recharts-curve.recharts-tooltip-cursor]:stroke-border [&_.recharts-dot[stroke='#fff']]:stroke-transparent [&_.recharts-layer]:outline-none [&_.recharts-polar-grid_[stroke='#ccc']]:stroke-border [&_.recharts-radial-bar-background-sector]:fill-muted [&_.recharts-rectangle.recharts-tooltip-cursor]:fill-muted [&_.recharts-reference-line_[stroke='#ccc']]:stroke-border [&_.recharts-sector[stroke='#fff']]:stroke-transparent [&_.recharts-sector]:outline-none [&_.recharts-surface]:outline-none",l),...u,children:[(0,a.jsx)(f,{id:p,config:d}),(0,a.jsx)(s.u,{children:o})]})})});m.displayName="Chart";let f=e=>{let{id:t,config:r}=e,n=Object.entries(r).filter(e=>{let[t,r]=e;return r.theme||r.color});return n.length?(0,a.jsx)("style",{dangerouslySetInnerHTML:{__html:Object.entries(d).map(e=>{let[r,a]=e;return"\n".concat(a," [data-chart=").concat(t,"] {\n").concat(n.map(e=>{var t;let[a,n]=e,s=(null===(t=n.theme)||void 0===t?void 0:t[r])||n.color;return s?" --color-".concat(a,": ").concat(s,";"):null}).join("\n"),"\n}\n")}).join("\n")}}):null},p=l.m,x=n.forwardRef((e,t)=>{let{active:r,payload:s,className:l,indicator:o="dot",hideLabel:d=!1,hideIndicator:c=!1,label:m,labelFormatter:f,labelClassName:p,formatter:x,color:v,nameKey:g,labelKey:N}=e,{config:y}=u(),b=n.useMemo(()=>{var e;if(d||!(null==s?void 0:s.length))return null;let[t]=s,r="".concat(N||t.dataKey||t.name||"value"),n=h(y,t,r),l=N||"string"!=typeof m?null==n?void 0:n.label:(null===(e=y[m])||void 0===e?void 0:e.label)||m;return f?(0,a.jsx)("div",{className:(0,i.cn)("font-medium",p),children:f(l,s)}):l?(0,a.jsx)("div",{className:(0,i.cn)("font-medium",p),children:l}):null},[m,f,s,d,p,y,N]);if(!r||!(null==s?void 0:s.length))return null;let j=1===s.length&&"dot"!==o;return(0,a.jsxs)("div",{ref:t,className:(0,i.cn)("grid min-w-[8rem] items-start gap-1.5 rounded-lg border border-border/50 bg-background px-2.5 py-1.5 text-xs shadow-xl",l),children:[j?null:b,(0,a.jsx)("div",{className:"grid gap-1.5",children:s.map((e,t)=>{let r="".concat(g||e.name||e.dataKey||"value"),n=h(y,e,r),s=v||e.payload.fill||e.color;return(0,a.jsx)("div",{className:(0,i.cn)("flex w-full flex-wrap items-stretch gap-2 [&>svg]:h-2.5 [&>svg]:w-2.5 [&>svg]:text-muted-foreground","dot"===o&&"items-center"),children:x&&(null==e?void 0:e.value)!==void 0&&e.name?x(e.value,e.name,e,t,e.payload):(0,a.jsxs)(a.Fragment,{children:[(null==n?void 0:n.icon)?(0,a.jsx)(n.icon,{}):!c&&(0,a.jsx)("div",{className:(0,i.cn)("shrink-0 rounded-[2px] border-[--color-border] bg-[--color-bg]",{"h-2.5 w-2.5":"dot"===o,"w-1":"line"===o,"w-0 border-[1.5px] border-dashed bg-transparent":"dashed"===o,"my-0.5":j&&"dashed"===o}),style:{"--color-bg":s,"--color-border":s}}),(0,a.jsxs)("div",{className:(0,i.cn)("flex flex-1 justify-between leading-none",j?"items-end":"items-center"),children:[(0,a.jsxs)("div",{className:"grid gap-1.5",children:[j?b:null,(0,a.jsx)("span",{className:"text-muted-foreground",children:(null==n?void 0:n.label)||e.name})]}),e.value&&(0,a.jsx)("span",{className:"font-mono font-medium tabular-nums text-foreground",children:e.value.toLocaleString()})]})]})},e.dataKey)})})]})});function h(e,t,r){if("object"!=typeof t||null===t)return;let a="payload"in t&&"object"==typeof t.payload&&null!==t.payload?t.payload:void 0,n=r;return r in t&&"string"==typeof t[r]?n=t[r]:a&&r in a&&"string"==typeof a[r]&&(n=a[r]),n in e?e[n]:e[r]}x.displayName="ChartTooltip",o.s,n.forwardRef((e,t)=>{let{className:r,hideIcon:n=!1,payload:s,verticalAlign:l="bottom",nameKey:o}=e,{config:d}=u();return(null==s?void 0:s.length)?(0,a.jsx)("div",{ref:t,className:(0,i.cn)("flex items-center justify-center gap-4","top"===l?"pb-3":"pt-3",r),children:s.map(e=>{let t="".concat(o||e.dataKey||"value"),r=h(d,e,t);return(0,a.jsxs)("div",{className:(0,i.cn)("flex items-center gap-1.5 [&>svg]:h-3 [&>svg]:w-3 [&>svg]:text-muted-foreground"),children:[(null==r?void 0:r.icon)&&!n?(0,a.jsx)(r.icon,{}):(0,a.jsx)("div",{className:"h-2 w-2 shrink-0 rounded-[2px]",style:{backgroundColor:e.color}}),null==r?void 0:r.label]},e.value)})}):null}).displayName="ChartLegend"},86118:(e,t,r)=>{"use strict";r.d(t,{SQ:()=>c,_2:()=>u,lp:()=>m,mB:()=>f,rI:()=>i,ty:()=>d});var a=r(20475),n=r(20107),s=r(77536),l=r(7197),o=r(22250);let i=s.bL,d=s.l9;s.YJ,s.ZL,s.Pb,s.z6,n.forwardRef((e,t)=>{let{className:r,inset:n,children:i,...d}=e;return(0,a.jsxs)(s.ZP,{ref:t,className:(0,o.cn)("flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent data-[state=open]:bg-accent",n&&"pl-8",r),...d,children:[i,(0,a.jsx)(l.vKP,{className:"ml-auto h-4 w-4"})]})}).displayName=s.ZP.displayName,n.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,a.jsx)(s.G5,{ref:t,className:(0,o.cn)("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",r),...n})}).displayName=s.G5.displayName;let c=n.forwardRef((e,t)=>{let{className:r,sideOffset:n=4,...l}=e;return(0,a.jsx)(s.ZL,{children:(0,a.jsx)(s.UC,{ref:t,sideOffset:n,className:(0,o.cn)("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md","data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",r),...l})})});c.displayName=s.UC.displayName;let u=n.forwardRef((e,t)=>{let{className:r,inset:n,...l}=e;return(0,a.jsx)(s.q7,{ref:t,className:(0,o.cn)("relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",n&&"pl-8",r),...l})});u.displayName=s.q7.displayName,n.forwardRef((e,t)=>{let{className:r,children:n,checked:i,...d}=e;return(0,a.jsxs)(s.H_,{ref:t,className:(0,o.cn)("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",r),checked:i,...d,children:[(0,a.jsx)("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:(0,a.jsx)(s.VF,{children:(0,a.jsx)(l.Srz,{className:"h-4 w-4"})})}),n]})}).displayName=s.H_.displayName,n.forwardRef((e,t)=>{let{className:r,children:n,...i}=e;return(0,a.jsxs)(s.hN,{ref:t,className:(0,o.cn)("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",r),...i,children:[(0,a.jsx)("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:(0,a.jsx)(s.VF,{children:(0,a.jsx)(l.RiX,{className:"h-4 w-4 fill-current"})})}),n]})}).displayName=s.hN.displayName;let m=n.forwardRef((e,t)=>{let{className:r,inset:n,...l}=e;return(0,a.jsx)(s.JU,{ref:t,className:(0,o.cn)("px-2 py-1.5 text-sm font-semibold",n&&"pl-8",r),...l})});m.displayName=s.JU.displayName;let f=n.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,a.jsx)(s.wv,{ref:t,className:(0,o.cn)("-mx-1 my-1 h-px bg-muted",r),...n})});f.displayName=s.wv.displayName},76554:(e,t,r)=>{"use strict";r.d(t,{Separator:()=>o});var a=r(20475),n=r(20107),s=r(88853),l=r(22250);let o=n.forwardRef((e,t)=>{let{className:r,orientation:n="horizontal",decorative:o=!0,...i}=e;return(0,a.jsx)(s.b,{ref:t,decorative:o,orientation:n,className:(0,l.cn)("shrink-0 bg-border","horizontal"===n?"h-[1px] w-full":"h-full w-[1px]",r),...i})});o.displayName=s.b.displayName},36760:(e,t,r)=>{"use strict";r.d(t,{E:()=>s});var a=r(20475),n=r(22250);function s(e){let{className:t,...r}=e;return(0,a.jsx)("div",{className:(0,n.cn)("animate-pulse rounded-md bg-primary/10",t),...r})}},19546:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});var a=r(20107),n=r(16118);function s(){let[e,t]=(0,a.useState)(!1),r=(0,n.useRouter)();function s(e){let t={token:e,lastActivity:Date.now(),expiresAt:Date.now()+18e5};localStorage.setItem("session",JSON.stringify(t))}async function l(){localStorage.removeItem("session"),t(!1),fetch("/cgi-bin/quecmanager/logout.sh",{method:"POST",headers:{"Content-Type":"application/json",Authorization:"".concat(localStorage.getItem("authToken"))}}),localStorage.removeItem("authToken"),r.push("/")}function o(){let e=function(){let e=function(){let e=localStorage.getItem("session");if(!e)return null;try{return JSON.parse(e)}catch(e){return null}}();if(!e)return!1;let t=Date.now();return t>e.expiresAt?(l(),!1):(t-e.lastActivity>3e5&&s(e.token),!0)}();return t(e),e}return(0,a.useEffect)(()=>{o()},[]),{isAuthenticated:e,login:async function(e){let a=encodeURIComponent(e);try{let e=await fetch("/cgi-bin/quecmanager/auth.sh",{method:"POST",headers:{"Content-Type":"application/json"},body:"password=".concat(a)}),n=await e.json();if(console.log(n),"success"!==n.state)return!1;{(null==n?void 0:n.token)&&localStorage.setItem("authToken",n.token);let e=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:32,t="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789";return Array.from(crypto.getRandomValues(new Uint8Array(e))).map(e=>t[e%t.length]).join("")}();return s(e),t(!0),r.push("/dashboard/home"),!0}}catch(e){return console.error("Login error:",e),!1}},logout:l,checkAuth:o}}},46052:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});var a=r(20107),n=r(19546);let s=()=>{let[e,t]=(0,a.useState)(!0),{logout:r}=(0,n.A)();async function s(){try{let e=await fetch("/cgi-bin/quecmanager/heartbeat.sh",{method:"GET",headers:{"Cache-Control":"no-cache"}});if(!e.ok){l();return}(await e.json()).alive?t(!0):l()}catch(e){l()}}function l(){t(!1),r()}return(0,a.useEffect)(()=>{let e=setInterval(s,5e3);return()=>{clearInterval(e)}},[]),{isServerAlive:e}}},22250:(e,t,r)=>{"use strict";r.d(t,{cn:()=>s});var a=r(64901),n=r(868);function s(){for(var e=arguments.length,t=Array(e),r=0;r{"use strict";r.d(t,{C:()=>l});var a=r(20107),n=r(64236),s=r(54122),l=e=>{let{present:t,children:r}=e,l=function(e){var t,r;let[n,l]=a.useState(),i=a.useRef({}),d=a.useRef(e),c=a.useRef("none"),[u,m]=(t=e?"mounted":"unmounted",r={mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}},a.useReducer((e,t)=>{let a=r[e][t];return null!=a?a:e},t));return a.useEffect(()=>{let e=o(i.current);c.current="mounted"===u?e:"none"},[u]),(0,s.N)(()=>{let t=i.current,r=d.current;if(r!==e){let a=c.current,n=o(t);e?m("MOUNT"):"none"===n||(null==t?void 0:t.display)==="none"?m("UNMOUNT"):r&&a!==n?m("ANIMATION_OUT"):m("UNMOUNT"),d.current=e}},[e,m]),(0,s.N)(()=>{if(n){var e;let t;let r=null!==(e=n.ownerDocument.defaultView)&&void 0!==e?e:window,a=e=>{let a=o(i.current).includes(e.animationName);if(e.target===n&&a&&(m("ANIMATION_END"),!d.current)){let e=n.style.animationFillMode;n.style.animationFillMode="forwards",t=r.setTimeout(()=>{"forwards"===n.style.animationFillMode&&(n.style.animationFillMode=e)})}},s=e=>{e.target===n&&(c.current=o(i.current))};return n.addEventListener("animationstart",s),n.addEventListener("animationcancel",a),n.addEventListener("animationend",a),()=>{r.clearTimeout(t),n.removeEventListener("animationstart",s),n.removeEventListener("animationcancel",a),n.removeEventListener("animationend",a)}}m("ANIMATION_END")},[n,m]),{isPresent:["mounted","unmountSuspended"].includes(u),ref:a.useCallback(e=>{e&&(i.current=getComputedStyle(e)),l(e)},[])}}(t),i="function"==typeof r?r({present:l.isPresent}):a.Children.only(r),d=(0,n.s)(l.ref,function(e){var t,r;let a=null===(t=Object.getOwnPropertyDescriptor(e.props,"ref"))||void 0===t?void 0:t.get,n=a&&"isReactWarning"in a&&a.isReactWarning;return n?e.ref:(n=(a=null===(r=Object.getOwnPropertyDescriptor(e,"ref"))||void 0===r?void 0:r.get)&&"isReactWarning"in a&&a.isReactWarning)?e.props.ref:e.props.ref||e.ref}(i));return"function"==typeof r||l.isPresent?a.cloneElement(i,{ref:d}):null};function o(e){return(null==e?void 0:e.animationName)||"none"}l.displayName="Presence"},88853:(e,t,r)=>{"use strict";r.d(t,{b:()=>d});var a=r(20107),n=r(34544),s=r(20475),l="horizontal",o=["horizontal","vertical"],i=a.forwardRef((e,t)=>{let{decorative:r,orientation:a=l,...i}=e,d=o.includes(a)?a:l;return(0,s.jsx)(n.sG.div,{"data-orientation":d,...r?{role:"none"}:{"aria-orientation":"vertical"===d?d:void 0,role:"separator"},...i,ref:t})});i.displayName="Separator";var d=i}},e=>{var t=t=>e(e.s=t);e.O(0,[9980,7780,8885,3746,9464,9477,2682,1074,9873,191,6035,7358],()=>t(80827)),_N_E=e.O()}]); \ No newline at end of file diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/page-8f440c28891052af.js b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/page-8f440c28891052af.js new file mode 100644 index 0000000..1e0bb44 --- /dev/null +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/page-8f440c28891052af.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8974],{80827:(e,t,r)=>{Promise.resolve().then(r.bind(r,69363))},69363:(e,t,r)=>{"use strict";r.d(t,{default:()=>S});var a=r(20475),n=r(20107),s=r(90805),l=r(17255),o=r(4538),i=r(41797),d=r(98456),c=(0,s.gu)({chartName:"BarChart",GraphicalChild:l.y,defaultTooltipEventType:"axis",validateTooltipEventTypes:["axis","item"],axisComponents:[{axisType:"xAxis",AxisComp:o.W},{axisType:"yAxis",AxisComp:i.h}],formatAxisMap:d.pr}),u=r(72167),m=r(36760),f=r(42541),p=r(9477),x=r.n(p),h=r(1307),g=r(76554),v=r(7197),N=r(92159),y=r(86118);function b(){let{setTheme:e}=(0,N.D)();return(0,a.jsxs)(y.rI,{children:[(0,a.jsx)(y.ty,{asChild:!0,children:(0,a.jsxs)(f.$,{variant:"outline",size:"icon",children:[(0,a.jsx)(v.gLX,{className:"h-[1.2rem] w-[1.2rem] rotate-0 scale-100 transition-all dark:-rotate-90 dark:scale-0"}),(0,a.jsx)(v.rRK,{className:"absolute h-[1.2rem] w-[1.2rem] rotate-90 scale-0 transition-all dark:rotate-0 dark:scale-100"}),(0,a.jsx)("span",{className:"sr-only",children:"Toggle theme"})]})}),(0,a.jsxs)(y.SQ,{align:"end",children:[(0,a.jsx)(y._2,{onClick:()=>e("light"),children:"Light"}),(0,a.jsx)(y._2,{onClick:()=>e("dark"),children:"Dark"}),(0,a.jsx)(y._2,{onClick:()=>e("system"),children:"System"})]})]})}let j={rsrp:{min:-140,max:-70},rsrq:{min:-20,max:-10},sinr:{min:0,max:20}},w=(e,t)=>{let r=j[e];return Math.min(Math.max(Math.round(10*((Math.max(Math.min(t,r.max),r.min)-r.min)/(r.max-r.min)*100))/10,0),100)};var k=r(19546);let R=e=>{if(!e)return null;let t=e.map(Number).filter(e=>-32768!==e&&5!==e&&-140!==e);return 0===t.length?null:Math.round(t.reduce((e,t)=>e+t,0)/t.length)};function S(){var e,t,r;let[s,d]=(0,n.useState)({rsrp:null,rsrq:null,sinr:null,networkType:"",bands:null,networkName:""}),[p,N]=(0,n.useState)(!0),y=(0,n.useRef)(null),{logout:j}=(0,k.A)();(0,n.useEffect)(()=>{let e=setInterval(async()=>{try{let e=await fetch("/cgi-bin/quecmanager/at_cmd/fetch_data.sh?set=5"),t=await e.json();if(console.log(t),t){let e={rsrp:R(t[0].response.match(/-?\d+/g)),rsrq:R(t[1].response.match(/-?\d+/g)),sinr:R(t[2].response.match(/-?\d+/g)),networkType:"",bands:null,networkName:""};console.log(e);let r=t[3].response.match(/"LTE BAND \d+"|"NR5G BAND \d+"/g),a=null==r?void 0:r.some(e=>e.includes("LTE")),n=null==r?void 0:r.some(e=>e.includes("NR5G"));e.networkType=a&&n?"NR5G-NSA":a?"LTE":n?"NR5G-SA":"No Signal";let s=null==r?void 0:r.map(e=>e.includes("LTE")?"B".concat(e.match(/\d+/)):e.includes("NR5G")?"N".concat(e.split(" ")[2].replace(/"/g,"").trim()):void 0);e.bands=s?s.join(", "):"No Signal",e.networkName=t[4].response.split("\n")[1].split(":")[1].split(",")[1].replace(/"/g,"").trim()||"No Signal",d(e),y.current=e}}catch(e){console.error("Error fetching stats:",e)}finally{p&&N(!1)}},2e3);return()=>clearInterval(e)},[p,j]);let S=[{activity:"rsrp",value:null!==s.rsrp?w("rsrp",s.rsrp):0,label:null!==s.rsrp?"".concat(s.rsrp.toFixed(1)," dBm"):"No Signal",fill:"hsl(var(--chart-1))"},{activity:"rsrq",value:null!==s.rsrq?w("rsrq",s.rsrq):0,label:null!==s.rsrq?"".concat(s.rsrq.toFixed(1)," dB"):"No Signal",fill:"hsl(var(--chart-2))"},{activity:"sinr",value:null!==s.sinr?w("sinr",s.sinr):0,label:null!==s.sinr?"".concat(s.sinr.toFixed(1)," dB"):"No Signal",fill:"hsl(var(--chart-3))"}];return(0,a.jsxs)(u.Zp,{className:"xl:max-w-xl xl:w-[800px] max-w-sm",children:[(0,a.jsx)(u.aR,{children:(0,a.jsxs)("div",{className:"flex flex-row justify-between items-center",children:[(0,a.jsx)(u.ZB,{children:"QuecManager Quick Stats"}),(0,a.jsx)(b,{})]})}),(0,a.jsxs)(u.Wu,{className:"flex flex-col gap-4",children:[(0,a.jsxs)("div",{className:"flex flex-row justify-evenly items-center w-full p-2 border-t border-b",children:[p?(0,a.jsx)(m.E,{className:"h-8 w-24"}):(0,a.jsx)("div",{children:s.networkName}),(0,a.jsx)(g.Separator,{orientation:"vertical",className:"mx-2 h-10 w-px"}),p?(0,a.jsx)(m.E,{className:"h-8 w-24"}):(0,a.jsx)("div",{children:s.networkType}),(0,a.jsx)(g.Separator,{orientation:"vertical",className:"mx-2 h-10 w-px"}),p?(0,a.jsx)(m.E,{className:"h-8 w-24"}):(0,a.jsx)("div",{children:s.bands})]}),(0,a.jsx)("div",{className:"flex gap-4 xl:p-4 p-2 pb-2",children:p?(0,a.jsx)(m.E,{className:"h-[140px] w-full"}):(0,a.jsx)(h.at,{config:{sinr:{label:"sinr",color:"hsl(var(--chart-1))"},rsrp:{label:"rsrp",color:"hsl(var(--chart-2))"},rsrq:{label:"rsrq",color:"hsl(var(--chart-3))"}},className:"h-[140px] w-full",children:(0,a.jsxs)(c,{margin:{left:0,right:0,top:0,bottom:10},data:S,layout:"vertical",barSize:32,barGap:2,children:[(0,a.jsx)(o.W,{type:"number",dataKey:"value",hide:!0}),(0,a.jsx)(i.h,{dataKey:"activity",type:"category",tickLine:!1,tickMargin:4,axisLine:!1,className:"uppercase"}),(0,a.jsx)(l.y,{dataKey:"value",radius:5})]})})})]}),(0,a.jsxs)(u.wL,{className:"flex flex-col gap-4",children:[(0,a.jsx)("div",{className:"flex flex-row border-t border-b xl:p-4 p-2 w-full",children:(0,a.jsxs)("div",{className:"flex w-full items-center gap-2",children:[(0,a.jsxs)("div",{className:"grid flex-1 auto-rows-min gap-0.5",children:[(0,a.jsx)("div",{className:"text-xs text-muted-foreground",children:"RSRP"}),p?(0,a.jsx)(m.E,{className:"h-8 w-24"}):(0,a.jsxs)("div",{className:"flex items-baseline gap-1 xl:text-2xl text-md font-bold tabular-nums leading-none",children:[null===(e=s.rsrp)||void 0===e?void 0:e.toFixed(1),(0,a.jsx)("span",{className:"text-sm font-normal text-muted-foreground",children:"dBm"})]})]}),(0,a.jsx)(g.Separator,{orientation:"vertical",className:"mx-2 h-10 w-px"}),(0,a.jsxs)("div",{className:"grid flex-1 auto-rows-min gap-0.5",children:[(0,a.jsx)("div",{className:"text-xs text-muted-foreground",children:"RSRQ"}),p?(0,a.jsx)(m.E,{className:"h-8 w-24"}):(0,a.jsxs)("div",{className:"flex items-baseline gap-1 xl:text-2xl text-md font-bold tabular-nums leading-none",children:[null===(t=s.rsrq)||void 0===t?void 0:t.toFixed(1),(0,a.jsx)("span",{className:"text-sm font-normal text-muted-foreground",children:"dB"})]})]}),(0,a.jsx)(g.Separator,{orientation:"vertical",className:"mx-2 h-10 w-px"}),(0,a.jsxs)("div",{className:"grid flex-1 auto-rows-min gap-0.5",children:[(0,a.jsx)("div",{className:"text-xs text-muted-foreground",children:"SINR"}),p?(0,a.jsx)(m.E,{className:"h-8 w-24"}):(0,a.jsxs)("div",{className:"flex items-baseline gap-1 xl:text-2xl text-md font-bold tabular-nums leading-none",children:[null===(r=s.sinr)||void 0===r?void 0:r.toFixed(1),(0,a.jsx)("span",{className:"text-sm font-normal text-muted-foreground",children:"dB"})]})]})]})}),(0,a.jsxs)("div",{className:"grid lg:grid-cols-2 grid-flow-row gap-4",children:[(0,a.jsx)(f.$,{asChild:!0,children:(0,a.jsxs)(x(),{href:"/login",children:["Login to QuecManager",(0,a.jsx)(v.flY,{className:"w-4 h-4"})]})}),(0,a.jsx)(f.$,{variant:"secondary",asChild:!0,children:(0,a.jsxs)("a",{href:"/cgi-bin/luci",children:["Login to Luci Interface",(0,a.jsx)(v.flY,{className:"w-4 h-4"})]})})]})]})]})}},42541:(e,t,r)=>{"use strict";r.d(t,{$:()=>d,r:()=>i});var a=r(20475),n=r(20107),s=r(61837),l=r(29395),o=r(22250);let i=(0,l.F)("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{variants:{variant:{default:"bg-primary text-primary-foreground shadow hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90",outline:"border border-input bg-background shadow-sm hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2",sm:"h-8 rounded-md px-3 text-xs",lg:"h-10 rounded-md px-8",icon:"h-9 w-9"}},defaultVariants:{variant:"default",size:"default"}}),d=n.forwardRef((e,t)=>{let{className:r,variant:n,size:l,asChild:d=!1,...c}=e,u=d?s.DX:"button";return(0,a.jsx)(u,{className:(0,o.cn)(i({variant:n,size:l,className:r})),ref:t,...c})});d.displayName="Button"},72167:(e,t,r)=>{"use strict";r.d(t,{BT:()=>d,Wu:()=>c,ZB:()=>i,Zp:()=>l,aR:()=>o,wL:()=>u});var a=r(20475),n=r(20107),s=r(22250);let l=n.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,a.jsx)("div",{ref:t,className:(0,s.cn)("rounded-xl border bg-card text-card-foreground shadow",r),...n})});l.displayName="Card";let o=n.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,a.jsx)("div",{ref:t,className:(0,s.cn)("flex flex-col space-y-1.5 p-6",r),...n})});o.displayName="CardHeader";let i=n.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,a.jsx)("h3",{ref:t,className:(0,s.cn)("font-semibold leading-none tracking-tight",r),...n})});i.displayName="CardTitle";let d=n.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,a.jsx)("p",{ref:t,className:(0,s.cn)("text-sm text-muted-foreground",r),...n})});d.displayName="CardDescription";let c=n.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,a.jsx)("div",{ref:t,className:(0,s.cn)("p-6 pt-0",r),...n})});c.displayName="CardContent";let u=n.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,a.jsx)("div",{ref:t,className:(0,s.cn)("flex items-center p-6 pt-0",r),...n})});u.displayName="CardFooter"},1307:(e,t,r)=>{"use strict";r.d(t,{II:()=>p,Nt:()=>x,at:()=>m});var a=r(20475),n=r(20107),s=r(81155),l=r(58601),o=r(58736),i=r(22250);let d={light:"",dark:".dark"},c=n.createContext(null);function u(){let e=n.useContext(c);if(!e)throw Error("useChart must be used within a ");return e}let m=n.forwardRef((e,t)=>{let{id:r,className:l,children:o,config:d,...u}=e,m=n.useId(),p="chart-".concat(r||m.replace(/:/g,""));return(0,a.jsx)(c.Provider,{value:{config:d},children:(0,a.jsxs)("div",{"data-chart":p,ref:t,className:(0,i.cn)("flex aspect-video justify-center text-xs [&_.recharts-cartesian-axis-tick_text]:fill-muted-foreground [&_.recharts-cartesian-grid_line[stroke='#ccc']]:stroke-border/50 [&_.recharts-curve.recharts-tooltip-cursor]:stroke-border [&_.recharts-dot[stroke='#fff']]:stroke-transparent [&_.recharts-layer]:outline-none [&_.recharts-polar-grid_[stroke='#ccc']]:stroke-border [&_.recharts-radial-bar-background-sector]:fill-muted [&_.recharts-rectangle.recharts-tooltip-cursor]:fill-muted [&_.recharts-reference-line_[stroke='#ccc']]:stroke-border [&_.recharts-sector[stroke='#fff']]:stroke-transparent [&_.recharts-sector]:outline-none [&_.recharts-surface]:outline-none",l),...u,children:[(0,a.jsx)(f,{id:p,config:d}),(0,a.jsx)(s.u,{children:o})]})})});m.displayName="Chart";let f=e=>{let{id:t,config:r}=e,n=Object.entries(r).filter(e=>{let[t,r]=e;return r.theme||r.color});return n.length?(0,a.jsx)("style",{dangerouslySetInnerHTML:{__html:Object.entries(d).map(e=>{let[r,a]=e;return"\n".concat(a," [data-chart=").concat(t,"] {\n").concat(n.map(e=>{var t;let[a,n]=e,s=(null===(t=n.theme)||void 0===t?void 0:t[r])||n.color;return s?" --color-".concat(a,": ").concat(s,";"):null}).join("\n"),"\n}\n")}).join("\n")}}):null},p=l.m,x=n.forwardRef((e,t)=>{let{active:r,payload:s,className:l,indicator:o="dot",hideLabel:d=!1,hideIndicator:c=!1,label:m,labelFormatter:f,labelClassName:p,formatter:x,color:g,nameKey:v,labelKey:N}=e,{config:y}=u(),b=n.useMemo(()=>{var e;if(d||!(null==s?void 0:s.length))return null;let[t]=s,r="".concat(N||t.dataKey||t.name||"value"),n=h(y,t,r),l=N||"string"!=typeof m?null==n?void 0:n.label:(null===(e=y[m])||void 0===e?void 0:e.label)||m;return f?(0,a.jsx)("div",{className:(0,i.cn)("font-medium",p),children:f(l,s)}):l?(0,a.jsx)("div",{className:(0,i.cn)("font-medium",p),children:l}):null},[m,f,s,d,p,y,N]);if(!r||!(null==s?void 0:s.length))return null;let j=1===s.length&&"dot"!==o;return(0,a.jsxs)("div",{ref:t,className:(0,i.cn)("grid min-w-[8rem] items-start gap-1.5 rounded-lg border border-border/50 bg-background px-2.5 py-1.5 text-xs shadow-xl",l),children:[j?null:b,(0,a.jsx)("div",{className:"grid gap-1.5",children:s.map((e,t)=>{let r="".concat(v||e.name||e.dataKey||"value"),n=h(y,e,r),s=g||e.payload.fill||e.color;return(0,a.jsx)("div",{className:(0,i.cn)("flex w-full flex-wrap items-stretch gap-2 [&>svg]:h-2.5 [&>svg]:w-2.5 [&>svg]:text-muted-foreground","dot"===o&&"items-center"),children:x&&(null==e?void 0:e.value)!==void 0&&e.name?x(e.value,e.name,e,t,e.payload):(0,a.jsxs)(a.Fragment,{children:[(null==n?void 0:n.icon)?(0,a.jsx)(n.icon,{}):!c&&(0,a.jsx)("div",{className:(0,i.cn)("shrink-0 rounded-[2px] border-[--color-border] bg-[--color-bg]",{"h-2.5 w-2.5":"dot"===o,"w-1":"line"===o,"w-0 border-[1.5px] border-dashed bg-transparent":"dashed"===o,"my-0.5":j&&"dashed"===o}),style:{"--color-bg":s,"--color-border":s}}),(0,a.jsxs)("div",{className:(0,i.cn)("flex flex-1 justify-between leading-none",j?"items-end":"items-center"),children:[(0,a.jsxs)("div",{className:"grid gap-1.5",children:[j?b:null,(0,a.jsx)("span",{className:"text-muted-foreground",children:(null==n?void 0:n.label)||e.name})]}),e.value&&(0,a.jsx)("span",{className:"font-mono font-medium tabular-nums text-foreground",children:e.value.toLocaleString()})]})]})},e.dataKey)})})]})});function h(e,t,r){if("object"!=typeof t||null===t)return;let a="payload"in t&&"object"==typeof t.payload&&null!==t.payload?t.payload:void 0,n=r;return r in t&&"string"==typeof t[r]?n=t[r]:a&&r in a&&"string"==typeof a[r]&&(n=a[r]),n in e?e[n]:e[r]}x.displayName="ChartTooltip",o.s,n.forwardRef((e,t)=>{let{className:r,hideIcon:n=!1,payload:s,verticalAlign:l="bottom",nameKey:o}=e,{config:d}=u();return(null==s?void 0:s.length)?(0,a.jsx)("div",{ref:t,className:(0,i.cn)("flex items-center justify-center gap-4","top"===l?"pb-3":"pt-3",r),children:s.map(e=>{let t="".concat(o||e.dataKey||"value"),r=h(d,e,t);return(0,a.jsxs)("div",{className:(0,i.cn)("flex items-center gap-1.5 [&>svg]:h-3 [&>svg]:w-3 [&>svg]:text-muted-foreground"),children:[(null==r?void 0:r.icon)&&!n?(0,a.jsx)(r.icon,{}):(0,a.jsx)("div",{className:"h-2 w-2 shrink-0 rounded-[2px]",style:{backgroundColor:e.color}}),null==r?void 0:r.label]},e.value)})}):null}).displayName="ChartLegend"},86118:(e,t,r)=>{"use strict";r.d(t,{SQ:()=>c,_2:()=>u,lp:()=>m,mB:()=>f,rI:()=>i,ty:()=>d});var a=r(20475),n=r(20107),s=r(77536),l=r(7197),o=r(22250);let i=s.bL,d=s.l9;s.YJ,s.ZL,s.Pb,s.z6,n.forwardRef((e,t)=>{let{className:r,inset:n,children:i,...d}=e;return(0,a.jsxs)(s.ZP,{ref:t,className:(0,o.cn)("flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent data-[state=open]:bg-accent",n&&"pl-8",r),...d,children:[i,(0,a.jsx)(l.vKP,{className:"ml-auto h-4 w-4"})]})}).displayName=s.ZP.displayName,n.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,a.jsx)(s.G5,{ref:t,className:(0,o.cn)("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",r),...n})}).displayName=s.G5.displayName;let c=n.forwardRef((e,t)=>{let{className:r,sideOffset:n=4,...l}=e;return(0,a.jsx)(s.ZL,{children:(0,a.jsx)(s.UC,{ref:t,sideOffset:n,className:(0,o.cn)("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md","data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",r),...l})})});c.displayName=s.UC.displayName;let u=n.forwardRef((e,t)=>{let{className:r,inset:n,...l}=e;return(0,a.jsx)(s.q7,{ref:t,className:(0,o.cn)("relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",n&&"pl-8",r),...l})});u.displayName=s.q7.displayName,n.forwardRef((e,t)=>{let{className:r,children:n,checked:i,...d}=e;return(0,a.jsxs)(s.H_,{ref:t,className:(0,o.cn)("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",r),checked:i,...d,children:[(0,a.jsx)("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:(0,a.jsx)(s.VF,{children:(0,a.jsx)(l.Srz,{className:"h-4 w-4"})})}),n]})}).displayName=s.H_.displayName,n.forwardRef((e,t)=>{let{className:r,children:n,...i}=e;return(0,a.jsxs)(s.hN,{ref:t,className:(0,o.cn)("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",r),...i,children:[(0,a.jsx)("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:(0,a.jsx)(s.VF,{children:(0,a.jsx)(l.RiX,{className:"h-4 w-4 fill-current"})})}),n]})}).displayName=s.hN.displayName;let m=n.forwardRef((e,t)=>{let{className:r,inset:n,...l}=e;return(0,a.jsx)(s.JU,{ref:t,className:(0,o.cn)("px-2 py-1.5 text-sm font-semibold",n&&"pl-8",r),...l})});m.displayName=s.JU.displayName;let f=n.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,a.jsx)(s.wv,{ref:t,className:(0,o.cn)("-mx-1 my-1 h-px bg-muted",r),...n})});f.displayName=s.wv.displayName},76554:(e,t,r)=>{"use strict";r.d(t,{Separator:()=>o});var a=r(20475),n=r(20107),s=r(88853),l=r(22250);let o=n.forwardRef((e,t)=>{let{className:r,orientation:n="horizontal",decorative:o=!0,...i}=e;return(0,a.jsx)(s.b,{ref:t,decorative:o,orientation:n,className:(0,l.cn)("shrink-0 bg-border","horizontal"===n?"h-[1px] w-full":"h-full w-[1px]",r),...i})});o.displayName=s.b.displayName},36760:(e,t,r)=>{"use strict";r.d(t,{E:()=>s});var a=r(20475),n=r(22250);function s(e){let{className:t,...r}=e;return(0,a.jsx)("div",{className:(0,n.cn)("animate-pulse rounded-md bg-primary/10",t),...r})}},19546:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});var a=r(20107),n=r(16118);function s(){let[e,t]=(0,a.useState)(!1),r=(0,n.useRouter)();function s(e){let t={token:e,lastActivity:Date.now(),expiresAt:Date.now()+18e5};localStorage.setItem("session",JSON.stringify(t))}async function l(){localStorage.removeItem("session"),t(!1),fetch("/cgi-bin/quecmanager/logout.sh",{method:"POST",headers:{"Content-Type":"application/json",Authorization:"".concat(localStorage.getItem("authToken"))}}),localStorage.removeItem("authToken"),r.push("/")}function o(){let e=function(){let e=function(){let e=localStorage.getItem("session");if(!e)return null;try{return JSON.parse(e)}catch(e){return null}}();if(!e)return!1;let t=Date.now();return t>e.expiresAt?(l(),!1):(t-e.lastActivity>3e5&&s(e.token),!0)}();return t(e),e}return(0,a.useEffect)(()=>{o()},[]),{isAuthenticated:e,login:async function(e){let a=encodeURIComponent(e);try{let e=await fetch("/cgi-bin/quecmanager/auth.sh",{method:"POST",headers:{"Content-Type":"application/json"},body:"password=".concat(a)}),n=await e.json();if(console.log(n),"success"!==n.state)return!1;{(null==n?void 0:n.token)&&localStorage.setItem("authToken",n.token);let e=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:32,t="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789";return Array.from(crypto.getRandomValues(new Uint8Array(e))).map(e=>t[e%t.length]).join("")}();return s(e),t(!0),r.push("/dashboard/home"),!0}}catch(e){return console.error("Login error:",e),!1}},logout:l,checkAuth:o}}},22250:(e,t,r)=>{"use strict";r.d(t,{cn:()=>s});var a=r(64901),n=r(868);function s(){for(var e=arguments.length,t=Array(e),r=0;r{"use strict";r.d(t,{C:()=>l});var a=r(20107),n=r(64236),s=r(54122),l=e=>{let{present:t,children:r}=e,l=function(e){var t,r;let[n,l]=a.useState(),i=a.useRef({}),d=a.useRef(e),c=a.useRef("none"),[u,m]=(t=e?"mounted":"unmounted",r={mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}},a.useReducer((e,t)=>{let a=r[e][t];return null!=a?a:e},t));return a.useEffect(()=>{let e=o(i.current);c.current="mounted"===u?e:"none"},[u]),(0,s.N)(()=>{let t=i.current,r=d.current;if(r!==e){let a=c.current,n=o(t);e?m("MOUNT"):"none"===n||(null==t?void 0:t.display)==="none"?m("UNMOUNT"):r&&a!==n?m("ANIMATION_OUT"):m("UNMOUNT"),d.current=e}},[e,m]),(0,s.N)(()=>{if(n){var e;let t;let r=null!==(e=n.ownerDocument.defaultView)&&void 0!==e?e:window,a=e=>{let a=o(i.current).includes(e.animationName);if(e.target===n&&a&&(m("ANIMATION_END"),!d.current)){let e=n.style.animationFillMode;n.style.animationFillMode="forwards",t=r.setTimeout(()=>{"forwards"===n.style.animationFillMode&&(n.style.animationFillMode=e)})}},s=e=>{e.target===n&&(c.current=o(i.current))};return n.addEventListener("animationstart",s),n.addEventListener("animationcancel",a),n.addEventListener("animationend",a),()=>{r.clearTimeout(t),n.removeEventListener("animationstart",s),n.removeEventListener("animationcancel",a),n.removeEventListener("animationend",a)}}m("ANIMATION_END")},[n,m]),{isPresent:["mounted","unmountSuspended"].includes(u),ref:a.useCallback(e=>{e&&(i.current=getComputedStyle(e)),l(e)},[])}}(t),i="function"==typeof r?r({present:l.isPresent}):a.Children.only(r),d=(0,n.s)(l.ref,function(e){var t,r;let a=null===(t=Object.getOwnPropertyDescriptor(e.props,"ref"))||void 0===t?void 0:t.get,n=a&&"isReactWarning"in a&&a.isReactWarning;return n?e.ref:(n=(a=null===(r=Object.getOwnPropertyDescriptor(e,"ref"))||void 0===r?void 0:r.get)&&"isReactWarning"in a&&a.isReactWarning)?e.props.ref:e.props.ref||e.ref}(i));return"function"==typeof r||l.isPresent?a.cloneElement(i,{ref:d}):null};function o(e){return(null==e?void 0:e.animationName)||"none"}l.displayName="Presence"},88853:(e,t,r)=>{"use strict";r.d(t,{b:()=>d});var a=r(20107),n=r(34544),s=r(20475),l="horizontal",o=["horizontal","vertical"],i=a.forwardRef((e,t)=>{let{decorative:r,orientation:a=l,...i}=e,d=o.includes(a)?a:l;return(0,s.jsx)(n.sG.div,{"data-orientation":d,...r?{role:"none"}:{"aria-orientation":"vertical"===d?d:void 0,role:"separator"},...i,ref:t})});i.displayName="Separator";var d=i}},e=>{var t=t=>e(e.s=t);e.O(0,[9980,7780,8885,3746,9464,9477,2682,1074,9873,191,6035,7358],()=>t(80827)),_N_E=e.O()}]); \ No newline at end of file diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/css/b43dda0a8d427715.css b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/css/b43dda0a8d427715.css new file mode 100644 index 0000000..b93aef4 --- /dev/null +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/css/b43dda0a8d427715.css @@ -0,0 +1,3 @@ +*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }/* +! tailwindcss v3.4.13 | MIT License | https://tailwindcss.com +*/*,:after,:before{box-sizing:border-box;border:0 solid #e5e7eb}:after,:before{--tw-content:""}:host,html{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}:root{--background:0 0% 100%;--foreground:224 71.4% 4.1%;--card:0 0% 100%;--card-foreground:224 71.4% 4.1%;--popover:0 0% 100%;--popover-foreground:224 71.4% 4.1%;--primary:262.1 83.3% 57.8%;--primary-foreground:210 20% 98%;--secondary:220 14.3% 95.9%;--secondary-foreground:220.9 39.3% 11%;--muted:220 14.3% 95.9%;--muted-foreground:220 8.9% 46.1%;--accent:220 14.3% 95.9%;--accent-foreground:220.9 39.3% 11%;--destructive:0 84.2% 60.2%;--destructive-foreground:210 20% 98%;--border:220 13% 91%;--input:220 13% 91%;--ring:262.1 83.3% 57.8%;--radius:0.5rem;--chart-1:12 76% 61%;--chart-2:173 58% 39%;--chart-3:197 37% 24%;--chart-4:43 74% 66%;--chart-5:27 87% 67%}.dark{--background:224 71.4% 4.1%;--foreground:210 20% 98%;--card:224 71.4% 4.1%;--card-foreground:210 20% 98%;--popover:224 71.4% 4.1%;--popover-foreground:210 20% 98%;--primary:263.4 70% 50.4%;--primary-foreground:210 20% 98%;--secondary:215 27.9% 16.9%;--secondary-foreground:210 20% 98%;--muted:215 27.9% 16.9%;--muted-foreground:217.9 10.6% 64.9%;--accent:215 27.9% 16.9%;--accent-foreground:210 20% 98%;--destructive:0 62.8% 30.6%;--destructive-foreground:210 20% 98%;--border:215 27.9% 16.9%;--input:215 27.9% 16.9%;--ring:263.4 70% 50.4%;--chart-1:220 70% 50%;--chart-2:160 60% 45%;--chart-3:30 80% 55%;--chart-4:280 65% 60%;--chart-5:340 75% 55%}*{border-color:hsl(var(--border))}body{background-color:hsl(var(--background));color:hsl(var(--foreground))}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.pointer-events-none{pointer-events:none}.pointer-events-auto{pointer-events:auto}.visible{visibility:visible}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.sticky{position:sticky}.inset-0{inset:0}.inset-x-0{left:0;right:0}.inset-y-0{top:0;bottom:0}.-bottom-12{bottom:-3rem}.-left-12{left:-3rem}.-left-8{left:-2rem}.-right-12{right:-3rem}.-top-12{top:-3rem}.-top-8{top:-2rem}.bottom-0{bottom:0}.left-0{left:0}.left-1\/2{left:50%}.left-2{left:.5rem}.left-3{left:.75rem}.left-\[50\%\]{left:50%}.right-0{right:0}.right-1{right:.25rem}.right-2{right:.5rem}.right-3{right:.75rem}.right-4{right:1rem}.top-0{top:0}.top-1{top:.25rem}.top-1\/2{top:50%}.top-2{top:.5rem}.top-4{top:1rem}.top-\[50\%\]{top:50%}.top-full{top:100%}.z-10{z-index:10}.z-50{z-index:50}.z-\[100\]{z-index:100}.col-span-1{grid-column:span 1/span 1}.col-span-2{grid-column:span 2/span 2}.col-span-3{grid-column:span 3/span 3}.col-span-8{grid-column:span 8/span 8}.row-start-2{grid-row-start:2}.-mx-1{margin-left:-.25rem;margin-right:-.25rem}.mx-1{margin-left:.25rem;margin-right:.25rem}.mx-2{margin-left:.5rem;margin-right:.5rem}.mx-auto{margin-left:auto;margin-right:auto}.my-0\.5{margin-top:.125rem;margin-bottom:.125rem}.my-1{margin-top:.25rem;margin-bottom:.25rem}.my-2{margin-top:.5rem;margin-bottom:.5rem}.my-4{margin-top:1rem;margin-bottom:1rem}.-ml-4{margin-left:-1rem}.-mr-2{margin-right:-.5rem}.-mt-4{margin-top:-1rem}.mb-1{margin-bottom:.25rem}.mb-2{margin-bottom:.5rem}.mb-3{margin-bottom:.75rem}.mb-4{margin-bottom:1rem}.mb-6{margin-bottom:1.5rem}.mb-8{margin-bottom:2rem}.ml-1{margin-left:.25rem}.ml-2{margin-left:.5rem}.ml-4{margin-left:1rem}.ml-6{margin-left:1.5rem}.ml-auto{margin-left:auto}.mr-1{margin-right:.25rem}.mr-1\.5{margin-right:.375rem}.mr-2{margin-right:.5rem}.mr-4{margin-right:1rem}.mt-1{margin-top:.25rem}.mt-12{margin-top:3rem}.mt-2{margin-top:.5rem}.mt-24{margin-top:6rem}.mt-3{margin-top:.75rem}.mt-4{margin-top:1rem}.mt-6{margin-top:1.5rem}.mt-8{margin-top:2rem}.mt-auto{margin-top:auto}.line-clamp-3{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3}.block{display:block}.flex{display:flex}.inline-flex{display:inline-flex}.table{display:table}.grid{display:grid}.hidden{display:none}.aspect-auto{aspect-ratio:auto}.aspect-square{aspect-ratio:1/1}.aspect-video{aspect-ratio:16/9}.size-12{width:3rem;height:3rem}.size-16{width:4rem;height:4rem}.size-32{width:8rem;height:8rem}.size-36{width:9rem;height:9rem}.size-4{width:1rem;height:1rem}.size-5{width:1.25rem;height:1.25rem}.size-6{width:1.5rem;height:1.5rem}.size-8{width:2rem;height:2rem}.size-full{width:100%;height:100%}.h-10{height:2.5rem}.h-12{height:3rem}.h-16{height:4rem}.h-2{height:.5rem}.h-2\.5{height:.625rem}.h-24{height:6rem}.h-3{height:.75rem}.h-3\.5{height:.875rem}.h-32{height:8rem}.h-36{height:9rem}.h-4{height:1rem}.h-44{height:11rem}.h-5{height:1.25rem}.h-6{height:1.5rem}.h-64{height:16rem}.h-72{height:18rem}.h-8{height:2rem}.h-9{height:2.25rem}.h-96{height:24rem}.h-\[1\.2rem\]{height:1.2rem}.h-\[140px\]{height:140px}.h-\[18px\]{height:18px}.h-\[1px\]{height:1px}.h-\[200px\]{height:200px}.h-\[250px\]{height:250px}.h-\[400px\]{height:400px}.h-\[500px\]{height:500px}.h-\[600px\]{height:600px}.h-\[var\(--radix-select-trigger-height\)\]{height:var(--radix-select-trigger-height)}.h-auto{height:auto}.h-full{height:100%}.h-px{height:1px}.max-h-96{max-height:24rem}.max-h-\[200px\]{max-height:200px}.max-h-\[300px\]{max-height:300px}.max-h-screen{max-height:100vh}.min-h-\[300px\]{min-height:300px}.min-h-\[60px\]{min-height:60px}.min-h-\[calc\(100vh_-_theme\(spacing\.16\)\)\]{min-height:calc(100vh - 4rem)}.min-h-screen{min-height:100vh}.min-h-svh{min-height:100svh}.w-0{width:0}.w-1{width:.25rem}.w-10{width:2.5rem}.w-12{width:3rem}.w-16{width:4rem}.w-2{width:.5rem}.w-2\.5{width:.625rem}.w-20{width:5rem}.w-24{width:6rem}.w-28{width:7rem}.w-3{width:.75rem}.w-3\.5{width:.875rem}.w-3\/4{width:75%}.w-32{width:8rem}.w-36{width:9rem}.w-4{width:1rem}.w-40{width:10rem}.w-48{width:12rem}.w-5{width:1.25rem}.w-6{width:1.5rem}.w-64{width:16rem}.w-72{width:18rem}.w-8{width:2rem}.w-9{width:2.25rem}.w-\[1\.2rem\]{width:1.2rem}.w-\[100px\]{width:100px}.w-\[140px\]{width:140px}.w-\[180px\]{width:180px}.w-\[18px\]{width:18px}.w-\[1px\]{width:1px}.w-\[200px\]{width:200px}.w-\[300px\]{width:300px}.w-\[50px\]{width:50px}.w-\[80px\]{width:80px}.w-auto{width:auto}.w-full{width:100%}.w-px{width:1px}.min-w-0{min-width:0}.min-w-10{min-width:2.5rem}.min-w-8{min-width:2rem}.min-w-9{min-width:2.25rem}.min-w-\[8rem\]{min-width:8rem}.min-w-\[var\(--radix-select-trigger-width\)\]{min-width:var(--radix-select-trigger-width)}.max-w-10{max-width:2.5rem}.max-w-2xl{max-width:42rem}.max-w-32{max-width:8rem}.max-w-4xl{max-width:56rem}.max-w-6{max-width:1.5rem}.max-w-6xl{max-width:72rem}.max-w-lg{max-width:32rem}.max-w-md{max-width:28rem}.max-w-sm{max-width:24rem}.max-w-xs{max-width:20rem}.flex-1{flex:1 1 0%}.flex-shrink-0,.shrink-0{flex-shrink:0}.flex-grow{flex-grow:1}.grow-0{flex-grow:0}.basis-full{flex-basis:100%}.caption-bottom{caption-side:bottom}.-translate-x-1\/2{--tw-translate-x:-50%}.-translate-x-1\/2,.-translate-y-1\/2{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-1\/2{--tw-translate-y:-50%}.translate-x-\[-50\%\]{--tw-translate-x:-50%}.translate-x-\[-50\%\],.translate-y-\[-50\%\]{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-y-\[-50\%\]{--tw-translate-y:-50%}.rotate-0{--tw-rotate:0deg}.rotate-0,.rotate-90{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-90{--tw-rotate:90deg}.scale-0{--tw-scale-x:0;--tw-scale-y:0}.scale-0,.scale-100{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scale-100{--tw-scale-x:1;--tw-scale-y:1}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes pulse{50%{opacity:.5}}.animate-pulse{animation:pulse 2s cubic-bezier(.4,0,.6,1) infinite}@keyframes spin{to{transform:rotate(1turn)}}.animate-spin{animation:spin 1s linear infinite}.cursor-default{cursor:default}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.touch-none{touch-action:none}.select-none{user-select:none}.list-inside{list-style-position:inside}.list-decimal{list-style-type:decimal}.list-disc{list-style-type:disc}.grid-flow-row{grid-auto-flow:row}.auto-rows-min{grid-auto-rows:min-content}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.grid-rows-\[20px_1fr_20px\]{grid-template-rows:20px 1fr 20px}.flex-row{flex-direction:row}.flex-col{flex-direction:column}.flex-col-reverse{flex-direction:column-reverse}.flex-wrap{flex-wrap:wrap}.place-items-center{place-items:center}.items-start{align-items:flex-start}.items-end{align-items:flex-end}.items-center{align-items:center}.items-baseline{align-items:baseline}.items-stretch{align-items:stretch}.justify-start{justify-content:flex-start}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.justify-evenly{justify-content:space-evenly}.justify-items-center{justify-items:center}.gap-0\.5{gap:.125rem}.gap-1{gap:.25rem}.gap-1\.5{gap:.375rem}.gap-16{gap:4rem}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.gap-5{gap:1.25rem}.gap-6{gap:1.5rem}.gap-8{gap:2rem}.gap-px{gap:1px}.gap-x-1{column-gap:.25rem}.gap-x-2{column-gap:.5rem}.gap-x-4{column-gap:1rem}.gap-x-8{column-gap:2rem}.gap-y-1{row-gap:.25rem}.gap-y-2{row-gap:.5rem}.gap-y-5{row-gap:1.25rem}.gap-y-6{row-gap:1.5rem}.gap-y-8{row-gap:2rem}.space-x-1>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-right:calc(.25rem * var(--tw-space-x-reverse));margin-left:calc(.25rem * calc(1 - var(--tw-space-x-reverse)))}.space-x-1\.5>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-right:calc(.375rem * var(--tw-space-x-reverse));margin-left:calc(.375rem * calc(1 - var(--tw-space-x-reverse)))}.space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-right:calc(.5rem * var(--tw-space-x-reverse));margin-left:calc(.5rem * calc(1 - var(--tw-space-x-reverse)))}.space-x-3>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-right:calc(.75rem * var(--tw-space-x-reverse));margin-left:calc(.75rem * calc(1 - var(--tw-space-x-reverse)))}.space-x-4>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-right:calc(1rem * var(--tw-space-x-reverse));margin-left:calc(1rem * calc(1 - var(--tw-space-x-reverse)))}.space-y-0>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(0px * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(0px * var(--tw-space-y-reverse))}.space-y-0\.5>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(.125rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.125rem * var(--tw-space-y-reverse))}.space-y-1>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(.25rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.25rem * var(--tw-space-y-reverse))}.space-y-1\.5>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(.375rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.375rem * var(--tw-space-y-reverse))}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.5rem * var(--tw-space-y-reverse))}.space-y-3>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(.75rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.75rem * var(--tw-space-y-reverse))}.space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(1rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem * var(--tw-space-y-reverse))}.space-y-6>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(1.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1.5rem * var(--tw-space-y-reverse))}.space-y-8>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(2rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(2rem * var(--tw-space-y-reverse))}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.overflow-x-hidden{overflow-x:hidden}.truncate{overflow:hidden;text-overflow:ellipsis}.truncate,.whitespace-nowrap{white-space:nowrap}.whitespace-pre-line{white-space:pre-line}.whitespace-pre-wrap{white-space:pre-wrap}.break-words{overflow-wrap:break-word}.rounded{border-radius:.25rem}.rounded-\[2px\]{border-radius:2px}.rounded-\[inherit\]{border-radius:inherit}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:var(--radius)}.rounded-md{border-radius:calc(var(--radius) - 2px)}.rounded-sm{border-radius:calc(var(--radius) - 4px)}.rounded-xl{border-radius:.75rem}.rounded-e-lg{border-start-end-radius:var(--radius);border-end-end-radius:var(--radius)}.rounded-e-none{border-start-end-radius:0;border-end-end-radius:0}.rounded-s-lg{border-start-start-radius:var(--radius);border-end-start-radius:var(--radius)}.rounded-s-none{border-start-start-radius:0;border-end-start-radius:0}.rounded-t-\[10px\]{border-top-left-radius:10px;border-top-right-radius:10px}.border{border-width:1px}.border-2{border-width:2px}.border-4{border-width:4px}.border-\[1\.5px\]{border-width:1.5px}.border-b{border-bottom-width:1px}.border-l{border-left-width:1px}.border-r{border-right-width:1px}.border-r-0{border-right-width:0}.border-t{border-top-width:1px}.border-dashed{border-style:dashed}.border-none{border-style:none}.border-\[--color-border\]{border-color:var(--color-border)}.border-blue-200{--tw-border-opacity:1;border-color:rgb(191 219 254/var(--tw-border-opacity))}.border-blue-500{--tw-border-opacity:1;border-color:rgb(59 130 246/var(--tw-border-opacity))}.border-border\/50{border-color:hsl(var(--border)/.5)}.border-destructive{border-color:hsl(var(--destructive))}.border-destructive\/50{border-color:hsl(var(--destructive)/.5)}.border-gray-200{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity))}.border-gray-300{--tw-border-opacity:1;border-color:rgb(209 213 219/var(--tw-border-opacity))}.border-gray-500{--tw-border-opacity:1;border-color:rgb(107 114 128/var(--tw-border-opacity))}.border-green-200{--tw-border-opacity:1;border-color:rgb(187 247 208/var(--tw-border-opacity))}.border-green-500{--tw-border-opacity:1;border-color:rgb(34 197 94/var(--tw-border-opacity))}.border-input{border-color:hsl(var(--input))}.border-orange-200{--tw-border-opacity:1;border-color:rgb(254 215 170/var(--tw-border-opacity))}.border-orange-500{--tw-border-opacity:1;border-color:rgb(249 115 22/var(--tw-border-opacity))}.border-primary{border-color:hsl(var(--primary))}.border-purple-200{--tw-border-opacity:1;border-color:rgb(233 213 255/var(--tw-border-opacity))}.border-red-200{--tw-border-opacity:1;border-color:rgb(254 202 202/var(--tw-border-opacity))}.border-red-500{--tw-border-opacity:1;border-color:rgb(239 68 68/var(--tw-border-opacity))}.border-teal-200{--tw-border-opacity:1;border-color:rgb(153 246 228/var(--tw-border-opacity))}.border-transparent{border-color:transparent}.border-yellow-200{--tw-border-opacity:1;border-color:rgb(254 240 138/var(--tw-border-opacity))}.border-l-transparent{border-left-color:transparent}.border-t-transparent{border-top-color:transparent}.bg-\[--color-bg\]{background-color:var(--color-bg)}.bg-accent{background-color:hsl(var(--accent))}.bg-background{background-color:hsl(var(--background))}.bg-black{--tw-bg-opacity:1;background-color:rgb(0 0 0/var(--tw-bg-opacity))}.bg-black\/80{background-color:rgba(0,0,0,.8)}.bg-blue-100{--tw-bg-opacity:1;background-color:rgb(219 234 254/var(--tw-bg-opacity))}.bg-blue-50{--tw-bg-opacity:1;background-color:rgb(239 246 255/var(--tw-bg-opacity))}.bg-blue-500{--tw-bg-opacity:1;background-color:rgb(59 130 246/var(--tw-bg-opacity))}.bg-blue-600{--tw-bg-opacity:1;background-color:rgb(37 99 235/var(--tw-bg-opacity))}.bg-border{background-color:hsl(var(--border))}.bg-card{background-color:hsl(var(--card))}.bg-destructive{background-color:hsl(var(--destructive))}.bg-emerald-500{--tw-bg-opacity:1;background-color:rgb(16 185 129/var(--tw-bg-opacity))}.bg-emerald-600{--tw-bg-opacity:1;background-color:rgb(5 150 105/var(--tw-bg-opacity))}.bg-foreground\/20{background-color:hsl(var(--foreground)/.2)}.bg-gray-100{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.bg-gray-200{--tw-bg-opacity:1;background-color:rgb(229 231 235/var(--tw-bg-opacity))}.bg-gray-50{--tw-bg-opacity:1;background-color:rgb(249 250 251/var(--tw-bg-opacity))}.bg-gray-500{--tw-bg-opacity:1;background-color:rgb(107 114 128/var(--tw-bg-opacity))}.bg-gray-600{--tw-bg-opacity:1;background-color:rgb(75 85 99/var(--tw-bg-opacity))}.bg-gray-700{--tw-bg-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity))}.bg-gray-800{--tw-bg-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity))}.bg-gray-900{--tw-bg-opacity:1;background-color:rgb(17 24 39/var(--tw-bg-opacity))}.bg-green-100{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.bg-green-50{--tw-bg-opacity:1;background-color:rgb(240 253 244/var(--tw-bg-opacity))}.bg-green-500{--tw-bg-opacity:1;background-color:rgb(34 197 94/var(--tw-bg-opacity))}.bg-muted{background-color:hsl(var(--muted))}.bg-muted\/30{background-color:hsl(var(--muted)/.3)}.bg-muted\/40{background-color:hsl(var(--muted)/.4)}.bg-muted\/50{background-color:hsl(var(--muted)/.5)}.bg-orange-100{--tw-bg-opacity:1;background-color:rgb(255 237 213/var(--tw-bg-opacity))}.bg-orange-500{--tw-bg-opacity:1;background-color:rgb(249 115 22/var(--tw-bg-opacity))}.bg-orange-600{--tw-bg-opacity:1;background-color:rgb(234 88 12/var(--tw-bg-opacity))}.bg-popover{background-color:hsl(var(--popover))}.bg-primary{background-color:hsl(var(--primary))}.bg-primary\/10{background-color:hsl(var(--primary)/.1)}.bg-primary\/20{background-color:hsl(var(--primary)/.2)}.bg-purple-100{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.bg-red-100{--tw-bg-opacity:1;background-color:rgb(254 226 226/var(--tw-bg-opacity))}.bg-red-50{--tw-bg-opacity:1;background-color:rgb(254 242 242/var(--tw-bg-opacity))}.bg-red-500{--tw-bg-opacity:1;background-color:rgb(239 68 68/var(--tw-bg-opacity))}.bg-rose-500{--tw-bg-opacity:1;background-color:rgb(244 63 94/var(--tw-bg-opacity))}.bg-secondary{background-color:hsl(var(--secondary))}.bg-slate-100{--tw-bg-opacity:1;background-color:rgb(241 245 249/var(--tw-bg-opacity))}.bg-teal-100{--tw-bg-opacity:1;background-color:rgb(204 251 241/var(--tw-bg-opacity))}.bg-transparent{background-color:transparent}.bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity))}.bg-yellow-50{--tw-bg-opacity:1;background-color:rgb(254 252 232/var(--tw-bg-opacity))}.bg-yellow-500{--tw-bg-opacity:1;background-color:rgb(234 179 8/var(--tw-bg-opacity))}.bg-opacity-50{--tw-bg-opacity:0.5}.fill-current{fill:currentColor}.object-cover{object-fit:cover}.p-0{padding:0}.p-1{padding:.25rem}.p-2{padding:.5rem}.p-3{padding:.75rem}.p-4{padding:1rem}.p-6{padding:1.5rem}.p-8{padding:2rem}.p-\[1px\]{padding:1px}.px-0{padding-left:0;padding-right:0}.px-1{padding-left:.25rem;padding-right:.25rem}.px-1\.5{padding-left:.375rem;padding-right:.375rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-2\.5{padding-left:.625rem;padding-right:.625rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.px-8{padding-left:2rem;padding-right:2rem}.py-0\.5{padding-top:.125rem;padding-bottom:.125rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-1\.5{padding-top:.375rem;padding-bottom:.375rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.py-4{padding-top:1rem;padding-bottom:1rem}.py-5{padding-top:1.25rem;padding-bottom:1.25rem}.py-6{padding-top:1.5rem;padding-bottom:1.5rem}.py-8{padding-top:2rem;padding-bottom:2rem}.py-\[9px\]{padding-top:9px;padding-bottom:9px}.pb-2{padding-bottom:.5rem}.pb-20{padding-bottom:5rem}.pb-3{padding-bottom:.75rem}.pb-4{padding-bottom:1rem}.pl-10{padding-left:2.5rem}.pl-2{padding-left:.5rem}.pl-2\.5{padding-left:.625rem}.pl-4{padding-left:1rem}.pl-8{padding-left:2rem}.pr-2{padding-right:.5rem}.pr-2\.5{padding-right:.625rem}.pr-4{padding-right:1rem}.pr-6{padding-right:1.5rem}.pr-8{padding-right:2rem}.pt-0{padding-top:0}.pt-2{padding-top:.5rem}.pt-3{padding-top:.75rem}.pt-4{padding-top:1rem}.pt-6{padding-top:1.5rem}.pt-8{padding-top:2rem}.text-left{text-align:left}.text-center{text-align:center}.text-right{text-align:right}.align-middle{vertical-align:middle}.font-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.text-2xl{font-size:1.5rem;line-height:2rem}.text-3xl{font-size:1.875rem;line-height:2.25rem}.text-\[0\.8rem\]{font-size:.8rem}.text-\[3rem\]{font-size:3rem}.text-base{font-size:1rem;line-height:1.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.font-medium{font-weight:500}.font-normal{font-weight:400}.font-semibold{font-weight:600}.uppercase{text-transform:uppercase}.italic{font-style:italic}.tabular-nums{--tw-numeric-spacing:tabular-nums;font-variant-numeric:var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction)}.leading-none{line-height:1}.leading-relaxed{line-height:1.625}.leading-tight{line-height:1.25}.tracking-tight{letter-spacing:-.025em}.tracking-wide{letter-spacing:.025em}.tracking-widest{letter-spacing:.1em}.text-amber-500{--tw-text-opacity:1;color:rgb(245 158 11/var(--tw-text-opacity))}.text-blue-500{--tw-text-opacity:1;color:rgb(59 130 246/var(--tw-text-opacity))}.text-blue-600{--tw-text-opacity:1;color:rgb(37 99 235/var(--tw-text-opacity))}.text-blue-800{--tw-text-opacity:1;color:rgb(30 64 175/var(--tw-text-opacity))}.text-card-foreground{color:hsl(var(--card-foreground))}.text-current{color:currentColor}.text-destructive{color:hsl(var(--destructive))}.text-destructive-foreground{color:hsl(var(--destructive-foreground))}.text-emerald-500{--tw-text-opacity:1;color:rgb(16 185 129/var(--tw-text-opacity))}.text-foreground{color:hsl(var(--foreground))}.text-foreground\/50{color:hsl(var(--foreground)/.5)}.text-gray-400{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.text-gray-500{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.text-gray-600{--tw-text-opacity:1;color:rgb(75 85 99/var(--tw-text-opacity))}.text-gray-700{--tw-text-opacity:1;color:rgb(55 65 81/var(--tw-text-opacity))}.text-gray-800{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.text-gray-900{--tw-text-opacity:1;color:rgb(17 24 39/var(--tw-text-opacity))}.text-green-400{--tw-text-opacity:1;color:rgb(74 222 128/var(--tw-text-opacity))}.text-green-500{--tw-text-opacity:1;color:rgb(34 197 94/var(--tw-text-opacity))}.text-green-600{--tw-text-opacity:1;color:rgb(22 163 74/var(--tw-text-opacity))}.text-green-700{--tw-text-opacity:1;color:rgb(21 128 61/var(--tw-text-opacity))}.text-green-800{--tw-text-opacity:1;color:rgb(22 101 52/var(--tw-text-opacity))}.text-muted{color:hsl(var(--muted))}.text-muted-foreground{color:hsl(var(--muted-foreground))}.text-orange-500{--tw-text-opacity:1;color:rgb(249 115 22/var(--tw-text-opacity))}.text-orange-600{--tw-text-opacity:1;color:rgb(234 88 12/var(--tw-text-opacity))}.text-orange-800{--tw-text-opacity:1;color:rgb(154 52 18/var(--tw-text-opacity))}.text-popover-foreground{color:hsl(var(--popover-foreground))}.text-primary{color:hsl(var(--primary))}.text-primary-foreground{color:hsl(var(--primary-foreground))}.text-purple-600{--tw-text-opacity:1;color:rgb(147 51 234/var(--tw-text-opacity))}.text-purple-800{--tw-text-opacity:1;color:rgb(107 33 168/var(--tw-text-opacity))}.text-red-500{--tw-text-opacity:1;color:rgb(239 68 68/var(--tw-text-opacity))}.text-red-600{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.text-red-700{--tw-text-opacity:1;color:rgb(185 28 28/var(--tw-text-opacity))}.text-red-800{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.text-rose-500{--tw-text-opacity:1;color:rgb(244 63 94/var(--tw-text-opacity))}.text-rose-600{--tw-text-opacity:1;color:rgb(225 29 72/var(--tw-text-opacity))}.text-secondary-foreground{color:hsl(var(--secondary-foreground))}.text-teal-500{--tw-text-opacity:1;color:rgb(20 184 166/var(--tw-text-opacity))}.text-teal-800{--tw-text-opacity:1;color:rgb(17 94 89/var(--tw-text-opacity))}.text-violet-500{--tw-text-opacity:1;color:rgb(139 92 246/var(--tw-text-opacity))}.text-violet-600{--tw-text-opacity:1;color:rgb(124 58 237/var(--tw-text-opacity))}.text-white{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}.text-yellow-500{--tw-text-opacity:1;color:rgb(234 179 8/var(--tw-text-opacity))}.text-yellow-600{--tw-text-opacity:1;color:rgb(202 138 4/var(--tw-text-opacity))}.text-yellow-800{--tw-text-opacity:1;color:rgb(133 77 14/var(--tw-text-opacity))}.underline{text-decoration-line:underline}.underline-offset-4{text-underline-offset:4px}.antialiased{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.opacity-0{opacity:0}.opacity-100{opacity:1}.opacity-50{opacity:.5}.opacity-60{opacity:.6}.opacity-70{opacity:.7}.opacity-90{opacity:.9}.shadow{--tw-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color)}.shadow,.shadow-lg{box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.shadow-lg{--tw-shadow:0 10px 15px -3px rgba(0,0,0,.1),0 4px 6px -4px rgba(0,0,0,.1);--tw-shadow-colored:0 10px 15px -3px var(--tw-shadow-color),0 4px 6px -4px var(--tw-shadow-color)}.shadow-md{--tw-shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -2px rgba(0,0,0,.1);--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color),0 2px 4px -2px var(--tw-shadow-color)}.shadow-md,.shadow-sm{box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.shadow-sm{--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color)}.shadow-xl{--tw-shadow:0 20px 25px -5px rgba(0,0,0,.1),0 8px 10px -6px rgba(0,0,0,.1);--tw-shadow-colored:0 20px 25px -5px var(--tw-shadow-color),0 8px 10px -6px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.outline-none{outline:2px solid transparent;outline-offset:2px}.outline{outline-style:solid}.ring-0{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.ring-offset-background{--tw-ring-offset-color:hsl(var(--background))}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-transform{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-100{transition-duration:.1s}.duration-200{transition-duration:.2s}.duration-300{transition-duration:.3s}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}@keyframes enter{0%{opacity:var(--tw-enter-opacity,1);transform:translate3d(var(--tw-enter-translate-x,0),var(--tw-enter-translate-y,0),0) scale3d(var(--tw-enter-scale,1),var(--tw-enter-scale,1),var(--tw-enter-scale,1)) rotate(var(--tw-enter-rotate,0))}}@keyframes exit{to{opacity:var(--tw-exit-opacity,1);transform:translate3d(var(--tw-exit-translate-x,0),var(--tw-exit-translate-y,0),0) scale3d(var(--tw-exit-scale,1),var(--tw-exit-scale,1),var(--tw-exit-scale,1)) rotate(var(--tw-exit-rotate,0))}}.animate-in{animation-name:enter;animation-duration:.15s;--tw-enter-opacity:initial;--tw-enter-scale:initial;--tw-enter-rotate:initial;--tw-enter-translate-x:initial;--tw-enter-translate-y:initial}.fade-in-0{--tw-enter-opacity:0}.zoom-in-95{--tw-enter-scale:.95}.duration-100{animation-duration:.1s}.duration-200{animation-duration:.2s}.duration-300{animation-duration:.3s}.ease-in-out{animation-timing-function:cubic-bezier(.4,0,.2,1)}.running{animation-play-state:running}.paused{animation-play-state:paused}.text-balance{text-wrap:balance}.\[appearance\:textfield\]{appearance:textfield}.file\:border-0::file-selector-button{border-width:0}.file\:bg-transparent::file-selector-button{background-color:transparent}.file\:text-sm::file-selector-button{font-size:.875rem;line-height:1.25rem}.file\:font-medium::file-selector-button{font-weight:500}.file\:text-foreground::file-selector-button{color:hsl(var(--foreground))}.placeholder\:text-muted-foreground::placeholder{color:hsl(var(--muted-foreground))}.first\:border-t-0:first-child{border-top-width:0}.first\:pt-0:first-child{padding-top:0}.even\:border-l:nth-child(2n){border-left-width:1px}.hover\:border-gray-400:hover{--tw-border-opacity:1;border-color:rgb(156 163 175/var(--tw-border-opacity))}.hover\:bg-accent:hover{background-color:hsl(var(--accent))}.hover\:bg-accent\/50:hover{background-color:hsl(var(--accent)/.5)}.hover\:bg-blue-600:hover{--tw-bg-opacity:1;background-color:rgb(37 99 235/var(--tw-bg-opacity))}.hover\:bg-blue-800:hover{--tw-bg-opacity:1;background-color:rgb(30 64 175/var(--tw-bg-opacity))}.hover\:bg-destructive\/80:hover{background-color:hsl(var(--destructive)/.8)}.hover\:bg-destructive\/90:hover{background-color:hsl(var(--destructive)/.9)}.hover\:bg-emerald-700:hover{--tw-bg-opacity:1;background-color:rgb(4 120 87/var(--tw-bg-opacity))}.hover\:bg-emerald-800:hover{--tw-bg-opacity:1;background-color:rgb(6 95 70/var(--tw-bg-opacity))}.hover\:bg-gray-600:hover{--tw-bg-opacity:1;background-color:rgb(75 85 99/var(--tw-bg-opacity))}.hover\:bg-green-600:hover{--tw-bg-opacity:1;background-color:rgb(22 163 74/var(--tw-bg-opacity))}.hover\:bg-muted:hover{background-color:hsl(var(--muted))}.hover\:bg-muted\/50:hover{background-color:hsl(var(--muted)/.5)}.hover\:bg-orange-600:hover{--tw-bg-opacity:1;background-color:rgb(234 88 12/var(--tw-bg-opacity))}.hover\:bg-orange-800:hover{--tw-bg-opacity:1;background-color:rgb(154 52 18/var(--tw-bg-opacity))}.hover\:bg-primary\/80:hover{background-color:hsl(var(--primary)/.8)}.hover\:bg-primary\/90:hover{background-color:hsl(var(--primary)/.9)}.hover\:bg-red-600:hover{--tw-bg-opacity:1;background-color:rgb(220 38 38/var(--tw-bg-opacity))}.hover\:bg-rose-800:hover{--tw-bg-opacity:1;background-color:rgb(159 18 57/var(--tw-bg-opacity))}.hover\:bg-secondary:hover{background-color:hsl(var(--secondary))}.hover\:bg-secondary\/80:hover{background-color:hsl(var(--secondary)/.8)}.hover\:bg-slate-100:hover{--tw-bg-opacity:1;background-color:rgb(241 245 249/var(--tw-bg-opacity))}.hover\:text-accent-foreground:hover{color:hsl(var(--accent-foreground))}.hover\:text-foreground:hover{color:hsl(var(--foreground))}.hover\:text-muted-foreground:hover{color:hsl(var(--muted-foreground))}.hover\:text-primary\/80:hover{color:hsl(var(--primary)/.8)}.hover\:text-purple-300:hover{--tw-text-opacity:1;color:rgb(216 180 254/var(--tw-text-opacity))}.hover\:underline:hover{text-decoration-line:underline}.hover\:opacity-100:hover{opacity:1}.focus\:z-10:focus{z-index:10}.focus\:bg-accent:focus{background-color:hsl(var(--accent))}.focus\:text-accent-foreground:focus{color:hsl(var(--accent-foreground))}.focus\:opacity-100:focus{opacity:1}.focus\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\:ring-1:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color)}.focus\:ring-1:focus,.focus\:ring-2:focus{box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.focus\:ring-2:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color)}.focus\:ring-ring:focus{--tw-ring-color:hsl(var(--ring))}.focus\:ring-offset-2:focus{--tw-ring-offset-width:2px}.focus-visible\:outline-none:focus-visible{outline:2px solid transparent;outline-offset:2px}.focus-visible\:ring-1:focus-visible{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.focus-visible\:ring-2:focus-visible{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.focus-visible\:ring-ring:focus-visible{--tw-ring-color:hsl(var(--ring))}.focus-visible\:ring-offset-2:focus-visible{--tw-ring-offset-width:2px}.focus-visible\:ring-offset-background:focus-visible{--tw-ring-offset-color:hsl(var(--background))}.disabled\:pointer-events-none:disabled{pointer-events:none}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:opacity-50:disabled{opacity:.5}.group:hover .group-hover\:opacity-100{opacity:1}.group.destructive .group-\[\.destructive\]\:border-muted\/40{border-color:hsl(var(--muted)/.4)}.group.destructive .group-\[\.destructive\]\:text-red-300{--tw-text-opacity:1;color:rgb(252 165 165/var(--tw-text-opacity))}.group.destructive .group-\[\.destructive\]\:hover\:border-destructive\/30:hover{border-color:hsl(var(--destructive)/.3)}.group.destructive .group-\[\.destructive\]\:hover\:bg-destructive:hover{background-color:hsl(var(--destructive))}.group.destructive .group-\[\.destructive\]\:hover\:text-destructive-foreground:hover{color:hsl(var(--destructive-foreground))}.group.destructive .group-\[\.destructive\]\:hover\:text-red-50:hover{--tw-text-opacity:1;color:rgb(254 242 242/var(--tw-text-opacity))}.group.destructive .group-\[\.destructive\]\:focus\:ring-destructive:focus{--tw-ring-color:hsl(var(--destructive))}.group.destructive .group-\[\.destructive\]\:focus\:ring-red-400:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(248 113 113/var(--tw-ring-opacity))}.group.destructive .group-\[\.destructive\]\:focus\:ring-offset-red-600:focus{--tw-ring-offset-color:#dc2626}.peer:disabled~.peer-disabled\:cursor-not-allowed{cursor:not-allowed}.peer:disabled~.peer-disabled\:opacity-70{opacity:.7}.data-\[disabled\=true\]\:pointer-events-none[data-disabled=true],.data-\[disabled\]\:pointer-events-none[data-disabled]{pointer-events:none}.data-\[side\=bottom\]\:translate-y-1[data-side=bottom]{--tw-translate-y:0.25rem}.data-\[side\=bottom\]\:translate-y-1[data-side=bottom],.data-\[side\=left\]\:-translate-x-1[data-side=left]{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.data-\[side\=left\]\:-translate-x-1[data-side=left]{--tw-translate-x:-0.25rem}.data-\[side\=right\]\:translate-x-1[data-side=right]{--tw-translate-x:0.25rem}.data-\[side\=right\]\:translate-x-1[data-side=right],.data-\[side\=top\]\:-translate-y-1[data-side=top]{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.data-\[side\=top\]\:-translate-y-1[data-side=top]{--tw-translate-y:-0.25rem}.data-\[state\=checked\]\:translate-x-4[data-state=checked]{--tw-translate-x:1rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.data-\[state\=unchecked\]\:translate-x-0[data-state=unchecked],.data-\[swipe\=cancel\]\:translate-x-0[data-swipe=cancel]{--tw-translate-x:0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.data-\[swipe\=end\]\:translate-x-\[var\(--radix-toast-swipe-end-x\)\][data-swipe=end]{--tw-translate-x:var(--radix-toast-swipe-end-x)}.data-\[swipe\=end\]\:translate-x-\[var\(--radix-toast-swipe-end-x\)\][data-swipe=end],.data-\[swipe\=move\]\:translate-x-\[var\(--radix-toast-swipe-move-x\)\][data-swipe=move]{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.data-\[swipe\=move\]\:translate-x-\[var\(--radix-toast-swipe-move-x\)\][data-swipe=move]{--tw-translate-x:var(--radix-toast-swipe-move-x)}@keyframes accordion-up{0%{height:var(--radix-accordion-content-height)}to{height:0}}.data-\[state\=closed\]\:animate-accordion-up[data-state=closed]{animation:accordion-up .2s ease-out}@keyframes accordion-down{0%{height:0}to{height:var(--radix-accordion-content-height)}}.data-\[state\=open\]\:animate-accordion-down[data-state=open]{animation:accordion-down .2s ease-out}.data-\[active\=true\]\:bg-muted\/50[data-active=true]{background-color:hsl(var(--muted)/.5)}.data-\[selected\=true\]\:bg-accent[data-selected=true]{background-color:hsl(var(--accent))}.data-\[state\=active\]\:bg-background[data-state=active]{background-color:hsl(var(--background))}.data-\[state\=checked\]\:bg-primary[data-state=checked]{background-color:hsl(var(--primary))}.data-\[state\=on\]\:bg-accent[data-state=on],.data-\[state\=open\]\:bg-accent[data-state=open]{background-color:hsl(var(--accent))}.data-\[state\=open\]\:bg-secondary[data-state=open]{background-color:hsl(var(--secondary))}.data-\[state\=selected\]\:bg-muted[data-state=selected]{background-color:hsl(var(--muted))}.data-\[state\=unchecked\]\:bg-input[data-state=unchecked]{background-color:hsl(var(--input))}.data-\[selected\=true\]\:text-accent-foreground[data-selected=true]{color:hsl(var(--accent-foreground))}.data-\[state\=active\]\:text-foreground[data-state=active]{color:hsl(var(--foreground))}.data-\[state\=checked\]\:text-primary-foreground[data-state=checked]{color:hsl(var(--primary-foreground))}.data-\[state\=on\]\:text-accent-foreground[data-state=on]{color:hsl(var(--accent-foreground))}.data-\[state\=open\]\:text-muted-foreground[data-state=open]{color:hsl(var(--muted-foreground))}.data-\[disabled\=true\]\:opacity-50[data-disabled=true],.data-\[disabled\]\:opacity-50[data-disabled]{opacity:.5}.data-\[state\=active\]\:shadow[data-state=active]{--tw-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.data-\[swipe\=move\]\:transition-none[data-swipe=move]{transition-property:none}.data-\[state\=closed\]\:duration-300[data-state=closed]{transition-duration:.3s}.data-\[state\=open\]\:duration-500[data-state=open]{transition-duration:.5s}.data-\[state\=open\]\:animate-in[data-state=open]{animation-name:enter;animation-duration:.15s;--tw-enter-opacity:initial;--tw-enter-scale:initial;--tw-enter-rotate:initial;--tw-enter-translate-x:initial;--tw-enter-translate-y:initial}.data-\[state\=closed\]\:animate-out[data-state=closed],.data-\[swipe\=end\]\:animate-out[data-swipe=end]{animation-name:exit;animation-duration:.15s;--tw-exit-opacity:initial;--tw-exit-scale:initial;--tw-exit-rotate:initial;--tw-exit-translate-x:initial;--tw-exit-translate-y:initial}.data-\[state\=closed\]\:fade-out-0[data-state=closed]{--tw-exit-opacity:0}.data-\[state\=closed\]\:fade-out-80[data-state=closed]{--tw-exit-opacity:0.8}.data-\[state\=open\]\:fade-in-0[data-state=open]{--tw-enter-opacity:0}.data-\[state\=closed\]\:zoom-out-95[data-state=closed]{--tw-exit-scale:.95}.data-\[state\=open\]\:zoom-in-95[data-state=open]{--tw-enter-scale:.95}.data-\[side\=bottom\]\:slide-in-from-top-2[data-side=bottom]{--tw-enter-translate-y:-0.5rem}.data-\[side\=left\]\:slide-in-from-right-2[data-side=left]{--tw-enter-translate-x:0.5rem}.data-\[side\=right\]\:slide-in-from-left-2[data-side=right]{--tw-enter-translate-x:-0.5rem}.data-\[side\=top\]\:slide-in-from-bottom-2[data-side=top]{--tw-enter-translate-y:0.5rem}.data-\[state\=closed\]\:slide-out-to-bottom[data-state=closed]{--tw-exit-translate-y:100%}.data-\[state\=closed\]\:slide-out-to-left[data-state=closed]{--tw-exit-translate-x:-100%}.data-\[state\=closed\]\:slide-out-to-left-1\/2[data-state=closed]{--tw-exit-translate-x:-50%}.data-\[state\=closed\]\:slide-out-to-right-full[data-state=closed],.data-\[state\=closed\]\:slide-out-to-right[data-state=closed]{--tw-exit-translate-x:100%}.data-\[state\=closed\]\:slide-out-to-top[data-state=closed]{--tw-exit-translate-y:-100%}.data-\[state\=closed\]\:slide-out-to-top-\[48\%\][data-state=closed]{--tw-exit-translate-y:-48%}.data-\[state\=open\]\:slide-in-from-bottom[data-state=open]{--tw-enter-translate-y:100%}.data-\[state\=open\]\:slide-in-from-left[data-state=open]{--tw-enter-translate-x:-100%}.data-\[state\=open\]\:slide-in-from-left-1\/2[data-state=open]{--tw-enter-translate-x:-50%}.data-\[state\=open\]\:slide-in-from-right[data-state=open]{--tw-enter-translate-x:100%}.data-\[state\=open\]\:slide-in-from-top[data-state=open]{--tw-enter-translate-y:-100%}.data-\[state\=open\]\:slide-in-from-top-\[48\%\][data-state=open]{--tw-enter-translate-y:-48%}.data-\[state\=open\]\:slide-in-from-top-full[data-state=open]{--tw-enter-translate-y:-100%}.data-\[state\=closed\]\:duration-300[data-state=closed]{animation-duration:.3s}.data-\[state\=open\]\:duration-500[data-state=open]{animation-duration:.5s}.dark\:-rotate-90:is(.dark *){--tw-rotate:-90deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.dark\:rotate-0:is(.dark *){--tw-rotate:0deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.dark\:scale-0:is(.dark *){--tw-scale-x:0;--tw-scale-y:0;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.dark\:scale-100:is(.dark *){--tw-scale-x:1;--tw-scale-y:1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.dark\:border-blue-800:is(.dark *){--tw-border-opacity:1;border-color:rgb(30 64 175/var(--tw-border-opacity))}.dark\:border-destructive:is(.dark *){border-color:hsl(var(--destructive))}.dark\:border-gray-700:is(.dark *){--tw-border-opacity:1;border-color:rgb(55 65 81/var(--tw-border-opacity))}.dark\:border-gray-800:is(.dark *){--tw-border-opacity:1;border-color:rgb(31 41 55/var(--tw-border-opacity))}.dark\:border-green-800:is(.dark *){--tw-border-opacity:1;border-color:rgb(22 101 52/var(--tw-border-opacity))}.dark\:border-orange-800:is(.dark *){--tw-border-opacity:1;border-color:rgb(154 52 18/var(--tw-border-opacity))}.dark\:border-purple-800:is(.dark *){--tw-border-opacity:1;border-color:rgb(107 33 168/var(--tw-border-opacity))}.dark\:border-red-800:is(.dark *){--tw-border-opacity:1;border-color:rgb(153 27 27/var(--tw-border-opacity))}.dark\:border-teal-800:is(.dark *){--tw-border-opacity:1;border-color:rgb(17 94 89/var(--tw-border-opacity))}.dark\:border-yellow-800:is(.dark *){--tw-border-opacity:1;border-color:rgb(133 77 14/var(--tw-border-opacity))}.dark\:bg-blue-900\/20:is(.dark *){background-color:rgba(30,58,138,.2)}.dark\:bg-gray-700:is(.dark *){--tw-bg-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity))}.dark\:bg-gray-800:is(.dark *){--tw-bg-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity))}.dark\:bg-gray-800\/50:is(.dark *){background-color:rgba(31,41,55,.5)}.dark\:bg-gray-900\/20:is(.dark *){background-color:rgba(17,24,39,.2)}.dark\:bg-green-900\/20:is(.dark *){background-color:rgba(20,83,45,.2)}.dark\:bg-orange-900\/20:is(.dark *){background-color:rgba(124,45,18,.2)}.dark\:bg-purple-900\/20:is(.dark *){background-color:rgba(88,28,135,.2)}.dark\:bg-red-900\/20:is(.dark *){background-color:rgba(127,29,29,.2)}.dark\:bg-slate-800:is(.dark *){--tw-bg-opacity:1;background-color:rgb(30 41 59/var(--tw-bg-opacity))}.dark\:bg-teal-900\/20:is(.dark *){background-color:rgba(19,78,74,.2)}.dark\:bg-yellow-900\/20:is(.dark *){background-color:rgba(113,63,18,.2)}.dark\:text-blue-200:is(.dark *){--tw-text-opacity:1;color:rgb(191 219 254/var(--tw-text-opacity))}.dark\:text-blue-300:is(.dark *){--tw-text-opacity:1;color:rgb(147 197 253/var(--tw-text-opacity))}.dark\:text-blue-400:is(.dark *){--tw-text-opacity:1;color:rgb(96 165 250/var(--tw-text-opacity))}.dark\:text-gray-100:is(.dark *){--tw-text-opacity:1;color:rgb(243 244 246/var(--tw-text-opacity))}.dark\:text-gray-200:is(.dark *){--tw-text-opacity:1;color:rgb(229 231 235/var(--tw-text-opacity))}.dark\:text-gray-300:is(.dark *){--tw-text-opacity:1;color:rgb(209 213 219/var(--tw-text-opacity))}.dark\:text-gray-400:is(.dark *){--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.dark\:text-gray-500:is(.dark *){--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.dark\:text-green-200:is(.dark *){--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.dark\:text-green-300:is(.dark *){--tw-text-opacity:1;color:rgb(134 239 172/var(--tw-text-opacity))}.dark\:text-green-400:is(.dark *){--tw-text-opacity:1;color:rgb(74 222 128/var(--tw-text-opacity))}.dark\:text-orange-300:is(.dark *){--tw-text-opacity:1;color:rgb(253 186 116/var(--tw-text-opacity))}.dark\:text-orange-400:is(.dark *){--tw-text-opacity:1;color:rgb(251 146 60/var(--tw-text-opacity))}.dark\:text-purple-300:is(.dark *){--tw-text-opacity:1;color:rgb(216 180 254/var(--tw-text-opacity))}.dark\:text-purple-400:is(.dark *){--tw-text-opacity:1;color:rgb(192 132 252/var(--tw-text-opacity))}.dark\:text-red-200:is(.dark *){--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.dark\:text-red-300:is(.dark *){--tw-text-opacity:1;color:rgb(252 165 165/var(--tw-text-opacity))}.dark\:text-red-400:is(.dark *){--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.dark\:text-teal-300:is(.dark *){--tw-text-opacity:1;color:rgb(94 234 212/var(--tw-text-opacity))}.dark\:text-yellow-200:is(.dark *){--tw-text-opacity:1;color:rgb(254 240 138/var(--tw-text-opacity))}.dark\:hover\:bg-slate-900:hover:is(.dark *){--tw-bg-opacity:1;background-color:rgb(15 23 42/var(--tw-bg-opacity))}@media (min-width:640px){.sm\:bottom-0{bottom:0}.sm\:right-0{right:0}.sm\:top-auto{top:auto}.sm\:mt-0{margin-top:0}.sm\:max-w-\[800px\]{max-width:800px}.sm\:max-w-sm{max-width:24rem}.sm\:flex-initial{flex:0 1 auto}.sm\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.sm\:flex-row{flex-direction:row}.sm\:flex-col{flex-direction:column}.sm\:items-start{align-items:flex-start}.sm\:justify-end{justify-content:flex-end}.sm\:gap-2\.5{gap:.625rem}.sm\:space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-right:calc(.5rem * var(--tw-space-x-reverse));margin-left:calc(.5rem * calc(1 - var(--tw-space-x-reverse)))}.sm\:rounded-lg{border-radius:var(--radius)}.sm\:border-l{border-left-width:1px}.sm\:border-t-0{border-top-width:0}.sm\:p-20{padding:5rem}.sm\:p-6{padding:1.5rem}.sm\:px-8{padding-left:2rem;padding-right:2rem}.sm\:py-6{padding-top:1.5rem;padding-bottom:1.5rem}.sm\:text-left{text-align:left}.sm\:text-3xl{font-size:1.875rem;line-height:2.25rem}.data-\[state\=open\]\:sm\:slide-in-from-bottom-full[data-state=open]{--tw-enter-translate-y:100%}}@media (min-width:768px){.md\:ml-auto{margin-left:auto}.md\:mr-8{margin-right:2rem}.md\:block{display:block}.md\:size-12{width:3rem;height:3rem}.md\:w-36{width:9rem}.md\:max-w-\[420px\]{max-width:420px}.md\:max-w-full{max-width:100%}.md\:max-w-lg{max-width:32rem}.md\:max-w-md{max-width:28rem}.md\:basis-1\/2{flex-basis:50%}.md\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.md\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.md\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.md\:grid-cols-6{grid-template-columns:repeat(6,minmax(0,1fr))}.md\:grid-cols-\[180px_1fr\]{grid-template-columns:180px 1fr}.md\:flex-row{flex-direction:row}.md\:items-center{align-items:center}.md\:gap-2{gap:.5rem}.md\:gap-8{gap:2rem}.md\:p-10{padding:2.5rem}.md\:px-6{padding-left:1.5rem;padding-right:1.5rem}.md\:py-6{padding-top:1.5rem;padding-bottom:1.5rem}.md\:text-sm{font-size:.875rem;line-height:1.25rem}.md\:text-xl{font-size:1.25rem;line-height:1.75rem}}@media (min-width:1024px){.lg\:col-span-2{grid-column:span 2/span 2}.lg\:block{display:block}.lg\:flex{display:flex}.lg\:hidden{display:none}.lg\:size-16{width:4rem;height:4rem}.lg\:size-48{width:12rem;height:12rem}.lg\:size-6{width:1.5rem;height:1.5rem}.lg\:h-10{height:2.5rem}.lg\:h-48{height:12rem}.lg\:w-48{width:12rem}.lg\:max-w-full{max-width:100%}.lg\:basis-1\/3{flex-basis:33.333333%}.lg\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.lg\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.lg\:grid-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}.lg\:grid-cols-8{grid-template-columns:repeat(8,minmax(0,1fr))}.lg\:grid-cols-\[250px_1fr\]{grid-template-columns:250px 1fr}.lg\:flex-row{flex-direction:row}.lg\:items-center{align-items:center}.lg\:gap-4{gap:1rem}.lg\:gap-5{gap:1.25rem}.lg\:gap-y-0{row-gap:0}.lg\:space-x-1>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-right:calc(.25rem * var(--tw-space-x-reverse));margin-left:calc(.25rem * calc(1 - var(--tw-space-x-reverse)))}.lg\:p-6{padding:1.5rem}.lg\:px-4{padding-left:1rem;padding-right:1rem}.lg\:py-12{padding-top:3rem;padding-bottom:3rem}.lg\:text-\[4rem\]{font-size:4rem}.lg\:text-base{font-size:1rem;line-height:1.5rem}}@media (min-width:1280px){.xl\:size-14{width:3.5rem;height:3.5rem}.xl\:size-6{width:1.5rem;height:1.5rem}.xl\:w-\[800px\]{width:800px}.xl\:max-w-xl{max-width:36rem}.xl\:gap-6{gap:1.5rem}.xl\:gap-y-10{row-gap:2.5rem}.xl\:p-4{padding:1rem}.xl\:text-2xl{font-size:1.5rem;line-height:2rem}.xl\:text-3xl{font-size:1.875rem;line-height:2.25rem}.xl\:text-xl{font-size:1.25rem;line-height:1.75rem}}@media (min-width:1536px){.\32xl\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}}.\[\&\+div\]\:text-xs+div{font-size:.75rem;line-height:1rem}.\[\&\:\:-webkit-inner-spin-button\]\:appearance-none::-webkit-inner-spin-button,.\[\&\:\:-webkit-outer-spin-button\]\:appearance-none::-webkit-outer-spin-button{appearance:none}.\[\&\:has\(\[role\=checkbox\]\)\]\:pr-0:has([role=checkbox]){padding-right:0}.\[\&\>\[role\=checkbox\]\]\:translate-y-\[2px\]>[role=checkbox]{--tw-translate-y:2px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.\[\&\>span\]\:line-clamp-1>span{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1}.\[\&\>svg\+div\]\:translate-y-\[-3px\]>svg+div{--tw-translate-y:-3px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.\[\&\>svg\]\:absolute>svg{position:absolute}.\[\&\>svg\]\:left-4>svg{left:1rem}.\[\&\>svg\]\:top-4>svg{top:1rem}.\[\&\>svg\]\:size-3\.5>svg{width:.875rem;height:.875rem}.\[\&\>svg\]\:h-2\.5>svg{height:.625rem}.\[\&\>svg\]\:h-3>svg{height:.75rem}.\[\&\>svg\]\:w-2\.5>svg{width:.625rem}.\[\&\>svg\]\:w-3>svg{width:.75rem}.\[\&\>svg\]\:text-destructive>svg{color:hsl(var(--destructive))}.\[\&\>svg\]\:text-foreground>svg{color:hsl(var(--foreground))}.\[\&\>svg\]\:text-muted-foreground>svg{color:hsl(var(--muted-foreground))}.\[\&\>svg\~\*\]\:pl-7>svg~*{padding-left:1.75rem}.\[\&\>tr\]\:last\:border-b-0:last-child>tr{border-bottom-width:0}.\[\&\[data-state\=open\]\>svg\]\:rotate-180[data-state=open]>svg{--tw-rotate:180deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.\[\&_\.recharts-cartesian-axis-tick_text\]\:fill-muted-foreground .recharts-cartesian-axis-tick text{fill:hsl(var(--muted-foreground))}.\[\&_\.recharts-cartesian-grid_line\[stroke\=\'\#ccc\'\]\]\:stroke-border\/50 .recharts-cartesian-grid line[stroke="#ccc"]{stroke:hsl(var(--border)/.5)}.\[\&_\.recharts-curve\.recharts-tooltip-cursor\]\:stroke-border .recharts-curve.recharts-tooltip-cursor{stroke:hsl(var(--border))}.\[\&_\.recharts-dot\[stroke\=\'\#fff\'\]\]\:stroke-transparent .recharts-dot[stroke="#fff"]{stroke:transparent}.\[\&_\.recharts-layer\]\:outline-none .recharts-layer{outline:2px solid transparent;outline-offset:2px}.\[\&_\.recharts-polar-grid_\[stroke\=\'\#ccc\'\]\]\:stroke-border .recharts-polar-grid [stroke="#ccc"]{stroke:hsl(var(--border))}.\[\&_\.recharts-radial-bar-background-sector\]\:fill-muted .recharts-radial-bar-background-sector,.\[\&_\.recharts-rectangle\.recharts-tooltip-cursor\]\:fill-muted .recharts-rectangle.recharts-tooltip-cursor{fill:hsl(var(--muted))}.\[\&_\.recharts-reference-line_\[stroke\=\'\#ccc\'\]\]\:stroke-border .recharts-reference-line [stroke="#ccc"]{stroke:hsl(var(--border))}.\[\&_\.recharts-sector\[stroke\=\'\#fff\'\]\]\:stroke-transparent .recharts-sector[stroke="#fff"]{stroke:transparent}.\[\&_\.recharts-sector\]\:outline-none .recharts-sector,.\[\&_\.recharts-surface\]\:outline-none .recharts-surface{outline:2px solid transparent;outline-offset:2px}.\[\&_\[cmdk-group-heading\]\]\:px-2 [cmdk-group-heading]{padding-left:.5rem;padding-right:.5rem}.\[\&_\[cmdk-group-heading\]\]\:py-1\.5 [cmdk-group-heading]{padding-top:.375rem;padding-bottom:.375rem}.\[\&_\[cmdk-group-heading\]\]\:text-xs [cmdk-group-heading]{font-size:.75rem;line-height:1rem}.\[\&_\[cmdk-group-heading\]\]\:font-medium [cmdk-group-heading]{font-weight:500}.\[\&_\[cmdk-group-heading\]\]\:text-muted-foreground [cmdk-group-heading]{color:hsl(var(--muted-foreground))}.\[\&_\[cmdk-group\]\:not\(\[hidden\]\)_\~\[cmdk-group\]\]\:pt-0 [cmdk-group]:not([hidden])~[cmdk-group]{padding-top:0}.\[\&_\[cmdk-group\]\]\:px-2 [cmdk-group]{padding-left:.5rem;padding-right:.5rem}.\[\&_\[cmdk-input-wrapper\]_svg\]\:h-5 [cmdk-input-wrapper] svg{height:1.25rem}.\[\&_\[cmdk-input-wrapper\]_svg\]\:w-5 [cmdk-input-wrapper] svg{width:1.25rem}.\[\&_\[cmdk-input\]\]\:h-12 [cmdk-input]{height:3rem}.\[\&_\[cmdk-item\]\]\:px-2 [cmdk-item]{padding-left:.5rem;padding-right:.5rem}.\[\&_\[cmdk-item\]\]\:py-3 [cmdk-item]{padding-top:.75rem;padding-bottom:.75rem}.\[\&_\[cmdk-item\]_svg\]\:h-5 [cmdk-item] svg{height:1.25rem}.\[\&_\[cmdk-item\]_svg\]\:w-5 [cmdk-item] svg{width:1.25rem}.\[\&_p\]\:leading-relaxed p{line-height:1.625}.\[\&_svg\]\:pointer-events-none svg{pointer-events:none}.\[\&_svg\]\:size-4 svg{width:1rem;height:1rem}.\[\&_svg\]\:size-full svg{width:100%;height:100%}.\[\&_svg\]\:shrink-0 svg{flex-shrink:0}.\[\&_tr\:last-child\]\:border-0 tr:last-child{border-width:0}.\[\&_tr\]\:border-b tr{border-bottom-width:1px}@font-face{font-family:euclid;src:url(/_next/static/media/72399823edb708a6-s.p.woff2) format("woff2");font-display:swap;font-weight:300;font-style:normal}@font-face{font-family:euclid;src:url(/_next/static/media/a41b42e1a9703195-s.p.woff2) format("woff2");font-display:swap;font-weight:400;font-style:normal}@font-face{font-family:euclid;src:url(/_next/static/media/243b6dfb2e48e7ed-s.p.woff2) format("woff2");font-display:swap;font-weight:500;font-style:normal}@font-face{font-family:euclid;src:url(/_next/static/media/70a526c127b6fc39-s.p.woff2) format("woff2");font-display:swap;font-weight:600;font-style:normal}@font-face{font-family:euclid;src:url(/_next/static/media/0aa2ebf4cf06f243-s.p.woff2) format("woff2");font-display:swap;font-weight:700;font-style:normal}@font-face{font-family:euclid;src:url(/_next/static/media/cf37f781bdc22339-s.p.woff2) format("woff2");font-display:swap;font-weight:400;font-style:italic}@font-face{font-family:euclid Fallback;src:local("Arial");ascent-override:93.47%;descent-override:25.05%;line-gap-override:0.00%;size-adjust:106.98%}.__className_9dae3d{font-family:euclid,euclid Fallback} \ No newline at end of file diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/css/e519296cc38ae8e2.css b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/css/e519296cc38ae8e2.css deleted file mode 100644 index f2ae35f..0000000 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/css/e519296cc38ae8e2.css +++ /dev/null @@ -1,3 +0,0 @@ -*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }/* -! tailwindcss v3.4.13 | MIT License | https://tailwindcss.com -*/*,:after,:before{box-sizing:border-box;border:0 solid #e5e7eb}:after,:before{--tw-content:""}:host,html{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}:root{--background:0 0% 100%;--foreground:224 71.4% 4.1%;--card:0 0% 100%;--card-foreground:224 71.4% 4.1%;--popover:0 0% 100%;--popover-foreground:224 71.4% 4.1%;--primary:262.1 83.3% 57.8%;--primary-foreground:210 20% 98%;--secondary:220 14.3% 95.9%;--secondary-foreground:220.9 39.3% 11%;--muted:220 14.3% 95.9%;--muted-foreground:220 8.9% 46.1%;--accent:220 14.3% 95.9%;--accent-foreground:220.9 39.3% 11%;--destructive:0 84.2% 60.2%;--destructive-foreground:210 20% 98%;--border:220 13% 91%;--input:220 13% 91%;--ring:262.1 83.3% 57.8%;--radius:0.5rem;--chart-1:12 76% 61%;--chart-2:173 58% 39%;--chart-3:197 37% 24%;--chart-4:43 74% 66%;--chart-5:27 87% 67%}.dark{--background:224 71.4% 4.1%;--foreground:210 20% 98%;--card:224 71.4% 4.1%;--card-foreground:210 20% 98%;--popover:224 71.4% 4.1%;--popover-foreground:210 20% 98%;--primary:263.4 70% 50.4%;--primary-foreground:210 20% 98%;--secondary:215 27.9% 16.9%;--secondary-foreground:210 20% 98%;--muted:215 27.9% 16.9%;--muted-foreground:217.9 10.6% 64.9%;--accent:215 27.9% 16.9%;--accent-foreground:210 20% 98%;--destructive:0 62.8% 30.6%;--destructive-foreground:210 20% 98%;--border:215 27.9% 16.9%;--input:215 27.9% 16.9%;--ring:263.4 70% 50.4%;--chart-1:220 70% 50%;--chart-2:160 60% 45%;--chart-3:30 80% 55%;--chart-4:280 65% 60%;--chart-5:340 75% 55%}*{border-color:hsl(var(--border))}body{background-color:hsl(var(--background));color:hsl(var(--foreground))}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.pointer-events-none{pointer-events:none}.pointer-events-auto{pointer-events:auto}.visible{visibility:visible}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.sticky{position:sticky}.inset-0{inset:0}.inset-x-0{left:0;right:0}.inset-y-0{top:0;bottom:0}.-bottom-12{bottom:-3rem}.-left-12{left:-3rem}.-left-8{left:-2rem}.-right-12{right:-3rem}.-top-12{top:-3rem}.-top-8{top:-2rem}.bottom-0{bottom:0}.left-0{left:0}.left-1\/2{left:50%}.left-2{left:.5rem}.left-\[50\%\]{left:50%}.right-0{right:0}.right-1{right:.25rem}.right-2{right:.5rem}.right-3{right:.75rem}.right-4{right:1rem}.top-0{top:0}.top-1{top:.25rem}.top-1\/2{top:50%}.top-2{top:.5rem}.top-4{top:1rem}.top-\[50\%\]{top:50%}.top-full{top:100%}.z-10{z-index:10}.z-50{z-index:50}.z-\[100\]{z-index:100}.col-span-1{grid-column:span 1/span 1}.col-span-2{grid-column:span 2/span 2}.col-span-3{grid-column:span 3/span 3}.col-span-8{grid-column:span 8/span 8}.row-start-2{grid-row-start:2}.-mx-1{margin-left:-.25rem;margin-right:-.25rem}.mx-1{margin-left:.25rem;margin-right:.25rem}.mx-2{margin-left:.5rem;margin-right:.5rem}.mx-auto{margin-left:auto;margin-right:auto}.my-0\.5{margin-top:.125rem;margin-bottom:.125rem}.my-1{margin-top:.25rem;margin-bottom:.25rem}.my-2{margin-top:.5rem;margin-bottom:.5rem}.my-4{margin-top:1rem;margin-bottom:1rem}.-ml-4{margin-left:-1rem}.-mr-2{margin-right:-.5rem}.-mt-4{margin-top:-1rem}.mb-1{margin-bottom:.25rem}.mb-2{margin-bottom:.5rem}.mb-3{margin-bottom:.75rem}.mb-4{margin-bottom:1rem}.mb-6{margin-bottom:1.5rem}.mb-8{margin-bottom:2rem}.ml-1{margin-left:.25rem}.ml-2{margin-left:.5rem}.ml-4{margin-left:1rem}.ml-6{margin-left:1.5rem}.ml-auto{margin-left:auto}.mr-1{margin-right:.25rem}.mr-1\.5{margin-right:.375rem}.mr-2{margin-right:.5rem}.mr-4{margin-right:1rem}.mt-1{margin-top:.25rem}.mt-12{margin-top:3rem}.mt-2{margin-top:.5rem}.mt-24{margin-top:6rem}.mt-3{margin-top:.75rem}.mt-4{margin-top:1rem}.mt-6{margin-top:1.5rem}.mt-8{margin-top:2rem}.mt-auto{margin-top:auto}.line-clamp-3{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3}.block{display:block}.flex{display:flex}.inline-flex{display:inline-flex}.table{display:table}.grid{display:grid}.hidden{display:none}.aspect-auto{aspect-ratio:auto}.aspect-square{aspect-ratio:1/1}.aspect-video{aspect-ratio:16/9}.size-12{width:3rem;height:3rem}.size-16{width:4rem;height:4rem}.size-32{width:8rem;height:8rem}.size-36{width:9rem;height:9rem}.size-4{width:1rem;height:1rem}.size-5{width:1.25rem;height:1.25rem}.size-6{width:1.5rem;height:1.5rem}.size-8{width:2rem;height:2rem}.size-full{width:100%;height:100%}.h-10{height:2.5rem}.h-12{height:3rem}.h-16{height:4rem}.h-2{height:.5rem}.h-2\.5{height:.625rem}.h-24{height:6rem}.h-3{height:.75rem}.h-3\.5{height:.875rem}.h-32{height:8rem}.h-36{height:9rem}.h-4{height:1rem}.h-44{height:11rem}.h-5{height:1.25rem}.h-6{height:1.5rem}.h-64{height:16rem}.h-72{height:18rem}.h-8{height:2rem}.h-9{height:2.25rem}.h-96{height:24rem}.h-\[1\.2rem\]{height:1.2rem}.h-\[140px\]{height:140px}.h-\[18px\]{height:18px}.h-\[1px\]{height:1px}.h-\[200px\]{height:200px}.h-\[250px\]{height:250px}.h-\[400px\]{height:400px}.h-\[500px\]{height:500px}.h-\[var\(--radix-select-trigger-height\)\]{height:var(--radix-select-trigger-height)}.h-auto{height:auto}.h-full{height:100%}.h-px{height:1px}.max-h-96{max-height:24rem}.max-h-\[200px\]{max-height:200px}.max-h-\[300px\]{max-height:300px}.max-h-screen{max-height:100vh}.min-h-\[300px\]{min-height:300px}.min-h-\[60px\]{min-height:60px}.min-h-\[calc\(100vh_-_theme\(spacing\.16\)\)\]{min-height:calc(100vh - 4rem)}.min-h-screen{min-height:100vh}.min-h-svh{min-height:100svh}.w-0{width:0}.w-1{width:.25rem}.w-10{width:2.5rem}.w-12{width:3rem}.w-16{width:4rem}.w-2{width:.5rem}.w-2\.5{width:.625rem}.w-20{width:5rem}.w-24{width:6rem}.w-28{width:7rem}.w-3{width:.75rem}.w-3\.5{width:.875rem}.w-3\/4{width:75%}.w-32{width:8rem}.w-36{width:9rem}.w-4{width:1rem}.w-40{width:10rem}.w-48{width:12rem}.w-5{width:1.25rem}.w-6{width:1.5rem}.w-64{width:16rem}.w-72{width:18rem}.w-8{width:2rem}.w-9{width:2.25rem}.w-\[1\.2rem\]{width:1.2rem}.w-\[100px\]{width:100px}.w-\[140px\]{width:140px}.w-\[180px\]{width:180px}.w-\[18px\]{width:18px}.w-\[1px\]{width:1px}.w-\[200px\]{width:200px}.w-\[300px\]{width:300px}.w-\[50px\]{width:50px}.w-\[80px\]{width:80px}.w-auto{width:auto}.w-full{width:100%}.w-px{width:1px}.min-w-0{min-width:0}.min-w-10{min-width:2.5rem}.min-w-8{min-width:2rem}.min-w-9{min-width:2.25rem}.min-w-\[8rem\]{min-width:8rem}.min-w-\[var\(--radix-select-trigger-width\)\]{min-width:var(--radix-select-trigger-width)}.max-w-10{max-width:2.5rem}.max-w-2xl{max-width:42rem}.max-w-32{max-width:8rem}.max-w-4xl{max-width:56rem}.max-w-6{max-width:1.5rem}.max-w-6xl{max-width:72rem}.max-w-lg{max-width:32rem}.max-w-md{max-width:28rem}.max-w-sm{max-width:24rem}.max-w-xs{max-width:20rem}.flex-1{flex:1 1 0%}.shrink-0{flex-shrink:0}.flex-grow{flex-grow:1}.grow-0{flex-grow:0}.basis-full{flex-basis:100%}.caption-bottom{caption-side:bottom}.-translate-x-1\/2{--tw-translate-x:-50%}.-translate-x-1\/2,.-translate-y-1\/2{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-1\/2{--tw-translate-y:-50%}.translate-x-\[-50\%\]{--tw-translate-x:-50%}.translate-x-\[-50\%\],.translate-y-\[-50\%\]{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-y-\[-50\%\]{--tw-translate-y:-50%}.rotate-0{--tw-rotate:0deg}.rotate-0,.rotate-90{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-90{--tw-rotate:90deg}.scale-0{--tw-scale-x:0;--tw-scale-y:0}.scale-0,.scale-100{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scale-100{--tw-scale-x:1;--tw-scale-y:1}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes pulse{50%{opacity:.5}}.animate-pulse{animation:pulse 2s cubic-bezier(.4,0,.6,1) infinite}@keyframes spin{to{transform:rotate(1turn)}}.animate-spin{animation:spin 1s linear infinite}.cursor-default{cursor:default}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.touch-none{touch-action:none}.select-none{user-select:none}.list-inside{list-style-position:inside}.list-decimal{list-style-type:decimal}.list-disc{list-style-type:disc}.grid-flow-row{grid-auto-flow:row}.auto-rows-min{grid-auto-rows:min-content}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.grid-rows-\[20px_1fr_20px\]{grid-template-rows:20px 1fr 20px}.flex-row{flex-direction:row}.flex-col{flex-direction:column}.flex-col-reverse{flex-direction:column-reverse}.flex-wrap{flex-wrap:wrap}.place-items-center{place-items:center}.items-start{align-items:flex-start}.items-end{align-items:flex-end}.items-center{align-items:center}.items-baseline{align-items:baseline}.items-stretch{align-items:stretch}.justify-start{justify-content:flex-start}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.justify-evenly{justify-content:space-evenly}.justify-items-center{justify-items:center}.gap-0\.5{gap:.125rem}.gap-1{gap:.25rem}.gap-1\.5{gap:.375rem}.gap-16{gap:4rem}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.gap-5{gap:1.25rem}.gap-6{gap:1.5rem}.gap-8{gap:2rem}.gap-px{gap:1px}.gap-x-1{column-gap:.25rem}.gap-x-2{column-gap:.5rem}.gap-x-4{column-gap:1rem}.gap-x-8{column-gap:2rem}.gap-y-1{row-gap:.25rem}.gap-y-2{row-gap:.5rem}.gap-y-5{row-gap:1.25rem}.gap-y-6{row-gap:1.5rem}.gap-y-8{row-gap:2rem}.space-x-1>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-right:calc(.25rem * var(--tw-space-x-reverse));margin-left:calc(.25rem * calc(1 - var(--tw-space-x-reverse)))}.space-x-1\.5>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-right:calc(.375rem * var(--tw-space-x-reverse));margin-left:calc(.375rem * calc(1 - var(--tw-space-x-reverse)))}.space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-right:calc(.5rem * var(--tw-space-x-reverse));margin-left:calc(.5rem * calc(1 - var(--tw-space-x-reverse)))}.space-x-3>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-right:calc(.75rem * var(--tw-space-x-reverse));margin-left:calc(.75rem * calc(1 - var(--tw-space-x-reverse)))}.space-x-4>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-right:calc(1rem * var(--tw-space-x-reverse));margin-left:calc(1rem * calc(1 - var(--tw-space-x-reverse)))}.space-y-0>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(0px * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(0px * var(--tw-space-y-reverse))}.space-y-0\.5>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(.125rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.125rem * var(--tw-space-y-reverse))}.space-y-1>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(.25rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.25rem * var(--tw-space-y-reverse))}.space-y-1\.5>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(.375rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.375rem * var(--tw-space-y-reverse))}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.5rem * var(--tw-space-y-reverse))}.space-y-3>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(.75rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.75rem * var(--tw-space-y-reverse))}.space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(1rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem * var(--tw-space-y-reverse))}.space-y-6>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(1.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1.5rem * var(--tw-space-y-reverse))}.space-y-8>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(2rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(2rem * var(--tw-space-y-reverse))}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.overflow-x-hidden{overflow-x:hidden}.truncate{overflow:hidden;text-overflow:ellipsis}.truncate,.whitespace-nowrap{white-space:nowrap}.whitespace-pre-line{white-space:pre-line}.whitespace-pre-wrap{white-space:pre-wrap}.break-words{overflow-wrap:break-word}.rounded{border-radius:.25rem}.rounded-\[2px\]{border-radius:2px}.rounded-\[inherit\]{border-radius:inherit}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:var(--radius)}.rounded-md{border-radius:calc(var(--radius) - 2px)}.rounded-sm{border-radius:calc(var(--radius) - 4px)}.rounded-xl{border-radius:.75rem}.rounded-e-lg{border-start-end-radius:var(--radius);border-end-end-radius:var(--radius)}.rounded-e-none{border-start-end-radius:0;border-end-end-radius:0}.rounded-s-lg{border-start-start-radius:var(--radius);border-end-start-radius:var(--radius)}.rounded-s-none{border-start-start-radius:0;border-end-start-radius:0}.rounded-t-\[10px\]{border-top-left-radius:10px;border-top-right-radius:10px}.border{border-width:1px}.border-2{border-width:2px}.border-4{border-width:4px}.border-\[1\.5px\]{border-width:1.5px}.border-b{border-bottom-width:1px}.border-l{border-left-width:1px}.border-r{border-right-width:1px}.border-r-0{border-right-width:0}.border-t{border-top-width:1px}.border-dashed{border-style:dashed}.border-none{border-style:none}.border-\[--color-border\]{border-color:var(--color-border)}.border-blue-200{--tw-border-opacity:1;border-color:rgb(191 219 254/var(--tw-border-opacity))}.border-border\/50{border-color:hsl(var(--border)/.5)}.border-destructive{border-color:hsl(var(--destructive))}.border-destructive\/50{border-color:hsl(var(--destructive)/.5)}.border-gray-200{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity))}.border-gray-300{--tw-border-opacity:1;border-color:rgb(209 213 219/var(--tw-border-opacity))}.border-green-200{--tw-border-opacity:1;border-color:rgb(187 247 208/var(--tw-border-opacity))}.border-input{border-color:hsl(var(--input))}.border-orange-200{--tw-border-opacity:1;border-color:rgb(254 215 170/var(--tw-border-opacity))}.border-primary{border-color:hsl(var(--primary))}.border-purple-200{--tw-border-opacity:1;border-color:rgb(233 213 255/var(--tw-border-opacity))}.border-red-200{--tw-border-opacity:1;border-color:rgb(254 202 202/var(--tw-border-opacity))}.border-teal-200{--tw-border-opacity:1;border-color:rgb(153 246 228/var(--tw-border-opacity))}.border-transparent{border-color:transparent}.border-yellow-200{--tw-border-opacity:1;border-color:rgb(254 240 138/var(--tw-border-opacity))}.border-l-transparent{border-left-color:transparent}.border-t-transparent{border-top-color:transparent}.bg-\[--color-bg\]{background-color:var(--color-bg)}.bg-accent{background-color:hsl(var(--accent))}.bg-background{background-color:hsl(var(--background))}.bg-black{--tw-bg-opacity:1;background-color:rgb(0 0 0/var(--tw-bg-opacity))}.bg-black\/80{background-color:rgba(0,0,0,.8)}.bg-blue-100{--tw-bg-opacity:1;background-color:rgb(219 234 254/var(--tw-bg-opacity))}.bg-blue-50{--tw-bg-opacity:1;background-color:rgb(239 246 255/var(--tw-bg-opacity))}.bg-blue-600{--tw-bg-opacity:1;background-color:rgb(37 99 235/var(--tw-bg-opacity))}.bg-border{background-color:hsl(var(--border))}.bg-card{background-color:hsl(var(--card))}.bg-destructive{background-color:hsl(var(--destructive))}.bg-emerald-500{--tw-bg-opacity:1;background-color:rgb(16 185 129/var(--tw-bg-opacity))}.bg-emerald-600{--tw-bg-opacity:1;background-color:rgb(5 150 105/var(--tw-bg-opacity))}.bg-foreground\/20{background-color:hsl(var(--foreground)/.2)}.bg-gray-100{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.bg-gray-200{--tw-bg-opacity:1;background-color:rgb(229 231 235/var(--tw-bg-opacity))}.bg-gray-50{--tw-bg-opacity:1;background-color:rgb(249 250 251/var(--tw-bg-opacity))}.bg-gray-600{--tw-bg-opacity:1;background-color:rgb(75 85 99/var(--tw-bg-opacity))}.bg-gray-700{--tw-bg-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity))}.bg-gray-800{--tw-bg-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity))}.bg-gray-900{--tw-bg-opacity:1;background-color:rgb(17 24 39/var(--tw-bg-opacity))}.bg-green-100{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.bg-green-50{--tw-bg-opacity:1;background-color:rgb(240 253 244/var(--tw-bg-opacity))}.bg-muted{background-color:hsl(var(--muted))}.bg-muted\/30{background-color:hsl(var(--muted)/.3)}.bg-muted\/40{background-color:hsl(var(--muted)/.4)}.bg-muted\/50{background-color:hsl(var(--muted)/.5)}.bg-orange-100{--tw-bg-opacity:1;background-color:rgb(255 237 213/var(--tw-bg-opacity))}.bg-orange-500{--tw-bg-opacity:1;background-color:rgb(249 115 22/var(--tw-bg-opacity))}.bg-orange-600{--tw-bg-opacity:1;background-color:rgb(234 88 12/var(--tw-bg-opacity))}.bg-popover{background-color:hsl(var(--popover))}.bg-primary{background-color:hsl(var(--primary))}.bg-primary\/10{background-color:hsl(var(--primary)/.1)}.bg-primary\/20{background-color:hsl(var(--primary)/.2)}.bg-purple-100{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.bg-red-100{--tw-bg-opacity:1;background-color:rgb(254 226 226/var(--tw-bg-opacity))}.bg-red-50{--tw-bg-opacity:1;background-color:rgb(254 242 242/var(--tw-bg-opacity))}.bg-red-500{--tw-bg-opacity:1;background-color:rgb(239 68 68/var(--tw-bg-opacity))}.bg-rose-500{--tw-bg-opacity:1;background-color:rgb(244 63 94/var(--tw-bg-opacity))}.bg-secondary{background-color:hsl(var(--secondary))}.bg-slate-100{--tw-bg-opacity:1;background-color:rgb(241 245 249/var(--tw-bg-opacity))}.bg-teal-100{--tw-bg-opacity:1;background-color:rgb(204 251 241/var(--tw-bg-opacity))}.bg-transparent{background-color:transparent}.bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity))}.bg-yellow-50{--tw-bg-opacity:1;background-color:rgb(254 252 232/var(--tw-bg-opacity))}.bg-yellow-500{--tw-bg-opacity:1;background-color:rgb(234 179 8/var(--tw-bg-opacity))}.bg-opacity-50{--tw-bg-opacity:0.5}.fill-current{fill:currentColor}.object-cover{object-fit:cover}.p-0{padding:0}.p-1{padding:.25rem}.p-2{padding:.5rem}.p-3{padding:.75rem}.p-4{padding:1rem}.p-6{padding:1.5rem}.p-8{padding:2rem}.p-\[1px\]{padding:1px}.px-0{padding-left:0;padding-right:0}.px-1{padding-left:.25rem;padding-right:.25rem}.px-1\.5{padding-left:.375rem;padding-right:.375rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-2\.5{padding-left:.625rem;padding-right:.625rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.px-8{padding-left:2rem;padding-right:2rem}.py-0\.5{padding-top:.125rem;padding-bottom:.125rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-1\.5{padding-top:.375rem;padding-bottom:.375rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.py-4{padding-top:1rem;padding-bottom:1rem}.py-5{padding-top:1.25rem;padding-bottom:1.25rem}.py-6{padding-top:1.5rem;padding-bottom:1.5rem}.py-8{padding-top:2rem;padding-bottom:2rem}.py-\[9px\]{padding-top:9px;padding-bottom:9px}.pb-2{padding-bottom:.5rem}.pb-20{padding-bottom:5rem}.pb-3{padding-bottom:.75rem}.pb-4{padding-bottom:1rem}.pl-2{padding-left:.5rem}.pl-2\.5{padding-left:.625rem}.pl-4{padding-left:1rem}.pl-8{padding-left:2rem}.pr-2{padding-right:.5rem}.pr-2\.5{padding-right:.625rem}.pr-4{padding-right:1rem}.pr-6{padding-right:1.5rem}.pr-8{padding-right:2rem}.pt-0{padding-top:0}.pt-2{padding-top:.5rem}.pt-3{padding-top:.75rem}.pt-4{padding-top:1rem}.pt-6{padding-top:1.5rem}.pt-8{padding-top:2rem}.text-left{text-align:left}.text-center{text-align:center}.text-right{text-align:right}.align-middle{vertical-align:middle}.font-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.text-2xl{font-size:1.5rem;line-height:2rem}.text-3xl{font-size:1.875rem;line-height:2.25rem}.text-\[0\.8rem\]{font-size:.8rem}.text-\[3rem\]{font-size:3rem}.text-base{font-size:1rem;line-height:1.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.font-medium{font-weight:500}.font-normal{font-weight:400}.font-semibold{font-weight:600}.uppercase{text-transform:uppercase}.italic{font-style:italic}.tabular-nums{--tw-numeric-spacing:tabular-nums;font-variant-numeric:var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction)}.leading-none{line-height:1}.leading-relaxed{line-height:1.625}.leading-tight{line-height:1.25}.tracking-tight{letter-spacing:-.025em}.tracking-wide{letter-spacing:.025em}.tracking-widest{letter-spacing:.1em}.text-amber-500{--tw-text-opacity:1;color:rgb(245 158 11/var(--tw-text-opacity))}.text-blue-500{--tw-text-opacity:1;color:rgb(59 130 246/var(--tw-text-opacity))}.text-blue-600{--tw-text-opacity:1;color:rgb(37 99 235/var(--tw-text-opacity))}.text-blue-800{--tw-text-opacity:1;color:rgb(30 64 175/var(--tw-text-opacity))}.text-card-foreground{color:hsl(var(--card-foreground))}.text-current{color:currentColor}.text-destructive{color:hsl(var(--destructive))}.text-destructive-foreground{color:hsl(var(--destructive-foreground))}.text-emerald-500{--tw-text-opacity:1;color:rgb(16 185 129/var(--tw-text-opacity))}.text-foreground{color:hsl(var(--foreground))}.text-foreground\/50{color:hsl(var(--foreground)/.5)}.text-gray-400{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.text-gray-500{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.text-gray-600{--tw-text-opacity:1;color:rgb(75 85 99/var(--tw-text-opacity))}.text-gray-700{--tw-text-opacity:1;color:rgb(55 65 81/var(--tw-text-opacity))}.text-gray-800{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.text-gray-900{--tw-text-opacity:1;color:rgb(17 24 39/var(--tw-text-opacity))}.text-green-400{--tw-text-opacity:1;color:rgb(74 222 128/var(--tw-text-opacity))}.text-green-500{--tw-text-opacity:1;color:rgb(34 197 94/var(--tw-text-opacity))}.text-green-600{--tw-text-opacity:1;color:rgb(22 163 74/var(--tw-text-opacity))}.text-green-700{--tw-text-opacity:1;color:rgb(21 128 61/var(--tw-text-opacity))}.text-green-800{--tw-text-opacity:1;color:rgb(22 101 52/var(--tw-text-opacity))}.text-muted{color:hsl(var(--muted))}.text-muted-foreground{color:hsl(var(--muted-foreground))}.text-orange-500{--tw-text-opacity:1;color:rgb(249 115 22/var(--tw-text-opacity))}.text-orange-600{--tw-text-opacity:1;color:rgb(234 88 12/var(--tw-text-opacity))}.text-orange-800{--tw-text-opacity:1;color:rgb(154 52 18/var(--tw-text-opacity))}.text-popover-foreground{color:hsl(var(--popover-foreground))}.text-primary{color:hsl(var(--primary))}.text-primary-foreground{color:hsl(var(--primary-foreground))}.text-purple-600{--tw-text-opacity:1;color:rgb(147 51 234/var(--tw-text-opacity))}.text-purple-800{--tw-text-opacity:1;color:rgb(107 33 168/var(--tw-text-opacity))}.text-red-500{--tw-text-opacity:1;color:rgb(239 68 68/var(--tw-text-opacity))}.text-red-600{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.text-red-700{--tw-text-opacity:1;color:rgb(185 28 28/var(--tw-text-opacity))}.text-red-800{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.text-rose-500{--tw-text-opacity:1;color:rgb(244 63 94/var(--tw-text-opacity))}.text-rose-600{--tw-text-opacity:1;color:rgb(225 29 72/var(--tw-text-opacity))}.text-secondary-foreground{color:hsl(var(--secondary-foreground))}.text-teal-500{--tw-text-opacity:1;color:rgb(20 184 166/var(--tw-text-opacity))}.text-teal-800{--tw-text-opacity:1;color:rgb(17 94 89/var(--tw-text-opacity))}.text-violet-500{--tw-text-opacity:1;color:rgb(139 92 246/var(--tw-text-opacity))}.text-violet-600{--tw-text-opacity:1;color:rgb(124 58 237/var(--tw-text-opacity))}.text-white{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}.text-yellow-500{--tw-text-opacity:1;color:rgb(234 179 8/var(--tw-text-opacity))}.text-yellow-600{--tw-text-opacity:1;color:rgb(202 138 4/var(--tw-text-opacity))}.text-yellow-800{--tw-text-opacity:1;color:rgb(133 77 14/var(--tw-text-opacity))}.underline{text-decoration-line:underline}.underline-offset-4{text-underline-offset:4px}.antialiased{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.opacity-0{opacity:0}.opacity-100{opacity:1}.opacity-50{opacity:.5}.opacity-60{opacity:.6}.opacity-70{opacity:.7}.opacity-90{opacity:.9}.shadow{--tw-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color)}.shadow,.shadow-lg{box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.shadow-lg{--tw-shadow:0 10px 15px -3px rgba(0,0,0,.1),0 4px 6px -4px rgba(0,0,0,.1);--tw-shadow-colored:0 10px 15px -3px var(--tw-shadow-color),0 4px 6px -4px var(--tw-shadow-color)}.shadow-md{--tw-shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -2px rgba(0,0,0,.1);--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color),0 2px 4px -2px var(--tw-shadow-color)}.shadow-md,.shadow-sm{box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.shadow-sm{--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color)}.shadow-xl{--tw-shadow:0 20px 25px -5px rgba(0,0,0,.1),0 8px 10px -6px rgba(0,0,0,.1);--tw-shadow-colored:0 20px 25px -5px var(--tw-shadow-color),0 8px 10px -6px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.outline-none{outline:2px solid transparent;outline-offset:2px}.outline{outline-style:solid}.ring-0{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.ring-offset-background{--tw-ring-offset-color:hsl(var(--background))}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-transform{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-100{transition-duration:.1s}.duration-200{transition-duration:.2s}.duration-300{transition-duration:.3s}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}@keyframes enter{0%{opacity:var(--tw-enter-opacity,1);transform:translate3d(var(--tw-enter-translate-x,0),var(--tw-enter-translate-y,0),0) scale3d(var(--tw-enter-scale,1),var(--tw-enter-scale,1),var(--tw-enter-scale,1)) rotate(var(--tw-enter-rotate,0))}}@keyframes exit{to{opacity:var(--tw-exit-opacity,1);transform:translate3d(var(--tw-exit-translate-x,0),var(--tw-exit-translate-y,0),0) scale3d(var(--tw-exit-scale,1),var(--tw-exit-scale,1),var(--tw-exit-scale,1)) rotate(var(--tw-exit-rotate,0))}}.animate-in{animation-name:enter;animation-duration:.15s;--tw-enter-opacity:initial;--tw-enter-scale:initial;--tw-enter-rotate:initial;--tw-enter-translate-x:initial;--tw-enter-translate-y:initial}.fade-in-0{--tw-enter-opacity:0}.zoom-in-95{--tw-enter-scale:.95}.duration-100{animation-duration:.1s}.duration-200{animation-duration:.2s}.duration-300{animation-duration:.3s}.ease-in-out{animation-timing-function:cubic-bezier(.4,0,.2,1)}.running{animation-play-state:running}.paused{animation-play-state:paused}.text-balance{text-wrap:balance}.\[appearance\:textfield\]{appearance:textfield}.file\:border-0::file-selector-button{border-width:0}.file\:bg-transparent::file-selector-button{background-color:transparent}.file\:text-sm::file-selector-button{font-size:.875rem;line-height:1.25rem}.file\:font-medium::file-selector-button{font-weight:500}.file\:text-foreground::file-selector-button{color:hsl(var(--foreground))}.placeholder\:text-muted-foreground::placeholder{color:hsl(var(--muted-foreground))}.first\:border-t-0:first-child{border-top-width:0}.first\:pt-0:first-child{padding-top:0}.even\:border-l:nth-child(2n){border-left-width:1px}.hover\:border-gray-400:hover{--tw-border-opacity:1;border-color:rgb(156 163 175/var(--tw-border-opacity))}.hover\:bg-accent:hover{background-color:hsl(var(--accent))}.hover\:bg-accent\/50:hover{background-color:hsl(var(--accent)/.5)}.hover\:bg-blue-800:hover{--tw-bg-opacity:1;background-color:rgb(30 64 175/var(--tw-bg-opacity))}.hover\:bg-destructive\/80:hover{background-color:hsl(var(--destructive)/.8)}.hover\:bg-destructive\/90:hover{background-color:hsl(var(--destructive)/.9)}.hover\:bg-emerald-700:hover{--tw-bg-opacity:1;background-color:rgb(4 120 87/var(--tw-bg-opacity))}.hover\:bg-emerald-800:hover{--tw-bg-opacity:1;background-color:rgb(6 95 70/var(--tw-bg-opacity))}.hover\:bg-muted:hover{background-color:hsl(var(--muted))}.hover\:bg-muted\/50:hover{background-color:hsl(var(--muted)/.5)}.hover\:bg-orange-600:hover{--tw-bg-opacity:1;background-color:rgb(234 88 12/var(--tw-bg-opacity))}.hover\:bg-orange-800:hover{--tw-bg-opacity:1;background-color:rgb(154 52 18/var(--tw-bg-opacity))}.hover\:bg-primary\/80:hover{background-color:hsl(var(--primary)/.8)}.hover\:bg-primary\/90:hover{background-color:hsl(var(--primary)/.9)}.hover\:bg-rose-800:hover{--tw-bg-opacity:1;background-color:rgb(159 18 57/var(--tw-bg-opacity))}.hover\:bg-secondary:hover{background-color:hsl(var(--secondary))}.hover\:bg-secondary\/80:hover{background-color:hsl(var(--secondary)/.8)}.hover\:bg-slate-100:hover{--tw-bg-opacity:1;background-color:rgb(241 245 249/var(--tw-bg-opacity))}.hover\:text-accent-foreground:hover{color:hsl(var(--accent-foreground))}.hover\:text-foreground:hover{color:hsl(var(--foreground))}.hover\:text-muted-foreground:hover{color:hsl(var(--muted-foreground))}.hover\:text-primary\/80:hover{color:hsl(var(--primary)/.8)}.hover\:text-purple-300:hover{--tw-text-opacity:1;color:rgb(216 180 254/var(--tw-text-opacity))}.hover\:underline:hover{text-decoration-line:underline}.hover\:opacity-100:hover{opacity:1}.focus\:z-10:focus{z-index:10}.focus\:bg-accent:focus{background-color:hsl(var(--accent))}.focus\:text-accent-foreground:focus{color:hsl(var(--accent-foreground))}.focus\:opacity-100:focus{opacity:1}.focus\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\:ring-1:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color)}.focus\:ring-1:focus,.focus\:ring-2:focus{box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.focus\:ring-2:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color)}.focus\:ring-ring:focus{--tw-ring-color:hsl(var(--ring))}.focus\:ring-offset-2:focus{--tw-ring-offset-width:2px}.focus-visible\:outline-none:focus-visible{outline:2px solid transparent;outline-offset:2px}.focus-visible\:ring-1:focus-visible{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.focus-visible\:ring-2:focus-visible{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.focus-visible\:ring-ring:focus-visible{--tw-ring-color:hsl(var(--ring))}.focus-visible\:ring-offset-2:focus-visible{--tw-ring-offset-width:2px}.focus-visible\:ring-offset-background:focus-visible{--tw-ring-offset-color:hsl(var(--background))}.disabled\:pointer-events-none:disabled{pointer-events:none}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:opacity-50:disabled{opacity:.5}.group:hover .group-hover\:opacity-100{opacity:1}.group.destructive .group-\[\.destructive\]\:border-muted\/40{border-color:hsl(var(--muted)/.4)}.group.destructive .group-\[\.destructive\]\:text-red-300{--tw-text-opacity:1;color:rgb(252 165 165/var(--tw-text-opacity))}.group.destructive .group-\[\.destructive\]\:hover\:border-destructive\/30:hover{border-color:hsl(var(--destructive)/.3)}.group.destructive .group-\[\.destructive\]\:hover\:bg-destructive:hover{background-color:hsl(var(--destructive))}.group.destructive .group-\[\.destructive\]\:hover\:text-destructive-foreground:hover{color:hsl(var(--destructive-foreground))}.group.destructive .group-\[\.destructive\]\:hover\:text-red-50:hover{--tw-text-opacity:1;color:rgb(254 242 242/var(--tw-text-opacity))}.group.destructive .group-\[\.destructive\]\:focus\:ring-destructive:focus{--tw-ring-color:hsl(var(--destructive))}.group.destructive .group-\[\.destructive\]\:focus\:ring-red-400:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(248 113 113/var(--tw-ring-opacity))}.group.destructive .group-\[\.destructive\]\:focus\:ring-offset-red-600:focus{--tw-ring-offset-color:#dc2626}.peer:disabled~.peer-disabled\:cursor-not-allowed{cursor:not-allowed}.peer:disabled~.peer-disabled\:opacity-70{opacity:.7}.data-\[disabled\=true\]\:pointer-events-none[data-disabled=true],.data-\[disabled\]\:pointer-events-none[data-disabled]{pointer-events:none}.data-\[side\=bottom\]\:translate-y-1[data-side=bottom]{--tw-translate-y:0.25rem}.data-\[side\=bottom\]\:translate-y-1[data-side=bottom],.data-\[side\=left\]\:-translate-x-1[data-side=left]{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.data-\[side\=left\]\:-translate-x-1[data-side=left]{--tw-translate-x:-0.25rem}.data-\[side\=right\]\:translate-x-1[data-side=right]{--tw-translate-x:0.25rem}.data-\[side\=right\]\:translate-x-1[data-side=right],.data-\[side\=top\]\:-translate-y-1[data-side=top]{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.data-\[side\=top\]\:-translate-y-1[data-side=top]{--tw-translate-y:-0.25rem}.data-\[state\=checked\]\:translate-x-4[data-state=checked]{--tw-translate-x:1rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.data-\[state\=unchecked\]\:translate-x-0[data-state=unchecked],.data-\[swipe\=cancel\]\:translate-x-0[data-swipe=cancel]{--tw-translate-x:0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.data-\[swipe\=end\]\:translate-x-\[var\(--radix-toast-swipe-end-x\)\][data-swipe=end]{--tw-translate-x:var(--radix-toast-swipe-end-x)}.data-\[swipe\=end\]\:translate-x-\[var\(--radix-toast-swipe-end-x\)\][data-swipe=end],.data-\[swipe\=move\]\:translate-x-\[var\(--radix-toast-swipe-move-x\)\][data-swipe=move]{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.data-\[swipe\=move\]\:translate-x-\[var\(--radix-toast-swipe-move-x\)\][data-swipe=move]{--tw-translate-x:var(--radix-toast-swipe-move-x)}@keyframes accordion-up{0%{height:var(--radix-accordion-content-height)}to{height:0}}.data-\[state\=closed\]\:animate-accordion-up[data-state=closed]{animation:accordion-up .2s ease-out}@keyframes accordion-down{0%{height:0}to{height:var(--radix-accordion-content-height)}}.data-\[state\=open\]\:animate-accordion-down[data-state=open]{animation:accordion-down .2s ease-out}.data-\[active\=true\]\:bg-muted\/50[data-active=true]{background-color:hsl(var(--muted)/.5)}.data-\[selected\=true\]\:bg-accent[data-selected=true]{background-color:hsl(var(--accent))}.data-\[state\=active\]\:bg-background[data-state=active]{background-color:hsl(var(--background))}.data-\[state\=checked\]\:bg-primary[data-state=checked]{background-color:hsl(var(--primary))}.data-\[state\=on\]\:bg-accent[data-state=on],.data-\[state\=open\]\:bg-accent[data-state=open]{background-color:hsl(var(--accent))}.data-\[state\=open\]\:bg-secondary[data-state=open]{background-color:hsl(var(--secondary))}.data-\[state\=selected\]\:bg-muted[data-state=selected]{background-color:hsl(var(--muted))}.data-\[state\=unchecked\]\:bg-input[data-state=unchecked]{background-color:hsl(var(--input))}.data-\[selected\=true\]\:text-accent-foreground[data-selected=true]{color:hsl(var(--accent-foreground))}.data-\[state\=active\]\:text-foreground[data-state=active]{color:hsl(var(--foreground))}.data-\[state\=checked\]\:text-primary-foreground[data-state=checked]{color:hsl(var(--primary-foreground))}.data-\[state\=on\]\:text-accent-foreground[data-state=on]{color:hsl(var(--accent-foreground))}.data-\[state\=open\]\:text-muted-foreground[data-state=open]{color:hsl(var(--muted-foreground))}.data-\[disabled\=true\]\:opacity-50[data-disabled=true],.data-\[disabled\]\:opacity-50[data-disabled]{opacity:.5}.data-\[state\=active\]\:shadow[data-state=active]{--tw-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.data-\[swipe\=move\]\:transition-none[data-swipe=move]{transition-property:none}.data-\[state\=closed\]\:duration-300[data-state=closed]{transition-duration:.3s}.data-\[state\=open\]\:duration-500[data-state=open]{transition-duration:.5s}.data-\[state\=open\]\:animate-in[data-state=open]{animation-name:enter;animation-duration:.15s;--tw-enter-opacity:initial;--tw-enter-scale:initial;--tw-enter-rotate:initial;--tw-enter-translate-x:initial;--tw-enter-translate-y:initial}.data-\[state\=closed\]\:animate-out[data-state=closed],.data-\[swipe\=end\]\:animate-out[data-swipe=end]{animation-name:exit;animation-duration:.15s;--tw-exit-opacity:initial;--tw-exit-scale:initial;--tw-exit-rotate:initial;--tw-exit-translate-x:initial;--tw-exit-translate-y:initial}.data-\[state\=closed\]\:fade-out-0[data-state=closed]{--tw-exit-opacity:0}.data-\[state\=closed\]\:fade-out-80[data-state=closed]{--tw-exit-opacity:0.8}.data-\[state\=open\]\:fade-in-0[data-state=open]{--tw-enter-opacity:0}.data-\[state\=closed\]\:zoom-out-95[data-state=closed]{--tw-exit-scale:.95}.data-\[state\=open\]\:zoom-in-95[data-state=open]{--tw-enter-scale:.95}.data-\[side\=bottom\]\:slide-in-from-top-2[data-side=bottom]{--tw-enter-translate-y:-0.5rem}.data-\[side\=left\]\:slide-in-from-right-2[data-side=left]{--tw-enter-translate-x:0.5rem}.data-\[side\=right\]\:slide-in-from-left-2[data-side=right]{--tw-enter-translate-x:-0.5rem}.data-\[side\=top\]\:slide-in-from-bottom-2[data-side=top]{--tw-enter-translate-y:0.5rem}.data-\[state\=closed\]\:slide-out-to-bottom[data-state=closed]{--tw-exit-translate-y:100%}.data-\[state\=closed\]\:slide-out-to-left[data-state=closed]{--tw-exit-translate-x:-100%}.data-\[state\=closed\]\:slide-out-to-left-1\/2[data-state=closed]{--tw-exit-translate-x:-50%}.data-\[state\=closed\]\:slide-out-to-right-full[data-state=closed],.data-\[state\=closed\]\:slide-out-to-right[data-state=closed]{--tw-exit-translate-x:100%}.data-\[state\=closed\]\:slide-out-to-top[data-state=closed]{--tw-exit-translate-y:-100%}.data-\[state\=closed\]\:slide-out-to-top-\[48\%\][data-state=closed]{--tw-exit-translate-y:-48%}.data-\[state\=open\]\:slide-in-from-bottom[data-state=open]{--tw-enter-translate-y:100%}.data-\[state\=open\]\:slide-in-from-left[data-state=open]{--tw-enter-translate-x:-100%}.data-\[state\=open\]\:slide-in-from-left-1\/2[data-state=open]{--tw-enter-translate-x:-50%}.data-\[state\=open\]\:slide-in-from-right[data-state=open]{--tw-enter-translate-x:100%}.data-\[state\=open\]\:slide-in-from-top[data-state=open]{--tw-enter-translate-y:-100%}.data-\[state\=open\]\:slide-in-from-top-\[48\%\][data-state=open]{--tw-enter-translate-y:-48%}.data-\[state\=open\]\:slide-in-from-top-full[data-state=open]{--tw-enter-translate-y:-100%}.data-\[state\=closed\]\:duration-300[data-state=closed]{animation-duration:.3s}.data-\[state\=open\]\:duration-500[data-state=open]{animation-duration:.5s}.dark\:-rotate-90:is(.dark *){--tw-rotate:-90deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.dark\:rotate-0:is(.dark *){--tw-rotate:0deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.dark\:scale-0:is(.dark *){--tw-scale-x:0;--tw-scale-y:0;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.dark\:scale-100:is(.dark *){--tw-scale-x:1;--tw-scale-y:1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.dark\:border-blue-800:is(.dark *){--tw-border-opacity:1;border-color:rgb(30 64 175/var(--tw-border-opacity))}.dark\:border-destructive:is(.dark *){border-color:hsl(var(--destructive))}.dark\:border-gray-700:is(.dark *){--tw-border-opacity:1;border-color:rgb(55 65 81/var(--tw-border-opacity))}.dark\:border-gray-800:is(.dark *){--tw-border-opacity:1;border-color:rgb(31 41 55/var(--tw-border-opacity))}.dark\:border-green-800:is(.dark *){--tw-border-opacity:1;border-color:rgb(22 101 52/var(--tw-border-opacity))}.dark\:border-orange-800:is(.dark *){--tw-border-opacity:1;border-color:rgb(154 52 18/var(--tw-border-opacity))}.dark\:border-purple-800:is(.dark *){--tw-border-opacity:1;border-color:rgb(107 33 168/var(--tw-border-opacity))}.dark\:border-red-800:is(.dark *){--tw-border-opacity:1;border-color:rgb(153 27 27/var(--tw-border-opacity))}.dark\:border-teal-800:is(.dark *){--tw-border-opacity:1;border-color:rgb(17 94 89/var(--tw-border-opacity))}.dark\:border-yellow-800:is(.dark *){--tw-border-opacity:1;border-color:rgb(133 77 14/var(--tw-border-opacity))}.dark\:bg-blue-900\/20:is(.dark *){background-color:rgba(30,58,138,.2)}.dark\:bg-gray-700:is(.dark *){--tw-bg-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity))}.dark\:bg-gray-800:is(.dark *){--tw-bg-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity))}.dark\:bg-gray-800\/50:is(.dark *){background-color:rgba(31,41,55,.5)}.dark\:bg-gray-900\/20:is(.dark *){background-color:rgba(17,24,39,.2)}.dark\:bg-green-900\/20:is(.dark *){background-color:rgba(20,83,45,.2)}.dark\:bg-orange-900\/20:is(.dark *){background-color:rgba(124,45,18,.2)}.dark\:bg-purple-900\/20:is(.dark *){background-color:rgba(88,28,135,.2)}.dark\:bg-red-900\/20:is(.dark *){background-color:rgba(127,29,29,.2)}.dark\:bg-slate-800:is(.dark *){--tw-bg-opacity:1;background-color:rgb(30 41 59/var(--tw-bg-opacity))}.dark\:bg-teal-900\/20:is(.dark *){background-color:rgba(19,78,74,.2)}.dark\:bg-yellow-900\/20:is(.dark *){background-color:rgba(113,63,18,.2)}.dark\:text-blue-200:is(.dark *){--tw-text-opacity:1;color:rgb(191 219 254/var(--tw-text-opacity))}.dark\:text-blue-300:is(.dark *){--tw-text-opacity:1;color:rgb(147 197 253/var(--tw-text-opacity))}.dark\:text-blue-400:is(.dark *){--tw-text-opacity:1;color:rgb(96 165 250/var(--tw-text-opacity))}.dark\:text-gray-100:is(.dark *){--tw-text-opacity:1;color:rgb(243 244 246/var(--tw-text-opacity))}.dark\:text-gray-200:is(.dark *){--tw-text-opacity:1;color:rgb(229 231 235/var(--tw-text-opacity))}.dark\:text-gray-300:is(.dark *){--tw-text-opacity:1;color:rgb(209 213 219/var(--tw-text-opacity))}.dark\:text-gray-400:is(.dark *){--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.dark\:text-gray-500:is(.dark *){--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.dark\:text-green-200:is(.dark *){--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.dark\:text-green-300:is(.dark *){--tw-text-opacity:1;color:rgb(134 239 172/var(--tw-text-opacity))}.dark\:text-green-400:is(.dark *){--tw-text-opacity:1;color:rgb(74 222 128/var(--tw-text-opacity))}.dark\:text-orange-300:is(.dark *){--tw-text-opacity:1;color:rgb(253 186 116/var(--tw-text-opacity))}.dark\:text-orange-400:is(.dark *){--tw-text-opacity:1;color:rgb(251 146 60/var(--tw-text-opacity))}.dark\:text-purple-300:is(.dark *){--tw-text-opacity:1;color:rgb(216 180 254/var(--tw-text-opacity))}.dark\:text-purple-400:is(.dark *){--tw-text-opacity:1;color:rgb(192 132 252/var(--tw-text-opacity))}.dark\:text-red-200:is(.dark *){--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.dark\:text-red-300:is(.dark *){--tw-text-opacity:1;color:rgb(252 165 165/var(--tw-text-opacity))}.dark\:text-red-400:is(.dark *){--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.dark\:text-teal-300:is(.dark *){--tw-text-opacity:1;color:rgb(94 234 212/var(--tw-text-opacity))}.dark\:text-yellow-200:is(.dark *){--tw-text-opacity:1;color:rgb(254 240 138/var(--tw-text-opacity))}.dark\:hover\:bg-slate-900:hover:is(.dark *){--tw-bg-opacity:1;background-color:rgb(15 23 42/var(--tw-bg-opacity))}@media (min-width:640px){.sm\:bottom-0{bottom:0}.sm\:right-0{right:0}.sm\:top-auto{top:auto}.sm\:mt-0{margin-top:0}.sm\:max-w-\[800px\]{max-width:800px}.sm\:max-w-sm{max-width:24rem}.sm\:flex-initial{flex:0 1 auto}.sm\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.sm\:flex-row{flex-direction:row}.sm\:flex-col{flex-direction:column}.sm\:items-start{align-items:flex-start}.sm\:justify-end{justify-content:flex-end}.sm\:gap-2\.5{gap:.625rem}.sm\:space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-right:calc(.5rem * var(--tw-space-x-reverse));margin-left:calc(.5rem * calc(1 - var(--tw-space-x-reverse)))}.sm\:rounded-lg{border-radius:var(--radius)}.sm\:border-l{border-left-width:1px}.sm\:border-t-0{border-top-width:0}.sm\:p-20{padding:5rem}.sm\:p-6{padding:1.5rem}.sm\:px-8{padding-left:2rem;padding-right:2rem}.sm\:py-6{padding-top:1.5rem;padding-bottom:1.5rem}.sm\:text-left{text-align:left}.sm\:text-3xl{font-size:1.875rem;line-height:2.25rem}.data-\[state\=open\]\:sm\:slide-in-from-bottom-full[data-state=open]{--tw-enter-translate-y:100%}}@media (min-width:768px){.md\:ml-auto{margin-left:auto}.md\:mr-8{margin-right:2rem}.md\:block{display:block}.md\:size-12{width:3rem;height:3rem}.md\:w-36{width:9rem}.md\:max-w-\[420px\]{max-width:420px}.md\:max-w-full{max-width:100%}.md\:max-w-lg{max-width:32rem}.md\:max-w-md{max-width:28rem}.md\:basis-1\/2{flex-basis:50%}.md\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.md\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.md\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.md\:grid-cols-6{grid-template-columns:repeat(6,minmax(0,1fr))}.md\:grid-cols-\[180px_1fr\]{grid-template-columns:180px 1fr}.md\:flex-row{flex-direction:row}.md\:items-center{align-items:center}.md\:gap-2{gap:.5rem}.md\:gap-8{gap:2rem}.md\:p-10{padding:2.5rem}.md\:px-6{padding-left:1.5rem;padding-right:1.5rem}.md\:py-6{padding-top:1.5rem;padding-bottom:1.5rem}.md\:text-sm{font-size:.875rem;line-height:1.25rem}.md\:text-xl{font-size:1.25rem;line-height:1.75rem}}@media (min-width:1024px){.lg\:col-span-2{grid-column:span 2/span 2}.lg\:block{display:block}.lg\:flex{display:flex}.lg\:hidden{display:none}.lg\:size-16{width:4rem;height:4rem}.lg\:size-4{width:1rem;height:1rem}.lg\:size-48{width:12rem;height:12rem}.lg\:size-6{width:1.5rem;height:1.5rem}.lg\:h-10{height:2.5rem}.lg\:h-48{height:12rem}.lg\:w-48{width:12rem}.lg\:max-w-full{max-width:100%}.lg\:basis-1\/3{flex-basis:33.333333%}.lg\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.lg\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.lg\:grid-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}.lg\:grid-cols-8{grid-template-columns:repeat(8,minmax(0,1fr))}.lg\:grid-cols-\[250px_1fr\]{grid-template-columns:250px 1fr}.lg\:flex-row{flex-direction:row}.lg\:items-center{align-items:center}.lg\:gap-4{gap:1rem}.lg\:gap-5{gap:1.25rem}.lg\:gap-y-0{row-gap:0}.lg\:space-x-1>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-right:calc(.25rem * var(--tw-space-x-reverse));margin-left:calc(.25rem * calc(1 - var(--tw-space-x-reverse)))}.lg\:p-6{padding:1.5rem}.lg\:px-4{padding-left:1rem;padding-right:1rem}.lg\:py-12{padding-top:3rem;padding-bottom:3rem}.lg\:text-\[4rem\]{font-size:4rem}.lg\:text-base{font-size:1rem;line-height:1.5rem}}@media (min-width:1280px){.xl\:size-14{width:3.5rem;height:3.5rem}.xl\:size-6{width:1.5rem;height:1.5rem}.xl\:w-\[800px\]{width:800px}.xl\:max-w-xl{max-width:36rem}.xl\:gap-6{gap:1.5rem}.xl\:gap-y-10{row-gap:2.5rem}.xl\:p-4{padding:1rem}.xl\:text-2xl{font-size:1.5rem;line-height:2rem}.xl\:text-3xl{font-size:1.875rem;line-height:2.25rem}.xl\:text-xl{font-size:1.25rem;line-height:1.75rem}}@media (min-width:1536px){.\32xl\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}}.\[\&\+div\]\:text-xs+div{font-size:.75rem;line-height:1rem}.\[\&\:\:-webkit-inner-spin-button\]\:appearance-none::-webkit-inner-spin-button,.\[\&\:\:-webkit-outer-spin-button\]\:appearance-none::-webkit-outer-spin-button{appearance:none}.\[\&\:has\(\[role\=checkbox\]\)\]\:pr-0:has([role=checkbox]){padding-right:0}.\[\&\>\[role\=checkbox\]\]\:translate-y-\[2px\]>[role=checkbox]{--tw-translate-y:2px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.\[\&\>span\]\:line-clamp-1>span{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1}.\[\&\>svg\+div\]\:translate-y-\[-3px\]>svg+div{--tw-translate-y:-3px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.\[\&\>svg\]\:absolute>svg{position:absolute}.\[\&\>svg\]\:left-4>svg{left:1rem}.\[\&\>svg\]\:top-4>svg{top:1rem}.\[\&\>svg\]\:size-3\.5>svg{width:.875rem;height:.875rem}.\[\&\>svg\]\:h-2\.5>svg{height:.625rem}.\[\&\>svg\]\:h-3>svg{height:.75rem}.\[\&\>svg\]\:w-2\.5>svg{width:.625rem}.\[\&\>svg\]\:w-3>svg{width:.75rem}.\[\&\>svg\]\:text-destructive>svg{color:hsl(var(--destructive))}.\[\&\>svg\]\:text-foreground>svg{color:hsl(var(--foreground))}.\[\&\>svg\]\:text-muted-foreground>svg{color:hsl(var(--muted-foreground))}.\[\&\>svg\~\*\]\:pl-7>svg~*{padding-left:1.75rem}.\[\&\>tr\]\:last\:border-b-0:last-child>tr{border-bottom-width:0}.\[\&\[data-state\=open\]\>svg\]\:rotate-180[data-state=open]>svg{--tw-rotate:180deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.\[\&_\.recharts-cartesian-axis-tick_text\]\:fill-muted-foreground .recharts-cartesian-axis-tick text{fill:hsl(var(--muted-foreground))}.\[\&_\.recharts-cartesian-grid_line\[stroke\=\'\#ccc\'\]\]\:stroke-border\/50 .recharts-cartesian-grid line[stroke="#ccc"]{stroke:hsl(var(--border)/.5)}.\[\&_\.recharts-curve\.recharts-tooltip-cursor\]\:stroke-border .recharts-curve.recharts-tooltip-cursor{stroke:hsl(var(--border))}.\[\&_\.recharts-dot\[stroke\=\'\#fff\'\]\]\:stroke-transparent .recharts-dot[stroke="#fff"]{stroke:transparent}.\[\&_\.recharts-layer\]\:outline-none .recharts-layer{outline:2px solid transparent;outline-offset:2px}.\[\&_\.recharts-polar-grid_\[stroke\=\'\#ccc\'\]\]\:stroke-border .recharts-polar-grid [stroke="#ccc"]{stroke:hsl(var(--border))}.\[\&_\.recharts-radial-bar-background-sector\]\:fill-muted .recharts-radial-bar-background-sector,.\[\&_\.recharts-rectangle\.recharts-tooltip-cursor\]\:fill-muted .recharts-rectangle.recharts-tooltip-cursor{fill:hsl(var(--muted))}.\[\&_\.recharts-reference-line_\[stroke\=\'\#ccc\'\]\]\:stroke-border .recharts-reference-line [stroke="#ccc"]{stroke:hsl(var(--border))}.\[\&_\.recharts-sector\[stroke\=\'\#fff\'\]\]\:stroke-transparent .recharts-sector[stroke="#fff"]{stroke:transparent}.\[\&_\.recharts-sector\]\:outline-none .recharts-sector,.\[\&_\.recharts-surface\]\:outline-none .recharts-surface{outline:2px solid transparent;outline-offset:2px}.\[\&_\[cmdk-group-heading\]\]\:px-2 [cmdk-group-heading]{padding-left:.5rem;padding-right:.5rem}.\[\&_\[cmdk-group-heading\]\]\:py-1\.5 [cmdk-group-heading]{padding-top:.375rem;padding-bottom:.375rem}.\[\&_\[cmdk-group-heading\]\]\:text-xs [cmdk-group-heading]{font-size:.75rem;line-height:1rem}.\[\&_\[cmdk-group-heading\]\]\:font-medium [cmdk-group-heading]{font-weight:500}.\[\&_\[cmdk-group-heading\]\]\:text-muted-foreground [cmdk-group-heading]{color:hsl(var(--muted-foreground))}.\[\&_\[cmdk-group\]\:not\(\[hidden\]\)_\~\[cmdk-group\]\]\:pt-0 [cmdk-group]:not([hidden])~[cmdk-group]{padding-top:0}.\[\&_\[cmdk-group\]\]\:px-2 [cmdk-group]{padding-left:.5rem;padding-right:.5rem}.\[\&_\[cmdk-input-wrapper\]_svg\]\:h-5 [cmdk-input-wrapper] svg{height:1.25rem}.\[\&_\[cmdk-input-wrapper\]_svg\]\:w-5 [cmdk-input-wrapper] svg{width:1.25rem}.\[\&_\[cmdk-input\]\]\:h-12 [cmdk-input]{height:3rem}.\[\&_\[cmdk-item\]\]\:px-2 [cmdk-item]{padding-left:.5rem;padding-right:.5rem}.\[\&_\[cmdk-item\]\]\:py-3 [cmdk-item]{padding-top:.75rem;padding-bottom:.75rem}.\[\&_\[cmdk-item\]_svg\]\:h-5 [cmdk-item] svg{height:1.25rem}.\[\&_\[cmdk-item\]_svg\]\:w-5 [cmdk-item] svg{width:1.25rem}.\[\&_p\]\:leading-relaxed p{line-height:1.625}.\[\&_svg\]\:pointer-events-none svg{pointer-events:none}.\[\&_svg\]\:size-4 svg{width:1rem;height:1rem}.\[\&_svg\]\:size-full svg{width:100%;height:100%}.\[\&_svg\]\:shrink-0 svg{flex-shrink:0}.\[\&_tr\:last-child\]\:border-0 tr:last-child{border-width:0}.\[\&_tr\]\:border-b tr{border-bottom-width:1px}@font-face{font-family:euclid;src:url(/_next/static/media/72399823edb708a6-s.p.woff2) format("woff2");font-display:swap;font-weight:300;font-style:normal}@font-face{font-family:euclid;src:url(/_next/static/media/a41b42e1a9703195-s.p.woff2) format("woff2");font-display:swap;font-weight:400;font-style:normal}@font-face{font-family:euclid;src:url(/_next/static/media/243b6dfb2e48e7ed-s.p.woff2) format("woff2");font-display:swap;font-weight:500;font-style:normal}@font-face{font-family:euclid;src:url(/_next/static/media/70a526c127b6fc39-s.p.woff2) format("woff2");font-display:swap;font-weight:600;font-style:normal}@font-face{font-family:euclid;src:url(/_next/static/media/0aa2ebf4cf06f243-s.p.woff2) format("woff2");font-display:swap;font-weight:700;font-style:normal}@font-face{font-family:euclid;src:url(/_next/static/media/cf37f781bdc22339-s.p.woff2) format("woff2");font-display:swap;font-weight:400;font-style:italic}@font-face{font-family:euclid Fallback;src:local("Arial");ascent-override:93.47%;descent-override:25.05%;line-gap-override:0.00%;size-adjust:106.98%}.__className_9dae3d{font-family:euclid,euclid Fallback} \ No newline at end of file diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/uRwx5ooNp2kzLYjnL-ESB/_buildManifest.js b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/uRwx5ooNp2kzLYjnL-ESB/_buildManifest.js deleted file mode 100644 index f8ead7e..0000000 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/uRwx5ooNp2kzLYjnL-ESB/_buildManifest.js +++ /dev/null @@ -1 +0,0 @@ -self.__BUILD_MANIFEST=function(r,e,t){return{__rewrites:{afterFiles:[],beforeFiles:[],fallback:[]},__routerFilterStatic:{numItems:32,errorRate:1e-4,numBits:614,numHashes:14,bitArray:[0,1,1,1,0,r,0,e,e,r,r,e,e,r,r,e,r,r,e,e,e,r,r,e,r,r,e,e,r,r,r,r,r,e,r,e,r,r,r,r,e,e,r,e,r,r,e,r,e,r,r,e,e,e,r,e,e,e,e,r,e,e,r,r,r,e,e,e,e,e,r,r,r,r,r,r,e,r,e,r,r,r,e,r,e,r,e,e,r,r,r,e,e,r,r,e,e,r,r,r,r,e,e,r,r,r,r,e,r,e,r,r,e,r,r,e,r,r,r,r,r,e,e,r,r,e,e,e,e,e,r,r,e,r,e,r,r,r,r,e,e,e,e,e,r,r,r,e,r,e,e,e,r,r,r,r,r,e,e,e,e,r,e,e,e,e,e,r,r,e,e,e,e,e,r,e,e,e,r,r,e,e,r,r,e,r,e,e,r,e,r,e,e,e,e,r,r,e,r,e,e,e,e,r,e,r,e,r,r,r,r,e,e,e,e,r,r,r,e,e,r,r,e,r,e,r,e,r,r,r,e,r,r,e,e,e,e,e,e,e,r,r,e,r,e,r,e,e,e,e,r,e,r,r,r,e,r,e,e,r,e,r,r,e,e,r,r,r,r,e,e,e,e,e,r,e,r,r,e,e,r,e,r,e,r,r,e,e,e,r,e,r,e,r,r,e,e,r,e,r,r,r,r,e,r,e,r,e,r,e,e,e,e,e,e,e,r,r,e,r,r,e,e,e,e,r,r,r,e,e,e,e,e,e,e,e,e,r,e,e,r,e,r,r,r,r,r,r,e,r,e,e,e,e,r,r,r,r,r,e,r,e,r,r,e,r,r,r,r,e,e,e,r,r,e,r,r,r,e,r,r,e,e,e,r,r,r,e,e,e,e,e,e,r,e,r,r,r,r,e,e,e,r,r,r,e,e,e,r,r,e,r,r,e,r,r,e,e,r,r,e,r,e,r,e,e,r,r,e,e,r,r,r,e,e,r,r,r,r,r,e,e,r,e,r,e,r,e,e,e,r,r,e,e,r,r,r,e,r,e,e,r,r,e,r,r,r,r,r,r,e,r,e,e,r,r,e,e,r,r,r,e,r,r,r,r,r,r,r,r,e,r,r,e,r,r,e,e,r,r,e,r,r,e,e,r,r,r,e,e,r,r,r,e,r,r,e,r,r,r,r,e,e,e,r,r,r,e,e,r,e,e,r,r,r,r,e,e,r,r,e,r,e,r,e,e,r,e,r,r,e,r,r,e,e,r,r,r,e,r,r,r,e,r,e,r,e,r,r,r,e,r,e,r,r,r,r,e,e,r,e,e,e,r,r,r,e,r,e,r,e,r,e,e,r,e,r,e,r,r,r,r,e,r,r,e,r,r,e,e,e,r,e,r]},__routerFilterDynamic:{numItems:e,errorRate:1e-4,numBits:e,numHashes:null,bitArray:[]},"/_error":["static/chunks/pages/_error-8219f0da6c3b58d9.js"],sortedPages:["/_app","/_error"]}}(1,0,0),self.__BUILD_MANIFEST_CB&&self.__BUILD_MANIFEST_CB(); \ No newline at end of file diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/advance/fetch_commands.shZone.Identifier b/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/advance/fetch_commands.shZone.Identifier new file mode 100644 index 0000000..f46bcc4 --- /dev/null +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/advance/fetch_commands.shZone.Identifier @@ -0,0 +1,2 @@ +[ZoneTransfer] +ZoneId=3 diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/advance/fetch_macs.shZone.Identifier b/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/advance/fetch_macs.shZone.Identifier new file mode 100644 index 0000000..f46bcc4 --- /dev/null +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/advance/fetch_macs.shZone.Identifier @@ -0,0 +1,2 @@ +[ZoneTransfer] +ZoneId=3 diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/advance/mtu.shZone.Identifier b/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/advance/mtu.shZone.Identifier new file mode 100644 index 0000000..f46bcc4 --- /dev/null +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/advance/mtu.shZone.Identifier @@ -0,0 +1,2 @@ +[ZoneTransfer] +ZoneId=3 diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/advance/ttl.shZone.Identifier b/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/advance/ttl.shZone.Identifier new file mode 100644 index 0000000..f46bcc4 --- /dev/null +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/advance/ttl.shZone.Identifier @@ -0,0 +1,2 @@ +[ZoneTransfer] +ZoneId=3 diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/at_cmd/at_queue_client.shZone.Identifier b/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/at_cmd/at_queue_client.shZone.Identifier new file mode 100644 index 0000000..f46bcc4 --- /dev/null +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/at_cmd/at_queue_client.shZone.Identifier @@ -0,0 +1,2 @@ +[ZoneTransfer] +ZoneId=3 diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/at_cmd/fetch_data.shZone.Identifier b/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/at_cmd/fetch_data.shZone.Identifier new file mode 100644 index 0000000..f46bcc4 --- /dev/null +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/at_cmd/fetch_data.shZone.Identifier @@ -0,0 +1,2 @@ +[ZoneTransfer] +ZoneId=3 diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/auth.shZone.Identifier b/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/auth.shZone.Identifier new file mode 100644 index 0000000..f46bcc4 --- /dev/null +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/auth.shZone.Identifier @@ -0,0 +1,2 @@ +[ZoneTransfer] +ZoneId=3 diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/cell-locking/apply_lock.shZone.Identifier b/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/cell-locking/apply_lock.shZone.Identifier new file mode 100644 index 0000000..f46bcc4 --- /dev/null +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/cell-locking/apply_lock.shZone.Identifier @@ -0,0 +1,2 @@ +[ZoneTransfer] +ZoneId=3 diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/cell-locking/boot_check.shZone.Identifier b/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/cell-locking/boot_check.shZone.Identifier new file mode 100644 index 0000000..f46bcc4 --- /dev/null +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/cell-locking/boot_check.shZone.Identifier @@ -0,0 +1,2 @@ +[ZoneTransfer] +ZoneId=3 diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/cell-locking/get_cell_lock.shZone.Identifier b/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/cell-locking/get_cell_lock.shZone.Identifier new file mode 100644 index 0000000..f46bcc4 --- /dev/null +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/cell-locking/get_cell_lock.shZone.Identifier @@ -0,0 +1,2 @@ +[ZoneTransfer] +ZoneId=3 diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/cell-locking/handle_scheduled_locking.shZone.Identifier b/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/cell-locking/handle_scheduled_locking.shZone.Identifier new file mode 100644 index 0000000..f46bcc4 --- /dev/null +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/cell-locking/handle_scheduled_locking.shZone.Identifier @@ -0,0 +1,2 @@ +[ZoneTransfer] +ZoneId=3 diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/cell-locking/remove_lock.shZone.Identifier b/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/cell-locking/remove_lock.shZone.Identifier new file mode 100644 index 0000000..f46bcc4 --- /dev/null +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/cell-locking/remove_lock.shZone.Identifier @@ -0,0 +1,2 @@ +[ZoneTransfer] +ZoneId=3 diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/cell-locking/rotate_logs.shZone.Identifier b/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/cell-locking/rotate_logs.shZone.Identifier new file mode 100644 index 0000000..f46bcc4 --- /dev/null +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/cell-locking/rotate_logs.shZone.Identifier @@ -0,0 +1,2 @@ +[ZoneTransfer] +ZoneId=3 diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/cell-locking/update_crontab.shZone.Identifier b/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/cell-locking/update_crontab.shZone.Identifier new file mode 100644 index 0000000..f46bcc4 --- /dev/null +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/cell-locking/update_crontab.shZone.Identifier @@ -0,0 +1,2 @@ +[ZoneTransfer] +ZoneId=3 diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/cell-settings/scheduled_cell_locking.shZone.Identifier b/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/cell-settings/scheduled_cell_locking.shZone.Identifier new file mode 100644 index 0000000..f46bcc4 --- /dev/null +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/cell-settings/scheduled_cell_locking.shZone.Identifier @@ -0,0 +1,2 @@ +[ZoneTransfer] +ZoneId=3 diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/cell-settings/sms/sms_delete.shZone.Identifier b/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/cell-settings/sms/sms_delete.shZone.Identifier new file mode 100644 index 0000000..f46bcc4 --- /dev/null +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/cell-settings/sms/sms_delete.shZone.Identifier @@ -0,0 +1,2 @@ +[ZoneTransfer] +ZoneId=3 diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/cell-settings/sms/sms_inbox.shZone.Identifier b/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/cell-settings/sms/sms_inbox.shZone.Identifier new file mode 100644 index 0000000..f46bcc4 --- /dev/null +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/cell-settings/sms/sms_inbox.shZone.Identifier @@ -0,0 +1,2 @@ +[ZoneTransfer] +ZoneId=3 diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/cell-settings/sms/sms_send.shZone.Identifier b/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/cell-settings/sms/sms_send.shZone.Identifier new file mode 100644 index 0000000..f46bcc4 --- /dev/null +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/cell-settings/sms/sms_send.shZone.Identifier @@ -0,0 +1,2 @@ +[ZoneTransfer] +ZoneId=3 diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/experimental/cell_scanner/cell_scan.shZone.Identifier b/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/experimental/cell_scanner/cell_scan.shZone.Identifier new file mode 100644 index 0000000..f46bcc4 --- /dev/null +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/experimental/cell_scanner/cell_scan.shZone.Identifier @@ -0,0 +1,2 @@ +[ZoneTransfer] +ZoneId=3 diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/experimental/cell_scanner/cell_scan_worker.shZone.Identifier b/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/experimental/cell_scanner/cell_scan_worker.shZone.Identifier new file mode 100644 index 0000000..f46bcc4 --- /dev/null +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/experimental/cell_scanner/cell_scan_worker.shZone.Identifier @@ -0,0 +1,2 @@ +[ZoneTransfer] +ZoneId=3 diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/experimental/cell_scanner/check_scan.shZone.Identifier b/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/experimental/cell_scanner/check_scan.shZone.Identifier new file mode 100644 index 0000000..f46bcc4 --- /dev/null +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/experimental/cell_scanner/check_scan.shZone.Identifier @@ -0,0 +1,2 @@ +[ZoneTransfer] +ZoneId=3 diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/experimental/cell_scanner/clear_scan.shZone.Identifier b/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/experimental/cell_scanner/clear_scan.shZone.Identifier new file mode 100644 index 0000000..f46bcc4 --- /dev/null +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/experimental/cell_scanner/clear_scan.shZone.Identifier @@ -0,0 +1,2 @@ +[ZoneTransfer] +ZoneId=3 diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/experimental/cell_scanner/fetch_mccmnc.shZone.Identifier b/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/experimental/cell_scanner/fetch_mccmnc.shZone.Identifier new file mode 100644 index 0000000..f46bcc4 --- /dev/null +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/experimental/cell_scanner/fetch_mccmnc.shZone.Identifier @@ -0,0 +1,2 @@ +[ZoneTransfer] +ZoneId=3 diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/experimental/cell_scanner/network_info.shZone.Identifier b/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/experimental/cell_scanner/network_info.shZone.Identifier new file mode 100644 index 0000000..f46bcc4 --- /dev/null +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/experimental/cell_scanner/network_info.shZone.Identifier @@ -0,0 +1,2 @@ +[ZoneTransfer] +ZoneId=3 diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/experimental/fetch_interpretations.shZone.Identifier b/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/experimental/fetch_interpretations.shZone.Identifier new file mode 100644 index 0000000..f46bcc4 --- /dev/null +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/experimental/fetch_interpretations.shZone.Identifier @@ -0,0 +1,2 @@ +[ZoneTransfer] +ZoneId=3 diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/experimental/keep_alive_reworked.shZone.Identifier b/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/experimental/keep_alive_reworked.shZone.Identifier new file mode 100644 index 0000000..f46bcc4 --- /dev/null +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/experimental/keep_alive_reworked.shZone.Identifier @@ -0,0 +1,2 @@ +[ZoneTransfer] +ZoneId=3 diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/experimental/logs/fetch_logs.sh b/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/experimental/logs/fetch_logs.sh new file mode 100644 index 0000000..ce54cca --- /dev/null +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/experimental/logs/fetch_logs.sh @@ -0,0 +1,220 @@ +#!/bin/sh + +# QuecManager Log Viewer API +# Provides centralized log access for the web interface + +. /www/cgi-bin/services/quecmanager_logger.sh + +# CGI Headers +printf "Content-Type: application/json\r\n" +printf "Access-Control-Allow-Origin: *\r\n" +printf "Access-Control-Allow-Methods: GET, POST, OPTIONS\r\n" +printf "Access-Control-Allow-Headers: Content-Type\r\n" +printf "\r\n" + +# Initialize logs if needed +qm_init_logs + +# Parse query parameters +QUERY_STRING="${QUERY_STRING:-}" +CATEGORY="" +SCRIPT="" +LEVEL="" +LINES="50" +SINCE="" + +# Simple parameter parsing +if [ -n "$QUERY_STRING" ]; then + for param in $(echo "$QUERY_STRING" | tr '&' ' '); do + case "$param" in + category=*) + CATEGORY=$(echo "$param" | cut -d'=' -f2 | sed 's/%20/ /g' | tr -d '"') + ;; + script=*) + SCRIPT=$(echo "$param" | cut -d'=' -f2 | sed 's/%20/ /g' | tr -d '"') + ;; + level=*) + LEVEL=$(echo "$param" | cut -d'=' -f2 | sed 's/%20/ /g' | tr -d '"') + ;; + lines=*) + LINES=$(echo "$param" | cut -d'=' -f2 | tr -d '"') + ;; + since=*) + SINCE=$(echo "$param" | cut -d'=' -f2 | sed 's/%20/ /g' | tr -d '"') + ;; + esac + done +fi + +# Validate lines parameter +if ! echo "$LINES" | grep -qE '^[0-9]+$' || [ "$LINES" -gt 1000 ]; then + LINES="50" +fi + +# Function to get available categories +get_categories() { + printf '{\n' + printf ' "categories": [\n' + if [ -d "$QM_LOG_DAEMONS" ]; then + printf ' "daemons"' + [ -d "$QM_LOG_SERVICES" ] || [ -d "$QM_LOG_SETTINGS" ] || [ -d "$QM_LOG_SYSTEM" ] && printf ',' + printf '\n' + fi + if [ -d "$QM_LOG_SERVICES" ]; then + printf ' "services"' + [ -d "$QM_LOG_SETTINGS" ] || [ -d "$QM_LOG_SYSTEM" ] && printf ',' + printf '\n' + fi + if [ -d "$QM_LOG_SETTINGS" ]; then + printf ' "settings"' + [ -d "$QM_LOG_SYSTEM" ] && printf ',' + printf '\n' + fi + if [ -d "$QM_LOG_SYSTEM" ]; then + printf ' "system"\n' + fi + printf ' ]\n' + printf '}\n' +} + +# Function to get available scripts for a category +get_scripts() { + local cat_dir="" + case "$CATEGORY" in + "daemons") cat_dir="$QM_LOG_DAEMONS" ;; + "services") cat_dir="$QM_LOG_SERVICES" ;; + "settings") cat_dir="$QM_LOG_SETTINGS" ;; + "system") cat_dir="$QM_LOG_SYSTEM" ;; + *) + printf '{"error": "Invalid category"}\n' + return 1 + ;; + esac + + if [ ! -d "$cat_dir" ]; then + printf '{"scripts": []}\n' + return 0 + fi + + printf '{\n' + printf ' "scripts": [\n' + + first=true + for logfile in "$cat_dir"/*.log; do + if [ -f "$logfile" ]; then + if [ "$first" = "false" ]; then + printf ',\n' + fi + script_name=$(basename "$logfile" .log) + printf ' "%s"' "$script_name" + first=false + fi + done + + printf '\n ]\n' + printf '}\n' +} + +# Function to get log entries +get_logs() { + local logfile="" + + if [ -n "$CATEGORY" ] && [ -n "$SCRIPT" ]; then + logfile=$(qm_get_logfile "$CATEGORY" "$SCRIPT") + else + printf '{"error": "Category and script parameters required"}\n' + return 1 + fi + + if [ ! -f "$logfile" ]; then + printf '{"entries": [], "total": 0}\n' + return 0 + fi + + # Get log entries with optional filtering + local temp_file="/tmp/quecmanager_log_view.$$" + + # Start with all entries + cat "$logfile" > "$temp_file" 2>/dev/null + + # Filter by level if specified + if [ -n "$LEVEL" ]; then + grep "\[$LEVEL\]" "$temp_file" > "${temp_file}.filtered" 2>/dev/null || touch "${temp_file}.filtered" + mv "${temp_file}.filtered" "$temp_file" + fi + + # Filter by time if specified (simple grep for now) + if [ -n "$SINCE" ]; then + grep "$SINCE" "$temp_file" > "${temp_file}.filtered" 2>/dev/null || touch "${temp_file}.filtered" + mv "${temp_file}.filtered" "$temp_file" + fi + + # Get total count + local total_count=$(wc -l < "$temp_file" 2>/dev/null || echo "0") + + # Get last N lines + tail -n "$LINES" "$temp_file" > "${temp_file}.final" 2>/dev/null || touch "${temp_file}.final" + + printf '{\n' + printf ' "entries": [\n' + + first=true + while IFS= read -r line; do + if [ -n "$line" ]; then + if [ "$first" = "false" ]; then + printf ',\n' + fi + + # Parse log line (format: [timestamp] [level] [script] [pid] message) + timestamp=$(echo "$line" | sed -n 's/^\[\([^]]*\)\].*/\1/p') + level=$(echo "$line" | sed -n 's/^[^]]*\] \[\([^]]*\)\].*/\1/p') + script=$(echo "$line" | sed -n 's/^[^]]*\] [^]]*\] \[\([^]]*\)\].*/\1/p') + pid=$(echo "$line" | sed -n 's/^[^]]*\] [^]]*\] [^]]*\] \[PID:\([^]]*\)\].*/\1/p') + message=$(echo "$line" | sed 's/^[^]]*\] [^]]*\] [^]]*\] [^]]*\] //') + + # Escape quotes in message + message=$(echo "$message" | sed 's/"/\\"/g') + + printf ' {\n' + printf ' "timestamp": "%s",\n' "$timestamp" + printf ' "level": "%s",\n' "$level" + printf ' "script": "%s",\n' "$script" + printf ' "pid": "%s",\n' "$pid" + printf ' "message": "%s"\n' "$message" + printf ' }' + + first=false + fi + done < "${temp_file}.final" + + printf '\n ],\n' + printf ' "total": %s,\n' "$total_count" + printf ' "showing": %s\n' "$LINES" + printf '}\n' + + # Cleanup temp files + rm -f "$temp_file" "${temp_file}.filtered" "${temp_file}.final" 2>/dev/null || true +} + +# Main logic +case "$REQUEST_METHOD" in + "GET") + if [ -z "$CATEGORY" ]; then + # Return available categories + get_categories + elif [ -z "$SCRIPT" ]; then + # Return available scripts for category + get_scripts + else + # Return log entries + get_logs + fi + ;; + "OPTIONS") + # Handle CORS preflight + exit 0 + ;; + *) + printf '{"error": "Method not allowed"}\n' + ;; +esac diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/experimental/logs/fetch_logs.shZone.Identifier b/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/experimental/logs/fetch_logs.shZone.Identifier new file mode 100644 index 0000000..f46bcc4 --- /dev/null +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/experimental/logs/fetch_logs.shZone.Identifier @@ -0,0 +1,2 @@ +[ZoneTransfer] +ZoneId=3 diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/experimental/quecwatch/disable-quecwatch.shZone.Identifier b/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/experimental/quecwatch/disable-quecwatch.shZone.Identifier new file mode 100644 index 0000000..f46bcc4 --- /dev/null +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/experimental/quecwatch/disable-quecwatch.shZone.Identifier @@ -0,0 +1,2 @@ +[ZoneTransfer] +ZoneId=3 diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/experimental/quecwatch/enable-quecwatch.shZone.Identifier b/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/experimental/quecwatch/enable-quecwatch.shZone.Identifier new file mode 100644 index 0000000..f46bcc4 --- /dev/null +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/experimental/quecwatch/enable-quecwatch.shZone.Identifier @@ -0,0 +1,2 @@ +[ZoneTransfer] +ZoneId=3 diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/experimental/quecwatch/fetch-quecwatch.shZone.Identifier b/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/experimental/quecwatch/fetch-quecwatch.shZone.Identifier new file mode 100644 index 0000000..f46bcc4 --- /dev/null +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/experimental/quecwatch/fetch-quecwatch.shZone.Identifier @@ -0,0 +1,2 @@ +[ZoneTransfer] +ZoneId=3 diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/experimental/quecwatch/reset-quecwatch.shZone.Identifier b/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/experimental/quecwatch/reset-quecwatch.shZone.Identifier new file mode 100644 index 0000000..f46bcc4 --- /dev/null +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/experimental/quecwatch/reset-quecwatch.shZone.Identifier @@ -0,0 +1,2 @@ +[ZoneTransfer] +ZoneId=3 diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/experimental/scheduled_reboot.shZone.Identifier b/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/experimental/scheduled_reboot.shZone.Identifier new file mode 100644 index 0000000..f46bcc4 --- /dev/null +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/experimental/scheduled_reboot.shZone.Identifier @@ -0,0 +1,2 @@ +[ZoneTransfer] +ZoneId=3 diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/heartbeat.shZone.Identifier b/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/heartbeat.shZone.Identifier new file mode 100644 index 0000000..f46bcc4 --- /dev/null +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/heartbeat.shZone.Identifier @@ -0,0 +1,2 @@ +[ZoneTransfer] +ZoneId=3 diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/home/check_net.shZone.Identifier b/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/home/check_net.shZone.Identifier new file mode 100644 index 0000000..f46bcc4 --- /dev/null +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/home/check_net.shZone.Identifier @@ -0,0 +1,2 @@ +[ZoneTransfer] +ZoneId=3 diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/home/fetch_data_usage.shZone.Identifier b/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/home/fetch_data_usage.shZone.Identifier new file mode 100644 index 0000000..f46bcc4 --- /dev/null +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/home/fetch_data_usage.shZone.Identifier @@ -0,0 +1,2 @@ +[ZoneTransfer] +ZoneId=3 diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/home/fetch_hw_details.shZone.Identifier b/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/home/fetch_hw_details.shZone.Identifier new file mode 100644 index 0000000..f46bcc4 --- /dev/null +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/home/fetch_hw_details.shZone.Identifier @@ -0,0 +1,2 @@ +[ZoneTransfer] +ZoneId=3 diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/home/fetch_public_ip.shZone.Identifier b/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/home/fetch_public_ip.shZone.Identifier new file mode 100644 index 0000000..f46bcc4 --- /dev/null +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/home/fetch_public_ip.shZone.Identifier @@ -0,0 +1,2 @@ +[ZoneTransfer] +ZoneId=3 diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/home/fetch_signal_metrics.shZone.Identifier b/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/home/fetch_signal_metrics.shZone.Identifier new file mode 100644 index 0000000..f46bcc4 --- /dev/null +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/home/fetch_signal_metrics.shZone.Identifier @@ -0,0 +1,2 @@ +[ZoneTransfer] +ZoneId=3 diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/home/memory/fetch_memory.shZone.Identifier b/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/home/memory/fetch_memory.shZone.Identifier new file mode 100644 index 0000000..f46bcc4 --- /dev/null +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/home/memory/fetch_memory.shZone.Identifier @@ -0,0 +1,2 @@ +[ZoneTransfer] +ZoneId=3 diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/home/memory/memory_service.shZone.Identifier b/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/home/memory/memory_service.shZone.Identifier new file mode 100644 index 0000000..f46bcc4 --- /dev/null +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/home/memory/memory_service.shZone.Identifier @@ -0,0 +1,2 @@ +[ZoneTransfer] +ZoneId=3 diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/home/ping/fetch_ping.shZone.Identifier b/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/home/ping/fetch_ping.shZone.Identifier new file mode 100644 index 0000000..f46bcc4 --- /dev/null +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/home/ping/fetch_ping.shZone.Identifier @@ -0,0 +1,2 @@ +[ZoneTransfer] +ZoneId=3 diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/home/ping/ping_service.shZone.Identifier b/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/home/ping/ping_service.shZone.Identifier new file mode 100644 index 0000000..f46bcc4 --- /dev/null +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/home/ping/ping_service.shZone.Identifier @@ -0,0 +1,2 @@ +[ZoneTransfer] +ZoneId=3 diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/home/speedtest/speedtest_status.shZone.Identifier b/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/home/speedtest/speedtest_status.shZone.Identifier new file mode 100644 index 0000000..f46bcc4 --- /dev/null +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/home/speedtest/speedtest_status.shZone.Identifier @@ -0,0 +1,2 @@ +[ZoneTransfer] +ZoneId=3 diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/home/speedtest/start_speedtest.shZone.Identifier b/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/home/speedtest/start_speedtest.shZone.Identifier new file mode 100644 index 0000000..f46bcc4 --- /dev/null +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/home/speedtest/start_speedtest.shZone.Identifier @@ -0,0 +1,2 @@ +[ZoneTransfer] +ZoneId=3 diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/logout.shZone.Identifier b/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/logout.shZone.Identifier new file mode 100644 index 0000000..f46bcc4 --- /dev/null +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/logout.shZone.Identifier @@ -0,0 +1,2 @@ +[ZoneTransfer] +ZoneId=3 diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/mcc-mnc-list.jsonZone.Identifier b/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/mcc-mnc-list.jsonZone.Identifier new file mode 100644 index 0000000..f46bcc4 --- /dev/null +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/mcc-mnc-list.jsonZone.Identifier @@ -0,0 +1,2 @@ +[ZoneTransfer] +ZoneId=3 diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/profiles/check_status.shZone.Identifier b/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/profiles/check_status.shZone.Identifier new file mode 100644 index 0000000..f46bcc4 --- /dev/null +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/profiles/check_status.shZone.Identifier @@ -0,0 +1,2 @@ +[ZoneTransfer] +ZoneId=3 diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/profiles/list_profiles.shZone.Identifier b/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/profiles/list_profiles.shZone.Identifier new file mode 100644 index 0000000..f46bcc4 --- /dev/null +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/profiles/list_profiles.shZone.Identifier @@ -0,0 +1,2 @@ +[ZoneTransfer] +ZoneId=3 diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/profiles/quec_profile_create.shZone.Identifier b/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/profiles/quec_profile_create.shZone.Identifier new file mode 100644 index 0000000..f46bcc4 --- /dev/null +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/profiles/quec_profile_create.shZone.Identifier @@ -0,0 +1,2 @@ +[ZoneTransfer] +ZoneId=3 diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/profiles/quec_profile_delete.shZone.Identifier b/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/profiles/quec_profile_delete.shZone.Identifier new file mode 100644 index 0000000..f46bcc4 --- /dev/null +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/profiles/quec_profile_delete.shZone.Identifier @@ -0,0 +1,2 @@ +[ZoneTransfer] +ZoneId=3 diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/profiles/quec_profile_edit.shZone.Identifier b/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/profiles/quec_profile_edit.shZone.Identifier new file mode 100644 index 0000000..f46bcc4 --- /dev/null +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/profiles/quec_profile_edit.shZone.Identifier @@ -0,0 +1,2 @@ +[ZoneTransfer] +ZoneId=3 diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/profiles/toggle_pause.shZone.Identifier b/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/profiles/toggle_pause.shZone.Identifier new file mode 100644 index 0000000..f46bcc4 --- /dev/null +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/profiles/toggle_pause.shZone.Identifier @@ -0,0 +1,2 @@ +[ZoneTransfer] +ZoneId=3 diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/reset-at-bridge.shZone.Identifier b/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/reset-at-bridge.shZone.Identifier new file mode 100644 index 0000000..f46bcc4 --- /dev/null +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/reset-at-bridge.shZone.Identifier @@ -0,0 +1,2 @@ +[ZoneTransfer] +ZoneId=3 diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/settings/change-password.shZone.Identifier b/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/settings/change-password.shZone.Identifier new file mode 100644 index 0000000..f46bcc4 --- /dev/null +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/settings/change-password.shZone.Identifier @@ -0,0 +1,2 @@ +[ZoneTransfer] +ZoneId=3 diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/settings/device-uptime.shZone.Identifier b/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/settings/device-uptime.shZone.Identifier new file mode 100644 index 0000000..f46bcc4 --- /dev/null +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/settings/device-uptime.shZone.Identifier @@ -0,0 +1,2 @@ +[ZoneTransfer] +ZoneId=3 diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/settings/force-reboot.shZone.Identifier b/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/settings/force-reboot.shZone.Identifier new file mode 100644 index 0000000..f46bcc4 --- /dev/null +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/settings/force-reboot.shZone.Identifier @@ -0,0 +1,2 @@ +[ZoneTransfer] +ZoneId=3 diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/settings/force-rerun.shZone.Identifier b/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/settings/force-rerun.shZone.Identifier new file mode 100644 index 0000000..f46bcc4 --- /dev/null +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/settings/force-rerun.shZone.Identifier @@ -0,0 +1,2 @@ +[ZoneTransfer] +ZoneId=3 diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/settings/measurement_units.shZone.Identifier b/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/settings/measurement_units.shZone.Identifier new file mode 100644 index 0000000..f46bcc4 --- /dev/null +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/settings/measurement_units.shZone.Identifier @@ -0,0 +1,2 @@ +[ZoneTransfer] +ZoneId=3 diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/settings/memory_settings.shZone.Identifier b/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/settings/memory_settings.shZone.Identifier new file mode 100644 index 0000000..f46bcc4 --- /dev/null +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/settings/memory_settings.shZone.Identifier @@ -0,0 +1,2 @@ +[ZoneTransfer] +ZoneId=3 diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/settings/ping_settings.shZone.Identifier b/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/settings/ping_settings.shZone.Identifier new file mode 100644 index 0000000..f46bcc4 --- /dev/null +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/settings/ping_settings.shZone.Identifier @@ -0,0 +1,2 @@ +[ZoneTransfer] +ZoneId=3 diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/settings/profile_picture.shZone.Identifier b/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/settings/profile_picture.shZone.Identifier new file mode 100644 index 0000000..f46bcc4 --- /dev/null +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/settings/profile_picture.shZone.Identifier @@ -0,0 +1,2 @@ +[ZoneTransfer] +ZoneId=3 diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/services/at_queue_manager.sh b/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/services/at_queue_manager.sh index aa9aee3..4dafce0 100755 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/services/at_queue_manager.sh +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/services/at_queue_manager.sh @@ -2,6 +2,9 @@ # AT Queue Manager for OpenWRT with Preemption Support and Token System # Located in /www/cgi-bin/services/at_queue_manager +# Load centralized logging +. /www/cgi-bin/services/quecmanager_logger.sh + # Constants QUEUE_DIR="/tmp/at_queue" QUEUE_FILE="$QUEUE_DIR/queue" @@ -15,6 +18,32 @@ RESULTS_MAX_AGE=3600 # 1 hour in seconds POLL_INTERVAL=0.01 PREEMPTION_THRESHOLD=2 # 3 seconds threshold for preemption TOKEN_TIMEOUT=30 # seconds before token expires +SCRIPT_NAME="at_queue_manager" + +# Logging function - uses both centralized and system logging +log_at_queue() { + local level="$1" + local message="$2" + + # Use centralized logging + case "$level" in + "error") + qm_log_error "service" "$SCRIPT_NAME" "$message" + ;; + "warn") + qm_log_warn "service" "$SCRIPT_NAME" "$message" + ;; + "debug") + qm_log_debug "service" "$SCRIPT_NAME" "$message" + ;; + *) + qm_log_info "service" "$SCRIPT_NAME" "$message" + ;; + esac + + # Also maintain system logging for compatibility + logger -t at_queue -p "daemon.$level" "$message" +} # Utility function for JSON escaping escape_json() { @@ -39,7 +68,7 @@ acquire_lock() { while [ $attempt -lt $timeout ]; do if mkdir "$LOCK_DIR" 2>/dev/null; then - logger -t at_queue -p daemon.debug "Lock acquired" + log_at_queue "debug" "Lock acquired" return 0 fi @@ -47,42 +76,36 @@ acquire_lock() { attempt=$((attempt + 1)) done - logger -t at_queue -p daemon.error "Failed to acquire lock after $timeout attempts" + log_at_queue "error" "Failed to acquire lock after $timeout attempts" return 1 } release_lock() { - if [ -d "$LOCK_DIR" ]; then - rmdir "$LOCK_DIR" 2>/dev/null - logger -t at_queue -p daemon.debug "Lock released" + if rmdir "$LOCK_DIR" 2>/dev/null; then + log_at_queue "debug" "Lock released" return 0 + else + log_at_queue "error" "Lock directory doesn't exist" + return 1 fi - - logger -t at_queue -p daemon.error "Lock directory doesn't exist" - return 1 } # Ensure required directories exist -init_queue_system() { +initialize_queue() { mkdir -p "$QUEUE_DIR" "$RESULTS_DIR" - touch "$QUEUE_FILE" - chmod 755 "$QUEUE_DIR" - chmod 644 "$QUEUE_FILE" - chmod 755 "$RESULTS_DIR" - logger -t at_queue -p daemon.info "Queue system initialized" + touch "$QUEUE_FILE" "$ACTIVE_FILE" + chmod 666 "$QUEUE_FILE" "$ACTIVE_FILE" + log_at_queue "info" "Queue system initialized" } # Cleanup old results and tracking files cleanup_old_results() { local current_time=$(date +%s) - # Clean up old execution tracking files - find "$QUEUE_DIR" -name "pid.*" -type f -mmin +60 -delete 2>/dev/null - find "$QUEUE_DIR" -name "*.exit" -type f -mmin +60 -delete 2>/dev/null - find "$QUEUE_DIR" -name "start_time.*" -type f -mmin +60 -delete 2>/dev/null - logger -t at_queue -p daemon.debug "Cleaned up old tracking files" + # Remove old tracking files + find "$QUEUE_DIR" -name "start_time.*" -o -name "pid.*" -type f -mmin +60 -delete 2>/dev/null - # Use find with -delete and basic timestamp check for OpenWRT + log_at_queue "debug" "Cleaned up old tracking files" # Use find with -delete and basic timestamp check for OpenWRT find "$RESULTS_DIR" -name "*.json" -type f -mmin +60 -delete 2>/dev/null || { # Fallback method if find fails for file in "$RESULTS_DIR"/*.json; do @@ -99,12 +122,12 @@ cleanup_old_results() { local token_time=$(cat "$TOKEN_FILE" | jsonfilter -e '@.timestamp') if [ $((current_time - token_time)) -gt $TOKEN_TIMEOUT ]; then local token_holder=$(cat "$TOKEN_FILE" | jsonfilter -e '@.id') - logger -t at_queue -p daemon.warn "Removing expired token from $token_holder" + log_at_queue "warn" "Removing expired token from $token_holder" rm -f "$TOKEN_FILE" fi fi - logger -t at_queue -p daemon.info "Cleanup: Removed files older than 1 hour" + log_at_queue "info" "Cleanup: Removed files older than 1 hour" } # Generate unique command ID @@ -122,7 +145,7 @@ start_execution_tracking() { echo "$pid" > "$QUEUE_DIR/pid.$cmd_id" chmod 644 "$QUEUE_DIR/start_time.$cmd_id" chmod 644 "$QUEUE_DIR/pid.$cmd_id" - logger -t at_queue -p daemon.debug "Started tracking command $cmd_id (PID: $pid)" + log_at_queue "debug" "Started tracking command $cmd_id (PID: $pid)" } # Check if running command should be preempted @@ -131,7 +154,7 @@ should_preempt() { local new_priority="$2" if [ ! -f "$QUEUE_DIR/start_time.$current_cmd_id" ]; then - logger -t at_queue -p daemon.debug "No start time found for $current_cmd_id" + log_at_queue "debug" "No start time found for $current_cmd_id" return 1 fi @@ -144,16 +167,16 @@ should_preempt() { if [ -f "$ACTIVE_FILE" ]; then current_priority=$(cat "$ACTIVE_FILE" | jsonfilter -e '@.priority') else - logger -t at_queue -p daemon.debug "No active command found" + log_at_queue "debug" "No active command found" return 1 fi if [ $execution_time -gt $PREEMPTION_THRESHOLD ] && [ $new_priority -lt $current_priority ]; then - logger -t at_queue -p daemon.info "Command $current_cmd_id (priority $current_priority) running for ${execution_time}s is eligible for preemption by priority $new_priority" + log_at_queue "info" "Command $current_cmd_id (priority $current_priority) running for ${execution_time}s is eligible for preemption by priority $new_priority" return 0 fi - logger -t at_queue -p daemon.debug "Command $current_cmd_id not eligible for preemption (time: ${execution_time}s, current priority: $current_priority, new priority: $new_priority)" + log_at_queue "debug" "Command $current_cmd_id not eligible for preemption (time: ${execution_time}s, current priority: $current_priority, new priority: $new_priority)" return 1 } @@ -164,7 +187,7 @@ preempt_command() { if [ -f "$pid_file" ]; then local pid=$(cat "$pid_file") - logger -t at_queue -p daemon.info "Preempting command $cmd_id (PID: $pid)" + log_at_queue "info" "Preempting command $cmd_id (PID: $pid)" # Send SIGTERM first kill -TERM $pid 2>/dev/null @@ -175,7 +198,7 @@ preempt_command() { # Force kill if still running if kill -0 $pid 2>/dev/null; then kill -KILL $pid 2>/dev/null - logger -t at_queue -p daemon.warn "Forced termination of command $cmd_id" + log_at_queue "warn" "Forced termination of command $cmd_id" fi # Record preemption result @@ -185,11 +208,11 @@ preempt_command() { rm -f "$pid_file" "$QUEUE_DIR/start_time.$cmd_id" "$QUEUE_DIR/$cmd_id.exit" [ -f "$ACTIVE_FILE" ] && rm -f "$ACTIVE_FILE" - logger -t at_queue -p daemon.info "Command $cmd_id preemption complete" + log_at_queue "info" "Command $cmd_id preemption complete" return 0 fi - logger -t at_queue -p daemon.warn "No PID file found for command $cmd_id" + log_at_queue "warn" "No PID file found for command $cmd_id" return 1 } @@ -227,7 +250,7 @@ EOF printf "%s" "$response" > "$RESULTS_DIR/$cmd_id.json" chmod 644 "$RESULTS_DIR/$cmd_id.json" - logger -t at_queue -p daemon.info "Recorded preemption result for command $cmd_id (duration: ${duration}ms)" + log_at_queue "info" "Recorded preemption result for command $cmd_id (duration: ${duration}ms)" } # Request a token for direct sms_tool execution @@ -238,7 +261,7 @@ request_token() { # Acquire lock first if ! acquire_lock; then - logger -t at_queue -p daemon.error "Failed to acquire lock for token request" + log_at_queue "error" "Failed to acquire lock for token request" echo "{\"error\":\"Could not acquire lock\",\"status\":\"denied\"}" return 1 fi @@ -252,11 +275,11 @@ request_token() { # Check for expired token (> TOKEN_TIMEOUT seconds old) if [ $((current_time - timestamp)) -gt $TOKEN_TIMEOUT ]; then - logger -t at_queue -p daemon.warn "Found expired token from $current_holder, releasing" + log_at_queue "warn" "Found expired token from $current_holder, releasing" rm -f "$TOKEN_FILE" # Check for priority preemption elif [ $priority -lt $current_priority ]; then - logger -t at_queue -p daemon.info "Preempting token from $current_holder (priority: $current_priority) for $requestor_id (priority: $priority)" + log_at_queue "info" "Preempting token from $current_holder (priority: $current_priority) for $requestor_id (priority: $priority)" rm -f "$TOKEN_FILE" else # Token in use and cannot be preempted @@ -278,7 +301,7 @@ request_token() { return 1 fi - logger -t at_queue -p daemon.info "Direct execution with higher priority than active queue command" + log_at_queue "info" "Direct execution with higher priority than active queue command" fi # Grant token @@ -296,7 +319,7 @@ release_token() { local requestor_id="$1" if ! acquire_lock; then - logger -t at_queue -p daemon.error "Failed to acquire lock for token release" + log_at_queue "error" "Failed to acquire lock for token release" return 1 fi @@ -305,15 +328,15 @@ release_token() { if [ "$current_holder" = "$requestor_id" ]; then rm -f "$TOKEN_FILE" - logger -t at_queue -p daemon.debug "Token released by $requestor_id" + log_at_queue "debug" "Token released by $requestor_id" release_lock echo "{\"status\":\"released\"}" return 0 else - logger -t at_queue -p daemon.warn "Token release attempted by $requestor_id but held by $current_holder" + log_at_queue "warn" "Token release attempted by $requestor_id but held by $current_holder" fi else - logger -t at_queue -p daemon.warn "Token release attempted but no token exists" + log_at_queue "warn" "Token release attempted but no token exists" fi release_lock @@ -331,11 +354,11 @@ enqueue_command() { # Ensure queue directory exists [ ! -d "$QUEUE_DIR" ] && init_queue_system - logger -t at_queue -p daemon.info "Enqueuing command: $cmd (priority: $priority, id: $cmd_id)" + log_at_queue "info" "Enqueuing command: $cmd (priority: $priority, id: $cmd_id)" # Acquire lock for queue modification if ! acquire_lock; then - logger -t at_queue -p daemon.error "Failed to acquire lock for enqueuing command" + log_at_queue "error" "Failed to acquire lock for enqueuing command" echo "{\"error\":\"Queue lock acquisition failed\",\"command\":\"$cmd\"}" return 1 fi @@ -358,11 +381,11 @@ enqueue_command() { cat "$QUEUE_FILE" >> "$temp_file" mv "$temp_file" "$QUEUE_FILE" chmod 644 "$QUEUE_FILE" - logger -t at_queue -p daemon.info "Added high priority command to front of queue" + log_at_queue "info" "Added high priority command to front of queue" else # Normal priority - append to queue echo "$entry" >> "$QUEUE_FILE" - logger -t at_queue -p daemon.info "Added normal priority command to end of queue" + log_at_queue "info" "Added normal priority command to end of queue" fi # Release lock @@ -379,7 +402,7 @@ dequeue_command() { # Acquire lock if ! acquire_lock; then - logger -t at_queue -p daemon.error "Failed to acquire lock for dequeuing command" + log_at_queue "error" "Failed to acquire lock for dequeuing command" return 1 fi @@ -395,7 +418,7 @@ dequeue_command() { # Release lock release_lock - logger -t at_queue -p daemon.debug "Dequeued command: $(echo "$cmd_entry" | jsonfilter -e '@.command')" + log_at_queue "debug" "Dequeued command: $(echo "$cmd_entry" | jsonfilter -e '@.command')" echo "$cmd_entry" } @@ -433,7 +456,7 @@ execute_with_timeout() { # Start execution tracking start_execution_tracking "$cmd_id" "$pid" - logger -t at_queue -p daemon.debug "Started command execution: $command (PID: $pid)" + log_at_queue "debug" "Started command execution: $command (PID: $pid)" # Wait for completion with shorter polling interval local start_time=$(date +%s) @@ -447,7 +470,7 @@ execute_with_timeout() { # Cleanup rm -f "$QUEUE_DIR/pid.$cmd_id" "$QUEUE_DIR/$cmd_id.exit" "$output_file" "$QUEUE_DIR/start_time.$cmd_id" - logger -t at_queue -p daemon.debug "Command completed with exit code $exit_code" + log_at_queue "debug" "Command completed with exit code $exit_code" echo "$output" return $exit_code fi @@ -471,7 +494,7 @@ execute_with_timeout() { # Cleanup rm -f "$QUEUE_DIR/pid.$cmd_id" "$QUEUE_DIR/$cmd_id.exit" "$output_file" "$QUEUE_DIR/start_time.$cmd_id" - logger -t at_queue -p daemon.warn "Command timed out after $timeout seconds" + log_at_queue "warn" "Command timed out after $timeout seconds" echo "${partial_output:-Command timed out after $timeout seconds}" fi @@ -487,7 +510,7 @@ execute_command() { local start_time=$(date +%s%3N) - logger -t at_queue -p daemon.info "Executing command $cmd_id: $cmd_text (priority: $priority)" + log_at_queue "info" "Executing command $cmd_id: $cmd_text (priority: $priority)" # Execute command with timeout local result=$(execute_with_timeout "$cmd_text" $MAX_TIMEOUT "$cmd_id") @@ -501,16 +524,16 @@ execute_command() { if [ $exit_code -eq 124 ]; then status="timeout" - logger -t at_queue -p daemon.error "Command $cmd_id timed out after ${duration}ms" + log_at_queue "error" "Command $cmd_id timed out after ${duration}ms" elif echo "$result" | grep -q "OK"; then status="success" log_level="info" - logger -t at_queue -p daemon.info "Command $cmd_id completed successfully in ${duration}ms" + log_at_queue "info" "Command $cmd_id completed successfully in ${duration}ms" elif echo "$result" | grep -q "CME ERROR"; then status="cme_error" - logger -t at_queue -p daemon.error "Command $cmd_id failed with CME ERROR in ${duration}ms" + log_at_queue "error" "Command $cmd_id failed with CME ERROR in ${duration}ms" else - logger -t at_queue -p daemon.error "Command $cmd_id failed with general error in ${duration}ms" + log_at_queue "error" "Command $cmd_id failed with general error in ${duration}ms" fi # Clean and escape the output @@ -536,7 +559,7 @@ EOF # Acquire lock for writing result if ! acquire_lock; then - logger -t at_queue -p daemon.error "Failed to acquire lock for writing result" + log_at_queue "error" "Failed to acquire lock for writing result" else # Save response printf "%s" "$response" > "$RESULTS_DIR/$cmd_id.json" @@ -561,7 +584,7 @@ process_queue() { # Make sure the lock directory doesn't exist at startup [ -d "$LOCK_DIR" ] && rmdir "$LOCK_DIR" 2>/dev/null - logger -t at_queue -p daemon.info "Started queue processing daemon" + log_at_queue "info" "Started queue processing daemon" while true; do # Quick cleanup check @@ -579,12 +602,12 @@ process_queue() { # Check for expired token if [ $((current_time - token_time)) -gt $TOKEN_TIMEOUT ]; then - logger -t at_queue -p daemon.warn "Removing expired token from $token_holder" + log_at_queue "warn" "Removing expired token from $token_holder" rm -f "$TOKEN_FILE" else # Log pause status only every 5 seconds to reduce log spam if [ $((current_time - last_log)) -ge 5 ]; then - logger -t at_queue -p daemon.debug "Queue processing paused, token held by $token_holder" + log_at_queue "debug" "Queue processing paused, token held by $token_holder" last_log=$current_time fi sleep $POLL_INTERVAL @@ -612,49 +635,64 @@ if [ "${SCRIPT_NAME}" != "" ]; then echo "" fi + # Log the incoming request for debugging + log_at_queue "debug" "CGI: Incoming request - QUERY_STRING='$QUERY_STRING', REQUEST_METHOD='$REQUEST_METHOD', HTTP_USER_AGENT='$HTTP_USER_AGENT'" + # Parse query string for CGI mode eval $(echo "$QUERY_STRING" | sed 's/&/;/g') + # Handle empty action parameter specifically + if [ -z "$action" ]; then + if [ -z "$QUERY_STRING" ]; then + log_at_queue "warn" "CGI: No query string provided - possible health check or browser prefetch" + echo "{\"error\":\"No action specified\",\"help\":\"Valid actions: enqueue, status, request_token, release_token\"}" + else + log_at_queue "warn" "CGI: Query string present but no action parameter: '$QUERY_STRING'" + echo "{\"error\":\"Missing action parameter\",\"query_string\":\"$QUERY_STRING\"}" + fi + exit 0 + fi + case "$action" in "enqueue") if [ -n "$command" ]; then - logger -t at_queue -p daemon.info "CGI: Received enqueue request for command: $command" + log_at_queue "info" "CGI: Received enqueue request for command: $command" enqueue_command "$command" "$priority" else - logger -t at_queue -p daemon.error "CGI: Empty command received" + log_at_queue "error" "CGI: Empty command received" echo "{\"error\":\"No command specified\"}" fi ;; "status") if [ -f "$ACTIVE_FILE" ]; then - logger -t at_queue -p daemon.debug "CGI: Status request - queue active" + log_at_queue "debug" "CGI: Status request - queue active" cat "$ACTIVE_FILE" else - logger -t at_queue -p daemon.debug "CGI: Status request - queue idle" + log_at_queue "debug" "CGI: Status request - queue idle" echo "{\"status\":\"idle\"}" fi ;; "request_token") if [ -n "$id" ]; then - logger -t at_queue -p daemon.info "Token request from $id (priority: ${priority:-10})" + log_at_queue "info" "Token request from $id (priority: ${priority:-10})" request_token "$id" "${priority:-10}" "${timeout:-10}" else - logger -t at_queue -p daemon.error "Token request missing ID" + log_at_queue "error" "Token request missing ID" echo "{\"error\":\"No requestor ID specified\",\"status\":\"denied\"}" fi ;; "release_token") if [ -n "$id" ]; then - logger -t at_queue -p daemon.info "Token release from $id" + log_at_queue "info" "Token release from $id" release_token "$id" else - logger -t at_queue -p daemon.error "Token release missing ID" + log_at_queue "error" "Token release missing ID" echo "{\"error\":\"No requestor ID specified\",\"status\":\"denied\"}" fi ;; *) - logger -t at_queue -p daemon.error "CGI: Invalid action received: $action" - echo "{\"error\":\"Invalid action\"}" + log_at_queue "error" "CGI: Invalid action received: '$action' (QUERY_STRING: '$QUERY_STRING')" + echo "{\"error\":\"Invalid action: $action\",\"valid_actions\":[\"enqueue\",\"status\",\"request_token\",\"release_token\"]}" ;; esac exit 0 @@ -669,4 +707,4 @@ fi # If not run as CGI, start queue processing if [ "${SCRIPT_NAME}" = "" ] && [ -z "$1" ]; then process_queue -fi \ No newline at end of file +fi diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/services/at_queue_manager.shZone.Identifier b/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/services/at_queue_manager.shZone.Identifier new file mode 100644 index 0000000..f46bcc4 --- /dev/null +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/services/at_queue_manager.shZone.Identifier @@ -0,0 +1,2 @@ +[ZoneTransfer] +ZoneId=3 diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/services/cleanup_logs.sh b/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/services/cleanup_logs.sh new file mode 100644 index 0000000..8920904 --- /dev/null +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/services/cleanup_logs.sh @@ -0,0 +1,110 @@ +#!/bin/sh + +# QuecManager Log Cleanup Script +# Periodically clean up old log files to prevent /tmp from filling up + +. /www/cgi-bin/services/quecmanager_logger.sh + +# Configuration +MAX_LOG_AGE_DAYS=7 # Delete logs older than 7 days +MAX_BACKUP_FILES=2 # Keep maximum 2 backup files (.1, .2) +CLEANUP_LOG_SIZE=1000 # Run cleanup if any log exceeds 1MB + +# Function to log cleanup activities +log_cleanup() { + qm_log_info "system" "log_cleanup" "$1" +} + +# Initialize +qm_init_logs +log_cleanup "Starting log cleanup process" + +# Cleanup function +perform_cleanup() { + local files_cleaned=0 + local space_freed=0 + + # Clean up old backup files + if [ -d "$QM_LOG_BASE" ]; then + # Remove backup files older than specified days + old_backups=$(find "$QM_LOG_BASE" -name "*.1" -o -name "*.2" -type f -mtime +$MAX_LOG_AGE_DAYS 2>/dev/null) + for backup_file in $old_backups; do + if [ -f "$backup_file" ]; then + file_size=$(du -k "$backup_file" 2>/dev/null | cut -f1) + rm -f "$backup_file" 2>/dev/null + if [ $? -eq 0 ]; then + files_cleaned=$((files_cleaned + 1)) + space_freed=$((space_freed + ${file_size:-0})) + log_cleanup "Removed old backup file: $(basename "$backup_file")" + fi + fi + done + + # Force rotation for large log files + for category_dir in "$QM_LOG_DAEMONS" "$QM_LOG_SERVICES" "$QM_LOG_SETTINGS" "$QM_LOG_SYSTEM"; do + if [ -d "$category_dir" ]; then + for logfile in "$category_dir"/*.log; do + if [ -f "$logfile" ]; then + # Check file size in KB + file_size_kb=$(du -k "$logfile" 2>/dev/null | cut -f1) + + if [ "${file_size_kb:-0}" -gt $CLEANUP_LOG_SIZE ]; then + log_cleanup "Rotating large log file: $(basename "$logfile") (${file_size_kb}KB)" + qm_rotate_log "$logfile" + files_cleaned=$((files_cleaned + 1)) + fi + fi + done + fi + done + + # Additional cleanup: remove empty log files + empty_logs=$(find "$QM_LOG_BASE" -name "*.log" -type f -size 0 2>/dev/null) + for empty_log in $empty_logs; do + rm -f "$empty_log" 2>/dev/null + if [ $? -eq 0 ]; then + files_cleaned=$((files_cleaned + 1)) + log_cleanup "Removed empty log file: $(basename "$empty_log")" + fi + done + fi + + # Log cleanup summary + if [ $files_cleaned -gt 0 ]; then + log_cleanup "Cleanup completed: $files_cleaned files processed, ${space_freed}KB freed" + else + log_cleanup "Cleanup completed: no files needed cleaning" + fi +} + +# Check if we should run cleanup based on disk usage +check_disk_usage() { + # Check /tmp usage (OpenWrt compatible) + local tmp_usage="" + + # Try df first (most common) + if command -v df >/dev/null 2>&1; then + tmp_usage=$(df /tmp 2>/dev/null | awk 'NR==2 {print $5}' | tr -d '%') + fi + + # If we got a valid percentage and it's high, force cleanup + if [ -n "$tmp_usage" ] && [ "$tmp_usage" -gt 80 ]; then + log_cleanup "High /tmp usage detected (${tmp_usage}%), forcing cleanup" + return 0 + fi + + # Always run periodic cleanup + return 0 +} + +# Main execution +if check_disk_usage; then + perform_cleanup +else + log_cleanup "Disk usage check passed, skipping cleanup" +fi + +# Clean up centralized log helper's old logs too +qm_cleanup_logs + +log_cleanup "Log cleanup process completed" diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/services/cleanup_logs.shZone.Identifier b/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/services/cleanup_logs.shZone.Identifier new file mode 100644 index 0000000..f46bcc4 --- /dev/null +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/services/cleanup_logs.shZone.Identifier @@ -0,0 +1,2 @@ +[ZoneTransfer] +ZoneId=3 diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/services/interpret_qcainfo.shZone.Identifier b/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/services/interpret_qcainfo.shZone.Identifier new file mode 100644 index 0000000..f46bcc4 --- /dev/null +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/services/interpret_qcainfo.shZone.Identifier @@ -0,0 +1,2 @@ +[ZoneTransfer] +ZoneId=3 diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/services/log_signal_metrics.shZone.Identifier b/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/services/log_signal_metrics.shZone.Identifier new file mode 100644 index 0000000..f46bcc4 --- /dev/null +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/services/log_signal_metrics.shZone.Identifier @@ -0,0 +1,2 @@ +[ZoneTransfer] +ZoneId=3 diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/services/memory_daemon.sh b/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/services/memory_daemon.sh index 25ccfb5..6bc2278 100755 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/services/memory_daemon.sh +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/services/memory_daemon.sh @@ -8,14 +8,17 @@ set -eu # Ensure PATH for OpenWrt/BusyBox export PATH="/usr/sbin:/usr/bin:/sbin:/bin:$PATH" +# Load centralized logging +. /www/cgi-bin/services/quecmanager_logger.sh + # Configuration TMP_DIR="/tmp/quecmanager" OUT_JSON="$TMP_DIR/memory.json" PID_FILE="$TMP_DIR/memory_daemon.pid" -LOG_FILE="$TMP_DIR/memory_daemon.log" CONFIG_FILE="/etc/quecmanager/settings/memory_settings.conf" [ -f "$CONFIG_FILE" ] || CONFIG_FILE="/tmp/quecmanager/settings/memory_settings.conf" DEFAULT_INTERVAL=1 +SCRIPT_NAME="memory_daemon" # Ensure temp directory exists ensure_tmp_dir() { @@ -24,7 +27,7 @@ ensure_tmp_dir() { # Logging function log() { - printf '%s - %s\n' "$(date '+%Y-%m-%d %H:%M:%S')" "$1" >> "$LOG_FILE" 2>/dev/null || true + qm_log_info "daemon" "$SCRIPT_NAME" "$1" } # Check if this daemon instance is already running diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/services/memory_daemon.shZone.Identifier b/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/services/memory_daemon.shZone.Identifier new file mode 100644 index 0000000..f46bcc4 --- /dev/null +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/services/memory_daemon.shZone.Identifier @@ -0,0 +1,2 @@ +[ZoneTransfer] +ZoneId=3 diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/services/network_insights_interpreter.shZone.Identifier b/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/services/network_insights_interpreter.shZone.Identifier new file mode 100644 index 0000000..f46bcc4 --- /dev/null +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/services/network_insights_interpreter.shZone.Identifier @@ -0,0 +1,2 @@ +[ZoneTransfer] +ZoneId=3 diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/services/ping_daemon.sh b/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/services/ping_daemon.sh index a76c6e2..fb8e9e3 100755 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/services/ping_daemon.sh +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/services/ping_daemon.sh @@ -5,19 +5,22 @@ set -eu # Ensure PATH for OpenWrt/BusyBox export PATH="/usr/sbin:/usr/bin:/sbin:/bin:$PATH" +# Load centralized logging +. /www/cgi-bin/services/quecmanager_logger.sh + TMP_DIR="/tmp/quecmanager" OUT_JSON="$TMP_DIR/ping_latency.json" PID_FILE="$TMP_DIR/ping_daemon.pid" -LOG_FILE="$TMP_DIR/ping_daemon.log" CONFIG_FILE="/etc/quecmanager/settings/ping_settings.conf" [ -f "$CONFIG_FILE" ] || CONFIG_FILE="/tmp/quecmanager/settings/ping_settings.conf" DEFAULT_HOST="8.8.8.8" DEFAULT_INTERVAL=5 +SCRIPT_NAME="ping_daemon" ensure_tmp_dir() { [ -d "$TMP_DIR" ] || mkdir -p "$TMP_DIR" || exit 1; } log() { - printf '%s - %s\n' "$(date '+%Y-%m-%d %H:%M:%S')" "$1" >> "$LOG_FILE" 2>/dev/null || true + qm_log_info "daemon" "$SCRIPT_NAME" "$1" } daemon_is_running() { diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/services/ping_daemon.shZone.Identifier b/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/services/ping_daemon.shZone.Identifier new file mode 100644 index 0000000..f46bcc4 --- /dev/null +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/services/ping_daemon.shZone.Identifier @@ -0,0 +1,2 @@ +[ZoneTransfer] +ZoneId=3 diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/services/quecmanager_logger.sh b/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/services/quecmanager_logger.sh new file mode 100644 index 0000000..2f3f27f --- /dev/null +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/services/quecmanager_logger.sh @@ -0,0 +1,119 @@ +#!/bin/sh + +# QuecManager Centralized Logging Helper +# OpenWrt/BusyBox compatible logging system +# Usage: source this file and use qm_log function + +set -e + +# Base log directory +QM_LOG_BASE="/tmp/quecmanager/logs" + +# Log categories +QM_LOG_DAEMONS="$QM_LOG_BASE/daemons" +QM_LOG_SERVICES="$QM_LOG_BASE/services" +QM_LOG_SETTINGS="$QM_LOG_BASE/settings" +QM_LOG_SYSTEM="$QM_LOG_BASE/system" + +# Log levels +QM_LOG_ERROR="ERROR" +QM_LOG_WARN="WARN" +QM_LOG_INFO="INFO" +QM_LOG_DEBUG="DEBUG" + +# Maximum log file size (in KB) - keep small for OpenWrt +QM_LOG_MAX_SIZE=500 + +# Initialize log directories +qm_init_logs() { + mkdir -p "$QM_LOG_DAEMONS" "$QM_LOG_SERVICES" "$QM_LOG_SETTINGS" "$QM_LOG_SYSTEM" 2>/dev/null || true +} + +# Get log file path based on category and script name +qm_get_logfile() { + local category="$1" + local script_name="$2" + + case "$category" in + "daemon"|"daemons") + echo "$QM_LOG_DAEMONS/${script_name}.log" + ;; + "service"|"services") + echo "$QM_LOG_SERVICES/${script_name}.log" + ;; + "setting"|"settings") + echo "$QM_LOG_SETTINGS/${script_name}.log" + ;; + "system") + echo "$QM_LOG_SYSTEM/${script_name}.log" + ;; + *) + echo "$QM_LOG_SYSTEM/unknown.log" + ;; + esac +} + +# Simple log rotation - keep it OpenWrt compatible +qm_rotate_log() { + local logfile="$1" + + if [ -f "$logfile" ]; then + # Get file size in KB (use du for BusyBox compatibility) + local size_kb=$(du -k "$logfile" 2>/dev/null | cut -f1) + + if [ "${size_kb:-0}" -gt "$QM_LOG_MAX_SIZE" ]; then + # Simple rotation: keep last 2 versions + [ -f "${logfile}.1" ] && mv "${logfile}.1" "${logfile}.2" 2>/dev/null || true + mv "$logfile" "${logfile}.1" 2>/dev/null || true + touch "$logfile" 2>/dev/null || true + fi + fi +} + +# Main logging function +# Usage: qm_log "category" "script_name" "level" "message" +qm_log() { + local category="$1" + local script_name="$2" + local level="$3" + local message="$4" + + # Initialize if needed + qm_init_logs + + # Get log file path + local logfile=$(qm_get_logfile "$category" "$script_name") + + # Rotate if needed + qm_rotate_log "$logfile" + + # Create log entry with OpenWrt compatible date + local timestamp=$(date '+%Y-%m-%d %H:%M:%S' 2>/dev/null || date) + local pid="$$" + + # Write log entry + printf '[%s] [%s] [%s] [PID:%s] %s\n' "$timestamp" "$level" "$script_name" "$pid" "$message" >> "$logfile" 2>/dev/null || true +} + +# Convenience functions for different log levels +qm_log_error() { + qm_log "$1" "$2" "$QM_LOG_ERROR" "$3" +} + +qm_log_warn() { + qm_log "$1" "$2" "$QM_LOG_WARN" "$3" +} + +qm_log_info() { + qm_log "$1" "$2" "$QM_LOG_INFO" "$3" +} + +qm_log_debug() { + qm_log "$1" "$2" "$QM_LOG_DEBUG" "$3" +} + +# Cleanup old logs (called periodically) +qm_cleanup_logs() { + # Remove .2 backup files older than 1 day to save space + find "$QM_LOG_BASE" -name "*.2" -type f -mtime +1 -delete 2>/dev/null || true +} diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/services/quecmanager_logger.shZone.Identifier b/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/services/quecmanager_logger.shZone.Identifier new file mode 100644 index 0000000..f46bcc4 --- /dev/null +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/services/quecmanager_logger.shZone.Identifier @@ -0,0 +1,2 @@ +[ZoneTransfer] +ZoneId=3 diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/services/quecprofile.sh b/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/services/quecprofile.sh index fcd6a23..25320cb 100755 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/services/quecprofile.sh +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/services/quecprofile.sh @@ -2,6 +2,9 @@ # Updated QuecProfiles daemon with enhanced SA/NSA NR5G band management and TTL support # Including profile application functions and fixed comparison logic +# Load centralized logging +. /www/cgi-bin/services/quecmanager_logger.sh + # Configuration QUEUE_DIR="/tmp/at_queue" TOKEN_FILE="$QUEUE_DIR/token" @@ -9,33 +12,39 @@ TRACK_FILE="/tmp/quecprofiles_active" CHECK_TRIGGER="/tmp/quecprofiles_check" STATUS_FILE="/tmp/quecprofiles_status.json" APPLIED_FLAG="/tmp/quecprofiles_applied" -DEBUG_LOG="/tmp/quecprofiles_debug.log" -DETAILED_LOG="/tmp/quecprofiles_detailed.log" DEFAULT_CHECK_INTERVAL=60 # Default check interval in seconds COMMAND_TIMEOUT=10 # Default timeout for AT commands in seconds QUEUE_PRIORITY=3 # Medium-high priority (1 is highest for cell scan) MAX_TOKEN_WAIT=15 # Maximum seconds to wait for token acquisition +SCRIPT_NAME="quecprofile" -# Initialize log file -echo "$(date) - Starting QuecProfiles daemon with SA/NSA NR5G and TTL support (PID: $$)" >"$DEBUG_LOG" -echo "$(date) - Starting QuecProfiles daemon with SA/NSA NR5G and TTL support (PID: $$)" >"$DETAILED_LOG" -chmod 644 "$DEBUG_LOG" "$DETAILED_LOG" +# Initialize logging +qm_log_info "service" "$SCRIPT_NAME" "Starting QuecProfiles daemon with SA/NSA NR5G and TTL support (PID: $$)" # Function to log messages log_message() { local message="$1" local level="${2:-info}" - local timestamp=$(date "+%Y-%m-%d %H:%M:%S") - # Log to system log - logger -t quecprofiles_daemon -p "daemon.$level" "$message" + # Use centralized logging + case "$level" in + "error") + qm_log_error "service" "$SCRIPT_NAME" "$message" + ;; + "warn") + qm_log_warn "service" "$SCRIPT_NAME" "$message" + ;; + "debug") + qm_log_debug "service" "$SCRIPT_NAME" "$message" + ;; + *) + qm_log_info "service" "$SCRIPT_NAME" "$message" + ;; + esac - # Log to debug file - echo "[$timestamp] [$level] $message" >>"$DEBUG_LOG" - - # For detailed logs or errors - if [ "$level" = "error" ] || [ "$level" = "debug" ]; then - echo "[$timestamp] [$level] $message" >>"$DETAILED_LOG" + # Also log to system log for important messages + if [ "$level" = "error" ] || [ "$level" = "warn" ] || [ "$level" = "info" ]; then + logger -t quecprofiles_daemon -p "daemon.$level" "$message" fi } diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/services/quecprofile.shZone.Identifier b/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/services/quecprofile.shZone.Identifier new file mode 100644 index 0000000..f46bcc4 --- /dev/null +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/services/quecprofile.shZone.Identifier @@ -0,0 +1,2 @@ +[ZoneTransfer] +ZoneId=3 diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/services/quecwatch.sh b/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/services/quecwatch.sh index 8f4c912..19213c3 100755 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/services/quecwatch.sh +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/services/quecwatch.sh @@ -6,20 +6,22 @@ # Load UCI configuration functions . /lib/functions.sh +# Load centralized logging +. /www/cgi-bin/services/quecmanager_logger.sh + # Configuration QUEUE_DIR="/tmp/at_queue" TOKEN_FILE="$QUEUE_DIR/token" -LOG_DIR="/tmp/log/quecwatch" -LOG_FILE="$LOG_DIR/quecwatch.log" PID_FILE="/var/run/quecwatch.pid" STATUS_FILE="/tmp/quecwatch_status.json" RETRY_COUNT_FILE="/tmp/quecwatch_retry_count" UCI_CONFIG="quecmanager" MAX_TOKEN_WAIT=10 # Maximum seconds to wait for token acquisition TOKEN_PRIORITY=15 # Medium priority (between profiles and metrics) +SCRIPT_NAME="quecwatch" # Ensure directories exist -mkdir -p "$LOG_DIR" "$QUEUE_DIR" +mkdir -p "$QUEUE_DIR" # Store PID echo "$$" > "$PID_FILE" @@ -29,13 +31,27 @@ chmod 644 "$PID_FILE" log_message() { local level="${2:-info}" local message="$1" - local timestamp=$(date "+%Y-%m-%d %H:%M:%S") - # Log to file - echo "[$timestamp] [$level] $message" >> "$LOG_FILE" + # Use centralized logging + case "$level" in + "error") + qm_log_error "service" "$SCRIPT_NAME" "$message" + ;; + "warn") + qm_log_warn "service" "$SCRIPT_NAME" "$message" + ;; + "debug") + qm_log_debug "service" "$SCRIPT_NAME" "$message" + ;; + *) + qm_log_info "service" "$SCRIPT_NAME" "$message" + ;; + esac - # Log to system log - logger -t quecwatch -p "daemon.$level" "$message" + # Also log to system log for important messages + if [ "$level" = "error" ] || [ "$level" = "warn" ] || [ "$level" = "info" ]; then + logger -t quecwatch -p "daemon.$level" "$message" + fi } # Function to update status diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/services/quecwatch.shZone.Identifier b/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/services/quecwatch.shZone.Identifier new file mode 100644 index 0000000..f46bcc4 --- /dev/null +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/services/quecwatch.shZone.Identifier @@ -0,0 +1,2 @@ +[ZoneTransfer] +ZoneId=3 diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/about/index.html b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/about/index.html index 3b5dc97..01e0d0b 100644 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/about/index.html +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/about/index.html @@ -1 +1 @@ -QuecManager
            \ No newline at end of file +QuecManager
              \ No newline at end of file diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/about/index.txt b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/about/index.txt index 42e115f..897dd98 100644 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/about/index.txt +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/about/index.txt @@ -5,15 +5,15 @@ 5:I[81570,[],""] 6:I[62825,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","3048","static/chunks/3048-9766c902a7fac6d2.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7177","static/chunks/app/layout-ddd6481449252af3.js"],"Toaster"] 7:I[92907,[],"ClientSegmentRoot"] -8:I[63231,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","9464","static/chunks/9464-54895f8e78c474f0.js","9477","static/chunks/9477-4478381adb29cdff.js","564","static/chunks/564-bce78b0f1af68d0a.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","9873","static/chunks/9873-1f9f7420ad1929d8.js","6223","static/chunks/6223-985db5887dec3c8a.js","1954","static/chunks/app/dashboard/layout-e1e7681e45955939.js"],"default"] +8:I[63231,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","9464","static/chunks/9464-54895f8e78c474f0.js","9477","static/chunks/9477-4478381adb29cdff.js","564","static/chunks/564-bce78b0f1af68d0a.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","9873","static/chunks/9873-1f9f7420ad1929d8.js","6223","static/chunks/6223-985db5887dec3c8a.js","1954","static/chunks/app/dashboard/layout-7031c764ad5e7199.js"],"default"] a:I[5329,[],"ClientPageRoot"] -b:I[51228,["7780","static/chunks/7780-f325b2d7864a75f9.js","467","static/chunks/467-150cb05a6a0d0e15.js","6655","static/chunks/app/dashboard/about/page-e3585b7a2d76b411.js"],"default"] +b:I[51228,["7780","static/chunks/7780-f325b2d7864a75f9.js","9679","static/chunks/9679-02a7013bb86edb7d.js","8371","static/chunks/8371-3531d13d75bb983e.js","6655","static/chunks/app/dashboard/about/page-079c1f16ed5f1bf0.js"],"default"] e:I[99165,[],"OutletBoundary"] 10:I[99165,[],"MetadataBoundary"] 12:I[99165,[],"ViewportBoundary"] 14:I[25339,[],""] -:HL["/_next/static/css/e519296cc38ae8e2.css","style"] -0:{"P":null,"b":"uRwx5ooNp2kzLYjnL-ESB","p":"","c":["","dashboard","about",""],"i":false,"f":[[["",{"children":["dashboard",{"children":["about",{"children":["__PAGE__",{}]}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/e519296cc38ae8e2.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":["$","body",null,{"className":"antialiased __className_9dae3d","children":[["$","$L2",null,{"attribute":"class","defaultTheme":"system","enableSystem":true,"disableTransitionOnChange":true,"children":["$","$L3",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[],[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]}],["$","$L6",null,{}]]}]}]]}],{"children":["dashboard",["$","$1","c",{"children":[null,["$","$L7",null,{"Component":"$8","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]},"params":{},"promise":"$@9"}]]}],{"children":["about",["$","$1","c",{"children":[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children","about","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$La",null,{"Component":"$b","searchParams":{},"params":"$0:f:0:1:2:children:1:props:children:1:props:params","promises":["$@c","$@d"]}],null,["$","$Le",null,{"children":"$Lf"}]]}],{},null,false]},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,["$","$1","ymBtYjLiWrXJR6NLvFbCh",{"children":[["$","$L10",null,{"children":"$L11"}],["$","$L12",null,{"children":"$L13"}],null]}]]}],false]],"m":"$undefined","G":["$14","$undefined"],"s":false,"S":true} +:HL["/_next/static/css/b43dda0a8d427715.css","style"] +0:{"P":null,"b":"QktWtlsQL-2ss_eQyrSZD","p":"","c":["","dashboard","about",""],"i":false,"f":[[["",{"children":["dashboard",{"children":["about",{"children":["__PAGE__",{}]}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/b43dda0a8d427715.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":["$","body",null,{"className":"antialiased __className_9dae3d","children":[["$","$L2",null,{"attribute":"class","defaultTheme":"system","enableSystem":true,"disableTransitionOnChange":true,"children":["$","$L3",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[],[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]}],["$","$L6",null,{}]]}]}]]}],{"children":["dashboard",["$","$1","c",{"children":[null,["$","$L7",null,{"Component":"$8","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]},"params":{},"promise":"$@9"}]]}],{"children":["about",["$","$1","c",{"children":[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children","about","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$La",null,{"Component":"$b","searchParams":{},"params":"$0:f:0:1:2:children:1:props:children:1:props:params","promises":["$@c","$@d"]}],null,["$","$Le",null,{"children":"$Lf"}]]}],{},null,false]},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,["$","$1","qDUoN6b1fPPG2xyLb1shF",{"children":[["$","$L10",null,{"children":"$L11"}],["$","$L12",null,{"children":"$L13"}],null]}]]}],false]],"m":"$undefined","G":["$14","$undefined"],"s":false,"S":true} 9:{} c:{} d:{} diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/advanced-settings/at-terminal/index.html b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/advanced-settings/at-terminal/index.html index 9b99517..9edc500 100644 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/advanced-settings/at-terminal/index.html +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/advanced-settings/at-terminal/index.html @@ -1 +1 @@ -QuecManager
                \ No newline at end of file +QuecManager
                  \ No newline at end of file diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/advanced-settings/at-terminal/index.txt b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/advanced-settings/at-terminal/index.txt index 23d8125..38201ec 100644 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/advanced-settings/at-terminal/index.txt +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/advanced-settings/at-terminal/index.txt @@ -5,16 +5,16 @@ 5:I[81570,[],""] 6:I[62825,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","3048","static/chunks/3048-9766c902a7fac6d2.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7177","static/chunks/app/layout-ddd6481449252af3.js"],"Toaster"] 7:I[92907,[],"ClientSegmentRoot"] -8:I[63231,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","9464","static/chunks/9464-54895f8e78c474f0.js","9477","static/chunks/9477-4478381adb29cdff.js","564","static/chunks/564-bce78b0f1af68d0a.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","9873","static/chunks/9873-1f9f7420ad1929d8.js","6223","static/chunks/6223-985db5887dec3c8a.js","1954","static/chunks/app/dashboard/layout-e1e7681e45955939.js"],"default"] +8:I[63231,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","9464","static/chunks/9464-54895f8e78c474f0.js","9477","static/chunks/9477-4478381adb29cdff.js","564","static/chunks/564-bce78b0f1af68d0a.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","9873","static/chunks/9873-1f9f7420ad1929d8.js","6223","static/chunks/6223-985db5887dec3c8a.js","1954","static/chunks/app/dashboard/layout-7031c764ad5e7199.js"],"default"] a:I[74627,["9477","static/chunks/9477-4478381adb29cdff.js","4277","static/chunks/app/dashboard/advanced-settings/layout-072beb7f889526aa.js"],"default"] c:I[5329,[],"ClientPageRoot"] -d:I[30233,["7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","9464","static/chunks/9464-54895f8e78c474f0.js","467","static/chunks/467-150cb05a6a0d0e15.js","564","static/chunks/564-bce78b0f1af68d0a.js","8757","static/chunks/app/dashboard/advanced-settings/at-terminal/page-e325f400037645e7.js"],"default"] +d:I[30233,["7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","9464","static/chunks/9464-54895f8e78c474f0.js","9679","static/chunks/9679-02a7013bb86edb7d.js","564","static/chunks/564-bce78b0f1af68d0a.js","8757","static/chunks/app/dashboard/advanced-settings/at-terminal/page-e1e1862a9f9e1af4.js"],"default"] 10:I[99165,[],"OutletBoundary"] 12:I[99165,[],"MetadataBoundary"] 14:I[99165,[],"ViewportBoundary"] 16:I[25339,[],""] -:HL["/_next/static/css/e519296cc38ae8e2.css","style"] -0:{"P":null,"b":"uRwx5ooNp2kzLYjnL-ESB","p":"","c":["","dashboard","advanced-settings","at-terminal",""],"i":false,"f":[[["",{"children":["dashboard",{"children":["advanced-settings",{"children":["at-terminal",{"children":["__PAGE__",{}]}]}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/e519296cc38ae8e2.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":["$","body",null,{"className":"antialiased __className_9dae3d","children":[["$","$L2",null,{"attribute":"class","defaultTheme":"system","enableSystem":true,"disableTransitionOnChange":true,"children":["$","$L3",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[],[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]}],["$","$L6",null,{}]]}]}]]}],{"children":["dashboard",["$","$1","c",{"children":[null,["$","$L7",null,{"Component":"$8","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]},"params":{},"promise":"$@9"}]]}],{"children":["advanced-settings",["$","$1","c",{"children":[null,["$","$L7",null,{"Component":"$a","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children","advanced-settings","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]},"params":"$0:f:0:1:2:children:1:props:children:1:props:params","promise":"$@b"}]]}],{"children":["at-terminal",["$","$1","c",{"children":[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children","advanced-settings","children","at-terminal","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$Lc",null,{"Component":"$d","searchParams":{},"params":"$0:f:0:1:2:children:1:props:children:1:props:params","promises":["$@e","$@f"]}],null,["$","$L10",null,{"children":"$L11"}]]}],{},null,false]},null,false]},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,["$","$1","LJgp6kWo11lqAzZMTgZ6H",{"children":[["$","$L12",null,{"children":"$L13"}],["$","$L14",null,{"children":"$L15"}],null]}]]}],false]],"m":"$undefined","G":["$16","$undefined"],"s":false,"S":true} +:HL["/_next/static/css/b43dda0a8d427715.css","style"] +0:{"P":null,"b":"QktWtlsQL-2ss_eQyrSZD","p":"","c":["","dashboard","advanced-settings","at-terminal",""],"i":false,"f":[[["",{"children":["dashboard",{"children":["advanced-settings",{"children":["at-terminal",{"children":["__PAGE__",{}]}]}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/b43dda0a8d427715.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":["$","body",null,{"className":"antialiased __className_9dae3d","children":[["$","$L2",null,{"attribute":"class","defaultTheme":"system","enableSystem":true,"disableTransitionOnChange":true,"children":["$","$L3",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[],[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]}],["$","$L6",null,{}]]}]}]]}],{"children":["dashboard",["$","$1","c",{"children":[null,["$","$L7",null,{"Component":"$8","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]},"params":{},"promise":"$@9"}]]}],{"children":["advanced-settings",["$","$1","c",{"children":[null,["$","$L7",null,{"Component":"$a","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children","advanced-settings","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]},"params":"$0:f:0:1:2:children:1:props:children:1:props:params","promise":"$@b"}]]}],{"children":["at-terminal",["$","$1","c",{"children":[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children","advanced-settings","children","at-terminal","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$Lc",null,{"Component":"$d","searchParams":{},"params":"$0:f:0:1:2:children:1:props:children:1:props:params","promises":["$@e","$@f"]}],null,["$","$L10",null,{"children":"$L11"}]]}],{},null,false]},null,false]},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,["$","$1","IHzcVfOx9sxeJtu1fQiDx",{"children":[["$","$L12",null,{"children":"$L13"}],["$","$L14",null,{"children":"$L15"}],null]}]]}],false]],"m":"$undefined","G":["$16","$undefined"],"s":false,"S":true} 9:{} b:{} e:{} diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/advanced-settings/connectivity/index.html b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/advanced-settings/connectivity/index.html index fb5e2ba..515b98b 100644 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/advanced-settings/connectivity/index.html +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/advanced-settings/connectivity/index.html @@ -1 +1 @@ -QuecManager
                    \ No newline at end of file +QuecManager
                      \ No newline at end of file diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/advanced-settings/connectivity/index.txt b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/advanced-settings/connectivity/index.txt index e12894b..f639164 100644 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/advanced-settings/connectivity/index.txt +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/advanced-settings/connectivity/index.txt @@ -5,7 +5,7 @@ 5:I[81570,[],""] 6:I[62825,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","3048","static/chunks/3048-9766c902a7fac6d2.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7177","static/chunks/app/layout-ddd6481449252af3.js"],"Toaster"] 7:I[92907,[],"ClientSegmentRoot"] -8:I[63231,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","9464","static/chunks/9464-54895f8e78c474f0.js","9477","static/chunks/9477-4478381adb29cdff.js","564","static/chunks/564-bce78b0f1af68d0a.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","9873","static/chunks/9873-1f9f7420ad1929d8.js","6223","static/chunks/6223-985db5887dec3c8a.js","1954","static/chunks/app/dashboard/layout-e1e7681e45955939.js"],"default"] +8:I[63231,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","9464","static/chunks/9464-54895f8e78c474f0.js","9477","static/chunks/9477-4478381adb29cdff.js","564","static/chunks/564-bce78b0f1af68d0a.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","9873","static/chunks/9873-1f9f7420ad1929d8.js","6223","static/chunks/6223-985db5887dec3c8a.js","1954","static/chunks/app/dashboard/layout-7031c764ad5e7199.js"],"default"] a:I[74627,["9477","static/chunks/9477-4478381adb29cdff.js","4277","static/chunks/app/dashboard/advanced-settings/layout-072beb7f889526aa.js"],"default"] c:I[5329,[],"ClientPageRoot"] d:I[76592,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","9464","static/chunks/9464-54895f8e78c474f0.js","3494","static/chunks/3494-d763154adf622bee.js","564","static/chunks/564-bce78b0f1af68d0a.js","6592","static/chunks/6592-ddf7c16d017c7999.js","9548","static/chunks/app/dashboard/advanced-settings/connectivity/page-b6af3e3a1c9b8f1a.js"],"default"] @@ -13,8 +13,8 @@ d:I[76592,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/ch 12:I[99165,[],"MetadataBoundary"] 14:I[99165,[],"ViewportBoundary"] 16:I[25339,[],""] -:HL["/_next/static/css/e519296cc38ae8e2.css","style"] -0:{"P":null,"b":"uRwx5ooNp2kzLYjnL-ESB","p":"","c":["","dashboard","advanced-settings","connectivity",""],"i":false,"f":[[["",{"children":["dashboard",{"children":["advanced-settings",{"children":["connectivity",{"children":["__PAGE__",{}]}]}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/e519296cc38ae8e2.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":["$","body",null,{"className":"antialiased __className_9dae3d","children":[["$","$L2",null,{"attribute":"class","defaultTheme":"system","enableSystem":true,"disableTransitionOnChange":true,"children":["$","$L3",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[],[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]}],["$","$L6",null,{}]]}]}]]}],{"children":["dashboard",["$","$1","c",{"children":[null,["$","$L7",null,{"Component":"$8","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]},"params":{},"promise":"$@9"}]]}],{"children":["advanced-settings",["$","$1","c",{"children":[null,["$","$L7",null,{"Component":"$a","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children","advanced-settings","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]},"params":"$0:f:0:1:2:children:1:props:children:1:props:params","promise":"$@b"}]]}],{"children":["connectivity",["$","$1","c",{"children":[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children","advanced-settings","children","connectivity","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$Lc",null,{"Component":"$d","searchParams":{},"params":"$0:f:0:1:2:children:1:props:children:1:props:params","promises":["$@e","$@f"]}],null,["$","$L10",null,{"children":"$L11"}]]}],{},null,false]},null,false]},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,["$","$1","WUNKN2vpyvJaJCnWliKKk",{"children":[["$","$L12",null,{"children":"$L13"}],["$","$L14",null,{"children":"$L15"}],null]}]]}],false]],"m":"$undefined","G":["$16","$undefined"],"s":false,"S":true} +:HL["/_next/static/css/b43dda0a8d427715.css","style"] +0:{"P":null,"b":"QktWtlsQL-2ss_eQyrSZD","p":"","c":["","dashboard","advanced-settings","connectivity",""],"i":false,"f":[[["",{"children":["dashboard",{"children":["advanced-settings",{"children":["connectivity",{"children":["__PAGE__",{}]}]}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/b43dda0a8d427715.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":["$","body",null,{"className":"antialiased __className_9dae3d","children":[["$","$L2",null,{"attribute":"class","defaultTheme":"system","enableSystem":true,"disableTransitionOnChange":true,"children":["$","$L3",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[],[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]}],["$","$L6",null,{}]]}]}]]}],{"children":["dashboard",["$","$1","c",{"children":[null,["$","$L7",null,{"Component":"$8","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]},"params":{},"promise":"$@9"}]]}],{"children":["advanced-settings",["$","$1","c",{"children":[null,["$","$L7",null,{"Component":"$a","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children","advanced-settings","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]},"params":"$0:f:0:1:2:children:1:props:children:1:props:params","promise":"$@b"}]]}],{"children":["connectivity",["$","$1","c",{"children":[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children","advanced-settings","children","connectivity","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$Lc",null,{"Component":"$d","searchParams":{},"params":"$0:f:0:1:2:children:1:props:children:1:props:params","promises":["$@e","$@f"]}],null,["$","$L10",null,{"children":"$L11"}]]}],{},null,false]},null,false]},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,["$","$1","AE00nr3K5CCnynRb_W1Em",{"children":[["$","$L12",null,{"children":"$L13"}],["$","$L14",null,{"children":"$L15"}],null]}]]}],false]],"m":"$undefined","G":["$16","$undefined"],"s":false,"S":true} 9:{} b:{} e:{} diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/advanced-settings/index.html b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/advanced-settings/index.html index 22a1645..4f80524 100644 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/advanced-settings/index.html +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/advanced-settings/index.html @@ -1 +1 @@ -QuecManager
                        \ No newline at end of file +QuecManager
                          \ No newline at end of file diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/advanced-settings/index.txt b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/advanced-settings/index.txt index c5796a4..fc68d61 100644 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/advanced-settings/index.txt +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/advanced-settings/index.txt @@ -5,15 +5,15 @@ 5:I[81570,[],""] 6:I[62825,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","3048","static/chunks/3048-9766c902a7fac6d2.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7177","static/chunks/app/layout-ddd6481449252af3.js"],"Toaster"] 7:I[92907,[],"ClientSegmentRoot"] -8:I[63231,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","9464","static/chunks/9464-54895f8e78c474f0.js","9477","static/chunks/9477-4478381adb29cdff.js","564","static/chunks/564-bce78b0f1af68d0a.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","9873","static/chunks/9873-1f9f7420ad1929d8.js","6223","static/chunks/6223-985db5887dec3c8a.js","1954","static/chunks/app/dashboard/layout-e1e7681e45955939.js"],"default"] +8:I[63231,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","9464","static/chunks/9464-54895f8e78c474f0.js","9477","static/chunks/9477-4478381adb29cdff.js","564","static/chunks/564-bce78b0f1af68d0a.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","9873","static/chunks/9873-1f9f7420ad1929d8.js","6223","static/chunks/6223-985db5887dec3c8a.js","1954","static/chunks/app/dashboard/layout-7031c764ad5e7199.js"],"default"] a:I[74627,["9477","static/chunks/9477-4478381adb29cdff.js","4277","static/chunks/app/dashboard/advanced-settings/layout-072beb7f889526aa.js"],"default"] c:I[76592,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","9464","static/chunks/9464-54895f8e78c474f0.js","3494","static/chunks/3494-d763154adf622bee.js","564","static/chunks/564-bce78b0f1af68d0a.js","6592","static/chunks/6592-ddf7c16d017c7999.js","5226","static/chunks/app/dashboard/advanced-settings/page-4205f3fa284e5d7f.js"],"default"] d:I[99165,[],"OutletBoundary"] f:I[99165,[],"MetadataBoundary"] 11:I[99165,[],"ViewportBoundary"] 13:I[25339,[],""] -:HL["/_next/static/css/e519296cc38ae8e2.css","style"] -0:{"P":null,"b":"uRwx5ooNp2kzLYjnL-ESB","p":"","c":["","dashboard","advanced-settings",""],"i":false,"f":[[["",{"children":["dashboard",{"children":["advanced-settings",{"children":["__PAGE__",{}]}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/e519296cc38ae8e2.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":["$","body",null,{"className":"antialiased __className_9dae3d","children":[["$","$L2",null,{"attribute":"class","defaultTheme":"system","enableSystem":true,"disableTransitionOnChange":true,"children":["$","$L3",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[],[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]}],["$","$L6",null,{}]]}]}]]}],{"children":["dashboard",["$","$1","c",{"children":[null,["$","$L7",null,{"Component":"$8","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]},"params":{},"promise":"$@9"}]]}],{"children":["advanced-settings",["$","$1","c",{"children":[null,["$","$L7",null,{"Component":"$a","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children","advanced-settings","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]},"params":"$0:f:0:1:2:children:1:props:children:1:props:params","promise":"$@b"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$Lc",null,{}],null,["$","$Ld",null,{"children":"$Le"}]]}],{},null,false]},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,["$","$1","t77Cj63lgNqdzvd_joLHW",{"children":[["$","$Lf",null,{"children":"$L10"}],["$","$L11",null,{"children":"$L12"}],null]}]]}],false]],"m":"$undefined","G":["$13","$undefined"],"s":false,"S":true} +:HL["/_next/static/css/b43dda0a8d427715.css","style"] +0:{"P":null,"b":"QktWtlsQL-2ss_eQyrSZD","p":"","c":["","dashboard","advanced-settings",""],"i":false,"f":[[["",{"children":["dashboard",{"children":["advanced-settings",{"children":["__PAGE__",{}]}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/b43dda0a8d427715.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":["$","body",null,{"className":"antialiased __className_9dae3d","children":[["$","$L2",null,{"attribute":"class","defaultTheme":"system","enableSystem":true,"disableTransitionOnChange":true,"children":["$","$L3",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[],[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]}],["$","$L6",null,{}]]}]}]]}],{"children":["dashboard",["$","$1","c",{"children":[null,["$","$L7",null,{"Component":"$8","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]},"params":{},"promise":"$@9"}]]}],{"children":["advanced-settings",["$","$1","c",{"children":[null,["$","$L7",null,{"Component":"$a","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children","advanced-settings","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]},"params":"$0:f:0:1:2:children:1:props:children:1:props:params","promise":"$@b"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$Lc",null,{}],null,["$","$Ld",null,{"children":"$Le"}]]}],{},null,false]},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,["$","$1","fu8OhuAKIciuF_Dblxpbw",{"children":[["$","$Lf",null,{"children":"$L10"}],["$","$L11",null,{"children":"$L12"}],null]}]]}],false]],"m":"$undefined","G":["$13","$undefined"],"s":false,"S":true} 9:{} b:{} 12:[["$","meta","0",{"name":"viewport","content":"width=device-width, initial-scale=1"}]] diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/advanced-settings/mtu/index.html b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/advanced-settings/mtu/index.html index 7c168fc..c9aa55f 100644 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/advanced-settings/mtu/index.html +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/advanced-settings/mtu/index.html @@ -1 +1 @@ -QuecManager
                            \ No newline at end of file +QuecManager
                              \ No newline at end of file diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/advanced-settings/mtu/index.txt b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/advanced-settings/mtu/index.txt index 2576a39..a4c3cf1 100644 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/advanced-settings/mtu/index.txt +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/advanced-settings/mtu/index.txt @@ -5,7 +5,7 @@ 5:I[81570,[],""] 6:I[62825,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","3048","static/chunks/3048-9766c902a7fac6d2.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7177","static/chunks/app/layout-ddd6481449252af3.js"],"Toaster"] 7:I[92907,[],"ClientSegmentRoot"] -8:I[63231,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","9464","static/chunks/9464-54895f8e78c474f0.js","9477","static/chunks/9477-4478381adb29cdff.js","564","static/chunks/564-bce78b0f1af68d0a.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","9873","static/chunks/9873-1f9f7420ad1929d8.js","6223","static/chunks/6223-985db5887dec3c8a.js","1954","static/chunks/app/dashboard/layout-e1e7681e45955939.js"],"default"] +8:I[63231,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","9464","static/chunks/9464-54895f8e78c474f0.js","9477","static/chunks/9477-4478381adb29cdff.js","564","static/chunks/564-bce78b0f1af68d0a.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","9873","static/chunks/9873-1f9f7420ad1929d8.js","6223","static/chunks/6223-985db5887dec3c8a.js","1954","static/chunks/app/dashboard/layout-7031c764ad5e7199.js"],"default"] a:I[74627,["9477","static/chunks/9477-4478381adb29cdff.js","4277","static/chunks/app/dashboard/advanced-settings/layout-072beb7f889526aa.js"],"default"] c:I[5329,[],"ClientPageRoot"] d:I[34819,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","3669","static/chunks/app/dashboard/advanced-settings/mtu/page-3582caed75129147.js"],"default"] @@ -13,8 +13,8 @@ d:I[34819,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/ch 12:I[99165,[],"MetadataBoundary"] 14:I[99165,[],"ViewportBoundary"] 16:I[25339,[],""] -:HL["/_next/static/css/e519296cc38ae8e2.css","style"] -0:{"P":null,"b":"uRwx5ooNp2kzLYjnL-ESB","p":"","c":["","dashboard","advanced-settings","mtu",""],"i":false,"f":[[["",{"children":["dashboard",{"children":["advanced-settings",{"children":["mtu",{"children":["__PAGE__",{}]}]}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/e519296cc38ae8e2.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":["$","body",null,{"className":"antialiased __className_9dae3d","children":[["$","$L2",null,{"attribute":"class","defaultTheme":"system","enableSystem":true,"disableTransitionOnChange":true,"children":["$","$L3",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[],[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]}],["$","$L6",null,{}]]}]}]]}],{"children":["dashboard",["$","$1","c",{"children":[null,["$","$L7",null,{"Component":"$8","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]},"params":{},"promise":"$@9"}]]}],{"children":["advanced-settings",["$","$1","c",{"children":[null,["$","$L7",null,{"Component":"$a","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children","advanced-settings","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]},"params":"$0:f:0:1:2:children:1:props:children:1:props:params","promise":"$@b"}]]}],{"children":["mtu",["$","$1","c",{"children":[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children","advanced-settings","children","mtu","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$Lc",null,{"Component":"$d","searchParams":{},"params":"$0:f:0:1:2:children:1:props:children:1:props:params","promises":["$@e","$@f"]}],null,["$","$L10",null,{"children":"$L11"}]]}],{},null,false]},null,false]},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,["$","$1","lor_Rj9UeSlWYfFECL38n",{"children":[["$","$L12",null,{"children":"$L13"}],["$","$L14",null,{"children":"$L15"}],null]}]]}],false]],"m":"$undefined","G":["$16","$undefined"],"s":false,"S":true} +:HL["/_next/static/css/b43dda0a8d427715.css","style"] +0:{"P":null,"b":"QktWtlsQL-2ss_eQyrSZD","p":"","c":["","dashboard","advanced-settings","mtu",""],"i":false,"f":[[["",{"children":["dashboard",{"children":["advanced-settings",{"children":["mtu",{"children":["__PAGE__",{}]}]}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/b43dda0a8d427715.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":["$","body",null,{"className":"antialiased __className_9dae3d","children":[["$","$L2",null,{"attribute":"class","defaultTheme":"system","enableSystem":true,"disableTransitionOnChange":true,"children":["$","$L3",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[],[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]}],["$","$L6",null,{}]]}]}]]}],{"children":["dashboard",["$","$1","c",{"children":[null,["$","$L7",null,{"Component":"$8","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]},"params":{},"promise":"$@9"}]]}],{"children":["advanced-settings",["$","$1","c",{"children":[null,["$","$L7",null,{"Component":"$a","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children","advanced-settings","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]},"params":"$0:f:0:1:2:children:1:props:children:1:props:params","promise":"$@b"}]]}],{"children":["mtu",["$","$1","c",{"children":[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children","advanced-settings","children","mtu","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$Lc",null,{"Component":"$d","searchParams":{},"params":"$0:f:0:1:2:children:1:props:children:1:props:params","promises":["$@e","$@f"]}],null,["$","$L10",null,{"children":"$L11"}]]}],{},null,false]},null,false]},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,["$","$1","X8gU8LePQS7arFpTaKOe2",{"children":[["$","$L12",null,{"children":"$L13"}],["$","$L14",null,{"children":"$L15"}],null]}]]}],false]],"m":"$undefined","G":["$16","$undefined"],"s":false,"S":true} 9:{} b:{} e:{} diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/advanced-settings/ttl-settings/index.html b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/advanced-settings/ttl-settings/index.html index 0aa130e..27ff065 100644 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/advanced-settings/ttl-settings/index.html +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/advanced-settings/ttl-settings/index.html @@ -1 +1 @@ -QuecManager
                                \ No newline at end of file +QuecManager
                                  \ No newline at end of file diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/advanced-settings/ttl-settings/index.txt b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/advanced-settings/ttl-settings/index.txt index e990dc0..35804f8 100644 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/advanced-settings/ttl-settings/index.txt +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/advanced-settings/ttl-settings/index.txt @@ -5,7 +5,7 @@ 5:I[81570,[],""] 6:I[62825,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","3048","static/chunks/3048-9766c902a7fac6d2.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7177","static/chunks/app/layout-ddd6481449252af3.js"],"Toaster"] 7:I[92907,[],"ClientSegmentRoot"] -8:I[63231,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","9464","static/chunks/9464-54895f8e78c474f0.js","9477","static/chunks/9477-4478381adb29cdff.js","564","static/chunks/564-bce78b0f1af68d0a.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","9873","static/chunks/9873-1f9f7420ad1929d8.js","6223","static/chunks/6223-985db5887dec3c8a.js","1954","static/chunks/app/dashboard/layout-e1e7681e45955939.js"],"default"] +8:I[63231,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","9464","static/chunks/9464-54895f8e78c474f0.js","9477","static/chunks/9477-4478381adb29cdff.js","564","static/chunks/564-bce78b0f1af68d0a.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","9873","static/chunks/9873-1f9f7420ad1929d8.js","6223","static/chunks/6223-985db5887dec3c8a.js","1954","static/chunks/app/dashboard/layout-7031c764ad5e7199.js"],"default"] a:I[74627,["9477","static/chunks/9477-4478381adb29cdff.js","4277","static/chunks/app/dashboard/advanced-settings/layout-072beb7f889526aa.js"],"default"] c:I[5329,[],"ClientPageRoot"] d:I[83143,["7780","static/chunks/7780-f325b2d7864a75f9.js","1630","static/chunks/1630-ef39e3282b1968a7.js","4481","static/chunks/app/dashboard/advanced-settings/ttl-settings/page-5948794cbc9303d4.js"],"default"] @@ -13,8 +13,8 @@ d:I[83143,["7780","static/chunks/7780-f325b2d7864a75f9.js","1630","static/chunks 12:I[99165,[],"MetadataBoundary"] 14:I[99165,[],"ViewportBoundary"] 16:I[25339,[],""] -:HL["/_next/static/css/e519296cc38ae8e2.css","style"] -0:{"P":null,"b":"uRwx5ooNp2kzLYjnL-ESB","p":"","c":["","dashboard","advanced-settings","ttl-settings",""],"i":false,"f":[[["",{"children":["dashboard",{"children":["advanced-settings",{"children":["ttl-settings",{"children":["__PAGE__",{}]}]}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/e519296cc38ae8e2.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":["$","body",null,{"className":"antialiased __className_9dae3d","children":[["$","$L2",null,{"attribute":"class","defaultTheme":"system","enableSystem":true,"disableTransitionOnChange":true,"children":["$","$L3",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[],[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]}],["$","$L6",null,{}]]}]}]]}],{"children":["dashboard",["$","$1","c",{"children":[null,["$","$L7",null,{"Component":"$8","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]},"params":{},"promise":"$@9"}]]}],{"children":["advanced-settings",["$","$1","c",{"children":[null,["$","$L7",null,{"Component":"$a","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children","advanced-settings","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]},"params":"$0:f:0:1:2:children:1:props:children:1:props:params","promise":"$@b"}]]}],{"children":["ttl-settings",["$","$1","c",{"children":[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children","advanced-settings","children","ttl-settings","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$Lc",null,{"Component":"$d","searchParams":{},"params":"$0:f:0:1:2:children:1:props:children:1:props:params","promises":["$@e","$@f"]}],null,["$","$L10",null,{"children":"$L11"}]]}],{},null,false]},null,false]},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,["$","$1","xkFVuTyGd2437TelAboSW",{"children":[["$","$L12",null,{"children":"$L13"}],["$","$L14",null,{"children":"$L15"}],null]}]]}],false]],"m":"$undefined","G":["$16","$undefined"],"s":false,"S":true} +:HL["/_next/static/css/b43dda0a8d427715.css","style"] +0:{"P":null,"b":"QktWtlsQL-2ss_eQyrSZD","p":"","c":["","dashboard","advanced-settings","ttl-settings",""],"i":false,"f":[[["",{"children":["dashboard",{"children":["advanced-settings",{"children":["ttl-settings",{"children":["__PAGE__",{}]}]}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/b43dda0a8d427715.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":["$","body",null,{"className":"antialiased __className_9dae3d","children":[["$","$L2",null,{"attribute":"class","defaultTheme":"system","enableSystem":true,"disableTransitionOnChange":true,"children":["$","$L3",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[],[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]}],["$","$L6",null,{}]]}]}]]}],{"children":["dashboard",["$","$1","c",{"children":[null,["$","$L7",null,{"Component":"$8","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]},"params":{},"promise":"$@9"}]]}],{"children":["advanced-settings",["$","$1","c",{"children":[null,["$","$L7",null,{"Component":"$a","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children","advanced-settings","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]},"params":"$0:f:0:1:2:children:1:props:children:1:props:params","promise":"$@b"}]]}],{"children":["ttl-settings",["$","$1","c",{"children":[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children","advanced-settings","children","ttl-settings","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$Lc",null,{"Component":"$d","searchParams":{},"params":"$0:f:0:1:2:children:1:props:children:1:props:params","promises":["$@e","$@f"]}],null,["$","$L10",null,{"children":"$L11"}]]}],{},null,false]},null,false]},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,["$","$1","OtxLVZaEsvEcsklPWfxOW",{"children":[["$","$L12",null,{"children":"$L13"}],["$","$L14",null,{"children":"$L15"}],null]}]]}],false]],"m":"$undefined","G":["$16","$undefined"],"s":false,"S":true} 9:{} b:{} e:{} diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/cell-settings/band-locking/index.html b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/cell-settings/band-locking/index.html index f2134fd..1f8dc9d 100644 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/cell-settings/band-locking/index.html +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/cell-settings/band-locking/index.html @@ -1 +1 @@ -QuecManager
                                    \ No newline at end of file +QuecManager
                                      \ No newline at end of file diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/cell-settings/band-locking/index.txt b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/cell-settings/band-locking/index.txt index b0c6b4f..201a973 100644 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/cell-settings/band-locking/index.txt +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/cell-settings/band-locking/index.txt @@ -5,7 +5,7 @@ 5:I[81570,[],""] 6:I[62825,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","3048","static/chunks/3048-9766c902a7fac6d2.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7177","static/chunks/app/layout-ddd6481449252af3.js"],"Toaster"] 7:I[92907,[],"ClientSegmentRoot"] -8:I[63231,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","9464","static/chunks/9464-54895f8e78c474f0.js","9477","static/chunks/9477-4478381adb29cdff.js","564","static/chunks/564-bce78b0f1af68d0a.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","9873","static/chunks/9873-1f9f7420ad1929d8.js","6223","static/chunks/6223-985db5887dec3c8a.js","1954","static/chunks/app/dashboard/layout-e1e7681e45955939.js"],"default"] +8:I[63231,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","9464","static/chunks/9464-54895f8e78c474f0.js","9477","static/chunks/9477-4478381adb29cdff.js","564","static/chunks/564-bce78b0f1af68d0a.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","9873","static/chunks/9873-1f9f7420ad1929d8.js","6223","static/chunks/6223-985db5887dec3c8a.js","1954","static/chunks/app/dashboard/layout-7031c764ad5e7199.js"],"default"] a:I[83593,["9477","static/chunks/9477-4478381adb29cdff.js","347","static/chunks/app/dashboard/cell-settings/layout-3f8340fe1040b17c.js"],"default"] c:I[5329,[],"ClientPageRoot"] d:I[75808,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","2494","static/chunks/2494-1b55b4db233d7e31.js","1942","static/chunks/app/dashboard/cell-settings/band-locking/page-5ce71e90ddd3ae1a.js"],"default"] @@ -13,8 +13,8 @@ d:I[75808,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/ch 12:I[99165,[],"MetadataBoundary"] 14:I[99165,[],"ViewportBoundary"] 16:I[25339,[],""] -:HL["/_next/static/css/e519296cc38ae8e2.css","style"] -0:{"P":null,"b":"uRwx5ooNp2kzLYjnL-ESB","p":"","c":["","dashboard","cell-settings","band-locking",""],"i":false,"f":[[["",{"children":["dashboard",{"children":["cell-settings",{"children":["band-locking",{"children":["__PAGE__",{}]}]}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/e519296cc38ae8e2.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":["$","body",null,{"className":"antialiased __className_9dae3d","children":[["$","$L2",null,{"attribute":"class","defaultTheme":"system","enableSystem":true,"disableTransitionOnChange":true,"children":["$","$L3",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[],[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]}],["$","$L6",null,{}]]}]}]]}],{"children":["dashboard",["$","$1","c",{"children":[null,["$","$L7",null,{"Component":"$8","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]},"params":{},"promise":"$@9"}]]}],{"children":["cell-settings",["$","$1","c",{"children":[null,["$","$L7",null,{"Component":"$a","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children","cell-settings","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]},"params":"$0:f:0:1:2:children:1:props:children:1:props:params","promise":"$@b"}]]}],{"children":["band-locking",["$","$1","c",{"children":[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children","cell-settings","children","band-locking","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$Lc",null,{"Component":"$d","searchParams":{},"params":"$0:f:0:1:2:children:1:props:children:1:props:params","promises":["$@e","$@f"]}],null,["$","$L10",null,{"children":"$L11"}]]}],{},null,false]},null,false]},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,["$","$1","r4vV_3iAcg2Gb_M_PVXSD",{"children":[["$","$L12",null,{"children":"$L13"}],["$","$L14",null,{"children":"$L15"}],null]}]]}],false]],"m":"$undefined","G":["$16","$undefined"],"s":false,"S":true} +:HL["/_next/static/css/b43dda0a8d427715.css","style"] +0:{"P":null,"b":"QktWtlsQL-2ss_eQyrSZD","p":"","c":["","dashboard","cell-settings","band-locking",""],"i":false,"f":[[["",{"children":["dashboard",{"children":["cell-settings",{"children":["band-locking",{"children":["__PAGE__",{}]}]}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/b43dda0a8d427715.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":["$","body",null,{"className":"antialiased __className_9dae3d","children":[["$","$L2",null,{"attribute":"class","defaultTheme":"system","enableSystem":true,"disableTransitionOnChange":true,"children":["$","$L3",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[],[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]}],["$","$L6",null,{}]]}]}]]}],{"children":["dashboard",["$","$1","c",{"children":[null,["$","$L7",null,{"Component":"$8","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]},"params":{},"promise":"$@9"}]]}],{"children":["cell-settings",["$","$1","c",{"children":[null,["$","$L7",null,{"Component":"$a","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children","cell-settings","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]},"params":"$0:f:0:1:2:children:1:props:children:1:props:params","promise":"$@b"}]]}],{"children":["band-locking",["$","$1","c",{"children":[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children","cell-settings","children","band-locking","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$Lc",null,{"Component":"$d","searchParams":{},"params":"$0:f:0:1:2:children:1:props:children:1:props:params","promises":["$@e","$@f"]}],null,["$","$L10",null,{"children":"$L11"}]]}],{},null,false]},null,false]},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,["$","$1","q0hGE-9u93q8tLHo6TP8J",{"children":[["$","$L12",null,{"children":"$L13"}],["$","$L14",null,{"children":"$L15"}],null]}]]}],false]],"m":"$undefined","G":["$16","$undefined"],"s":false,"S":true} 9:{} b:{} e:{} diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/cell-settings/basic-settings/index.html b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/cell-settings/basic-settings/index.html index 698a2e1..75058eb 100644 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/cell-settings/basic-settings/index.html +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/cell-settings/basic-settings/index.html @@ -1 +1 @@ -QuecManager
                                        \ No newline at end of file +QuecManager
                                          \ No newline at end of file diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/cell-settings/basic-settings/index.txt b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/cell-settings/basic-settings/index.txt index e8510cc..72c967f 100644 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/cell-settings/basic-settings/index.txt +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/cell-settings/basic-settings/index.txt @@ -5,7 +5,7 @@ 5:I[81570,[],""] 6:I[62825,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","3048","static/chunks/3048-9766c902a7fac6d2.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7177","static/chunks/app/layout-ddd6481449252af3.js"],"Toaster"] 7:I[92907,[],"ClientSegmentRoot"] -8:I[63231,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","9464","static/chunks/9464-54895f8e78c474f0.js","9477","static/chunks/9477-4478381adb29cdff.js","564","static/chunks/564-bce78b0f1af68d0a.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","9873","static/chunks/9873-1f9f7420ad1929d8.js","6223","static/chunks/6223-985db5887dec3c8a.js","1954","static/chunks/app/dashboard/layout-e1e7681e45955939.js"],"default"] +8:I[63231,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","9464","static/chunks/9464-54895f8e78c474f0.js","9477","static/chunks/9477-4478381adb29cdff.js","564","static/chunks/564-bce78b0f1af68d0a.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","9873","static/chunks/9873-1f9f7420ad1929d8.js","6223","static/chunks/6223-985db5887dec3c8a.js","1954","static/chunks/app/dashboard/layout-7031c764ad5e7199.js"],"default"] a:I[83593,["9477","static/chunks/9477-4478381adb29cdff.js","347","static/chunks/app/dashboard/cell-settings/layout-3f8340fe1040b17c.js"],"default"] c:I[5329,[],"ClientPageRoot"] d:I[15469,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","9464","static/chunks/9464-54895f8e78c474f0.js","3494","static/chunks/3494-d763154adf622bee.js","3048","static/chunks/3048-9766c902a7fac6d2.js","2545","static/chunks/app/dashboard/cell-settings/basic-settings/page-0265c47fc97c235c.js"],"default"] @@ -13,8 +13,8 @@ d:I[15469,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/ch 12:I[99165,[],"MetadataBoundary"] 14:I[99165,[],"ViewportBoundary"] 16:I[25339,[],""] -:HL["/_next/static/css/e519296cc38ae8e2.css","style"] -0:{"P":null,"b":"uRwx5ooNp2kzLYjnL-ESB","p":"","c":["","dashboard","cell-settings","basic-settings",""],"i":false,"f":[[["",{"children":["dashboard",{"children":["cell-settings",{"children":["basic-settings",{"children":["__PAGE__",{}]}]}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/e519296cc38ae8e2.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":["$","body",null,{"className":"antialiased __className_9dae3d","children":[["$","$L2",null,{"attribute":"class","defaultTheme":"system","enableSystem":true,"disableTransitionOnChange":true,"children":["$","$L3",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[],[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]}],["$","$L6",null,{}]]}]}]]}],{"children":["dashboard",["$","$1","c",{"children":[null,["$","$L7",null,{"Component":"$8","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]},"params":{},"promise":"$@9"}]]}],{"children":["cell-settings",["$","$1","c",{"children":[null,["$","$L7",null,{"Component":"$a","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children","cell-settings","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]},"params":"$0:f:0:1:2:children:1:props:children:1:props:params","promise":"$@b"}]]}],{"children":["basic-settings",["$","$1","c",{"children":[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children","cell-settings","children","basic-settings","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$Lc",null,{"Component":"$d","searchParams":{},"params":"$0:f:0:1:2:children:1:props:children:1:props:params","promises":["$@e","$@f"]}],null,["$","$L10",null,{"children":"$L11"}]]}],{},null,false]},null,false]},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,["$","$1","oYT6Yuv5ltWJ9NQgUO-z-",{"children":[["$","$L12",null,{"children":"$L13"}],["$","$L14",null,{"children":"$L15"}],null]}]]}],false]],"m":"$undefined","G":["$16","$undefined"],"s":false,"S":true} +:HL["/_next/static/css/b43dda0a8d427715.css","style"] +0:{"P":null,"b":"QktWtlsQL-2ss_eQyrSZD","p":"","c":["","dashboard","cell-settings","basic-settings",""],"i":false,"f":[[["",{"children":["dashboard",{"children":["cell-settings",{"children":["basic-settings",{"children":["__PAGE__",{}]}]}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/b43dda0a8d427715.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":["$","body",null,{"className":"antialiased __className_9dae3d","children":[["$","$L2",null,{"attribute":"class","defaultTheme":"system","enableSystem":true,"disableTransitionOnChange":true,"children":["$","$L3",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[],[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]}],["$","$L6",null,{}]]}]}]]}],{"children":["dashboard",["$","$1","c",{"children":[null,["$","$L7",null,{"Component":"$8","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]},"params":{},"promise":"$@9"}]]}],{"children":["cell-settings",["$","$1","c",{"children":[null,["$","$L7",null,{"Component":"$a","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children","cell-settings","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]},"params":"$0:f:0:1:2:children:1:props:children:1:props:params","promise":"$@b"}]]}],{"children":["basic-settings",["$","$1","c",{"children":[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children","cell-settings","children","basic-settings","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$Lc",null,{"Component":"$d","searchParams":{},"params":"$0:f:0:1:2:children:1:props:children:1:props:params","promises":["$@e","$@f"]}],null,["$","$L10",null,{"children":"$L11"}]]}],{},null,false]},null,false]},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,["$","$1","cRJJglBBBHThcBaAG97c6",{"children":[["$","$L12",null,{"children":"$L13"}],["$","$L14",null,{"children":"$L15"}],null]}]]}],false]],"m":"$undefined","G":["$16","$undefined"],"s":false,"S":true} 9:{} b:{} e:{} diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/cell-settings/cell-locking/index.html b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/cell-settings/cell-locking/index.html index 36d8a37..591e813 100644 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/cell-settings/cell-locking/index.html +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/cell-settings/cell-locking/index.html @@ -1 +1 @@ -QuecManager
                                            \ No newline at end of file +QuecManager
                                              \ No newline at end of file diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/cell-settings/cell-locking/index.txt b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/cell-settings/cell-locking/index.txt index 96d2968..00c9150 100644 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/cell-settings/cell-locking/index.txt +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/cell-settings/cell-locking/index.txt @@ -5,16 +5,16 @@ 5:I[81570,[],""] 6:I[62825,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","3048","static/chunks/3048-9766c902a7fac6d2.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7177","static/chunks/app/layout-ddd6481449252af3.js"],"Toaster"] 7:I[92907,[],"ClientSegmentRoot"] -8:I[63231,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","9464","static/chunks/9464-54895f8e78c474f0.js","9477","static/chunks/9477-4478381adb29cdff.js","564","static/chunks/564-bce78b0f1af68d0a.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","9873","static/chunks/9873-1f9f7420ad1929d8.js","6223","static/chunks/6223-985db5887dec3c8a.js","1954","static/chunks/app/dashboard/layout-e1e7681e45955939.js"],"default"] +8:I[63231,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","9464","static/chunks/9464-54895f8e78c474f0.js","9477","static/chunks/9477-4478381adb29cdff.js","564","static/chunks/564-bce78b0f1af68d0a.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","9873","static/chunks/9873-1f9f7420ad1929d8.js","6223","static/chunks/6223-985db5887dec3c8a.js","1954","static/chunks/app/dashboard/layout-7031c764ad5e7199.js"],"default"] a:I[83593,["9477","static/chunks/9477-4478381adb29cdff.js","347","static/chunks/app/dashboard/cell-settings/layout-3f8340fe1040b17c.js"],"default"] c:I[5329,[],"ClientPageRoot"] -d:I[87133,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","9464","static/chunks/9464-54895f8e78c474f0.js","3494","static/chunks/3494-d763154adf622bee.js","2487","static/chunks/2487-2291b9526b271231.js","1209","static/chunks/1209-6d7edd4420dc865e.js","5665","static/chunks/app/dashboard/cell-settings/cell-locking/page-8ef19f2a1c7eec6b.js"],"default"] +d:I[25621,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","9464","static/chunks/9464-54895f8e78c474f0.js","3494","static/chunks/3494-d763154adf622bee.js","2487","static/chunks/2487-2291b9526b271231.js","2266","static/chunks/2266-b5acaea1bac39ea4.js","5665","static/chunks/app/dashboard/cell-settings/cell-locking/page-2efaba6b348064d3.js"],"default"] 10:I[99165,[],"OutletBoundary"] 12:I[99165,[],"MetadataBoundary"] 14:I[99165,[],"ViewportBoundary"] 16:I[25339,[],""] -:HL["/_next/static/css/e519296cc38ae8e2.css","style"] -0:{"P":null,"b":"uRwx5ooNp2kzLYjnL-ESB","p":"","c":["","dashboard","cell-settings","cell-locking",""],"i":false,"f":[[["",{"children":["dashboard",{"children":["cell-settings",{"children":["cell-locking",{"children":["__PAGE__",{}]}]}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/e519296cc38ae8e2.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":["$","body",null,{"className":"antialiased __className_9dae3d","children":[["$","$L2",null,{"attribute":"class","defaultTheme":"system","enableSystem":true,"disableTransitionOnChange":true,"children":["$","$L3",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[],[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]}],["$","$L6",null,{}]]}]}]]}],{"children":["dashboard",["$","$1","c",{"children":[null,["$","$L7",null,{"Component":"$8","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]},"params":{},"promise":"$@9"}]]}],{"children":["cell-settings",["$","$1","c",{"children":[null,["$","$L7",null,{"Component":"$a","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children","cell-settings","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]},"params":"$0:f:0:1:2:children:1:props:children:1:props:params","promise":"$@b"}]]}],{"children":["cell-locking",["$","$1","c",{"children":[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children","cell-settings","children","cell-locking","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$Lc",null,{"Component":"$d","searchParams":{},"params":"$0:f:0:1:2:children:1:props:children:1:props:params","promises":["$@e","$@f"]}],null,["$","$L10",null,{"children":"$L11"}]]}],{},null,false]},null,false]},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,["$","$1","GGeT5jHfSSyT89ZPo7rIE",{"children":[["$","$L12",null,{"children":"$L13"}],["$","$L14",null,{"children":"$L15"}],null]}]]}],false]],"m":"$undefined","G":["$16","$undefined"],"s":false,"S":true} +:HL["/_next/static/css/b43dda0a8d427715.css","style"] +0:{"P":null,"b":"QktWtlsQL-2ss_eQyrSZD","p":"","c":["","dashboard","cell-settings","cell-locking",""],"i":false,"f":[[["",{"children":["dashboard",{"children":["cell-settings",{"children":["cell-locking",{"children":["__PAGE__",{}]}]}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/b43dda0a8d427715.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":["$","body",null,{"className":"antialiased __className_9dae3d","children":[["$","$L2",null,{"attribute":"class","defaultTheme":"system","enableSystem":true,"disableTransitionOnChange":true,"children":["$","$L3",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[],[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]}],["$","$L6",null,{}]]}]}]]}],{"children":["dashboard",["$","$1","c",{"children":[null,["$","$L7",null,{"Component":"$8","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]},"params":{},"promise":"$@9"}]]}],{"children":["cell-settings",["$","$1","c",{"children":[null,["$","$L7",null,{"Component":"$a","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children","cell-settings","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]},"params":"$0:f:0:1:2:children:1:props:children:1:props:params","promise":"$@b"}]]}],{"children":["cell-locking",["$","$1","c",{"children":[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children","cell-settings","children","cell-locking","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$Lc",null,{"Component":"$d","searchParams":{},"params":"$0:f:0:1:2:children:1:props:children:1:props:params","promises":["$@e","$@f"]}],null,["$","$L10",null,{"children":"$L11"}]]}],{},null,false]},null,false]},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,["$","$1","tyKbtFi1i4F5De9tR4Jnl",{"children":[["$","$L12",null,{"children":"$L13"}],["$","$L14",null,{"children":"$L15"}],null]}]]}],false]],"m":"$undefined","G":["$16","$undefined"],"s":false,"S":true} 9:{} b:{} e:{} diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/cell-settings/imei-mangling/index.html b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/cell-settings/imei-mangling/index.html index eb704ec..f343b7d 100644 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/cell-settings/imei-mangling/index.html +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/cell-settings/imei-mangling/index.html @@ -1 +1 @@ -QuecManager
                                                \ No newline at end of file +QuecManager
                                                  \ No newline at end of file diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/cell-settings/imei-mangling/index.txt b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/cell-settings/imei-mangling/index.txt index c8a9a53..7b3ec53 100644 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/cell-settings/imei-mangling/index.txt +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/cell-settings/imei-mangling/index.txt @@ -5,7 +5,7 @@ 5:I[81570,[],""] 6:I[62825,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","3048","static/chunks/3048-9766c902a7fac6d2.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7177","static/chunks/app/layout-ddd6481449252af3.js"],"Toaster"] 7:I[92907,[],"ClientSegmentRoot"] -8:I[63231,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","9464","static/chunks/9464-54895f8e78c474f0.js","9477","static/chunks/9477-4478381adb29cdff.js","564","static/chunks/564-bce78b0f1af68d0a.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","9873","static/chunks/9873-1f9f7420ad1929d8.js","6223","static/chunks/6223-985db5887dec3c8a.js","1954","static/chunks/app/dashboard/layout-e1e7681e45955939.js"],"default"] +8:I[63231,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","9464","static/chunks/9464-54895f8e78c474f0.js","9477","static/chunks/9477-4478381adb29cdff.js","564","static/chunks/564-bce78b0f1af68d0a.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","9873","static/chunks/9873-1f9f7420ad1929d8.js","6223","static/chunks/6223-985db5887dec3c8a.js","1954","static/chunks/app/dashboard/layout-7031c764ad5e7199.js"],"default"] a:I[83593,["9477","static/chunks/9477-4478381adb29cdff.js","347","static/chunks/app/dashboard/cell-settings/layout-3f8340fe1040b17c.js"],"default"] c:I[5329,[],"ClientPageRoot"] d:I[70231,["7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","3048","static/chunks/3048-9766c902a7fac6d2.js","8112","static/chunks/8112-8c3d22fe142f8630.js","9065","static/chunks/app/dashboard/cell-settings/imei-mangling/page-33deac144e9b54f3.js"],"default"] @@ -13,8 +13,8 @@ d:I[70231,["7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks 12:I[99165,[],"MetadataBoundary"] 14:I[99165,[],"ViewportBoundary"] 16:I[25339,[],""] -:HL["/_next/static/css/e519296cc38ae8e2.css","style"] -0:{"P":null,"b":"uRwx5ooNp2kzLYjnL-ESB","p":"","c":["","dashboard","cell-settings","imei-mangling",""],"i":false,"f":[[["",{"children":["dashboard",{"children":["cell-settings",{"children":["imei-mangling",{"children":["__PAGE__",{}]}]}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/e519296cc38ae8e2.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":["$","body",null,{"className":"antialiased __className_9dae3d","children":[["$","$L2",null,{"attribute":"class","defaultTheme":"system","enableSystem":true,"disableTransitionOnChange":true,"children":["$","$L3",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[],[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]}],["$","$L6",null,{}]]}]}]]}],{"children":["dashboard",["$","$1","c",{"children":[null,["$","$L7",null,{"Component":"$8","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]},"params":{},"promise":"$@9"}]]}],{"children":["cell-settings",["$","$1","c",{"children":[null,["$","$L7",null,{"Component":"$a","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children","cell-settings","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]},"params":"$0:f:0:1:2:children:1:props:children:1:props:params","promise":"$@b"}]]}],{"children":["imei-mangling",["$","$1","c",{"children":[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children","cell-settings","children","imei-mangling","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$Lc",null,{"Component":"$d","searchParams":{},"params":"$0:f:0:1:2:children:1:props:children:1:props:params","promises":["$@e","$@f"]}],null,["$","$L10",null,{"children":"$L11"}]]}],{},null,false]},null,false]},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,["$","$1","z28AIBDXc5Dnp3E6smdJq",{"children":[["$","$L12",null,{"children":"$L13"}],["$","$L14",null,{"children":"$L15"}],null]}]]}],false]],"m":"$undefined","G":["$16","$undefined"],"s":false,"S":true} +:HL["/_next/static/css/b43dda0a8d427715.css","style"] +0:{"P":null,"b":"QktWtlsQL-2ss_eQyrSZD","p":"","c":["","dashboard","cell-settings","imei-mangling",""],"i":false,"f":[[["",{"children":["dashboard",{"children":["cell-settings",{"children":["imei-mangling",{"children":["__PAGE__",{}]}]}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/b43dda0a8d427715.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":["$","body",null,{"className":"antialiased __className_9dae3d","children":[["$","$L2",null,{"attribute":"class","defaultTheme":"system","enableSystem":true,"disableTransitionOnChange":true,"children":["$","$L3",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[],[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]}],["$","$L6",null,{}]]}]}]]}],{"children":["dashboard",["$","$1","c",{"children":[null,["$","$L7",null,{"Component":"$8","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]},"params":{},"promise":"$@9"}]]}],{"children":["cell-settings",["$","$1","c",{"children":[null,["$","$L7",null,{"Component":"$a","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children","cell-settings","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]},"params":"$0:f:0:1:2:children:1:props:children:1:props:params","promise":"$@b"}]]}],{"children":["imei-mangling",["$","$1","c",{"children":[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children","cell-settings","children","imei-mangling","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$Lc",null,{"Component":"$d","searchParams":{},"params":"$0:f:0:1:2:children:1:props:children:1:props:params","promises":["$@e","$@f"]}],null,["$","$L10",null,{"children":"$L11"}]]}],{},null,false]},null,false]},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,["$","$1","J5-eEi2b8qF61ykV2Od8e",{"children":[["$","$L12",null,{"children":"$L13"}],["$","$L14",null,{"children":"$L15"}],null]}]]}],false]],"m":"$undefined","G":["$16","$undefined"],"s":false,"S":true} 9:{} b:{} e:{} diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/cell-settings/index.html b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/cell-settings/index.html index 92fde3c..2ed6224 100644 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/cell-settings/index.html +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/cell-settings/index.html @@ -1 +1 @@ -QuecManager
                                                    \ No newline at end of file +QuecManager
                                                      \ No newline at end of file diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/cell-settings/index.txt b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/cell-settings/index.txt index 86abce4..dadf6fc 100644 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/cell-settings/index.txt +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/cell-settings/index.txt @@ -5,15 +5,15 @@ 5:I[81570,[],""] 6:I[62825,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","3048","static/chunks/3048-9766c902a7fac6d2.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7177","static/chunks/app/layout-ddd6481449252af3.js"],"Toaster"] 7:I[92907,[],"ClientSegmentRoot"] -8:I[63231,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","9464","static/chunks/9464-54895f8e78c474f0.js","9477","static/chunks/9477-4478381adb29cdff.js","564","static/chunks/564-bce78b0f1af68d0a.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","9873","static/chunks/9873-1f9f7420ad1929d8.js","6223","static/chunks/6223-985db5887dec3c8a.js","1954","static/chunks/app/dashboard/layout-e1e7681e45955939.js"],"default"] +8:I[63231,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","9464","static/chunks/9464-54895f8e78c474f0.js","9477","static/chunks/9477-4478381adb29cdff.js","564","static/chunks/564-bce78b0f1af68d0a.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","9873","static/chunks/9873-1f9f7420ad1929d8.js","6223","static/chunks/6223-985db5887dec3c8a.js","1954","static/chunks/app/dashboard/layout-7031c764ad5e7199.js"],"default"] a:I[83593,["9477","static/chunks/9477-4478381adb29cdff.js","347","static/chunks/app/dashboard/cell-settings/layout-3f8340fe1040b17c.js"],"default"] -c:I[87133,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","9464","static/chunks/9464-54895f8e78c474f0.js","3494","static/chunks/3494-d763154adf622bee.js","2487","static/chunks/2487-2291b9526b271231.js","1209","static/chunks/1209-6d7edd4420dc865e.js","4808","static/chunks/app/dashboard/cell-settings/page-63a656aeea715dfb.js"],"default"] +c:I[25621,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","9464","static/chunks/9464-54895f8e78c474f0.js","3494","static/chunks/3494-d763154adf622bee.js","2487","static/chunks/2487-2291b9526b271231.js","2266","static/chunks/2266-b5acaea1bac39ea4.js","4808","static/chunks/app/dashboard/cell-settings/page-283fcf1b01289ed9.js"],"default"] d:I[99165,[],"OutletBoundary"] f:I[99165,[],"MetadataBoundary"] 11:I[99165,[],"ViewportBoundary"] 13:I[25339,[],""] -:HL["/_next/static/css/e519296cc38ae8e2.css","style"] -0:{"P":null,"b":"uRwx5ooNp2kzLYjnL-ESB","p":"","c":["","dashboard","cell-settings",""],"i":false,"f":[[["",{"children":["dashboard",{"children":["cell-settings",{"children":["__PAGE__",{}]}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/e519296cc38ae8e2.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":["$","body",null,{"className":"antialiased __className_9dae3d","children":[["$","$L2",null,{"attribute":"class","defaultTheme":"system","enableSystem":true,"disableTransitionOnChange":true,"children":["$","$L3",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[],[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]}],["$","$L6",null,{}]]}]}]]}],{"children":["dashboard",["$","$1","c",{"children":[null,["$","$L7",null,{"Component":"$8","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]},"params":{},"promise":"$@9"}]]}],{"children":["cell-settings",["$","$1","c",{"children":[null,["$","$L7",null,{"Component":"$a","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children","cell-settings","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]},"params":"$0:f:0:1:2:children:1:props:children:1:props:params","promise":"$@b"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$Lc",null,{}],null,["$","$Ld",null,{"children":"$Le"}]]}],{},null,false]},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,["$","$1","hnekpwDkgr-LSNsIYlTzo",{"children":[["$","$Lf",null,{"children":"$L10"}],["$","$L11",null,{"children":"$L12"}],null]}]]}],false]],"m":"$undefined","G":["$13","$undefined"],"s":false,"S":true} +:HL["/_next/static/css/b43dda0a8d427715.css","style"] +0:{"P":null,"b":"QktWtlsQL-2ss_eQyrSZD","p":"","c":["","dashboard","cell-settings",""],"i":false,"f":[[["",{"children":["dashboard",{"children":["cell-settings",{"children":["__PAGE__",{}]}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/b43dda0a8d427715.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":["$","body",null,{"className":"antialiased __className_9dae3d","children":[["$","$L2",null,{"attribute":"class","defaultTheme":"system","enableSystem":true,"disableTransitionOnChange":true,"children":["$","$L3",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[],[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]}],["$","$L6",null,{}]]}]}]]}],{"children":["dashboard",["$","$1","c",{"children":[null,["$","$L7",null,{"Component":"$8","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]},"params":{},"promise":"$@9"}]]}],{"children":["cell-settings",["$","$1","c",{"children":[null,["$","$L7",null,{"Component":"$a","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children","cell-settings","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]},"params":"$0:f:0:1:2:children:1:props:children:1:props:params","promise":"$@b"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$Lc",null,{}],null,["$","$Ld",null,{"children":"$Le"}]]}],{},null,false]},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,["$","$1","xhhd3D3e5d_LJ1twY4zD9",{"children":[["$","$Lf",null,{"children":"$L10"}],["$","$L11",null,{"children":"$L12"}],null]}]]}],false]],"m":"$undefined","G":["$13","$undefined"],"s":false,"S":true} 9:{} b:{} 12:[["$","meta","0",{"name":"viewport","content":"width=device-width, initial-scale=1"}]] diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/cell-settings/sms/index.html b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/cell-settings/sms/index.html index d1693c0..16b95fe 100644 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/cell-settings/sms/index.html +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/cell-settings/sms/index.html @@ -1 +1 @@ -QuecManager
                                                        \ No newline at end of file +QuecManager
                                                          \ No newline at end of file diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/cell-settings/sms/index.txt b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/cell-settings/sms/index.txt index f5a33c2..33897e1 100644 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/cell-settings/sms/index.txt +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/cell-settings/sms/index.txt @@ -5,16 +5,16 @@ 5:I[81570,[],""] 6:I[62825,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","3048","static/chunks/3048-9766c902a7fac6d2.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7177","static/chunks/app/layout-ddd6481449252af3.js"],"Toaster"] 7:I[92907,[],"ClientSegmentRoot"] -8:I[63231,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","9464","static/chunks/9464-54895f8e78c474f0.js","9477","static/chunks/9477-4478381adb29cdff.js","564","static/chunks/564-bce78b0f1af68d0a.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","9873","static/chunks/9873-1f9f7420ad1929d8.js","6223","static/chunks/6223-985db5887dec3c8a.js","1954","static/chunks/app/dashboard/layout-e1e7681e45955939.js"],"default"] +8:I[63231,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","9464","static/chunks/9464-54895f8e78c474f0.js","9477","static/chunks/9477-4478381adb29cdff.js","564","static/chunks/564-bce78b0f1af68d0a.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","9873","static/chunks/9873-1f9f7420ad1929d8.js","6223","static/chunks/6223-985db5887dec3c8a.js","1954","static/chunks/app/dashboard/layout-7031c764ad5e7199.js"],"default"] a:I[83593,["9477","static/chunks/9477-4478381adb29cdff.js","347","static/chunks/app/dashboard/cell-settings/layout-3f8340fe1040b17c.js"],"default"] c:I[5329,[],"ClientPageRoot"] -d:I[91557,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","1217","static/chunks/0d696766-f8433f3082fb824f.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","9464","static/chunks/9464-54895f8e78c474f0.js","467","static/chunks/467-150cb05a6a0d0e15.js","7510","static/chunks/7510-b5c5a53e21a04c67.js","9951","static/chunks/9951-9fd38181d65049b0.js","3358","static/chunks/app/dashboard/cell-settings/sms/page-4b89264bd37ab145.js"],"default"] +d:I[91557,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","1217","static/chunks/0d696766-f8433f3082fb824f.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","9464","static/chunks/9464-54895f8e78c474f0.js","9679","static/chunks/9679-02a7013bb86edb7d.js","7510","static/chunks/7510-b5c5a53e21a04c67.js","3478","static/chunks/3478-5bb461f5e48a9302.js","3358","static/chunks/app/dashboard/cell-settings/sms/page-06f7d4987dbbe415.js"],"default"] 10:I[99165,[],"OutletBoundary"] 12:I[99165,[],"MetadataBoundary"] 14:I[99165,[],"ViewportBoundary"] 16:I[25339,[],""] -:HL["/_next/static/css/e519296cc38ae8e2.css","style"] -0:{"P":null,"b":"uRwx5ooNp2kzLYjnL-ESB","p":"","c":["","dashboard","cell-settings","sms",""],"i":false,"f":[[["",{"children":["dashboard",{"children":["cell-settings",{"children":["sms",{"children":["__PAGE__",{}]}]}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/e519296cc38ae8e2.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":["$","body",null,{"className":"antialiased __className_9dae3d","children":[["$","$L2",null,{"attribute":"class","defaultTheme":"system","enableSystem":true,"disableTransitionOnChange":true,"children":["$","$L3",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[],[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]}],["$","$L6",null,{}]]}]}]]}],{"children":["dashboard",["$","$1","c",{"children":[null,["$","$L7",null,{"Component":"$8","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]},"params":{},"promise":"$@9"}]]}],{"children":["cell-settings",["$","$1","c",{"children":[null,["$","$L7",null,{"Component":"$a","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children","cell-settings","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]},"params":"$0:f:0:1:2:children:1:props:children:1:props:params","promise":"$@b"}]]}],{"children":["sms",["$","$1","c",{"children":[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children","cell-settings","children","sms","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$Lc",null,{"Component":"$d","searchParams":{},"params":"$0:f:0:1:2:children:1:props:children:1:props:params","promises":["$@e","$@f"]}],null,["$","$L10",null,{"children":"$L11"}]]}],{},null,false]},null,false]},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,["$","$1","6XMhbkkNL7iIGS3bb7keL",{"children":[["$","$L12",null,{"children":"$L13"}],["$","$L14",null,{"children":"$L15"}],null]}]]}],false]],"m":"$undefined","G":["$16","$undefined"],"s":false,"S":true} +:HL["/_next/static/css/b43dda0a8d427715.css","style"] +0:{"P":null,"b":"QktWtlsQL-2ss_eQyrSZD","p":"","c":["","dashboard","cell-settings","sms",""],"i":false,"f":[[["",{"children":["dashboard",{"children":["cell-settings",{"children":["sms",{"children":["__PAGE__",{}]}]}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/b43dda0a8d427715.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":["$","body",null,{"className":"antialiased __className_9dae3d","children":[["$","$L2",null,{"attribute":"class","defaultTheme":"system","enableSystem":true,"disableTransitionOnChange":true,"children":["$","$L3",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[],[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]}],["$","$L6",null,{}]]}]}]]}],{"children":["dashboard",["$","$1","c",{"children":[null,["$","$L7",null,{"Component":"$8","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]},"params":{},"promise":"$@9"}]]}],{"children":["cell-settings",["$","$1","c",{"children":[null,["$","$L7",null,{"Component":"$a","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children","cell-settings","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]},"params":"$0:f:0:1:2:children:1:props:children:1:props:params","promise":"$@b"}]]}],{"children":["sms",["$","$1","c",{"children":[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children","cell-settings","children","sms","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$Lc",null,{"Component":"$d","searchParams":{},"params":"$0:f:0:1:2:children:1:props:children:1:props:params","promises":["$@e","$@f"]}],null,["$","$L10",null,{"children":"$L11"}]]}],{},null,false]},null,false]},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,["$","$1","8zI1duZLA2dcAYoMEdOBS",{"children":[["$","$L12",null,{"children":"$L13"}],["$","$L14",null,{"children":"$L15"}],null]}]]}],false]],"m":"$undefined","G":["$16","$undefined"],"s":false,"S":true} 9:{} b:{} e:{} diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/custom-features/cell-scanner/index.html b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/custom-features/cell-scanner/index.html index 951cc09..6ca34f4 100644 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/custom-features/cell-scanner/index.html +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/custom-features/cell-scanner/index.html @@ -1 +1 @@ -QuecManager
                                                            \ No newline at end of file +QuecManager
                                                              \ No newline at end of file diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/custom-features/cell-scanner/index.txt b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/custom-features/cell-scanner/index.txt index 70cdd05..290124b 100644 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/custom-features/cell-scanner/index.txt +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/custom-features/cell-scanner/index.txt @@ -5,16 +5,16 @@ 5:I[81570,[],""] 6:I[62825,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","3048","static/chunks/3048-9766c902a7fac6d2.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7177","static/chunks/app/layout-ddd6481449252af3.js"],"Toaster"] 7:I[92907,[],"ClientSegmentRoot"] -8:I[63231,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","9464","static/chunks/9464-54895f8e78c474f0.js","9477","static/chunks/9477-4478381adb29cdff.js","564","static/chunks/564-bce78b0f1af68d0a.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","9873","static/chunks/9873-1f9f7420ad1929d8.js","6223","static/chunks/6223-985db5887dec3c8a.js","1954","static/chunks/app/dashboard/layout-e1e7681e45955939.js"],"default"] -a:I[14938,["9477","static/chunks/9477-4478381adb29cdff.js","8248","static/chunks/app/dashboard/custom-features/layout-8acecbbd9a820475.js"],"default"] +8:I[63231,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","9464","static/chunks/9464-54895f8e78c474f0.js","9477","static/chunks/9477-4478381adb29cdff.js","564","static/chunks/564-bce78b0f1af68d0a.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","9873","static/chunks/9873-1f9f7420ad1929d8.js","6223","static/chunks/6223-985db5887dec3c8a.js","1954","static/chunks/app/dashboard/layout-7031c764ad5e7199.js"],"default"] +a:I[14938,["9477","static/chunks/9477-4478381adb29cdff.js","8248","static/chunks/app/dashboard/custom-features/layout-e39a026cb4bba80e.js"],"default"] c:I[5329,[],"ClientPageRoot"] -d:I[12005,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","2101","static/chunks/b1b46485-5c61721f784038c7.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","3048","static/chunks/3048-9766c902a7fac6d2.js","467","static/chunks/467-150cb05a6a0d0e15.js","3095","static/chunks/3095-9939ca94522133b1.js","3453","static/chunks/3453-1e7922659f5b386a.js","5668","static/chunks/5668-55d6f43ee8c71ac2.js","8627","static/chunks/app/dashboard/custom-features/cell-scanner/page-dbf6dbe438b0ff9a.js"],"default"] +d:I[12005,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","2101","static/chunks/b1b46485-5c61721f784038c7.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","3048","static/chunks/3048-9766c902a7fac6d2.js","9679","static/chunks/9679-02a7013bb86edb7d.js","3095","static/chunks/3095-9b41897dca47b121.js","3453","static/chunks/3453-f2ce347605b90abe.js","2908","static/chunks/2908-257e27d7e62b1ccf.js","8627","static/chunks/app/dashboard/custom-features/cell-scanner/page-6ef00860eb7e9c78.js"],"default"] 10:I[99165,[],"OutletBoundary"] 12:I[99165,[],"MetadataBoundary"] 14:I[99165,[],"ViewportBoundary"] 16:I[25339,[],""] -:HL["/_next/static/css/e519296cc38ae8e2.css","style"] -0:{"P":null,"b":"uRwx5ooNp2kzLYjnL-ESB","p":"","c":["","dashboard","custom-features","cell-scanner",""],"i":false,"f":[[["",{"children":["dashboard",{"children":["custom-features",{"children":["cell-scanner",{"children":["__PAGE__",{}]}]}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/e519296cc38ae8e2.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":["$","body",null,{"className":"antialiased __className_9dae3d","children":[["$","$L2",null,{"attribute":"class","defaultTheme":"system","enableSystem":true,"disableTransitionOnChange":true,"children":["$","$L3",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[],[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]}],["$","$L6",null,{}]]}]}]]}],{"children":["dashboard",["$","$1","c",{"children":[null,["$","$L7",null,{"Component":"$8","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]},"params":{},"promise":"$@9"}]]}],{"children":["custom-features",["$","$1","c",{"children":[null,["$","$L7",null,{"Component":"$a","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children","custom-features","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]},"params":"$0:f:0:1:2:children:1:props:children:1:props:params","promise":"$@b"}]]}],{"children":["cell-scanner",["$","$1","c",{"children":[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children","custom-features","children","cell-scanner","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$Lc",null,{"Component":"$d","searchParams":{},"params":"$0:f:0:1:2:children:1:props:children:1:props:params","promises":["$@e","$@f"]}],null,["$","$L10",null,{"children":"$L11"}]]}],{},null,false]},null,false]},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,["$","$1","0mCFTshDMmHLsvpk4FXR5",{"children":[["$","$L12",null,{"children":"$L13"}],["$","$L14",null,{"children":"$L15"}],null]}]]}],false]],"m":"$undefined","G":["$16","$undefined"],"s":false,"S":true} +:HL["/_next/static/css/b43dda0a8d427715.css","style"] +0:{"P":null,"b":"QktWtlsQL-2ss_eQyrSZD","p":"","c":["","dashboard","custom-features","cell-scanner",""],"i":false,"f":[[["",{"children":["dashboard",{"children":["custom-features",{"children":["cell-scanner",{"children":["__PAGE__",{}]}]}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/b43dda0a8d427715.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":["$","body",null,{"className":"antialiased __className_9dae3d","children":[["$","$L2",null,{"attribute":"class","defaultTheme":"system","enableSystem":true,"disableTransitionOnChange":true,"children":["$","$L3",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[],[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]}],["$","$L6",null,{}]]}]}]]}],{"children":["dashboard",["$","$1","c",{"children":[null,["$","$L7",null,{"Component":"$8","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]},"params":{},"promise":"$@9"}]]}],{"children":["custom-features",["$","$1","c",{"children":[null,["$","$L7",null,{"Component":"$a","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children","custom-features","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]},"params":"$0:f:0:1:2:children:1:props:children:1:props:params","promise":"$@b"}]]}],{"children":["cell-scanner",["$","$1","c",{"children":[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children","custom-features","children","cell-scanner","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$Lc",null,{"Component":"$d","searchParams":{},"params":"$0:f:0:1:2:children:1:props:children:1:props:params","promises":["$@e","$@f"]}],null,["$","$L10",null,{"children":"$L11"}]]}],{},null,false]},null,false]},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,["$","$1","Zgk6fzzc5XZPSn4bK8urg",{"children":[["$","$L12",null,{"children":"$L13"}],["$","$L14",null,{"children":"$L15"}],null]}]]}],false]],"m":"$undefined","G":["$16","$undefined"],"s":false,"S":true} 9:{} b:{} e:{} diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/custom-features/frequency-calculator/index.html b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/custom-features/frequency-calculator/index.html index 088f321..e4bfcc7 100644 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/custom-features/frequency-calculator/index.html +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/custom-features/frequency-calculator/index.html @@ -1 +1 @@ -QuecManager
                                                                \ No newline at end of file +QuecManager
                                                                  \ No newline at end of file diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/custom-features/frequency-calculator/index.txt b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/custom-features/frequency-calculator/index.txt index 06366fb..c99355f 100644 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/custom-features/frequency-calculator/index.txt +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/custom-features/frequency-calculator/index.txt @@ -5,16 +5,16 @@ 5:I[81570,[],""] 6:I[62825,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","3048","static/chunks/3048-9766c902a7fac6d2.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7177","static/chunks/app/layout-ddd6481449252af3.js"],"Toaster"] 7:I[92907,[],"ClientSegmentRoot"] -8:I[63231,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","9464","static/chunks/9464-54895f8e78c474f0.js","9477","static/chunks/9477-4478381adb29cdff.js","564","static/chunks/564-bce78b0f1af68d0a.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","9873","static/chunks/9873-1f9f7420ad1929d8.js","6223","static/chunks/6223-985db5887dec3c8a.js","1954","static/chunks/app/dashboard/layout-e1e7681e45955939.js"],"default"] -a:I[14938,["9477","static/chunks/9477-4478381adb29cdff.js","8248","static/chunks/app/dashboard/custom-features/layout-8acecbbd9a820475.js"],"default"] +8:I[63231,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","9464","static/chunks/9464-54895f8e78c474f0.js","9477","static/chunks/9477-4478381adb29cdff.js","564","static/chunks/564-bce78b0f1af68d0a.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","9873","static/chunks/9873-1f9f7420ad1929d8.js","6223","static/chunks/6223-985db5887dec3c8a.js","1954","static/chunks/app/dashboard/layout-7031c764ad5e7199.js"],"default"] +a:I[14938,["9477","static/chunks/9477-4478381adb29cdff.js","8248","static/chunks/app/dashboard/custom-features/layout-e39a026cb4bba80e.js"],"default"] c:I[5329,[],"ClientPageRoot"] -d:I[42503,["7780","static/chunks/7780-f325b2d7864a75f9.js","3453","static/chunks/3453-1e7922659f5b386a.js","5755","static/chunks/5755-a5bfdac2a1c07373.js","6617","static/chunks/app/dashboard/custom-features/frequency-calculator/page-b5121ca09bdae69d.js"],"default"] +d:I[42503,["7780","static/chunks/7780-f325b2d7864a75f9.js","3453","static/chunks/3453-f2ce347605b90abe.js","4130","static/chunks/4130-a889053c10e5e2c2.js","6617","static/chunks/app/dashboard/custom-features/frequency-calculator/page-48ab40a8390ddc8a.js"],"default"] 10:I[99165,[],"OutletBoundary"] 12:I[99165,[],"MetadataBoundary"] 14:I[99165,[],"ViewportBoundary"] 16:I[25339,[],""] -:HL["/_next/static/css/e519296cc38ae8e2.css","style"] -0:{"P":null,"b":"uRwx5ooNp2kzLYjnL-ESB","p":"","c":["","dashboard","custom-features","frequency-calculator",""],"i":false,"f":[[["",{"children":["dashboard",{"children":["custom-features",{"children":["frequency-calculator",{"children":["__PAGE__",{}]}]}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/e519296cc38ae8e2.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":["$","body",null,{"className":"antialiased __className_9dae3d","children":[["$","$L2",null,{"attribute":"class","defaultTheme":"system","enableSystem":true,"disableTransitionOnChange":true,"children":["$","$L3",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[],[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]}],["$","$L6",null,{}]]}]}]]}],{"children":["dashboard",["$","$1","c",{"children":[null,["$","$L7",null,{"Component":"$8","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]},"params":{},"promise":"$@9"}]]}],{"children":["custom-features",["$","$1","c",{"children":[null,["$","$L7",null,{"Component":"$a","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children","custom-features","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]},"params":"$0:f:0:1:2:children:1:props:children:1:props:params","promise":"$@b"}]]}],{"children":["frequency-calculator",["$","$1","c",{"children":[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children","custom-features","children","frequency-calculator","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$Lc",null,{"Component":"$d","searchParams":{},"params":"$0:f:0:1:2:children:1:props:children:1:props:params","promises":["$@e","$@f"]}],null,["$","$L10",null,{"children":"$L11"}]]}],{},null,false]},null,false]},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,["$","$1","xyNReHGkQlFaeKo8HfNIg",{"children":[["$","$L12",null,{"children":"$L13"}],["$","$L14",null,{"children":"$L15"}],null]}]]}],false]],"m":"$undefined","G":["$16","$undefined"],"s":false,"S":true} +:HL["/_next/static/css/b43dda0a8d427715.css","style"] +0:{"P":null,"b":"QktWtlsQL-2ss_eQyrSZD","p":"","c":["","dashboard","custom-features","frequency-calculator",""],"i":false,"f":[[["",{"children":["dashboard",{"children":["custom-features",{"children":["frequency-calculator",{"children":["__PAGE__",{}]}]}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/b43dda0a8d427715.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":["$","body",null,{"className":"antialiased __className_9dae3d","children":[["$","$L2",null,{"attribute":"class","defaultTheme":"system","enableSystem":true,"disableTransitionOnChange":true,"children":["$","$L3",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[],[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]}],["$","$L6",null,{}]]}]}]]}],{"children":["dashboard",["$","$1","c",{"children":[null,["$","$L7",null,{"Component":"$8","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]},"params":{},"promise":"$@9"}]]}],{"children":["custom-features",["$","$1","c",{"children":[null,["$","$L7",null,{"Component":"$a","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children","custom-features","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]},"params":"$0:f:0:1:2:children:1:props:children:1:props:params","promise":"$@b"}]]}],{"children":["frequency-calculator",["$","$1","c",{"children":[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children","custom-features","children","frequency-calculator","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$Lc",null,{"Component":"$d","searchParams":{},"params":"$0:f:0:1:2:children:1:props:children:1:props:params","promises":["$@e","$@f"]}],null,["$","$L10",null,{"children":"$L11"}]]}],{},null,false]},null,false]},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,["$","$1","nFgFTvaD4K88jvnzTg9-I",{"children":[["$","$L12",null,{"children":"$L13"}],["$","$L14",null,{"children":"$L15"}],null]}]]}],false]],"m":"$undefined","G":["$16","$undefined"],"s":false,"S":true} 9:{} b:{} e:{} diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/custom-features/index.html b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/custom-features/index.html index c387864..1176d9d 100644 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/custom-features/index.html +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/custom-features/index.html @@ -1 +1 @@ -QuecManager
                                                                    \ No newline at end of file +QuecManager
                                                                      \ No newline at end of file diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/custom-features/index.txt b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/custom-features/index.txt index ffa0771..2bac959 100644 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/custom-features/index.txt +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/custom-features/index.txt @@ -5,15 +5,15 @@ 5:I[81570,[],""] 6:I[62825,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","3048","static/chunks/3048-9766c902a7fac6d2.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7177","static/chunks/app/layout-ddd6481449252af3.js"],"Toaster"] 7:I[92907,[],"ClientSegmentRoot"] -8:I[63231,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","9464","static/chunks/9464-54895f8e78c474f0.js","9477","static/chunks/9477-4478381adb29cdff.js","564","static/chunks/564-bce78b0f1af68d0a.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","9873","static/chunks/9873-1f9f7420ad1929d8.js","6223","static/chunks/6223-985db5887dec3c8a.js","1954","static/chunks/app/dashboard/layout-e1e7681e45955939.js"],"default"] -a:I[14938,["9477","static/chunks/9477-4478381adb29cdff.js","8248","static/chunks/app/dashboard/custom-features/layout-8acecbbd9a820475.js"],"default"] +8:I[63231,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","9464","static/chunks/9464-54895f8e78c474f0.js","9477","static/chunks/9477-4478381adb29cdff.js","564","static/chunks/564-bce78b0f1af68d0a.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","9873","static/chunks/9873-1f9f7420ad1929d8.js","6223","static/chunks/6223-985db5887dec3c8a.js","1954","static/chunks/app/dashboard/layout-7031c764ad5e7199.js"],"default"] +a:I[14938,["9477","static/chunks/9477-4478381adb29cdff.js","8248","static/chunks/app/dashboard/custom-features/layout-e39a026cb4bba80e.js"],"default"] c:I[31917,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","9464","static/chunks/9464-54895f8e78c474f0.js","3494","static/chunks/3494-d763154adf622bee.js","3048","static/chunks/3048-9766c902a7fac6d2.js","1917","static/chunks/1917-492469897920cd7a.js","2687","static/chunks/app/dashboard/custom-features/page-f0cc4af8f7da5913.js"],"default"] d:I[99165,[],"OutletBoundary"] f:I[99165,[],"MetadataBoundary"] 11:I[99165,[],"ViewportBoundary"] 13:I[25339,[],""] -:HL["/_next/static/css/e519296cc38ae8e2.css","style"] -0:{"P":null,"b":"uRwx5ooNp2kzLYjnL-ESB","p":"","c":["","dashboard","custom-features",""],"i":false,"f":[[["",{"children":["dashboard",{"children":["custom-features",{"children":["__PAGE__",{}]}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/e519296cc38ae8e2.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":["$","body",null,{"className":"antialiased __className_9dae3d","children":[["$","$L2",null,{"attribute":"class","defaultTheme":"system","enableSystem":true,"disableTransitionOnChange":true,"children":["$","$L3",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[],[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]}],["$","$L6",null,{}]]}]}]]}],{"children":["dashboard",["$","$1","c",{"children":[null,["$","$L7",null,{"Component":"$8","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]},"params":{},"promise":"$@9"}]]}],{"children":["custom-features",["$","$1","c",{"children":[null,["$","$L7",null,{"Component":"$a","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children","custom-features","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]},"params":"$0:f:0:1:2:children:1:props:children:1:props:params","promise":"$@b"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$Lc",null,{}],null,["$","$Ld",null,{"children":"$Le"}]]}],{},null,false]},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,["$","$1","Bxdz6VboEpa4wArM0kTOW",{"children":[["$","$Lf",null,{"children":"$L10"}],["$","$L11",null,{"children":"$L12"}],null]}]]}],false]],"m":"$undefined","G":["$13","$undefined"],"s":false,"S":true} +:HL["/_next/static/css/b43dda0a8d427715.css","style"] +0:{"P":null,"b":"QktWtlsQL-2ss_eQyrSZD","p":"","c":["","dashboard","custom-features",""],"i":false,"f":[[["",{"children":["dashboard",{"children":["custom-features",{"children":["__PAGE__",{}]}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/b43dda0a8d427715.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":["$","body",null,{"className":"antialiased __className_9dae3d","children":[["$","$L2",null,{"attribute":"class","defaultTheme":"system","enableSystem":true,"disableTransitionOnChange":true,"children":["$","$L3",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[],[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]}],["$","$L6",null,{}]]}]}]]}],{"children":["dashboard",["$","$1","c",{"children":[null,["$","$L7",null,{"Component":"$8","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]},"params":{},"promise":"$@9"}]]}],{"children":["custom-features",["$","$1","c",{"children":[null,["$","$L7",null,{"Component":"$a","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children","custom-features","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]},"params":"$0:f:0:1:2:children:1:props:children:1:props:params","promise":"$@b"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$Lc",null,{}],null,["$","$Ld",null,{"children":"$Le"}]]}],{},null,false]},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,["$","$1","8cf6ut-ZfoJfL_sGUvW1y",{"children":[["$","$Lf",null,{"children":"$L10"}],["$","$L11",null,{"children":"$L12"}],null]}]]}],false]],"m":"$undefined","G":["$13","$undefined"],"s":false,"S":true} 9:{} b:{} 12:[["$","meta","0",{"name":"viewport","content":"width=device-width, initial-scale=1"}]] diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/custom-features/quecprofiles/index.html b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/custom-features/quecprofiles/index.html index e21563b..198f833 100644 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/custom-features/quecprofiles/index.html +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/custom-features/quecprofiles/index.html @@ -1 +1 @@ -QuecManager
                                                                        \ No newline at end of file +QuecManager
                                                                          \ No newline at end of file diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/custom-features/quecprofiles/index.txt b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/custom-features/quecprofiles/index.txt index 21fd499..80053fb 100644 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/custom-features/quecprofiles/index.txt +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/custom-features/quecprofiles/index.txt @@ -5,16 +5,16 @@ 5:I[81570,[],""] 6:I[62825,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","3048","static/chunks/3048-9766c902a7fac6d2.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7177","static/chunks/app/layout-ddd6481449252af3.js"],"Toaster"] 7:I[92907,[],"ClientSegmentRoot"] -8:I[63231,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","9464","static/chunks/9464-54895f8e78c474f0.js","9477","static/chunks/9477-4478381adb29cdff.js","564","static/chunks/564-bce78b0f1af68d0a.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","9873","static/chunks/9873-1f9f7420ad1929d8.js","6223","static/chunks/6223-985db5887dec3c8a.js","1954","static/chunks/app/dashboard/layout-e1e7681e45955939.js"],"default"] -a:I[14938,["9477","static/chunks/9477-4478381adb29cdff.js","8248","static/chunks/app/dashboard/custom-features/layout-8acecbbd9a820475.js"],"default"] +8:I[63231,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","9464","static/chunks/9464-54895f8e78c474f0.js","9477","static/chunks/9477-4478381adb29cdff.js","564","static/chunks/564-bce78b0f1af68d0a.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","9873","static/chunks/9873-1f9f7420ad1929d8.js","6223","static/chunks/6223-985db5887dec3c8a.js","1954","static/chunks/app/dashboard/layout-7031c764ad5e7199.js"],"default"] +a:I[14938,["9477","static/chunks/9477-4478381adb29cdff.js","8248","static/chunks/app/dashboard/custom-features/layout-e39a026cb4bba80e.js"],"default"] c:I[5329,[],"ClientPageRoot"] d:I[70687,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","9464","static/chunks/9464-54895f8e78c474f0.js","3494","static/chunks/3494-d763154adf622bee.js","7510","static/chunks/7510-b5c5a53e21a04c67.js","2487","static/chunks/2487-2291b9526b271231.js","4840","static/chunks/app/dashboard/custom-features/quecprofiles/page-d59ebb43236e12fb.js"],"default"] 10:I[99165,[],"OutletBoundary"] 12:I[99165,[],"MetadataBoundary"] 14:I[99165,[],"ViewportBoundary"] 16:I[25339,[],""] -:HL["/_next/static/css/e519296cc38ae8e2.css","style"] -0:{"P":null,"b":"uRwx5ooNp2kzLYjnL-ESB","p":"","c":["","dashboard","custom-features","quecprofiles",""],"i":false,"f":[[["",{"children":["dashboard",{"children":["custom-features",{"children":["quecprofiles",{"children":["__PAGE__",{}]}]}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/e519296cc38ae8e2.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":["$","body",null,{"className":"antialiased __className_9dae3d","children":[["$","$L2",null,{"attribute":"class","defaultTheme":"system","enableSystem":true,"disableTransitionOnChange":true,"children":["$","$L3",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[],[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]}],["$","$L6",null,{}]]}]}]]}],{"children":["dashboard",["$","$1","c",{"children":[null,["$","$L7",null,{"Component":"$8","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]},"params":{},"promise":"$@9"}]]}],{"children":["custom-features",["$","$1","c",{"children":[null,["$","$L7",null,{"Component":"$a","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children","custom-features","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]},"params":"$0:f:0:1:2:children:1:props:children:1:props:params","promise":"$@b"}]]}],{"children":["quecprofiles",["$","$1","c",{"children":[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children","custom-features","children","quecprofiles","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$Lc",null,{"Component":"$d","searchParams":{},"params":"$0:f:0:1:2:children:1:props:children:1:props:params","promises":["$@e","$@f"]}],null,["$","$L10",null,{"children":"$L11"}]]}],{},null,false]},null,false]},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,["$","$1","EnLS9nLgdQppGsxLuYYvg",{"children":[["$","$L12",null,{"children":"$L13"}],["$","$L14",null,{"children":"$L15"}],null]}]]}],false]],"m":"$undefined","G":["$16","$undefined"],"s":false,"S":true} +:HL["/_next/static/css/b43dda0a8d427715.css","style"] +0:{"P":null,"b":"QktWtlsQL-2ss_eQyrSZD","p":"","c":["","dashboard","custom-features","quecprofiles",""],"i":false,"f":[[["",{"children":["dashboard",{"children":["custom-features",{"children":["quecprofiles",{"children":["__PAGE__",{}]}]}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/b43dda0a8d427715.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":["$","body",null,{"className":"antialiased __className_9dae3d","children":[["$","$L2",null,{"attribute":"class","defaultTheme":"system","enableSystem":true,"disableTransitionOnChange":true,"children":["$","$L3",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[],[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]}],["$","$L6",null,{}]]}]}]]}],{"children":["dashboard",["$","$1","c",{"children":[null,["$","$L7",null,{"Component":"$8","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]},"params":{},"promise":"$@9"}]]}],{"children":["custom-features",["$","$1","c",{"children":[null,["$","$L7",null,{"Component":"$a","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children","custom-features","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]},"params":"$0:f:0:1:2:children:1:props:children:1:props:params","promise":"$@b"}]]}],{"children":["quecprofiles",["$","$1","c",{"children":[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children","custom-features","children","quecprofiles","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$Lc",null,{"Component":"$d","searchParams":{},"params":"$0:f:0:1:2:children:1:props:children:1:props:params","promises":["$@e","$@f"]}],null,["$","$L10",null,{"children":"$L11"}]]}],{},null,false]},null,false]},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,["$","$1","4OV_kI_CVyQSSfMsn0xHq",{"children":[["$","$L12",null,{"children":"$L13"}],["$","$L14",null,{"children":"$L15"}],null]}]]}],false]],"m":"$undefined","G":["$16","$undefined"],"s":false,"S":true} 9:{} b:{} e:{} diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/custom-features/quecwatch/index.html b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/custom-features/quecwatch/index.html index 67f733d..312f1c6 100644 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/custom-features/quecwatch/index.html +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/custom-features/quecwatch/index.html @@ -1 +1 @@ -QuecManager
                                                                            \ No newline at end of file +QuecManager
                                                                              \ No newline at end of file diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/custom-features/quecwatch/index.txt b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/custom-features/quecwatch/index.txt index 0bccb18..c937531 100644 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/custom-features/quecwatch/index.txt +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/custom-features/quecwatch/index.txt @@ -5,16 +5,16 @@ 5:I[81570,[],""] 6:I[62825,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","3048","static/chunks/3048-9766c902a7fac6d2.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7177","static/chunks/app/layout-ddd6481449252af3.js"],"Toaster"] 7:I[92907,[],"ClientSegmentRoot"] -8:I[63231,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","9464","static/chunks/9464-54895f8e78c474f0.js","9477","static/chunks/9477-4478381adb29cdff.js","564","static/chunks/564-bce78b0f1af68d0a.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","9873","static/chunks/9873-1f9f7420ad1929d8.js","6223","static/chunks/6223-985db5887dec3c8a.js","1954","static/chunks/app/dashboard/layout-e1e7681e45955939.js"],"default"] -a:I[14938,["9477","static/chunks/9477-4478381adb29cdff.js","8248","static/chunks/app/dashboard/custom-features/layout-8acecbbd9a820475.js"],"default"] +8:I[63231,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","9464","static/chunks/9464-54895f8e78c474f0.js","9477","static/chunks/9477-4478381adb29cdff.js","564","static/chunks/564-bce78b0f1af68d0a.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","9873","static/chunks/9873-1f9f7420ad1929d8.js","6223","static/chunks/6223-985db5887dec3c8a.js","1954","static/chunks/app/dashboard/layout-7031c764ad5e7199.js"],"default"] +a:I[14938,["9477","static/chunks/9477-4478381adb29cdff.js","8248","static/chunks/app/dashboard/custom-features/layout-e39a026cb4bba80e.js"],"default"] c:I[5329,[],"ClientPageRoot"] d:I[31917,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","9464","static/chunks/9464-54895f8e78c474f0.js","3494","static/chunks/3494-d763154adf622bee.js","3048","static/chunks/3048-9766c902a7fac6d2.js","1917","static/chunks/1917-492469897920cd7a.js","8321","static/chunks/app/dashboard/custom-features/quecwatch/page-f94826760ec28458.js"],"default"] 10:I[99165,[],"OutletBoundary"] 12:I[99165,[],"MetadataBoundary"] 14:I[99165,[],"ViewportBoundary"] 16:I[25339,[],""] -:HL["/_next/static/css/e519296cc38ae8e2.css","style"] -0:{"P":null,"b":"uRwx5ooNp2kzLYjnL-ESB","p":"","c":["","dashboard","custom-features","quecwatch",""],"i":false,"f":[[["",{"children":["dashboard",{"children":["custom-features",{"children":["quecwatch",{"children":["__PAGE__",{}]}]}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/e519296cc38ae8e2.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":["$","body",null,{"className":"antialiased __className_9dae3d","children":[["$","$L2",null,{"attribute":"class","defaultTheme":"system","enableSystem":true,"disableTransitionOnChange":true,"children":["$","$L3",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[],[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]}],["$","$L6",null,{}]]}]}]]}],{"children":["dashboard",["$","$1","c",{"children":[null,["$","$L7",null,{"Component":"$8","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]},"params":{},"promise":"$@9"}]]}],{"children":["custom-features",["$","$1","c",{"children":[null,["$","$L7",null,{"Component":"$a","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children","custom-features","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]},"params":"$0:f:0:1:2:children:1:props:children:1:props:params","promise":"$@b"}]]}],{"children":["quecwatch",["$","$1","c",{"children":[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children","custom-features","children","quecwatch","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$Lc",null,{"Component":"$d","searchParams":{},"params":"$0:f:0:1:2:children:1:props:children:1:props:params","promises":["$@e","$@f"]}],null,["$","$L10",null,{"children":"$L11"}]]}],{},null,false]},null,false]},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,["$","$1","6QTZmnYSazioCyMtWg-J9",{"children":[["$","$L12",null,{"children":"$L13"}],["$","$L14",null,{"children":"$L15"}],null]}]]}],false]],"m":"$undefined","G":["$16","$undefined"],"s":false,"S":true} +:HL["/_next/static/css/b43dda0a8d427715.css","style"] +0:{"P":null,"b":"QktWtlsQL-2ss_eQyrSZD","p":"","c":["","dashboard","custom-features","quecwatch",""],"i":false,"f":[[["",{"children":["dashboard",{"children":["custom-features",{"children":["quecwatch",{"children":["__PAGE__",{}]}]}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/b43dda0a8d427715.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":["$","body",null,{"className":"antialiased __className_9dae3d","children":[["$","$L2",null,{"attribute":"class","defaultTheme":"system","enableSystem":true,"disableTransitionOnChange":true,"children":["$","$L3",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[],[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]}],["$","$L6",null,{}]]}]}]]}],{"children":["dashboard",["$","$1","c",{"children":[null,["$","$L7",null,{"Component":"$8","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]},"params":{},"promise":"$@9"}]]}],{"children":["custom-features",["$","$1","c",{"children":[null,["$","$L7",null,{"Component":"$a","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children","custom-features","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]},"params":"$0:f:0:1:2:children:1:props:children:1:props:params","promise":"$@b"}]]}],{"children":["quecwatch",["$","$1","c",{"children":[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children","custom-features","children","quecwatch","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$Lc",null,{"Component":"$d","searchParams":{},"params":"$0:f:0:1:2:children:1:props:children:1:props:params","promises":["$@e","$@f"]}],null,["$","$L10",null,{"children":"$L11"}]]}],{},null,false]},null,false]},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,["$","$1","nD-48hE1VcspH8ghkwaNF",{"children":[["$","$L12",null,{"children":"$L13"}],["$","$L14",null,{"children":"$L15"}],null]}]]}],false]],"m":"$undefined","G":["$16","$undefined"],"s":false,"S":true} 9:{} b:{} e:{} diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/experimental/index.html b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/experimental/index.html index 58120a0..83feaf5 100644 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/experimental/index.html +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/experimental/index.html @@ -1 +1 @@ -QuecManager
                                                                                \ No newline at end of file +QuecManager
                                                                                  \ No newline at end of file diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/experimental/index.txt b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/experimental/index.txt index 85e8db3..bd9fd98 100644 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/experimental/index.txt +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/experimental/index.txt @@ -5,15 +5,15 @@ 5:I[81570,[],""] 6:I[62825,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","3048","static/chunks/3048-9766c902a7fac6d2.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7177","static/chunks/app/layout-ddd6481449252af3.js"],"Toaster"] 7:I[92907,[],"ClientSegmentRoot"] -8:I[63231,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","9464","static/chunks/9464-54895f8e78c474f0.js","9477","static/chunks/9477-4478381adb29cdff.js","564","static/chunks/564-bce78b0f1af68d0a.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","9873","static/chunks/9873-1f9f7420ad1929d8.js","6223","static/chunks/6223-985db5887dec3c8a.js","1954","static/chunks/app/dashboard/layout-e1e7681e45955939.js"],"default"] -a:I[31753,["9477","static/chunks/9477-4478381adb29cdff.js","3075","static/chunks/app/dashboard/experimental/layout-8e15d627987cc9e6.js"],"default"] -c:I[78171,["7780","static/chunks/7780-f325b2d7864a75f9.js","8171","static/chunks/8171-3864f38194afa137.js","7040","static/chunks/app/dashboard/experimental/page-445534e2f7ee6367.js"],"default"] +8:I[63231,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","9464","static/chunks/9464-54895f8e78c474f0.js","9477","static/chunks/9477-4478381adb29cdff.js","564","static/chunks/564-bce78b0f1af68d0a.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","9873","static/chunks/9873-1f9f7420ad1929d8.js","6223","static/chunks/6223-985db5887dec3c8a.js","1954","static/chunks/app/dashboard/layout-7031c764ad5e7199.js"],"default"] +a:I[31753,["9477","static/chunks/9477-4478381adb29cdff.js","3075","static/chunks/app/dashboard/experimental/layout-0848225084616b4a.js"],"default"] +c:I[78171,["7780","static/chunks/7780-f325b2d7864a75f9.js","8171","static/chunks/8171-70f2e3ca931caba6.js","7040","static/chunks/app/dashboard/experimental/page-445534e2f7ee6367.js"],"default"] d:I[99165,[],"OutletBoundary"] f:I[99165,[],"MetadataBoundary"] 11:I[99165,[],"ViewportBoundary"] 13:I[25339,[],""] -:HL["/_next/static/css/e519296cc38ae8e2.css","style"] -0:{"P":null,"b":"uRwx5ooNp2kzLYjnL-ESB","p":"","c":["","dashboard","experimental",""],"i":false,"f":[[["",{"children":["dashboard",{"children":["experimental",{"children":["__PAGE__",{}]}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/e519296cc38ae8e2.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":["$","body",null,{"className":"antialiased __className_9dae3d","children":[["$","$L2",null,{"attribute":"class","defaultTheme":"system","enableSystem":true,"disableTransitionOnChange":true,"children":["$","$L3",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[],[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]}],["$","$L6",null,{}]]}]}]]}],{"children":["dashboard",["$","$1","c",{"children":[null,["$","$L7",null,{"Component":"$8","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]},"params":{},"promise":"$@9"}]]}],{"children":["experimental",["$","$1","c",{"children":[null,["$","$L7",null,{"Component":"$a","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children","experimental","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]},"params":"$0:f:0:1:2:children:1:props:children:1:props:params","promise":"$@b"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$Lc",null,{}],null,["$","$Ld",null,{"children":"$Le"}]]}],{},null,false]},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,["$","$1","uFnIU4uTexZuxkdeusHlw",{"children":[["$","$Lf",null,{"children":"$L10"}],["$","$L11",null,{"children":"$L12"}],null]}]]}],false]],"m":"$undefined","G":["$13","$undefined"],"s":false,"S":true} +:HL["/_next/static/css/b43dda0a8d427715.css","style"] +0:{"P":null,"b":"QktWtlsQL-2ss_eQyrSZD","p":"","c":["","dashboard","experimental",""],"i":false,"f":[[["",{"children":["dashboard",{"children":["experimental",{"children":["__PAGE__",{}]}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/b43dda0a8d427715.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":["$","body",null,{"className":"antialiased __className_9dae3d","children":[["$","$L2",null,{"attribute":"class","defaultTheme":"system","enableSystem":true,"disableTransitionOnChange":true,"children":["$","$L3",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[],[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]}],["$","$L6",null,{}]]}]}]]}],{"children":["dashboard",["$","$1","c",{"children":[null,["$","$L7",null,{"Component":"$8","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]},"params":{},"promise":"$@9"}]]}],{"children":["experimental",["$","$1","c",{"children":[null,["$","$L7",null,{"Component":"$a","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children","experimental","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]},"params":"$0:f:0:1:2:children:1:props:children:1:props:params","promise":"$@b"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$Lc",null,{}],null,["$","$Ld",null,{"children":"$Le"}]]}],{},null,false]},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,["$","$1","uf2PRFqiL6GxBLClwYJw3",{"children":[["$","$Lf",null,{"children":"$L10"}],["$","$L11",null,{"children":"$L12"}],null]}]]}],false]],"m":"$undefined","G":["$13","$undefined"],"s":false,"S":true} 9:{} b:{} 12:[["$","meta","0",{"name":"viewport","content":"width=device-width, initial-scale=1"}]] diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/experimental/keep-alive/index.html b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/experimental/keep-alive/index.html index 645fffe..d7424d5 100644 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/experimental/keep-alive/index.html +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/experimental/keep-alive/index.html @@ -1 +1 @@ -QuecManager
                                                                                    \ No newline at end of file +QuecManager
                                                                                      \ No newline at end of file diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/experimental/keep-alive/index.txt b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/experimental/keep-alive/index.txt index 901d0f9..9299a03 100644 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/experimental/keep-alive/index.txt +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/experimental/keep-alive/index.txt @@ -5,16 +5,16 @@ 5:I[81570,[],""] 6:I[62825,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","3048","static/chunks/3048-9766c902a7fac6d2.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7177","static/chunks/app/layout-ddd6481449252af3.js"],"Toaster"] 7:I[92907,[],"ClientSegmentRoot"] -8:I[63231,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","9464","static/chunks/9464-54895f8e78c474f0.js","9477","static/chunks/9477-4478381adb29cdff.js","564","static/chunks/564-bce78b0f1af68d0a.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","9873","static/chunks/9873-1f9f7420ad1929d8.js","6223","static/chunks/6223-985db5887dec3c8a.js","1954","static/chunks/app/dashboard/layout-e1e7681e45955939.js"],"default"] -a:I[31753,["9477","static/chunks/9477-4478381adb29cdff.js","3075","static/chunks/app/dashboard/experimental/layout-8e15d627987cc9e6.js"],"default"] +8:I[63231,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","9464","static/chunks/9464-54895f8e78c474f0.js","9477","static/chunks/9477-4478381adb29cdff.js","564","static/chunks/564-bce78b0f1af68d0a.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","9873","static/chunks/9873-1f9f7420ad1929d8.js","6223","static/chunks/6223-985db5887dec3c8a.js","1954","static/chunks/app/dashboard/layout-7031c764ad5e7199.js"],"default"] +a:I[31753,["9477","static/chunks/9477-4478381adb29cdff.js","3075","static/chunks/app/dashboard/experimental/layout-0848225084616b4a.js"],"default"] c:I[5329,[],"ClientPageRoot"] d:I[4546,["7116","static/chunks/c556396d-fd1d753158c38164.js","7780","static/chunks/7780-f325b2d7864a75f9.js","6380","static/chunks/6380-1df122c20870c723.js","3376","static/chunks/app/dashboard/experimental/keep-alive/page-809f1943703cc601.js"],"default"] 10:I[99165,[],"OutletBoundary"] 12:I[99165,[],"MetadataBoundary"] 14:I[99165,[],"ViewportBoundary"] 16:I[25339,[],""] -:HL["/_next/static/css/e519296cc38ae8e2.css","style"] -0:{"P":null,"b":"uRwx5ooNp2kzLYjnL-ESB","p":"","c":["","dashboard","experimental","keep-alive",""],"i":false,"f":[[["",{"children":["dashboard",{"children":["experimental",{"children":["keep-alive",{"children":["__PAGE__",{}]}]}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/e519296cc38ae8e2.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":["$","body",null,{"className":"antialiased __className_9dae3d","children":[["$","$L2",null,{"attribute":"class","defaultTheme":"system","enableSystem":true,"disableTransitionOnChange":true,"children":["$","$L3",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[],[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]}],["$","$L6",null,{}]]}]}]]}],{"children":["dashboard",["$","$1","c",{"children":[null,["$","$L7",null,{"Component":"$8","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]},"params":{},"promise":"$@9"}]]}],{"children":["experimental",["$","$1","c",{"children":[null,["$","$L7",null,{"Component":"$a","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children","experimental","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]},"params":"$0:f:0:1:2:children:1:props:children:1:props:params","promise":"$@b"}]]}],{"children":["keep-alive",["$","$1","c",{"children":[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children","experimental","children","keep-alive","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$Lc",null,{"Component":"$d","searchParams":{},"params":"$0:f:0:1:2:children:1:props:children:1:props:params","promises":["$@e","$@f"]}],null,["$","$L10",null,{"children":"$L11"}]]}],{},null,false]},null,false]},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,["$","$1","aJOUkZvSvY4TeYmzBbVVv",{"children":[["$","$L12",null,{"children":"$L13"}],["$","$L14",null,{"children":"$L15"}],null]}]]}],false]],"m":"$undefined","G":["$16","$undefined"],"s":false,"S":true} +:HL["/_next/static/css/b43dda0a8d427715.css","style"] +0:{"P":null,"b":"QktWtlsQL-2ss_eQyrSZD","p":"","c":["","dashboard","experimental","keep-alive",""],"i":false,"f":[[["",{"children":["dashboard",{"children":["experimental",{"children":["keep-alive",{"children":["__PAGE__",{}]}]}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/b43dda0a8d427715.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":["$","body",null,{"className":"antialiased __className_9dae3d","children":[["$","$L2",null,{"attribute":"class","defaultTheme":"system","enableSystem":true,"disableTransitionOnChange":true,"children":["$","$L3",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[],[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]}],["$","$L6",null,{}]]}]}]]}],{"children":["dashboard",["$","$1","c",{"children":[null,["$","$L7",null,{"Component":"$8","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]},"params":{},"promise":"$@9"}]]}],{"children":["experimental",["$","$1","c",{"children":[null,["$","$L7",null,{"Component":"$a","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children","experimental","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]},"params":"$0:f:0:1:2:children:1:props:children:1:props:params","promise":"$@b"}]]}],{"children":["keep-alive",["$","$1","c",{"children":[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children","experimental","children","keep-alive","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$Lc",null,{"Component":"$d","searchParams":{},"params":"$0:f:0:1:2:children:1:props:children:1:props:params","promises":["$@e","$@f"]}],null,["$","$L10",null,{"children":"$L11"}]]}],{},null,false]},null,false]},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,["$","$1","uWRvpyhA5ajY8dX74GvVY",{"children":[["$","$L12",null,{"children":"$L13"}],["$","$L14",null,{"children":"$L15"}],null]}]]}],false]],"m":"$undefined","G":["$16","$undefined"],"s":false,"S":true} 9:{} b:{} e:{} diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/experimental/logs/index.html b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/experimental/logs/index.html new file mode 100644 index 0000000..292c75d --- /dev/null +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/experimental/logs/index.html @@ -0,0 +1 @@ +QuecManager
                                                                                        \ No newline at end of file diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/experimental/logs/index.txt b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/experimental/logs/index.txt new file mode 100644 index 0000000..fa6e9a7 --- /dev/null +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/experimental/logs/index.txt @@ -0,0 +1,24 @@ +1:"$Sreact.fragment" +2:I[74347,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","3048","static/chunks/3048-9766c902a7fac6d2.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7177","static/chunks/app/layout-ddd6481449252af3.js"],"ThemeProvider"] +3:I[85014,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","3048","static/chunks/3048-9766c902a7fac6d2.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7177","static/chunks/app/layout-ddd6481449252af3.js"],"TooltipProvider"] +4:I[24900,[],""] +5:I[81570,[],""] +6:I[62825,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","3048","static/chunks/3048-9766c902a7fac6d2.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7177","static/chunks/app/layout-ddd6481449252af3.js"],"Toaster"] +7:I[92907,[],"ClientSegmentRoot"] +8:I[63231,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","9464","static/chunks/9464-54895f8e78c474f0.js","9477","static/chunks/9477-4478381adb29cdff.js","564","static/chunks/564-bce78b0f1af68d0a.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","9873","static/chunks/9873-1f9f7420ad1929d8.js","6223","static/chunks/6223-985db5887dec3c8a.js","1954","static/chunks/app/dashboard/layout-7031c764ad5e7199.js"],"default"] +a:I[31753,["9477","static/chunks/9477-4478381adb29cdff.js","3075","static/chunks/app/dashboard/experimental/layout-0848225084616b4a.js"],"default"] +c:I[5329,[],"ClientPageRoot"] +d:I[89163,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","9464","static/chunks/9464-54895f8e78c474f0.js","3494","static/chunks/3494-d763154adf622bee.js","9679","static/chunks/9679-02a7013bb86edb7d.js","6738","static/chunks/app/dashboard/experimental/logs/page-aafc009d49918935.js"],"default"] +10:I[99165,[],"OutletBoundary"] +12:I[99165,[],"MetadataBoundary"] +14:I[99165,[],"ViewportBoundary"] +16:I[25339,[],""] +:HL["/_next/static/css/b43dda0a8d427715.css","style"] +0:{"P":null,"b":"QktWtlsQL-2ss_eQyrSZD","p":"","c":["","dashboard","experimental","logs",""],"i":false,"f":[[["",{"children":["dashboard",{"children":["experimental",{"children":["logs",{"children":["__PAGE__",{}]}]}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/b43dda0a8d427715.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":["$","body",null,{"className":"antialiased __className_9dae3d","children":[["$","$L2",null,{"attribute":"class","defaultTheme":"system","enableSystem":true,"disableTransitionOnChange":true,"children":["$","$L3",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[],[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]}],["$","$L6",null,{}]]}]}]]}],{"children":["dashboard",["$","$1","c",{"children":[null,["$","$L7",null,{"Component":"$8","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]},"params":{},"promise":"$@9"}]]}],{"children":["experimental",["$","$1","c",{"children":[null,["$","$L7",null,{"Component":"$a","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children","experimental","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]},"params":"$0:f:0:1:2:children:1:props:children:1:props:params","promise":"$@b"}]]}],{"children":["logs",["$","$1","c",{"children":[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children","experimental","children","logs","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$Lc",null,{"Component":"$d","searchParams":{},"params":"$0:f:0:1:2:children:1:props:children:1:props:params","promises":["$@e","$@f"]}],null,["$","$L10",null,{"children":"$L11"}]]}],{},null,false]},null,false]},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,["$","$1","x4jr_X6stHu1OFd5ENfBz",{"children":[["$","$L12",null,{"children":"$L13"}],["$","$L14",null,{"children":"$L15"}],null]}]]}],false]],"m":"$undefined","G":["$16","$undefined"],"s":false,"S":true} +9:{} +b:{} +e:{} +f:{} +15:[["$","meta","0",{"name":"viewport","content":"width=device-width, initial-scale=1"}]] +13:[["$","meta","0",{"charSet":"utf-8"}],["$","title","1",{"children":"QuecManager"}],["$","meta","2",{"name":"description","content":"Simpleadmin but better!"}],["$","link","3",{"rel":"icon","href":"/favicon.ico","type":"image/x-icon","sizes":"16x16"}]] +11:null diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/experimental/network-insights/index.html b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/experimental/network-insights/index.html index 67ba7bb..ff15d96 100644 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/experimental/network-insights/index.html +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/experimental/network-insights/index.html @@ -1 +1 @@ -QuecManager
                                                                                          \ No newline at end of file +QuecManager
                                                                                            \ No newline at end of file diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/experimental/network-insights/index.txt b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/experimental/network-insights/index.txt index e9f7494..9fd77b0 100644 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/experimental/network-insights/index.txt +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/experimental/network-insights/index.txt @@ -5,16 +5,16 @@ 5:I[81570,[],""] 6:I[62825,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","3048","static/chunks/3048-9766c902a7fac6d2.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7177","static/chunks/app/layout-ddd6481449252af3.js"],"Toaster"] 7:I[92907,[],"ClientSegmentRoot"] -8:I[63231,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","9464","static/chunks/9464-54895f8e78c474f0.js","9477","static/chunks/9477-4478381adb29cdff.js","564","static/chunks/564-bce78b0f1af68d0a.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","9873","static/chunks/9873-1f9f7420ad1929d8.js","6223","static/chunks/6223-985db5887dec3c8a.js","1954","static/chunks/app/dashboard/layout-e1e7681e45955939.js"],"default"] -a:I[31753,["9477","static/chunks/9477-4478381adb29cdff.js","3075","static/chunks/app/dashboard/experimental/layout-8e15d627987cc9e6.js"],"default"] +8:I[63231,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","9464","static/chunks/9464-54895f8e78c474f0.js","9477","static/chunks/9477-4478381adb29cdff.js","564","static/chunks/564-bce78b0f1af68d0a.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","9873","static/chunks/9873-1f9f7420ad1929d8.js","6223","static/chunks/6223-985db5887dec3c8a.js","1954","static/chunks/app/dashboard/layout-7031c764ad5e7199.js"],"default"] +a:I[31753,["9477","static/chunks/9477-4478381adb29cdff.js","3075","static/chunks/app/dashboard/experimental/layout-0848225084616b4a.js"],"default"] c:I[5329,[],"ClientPageRoot"] -d:I[78171,["7780","static/chunks/7780-f325b2d7864a75f9.js","8171","static/chunks/8171-3864f38194afa137.js","7417","static/chunks/app/dashboard/experimental/network-insights/page-aa6fca266d42378a.js"],"default"] +d:I[78171,["7780","static/chunks/7780-f325b2d7864a75f9.js","8171","static/chunks/8171-70f2e3ca931caba6.js","7417","static/chunks/app/dashboard/experimental/network-insights/page-aa6fca266d42378a.js"],"default"] 10:I[99165,[],"OutletBoundary"] 12:I[99165,[],"MetadataBoundary"] 14:I[99165,[],"ViewportBoundary"] 16:I[25339,[],""] -:HL["/_next/static/css/e519296cc38ae8e2.css","style"] -0:{"P":null,"b":"uRwx5ooNp2kzLYjnL-ESB","p":"","c":["","dashboard","experimental","network-insights",""],"i":false,"f":[[["",{"children":["dashboard",{"children":["experimental",{"children":["network-insights",{"children":["__PAGE__",{}]}]}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/e519296cc38ae8e2.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":["$","body",null,{"className":"antialiased __className_9dae3d","children":[["$","$L2",null,{"attribute":"class","defaultTheme":"system","enableSystem":true,"disableTransitionOnChange":true,"children":["$","$L3",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[],[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]}],["$","$L6",null,{}]]}]}]]}],{"children":["dashboard",["$","$1","c",{"children":[null,["$","$L7",null,{"Component":"$8","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]},"params":{},"promise":"$@9"}]]}],{"children":["experimental",["$","$1","c",{"children":[null,["$","$L7",null,{"Component":"$a","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children","experimental","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]},"params":"$0:f:0:1:2:children:1:props:children:1:props:params","promise":"$@b"}]]}],{"children":["network-insights",["$","$1","c",{"children":[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children","experimental","children","network-insights","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$Lc",null,{"Component":"$d","searchParams":{},"params":"$0:f:0:1:2:children:1:props:children:1:props:params","promises":["$@e","$@f"]}],null,["$","$L10",null,{"children":"$L11"}]]}],{},null,false]},null,false]},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,["$","$1","NTi10pW-F0cAAtZmgZiNV",{"children":[["$","$L12",null,{"children":"$L13"}],["$","$L14",null,{"children":"$L15"}],null]}]]}],false]],"m":"$undefined","G":["$16","$undefined"],"s":false,"S":true} +:HL["/_next/static/css/b43dda0a8d427715.css","style"] +0:{"P":null,"b":"QktWtlsQL-2ss_eQyrSZD","p":"","c":["","dashboard","experimental","network-insights",""],"i":false,"f":[[["",{"children":["dashboard",{"children":["experimental",{"children":["network-insights",{"children":["__PAGE__",{}]}]}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/b43dda0a8d427715.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":["$","body",null,{"className":"antialiased __className_9dae3d","children":[["$","$L2",null,{"attribute":"class","defaultTheme":"system","enableSystem":true,"disableTransitionOnChange":true,"children":["$","$L3",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[],[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]}],["$","$L6",null,{}]]}]}]]}],{"children":["dashboard",["$","$1","c",{"children":[null,["$","$L7",null,{"Component":"$8","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]},"params":{},"promise":"$@9"}]]}],{"children":["experimental",["$","$1","c",{"children":[null,["$","$L7",null,{"Component":"$a","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children","experimental","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]},"params":"$0:f:0:1:2:children:1:props:children:1:props:params","promise":"$@b"}]]}],{"children":["network-insights",["$","$1","c",{"children":[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children","experimental","children","network-insights","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$Lc",null,{"Component":"$d","searchParams":{},"params":"$0:f:0:1:2:children:1:props:children:1:props:params","promises":["$@e","$@f"]}],null,["$","$L10",null,{"children":"$L11"}]]}],{},null,false]},null,false]},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,["$","$1","0gidrLD5LEesR-boJKtWZ",{"children":[["$","$L12",null,{"children":"$L13"}],["$","$L14",null,{"children":"$L15"}],null]}]]}],false]],"m":"$undefined","G":["$16","$undefined"],"s":false,"S":true} 9:{} b:{} e:{} diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/experimental/scheduled-reboot/index.html b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/experimental/scheduled-reboot/index.html index a00ef40..f8f5b56 100644 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/experimental/scheduled-reboot/index.html +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/experimental/scheduled-reboot/index.html @@ -1 +1 @@ -QuecManager
                                                                                              \ No newline at end of file +QuecManager
                                                                                                \ No newline at end of file diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/experimental/scheduled-reboot/index.txt b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/experimental/scheduled-reboot/index.txt index 4fa8df1..dfeefc2 100644 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/experimental/scheduled-reboot/index.txt +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/experimental/scheduled-reboot/index.txt @@ -5,16 +5,16 @@ 5:I[81570,[],""] 6:I[62825,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","3048","static/chunks/3048-9766c902a7fac6d2.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7177","static/chunks/app/layout-ddd6481449252af3.js"],"Toaster"] 7:I[92907,[],"ClientSegmentRoot"] -8:I[63231,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","9464","static/chunks/9464-54895f8e78c474f0.js","9477","static/chunks/9477-4478381adb29cdff.js","564","static/chunks/564-bce78b0f1af68d0a.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","9873","static/chunks/9873-1f9f7420ad1929d8.js","6223","static/chunks/6223-985db5887dec3c8a.js","1954","static/chunks/app/dashboard/layout-e1e7681e45955939.js"],"default"] -a:I[31753,["9477","static/chunks/9477-4478381adb29cdff.js","3075","static/chunks/app/dashboard/experimental/layout-8e15d627987cc9e6.js"],"default"] +8:I[63231,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","9464","static/chunks/9464-54895f8e78c474f0.js","9477","static/chunks/9477-4478381adb29cdff.js","564","static/chunks/564-bce78b0f1af68d0a.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","9873","static/chunks/9873-1f9f7420ad1929d8.js","6223","static/chunks/6223-985db5887dec3c8a.js","1954","static/chunks/app/dashboard/layout-7031c764ad5e7199.js"],"default"] +a:I[31753,["9477","static/chunks/9477-4478381adb29cdff.js","3075","static/chunks/app/dashboard/experimental/layout-0848225084616b4a.js"],"default"] c:I[5329,[],"ClientPageRoot"] d:I[58674,["7780","static/chunks/7780-f325b2d7864a75f9.js","8704","static/chunks/8704-236b9f074b4600d3.js","5914","static/chunks/app/dashboard/experimental/scheduled-reboot/page-73854145a3a5c144.js"],"default"] 10:I[99165,[],"OutletBoundary"] 12:I[99165,[],"MetadataBoundary"] 14:I[99165,[],"ViewportBoundary"] 16:I[25339,[],""] -:HL["/_next/static/css/e519296cc38ae8e2.css","style"] -0:{"P":null,"b":"uRwx5ooNp2kzLYjnL-ESB","p":"","c":["","dashboard","experimental","scheduled-reboot",""],"i":false,"f":[[["",{"children":["dashboard",{"children":["experimental",{"children":["scheduled-reboot",{"children":["__PAGE__",{}]}]}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/e519296cc38ae8e2.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":["$","body",null,{"className":"antialiased __className_9dae3d","children":[["$","$L2",null,{"attribute":"class","defaultTheme":"system","enableSystem":true,"disableTransitionOnChange":true,"children":["$","$L3",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[],[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]}],["$","$L6",null,{}]]}]}]]}],{"children":["dashboard",["$","$1","c",{"children":[null,["$","$L7",null,{"Component":"$8","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]},"params":{},"promise":"$@9"}]]}],{"children":["experimental",["$","$1","c",{"children":[null,["$","$L7",null,{"Component":"$a","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children","experimental","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]},"params":"$0:f:0:1:2:children:1:props:children:1:props:params","promise":"$@b"}]]}],{"children":["scheduled-reboot",["$","$1","c",{"children":[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children","experimental","children","scheduled-reboot","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$Lc",null,{"Component":"$d","searchParams":{},"params":"$0:f:0:1:2:children:1:props:children:1:props:params","promises":["$@e","$@f"]}],null,["$","$L10",null,{"children":"$L11"}]]}],{},null,false]},null,false]},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,["$","$1","n2NJ81ettejAlbUL8lZ36",{"children":[["$","$L12",null,{"children":"$L13"}],["$","$L14",null,{"children":"$L15"}],null]}]]}],false]],"m":"$undefined","G":["$16","$undefined"],"s":false,"S":true} +:HL["/_next/static/css/b43dda0a8d427715.css","style"] +0:{"P":null,"b":"QktWtlsQL-2ss_eQyrSZD","p":"","c":["","dashboard","experimental","scheduled-reboot",""],"i":false,"f":[[["",{"children":["dashboard",{"children":["experimental",{"children":["scheduled-reboot",{"children":["__PAGE__",{}]}]}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/b43dda0a8d427715.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":["$","body",null,{"className":"antialiased __className_9dae3d","children":[["$","$L2",null,{"attribute":"class","defaultTheme":"system","enableSystem":true,"disableTransitionOnChange":true,"children":["$","$L3",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[],[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]}],["$","$L6",null,{}]]}]}]]}],{"children":["dashboard",["$","$1","c",{"children":[null,["$","$L7",null,{"Component":"$8","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]},"params":{},"promise":"$@9"}]]}],{"children":["experimental",["$","$1","c",{"children":[null,["$","$L7",null,{"Component":"$a","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children","experimental","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]},"params":"$0:f:0:1:2:children:1:props:children:1:props:params","promise":"$@b"}]]}],{"children":["scheduled-reboot",["$","$1","c",{"children":[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children","experimental","children","scheduled-reboot","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$Lc",null,{"Component":"$d","searchParams":{},"params":"$0:f:0:1:2:children:1:props:children:1:props:params","promises":["$@e","$@f"]}],null,["$","$L10",null,{"children":"$L11"}]]}],{},null,false]},null,false]},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,["$","$1","TP3faDnmgH0zGz_uwf873",{"children":[["$","$L12",null,{"children":"$L13"}],["$","$L14",null,{"children":"$L15"}],null]}]]}],false]],"m":"$undefined","G":["$16","$undefined"],"s":false,"S":true} 9:{} b:{} e:{} diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/home/index.html b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/home/index.html index 72cc628..9b16eb6 100644 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/home/index.html +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/home/index.html @@ -1 +1 @@ -QuecManager
                                                                                                  \ No newline at end of file +QuecManager
                                                                                                    \ No newline at end of file diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/home/index.txt b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/home/index.txt index 3870dd8..6a19aaa 100644 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/home/index.txt +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/home/index.txt @@ -5,15 +5,15 @@ 5:I[81570,[],""] 6:I[62825,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","3048","static/chunks/3048-9766c902a7fac6d2.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7177","static/chunks/app/layout-ddd6481449252af3.js"],"Toaster"] 7:I[92907,[],"ClientSegmentRoot"] -8:I[63231,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","9464","static/chunks/9464-54895f8e78c474f0.js","9477","static/chunks/9477-4478381adb29cdff.js","564","static/chunks/564-bce78b0f1af68d0a.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","9873","static/chunks/9873-1f9f7420ad1929d8.js","6223","static/chunks/6223-985db5887dec3c8a.js","1954","static/chunks/app/dashboard/layout-e1e7681e45955939.js"],"default"] +8:I[63231,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","9464","static/chunks/9464-54895f8e78c474f0.js","9477","static/chunks/9477-4478381adb29cdff.js","564","static/chunks/564-bce78b0f1af68d0a.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","9873","static/chunks/9873-1f9f7420ad1929d8.js","6223","static/chunks/6223-985db5887dec3c8a.js","1954","static/chunks/app/dashboard/layout-7031c764ad5e7199.js"],"default"] a:I[5329,[],"ClientPageRoot"] -b:I[42988,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","9649","static/chunks/47820753-41ce4d8e11c7c32d.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","9464","static/chunks/9464-54895f8e78c474f0.js","3048","static/chunks/3048-9766c902a7fac6d2.js","1074","static/chunks/1074-d79f1d7c29de56fa.js","3095","static/chunks/3095-9939ca94522133b1.js","4020","static/chunks/4020-986435b93a4735a6.js","6665","static/chunks/app/dashboard/home/page-661b3af7c8f413d7.js"],"default"] +b:I[42988,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","9649","static/chunks/47820753-41ce4d8e11c7c32d.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","9464","static/chunks/9464-54895f8e78c474f0.js","3048","static/chunks/3048-9766c902a7fac6d2.js","1074","static/chunks/1074-d79f1d7c29de56fa.js","3095","static/chunks/3095-9b41897dca47b121.js","4020","static/chunks/4020-37bd34bf1a36f3fb.js","6665","static/chunks/app/dashboard/home/page-33d481e5935a59d3.js"],"default"] e:I[99165,[],"OutletBoundary"] 10:I[99165,[],"MetadataBoundary"] 12:I[99165,[],"ViewportBoundary"] 14:I[25339,[],""] -:HL["/_next/static/css/e519296cc38ae8e2.css","style"] -0:{"P":null,"b":"uRwx5ooNp2kzLYjnL-ESB","p":"","c":["","dashboard","home",""],"i":false,"f":[[["",{"children":["dashboard",{"children":["home",{"children":["__PAGE__",{}]}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/e519296cc38ae8e2.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":["$","body",null,{"className":"antialiased __className_9dae3d","children":[["$","$L2",null,{"attribute":"class","defaultTheme":"system","enableSystem":true,"disableTransitionOnChange":true,"children":["$","$L3",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[],[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]}],["$","$L6",null,{}]]}]}]]}],{"children":["dashboard",["$","$1","c",{"children":[null,["$","$L7",null,{"Component":"$8","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]},"params":{},"promise":"$@9"}]]}],{"children":["home",["$","$1","c",{"children":[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children","home","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$La",null,{"Component":"$b","searchParams":{},"params":"$0:f:0:1:2:children:1:props:children:1:props:params","promises":["$@c","$@d"]}],null,["$","$Le",null,{"children":"$Lf"}]]}],{},null,false]},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,["$","$1","xyjXOLEG5I41pRnlVXlyD",{"children":[["$","$L10",null,{"children":"$L11"}],["$","$L12",null,{"children":"$L13"}],null]}]]}],false]],"m":"$undefined","G":["$14","$undefined"],"s":false,"S":true} +:HL["/_next/static/css/b43dda0a8d427715.css","style"] +0:{"P":null,"b":"QktWtlsQL-2ss_eQyrSZD","p":"","c":["","dashboard","home",""],"i":false,"f":[[["",{"children":["dashboard",{"children":["home",{"children":["__PAGE__",{}]}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/b43dda0a8d427715.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":["$","body",null,{"className":"antialiased __className_9dae3d","children":[["$","$L2",null,{"attribute":"class","defaultTheme":"system","enableSystem":true,"disableTransitionOnChange":true,"children":["$","$L3",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[],[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]}],["$","$L6",null,{}]]}]}]]}],{"children":["dashboard",["$","$1","c",{"children":[null,["$","$L7",null,{"Component":"$8","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]},"params":{},"promise":"$@9"}]]}],{"children":["home",["$","$1","c",{"children":[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children","home","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$La",null,{"Component":"$b","searchParams":{},"params":"$0:f:0:1:2:children:1:props:children:1:props:params","promises":["$@c","$@d"]}],null,["$","$Le",null,{"children":"$Lf"}]]}],{},null,false]},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,["$","$1","6c0tZ7hM3aj0rhdRtTi1W",{"children":[["$","$L10",null,{"children":"$L11"}],["$","$L12",null,{"children":"$L13"}],null]}]]}],false]],"m":"$undefined","G":["$14","$undefined"],"s":false,"S":true} 9:{} c:{} d:{} diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/settings/index.html b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/settings/index.html index afbbf64..2870ada 100644 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/settings/index.html +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/settings/index.html @@ -1 +1 @@ -QuecManager
                                                                                                      \ No newline at end of file +QuecManager
                                                                                                        \ No newline at end of file diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/settings/index.txt b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/settings/index.txt index 8fc9917..e6a2603 100644 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/settings/index.txt +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/settings/index.txt @@ -5,15 +5,15 @@ 5:I[81570,[],""] 6:I[62825,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","3048","static/chunks/3048-9766c902a7fac6d2.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7177","static/chunks/app/layout-ddd6481449252af3.js"],"Toaster"] 7:I[92907,[],"ClientSegmentRoot"] -8:I[63231,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","9464","static/chunks/9464-54895f8e78c474f0.js","9477","static/chunks/9477-4478381adb29cdff.js","564","static/chunks/564-bce78b0f1af68d0a.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","9873","static/chunks/9873-1f9f7420ad1929d8.js","6223","static/chunks/6223-985db5887dec3c8a.js","1954","static/chunks/app/dashboard/layout-e1e7681e45955939.js"],"default"] +8:I[63231,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","9464","static/chunks/9464-54895f8e78c474f0.js","9477","static/chunks/9477-4478381adb29cdff.js","564","static/chunks/564-bce78b0f1af68d0a.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","9873","static/chunks/9873-1f9f7420ad1929d8.js","6223","static/chunks/6223-985db5887dec3c8a.js","1954","static/chunks/app/dashboard/layout-7031c764ad5e7199.js"],"default"] a:I[36994,["9477","static/chunks/9477-4478381adb29cdff.js","5680","static/chunks/app/dashboard/settings/layout-3bcd1d2cd2bb9cb9.js"],"default"] c:I[16212,["7780","static/chunks/7780-f325b2d7864a75f9.js","4631","static/chunks/app/dashboard/settings/page-d048cb7a26fc96f3.js"],"default"] d:I[99165,[],"OutletBoundary"] f:I[99165,[],"MetadataBoundary"] 11:I[99165,[],"ViewportBoundary"] 13:I[25339,[],""] -:HL["/_next/static/css/e519296cc38ae8e2.css","style"] -0:{"P":null,"b":"uRwx5ooNp2kzLYjnL-ESB","p":"","c":["","dashboard","settings",""],"i":false,"f":[[["",{"children":["dashboard",{"children":["settings",{"children":["__PAGE__",{}]}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/e519296cc38ae8e2.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":["$","body",null,{"className":"antialiased __className_9dae3d","children":[["$","$L2",null,{"attribute":"class","defaultTheme":"system","enableSystem":true,"disableTransitionOnChange":true,"children":["$","$L3",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[],[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]}],["$","$L6",null,{}]]}]}]]}],{"children":["dashboard",["$","$1","c",{"children":[null,["$","$L7",null,{"Component":"$8","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]},"params":{},"promise":"$@9"}]]}],{"children":["settings",["$","$1","c",{"children":[null,["$","$L7",null,{"Component":"$a","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children","settings","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]},"params":"$0:f:0:1:2:children:1:props:children:1:props:params","promise":"$@b"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$Lc",null,{}],null,["$","$Ld",null,{"children":"$Le"}]]}],{},null,false]},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,["$","$1","XXInsCS0RqCxVPyu5YPQJ",{"children":[["$","$Lf",null,{"children":"$L10"}],["$","$L11",null,{"children":"$L12"}],null]}]]}],false]],"m":"$undefined","G":["$13","$undefined"],"s":false,"S":true} +:HL["/_next/static/css/b43dda0a8d427715.css","style"] +0:{"P":null,"b":"QktWtlsQL-2ss_eQyrSZD","p":"","c":["","dashboard","settings",""],"i":false,"f":[[["",{"children":["dashboard",{"children":["settings",{"children":["__PAGE__",{}]}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/b43dda0a8d427715.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":["$","body",null,{"className":"antialiased __className_9dae3d","children":[["$","$L2",null,{"attribute":"class","defaultTheme":"system","enableSystem":true,"disableTransitionOnChange":true,"children":["$","$L3",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[],[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]}],["$","$L6",null,{}]]}]}]]}],{"children":["dashboard",["$","$1","c",{"children":[null,["$","$L7",null,{"Component":"$8","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]},"params":{},"promise":"$@9"}]]}],{"children":["settings",["$","$1","c",{"children":[null,["$","$L7",null,{"Component":"$a","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children","settings","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]},"params":"$0:f:0:1:2:children:1:props:children:1:props:params","promise":"$@b"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$Lc",null,{}],null,["$","$Ld",null,{"children":"$Le"}]]}],{},null,false]},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,["$","$1","I7PvEKHdTBJk0m-rfPvK0",{"children":[["$","$Lf",null,{"children":"$L10"}],["$","$L11",null,{"children":"$L12"}],null]}]]}],false]],"m":"$undefined","G":["$13","$undefined"],"s":false,"S":true} 9:{} b:{} 12:[["$","meta","0",{"name":"viewport","content":"width=device-width, initial-scale=1"}]] diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/settings/personalization/index.html b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/settings/personalization/index.html index 3b464fd..dd9e4de 100644 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/settings/personalization/index.html +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/settings/personalization/index.html @@ -1 +1 @@ -QuecManager
                                                                                                          \ No newline at end of file +QuecManager
                                                                                                            \ No newline at end of file diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/settings/personalization/index.txt b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/settings/personalization/index.txt index b28b078..d278ab4 100644 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/settings/personalization/index.txt +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/settings/personalization/index.txt @@ -5,7 +5,7 @@ 5:I[81570,[],""] 6:I[62825,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","3048","static/chunks/3048-9766c902a7fac6d2.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7177","static/chunks/app/layout-ddd6481449252af3.js"],"Toaster"] 7:I[92907,[],"ClientSegmentRoot"] -8:I[63231,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","9464","static/chunks/9464-54895f8e78c474f0.js","9477","static/chunks/9477-4478381adb29cdff.js","564","static/chunks/564-bce78b0f1af68d0a.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","9873","static/chunks/9873-1f9f7420ad1929d8.js","6223","static/chunks/6223-985db5887dec3c8a.js","1954","static/chunks/app/dashboard/layout-e1e7681e45955939.js"],"default"] +8:I[63231,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","9464","static/chunks/9464-54895f8e78c474f0.js","9477","static/chunks/9477-4478381adb29cdff.js","564","static/chunks/564-bce78b0f1af68d0a.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","9873","static/chunks/9873-1f9f7420ad1929d8.js","6223","static/chunks/6223-985db5887dec3c8a.js","1954","static/chunks/app/dashboard/layout-7031c764ad5e7199.js"],"default"] a:I[36994,["9477","static/chunks/9477-4478381adb29cdff.js","5680","static/chunks/app/dashboard/settings/layout-3bcd1d2cd2bb9cb9.js"],"default"] c:I[5329,[],"ClientPageRoot"] d:I[39898,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","9464","static/chunks/9464-54895f8e78c474f0.js","3494","static/chunks/3494-d763154adf622bee.js","940","static/chunks/940-09f21923885a1d0a.js","2824","static/chunks/app/dashboard/settings/personalization/page-ab9fa733339f0739.js"],"default"] @@ -13,8 +13,8 @@ d:I[39898,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/ch 12:I[99165,[],"MetadataBoundary"] 14:I[99165,[],"ViewportBoundary"] 16:I[25339,[],""] -:HL["/_next/static/css/e519296cc38ae8e2.css","style"] -0:{"P":null,"b":"uRwx5ooNp2kzLYjnL-ESB","p":"","c":["","dashboard","settings","personalization",""],"i":false,"f":[[["",{"children":["dashboard",{"children":["settings",{"children":["personalization",{"children":["__PAGE__",{}]}]}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/e519296cc38ae8e2.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":["$","body",null,{"className":"antialiased __className_9dae3d","children":[["$","$L2",null,{"attribute":"class","defaultTheme":"system","enableSystem":true,"disableTransitionOnChange":true,"children":["$","$L3",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[],[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]}],["$","$L6",null,{}]]}]}]]}],{"children":["dashboard",["$","$1","c",{"children":[null,["$","$L7",null,{"Component":"$8","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]},"params":{},"promise":"$@9"}]]}],{"children":["settings",["$","$1","c",{"children":[null,["$","$L7",null,{"Component":"$a","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children","settings","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]},"params":"$0:f:0:1:2:children:1:props:children:1:props:params","promise":"$@b"}]]}],{"children":["personalization",["$","$1","c",{"children":[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children","settings","children","personalization","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$Lc",null,{"Component":"$d","searchParams":{},"params":"$0:f:0:1:2:children:1:props:children:1:props:params","promises":["$@e","$@f"]}],null,["$","$L10",null,{"children":"$L11"}]]}],{},null,false]},null,false]},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,["$","$1","FSu5uOdSj5LJT7hECNFDQ",{"children":[["$","$L12",null,{"children":"$L13"}],["$","$L14",null,{"children":"$L15"}],null]}]]}],false]],"m":"$undefined","G":["$16","$undefined"],"s":false,"S":true} +:HL["/_next/static/css/b43dda0a8d427715.css","style"] +0:{"P":null,"b":"QktWtlsQL-2ss_eQyrSZD","p":"","c":["","dashboard","settings","personalization",""],"i":false,"f":[[["",{"children":["dashboard",{"children":["settings",{"children":["personalization",{"children":["__PAGE__",{}]}]}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/b43dda0a8d427715.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":["$","body",null,{"className":"antialiased __className_9dae3d","children":[["$","$L2",null,{"attribute":"class","defaultTheme":"system","enableSystem":true,"disableTransitionOnChange":true,"children":["$","$L3",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[],[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]}],["$","$L6",null,{}]]}]}]]}],{"children":["dashboard",["$","$1","c",{"children":[null,["$","$L7",null,{"Component":"$8","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]},"params":{},"promise":"$@9"}]]}],{"children":["settings",["$","$1","c",{"children":[null,["$","$L7",null,{"Component":"$a","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children","settings","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]},"params":"$0:f:0:1:2:children:1:props:children:1:props:params","promise":"$@b"}]]}],{"children":["personalization",["$","$1","c",{"children":[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children","settings","children","personalization","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$Lc",null,{"Component":"$d","searchParams":{},"params":"$0:f:0:1:2:children:1:props:children:1:props:params","promises":["$@e","$@f"]}],null,["$","$L10",null,{"children":"$L11"}]]}],{},null,false]},null,false]},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,["$","$1","91gK3-zpo-kFe0qpvxSCO",{"children":[["$","$L12",null,{"children":"$L13"}],["$","$L14",null,{"children":"$L15"}],null]}]]}],false]],"m":"$undefined","G":["$16","$undefined"],"s":false,"S":true} 9:{} b:{} e:{} diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/settings/security/index.html b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/settings/security/index.html index 407b525..18709c0 100644 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/settings/security/index.html +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/settings/security/index.html @@ -1 +1 @@ -QuecManager
                                                                                                              \ No newline at end of file +QuecManager
                                                                                                                \ No newline at end of file diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/settings/security/index.txt b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/settings/security/index.txt index 438d8d6..0121718 100644 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/settings/security/index.txt +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/settings/security/index.txt @@ -5,7 +5,7 @@ 5:I[81570,[],""] 6:I[62825,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","3048","static/chunks/3048-9766c902a7fac6d2.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7177","static/chunks/app/layout-ddd6481449252af3.js"],"Toaster"] 7:I[92907,[],"ClientSegmentRoot"] -8:I[63231,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","9464","static/chunks/9464-54895f8e78c474f0.js","9477","static/chunks/9477-4478381adb29cdff.js","564","static/chunks/564-bce78b0f1af68d0a.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","9873","static/chunks/9873-1f9f7420ad1929d8.js","6223","static/chunks/6223-985db5887dec3c8a.js","1954","static/chunks/app/dashboard/layout-e1e7681e45955939.js"],"default"] +8:I[63231,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","9464","static/chunks/9464-54895f8e78c474f0.js","9477","static/chunks/9477-4478381adb29cdff.js","564","static/chunks/564-bce78b0f1af68d0a.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","9873","static/chunks/9873-1f9f7420ad1929d8.js","6223","static/chunks/6223-985db5887dec3c8a.js","1954","static/chunks/app/dashboard/layout-7031c764ad5e7199.js"],"default"] a:I[36994,["9477","static/chunks/9477-4478381adb29cdff.js","5680","static/chunks/app/dashboard/settings/layout-3bcd1d2cd2bb9cb9.js"],"default"] c:I[5329,[],"ClientPageRoot"] d:I[16212,["7780","static/chunks/7780-f325b2d7864a75f9.js","2162","static/chunks/app/dashboard/settings/security/page-37882e34773bbe1d.js"],"default"] @@ -13,8 +13,8 @@ d:I[16212,["7780","static/chunks/7780-f325b2d7864a75f9.js","2162","static/chunks 12:I[99165,[],"MetadataBoundary"] 14:I[99165,[],"ViewportBoundary"] 16:I[25339,[],""] -:HL["/_next/static/css/e519296cc38ae8e2.css","style"] -0:{"P":null,"b":"uRwx5ooNp2kzLYjnL-ESB","p":"","c":["","dashboard","settings","security",""],"i":false,"f":[[["",{"children":["dashboard",{"children":["settings",{"children":["security",{"children":["__PAGE__",{}]}]}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/e519296cc38ae8e2.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":["$","body",null,{"className":"antialiased __className_9dae3d","children":[["$","$L2",null,{"attribute":"class","defaultTheme":"system","enableSystem":true,"disableTransitionOnChange":true,"children":["$","$L3",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[],[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]}],["$","$L6",null,{}]]}]}]]}],{"children":["dashboard",["$","$1","c",{"children":[null,["$","$L7",null,{"Component":"$8","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]},"params":{},"promise":"$@9"}]]}],{"children":["settings",["$","$1","c",{"children":[null,["$","$L7",null,{"Component":"$a","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children","settings","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]},"params":"$0:f:0:1:2:children:1:props:children:1:props:params","promise":"$@b"}]]}],{"children":["security",["$","$1","c",{"children":[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children","settings","children","security","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$Lc",null,{"Component":"$d","searchParams":{},"params":"$0:f:0:1:2:children:1:props:children:1:props:params","promises":["$@e","$@f"]}],null,["$","$L10",null,{"children":"$L11"}]]}],{},null,false]},null,false]},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,["$","$1","uUgEsoXIL8UplvwBkfX3j",{"children":[["$","$L12",null,{"children":"$L13"}],["$","$L14",null,{"children":"$L15"}],null]}]]}],false]],"m":"$undefined","G":["$16","$undefined"],"s":false,"S":true} +:HL["/_next/static/css/b43dda0a8d427715.css","style"] +0:{"P":null,"b":"QktWtlsQL-2ss_eQyrSZD","p":"","c":["","dashboard","settings","security",""],"i":false,"f":[[["",{"children":["dashboard",{"children":["settings",{"children":["security",{"children":["__PAGE__",{}]}]}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/b43dda0a8d427715.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":["$","body",null,{"className":"antialiased __className_9dae3d","children":[["$","$L2",null,{"attribute":"class","defaultTheme":"system","enableSystem":true,"disableTransitionOnChange":true,"children":["$","$L3",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[],[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]}],["$","$L6",null,{}]]}]}]]}],{"children":["dashboard",["$","$1","c",{"children":[null,["$","$L7",null,{"Component":"$8","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]},"params":{},"promise":"$@9"}]]}],{"children":["settings",["$","$1","c",{"children":[null,["$","$L7",null,{"Component":"$a","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children","settings","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]},"params":"$0:f:0:1:2:children:1:props:children:1:props:params","promise":"$@b"}]]}],{"children":["security",["$","$1","c",{"children":[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children","settings","children","security","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$Lc",null,{"Component":"$d","searchParams":{},"params":"$0:f:0:1:2:children:1:props:children:1:props:params","promises":["$@e","$@f"]}],null,["$","$L10",null,{"children":"$L11"}]]}],{},null,false]},null,false]},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,["$","$1","LVW9IFFtWuomSCM0uOFUy",{"children":[["$","$L12",null,{"children":"$L13"}],["$","$L14",null,{"children":"$L15"}],null]}]]}],false]],"m":"$undefined","G":["$16","$undefined"],"s":false,"S":true} 9:{} b:{} e:{} diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/index.txt b/ipk-source/sdxpinn-quecmanager-beta/root/www/index.txt index 1e4654c..c0e830b 100644 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/index.txt +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/index.txt @@ -4,13 +4,13 @@ 4:I[24900,[],""] 5:I[81570,[],""] 6:I[62825,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","3048","static/chunks/3048-9766c902a7fac6d2.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7177","static/chunks/app/layout-ddd6481449252af3.js"],"Toaster"] -7:I[69363,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","9464","static/chunks/9464-54895f8e78c474f0.js","9477","static/chunks/9477-4478381adb29cdff.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","1074","static/chunks/1074-d79f1d7c29de56fa.js","9873","static/chunks/9873-1f9f7420ad1929d8.js","8974","static/chunks/app/page-326b7ebc65edd149.js"],"default"] +7:I[69363,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","9464","static/chunks/9464-54895f8e78c474f0.js","9477","static/chunks/9477-4478381adb29cdff.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","1074","static/chunks/1074-d79f1d7c29de56fa.js","9873","static/chunks/9873-1f9f7420ad1929d8.js","8974","static/chunks/app/page-8f440c28891052af.js"],"default"] 8:I[99165,[],"OutletBoundary"] a:I[99165,[],"MetadataBoundary"] c:I[99165,[],"ViewportBoundary"] e:I[25339,[],""] -:HL["/_next/static/css/e519296cc38ae8e2.css","style"] -0:{"P":null,"b":"uRwx5ooNp2kzLYjnL-ESB","p":"","c":["",""],"i":false,"f":[[["",{"children":["__PAGE__",{}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/e519296cc38ae8e2.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":["$","body",null,{"className":"antialiased __className_9dae3d","children":[["$","$L2",null,{"attribute":"class","defaultTheme":"system","enableSystem":true,"disableTransitionOnChange":true,"children":["$","$L3",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[],[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]}],["$","$L6",null,{}]]}]}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","div",null,{"className":"grid grid-rows-[20px_1fr_20px] items-center justify-items-center min-h-screen p-8 pb-20 gap-16 sm:p-20","children":["$","main",null,{"className":"flex flex-col gap-8 row-start-2 items-center sm:items-start","children":["$","$L7",null,{}]}]}],null,["$","$L8",null,{"children":"$L9"}]]}],{},null,false]},null,false],["$","$1","h",{"children":[null,["$","$1","E5fohiLnA-Q-VUPQXxWYF",{"children":[["$","$La",null,{"children":"$Lb"}],["$","$Lc",null,{"children":"$Ld"}],null]}]]}],false]],"m":"$undefined","G":["$e","$undefined"],"s":false,"S":true} +:HL["/_next/static/css/b43dda0a8d427715.css","style"] +0:{"P":null,"b":"QktWtlsQL-2ss_eQyrSZD","p":"","c":["",""],"i":false,"f":[[["",{"children":["__PAGE__",{}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/b43dda0a8d427715.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":["$","body",null,{"className":"antialiased __className_9dae3d","children":[["$","$L2",null,{"attribute":"class","defaultTheme":"system","enableSystem":true,"disableTransitionOnChange":true,"children":["$","$L3",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[],[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]}],["$","$L6",null,{}]]}]}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","div",null,{"className":"grid grid-rows-[20px_1fr_20px] items-center justify-items-center min-h-screen p-8 pb-20 gap-16 sm:p-20","children":["$","main",null,{"className":"flex flex-col gap-8 row-start-2 items-center sm:items-start","children":["$","$L7",null,{}]}]}],null,["$","$L8",null,{"children":"$L9"}]]}],{},null,false]},null,false],["$","$1","h",{"children":[null,["$","$1","5MXZkFjeKcn8S_gG7nZcV",{"children":[["$","$La",null,{"children":"$Lb"}],["$","$Lc",null,{"children":"$Ld"}],null]}]]}],false]],"m":"$undefined","G":["$e","$undefined"],"s":false,"S":true} d:[["$","meta","0",{"name":"viewport","content":"width=device-width, initial-scale=1"}]] b:[["$","meta","0",{"charSet":"utf-8"}],["$","title","1",{"children":"QuecManager"}],["$","meta","2",{"name":"description","content":"Simpleadmin but better!"}],["$","link","3",{"rel":"icon","href":"/favicon.ico","type":"image/x-icon","sizes":"16x16"}]] 9:null diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/legal/privacy/index.html b/ipk-source/sdxpinn-quecmanager-beta/root/www/legal/privacy/index.html index 140ed11..4166c19 100644 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/legal/privacy/index.html +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/legal/privacy/index.html @@ -1 +1 @@ -QuecManager

                                                                                                                QuecManager Privacy Policy

                                                                                                                Your privacy is important to us. This Privacy Policy explains how QuecManager handles your information when you use our cellular modem management software.

                                                                                                                1. Privacy Overview

                                                                                                                QuecManager is designed with privacy as a core principle. As a local network management tool for Quectel cellular modems and routers, QuecManager operates primarily on your local network and devices, minimizing data collection and external communications.

                                                                                                                Key Privacy Principles:

                                                                                                                • Local-first processing - your data stays on your network
                                                                                                                • Minimal data collection - we only collect what's necessary
                                                                                                                • No remote tracking - no analytics sent to external servers
                                                                                                                • User control - you decide what data to share and when
                                                                                                                • Transparency - clear information about any data handling

                                                                                                                2. Third-Party Disclaimer

                                                                                                                Important Notice: QuecManager is an independent, third-party software application and is not affiliated with, endorsed by, or sponsored by Quectel Wireless Solutions Co., Ltd. or any of its subsidiaries or affiliates. This privacy policy applies solely to QuecManager and not to Quectel's own services or products.

                                                                                                                2.1 Independent Privacy Practices: This privacy policy governs only how QuecManager handles your information. Quectel has its own privacy policies and data handling practices that are separate from ours.

                                                                                                                2.2 Device Data Interaction: While QuecManager interacts with Quectel devices to provide management functionality, we do not share your data with Quectel, and Quectel does not have access to information processed by QuecManager unless you separately share it with them.

                                                                                                                2.3 Support and Responsibility: Quectel is not responsible for QuecManager's privacy practices or data handling. All privacy-related inquiries about QuecManager should be directed to the QuecManager development team.

                                                                                                                3. Information We Collect

                                                                                                                3.1 Device Configuration Data (Local Only)

                                                                                                                QuecManager accesses and displays information from your cellular modems and routers to provide management functionality. This includes:

                                                                                                                • Device model, firmware version, and hardware identifiers
                                                                                                                • Network configuration settings (APN, carrier settings, IP addresses)
                                                                                                                • Signal strength, connection status, and performance metrics
                                                                                                                • Data usage statistics and connection logs
                                                                                                                • Device temperature, memory usage, and system status
                                                                                                                • Custom configuration profiles and user-defined settings

                                                                                                                Important: This data is processed locally on your network and is not transmitted to external servers unless you explicitly enable specific features that require it.

                                                                                                                3.2 User-Provided Information

                                                                                                                Information you voluntarily provide when using QuecManager:

                                                                                                                • Custom device names and labels
                                                                                                                • Network configuration preferences
                                                                                                                • User profiles and access credentials (stored locally)
                                                                                                                • Custom scripts and automation rules
                                                                                                                • Backup and export data

                                                                                                                4. How We Use Your Information

                                                                                                                4.1 Primary Functions

                                                                                                                • Device Management: Display and configure your cellular modem settings
                                                                                                                • Network Monitoring: Show real-time connection status and performance data
                                                                                                                • Troubleshooting: Provide diagnostic tools and error analysis
                                                                                                                • Performance Optimization: Help optimize your network configuration

                                                                                                                We Do NOT Use Your Information For:

                                                                                                                • Advertising or marketing purposes
                                                                                                                • Selling or sharing with third parties
                                                                                                                • Creating user profiles for commercial purposes
                                                                                                                • Tracking your internet usage or browsing habits
                                                                                                                • Monitoring your cellular data consumption for business intelligence

                                                                                                                5. Data Storage and Security

                                                                                                                5.1 Local Storage

                                                                                                                The majority of your data is stored locally on your devices and network:

                                                                                                                • Browser Storage: Application settings and preferences in local browser storage
                                                                                                                • Device Memory: Configuration data stored on your cellular modems and routers
                                                                                                                • Local Database: Historical data and logs stored on your local network
                                                                                                                • Configuration Files: Backup files and profiles stored locally

                                                                                                                5.2 Security Measures

                                                                                                                Technical Security

                                                                                                                • Secure authentication protocols
                                                                                                                • Input validation and sanitization
                                                                                                                • Regular security updates

                                                                                                                Access Control

                                                                                                                • User authentication requirements
                                                                                                                • Role-based access permissions
                                                                                                                • Session management and timeouts
                                                                                                                • Device-level security integration

                                                                                                                5.3 Data Retention

                                                                                                                • Local Data: Retained until you delete it or uninstall QuecManager
                                                                                                                • Error Logs: Crash reports retained for up to 6 months for debugging

                                                                                                                6. Information Sharing and Disclosure

                                                                                                                We Do Not Sell, Rent, or Share Your Personal Information

                                                                                                                QuecManager does not sell, rent, lease, or otherwise provide your personal information or device data to third parties for commercial purposes.

                                                                                                                6.1 Limited Sharing Scenarios

                                                                                                                We may share information only in these specific circumstances:

                                                                                                                • With Your Consent: When you explicitly authorize sharing with specific services
                                                                                                                • Service Providers: Anonymous data with trusted partners who help improve the software
                                                                                                                • Legal Requirements: When required by law, regulation, or court order
                                                                                                                • Security Incidents: To protect against fraud, abuse, or security threats
                                                                                                                • Business Transfers: In the event of a merger, acquisition, or asset sale

                                                                                                                6.2 Third-Party Integrations

                                                                                                                QuecManager may offer optional integrations with third-party services:

                                                                                                                • Optional secure VPN services (such as Tailscale) that you explicitly configure and authorize, with all data remaining encrypted and under your control
                                                                                                                • Device manufacturer update services (for firmware updates)

                                                                                                                Your Control: All third-party integrations are optional and require your explicit consent.

                                                                                                                7. Your Privacy Rights and Choices

                                                                                                                7.1 Access and Control

                                                                                                                You have the right to:

                                                                                                                • Access Your Data: View all information stored by QuecManager
                                                                                                                • Modify Settings: Change configuration and privacy preferences
                                                                                                                • Export Data: Download your device configurations and settings
                                                                                                                • Delete Data: Remove stored information and user profiles
                                                                                                                • Disable Analytics: Turn off usage data collection
                                                                                                                • Opt-out: Decline optional data sharing and integrations

                                                                                                                7.2 Account Deletion

                                                                                                                To completely remove your data:

                                                                                                                1. Access your device's administration interface (LuCI)
                                                                                                                2. Go to "System" → "Software" in the navigation menu
                                                                                                                3. Locate and uninstall the QuecManager package
                                                                                                                4. Clear all stored data:
                                                                                                                  • Clear browser cache and local storage
                                                                                                                  • Delete any saved configurations
                                                                                                                  • Remove custom settings and profiles
                                                                                                                5. Optional: Perform a factory reset on your device for complete data removal
                                                                                                                6. Contact support if you need confirmation of data deletion

                                                                                                                8. Children's Privacy

                                                                                                                QuecManager is designed for professional and technical use in managing cellular network equipment. Our service is not intended for children under the age of 13, and we do not knowingly collect personal information from children under 13.

                                                                                                                For users between 13 and 18 years of age, we recommend parental guidance when using QuecManager, as it involves managing network equipment that may affect internet connectivity and data usage.

                                                                                                                9. International Data Transfers

                                                                                                                QuecManager is designed to operate locally on your network, minimizing international data transfers. However, in limited circumstances, data may be transferred internationally:

                                                                                                                • Software Updates: Update checks and downloads from our servers

                                                                                                                When international transfers occur, we ensure appropriate safeguards are in place to protect your information in accordance with applicable data protection laws, including GDPR, CCPA, and other regional privacy regulations.

                                                                                                                10. Changes to This Privacy Policy

                                                                                                                We may update this Privacy Policy from time to time to reflect changes in our practices, technology, or legal requirements. When we make changes:

                                                                                                                • We will update the "Last Updated" date at the top of this policy
                                                                                                                • Significant changes will be highlighted in the application
                                                                                                                • We may provide additional notice through the software interface
                                                                                                                • Continued use of QuecManager after changes constitutes acceptance

                                                                                                                We encourage you to review this Privacy Policy periodically to stay informed about how we protect your information.

                                                                                                                11. Contact Us

                                                                                                                If you have questions, concerns, or requests regarding this Privacy Policy or how we handle your information, please contact us through:

                                                                                                                General Inquiries

                                                                                                                • GitHub repository issues and discussions
                                                                                                                • Official documentation and FAQ
                                                                                                                • Community forums and support channels

                                                                                                                Privacy-Specific Requests

                                                                                                                • Privacy concerns and questions
                                                                                                                • GDPR and CCPA related inquiries
                                                                                                                QuecManager Logo

                                                                                                                QuecManager Privacy Policy - Version 1.0

                                                                                                                Last Updated: August 18, 2025

                                                                                                                This Privacy Policy describes how QuecManager handles your information. By using our software, you acknowledge that you have read and understood this policy. We are committed to protecting your privacy and providing transparent information about our data practices.

                                                                                                                  \ No newline at end of file +QuecManager

                                                                                                                  QuecManager Privacy Policy

                                                                                                                  Your privacy is important to us. This Privacy Policy explains how QuecManager handles your information when you use our cellular modem management software.

                                                                                                                  1. Privacy Overview

                                                                                                                  QuecManager is designed with privacy as a core principle. As a local network management tool for Quectel cellular modems and routers, QuecManager operates primarily on your local network and devices, minimizing data collection and external communications.

                                                                                                                  Key Privacy Principles:

                                                                                                                  • Local-first processing - your data stays on your network
                                                                                                                  • Minimal data collection - we only collect what's necessary
                                                                                                                  • No remote tracking - no analytics sent to external servers
                                                                                                                  • User control - you decide what data to share and when
                                                                                                                  • Transparency - clear information about any data handling

                                                                                                                  2. Third-Party Disclaimer

                                                                                                                  Important Notice: QuecManager is an independent, third-party software application and is not affiliated with, endorsed by, or sponsored by Quectel Wireless Solutions Co., Ltd. or any of its subsidiaries or affiliates. This privacy policy applies solely to QuecManager and not to Quectel's own services or products.

                                                                                                                  2.1 Independent Privacy Practices: This privacy policy governs only how QuecManager handles your information. Quectel has its own privacy policies and data handling practices that are separate from ours.

                                                                                                                  2.2 Device Data Interaction: While QuecManager interacts with Quectel devices to provide management functionality, we do not share your data with Quectel, and Quectel does not have access to information processed by QuecManager unless you separately share it with them.

                                                                                                                  2.3 Support and Responsibility: Quectel is not responsible for QuecManager's privacy practices or data handling. All privacy-related inquiries about QuecManager should be directed to the QuecManager development team.

                                                                                                                  3. Information We Collect

                                                                                                                  3.1 Device Configuration Data (Local Only)

                                                                                                                  QuecManager accesses and displays information from your cellular modems and routers to provide management functionality. This includes:

                                                                                                                  • Device model, firmware version, and hardware identifiers
                                                                                                                  • Network configuration settings (APN, carrier settings, IP addresses)
                                                                                                                  • Signal strength, connection status, and performance metrics
                                                                                                                  • Data usage statistics and connection logs
                                                                                                                  • Device temperature, memory usage, and system status
                                                                                                                  • Custom configuration profiles and user-defined settings

                                                                                                                  Important: This data is processed locally on your network and is not transmitted to external servers unless you explicitly enable specific features that require it.

                                                                                                                  3.2 User-Provided Information

                                                                                                                  Information you voluntarily provide when using QuecManager:

                                                                                                                  • Custom device names and labels
                                                                                                                  • Network configuration preferences
                                                                                                                  • User profiles and access credentials (stored locally)
                                                                                                                  • Custom scripts and automation rules
                                                                                                                  • Backup and export data

                                                                                                                  4. How We Use Your Information

                                                                                                                  4.1 Primary Functions

                                                                                                                  • Device Management: Display and configure your cellular modem settings
                                                                                                                  • Network Monitoring: Show real-time connection status and performance data
                                                                                                                  • Troubleshooting: Provide diagnostic tools and error analysis
                                                                                                                  • Performance Optimization: Help optimize your network configuration

                                                                                                                  We Do NOT Use Your Information For:

                                                                                                                  • Advertising or marketing purposes
                                                                                                                  • Selling or sharing with third parties
                                                                                                                  • Creating user profiles for commercial purposes
                                                                                                                  • Tracking your internet usage or browsing habits
                                                                                                                  • Monitoring your cellular data consumption for business intelligence

                                                                                                                  5. Data Storage and Security

                                                                                                                  5.1 Local Storage

                                                                                                                  The majority of your data is stored locally on your devices and network:

                                                                                                                  • Browser Storage: Application settings and preferences in local browser storage
                                                                                                                  • Device Memory: Configuration data stored on your cellular modems and routers
                                                                                                                  • Local Database: Historical data and logs stored on your local network
                                                                                                                  • Configuration Files: Backup files and profiles stored locally

                                                                                                                  5.2 Security Measures

                                                                                                                  Technical Security

                                                                                                                  • Secure authentication protocols
                                                                                                                  • Input validation and sanitization
                                                                                                                  • Regular security updates

                                                                                                                  Access Control

                                                                                                                  • User authentication requirements
                                                                                                                  • Role-based access permissions
                                                                                                                  • Session management and timeouts
                                                                                                                  • Device-level security integration

                                                                                                                  5.3 Data Retention

                                                                                                                  • Local Data: Retained until you delete it or uninstall QuecManager
                                                                                                                  • Error Logs: Crash reports retained for up to 6 months for debugging

                                                                                                                  6. Information Sharing and Disclosure

                                                                                                                  We Do Not Sell, Rent, or Share Your Personal Information

                                                                                                                  QuecManager does not sell, rent, lease, or otherwise provide your personal information or device data to third parties for commercial purposes.

                                                                                                                  6.1 Limited Sharing Scenarios

                                                                                                                  We may share information only in these specific circumstances:

                                                                                                                  • With Your Consent: When you explicitly authorize sharing with specific services
                                                                                                                  • Service Providers: Anonymous data with trusted partners who help improve the software
                                                                                                                  • Legal Requirements: When required by law, regulation, or court order
                                                                                                                  • Security Incidents: To protect against fraud, abuse, or security threats
                                                                                                                  • Business Transfers: In the event of a merger, acquisition, or asset sale

                                                                                                                  6.2 Third-Party Integrations

                                                                                                                  QuecManager may offer optional integrations with third-party services:

                                                                                                                  • Optional secure VPN services (such as Tailscale) that you explicitly configure and authorize, with all data remaining encrypted and under your control
                                                                                                                  • Device manufacturer update services (for firmware updates)

                                                                                                                  Your Control: All third-party integrations are optional and require your explicit consent.

                                                                                                                  7. Your Privacy Rights and Choices

                                                                                                                  7.1 Access and Control

                                                                                                                  You have the right to:

                                                                                                                  • Access Your Data: View all information stored by QuecManager
                                                                                                                  • Modify Settings: Change configuration and privacy preferences
                                                                                                                  • Export Data: Download your device configurations and settings
                                                                                                                  • Delete Data: Remove stored information and user profiles
                                                                                                                  • Disable Analytics: Turn off usage data collection
                                                                                                                  • Opt-out: Decline optional data sharing and integrations

                                                                                                                  7.2 Account Deletion

                                                                                                                  To completely remove your data:

                                                                                                                  1. Access your device's administration interface (LuCI)
                                                                                                                  2. Go to "System" → "Software" in the navigation menu
                                                                                                                  3. Locate and uninstall the QuecManager package
                                                                                                                  4. Clear all stored data:
                                                                                                                    • Clear browser cache and local storage
                                                                                                                    • Delete any saved configurations
                                                                                                                    • Remove custom settings and profiles
                                                                                                                  5. Optional: Perform a factory reset on your device for complete data removal
                                                                                                                  6. Contact support if you need confirmation of data deletion

                                                                                                                  8. Children's Privacy

                                                                                                                  QuecManager is designed for professional and technical use in managing cellular network equipment. Our service is not intended for children under the age of 13, and we do not knowingly collect personal information from children under 13.

                                                                                                                  For users between 13 and 18 years of age, we recommend parental guidance when using QuecManager, as it involves managing network equipment that may affect internet connectivity and data usage.

                                                                                                                  9. International Data Transfers

                                                                                                                  QuecManager is designed to operate locally on your network, minimizing international data transfers. However, in limited circumstances, data may be transferred internationally:

                                                                                                                  • Software Updates: Update checks and downloads from our servers

                                                                                                                  When international transfers occur, we ensure appropriate safeguards are in place to protect your information in accordance with applicable data protection laws, including GDPR, CCPA, and other regional privacy regulations.

                                                                                                                  10. Changes to This Privacy Policy

                                                                                                                  We may update this Privacy Policy from time to time to reflect changes in our practices, technology, or legal requirements. When we make changes:

                                                                                                                  • We will update the "Last Updated" date at the top of this policy
                                                                                                                  • Significant changes will be highlighted in the application
                                                                                                                  • We may provide additional notice through the software interface
                                                                                                                  • Continued use of QuecManager after changes constitutes acceptance

                                                                                                                  We encourage you to review this Privacy Policy periodically to stay informed about how we protect your information.

                                                                                                                  11. Contact Us

                                                                                                                  If you have questions, concerns, or requests regarding this Privacy Policy or how we handle your information, please contact us through:

                                                                                                                  General Inquiries

                                                                                                                  • GitHub repository issues and discussions
                                                                                                                  • Official documentation and FAQ
                                                                                                                  • Community forums and support channels

                                                                                                                  Privacy-Specific Requests

                                                                                                                  • Privacy concerns and questions
                                                                                                                  • GDPR and CCPA related inquiries
                                                                                                                  QuecManager Logo

                                                                                                                  QuecManager Privacy Policy - Version 1.0

                                                                                                                  Last Updated: August 18, 2025

                                                                                                                  This Privacy Policy describes how QuecManager handles your information. By using our software, you acknowledge that you have read and understood this policy. We are committed to protecting your privacy and providing transparent information about our data practices.

                                                                                                                    \ No newline at end of file diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/legal/privacy/index.txt b/ipk-source/sdxpinn-quecmanager-beta/root/www/legal/privacy/index.txt index 51a1e9e..50d1ef5 100644 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/legal/privacy/index.txt +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/legal/privacy/index.txt @@ -10,8 +10,8 @@ b:I[99165,[],"MetadataBoundary"] d:I[99165,[],"ViewportBoundary"] f:I[25339,[],""] -:HL["/_next/static/css/e519296cc38ae8e2.css","style"] -0:{"P":null,"b":"uRwx5ooNp2kzLYjnL-ESB","p":"","c":["","legal","privacy",""],"i":false,"f":[[["",{"children":["legal",{"children":["privacy",{"children":["__PAGE__",{}]}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/e519296cc38ae8e2.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":["$","body",null,{"className":"antialiased __className_9dae3d","children":[["$","$L2",null,{"attribute":"class","defaultTheme":"system","enableSystem":true,"disableTransitionOnChange":true,"children":["$","$L3",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[],[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]}],["$","$L6",null,{}]]}]}]]}],{"children":["legal",["$","$1","c",{"children":[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","legal","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["privacy",["$","$1","c",{"children":[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","legal","children","privacy","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","div",null,{"className":"max-w-4xl mx-auto p-6 space-y-6","children":["$","div",null,{"ref":"$undefined","className":"rounded-xl border bg-card text-card-foreground shadow","children":[["$","div",null,{"ref":"$undefined","className":"flex flex-col space-y-1.5 p-6 text-center","children":[["$","div",null,{"className":"flex justify-center mb-4","children":["$","svg",null,{"ref":"$undefined","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","className":"lucide lucide-shield h-12 w-12 text-blue-600 dark:text-blue-400","children":[["$","path","oel41y",{"d":"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z"}],"$undefined"]}]}],["$","h3",null,{"ref":"$undefined","className":"tracking-tight text-3xl font-bold text-gray-900 dark:text-gray-100","children":"QuecManager Privacy Policy"}],["$","div",null,{"className":"flex justify-center items-center gap-4 mt-4","children":["$","$L7",null,{"href":"/login","children":["$","button",null,{"className":"inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0 text-primary underline-offset-4 hover:underline h-9 px-4 py-2","ref":"$undefined","children":[["$","svg",null,{"ref":"$undefined","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","className":"lucide lucide-arrow-left size-4","children":[["$","path","1l729n",{"d":"m12 19-7-7 7-7"}],["$","path","x3x0zl",{"d":"M19 12H5"}],"$undefined"]}],"Go Back"]}]}]}],["$","p",null,{"className":"text-gray-600 dark:text-gray-400 mt-4 max-w-2xl mx-auto","children":"Your privacy is important to us. This Privacy Policy explains how QuecManager handles your information when you use our cellular modem management software."}]]}],["$","div",null,{"ref":"$undefined","className":"p-6 pt-0 space-y-8","children":[["$","section",null,{"children":[["$","div",null,{"className":"flex items-center gap-3 mb-4","children":[["$","svg",null,{"ref":"$undefined","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","className":"lucide lucide-eye h-6 w-6 text-blue-600 dark:text-blue-400","children":[["$","path","1nclc0",{"d":"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0"}],["$","circle","1v7zrd",{"cx":"12","cy":"12","r":"3"}],"$undefined"]}],["$","h2",null,{"className":"text-2xl font-semibold text-gray-800 dark:text-gray-200","children":"1. Privacy Overview"}]]}],["$","div",null,{"className":"space-y-4 text-gray-700 dark:text-gray-300","children":[["$","p",null,{"className":"leading-relaxed","children":"QuecManager is designed with privacy as a core principle. As a local network management tool for Quectel cellular modems and routers, QuecManager operates primarily on your local network and devices, minimizing data collection and external communications."}],["$","div",null,{"className":"bg-green-50 dark:bg-green-900/20 border border-green-200 dark:border-green-800 rounded-lg p-4","children":[["$","h3",null,{"className":"font-semibold text-green-800 dark:text-green-200 mb-2","children":"Key Privacy Principles:"}],["$","ul",null,{"className":"list-disc list-inside space-y-1 text-green-700 dark:text-green-300","children":[["$","li",null,{"children":"Local-first processing - your data stays on your network"}],["$","li",null,{"children":"Minimal data collection - we only collect what's necessary"}],["$","li",null,{"children":"No remote tracking - no analytics sent to external servers"}],["$","li",null,{"children":"User control - you decide what data to share and when"}],["$","li",null,{"children":"Transparency - clear information about any data handling"}]]}]]}]]}]]}],["$","$L8",null,{}],["$","section",null,{"children":[["$","div",null,{"className":"flex items-center gap-3 mb-4","children":[["$","svg",null,{"ref":"$undefined","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","className":"lucide lucide-triangle-alert h-6 w-6 text-orange-600 dark:text-orange-400","children":[["$","path","wmoenq",{"d":"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3"}],["$","path","juzpu7",{"d":"M12 9v4"}],["$","path","p32p05",{"d":"M12 17h.01"}],"$undefined"]}],["$","h2",null,{"className":"text-2xl font-semibold text-gray-800 dark:text-gray-200","children":"2. Third-Party Disclaimer"}]]}],["$","div",null,{"className":"bg-yellow-50 dark:bg-yellow-900/20 border border-yellow-200 dark:border-yellow-800 rounded-lg p-4 mb-4","children":["$","p",null,{"className":"text-gray-700 dark:text-gray-300 leading-relaxed","children":[["$","strong",null,{"className":"text-gray-900 dark:text-gray-100","children":"Important Notice:"}]," ","QuecManager is an independent, third-party software application and is ",["$","strong",null,{"children":"not affiliated with, endorsed by, or sponsored by Quectel Wireless Solutions Co., Ltd."}]," or any of its subsidiaries or affiliates. This privacy policy applies solely to QuecManager and not to Quectel's own services or products."]}]}],["$","div",null,{"className":"space-y-4 text-gray-700 dark:text-gray-300","children":[["$","p",null,{"children":[["$","strong",null,{"className":"text-gray-900 dark:text-gray-100","children":"2.1 Independent Privacy Practices:"}]," ","This privacy policy governs only how QuecManager handles your information. Quectel has its own privacy policies and data handling practices that are separate from ours."]}],["$","p",null,{"children":[["$","strong",null,{"className":"text-gray-900 dark:text-gray-100","children":"2.2 Device Data Interaction:"}]," ","While QuecManager interacts with Quectel devices to provide management functionality, we do not share your data with Quectel, and Quectel does not have access to information processed by QuecManager unless you separately share it with them."]}],["$","p",null,{"children":[["$","strong",null,{"className":"text-gray-900 dark:text-gray-100","children":"2.3 Support and Responsibility:"}]," ","Quectel is not responsible for QuecManager's privacy practices or data handling. All privacy-related inquiries about QuecManager should be directed to the QuecManager development team."]}]]}]]}],["$","$L8",null,{}],["$","section",null,{"children":[["$","div",null,{"className":"flex items-center gap-3 mb-4","children":[["$","svg",null,{"ref":"$undefined","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","className":"lucide lucide-database h-6 w-6 text-purple-600 dark:text-purple-400","children":[["$","ellipse","msslwz",{"cx":"12","cy":"5","rx":"9","ry":"3"}],["$","path","1wlel7",{"d":"M3 5V19A9 3 0 0 0 21 19V5"}],["$","path","mv7ke4",{"d":"M3 12A9 3 0 0 0 21 12"}],"$undefined"]}],["$","h2",null,{"className":"text-2xl font-semibold text-gray-800 dark:text-gray-200","children":"3. Information We Collect"}]]}],["$","div",null,{"className":"space-y-6 text-gray-700 dark:text-gray-300","children":[["$","div",null,{"children":[["$","h3",null,{"className":"text-lg font-semibold text-gray-800 dark:text-gray-200 mb-3","children":"3.1 Device Configuration Data (Local Only)"}],["$","p",null,{"className":"mb-3","children":"QuecManager accesses and displays information from your cellular modems and routers to provide management functionality. This includes:"}],["$","ul",null,{"className":"list-disc list-inside space-y-1 ml-4","children":[["$","li",null,{"children":"Device model, firmware version, and hardware identifiers"}],["$","li",null,{"children":"Network configuration settings (APN, carrier settings, IP addresses)"}],["$","li",null,{"children":"Signal strength, connection status, and performance metrics"}],["$","li",null,{"children":"Data usage statistics and connection logs"}],["$","li",null,{"children":"Device temperature, memory usage, and system status"}],["$","li",null,{"children":"Custom configuration profiles and user-defined settings"}]]}],["$","div",null,{"className":"mt-3 p-3 bg-blue-50 dark:bg-blue-900/20 border border-blue-200 dark:border-blue-800 rounded","children":["$","p",null,{"className":"text-blue-800 dark:text-blue-200 text-sm","children":[["$","strong",null,{"children":"Important:"}]," This data is processed locally on your network and is not transmitted to external servers unless you explicitly enable specific features that require it."]}]}]]}],["$","div",null,{"children":[["$","h3",null,{"className":"text-lg font-semibold text-gray-800 dark:text-gray-200 mb-3","children":"3.2 User-Provided Information"}],["$","p",null,{"className":"mb-3","children":"Information you voluntarily provide when using QuecManager:"}],["$","ul",null,{"className":"list-disc list-inside space-y-1 ml-4","children":[["$","li",null,{"children":"Custom device names and labels"}],["$","li",null,{"children":"Network configuration preferences"}],["$","li",null,{"children":"User profiles and access credentials (stored locally)"}],["$","li",null,{"children":"Custom scripts and automation rules"}],["$","li",null,{"children":"Backup and export data"}]]}]]}]]}]]}],["$","$L8",null,{}],["$","section",null,{"children":[["$","div",null,{"className":"flex items-center gap-3 mb-4","children":[["$","svg",null,{"ref":"$undefined","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","className":"lucide lucide-globe h-6 w-6 text-green-600 dark:text-green-400","children":[["$","circle","1mglay",{"cx":"12","cy":"12","r":"10"}],["$","path","13o1zl",{"d":"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20"}],["$","path","9i4pu4",{"d":"M2 12h20"}],"$undefined"]}],["$","h2",null,{"className":"text-2xl font-semibold text-gray-800 dark:text-gray-200","children":"4. How We Use Your Information"}]]}],["$","div",null,{"className":"space-y-4 text-gray-700 dark:text-gray-300","children":[["$","div",null,{"children":[["$","h3",null,{"className":"text-lg font-semibold text-gray-800 dark:text-gray-200 mb-3","children":"4.1 Primary Functions"}],["$","ul",null,{"className":"list-disc list-inside space-y-2 ml-4","children":[["$","li",null,{"children":[["$","strong",null,{"children":"Device Management:"}]," Display and configure your cellular modem settings"]}],["$","li",null,{"children":[["$","strong",null,{"children":"Network Monitoring:"}]," Show real-time connection status and performance data"]}],["$","li",null,{"children":[["$","strong",null,{"children":"Troubleshooting:"}]," Provide diagnostic tools and error analysis"]}],["$","li",null,{"children":[["$","strong",null,{"children":"Performance Optimization:"}]," Help optimize your network configuration"]}]]}]]}],["$","div",null,{"className":"bg-gray-50 dark:bg-gray-800/50 border border-gray-200 dark:border-gray-700 rounded-lg p-4","children":[["$","h3",null,{"className":"font-semibold text-gray-800 dark:text-gray-200 mb-2","children":"We Do NOT Use Your Information For:"}],["$","ul",null,{"className":"list-disc list-inside space-y-1 text-gray-600 dark:text-gray-400","children":[["$","li",null,{"children":"Advertising or marketing purposes"}],["$","li",null,{"children":"Selling or sharing with third parties"}],["$","li",null,{"children":"Creating user profiles for commercial purposes"}],["$","li",null,{"children":"Tracking your internet usage or browsing habits"}],["$","li",null,{"children":"Monitoring your cellular data consumption for business intelligence"}]]}]]}]]}]]}],["$","$L8",null,{}],["$","section",null,{"children":[["$","div",null,{"className":"flex items-center gap-3 mb-4","children":[["$","svg",null,{"ref":"$undefined","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","className":"lucide lucide-lock h-6 w-6 text-red-600 dark:text-red-400","children":[["$","rect","1w4ew1",{"width":"18","height":"11","x":"3","y":"11","rx":"2","ry":"2"}],["$","path","fwvmzm",{"d":"M7 11V7a5 5 0 0 1 10 0v4"}],"$undefined"]}],["$","h2",null,{"className":"text-2xl font-semibold text-gray-800 dark:text-gray-200","children":"5. Data Storage and Security"}]]}],["$","div",null,{"className":"space-y-4 text-gray-700 dark:text-gray-300","children":[["$","div",null,{"children":[["$","h3",null,{"className":"text-lg font-semibold text-gray-800 dark:text-gray-200 mb-3","children":"5.1 Local Storage"}],["$","p",null,{"className":"mb-3","children":"The majority of your data is stored locally on your devices and network:"}],["$","ul",null,{"className":"list-disc list-inside space-y-1 ml-4","children":[["$","li",null,{"children":[["$","strong",null,{"children":"Browser Storage:"}]," Application settings and preferences in local browser storage"]}],["$","li",null,{"children":[["$","strong",null,{"children":"Device Memory:"}]," Configuration data stored on your cellular modems and routers"]}],["$","li",null,{"children":[["$","strong",null,{"children":"Local Database:"}]," Historical data and logs stored on your local network"]}],["$","li",null,{"children":[["$","strong",null,{"children":"Configuration Files:"}]," Backup files and profiles stored locally"]}]]}]]}],["$","div",null,{"children":[["$","h3",null,{"className":"text-lg font-semibold text-gray-800 dark:text-gray-200 mb-3","children":"5.2 Security Measures"}],["$","div",null,{"className":"grid md:grid-cols-2 gap-4","children":[["$","div",null,{"className":"border border-gray-200 dark:border-gray-700 rounded-lg p-4","children":[["$","h4",null,{"className":"font-semibold text-gray-800 dark:text-gray-200 mb-2","children":"Technical Security"}],["$","ul",null,{"className":"list-disc list-inside space-y-1 text-sm","children":[["$","li",null,{"children":"Secure authentication protocols"}],["$","li",null,{"children":"Input validation and sanitization"}],["$","li",null,{"children":"Regular security updates"}]]}]]}],["$","div",null,{"className":"border border-gray-200 dark:border-gray-700 rounded-lg p-4","children":[["$","h4",null,{"className":"font-semibold text-gray-800 dark:text-gray-200 mb-2","children":"Access Control"}],["$","ul",null,{"className":"list-disc list-inside space-y-1 text-sm","children":[["$","li",null,{"children":"User authentication requirements"}],["$","li",null,{"children":"Role-based access permissions"}],["$","li",null,{"children":"Session management and timeouts"}],["$","li",null,{"children":"Device-level security integration"}]]}]]}]]}]]}],["$","div",null,{"children":[["$","h3",null,{"className":"text-lg font-semibold text-gray-800 dark:text-gray-200 mb-3","children":"5.3 Data Retention"}],["$","ul",null,{"className":"list-disc list-inside space-y-2 ml-4","children":[["$","li",null,{"children":[["$","strong",null,{"children":"Local Data:"}]," Retained until you delete it or uninstall QuecManager"]}],["$","li",null,{"children":[["$","strong",null,{"children":"Error Logs:"}]," Crash reports retained for up to 6 months for debugging"]}]]}]]}]]}]]}],["$","$L8",null,{}],["$","section",null,{"children":[["$","div",null,{"className":"flex items-center gap-3 mb-4","children":[["$","svg",null,{"ref":"$undefined","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","className":"lucide lucide-triangle-alert h-6 w-6 text-orange-600 dark:text-orange-400","children":[["$","path","wmoenq",{"d":"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3"}],["$","path","juzpu7",{"d":"M12 9v4"}],["$","path","p32p05",{"d":"M12 17h.01"}],"$undefined"]}],["$","h2",null,{"className":"text-2xl font-semibold text-gray-800 dark:text-gray-200","children":"6. Information Sharing and Disclosure"}]]}],["$","div",null,{"className":"space-y-4 text-gray-700 dark:text-gray-300","children":[["$","div",null,{"className":"bg-red-50 dark:bg-red-900/20 border border-red-200 dark:border-red-800 rounded-lg p-4","children":[["$","h3",null,{"className":"font-semibold text-red-800 dark:text-red-200 mb-2","children":"We Do Not Sell, Rent, or Share Your Personal Information"}],["$","p",null,{"className":"text-red-700 dark:text-red-300","children":"QuecManager does not sell, rent, lease, or otherwise provide your personal information or device data to third parties for commercial purposes."}]]}],["$","div",null,{"children":[["$","h3",null,{"className":"text-lg font-semibold text-gray-800 dark:text-gray-200 mb-3","children":"6.1 Limited Sharing Scenarios"}],["$","p",null,{"className":"mb-3","children":"We may share information only in these specific circumstances:"}],["$","ul",null,{"className":"list-disc list-inside space-y-2 ml-4","children":[["$","li",null,{"children":[["$","strong",null,{"children":"With Your Consent:"}]," When you explicitly authorize sharing with specific services"]}],["$","li",null,{"children":[["$","strong",null,{"children":"Service Providers:"}]," Anonymous data with trusted partners who help improve the software"]}],["$","li",null,{"children":[["$","strong",null,{"children":"Legal Requirements:"}]," When required by law, regulation, or court order"]}],["$","li",null,{"children":[["$","strong",null,{"children":"Security Incidents:"}]," To protect against fraud, abuse, or security threats"]}],["$","li",null,{"children":[["$","strong",null,{"children":"Business Transfers:"}]," In the event of a merger, acquisition, or asset sale"]}]]}]]}],["$","div",null,{"children":[["$","h3",null,{"className":"text-lg font-semibold text-gray-800 dark:text-gray-200 mb-3","children":"6.2 Third-Party Integrations"}],["$","p",null,{"className":"mb-3","children":"QuecManager may offer optional integrations with third-party services:"}],["$","ul",null,{"className":"list-disc list-inside space-y-1 ml-4","children":[["$","li",null,{"children":"Optional secure VPN services (such as Tailscale) that you explicitly configure and authorize, with all data remaining encrypted and under your control"}],["$","li",null,{"children":"Device manufacturer update services (for firmware updates)"}]]}],["$","div",null,{"className":"mt-3 p-3 bg-blue-50 dark:bg-blue-900/20 border border-blue-200 dark:border-blue-800 rounded","children":["$","p",null,{"className":"text-blue-800 dark:text-blue-200 text-sm","children":[["$","strong",null,{"children":"Your Control:"}]," All third-party integrations are optional and require your explicit consent."]}]}]]}]]}]]}],["$","$L8",null,{}],["$","section",null,{"children":[["$","h2",null,{"className":"text-2xl font-semibold mb-4 text-gray-800 dark:text-gray-200","children":"7. Your Privacy Rights and Choices"}],["$","div",null,{"className":"space-y-4 text-gray-700 dark:text-gray-300","children":[["$","div",null,{"children":[["$","h3",null,{"className":"text-lg font-semibold text-gray-800 dark:text-gray-200 mb-3","children":"7.1 Access and Control"}],["$","p",null,{"className":"mb-3","children":"You have the right to:"}],["$","ul",null,{"className":"list-disc list-inside space-y-2 ml-4","children":[["$","li",null,{"children":[["$","strong",null,{"children":"Access Your Data:"}]," View all information stored by QuecManager"]}],["$","li",null,{"children":[["$","strong",null,{"children":"Modify Settings:"}]," Change configuration and privacy preferences"]}],["$","li",null,{"children":[["$","strong",null,{"children":"Export Data:"}]," Download your device configurations and settings"]}],["$","li",null,{"children":[["$","strong",null,{"children":"Delete Data:"}]," Remove stored information and user profiles"]}],["$","li",null,{"children":[["$","strong",null,{"children":"Disable Analytics:"}]," Turn off usage data collection"]}],["$","li",null,{"children":[["$","strong",null,{"children":"Opt-out:"}]," Decline optional data sharing and integrations"]}]]}]]}],["$","div",null,{"children":[["$","h3",null,{"className":"text-lg font-semibold text-gray-800 dark:text-gray-200 mb-3","children":"7.2 Account Deletion"}],["$","p",null,{"className":"mb-3","children":"To completely remove your data:"}],["$","ol",null,{"className":"list-decimal list-inside space-y-1 ml-4","children":[["$","li",null,{"children":"Access your device's administration interface (LuCI)"}],["$","li",null,{"children":"Go to \"System\" → \"Software\" in the navigation menu"}],["$","li",null,{"children":"Locate and uninstall the QuecManager package"}],["$","li",null,{"children":["Clear all stored data:",["$","ul",null,{"className":"list-disc list-inside ml-6 mt-1 text-sm","children":[["$","li",null,{"children":"Clear browser cache and local storage"}],["$","li",null,{"children":"Delete any saved configurations"}],["$","li",null,{"children":"Remove custom settings and profiles"}]]}]]}],["$","li",null,{"children":"Optional: Perform a factory reset on your device for complete data removal"}],["$","li",null,{"children":"Contact support if you need confirmation of data deletion"}]]}]]}]]}]]}],["$","$L8",null,{}],["$","section",null,{"children":[["$","h2",null,{"className":"text-2xl font-semibold mb-4 text-gray-800 dark:text-gray-200","children":"8. Children's Privacy"}],["$","div",null,{"className":"space-y-4 text-gray-700 dark:text-gray-300","children":[["$","p",null,{"children":"QuecManager is designed for professional and technical use in managing cellular network equipment. Our service is not intended for children under the age of 13, and we do not knowingly collect personal information from children under 13."}],["$","p",null,{"children":"For users between 13 and 18 years of age, we recommend parental guidance when using QuecManager, as it involves managing network equipment that may affect internet connectivity and data usage."}]]}]]}],["$","$L8",null,{}],["$","section",null,{"children":[["$","h2",null,{"className":"text-2xl font-semibold mb-4 text-gray-800 dark:text-gray-200","children":"9. International Data Transfers"}],["$","div",null,{"className":"space-y-4 text-gray-700 dark:text-gray-300","children":[["$","p",null,{"children":"QuecManager is designed to operate locally on your network, minimizing international data transfers. However, in limited circumstances, data may be transferred internationally:"}],["$","ul",null,{"className":"list-disc list-inside space-y-2 ml-4","children":["$","li",null,{"children":[["$","strong",null,{"children":"Software Updates:"}]," Update checks and downloads from our servers"]}]}],["$","p",null,{"className":"mt-4","children":"When international transfers occur, we ensure appropriate safeguards are in place to protect your information in accordance with applicable data protection laws, including GDPR, CCPA, and other regional privacy regulations."}]]}]]}],["$","$L8",null,{}],["$","section",null,{"children":[["$","h2",null,{"className":"text-2xl font-semibold mb-4 text-gray-800 dark:text-gray-200","children":"10. Changes to This Privacy Policy"}],["$","div",null,{"className":"space-y-4 text-gray-700 dark:text-gray-300","children":[["$","p",null,{"children":"We may update this Privacy Policy from time to time to reflect changes in our practices, technology, or legal requirements. When we make changes:"}],["$","ul",null,{"className":"list-disc list-inside space-y-2 ml-4","children":[["$","li",null,{"children":"We will update the \"Last Updated\" date at the top of this policy"}],["$","li",null,{"children":"Significant changes will be highlighted in the application"}],["$","li",null,{"children":"We may provide additional notice through the software interface"}],["$","li",null,{"children":"Continued use of QuecManager after changes constitutes acceptance"}]]}],["$","p",null,{"className":"mt-4","children":"We encourage you to review this Privacy Policy periodically to stay informed about how we protect your information."}]]}]]}],["$","$L8",null,{}],["$","section",null,{"children":[["$","h2",null,{"className":"text-2xl font-semibold mb-4 text-gray-800 dark:text-gray-200","children":"11. Contact Us"}],["$","div",null,{"className":"space-y-4 text-gray-700 dark:text-gray-300","children":[["$","p",null,{"children":"If you have questions, concerns, or requests regarding this Privacy Policy or how we handle your information, please contact us through:"}],["$","div",null,{"className":"grid md:grid-cols-2 gap-4 mt-4","children":[["$","div",null,{"className":"border border-gray-200 dark:border-gray-700 rounded-lg p-4","children":[["$","h3",null,{"className":"font-semibold text-gray-800 dark:text-gray-200 mb-2","children":"General Inquiries"}],["$","ul",null,{"className":"list-disc list-inside space-y-1 text-sm","children":[["$","li",null,{"children":"GitHub repository issues and discussions"}],["$","li",null,{"children":"Official documentation and FAQ"}],["$","li",null,{"children":"Community forums and support channels"}]]}]]}],["$","div",null,{"className":"border border-gray-200 dark:border-gray-700 rounded-lg p-4","children":[["$","h3",null,{"className":"font-semibold text-gray-800 dark:text-gray-200 mb-2","children":"Privacy-Specific Requests"}],["$","ul",null,{"className":"list-disc list-inside space-y-1 text-sm","children":[["$","li",null,{"children":"Privacy concerns and questions"}],["$","li",null,{"children":"GDPR and CCPA related inquiries"}]]}]]}]]}]]}]]}],["$","div",null,{"className":"mt-12 pt-8 border-t border-gray-200 dark:border-gray-700","children":["$","div",null,{"className":"text-center space-y-2","children":[["$","div",null,{"className":"flex justify-center","children":["$","img",null,{"src":"/login-logo.svg","alt":"QuecManager Logo","className":"lg:size-16 size-12 object-cover"}]}],["$","div",null,{"className":"space-y-2","children":[["$","p",null,{"className":"text-sm text-gray-600 dark:text-gray-400","children":["QuecManager Privacy Policy - Version ","1.0"]}],["$","p",null,{"className":"text-sm text-gray-600 dark:text-gray-400","children":["Last Updated: ","August 18, 2025"]}]]}],["$","div",null,{"className":"max-w-2xl mx-auto","children":["$","p",null,{"className":"text-xs text-gray-500 dark:text-gray-500","children":"This Privacy Policy describes how QuecManager handles your information. By using our software, you acknowledge that you have read and understood this policy. We are committed to protecting your privacy and providing transparent information about our data practices."}]}]]}]}]]}]]}]}],null,["$","$L9",null,{"children":"$La"}]]}],{},null,false]},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,["$","$1","h7o16qGyilLSUKFbO53GS",{"children":[["$","$Lb",null,{"children":"$Lc"}],["$","$Ld",null,{"children":"$Le"}],null]}]]}],false]],"m":"$undefined","G":["$f","$undefined"],"s":false,"S":true} +:HL["/_next/static/css/b43dda0a8d427715.css","style"] +0:{"P":null,"b":"QktWtlsQL-2ss_eQyrSZD","p":"","c":["","legal","privacy",""],"i":false,"f":[[["",{"children":["legal",{"children":["privacy",{"children":["__PAGE__",{}]}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/b43dda0a8d427715.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":["$","body",null,{"className":"antialiased __className_9dae3d","children":[["$","$L2",null,{"attribute":"class","defaultTheme":"system","enableSystem":true,"disableTransitionOnChange":true,"children":["$","$L3",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[],[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]}],["$","$L6",null,{}]]}]}]]}],{"children":["legal",["$","$1","c",{"children":[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","legal","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["privacy",["$","$1","c",{"children":[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","legal","children","privacy","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","div",null,{"className":"max-w-4xl mx-auto p-6 space-y-6","children":["$","div",null,{"ref":"$undefined","className":"rounded-xl border bg-card text-card-foreground shadow","children":[["$","div",null,{"ref":"$undefined","className":"flex flex-col space-y-1.5 p-6 text-center","children":[["$","div",null,{"className":"flex justify-center mb-4","children":["$","svg",null,{"ref":"$undefined","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","className":"lucide lucide-shield h-12 w-12 text-blue-600 dark:text-blue-400","children":[["$","path","oel41y",{"d":"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z"}],"$undefined"]}]}],["$","h3",null,{"ref":"$undefined","className":"tracking-tight text-3xl font-bold text-gray-900 dark:text-gray-100","children":"QuecManager Privacy Policy"}],["$","div",null,{"className":"flex justify-center items-center gap-4 mt-4","children":["$","$L7",null,{"href":"/login","children":["$","button",null,{"className":"inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0 text-primary underline-offset-4 hover:underline h-9 px-4 py-2","ref":"$undefined","children":[["$","svg",null,{"ref":"$undefined","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","className":"lucide lucide-arrow-left size-4","children":[["$","path","1l729n",{"d":"m12 19-7-7 7-7"}],["$","path","x3x0zl",{"d":"M19 12H5"}],"$undefined"]}],"Go Back"]}]}]}],["$","p",null,{"className":"text-gray-600 dark:text-gray-400 mt-4 max-w-2xl mx-auto","children":"Your privacy is important to us. This Privacy Policy explains how QuecManager handles your information when you use our cellular modem management software."}]]}],["$","div",null,{"ref":"$undefined","className":"p-6 pt-0 space-y-8","children":[["$","section",null,{"children":[["$","div",null,{"className":"flex items-center gap-3 mb-4","children":[["$","svg",null,{"ref":"$undefined","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","className":"lucide lucide-eye h-6 w-6 text-blue-600 dark:text-blue-400","children":[["$","path","1nclc0",{"d":"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0"}],["$","circle","1v7zrd",{"cx":"12","cy":"12","r":"3"}],"$undefined"]}],["$","h2",null,{"className":"text-2xl font-semibold text-gray-800 dark:text-gray-200","children":"1. Privacy Overview"}]]}],["$","div",null,{"className":"space-y-4 text-gray-700 dark:text-gray-300","children":[["$","p",null,{"className":"leading-relaxed","children":"QuecManager is designed with privacy as a core principle. As a local network management tool for Quectel cellular modems and routers, QuecManager operates primarily on your local network and devices, minimizing data collection and external communications."}],["$","div",null,{"className":"bg-green-50 dark:bg-green-900/20 border border-green-200 dark:border-green-800 rounded-lg p-4","children":[["$","h3",null,{"className":"font-semibold text-green-800 dark:text-green-200 mb-2","children":"Key Privacy Principles:"}],["$","ul",null,{"className":"list-disc list-inside space-y-1 text-green-700 dark:text-green-300","children":[["$","li",null,{"children":"Local-first processing - your data stays on your network"}],["$","li",null,{"children":"Minimal data collection - we only collect what's necessary"}],["$","li",null,{"children":"No remote tracking - no analytics sent to external servers"}],["$","li",null,{"children":"User control - you decide what data to share and when"}],["$","li",null,{"children":"Transparency - clear information about any data handling"}]]}]]}]]}]]}],["$","$L8",null,{}],["$","section",null,{"children":[["$","div",null,{"className":"flex items-center gap-3 mb-4","children":[["$","svg",null,{"ref":"$undefined","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","className":"lucide lucide-triangle-alert h-6 w-6 text-orange-600 dark:text-orange-400","children":[["$","path","wmoenq",{"d":"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3"}],["$","path","juzpu7",{"d":"M12 9v4"}],["$","path","p32p05",{"d":"M12 17h.01"}],"$undefined"]}],["$","h2",null,{"className":"text-2xl font-semibold text-gray-800 dark:text-gray-200","children":"2. Third-Party Disclaimer"}]]}],["$","div",null,{"className":"bg-yellow-50 dark:bg-yellow-900/20 border border-yellow-200 dark:border-yellow-800 rounded-lg p-4 mb-4","children":["$","p",null,{"className":"text-gray-700 dark:text-gray-300 leading-relaxed","children":[["$","strong",null,{"className":"text-gray-900 dark:text-gray-100","children":"Important Notice:"}]," ","QuecManager is an independent, third-party software application and is ",["$","strong",null,{"children":"not affiliated with, endorsed by, or sponsored by Quectel Wireless Solutions Co., Ltd."}]," or any of its subsidiaries or affiliates. This privacy policy applies solely to QuecManager and not to Quectel's own services or products."]}]}],["$","div",null,{"className":"space-y-4 text-gray-700 dark:text-gray-300","children":[["$","p",null,{"children":[["$","strong",null,{"className":"text-gray-900 dark:text-gray-100","children":"2.1 Independent Privacy Practices:"}]," ","This privacy policy governs only how QuecManager handles your information. Quectel has its own privacy policies and data handling practices that are separate from ours."]}],["$","p",null,{"children":[["$","strong",null,{"className":"text-gray-900 dark:text-gray-100","children":"2.2 Device Data Interaction:"}]," ","While QuecManager interacts with Quectel devices to provide management functionality, we do not share your data with Quectel, and Quectel does not have access to information processed by QuecManager unless you separately share it with them."]}],["$","p",null,{"children":[["$","strong",null,{"className":"text-gray-900 dark:text-gray-100","children":"2.3 Support and Responsibility:"}]," ","Quectel is not responsible for QuecManager's privacy practices or data handling. All privacy-related inquiries about QuecManager should be directed to the QuecManager development team."]}]]}]]}],["$","$L8",null,{}],["$","section",null,{"children":[["$","div",null,{"className":"flex items-center gap-3 mb-4","children":[["$","svg",null,{"ref":"$undefined","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","className":"lucide lucide-database h-6 w-6 text-purple-600 dark:text-purple-400","children":[["$","ellipse","msslwz",{"cx":"12","cy":"5","rx":"9","ry":"3"}],["$","path","1wlel7",{"d":"M3 5V19A9 3 0 0 0 21 19V5"}],["$","path","mv7ke4",{"d":"M3 12A9 3 0 0 0 21 12"}],"$undefined"]}],["$","h2",null,{"className":"text-2xl font-semibold text-gray-800 dark:text-gray-200","children":"3. Information We Collect"}]]}],["$","div",null,{"className":"space-y-6 text-gray-700 dark:text-gray-300","children":[["$","div",null,{"children":[["$","h3",null,{"className":"text-lg font-semibold text-gray-800 dark:text-gray-200 mb-3","children":"3.1 Device Configuration Data (Local Only)"}],["$","p",null,{"className":"mb-3","children":"QuecManager accesses and displays information from your cellular modems and routers to provide management functionality. This includes:"}],["$","ul",null,{"className":"list-disc list-inside space-y-1 ml-4","children":[["$","li",null,{"children":"Device model, firmware version, and hardware identifiers"}],["$","li",null,{"children":"Network configuration settings (APN, carrier settings, IP addresses)"}],["$","li",null,{"children":"Signal strength, connection status, and performance metrics"}],["$","li",null,{"children":"Data usage statistics and connection logs"}],["$","li",null,{"children":"Device temperature, memory usage, and system status"}],["$","li",null,{"children":"Custom configuration profiles and user-defined settings"}]]}],["$","div",null,{"className":"mt-3 p-3 bg-blue-50 dark:bg-blue-900/20 border border-blue-200 dark:border-blue-800 rounded","children":["$","p",null,{"className":"text-blue-800 dark:text-blue-200 text-sm","children":[["$","strong",null,{"children":"Important:"}]," This data is processed locally on your network and is not transmitted to external servers unless you explicitly enable specific features that require it."]}]}]]}],["$","div",null,{"children":[["$","h3",null,{"className":"text-lg font-semibold text-gray-800 dark:text-gray-200 mb-3","children":"3.2 User-Provided Information"}],["$","p",null,{"className":"mb-3","children":"Information you voluntarily provide when using QuecManager:"}],["$","ul",null,{"className":"list-disc list-inside space-y-1 ml-4","children":[["$","li",null,{"children":"Custom device names and labels"}],["$","li",null,{"children":"Network configuration preferences"}],["$","li",null,{"children":"User profiles and access credentials (stored locally)"}],["$","li",null,{"children":"Custom scripts and automation rules"}],["$","li",null,{"children":"Backup and export data"}]]}]]}]]}]]}],["$","$L8",null,{}],["$","section",null,{"children":[["$","div",null,{"className":"flex items-center gap-3 mb-4","children":[["$","svg",null,{"ref":"$undefined","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","className":"lucide lucide-globe h-6 w-6 text-green-600 dark:text-green-400","children":[["$","circle","1mglay",{"cx":"12","cy":"12","r":"10"}],["$","path","13o1zl",{"d":"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20"}],["$","path","9i4pu4",{"d":"M2 12h20"}],"$undefined"]}],["$","h2",null,{"className":"text-2xl font-semibold text-gray-800 dark:text-gray-200","children":"4. How We Use Your Information"}]]}],["$","div",null,{"className":"space-y-4 text-gray-700 dark:text-gray-300","children":[["$","div",null,{"children":[["$","h3",null,{"className":"text-lg font-semibold text-gray-800 dark:text-gray-200 mb-3","children":"4.1 Primary Functions"}],["$","ul",null,{"className":"list-disc list-inside space-y-2 ml-4","children":[["$","li",null,{"children":[["$","strong",null,{"children":"Device Management:"}]," Display and configure your cellular modem settings"]}],["$","li",null,{"children":[["$","strong",null,{"children":"Network Monitoring:"}]," Show real-time connection status and performance data"]}],["$","li",null,{"children":[["$","strong",null,{"children":"Troubleshooting:"}]," Provide diagnostic tools and error analysis"]}],["$","li",null,{"children":[["$","strong",null,{"children":"Performance Optimization:"}]," Help optimize your network configuration"]}]]}]]}],["$","div",null,{"className":"bg-gray-50 dark:bg-gray-800/50 border border-gray-200 dark:border-gray-700 rounded-lg p-4","children":[["$","h3",null,{"className":"font-semibold text-gray-800 dark:text-gray-200 mb-2","children":"We Do NOT Use Your Information For:"}],["$","ul",null,{"className":"list-disc list-inside space-y-1 text-gray-600 dark:text-gray-400","children":[["$","li",null,{"children":"Advertising or marketing purposes"}],["$","li",null,{"children":"Selling or sharing with third parties"}],["$","li",null,{"children":"Creating user profiles for commercial purposes"}],["$","li",null,{"children":"Tracking your internet usage or browsing habits"}],["$","li",null,{"children":"Monitoring your cellular data consumption for business intelligence"}]]}]]}]]}]]}],["$","$L8",null,{}],["$","section",null,{"children":[["$","div",null,{"className":"flex items-center gap-3 mb-4","children":[["$","svg",null,{"ref":"$undefined","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","className":"lucide lucide-lock h-6 w-6 text-red-600 dark:text-red-400","children":[["$","rect","1w4ew1",{"width":"18","height":"11","x":"3","y":"11","rx":"2","ry":"2"}],["$","path","fwvmzm",{"d":"M7 11V7a5 5 0 0 1 10 0v4"}],"$undefined"]}],["$","h2",null,{"className":"text-2xl font-semibold text-gray-800 dark:text-gray-200","children":"5. Data Storage and Security"}]]}],["$","div",null,{"className":"space-y-4 text-gray-700 dark:text-gray-300","children":[["$","div",null,{"children":[["$","h3",null,{"className":"text-lg font-semibold text-gray-800 dark:text-gray-200 mb-3","children":"5.1 Local Storage"}],["$","p",null,{"className":"mb-3","children":"The majority of your data is stored locally on your devices and network:"}],["$","ul",null,{"className":"list-disc list-inside space-y-1 ml-4","children":[["$","li",null,{"children":[["$","strong",null,{"children":"Browser Storage:"}]," Application settings and preferences in local browser storage"]}],["$","li",null,{"children":[["$","strong",null,{"children":"Device Memory:"}]," Configuration data stored on your cellular modems and routers"]}],["$","li",null,{"children":[["$","strong",null,{"children":"Local Database:"}]," Historical data and logs stored on your local network"]}],["$","li",null,{"children":[["$","strong",null,{"children":"Configuration Files:"}]," Backup files and profiles stored locally"]}]]}]]}],["$","div",null,{"children":[["$","h3",null,{"className":"text-lg font-semibold text-gray-800 dark:text-gray-200 mb-3","children":"5.2 Security Measures"}],["$","div",null,{"className":"grid md:grid-cols-2 gap-4","children":[["$","div",null,{"className":"border border-gray-200 dark:border-gray-700 rounded-lg p-4","children":[["$","h4",null,{"className":"font-semibold text-gray-800 dark:text-gray-200 mb-2","children":"Technical Security"}],["$","ul",null,{"className":"list-disc list-inside space-y-1 text-sm","children":[["$","li",null,{"children":"Secure authentication protocols"}],["$","li",null,{"children":"Input validation and sanitization"}],["$","li",null,{"children":"Regular security updates"}]]}]]}],["$","div",null,{"className":"border border-gray-200 dark:border-gray-700 rounded-lg p-4","children":[["$","h4",null,{"className":"font-semibold text-gray-800 dark:text-gray-200 mb-2","children":"Access Control"}],["$","ul",null,{"className":"list-disc list-inside space-y-1 text-sm","children":[["$","li",null,{"children":"User authentication requirements"}],["$","li",null,{"children":"Role-based access permissions"}],["$","li",null,{"children":"Session management and timeouts"}],["$","li",null,{"children":"Device-level security integration"}]]}]]}]]}]]}],["$","div",null,{"children":[["$","h3",null,{"className":"text-lg font-semibold text-gray-800 dark:text-gray-200 mb-3","children":"5.3 Data Retention"}],["$","ul",null,{"className":"list-disc list-inside space-y-2 ml-4","children":[["$","li",null,{"children":[["$","strong",null,{"children":"Local Data:"}]," Retained until you delete it or uninstall QuecManager"]}],["$","li",null,{"children":[["$","strong",null,{"children":"Error Logs:"}]," Crash reports retained for up to 6 months for debugging"]}]]}]]}]]}]]}],["$","$L8",null,{}],["$","section",null,{"children":[["$","div",null,{"className":"flex items-center gap-3 mb-4","children":[["$","svg",null,{"ref":"$undefined","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","className":"lucide lucide-triangle-alert h-6 w-6 text-orange-600 dark:text-orange-400","children":[["$","path","wmoenq",{"d":"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3"}],["$","path","juzpu7",{"d":"M12 9v4"}],["$","path","p32p05",{"d":"M12 17h.01"}],"$undefined"]}],["$","h2",null,{"className":"text-2xl font-semibold text-gray-800 dark:text-gray-200","children":"6. Information Sharing and Disclosure"}]]}],["$","div",null,{"className":"space-y-4 text-gray-700 dark:text-gray-300","children":[["$","div",null,{"className":"bg-red-50 dark:bg-red-900/20 border border-red-200 dark:border-red-800 rounded-lg p-4","children":[["$","h3",null,{"className":"font-semibold text-red-800 dark:text-red-200 mb-2","children":"We Do Not Sell, Rent, or Share Your Personal Information"}],["$","p",null,{"className":"text-red-700 dark:text-red-300","children":"QuecManager does not sell, rent, lease, or otherwise provide your personal information or device data to third parties for commercial purposes."}]]}],["$","div",null,{"children":[["$","h3",null,{"className":"text-lg font-semibold text-gray-800 dark:text-gray-200 mb-3","children":"6.1 Limited Sharing Scenarios"}],["$","p",null,{"className":"mb-3","children":"We may share information only in these specific circumstances:"}],["$","ul",null,{"className":"list-disc list-inside space-y-2 ml-4","children":[["$","li",null,{"children":[["$","strong",null,{"children":"With Your Consent:"}]," When you explicitly authorize sharing with specific services"]}],["$","li",null,{"children":[["$","strong",null,{"children":"Service Providers:"}]," Anonymous data with trusted partners who help improve the software"]}],["$","li",null,{"children":[["$","strong",null,{"children":"Legal Requirements:"}]," When required by law, regulation, or court order"]}],["$","li",null,{"children":[["$","strong",null,{"children":"Security Incidents:"}]," To protect against fraud, abuse, or security threats"]}],["$","li",null,{"children":[["$","strong",null,{"children":"Business Transfers:"}]," In the event of a merger, acquisition, or asset sale"]}]]}]]}],["$","div",null,{"children":[["$","h3",null,{"className":"text-lg font-semibold text-gray-800 dark:text-gray-200 mb-3","children":"6.2 Third-Party Integrations"}],["$","p",null,{"className":"mb-3","children":"QuecManager may offer optional integrations with third-party services:"}],["$","ul",null,{"className":"list-disc list-inside space-y-1 ml-4","children":[["$","li",null,{"children":"Optional secure VPN services (such as Tailscale) that you explicitly configure and authorize, with all data remaining encrypted and under your control"}],["$","li",null,{"children":"Device manufacturer update services (for firmware updates)"}]]}],["$","div",null,{"className":"mt-3 p-3 bg-blue-50 dark:bg-blue-900/20 border border-blue-200 dark:border-blue-800 rounded","children":["$","p",null,{"className":"text-blue-800 dark:text-blue-200 text-sm","children":[["$","strong",null,{"children":"Your Control:"}]," All third-party integrations are optional and require your explicit consent."]}]}]]}]]}]]}],["$","$L8",null,{}],["$","section",null,{"children":[["$","h2",null,{"className":"text-2xl font-semibold mb-4 text-gray-800 dark:text-gray-200","children":"7. Your Privacy Rights and Choices"}],["$","div",null,{"className":"space-y-4 text-gray-700 dark:text-gray-300","children":[["$","div",null,{"children":[["$","h3",null,{"className":"text-lg font-semibold text-gray-800 dark:text-gray-200 mb-3","children":"7.1 Access and Control"}],["$","p",null,{"className":"mb-3","children":"You have the right to:"}],["$","ul",null,{"className":"list-disc list-inside space-y-2 ml-4","children":[["$","li",null,{"children":[["$","strong",null,{"children":"Access Your Data:"}]," View all information stored by QuecManager"]}],["$","li",null,{"children":[["$","strong",null,{"children":"Modify Settings:"}]," Change configuration and privacy preferences"]}],["$","li",null,{"children":[["$","strong",null,{"children":"Export Data:"}]," Download your device configurations and settings"]}],["$","li",null,{"children":[["$","strong",null,{"children":"Delete Data:"}]," Remove stored information and user profiles"]}],["$","li",null,{"children":[["$","strong",null,{"children":"Disable Analytics:"}]," Turn off usage data collection"]}],["$","li",null,{"children":[["$","strong",null,{"children":"Opt-out:"}]," Decline optional data sharing and integrations"]}]]}]]}],["$","div",null,{"children":[["$","h3",null,{"className":"text-lg font-semibold text-gray-800 dark:text-gray-200 mb-3","children":"7.2 Account Deletion"}],["$","p",null,{"className":"mb-3","children":"To completely remove your data:"}],["$","ol",null,{"className":"list-decimal list-inside space-y-1 ml-4","children":[["$","li",null,{"children":"Access your device's administration interface (LuCI)"}],["$","li",null,{"children":"Go to \"System\" → \"Software\" in the navigation menu"}],["$","li",null,{"children":"Locate and uninstall the QuecManager package"}],["$","li",null,{"children":["Clear all stored data:",["$","ul",null,{"className":"list-disc list-inside ml-6 mt-1 text-sm","children":[["$","li",null,{"children":"Clear browser cache and local storage"}],["$","li",null,{"children":"Delete any saved configurations"}],["$","li",null,{"children":"Remove custom settings and profiles"}]]}]]}],["$","li",null,{"children":"Optional: Perform a factory reset on your device for complete data removal"}],["$","li",null,{"children":"Contact support if you need confirmation of data deletion"}]]}]]}]]}]]}],["$","$L8",null,{}],["$","section",null,{"children":[["$","h2",null,{"className":"text-2xl font-semibold mb-4 text-gray-800 dark:text-gray-200","children":"8. Children's Privacy"}],["$","div",null,{"className":"space-y-4 text-gray-700 dark:text-gray-300","children":[["$","p",null,{"children":"QuecManager is designed for professional and technical use in managing cellular network equipment. Our service is not intended for children under the age of 13, and we do not knowingly collect personal information from children under 13."}],["$","p",null,{"children":"For users between 13 and 18 years of age, we recommend parental guidance when using QuecManager, as it involves managing network equipment that may affect internet connectivity and data usage."}]]}]]}],["$","$L8",null,{}],["$","section",null,{"children":[["$","h2",null,{"className":"text-2xl font-semibold mb-4 text-gray-800 dark:text-gray-200","children":"9. International Data Transfers"}],["$","div",null,{"className":"space-y-4 text-gray-700 dark:text-gray-300","children":[["$","p",null,{"children":"QuecManager is designed to operate locally on your network, minimizing international data transfers. However, in limited circumstances, data may be transferred internationally:"}],["$","ul",null,{"className":"list-disc list-inside space-y-2 ml-4","children":["$","li",null,{"children":[["$","strong",null,{"children":"Software Updates:"}]," Update checks and downloads from our servers"]}]}],["$","p",null,{"className":"mt-4","children":"When international transfers occur, we ensure appropriate safeguards are in place to protect your information in accordance with applicable data protection laws, including GDPR, CCPA, and other regional privacy regulations."}]]}]]}],["$","$L8",null,{}],["$","section",null,{"children":[["$","h2",null,{"className":"text-2xl font-semibold mb-4 text-gray-800 dark:text-gray-200","children":"10. Changes to This Privacy Policy"}],["$","div",null,{"className":"space-y-4 text-gray-700 dark:text-gray-300","children":[["$","p",null,{"children":"We may update this Privacy Policy from time to time to reflect changes in our practices, technology, or legal requirements. When we make changes:"}],["$","ul",null,{"className":"list-disc list-inside space-y-2 ml-4","children":[["$","li",null,{"children":"We will update the \"Last Updated\" date at the top of this policy"}],["$","li",null,{"children":"Significant changes will be highlighted in the application"}],["$","li",null,{"children":"We may provide additional notice through the software interface"}],["$","li",null,{"children":"Continued use of QuecManager after changes constitutes acceptance"}]]}],["$","p",null,{"className":"mt-4","children":"We encourage you to review this Privacy Policy periodically to stay informed about how we protect your information."}]]}]]}],["$","$L8",null,{}],["$","section",null,{"children":[["$","h2",null,{"className":"text-2xl font-semibold mb-4 text-gray-800 dark:text-gray-200","children":"11. Contact Us"}],["$","div",null,{"className":"space-y-4 text-gray-700 dark:text-gray-300","children":[["$","p",null,{"children":"If you have questions, concerns, or requests regarding this Privacy Policy or how we handle your information, please contact us through:"}],["$","div",null,{"className":"grid md:grid-cols-2 gap-4 mt-4","children":[["$","div",null,{"className":"border border-gray-200 dark:border-gray-700 rounded-lg p-4","children":[["$","h3",null,{"className":"font-semibold text-gray-800 dark:text-gray-200 mb-2","children":"General Inquiries"}],["$","ul",null,{"className":"list-disc list-inside space-y-1 text-sm","children":[["$","li",null,{"children":"GitHub repository issues and discussions"}],["$","li",null,{"children":"Official documentation and FAQ"}],["$","li",null,{"children":"Community forums and support channels"}]]}]]}],["$","div",null,{"className":"border border-gray-200 dark:border-gray-700 rounded-lg p-4","children":[["$","h3",null,{"className":"font-semibold text-gray-800 dark:text-gray-200 mb-2","children":"Privacy-Specific Requests"}],["$","ul",null,{"className":"list-disc list-inside space-y-1 text-sm","children":[["$","li",null,{"children":"Privacy concerns and questions"}],["$","li",null,{"children":"GDPR and CCPA related inquiries"}]]}]]}]]}]]}]]}],["$","div",null,{"className":"mt-12 pt-8 border-t border-gray-200 dark:border-gray-700","children":["$","div",null,{"className":"text-center space-y-2","children":[["$","div",null,{"className":"flex justify-center","children":["$","img",null,{"src":"/login-logo.svg","alt":"QuecManager Logo","className":"lg:size-16 size-12 object-cover"}]}],["$","div",null,{"className":"space-y-2","children":[["$","p",null,{"className":"text-sm text-gray-600 dark:text-gray-400","children":["QuecManager Privacy Policy - Version ","1.0"]}],["$","p",null,{"className":"text-sm text-gray-600 dark:text-gray-400","children":["Last Updated: ","August 18, 2025"]}]]}],["$","div",null,{"className":"max-w-2xl mx-auto","children":["$","p",null,{"className":"text-xs text-gray-500 dark:text-gray-500","children":"This Privacy Policy describes how QuecManager handles your information. By using our software, you acknowledge that you have read and understood this policy. We are committed to protecting your privacy and providing transparent information about our data practices."}]}]]}]}]]}]]}]}],null,["$","$L9",null,{"children":"$La"}]]}],{},null,false]},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,["$","$1","4h2Hz9d4Ia9kK8tFqA-UM",{"children":[["$","$Lb",null,{"children":"$Lc"}],["$","$Ld",null,{"children":"$Le"}],null]}]]}],false]],"m":"$undefined","G":["$f","$undefined"],"s":false,"S":true} e:[["$","meta","0",{"name":"viewport","content":"width=device-width, initial-scale=1"}]] c:[["$","meta","0",{"charSet":"utf-8"}],["$","title","1",{"children":"QuecManager"}],["$","meta","2",{"name":"description","content":"Simpleadmin but better!"}],["$","link","3",{"rel":"icon","href":"/favicon.ico","type":"image/x-icon","sizes":"16x16"}]] a:null diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/legal/tos/index.html b/ipk-source/sdxpinn-quecmanager-beta/root/www/legal/tos/index.html index 3d87a3a..2f0011a 100644 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/legal/tos/index.html +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/legal/tos/index.html @@ -1 +1 @@ -QuecManager

                                                                                                                    QuecManager Terms of Service

                                                                                                                    1. Acceptance of Terms

                                                                                                                    By accessing, installing, or using QuecManager ("the Software"), you acknowledge that you have read, understood, and agree to be bound by these Terms of Service ("Terms"). If you do not agree to these Terms, you must not use the Software. These Terms constitute a legally binding agreement between you ("User" or "you") and the QuecManager development team ("we," "us," or "our").

                                                                                                                    2. Description of Service

                                                                                                                    QuecManager is a web-based management interface designed for Quectel cellular modems and routers. The Software provides:

                                                                                                                    • Real-time monitoring of cellular connectivity and network status
                                                                                                                    • Configuration management for network settings and cellular parameters
                                                                                                                    • Diagnostic tools for troubleshooting connectivity issues
                                                                                                                    • Performance metrics and usage analytics
                                                                                                                    • Remote management capabilities for supported devices
                                                                                                                    • Firmware update management and device administration

                                                                                                                    3. Third-Party Disclaimer

                                                                                                                    Important Notice: QuecManager is an independent, third-party software application and is not affiliated with, endorsed by, or sponsored by Quectel Wireless Solutions Co., Ltd. or any of its subsidiaries or affiliates. QuecManager is developed and maintained independently by the QuecManager development team.

                                                                                                                    3.1 Independent Development: This software has been created independently to provide management capabilities for Quectel devices. Any trademarks, service marks, or product names mentioned in relation to Quectel are the property of Quectel Wireless Solutions Co., Ltd.

                                                                                                                    3.2 No Official Support: Quectel does not provide support, warranty, or endorsement for QuecManager. All support and inquiries regarding QuecManager should be directed to the QuecManager development team through official channels.

                                                                                                                    3.3 Device Compatibility: While QuecManager is designed to work with Quectel devices, we cannot guarantee compatibility with all device models or firmware versions. Use of QuecManager with Quectel devices is at your own discretion and risk.

                                                                                                                    4. License and Usage Rights

                                                                                                                    4.1 Grant of License: Subject to these Terms, we grant you a limited, non-exclusive, non-transferable, revocable license to use QuecManager solely for managing your Quectel devices in accordance with these Terms.

                                                                                                                    4.2 Restrictions: You may not:

                                                                                                                    • Modify, reverse engineer, decompile, or disassemble the Software
                                                                                                                    • Distribute, sublicense, or transfer the Software to third parties
                                                                                                                    • Use the Software for any illegal or unauthorized purpose
                                                                                                                    • Remove or alter any proprietary notices or labels
                                                                                                                    • Use the Software to damage, disable, or impair any networks or systems

                                                                                                                    5. Device Compatibility and Requirements

                                                                                                                    5.1 Compatibility: QuecManager is designed for use with Quectel cellular modems and routers. Compatibility is not guaranteed for all device models or firmware versions.

                                                                                                                    5.2 System Requirements: You are responsible for ensuring your system meets the minimum requirements for running QuecManager, including compatible web browsers, network connectivity, and device firmware.

                                                                                                                    5.3 Device Access: You must have legitimate ownership or authorization to manage any devices you connect to QuecManager.

                                                                                                                    6. User Responsibilities

                                                                                                                    You agree to:

                                                                                                                    • Use QuecManager only for lawful purposes and in compliance with all applicable laws and regulations
                                                                                                                    • Maintain the security and confidentiality of your device access credentials
                                                                                                                    • Regularly backup important device configurations and data
                                                                                                                    • Keep your devices and QuecManager installation updated with the latest security patches
                                                                                                                    • Monitor your device usage to ensure compliance with your carrier's terms of service
                                                                                                                    • Report any security vulnerabilities or bugs to the development team
                                                                                                                    • Not use the Software to interfere with or disrupt networks, servers, or other users

                                                                                                                    7. Privacy and Data Collection

                                                                                                                    7.1 Local Processing: QuecManager operates primarily as a local management interface. Device data and configurations are processed locally on your device and network.

                                                                                                                    7.2 No Remote Data Collection: We do not collect, store, or transmit your device data, configurations, or usage information to remote servers unless explicitly enabled by you for specific features.

                                                                                                                    7.3 Analytics: QuecManager may collect anonymous usage statistics to improve the software. This data does not include personal information or device-specific details.

                                                                                                                    7.4 Third-Party Services: If you choose to integrate with third-party services, those services' privacy policies will apply to data shared with them.

                                                                                                                    8. Security Considerations

                                                                                                                    8.1 Network Security: You are responsible for securing your network and devices when using QuecManager. This includes using strong passwords, enabling encryption, and implementing appropriate firewall rules.

                                                                                                                    8.2 Access Control: Limit access to QuecManager to authorized personnel only. Implement proper user authentication and access controls.

                                                                                                                    8.3 Regular Updates: Keep QuecManager and your device firmware updated to protect against security vulnerabilities.

                                                                                                                    9. Disclaimers and Limitations

                                                                                                                    9.1 "AS IS" Basis: QuecManager is provided "as is" without any warranties, express or implied, including but not limited to warranties of merchantability, fitness for a particular purpose, or non-infringement.

                                                                                                                    9.2 No Guarantee of Availability: We do not guarantee that QuecManager will be available at all times or free from errors, bugs, or interruptions.

                                                                                                                    9.3 Device Damage: Use of QuecManager is at your own risk. We are not responsible for any damage to your devices, data loss, or network disruption resulting from the use of the Software.

                                                                                                                    9.4 Carrier Compliance: You are responsible for ensuring your use of QuecManager complies with your cellular carrier's terms of service and data usage policies.

                                                                                                                    10. Limitation of Liability

                                                                                                                    To the maximum extent permitted by applicable law, we shall not be liable for any indirect, incidental, special, consequential, or punitive damages, including but not limited to:

                                                                                                                    • Loss of profits, data, or business opportunities
                                                                                                                    • Device damage or malfunction
                                                                                                                    • Network downtime or service interruption
                                                                                                                    • Security breaches or unauthorized access
                                                                                                                    • Carrier charges or fees resulting from software use

                                                                                                                    Our total liability for any claims arising from or related to QuecManager shall not exceed the amount you paid for the Software, if any.

                                                                                                                    11. Updates and Modifications

                                                                                                                    11.1 Software Updates: We may release updates, patches, or new versions of QuecManager. You are encouraged to install updates to maintain security and functionality.

                                                                                                                    11.2 Terms Updates: We reserve the right to modify these Terms at any time. Updated Terms will be effective immediately upon posting. Continued use of QuecManager after changes constitutes acceptance of the new Terms.

                                                                                                                    11.3 Feature Changes: We may add, modify, or remove features from QuecManager without prior notice.

                                                                                                                    12. Open Source and Third-Party Components

                                                                                                                    QuecManager may include open source software components and third-party libraries. These components are governed by their respective licenses, which are included in the software distribution. You agree to comply with all applicable open source licenses.

                                                                                                                    A complete list of third-party components and their licenses is available in the software documentation and source code repository.

                                                                                                                    13. Termination

                                                                                                                    13.1 Termination by You: You may stop using QuecManager at any time by uninstalling the Software from your devices.

                                                                                                                    13.2 Termination by Us: We may terminate your right to use QuecManager if you violate these Terms or engage in prohibited activities.

                                                                                                                    13.3 Effect of Termination: Upon termination, your right to use QuecManager ceases immediately. You must uninstall the Software and destroy all copies in your possession.

                                                                                                                    14. Governing Law and Disputes

                                                                                                                    14.1 Governing Law: These Terms shall be governed by and construed in accordance with the laws of your jurisdiction, without regard to conflict of law principles.

                                                                                                                    14.2 Dispute Resolution: Any disputes arising from these Terms or your use of QuecManager should first be addressed through good faith negotiation. If resolution cannot be reached, disputes may be subject to binding arbitration or court proceedings as determined by applicable law.

                                                                                                                    15. Contact Information

                                                                                                                    If you have questions about these Terms or QuecManager, please contact us through:

                                                                                                                    • GitHub repository issues and discussions
                                                                                                                    • Official documentation and support channels
                                                                                                                    • Community forums and support resources

                                                                                                                    For security-related issues, please follow responsible disclosure practices as outlined in our security policy.

                                                                                                                    16. Miscellaneous

                                                                                                                    16.1 Entire Agreement: These Terms constitute the entire agreement between you and us regarding QuecManager and supersede all prior agreements.

                                                                                                                    16.2 Severability: If any provision of these Terms is found to be unenforceable, the remaining provisions shall remain in full force and effect.

                                                                                                                    16.3 Waiver: Our failure to enforce any provision of these Terms shall not constitute a waiver of that provision.

                                                                                                                    16.4 Assignment: You may not assign or transfer your rights under these Terms without our prior written consent.

                                                                                                                    QuecManager Logo

                                                                                                                    QuecManager Terms of Service - Version 1.0

                                                                                                                    Last Updated: August 18, 2025

                                                                                                                    By using QuecManager, you acknowledge that you have read and understood these Terms of Service and agree to be bound by them.

                                                                                                                      \ No newline at end of file +QuecManager

                                                                                                                      QuecManager Terms of Service

                                                                                                                      1. Acceptance of Terms

                                                                                                                      By accessing, installing, or using QuecManager ("the Software"), you acknowledge that you have read, understood, and agree to be bound by these Terms of Service ("Terms"). If you do not agree to these Terms, you must not use the Software. These Terms constitute a legally binding agreement between you ("User" or "you") and the QuecManager development team ("we," "us," or "our").

                                                                                                                      2. Description of Service

                                                                                                                      QuecManager is a web-based management interface designed for Quectel cellular modems and routers. The Software provides:

                                                                                                                      • Real-time monitoring of cellular connectivity and network status
                                                                                                                      • Configuration management for network settings and cellular parameters
                                                                                                                      • Diagnostic tools for troubleshooting connectivity issues
                                                                                                                      • Performance metrics and usage analytics
                                                                                                                      • Remote management capabilities for supported devices
                                                                                                                      • Firmware update management and device administration

                                                                                                                      3. Third-Party Disclaimer

                                                                                                                      Important Notice: QuecManager is an independent, third-party software application and is not affiliated with, endorsed by, or sponsored by Quectel Wireless Solutions Co., Ltd. or any of its subsidiaries or affiliates. QuecManager is developed and maintained independently by the QuecManager development team.

                                                                                                                      3.1 Independent Development: This software has been created independently to provide management capabilities for Quectel devices. Any trademarks, service marks, or product names mentioned in relation to Quectel are the property of Quectel Wireless Solutions Co., Ltd.

                                                                                                                      3.2 No Official Support: Quectel does not provide support, warranty, or endorsement for QuecManager. All support and inquiries regarding QuecManager should be directed to the QuecManager development team through official channels.

                                                                                                                      3.3 Device Compatibility: While QuecManager is designed to work with Quectel devices, we cannot guarantee compatibility with all device models or firmware versions. Use of QuecManager with Quectel devices is at your own discretion and risk.

                                                                                                                      4. License and Usage Rights

                                                                                                                      4.1 Grant of License: Subject to these Terms, we grant you a limited, non-exclusive, non-transferable, revocable license to use QuecManager solely for managing your Quectel devices in accordance with these Terms.

                                                                                                                      4.2 Restrictions: You may not:

                                                                                                                      • Modify, reverse engineer, decompile, or disassemble the Software
                                                                                                                      • Distribute, sublicense, or transfer the Software to third parties
                                                                                                                      • Use the Software for any illegal or unauthorized purpose
                                                                                                                      • Remove or alter any proprietary notices or labels
                                                                                                                      • Use the Software to damage, disable, or impair any networks or systems

                                                                                                                      5. Device Compatibility and Requirements

                                                                                                                      5.1 Compatibility: QuecManager is designed for use with Quectel cellular modems and routers. Compatibility is not guaranteed for all device models or firmware versions.

                                                                                                                      5.2 System Requirements: You are responsible for ensuring your system meets the minimum requirements for running QuecManager, including compatible web browsers, network connectivity, and device firmware.

                                                                                                                      5.3 Device Access: You must have legitimate ownership or authorization to manage any devices you connect to QuecManager.

                                                                                                                      6. User Responsibilities

                                                                                                                      You agree to:

                                                                                                                      • Use QuecManager only for lawful purposes and in compliance with all applicable laws and regulations
                                                                                                                      • Maintain the security and confidentiality of your device access credentials
                                                                                                                      • Regularly backup important device configurations and data
                                                                                                                      • Keep your devices and QuecManager installation updated with the latest security patches
                                                                                                                      • Monitor your device usage to ensure compliance with your carrier's terms of service
                                                                                                                      • Report any security vulnerabilities or bugs to the development team
                                                                                                                      • Not use the Software to interfere with or disrupt networks, servers, or other users

                                                                                                                      7. Privacy and Data Collection

                                                                                                                      7.1 Local Processing: QuecManager operates primarily as a local management interface. Device data and configurations are processed locally on your device and network.

                                                                                                                      7.2 No Remote Data Collection: We do not collect, store, or transmit your device data, configurations, or usage information to remote servers unless explicitly enabled by you for specific features.

                                                                                                                      7.3 Analytics: QuecManager may collect anonymous usage statistics to improve the software. This data does not include personal information or device-specific details.

                                                                                                                      7.4 Third-Party Services: If you choose to integrate with third-party services, those services' privacy policies will apply to data shared with them.

                                                                                                                      8. Security Considerations

                                                                                                                      8.1 Network Security: You are responsible for securing your network and devices when using QuecManager. This includes using strong passwords, enabling encryption, and implementing appropriate firewall rules.

                                                                                                                      8.2 Access Control: Limit access to QuecManager to authorized personnel only. Implement proper user authentication and access controls.

                                                                                                                      8.3 Regular Updates: Keep QuecManager and your device firmware updated to protect against security vulnerabilities.

                                                                                                                      9. Disclaimers and Limitations

                                                                                                                      9.1 "AS IS" Basis: QuecManager is provided "as is" without any warranties, express or implied, including but not limited to warranties of merchantability, fitness for a particular purpose, or non-infringement.

                                                                                                                      9.2 No Guarantee of Availability: We do not guarantee that QuecManager will be available at all times or free from errors, bugs, or interruptions.

                                                                                                                      9.3 Device Damage: Use of QuecManager is at your own risk. We are not responsible for any damage to your devices, data loss, or network disruption resulting from the use of the Software.

                                                                                                                      9.4 Carrier Compliance: You are responsible for ensuring your use of QuecManager complies with your cellular carrier's terms of service and data usage policies.

                                                                                                                      10. Limitation of Liability

                                                                                                                      To the maximum extent permitted by applicable law, we shall not be liable for any indirect, incidental, special, consequential, or punitive damages, including but not limited to:

                                                                                                                      • Loss of profits, data, or business opportunities
                                                                                                                      • Device damage or malfunction
                                                                                                                      • Network downtime or service interruption
                                                                                                                      • Security breaches or unauthorized access
                                                                                                                      • Carrier charges or fees resulting from software use

                                                                                                                      Our total liability for any claims arising from or related to QuecManager shall not exceed the amount you paid for the Software, if any.

                                                                                                                      11. Updates and Modifications

                                                                                                                      11.1 Software Updates: We may release updates, patches, or new versions of QuecManager. You are encouraged to install updates to maintain security and functionality.

                                                                                                                      11.2 Terms Updates: We reserve the right to modify these Terms at any time. Updated Terms will be effective immediately upon posting. Continued use of QuecManager after changes constitutes acceptance of the new Terms.

                                                                                                                      11.3 Feature Changes: We may add, modify, or remove features from QuecManager without prior notice.

                                                                                                                      12. Open Source and Third-Party Components

                                                                                                                      QuecManager may include open source software components and third-party libraries. These components are governed by their respective licenses, which are included in the software distribution. You agree to comply with all applicable open source licenses.

                                                                                                                      A complete list of third-party components and their licenses is available in the software documentation and source code repository.

                                                                                                                      13. Termination

                                                                                                                      13.1 Termination by You: You may stop using QuecManager at any time by uninstalling the Software from your devices.

                                                                                                                      13.2 Termination by Us: We may terminate your right to use QuecManager if you violate these Terms or engage in prohibited activities.

                                                                                                                      13.3 Effect of Termination: Upon termination, your right to use QuecManager ceases immediately. You must uninstall the Software and destroy all copies in your possession.

                                                                                                                      14. Governing Law and Disputes

                                                                                                                      14.1 Governing Law: These Terms shall be governed by and construed in accordance with the laws of your jurisdiction, without regard to conflict of law principles.

                                                                                                                      14.2 Dispute Resolution: Any disputes arising from these Terms or your use of QuecManager should first be addressed through good faith negotiation. If resolution cannot be reached, disputes may be subject to binding arbitration or court proceedings as determined by applicable law.

                                                                                                                      15. Contact Information

                                                                                                                      If you have questions about these Terms or QuecManager, please contact us through:

                                                                                                                      • GitHub repository issues and discussions
                                                                                                                      • Official documentation and support channels
                                                                                                                      • Community forums and support resources

                                                                                                                      For security-related issues, please follow responsible disclosure practices as outlined in our security policy.

                                                                                                                      16. Miscellaneous

                                                                                                                      16.1 Entire Agreement: These Terms constitute the entire agreement between you and us regarding QuecManager and supersede all prior agreements.

                                                                                                                      16.2 Severability: If any provision of these Terms is found to be unenforceable, the remaining provisions shall remain in full force and effect.

                                                                                                                      16.3 Waiver: Our failure to enforce any provision of these Terms shall not constitute a waiver of that provision.

                                                                                                                      16.4 Assignment: You may not assign or transfer your rights under these Terms without our prior written consent.

                                                                                                                      QuecManager Logo

                                                                                                                      QuecManager Terms of Service - Version 1.0

                                                                                                                      Last Updated: August 18, 2025

                                                                                                                      By using QuecManager, you acknowledge that you have read and understood these Terms of Service and agree to be bound by them.

                                                                                                                        \ No newline at end of file diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/legal/tos/index.txt b/ipk-source/sdxpinn-quecmanager-beta/root/www/legal/tos/index.txt index a82dfe2..1ce7398 100644 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/legal/tos/index.txt +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/legal/tos/index.txt @@ -10,8 +10,8 @@ b:I[99165,[],"MetadataBoundary"] d:I[99165,[],"ViewportBoundary"] f:I[25339,[],""] -:HL["/_next/static/css/e519296cc38ae8e2.css","style"] -0:{"P":null,"b":"uRwx5ooNp2kzLYjnL-ESB","p":"","c":["","legal","tos",""],"i":false,"f":[[["",{"children":["legal",{"children":["tos",{"children":["__PAGE__",{}]}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/e519296cc38ae8e2.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":["$","body",null,{"className":"antialiased __className_9dae3d","children":[["$","$L2",null,{"attribute":"class","defaultTheme":"system","enableSystem":true,"disableTransitionOnChange":true,"children":["$","$L3",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[],[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]}],["$","$L6",null,{}]]}]}]]}],{"children":["legal",["$","$1","c",{"children":[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","legal","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["tos",["$","$1","c",{"children":[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","legal","children","tos","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","div",null,{"className":"max-w-4xl mx-auto p-6 space-y-6","children":["$","div",null,{"ref":"$undefined","className":"rounded-xl border bg-card text-card-foreground shadow","children":[["$","div",null,{"ref":"$undefined","className":"flex flex-col space-y-1.5 p-6 text-center","children":[["$","h3",null,{"ref":"$undefined","className":"tracking-tight text-3xl font-bold text-gray-900 dark:text-gray-100","children":"QuecManager Terms of Service"}],["$","$L7",null,{"href":"/login","children":["$","button",null,{"className":"inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0 text-primary underline-offset-4 hover:underline h-9 px-4 py-2","ref":"$undefined","children":[["$","svg",null,{"ref":"$undefined","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","className":"lucide lucide-arrow-left size-4","children":[["$","path","1l729n",{"d":"m12 19-7-7 7-7"}],["$","path","x3x0zl",{"d":"M19 12H5"}],"$undefined"]}],"Go Back"]}]}]]}],["$","div",null,{"ref":"$undefined","className":"p-6 pt-0 space-y-8","children":[["$","section",null,{"children":[["$","h2",null,{"className":"text-2xl font-semibold mb-4 text-gray-800 dark:text-gray-200","children":"1. Acceptance of Terms"}],["$","p",null,{"className":"text-gray-700 dark:text-gray-300 leading-relaxed","children":"By accessing, installing, or using QuecManager (\"the Software\"), you acknowledge that you have read, understood, and agree to be bound by these Terms of Service (\"Terms\"). If you do not agree to these Terms, you must not use the Software. These Terms constitute a legally binding agreement between you (\"User\" or \"you\") and the QuecManager development team (\"we,\" \"us,\" or \"our\")."}]]}],["$","$L8",null,{}],["$","section",null,{"children":[["$","h2",null,{"className":"text-2xl font-semibold mb-4 text-gray-800 dark:text-gray-200","children":"2. Description of Service"}],["$","p",null,{"className":"text-gray-700 dark:text-gray-300 leading-relaxed mb-4","children":"QuecManager is a web-based management interface designed for Quectel cellular modems and routers. The Software provides:"}],["$","ul",null,{"className":"list-disc list-inside space-y-2 text-gray-700 dark:text-gray-300 ml-4","children":[["$","li",null,{"children":"Real-time monitoring of cellular connectivity and network status"}],["$","li",null,{"children":"Configuration management for network settings and cellular parameters"}],["$","li",null,{"children":"Diagnostic tools for troubleshooting connectivity issues"}],["$","li",null,{"children":"Performance metrics and usage analytics"}],["$","li",null,{"children":"Remote management capabilities for supported devices"}],["$","li",null,{"children":"Firmware update management and device administration"}]]}]]}],["$","$L8",null,{}],["$","section",null,{"children":[["$","h2",null,{"className":"text-2xl font-semibold mb-4 text-gray-800 dark:text-gray-200","children":"3. Third-Party Disclaimer"}],["$","div",null,{"className":"bg-yellow-50 dark:bg-yellow-900/20 border border-yellow-200 dark:border-yellow-800 rounded-lg p-4 mb-4","children":["$","p",null,{"className":"text-gray-700 dark:text-gray-300 leading-relaxed","children":[["$","strong",null,{"className":"text-gray-900 dark:text-gray-100","children":"Important Notice:"}]," ","QuecManager is an independent, third-party software application and is"," ",["$","strong",null,{"children":"not affiliated with, endorsed by, or sponsored by Quectel Wireless Solutions Co., Ltd."}]," ","or any of its subsidiaries or affiliates. QuecManager is developed and maintained independently by the QuecManager development team."]}]}],["$","div",null,{"className":"space-y-4 text-gray-700 dark:text-gray-300","children":[["$","p",null,{"children":[["$","strong",null,{"className":"text-gray-900 dark:text-gray-100","children":"3.1 Independent Development:"}]," ","This software has been created independently to provide management capabilities for Quectel devices. Any trademarks, service marks, or product names mentioned in relation to Quectel are the property of Quectel Wireless Solutions Co., Ltd."]}],["$","p",null,{"children":[["$","strong",null,{"className":"text-gray-900 dark:text-gray-100","children":"3.2 No Official Support:"}]," ","Quectel does not provide support, warranty, or endorsement for QuecManager. All support and inquiries regarding QuecManager should be directed to the QuecManager development team through official channels."]}],["$","p",null,{"children":[["$","strong",null,{"className":"text-gray-900 dark:text-gray-100","children":"3.3 Device Compatibility:"}]," ","While QuecManager is designed to work with Quectel devices, we cannot guarantee compatibility with all device models or firmware versions. Use of QuecManager with Quectel devices is at your own discretion and risk."]}]]}]]}],["$","$L8",null,{}],["$","section",null,{"children":[["$","h2",null,{"className":"text-2xl font-semibold mb-4 text-gray-800 dark:text-gray-200","children":"4. License and Usage Rights"}],["$","div",null,{"className":"space-y-4 text-gray-700 dark:text-gray-300","children":[["$","p",null,{"children":[["$","strong",null,{"className":"text-gray-900 dark:text-gray-100","children":"4.1 Grant of License:"}]," ","Subject to these Terms, we grant you a limited, non-exclusive, non-transferable, revocable license to use QuecManager solely for managing your Quectel devices in accordance with these Terms."]}],["$","p",null,{"children":[["$","strong",null,{"className":"text-gray-900 dark:text-gray-100","children":"4.2 Restrictions:"}]," ","You may not:"]}],["$","ul",null,{"className":"list-disc list-inside space-y-1 ml-6","children":[["$","li",null,{"children":"Modify, reverse engineer, decompile, or disassemble the Software"}],["$","li",null,{"children":"Distribute, sublicense, or transfer the Software to third parties"}],["$","li",null,{"children":"Use the Software for any illegal or unauthorized purpose"}],["$","li",null,{"children":"Remove or alter any proprietary notices or labels"}],["$","li",null,{"children":"Use the Software to damage, disable, or impair any networks or systems"}]]}]]}]]}],["$","$L8",null,{}],["$","section",null,{"children":[["$","h2",null,{"className":"text-2xl font-semibold mb-4 text-gray-800 dark:text-gray-200","children":"5. Device Compatibility and Requirements"}],["$","div",null,{"className":"space-y-4 text-gray-700 dark:text-gray-300","children":[["$","p",null,{"children":[["$","strong",null,{"className":"text-gray-900 dark:text-gray-100","children":"5.1 Compatibility:"}]," ","QuecManager is designed for use with Quectel cellular modems and routers. Compatibility is not guaranteed for all device models or firmware versions."]}],["$","p",null,{"children":[["$","strong",null,{"className":"text-gray-900 dark:text-gray-100","children":"5.2 System Requirements:"}]," ","You are responsible for ensuring your system meets the minimum requirements for running QuecManager, including compatible web browsers, network connectivity, and device firmware."]}],["$","p",null,{"children":[["$","strong",null,{"className":"text-gray-900 dark:text-gray-100","children":"5.3 Device Access:"}]," ","You must have legitimate ownership or authorization to manage any devices you connect to QuecManager."]}]]}]]}],["$","$L8",null,{}],["$","section",null,{"children":[["$","h2",null,{"className":"text-2xl font-semibold mb-4 text-gray-800 dark:text-gray-200","children":"6. User Responsibilities"}],["$","div",null,{"className":"space-y-4 text-gray-700 dark:text-gray-300","children":[["$","p",null,{"children":"You agree to:"}],["$","ul",null,{"className":"list-disc list-inside space-y-2 ml-4","children":[["$","li",null,{"children":"Use QuecManager only for lawful purposes and in compliance with all applicable laws and regulations"}],["$","li",null,{"children":"Maintain the security and confidentiality of your device access credentials"}],["$","li",null,{"children":"Regularly backup important device configurations and data"}],["$","li",null,{"children":"Keep your devices and QuecManager installation updated with the latest security patches"}],["$","li",null,{"children":"Monitor your device usage to ensure compliance with your carrier's terms of service"}],["$","li",null,{"children":"Report any security vulnerabilities or bugs to the development team"}],["$","li",null,{"children":"Not use the Software to interfere with or disrupt networks, servers, or other users"}]]}]]}]]}],["$","$L8",null,{}],["$","section",null,{"children":[["$","h2",null,{"className":"text-2xl font-semibold mb-4 text-gray-800 dark:text-gray-200","children":"7. Privacy and Data Collection"}],["$","div",null,{"className":"space-y-4 text-gray-700 dark:text-gray-300","children":[["$","p",null,{"children":[["$","strong",null,{"className":"text-gray-900 dark:text-gray-100","children":"7.1 Local Processing:"}]," ","QuecManager operates primarily as a local management interface. Device data and configurations are processed locally on your device and network."]}],["$","p",null,{"children":[["$","strong",null,{"className":"text-gray-900 dark:text-gray-100","children":"7.2 No Remote Data Collection:"}]," ","We do not collect, store, or transmit your device data, configurations, or usage information to remote servers unless explicitly enabled by you for specific features."]}],["$","p",null,{"children":[["$","strong",null,{"className":"text-gray-900 dark:text-gray-100","children":"7.3 Analytics:"}]," ","QuecManager may collect anonymous usage statistics to improve the software. This data does not include personal information or device-specific details."]}],["$","p",null,{"children":[["$","strong",null,{"className":"text-gray-900 dark:text-gray-100","children":"7.4 Third-Party Services:"}]," ","If you choose to integrate with third-party services, those services' privacy policies will apply to data shared with them."]}]]}]]}],["$","$L8",null,{}],["$","section",null,{"children":[["$","h2",null,{"className":"text-2xl font-semibold mb-4 text-gray-800 dark:text-gray-200","children":"8. Security Considerations"}],["$","div",null,{"className":"space-y-4 text-gray-700 dark:text-gray-300","children":[["$","p",null,{"children":[["$","strong",null,{"className":"text-gray-900 dark:text-gray-100","children":"8.1 Network Security:"}]," ","You are responsible for securing your network and devices when using QuecManager. This includes using strong passwords, enabling encryption, and implementing appropriate firewall rules."]}],["$","p",null,{"children":[["$","strong",null,{"className":"text-gray-900 dark:text-gray-100","children":"8.2 Access Control:"}]," ","Limit access to QuecManager to authorized personnel only. Implement proper user authentication and access controls."]}],["$","p",null,{"children":[["$","strong",null,{"className":"text-gray-900 dark:text-gray-100","children":"8.3 Regular Updates:"}]," ","Keep QuecManager and your device firmware updated to protect against security vulnerabilities."]}]]}]]}],["$","$L8",null,{}],["$","section",null,{"children":[["$","h2",null,{"className":"text-2xl font-semibold mb-4 text-gray-800 dark:text-gray-200","children":"9. Disclaimers and Limitations"}],["$","div",null,{"className":"space-y-4 text-gray-700 dark:text-gray-300","children":[["$","p",null,{"children":[["$","strong",null,{"className":"text-gray-900 dark:text-gray-100","children":"9.1 \"AS IS\" Basis:"}]," ","QuecManager is provided \"as is\" without any warranties, express or implied, including but not limited to warranties of merchantability, fitness for a particular purpose, or non-infringement."]}],["$","p",null,{"children":[["$","strong",null,{"className":"text-gray-900 dark:text-gray-100","children":"9.2 No Guarantee of Availability:"}]," ","We do not guarantee that QuecManager will be available at all times or free from errors, bugs, or interruptions."]}],["$","p",null,{"children":[["$","strong",null,{"className":"text-gray-900 dark:text-gray-100","children":"9.3 Device Damage:"}]," ","Use of QuecManager is at your own risk. We are not responsible for any damage to your devices, data loss, or network disruption resulting from the use of the Software."]}],["$","p",null,{"children":[["$","strong",null,{"className":"text-gray-900 dark:text-gray-100","children":"9.4 Carrier Compliance:"}]," ","You are responsible for ensuring your use of QuecManager complies with your cellular carrier's terms of service and data usage policies."]}]]}]]}],["$","$L8",null,{}],["$","section",null,{"children":[["$","h2",null,{"className":"text-2xl font-semibold mb-4 text-gray-800 dark:text-gray-200","children":"10. Limitation of Liability"}],["$","div",null,{"className":"space-y-4 text-gray-700 dark:text-gray-300","children":[["$","p",null,{"children":"To the maximum extent permitted by applicable law, we shall not be liable for any indirect, incidental, special, consequential, or punitive damages, including but not limited to:"}],["$","ul",null,{"className":"list-disc list-inside space-y-1 ml-4","children":[["$","li",null,{"children":"Loss of profits, data, or business opportunities"}],["$","li",null,{"children":"Device damage or malfunction"}],["$","li",null,{"children":"Network downtime or service interruption"}],["$","li",null,{"children":"Security breaches or unauthorized access"}],["$","li",null,{"children":"Carrier charges or fees resulting from software use"}]]}],["$","p",null,{"className":"mt-4","children":"Our total liability for any claims arising from or related to QuecManager shall not exceed the amount you paid for the Software, if any."}]]}]]}],["$","$L8",null,{}],["$","section",null,{"children":[["$","h2",null,{"className":"text-2xl font-semibold mb-4 text-gray-800 dark:text-gray-200","children":"11. Updates and Modifications"}],["$","div",null,{"className":"space-y-4 text-gray-700 dark:text-gray-300","children":[["$","p",null,{"children":[["$","strong",null,{"className":"text-gray-900 dark:text-gray-100","children":"11.1 Software Updates:"}]," ","We may release updates, patches, or new versions of QuecManager. You are encouraged to install updates to maintain security and functionality."]}],["$","p",null,{"children":[["$","strong",null,{"className":"text-gray-900 dark:text-gray-100","children":"11.2 Terms Updates:"}]," ","We reserve the right to modify these Terms at any time. Updated Terms will be effective immediately upon posting. Continued use of QuecManager after changes constitutes acceptance of the new Terms."]}],["$","p",null,{"children":[["$","strong",null,{"className":"text-gray-900 dark:text-gray-100","children":"11.3 Feature Changes:"}]," ","We may add, modify, or remove features from QuecManager without prior notice."]}]]}]]}],["$","$L8",null,{}],["$","section",null,{"children":[["$","h2",null,{"className":"text-2xl font-semibold mb-4 text-gray-800 dark:text-gray-200","children":"12. Open Source and Third-Party Components"}],["$","div",null,{"className":"space-y-4 text-gray-700 dark:text-gray-300","children":[["$","p",null,{"children":"QuecManager may include open source software components and third-party libraries. These components are governed by their respective licenses, which are included in the software distribution. You agree to comply with all applicable open source licenses."}],["$","p",null,{"children":"A complete list of third-party components and their licenses is available in the software documentation and source code repository."}]]}]]}],["$","$L8",null,{}],["$","section",null,{"children":[["$","h2",null,{"className":"text-2xl font-semibold mb-4 text-gray-800 dark:text-gray-200","children":"13. Termination"}],["$","div",null,{"className":"space-y-4 text-gray-700 dark:text-gray-300","children":[["$","p",null,{"children":[["$","strong",null,{"className":"text-gray-900 dark:text-gray-100","children":"13.1 Termination by You:"}]," ","You may stop using QuecManager at any time by uninstalling the Software from your devices."]}],["$","p",null,{"children":[["$","strong",null,{"className":"text-gray-900 dark:text-gray-100","children":"13.2 Termination by Us:"}]," ","We may terminate your right to use QuecManager if you violate these Terms or engage in prohibited activities."]}],["$","p",null,{"children":[["$","strong",null,{"className":"text-gray-900 dark:text-gray-100","children":"13.3 Effect of Termination:"}]," ","Upon termination, your right to use QuecManager ceases immediately. You must uninstall the Software and destroy all copies in your possession."]}]]}]]}],["$","$L8",null,{}],["$","section",null,{"children":[["$","h2",null,{"className":"text-2xl font-semibold mb-4 text-gray-800 dark:text-gray-200","children":"14. Governing Law and Disputes"}],["$","div",null,{"className":"space-y-4 text-gray-700 dark:text-gray-300","children":[["$","p",null,{"children":[["$","strong",null,{"className":"text-gray-900 dark:text-gray-100","children":"14.1 Governing Law:"}]," ","These Terms shall be governed by and construed in accordance with the laws of your jurisdiction, without regard to conflict of law principles."]}],["$","p",null,{"children":[["$","strong",null,{"className":"text-gray-900 dark:text-gray-100","children":"14.2 Dispute Resolution:"}]," ","Any disputes arising from these Terms or your use of QuecManager should first be addressed through good faith negotiation. If resolution cannot be reached, disputes may be subject to binding arbitration or court proceedings as determined by applicable law."]}]]}]]}],["$","$L8",null,{}],["$","section",null,{"children":[["$","h2",null,{"className":"text-2xl font-semibold mb-4 text-gray-800 dark:text-gray-200","children":"15. Contact Information"}],["$","div",null,{"className":"space-y-4 text-gray-700 dark:text-gray-300","children":[["$","p",null,{"children":"If you have questions about these Terms or QuecManager, please contact us through:"}],["$","ul",null,{"className":"list-disc list-inside space-y-1 ml-4","children":[["$","li",null,{"children":"GitHub repository issues and discussions"}],["$","li",null,{"children":"Official documentation and support channels"}],["$","li",null,{"children":"Community forums and support resources"}]]}],["$","p",null,{"className":"mt-4","children":"For security-related issues, please follow responsible disclosure practices as outlined in our security policy."}]]}]]}],["$","$L8",null,{}],["$","section",null,{"children":[["$","h2",null,{"className":"text-2xl font-semibold mb-4 text-gray-800 dark:text-gray-200","children":"16. Miscellaneous"}],["$","div",null,{"className":"space-y-4 text-gray-700 dark:text-gray-300","children":[["$","p",null,{"children":[["$","strong",null,{"className":"text-gray-900 dark:text-gray-100","children":"16.1 Entire Agreement:"}]," ","These Terms constitute the entire agreement between you and us regarding QuecManager and supersede all prior agreements."]}],["$","p",null,{"children":[["$","strong",null,{"className":"text-gray-900 dark:text-gray-100","children":"16.2 Severability:"}]," ","If any provision of these Terms is found to be unenforceable, the remaining provisions shall remain in full force and effect."]}],["$","p",null,{"children":[["$","strong",null,{"className":"text-gray-900 dark:text-gray-100","children":"16.3 Waiver:"}]," ","Our failure to enforce any provision of these Terms shall not constitute a waiver of that provision."]}],["$","p",null,{"children":[["$","strong",null,{"className":"text-gray-900 dark:text-gray-100","children":"16.4 Assignment:"}]," ","You may not assign or transfer your rights under these Terms without our prior written consent."]}]]}]]}],["$","div",null,{"className":"mt-12 pt-8 border-t border-gray-200 dark:border-gray-700","children":["$","div",null,{"className":"text-center space-y-2","children":[["$","div",null,{"className":"flex justify-center","children":["$","img",null,{"src":"/login-logo.svg","alt":"QuecManager Logo","className":"lg:size-16 size-12 object-cover"}]}],["$","p",null,{"className":"text-sm text-gray-600 dark:text-gray-400","children":["QuecManager Terms of Service - Version ","1.0"]}],["$","p",null,{"className":"text-sm text-gray-600 dark:text-gray-400","children":["Last Updated: ","August 18, 2025"]}],["$","p",null,{"className":"text-xs text-gray-500 dark:text-gray-500 mt-4","children":"By using QuecManager, you acknowledge that you have read and understood these Terms of Service and agree to be bound by them."}]]}]}]]}]]}]}],null,["$","$L9",null,{"children":"$La"}]]}],{},null,false]},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,["$","$1","WrezfxGv6M6r6Tc_nzvA_",{"children":[["$","$Lb",null,{"children":"$Lc"}],["$","$Ld",null,{"children":"$Le"}],null]}]]}],false]],"m":"$undefined","G":["$f","$undefined"],"s":false,"S":true} +:HL["/_next/static/css/b43dda0a8d427715.css","style"] +0:{"P":null,"b":"QktWtlsQL-2ss_eQyrSZD","p":"","c":["","legal","tos",""],"i":false,"f":[[["",{"children":["legal",{"children":["tos",{"children":["__PAGE__",{}]}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/b43dda0a8d427715.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":["$","body",null,{"className":"antialiased __className_9dae3d","children":[["$","$L2",null,{"attribute":"class","defaultTheme":"system","enableSystem":true,"disableTransitionOnChange":true,"children":["$","$L3",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[],[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]}],["$","$L6",null,{}]]}]}]]}],{"children":["legal",["$","$1","c",{"children":[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","legal","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["tos",["$","$1","c",{"children":[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","legal","children","tos","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","div",null,{"className":"max-w-4xl mx-auto p-6 space-y-6","children":["$","div",null,{"ref":"$undefined","className":"rounded-xl border bg-card text-card-foreground shadow","children":[["$","div",null,{"ref":"$undefined","className":"flex flex-col space-y-1.5 p-6 text-center","children":[["$","h3",null,{"ref":"$undefined","className":"tracking-tight text-3xl font-bold text-gray-900 dark:text-gray-100","children":"QuecManager Terms of Service"}],["$","$L7",null,{"href":"/login","children":["$","button",null,{"className":"inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0 text-primary underline-offset-4 hover:underline h-9 px-4 py-2","ref":"$undefined","children":[["$","svg",null,{"ref":"$undefined","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","className":"lucide lucide-arrow-left size-4","children":[["$","path","1l729n",{"d":"m12 19-7-7 7-7"}],["$","path","x3x0zl",{"d":"M19 12H5"}],"$undefined"]}],"Go Back"]}]}]]}],["$","div",null,{"ref":"$undefined","className":"p-6 pt-0 space-y-8","children":[["$","section",null,{"children":[["$","h2",null,{"className":"text-2xl font-semibold mb-4 text-gray-800 dark:text-gray-200","children":"1. Acceptance of Terms"}],["$","p",null,{"className":"text-gray-700 dark:text-gray-300 leading-relaxed","children":"By accessing, installing, or using QuecManager (\"the Software\"), you acknowledge that you have read, understood, and agree to be bound by these Terms of Service (\"Terms\"). If you do not agree to these Terms, you must not use the Software. These Terms constitute a legally binding agreement between you (\"User\" or \"you\") and the QuecManager development team (\"we,\" \"us,\" or \"our\")."}]]}],["$","$L8",null,{}],["$","section",null,{"children":[["$","h2",null,{"className":"text-2xl font-semibold mb-4 text-gray-800 dark:text-gray-200","children":"2. Description of Service"}],["$","p",null,{"className":"text-gray-700 dark:text-gray-300 leading-relaxed mb-4","children":"QuecManager is a web-based management interface designed for Quectel cellular modems and routers. The Software provides:"}],["$","ul",null,{"className":"list-disc list-inside space-y-2 text-gray-700 dark:text-gray-300 ml-4","children":[["$","li",null,{"children":"Real-time monitoring of cellular connectivity and network status"}],["$","li",null,{"children":"Configuration management for network settings and cellular parameters"}],["$","li",null,{"children":"Diagnostic tools for troubleshooting connectivity issues"}],["$","li",null,{"children":"Performance metrics and usage analytics"}],["$","li",null,{"children":"Remote management capabilities for supported devices"}],["$","li",null,{"children":"Firmware update management and device administration"}]]}]]}],["$","$L8",null,{}],["$","section",null,{"children":[["$","h2",null,{"className":"text-2xl font-semibold mb-4 text-gray-800 dark:text-gray-200","children":"3. Third-Party Disclaimer"}],["$","div",null,{"className":"bg-yellow-50 dark:bg-yellow-900/20 border border-yellow-200 dark:border-yellow-800 rounded-lg p-4 mb-4","children":["$","p",null,{"className":"text-gray-700 dark:text-gray-300 leading-relaxed","children":[["$","strong",null,{"className":"text-gray-900 dark:text-gray-100","children":"Important Notice:"}]," ","QuecManager is an independent, third-party software application and is"," ",["$","strong",null,{"children":"not affiliated with, endorsed by, or sponsored by Quectel Wireless Solutions Co., Ltd."}]," ","or any of its subsidiaries or affiliates. QuecManager is developed and maintained independently by the QuecManager development team."]}]}],["$","div",null,{"className":"space-y-4 text-gray-700 dark:text-gray-300","children":[["$","p",null,{"children":[["$","strong",null,{"className":"text-gray-900 dark:text-gray-100","children":"3.1 Independent Development:"}]," ","This software has been created independently to provide management capabilities for Quectel devices. Any trademarks, service marks, or product names mentioned in relation to Quectel are the property of Quectel Wireless Solutions Co., Ltd."]}],["$","p",null,{"children":[["$","strong",null,{"className":"text-gray-900 dark:text-gray-100","children":"3.2 No Official Support:"}]," ","Quectel does not provide support, warranty, or endorsement for QuecManager. All support and inquiries regarding QuecManager should be directed to the QuecManager development team through official channels."]}],["$","p",null,{"children":[["$","strong",null,{"className":"text-gray-900 dark:text-gray-100","children":"3.3 Device Compatibility:"}]," ","While QuecManager is designed to work with Quectel devices, we cannot guarantee compatibility with all device models or firmware versions. Use of QuecManager with Quectel devices is at your own discretion and risk."]}]]}]]}],["$","$L8",null,{}],["$","section",null,{"children":[["$","h2",null,{"className":"text-2xl font-semibold mb-4 text-gray-800 dark:text-gray-200","children":"4. License and Usage Rights"}],["$","div",null,{"className":"space-y-4 text-gray-700 dark:text-gray-300","children":[["$","p",null,{"children":[["$","strong",null,{"className":"text-gray-900 dark:text-gray-100","children":"4.1 Grant of License:"}]," ","Subject to these Terms, we grant you a limited, non-exclusive, non-transferable, revocable license to use QuecManager solely for managing your Quectel devices in accordance with these Terms."]}],["$","p",null,{"children":[["$","strong",null,{"className":"text-gray-900 dark:text-gray-100","children":"4.2 Restrictions:"}]," ","You may not:"]}],["$","ul",null,{"className":"list-disc list-inside space-y-1 ml-6","children":[["$","li",null,{"children":"Modify, reverse engineer, decompile, or disassemble the Software"}],["$","li",null,{"children":"Distribute, sublicense, or transfer the Software to third parties"}],["$","li",null,{"children":"Use the Software for any illegal or unauthorized purpose"}],["$","li",null,{"children":"Remove or alter any proprietary notices or labels"}],["$","li",null,{"children":"Use the Software to damage, disable, or impair any networks or systems"}]]}]]}]]}],["$","$L8",null,{}],["$","section",null,{"children":[["$","h2",null,{"className":"text-2xl font-semibold mb-4 text-gray-800 dark:text-gray-200","children":"5. Device Compatibility and Requirements"}],["$","div",null,{"className":"space-y-4 text-gray-700 dark:text-gray-300","children":[["$","p",null,{"children":[["$","strong",null,{"className":"text-gray-900 dark:text-gray-100","children":"5.1 Compatibility:"}]," ","QuecManager is designed for use with Quectel cellular modems and routers. Compatibility is not guaranteed for all device models or firmware versions."]}],["$","p",null,{"children":[["$","strong",null,{"className":"text-gray-900 dark:text-gray-100","children":"5.2 System Requirements:"}]," ","You are responsible for ensuring your system meets the minimum requirements for running QuecManager, including compatible web browsers, network connectivity, and device firmware."]}],["$","p",null,{"children":[["$","strong",null,{"className":"text-gray-900 dark:text-gray-100","children":"5.3 Device Access:"}]," ","You must have legitimate ownership or authorization to manage any devices you connect to QuecManager."]}]]}]]}],["$","$L8",null,{}],["$","section",null,{"children":[["$","h2",null,{"className":"text-2xl font-semibold mb-4 text-gray-800 dark:text-gray-200","children":"6. User Responsibilities"}],["$","div",null,{"className":"space-y-4 text-gray-700 dark:text-gray-300","children":[["$","p",null,{"children":"You agree to:"}],["$","ul",null,{"className":"list-disc list-inside space-y-2 ml-4","children":[["$","li",null,{"children":"Use QuecManager only for lawful purposes and in compliance with all applicable laws and regulations"}],["$","li",null,{"children":"Maintain the security and confidentiality of your device access credentials"}],["$","li",null,{"children":"Regularly backup important device configurations and data"}],["$","li",null,{"children":"Keep your devices and QuecManager installation updated with the latest security patches"}],["$","li",null,{"children":"Monitor your device usage to ensure compliance with your carrier's terms of service"}],["$","li",null,{"children":"Report any security vulnerabilities or bugs to the development team"}],["$","li",null,{"children":"Not use the Software to interfere with or disrupt networks, servers, or other users"}]]}]]}]]}],["$","$L8",null,{}],["$","section",null,{"children":[["$","h2",null,{"className":"text-2xl font-semibold mb-4 text-gray-800 dark:text-gray-200","children":"7. Privacy and Data Collection"}],["$","div",null,{"className":"space-y-4 text-gray-700 dark:text-gray-300","children":[["$","p",null,{"children":[["$","strong",null,{"className":"text-gray-900 dark:text-gray-100","children":"7.1 Local Processing:"}]," ","QuecManager operates primarily as a local management interface. Device data and configurations are processed locally on your device and network."]}],["$","p",null,{"children":[["$","strong",null,{"className":"text-gray-900 dark:text-gray-100","children":"7.2 No Remote Data Collection:"}]," ","We do not collect, store, or transmit your device data, configurations, or usage information to remote servers unless explicitly enabled by you for specific features."]}],["$","p",null,{"children":[["$","strong",null,{"className":"text-gray-900 dark:text-gray-100","children":"7.3 Analytics:"}]," ","QuecManager may collect anonymous usage statistics to improve the software. This data does not include personal information or device-specific details."]}],["$","p",null,{"children":[["$","strong",null,{"className":"text-gray-900 dark:text-gray-100","children":"7.4 Third-Party Services:"}]," ","If you choose to integrate with third-party services, those services' privacy policies will apply to data shared with them."]}]]}]]}],["$","$L8",null,{}],["$","section",null,{"children":[["$","h2",null,{"className":"text-2xl font-semibold mb-4 text-gray-800 dark:text-gray-200","children":"8. Security Considerations"}],["$","div",null,{"className":"space-y-4 text-gray-700 dark:text-gray-300","children":[["$","p",null,{"children":[["$","strong",null,{"className":"text-gray-900 dark:text-gray-100","children":"8.1 Network Security:"}]," ","You are responsible for securing your network and devices when using QuecManager. This includes using strong passwords, enabling encryption, and implementing appropriate firewall rules."]}],["$","p",null,{"children":[["$","strong",null,{"className":"text-gray-900 dark:text-gray-100","children":"8.2 Access Control:"}]," ","Limit access to QuecManager to authorized personnel only. Implement proper user authentication and access controls."]}],["$","p",null,{"children":[["$","strong",null,{"className":"text-gray-900 dark:text-gray-100","children":"8.3 Regular Updates:"}]," ","Keep QuecManager and your device firmware updated to protect against security vulnerabilities."]}]]}]]}],["$","$L8",null,{}],["$","section",null,{"children":[["$","h2",null,{"className":"text-2xl font-semibold mb-4 text-gray-800 dark:text-gray-200","children":"9. Disclaimers and Limitations"}],["$","div",null,{"className":"space-y-4 text-gray-700 dark:text-gray-300","children":[["$","p",null,{"children":[["$","strong",null,{"className":"text-gray-900 dark:text-gray-100","children":"9.1 \"AS IS\" Basis:"}]," ","QuecManager is provided \"as is\" without any warranties, express or implied, including but not limited to warranties of merchantability, fitness for a particular purpose, or non-infringement."]}],["$","p",null,{"children":[["$","strong",null,{"className":"text-gray-900 dark:text-gray-100","children":"9.2 No Guarantee of Availability:"}]," ","We do not guarantee that QuecManager will be available at all times or free from errors, bugs, or interruptions."]}],["$","p",null,{"children":[["$","strong",null,{"className":"text-gray-900 dark:text-gray-100","children":"9.3 Device Damage:"}]," ","Use of QuecManager is at your own risk. We are not responsible for any damage to your devices, data loss, or network disruption resulting from the use of the Software."]}],["$","p",null,{"children":[["$","strong",null,{"className":"text-gray-900 dark:text-gray-100","children":"9.4 Carrier Compliance:"}]," ","You are responsible for ensuring your use of QuecManager complies with your cellular carrier's terms of service and data usage policies."]}]]}]]}],["$","$L8",null,{}],["$","section",null,{"children":[["$","h2",null,{"className":"text-2xl font-semibold mb-4 text-gray-800 dark:text-gray-200","children":"10. Limitation of Liability"}],["$","div",null,{"className":"space-y-4 text-gray-700 dark:text-gray-300","children":[["$","p",null,{"children":"To the maximum extent permitted by applicable law, we shall not be liable for any indirect, incidental, special, consequential, or punitive damages, including but not limited to:"}],["$","ul",null,{"className":"list-disc list-inside space-y-1 ml-4","children":[["$","li",null,{"children":"Loss of profits, data, or business opportunities"}],["$","li",null,{"children":"Device damage or malfunction"}],["$","li",null,{"children":"Network downtime or service interruption"}],["$","li",null,{"children":"Security breaches or unauthorized access"}],["$","li",null,{"children":"Carrier charges or fees resulting from software use"}]]}],["$","p",null,{"className":"mt-4","children":"Our total liability for any claims arising from or related to QuecManager shall not exceed the amount you paid for the Software, if any."}]]}]]}],["$","$L8",null,{}],["$","section",null,{"children":[["$","h2",null,{"className":"text-2xl font-semibold mb-4 text-gray-800 dark:text-gray-200","children":"11. Updates and Modifications"}],["$","div",null,{"className":"space-y-4 text-gray-700 dark:text-gray-300","children":[["$","p",null,{"children":[["$","strong",null,{"className":"text-gray-900 dark:text-gray-100","children":"11.1 Software Updates:"}]," ","We may release updates, patches, or new versions of QuecManager. You are encouraged to install updates to maintain security and functionality."]}],["$","p",null,{"children":[["$","strong",null,{"className":"text-gray-900 dark:text-gray-100","children":"11.2 Terms Updates:"}]," ","We reserve the right to modify these Terms at any time. Updated Terms will be effective immediately upon posting. Continued use of QuecManager after changes constitutes acceptance of the new Terms."]}],["$","p",null,{"children":[["$","strong",null,{"className":"text-gray-900 dark:text-gray-100","children":"11.3 Feature Changes:"}]," ","We may add, modify, or remove features from QuecManager without prior notice."]}]]}]]}],["$","$L8",null,{}],["$","section",null,{"children":[["$","h2",null,{"className":"text-2xl font-semibold mb-4 text-gray-800 dark:text-gray-200","children":"12. Open Source and Third-Party Components"}],["$","div",null,{"className":"space-y-4 text-gray-700 dark:text-gray-300","children":[["$","p",null,{"children":"QuecManager may include open source software components and third-party libraries. These components are governed by their respective licenses, which are included in the software distribution. You agree to comply with all applicable open source licenses."}],["$","p",null,{"children":"A complete list of third-party components and their licenses is available in the software documentation and source code repository."}]]}]]}],["$","$L8",null,{}],["$","section",null,{"children":[["$","h2",null,{"className":"text-2xl font-semibold mb-4 text-gray-800 dark:text-gray-200","children":"13. Termination"}],["$","div",null,{"className":"space-y-4 text-gray-700 dark:text-gray-300","children":[["$","p",null,{"children":[["$","strong",null,{"className":"text-gray-900 dark:text-gray-100","children":"13.1 Termination by You:"}]," ","You may stop using QuecManager at any time by uninstalling the Software from your devices."]}],["$","p",null,{"children":[["$","strong",null,{"className":"text-gray-900 dark:text-gray-100","children":"13.2 Termination by Us:"}]," ","We may terminate your right to use QuecManager if you violate these Terms or engage in prohibited activities."]}],["$","p",null,{"children":[["$","strong",null,{"className":"text-gray-900 dark:text-gray-100","children":"13.3 Effect of Termination:"}]," ","Upon termination, your right to use QuecManager ceases immediately. You must uninstall the Software and destroy all copies in your possession."]}]]}]]}],["$","$L8",null,{}],["$","section",null,{"children":[["$","h2",null,{"className":"text-2xl font-semibold mb-4 text-gray-800 dark:text-gray-200","children":"14. Governing Law and Disputes"}],["$","div",null,{"className":"space-y-4 text-gray-700 dark:text-gray-300","children":[["$","p",null,{"children":[["$","strong",null,{"className":"text-gray-900 dark:text-gray-100","children":"14.1 Governing Law:"}]," ","These Terms shall be governed by and construed in accordance with the laws of your jurisdiction, without regard to conflict of law principles."]}],["$","p",null,{"children":[["$","strong",null,{"className":"text-gray-900 dark:text-gray-100","children":"14.2 Dispute Resolution:"}]," ","Any disputes arising from these Terms or your use of QuecManager should first be addressed through good faith negotiation. If resolution cannot be reached, disputes may be subject to binding arbitration or court proceedings as determined by applicable law."]}]]}]]}],["$","$L8",null,{}],["$","section",null,{"children":[["$","h2",null,{"className":"text-2xl font-semibold mb-4 text-gray-800 dark:text-gray-200","children":"15. Contact Information"}],["$","div",null,{"className":"space-y-4 text-gray-700 dark:text-gray-300","children":[["$","p",null,{"children":"If you have questions about these Terms or QuecManager, please contact us through:"}],["$","ul",null,{"className":"list-disc list-inside space-y-1 ml-4","children":[["$","li",null,{"children":"GitHub repository issues and discussions"}],["$","li",null,{"children":"Official documentation and support channels"}],["$","li",null,{"children":"Community forums and support resources"}]]}],["$","p",null,{"className":"mt-4","children":"For security-related issues, please follow responsible disclosure practices as outlined in our security policy."}]]}]]}],["$","$L8",null,{}],["$","section",null,{"children":[["$","h2",null,{"className":"text-2xl font-semibold mb-4 text-gray-800 dark:text-gray-200","children":"16. Miscellaneous"}],["$","div",null,{"className":"space-y-4 text-gray-700 dark:text-gray-300","children":[["$","p",null,{"children":[["$","strong",null,{"className":"text-gray-900 dark:text-gray-100","children":"16.1 Entire Agreement:"}]," ","These Terms constitute the entire agreement between you and us regarding QuecManager and supersede all prior agreements."]}],["$","p",null,{"children":[["$","strong",null,{"className":"text-gray-900 dark:text-gray-100","children":"16.2 Severability:"}]," ","If any provision of these Terms is found to be unenforceable, the remaining provisions shall remain in full force and effect."]}],["$","p",null,{"children":[["$","strong",null,{"className":"text-gray-900 dark:text-gray-100","children":"16.3 Waiver:"}]," ","Our failure to enforce any provision of these Terms shall not constitute a waiver of that provision."]}],["$","p",null,{"children":[["$","strong",null,{"className":"text-gray-900 dark:text-gray-100","children":"16.4 Assignment:"}]," ","You may not assign or transfer your rights under these Terms without our prior written consent."]}]]}]]}],["$","div",null,{"className":"mt-12 pt-8 border-t border-gray-200 dark:border-gray-700","children":["$","div",null,{"className":"text-center space-y-2","children":[["$","div",null,{"className":"flex justify-center","children":["$","img",null,{"src":"/login-logo.svg","alt":"QuecManager Logo","className":"lg:size-16 size-12 object-cover"}]}],["$","p",null,{"className":"text-sm text-gray-600 dark:text-gray-400","children":["QuecManager Terms of Service - Version ","1.0"]}],["$","p",null,{"className":"text-sm text-gray-600 dark:text-gray-400","children":["Last Updated: ","August 18, 2025"]}],["$","p",null,{"className":"text-xs text-gray-500 dark:text-gray-500 mt-4","children":"By using QuecManager, you acknowledge that you have read and understood these Terms of Service and agree to be bound by them."}]]}]}]]}]]}]}],null,["$","$L9",null,{"children":"$La"}]]}],{},null,false]},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,["$","$1","KukgdEMndC8Y9RxwYaY4u",{"children":[["$","$Lb",null,{"children":"$Lc"}],["$","$Ld",null,{"children":"$Le"}],null]}]]}],false]],"m":"$undefined","G":["$f","$undefined"],"s":false,"S":true} e:[["$","meta","0",{"name":"viewport","content":"width=device-width, initial-scale=1"}]] c:[["$","meta","0",{"charSet":"utf-8"}],["$","title","1",{"children":"QuecManager"}],["$","meta","2",{"name":"description","content":"Simpleadmin but better!"}],["$","link","3",{"rel":"icon","href":"/favicon.ico","type":"image/x-icon","sizes":"16x16"}]] a:null diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/index.html b/ipk-source/sdxpinn-quecmanager-beta/root/www/login.html similarity index 96% rename from ipk-source/sdxpinn-quecmanager-beta/root/www/index.html rename to ipk-source/sdxpinn-quecmanager-beta/root/www/login.html index fa701b0..70a4f48 100644 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/index.html +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/login.html @@ -1 +1 @@ -QuecManager

                                                                                                                        QuecManager Quick Stats

                                                                                                                          \ No newline at end of file +QuecManager

                                                                                                                          QuecManager Quick Stats

                                                                                                                            \ No newline at end of file diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/login/index.html b/ipk-source/sdxpinn-quecmanager-beta/root/www/login/index.html index c720242..a2b853b 100644 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/login/index.html +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/login/index.html @@ -1 +1 @@ -QuecManager
                                                                                                                            QuecManager Logo

                                                                                                                            Welcome to QuecManager

                                                                                                                            Forgot your password?

                                                                                                                            Go Back

                                                                                                                            By clicking continue, you agree to our Terms of Service and Privacy Policy.
                                                                                                                              \ No newline at end of file +QuecManager
                                                                                                                              QuecManager Logo

                                                                                                                              Welcome to QuecManager

                                                                                                                              Forgot your password?

                                                                                                                              Go Back

                                                                                                                              By clicking continue, you agree to our Terms of Service and Privacy Policy.
                                                                                                                                \ No newline at end of file diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/login/index.txt b/ipk-source/sdxpinn-quecmanager-beta/root/www/login/index.txt index 1586b4d..36f9f9f 100644 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/login/index.txt +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/login/index.txt @@ -5,13 +5,13 @@ 5:I[81570,[],""] 6:I[62825,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","3048","static/chunks/3048-9766c902a7fac6d2.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7177","static/chunks/app/layout-ddd6481449252af3.js"],"Toaster"] 7:I[5329,[],"ClientPageRoot"] -8:I[56960,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","9477","static/chunks/9477-4478381adb29cdff.js","4520","static/chunks/app/login/page-0a8c0a357c794cc3.js"],"default"] +8:I[56960,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","9477","static/chunks/9477-4478381adb29cdff.js","4520","static/chunks/app/login/page-d586ebf909e3be1e.js"],"default"] b:I[99165,[],"OutletBoundary"] d:I[99165,[],"MetadataBoundary"] f:I[99165,[],"ViewportBoundary"] 11:I[25339,[],""] -:HL["/_next/static/css/e519296cc38ae8e2.css","style"] -0:{"P":null,"b":"uRwx5ooNp2kzLYjnL-ESB","p":"","c":["","login",""],"i":false,"f":[[["",{"children":["login",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/e519296cc38ae8e2.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":["$","body",null,{"className":"antialiased __className_9dae3d","children":[["$","$L2",null,{"attribute":"class","defaultTheme":"system","enableSystem":true,"disableTransitionOnChange":true,"children":["$","$L3",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[],[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]}],["$","$L6",null,{}]]}]}]]}],{"children":["login",["$","$1","c",{"children":[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","login","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$L7",null,{"Component":"$8","searchParams":{},"params":{},"promises":["$@9","$@a"]}],null,["$","$Lb",null,{"children":"$Lc"}]]}],{},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,["$","$1","cgu6aF8sV6RWpp0QQj2sd",{"children":[["$","$Ld",null,{"children":"$Le"}],["$","$Lf",null,{"children":"$L10"}],null]}]]}],false]],"m":"$undefined","G":["$11","$undefined"],"s":false,"S":true} +:HL["/_next/static/css/b43dda0a8d427715.css","style"] +0:{"P":null,"b":"QktWtlsQL-2ss_eQyrSZD","p":"","c":["","login",""],"i":false,"f":[[["",{"children":["login",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/b43dda0a8d427715.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":["$","body",null,{"className":"antialiased __className_9dae3d","children":[["$","$L2",null,{"attribute":"class","defaultTheme":"system","enableSystem":true,"disableTransitionOnChange":true,"children":["$","$L3",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[],[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]}],["$","$L6",null,{}]]}]}]]}],{"children":["login",["$","$1","c",{"children":[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","login","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$L7",null,{"Component":"$8","searchParams":{},"params":{},"promises":["$@9","$@a"]}],null,["$","$Lb",null,{"children":"$Lc"}]]}],{},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,["$","$1","tAmADneAs_AMSXtqG6VeH",{"children":[["$","$Ld",null,{"children":"$Le"}],["$","$Lf",null,{"children":"$L10"}],null]}]]}],false]],"m":"$undefined","G":["$11","$undefined"],"s":false,"S":true} 9:{} a:{} 10:[["$","meta","0",{"name":"viewport","content":"width=device-width, initial-scale=1"}]] diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/utils/dsMDh6647ZGkOLyv60QE/OGwW8ufEw6nWPQSaliNX/games/tetris/index.html b/ipk-source/sdxpinn-quecmanager-beta/root/www/utils/dsMDh6647ZGkOLyv60QE/OGwW8ufEw6nWPQSaliNX/games/tetris/index.html index fa3353b..ccb1530 100644 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/utils/dsMDh6647ZGkOLyv60QE/OGwW8ufEw6nWPQSaliNX/games/tetris/index.html +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/utils/dsMDh6647ZGkOLyv60QE/OGwW8ufEw6nWPQSaliNX/games/tetris/index.html @@ -1 +1 @@ -QuecManager
                                                                                                                                Score: 0
                                                                                                                                High Score: 0
                                                                                                                                Speed: 1x

                                                                                                                                Controls:

                                                                                                                                ← → : Move

                                                                                                                                ↑ : Rotate

                                                                                                                                ↓ : Soft Drop

                                                                                                                                Space : Hard Drop

                                                                                                                                Ctrl+R : Restart

                                                                                                                                  \ No newline at end of file +QuecManager
                                                                                                                                  Score: 0
                                                                                                                                  High Score: 0
                                                                                                                                  Speed: 1x

                                                                                                                                  Controls:

                                                                                                                                  ← → : Move

                                                                                                                                  ↑ : Rotate

                                                                                                                                  ↓ : Soft Drop

                                                                                                                                  Space : Hard Drop

                                                                                                                                  Ctrl+R : Restart

                                                                                                                                    \ No newline at end of file diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/utils/dsMDh6647ZGkOLyv60QE/OGwW8ufEw6nWPQSaliNX/games/tetris/index.txt b/ipk-source/sdxpinn-quecmanager-beta/root/www/utils/dsMDh6647ZGkOLyv60QE/OGwW8ufEw6nWPQSaliNX/games/tetris/index.txt index fec88fe..0cf1c6f 100644 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/utils/dsMDh6647ZGkOLyv60QE/OGwW8ufEw6nWPQSaliNX/games/tetris/index.txt +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/utils/dsMDh6647ZGkOLyv60QE/OGwW8ufEw6nWPQSaliNX/games/tetris/index.txt @@ -10,8 +10,8 @@ b:I[99165,[],"OutletBoundary"] d:I[99165,[],"MetadataBoundary"] f:I[99165,[],"ViewportBoundary"] 11:I[25339,[],""] -:HL["/_next/static/css/e519296cc38ae8e2.css","style"] -0:{"P":null,"b":"uRwx5ooNp2kzLYjnL-ESB","p":"","c":["","utils","dsMDh6647ZGkOLyv60QE","OGwW8ufEw6nWPQSaliNX","games","tetris",""],"i":false,"f":[[["",{"children":["utils",{"children":["dsMDh6647ZGkOLyv60QE",{"children":["OGwW8ufEw6nWPQSaliNX",{"children":["games",{"children":["tetris",{"children":["__PAGE__",{}]}]}]}]}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/e519296cc38ae8e2.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":["$","body",null,{"className":"antialiased __className_9dae3d","children":[["$","$L2",null,{"attribute":"class","defaultTheme":"system","enableSystem":true,"disableTransitionOnChange":true,"children":["$","$L3",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[],[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]}],["$","$L6",null,{}]]}]}]]}],{"children":["utils",["$","$1","c",{"children":[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","utils","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["dsMDh6647ZGkOLyv60QE",["$","$1","c",{"children":[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","utils","children","dsMDh6647ZGkOLyv60QE","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["OGwW8ufEw6nWPQSaliNX",["$","$1","c",{"children":[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","utils","children","dsMDh6647ZGkOLyv60QE","children","OGwW8ufEw6nWPQSaliNX","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["games",["$","$1","c",{"children":[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","utils","children","dsMDh6647ZGkOLyv60QE","children","OGwW8ufEw6nWPQSaliNX","children","games","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["tetris",["$","$1","c",{"children":[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","utils","children","dsMDh6647ZGkOLyv60QE","children","OGwW8ufEw6nWPQSaliNX","children","games","children","tetris","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$L7",null,{"Component":"$8","searchParams":{},"params":{},"promises":["$@9","$@a"]}],null,["$","$Lb",null,{"children":"$Lc"}]]}],{},null,false]},null,false]},null,false]},null,false]},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,["$","$1","I8Vzzq4okYkc2e5Kq4uXd",{"children":[["$","$Ld",null,{"children":"$Le"}],["$","$Lf",null,{"children":"$L10"}],null]}]]}],false]],"m":"$undefined","G":["$11","$undefined"],"s":false,"S":true} +:HL["/_next/static/css/b43dda0a8d427715.css","style"] +0:{"P":null,"b":"QktWtlsQL-2ss_eQyrSZD","p":"","c":["","utils","dsMDh6647ZGkOLyv60QE","OGwW8ufEw6nWPQSaliNX","games","tetris",""],"i":false,"f":[[["",{"children":["utils",{"children":["dsMDh6647ZGkOLyv60QE",{"children":["OGwW8ufEw6nWPQSaliNX",{"children":["games",{"children":["tetris",{"children":["__PAGE__",{}]}]}]}]}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/b43dda0a8d427715.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":["$","body",null,{"className":"antialiased __className_9dae3d","children":[["$","$L2",null,{"attribute":"class","defaultTheme":"system","enableSystem":true,"disableTransitionOnChange":true,"children":["$","$L3",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[],[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]}],["$","$L6",null,{}]]}]}]]}],{"children":["utils",["$","$1","c",{"children":[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","utils","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["dsMDh6647ZGkOLyv60QE",["$","$1","c",{"children":[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","utils","children","dsMDh6647ZGkOLyv60QE","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["OGwW8ufEw6nWPQSaliNX",["$","$1","c",{"children":[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","utils","children","dsMDh6647ZGkOLyv60QE","children","OGwW8ufEw6nWPQSaliNX","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["games",["$","$1","c",{"children":[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","utils","children","dsMDh6647ZGkOLyv60QE","children","OGwW8ufEw6nWPQSaliNX","children","games","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["tetris",["$","$1","c",{"children":[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","utils","children","dsMDh6647ZGkOLyv60QE","children","OGwW8ufEw6nWPQSaliNX","children","games","children","tetris","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$L7",null,{"Component":"$8","searchParams":{},"params":{},"promises":["$@9","$@a"]}],null,["$","$Lb",null,{"children":"$Lc"}]]}],{},null,false]},null,false]},null,false]},null,false]},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,["$","$1","I5FBUcelozA7zWqVut5bc",{"children":[["$","$Ld",null,{"children":"$Le"}],["$","$Lf",null,{"children":"$L10"}],null]}]]}],false]],"m":"$undefined","G":["$11","$undefined"],"s":false,"S":true} 9:{} a:{} 10:[["$","meta","0",{"name":"viewport","content":"width=device-width, initial-scale=1"}]]