import{t as e}from"./rolldown-runtime.BB3S47xo.mjs";import{B as t,E as n,H as r,I as i,c as a,f as o,o as s,u as c}from"./react.UZZKdtaS.mjs";import{C as l}from"./motion.B1SDLVbr.mjs";import{Z as u,c as d,i as ee,j as te,t as ne,v as re,w as ie}from"./framer.Ypvh2MRC.mjs";function f(e){return new DataView(e.buffer,e.byteOffset,e.byteLength)}function p(e,...t){if(!e)throw Error(`Assertion Error`+(t.length>0?`: `+t.join(` `):``))}function m(e){throw Error(`Unexpected value: ${e}`)}function h(e,t,n,r){p(e>=t,e,`outside lower bound for`,r),p(e<=n,e,`outside upper bound for`,r)}function g(e){return typeof e==`string`}function _(e){return Number.isFinite(e)}function v(e){return e===null}function y(e){if(v(e))return 0;switch(e.type){case d.Array:return 1;case d.Boolean:return 2;case d.Color:return 3;case d.Date:return 4;case d.Enum:return 5;case d.File:return 6;case d.ResponsiveImage:return 10;case d.Link:return 7;case d.Number:return 8;case d.Object:return 9;case d.RichText:return 11;case d.String:return 12;case d.VectorSetItem:return 13;default:m(e)}}function ae(e){let t=e.readUint16(),n=[];for(let r=0;ri)return 1;for(let i=0;it.value?1:0}function de(e){return{type:d.Color,value:e.readString()}}function fe(e,t){e.writeString(t.value)}function pe(e,t){return e.valuet.value?1:0}function me(e){let t=e.readInt64(),n=new Date(t);return{type:d.Date,value:n.toISOString()}}function he(e,t){let n=new Date(t.value).getTime();e.writeInt64(n)}function ge(e,t){let n=new Date(e.value),r=new Date(t.value);return nr?1:0}function _e(e){return{type:d.Enum,value:e.readString()}}function ve(e,t){e.writeString(t.value)}function ye(e,t){return e.valuet.value?1:0}function be(e){return{type:d.File,value:e.readString()}}function xe(e,t){e.writeString(t.value)}function Se(e,t){return e.valuet.value?1:0}function Ce(e){return{type:d.Link,value:e.readJson()}}function we(e,t){e.writeJson(t.value)}function Te(e,t){let n=JSON.stringify(e.value),r=JSON.stringify(t.value);return nr?1:0}function Ee(e){return{type:d.Number,value:e.readFloat64()}}function De(e,t){e.writeFloat64(t.value)}function Oe(e,t){return e.valuet.value?1:0}function ke(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=b.compare(c,l,n);if(u!==0)return u}return 0}function Me(e){return{type:d.ResponsiveImage,value:e.readJson()}}function Ne(e,t){e.writeJson(t.value)}function Pe(e,t){let n=JSON.stringify(e.value),r=JSON.stringify(t.value);return nr?1:0}function Fe(e){let t=e.readInt8();if(t===0)return{type:d.RichText,value:e.readUint32()};if(t===1)return{type:d.RichText,value:e.readString()};throw Error(`Invalid rich text pointer`)}function Ie(e,t){if(_(t.value)){e.writeInt8(0),e.writeUint32(t.value);return}if(g(t.value)){e.writeInt8(1),e.writeString(t.value);return}throw Error(`Invalid rich text pointer`)}function Le(e,t){let n=e.value,r=t.value;if(_(n)&&_(r)||g(n)&&g(r))return nr?1:0;throw Error(`Invalid rich text pointer`)}function Re(e){return{type:d.String,value:e.readString()}}function ze(e,t){e.writeString(t.value)}function Be(e,t,n){let r=e.value,i=t.value;return n.type===0&&(r=e.value.toLowerCase(),i=t.value.toLowerCase()),ri?1:0}function Ve(e){return{type:d.VectorSetItem,value:e.readUint32()}}function He(e,t){e.writeUint32(t.value)}function Ue(e,t){let n=e.value,r=t.value;return nr?1:0}async function We(e){let t=Math.floor(st*(Math.random()+1)*2**(e-1));await new Promise(e=>{setTimeout(e,t)})}async function Ge(e,t){let n=qe(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(`,`);if(a.origin===globalThis.location.origin&&a.pathname.startsWith(`/assets/data/`)){let e=await N(a);if(e.status!==200)throw Error(`Request failed: ${e.status} ${e.statusText}`);let r=new Uint8Array(await e.arrayBuffer()),i=new lt;i.write(0,r);return t.map(e=>i.read(e.from,e.to-e.from))}a.searchParams.set(`range`,o);let s=await N(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 lt,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 Ke(e,t){let n=e.length+t.length,r=new Uint8Array(n);return r.set(e,0),r.set(t,e.length),r}function qe(e){p(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}var b,Je,x,Ye,S,Xe,Ze,Qe,$e,et,tt,C,nt,w,T,rt,it,E,D,O,k,A,at,j,ot,M,st,ct,N,lt,P,F,ut,I,dt=e((()=>{t(),u(),Je=Object.create,x=Object.defineProperty,Ye=Object.getOwnPropertyDescriptor,S=Object.getOwnPropertyNames,Xe=Object.getPrototypeOf,Ze=Object.prototype.hasOwnProperty,Qe=(e,t,n)=>t in e?x(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,$e=(e,t)=>function(){return t||(0,e[S(e)[0]])((t={exports:{}}).exports,t),t.exports},et=(e,t,n,r)=>{if(t&&typeof t==`object`||typeof t==`function`)for(let i of S(t))Ze.call(e,i)||i===n||x(e,i,{get:()=>t[i],enumerable:!(r=Ye(t,i))||r.enumerable});return e},tt=(e,t,n)=>(n=e==null?{}:Je(Xe(e)),et(!t&&e&&e.__esModule?n:x(n,`default`,{value:e,enumerable:!0}),e)),C=(e,t,n)=>Qe(e,typeof t==`symbol`?t:t+``,n),nt=tt($e({"../../../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),w={Uint8:1,Uint16:2,Uint32:4,BigUint64:8,Int8:1,Int16:2,Int32:4,BigInt64:8,Float32:4,Float64:8},T=class{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=w.Uint8;this.ensureLength(e);let t=this.view.getUint8(this.offset);return this.offset+=e,t}readUint16(){let e=w.Uint16;this.ensureLength(e);let t=this.view.getUint16(this.offset);return this.offset+=e,t}readUint32(){let e=w.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=w.BigUint64;this.ensureLength(e);let t=this.view.getBigUint64(this.offset);return this.offset+=e,t}readInt8(){let e=w.Int8;this.ensureLength(e);let t=this.view.getInt8(this.offset);return this.offset+=e,t}readInt16(){let e=w.Int16;this.ensureLength(e);let t=this.view.getInt16(this.offset);return this.offset+=e,t}readInt32(){let e=w.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=w.BigInt64;this.ensureLength(e);let t=this.view.getBigInt64(this.offset);return this.offset+=e,t}readFloat32(){let e=w.Float32;this.ensureLength(e);let t=this.view.getFloat32(this.offset);return this.offset+=e,t}readFloat64(){let e=w.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 e=this.readUint32(),t=this.readBytes(e);return this.decoder.decode(t)}readJson(){let e=this.readString();return JSON.parse(e)}constructor(e){this.bytes=e,C(this,`offset`,0),C(this,`view`),C(this,`decoder`,new TextDecoder),this.view=f(this.bytes)}},r!==void 0&&r.requestIdleCallback,rt=1024,it=1.5,E=e=>2**e-1,D=e=>-(2**(e-1)),O=e=>2**(e-1)-1,k={Uint8:0,Uint16:0,Uint32:0,Uint64:0,BigUint64:0,Int8:D(8),Int16:D(16),Int32:D(32),Int64:-(2**53-1),BigInt64:-(BigInt(2)**BigInt(63))},A={Uint8:E(8),Uint16:E(16),Uint32:E(32),Uint64:2**53-1,BigUint64:BigInt(2)**BigInt(64)-BigInt(1),Int8:O(8),Int16:O(16),Int32:O(32),Int64:2**53-1,BigInt64:BigInt(2)**BigInt(63)-BigInt(1)},at=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*it)+e);n.set(this.bytes),this.bytes=n,this.view=f(n)}writeUint8(e){h(e,k.Uint8,A.Uint8,`Uint8`);let t=w.Uint8;this.ensureLength(t),this.view.setUint8(this.offset,e),this.offset+=t}writeUint16(e){h(e,k.Uint16,A.Uint16,`Uint16`);let t=w.Uint16;this.ensureLength(t),this.view.setUint16(this.offset,e),this.offset+=t}writeUint32(e){h(e,k.Uint32,A.Uint32,`Uint32`);let t=w.Uint32;this.ensureLength(t),this.view.setUint32(this.offset,e),this.offset+=t}writeUint64(e){h(e,k.Uint64,A.Uint64,`Uint64`);let t=BigInt(e);this.writeBigUint64(t)}writeBigUint64(e){h(e,k.BigUint64,A.BigUint64,`BigUint64`);let t=w.BigUint64;this.ensureLength(t),this.view.setBigUint64(this.offset,e),this.offset+=t}writeInt8(e){h(e,k.Int8,A.Int8,`Int8`);let t=w.Int8;this.ensureLength(t),this.view.setInt8(this.offset,e),this.offset+=t}writeInt16(e){h(e,k.Int16,A.Int16,`Int16`);let t=w.Int16;this.ensureLength(t),this.view.setInt16(this.offset,e),this.offset+=t}writeInt32(e){h(e,k.Int32,A.Int32,`Int32`);let t=w.Int32;this.ensureLength(t),this.view.setInt32(this.offset,e),this.offset+=t}writeInt64(e){h(e,k.Int64,A.Int64,`Int64`);let t=BigInt(e);this.writeBigInt64(t)}writeBigInt64(e){h(e,k.BigInt64,A.BigInt64,`BigInt64`);let t=w.BigInt64;this.ensureLength(t),this.view.setBigInt64(this.offset,e),this.offset+=t}writeFloat32(e){let t=w.Float32;this.ensureLength(t),this.view.setFloat32(this.offset,e),this.offset+=t}writeFloat64(e){let t=w.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(){C(this,`offset`,0),C(this,`bytes`,new Uint8Array(rt)),C(this,`view`,f(this.bytes)),C(this,`encoder`,new TextEncoder),C(this,`encodedStrings`,new Map)}},j=class e{static fromString(t){let[n,r,i]=t.split(`/`).map(Number);return p(_(n),`Invalid chunkId`),p(_(r),`Invalid offset`),p(_(i),`Invalid length`),new e(n,r,i)}toString(){return`${this.chunkId}/${this.offset}/${this.length}`}static read(t){return new e(t.readUint16(),t.readUint32(),t.readUint32())}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:(p(this.length===e.length),0)}constructor(e,t,n){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 ae(e);case 2:return ce(e);case 3:return de(e);case 4:return me(e);case 5:return _e(e);case 6:return be(e);case 7:return Ce(e);case 8:return Ee(e);case 9:return ke(e);case 10:return Me(e);case 11:return Fe(e);case 12:return Re(e);case 13:return Ve(e);default:m(t)}},e.write=function(e,t){let n=y(t);if(e.writeUint8(n),!v(t))switch(t.type){case d.Array:return oe(e,t);case d.Boolean:return le(e,t);case d.Color:return fe(e,t);case d.Date:return he(e,t);case d.Enum:return ve(e,t);case d.File:return xe(e,t);case d.Link:return we(e,t);case d.Number:return De(e,t);case d.Object:return Ae(e,t);case d.ResponsiveImage:return Ne(e,t);case d.RichText:return Ie(e,t);case d.VectorSetItem:return He(e,t);case d.String:return ze(e,t);default:m(t)}},e.compare=function(e,t,n){let r=y(e),i=y(t);if(ri)return 1;if(v(e)||v(t))return 0;switch(e.type){case d.Array:return p(t.type===d.Array),se(e,t,n);case d.Boolean:return p(t.type===d.Boolean),ue(e,t);case d.Color:return p(t.type===d.Color),pe(e,t);case d.Date:return p(t.type===d.Date),ge(e,t);case d.Enum:return p(t.type===d.Enum),ye(e,t);case d.File:return p(t.type===d.File),Se(e,t);case d.Link:return p(t.type===d.Link),Te(e,t);case d.Number:return p(t.type===d.Number),Oe(e,t);case d.Object:return p(t.type===d.Object),je(e,t,n);case d.ResponsiveImage:return p(t.type===d.ResponsiveImage),Pe(e,t);case d.RichText:return p(t.type===d.RichText),Le(e,t);case d.VectorSetItem:return p(t.type===d.VectorSetItem),Ue(e,t);case d.String:return p(t.type===d.String),Be(e,t,n);default:m(e)}}})(b||={}),ot=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){this.fieldNames=e,this.options=t,C(this,`entries`,[])}},M=3,st=250,ct=[408,429,500,502,503,504],N=async(e,t)=>{let n=0;for(;;){try{let r=await fetch(e,t);if(!ct.includes(r.status)||++n>M)return r}catch(e){if(t?.signal?.aborted||++n>M)throw e}await We(n)}},lt=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=Ke(e.data.subarray(0,r),t),n=e.start}break}}for(;a>i;a--){let e=this.chunks[a-1];if(p(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:m(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!==d.String||t.value?.type!==d.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!==d.String||t.value?.type!==d.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!==d.String||t.value?.type!==d.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>b.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];b.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 T(new Uint8Array(t)),r=[],i=n.readUint32();for(let e=0;e{let t=e.map(e=>{let t=j.fromString(e);return{from:t.offset,to:t.offset+t.length}});return(await Ge(this.url,t)).map((t,n)=>{let r=new T(t),i=F.read(r),a=e[n];return p(a,`Missing pointer`),{pointer:a,data:i.getData()}})},{maxBatchSize:250}))}},I=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=j.fromString(e),n=this.chunks[t.chunkId];return p(n,`Missing chunk`),n.resolveItem(e)}))}compareItems(e,t){let n=j.fromString(e.pointer),r=j.fromString(t.pointer);return n.compare(r)}compareValues(e,t,n){return b.compare(e,t,n)}constructor(e){this.options=e,C(this,`id`),C(this,`schema`),C(this,`indexes`),C(this,`resolveRichText`),C(this,`resolveVectorSetItem`),C(this,`chunks`),this.chunks=this.options.chunks.map((e,t)=>new ut(t,e)),this.schema=e.schema,this.indexes=e.indexes,this.resolveRichText=e.resolveRichText,this.resolveVectorSetItem=e.resolveVectorSetItem,this.id=e.id}}}));function ft(e){return typeof e==`object`&&!!e&&!o(e)&&ht in e}function pt(e,...t){if(!e)throw Error(`Assertion Error`+(t.length>0?`: `+t.join(` `):``))}function mt(e){let t=new Map;return n=>{let r=t.get(n);if(r)return r;let o=function t(n){switch(n[0]){case 1:{let[,...e]=n;return c(i,void 0,...e.map(t))}case 2:{let[,e,...r]=n;return c(re,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&&(ft(r)&&r.preload(),i[t]=r)}let c=e[r];return pt(c,`Module not found`),ft(c)&&c.preload(),a(ee,{componentIdentifier:r,children:e=>a(ne,{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 L,ht,gt,_t=e((()=>{t(),s(),u(),n(),r!==void 0&&r.requestIdleCallback,ht=`preload`,gt=((L=gt||{})[L.Fragment=1]=`Fragment`,L[L.Link=2]=`Link`,L[L.Module=3]=`Module`,L[L.Tag=4]=`Tag`,L[L.Text=5]=`Text`,L)})),R,z,B,V,H,U,W,vt,G,K,q,J,Y,X,yt,bt,xt,St,Ct,wt,Tt,Et,Dt,Z,Ot,kt,At,jt,Mt,Nt,Pt,Ft,It,Lt,Rt,Q,zt,Bt,Vt,$,Ht,Ut,Wt,Gt=e((()=>{u(),dt(),_t(),R={A2iS_C4P2:{isNullable:!0,type:d.String},bmqUx2XrW:{isNullable:!0,type:d.String},By76QFplY:{isNullable:!0,type:d.ResponsiveImage},createdAt:{isNullable:!0,type:d.Date},CRJ5lsp5x:{isNullable:!0,type:d.String},eXENWP4YG:{isNullable:!0,type:d.Link},g73MxV_s2:{isNullable:!0,type:d.Enum},ga67bv0GG:{isNullable:!0,type:d.String},Gng2yGUVN:{isNullable:!0,type:d.String},GX7WlLMn0:{isNullable:!0,type:d.String},htMYYUQrD:{isNullable:!0,type:d.ResponsiveImage},id:{isNullable:!1,type:d.String},KXXuayQgq:{isNullable:!0,type:d.Number},ll4PCBnp4:{isNullable:!0,type:d.Enum},nextItemId:{isNullable:!0,type:d.String},oHVK8wQvi:{isNullable:!0,type:d.String},previousItemId:{isNullable:!0,type:d.String},rYhYSyKld:{isNullable:!0,type:d.String},s1P9zwM8L:{isNullable:!0,type:d.String},Si91qWWXg:{isNullable:!0,type:d.Enum},tkkj3ec6A:{isNullable:!0,type:d.String},updatedAt:{isNullable:!0,type:d.Date},wjQqb5VJa:{isNullable:!0,type:d.ResponsiveImage},xcYsNvrRE:{isNullable:!0,type:d.String},Xpk4ZUhRp:{isNullable:!0,type:d.ResponsiveImage},z633egq5f:{isNullable:!0,type:d.ResponsiveImage},zHuxBTjdL:{isNullable:!0,type:d.RichText},zvC2I_LNW:{isNullable:!0,type:d.ResponsiveImage}},z=[`id`],B={type:1},V=[`previousItemId`],H=[`nextItemId`],U=[`id`,`s1P9zwM8L`],W=[`s1P9zwM8L`,`id`],vt=[`GX7WlLMn0`],G={type:0},K=[`s1P9zwM8L`],q=[`z633egq5f`],J=[`zHuxBTjdL`],Y=[`bmqUx2XrW`],X=[`xcYsNvrRE`],yt=[`A2iS_C4P2`],bt=[`Si91qWWXg`],xt=[`eXENWP4YG`],St=[`tkkj3ec6A`],Ct=[`KXXuayQgq`],wt=[`CRJ5lsp5x`],Tt=[`g73MxV_s2`],Et=[`Xpk4ZUhRp`],Dt=[`wjQqb5VJa`],Z=[`oHVK8wQvi`],Ot=[`ll4PCBnp4`],kt=[`ga67bv0GG`],At=[`htMYYUQrD`],jt=[`rYhYSyKld`],Mt=[`By76QFplY`],Nt=[`Gng2yGUVN`],Pt=[`zvC2I_LNW`],Ft=[],It=e=>{let t=Ft[e];if(t)return t().then(e=>e.default)},Lt=mt({}),Rt=new ie,Q={collectionByLocaleId:{default:new I({chunks:[new URL(`/assets/data/x8iY10A5Z-chunk-default-0.framercms`,globalThis.location.origin).href],id:`b7183463-c5af-4091-8d0f-ff169d8929f4default`,indexes:[new P({collation:B,collectionSchema:R,fieldNames:z,range:{from:0,to:265},url:new URL(`/assets/data/x8iY10A5Z-indexes-default-0.framercms`,globalThis.location.origin).href}),new P({collation:B,collectionSchema:R,fieldNames:V,range:{from:265,to:529},url:new URL(`/assets/data/x8iY10A5Z-indexes-default-0.framercms`,globalThis.location.origin).href}),new P({collation:B,collectionSchema:R,fieldNames:H,range:{from:529,to:789},url:new URL(`/assets/data/x8iY10A5Z-indexes-default-0.framercms`,globalThis.location.origin).href}),new P({collation:B,collectionSchema:R,fieldNames:U,range:{from:789,to:1288},url:new URL(`/assets/data/x8iY10A5Z-indexes-default-0.framercms`,globalThis.location.origin).href}),new P({collation:B,collectionSchema:R,fieldNames:W,range:{from:1288,to:1787},url:new URL(`/assets/data/x8iY10A5Z-indexes-default-0.framercms`,globalThis.location.origin).href}),new P({collation:G,collectionSchema:R,fieldNames:vt,range:{from:1787,to:2140},url:new URL(`/assets/data/x8iY10A5Z-indexes-default-0.framercms`,globalThis.location.origin).href}),new P({collation:G,collectionSchema:R,fieldNames:K,range:{from:2140,to:2493},url:new URL(`/assets/data/x8iY10A5Z-indexes-default-0.framercms`,globalThis.location.origin).href}),new P({collation:G,collectionSchema:R,fieldNames:q,range:{from:2493,to:7408},url:new URL(`/assets/data/x8iY10A5Z-indexes-default-0.framercms`,globalThis.location.origin).href}),new P({collation:G,collectionSchema:R,fieldNames:J,range:{from:7408,to:58060},url:new URL(`/assets/data/x8iY10A5Z-indexes-default-0.framercms`,globalThis.location.origin).href}),new P({collation:G,collectionSchema:R,fieldNames:Y,range:{from:58060,to:58800},url:new URL(`/assets/data/x8iY10A5Z-indexes-default-0.framercms`,globalThis.location.origin).href}),new P({collation:G,collectionSchema:R,fieldNames:X,range:{from:58800,to:60595},url:new URL(`/assets/data/x8iY10A5Z-indexes-default-0.framercms`,globalThis.location.origin).href}),new P({collation:G,collectionSchema:R,fieldNames:yt,range:{from:60595,to:61298},url:new URL(`/assets/data/x8iY10A5Z-indexes-default-0.framercms`,globalThis.location.origin).href}),new P({collation:G,collectionSchema:R,fieldNames:bt,range:{from:61298,to:61570},url:new URL(`/assets/data/x8iY10A5Z-indexes-default-0.framercms`,globalThis.location.origin).href}),new P({collation:G,collectionSchema:R,fieldNames:xt,range:{from:61570,to:61976},url:new URL(`/assets/data/x8iY10A5Z-indexes-default-0.framercms`,globalThis.location.origin).href}),new P({collation:G,collectionSchema:R,fieldNames:St,range:{from:61976,to:62666},url:new URL(`/assets/data/x8iY10A5Z-indexes-default-0.framercms`,globalThis.location.origin).href}),new P({collation:G,collectionSchema:R,fieldNames:Ct,range:{from:62666,to:62888},url:new URL(`/assets/data/x8iY10A5Z-indexes-default-0.framercms`,globalThis.location.origin).href}),new P({collation:G,collectionSchema:R,fieldNames:wt,range:{from:62888,to:63530},url:new URL(`/assets/data/x8iY10A5Z-indexes-default-0.framercms`,globalThis.location.origin).href}),new P({collation:G,collectionSchema:R,fieldNames:Tt,range:{from:63530,to:63802},url:new URL(`/assets/data/x8iY10A5Z-indexes-default-0.framercms`,globalThis.location.origin).href}),new P({collation:G,collectionSchema:R,fieldNames:Et,range:{from:63802,to:66693},url:new URL(`/assets/data/x8iY10A5Z-indexes-default-0.framercms`,globalThis.location.origin).href}),new P({collation:G,collectionSchema:R,fieldNames:Dt,range:{from:66693,to:69339},url:new URL(`/assets/data/x8iY10A5Z-indexes-default-0.framercms`,globalThis.location.origin).href}),new P({collation:G,collectionSchema:R,fieldNames:Z,range:{from:69339,to:69925},url:new URL(`/assets/data/x8iY10A5Z-indexes-default-0.framercms`,globalThis.location.origin).href}),new P({collation:G,collectionSchema:R,fieldNames:Ot,range:{from:69925,to:70197},url:new URL(`/assets/data/x8iY10A5Z-indexes-default-0.framercms`,globalThis.location.origin).href}),new P({collation:G,collectionSchema:R,fieldNames:kt,range:{from:70197,to:70795},url:new URL(`/assets/data/x8iY10A5Z-indexes-default-0.framercms`,globalThis.location.origin).href}),new P({collation:G,collectionSchema:R,fieldNames:At,range:{from:70795,to:73700},url:new URL(`/assets/data/x8iY10A5Z-indexes-default-0.framercms`,globalThis.location.origin).href}),new P({collation:G,collectionSchema:R,fieldNames:jt,range:{from:73700,to:75317},url:new URL(`/assets/data/x8iY10A5Z-indexes-default-0.framercms`,globalThis.location.origin).href}),new P({collation:G,collectionSchema:R,fieldNames:Mt,range:{from:75317,to:76831},url:new URL(`/assets/data/x8iY10A5Z-indexes-default-0.framercms`,globalThis.location.origin).href}),new P({collation:G,collectionSchema:R,fieldNames:Nt,range:{from:76831,to:77485},url:new URL(`/assets/data/x8iY10A5Z-indexes-default-0.framercms`,globalThis.location.origin).href}),new P({collation:G,collectionSchema:R,fieldNames:Pt,range:{from:77485,to:79778},url:new URL(`/assets/data/x8iY10A5Z-indexes-default-0.framercms`,globalThis.location.origin).href})],resolveRichText:Lt,resolveVectorSetItem:It,schema:R}),u7lYEf4iu:new I({chunks:[new URL(`/assets/data/x8iY10A5Z-chunk-u7lYEf4iu-0.framercms`,globalThis.location.origin).href],id:`b7183463-c5af-4091-8d0f-ff169d8929f4u7lYEf4iu`,indexes:[new P({collation:B,collectionSchema:R,fieldNames:z,range:{from:0,to:265},url:new URL(`/assets/data/x8iY10A5Z-indexes-u7lYEf4iu-0.framercms`,globalThis.location.origin).href}),new P({collation:B,collectionSchema:R,fieldNames:V,range:{from:265,to:529},url:new URL(`/assets/data/x8iY10A5Z-indexes-u7lYEf4iu-0.framercms`,globalThis.location.origin).href}),new P({collation:B,collectionSchema:R,fieldNames:H,range:{from:529,to:789},url:new URL(`/assets/data/x8iY10A5Z-indexes-u7lYEf4iu-0.framercms`,globalThis.location.origin).href}),new P({collation:B,collectionSchema:R,fieldNames:U,range:{from:789,to:1288},url:new URL(`/assets/data/x8iY10A5Z-indexes-u7lYEf4iu-0.framercms`,globalThis.location.origin).href}),new P({collation:B,collectionSchema:R,fieldNames:W,range:{from:1288,to:1787},url:new URL(`/assets/data/x8iY10A5Z-indexes-u7lYEf4iu-0.framercms`,globalThis.location.origin).href}),new P({collation:G,collectionSchema:R,fieldNames:vt,range:{from:1787,to:2140},url:new URL(`/assets/data/x8iY10A5Z-indexes-u7lYEf4iu-0.framercms`,globalThis.location.origin).href}),new P({collation:G,collectionSchema:R,fieldNames:K,range:{from:2140,to:2493},url:new URL(`/assets/data/x8iY10A5Z-indexes-u7lYEf4iu-0.framercms`,globalThis.location.origin).href}),new P({collation:G,collectionSchema:R,fieldNames:q,range:{from:2493,to:7408},url:new URL(`/assets/data/x8iY10A5Z-indexes-u7lYEf4iu-0.framercms`,globalThis.location.origin).href}),new P({collation:G,collectionSchema:R,fieldNames:J,range:{from:7408,to:58060},url:new URL(`/assets/data/x8iY10A5Z-indexes-u7lYEf4iu-0.framercms`,globalThis.location.origin).href}),new P({collation:G,collectionSchema:R,fieldNames:Y,range:{from:58060,to:58800},url:new URL(`/assets/data/x8iY10A5Z-indexes-u7lYEf4iu-0.framercms`,globalThis.location.origin).href}),new P({collation:G,collectionSchema:R,fieldNames:X,range:{from:58800,to:60595},url:new URL(`/assets/data/x8iY10A5Z-indexes-u7lYEf4iu-0.framercms`,globalThis.location.origin).href}),new P({collation:G,collectionSchema:R,fieldNames:yt,range:{from:60595,to:61298},url:new URL(`/assets/data/x8iY10A5Z-indexes-u7lYEf4iu-0.framercms`,globalThis.location.origin).href}),new P({collation:G,collectionSchema:R,fieldNames:bt,range:{from:61298,to:61570},url:new URL(`/assets/data/x8iY10A5Z-indexes-u7lYEf4iu-0.framercms`,globalThis.location.origin).href}),new P({collation:G,collectionSchema:R,fieldNames:xt,range:{from:61570,to:61976},url:new URL(`/assets/data/x8iY10A5Z-indexes-u7lYEf4iu-0.framercms`,globalThis.location.origin).href}),new P({collation:G,collectionSchema:R,fieldNames:St,range:{from:61976,to:62666},url:new URL(`/assets/data/x8iY10A5Z-indexes-u7lYEf4iu-0.framercms`,globalThis.location.origin).href}),new P({collation:G,collectionSchema:R,fieldNames:Ct,range:{from:62666,to:62888},url:new URL(`/assets/data/x8iY10A5Z-indexes-u7lYEf4iu-0.framercms`,globalThis.location.origin).href}),new P({collation:G,collectionSchema:R,fieldNames:wt,range:{from:62888,to:63530},url:new URL(`/assets/data/x8iY10A5Z-indexes-u7lYEf4iu-0.framercms`,globalThis.location.origin).href}),new P({collation:G,collectionSchema:R,fieldNames:Tt,range:{from:63530,to:63802},url:new URL(`/assets/data/x8iY10A5Z-indexes-u7lYEf4iu-0.framercms`,globalThis.location.origin).href}),new P({collation:G,collectionSchema:R,fieldNames:Et,range:{from:63802,to:66693},url:new URL(`/assets/data/x8iY10A5Z-indexes-u7lYEf4iu-0.framercms`,globalThis.location.origin).href}),new P({collation:G,collectionSchema:R,fieldNames:Dt,range:{from:66693,to:69339},url:new URL(`/assets/data/x8iY10A5Z-indexes-u7lYEf4iu-0.framercms`,globalThis.location.origin).href}),new P({collation:G,collectionSchema:R,fieldNames:Z,range:{from:69339,to:69925},url:new URL(`/assets/data/x8iY10A5Z-indexes-u7lYEf4iu-0.framercms`,globalThis.location.origin).href}),new P({collation:G,collectionSchema:R,fieldNames:Ot,range:{from:69925,to:70197},url:new URL(`/assets/data/x8iY10A5Z-indexes-u7lYEf4iu-0.framercms`,globalThis.location.origin).href}),new P({collation:G,collectionSchema:R,fieldNames:kt,range:{from:70197,to:70795},url:new URL(`/assets/data/x8iY10A5Z-indexes-u7lYEf4iu-0.framercms`,globalThis.location.origin).href}),new P({collation:G,collectionSchema:R,fieldNames:At,range:{from:70795,to:73700},url:new URL(`/assets/data/x8iY10A5Z-indexes-u7lYEf4iu-0.framercms`,globalThis.location.origin).href}),new P({collation:G,collectionSchema:R,fieldNames:jt,range:{from:73700,to:75317},url:new URL(`/assets/data/x8iY10A5Z-indexes-u7lYEf4iu-0.framercms`,globalThis.location.origin).href}),new P({collation:G,collectionSchema:R,fieldNames:Mt,range:{from:75317,to:76831},url:new URL(`/assets/data/x8iY10A5Z-indexes-u7lYEf4iu-0.framercms`,globalThis.location.origin).href}),new P({collation:G,collectionSchema:R,fieldNames:Nt,range:{from:76831,to:77485},url:new URL(`/assets/data/x8iY10A5Z-indexes-u7lYEf4iu-0.framercms`,globalThis.location.origin).href}),new P({collation:G,collectionSchema:R,fieldNames:Pt,range:{from:77485,to:79778},url:new URL(`/assets/data/x8iY10A5Z-indexes-u7lYEf4iu-0.framercms`,globalThis.location.origin).href})],resolveRichText:Lt,resolveVectorSetItem:It,schema:R})},displayName:`Productos`,id:`b7183463-c5af-4091-8d0f-ff169d8929f4`},zt=Q,te(Q,{GX7WlLMn0:{defaultValue:``,title:`Nombre`,type:d.String},s1P9zwM8L:{preventLocalization:!0,title:`Slug`,type:d.String},z633egq5f:{title:`Cover`,type:d.ResponsiveImage},zHuxBTjdL:{defaultValue:``,title:`Content`,type:d.RichText},bmqUx2XrW:{defaultValue:``,title:`Slogan`,type:d.String},xcYsNvrRE:{defaultValue:``,title:`Descripción`,type:d.String},A2iS_C4P2:{defaultValue:``,title:`Entregable 2`,type:d.String},Si91qWWXg:{options:[`Waokdomuh`,`eW8djLh6B`,`vCOGdZkt7`,`jk6OE5mgy`],optionTitles:[`ADS SEO SEM`,`Diseño Gráfico`,`Inteligencia Artificial`,`Redes Sociales`],title:`Áreas`,type:d.Enum},eXENWP4YG:{title:`Botón de Pago`,type:d.Link},tkkj3ec6A:{defaultValue:``,title:`Entregables`,type:d.String},KXXuayQgq:{defaultValue:0,title:`Top Picks`,type:d.Number},CRJ5lsp5x:{defaultValue:``,title:`Entregable 4`,type:d.String},g73MxV_s2:{options:[`nGKUuOmCv`,`R3UKH1Cos`],optionTitles:[`Público`,`Oculto`],title:`Ubicación Web`,type:d.Enum},Xpk4ZUhRp:{title:`Arte 2`,type:d.ResponsiveImage},wjQqb5VJa:{title:`Arte 3`,type:d.ResponsiveImage},oHVK8wQvi:{defaultValue:``,title:`Duración Estimada`,type:d.String},ll4PCBnp4:{options:[`dk8yYswkM`,`mYnK5doif`,`tiefyNzl2`],optionTitles:[`Suscripción`,`Proyecto`,`Taller de Capacitación`],title:`Tipo`,type:d.Enum},ga67bv0GG:{defaultValue:``,title:`Entregable 5`,type:d.String},htMYYUQrD:{title:`Arte 1`,type:d.ResponsiveImage},rYhYSyKld:{defaultValue:``,title:`Código`,type:d.String},By76QFplY:{title:`Icon`,type:d.ResponsiveImage},Gng2yGUVN:{defaultValue:``,title:`Entregable 3`,type:d.String},zvC2I_LNW:{title:`Arte 4`,type:d.ResponsiveImage},createdAt:{title:`Created`,type:d.Date},updatedAt:{title:`Updated`,type:d.Date},previousItemId:{dataIdentifier:`local-module:collection/x8iY10A5Z:default`,title:`Previous`,type:d.CollectionReference},nextItemId:{dataIdentifier:`local-module:collection/x8iY10A5Z:default`,title:`Next`,type:d.CollectionReference}}),Bt=(e,t)=>{switch(t?.fallback,e){case`Waokdomuh`:return`ADS SEO SEM`;case`eW8djLh6B`:return`Diseño Gráfico`;case`vCOGdZkt7`:return`Inteligencia Artificial`;case`jk6OE5mgy`:return`Redes Sociales`;default:return``}},Vt=(e,t)=>{switch(t?.fallback,e){case`nGKUuOmCv`:return`Público`;case`R3UKH1Cos`:return`Oculto`;default:return``}},$=(e,t)=>{switch(t?.fallback,e){case`dk8yYswkM`:return`Suscripción`;case`mYnK5doif`:return`Proyecto`;case`tiefyNzl2`:return`Taller de Capacitación`;default:return``}},Ht={g73MxV_s2:Vt,ll4PCBnp4:$,Si91qWWXg:Bt},Ut={async getSlugByRecordId(e,t){let[n]=await Rt.query({from:{data:Q,type:`Collection`},limit:{type:`LiteralValue`,value:1},select:[{name:`s1P9zwM8L`,type:`Identifier`}],where:{left:{name:`id`,type:`Identifier`},operator:`==`,right:{type:`LiteralValue`,value:e},type:`BinaryOperation`}},t);return n?.s1P9zwM8L},async getRecordIdBySlug(e,t){let[n]=await Rt.query({from:{data:Q,type:`Collection`},limit:{type:`LiteralValue`,value:1},select:[{name:`id`,type:`Identifier`}],where:{left:{name:`s1P9zwM8L`,type:`Identifier`},operator:`==`,right:{type:`LiteralValue`,value:e},type:`BinaryOperation`}},t);return n?.id}},Wt={exports:{g73MxV_s2ToDisplayName:{type:`variable`,annotations:{framerContractVersion:`1`}},default:{type:`data`,name:`data`,annotations:{framerContractVersion:`1`,framerCollectionUtils:`1`,framerAutoSizeImages:`true`,framerSlug:`s1P9zwM8L`,framerEnumToDisplayNameUtils:`2`,framerCollectionId:`x8iY10A5Z`,framerData:`true`,framerRecordIdKey:`id`,framerColorSyntax:`false`}},Si91qWWXgToDisplayName:{type:`variable`,annotations:{framerContractVersion:`1`}},ll4PCBnp4ToDisplayName:{type:`variable`,annotations:{framerContractVersion:`1`}},utils:{type:`variable`,annotations:{framerContractVersion:`1`}},enumToDisplayNameFunctions:{type:`variable`,annotations:{framerContractVersion:`1`}},__FramerMetadata__:{type:`variable`}}}}));export{Gt as a,zt as c,Vt as i,Wt as n,$ as o,Ht as r,Ut as s,Bt as t}; //# sourceMappingURL=x8iY10A5Z.DUbposGk.mjs.map