1import{j as y,g as X,e as J}from"./components-B3N1nR5B.js";import{u as k}from"./Link-BzMmS5B1.js";function st({className:p,text:h}){return y.jsxs("div",{className:`text-sub-heading-uppercase flex transition duration-200 group lg:hover:text-charcoal500 group ${p}`,children:[y.jsx("svg",{className:"group-hover:hidden",width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:y.jsx("path",{d:"M8.09722 11.432L11.8292 7.7L8.09722 3.968L7.52122 4.544L10.2692 7.292H3.76522V3.5H2.94922V8.108H10.2692L7.52122 10.856L8.09722 11.432Z",fill:"currentColor"})}),y.jsx("svg",{className:"hidden group-hover:flex",width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:y.jsx("path",{d:"M8.09722 11.4318L11.8292 7.69977L8.09722 3.96777L7.52122 4.54377L10.2692 7.29177H3.76522H3.33375L2.94922 7.29177V8.10777H10.2692L7.52122 10.8558L8.09722 11.4318Z",fill:"currentColor"})}),y.jsx("span",{className:"transition-[padding] pl-2 lg:group-hover:pl-4",children:h&&h})]})}var K={exports:{}};(function(p,h){(function(g,d){p.exports=d()})(J,function(){function g(t,i){(i==null||i>t.length)&&(i=t.length);for(var e=0,r=Array(i);e<i;e++)r[e]=t[e];return r}function d(t,i){var e=typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"];if(e)return(e=e.call(t)).next.bind(e);if(Array.isArray(t)||(e=S(t))||i){e&&(t=e);var r=0;return function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. 2In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function o(){return o=Object.assign?Object.assign.bind():function(t){for(var i=1;i<arguments.length;i++){var e=arguments[i];for(var r in e)({}).hasOwnProperty.call(e,r)&&(t[r]=e[r])}return t},o.apply(null,arguments)}function S(t,i){if(t){if(typeof t=="string")return g(t,i);var e={}.toString.call(t).slice(8,-1);return e==="Object"&&t.constructor&&(e=t.constructor.name),e==="Map"||e==="Set"?Array.from(t):e==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?g(t,i):void 0}}var x="image-Tb9Ew8CXIwaY6R1kjMvI0uRR-2000x3000-jpg";function V(t){var i=t.split("-"),e=i[1],r=i[2],s=i[3];if(!e||!r||!s)throw new Error("Malformed asset _ref '"+t+`'. Expected an id like "`+x+'".');var n=r.split("x"),a=n[0],l=n[1],m=+a,c=+l,f=isFinite(m)&&isFinite(c);if(!f)throw new Error("Malformed asset _ref '"+t+`'. Expected an id like "`+x+'".');return{id:e,width:m,height:c,format:s}}var U=function(i){var e=i;return e?typeof e._ref=="string":!1},B=function(i){var e=i;return e?typeof e._id=="string":!1},W=function(i){var e=i;return e&&e.asset?typeof e.asset.url=="string":!1},O=function(i){if(typeof i=="object"&&i!==null){var e=i;return e._upload&&(!e.asset||!e.asset._ref)}return!1};function H(t){if(!t)return null;var i;if(typeof t=="string"&&q(t))i={asset:{_ref:E(t)}};else if(typeof t=="string")i={asset:{_ref:t}};else if(U(t))i={asset:t};else if(B(t))i={asset:{_ref:t._id||""}};else if(W(t))i={asset:{_ref:E(t.asset.url)}};else if(typeof t.asset=="object")i=o({},t);else return null;var e=t;return e.crop&&(i.crop=e.crop),e.hotspot&&(i.hotspot=e.hotspot),P(i)}function q(t){return/^https?:\/\//.test(""+t)}function E(t){var i=t.split("/").slice(-1);return("image-"+i[0]).replace(/\.([a-z]+)$/,"-$1")}function P(t){if(t.crop&&t.hotspot)return t;var i=o({},t);return i.crop||(i.crop={left:0,top:0,bottom:0,right:0}),i.hotspot||(i.hotspot={x:.5,y:.5,height:1,width:1}),i}var L=[["width","w"],["height","h"],["format","fm"],["download","dl"],["blur","blur"],["sharpen","sharp"],["invert","invert"],["orientation","or"],["minHeight","min-h"],["maxHeight","max-h"],["minWidth","min-w"],["maxWidth","max-w"],["quality","q"],["fit","fit"],["crop","crop"],["saturation","sat"],["auto","auto"],["dpr","dpr"],["pad","pad"],["frame","frame"]];function R(t){var i=o({},t||{}),e=i.source;delete i.source;var r=H(e);if(!r){if(e&&O(e))return"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mP8HwQACfsD/QNViZkAAAAASUVORK5CYII=";throw new Error("Unable to resolve image URL from source ("+JSON.stringify(e)+")")}var s=r.asset._ref||r.asset._id||"",n=V(s),a=Math.round(r.crop.left*n.width),l=Math.round(r.crop.top*n.height),m={left:a,top:l,width:Math.round(n.width-r.crop.right*n.width-a),height:Math.round(n.height-r.crop.bottom*n.height-l)},c=r.hotspot.height*n.height/2,f=r.hotspot.width*n.width/2,I=r.hotspot.x*n.width,A=r.hotspot.y*n.height,v={left:I-f,top:A-c,right:I+f,bottom:A+c};return i.rect||i.focalPoint||i.ignoreImageParams||i.crop||(i=o({},i,T({crop:m,hotspot:v},i))),u(o({},i,{asset:n}))}function u(t){var i=(t.baseUrl||"https://cdn.sanity.io").replace(/\/+$/,""),e=t.vanityName?"/"+t.vanityName:"",r=t.asset.id+"-"+t.asset.width+"x"+t.asset.height+"."+t.asset.format+e,s=i+"/images/"+t.projectId+"/"+t.dataset+"/"+r,n=[];if(t.rect){var a=t.rect,l=a.left,m=a.top,c=a.width,f=a.height,I=l!==0||m!==0||f!==t.asset.height||c!==t.asset.width;I&&n.push("rect="+l+","+m+","+c+","+f)}t.bg&&n.push("bg="+t.bg),t.focalPoint&&(n.push("fp-x="+t.focalPoint.x),n.push("fp-y="+t.focalPoint.y));
2var A=[t.flipHorizontal&&"h",t.flipVertical&&"v"].filter(Boolean).join("");return A&&n.push("flip="+A),L.forEach(function(v){var j=v[0],w=v[1];typeof t[j]<"u"?n.push(w+"="+encodeURIComponent(t[j])):typeof t[w]<"u"&&n.push(w+"="+encodeURIComponent(t[w]))}),n.length===0?s:s+"?"+n.join("&")}function T(t,i){var e,r=i.width,s=i.height;if(!(r&&s))return{width:r,height:s,rect:t.crop};var n=t.crop,a=t.hotspot,l=r/s,m=n.width/n.height;if(m>l){var c=Math.round(n.height),f=Math.round(c*l),I=Math.max(0,Math.round(n.top)),A=Math.round((a.right-a.left)/2+a.left),v=Math.max(0,Math.round(A-f/2));v<n.left?v=n.left:v+f>n.left+n.width&&(v=n.left+n.width-f),e={left:v,top:I,width:f,height:c}}else{var j=n.width,w=Math.round(j/l),Y=Math.max(0,Math.round(n.left)),Z=Math.round((a.bottom-a.top)/2+a.top),M=Math.max(0,Math.round(Z-w/2));M<n.top?M=n.top:M+w>n.top+n.height&&(M=n.top+n.height-w),e={left:Y,top:M,width:j,height:w}}return{width:r,height:s,rect:e}}var C=["clip","crop","fill","fillmax","max","scale","min"],D=["top","bottom","left","right","center","focalpoint","entropy"],F=["format"];function N(t){return t&&"config"in t?typeof t.config=="function":!1}function b(t){return t&&"clientConfig"in t?typeof t.clientConfig=="object":!1}function _(t){for(var i=L,e=d(i),r;!(r=e()).done;){var s=r.value,n=s[0],a=s[1];if(t===n||t===a)return n}return t}function Q(t){if(N(t)){var i=t.config(),e=i.apiHost,r=i.projectId,s=i.dataset,n=e||"https://api.sanity.io";return new $(null,{baseUrl:n.replace(/^https:\/\/api\./,"https://cdn."),projectId:r,dataset:s})}if(b(t)){var a=t.clientConfig,l=a.apiHost,m=a.projectId,c=a.dataset,f=l||"https://api.sanity.io";return new $(null,{baseUrl:f.replace(/^https:\/\/api\./,"https://cdn."),projectId:m,dataset:c})}return new $(null,t||{})}var $=function(){function t(e,r){this.options=void 0,this.options=e?o({},e.options||{},r||{}):o({},r||{})}var i=t.prototype;return i.withOptions=function(r){var s=r.baseUrl||this.options.baseUrl,n={baseUrl:s};for(var a in r)if(r.hasOwnProperty(a)){var l=_(a);n[l]=r[a]}return new t(this,o({baseUrl:s},n))},i.image=function(r){return this.withOptions({source:r})},i.dataset=function(r){return this.withOptions({dataset:r})},i.projectId=function(r){return this.withOptions({projectId:r})},i.bg=function(r){return this.withOptions({bg:r})},i.dpr=function(r){return this.withOptions(r&&r!==1?{dpr:r}:{})},i.width=function(r){return this.withOptions({width:r})},i.height=function(r){return this.withOptions({height:r})},i.focalPoint=function(r,s){return this.withOptions({focalPoint:{x:r,y:s}})},i.maxWidth=function(r){return this.withOptions({maxWidth:r})},i.minWidth=function(r){return this.withOptions({minWidth:r})},i.maxHeight=function(r){return this.withOptions({maxHeight:r})},i.minHeight=function(r){return this.withOptions({minHeight:r})},i.size=function(r,s){return this.withOptions({width:r,height:s})},i.blur=function(r){return this.withOptions({blur:r})},i.sharpen=function(r){return this.withOptions({sharpen:r})},i.rect=function(r,s,n,a){return this.withOptions({rect:{left:r,top:s,width:n,height:a}})},i.format=function(r){return this.withOptions({format:r})},i.invert=function(r){return this.withOptions({invert:r})},i.orientation=function(r){return this.withOptions({orientation:r})},i.quality=function(r){return this.withOptions({quality:r})},i.forceDownload=function(r){return this.withOptions({download:r})},i.flipHorizontal=function(){return this.withOptions({flipHorizontal:!0})},i.flipVertical=function(){return this.withOptions({flipVertical:!0})},i.ignoreImageParams=function(){return this.withOptions({ignoreImageParams:!0})},i.fit=function(r){if(C.indexOf(r)===-1)throw new Error('Invalid fit mode "'+r+'"');return this.withOptions({fit:r})},i.crop=function(r){if(D.indexOf(r)===-1)throw new Error('Invalid crop mode "'+r+'"');return this.withOptions({crop:r})},i.saturation=function(r){return this.withOptions({saturation:r})},i.auto=function(r){if(F.indexOf(r)===-1)throw new Error('Invalid auto mode "'+r+'"');return this.withOptions({auto:r})},i.pad=function(r){return this.withOptions({pad:r})},i.vanityName=function(r){return this.withOptions({vanityName:r})},i.frame=function(r){if(r!==1)throw new Error('Invalid frame value "'+r+'"');return this.withOptions({frame:r})},i.url=function(){return R(this.options)},i.toString=function(){return this.url()},t}();return Q})})(K);var tt=K.exports;const z=X(tt),rt=typeof z=="function"?z:z.default,G=[55,110,320,640,768,1024,1280,1536],it=(p,h)=>p.slice(0,h).filter(d=>d!==null).pop(),et=(p,h,{quality:g},d,o,S)=>h.map(x=>`${p.fit("crop").auto("format").quality(g)} ${x}w`).join(", "),nt=(p,h)=>{if(h)return typeof h=="string"?h:h.length===1&&h[0]!==null?h[0]:h.map((g,d)=>{if(d===h.length-1)return h[d];let o=g;return g===null&&(o=it(h,d)),`(max-width: ${p==null?void 0:p[d]}px) ${o}`}).join(", ")};function ht(p){const h=k(),{sanityDataset:g,sanityProjectID:d}=h.data,{crop:o,dataset:S=g,height:x,hotspot:V,layout:U,objectFit:B,objectPosition:W,options:O,projectId:H=d,quality:q=80,sizes:E,src:P,position:L,width:R,...u}=p,T=W??L;if(!S)throw new Error('SanityImage is missing required "dataset" property.');if(!H)throw new Error('SanityImage is missing required "projectId" property.');if(!P)return null;u==null||delete u.decoding,u==null||delete u.ref,u==null||delete u.srcSet,u==null||delete u.style;const C=rt({projectId:H,dataset:S}).image({_ref:P,crop:o,hotspot:V}),D=nt(G,E),F=et(C,G,{quality:q});let N;if(x&&R){const _=1-((o==null?void 0:o.left)||0)-((o==null?void 0:o.right)||0),Q=1-((o==null?void 0:o.bottom)||0)-((o==null?void 0:o.top)||0);N=R*_/(x*Q)}let b=C;return O!=null&&O.blur&&(b=b.blur(O.blur)),b=b.url(),y.jsx(y.Fragment,{children:y.jsx("img",{className:"sanity-image",...u,decoding:"async",sizes:D,src:b,
2srcSet:F,style:{...U==="fill"&&{bottom:0,height:"100%",left:0,objectFit:B,position:"absolute",objectPosition:T,right:0,top:0,width:"100%"},...U==="responsive"&&{aspectRatio:N,width:"100%"}}})})}export{st as A,ht as S,rt as i};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.