import{E as c,H as $e,ma as Ke}from"./chunk-MKR4LDTT.mjs";var le,x,A,Et=Object.create,ct=Object.defineProperty,Ot=Object.getOwnPropertyDescriptor,ht=Object.getOwnPropertyNames,Rt=Object.getPrototypeOf,Lt=Object.prototype.hasOwnProperty,fe=(e,t)=>function(){return t||(0,e[ht(e)[0]])((t={exports:{}}).exports,t),t.exports},Pt=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of ht(t))Lt.call(e,a)||a===r||ct(e,a,{get:()=>t[a],enumerable:!(n=Ot(t,a))||n.enumerable});return e},ft=(e,t,r)=>(r=e!=null?Et(Rt(e)):{},Pt(!t&&e&&e.__esModule?r:ct(r,"default",{value:e,enumerable:!0}),e)),Dt=fe({"../../../node_modules/dataloader/index.js"(e,t){var r,n=function(){function l(s,h){if(typeof s!="function")throw TypeError("DataLoader must be constructed with a function which accepts Array and returns Promise>, but got: "+s+".");this._batchLoadFn=s,this._maxBatchSize=function(d){if(!(!d||d.batch!==!1))return 1;var m=d&&d.maxBatchSize;if(m===void 0)return 1/0;if(typeof m!="number"||m<1)throw TypeError("maxBatchSize must be a positive number: "+m);return m}(h),this._batchScheduleFn=function(d){var m=d&&d.batchScheduleFn;if(m===void 0)return a;if(typeof m!="function")throw TypeError("batchScheduleFn must be a function: "+m);return m}(h),this._cacheKeyFn=function(d){var m=d&&d.cacheKeyFn;if(m===void 0)return function(y){return y};if(typeof m!="function")throw TypeError("cacheKeyFn must be a function: "+m);return m}(h),this._cacheMap=function(d){if(!(!d||d.cache!==!1))return null;var m=d&&d.cacheMap;if(m===void 0)return new Map;if(m!==null){var y=["get","set","delete","clear"].filter(function(w){return m&&typeof m[w]!="function"});if(y.length!==0)throw TypeError("Custom cacheMap missing methods: "+y.join(", "))}return m}(h),this._batch=null,this.name=h&&h.name?h.name:null}var f=l.prototype;return f.load=function(s){if(s==null)throw TypeError("The loader.load() function must be called with a value, but got: "+String(s)+".");var h=function(S){var R=S._batch;if(R!==null&&!R.hasDispatched&&R.keys.length and returns Promise>, but the function errored synchronously: "+String(E)+"."))}if(!U||typeof U.then!="function")return i(N,T,TypeError("DataLoader must be constructed with a function which accepts Array and returns Promise>, but the function did not return a Promise: "+String(U)+"."));U.then(function(E){if(!u(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 I=0;I but got: "+s+".");for(var h=[],d=0;d0&&Object.prototype.hasOwnProperty.call(l,l.length-1))}t.exports=n}}),Se=fe({"../../../node_modules/whatwg-mimetype/lib/utils.js"(e){e.removeLeadingAndTrailingHTTPWhitespace=t=>t.replace(/^[ \t\n\r]+/u,"").replace(/[ \t\n\r]+$/u,""),e.removeTrailingHTTPWhitespace=t=>t.replace(/[ \t\n\r]+$/u,""),e.isHTTPWhitespaceChar=t=>t===" "||t===" "||t===` `||t==="\r",e.solelyContainsHTTPTokenCodePoints=t=>/^[-!#$%&'*+.^_`|~A-Za-z0-9]*$/u.test(t),e.soleyContainsHTTPQuotedStringTokenCodePoints=t=>/^[\t\u0020-\u007E\u0080-\u00FF]*$/u.test(t),e.asciiLowercase=t=>t.replace(/[A-Z]/ug,r=>r.toLowerCase()),e.collectAnHTTPQuotedString=(t,r)=>{let n="";for(r++;;){for(;r=t.length)break;let a=t[r];if(++r,a==="\\"){if(r>=t.length){n+="\\";break}n+=t[r],++r}else break}return[n,r]}}}),Nt=fe({"../../../node_modules/whatwg-mimetype/lib/mime-type-parameters.js"(e,t){var{asciiLowercase:r,solelyContainsHTTPTokenCodePoints:n,soleyContainsHTTPQuotedStringTokenCodePoints:a}=Se();t.exports=class{get size(){return this._map.size}get(i){return i=r(String(i)),this._map.get(i)}has(i){return i=r(String(i)),this._map.has(i)}set(i,o){if(i=r(String(i)),o=String(o),!n(i))throw Error(`Invalid MIME type parameter name "${i}": only HTTP token code points are valid.`);if(!a(o))throw Error(`Invalid MIME type parameter value "${o}": only HTTP quoted-string token code points are valid.`);return this._map.set(i,o)}clear(){this._map.clear()}delete(i){return i=r(String(i)),this._map.delete(i)}forEach(i,o){this._map.forEach(i,o)}keys(){return this._map.keys()}values(){return this._map.values()}entries(){return this._map.entries()}[Symbol.iterator](){return this._map[Symbol.iterator]()}constructor(i){this._map=i}}}}),jt=fe({"../../../node_modules/whatwg-mimetype/lib/parser.js"(e,t){var{removeLeadingAndTrailingHTTPWhitespace:r,removeTrailingHTTPWhitespace:n,isHTTPWhitespaceChar:a,solelyContainsHTTPTokenCodePoints:i,soleyContainsHTTPQuotedStringTokenCodePoints:o,asciiLowercase:u,collectAnHTTPQuotedString:l}=Se();t.exports=f=>{f=r(f);let s=0,h="";for(;s=f.length)return null;++s;let d="";for(;s0&&i(y)&&o(w)&&!m.parameters.has(y)&&m.parameters.set(y,w)}return m}}}),Vt=fe({"../../../node_modules/whatwg-mimetype/lib/serializer.js"(e,t){var{solelyContainsHTTPTokenCodePoints:r}=Se();t.exports=n=>{let a=`${n.type}/${n.subtype}`;if(n.parameters.size===0)return a;for(let[i,o]of n.parameters)a+=";"+i+"=",r(o)&&o.length!==0||(o=o.replace(/(["\\])/ug,"\\$1"),o=`"${o}"`),a+=o;return a}}}),Mt=fe({"../../../node_modules/whatwg-mimetype/lib/mime-type.js"(e,t){var r=Nt(),n=jt(),a=Vt(),{asciiLowercase:i,solelyContainsHTTPTokenCodePoints:o}=Se();t.exports=class{static parse(u){try{return new this(u)}catch{return null}}get essence(){return`${this.type}/${this.subtype}`}get type(){return this._type}set type(u){if((u=i(String(u))).length===0)throw Error("Invalid type: must be a non-empty string");if(!o(u))throw Error(`Invalid type ${u}: must contain only HTTP token code points`);this._type=u}get subtype(){return this._subtype}set subtype(u){if((u=i(String(u))).length===0)throw Error("Invalid subtype: must be a non-empty string");if(!o(u))throw Error(`Invalid subtype ${u}: must contain only HTTP token code points`);this._subtype=u}get parameters(){return this._parameters}toString(){return a(this)}isJavaScript({prohibitParameters:u=!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!u||this._parameters.size===0;default:return!1}case"application":switch(this._subtype){case"ecmascript":case"javascript":case"x-ecmascript":case"x-javascript":return!u||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(u){u=String(u);let l=n(u);if(l===null)throw Error(`Could not parse MIME type string "${u}"`);this._type=l.type,this._subtype=l.subtype,this._parameters=new r(l.parameters)}}}}),_t=ft(Dt()),j={Uint8:1,Uint16:2,Uint32:4,BigUint64:8,Int8:1,Int16:2,Int32:4,BigInt64:8,Float32:4,Float64:8},ke=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=j.Uint8;this.ensureLength(e);let t=this.view.getUint8(this.offset);return this.offset+=e,t}readUint16(){let e=j.Uint16;this.ensureLength(e);let t=this.view.getUint16(this.offset);return this.offset+=e,t}readUint32(){let e=j.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=j.BigUint64;this.ensureLength(e);let t=this.view.getBigUint64(this.offset);return this.offset+=e,t}readInt8(){let e=j.Int8;this.ensureLength(e);let t=this.view.getInt8(this.offset);return this.offset+=e,t}readInt16(){let e=j.Int16;this.ensureLength(e);let t=this.view.getInt16(this.offset);return this.offset+=e,t}readInt32(){let e=j.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=j.BigInt64;this.ensureLength(e);let t=this.view.getBigInt64(this.offset);return this.offset+=e,t}readFloat32(){let e=j.Float32;this.ensureLength(e);let t=this.view.getFloat32(this.offset);return this.offset+=e,t}readFloat64(){let e=j.Float64;this.ensureLength(e);let t=this.view.getFloat64(this.offset);return this.offset+=e,t}readBytes(e){let t=this.offset,r=t+e,n=this.bytes.subarray(t,r);return this.offset=r,n}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,this.offset=0,this.view=qe(this.bytes),this.decoder=new TextDecoder}};function qe(e){return new DataView(e.buffer,e.byteOffset,e.byteLength)}function C(e,...t){if(!e)throw Error("Assertion Error"+(t.length>0?": "+t.join(" "):""))}function Te(e){throw Error(`Unexpected value: ${e}`)}var _=Uint8Array,H=Uint16Array,Ze=Int32Array,Ee=new _([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]),Oe=new _([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]),Fe=new _([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),dt=function(e,t){for(var r=new H(31),n=0;n<31;++n)r[n]=t+=1<>1|(21845&x)<<1))>>2|(13107&le)<<2))>>4|(3855&le)<<4,Xe[x]=((65280&le)>>8|(255&le)<<8)>>1;var re=function(e,t,r){for(var n,a=e.length,i=0,o=new H(t);i>l]=f}else for(i=0,n=new H(a);i>15-e[i]);return n},oe=new _(288);for(x=0;x<144;++x)oe[x]=8;for(x=144;x<256;++x)oe[x]=9;for(x=256;x<280;++x)oe[x]=7;for(x=280;x<288;++x)oe[x]=8;var be=new _(32);for(x=0;x<32;++x)be[x]=5;var Wt=re(oe,9,0),qt=re(oe,9,1),Ft=re(be,5,0),zt=re(be,5,1),Pe=function(e){for(var t=e[0],r=1;rt&&(t=e[r]);return t},$=function(e,t,r){var n=t/8|0;return(e[n]|e[n+1]<<8)>>(7&t)&r},De=function(e,t){var r=t/8|0;return(e[r]|e[r+1]<<8|e[r+2]<<16)>>(7&t)},Ye=function(e){return(e+7)/8|0},yt=function(e,t,r){return(t==null||t<0)&&(t=0),(r==null||r>e.length)&&(r=e.length),new _(e.subarray(t,r))},Xt=["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"],ae=function(e,t,r){var n=Error(t||Xt[e]);if(n.code=e,Error.captureStackTrace&&Error.captureStackTrace(n,ae),!r)throw n;return n},Gt=function(e,t,r,n){var a=e.length,i=n?n.length:0;if(!a||t.f&&!t.l)return r||new _(0);var o=!r,u=o||t.i!=2,l=t.i;o&&(r=new _(3*a));var f=function(me){var pe=r.length;if(me>pe){var he=new _(Math.max(2*pe,me));he.set(r),r=he}},s=t.f||0,h=t.p||0,d=t.b||0,m=t.l,y=t.d,w=t.m,k=t.n,S=8*a;do{if(!m){s=$(e,h,1);var R=$(e,h+1,3);if(h+=3,R)if(R==1)m=qt,y=zt,w=9,k=5;else if(R==2){var D=$(e,h,31)+257,N=$(e,h+10,15)+4,T=D+$(e,h+5,31)+1;h+=14;for(var U=new _(T),E=new _(19),I=0;I>4;if(M<16)U[I++]=M;else{var V=0,z=0;for(M==16?(z=3+$(e,h,3),h+=2,V=U[I-1]):M==17?(z=3+$(e,h,7),h+=3):M==18&&(z=11+$(e,h,127),h+=7);z--;)U[I++]=V}}var W=U.subarray(0,D),B=U.subarray(D);w=Pe(W),k=Pe(B),m=re(W,w,1),y=re(B,k,1)}else ae(1);else{var M=Ye(h)+4,q=e[M-4]|e[M-3]<<8,J=M+q;if(J>a){l&&ae(0);break}u&&f(d+q),r.set(e.subarray(M,J),d),t.b=d+=q,t.p=h=8*J,t.f=s;continue}if(h>S){l&&ae(0);break}}u&&f(d+131072);for(var de=(1<>4;if((h+=15&V)>S){l&&ae(0);break}if(V||ae(2),X<256)r[d++]=X;else if(X==256){ne=h,m=null;break}else{var G=X-254;if(X>264){var I=X-257,O=Ee[I];G=$(e,h,(1<>4;K||ae(3),h+=15&K;var B=At[ue];if(ue>3){var O=Oe[ue];B+=De(e,h)&(1<S){l&&ae(0);break}u&&f(d+131072);var ce=d+G;if(d>8},ge=function(e,t,r){r<<=7&t;var n=t/8|0;e[n]|=r,e[n+1]|=r>>8,e[n+2]|=r>>16},Ne=function(e,t){for(var r=[],n=0;nd&&(d=i[n].s);var m=new H(d+1),y=Ge(r[s-1],m,0);if(y>t){var n=0,w=0,k=y-t,S=1<t)w+=S-(1<>=k;w>0;){var D=i[n].s;m[D]=0&&w;--n){var N=i[n].s;m[N]==t&&(--m[N],++w)}y=t}return{t:new _(m),l:y}},Ge=function(e,t,r){return e.s==-1?Math.max(Ge(e.l,t,r+1),Ge(e.r,t,r+1)):t[e.s]=r},et=function(e){for(var t=e.length;t&&!e[--t];);for(var r=new H(++t),n=0,a=e[0],i=1,o=function(l){r[n++]=l},u=1;u<=t;++u)if(e[u]==a&&u!=t)++i;else{if(!a&&i>2){for(;i>138;i-=138)o(32754);i>2&&(o(i>10?i-11<<5|28690:i-3<<5|12305),i=0)}else if(i>3){for(o(a),--i;i>6;i-=6)o(8304);i>2&&(o(i-3<<5|8208),i=0)}for(;i--;)o(a);i=1,a=e[u]}return{c:r.subarray(0,n),n:t}},ye=function(e,t){for(var r=0,n=0;n>8,e[a+2]=255^e[a],e[a+3]=255^e[a+1];for(var i=0;i4&&!V[Fe[W-1]];--W);var B=f+5<<3,q=ye(a,oe)+ye(i,be)+o,J=ye(a,k)+ye(i,D)+o+14+3*W+ye(F,V)+2*F[16]+3*F[17]+7*F[18];if(l>=0&&B<=q&&B<=J)return vt(t,s,e.subarray(l,l+f));if(ie(t,s,1+(J15&&(ie(t,s,X[b]>>5&127),s+=X[b]>>12)}}else h=Wt,d=oe,m=Ft,y=be;for(var b=0;b255){var G=O>>18&31;ge(t,s,h[G+257]),s+=d[G+257],G>7&&(ie(t,s,O>>23&31),s+=Ee[G]);var K=31&O;ge(t,s,m[K]),s+=y[K],K>3&&(ge(t,s,O>>5&8191),s+=Oe[K])}else ge(t,s,h[O]),s+=d[O]}return ge(t,s,h[256]),s+d[256]},Ht=new Ze([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),wt=new _(0),Jt=function(e,t,r,n,a,i){var o=i.z||e.length,u=new _(n+o+5*(1+Math.ceil(o/7e3))+a),l=u.subarray(n,u.length-a),f=i.l,s=7&(i.r||0);if(t){s&&(l[0]=i.r>>3);for(var h=Ht[t-1],d=h>>13,m=8191&h,y=(1<7e3||Y>24576)&&(W>423||!f)){s=tt(e,l,0,N,T,U,I,Y,b,v-b,s),Y=E=I=0,b=v;for(var B=0;B<286;++B)T[B]=0;for(var B=0;B<30;++B)U[B]=0}var q=2,J=0,de=m,Z=V-z&32767;if(W>2&&M==D(v-Z))for(var ne=Math.min(d,W)-1,X=Math.min(32767,v),G=Math.min(258,W);Z<=X&&--de&&V!=z;){if(e[v+q]==e[v+q-Z]){for(var O=0;Oq){if(q=O,J=Z,O>ne)break;for(var K=Math.min(Z,O-2),ue=0,B=0;Bue&&(ue=Ue,z=ce)}}}z=w[V=z],Z+=V-z&32767}if(J){N[Y++]=268435456|ze[q]<<18|Qe[J];var me=31&ze[q],pe=31&Qe[J];I+=Ee[me]+Oe[pe],++T[257+me],++U[pe],F=v+q,++E}else N[Y++]=e[v],++T[e[v]]}}for(v=Math.max(v,F);v=o&&(l[s/8|0]=f,he=o),s=vt(l,s+1,e.subarray(v,he))}i.i=o}return yt(u,0,n+Ye(s)+a)},Zt=function(e,t,r,n,a){if(!a&&(a={l:1},t.dictionary)){var i=t.dictionary.subarray(-32768),o=new _(i.length+e.length);o.set(i),o.set(e,i.length),e=o,a.w=i.length}return Jt(e,t.level==null?6:t.level,t.mem==null?a.l?Math.ceil(1.5*Math.max(8,Math.min(13,Math.log(e.length)))):20:12+t.mem,r,n,a)};function Tt(e,t){return Zt(e,t||{},0,0)}function bt(e,t){return Gt(e,{i:2},t&&t.out,t&&t.dictionary)}var Yt=typeof TextDecoder<"u"&&new TextDecoder,$t=0;try{Yt.decode(wt,{stream:!0}),$t=1}catch{}var Kt=1024,Qt=1.5,je=e=>2**e-1,Ve=e=>-(2**(e-1)),Me=e=>2**(e-1)-1,Q={Uint8:0,Uint16:0,Uint32:0,Uint64:0,BigUint64:0,Int8:Ve(8),Int16:Ve(16),Int32:Ve(32),Int64:Number.MIN_SAFE_INTEGER,BigInt64:-(BigInt(2)**BigInt(63))},ee={Uint8:je(8),Uint16:je(16),Uint32:je(32),Uint64:Number.MAX_SAFE_INTEGER,BigUint64:BigInt(2)**BigInt(64)-BigInt(1),Int8:Me(8),Int16:Me(16),Int32:Me(32),Int64:Number.MAX_SAFE_INTEGER,BigInt64:BigInt(2)**BigInt(63)-BigInt(1)};function te(e,t,r,n){C(e>=t,e,"outside lower bound for",n),C(e<=r,e,"outside upper bound for",n)}var Ct=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 r=new Uint8Array(Math.ceil(t*Qt)+e);r.set(this.bytes),this.bytes=r,this.view=qe(r)}writeUint8(e){te(e,Q.Uint8,ee.Uint8,"Uint8");let t=j.Uint8;this.ensureLength(t),this.view.setUint8(this.offset,e),this.offset+=t}writeUint16(e){te(e,Q.Uint16,ee.Uint16,"Uint16");let t=j.Uint16;this.ensureLength(t),this.view.setUint16(this.offset,e),this.offset+=t}writeUint32(e){te(e,Q.Uint32,ee.Uint32,"Uint32");let t=j.Uint32;this.ensureLength(t),this.view.setUint32(this.offset,e),this.offset+=t}writeUint64(e){te(e,Q.Uint64,ee.Uint64,"Uint64");let t=BigInt(e);this.writeBigUint64(t)}writeBigUint64(e){te(e,Q.BigUint64,ee.BigUint64,"BigUint64");let t=j.BigUint64;this.ensureLength(t),this.view.setBigUint64(this.offset,e),this.offset+=t}writeInt8(e){te(e,Q.Int8,ee.Int8,"Int8");let t=j.Int8;this.ensureLength(t),this.view.setInt8(this.offset,e),this.offset+=t}writeInt16(e){te(e,Q.Int16,ee.Int16,"Int16");let t=j.Int16;this.ensureLength(t),this.view.setInt16(this.offset,e),this.offset+=t}writeInt32(e){te(e,Q.Int32,ee.Int32,"Int32");let t=j.Int32;this.ensureLength(t),this.view.setInt32(this.offset,e),this.offset+=t}writeInt64(e){te(e,Q.Int64,ee.Int64,"Int64");let t=BigInt(e);this.writeBigInt64(t)}writeBigInt64(e){te(e,Q.BigInt64,ee.BigInt64,"BigInt64");let t=j.BigInt64;this.ensureLength(t),this.view.setBigInt64(this.offset,e),this.offset+=t}writeFloat32(e){let t=j.Float32;this.ensureLength(t),this.view.setFloat32(this.offset,e),this.offset+=t}writeFloat64(e){let t=j.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 r=this.encoder.encode(e);return this.encodedStrings.set(e,r),r}writeString(e){let t=this.encodeString(e),r=t.length;this.writeUint32(r),this.writeBytes(t)}writeJson(e){let t=JSON.stringify(e);this.writeString(t)}constructor(){this.offset=0,this.bytes=new Uint8Array(Kt),this.view=qe(this.bytes),this.encoder=new TextEncoder,this.encodedStrings=new Map}};function _e(e){return Number.isFinite(e)}function Ae(e){return e===void 0}function xe(e){return e===null}var se=class{static fromString(e){let[t,r,n]=e.split("/").map(Number);return C(_e(t),"Invalid chunkId"),C(_e(r),"Invalid offset"),C(_e(n),"Invalid length"),new se(t,r,n)}toString(){return`${this.chunkId}/${this.offset}/${this.length}`}static read(e){let t=e.readUint16(),r=e.readUint32(),n=e.readUint32();return new se(t,r,n)}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:(C(this.length===e.length),0)}constructor(e,t,r){this.chunkId=e,this.offset=t,this.length=r}};function We(e){if(xe(e))return 0;switch(e.type){case c.Array:return 1;case c.Boolean:return 2;case c.Color:return 3;case c.Date:return 4;case c.Enum:return 5;case c.File:return 6;case c.ResponsiveImage:return 10;case c.Link:return 7;case c.Number:return 8;case c.Object:return 9;case c.RichText:return 11;case c.String:return 12;default:Te(e)}}function er(e){let t=e.readUint16(),r=[];for(let n=0;na)return 1;for(let i=0;it.value?1:0}function sr(e){return{type:c.Color,value:e.readString()}}function or(e,t){e.writeString(t.value)}function lr(e,t){return e.valuet.value?1:0}function ur(e){let t=e.readInt64(),r=new Date(t);return{type:c.Date,value:r.toISOString()}}function cr(e,t){let r=new Date(t.value),n=r.getTime();e.writeInt64(n)}function hr(e,t){let r=new Date(e.value),n=new Date(t.value);return rn?1:0}function fr(e){return{type:c.Enum,value:e.readString()}}function dr(e,t){e.writeString(t.value)}function mr(e,t){return e.valuet.value?1:0}function pr(e){return{type:c.File,value:e.readString()}}function gr(e,t){e.writeString(t.value)}function yr(e,t){return e.valuet.value?1:0}function vr(e){return{type:c.Link,value:e.readJson()}}function wr(e,t){e.writeJson(t.value)}function Tr(e,t){let r=JSON.stringify(e.value),n=JSON.stringify(t.value);return rn?1:0}function br(e){return{type:c.Number,value:e.readFloat64()}}function Cr(e,t){e.writeFloat64(t.value)}function Ur(e,t){return e.valuet.value?1:0}function Ir(e){let t=e.readUint16(),r={};for(let n=0;na.length)return 1;for(let i=0;iu)return 1;let l=e.value[o]??null,f=t.value[u]??null,s=A.compare(l,f,r);if(s!==0)return s}return 0}function Br(e){return{type:c.ResponsiveImage,value:e.readJson()}}function Sr(e,t){e.writeJson(t.value)}function Er(e,t){let r=JSON.stringify(e.value),n=JSON.stringify(t.value);return rn?1:0}function Or(e){return{type:c.RichText,value:e.readUint32()}}function Rr(e,t){e.writeUint32(t.value)}function Lr(e,t){let r=e.value,n=t.value;return rn?1:0}function Pr(e){return{type:c.String,value:e.readString()}}function Dr(e,t){e.writeString(t.value)}function Nr(e,t,r){let n=e.value,a=t.value;return r.type===0&&(n=e.value.toLowerCase(),a=t.value.toLowerCase()),na?1:0}(e=>{e.read=function(t){let r=t.readUint8();switch(r){case 0:return null;case 1:return er(t);case 2:return nr(t);case 3:return sr(t);case 4:return ur(t);case 5:return fr(t);case 6:return pr(t);case 7:return vr(t);case 8:return br(t);case 9:return Ir(t);case 10:return Br(t);case 11:return Or(t);case 12:return Pr(t);default:Te(r)}},e.write=function(t,r){let n=We(r);if(t.writeUint8(n),!xe(r))switch(r.type){case c.Array:return tr(t,r);case c.Boolean:return ir(t,r);case c.Color:return or(t,r);case c.Date:return cr(t,r);case c.Enum:return dr(t,r);case c.File:return gr(t,r);case c.Link:return wr(t,r);case c.Number:return Cr(t,r);case c.Object:return xr(t,r);case c.ResponsiveImage:return Sr(t,r);case c.RichText:return Rr(t,r);case c.String:return Dr(t,r);default:Te(r)}},e.compare=function(t,r,n){let a=We(t),i=We(r);if(ai)return 1;if(xe(t)||xe(r))return 0;switch(t.type){case c.Array:return C(r.type===c.Array),rr(t,r,n);case c.Boolean:return C(r.type===c.Boolean),ar(t,r);case c.Color:return C(r.type===c.Color),lr(t,r);case c.Date:return C(r.type===c.Date),hr(t,r);case c.Enum:return C(r.type===c.Enum),mr(t,r);case c.File:return C(r.type===c.File),yr(t,r);case c.Link:return C(r.type===c.Link),Tr(t,r);case c.Number:return C(r.type===c.Number),Ur(t,r);case c.Object:return C(r.type===c.Object),kr(t,r,n);case c.ResponsiveImage:return C(r.type===c.ResponsiveImage),Er(t,r);case c.RichText:return C(r.type===c.RichText),Lr(t,r);case c.String:return C(r.type===c.String),Nr(t,r,n);default:Te(t)}}})(A||(A={}));var Ut=class{sortEntries(){this.entries.sort((e,t)=>{for(let r=0;re.getField(n)??null);this.entries.push({values:r,pointer:t})}constructor(e,t){this.fieldNames=e,this.options=t,this.entries=[]}},rt=3,jr=250,Vr=[408,429,500,502,503,504],Be=async(e,t)=>{let r=0;for(;;){try{let n=await fetch(e,t);if(!Vr.includes(n.status)||++r>rt)return n}catch(n){if(t?.signal?.aborted||++r>rt)throw n}await Mr(r)}};async function Mr(e){let t=Math.floor(jr*(Math.random()+1)*2**(e-1));await new Promise(r=>{setTimeout(r,t)})}function _r(e){let t=3&e.length,r=e.length-t,n=0,a=0;for(;a>>16)*3432918353&65535)<<16)&4294967295)<<15|o>>>17))*461845907+(((o>>>16)*461845907&65535)<<16)&4294967295,n=n<<13|n>>>19;let u=(65535&n)*5+(((n>>>16)*5&65535)<<16)&4294967295;n=(65535&u)+27492+(((u>>>16)+58964&65535)<<16)}let i=0;return t>=3&&(i^=(255&e.charCodeAt(a+2))<<16),t>=2&&(i^=(255&e.charCodeAt(a+1))<<8),t>=1&&(i^=255&e.charCodeAt(a),n^=i=(65535&(i=(i=(65535&i)*3432918353+(((i>>>16)*3432918353&65535)<<16)&4294967295)<<15|i>>>17))*461845907+(((i>>>16)*461845907&65535)<<16)&4294967295),n^=e.length,n^=n>>>16,n=(65535&n)*2246822507+(((n>>>16)*2246822507&65535)<<16)&4294967295,n^=n>>>13,n=(65535&n)*3266489909+(((n>>>16)*3266489909&65535)<<16)&4294967295,(n^=n>>>16)>>>0}var Ar=ft(Mt()),ve=`\r `,Ie="--";async function Wr(e,t){let r=new URL(e),n=Gr(t);r.searchParams.set("rangeHash",_r(n).toString(16));let a=await Be(r,{headers:{Range:n}});if(!a.ok)throw Error(`Request failed: ${a.status} ${a.statusText}`);let i=await a.arrayBuffer(),o=new Uint8Array(i);if(a.status===200)return t.map(u=>{if(u.to>o.length)throw Error("Missing data");return o.slice(u.from,u.to)});if(a.status===206){let u=a.headers.get("Content-Type");if(!u)throw Error("Missing Content-Type header");let l=new zr,f=new Ar.default(u);if(f.type==="multipart"&&f.subtype==="byteranges"){let s=f.parameters.get("boundary");if(!s)throw Error("Missing boundary parameter");let h=Fr(o,s);for(let{headers:d,body:m}of h){let y=d.get("Content-Range");if(!y)throw Error("Missing Content-Range header");let w=nt(y);if(w.unit!=="bytes")throw Error("Unsupported unit");l.write(w.start,m)}}else{let s=a.headers.get("Content-Range");if(!s)throw Error("Missing Content-Range header");let h=nt(s);if(h.unit!=="bytes")throw Error("Unsupported unit");l.write(h.start,o)}return t.map(s=>l.read(s.from,s.to-s.from))}throw Error(`Unsupported response: ${a.status} ${a.statusText}`)}var we=new TextEncoder,qr=new TextDecoder;function Fr(e,t){let r=we.encode(Ie+t),n=He(e,r);if(Ae(n))throw Error("Missing parts start");let a=n+r.length,i=we.encode(ve+Ie+t+Ie),o=Xr(e,i);if(Ae(o))throw Error("Missing parts end");let u=we.encode(ve+Ie+t),l=e.subarray(a,o);return it(l,u).map(s=>{let h=we.encode(ve+ve),d=He(s,h);if(Ae(d))throw Error("Missing headers end");let m=we.encode(ve),y=s.subarray(0,d),w=it(y,m),k=new Headers;for(let D of w){let N=qr.decode(D),[T,U]=N.split(": ",2);T&&U&&k.append(T,U)}let S=d+h.length,R=s.slice(S);return{headers:k,body:R}})}function nt(e){let t=RegExp("^(?\\w+) (?\\d+)-(?\\d+)\\/(?\\d+|\\*)$","u").exec(e);if(!t||!t.groups)throw Error("Invalid Content-Range header");let{unit:r,start:n,end:a,size:i}=t.groups;return{unit:r,start:Number(n),end:Number(a),size:i!=="*"?Number(i):null}}var zr=class{read(e,t){for(let r of this.chunks){if(er.end)continue;if(e+t>r.end)break;let n=e-r.start,a=n+t;return r.data.slice(n,a)}throw Error("Missing data")}write(e,t){let r=e,n=r+t.length,a=0,i=this.chunks.length;for(;al.end)){if(r>l.start){let f=r-l.start,s=l.data.subarray(0,f);t=at(s,t),r=l.start}break}}for(;i>a;i--){let l=this.chunks[i-1];if(C(l,"Missing chunk"),!(n0;){let n=He(e,t)??e.length,a=e.subarray(0,n);r.push(a),e=e.subarray(n+t.length)}return r}function He(e,t){for(let r=0;r=0;r--){let n=e.subarray(r);if(It(n,t))return r}}function It(e,t){for(let r=0;r0,"Must have at least one range");let t=[...e].sort((a,i)=>a.from-i.from),r=[];for(let a of t){let i=r.length-1,o=r[i];o&&a.from<=o.to?r[i]={from:o.from,to:Math.max(o.to,a.to)}:r.push(a)}return`bytes=${r.map(a=>`${a.from}-${a.to-1}`).join(",")}`}async function xt(e,t,r){if(!r)return Wr(e,t);let n=Jr(t),a=[],i=0;for(let m of n)a.push(`${m.from}-${m.to-1}`),i+=m.to-m.from;let o=new URL(e),u=a.join(",");o.searchParams.set("range",u);let l=await Be(o);if(l.status!==200)throw Error(`Request failed: ${l.status} ${l.statusText}`);let f=await l.arrayBuffer(),s=new Uint8Array(f);if(s.length!==i)throw Error("Request failed: Unexpected response length");let h=new Hr,d=0;for(let m of n){let y=m.to-m.from,w=d+y,k=s.subarray(d,w);h.write(m.from,k),d=w}return t.map(m=>h.read(m.from,m.to-m.from))}var Hr=class{read(e,t){for(let r of this.chunks){if(er.end)continue;if(e+t>r.end)break;let n=e-r.start,a=n+t;return r.data.slice(n,a)}throw Error("Missing data")}write(e,t){let r=e,n=r+t.length,a=0,i=this.chunks.length;for(;al.end)){if(r>l.start){let f=r-l.start,s=l.data.subarray(0,f);t=st(s,t),r=l.start}break}}for(;i>a;i--){let l=this.chunks[i-1];if(C(l,"Missing chunk"),!(n0,"Must have at least one range");let t=[...e].sort((n,a)=>n.from-a.from),r=[];for(let n of t){let a=r.length-1,i=r[a];i&&n.from<=i.to?r[a]={from:i.from,to:Math.max(i.to,n.to)}:r.push(n)}return r}var L=class{async loadModel(){let[e]=await xt(this.options.url,[this.options.range],this.options.cmsBackendCompression);return C(e,"Failed to load model"),Ut.deserialize(e,this.options.cmsBackendCompression)}async getModel(){return this.modelPromise??=this.loadModel(),this.model??=await this.modelPromise,this.model}async lookupItems(e){C(e.length===this.fields.length,"Invalid query length");let t=await this.getModel(),r=e.reduce((a,i,o)=>a.flatMap(u=>{switch(i.type){case"All":return[u];case"Equals":return this.queryEquals(u,i,o);case"NotEquals":return this.queryNotEquals(u,i,o);case"LessThan":return this.queryLessThan(u,i,o);case"GreaterThan":return this.queryGreaterThan(u,i,o);case"Contains":return this.queryContains(u,i,o);case"StartsWith":return this.queryStartsWith(u,i,o);case"EndsWith":return this.queryEndsWith(u,i,o);default:Te(i)}}),[t.entries]),n=[];for(let a of r)for(let i of a){let o={};for(let u=0;u0?[i]:[]}queryNotEquals(e,t,r){let n=this.getLeftMost(e,r,t.value),a=this.getRightMost(e,r,t.value),i=[],o=e.slice(0,n);o.length>0&&i.push(o);let u=e.slice(a+1);return u.length>0&&i.push(u),i}queryLessThan(e,t,r){let n=this.getRightMost(e,r,null);if(e=e.slice(n+1),t.inclusive){let o=this.getRightMost(e,r,t.value),u=e.slice(0,o+1);return u.length>0?[u]:[]}let a=this.getLeftMost(e,r,t.value),i=e.slice(0,a);return i.length>0?[i]:[]}queryGreaterThan(e,t,r){let n=this.getRightMost(e,r,null);if(e=e.slice(n+1),t.inclusive){let o=this.getLeftMost(e,r,t.value),u=e.slice(o);return u.length>0?[u]:[]}let a=this.getRightMost(e,r,t.value),i=e.slice(a+1);return i.length>0?[i]:[]}queryContains(e,t,r){return this.findItems(e,r,n=>{if(n?.type!==c.String||t.value?.type!==c.String)return!1;let a=n.value,i=t.value.value;return this.collation.type===0&&(a=a.toLowerCase(),i=i.toLowerCase()),a.includes(i)})}queryStartsWith(e,t,r){return this.findItems(e,r,n=>{if(n?.type!==c.String||t.value?.type!==c.String)return!1;let a=n.value,i=t.value.value;return this.collation.type===0&&(a=a.toLowerCase(),i=i.toLowerCase()),a.startsWith(i)})}queryEndsWith(e,t,r){return this.findItems(e,r,n=>{if(n?.type!==c.String||t.value?.type!==c.String)return!1;let a=n.value,i=t.value.value;return this.collation.type===0&&(a=a.toLowerCase(),i=i.toLowerCase()),a.endsWith(i)})}getLeftMost(e,t,r){let n=0,a=e.length;for(;n>1,o=e[i],u=o.values[t];0>A.compare(u,r,this.collation)?n=i+1:a=i}return n}getRightMost(e,t,r){let n=0,a=e.length;for(;n>1,o=e[i],u=o.values[t];A.compare(u,r,this.collation)>0?a=i:n=i+1}return a-1}findItems(e,t,r){let n=[],a=0;for(let i=0;i{if(!e.ok)throw Error(`Request failed: ${e.status} ${e.statusText}`);let r=await e.arrayBuffer(),n=new Uint8Array(r),a=new ke(n),i=[],o=a.readUint32();for(let u=0;u{if(!r.ok)throw Error(`Compression dictionary request failed: ${r.status} ${r.statusText}`);let n=await r.arrayBuffer();return new Uint8Array(n)});return this.compressionDictionaryCache.set(this.compressionDictionaryUrl,t),t}constructor(e,t,r,n){this.id=e,this.url=t,this.compressionDictionaryUrl=r,this.compressionDictionaryCache=n,this.itemLoader=new _t.default(async a=>{let i=a.map(l=>{let f=se.fromString(l);return{from:f.offset,to:f.offset+f.length}}),[o,u]=await Promise.all([xt(this.url,i,!this.compressionDictionaryUrl),this.getCompressionDictionary()]);return o.map((l,f)=>{let s=new ke(l),h=Je.read(s,u),d=a[f];return C(d,"Missing pointer"),{pointer:d,data:h.getData()}})})}},kt=class{async scanItems(){return(await Promise.all(this.chunks.map(async t=>t.scanItems()))).flat()}async resolveItems(e){return Promise.all(e.map(t=>{let r=se.fromString(t),n=this.chunks[r.chunkId];return C(n,"Missing chunk"),n.resolveItem(t)}))}compareItems(e,t){let r=se.fromString(e.pointer),n=se.fromString(t.pointer);return r.compare(n)}compareValues(e,t,r){return A.compare(e,t,r)}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((r,n)=>new Zr(n,r,this.options.compressionDictionary,t))}};var p=(e,t)=>async()=>(await e())[t],g=()=>import("./aPjIOghCB-2-DHOGX767.mjs"),Yr=[p(g,"richText"),p(g,"richText1"),p(g,"richText2"),p(g,"richText3"),p(g,"richText4"),p(g,"richText5"),p(g,"richText6"),p(g,"richText7"),p(g,"richText8"),p(g,"richText9"),p(g,"richText10"),p(g,"richText11"),p(g,"richText12"),p(g,"richText13"),p(g,"richText14"),p(g,"richText15"),p(g,"richText16"),p(g,"richText17"),p(g,"richText18"),p(g,"richText19"),p(g,"richText20"),p(g,"richText21"),p(g,"richText22"),p(g,"richText23"),p(g,"richText24"),p(g,"richText25"),p(g,"richText26"),p(g,"richText27"),p(g,"richText28"),p(g,"richText29"),p(g,"richText30"),p(g,"richText31"),p(g,"richText32"),p(g,"richText33"),p(g,"richText34"),p(g,"richText35"),p(g,"richText36"),p(g,"richText37"),p(g,"richText38"),p(g,"richText39"),p(g,"richText40"),p(g,"richText41"),p(g,"richText42"),p(g,"richText43"),p(g,"richText44"),p(g,"richText45"),p(g,"richText46"),p(g,"richText47"),p(g,"richText48"),p(g,"richText49"),p(g,"richText50"),p(g,"richText51"),p(g,"richText52"),p(g,"richText53"),p(g,"richText54"),p(g,"richText55")];async function Bt(e){let t=Yr[e];if(t)return await t()}var P={CIEEozXeg:{isNullable:!0,type:c.String},DHZ76YkC2:{isNullable:!0,type:c.RichText},dRMgJVvm4:{isNullable:!0,type:c.Enum},EJbym8klG:{isNullable:!0,type:c.ResponsiveImage},gVXTyBVUD:{isNullable:!0,type:c.RichText},H1FynExdw:{isNullable:!0,type:c.String},id:{isNullable:!1,type:c.String},Iq7gCFfWA:{isNullable:!0,type:c.String},jzzX8oeOZ:{isNullable:!0,type:c.String},LKu4dJa49:{isNullable:!0,type:c.ResponsiveImage},mJA80sq_7:{isNullable:!0,type:c.Boolean},mwUtrCsvV:{isNullable:!0,type:c.Enum},nextItemId:{isNullable:!0,type:c.String},OuV2G9OVh:{isNullable:!0,type:c.ResponsiveImage},previousItemId:{isNullable:!0,type:c.String},qHTkdq06Y:{isNullable:!0,type:c.String},R5JO8ZBif:{isNullable:!0,type:c.Enum},SATdrTMUr:{isNullable:!0,type:c.ResponsiveImage}},St=new Ke,Re={collectionByLocaleId:{default:new kt({chunks:[new URL("./aPjIOghCB-chunk-default-0.framercms","https://framerusercontent.com/modules/gaN4OEhvKxWidew1ALX2/6ROzYdZrRGUW6fGyJT3w/aPjIOghCB.js").href.replace("/modules/","/cms/")],compressionDictionary:null,indexes:[new L({cmsBackendCompression:!0,collation:{type:1},collectionSchema:P,fieldNames:["id","gVXTyBVUD","DHZ76YkC2"],range:{from:0,to:1003},url:new URL("./aPjIOghCB-indexes-default-0.framercms","https://framerusercontent.com/modules/gaN4OEhvKxWidew1ALX2/6ROzYdZrRGUW6fGyJT3w/aPjIOghCB.js").href.replace("/modules/","/cms/")}),new L({cmsBackendCompression:!0,collation:{type:1},collectionSchema:P,fieldNames:["previousItemId","gVXTyBVUD","DHZ76YkC2"],range:{from:1003,to:2005},url:new URL("./aPjIOghCB-indexes-default-0.framercms","https://framerusercontent.com/modules/gaN4OEhvKxWidew1ALX2/6ROzYdZrRGUW6fGyJT3w/aPjIOghCB.js").href.replace("/modules/","/cms/")}),new L({cmsBackendCompression:!0,collation:{type:1},collectionSchema:P,fieldNames:["nextItemId","gVXTyBVUD","DHZ76YkC2"],range:{from:2005,to:3003},url:new URL("./aPjIOghCB-indexes-default-0.framercms","https://framerusercontent.com/modules/gaN4OEhvKxWidew1ALX2/6ROzYdZrRGUW6fGyJT3w/aPjIOghCB.js").href.replace("/modules/","/cms/")}),new L({cmsBackendCompression:!0,collation:{type:1},collectionSchema:P,fieldNames:["id","qHTkdq06Y"],range:{from:3003,to:4174},url:new URL("./aPjIOghCB-indexes-default-0.framercms","https://framerusercontent.com/modules/gaN4OEhvKxWidew1ALX2/6ROzYdZrRGUW6fGyJT3w/aPjIOghCB.js").href.replace("/modules/","/cms/")}),new L({cmsBackendCompression:!0,collation:{type:1},collectionSchema:P,fieldNames:["qHTkdq06Y","id"],range:{from:4174,to:5345},url:new URL("./aPjIOghCB-indexes-default-0.framercms","https://framerusercontent.com/modules/gaN4OEhvKxWidew1ALX2/6ROzYdZrRGUW6fGyJT3w/aPjIOghCB.js").href.replace("/modules/","/cms/")}),new L({cmsBackendCompression:!0,collation:{type:0},collectionSchema:P,fieldNames:["CIEEozXeg","gVXTyBVUD","DHZ76YkC2"],range:{from:5345,to:6426},url:new URL("./aPjIOghCB-indexes-default-0.framercms","https://framerusercontent.com/modules/gaN4OEhvKxWidew1ALX2/6ROzYdZrRGUW6fGyJT3w/aPjIOghCB.js").href.replace("/modules/","/cms/")}),new L({cmsBackendCompression:!0,collation:{type:0},collectionSchema:P,fieldNames:["qHTkdq06Y","gVXTyBVUD","DHZ76YkC2"],range:{from:6426,to:7505},url:new URL("./aPjIOghCB-indexes-default-0.framercms","https://framerusercontent.com/modules/gaN4OEhvKxWidew1ALX2/6ROzYdZrRGUW6fGyJT3w/aPjIOghCB.js").href.replace("/modules/","/cms/")}),new L({cmsBackendCompression:!0,collation:{type:0},collectionSchema:P,fieldNames:["H1FynExdw","gVXTyBVUD","DHZ76YkC2"],range:{from:7505,to:9815},url:new URL("./aPjIOghCB-indexes-default-0.framercms","https://framerusercontent.com/modules/gaN4OEhvKxWidew1ALX2/6ROzYdZrRGUW6fGyJT3w/aPjIOghCB.js").href.replace("/modules/","/cms/")}),new L({cmsBackendCompression:!0,collation:{type:0},collectionSchema:P,fieldNames:["OuV2G9OVh","gVXTyBVUD","DHZ76YkC2"],range:{from:9815,to:17124},url:new URL("./aPjIOghCB-indexes-default-0.framercms","https://framerusercontent.com/modules/gaN4OEhvKxWidew1ALX2/6ROzYdZrRGUW6fGyJT3w/aPjIOghCB.js").href.replace("/modules/","/cms/")}),new L({cmsBackendCompression:!0,collation:{type:0},collectionSchema:P,fieldNames:["mJA80sq_7","gVXTyBVUD","DHZ76YkC2"],range:{from:17124,to:17798},url:new URL("./aPjIOghCB-indexes-default-0.framercms","https://framerusercontent.com/modules/gaN4OEhvKxWidew1ALX2/6ROzYdZrRGUW6fGyJT3w/aPjIOghCB.js").href.replace("/modules/","/cms/")}),new L({cmsBackendCompression:!0,collation:{type:0},collectionSchema:P,fieldNames:["dRMgJVvm4","gVXTyBVUD","DHZ76YkC2"],range:{from:17798,to:18808},url:new URL("./aPjIOghCB-indexes-default-0.framercms","https://framerusercontent.com/modules/gaN4OEhvKxWidew1ALX2/6ROzYdZrRGUW6fGyJT3w/aPjIOghCB.js").href.replace("/modules/","/cms/")}),new L({cmsBackendCompression:!0,collation:{type:0},collectionSchema:P,fieldNames:["mwUtrCsvV","gVXTyBVUD","DHZ76YkC2"],range:{from:18808,to:19818},url:new URL("./aPjIOghCB-indexes-default-0.framercms","https://framerusercontent.com/modules/gaN4OEhvKxWidew1ALX2/6ROzYdZrRGUW6fGyJT3w/aPjIOghCB.js").href.replace("/modules/","/cms/")}),new L({cmsBackendCompression:!0,collation:{type:0},collectionSchema:P,fieldNames:["R5JO8ZBif","gVXTyBVUD","DHZ76YkC2"],range:{from:19818,to:20828},url:new URL("./aPjIOghCB-indexes-default-0.framercms","https://framerusercontent.com/modules/gaN4OEhvKxWidew1ALX2/6ROzYdZrRGUW6fGyJT3w/aPjIOghCB.js").href.replace("/modules/","/cms/")}),new L({cmsBackendCompression:!0,collation:{type:0},collectionSchema:P,fieldNames:["jzzX8oeOZ","gVXTyBVUD","DHZ76YkC2"],range:{from:20828,to:21723},url:new URL("./aPjIOghCB-indexes-default-0.framercms","https://framerusercontent.com/modules/gaN4OEhvKxWidew1ALX2/6ROzYdZrRGUW6fGyJT3w/aPjIOghCB.js").href.replace("/modules/","/cms/")}),new L({cmsBackendCompression:!0,collation:{type:0},collectionSchema:P,fieldNames:["Iq7gCFfWA","gVXTyBVUD","DHZ76YkC2"],range:{from:21723,to:22871},url:new URL("./aPjIOghCB-indexes-default-0.framercms","https://framerusercontent.com/modules/gaN4OEhvKxWidew1ALX2/6ROzYdZrRGUW6fGyJT3w/aPjIOghCB.js").href.replace("/modules/","/cms/")}),new L({cmsBackendCompression:!0,collation:{type:0},collectionSchema:P,fieldNames:["gVXTyBVUD","gVXTyBVUD","DHZ76YkC2"],range:{from:22871,to:23629},url:new URL("./aPjIOghCB-indexes-default-0.framercms","https://framerusercontent.com/modules/gaN4OEhvKxWidew1ALX2/6ROzYdZrRGUW6fGyJT3w/aPjIOghCB.js").href.replace("/modules/","/cms/")}),new L({cmsBackendCompression:!0,collation:{type:0},collectionSchema:P,fieldNames:["EJbym8klG","gVXTyBVUD","DHZ76YkC2"],range:{from:23629,to:24275},url:new URL("./aPjIOghCB-indexes-default-0.framercms","https://framerusercontent.com/modules/gaN4OEhvKxWidew1ALX2/6ROzYdZrRGUW6fGyJT3w/aPjIOghCB.js").href.replace("/modules/","/cms/")}),new L({cmsBackendCompression:!0,collation:{type:0},collectionSchema:P,fieldNames:["LKu4dJa49","gVXTyBVUD","DHZ76YkC2"],range:{from:24275,to:24921},url:new URL("./aPjIOghCB-indexes-default-0.framercms","https://framerusercontent.com/modules/gaN4OEhvKxWidew1ALX2/6ROzYdZrRGUW6fGyJT3w/aPjIOghCB.js").href.replace("/modules/","/cms/")}),new L({cmsBackendCompression:!0,collation:{type:0},collectionSchema:P,fieldNames:["SATdrTMUr","gVXTyBVUD","DHZ76YkC2"],range:{from:24921,to:25567},url:new URL("./aPjIOghCB-indexes-default-0.framercms","https://framerusercontent.com/modules/gaN4OEhvKxWidew1ALX2/6ROzYdZrRGUW6fGyJT3w/aPjIOghCB.js").href.replace("/modules/","/cms/")}),new L({cmsBackendCompression:!0,collation:{type:0},collectionSchema:P,fieldNames:["DHZ76YkC2","gVXTyBVUD","DHZ76YkC2"],range:{from:25567,to:26325},url:new URL("./aPjIOghCB-indexes-default-0.framercms","https://framerusercontent.com/modules/gaN4OEhvKxWidew1ALX2/6ROzYdZrRGUW6fGyJT3w/aPjIOghCB.js").href.replace("/modules/","/cms/")})],resolveRichText:Bt,schema:P})},displayName:"Agencies"},Cn=Re;$e(Re,{CIEEozXeg:{defaultValue:"",title:"Name",type:c.String},qHTkdq06Y:{title:"Slug",type:c.String},H1FynExdw:{defaultValue:"",title:"Bio",type:c.String},OuV2G9OVh:{title:"Logo",type:c.ResponsiveImage},mJA80sq_7:{defaultValue:!1,title:"Featured",type:c.Boolean},dRMgJVvm4:{defaultValue:"QgBdBm01P",options:["QgBdBm01P","q62VbSqoF","ExWafP5Xr","ViI8kXnDL","hhUQvVVKF","xdUAXgt6T","obDp8Uaiu","LKU0Q7GCT","p_9lUQC0M","q_z7dLUhj"],optionTitles:["Web development","Web design","PPC / SEO / Social","Email marketing","CRO","UX/UI","Customizations","Platform migration","Custom app development","Consulting"],title:"Filter",type:c.Enum},mwUtrCsvV:{defaultValue:"QgBdBm01P",options:["QgBdBm01P","q62VbSqoF","ExWafP5Xr","ViI8kXnDL","hhUQvVVKF","xdUAXgt6T","obDp8Uaiu","LKU0Q7GCT","p_9lUQC0M","q_z7dLUhj"],optionTitles:["Web development","Web design","PPC / SEO / Social","Email marketing","CRO","UX/UI","Customizations","Platform migration","Custom app development","Consulting"],title:"Filter 2",type:c.Enum},R5JO8ZBif:{defaultValue:"QgBdBm01P",options:["QgBdBm01P","zAI1tBq1D","gaQUzVDNi","wNCxQhWd5"],optionTitles:["APAC","Europe","North America","UK"],title:"Located",type:c.Enum},jzzX8oeOZ:{defaultValue:"",title:"Based",type:c.String},Iq7gCFfWA:{defaultValue:"",title:"Regions served",type:c.String},gVXTyBVUD:{defaultValue:"",title:"Services",type:c.RichText},EJbym8klG:{title:"Hero",type:c.ResponsiveImage},LKu4dJa49:{title:"Hero 2",type:c.ResponsiveImage},SATdrTMUr:{title:"Hero 3",type:c.ResponsiveImage},DHZ76YkC2:{defaultValue:"",title:"Content",type:c.RichText},previousItemId:{dataIdentifier:"local-module:collection/aPjIOghCB:default",title:"Previous",type:c.CollectionReference},nextItemId:{dataIdentifier:"local-module:collection/aPjIOghCB:default",title:"Next",type:c.CollectionReference}});var $r=(e,t)=>{switch(t?.fallback,e){case"QgBdBm01P":return"Web development";case"q62VbSqoF":return"Web design";case"ExWafP5Xr":return"PPC / SEO / Social";case"ViI8kXnDL":return"Email marketing";case"hhUQvVVKF":return"CRO";case"xdUAXgt6T":return"UX/UI";case"obDp8Uaiu":return"Customizations";case"LKU0Q7GCT":return"Platform migration";case"p_9lUQC0M":return"Custom app development";case"q_z7dLUhj":return"Consulting";default:return""}},Kr=(e,t)=>{switch(t?.fallback,e){case"QgBdBm01P":return"Web development";case"q62VbSqoF":return"Web design";case"ExWafP5Xr":return"PPC / SEO / Social";case"ViI8kXnDL":return"Email marketing";case"hhUQvVVKF":return"CRO";case"xdUAXgt6T":return"UX/UI";case"obDp8Uaiu":return"Customizations";case"LKU0Q7GCT":return"Platform migration";case"p_9lUQC0M":return"Custom app development";case"q_z7dLUhj":return"Consulting";default:return""}},Qr=(e,t)=>{switch(t?.fallback,e){case"QgBdBm01P":return"APAC";case"zAI1tBq1D":return"Europe";case"gaQUzVDNi":return"North America";case"wNCxQhWd5":return"UK";default:return""}},Un={dRMgJVvm4:$r,mwUtrCsvV:Kr,R5JO8ZBif:Qr},In={async getSlugByRecordId(e,t){let[r]=await St.query({from:{data:Re,type:"Collection"},limit:{type:"LiteralValue",value:1},select:[{name:"qHTkdq06Y",type:"Identifier"}],where:{left:{name:"id",type:"Identifier"},operator:"==",right:{type:"LiteralValue",value:e},type:"BinaryOperation"}},t);return r?.qHTkdq06Y},async getRecordIdBySlug(e,t){let[r]=await St.query({from:{data:Re,type:"Collection"},limit:{type:"LiteralValue",value:1},select:[{name:"id",type:"Identifier"}],where:{left:{name:"qHTkdq06Y",type:"Identifier"},operator:"==",right:{type:"LiteralValue",value:e},type:"BinaryOperation"}},t);return r?.id}},xn={exports:{mwUtrCsvVToDisplayName:{type:"variable",annotations:{framerContractVersion:"1"}},enumToDisplayNameFunctions:{type:"variable",annotations:{framerContractVersion:"1"}},utils:{type:"variable",annotations:{framerContractVersion:"1"}},dRMgJVvm4ToDisplayName:{type:"variable",annotations:{framerContractVersion:"1"}},default:{type:"data",name:"data",annotations:{framerContractVersion:"1",framerData:"",framerRecordIdKey:"id",framerCollectionUtils:"1",framerSlug:"qHTkdq06Y",framerEnumToDisplayNameUtils:"2",framerCollectionId:"aPjIOghCB"}},R5JO8ZBifToDisplayName:{type:"variable",annotations:{framerContractVersion:"1"}},__FramerMetadata__:{type:"variable"}}};export{Cn as a,$r as b,Kr as c,Qr as d,Un as e,In as f,xn as g}; //# sourceMappingURL=chunk-MGU67F64.mjs.map