1import{k as t}from"./constants-Cmxt85wO.js";var u=[10,20,30,40,50,100,200,500],v=u.find(e=>e>=(window.innerHeight-300)/50)||10,s={aliyun:1}.worldwide??0,a=s==1,g=a?"Asia/Shanghai":"UTC",b=a?"https://www.taosdata.com":"https://www.tdengine.com",T=a?"https://docs.taosdata.com":"https://docs.tdengine.com/",y=a?"zh-CN":"en",E=a?"Â¥":"$",i="ww-mgmt-prod",o=i.includes("prod")&&!i.includes("preprod"),I={tsdb:"TDENGINE",idmp:"TDASSET"},S={Historian:"Historian"},h=()=>a?"IDMP":"Historian",w=/Android|webOS|iPhone|iPod|BlackBerry/i.test(window.navigator.userAgent),D=a?"https://taosdata.com/contactus/":"https://tdengine.com/contact/",N=window.btoa("signup_source"),M=window.location.origin.replace("cloud","tsdb"),V=window.location.origin.includes("pre")?"https://ai.taosdata.com/":window.location.origin.replace("cloud","idmp"),L="https://aws.amazon.com/marketplace/pp/prodview-meeehxo5nrpxc?sr=0-1&ref_=beagle&applicationId=AWSMPContessa",A="https://azuremarketplace.microsoft.com/en-us/marketplace/apps/tdengine-cloud.tdengine-cloud?tab=Overview",P=[{name:"GitHub",connection:"github",icon:"github",firstname:"name",disabled:!1},{name:"Microsoft",icon:"microsoft",connection:"windowslive",lastname:"family_name",firstname:"given_name",disabled:!1},{name:"Google",icon:"google",connection:"google-oauth2",lastname:"family_name",firstname:"given_name",disabled:!1}],_=o?["qq.com","126.com","163.com","263.com","sina.com","sina.com.cn","sohu.com","hotmail.com","msn.com","gmail.com","outlook.com","live.com","yahoo.com","foxmail.com","139.com"]:[],k=o?s?"https://cloud.taosdata.com":"https://cloud.tdengine.com":s?"http://pre.ali.cloud.taosdata.com":"http://pre.cloud.taosdata.com",O=function(e){return e.INVITED="INVITED",e.REGISTERING="REGISTERING",e.ACTIVE="ACTIVE",e.DISABLED="DISABLED",e.DELETED="DELETED",e}({}),x={AWS_MARKETPLACE:"x-amzn-marketplace-token",AZURE_MARKETPLACE:"token"},R=a?"CN":"US",C=["BMP","TIFF","GIF","PNG","JPEG","JPG","WEBP"],U=location.protocol==="https:",d=[{label:"issue.vatSpecialInvoice",value:"zzszy"},{label:"issue.vatOrdinaryInvoice",value:"zzspt"},{label:"other",value:"others"}],z=d.reduce((e,r)=>(e[r.value]=r.label,e),{}),G=(new Date().getTimezoneOffset()+(a?480:0))*60*1e3,c=[{text:"Yesterday",value:()=>t({num:1,unit:"d",mode:"subtract",resultType:"Date"})},{text:"Last week",value:()=>t({num:7,unit:"d",mode:"subtract",resultType:"Date"})},{text:"Last month",value:()=>t({num:1,unit:"M",mode:"subtract",resultType:"Date"})},{text:"Last 3 months",value:()=>t({num:3,unit:"M",mode:"subtract",resultType:"Date"})}],B=[{text:"Last Hour",value:()=>t({num:1,unit:"h",mode:"subtract",resultType:"Date",isTime:!0})},{text:"Last 3 Hours",value:()=>t({num:3,unit:"h",mode:"subtract",resultType:"Date",isTime:!0})},{text:"Last 6 Hours",value:()=>t({num:6,unit:"h",mode:"subtract",resultType:"Date",isTime:!0})},{text:"Last 12 Hours",value:()=>t({num:12,unit:"h",mode:"subtract",resultType:"Date",isTime:!0})}].concat(c),l=[">","<",">=","<=","!=","="],p=["Contains"],m=[{label:"IN"},{label:"BETWEEN",include:["TIMESTAMP","NUMBER"]},{label:"LIKE",include:["STRING"]},{label:"NOT LIKE",include:["STRING"]},{label:"NOT IN"},{label:"NOT BETWEEN",include:["TIMESTAMP","NUMBER"]},{label:"IS NULL"},{label:"IS NOT NULL"}];function n(e){return m.filter(r=>!r.include||r.include.includes(e)).map(r=>r.label)}var F={TIMESTAMP:l.concat(n("TIMESTAMP")),NUMBER:l.concat(n("NUMBER")),STRING:l.concat(n("STRING")),JSON:p.concat(n("JSON")),BOOL:["=","!="].concat(n("BOOL"))},H=["Suspending","Starting","Ready","Warning","Stopping","Expanding","Shrinking","Upgrading"],W=["Ready","Starting"],J=["Failed","Error","Expanding","Shrinking","Upgrading","Suspending","Stopping","Deleted"],K=["Suspended"],Z=["Suspending","Suspended","Deleted","Failed","Stopping"],q={buffer:{type:"number",alter:!1,defaultValue:32},cachemodel:{type:"string",alter:!0,defaultValue:"none"},cachesize:{type:"number",alter:!0,defaultValue:1},comp:{type:"number",alter:!1,defaultValue:2},duration:{type:"number",alter:!1,defaultValue:"50d"},wal_fsync_period:{type:"number",alter:!0,defaultValue:3e3},maxrows:{type:"number",alter:!1,defaultValue:4096},minrows:{type:"number",alter:!1,defaultValue:100},keep:{type:"number",alter:!0,defaultValue:3650},pages:{type:"number",alter:!1,defaultValue:256},pagesize:{type:"number",alter:!1,defaultValue:4},precision:{type:"string",alter:!1,defaultValue:"ms"},replica:{type:"number",alter:!1,defaultValue:1},retentions:{type:"string",alter:!1,defaultValue:""},strict:{type:"string",alter:!1,defaultValue:"off",version:"<=3.0.2.4"},wal_level:{type:"number",alter:!0,defaultValue:1},vgroups:{type:"number",alter:!1,defaultValue:1},single_stable:{type:"number",alter:!1,defaultValue:0},wal_retention_period:{type:"number",alter:!1,defaultValue:3600},wal_retention_size:{type:"number",alter:!1,defaultValue:0},wal_roll_period:{type:"number",alter:!1,defaultValue:0,version:"<=3.0.7.1"},wal_segment_size:{type:"number",alter:!1,defaultValue:0,version:"<=3.0.7.1"},stt_trigger:{type:"number",alter:!1,defaultValue:1,version:">=3.0.5.0"},tsdb_pagesize:{type:"number",alter:!1,defaultValue:4,version:">=3.0.5.0"},table_prefix:{type:"number",alter:!1,defaultValue:void 0,version:">=3.0.5.0"},table_suffix:{type:"number",alter:!1,defaultValue:void 0,version:">=3.0.5.0"}},j=["parent","node-key","typeName","privileges","databaseId","databaseName","databaseAccessType"],Y={created:void 0,failed:"danger",cancelled:"warning",deleted:"danger",completed:"success",interrupted:"warning",stopped:"warning",running:"success"};export{g as A,x as C,S as D,_ as E,v as F,O as M,h as N,N as O,z as P,w as S,b as T,V as _,Z as a,a as b,J as c,A as d,k as f,T as g,y as h,K as i,M as j,P as k,G as l,R as m,j as n,W as o,D as p,q as r,H as s,Y as t,L as u,C as v,E as w,U as x,I as y};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.