import{a as Lt,b as kt,c as St}from"./chunk-TANF6L4C.mjs";import{a as It,b as Ut,c as xt}from"./chunk-XFQYRLHK.mjs";import{E as d,Ea as qe,Ga as wt,H as Se,Ia as bt,K as Be,Ka as Ne,P as mt,X as pt,c as Fe,d as fe,f as ht,ha as gt,ma as yt,v as dt,ya as vt}from"./chunk-MKR4LDTT.mjs";import{B as j,C as ft,d as ke,j as st,o as ot,r as lt,u as ut,w as ct}from"./chunk-6YYYESPH.mjs";var er=["du_BmM8MZ","SOEEw3FLl"],tr="framer-pRGOq",rr={du_BmM8MZ:"framer-v-12w5bae",SOEEw3FLl:"framer-v-1njjkko"};function nr(e,...t){let r={};return t?.forEach(n=>n&&Object.assign(r,e[n])),r}var ir={bounce:.2,delay:0,duration:.4,type:"spring"},ar=({value:e,children:t})=>{let r=ot(Fe),n=e??r.transition,a=ut(()=>({...r,transition:n}),[JSON.stringify(n)]);return j(Fe.Provider,{value:a,children:t})},sr=fe.create(ke),or={Card:"du_BmM8MZ",Long:"SOEEw3FLl"},lr=({background:e,border:t,company:r,height:n,id:a,link:i,review:o,width:u,...l})=>({...l,bAWIU4DVC:t??l.bAWIU4DVC??{borderColor:"rgba(191, 214, 228, 1)",borderStyle:"solid",borderWidth:1},eKpy3vizR:o??l.eKpy3vizR??"Hands down, simply the best reviews app out there. If I could give it more than 5 stars I would!",hJdyAIHsO:i??l.hJdyAIHsO,qm7X3lc2P:e??l.qm7X3lc2P??"rgb(255, 255, 255)",TDWGMtwMQ:r??l.TDWGMtwMQ??"Blackchicken.com.au",variant:or[l.variant]??l.variant??"du_BmM8MZ"}),ur=(e,t)=>e.layoutDependency?t.join("-")+e.layoutDependency:t.join("-"),cr=st(function(e,t){let{activeLocale:r,setLocale:n}=dt(),{style:a,className:i,layoutId:o,variant:u,eKpy3vizR:l,hJdyAIHsO:h,TDWGMtwMQ:s,qm7X3lc2P:c,bAWIU4DVC:f,...m}=lr(e),{baseVariant:p,classNames:y,clearLoadingGesture:L,gestureHandlers:S,gestureVariant:C,isLoading:R,setGestureState:P,setVariant:w,variants:b}=vt({cycleOrder:er,defaultVariant:"du_BmM8MZ",variant:u,variantClassNames:rr}),U=ur(e,b),g=Be(tr,...[xt,St]),V=ct(null),F=()=>p!=="SOEEw3FLl",v=lt(),_=pt();return j(ht,{id:o??v,children:j(sr,{animate:b,initial:!1,children:j(ar,{value:ir,children:ft(fe.div,{...m,...S,className:Be(g,"framer-12w5bae",i,y),"data-border":!0,"data-framer-name":"Card",layoutDependency:U,layoutId:"du_BmM8MZ",ref:t??V,style:{"--border-bottom-width":(f.borderBottomWidth??f.borderWidth)+"px","--border-color":f.borderColor,"--border-left-width":(f.borderLeftWidth??f.borderWidth)+"px","--border-right-width":(f.borderRightWidth??f.borderWidth)+"px","--border-style":f.borderStyle,"--border-top-width":(f.borderTopWidth??f.borderWidth)+"px",backgroundColor:c,borderBottomLeftRadius:16,borderBottomRightRadius:16,borderTopLeftRadius:16,borderTopRightRadius:16,...a},...nr({SOEEw3FLl:{"data-framer-name":"Long"}},p,C),children:[F()&&j(wt,{className:"framer-cg0mm8","data-framer-name":"Rating",fill:"rgba(0,0,0,1)",intrinsicHeight:16,intrinsicWidth:96,layoutDependency:U,layoutId:"I1012:23906;513:33210",svg:` `,withExternalLayout:!0}),j(qe,{__fromCanvasComponent:!0,children:j(ke,{children:j(fe.h5,{className:"framer-styles-preset-1rzi7ql","data-styles-preset":"CAroi6VGr",style:{"--framer-text-color":"var(--extracted-1lwpl3i, var(--token-a6a4715f-b400-410e-a5f7-28435f0210e1, rgb(12, 72, 107)))"},children:"Hands down, simply the best reviews app out there. If I could give it more than 5 stars I would!"})}),className:"framer-1i4h4d5","data-framer-name":"Review Text",fonts:["Inter"],layoutDependency:U,layoutId:"I1012:23906;513:33216",style:{"--extracted-1lwpl3i":"var(--token-a6a4715f-b400-410e-a5f7-28435f0210e1, rgb(12, 72, 107))","--framer-paragraph-spacing":"0px"},text:l,verticalAlignment:"top",withExternalLayout:!0}),j(qe,{__fromCanvasComponent:!0,children:j(ke,{children:j(fe.p,{style:{"--framer-line-height":"150%","--framer-text-color":"var(--extracted-r6o4lv, var(--token-a6a4715f-b400-410e-a5f7-28435f0210e1, rgb(12, 72, 107)))"},children:j(gt,{href:h,nodeId:"I1012:23906;513:33217",openInNewTab:!0,smoothScroll:!1,children:j(fe.a,{className:"framer-styles-preset-oyfxga","data-styles-preset":"hmNfKyYvM",children:"Blackchicken.com.au"})})})}),className:"framer-x5c1vb","data-framer-name":"Reviewer Website",fonts:["Inter"],layoutDependency:U,layoutId:"I1012:23906;513:33217",style:{"--extracted-r6o4lv":"var(--token-a6a4715f-b400-410e-a5f7-28435f0210e1, rgb(12, 72, 107))","--framer-paragraph-spacing":"0px"},text:s,verticalAlignment:"top",withExternalLayout:!0})]})})})})}),fr=["@supports (aspect-ratio: 1) { body { --framer-aspect-ratio-supported: auto; } }",".framer-pRGOq.framer-xpyupn, .framer-pRGOq .framer-xpyupn { display: block; }",".framer-pRGOq.framer-12w5bae { align-content: flex-start; align-items: flex-start; display: flex; flex-direction: column; flex-wrap: nowrap; gap: 16px; height: min-content; justify-content: flex-start; overflow: visible; padding: 32px 24px 32px 24px; position: relative; width: 326px; }",".framer-pRGOq .framer-cg0mm8 { flex: none; height: 16px; position: relative; width: 96px; }",".framer-pRGOq .framer-1i4h4d5, .framer-pRGOq .framer-x5c1vb { flex: none; height: auto; position: relative; white-space: pre-wrap; width: 100%; word-break: break-word; word-wrap: break-word; }","@supports (background: -webkit-named-image(i)) and (not (font-palette:dark)) { .framer-pRGOq.framer-12w5bae { gap: 0px; } .framer-pRGOq.framer-12w5bae > * { margin: 0px; margin-bottom: calc(16px / 2); margin-top: calc(16px / 2); } .framer-pRGOq.framer-12w5bae > :first-child { margin-top: 0px; } .framer-pRGOq.framer-12w5bae > :last-child { margin-bottom: 0px; } }",".framer-pRGOq.framer-v-1njjkko.framer-12w5bae { width: 856px; }",...Ut,...kt,'.framer-pRGOq[data-border="true"]::after, .framer-pRGOq [data-border="true"]::after { content: ""; border-width: var(--border-top-width, 0) var(--border-right-width, 0) var(--border-bottom-width, 0) var(--border-left-width, 0); border-color: var(--border-color, none); border-style: var(--border-style, none); width: 100%; height: 100%; position: absolute; box-sizing: border-box; left: 0; top: 0; border-radius: inherit; pointer-events: none; }'],ge=mt(cr,fr,"framer-pRGOq"),jn=ge;ge.displayName="Testimonial";ge.defaultProps={height:232,width:326};Se(ge,{variant:{options:["du_BmM8MZ","SOEEw3FLl"],optionTitles:["Card","Long"],title:"Variant",type:d.Enum},eKpy3vizR:{defaultValue:"Hands down, simply the best reviews app out there. If I could give it more than 5 stars I would!",displayTextArea:!1,title:"Review",type:d.String},hJdyAIHsO:{title:"Link",type:d.Link},TDWGMtwMQ:{defaultValue:"Blackchicken.com.au",displayTextArea:!1,title:"Company",type:d.String},qm7X3lc2P:{defaultValue:"rgb(255, 255, 255)",title:"Background",type:d.Color},bAWIU4DVC:{defaultValue:{borderColor:"rgba(191, 214, 228, 1)",borderStyle:"solid",borderWidth:1},title:"Border",type:d.Border}});bt(ge,[{explicitInter:!0,fonts:[{family:"Inter",source:"framer",style:"normal",unicodeRange:"U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F",url:"https://framerusercontent.com/assets/5vvr9Vy74if2I6bQbJvbw7SY1pQ.woff2",weight:"400"},{family:"Inter",source:"framer",style:"normal",unicodeRange:"U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116",url:"https://framerusercontent.com/assets/EOr0mi4hNtlgWNn9if640EZzXCo.woff2",weight:"400"},{family:"Inter",source:"framer",style:"normal",unicodeRange:"U+1F00-1FFF",url:"https://framerusercontent.com/assets/Y9k9QrlZAqio88Klkmbd8VoMQc.woff2",weight:"400"},{family:"Inter",source:"framer",style:"normal",unicodeRange:"U+0370-03FF",url:"https://framerusercontent.com/assets/OYrD2tBIBPvoJXiIHnLoOXnY9M.woff2",weight:"400"},{family:"Inter",source:"framer",style:"normal",unicodeRange:"U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF",url:"https://framerusercontent.com/assets/JeYwfuaPfZHQhEG8U5gtPDZ7WQ.woff2",weight:"400"},{family:"Inter",source:"framer",style:"normal",unicodeRange:"U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD",url:"https://framerusercontent.com/assets/vQyevYAyHtARFwPqUzQGpnDs.woff2",weight:"400"},{family:"Inter",source:"framer",style:"normal",unicodeRange:"U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB",url:"https://framerusercontent.com/assets/b6Y37FthZeALduNqHicBT6FutY.woff2",weight:"400"}]},...Ne(It),...Ne(Lt)],{supportsExplicitInterCodegen:!0});var oe,k,q,hr=Object.create,Ft=Object.defineProperty,dr=Object.getOwnPropertyDescriptor,Bt=Object.getOwnPropertyNames,mr=Object.getPrototypeOf,pr=Object.prototype.hasOwnProperty,he=(e,t)=>function(){return t||(0,e[Bt(e)[0]])((t={exports:{}}).exports,t),t.exports},gr=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of Bt(t))pr.call(e,a)||a===r||Ft(e,a,{get:()=>t[a],enumerable:!(n=dr(t,a))||n.enumerable});return e},qt=(e,t,r)=>(r=e!=null?hr(mr(e)):{},gr(!t&&e&&e.__esModule?r:Ft(r,"default",{value:e,enumerable:!0}),e)),yr=he({"../../../node_modules/dataloader/index.js"(e,t){var r,n=function(){function l(s,c){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(f){if(!(!f||f.batch!==!1))return 1;var m=f&&f.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}(c),this._batchScheduleFn=function(f){var m=f&&f.batchScheduleFn;if(m===void 0)return a;if(typeof m!="function")throw TypeError("batchScheduleFn must be a function: "+m);return m}(c),this._cacheKeyFn=function(f){var m=f&&f.cacheKeyFn;if(m===void 0)return function(p){return p};if(typeof m!="function")throw TypeError("cacheKeyFn must be a function: "+m);return m}(c),this._cacheMap=function(f){if(!(!f||f.cache!==!1))return null;var m=f&&f.cacheMap;if(m===void 0)return new Map;if(m!==null){var p=["get","set","delete","clear"].filter(function(y){return m&&typeof m[y]!="function"});if(p.length!==0)throw TypeError("Custom cacheMap missing methods: "+p.join(", "))}return m}(c),this._batch=null,this.name=c&&c.name?c.name:null}var h=l.prototype;return h.load=function(s){if(s==null)throw TypeError("The loader.load() function must be called with a value, but got: "+String(s)+".");var c=function(S){var C=S._batch;if(C!==null&&!C.hasDispatched&&C.keys.length and returns Promise>, but the function errored synchronously: "+String(U)+"."))}if(!b||typeof b.then!="function")return i(P,w,TypeError("DataLoader must be constructed with a function which accepts Array and returns Promise>, but the function did not return a Promise: "+String(b)+"."));b.then(function(U){if(!u(U))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(U)+".");if(U.length!==w.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(w.keys)+` Values: `+String(U));o(w);for(var x=0;x but got: "+s+".");for(var c=[],f=0;f0&&Object.prototype.hasOwnProperty.call(l,l.length-1))}t.exports=n}}),Pe=he({"../../../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]}}}),vr=he({"../../../node_modules/whatwg-mimetype/lib/mime-type-parameters.js"(e,t){var{asciiLowercase:r,solelyContainsHTTPTokenCodePoints:n,soleyContainsHTTPQuotedStringTokenCodePoints:a}=Pe();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}}}}),wr=he({"../../../node_modules/whatwg-mimetype/lib/parser.js"(e,t){var{removeLeadingAndTrailingHTTPWhitespace:r,removeTrailingHTTPWhitespace:n,isHTTPWhitespaceChar:a,solelyContainsHTTPTokenCodePoints:i,soleyContainsHTTPQuotedStringTokenCodePoints:o,asciiLowercase:u,collectAnHTTPQuotedString:l}=Pe();t.exports=h=>{h=r(h);let s=0,c="";for(;s=h.length)return null;++s;let f="";for(;s0&&i(p)&&o(y)&&!m.parameters.has(p)&&m.parameters.set(p,y)}return m}}}),br=he({"../../../node_modules/whatwg-mimetype/lib/serializer.js"(e,t){var{solelyContainsHTTPTokenCodePoints:r}=Pe();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}}}),Ir=he({"../../../node_modules/whatwg-mimetype/lib/mime-type.js"(e,t){var r=vr(),n=wr(),a=br(),{asciiLowercase:i,solelyContainsHTTPTokenCodePoints:o}=Pe();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)}}}}),Ur=qt(yr()),E={Uint8:1,Uint16:2,Uint32:4,BigUint64:8,Int8:1,Int16:2,Int32:4,BigInt64:8,Float32:4,Float64:8},Me=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=E.Uint8;this.ensureLength(e);let t=this.view.getUint8(this.offset);return this.offset+=e,t}readUint16(){let e=E.Uint16;this.ensureLength(e);let t=this.view.getUint16(this.offset);return this.offset+=e,t}readUint32(){let e=E.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=E.BigUint64;this.ensureLength(e);let t=this.view.getBigUint64(this.offset);return this.offset+=e,t}readInt8(){let e=E.Int8;this.ensureLength(e);let t=this.view.getInt8(this.offset);return this.offset+=e,t}readInt16(){let e=E.Int16;this.ensureLength(e);let t=this.view.getInt16(this.offset);return this.offset+=e,t}readInt32(){let e=E.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=E.BigInt64;this.ensureLength(e);let t=this.view.getBigInt64(this.offset);return this.offset+=e,t}readFloat32(){let e=E.Float32;this.ensureLength(e);let t=this.view.getFloat32(this.offset);return this.offset+=e,t}readFloat64(){let e=E.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=Xe(this.bytes),this.decoder=new TextDecoder}};function Xe(e){return new DataView(e.buffer,e.byteOffset,e.byteLength)}function I(e,...t){if(!e)throw Error("Assertion Error"+(t.length>0?": "+t.join(" "):""))}function Ie(e){throw Error(`Unexpected value: ${e}`)}var B=Uint8Array,G=Uint16Array,it=Int32Array,Ee=new B([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]),De=new B([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]),Ye=new B([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),Nt=function(e,t){for(var r=new G(31),n=0;n<31;++n)r[n]=t+=1<>1|(21845&k)<<1))>>2|(13107&oe)<<2))>>4|(3855&oe)<<4,et[k]=((65280&oe)>>8|(255&oe)<<8)>>1;var te=function(e,t,r){for(var n,a=e.length,i=0,o=new G(t);i>l]=h}else for(i=0,n=new G(a);i>15-e[i]);return n},se=new B(288);for(k=0;k<144;++k)se[k]=8;for(k=144;k<256;++k)se[k]=9;for(k=256;k<280;++k)se[k]=7;for(k=280;k<288;++k)se[k]=8;var Ue=new B(32);for(k=0;k<32;++k)Ue[k]=5;var Lr=te(se,9,0),kr=te(se,9,1),Sr=te(Ue,5,0),Cr=te(Ue,5,1),Ve=function(e){for(var t=e[0],r=1;rt&&(t=e[r]);return t},z=function(e,t,r){var n=t/8|0;return(e[n]|e[n+1]<<8)>>(7&t)&r},He=function(e,t){var r=t/8|0;return(e[r]|e[r+1]<<8|e[r+2]<<16)>>(7&t)},at=function(e){return(e+7)/8|0},Vt=function(e,t,r){return(t==null||t<0)&&(t=0),(r==null||r>e.length)&&(r=e.length),new B(e.subarray(t,r))},Tr=["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"],ie=function(e,t,r){var n=Error(t||Tr[e]);if(n.code=e,Error.captureStackTrace&&Error.captureStackTrace(n,ie),!r)throw n;return n},Mr=function(e,t,r,n){var a=e.length,i=n?n.length:0;if(!a||t.f&&!t.l)return r||new B(0);var o=!r,u=o||t.i!=2,l=t.i;o&&(r=new B(3*a));var h=function(me){var pe=r.length;if(me>pe){var ce=new B(Math.max(2*pe,me));ce.set(r),r=ce}},s=t.f||0,c=t.p||0,f=t.b||0,m=t.l,p=t.d,y=t.m,L=t.n,S=8*a;do{if(!m){s=z(e,c,1);var C=z(e,c+1,3);if(c+=3,C)if(C==1)m=kr,p=Cr,y=9,L=5;else if(C==2){var R=z(e,c,31)+257,P=z(e,c+10,15)+4,w=R+z(e,c+5,31)+1;c+=14;for(var b=new B(w),U=new B(19),x=0;x>4;if(_<16)b[x++]=_;else{var D=0,O=0;for(_==16?(O=3+z(e,c,3),c+=2,D=b[x-1]):_==17?(O=3+z(e,c,7),c+=3):_==18&&(O=11+z(e,c,127),c+=7);O--;)b[x++]=D}}var N=b.subarray(0,R),T=b.subarray(R);y=Ve(N),L=Ve(T),m=te(N,y,1),p=te(T,L,1)}else ie(1);else{var _=at(c)+4,A=e[_-4]|e[_-3]<<8,W=_+A;if(W>a){l&&ie(0);break}u&&h(f+A),r.set(e.subarray(_,W),f),t.b=f+=A,t.p=c=8*W,t.f=s;continue}if(c>S){l&&ie(0);break}}u&&h(f+131072);for(var de=(1<>4;if((c+=15&D)>S){l&&ie(0);break}if(D||ie(2),H<256)r[f++]=H;else if(H==256){re=c,m=null;break}else{var J=H-254;if(H>264){var x=H-257,M=Ee[x];J=z(e,c,(1<>4;X||ie(3),c+=15&X;var T=xr[le];if(le>3){var M=De[le];T+=He(e,c)&(1<S){l&&ie(0);break}u&&h(f+131072);var ue=f+J;if(f>8},ye=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},Je=function(e,t){for(var r=[],n=0;nf&&(f=i[n].s);var m=new G(f+1),p=tt(r[s-1],m,0);if(p>t){var n=0,y=0,L=p-t,S=1<t)y+=S-(1<>=L;y>0;){var R=i[n].s;m[R]=0&&y;--n){var P=i[n].s;m[P]==t&&(--m[P],++y)}p=t}return{t:new B(m),l:p}},tt=function(e,t,r){return e.s==-1?Math.max(tt(e.l,t,r+1),tt(e.r,t,r+1)):t[e.s]=r},Tt=function(e){for(var t=e.length;t&&!e[--t];);for(var r=new G(++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}},ve=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&&!D[Ye[N-1]];--N);var T=h+5<<3,A=ve(a,se)+ve(i,Ue)+o,W=ve(a,L)+ve(i,R)+o+14+3*N+ve(F,D)+2*F[16]+3*F[17]+7*F[18];if(l>=0&&T<=A&&T<=W)return Ht(t,s,e.subarray(l,l+h));if(ne(t,s,1+(W15&&(ne(t,s,H[v]>>5&127),s+=H[v]>>12)}}else c=Lr,f=se,m=Sr,p=Ue;for(var v=0;v255){var J=M>>18&31;ye(t,s,c[J+257]),s+=f[J+257],J>7&&(ne(t,s,M>>23&31),s+=Ee[J]);var X=31&M;ye(t,s,m[X]),s+=p[X],X>3&&(ye(t,s,M>>5&8191),s+=De[X])}else ye(t,s,c[M]),s+=f[M]}return ye(t,s,c[256]),s+f[256]},Rr=new it([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),Jt=new B(0),Pr=function(e,t,r,n,a,i){var o=i.z||e.length,u=new B(n+o+5*(1+Math.ceil(o/7e3))+a),l=u.subarray(n,u.length-a),h=i.l,s=7&(i.r||0);if(t){s&&(l[0]=i.r>>3);for(var c=Rr[t-1],f=c>>13,m=8191&c,p=(1<7e3||V>24576)&&(N>423||!h)){s=Mt(e,l,0,P,w,b,x,V,v,g-v,s),V=U=x=0,v=g;for(var T=0;T<286;++T)w[T]=0;for(var T=0;T<30;++T)b[T]=0}var A=2,W=0,de=m,$=D-O&32767;if(N>2&&_==R(g-$))for(var re=Math.min(f,N)-1,H=Math.min(32767,g),J=Math.min(258,N);$<=H&&--de&&D!=O;){if(e[g+A]==e[g+A-$]){for(var M=0;MA){if(A=M,W=$,M>re)break;for(var X=Math.min($,M-2),le=0,T=0;Tle&&(le=Le,O=ue)}}}O=y[D=O],$+=D-O&32767}if(W){P[V++]=268435456|Ke[A]<<18|Ct[W];var me=31&Ke[A],pe=31&Ct[W];x+=Ee[me]+De[pe],++w[257+me],++b[pe],F=g+A,++U}else P[V++]=e[g],++w[e[g]]}}for(g=Math.max(g,F);g=o&&(l[s/8|0]=h,ce=o),s=Ht(l,s+1,e.subarray(g,ce))}i.i=o}return Vt(u,0,n+at(s)+a)},Er=function(e,t,r,n,a){if(!a&&(a={l:1},t.dictionary)){var i=t.dictionary.subarray(-32768),o=new B(i.length+e.length);o.set(i),o.set(e,i.length),e=o,a.w=i.length}return Pr(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 Gt(e,t){return Er(e,t||{},0,0)}function Wt(e,t){return Mr(e,{i:2},t&&t.out,t&&t.dictionary)}var Dr=typeof TextDecoder<"u"&&new TextDecoder,_r=0;try{Dr.decode(Jt,{stream:!0}),_r=1}catch{}var Fr=1024,Br=1.5,Ge=e=>2**e-1,We=e=>-(2**(e-1)),$e=e=>2**(e-1)-1,Y={Uint8:0,Uint16:0,Uint32:0,Uint64:0,BigUint64:0,Int8:We(8),Int16:We(16),Int32:We(32),Int64:Number.MIN_SAFE_INTEGER,BigInt64:-(BigInt(2)**BigInt(63))},K={Uint8:Ge(8),Uint16:Ge(16),Uint32:Ge(32),Uint64:Number.MAX_SAFE_INTEGER,BigUint64:BigInt(2)**BigInt(64)-BigInt(1),Int8:$e(8),Int16:$e(16),Int32:$e(32),Int64:Number.MAX_SAFE_INTEGER,BigInt64:BigInt(2)**BigInt(63)-BigInt(1)};function ee(e,t,r,n){I(e>=t,e,"outside lower bound for",n),I(e<=r,e,"outside upper bound for",n)}var $t=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*Br)+e);r.set(this.bytes),this.bytes=r,this.view=Xe(r)}writeUint8(e){ee(e,Y.Uint8,K.Uint8,"Uint8");let t=E.Uint8;this.ensureLength(t),this.view.setUint8(this.offset,e),this.offset+=t}writeUint16(e){ee(e,Y.Uint16,K.Uint16,"Uint16");let t=E.Uint16;this.ensureLength(t),this.view.setUint16(this.offset,e),this.offset+=t}writeUint32(e){ee(e,Y.Uint32,K.Uint32,"Uint32");let t=E.Uint32;this.ensureLength(t),this.view.setUint32(this.offset,e),this.offset+=t}writeUint64(e){ee(e,Y.Uint64,K.Uint64,"Uint64");let t=BigInt(e);this.writeBigUint64(t)}writeBigUint64(e){ee(e,Y.BigUint64,K.BigUint64,"BigUint64");let t=E.BigUint64;this.ensureLength(t),this.view.setBigUint64(this.offset,e),this.offset+=t}writeInt8(e){ee(e,Y.Int8,K.Int8,"Int8");let t=E.Int8;this.ensureLength(t),this.view.setInt8(this.offset,e),this.offset+=t}writeInt16(e){ee(e,Y.Int16,K.Int16,"Int16");let t=E.Int16;this.ensureLength(t),this.view.setInt16(this.offset,e),this.offset+=t}writeInt32(e){ee(e,Y.Int32,K.Int32,"Int32");let t=E.Int32;this.ensureLength(t),this.view.setInt32(this.offset,e),this.offset+=t}writeInt64(e){ee(e,Y.Int64,K.Int64,"Int64");let t=BigInt(e);this.writeBigInt64(t)}writeBigInt64(e){ee(e,Y.BigInt64,K.BigInt64,"BigInt64");let t=E.BigInt64;this.ensureLength(t),this.view.setBigInt64(this.offset,e),this.offset+=t}writeFloat32(e){let t=E.Float32;this.ensureLength(t),this.view.setFloat32(this.offset,e),this.offset+=t}writeFloat64(e){let t=E.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(Fr),this.view=Xe(this.bytes),this.encoder=new TextEncoder,this.encodedStrings=new Map}};function ze(e){return Number.isFinite(e)}function Ze(e){return e===void 0}function Te(e){return e===null}var ae=class{static fromString(e){let[t,r,n]=e.split("/").map(Number);return I(ze(t),"Invalid chunkId"),I(ze(r),"Invalid offset"),I(ze(n),"Invalid length"),new ae(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 ae(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:(I(this.length===e.length),0)}constructor(e,t,r){this.chunkId=e,this.offset=t,this.length=r}};function Qe(e){if(Te(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;default:Ie(e)}}function qr(e){let t=e.readUint16(),r=[];for(let n=0;na)return 1;for(let i=0;it.value?1:0}function Hr(e){return{type:d.Color,value:e.readString()}}function Jr(e,t){e.writeString(t.value)}function Gr(e,t){return e.valuet.value?1:0}function Wr(e){let t=e.readInt64(),r=new Date(t);return{type:d.Date,value:r.toISOString()}}function $r(e,t){let r=new Date(t.value),n=r.getTime();e.writeInt64(n)}function zr(e,t){let r=new Date(e.value),n=new Date(t.value);return rn?1:0}function Zr(e){return{type:d.Enum,value:e.readString()}}function Qr(e,t){e.writeString(t.value)}function Xr(e,t){return e.valuet.value?1:0}function Yr(e){return{type:d.File,value:e.readString()}}function Kr(e,t){e.writeString(t.value)}function en(e,t){return e.valuet.value?1:0}function tn(e){return{type:d.Link,value:e.readJson()}}function rn(e,t){e.writeJson(t.value)}function nn(e,t){let r=JSON.stringify(e.value),n=JSON.stringify(t.value);return rn?1:0}function an(e){return{type:d.Number,value:e.readFloat64()}}function sn(e,t){e.writeFloat64(t.value)}function on(e,t){return e.valuet.value?1:0}function ln(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,h=t.value[u]??null,s=q.compare(l,h,r);if(s!==0)return s}return 0}function fn(e){return{type:d.ResponsiveImage,value:e.readJson()}}function hn(e,t){e.writeJson(t.value)}function dn(e,t){let r=JSON.stringify(e.value),n=JSON.stringify(t.value);return rn?1:0}function mn(e){return{type:d.RichText,value:e.readUint32()}}function pn(e,t){e.writeUint32(t.value)}function gn(e,t){let r=e.value,n=t.value;return rn?1:0}function yn(e){return{type:d.String,value:e.readString()}}function vn(e,t){e.writeString(t.value)}function wn(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 qr(t);case 2:return Or(t);case 3:return Hr(t);case 4:return Wr(t);case 5:return Zr(t);case 6:return Yr(t);case 7:return tn(t);case 8:return an(t);case 9:return ln(t);case 10:return fn(t);case 11:return mn(t);case 12:return yn(t);default:Ie(r)}},e.write=function(t,r){let n=Qe(r);if(t.writeUint8(n),!Te(r))switch(r.type){case d.Array:return Nr(t,r);case d.Boolean:return jr(t,r);case d.Color:return Jr(t,r);case d.Date:return $r(t,r);case d.Enum:return Qr(t,r);case d.File:return Kr(t,r);case d.Link:return rn(t,r);case d.Number:return sn(t,r);case d.Object:return un(t,r);case d.ResponsiveImage:return hn(t,r);case d.RichText:return pn(t,r);case d.String:return vn(t,r);default:Ie(r)}},e.compare=function(t,r,n){let a=Qe(t),i=Qe(r);if(ai)return 1;if(Te(t)||Te(r))return 0;switch(t.type){case d.Array:return I(r.type===d.Array),Ar(t,r,n);case d.Boolean:return I(r.type===d.Boolean),Vr(t,r);case d.Color:return I(r.type===d.Color),Gr(t,r);case d.Date:return I(r.type===d.Date),zr(t,r);case d.Enum:return I(r.type===d.Enum),Xr(t,r);case d.File:return I(r.type===d.File),en(t,r);case d.Link:return I(r.type===d.Link),nn(t,r);case d.Number:return I(r.type===d.Number),on(t,r);case d.Object:return I(r.type===d.Object),cn(t,r,n);case d.ResponsiveImage:return I(r.type===d.ResponsiveImage),dn(t,r);case d.RichText:return I(r.type===d.RichText),gn(t,r);case d.String:return I(r.type===d.String),wn(t,r,n);default:Ie(t)}}})(q||(q={}));var zt=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,bn=250,In=[408,429,500,502,503,504],Re=async(e,t)=>{let r=0;for(;;){try{let n=await fetch(e,t);if(!In.includes(n.status)||++r>Rt)return n}catch(n){if(t?.signal?.aborted||++r>Rt)throw n}await Un(r)}};async function Un(e){let t=Math.floor(bn*(Math.random()+1)*2**(e-1));await new Promise(r=>{setTimeout(r,t)})}function xn(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 Ln=qt(Ir()),we=`\r `,Ce="--";async function kn(e,t){let r=new URL(e),n=Rn(t);r.searchParams.set("rangeHash",xn(n).toString(16));let a=await Re(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 Tn,h=new Ln.default(u);if(h.type==="multipart"&&h.subtype==="byteranges"){let s=h.parameters.get("boundary");if(!s)throw Error("Missing boundary parameter");let c=Cn(o,s);for(let{headers:f,body:m}of c){let p=f.get("Content-Range");if(!p)throw Error("Missing Content-Range header");let y=Pt(p);if(y.unit!=="bytes")throw Error("Unsupported unit");l.write(y.start,m)}}else{let s=a.headers.get("Content-Range");if(!s)throw Error("Missing Content-Range header");let c=Pt(s);if(c.unit!=="bytes")throw Error("Unsupported unit");l.write(c.start,o)}return t.map(s=>l.read(s.from,s.to-s.from))}throw Error(`Unsupported response: ${a.status} ${a.statusText}`)}var be=new TextEncoder,Sn=new TextDecoder;function Cn(e,t){let r=be.encode(Ce+t),n=rt(e,r);if(Ze(n))throw Error("Missing parts start");let a=n+r.length,i=be.encode(we+Ce+t+Ce),o=Mn(e,i);if(Ze(o))throw Error("Missing parts end");let u=be.encode(we+Ce+t),l=e.subarray(a,o);return Et(l,u).map(s=>{let c=be.encode(we+we),f=rt(s,c);if(Ze(f))throw Error("Missing headers end");let m=be.encode(we),p=s.subarray(0,f),y=Et(p,m),L=new Headers;for(let R of y){let P=Sn.decode(R),[w,b]=P.split(": ",2);w&&b&&L.append(w,b)}let S=f+c.length,C=s.slice(S);return{headers:L,body:C}})}function Pt(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 Tn=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 h=r-l.start,s=l.data.subarray(0,h);t=Dt(s,t),r=l.start}break}}for(;i>a;i--){let l=this.chunks[i-1];if(I(l,"Missing chunk"),!(n0;){let n=rt(e,t)??e.length,a=e.subarray(0,n);r.push(a),e=e.subarray(n+t.length)}return r}function rt(e,t){for(let r=0;r=0;r--){let n=e.subarray(r);if(Zt(n,t))return r}}function Zt(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 Qt(e,t,r){if(!r)return kn(e,t);let n=En(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 Re(o);if(l.status!==200)throw Error(`Request failed: ${l.status} ${l.statusText}`);let h=await l.arrayBuffer(),s=new Uint8Array(h);if(s.length!==i)throw Error("Request failed: Unexpected response length");let c=new Pn,f=0;for(let m of n){let p=m.to-m.from,y=f+p,L=s.subarray(f,y);c.write(m.from,L),f=y}return t.map(m=>c.read(m.from,m.to-m.from))}var Pn=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 h=r-l.start,s=l.data.subarray(0,h);t=_t(s,t),r=l.start}break}}for(;i>a;i--){let l=this.chunks[i-1];if(I(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 Z=class{async loadModel(){let[e]=await Qt(this.options.url,[this.options.range],this.options.cmsBackendCompression);return I(e,"Failed to load model"),zt.deserialize(e,this.options.cmsBackendCompression)}async getModel(){return this.modelPromise??=this.loadModel(),this.model??=await this.modelPromise,this.model}async lookupItems(e){I(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:Ie(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!==d.String||t.value?.type!==d.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!==d.String||t.value?.type!==d.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!==d.String||t.value?.type!==d.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>q.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];q.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 Me(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 Ur.default(async a=>{let i=a.map(l=>{let h=ae.fromString(l);return{from:h.offset,to:h.offset+h.length}}),[o,u]=await Promise.all([Qt(this.url,i,!this.compressionDictionaryUrl),this.getCompressionDictionary()]);return o.map((l,h)=>{let s=new Me(l),c=nt.read(s,u),f=a[h];return I(f,"Missing pointer"),{pointer:f,data:c.getData()}})})}},Xt=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=ae.fromString(t),n=this.chunks[r.chunkId];return I(n,"Missing chunk"),n.resolveItem(t)}))}compareItems(e,t){let r=ae.fromString(e.pointer),n=ae.fromString(t.pointer);return r.compare(n)}compareValues(e,t,r){return q.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 Dn(n,r,this.options.compressionDictionary,t))}};var _n=[];async function Yt(e){let t=_n[e];if(t)return await t()}var Q={bMy365VDK:{isNullable:!0,type:d.String},BWeJmGOD9:{isNullable:!0,type:d.String},DUCk9oVv0:{isNullable:!0,type:d.Link},id:{isNullable:!1,type:d.String},nextItemId:{isNullable:!0,type:d.String},PI383wqKU:{isNullable:!0,type:d.String},previousItemId:{isNullable:!0,type:d.String},vSrI70VPg:{isNullable:!0,type:d.String}},fi=new yt,Kt={collectionByLocaleId:{default:new Xt({chunks:[new URL("./JeDlPdxqR-chunk-default-0.framercms","https://framerusercontent.com/modules/Pn2H2xZ6Qb9piqTaVgEs/lPLYG1Mvkm8UgSXm5N2j/JeDlPdxqR.js").href.replace("/modules/","/cms/")],compressionDictionary:null,indexes:[new Z({cmsBackendCompression:!0,collation:{type:1},collectionSchema:Q,fieldNames:["id"],range:{from:0,to:1417},url:new URL("./JeDlPdxqR-indexes-default-0.framercms","https://framerusercontent.com/modules/Pn2H2xZ6Qb9piqTaVgEs/lPLYG1Mvkm8UgSXm5N2j/JeDlPdxqR.js").href.replace("/modules/","/cms/")}),new Z({cmsBackendCompression:!0,collation:{type:1},collectionSchema:Q,fieldNames:["previousItemId"],range:{from:1417,to:2833},url:new URL("./JeDlPdxqR-indexes-default-0.framercms","https://framerusercontent.com/modules/Pn2H2xZ6Qb9piqTaVgEs/lPLYG1Mvkm8UgSXm5N2j/JeDlPdxqR.js").href.replace("/modules/","/cms/")}),new Z({cmsBackendCompression:!0,collation:{type:1},collectionSchema:Q,fieldNames:["nextItemId"],range:{from:2833,to:4245},url:new URL("./JeDlPdxqR-indexes-default-0.framercms","https://framerusercontent.com/modules/Pn2H2xZ6Qb9piqTaVgEs/lPLYG1Mvkm8UgSXm5N2j/JeDlPdxqR.js").href.replace("/modules/","/cms/")}),new Z({cmsBackendCompression:!0,collation:{type:1},collectionSchema:Q,fieldNames:["id","BWeJmGOD9"],range:{from:4245,to:17646},url:new URL("./JeDlPdxqR-indexes-default-0.framercms","https://framerusercontent.com/modules/Pn2H2xZ6Qb9piqTaVgEs/lPLYG1Mvkm8UgSXm5N2j/JeDlPdxqR.js").href.replace("/modules/","/cms/")}),new Z({cmsBackendCompression:!0,collation:{type:1},collectionSchema:Q,fieldNames:["BWeJmGOD9","id"],range:{from:17646,to:31047},url:new URL("./JeDlPdxqR-indexes-default-0.framercms","https://framerusercontent.com/modules/Pn2H2xZ6Qb9piqTaVgEs/lPLYG1Mvkm8UgSXm5N2j/JeDlPdxqR.js").href.replace("/modules/","/cms/")}),new Z({cmsBackendCompression:!0,collation:{type:0},collectionSchema:Q,fieldNames:["PI383wqKU"],range:{from:31047,to:43547},url:new URL("./JeDlPdxqR-indexes-default-0.framercms","https://framerusercontent.com/modules/Pn2H2xZ6Qb9piqTaVgEs/lPLYG1Mvkm8UgSXm5N2j/JeDlPdxqR.js").href.replace("/modules/","/cms/")}),new Z({cmsBackendCompression:!0,collation:{type:0},collectionSchema:Q,fieldNames:["bMy365VDK"],range:{from:43547,to:45298},url:new URL("./JeDlPdxqR-indexes-default-0.framercms","https://framerusercontent.com/modules/Pn2H2xZ6Qb9piqTaVgEs/lPLYG1Mvkm8UgSXm5N2j/JeDlPdxqR.js").href.replace("/modules/","/cms/")}),new Z({cmsBackendCompression:!0,collation:{type:0},collectionSchema:Q,fieldNames:["DUCk9oVv0"],range:{from:45298,to:47100},url:new URL("./JeDlPdxqR-indexes-default-0.framercms","https://framerusercontent.com/modules/Pn2H2xZ6Qb9piqTaVgEs/lPLYG1Mvkm8UgSXm5N2j/JeDlPdxqR.js").href.replace("/modules/","/cms/")}),new Z({cmsBackendCompression:!0,collation:{type:0},collectionSchema:Q,fieldNames:["BWeJmGOD9"],range:{from:47100,to:59683},url:new URL("./JeDlPdxqR-indexes-default-0.framercms","https://framerusercontent.com/modules/Pn2H2xZ6Qb9piqTaVgEs/lPLYG1Mvkm8UgSXm5N2j/JeDlPdxqR.js").href.replace("/modules/","/cms/")}),new Z({cmsBackendCompression:!0,collation:{type:0},collectionSchema:Q,fieldNames:["vSrI70VPg"],range:{from:59683,to:61875},url:new URL("./JeDlPdxqR-indexes-default-0.framercms","https://framerusercontent.com/modules/Pn2H2xZ6Qb9piqTaVgEs/lPLYG1Mvkm8UgSXm5N2j/JeDlPdxqR.js").href.replace("/modules/","/cms/")})],resolveRichText:Yt,schema:Q})},displayName:"Testimionals"},hi=Kt;Se(Kt,{PI383wqKU:{defaultValue:"",title:"Testimional ",type:d.String},bMy365VDK:{defaultValue:"",title:"Company",type:d.String},DUCk9oVv0:{title:"Link",type:d.Link},BWeJmGOD9:{title:"Slug",type:d.String},vSrI70VPg:{defaultValue:"",title:"Page",type:d.String},previousItemId:{dataIdentifier:"local-module:collection/JeDlPdxqR:default",title:"Previous",type:d.CollectionReference},nextItemId:{dataIdentifier:"local-module:collection/JeDlPdxqR:default",title:"Next",type:d.CollectionReference}});export{jn as a,hi as b}; //# sourceMappingURL=chunk-7QGYH6OX.mjs.map