import{t as e}from"/assets/animate/rolldown-runtime.Dh6celcD.mjs";import{C as t,I as n,N as r,R as i,c as a,f as o,o as s,u as c}from"/assets/animate/react.D20wc1Tc.mjs";import{S as l}from"/assets/animate/motion.BZLBZ-91.mjs";import{O as u,h as d,o as f,q as p,r as ee,t as te,x as ne}from"/assets/animate/nocodexport.DUs19SCZ.mjs";function m(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function h(e){return new DataView(e.buffer,e.byteOffset,e.byteLength)}function g(e,...t){if(!e)throw Error(`Assertion Error`+(t.length>0?`: `+t.join(` `):``))}function _(e){throw Error(`Unexpected value: ${e}`)}function v(e,t,n,r){g(e>=t,e,`outside lower bound for`,r),g(e<=n,e,`outside upper bound for`,r)}function y(e){return typeof e==`string`}function b(e){return Number.isFinite(e)}function x(e){return e===null}function S(e){if(x(e))return 0;switch(e.type){case f.Array:return 1;case f.Boolean:return 2;case f.Color:return 3;case f.Date:return 4;case f.Enum:return 5;case f.File:return 6;case f.ResponsiveImage:return 10;case f.Link:return 7;case f.Number:return 8;case f.Object:return 9;case f.RichText:return 11;case f.String:return 12;case f.VectorSetItem:return 13;default:_(e)}}function re(e){let t=e.readUint16(),n=[];for(let r=0;ri)return 1;for(let i=0;it.value)}function le(e){return{type:f.Color,value:e.readString()}}function ue(e,t){e.writeString(t.value)}function de(e,t){return e.valuet.value)}function fe(e){let t=e.readInt64(),n=new Date(t);return{type:f.Date,value:n.toISOString()}}function pe(e,t){let n=new Date(t.value).getTime();e.writeInt64(n)}function me(e,t){let n=new Date(e.value),r=new Date(t.value);return nr)}function he(e){return{type:f.Enum,value:e.readString()}}function ge(e,t){e.writeString(t.value)}function _e(e,t){return e.valuet.value)}function ve(e){return{type:f.File,value:e.readString()}}function ye(e,t){e.writeString(t.value)}function be(e,t){return e.valuet.value)}function xe(e){return{type:f.Link,value:e.readJson()}}function Se(e,t){e.writeJson(t.value)}function Ce(e,t){let n=JSON.stringify(e.value),r=JSON.stringify(t.value);return nr)}function we(e){return{type:f.Number,value:e.readFloat64()}}function Te(e,t){e.writeFloat64(t.value)}function Ee(e,t){return e.valuet.value)}function De(e){let t=e.readUint16(),n={};for(let r=0;ri.length)return 1;for(let a=0;as)return 1;let c=e.value[o]??null,l=t.value[s]??null,u=D.compare(c,l,n);if(u!==0)return u}return 0}function Ae(e){return{type:f.ResponsiveImage,value:e.readJson()}}function je(e,t){e.writeJson(t.value)}function Me(e,t){let n=JSON.stringify(e.value),r=JSON.stringify(t.value);return nr)}function Ne(e){let t=e.readInt8();if(t===0)return{type:f.RichText,value:e.readUint32()};if(t===1)return{type:f.RichText,value:e.readString()};throw Error(`Invalid rich text pointer`)}function Pe(e,t){if(b(t.value)){e.writeInt8(0),e.writeUint32(t.value);return}if(y(t.value)){e.writeInt8(1),e.writeString(t.value);return}throw Error(`Invalid rich text pointer`)}function Fe(e,t){let n=e.value,r=t.value;if(b(n)&&b(r)||y(n)&&y(r))return nr);throw Error(`Invalid rich text pointer`)}function Ie(e){return{type:f.String,value:e.readString()}}function Le(e,t){e.writeString(t.value)}function Re(e,t,n){let r=e.value,i=t.value;return n.type===0&&(r=e.value.toLowerCase(),i=t.value.toLowerCase()),ri)}function ze(e){return{type:f.VectorSetItem,value:e.readUint32()}}function Be(e,t){e.writeUint32(t.value)}function Ve(e,t){let n=e.value,r=t.value;return nr)}async function He(e){let t=Math.floor(Xe*(Math.random()+1)*2**(e-1));await new Promise(e=>{setTimeout(e,t)})}async function C(e,t){let n=Ue(t),r=[],i=0;for(let e of n)r.push(`${e.from}-${e.to-1}`),i+=e.to-e.from;let a=new URL(e),o=r.join(`,`);a.searchParams.set(`range`,o);let s=await G(a);if(s.status!==200)throw Error(`Request failed: ${s.status} ${s.statusText}`);let c=await s.arrayBuffer(),l=new Uint8Array(c);if(l.length!==i)throw Error(`Request failed: Unexpected response length`);let u=new Qe,d=0;for(let e of n){let t=e.to-e.from,n=d+t,r=l.subarray(d,n);u.write(e.from,r),d=n}return t.map(e=>u.read(e.from,e.to-e.from))}function w(e,t){let n=e.length+t.length,r=new Uint8Array(n);return r.set(e,0),r.set(t,e.length),r}function Ue(e){g(e.length>0,`Must have at least one range`);let t=[...e].sort((e,t)=>e.from-t.from),n=[];for(let e of t){let t=n.length-1,r=n[t];r&&e.from<=r.to?n[t]={from:r.from,to:Math.max(r.to,e.to)}:n.push(e)}return n}function T(e){let t={},n=e.readUint16();for(let r=0;r{n(),p(),O=Object.create,k=Object.defineProperty,A=Object.getOwnPropertyDescriptor,j=Object.getOwnPropertyNames,M=Object.getPrototypeOf,N=Object.prototype.hasOwnProperty,P=(e,t)=>function(){try{return t||(0,e[j(e)[0]])((t={exports:{}}).exports,t),t.exports}catch(e){throw t=0,e}},F=(e,t,n,r)=>{if(t&&typeof t==`object`||typeof t==`function`)for(let i of j(t))N.call(e,i)||i===n||k(e,i,{get:()=>t[i],enumerable:!(r=A(t,i))||r.enumerable});return e},We=(e,t,n)=>(n=e==null?{}:O(M(e)),F(!t&&e&&e.__esModule?n:k(n,`default`,{value:e,enumerable:!0}),e)),Ge=We(P({"../../../node_modules/dataloader/index.js"(e,t){var n,r=function(){function e(e,t){if(typeof e!=`function`)throw TypeError(`DataLoader must be constructed with a function which accepts Array and returns Promise>, but got: `+e+`.`);this._batchLoadFn=e,this._maxBatchSize=function(e){if(!(!e||!1!==e.batch))return 1;var t=e&&e.maxBatchSize;if(t===void 0)return 1/0;if(typeof t!=`number`||t<1)throw TypeError(`maxBatchSize must be a positive number: `+t);return t}(t),this._batchScheduleFn=function(e){var t=e&&e.batchScheduleFn;if(t===void 0)return i;if(typeof t!=`function`)throw TypeError(`batchScheduleFn must be a function: `+t);return t}(t),this._cacheKeyFn=function(e){var t=e&&e.cacheKeyFn;if(t===void 0)return function(e){return e};if(typeof t!=`function`)throw TypeError(`cacheKeyFn must be a function: `+t);return t}(t),this._cacheMap=function(e){if(!(!e||!1!==e.cache))return null;var t=e&&e.cacheMap;if(t===void 0)return new Map;if(t!==null){var n=[`get`,`set`,`delete`,`clear`].filter(function(e){return t&&typeof t[e]!=`function`});if(n.length!==0)throw TypeError(`Custom cacheMap missing methods: `+n.join(`, `))}return t}(t),this._batch=null,this.name=t&&t.name?t.name:null}var t=e.prototype;return t.load=function(e){if(e==null)throw TypeError(`The loader.load() function must be called with a value, but got: `+String(e)+`.`);var t=function(e){var t=e._batch;if(t!==null&&!t.hasDispatched&&t.keys.length and returns Promise>, but the function errored synchronously: `+String(n)+`.`))}if(!n||typeof n.then!=`function`)return a(e,t,TypeError(`DataLoader must be constructed with a function which accepts Array and returns Promise>, but the function did not return a Promise: `+String(n)+`.`));n.then(function(e){if(!s(e))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(e)+`.`);if(e.length!==t.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(t.keys)+` Values: `+String(e));o(t);for(var n=0;n but got: `+e+`.`);for(var t=[],n=0;n0&&Object.prototype.hasOwnProperty.call(e,e.length-1))}t.exports=r}})(),1),I={Uint8:1,Uint16:2,Uint32:4,BigUint64:8,Int8:1,Int16:2,Int32:4,BigInt64:8,Float32:4,Float64:8},L=(E=class e{getOffset(){return this.offset}ensureLength(e){let t=this.bytes.length;if(!(this.offset+e<=t))throw Error(`Reading out of bounds`)}readUint8(){let e=I.Uint8;this.ensureLength(e);let t=this.view.getUint8(this.offset);return this.offset+=e,t}readUint16(){let e=I.Uint16;this.ensureLength(e);let t=this.view.getUint16(this.offset);return this.offset+=e,t}readUint32(){let e=I.Uint32;this.ensureLength(e);let t=this.view.getUint32(this.offset);return this.offset+=e,t}readUint64(){let e=this.readBigUint64();return Number(e)}readBigUint64(){let e=I.BigUint64;this.ensureLength(e);let t=this.view.getBigUint64(this.offset);return this.offset+=e,t}readInt8(){let e=I.Int8;this.ensureLength(e);let t=this.view.getInt8(this.offset);return this.offset+=e,t}readInt16(){let e=I.Int16;this.ensureLength(e);let t=this.view.getInt16(this.offset);return this.offset+=e,t}readInt32(){let e=I.Int32;this.ensureLength(e);let t=this.view.getInt32(this.offset);return this.offset+=e,t}readInt64(){let e=this.readBigInt64();return Number(e)}readBigInt64(){let e=I.BigInt64;this.ensureLength(e);let t=this.view.getBigInt64(this.offset);return this.offset+=e,t}readFloat32(){let e=I.Float32;this.ensureLength(e);let t=this.view.getFloat32(this.offset);return this.offset+=e,t}readFloat64(){let e=I.Float64;this.ensureLength(e);let t=this.view.getFloat64(this.offset);return this.offset+=e,t}readBytes(e){let t=this.offset,n=t+e,r=this.bytes.subarray(t,n);return this.offset=n,r}readString(){let t=this.readUint32(),n=this.readBytes(t);return e.textDecoder.decode(n)}readJson(){let e=this.readString();return JSON.parse(e)}constructor(e){m(this,`bytes`,void 0),m(this,`offset`,0),m(this,`view`,void 0),this.bytes=e,this.view=h(this.bytes)}},m(E,`textDecoder`,new TextDecoder),E),i!==void 0&&i.requestIdleCallback,Ke=1024,qe=1.5,R=e=>2**e-1,z=e=>-(2**(e-1)),B=e=>2**(e-1)-1,V={Uint8:0,Uint16:0,Uint32:0,Uint64:0,BigUint64:0,Int8:z(8),Int16:z(16),Int32:z(32),Int64:-(2**53-1),BigInt64:-(BigInt(2)**BigInt(63))},H={Uint8:R(8),Uint16:R(16),Uint32:R(32),Uint64:2**53-1,BigUint64:BigInt(2)**BigInt(64)-BigInt(1),Int8:B(8),Int16:B(16),Int32:B(32),Int64:2**53-1,BigInt64:BigInt(2)**BigInt(63)-BigInt(1)},Je=class{getOffset(){return this.offset}slice(e=0,t=this.offset){return this.bytes.slice(e,t)}subarray(e=0,t=this.offset){return this.bytes.subarray(e,t)}ensureLength(e){let t=this.bytes.length;if(this.offset+e<=t)return;let n=new Uint8Array(Math.ceil(t*qe)+e);n.set(this.bytes),this.bytes=n,this.view=h(n)}writeUint8(e){v(e,V.Uint8,H.Uint8,`Uint8`);let t=I.Uint8;this.ensureLength(t),this.view.setUint8(this.offset,e),this.offset+=t}writeUint16(e){v(e,V.Uint16,H.Uint16,`Uint16`);let t=I.Uint16;this.ensureLength(t),this.view.setUint16(this.offset,e),this.offset+=t}writeUint32(e){v(e,V.Uint32,H.Uint32,`Uint32`);let t=I.Uint32;this.ensureLength(t),this.view.setUint32(this.offset,e),this.offset+=t}writeUint64(e){v(e,V.Uint64,H.Uint64,`Uint64`);let t=BigInt(e);this.writeBigUint64(t)}writeBigUint64(e){v(e,V.BigUint64,H.BigUint64,`BigUint64`);let t=I.BigUint64;this.ensureLength(t),this.view.setBigUint64(this.offset,e),this.offset+=t}writeInt8(e){v(e,V.Int8,H.Int8,`Int8`);let t=I.Int8;this.ensureLength(t),this.view.setInt8(this.offset,e),this.offset+=t}writeInt16(e){v(e,V.Int16,H.Int16,`Int16`);let t=I.Int16;this.ensureLength(t),this.view.setInt16(this.offset,e),this.offset+=t}writeInt32(e){v(e,V.Int32,H.Int32,`Int32`);let t=I.Int32;this.ensureLength(t),this.view.setInt32(this.offset,e),this.offset+=t}writeInt64(e){v(e,V.Int64,H.Int64,`Int64`);let t=BigInt(e);this.writeBigInt64(t)}writeBigInt64(e){v(e,V.BigInt64,H.BigInt64,`BigInt64`);let t=I.BigInt64;this.ensureLength(t),this.view.setBigInt64(this.offset,e),this.offset+=t}writeFloat32(e){let t=I.Float32;this.ensureLength(t),this.view.setFloat32(this.offset,e),this.offset+=t}writeFloat64(e){let t=I.Float64;this.ensureLength(t),this.view.setFloat64(this.offset,e),this.offset+=t}writeBytes(e){let t=e.length;this.ensureLength(t),this.bytes.set(e,this.offset),this.offset+=t}encodeString(e){let t=this.encodedStrings.get(e);if(t)return t;let n=this.encoder.encode(e);return this.encodedStrings.set(e,n),n}writeString(e){let t=this.encodeString(e),n=t.length;this.writeUint32(n),this.writeBytes(t)}writeJson(e){let t=JSON.stringify(e);this.writeString(t)}constructor(){m(this,`offset`,0),m(this,`bytes`,new Uint8Array(Ke)),m(this,`view`,h(this.bytes)),m(this,`encoder`,new TextEncoder),m(this,`encodedStrings`,new Map)}},U=class e{static fromString(t){let[n,r,i]=t.split(`/`).map(Number);return g(b(n),`Invalid chunkId`),g(b(r),`Invalid offset`),g(b(i),`Invalid length`),new e(n,r,i)}toString(){return`${this.chunkId}/${this.offset}/${this.length}`}static read(t){let n=t.readUint16(),r=t.readUint32(),i=t.readUint32();return new e(n,r,i)}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,t,n){m(this,`chunkId`,void 0),m(this,`offset`,void 0),m(this,`length`,void 0),this.chunkId=e,this.offset=t,this.length=n}},(e=>{e.read=function(e){let t=e.readUint8();switch(t){case 0:return null;case 1:return re(e);case 2:return oe(e);case 3:return le(e);case 4:return fe(e);case 5:return he(e);case 6:return ve(e);case 7:return xe(e);case 8:return we(e);case 9:return De(e);case 10:return Ae(e);case 11:return Ne(e);case 12:return Ie(e);case 13:return ze(e);default:_(t)}},e.write=function(e,t){let n=S(t);if(e.writeUint8(n),!x(t))switch(t.type){case f.Array:return ie(e,t);case f.Boolean:return se(e,t);case f.Color:return ue(e,t);case f.Date:return pe(e,t);case f.Enum:return ge(e,t);case f.File:return ye(e,t);case f.Link:return Se(e,t);case f.Number:return Te(e,t);case f.Object:return Oe(e,t);case f.ResponsiveImage:return je(e,t);case f.RichText:return Pe(e,t);case f.VectorSetItem:return Be(e,t);case f.String:return Le(e,t);default:_(t)}},e.compare=function(e,t,n){let r=S(e),i=S(t);if(ri)return 1;if(x(e)||x(t))return 0;switch(e.type){case f.Array:return g(t.type===f.Array),ae(e,t,n);case f.Boolean:return g(t.type===f.Boolean),ce(e,t);case f.Color:return g(t.type===f.Color),de(e,t);case f.Date:return g(t.type===f.Date),me(e,t);case f.Enum:return g(t.type===f.Enum),_e(e,t);case f.File:return g(t.type===f.File),be(e,t);case f.Link:return g(t.type===f.Link),Ce(e,t);case f.Number:return g(t.type===f.Number),Ee(e,t);case f.Object:return g(t.type===f.Object),ke(e,t,n);case f.ResponsiveImage:return g(t.type===f.ResponsiveImage),Me(e,t);case f.RichText:return g(t.type===f.RichText),Fe(e,t);case f.VectorSetItem:return g(t.type===f.VectorSetItem),Ve(e,t);case f.String:return g(t.type===f.String),Re(e,t,n);default:_(e)}}})(D||={}),Ye=class e{sortEntries(){this.entries.sort((e,t)=>{for(let n=0;ne.getField(t)??null);this.entries.push({values:n,pointer:t})}constructor(e,t){m(this,`fieldNames`,void 0),m(this,`options`,void 0),m(this,`entries`,[]),this.fieldNames=e,this.options=t}},W=3,Xe=250,Ze=[408,429,500,502,503,504],G=async(e,t)=>{let n=0;for(;;){try{let r=await fetch(e,t);if(!Ze.includes(r.status)||++n>W)return r}catch(e){if(t?.signal?.aborted||++n>W)throw e}await He(n)}},Qe=class{read(e,t){for(let n of this.chunks){if(en.end)continue;if(e+t>n.end)break;let r=e-n.start,i=r+t;return n.data.slice(r,i)}throw Error(`Missing data`)}write(e,t){let n=e,r=n+t.length,i=0,a=this.chunks.length;for(;ie.end)){if(n>e.start){let r=n-e.start;t=w(e.data.subarray(0,r),t),n=e.start}break}}for(;a>i;a--){let e=this.chunks[a-1];if(g(e,`Missing chunk`),!(re.flatMap(e=>{switch(t.type){case`All`:return[e];case`Equals`:return this.queryEquals(e,t,n);case`NotEquals`:return this.queryNotEquals(e,t,n);case`LessThan`:return this.queryLessThan(e,t,n);case`GreaterThan`:return this.queryGreaterThan(e,t,n);case`Contains`:return this.queryContains(e,t,n);case`StartsWith`:return this.queryStartsWith(e,t,n);case`EndsWith`:return this.queryEndsWith(e,t,n);default:_(t)}}),[t.entries]),r=[];for(let e of n)for(let t of e){let e={};for(let n=0;n0?[a]:[]}queryNotEquals(e,t,n){let r=this.getLeftMost(e,n,t.value),i=this.getRightMost(e,n,t.value),a=[],o=e.slice(0,r);o.length>0&&a.push(o);let s=e.slice(i+1);return s.length>0&&a.push(s),a}queryLessThan(e,t,n){let r=this.getRightMost(e,n,null);if(e=e.slice(r+1),t.inclusive){let r=this.getRightMost(e,n,t.value),i=e.slice(0,r+1);return i.length>0?[i]:[]}let i=this.getLeftMost(e,n,t.value),a=e.slice(0,i);return a.length>0?[a]:[]}queryGreaterThan(e,t,n){let r=this.getRightMost(e,n,null);if(e=e.slice(r+1),t.inclusive){let r=this.getLeftMost(e,n,t.value),i=e.slice(r);return i.length>0?[i]:[]}let i=this.getRightMost(e,n,t.value),a=e.slice(i+1);return a.length>0?[a]:[]}queryContains(e,t,n){return this.findItems(e,n,e=>{if(e?.type!==f.String||t.value?.type!==f.String)return!1;let n=e.value,r=t.value.value;return this.collation.type===0&&(n=n.toLowerCase(),r=r.toLowerCase()),n.includes(r)})}queryStartsWith(e,t,n){return this.findItems(e,n,e=>{if(e?.type!==f.String||t.value?.type!==f.String)return!1;let n=e.value,r=t.value.value;return this.collation.type===0&&(n=n.toLowerCase(),r=r.toLowerCase()),n.startsWith(r)})}queryEndsWith(e,t,n){return this.findItems(e,n,e=>{if(e?.type!==f.String||t.value?.type!==f.String)return!1;let n=e.value,r=t.value.value;return this.collation.type===0&&(n=n.toLowerCase(),r=r.toLowerCase()),n.endsWith(r)})}getLeftMost(e,t,n){let r=0,i=e.length;for(;r>1,o=e[a].values[t];0>D.compare(o,n,this.collation)?r=a+1:i=a}return r}getRightMost(e,t,n){let r=0,i=e.length;for(;r>1,o=e[a].values[t];D.compare(o,n,this.collation)>0?i=a:r=a+1}return i-1}findItems(e,t,n){let r=[],i=0;for(let a=0;a{if(!e.ok)throw Error(`Request failed: ${e.status} ${e.statusText}`);let t=await e.arrayBuffer(),n=new L(new Uint8Array(t)),r=[],i=n.readUint32();for(let e=0;e{let t=e.map(e=>{let t=U.fromString(e);return{from:t.offset,to:t.offset+t.length}});return(await C(this.url,t)).map((t,n)=>{let r=T(new L(t)),i=e[n];return g(i,`Missing pointer`),{pointer:i,data:r}})},{maxBatchSize:250})),this.id=e,this.url=t}},et=class{async scanItems(){return(await Promise.all(this.chunks.map(async e=>e.scanItems()))).flat()}resolveItems(e){return Promise.all(e.map(e=>{let t=U.fromString(e),n=this.chunks[t.chunkId];return g(n,`Missing chunk`),n.resolveItem(e)}))}compareItems(e,t){let n=U.fromString(e.pointer),r=U.fromString(t.pointer);return n.compare(r)}compareValues(e,t,n){return D.compare(e,t,n)}constructor(e){m(this,`options`,void 0),m(this,`id`,void 0),m(this,`schema`,void 0),m(this,`indexes`,void 0),m(this,`resolveRichText`,void 0),m(this,`resolveVectorSetItem`,void 0),m(this,`chunks`,void 0),this.options=e,this.chunks=this.options.chunks.map((e,t)=>new $e(t,e)),this.schema=e.schema,this.indexes=e.indexes,this.resolveRichText=e.resolveRichText,this.resolveVectorSetItem=e.resolveVectorSetItem,this.id=e.id}}}));function nt(e){return typeof e==`object`&&!!e&&!o(e)&&at in e}function rt(e,...t){if(!e)throw Error(`Assertion Error`+(t.length>0?`: `+t.join(` `):``))}function it(e){let t=new Map;return n=>{let i=t.get(n);if(i)return i;let o=function t(n){switch(n[0]){case 1:{let[,...e]=n;return c(r,void 0,...e.map(t))}case 2:{let[,e,...r]=n;return c(d,e,...r.map(t))}case 3:{let[,r,i,o,s]=n;for(let e of o){let n=i[e];n&&(i[e]=t(n))}for(let t of s){let n=i[t];if(typeof n!=`string`)continue;let r=e[n];r&&(nt(r)&&r.preload(),i[t]=r)}let c=e[r];return rt(c,`Module not found`),nt(c)&&c.preload(),a(ee,{componentIdentifier:r,children:e=>a(te,{component:c,props:{...e,...i}})})}case 4:{let[,e,r,...i]=n,a=i.map(t);return c(e===`a`?l.a:e,r,...a)}case 5:{let[,e]=n;return e}}}(JSON.parse(n));return t.set(n,o),o}}var q,at,ot,st=e((()=>{n(),s(),p(),t(),i!==void 0&&i.requestIdleCallback,at=`preload`,ot=((q=ot||{})[q.Fragment=1]=`Fragment`,q[q.Link=2]=`Link`,q[q.Module=3]=`Module`,q[q.Tag=4]=`Tag`,q[q.Text=5]=`Text`,q)})),J,ct,Y,lt,ut,dt,ft,X,pt,mt,ht,gt,_t,vt,yt,bt,Z,xt,Q,$,St,Ct,wt,Tt=e((()=>{p(),tt(),st(),J={createdAt:{isNullable:!0,type:f.Date},FV78NK8eP:{isNullable:!0,type:f.String},id:{isNullable:!1,type:f.String},nextItemId:{isNullable:!0,type:f.String},OKxBByzlY:{isNullable:!0,type:f.String},previousItemId:{isNullable:!0,type:f.String},R74Vwp2_I:{isNullable:!0,type:f.ResponsiveImage},RjncQSNbO:{isNullable:!0,type:f.String},ROf_C_iww:{isNullable:!0,type:f.RichText},tlqwxgJMn:{isNullable:!0,type:f.String},UbTZA2vOQ:{isNullable:!0,type:f.String},updatedAt:{isNullable:!0,type:f.Date}},ct=[`id`],Y={type:1},lt=[`previousItemId`],ut=[`nextItemId`],dt=[`id`,`OKxBByzlY`],ft=[`OKxBByzlY`,`id`],X={type:0},pt=[`RjncQSNbO`],mt=[`OKxBByzlY`],ht=[`FV78NK8eP`],gt=[`UbTZA2vOQ`],_t=[`ROf_C_iww`],vt=[`tlqwxgJMn`],yt=[`R74Vwp2_I`],bt=[],Z=e=>{let t=bt[e];if(t)return t().then(e=>e.default)},xt=it({}),Q=new ne,$={collectionByLocaleId:{default:new et({chunks:[(location.origin+`/assets/animate/eHhtpDtYx-chunk-default-0.framercms`)],id:`dc89b240-0c5a-485b-8a60-6d045aaa881ddefault`,indexes:[new K({collation:Y,collectionSchema:J,fieldNames:ct,range:{from:0,to:97},url:(location.origin+`/assets/animate/eHhtpDtYx-indexes-default-0.framercms`)}),new K({collation:Y,collectionSchema:J,fieldNames:lt,range:{from:97,to:193},url:(location.origin+`/assets/animate/eHhtpDtYx-indexes-default-0.framercms`)}),new K({collation:Y,collectionSchema:J,fieldNames:ut,range:{from:193,to:285},url:(location.origin+`/assets/animate/eHhtpDtYx-indexes-default-0.framercms`)}),new K({collation:Y,collectionSchema:J,fieldNames:dt,range:{from:285,to:489},url:(location.origin+`/assets/animate/eHhtpDtYx-indexes-default-0.framercms`)}),new K({collation:X,collectionSchema:J,fieldNames:ft,range:{from:489,to:693},url:(location.origin+`/assets/animate/eHhtpDtYx-indexes-default-0.framercms`)}),new K({collation:X,collectionSchema:J,fieldNames:pt,range:{from:693,to:951},url:(location.origin+`/assets/animate/eHhtpDtYx-indexes-default-0.framercms`)}),new K({collation:X,collectionSchema:J,fieldNames:mt,range:{from:951,to:1107},url:(location.origin+`/assets/animate/eHhtpDtYx-indexes-default-0.framercms`)}),new K({collation:X,collectionSchema:J,fieldNames:ht,range:{from:1107,to:1511},url:(location.origin+`/assets/animate/eHhtpDtYx-indexes-default-0.framercms`)}),new K({collation:X,collectionSchema:J,fieldNames:gt,range:{from:1511,to:2304},url:(location.origin+`/assets/animate/eHhtpDtYx-indexes-default-0.framercms`)}),new K({collation:X,collectionSchema:J,fieldNames:_t,range:{from:2304,to:34595},url:(location.origin+`/assets/animate/eHhtpDtYx-indexes-default-0.framercms`)}),new K({collation:X,collectionSchema:J,fieldNames:vt,range:{from:34595,to:34699},url:(location.origin+`/assets/animate/eHhtpDtYx-indexes-default-0.framercms`)}),new K({collation:X,collectionSchema:J,fieldNames:yt,range:{from:34699,to:36251},url:(location.origin+`/assets/animate/eHhtpDtYx-indexes-default-0.framercms`)})],resolveRichText:xt,resolveVectorSetItem:Z,schema:J})},displayName:`Blog`,id:`dc89b240-0c5a-485b-8a60-6d045aaa881d`},u($,{RjncQSNbO:{defaultValue:``,title:`Blog Name`,type:f.String},OKxBByzlY:{preventLocalization:!1,title:`Slug`,type:f.String},FV78NK8eP:{defaultValue:``,title:`Short Description`,type:f.String},UbTZA2vOQ:{defaultValue:``,title:`Long Description`,type:f.String},ROf_C_iww:{defaultValue:`


`,title:`Content`,type:f.RichText},tlqwxgJMn:{dataIdentifier:`local-module:collection/i0yCAVKxp:default`,title:`Author Details`,type:f.CollectionReference},R74Vwp2_I:{title:`Image`,type:f.ResponsiveImage},createdAt:{title:`Created`,type:f.Date},updatedAt:{title:`Updated`,type:f.Date},previousItemId:{dataIdentifier:`local-module:collection/eHhtpDtYx:default`,title:`Previous`,type:f.CollectionReference},nextItemId:{dataIdentifier:`local-module:collection/eHhtpDtYx:default`,title:`Next`,type:f.CollectionReference}}),St={},Ct={async getSlugByRecordId(e,t){let[n]=await Q.query({from:{data:$,type:`Collection`},limit:{type:`LiteralValue`,value:1},select:[{name:`OKxBByzlY`,type:`Identifier`}],where:{left:{name:`id`,type:`Identifier`},operator:`==`,right:{type:`LiteralValue`,value:e},type:`BinaryOperation`}},t);return n?.OKxBByzlY},async getRecordIdBySlug(e,t){let[n]=await Q.query({from:{data:$,type:`Collection`},limit:{type:`LiteralValue`,value:1},select:[{name:`id`,type:`Identifier`}],where:{left:{name:`OKxBByzlY`,type:`Identifier`},operator:`==`,right:{type:`LiteralValue`,value:e},type:`BinaryOperation`}},t);return n?.id}},wt={exports:{utils:{type:`variable`,annotations:{framerContractVersion:`1`}},default:{type:`data`,name:`data`,annotations:{framerContractVersion:`1`,framerEnumToDisplayNameUtils:`2`,framerCollectionId:`eHhtpDtYx`,framerAutoSizeImages:`true`,framerSlug:`OKxBByzlY`,framerData:`true`,framerColorSyntax:`false`,framerRecordIdKey:`id`,framerCollectionUtils:`1`}},enumToDisplayNameFunctions:{type:`variable`,annotations:{framerContractVersion:`1`}},__FramerMetadata__:{type:`variable`}}}}));export{Ct as a,Tt as i,$ as n,St as r,wt as t}; //# sourceMappingURL=eHhtpDtYx.Cpz3e3f2.mjs.map