import{I as i,L as te,pa as re,qa as ne}from"./chunk-ks5uwbwk.mjs";import{c as k}from"./chunk-a3iiq6x3.mjs";var U,ye=Object.create,Z=Object.defineProperty,we=Object.getOwnPropertyDescriptor,ue=Object.getOwnPropertyNames,ve=Object.getPrototypeOf,Ie=Object.prototype.hasOwnProperty,Ue=(t,e,r)=>e in t?Z(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,be=(t,e)=>function(){return e||(0,t[ue(t)[0]])((e={exports:{}}).exports,e),e.exports},Se=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let s of ue(e))Ie.call(t,s)||s===r||Z(t,s,{get:()=>e[s],enumerable:!(n=we(e,s))||n.enumerable});return t},Le=(t,e,r)=>(r=t!=null?ye(ve(t)):{},Se(!e&&t&&t.__esModule?r:Z(r,"default",{value:t,enumerable:!0}),t)),p=(t,e,r)=>Ue(t,typeof e!="symbol"?e+"":e,r),xe=be({"../../../node_modules/dataloader/index.js"(t,e){var r,n=function(){function o(m,f){if(typeof m!="function")throw TypeError("DataLoader must be constructed with a function which accepts Array and returns Promise>, but got: "+m+".");this._batchLoadFn=m,this._maxBatchSize=function(c){if(!(!c||c.batch!==!1))return 1;var d=c&&c.maxBatchSize;if(d===void 0)return 1/0;if(typeof d!="number"||d<1)throw TypeError("maxBatchSize must be a positive number: "+d);return d}(f),this._batchScheduleFn=function(c){var d=c&&c.batchScheduleFn;if(d===void 0)return s;if(typeof d!="function")throw TypeError("batchScheduleFn must be a function: "+d);return d}(f),this._cacheKeyFn=function(c){var d=c&&c.cacheKeyFn;if(d===void 0)return function(b){return b};if(typeof d!="function")throw TypeError("cacheKeyFn must be a function: "+d);return d}(f),this._cacheMap=function(c){if(!(!c||c.cache!==!1))return null;var d=c&&c.cacheMap;if(d===void 0)return new Map;if(d!==null){var b=["get","set","delete","clear"].filter(function(E){return d&&typeof d[E]!="function"});if(b.length!==0)throw TypeError("Custom cacheMap missing methods: "+b.join(", "))}return d}(f),this._batch=null,this.name=f&&f.name?f.name:null}var h=o.prototype;return h.load=function(m){if(m==null)throw TypeError("The loader.load() function must be called with a value, but got: "+String(m)+".");var f=function(T){var _=T._batch;if(_!==null&&!_.hasDispatched&&_.keys.length and returns Promise>, but the function errored synchronously: "+String(N)+"."))}if(!Q||typeof Q.then!="function")return a(B,S,TypeError("DataLoader must be constructed with a function which accepts Array and returns Promise>, but the function did not return a Promise: "+String(Q)+"."));Q.then(function(N){if(!u(N))throw TypeError("DataLoader must be constructed with a function which accepts Array and returns Promise>, but the function did not return a Promise of an Array: "+String(N)+".");if(N.length!==S.keys.length)throw TypeError(`DataLoader must be constructed with a function which accepts Array and returns Promise>, but the function did not return a Promise of an Array of the same length as the Array of keys. Keys: `+String(S.keys)+` Values: `+String(N));l(S);for(var R=0;R but got: "+m+".");for(var f=[],c=0;c0&&Object.prototype.hasOwnProperty.call(o,o.length-1))}e.exports=n}}),Ce=Le(xe()),v={Uint8:1,Uint16:2,Uint32:4,BigUint64:8,Int8:1,Int16:2,Int32:4,BigInt64:8,Float32:4,Float64:8},W=class{getOffset(){return this.offset}ensureLength(t){let e=this.bytes.length;if(!(this.offset+t<=e))throw Error("Reading out of bounds")}readUint8(){let t=v.Uint8;this.ensureLength(t);let e=this.view.getUint8(this.offset);return this.offset+=t,e}readUint16(){let t=v.Uint16;this.ensureLength(t);let e=this.view.getUint16(this.offset);return this.offset+=t,e}readUint32(){let t=v.Uint32;this.ensureLength(t);let e=this.view.getUint32(this.offset);return this.offset+=t,e}readUint64(){let t=this.readBigUint64();return Number(t)}readBigUint64(){let t=v.BigUint64;this.ensureLength(t);let e=this.view.getBigUint64(this.offset);return this.offset+=t,e}readInt8(){let t=v.Int8;this.ensureLength(t);let e=this.view.getInt8(this.offset);return this.offset+=t,e}readInt16(){let t=v.Int16;this.ensureLength(t);let e=this.view.getInt16(this.offset);return this.offset+=t,e}readInt32(){let t=v.Int32;this.ensureLength(t);let e=this.view.getInt32(this.offset);return this.offset+=t,e}readInt64(){let t=this.readBigInt64();return Number(t)}readBigInt64(){let t=v.BigInt64;this.ensureLength(t);let e=this.view.getBigInt64(this.offset);return this.offset+=t,e}readFloat32(){let t=v.Float32;this.ensureLength(t);let e=this.view.getFloat32(this.offset);return this.offset+=t,e}readFloat64(){let t=v.Float64;this.ensureLength(t);let e=this.view.getFloat64(this.offset);return this.offset+=t,e}readBytes(t){let e=this.offset,r=e+t,n=this.bytes.subarray(e,r);return this.offset=r,n}readString(){let t=this.readUint32(),e=this.readBytes(t);return this.decoder.decode(e)}readJson(){let t=this.readString();return JSON.parse(t)}constructor(t){this.bytes=t,p(this,"offset",0),p(this,"view"),p(this,"decoder",new TextDecoder),this.view=z(this.bytes)}};function z(t){return new DataView(t.buffer,t.byteOffset,t.byteLength)}var Te=typeof k<"u",zt=Te&&typeof k.requestIdleCallback=="function";function g(t,...e){if(!t)throw Error("Assertion Error"+(e.length>0?": "+e.join(" "):""))}function j(t){throw Error(`Unexpected value: ${t}`)}var Ne=1024,_e=1.5,G=t=>2**t-1,V=t=>-(2**(t-1)),H=t=>2**(t-1)-1,L={Uint8:0,Uint16:0,Uint32:0,Uint64:0,BigUint64:0,Int8:V(8),Int16:V(16),Int32:V(32),Int64:Number.MIN_SAFE_INTEGER,BigInt64:-(BigInt(2)**BigInt(63))},x={Uint8:G(8),Uint16:G(16),Uint32:G(32),Uint64:Number.MAX_SAFE_INTEGER,BigUint64:BigInt(2)**BigInt(64)-BigInt(1),Int8:H(8),Int16:H(16),Int32:H(32),Int64:Number.MAX_SAFE_INTEGER,BigInt64:BigInt(2)**BigInt(63)-BigInt(1)};function C(t,e,r,n){g(t>=e,t,"outside lower bound for",n),g(t<=r,t,"outside upper bound for",n)}var Fe=class{getOffset(){return this.offset}slice(t=0,e=this.offset){return this.bytes.slice(t,e)}subarray(t=0,e=this.offset){return this.bytes.subarray(t,e)}ensureLength(t){let e=this.bytes.length;if(this.offset+t<=e)return;let r=new Uint8Array(Math.ceil(e*_e)+t);r.set(this.bytes),this.bytes=r,this.view=z(r)}writeUint8(t){C(t,L.Uint8,x.Uint8,"Uint8");let e=v.Uint8;this.ensureLength(e),this.view.setUint8(this.offset,t),this.offset+=e}writeUint16(t){C(t,L.Uint16,x.Uint16,"Uint16");let e=v.Uint16;this.ensureLength(e),this.view.setUint16(this.offset,t),this.offset+=e}writeUint32(t){C(t,L.Uint32,x.Uint32,"Uint32");let e=v.Uint32;this.ensureLength(e),this.view.setUint32(this.offset,t),this.offset+=e}writeUint64(t){C(t,L.Uint64,x.Uint64,"Uint64");let e=BigInt(t);this.writeBigUint64(e)}writeBigUint64(t){C(t,L.BigUint64,x.BigUint64,"BigUint64");let e=v.BigUint64;this.ensureLength(e),this.view.setBigUint64(this.offset,t),this.offset+=e}writeInt8(t){C(t,L.Int8,x.Int8,"Int8");let e=v.Int8;this.ensureLength(e),this.view.setInt8(this.offset,t),this.offset+=e}writeInt16(t){C(t,L.Int16,x.Int16,"Int16");let e=v.Int16;this.ensureLength(e),this.view.setInt16(this.offset,t),this.offset+=e}writeInt32(t){C(t,L.Int32,x.Int32,"Int32");let e=v.Int32;this.ensureLength(e),this.view.setInt32(this.offset,t),this.offset+=e}writeInt64(t){C(t,L.Int64,x.Int64,"Int64");let e=BigInt(t);this.writeBigInt64(e)}writeBigInt64(t){C(t,L.BigInt64,x.BigInt64,"BigInt64");let e=v.BigInt64;this.ensureLength(e),this.view.setBigInt64(this.offset,t),this.offset+=e}writeFloat32(t){let e=v.Float32;this.ensureLength(e),this.view.setFloat32(this.offset,t),this.offset+=e}writeFloat64(t){let e=v.Float64;this.ensureLength(e),this.view.setFloat64(this.offset,t),this.offset+=e}writeBytes(t){let e=t.length;this.ensureLength(e),this.bytes.set(t,this.offset),this.offset+=e}encodeString(t){let e=this.encodedStrings.get(t);if(e)return e;let r=this.encoder.encode(t);return this.encodedStrings.set(t,r),r}writeString(t){let e=this.encodeString(t),r=e.length;this.writeUint32(r),this.writeBytes(e)}writeJson(t){let e=JSON.stringify(t);this.writeString(e)}constructor(){p(this,"offset",0),p(this,"bytes",new Uint8Array(Ne)),p(this,"view",z(this.bytes)),p(this,"encoder",new TextEncoder),p(this,"encodedStrings",new Map)}};function J(t){return typeof t=="string"}function F(t){return Number.isFinite(t)}function A(t){return t===null}var O=class ${static fromString(e){let[r,n,s]=e.split("/").map(Number);return g(F(r),"Invalid chunkId"),g(F(n),"Invalid offset"),g(F(s),"Invalid length"),new $(r,n,s)}toString(){return`${this.chunkId}/${this.offset}/${this.length}`}static read(e){let r=e.readUint16(),n=e.readUint32(),s=e.readUint32();return new $(r,n,s)}write(e){e.writeUint16(this.chunkId),e.writeUint32(this.offset),e.writeUint32(this.length)}compare(e){return this.chunkIde.chunkId?1:this.offsete.offset?1:(g(this.length===e.length),0)}constructor(e,r,n){this.chunkId=e,this.offset=r,this.length=n}};function q(t){if(A(t))return 0;switch(t.type){case i.Array:return 1;case i.Boolean:return 2;case i.Color:return 3;case i.Date:return 4;case i.Enum:return 5;case i.File:return 6;case i.ResponsiveImage:return 10;case i.Link:return 7;case i.Number:return 8;case i.Object:return 9;case i.RichText:return 11;case i.String:return 12;case i.VectorSetItem:return 13;default:j(t)}}function Oe(t){let e=t.readUint16(),r=[];for(let n=0;ns)return 1;for(let a=0;ae.value?1:0}function ke(t){return{type:i.Color,value:t.readString()}}function je(t,e){t.writeString(e.value)}function Pe(t,e){return t.valuee.value?1:0}function Be(t){let e=t.readInt64(),r=new Date(e);return{type:i.Date,value:r.toISOString()}}function Ae(t,e){let r=new Date(e.value),n=r.getTime();t.writeInt64(n)}function Xe(t,e){let r=new Date(t.value),n=new Date(e.value);return rn?1:0}function De(t){return{type:i.Enum,value:t.readString()}}function Ye(t,e){t.writeString(e.value)}function Ge(t,e){return t.valuee.value?1:0}function Ve(t){return{type:i.File,value:t.readString()}}function He(t,e){t.writeString(e.value)}function qe(t,e){return t.valuee.value?1:0}function We(t){return{type:i.Link,value:t.readJson()}}function ze(t,e){t.writeJson(e.value)}function Je(t,e){let r=JSON.stringify(t.value),n=JSON.stringify(e.value);return rn?1:0}function $e(t){return{type:i.Number,value:t.readFloat64()}}function Ze(t,e){t.writeFloat64(e.value)}function et(t,e){return t.valuee.value?1:0}function tt(t){let e=t.readUint16(),r={};for(let n=0;ns.length)return 1;for(let a=0;au)return 1;let o=t.value[l]??null,h=e.value[u]??null,m=U.compare(o,h,r);if(m!==0)return m}return 0}function it(t){return{type:i.ResponsiveImage,value:t.readJson()}}function st(t,e){t.writeJson(e.value)}function at(t,e){let r=JSON.stringify(t.value),n=JSON.stringify(e.value);return rn?1:0}function ot(t){let e=t.readInt8();if(e===0)return{type:i.RichText,value:t.readUint32()};if(e===1)return{type:i.RichText,value:t.readString()};throw Error("Invalid rich text pointer")}function lt(t,e){if(F(e.value)){t.writeInt8(0),t.writeUint32(e.value);return}if(J(e.value)){t.writeInt8(1),t.writeString(e.value);return}throw Error("Invalid rich text pointer")}function ut(t,e){let r=t.value,n=e.value;if(F(r)&&F(n)||J(r)&&J(n))return rn?1:0;throw Error("Invalid rich text pointer")}function ct(t){return{type:i.String,value:t.readString()}}function ht(t,e){t.writeString(e.value)}function ft(t,e,r){let n=t.value,s=e.value;return r.type===0&&(n=t.value.toLowerCase(),s=e.value.toLowerCase()),ns?1:0}function mt(t){return{type:i.VectorSetItem,value:t.readUint32()}}function dt(t,e){t.writeUint32(e.value)}function gt(t,e){let r=t.value,n=e.value;return rn?1:0}(t=>{t.read=function(e){let r=e.readUint8();switch(r){case 0:return null;case 1:return Oe(e);case 2:return Ee(e);case 3:return ke(e);case 4:return Be(e);case 5:return De(e);case 6:return Ve(e);case 7:return We(e);case 8:return $e(e);case 9:return tt(e);case 10:return it(e);case 11:return ot(e);case 12:return ct(e);case 13:return mt(e);default:j(r)}},t.write=function(e,r){let n=q(r);if(e.writeUint8(n),!A(r))switch(r.type){case i.Array:return Me(e,r);case i.Boolean:return Qe(e,r);case i.Color:return je(e,r);case i.Date:return Ae(e,r);case i.Enum:return Ye(e,r);case i.File:return He(e,r);case i.Link:return ze(e,r);case i.Number:return Ze(e,r);case i.Object:return rt(e,r);case i.ResponsiveImage:return st(e,r);case i.RichText:return lt(e,r);case i.VectorSetItem:return dt(e,r);case i.String:return ht(e,r);default:j(r)}},t.compare=function(e,r,n){let s=q(e),a=q(r);if(sa)return 1;if(A(e)||A(r))return 0;switch(e.type){case i.Array:return g(r.type===i.Array),Ke(e,r,n);case i.Boolean:return g(r.type===i.Boolean),Re(e,r);case i.Color:return g(r.type===i.Color),Pe(e,r);case i.Date:return g(r.type===i.Date),Xe(e,r);case i.Enum:return g(r.type===i.Enum),Ge(e,r);case i.File:return g(r.type===i.File),qe(e,r);case i.Link:return g(r.type===i.Link),Je(e,r);case i.Number:return g(r.type===i.Number),et(e,r);case i.Object:return g(r.type===i.Object),nt(e,r,n);case i.ResponsiveImage:return g(r.type===i.ResponsiveImage),at(e,r);case i.RichText:return g(r.type===i.RichText),ut(e,r);case i.VectorSetItem:return g(r.type===i.VectorSetItem),gt(e,r);case i.String:return g(r.type===i.String),ft(e,r,n);default:j(e)}}})(U||(U={}));var pt=class ce{sortEntries(){this.entries.sort((e,r)=>{for(let n=0;ne.getField(s)??null);this.entries.push({values:n,pointer:r})}constructor(e,r){this.fieldNames=e,this.options=r,p(this,"entries",[])}},ie=3,yt=250,wt=[408,429,500,502,503,504],he=async(t,e)=>{let r=0;for(;;){try{let n=await fetch(t,e);if(!wt.includes(n.status)||++r>ie)return n}catch(n){if(e?.signal?.aborted||++r>ie)throw n}await vt(r)}};async function vt(t){let e=Math.floor(yt*(Math.random()+1)*2**(t-1));await new Promise(r=>{setTimeout(r,e)})}async function fe(t,e){let r=Ut(e),n=[],s=0;for(let c of r)n.push(`${c.from}-${c.to-1}`),s+=c.to-c.from;let a=new URL(t),l=n.join(",");a.searchParams.set("range",l);let u=await he(a);if(u.status!==200)throw Error(`Request failed: ${u.status} ${u.statusText}`);let o=await u.arrayBuffer(),h=new Uint8Array(o);if(h.length!==s)throw Error("Request failed: Unexpected response length");let m=new It,f=0;for(let c of r){let d=c.to-c.from,b=f+d,E=h.subarray(f,b);m.write(c.from,E),f=b}return e.map(c=>m.read(c.from,c.to-c.from))}var It=class{read(t,e){for(let r of this.chunks){if(tr.end)continue;if(t+e>r.end)break;let n=t-r.start,s=n+e;return r.data.slice(n,s)}throw Error("Missing data")}write(t,e){let r=t,n=r+e.length,s=0,a=this.chunks.length;for(;so.end)){if(r>o.start){let h=r-o.start,m=o.data.subarray(0,h);e=se(m,e),r=o.start}break}}for(;a>s;a--){let o=this.chunks[a-1];if(g(o,"Missing chunk"),!(n0,"Must have at least one range");let e=[...t].sort((n,s)=>n.from-s.from),r=[];for(let n of e){let s=r.length-1,a=r[s];a&&n.from<=a.to?r[s]={from:a.from,to:Math.max(a.to,n.to)}:r.push(n)}return r}var y=class{async loadModel(){let[t]=await fe(this.options.url,[this.options.range]);return g(t,"Failed to load model"),pt.deserialize(t)}async getModel(){return this.modelPromise??=this.loadModel(),this.model??=await this.modelPromise,this.model}async lookupItems(t){g(t.length===this.fields.length,"Invalid query length");let e=await this.getModel(),r=t.reduce((s,a,l)=>s.flatMap(u=>{switch(a.type){case"All":return[u];case"Equals":return this.queryEquals(u,a,l);case"NotEquals":return this.queryNotEquals(u,a,l);case"LessThan":return this.queryLessThan(u,a,l);case"GreaterThan":return this.queryGreaterThan(u,a,l);case"Contains":return this.queryContains(u,a,l);case"StartsWith":return this.queryStartsWith(u,a,l);case"EndsWith":return this.queryEndsWith(u,a,l);default:j(a)}}),[e.entries]),n=[];for(let s of r)for(let a of s){let l={};for(let u=0;u0?[a]:[]}queryNotEquals(t,e,r){let n=this.getLeftMost(t,r,e.value),s=this.getRightMost(t,r,e.value),a=[],l=t.slice(0,n);l.length>0&&a.push(l);let u=t.slice(s+1);return u.length>0&&a.push(u),a}queryLessThan(t,e,r){let n=this.getRightMost(t,r,null);if(t=t.slice(n+1),e.inclusive){let l=this.getRightMost(t,r,e.value),u=t.slice(0,l+1);return u.length>0?[u]:[]}let s=this.getLeftMost(t,r,e.value),a=t.slice(0,s);return a.length>0?[a]:[]}queryGreaterThan(t,e,r){let n=this.getRightMost(t,r,null);if(t=t.slice(n+1),e.inclusive){let l=this.getLeftMost(t,r,e.value),u=t.slice(l);return u.length>0?[u]:[]}let s=this.getRightMost(t,r,e.value),a=t.slice(s+1);return a.length>0?[a]:[]}queryContains(t,e,r){return this.findItems(t,r,n=>{if(n?.type!==i.String||e.value?.type!==i.String)return!1;let s=n.value,a=e.value.value;return this.collation.type===0&&(s=s.toLowerCase(),a=a.toLowerCase()),s.includes(a)})}queryStartsWith(t,e,r){return this.findItems(t,r,n=>{if(n?.type!==i.String||e.value?.type!==i.String)return!1;let s=n.value,a=e.value.value;return this.collation.type===0&&(s=s.toLowerCase(),a=a.toLowerCase()),s.startsWith(a)})}queryEndsWith(t,e,r){return this.findItems(t,r,n=>{if(n?.type!==i.String||e.value?.type!==i.String)return!1;let s=n.value,a=e.value.value;return this.collation.type===0&&(s=s.toLowerCase(),a=a.toLowerCase()),s.endsWith(a)})}getLeftMost(t,e,r){let n=0,s=t.length;for(;n>1,l=t[a],u=l.values[e];0>U.compare(u,r,this.collation)?n=a+1:s=a}return n}getRightMost(t,e,r){let n=0,s=t.length;for(;n>1,l=t[a],u=l.values[e];U.compare(u,r,this.collation)>0?s=a:n=a+1}return s-1}findItems(t,e,r){let n=[],s=0;for(let a=0;a{if(!t.ok)throw Error(`Request failed: ${t.status} ${t.statusText}`);let e=await t.arrayBuffer(),r=new Uint8Array(e),n=new W(r),s=[],a=n.readUint32();for(let l=0;l{let n=r.map(a=>{let l=O.fromString(a);return{from:l.offset,to:l.offset+l.length}});return(await fe(this.url,n)).map((a,l)=>{let u=new W(a),o=ae.read(u),h=r[l];return g(h,"Missing pointer"),{pointer:h,data:o.getData()}})}))}},de=class{async scanItems(){return(await Promise.all(this.chunks.map(async e=>e.scanItems()))).flat()}async resolveItems(t){return Promise.all(t.map(e=>{let r=O.fromString(e),n=this.chunks[r.chunkId];return g(n,"Missing chunk"),n.resolveItem(e)}))}compareItems(t,e){let r=O.fromString(t.pointer),n=O.fromString(e.pointer);return r.compare(n)}compareValues(t,e,r){return U.compare(t,e,r)}constructor(t){this.options=t,p(this,"schema"),p(this,"indexes"),p(this,"resolveRichText"),p(this,"resolveVectorSetItem"),p(this,"chunks"),this.chunks=this.options.chunks.map((e,r)=>new bt(r,e)),this.schema=t.schema,this.indexes=t.indexes,this.resolveRichText=t.resolveRichText,this.resolveVectorSetItem=t.resolveVectorSetItem}};var M=(t,e)=>async()=>(await t())[e],K=()=>import("./c4gqflt_3-2-2btaoe4y.mjs"),St=[M(K,"richText"),M(K,"richText1"),M(K,"richText2"),M(K,"richText3"),M(K,"richText4"),M(K,"richText5")];async function ge(t){let e=St[t];if(e)return await e()}var w={aETyusKTN:{isNullable:!0,type:i.RichText},aoTbv_POU:{isNullable:!0,type:i.ResponsiveImage},dn0LQw9Ig:{isNullable:!0,type:i.String},GM6k8WU0b:{isNullable:!0,type:i.String},HHbGhu6Un:{isNullable:!0,type:i.String},id:{isNullable:!1,type:i.String},KvXYou17S:{isNullable:!0,type:i.Boolean},nextItemId:{isNullable:!0,type:i.String},p0IqRGBPU:{isNullable:!0,type:i.ResponsiveImage},previousItemId:{isNullable:!0,type:i.String},PUhnp62mV:{isNullable:!0,type:i.ResponsiveImage},QU9WiKDBY:{isNullable:!0,type:i.Date},RM2Sqrl5w:{isNullable:!0,type:i.ResponsiveImage},UDzOilHVe:{isNullable:!0,type:i.String},UEGXj0lDz:{isNullable:!0,type:i.ResponsiveImage},uOb1X3P3c:{isNullable:!0,type:i.String},vMoXVKWOu:{isNullable:!0,type:i.String},vsb3r_C29:{isNullable:!0,type:i.String},xsgQECDCs:{isNullable:!0,type:i.String},y27i2645k:{isNullable:!0,type:i.String}},Lt=["id","aETyusKTN"],P={type:1},xt=["previousItemId","aETyusKTN"],Ct=["nextItemId","aETyusKTN"],Tt=["id","GM6k8WU0b"],Nt=["GM6k8WU0b","id"],_t=["KvXYou17S","aETyusKTN"],I={type:0},Ft=["y27i2645k","aETyusKTN"],Ot=["HHbGhu6Un","aETyusKTN"],Mt=["p0IqRGBPU","aETyusKTN"],Kt=["QU9WiKDBY","aETyusKTN"],Et=["aETyusKTN","aETyusKTN"],Qt=["GM6k8WU0b","aETyusKTN"],Rt=["PUhnp62mV","aETyusKTN"],kt=["RM2Sqrl5w","aETyusKTN"],jt=["UEGXj0lDz","aETyusKTN"],Pt=["aoTbv_POU","aETyusKTN"],Bt=["dn0LQw9Ig","aETyusKTN"],At=["UDzOilHVe","aETyusKTN"],Xt=["vMoXVKWOu","aETyusKTN"],Dt=["xsgQECDCs","aETyusKTN"],Yt=["vsb3r_C29","aETyusKTN"],Gt=["uOb1X3P3c","aETyusKTN"],Vt=[],Ht=t=>{let e=Vt[t];if(e)return e().then(r=>r.default)},qt=new re,pe=new ne(qt),X={collectionByLocaleId:{default:new de({chunks:[new URL("js/c4gqflt_3-chunk-default-0.framercms", window.location.origin)],indexes:[new y({collation:P,collectionSchema:w,fieldNames:Lt,range:{from:0,to:218},url:new URL("js/c4gqflt_3-indexes-default-0.framercms", window.location.origin)}),new y({collation:P,collectionSchema:w,fieldNames:xt,range:{from:218,to:435},url:new URL("js/c4gqflt_3-indexes-default-0.framercms", window.location.origin)}),new y({collation:P,collectionSchema:w,fieldNames:Ct,range:{from:435,to:648},url:new URL("js/c4gqflt_3-indexes-default-0.framercms", window.location.origin)}),new y({collation:P,collectionSchema:w,fieldNames:Tt,range:{from:648,to:961},url:new URL("js/c4gqflt_3-indexes-default-0.framercms", window.location.origin)}),new y({collation:P,collectionSchema:w,fieldNames:Nt,range:{from:961,to:1274},url:new URL("js/c4gqflt_3-indexes-default-0.framercms", window.location.origin)}),new y({collation:I,collectionSchema:w,fieldNames:_t,range:{from:1274,to:1427},url:new URL("js/c4gqflt_3-indexes-default-0.framercms", window.location.origin)}),new y({collation:I,collectionSchema:w,fieldNames:Ft,range:{from:1427,to:1767},url:new URL("js/c4gqflt_3-indexes-default-0.framercms", window.location.origin)}),new y({collation:I,collectionSchema:w,fieldNames:Ot,range:{from:1767,to:3629},url:new URL("js/c4gqflt_3-indexes-default-0.framercms", window.location.origin)}),new y({collation:I,collectionSchema:w,fieldNames:Mt,range:{from:3629,to:4997},url:new URL("js/c4gqflt_3-indexes-default-0.framercms", window.location.origin)}),new y({collation:I,collectionSchema:w,fieldNames:Kt,range:{from:4997,to:5192},url:new URL("js/c4gqflt_3-indexes-default-0.framercms", window.location.origin)}),new y({collation:I,collectionSchema:w,fieldNames:Et,range:{from:5192,to:5369},url:new URL("js/c4gqflt_3-indexes-default-0.framercms", window.location.origin)}),new y({collation:I,collectionSchema:w,fieldNames:Qt,range:{from:5369,to:5641},url:new URL("js/c4gqflt_3-indexes-default-0.framercms", window.location.origin)}),new y({collation:I,collectionSchema:w,fieldNames:Rt,range:{from:5641,to:5788},url:new URL("js/c4gqflt_3-indexes-default-0.framercms", window.location.origin)}),new y({collation:I,collectionSchema:w,fieldNames:kt,range:{from:5788,to:5935},url:new URL("js/c4gqflt_3-indexes-default-0.framercms", window.location.origin)}),new y({collation:I,collectionSchema:w,fieldNames:jt,range:{from:5935,to:6082},url:new URL("js/c4gqflt_3-indexes-default-0.framercms", window.location.origin)}),new y({collation:I,collectionSchema:w,fieldNames:Pt,range:{from:6082,to:6229},url:new URL("js/c4gqflt_3-indexes-default-0.framercms", window.location.origin)}),new y({collation:I,collectionSchema:w,fieldNames:Bt,range:{from:6229,to:6400},url:new URL("js/c4gqflt_3-indexes-default-0.framercms", window.location.origin)}),new y({collation:I,collectionSchema:w,fieldNames:At,range:{from:6400,to:6857},url:new URL("js/c4gqflt_3-indexes-default-0.framercms", window.location.origin)}),new y({collation:I,collectionSchema:w,fieldNames:Xt,range:{from:6857,to:7051},url:new URL("js/c4gqflt_3-indexes-default-0.framercms", window.location.origin)}),new y({collation:I,collectionSchema:w,fieldNames:Dt,range:{from:7051,to:7373},url:new URL("js/c4gqflt_3-indexes-default-0.framercms", window.location.origin)}),new y({collation:I,collectionSchema:w,fieldNames:Yt,range:{from:7373,to:7572},url:new URL("js/c4gqflt_3-indexes-default-0.framercms", window.location.origin)}),new y({collation:I,collectionSchema:w,fieldNames:Gt,range:{from:7572,to:7892},url:new URL("js/c4gqflt_3-indexes-default-0.framercms", window.location.origin)})],resolveRichText:ge,resolveVectorSetItem:Ht,schema:w})},displayName:"Case Studies"},hr=X;te(X,{KvXYou17S:{defaultValue:!1,title:"Featured",type:i.Boolean},y27i2645k:{defaultValue:"",title:"Title",type:i.String},HHbGhu6Un:{defaultValue:"",displayTextArea:!0,title:"Short description",type:i.String},p0IqRGBPU:{title:"Image",type:i.ResponsiveImage},QU9WiKDBY:{title:"Date",type:i.Date},aETyusKTN:{defaultValue:"",title:"Content",type:i.RichText},GM6k8WU0b:{title:"Slug",type:i.String},PUhnp62mV:{title:"Additional Image 1",type:i.ResponsiveImage},RM2Sqrl5w:{title:"Additional Image 2",type:i.ResponsiveImage},UEGXj0lDz:{title:"Additional Image 3",type:i.ResponsiveImage},aoTbv_POU:{title:"Additional Image 4",type:i.ResponsiveImage},dn0LQw9Ig:{defaultValue:"",title:"Video Link - Youtube (Optional)",type:i.String},UDzOilHVe:{defaultValue:"",maxLength:150,title:"Short Overview",type:i.String},vMoXVKWOu:{defaultValue:"",title:"Significant Number 1",type:i.String},xsgQECDCs:{defaultValue:"",title:"Significant Number Details 1",type:i.String},vsb3r_C29:{defaultValue:"",title:"Significant Number 2",type:i.String},uOb1X3P3c:{defaultValue:"",title:"Significant Number Details 2",type:i.String},previousItemId:{dataIdentifier:"local-module:collection/c4gQFLt_3:default",title:"Previous",type:i.CollectionReference},nextItemId:{dataIdentifier:"local-module:collection/c4gQFLt_3:default",title:"Next",type:i.CollectionReference}});var fr={},mr={async getSlugByRecordId(t,e){let[r]=await pe.get({from:{data:X,type:"Collection"},limit:{type:"LiteralValue",value:1},select:[{name:"GM6k8WU0b",type:"Identifier"}],where:{left:{name:"id",type:"Identifier"},operator:"==",right:{type:"LiteralValue",value:t},type:"BinaryOperation"}},e).readAsync();return r?.GM6k8WU0b},async getRecordIdBySlug(t,e){let[r]=await pe.get({from:{data:X,type:"Collection"},limit:{type:"LiteralValue",value:1},select:[{name:"id",type:"Identifier"}],where:{left:{name:"GM6k8WU0b",type:"Identifier"},operator:"==",right:{type:"LiteralValue",value:t},type:"BinaryOperation"}},e).readAsync();return r?.id}},dr={exports:{utils:{type:"variable",annotations:{framerContractVersion:"1"}},enumToDisplayNameFunctions:{type:"variable",annotations:{framerContractVersion:"1"}},default:{type:"data",name:"data",annotations:{framerSlug:"GM6k8WU0b",framerData:"",framerRecordIdKey:"id",framerAutoSizeImages:"true",framerEnumToDisplayNameUtils:"2",framerContractVersion:"1",framerColorSyntax:"false",framerCollectionUtils:"1",framerCollectionId:"c4gQFLt_3"}},__FramerMetadata__:{type:"variable"}}};export{hr as a,fr as b,mr as c,dr as d}; //# sourceMappingURL=chunk-BG5BSUOM.mjs.map