import{a4 as N,a5 as J,a6 as q,L as ,ドルa7 as Q,a8 as j,a9 as Z,a as D,u as A,c as p,z as K,aa as _,r as B,o as ee,e as w,Q as te,i as b,V as M,h as r,ab as ie,p as F,t as ae,n as z,b as re,J as oe,a0 as le,f as P,k as I,F as C,q as W,Y as T,x as H}from"#entry";import se from"./DZUnxhR9.js";async function ne(e,i){return await de(i).catch(o=>(console.error("Failed to get image meta for "+i,o+""),{width:0,height:0,ratio:0}))}async function de(e){if(typeof Image>"u")throw new TypeError("Image not supported");return new Promise((i,t)=>{const o=new Image;o.onload=()=>{const l={width:o.width,height:o.height,ratio:o.width/o.height};i(l)},o.onerror=l=>t(l),o.src=e})}function G(e){return i=>i?e[i]||i:e.missingValue}function E({formatter:e,keyMap:i,joinWith:t="/",valueMap:o}={}){e||(e=(s,c)=>`${s}=${c}`),i&&typeof i!="function"&&(i=G(i));const l=o||{};return Object.keys(l).forEach(s=>{typeof l[s]!="function"&&(l[s]=G(l[s]))}),(s={})=>Object.entries(s).filter(([m,g])=>typeof g<"u").map(([m,g])=>{const u=l[m];return typeof u=="function"&&(g=u(s[m])),m=typeof i=="function"?i(m):m,e(m,g)}).join(t)}function S(e=""){if(typeof e=="number")return e;if(typeof e=="string"&&e.replace("px","").match(/^\d+$/g))return Number.parseInt(e,10)}function ce(e=""){if(e===void 0||!e.length)return[];const i=new Set;for(const t of e.split(" ")){const o=Number.parseInt(t.replace("x",""));o&&i.add(o)}return Array.from(i)}function me(e){if(e.length===0)throw new Error("`densities` must not be empty, configure to `1` to render regular size only (DPR 1.0)")}function ue(e){const i={};if(typeof e=="string")for(const t of e.split(/[\s,]+/).filter(o=>o)){const o=t.split(":");o.length!==2?i["1px"]=o[0].trim():i[o[0].trim()]=o[1].trim()}else Object.assign(i,e);return i}function ge(e){const i={options:e},t=(l,s={})=>U(i,l,s),o=(l,s={},c={})=>t(l,{...c,modifiers:N(s,c.modifiers||{})}).url;for(const l in e.presets)o[l]=(s,c,m)=>o(s,c,{...e.presets[l],...m});return o.options=e,o.getImage=t,o.getMeta=(l,s)=>fe(i,l,s),o.getSizes=(l,s)=>ye(i,l,s),i.$img=o,o}async function fe(e,i,t){const o=U(e,i,{...t});return typeof o.getMeta=="function"?await o.getMeta():await ne(e,o.url)}function U(e,i,t){if(i&&typeof i!="string")throw new TypeError(`input must be a string (received ${typeof i}: ${JSON.stringify(i)})`);if(!i||i.startsWith("data:"))return{url:i};const{provider:o,defaults:l}=he(e,t.provider||e.options.provider),s=pe(e,t.preset);if(i=q(i)?i:J(i),!o.supportsAlias){for(const u in e.options.alias)if(i.startsWith(u)){const y=e.options.alias[u];y&&(i=$(y,i.slice(u.length)))}}if(o.validateDomains&&q(i)){const u=Q(i).host;if(!e.options.domains.find(y=>y===u))return{url:i}}const c=N(t,s,l);c.modifiers={...c.modifiers};const m=c.modifiers.format;c.modifiers?.width&&(c.modifiers.width=S(c.modifiers.width)),c.modifiers?.height&&(c.modifiers.height=S(c.modifiers.height));const g=o.getImage(i,c,e);return g.format=g.format||m||"",g}function he(e,i){const t=e.options.providers[i];if(!t)throw new Error("Unknown provider: "+i);return t}function pe(e,i){if(!i)return{};if(!e.options.presets[i])throw new Error("Unknown preset: "+i);return e.options.presets[i]}function ye(e,i,t){const o=S(t.modifiers?.width),l=S(t.modifiers?.height),s=ue(t.sizes),c=t.densities?.trim()?ce(t.densities.trim()):e.options.densities;me(c);const m=o&&l?l/o:0,g=[],u=[];if(Object.keys(s).length>=1){for(const n in s){const f=L(n,String(s[n]),l,m,e);if(f!==void 0){g.push({size:f.size,screenMaxWidth:f.screenMaxWidth,media:`(max-width: ${f.screenMaxWidth}px)`});for(const h of c)u.push({width:f._cWidth*h,src:R(e,i,t,f,h)})}}be(g)}else for(const n of c){const f=Object.keys(s)[0];let h=f?L(f,String(s[f]),l,m,e):void 0;h===void 0&&(h={size:"",screenMaxWidth:0,_cWidth:t.modifiers?.width,_cHeight:t.modifiers?.height}),u.push({width:n,src:R(e,i,t,h,n)})}ve(u);const y=u[u.length-1],v=g.length?g.map(n=>`${n.media?n.media+" ":""}${n.size}`).join(", "):void 0,a=v?"w":"x",k=u.map(n=>`${n.src} ${n.width}${a}`).join(", ");return{sizes:v,srcset:k,src:y?.src}}function L(e,i,t,o,l){const s=l.options.screens&&l.options.screens[e]||Number.parseInt(e),c=i.endsWith("vw");if(!c&&/^\d+$/.test(i)&&(i=i+"px"),!c&&!i.endsWith("px"))return;let m=Number.parseInt(i);if(!s||!m)return;c&&(m=Math.round(m/100*s));const g=o?Math.round(m*o):t;return{size:i,screenMaxWidth:s,_cWidth:m,_cHeight:g}}function R(e,i,t,o,l){return e.$img(i,{...t.modifiers,width:o._cWidth?o._cWidth*l:void 0,height:o._cHeight?o._cHeight*l:void 0},t)}function be(e){e.sort((t,o)=>t.screenMaxWidth-o.screenMaxWidth);let i=null;for(let t=e.length-1;t>=0;t--){const o=e[t];o.media===i&&e.splice(t,1),i=o.media}for(let t=0;tt.width-o.width);let i=null;for(let t=e.length-1;t>=0;t--){const o=e[t];o.width===i&&e.splice(t,1),i=o.width}}const V=E({keyMap:{width:"w",height:"h",format:"fm",quality:"q",backgroundColor:"bg",rotate:"rot",mask:"mask",auto:"auto",crop:"crop",brightness:"bri",contrast:"con",exposure:"exp",gamma:"gam",highlight:"high",hueShift:"hue",invert:"invert",saturation:"sat",shadow:"shad",sharpen:"sharp",unsharpMask:"usm",unsharpMaskRadius:"usmrad",vibrance:"vib",blend:"blend",blendAlign:"blend-align",blendAlpha:"blend-alpha",blendColor:"blend-color",blendCrop:"blend-crop",blendFit:"blend-fit",blendHeight:"blend-h",blendMode:"blend-mode",blendPadding:"blend-pad",blendSize:"blend-size",blendWidth:"blend-w",blendXPosition:"blend-x",blendYPosition:"blend-y",padding:"pad",borderBottom:"border-bottom",borderLeft:"border-left",innerBorderRadius:"border-radius-inner",outerBorderRadius:"border-radius",borderRight:"border-right",borderTop:"border-top",borderSizeColor:"border",paddingBottom:"pad-bottom",paddingLeft:"pad-left",paddingRight:"pad-right",paddingTop:"pad-top",paletteColorCount:"colors",colorPaletteExtraction:"palette",cssPrefix:"prefix",expirationTimestamp:"expires",faceIndex:"faceindex",facePadding:"facepad",jsonFaceData:"faces",fillMode:"fill",fillColor:"fill-color",gridColors:"grid-colors",gridSize:"grid-size",transparency:"transparency",focalPointDebug:"fp-debug",focalPointXPosition:"fp-x",focalPointYPosition:"fp-y",focalPointZoom:"fp-z",clientHints:"ch",chromaSubsampling:"chromasub",colorQuantization:"colorquant",colorSpace:"cs",download:"dl",dotsPerInch:"dpi",losslessCompression:"lossless",maskBackgroundColor:"mask-bg",maskCornerRadius:"corner-radius",noiseReductionSharp:"nrs",noiseReductionBound:"nr",pdfPageNumber:"page",pdfAnnotation:"pdf-annotation",pixelDensity:"dpr",orientation:"orient",flipAxis:"flip",aspectRatio:"ar",maximumHeight:"max-h",maximumWidth:"max-w",minimumHeight:"min-h",minimumWidth:"min-w",sourceRectangleRegion:"rect",gaussianBlur:"blur",duotoneAlpha:"duotone-alpha",duotone:"duotone",halftone:"htn",monochrome:"monochrome",pixellate:"px",sepiaTone:"sepia",textAlign:"txt-align",textClippingMode:"txt-clip",textColor:"txt-color",textFitMode:"txt-fit",textFont:"txt-font",textLigatures:"txt-lig",textOutlineColor:"txt-line-color",textOutline:"txt-line",textPadding:"txt-pad",textShadow:"txt-shad",textFontSize:"txt-size",textWidth:"txt-width",textString:"txt",trimColor:"trim-color",trimMeanDifference:"trim-md",trimStandardDeviation:"trim-sd",trimTolerance:"trim-tol",trimImage:"trim",textLeading:"txt-lead",textTracking:"txt-track",typesettingEndpoint:"~text",watermarkAlignment:"mark-align",watermarkAlpha:"mark-alpha",watermarkBaseURL:"mark-base",watermarkFitMode:"mark-fit",watermarkHeight:"mark-h",watermarkPadding:"mark-pad",watermarkRotation:"mark-rot",watermarkScale:"mark-sclae",watermarkTile:"mark-tile",watermarkWidth:"mark-w",watermarkXPosition:"mark-x",watermarkYPosition:"mark-y",watermarkImageURL:"mark"},valueMap:{fit:{fill:"scale",inside:"max",outside:"min",cover:"crop",contain:"fill",clamp:"clamp",clip:"clip",facearea:"facearea",fillMax:"fillmax"},format:{gif:"gif",jp2:"jp2",jpg:"jpg",json:"json",jxr:"jxr",pjpg:"pjpg",mp4:"mp4",png:"png",png8:"png8",png32:"png32",webm:"webm",webp:"webp",blurhash:"blurhash"}},joinWith:"&",formatter:(e,i)=>`${e}=${i}`}),xe=(e,{modifiers:i={},baseURL:t="/"}={})=>{const o=V(i);return{url:$(t,e+(o?"?"+o:""))}},we=Object.freeze(Object.defineProperty({__proto__:null,getImage:xe,operationsGenerator:V},Symbol.toStringTag,{value:"Module"})),X=E({keyMap:{format:"f",fit:"fit",width:"w",height:"h",resize:"s",quality:"q",background:"b"},joinWith:"&",formatter:(e,i)=>j(e)+"_"+j(i)}),ze=(e,{modifiers:i={},baseURL:t}={},o)=>{i.width&&i.height&&(i.resize=`${i.width}x${i.height}`,delete i.width,delete i.height);const l=X(i)||"_";return t||(t=$(o.options.nuxt.baseURL,"/_ipx")),{url:$(t,l,Z(e))}},Se=!0,Fe=!0,ke=Object.freeze(Object.defineProperty({__proto__:null,getImage:ze,operationsGenerator:X,supportsAlias:Fe,validateDomains:Se},Symbol.toStringTag,{value:"Module"})),Ie={screens:{xs:320,sm:540,md:960,lg:1920,xl:1280,xxl:1536,"2xl":1536},presets:{image:{modifiers:{format:"webp",auto:"format,compress",width:100,height:100,ar:"16:9",fit:"clip",crop:"faces"}},hero:{modifiers:{format:"webp",auto:"format,compress",ar:"1:1",fit:"clip",crop:"faces"}}},provider:"ipx",domains:[],alias:{},densities:[1,2],format:["webp"],providers:{imgix:{provider:we,defaults:{baseURL:"https://maxonassets.imgix.net/images"}},ipx:{provider:ke,defaults:{}}}},Y=e=>{const i=A(),t=D();return t.$img||t._img||(t._img=ge({...Ie,event:t.ssrContext?.event,nuxt:{baseURL:i.app.baseURL},runtimeConfig:i}))};function Ce(e){performance?.mark?.("mark_feature_usage",{detail:{feature:e}})}const $e={src:{type:String,required:!1},format:{type:String,required:!1},quality:{type:[Number,String],required:!1},background:{type:String,required:!1},fit:{type:String,required:!1},modifiers:{type:Object,required:!1},preset:{type:String,required:!1},provider:{type:String,required:!1},sizes:{type:[Object,String],required:!1},densities:{type:String,required:!1},preload:{type:[Boolean,Object],required:!1},width:{type:[String,Number],required:!1},height:{type:[String,Number],required:!1},alt:{type:String,required:!1},referrerpolicy:{type:String,required:!1},usemap:{type:String,required:!1},longdesc:{type:String,required:!1},ismap:{type:Boolean,required:!1},loading:{type:String,required:!1,validator:e=>["lazy","eager"].includes(e)},crossorigin:{type:[Boolean,String],required:!1,validator:e=>["anonymous","use-credentials","",!0,!1].includes(e)},decoding:{type:String,required:!1,validator:e=>["async","auto","sync"].includes(e)},nonce:{type:[String],required:!1}},Pe=e=>{const i=p(()=>({provider:e.provider,preset:e.preset})),t=p(()=>({width:S(e.width),height:S(e.height),alt:e.alt,referrerpolicy:e.referrerpolicy,usemap:e.usemap,longdesc:e.longdesc,ismap:e.ismap,crossorigin:e.crossorigin===!0?"anonymous":e.crossorigin||void 0,loading:e.loading,decoding:e.decoding,nonce:e.nonce})),o=Y(),l=p(()=>({...e.modifiers,width:S(e.width),height:S(e.height),format:e.format,quality:e.quality||o.options.quality,background:e.background,fit:e.fit}));return{options:i,attrs:t,modifiers:l}},Te={...$e,placeholder:{type:[Boolean,String,Number,Array],required:!1},placeholderClass:{type:String,required:!1},custom:{type:Boolean,required:!1}},Ae=["src"],Oe=K({__name:"NuxtImg",props:Te,emits:["load","error"],setup(e,{emit:i}){const t=e,o=_(),l=i,s=!1,c=Y(),m=Pe(t),g=B(!1),u=B(),y=p(()=>c.getSizes(t.src,{...m.options.value,sizes:t.sizes,densities:t.densities,modifiers:{...m.modifiers.value,width:S(t.width),height:S(t.height)}})),v=p(()=>{const d={...m.attrs.value,"data-nuxt-img":""};return(!t.placeholder||g.value)&&(d.sizes=y.value.sizes,d.srcset=y.value.srcset),d}),a=p(()=>{let d=t.placeholder;if(d===""&&(d=!0),!d||g.value)return!1;if(typeof d=="string")return d;const x=Array.isArray(d)?d:typeof d=="number"?[d,d]:[10,10];return c(t.src,{...m.modifiers.value,width:x[0],height:x[1],quality:x[2]||50,blur:x[3]||3},m.options.value)}),k=p(()=>t.sizes?y.value.src:c(t.src,m.modifiers.value,m.options.value)),n=p(()=>a.value?a.value:k.value),h=D().isHydrating;return ee(()=>{if(a.value||t.custom){const d=new Image;k.value&&(d.src=k.value),t.sizes&&(d.sizes=y.value.sizes||"",d.srcset=y.value.srcset),d.onload=x=>{g.value=!0,l("load",x)},d.onerror=x=>{l("error",x)},Ce("nuxt-image");return}u.value&&(u.value.complete&&h&&(u.value.getAttribute("data-error")?l("error",new Event("error")):l("load",new Event("load"))),u.value.onload=d=>{l("load",d)},u.value.onerror=d=>{l("error",d)})}),(d,x)=>d.custom?te(d.$slots,"default",ie(M({key:1},{...r(s)?{onerror:"this.setAttribute('data-error', 1)"}:{},imgAttrs:{...v.value,...r(o)},isLoaded:g.value,src:n.value}))):(b(),w("img",M({key:0,ref_key:"imgEl",ref:u,class:a.value&&!g.value?d.placeholderClass:void 0},{...r(s)?{onerror:"this.setAttribute('data-error', 1)"}:{},...v.value,...r(o)},{src:n.value}),null,16,Ae))}}),qe={__name:"BaseCaption",props:{caption:{type:String,default:""},theme:{type:String,default:""}},setup(e){const i=e;return(t,o)=>i.caption?(b(),w("figcaption",{key:0,class:z(["relative w-full text-center px-8 py-3 text-sm",i.theme==="dark"?"text-white":"text-gray-500"])},ae(i.caption),3)):F("",!0)}},je=["data-data-srcset"],Be=["data-src","data-srcset","height","width","src","srcset","alt"],Me={key:0,class:"lg:hidden"},We=["data-data-srcset"],He=["data-src","data-srcset","src","height","width","alt"],Ge={__name:"BaseImage",props:{file:{type:[Array,Object],default:()=>[]},mobileFile:{type:[Array,Object],default:()=>[]},alt:{type:String,default:""},overlayText1:{type:String,default:""},overlayText2:{type:String,default:""},caption:{type:String,default:""},imageClass:{type:String,default:""},figureClass:{type:String,default:""},positionClass:{type:String,default:"relative"},optimizedImageFieldHandle:{type:String,default:"optimizedImages"},theme:{type:String,default:""},grid:{type:Boolean,default:!1},isCarousel:{type:Boolean,default:!1},notFull:{type:Boolean,default:!1},preload:{type:Boolean,default:!1},maxWidth:{type:String,default:"none"},lazyLoad:{type:Boolean,default:!1},size:{type:String,default:""},overlay:{type:[Boolean,String],default:!1},fetchPriority:{type:Boolean,default:!1}},setup(e){const i=A().public,t=e,o=p(()=>t.file?.image?t.file.image[0]:t.file.url||t.file.src?t.file:t.file[0]??!1),l=p(()=>{const n={height:1080,width:1920};switch(t.optimizedImageFieldHandle){case"ratio16x5":n.height=600;break;case"ratio5x3":n.height=1152;break}return n}),s=p(()=>t.mobileFile.image?t.mobileFile.image[0]:t.mobileFile.url||t.mobileFile.src?t.mobileFile:t.mobileFile[0]??!1),c=p(()=>t.file.image||t.file.url||t.file.src?t.file.caption??t.caption:t.caption),m=p(()=>{const f=o.value?.src?o.value.src?.split(`${i.imgix_domain}`)[1]:o.value.url?.split("https://mxwebnuxtprod01.blob.core.windows.net/media/images")[1],h=f?f.lastIndexOf("/"):0;return f?`${f.substring(0,h)}/`:""}),g=p(()=>{const f=s.value?.src?s.value.src?.split(`${i.imgix_domain}`)[1]:s.value.url?.split("https://mxwebnuxtprod01.blob.core.windows.net/media/images")[1],h=f?f.lastIndexOf("/"):0;return f?`${f.substring(0,h)}/`:""}),u=p(()=>{const n=o.value.url?o.value.url:"";return o.value?.filename?`${m.value}${o.value.filename}`:`${m.value}${n}`}),y=p(()=>{const n=s.value.url?s.value.url:"";return s.value?.filename?`${g.value}${s.value.filename}`:`${g.value}${n}`}),v=p(()=>t.overlay?typeof t.overlay=="string"?t.overlay:"brightness-[0.70]":!1),a=re({image:o,mobileImage:s,isGif:!1,isFromCarousel:t.isCarousel,isMobileGif:!1,src:"",mobileSrc:"",theAlt:o.value?t.alt||o.value?.altText:"",mobileAlt:s.value?t.alt||s.value?.altText:"",theOverlayText1:t.overlayText1,theOverlayText2:t.overlayText2,theCaption:c});t.file.image?(a.theAlt=t.alt||a.image.value?.altText||a.image.value?.title,a.theOverlayText1=t.file.overlayText1||t.theOverlayText1,a.theOverlayText2=t.file.overlayText2||a.theOverlayText1):(t.file.url||t.file.src)&&(a.theAlt=t.file.altText||t.file?.title,a.theOverlayText1=t.file.overlayText1||a.theOverlayText1,a.theOverlayText2=t.file.overlayText2||a.theOverlayText1),t.mobileFile.image?a.mobileAlt=t.alt||a.mobileImage.value?.altText||a.mobileImage.value?.title:(t.mobileFile.url||t.mobileFile.src)&&(a.mobileAlt=t.alt||t.mobileFile.altText||t.mobileFile?.title),oe(()=>{k(a.image.value,!1),k(a.mobileImage.value,!0)});const k=(n,f)=>{if(n||(n=t.file[0]),n){const h=n.src||n.url,d=RegExp(/\.gif(\?.+)?$/,"i");a.isGif=d.test(h),f?a.mobileSrc=a.isMobileGif?h.replace(/\?.+/g,""):h:a.src=a.isGif?h.replace(/\?.+/g,""):h}};return(n,f)=>{const h=Oe,d=se,x=qe,O=le("not-lazy");return r(a).image?(b(),w("figure",{key:0,class:z([r(a).isGif?"w-full":"",t.figureClass+((r(a).theOverlayText1||r(a).theOverlayText2)&&!t.grid&&!t.isCarousel?"inline-block":"")])},[P("div",{class:z(t.positionClass+((t.optimizedImageFieldHandle!=="optimizedImages"||t.optimizedImageFieldHandle!=="optimizedImages ")&&!t.notFull?" h-full":""))},[t.optimizedImageFieldHandle==="optimizedImages"?(b(),w(C,{key:0},[r(a).isGif?(b(),w(C,{key:0},[W(h,{src:r(u),provider:"imgix",preload:e.fetchPriority||e.preload?!0:void 0,fetchpriority:e.fetchPriority||e.preload?"high":"low",placeholder:[r(a).image.width,r(a).image.height,10,100],class:z([r(a).isGif||r(a).isFromCarousel&&!t.notFull?"w-full":"",e.mobileFile.length?"hidden lg:block":"",e.imageClass,r(v)?r(v):""]),alt:r(a).theAlt||"",style:T({maxWidth:t.maxWidth+"px"}),loading:`${t.lazyLoad===!0?"lazy":"eager"}`},null,8,["src","preload","fetchpriority","placeholder","class","alt","style","loading"]),e.mobileFile.length?(b(),I(h,{key:0,class:z(["lg:hidden",[r(a).isGif||r(a).isFromCarousel?"w-full":"",e.imageClass,r(v)?r(v):""]]),src:r(y),provider:"imgix",preload:e.fetchPriority||e.preload?!0:void 0,fetchpriority:e.fetchPriority||e.preload?"high":"low",placeholder:[r(a).image.width,r(a).image.height,10,100],alt:r(a).theAlt||"",loading:`${t.lazyLoad===!0?"lazy":"eager"}`},null,8,["src","preload","fetchpriority","placeholder","class","alt","loading"])):F("",!0)],64)):(b(),w(C,{key:1},[W(h,{src:r(u),provider:"imgix",height:r(a).image.height,width:r(a).image.width,preload:e.fetchPriority||e.preload?!0:void 0,fetchpriority:e.fetchPriority||e.preload?"high":"low",preset:"image",quality:"80",sizes:e.size,densities:"x1",placeholder:[r(a).image.width,r(a).image.height,10,100],class:z([r(a).isGif||r(a).isFromCarousel&&!t.notFull?"w-full":"",e.mobileFile.length?"hidden lg:block":"",e.imageClass,r(v)?r(v):""]),alt:r(a).theAlt||"",style:T({maxWidth:e.maxWidth+"px"}),loading:`${e.lazyLoad===!0?"lazy":"eager"}`},null,8,["src","height","width","preload","fetchpriority","sizes","placeholder","class","alt","style","loading"]),e.mobileFile.length?(b(),I(h,{key:0,class:z(["lg:hidden",[r(a).isGif||r(a).isFromCarousel?"w-full":"",e.imageClass,r(v)?r(v):""]]),src:r(y),height:r(a).mobileImage.height,width:r(a).mobileImage.width,provider:"imgix",preload:e.fetchPriority||e.preload?!0:void 0,fetchpriority:e.fetchPriority||e.preload?"high":"low",preset:"image",quality:"80",sizes:e.size,densities:"x1",placeholder:[r(a).image.width,r(a).image.height,10,100],alt:r(a).theAlt||"",loading:`${t.lazyLoad===!0?"lazy":"eager"}`},null,8,["src","height","width","preload","fetchpriority","sizes","placeholder","class","alt","loading"])):F("",!0)],64))],64)):(b(),w(C,{key:1},[H((b(),w("picture",{class:z(r(a).mobileImage?"hidden lg:block":"")},[r(a).isGif?F("",!0):(b(),w("source",{key:0,"data-data-srcset":r(a).image[`${e.optimizedImageFieldHandle}Webp`],type:"image/webp"},null,8,je)),P("img",{"data-src":r(a).isGif||r(a).isFromCarousel?"":r(a).image[e.optimizedImageFieldHandle],"data-srcset":r(a).isGif||r(a).isFromCarousel?"":r(a).image[e.optimizedImageFieldHandle],height:r(l).height,width:r(l).width,src:r(a).isGif?r(a).src:r(a).isFromCarousel?r(a).image[e.optimizedImageFieldHandle]||r(a).src:r(a).image[`${e.optimizedImageFieldHandle}Placeholder`]||r(a).image[e.optimizedImageFieldHandle]||r(a).src,srcset:r(a).isFromCarousel?r(a).image[e.optimizedImageFieldHandle]:"",class:z((r(a).isGif||r(a).isFromCarousel&&!e.notFull?"w-full ":"")+e.imageClass),alt:r(a).theAlt||"",style:T({maxWidth:e.maxWidth+"px"})},null,14,Be)],2)),[[O]]),r(a).mobileImage?H((b(),w("picture",Me,[r(a).isGif?F("",!0):(b(),w("source",{key:0,"data-data-srcset":r(a).mobileImage[`${e.optimizedImageFieldHandle}Webp`],type:"image/webp"},null,8,We)),P("img",{"data-src":r(a).mobileImage[e.optimizedImageFieldHandle],"data-srcset":r(a).isGif?"":r(a).mobileImage[e.optimizedImageFieldHandle],src:n.isGif?r(a).src:r(a).isFromCarousel?r(a).mobileImage[e.optimizedImageFieldHandle]:r(a).mobileImage[`${e.optimizedImageFieldHandle}Placeholder`]||r(a).mobileImage[e.optimizedImageFieldHandle],height:r(a).mobileImage.height,width:r(a).mobileImage.width,class:z((r(a).isGif||r(a).isFromCarousel?"w-full ":"")+e.imageClass),alt:r(a).theAlt||""},null,10,He)])),[[O]]):F("",!0)],64)),r(a).theOverlayText1||r(a).theOverlayText2?(b(),I(d,{key:2,overlaytext1:t.overlayText1||r(a).theOverlayText1,overlaytext2:t.overlayText2||r(a).theOverlayText2},null,8,["overlaytext1","overlaytext2"])):F("",!0)],2),r(a).theCaption?(b(),I(x,{key:0,caption:t.caption||r(a).theCaption,theme:t.theme},null,8,["caption","theme"])):F("",!0)],2)):F("",!0)}}},Ne=Object.freeze(Object.defineProperty({__proto__:null,default:Ge},Symbol.toStringTag,{value:"Module"})),De=async(e,i,t=null)=>{const{apiBaseUrl:o,CRAFT_GRAPHQL_TOKEN:l}=A().public;return{response:await $fetch(`${o}/api`,{method:"POST",headers:{"Content-Type":"application/json",Authorization:`Bearer ${l}`,...t?{"X-Craft-Token":t}:{}},body:JSON.stringify({query:e,variables:{...i}})})}};export{Ne as B,Ge as _,Oe as a,qe as b,De as u};

AltStyle によって変換されたページ (->オリジナル) /