import{__esmMin as e}from"./rolldown-runtime.BOLAW3nA.mjs";import{ControlType as t,QueryEngine as n,addPropertyControls as r,init_framer_44VOAY3F as i}from"./framer.BpaiJwmD.mjs";function a(e,...t){if(!e)throw Error(`Assertion Error`+(t.length>0?`: `+t.join(` `):``))}function o(e){throw Error(`Unexpected value: ${e}`)}function s(e){return Number.isFinite(e)}function c(e){return e===void 0}function l(e){return e===null}function u(e,t){return ze(e,t||{},0,0)}function d(e,t){return Oe(e,{i:2},t&&t.out,t&&t.dictionary)}function f(e,t,n,r){a(e>=t,e,`outside lower bound for`,r),a(e<=n,e,`outside upper bound for`,r)}function p(e,t,n){let r=new Uint8Array(e);new Uint8Array(t).set(r,n)}function m(e){if(l(e))return 0;switch(e.type){case t.Array:return 1;case t.Boolean:return 2;case t.Color:return 3;case t.Date:return 4;case t.Enum:return 5;case t.File:return 6;case t.ResponsiveImage:return 10;case t.Link:return 7;case t.Number:return 8;case t.Object:return 9;case t.RichText:return 11;case t.String:return 12;default:o(e)}}function h(e){let t=3&e.length,n=e.length-t,r=0,i=0;for(;i>>16)*3432918353&65535)<<16)&4294967295)<<15|t>>>17))*461845907+(((t>>>16)*461845907&65535)<<16)&4294967295,r=r<<13|r>>>19;let n=(65535&r)*5+(((r>>>16)*5&65535)<<16)&4294967295;r=(65535&n)+27492+(((n>>>16)+58964&65535)<<16)}let a=0;return t>=3&&(a^=(255&e.charCodeAt(i+2))<<16),t>=2&&(a^=(255&e.charCodeAt(i+1))<<8),t>=1&&(a^=255&e.charCodeAt(i),r^=a=(65535&(a=(a=(65535&a)*3432918353+(((a>>>16)*3432918353&65535)<<16)&4294967295)<<15|a>>>17))*461845907+(((a>>>16)*461845907&65535)<<16)&4294967295),r^=e.length,r^=r>>>16,r=(65535&r)*2246822507+(((r>>>16)*2246822507&65535)<<16)&4294967295,r^=r>>>13,r=(65535&r)*3266489909+(((r>>>16)*3266489909&65535)<<16)&4294967295,(r^=r>>>16)>>>0}async function g(e){let t=Math.floor(lt*(Math.random()+1)*2**(e-1));await new Promise(e=>{setTimeout(e,t)})}async function ee(e,t){let n=new URL(e),r=w(t);n.searchParams.set(`rangeHash`,h(r).toString(16));let i=await dt(n,{headers:{Range:r}});if(!i.ok)throw Error(`Request failed: ${i.status} ${i.statusText}`);let a=await i.arrayBuffer(),o=new Uint8Array(a);if(i.status===200)return t.map(e=>{if(e.to>o.length)throw Error(`Missing data`);return o.slice(e.from,e.to)});if(i.status===206){let e=i.headers.get(`Content-Type`);if(!e)throw Error(`Missing Content-Type header`);let n=new gt,r=new st.default(e);if(r.type===`multipart`&&r.subtype===`byteranges`){let e=r.parameters.get(`boundary`);if(!e)throw Error(`Missing boundary parameter`);let t=_(o,e);for(let{headers:e,body:r}of t){let t=e.get(`Content-Range`);if(!t)throw Error(`Missing Content-Range header`);let i=v(t);if(i.unit!==`bytes`)throw Error(`Unsupported unit`);n.write(i.start,r)}}else{let e=i.headers.get(`Content-Range`);if(!e)throw Error(`Missing Content-Range header`);let t=v(e);if(t.unit!==`bytes`)throw Error(`Unsupported unit`);n.write(t.start,o)}return t.map(e=>n.read(e.from,e.to-e.from))}throw Error(`Unsupported response: ${i.status} ${i.statusText}`)}function _(e,t){let n=mt.encode(pt+t),r=b(e,n);if(c(r))throw Error(`Missing parts start`);let i=r+n.length,a=mt.encode(ft+pt+t+pt),o=x(e,a);if(c(o))throw Error(`Missing parts end`);let s=mt.encode(ft+pt+t),l=e.subarray(i,o);return y(l,s).map(e=>{let t=mt.encode(ft+ft),n=b(e,t);if(c(n))throw Error(`Missing headers end`);let r=mt.encode(ft),i=e.subarray(0,n),a=y(i,r),o=new Headers;for(let e of a){let t=ht.decode(e),[n,r]=t.split(`: `,2);n&&r&&o.append(n,r)}let s=n+t.length,l=e.slice(s);return{headers:o,body:l}})}function v(e){let t=RegExp(`^(?\\w+) (?\\d+)-(?\\d+)\\/(?\\d+|\\*)$`,`u`).exec(e);if(!t||!t.groups)throw Error(`Invalid Content-Range header`);let{unit:n,start:r,end:i,size:a}=t.groups;return{unit:n,start:Number(r),end:Number(i),size:a===`*`?null:Number(a)}}function y(e,t){let n=[];for(;e.length>0;){let r=b(e,t)??e.length,i=e.subarray(0,r);n.push(i),e=e.subarray(r+t.length)}return n}function b(e,t){for(let n=0;n=0;n--){let r=e.subarray(n);if(S(r,t))return n}}function S(e,t){for(let n=0;n0,`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`bytes=${n.map(e=>`${e.from}-${e.to-1}`).join(`,`)}`}var T,E,D,O,k,A,j,M,N,P,te,F,I,L,R,z,B,ne,re,ie,V,ae,H,U,oe,se,ce,le,ue,de,fe,pe,me,he,ge,_e,W,G,ve,ye,be,xe,Se,Ce,K,we,Te,Ee,De,q,Oe,J,ke,Ae,je,Me,Ne,Pe,Fe,Ie,Le,Re,ze,Be,Ve,He,Ue,We,Ge,Ke,Y,X,qe,Z,Je,Ye,Xe,Ze,Qe,$e,et,tt,nt,rt,it,at,ot,st,ct,lt,ut,dt,ft,pt,mt,ht,gt,_t,vt,yt,bt=e((()=>{for(i(),O=Object.create,k=Object.defineProperty,A=Object.getOwnPropertyDescriptor,j=Object.getOwnPropertyNames,M=Object.getPrototypeOf,N=Object.prototype.hasOwnProperty,P=(e,t)=>function(){return t||(0,e[j(e)[0]])((t={exports:{}}).exports,t),t.exports},te=(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},F=(e,t,n)=>(n=e==null?{}:O(M(e)),te(!t&&e&&e.__esModule?n:k(n,`default`,{value:e,enumerable:!0}),e)),I=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}}),L=P({"../../../node_modules/splaytree/dist/splay.js"(e,t){var n=function(){var e=function(e,t){this.next=null,this.key=e,this.data=t,this.left=null,this.right=null};function t(e,t){return e>t?1:er(t,n.left.key)){var c=n.left;if(n.left=c.right,c.right=n,(n=c).left===null)break}o.left=n,o=n,n=n.left}else if(s>0){if(n.right===null)break;if(r(t,n.right.key)>0){var c=n.right;if(n.right=c.left,c.left=n,(n=c).right===null)break}a.right=n,a=n,n=n.right}else break}return a.right=n.left,o.left=n.right,n.left=i.right,n.right=i.left,n}function r(t,r,i,a){var o=new e(t,r);if(i===null)return o.left=o.right=null,o;i=n(t,i,a);var s=a(t,i.key);return s<0?(o.left=i.left,o.right=i,i.left=null):s>=0&&(o.right=i.right,o.left=i,i.right=null),o}function i(e,t,r){var i=null,a=null;if(t){t=n(e,t,r);var o=r(t.key,e);o===0?(i=t.left,a=t.right):o<0?(a=t.right,t.right=null,i=t):(i=t.left,t.left=null,a=t)}return{left:i,right:a}}return function(){function a(e){e===void 0&&(e=t),this._root=null,this._size=0,this._comparator=e}return a.prototype.insert=function(e,t){return this._size++,this._root=r(e,t,this._root,this._comparator)},a.prototype.add=function(t,r){var i=new e(t,r);this._root===null&&(i.left=i.right=null,this._size++,this._root=i);var a=this._comparator,o=n(t,this._root,a),s=a(t,o.key);return s===0?this._root=o:(s<0?(i.left=o.left,i.right=o,o.left=null):s>0&&(i.right=o.right,i.left=o,o.right=null),this._size++,this._root=i),this._root},a.prototype.remove=function(e){this._root=this._remove(e,this._root,this._comparator)},a.prototype._remove=function(e,t,r){var i;return t===null?null:(t=n(e,t,r),r(e,t.key)===0?(t.left===null?i=t.right:(i=n(e,t.left,r)).right=t.right,this._size--,i):t)},a.prototype.pop=function(){var e=this._root;if(e){for(;e.left;)e=e.left;return this._root=n(e.key,this._root,this._comparator),this._root=this._remove(e.key,this._root,this._comparator),{key:e.key,data:e.data}}return null},a.prototype.findStatic=function(e){for(var t=this._root,n=this._comparator;t;){var r=n(e,t.key);if(r===0)return t;t=r<0?t.left:t.right}return null},a.prototype.find=function(e){return this._root&&(this._root=n(e,this._root,this._comparator),this._comparator(e,this._root.key)!==0)?null:this._root},a.prototype.contains=function(e){for(var t=this._root,n=this._comparator;t;){var r=n(e,t.key);if(r===0)return!0;t=r<0?t.left:t.right}return!1},a.prototype.forEach=function(e,t){for(var n=this._root,r=[],i=!1;!i;)n===null?r.length===0?i=!0:(n=r.pop(),e.call(t,n),n=n.right):(r.push(n),n=n.left);return this},a.prototype.range=function(e,t,n,r){for(var i=[],a=this._comparator,o=this._root;i.length!==0||o;)if(o)i.push(o),o=o.left;else{if(a((o=i.pop()).key,t)>0)break;if(a(o.key,e)>=0&&n.call(r,o))return this;o=o.right}return this},a.prototype.keys=function(){var e=[];return this.forEach(function(t){var n=t.key;return e.push(n)}),e},a.prototype.values=function(){var e=[];return this.forEach(function(t){var n=t.data;return e.push(n)}),e},a.prototype.min=function(){return this._root?this.minNode(this._root).key:null},a.prototype.max=function(){return this._root?this.maxNode(this._root).key:null},a.prototype.minNode=function(e){if(e===void 0&&(e=this._root),e)for(;e.left;)e=e.left;return e},a.prototype.maxNode=function(e){if(e===void 0&&(e=this._root),e)for(;e.right;)e=e.right;return e},a.prototype.at=function(e){for(var t=this._root,n=!1,r=0,i=[];!n;)if(t)i.push(t),t=t.left;else if(i.length>0){if(t=i.pop(),r===e)return t;r++,t=t.right}else n=!0;return null},a.prototype.next=function(e){var t=this._root,n=null;if(e.right){for(n=e.right;n.left;)n=n.left;return n}for(var r=this._comparator;t;){var i=r(e.key,t.key);if(i===0)break;i<0?(n=t,t=t.left):t=t.right}return n},a.prototype.prev=function(e){var t=this._root,n=null;if(e.left!==null){for(n=e.left;n.right;)n=n.right;return n}for(var r=this._comparator;t;){var i=r(e.key,t.key);if(i===0)break;i<0?t=t.left:(n=t,t=t.right)}return n},a.prototype.clear=function(){return this._root=null,this._size=0,this},a.prototype.toList=function(){return function(t){for(var n=t,r=[],i=!1,a=new e(null,null),o=a;!i;)n?(r.push(n),n=n.left):r.length>0?n=(n=o=o.next=r.pop()).right:i=!0;return o.next=null,a.next}(this._root)},a.prototype.load=function(t,n,r){n===void 0&&(n=[]),r===void 0&&(r=!1);var i=t.length,a=this._comparator;if(r&&function e(t,n,r,i,a){if(!(r>=i)){for(var o=t[r+i>>1],s=r-1,c=i+1;;){do s++;while(0>a(t[s],o));do c--;while(a(t[c],o)>0);if(s>=c)break;var l=t[s];t[s]=t[c],t[c]=l,l=n[s],n[s]=n[c],n[c]=l}e(t,n,r,c,a),e(t,n,c+1,i,a)}}(t,n,0,i-1,a),this._root===null)this._root=function t(n,r,i,a){var o=a-i;if(o>0){var s=i+Math.floor(o/2),c=n[s],l=r[s],u=new e(c,l);return u.left=t(n,r,i,s),u.right=t(n,r,s+1,a),u}return null}(t,n,0,i),this._size=i;else{var o=function(t,n,r){for(var i=new e(null,null),a=i,o=t,s=n;o!==null&&s!==null;)0>r(o.key,s.key)?(a.next=o,o=o.next):(a.next=s,s=s.next),a=a.next;return o===null?s!==null&&(a.next=s):a.next=o,i.next}(this.toList(),function(t,n){for(var r=new e(null,null),i=r,a=0;a0){var a=n+Math.floor(i/2),o=e(t,n,a),s=t.head;return s.left=o,t.head=t.head.next,s.right=e(t,a+1,r),s}return null}({head:o},0,i)}return this},a.prototype.isEmpty=function(){return this._root===null},Object.defineProperty(a.prototype,`size`,{get:function(){return this._size},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,`root`,{get:function(){return this._root},enumerable:!0,configurable:!0}),a.prototype.toString=function(e){e===void 0&&(e=function(e){return String(e.key)});var t=[];return function e(t,n,r,i,a){if(t){i(``+n+(r?`└── `:`├── `)+a(t)+` `);var o=n+(r?` `:`│ `);t.left&&e(t.left,o,!1,i,a),t.right&&e(t.right,o,!0,i,a)}}(this._root,``,!0,function(e){return t.push(e)},e),t.join(``)},a.prototype.update=function(e,t,a){var o,s,c=this._comparator,l=i(e,this._root,c),u=l.left,d=l.right;0>c(e,t)?d=r(t,a,d,c):u=r(t,a,u,c),this._root=(o=u,(s=d)===null?o:(o===null||((s=n(o.key,s,c)).left=o),s))},a.prototype.split=function(e){return i(e,this._root,this._comparator)},a.prototype[Symbol.iterator]=function(){var e,t,n;return function(e,t){var n,r,i,a,o={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return a={next:s(0),throw:s(1),return:s(2)},typeof Symbol==`function`&&(a[Symbol.iterator]=function(){return this}),a;function s(a){return function(s){return function(a){if(n)throw TypeError(`Generator is already executing.`);for(;o;)try{if(n=1,r&&(i=2&a[0]?r.return:a[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,a[1])).done)return i;switch(r=0,i&&(a=[2&a[0],i.value]),a[0]){case 0:case 1:i=a;break;case 4:return o.label++,{value:a[1],done:!1};case 5:o.label++,r=a[1],a=[0];continue;case 7:a=o.ops.pop(),o.trys.pop();continue;default:if(!(i=(i=o.trys).length>0&&i[i.length-1])&&(a[0]===6||a[0]===2)){o=0;continue}if(a[0]===3&&(!i||a[1]>i[0]&&a[1]e.replace(/^[ \t\n\r]+/u,``).replace(/[ \t\n\r]+$/u,``),e.removeTrailingHTTPWhitespace=e=>e.replace(/[ \t\n\r]+$/u,``),e.isHTTPWhitespaceChar=e=>e===` `||e===` `||e===` `||e===`\r`,e.solelyContainsHTTPTokenCodePoints=e=>/^[-!#$%&'*+.^_`|~A-Za-z0-9]*$/u.test(e),e.soleyContainsHTTPQuotedStringTokenCodePoints=e=>/^[\t\u0020-\u007E\u0080-\u00FF]*$/u.test(e),e.asciiLowercase=e=>e.replace(/[A-Z]/gu,e=>e.toLowerCase()),e.collectAnHTTPQuotedString=(e,t)=>{let n=``;for(t++;;){for(;t=e.length)break;let r=e[t];if(++t,r===`\\`){if(t>=e.length){n+=`\\`;break}n+=e[t],++t}else break}return[n,t]}}}),z=P({"../../../node_modules/whatwg-mimetype/lib/mime-type-parameters.js"(e,t){var{asciiLowercase:n,solelyContainsHTTPTokenCodePoints:r,soleyContainsHTTPQuotedStringTokenCodePoints:i}=R();t.exports=class{get size(){return this._map.size}get(e){return e=n(String(e)),this._map.get(e)}has(e){return e=n(String(e)),this._map.has(e)}set(e,t){if(e=n(String(e)),t=String(t),!r(e))throw Error(`Invalid MIME type parameter name "${e}": only HTTP token code points are valid.`);if(!i(t))throw Error(`Invalid MIME type parameter value "${t}": only HTTP quoted-string token code points are valid.`);return this._map.set(e,t)}clear(){this._map.clear()}delete(e){return e=n(String(e)),this._map.delete(e)}forEach(e,t){this._map.forEach(e,t)}keys(){return this._map.keys()}values(){return this._map.values()}entries(){return this._map.entries()}[Symbol.iterator](){return this._map[Symbol.iterator]()}constructor(e){this._map=e}}}}),B=P({"../../../node_modules/whatwg-mimetype/lib/parser.js"(e,t){var{removeLeadingAndTrailingHTTPWhitespace:n,removeTrailingHTTPWhitespace:r,isHTTPWhitespaceChar:i,solelyContainsHTTPTokenCodePoints:a,soleyContainsHTTPQuotedStringTokenCodePoints:o,asciiLowercase:s,collectAnHTTPQuotedString:c}=R();t.exports=e=>{e=n(e);let t=0,l=``;for(;t=e.length)return null;++t;let u=``;for(;t0&&a(n)&&o(l)&&!d.parameters.has(n)&&d.parameters.set(n,l)}return d}}}),ne=P({"../../../node_modules/whatwg-mimetype/lib/serializer.js"(e,t){var{solelyContainsHTTPTokenCodePoints:n}=R();t.exports=e=>{let t=`${e.type}/${e.subtype}`;if(e.parameters.size===0)return t;for(let[r,i]of e.parameters)t+=`;`+r+`=`,n(i)&&i.length!==0||(i=i.replace(/(["\\])/gu,`\\$1`),i=`"${i}"`),t+=i;return t}}}),re=P({"../../../node_modules/whatwg-mimetype/lib/mime-type.js"(e,t){var n=z(),r=B(),i=ne(),{asciiLowercase:a,solelyContainsHTTPTokenCodePoints:o}=R();t.exports=class{static parse(e){try{return new this(e)}catch{return null}}get essence(){return`${this.type}/${this.subtype}`}get type(){return this._type}set type(e){if((e=a(String(e))).length===0)throw Error(`Invalid type: must be a non-empty string`);if(!o(e))throw Error(`Invalid type ${e}: must contain only HTTP token code points`);this._type=e}get subtype(){return this._subtype}set subtype(e){if((e=a(String(e))).length===0)throw Error(`Invalid subtype: must be a non-empty string`);if(!o(e))throw Error(`Invalid subtype ${e}: must contain only HTTP token code points`);this._subtype=e}get parameters(){return this._parameters}toString(){return i(this)}isJavaScript({prohibitParameters:e=!1}={}){switch(this._type){case`text`:switch(this._subtype){case`ecmascript`:case`javascript`:case`javascript1.0`:case`javascript1.1`:case`javascript1.2`:case`javascript1.3`:case`javascript1.4`:case`javascript1.5`:case`jscript`:case`livescript`:case`x-ecmascript`:case`x-javascript`:return!e||this._parameters.size===0;default:return!1}case`application`:switch(this._subtype){case`ecmascript`:case`javascript`:case`x-ecmascript`:case`x-javascript`:return!e||this._parameters.size===0;default:return!1}default:return!1}}isXML(){return this._subtype===`xml`&&(this._type===`text`||this._type===`application`)||this._subtype.endsWith(`+xml`)}isHTML(){return this._subtype===`html`&&this._type===`text`}constructor(e){e=String(e);let t=r(e);if(t===null)throw Error(`Could not parse MIME type string "${e}"`);this._type=t.type,this._subtype=t.subtype,this._parameters=new n(t.parameters)}}}}),ie=F(I()),V={Uint8:1,Uint16:2,Uint32:4,BigUint64:8,Int8:1,Int16:2,Int32:4,BigInt64:8,Float32:4,Float64:8},ae=class{getOffset(){return this.offset}ensureBufferLength(e){let t=this.buffer.byteLength;if(!(this.offset+e<=t))throw Error(`Reading out of bounds`)}readUint8(){let e=V.Uint8;this.ensureBufferLength(e);let t=this.view.getUint8(this.offset);return this.offset+=e,t}readUint16(){let e=V.Uint16;this.ensureBufferLength(e);let t=this.view.getUint16(this.offset);return this.offset+=e,t}readUint32(){let e=V.Uint32;this.ensureBufferLength(e);let t=this.view.getUint32(this.offset);return this.offset+=e,t}readUint64(){let e=this.readBigUint64();return Number(e)}readBigUint64(){let e=V.BigUint64;this.ensureBufferLength(e);let t=this.view.getBigUint64(this.offset);return this.offset+=e,t}readInt8(){let e=V.Int8;this.ensureBufferLength(e);let t=this.view.getInt8(this.offset);return this.offset+=e,t}readInt16(){let e=V.Int16;this.ensureBufferLength(e);let t=this.view.getInt16(this.offset);return this.offset+=e,t}readInt32(){let e=V.Int32;this.ensureBufferLength(e);let t=this.view.getInt32(this.offset);return this.offset+=e,t}readInt64(){let e=this.readBigInt64();return Number(e)}readBigInt64(){let e=V.BigInt64;this.ensureBufferLength(e);let t=this.view.getBigInt64(this.offset);return this.offset+=e,t}readFloat32(){let e=V.Float32;this.ensureBufferLength(e);let t=this.view.getFloat32(this.offset);return this.offset+=e,t}readFloat64(){let e=V.Float64;this.ensureBufferLength(e);let t=this.view.getFloat64(this.offset);return this.offset+=e,t}readBuffer(e){let t=this.offset,n=t+e,r=this.buffer.slice(t,n);return this.offset=n,r}readString(){let e=this.readUint32(),t=this.readBuffer(e);return this.decoder.decode(t)}readJson(){let e=this.readString();return JSON.parse(e)}constructor(e){this.buffer=e,this.offset=0,this.view=new DataView(this.buffer),this.decoder=new TextDecoder}},H=Uint8Array,U=Uint16Array,oe=Int32Array,se=new H([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0,0]),ce=new H([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,0,0]),le=new H([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),ue=function(e,t){for(var n=new U(31),r=0;r<31;++r)n[r]=t+=1<>1|(21845&E)<<1))>>2|(13107&T)<<2))>>4|(3855&T)<<4,_e[E]=((65280&T)>>8|(255&T)<<8)>>1;for(W=function(e,t,n){for(var r,i=e.length,a=0,o=new U(t);a>c]=l}else for(a=0,r=new U(i);a>15-e[a]);return r},G=new H(288),E=0;E<144;++E)G[E]=8;for(E=144;E<256;++E)G[E]=9;for(E=256;E<280;++E)G[E]=7;for(E=280;E<288;++E)G[E]=8;for(ve=new H(32),E=0;E<32;++E)ve[E]=5;ye=W(G,9,0),be=W(G,9,1),xe=W(ve,5,0),Se=W(ve,5,1),Ce=function(e){for(var t=e[0],n=1;nt&&(t=e[n]);return t},K=function(e,t,n){var r=t/8|0;return(e[r]|e[r+1]<<8)>>(7&t)&n},we=function(e,t){var n=t/8|0;return(e[n]|e[n+1]<<8|e[n+2]<<16)>>(7&t)},Te=function(e){return(e+7)/8|0},Ee=function(e,t,n){return(t==null||t<0)&&(t=0),(n==null||n>e.length)&&(n=e.length),new H(e.subarray(t,n))},De=[`unexpected EOF`,`invalid block type`,`invalid length/literal`,`invalid distance`,`stream finished`,`no stream handler`,,`no callback`,`invalid UTF-8 data`,`extra field too long`,`date not in range 1980-2099`,`filename too long`,`stream finishing`,`invalid zip data`],q=function(e,t,n){var r=Error(t||De[e]);if(r.code=e,Error.captureStackTrace&&Error.captureStackTrace(r,q),!n)throw r;return r},Oe=function(e,t,n,r){var i=e.length,a=r?r.length:0;if(!i||t.f&&!t.l)return n||new H(0);var o=!n,s=o||t.i!=2,c=t.i;o&&(n=new H(3*i));var l=function(e){var t=n.length;if(e>t){var r=new H(Math.max(2*t,e));r.set(n),n=r}},u=t.f||0,d=t.p||0,f=t.b||0,p=t.l,m=t.d,h=t.m,g=t.n,ee=8*i;do{if(!p){u=K(e,d,1);var _=K(e,d+1,3);if(d+=3,_)if(_==1)p=be,m=Se,h=9,g=5;else if(_==2){var v=K(e,d,31)+257,y=K(e,d+10,15)+4,b=v+K(e,d+5,31)+1;d+=14;for(var x=new H(b),S=new H(19),C=0;C>4;if(O<16)x[C++]=O;else{var k=0,A=0;for(O==16?(A=3+K(e,d,3),d+=2,k=x[C-1]):O==17?(A=3+K(e,d,7),d+=3):O==18&&(A=11+K(e,d,127),d+=7);A--;)x[C++]=k}}var j=x.subarray(0,v),M=x.subarray(v);h=Ce(j),g=Ce(M),p=W(j,h,1),m=W(M,g,1)}else q(1);else{var O=Te(d)+4,N=e[O-4]|e[O-3]<<8,P=O+N;if(P>i){c&&q(0);break}s&&l(f+N),n.set(e.subarray(O,P),f),t.b=f+=N,t.p=d=8*P,t.f=u;continue}if(d>ee){c&&q(0);break}}s&&l(f+131072);for(var te=(1<>4;if((d+=15&k)>ee){c&&q(0);break}if(k||q(2),L<256)n[f++]=L;else if(L==256){I=d,p=null;break}else{var R=L-254;if(L>264){var C=L-257,z=se[C];R=K(e,d,(1<>4;B||q(3),d+=15&B;var M=he[ne];if(ne>3){var z=ce[ne];M+=we(e,d)&(1<ee){c&&q(0);break}s&&l(f+131072);var re=f+R;if(f>8},ke=function(e,t,n){n<<=7&t;var r=t/8|0;e[r]|=n,e[r+1]|=n>>8,e[r+2]|=n>>16},Ae=function(e,t){for(var n=[],r=0;rf&&(f=a[r].s);var p=new U(f+1),m=je(n[u-1],p,0);if(m>t){var r=0,h=0,g=m-t,ee=1<t)h+=ee-(1<>=g;h>0;){var v=a[r].s;p[v]=0&&h;--r){var y=a[r].s;p[y]==t&&(--p[y],++h)}m=t}return{t:new H(p),l:m}},je=function(e,t,n){return e.s==-1?Math.max(je(e.l,t,n+1),je(e.r,t,n+1)):t[e.s]=n},Me=function(e){for(var t=e.length;t&&!e[--t];);for(var n=new U(++t),r=0,i=e[0],a=1,o=function(e){n[r++]=e},s=1;s<=t;++s)if(e[s]==i&&s!=t)++a;else{if(!i&&a>2){for(;a>138;a-=138)o(32754);a>2&&(o(a>10?a-11<<5|28690:a-3<<5|12305),a=0)}else if(a>3){for(o(i),--a;a>6;a-=6)o(8304);a>2&&(o(a-3<<5|8208),a=0)}for(;a--;)o(i);a=1,i=e[s]}return{c:n.subarray(0,r),n:t}},Ne=function(e,t){for(var n=0,r=0;r>8,e[i+2]=255^e[i],e[i+3]=255^e[i+1];for(var a=0;a4&&!k[le[j-1]];--j);var M=l+5<<3,N=Ne(i,G)+Ne(a,ve)+o,P=Ne(i,g)+Ne(a,v)+o+14+3*j+Ne(E,k)+2*E[16]+3*E[17]+7*E[18];if(c>=0&&M<=N&&M<=P)return Pe(t,u,e.subarray(c,c+l));if(J(t,u,1+(P15&&(J(t,u,L[D]>>5&127),u+=L[D]>>12)}}else d=ye,f=G,p=xe,m=ve;for(var D=0;D255){var R=z>>18&31;ke(t,u,d[R+257]),u+=f[R+257],R>7&&(J(t,u,z>>23&31),u+=se[R]);var B=31&z;ke(t,u,p[B]),u+=m[B],B>3&&(ke(t,u,z>>5&8191),u+=ce[B])}else ke(t,u,d[z]),u+=f[z]}return ke(t,u,d[256]),u+f[256]},Ie=new oe([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),Le=new H(0),Re=function(e,t,n,r,i,a){var o=a.z||e.length,s=new H(r+o+5*(1+Math.ceil(o/7e3))+i),c=s.subarray(r,s.length-i),l=a.l,u=7&(a.r||0);if(t){u&&(c[0]=a.r>>3);for(var d=Ie[t-1],f=d>>13,p=8191&d,m=(1<7e3||T>24576)&&(j>423||!l)){u=Fe(e,c,0,y,b,x,C,T,D,w-D,u),T=S=C=0,D=w;for(var M=0;M<286;++M)b[M]=0;for(var M=0;M<30;++M)x[M]=0}var N=2,P=0,te=p,F=k-A&32767;if(j>2&&O==v(w-F))for(var I=Math.min(f,j)-1,L=Math.min(32767,w),R=Math.min(258,j);F<=L&&--te&&k!=A;){if(e[w+N]==e[w+N-F]){for(var z=0;zN){if(N=z,P=F,z>I)break;for(var B=Math.min(F,z-2),ne=0,M=0;Mne&&(ne=V,A=re)}}}A=h[k=A],F+=k-A&32767}if(P){y[T++]=268435456|pe[N]<<18|ge[P];var ae=31&pe[N],le=31&ge[P];C+=se[ae]+ce[le],++b[257+ae],++x[le],E=w+N,++S}else y[T++]=e[w],++b[e[w]]}}for(w=Math.max(w,E);w=o&&(c[u/8|0]=l,ue=o),u=Pe(c,u+1,e.subarray(w,ue))}a.i=o}return Ee(s,0,r+Te(u)+i)},ze=function(e,t,n,r,i){if(!i&&(i={l:1},t.dictionary)){var a=t.dictionary.subarray(-32768),o=new H(a.length+e.length);o.set(a),o.set(e,a.length),e=o,i.w=a.length}return Re(e,t.level==null?6:t.level,t.mem==null?i.l?Math.ceil(1.5*Math.max(8,Math.min(13,Math.log(e.length)))):20:12+t.mem,n,r,i)},Be=typeof TextDecoder<`u`&&new TextDecoder;try{Be.decode(Le,{stream:!0})}catch{}Ve=F(L()),He=1024,Ue=1.5,We=e=>2**e-1,Ge=e=>-(2**(e-1)),Ke=e=>2**(e-1)-1,Y={Uint8:0,Uint16:0,Uint32:0,Uint64:0,BigUint64:0,Int8:Ge(8),Int16:Ge(16),Int32:Ge(32),Int64:-(2**53-1),BigInt64:-(BigInt(2)**BigInt(63))},X={Uint8:We(8),Uint16:We(16),Uint32:We(32),Uint64:2**53-1,BigUint64:BigInt(2)**BigInt(64)-BigInt(1),Int8:Ke(8),Int16:Ke(16),Int32:Ke(32),Int64:2**53-1,BigInt64:BigInt(2)**BigInt(63)-BigInt(1)},qe=class{getOffset(){return this.offset}slice(e=0,t=this.offset){return this.buffer.slice(e,t)}subarray(e=0,t=this.offset){return new Uint8Array(this.buffer,e,t)}ensureBufferLength(e){let t=this.buffer.byteLength;if(this.offset+e<=t)return;let n=new ArrayBuffer(Math.ceil(t*Ue)+e);p(this.buffer,n,0),this.buffer=n,this.view=new DataView(n)}writeUint8(e){f(e,Y.Uint8,X.Uint8,`Uint8`);let t=V.Uint8;this.ensureBufferLength(t),this.view.setUint8(this.offset,e),this.offset+=t}writeUint16(e){f(e,Y.Uint16,X.Uint16,`Uint16`);let t=V.Uint16;this.ensureBufferLength(t),this.view.setUint16(this.offset,e),this.offset+=t}writeUint32(e){f(e,Y.Uint32,X.Uint32,`Uint32`);let t=V.Uint32;this.ensureBufferLength(t),this.view.setUint32(this.offset,e),this.offset+=t}writeUint64(e){f(e,Y.Uint64,X.Uint64,`Uint64`);let t=BigInt(e);this.writeBigUint64(t)}writeBigUint64(e){f(e,Y.BigUint64,X.BigUint64,`BigUint64`);let t=V.BigUint64;this.ensureBufferLength(t),this.view.setBigUint64(this.offset,e),this.offset+=t}writeInt8(e){f(e,Y.Int8,X.Int8,`Int8`);let t=V.Int8;this.ensureBufferLength(t),this.view.setInt8(this.offset,e),this.offset+=t}writeInt16(e){f(e,Y.Int16,X.Int16,`Int16`);let t=V.Int16;this.ensureBufferLength(t),this.view.setInt16(this.offset,e),this.offset+=t}writeInt32(e){f(e,Y.Int32,X.Int32,`Int32`);let t=V.Int32;this.ensureBufferLength(t),this.view.setInt32(this.offset,e),this.offset+=t}writeInt64(e){f(e,Y.Int64,X.Int64,`Int64`);let t=BigInt(e);this.writeBigInt64(t)}writeBigInt64(e){f(e,Y.BigInt64,X.BigInt64,`BigInt64`);let t=V.BigInt64;this.ensureBufferLength(t),this.view.setBigInt64(this.offset,e),this.offset+=t}writeFloat32(e){let t=V.Float32;this.ensureBufferLength(t),this.view.setFloat32(this.offset,e),this.offset+=t}writeFloat64(e){let t=V.Float64;this.ensureBufferLength(t),this.view.setFloat64(this.offset,e),this.offset+=t}writeBuffer(e){let t=e.byteLength;this.ensureBufferLength(t),p(e,this.buffer,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.byteLength;this.writeUint32(n),this.writeBuffer(t)}writeJson(e){let t=JSON.stringify(e);this.writeString(t)}constructor(){this.offset=0,this.buffer=new ArrayBuffer(He),this.view=new DataView(this.buffer),this.encoder=new TextEncoder,this.encodedStrings=new Map}},Z=class{static fromString(e){let[t,n,r]=e.split(`/`).map(Number);return a(s(t),`Invalid chunkId`),a(s(n),`Invalid offset`),a(s(r),`Invalid length`),new Z(t,n,r)}toString(){return`${this.chunkId}/${this.offset}/${this.length}`}static read(e){let t=e.readUint16(),n=e.readUint32(),r=e.readUint32();return new Z(t,n,r)}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:(a(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 Je.read(e);case 2:return Ye.read(e);case 3:return Xe.read(e);case 4:return Ze.read(e);case 5:return Qe.read(e);case 6:return $e.read(e);case 7:return et.read(e);case 8:return tt.read(e);case 9:return nt.read(e);case 10:return rt.read(e);case 11:return it.read(e);case 12:return at.read(e);default:o(t)}},e.write=function(e,n){let r=m(n);if(e.writeUint8(r),!l(n))switch(n.type){case t.Array:return Je.write(e,n);case t.Boolean:return Ye.write(e,n);case t.Color:return Xe.write(e,n);case t.Date:return Ze.write(e,n);case t.Enum:return Qe.write(e,n);case t.File:return $e.write(e,n);case t.Link:return et.write(e,n);case t.Number:return tt.write(e,n);case t.Object:return nt.write(e,n);case t.ResponsiveImage:return rt.write(e,n);case t.RichText:return it.write(e,n);case t.String:return at.write(e,n);default:o(n)}},e.compare=function(e,n,r){let i=m(e),s=m(n);if(is)return 1;if(l(e)||l(n))return 0;switch(e.type){case t.Array:return a(n.type===t.Array),Je.compare(e,n,r);case t.Boolean:return a(n.type===t.Boolean),Ye.compare(e,n,r);case t.Color:return a(n.type===t.Color),Xe.compare(e,n,r);case t.Date:return a(n.type===t.Date),Ze.compare(e,n,r);case t.Enum:return a(n.type===t.Enum),Qe.compare(e,n,r);case t.File:return a(n.type===t.File),$e.compare(e,n,r);case t.Link:return a(n.type===t.Link),et.compare(e,n,r);case t.Number:return a(n.type===t.Number),tt.compare(e,n,r);case t.Object:return a(n.type===t.Object),nt.compare(e,n,r);case t.ResponsiveImage:return a(n.type===t.ResponsiveImage),rt.compare(e,n,r);case t.RichText:return a(n.type===t.RichText),it.compare(e,n,r);case t.String:return a(n.type===t.String),at.compare(e,n,r);default:o(e)}}})(D||={}),Je={read(e){let n=e.readUint16(),r=[];for(let t=0;ti)return 1;for(let i=0;i({type:t.Boolean,value:e.readUint8()!==0}),write(e,t){e.writeUint8(t.value?1:0)},compare:(e,t)=>e.valuet.value?1:0},Xe={read:e=>({type:t.Color,value:e.readString()}),write(e,t){e.writeString(t.value)},compare:(e,t)=>e.valuet.value?1:0},Ze={read(e){let n=e.readInt64(),r=new Date(n);return{type:t.Date,value:r.toISOString()}},write(e,t){let n=new Date(t.value),r=n.getTime();e.writeInt64(r)},compare(e,t){let n=new Date(e.value),r=new Date(t.value);return nr?1:0}},Qe={read:e=>({type:t.Enum,value:e.readString()}),write(e,t){e.writeString(t.value)},compare:(e,t)=>e.valuet.value?1:0},$e={read:e=>({type:t.File,value:e.readString()}),write(e,t){e.writeString(t.value)},compare:(e,t)=>e.valuet.value?1:0},et={read:e=>({type:t.Link,value:e.readJson()}),write(e,t){e.writeJson(t.value)},compare(e,t){let n=JSON.stringify(e.value),r=JSON.stringify(t.value);return nr?1:0}},tt={read:e=>({type:t.Number,value:e.readFloat64()}),write(e,t){e.writeFloat64(t.value)},compare:(e,t)=>e.valuet.value?1:0},nt={read(e){let n=e.readUint16(),r={};for(let t=0;ti.length)return 1;for(let o=0;ol)return 1;let u=e.value[s],d=t.value[l];a(!c(u),`Left value must exist`),a(!c(d),`Right value must exist`);let f=D.compare(u,d,n);if(f!==0)return f}return 0}},rt={read:e=>({type:t.ResponsiveImage,value:e.readJson()}),write(e,t){e.writeJson(t.value)},compare(e,t){let n=JSON.stringify(e.value),r=JSON.stringify(t.value);return nr?1:0}},it={read:e=>({type:t.RichText,value:e.readUint32()}),write(e,t){e.writeUint32(t.value)},compare(e,t){let n=e.value,r=t.value;return nr?1:0}},at={read:e=>({type:t.String,value:e.readString()}),write(e,t){e.writeString(t.value)},compare(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}},ot=class{static deserialize(e){let t=d(e),n=new ae(t.buffer),r=n.readJson(),i=n.readUint8(),a=[];for(let e=0;ee.getField(t)??null);this.entries.insert({values:n,pointer:t})}constructor(e,t){this.fieldNames=e,this.options=t,this.entries=new Ve.default((e,t)=>{let n=e.values,r=t.values;for(let e=0;e{let n=0;for(;;){try{let r=await fetch(e,t);if(!ut.includes(r.status)||++n>ct)return r}catch(e){if(t?.signal?.aborted||++n>ct)throw e}await g(n)}},ft=`\r `,pt=`--`,mt=new TextEncoder,ht=new TextDecoder,gt=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,o=this.chunks.length;for(;ie.end)){if(n>e.start){let r=n-e.start,i=e.data.subarray(0,r);t=C(i,t),n=e.start}break}}for(;o>i;o--){let e=this.chunks[o-1];if(a(e,`Missing chunk`),!(r{if(!e.ok)throw Error(`Request failed: ${e.status} ${e.statusText}`);let n=await e.arrayBuffer(),r=new ae(n),i=[],a=r.readUint32();for(let e=0;e{if(!e.ok)throw Error(`Compression dictionary request failed: ${e.status} ${e.statusText}`);let t=await e.arrayBuffer();return new Uint8Array(t)});return this.compressionDictionaryCache.set(this.compressionDictionaryUrl,t),t}constructor(e,t,n,r){this.id=e,this.url=t,this.compressionDictionaryUrl=n,this.compressionDictionaryCache=r,this.itemLoader=new ie.default(async e=>{let t=e.map(e=>{let t=Z.fromString(e);return{from:t.offset,to:t.offset+t.length}}),[n,r]=await Promise.all([ee(this.url,t),this.getCompressionDictionary()]);return n.map((t,n)=>{let i=new ae(t.buffer),o=_t.read(i,r),s=e[n];return a(s,`Missing pointer`),{pointer:s,data:o.getData()}})})}},yt=class{async scanItems(){return(await Promise.all(this.chunks.map(async e=>e.scanItems()))).flat()}async resolveItems(e){return Promise.all(e.map(e=>{let t=Z.fromString(e),n=this.chunks[t.chunkId];return a(n,`Missing chunk`),n.resolveItem(e)}))}compareItems(e,t){let n=Z.fromString(e.pointer),r=Z.fromString(t.pointer);return n.compare(r)}compareValues(e,t,n){return D.compare(e,t,n)}constructor(e){this.options=e,this.schema=this.options.schema,this.indexes=this.options.indexes,this.resolveRichText=this.options.resolveRichText;let t=new Map;this.chunks=this.options.chunks.map((e,n)=>new vt(n,e,this.options.compressionDictionary,t))}}}));async function xt(e){let t=Ct[e];if(t)return await t()}var Q,$,St,Ct,wt=e((()=>{Q=(e,t)=>async()=>(await e())[t],$=()=>import(`./CWvRL2Z7h-2.Dnr9HWZI.mjs`),St=()=>import(`./CWvRL2Z7h-3.BgjFaSRJ.mjs`),Ct=[Q($,`richText`),Q($,`richText1`),Q($,`richText2`),Q($,`richText3`),Q($,`richText4`),Q($,`richText5`),Q($,`richText6`),Q($,`richText7`),Q($,`richText8`),Q(St,`richText`),Q(St,`richText1`),Q(St,`richText2`),Q(St,`richText3`),Q(St,`richText4`),Q(St,`richText5`),Q(St,`richText6`),Q(St,`richText7`)]})),Tt,Et,Dt,Ot,kt,At,jt,Mt=e((()=>{i(),bt(),wt(),Tt={eUzNnyo0r:{isNullable:!0,type:t.RichText},id:{isNullable:!1,type:t.String},Lx_TFXkL0:{isNullable:!0,type:t.String},nextItemId:{isNullable:!0,type:t.String},previousItemId:{isNullable:!0,type:t.String},wR752i2OM:{isNullable:!0,type:t.String},X3LNSX4KS:{isNullable:!0,type:t.String},zgMbIQQN4:{isNullable:!0,type:t.Date},ZVhKDtWyE:{isNullable:!0,type:t.ResponsiveImage}},Et=new n,Dt={collectionByLocaleId:{default:new yt({chunks:[new URL(`./CWvRL2Z7h-chunk-default-0.framercms`,`https://framerusercontent.com/modules/Xhnoj2dnna2KT8lK5Yce/sRyfpB55NsaXwwCQfHJX/CWvRL2Z7h.js`).href],compressionDictionary:new URL(`./CWvRL2Z7h-chunk-default-dict.framercms`,`https://framerusercontent.com/modules/Xhnoj2dnna2KT8lK5Yce/sRyfpB55NsaXwwCQfHJX/CWvRL2Z7h.js`).href,indexes:[],resolveRichText:xt,schema:Tt})},displayName:`Blogs`},Ot=Dt,r(Dt,{Lx_TFXkL0:{defaultValue:``,title:`Title`,type:t.String},wR752i2OM:{title:`Slug`,type:t.String},zgMbIQQN4:{defaultValue:``,title:`Date`,type:t.Date},ZVhKDtWyE:{title:`Image`,type:t.ResponsiveImage},X3LNSX4KS:{defaultValue:``,title:`Category`,type:t.String},eUzNnyo0r:{defaultValue:``,title:`Content`,type:t.RichText},previousItemId:{dataIdentifier:`local-module:collection/CWvRL2Z7h:default`,title:`Previous`,type:t.CollectionReference},nextItemId:{dataIdentifier:`local-module:collection/CWvRL2Z7h:default`,title:`Next`,type:t.CollectionReference}}),kt={},At={async getSlugByRecordId(e,t){let[n]=await Et.query({from:{data:Dt,type:`Collection`},limit:{type:`LiteralValue`,value:1},select:[{name:`wR752i2OM`,type:`Identifier`}],where:{left:{name:`id`,type:`Identifier`},operator:`==`,right:{type:`LiteralValue`,value:e},type:`BinaryOperation`}},t);return n?.wR752i2OM},async getRecordIdBySlug(e,t){let[n]=await Et.query({from:{data:Dt,type:`Collection`},limit:{type:`LiteralValue`,value:1},select:[{name:`id`,type:`Identifier`}],where:{left:{name:`wR752i2OM`,type:`Identifier`},operator:`==`,right:{type:`LiteralValue`,value:e},type:`BinaryOperation`}},t);return n?.id}},jt={exports:{utils:{type:`variable`,annotations:{framerContractVersion:`1`}},enumToDisplayNameFunctions:{type:`variable`,annotations:{framerContractVersion:`1`}},default:{type:`data`,name:`data`,annotations:{framerRecordIdKey:`id`,framerEnumToDisplayNameUtils:`2`,framerContractVersion:`1`,framerCollectionId:`CWvRL2Z7h`,framerSlug:`wR752i2OM`,framerCollectionUtils:`1`,framerData:``}},__FramerMetadata__:{type:`variable`}}}}));export{Ot as CWvRL2Z7h_default,jt as __FramerMetadata__,kt as enumToDisplayNameFunctions,Mt as init_CWvRL2Z7h,At as utils}; //# sourceMappingURL=CWvRL2Z7h.DNqUS4ci.mjs.map