1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3405],{6259:(e,t,s)=>{s.d(t,{dp:()=>a.dp,Op:()=>d,qQ:()=>a.qQ});s(5980),s(43812),s(55896);var r=s(37439),i=Object.defineProperty;s(85364);Symbol.asyncIterator;var n=s(15263);n.v.object({numItems:n.v.number(),cursor:n.v.union(n.v.string(),n.v.null()),endCursor:n.v.optional(n.v.union(n.v.string(),n.v.null())),id:n.v.optional(n.v.number()),maximumRowsRead:n.v.optional(n.v.number()),maximumBytesRead:n.v.optional(n.v.number())});var a=s(38016),o=Object.defineProperty;let d=()=>(function e(t,s){return new Proxy({},{get(i,n){if("string"==typeof n)return e(t,[...s,n]);if(n===r.QY){if(s.length<1){let e=[t,...s].join(".");throw Error(`API path is expected to be of the form \`${t}.childComponent.functionName\`. Found: \`${e}\``)}return"_reference/childComponent/"+s.join("/")}}})})("components",[]);Symbol("var.requestId"),Symbol("var.ip"),Symbol("var.userAgent"),Symbol("var.now"),Symbol("var.convexActor");var l=Object.defineProperty,c=(e,t,s)=>{let r;return(r="symbol"!=typeof t?t+"":t)in e?l(e,r,{enumerable:!0,configurable:!0,writable:!0,value:s}):e[r]=s};class h{constructor(e){c(this,"indexes"),c(this,"stagedDbIndexes"),c(this,"searchIndexes"),c(this,"stagedSearchIndexes"),c(this,"vectorIndexes"),c(this,"stagedVectorIndexes"),c(this,"validator"),this.indexes=[],this.stagedDbIndexes=[],this.searchIndexes=[],this.stagedSearchIndexes=[],this.vectorIndexes=[],this.stagedVectorIndexes=[],this.validator=e}" indexes"(){return this.indexes}index(e,t){return Array.isArray(t)?this.indexes.push({indexDescriptor:e,fields:t}):t.staged?this.stagedDbIndexes.push({indexDescriptor:e,fields:t.fields}):this.indexes.push({indexDescriptor:e,fields:t.fields}),this}searchIndex(e,t){return t.staged?this.stagedSearchIndexes.push({indexDescriptor:e,searchField:t.searchField,filterFields:t.filterFields||[]}):this.searchIndexes.push({indexDescriptor:e,searchField:t.searchField,filterFields:t.filterFields||[]}),this}vectorIndex(e,t){return t.staged?this.stagedVectorIndexes.push({indexDescriptor:e,vectorField:t.vectorField,dimensions:t.dimensions,filterFields:t.filterFields||[]}):this.vectorIndexes.push({indexDescriptor:e,vectorField:t.vectorField,dimensions:t.dimensions,filterFields:t.filterFields||[]}),this}self(){return this}export(){let e=this.validator.json;if("object"!=typeof e)throw Error("Invalid validator: please make sure that the parameter of `defineTable` is valid (see https://docs.convex.dev/database/schemas)");return{indexes:this.indexes,stagedDbIndexes:this.stagedDbIndexes,searchIndexes:this.searchIndexes,stagedSearchIndexes:this.stagedSearchIndexes,vectorIndexes:this.vectorIndexes,stagedVectorIndexes:this.stagedVectorIndexes,documentType:e}}}function v(e){return new h((0,n.d)(e)?e:n.v.object(e))}class u{constructor(e,t){c(this,"tables"),c(this,"strictTableNameTypes"),c(this,"schemaValidation"),this.tables=e,this.schemaValidation=t?.schemaValidation===void 0||t.schemaValidation}export(){return JSON.stringify({tables:Object.entries(this.tables).map(([e,t])=>{let{indexes:s,stagedDbIndexes:r,searchIndexes:i,stagedSearchIndexes:n,vectorIndexes:a,stagedVectorIndexes:o,documentType:d}=t.export();return{tableName:e,indexes:s,stagedDbIndexes:r,searchIndexes:i,stagedSearchIndexes:n,vectorIndexes:a,stagedVectorIndexes:o,documentType:d}}),schemaValidation:this.schemaValidation})}}new u({_scheduled_functions:v({name:n.v.string(),args:n.v.array(n.v.any()),scheduledTime:n.v.float64(),completedTime:n.v.optional(n.v.float64()),state:n.v.union(n.v.object({kind:n.v.literal("pending")}),n.v.object({kind:n.v.literal("inProgress")}),n.v.object({kind:n.v.literal("success")}),n.v.object({kind:n.v.literal("failed"),error:n.v.string()}),n.v.object({kind:n.v.literal("canceled")}))}),_storage:v({sha256:n.v.string(),size:n.v.float64(),contentType:n.v.optional(n.v.string())})},void 0)},7268:(e,t,s)=>{s.d(t,{default:()=>o});var r=s(2315),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"},n=s(38413),a=s(98789);let o=(0,r.forwardRef)(({color:e,size:t,strokeWidth:s,absoluteStrokeWidth:o,className:d="",children:l,iconNode:c,...h},v)=>{let{size:u=24,strokeWidth:m=2,absoluteStrokeWidth:p=!1,color:x="currentColor",className:f=""}=(0,a.T)()??{},b=o??p?24*Number(s??m)/Number(t??u):s??m;return(0,r.createElement)("svg",{ref:v,...i,width:t??u??i.width,height:t??u??i.height,stroke:e??x,strokeWidth:b,className:(0,n.z)("lucide",f,d),...!l&&!(e=>{for(let t in e)if(t.startsWith("aria-")||"role"===t||"title"===t)return!0;return!1})(h)&&{"aria-hidden":"true"},...h},[...c.map(([e,t])=>(0,r.createElement)(e,t)),...Array.isArray(l)?l:[l]])})},38413:(e,t,s)=>{s.d(t,{z:()=>r});let r=(...e)=>e.filter((e,t,s)=>!!e&&""!==e.trim()&&s.indexOf(e)===t).join(" ").trim()},60147:(e,t,s)=>{s.d(t,{A:()=>
1o});var r=s(2315),i=s(38413);let n=e=>{let t=e.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,t,s)=>s?s.toUpperCase():t.toLowerCase());return t.charAt(0).toUpperCase()+t.slice(1)};var a=s(7268);let o=(e,t)=>{let s=(0,r.forwardRef)(({className:s,...o},d)=>(0,r.createElement)(a.default,{ref:d,iconNode:t,className:(0,i.z)(`lucide-${n(e).replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}`,`lucide-${e}`,s),...o}));return s.displayName=n(e),s}},98789:(e,t,s)=>{s.d(t,{T:()=>a,a:()=>n});var r=s(2315);let i=(0,r.createContext)({});function n({children:e,size:t,color:s,strokeWidth:a,absoluteStrokeWidth:o,className:d}){let l=(0,r.useMemo)(()=>({size:t,color:s,strokeWidth:a,absoluteStrokeWidth:o,className:d}),[t,s,a,o,d]);return(0,r.createElement)(i.Provider,{value:l},e)}let a=()=>(0,r.useContext)(i)}}]);
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.