[{"data":1,"prerenderedAt":2262},["Reactive",2],{"navigation":3,"docs-/providers/vercel":115,"docs-/providers/vercel-surround":489},[4,20,33,105],{"title":5,"_path":6,"children":7},"Get Started","/get-started",[8,11,14,17],{"title":9,"_path":10},"Installation","/get-started/installation",{"title":12,"_path":13},"Configuration","/get-started/configuration",{"title":15,"_path":16},"Providers","/get-started/providers",{"title":18,"_path":19},"Contributing","/get-started/contributing",{"title":21,"_path":22,"children":23},"Usage","/usage",[24,27,30],{"title":25,"_path":26},"\u003CNuxtImg>","/usage/nuxt-img",{"title":28,"_path":29},"\u003CNuxtPicture>","/usage/nuxt-picture",{"title":31,"_path":32},"useImage()","/usage/use-image",{"title":15,"_path":34,"children":35},"/providers",[36,39,42,45,48,51,54,57,60,63,66,69,72,75,78,81,84,87,90,93,96,99,102],{"title":37,"_path":38},"Cloudflare","/providers/cloudflare",{"title":40,"_path":41},"Cloudimage","/providers/cloudimage",{"title":43,"_path":44},"Cloudinary","/providers/cloudinary",{"title":46,"_path":47},"Contentful","/providers/contentful",{"title":49,"_path":50},"Directus","/providers/directus",{"title":52,"_path":53},"Edgio","/providers/edgio",{"title":55,"_path":56},"Fastly","/providers/fastly",{"title":58,"_path":59},"Glide","/providers/glide",{"title":61,"_path":62},"Gumlet","/providers/gumlet",{"title":64,"_path":65},"ImageEngine","/providers/imageengine",{"title":67,"_path":68},"ImageKit","/providers/imagekit",{"title":70,"_path":71},"Imgix","/providers/imgix",{"title":73,"_path":74},"IPX","/providers/ipx",{"title":76,"_path":77},"Netlify","/providers/netlify",{"title":79,"_path":80},"Prepr","/providers/prepr",{"title":82,"_path":83},"Prismic","/providers/prismic",{"title":85,"_path":86},"Sanity","/providers/sanity",{"title":88,"_path":89},"Storyblok","/providers/storyblok",{"title":91,"_path":92},"Strapi","/providers/strapi",{"title":94,"_path":95},"Twicpics","/providers/twicpics",{"title":97,"_path":98},"Unsplash","/providers/unsplash",{"title":100,"_path":101},"Uploadcare","/providers/uploadcare",{"title":103,"_path":104},"Vercel","/providers/vercel",{"title":106,"_path":107,"children":108},"Advanced","/advanced",[109,112],{"title":110,"_path":111},"Custom Provider","/advanced/custom-provider",{"title":113,"_path":114},"Static Images","/advanced/static-images",{"_path":104,"_dir":116,"_draft":117,"_partial":117,"_locale":118,"title":103,"description":119,"links":120,"body":126,"_type":484,"_id":485,"_source":486,"_file":487,"_extension":488},"providers",false,"","Optimize images at Vercel's Edge Network.",[121],{"label":122,"icon":123,"to":124,"size":125},"Source","i-simple-icons-github","https://github.com/nuxt/image/blob/main/src/runtime/providers/vercel.ts","xs",{"type":127,"children":128,"toc":480},"root",[129,156,161,168,181,190,309,315,346,351,358,474],{"type":130,"tag":131,"props":132,"children":133},"element","p",{},[134,137,145,147,154],{"type":135,"value":136},"text","When deploying your nuxt applications to ",{"type":130,"tag":138,"props":139,"children":143},"a",{"href":140,"rel":141},"https://vercel.com/",[142],"nofollow",[144],{"type":135,"value":103},{"type":135,"value":146}," platform, image module can use Vercel's ",{"type":130,"tag":138,"props":148,"children":151},{"href":149,"rel":150},"https://vercel.com/docs/edge-network/overview",[142],[152],{"type":135,"value":153},"Edge Network",{"type":135,"value":155}," to optimize images on demand.",{"type":130,"tag":131,"props":157,"children":158},{},[159],{"type":135,"value":160},"This provider will be enabled by default in vercel deployments.",{"type":130,"tag":162,"props":163,"children":165},"h2",{"id":164},"domains",[166],{"type":135,"value":167},"Domains",{"type":130,"tag":131,"props":169,"children":170},{},[171,173,179],{"type":135,"value":172},"To use external URLs (images not in ",{"type":130,"tag":174,"props":175,"children":176},"code",{"className":118},[177],{"type":135,"value":178},"public/",{"type":135,"value":180}," directory), hostnames should be whitelisted.",{"type":130,"tag":131,"props":182,"children":183},{},[184],{"type":130,"tag":185,"props":186,"children":187},"strong",{},[188],{"type":135,"value":189},"Example:",{"type":130,"tag":191,"props":192,"children":197},"pre",{"className":193,"code":194,"filename":195,"language":196,"meta":118,"style":118},"language-ts shiki shiki-themes material-theme material-theme-palenight material-theme-lighter","export default {\n  image: {\n    domains: [\n      'avatars0.githubusercontent.com'\n    ]\n  }\n}\n","nuxt.config","ts",[198],{"type":130,"tag":174,"props":199,"children":200},{"__ignoreMap":118},[201,224,243,262,282,291,300],{"type":130,"tag":202,"props":203,"children":206},"span",{"class":204,"line":205},"line",1,[207,213,218],{"type":130,"tag":202,"props":208,"children":210},{"style":209},"color:#89DDFF;--shiki-dark:#89DDFF;--shiki-light:#39ADB5;font-style:italic;--shiki-dark-font-style:italic;--shiki-light-font-style:italic",[211],{"type":135,"value":212},"export",{"type":130,"tag":202,"props":214,"children":215},{"style":209},[216],{"type":135,"value":217}," default",{"type":130,"tag":202,"props":219,"children":221},{"style":220},"color:#89DDFF;--shiki-dark:#89DDFF;--shiki-light:#39ADB5",[222],{"type":135,"value":223}," {",{"type":130,"tag":202,"props":225,"children":227},{"class":204,"line":226},2,[228,234,239],{"type":130,"tag":202,"props":229,"children":231},{"style":230},"color:#F07178;--shiki-dark:#F07178;--shiki-light:#E53935",[232],{"type":135,"value":233},"  image",{"type":130,"tag":202,"props":235,"children":236},{"style":220},[237],{"type":135,"value":238},":",{"type":130,"tag":202,"props":240,"children":241},{"style":220},[242],{"type":135,"value":223},{"type":130,"tag":202,"props":244,"children":246},{"class":204,"line":245},3,[247,252,256],{"type":130,"tag":202,"props":248,"children":249},{"style":230},[250],{"type":135,"value":251},"    domains",{"type":130,"tag":202,"props":253,"children":254},{"style":220},[255],{"type":135,"value":238},{"type":130,"tag":202,"props":257,"children":259},{"style":258},"color:#EEFFFF;--shiki-dark:#BABED8;--shiki-light:#90A4AE",[260],{"type":135,"value":261}," [",{"type":130,"tag":202,"props":263,"children":265},{"class":204,"line":264},4,[266,271,277],{"type":130,"tag":202,"props":267,"children":268},{"style":220},[269],{"type":135,"value":270},"      '",{"type":130,"tag":202,"props":272,"children":274},{"style":273},"color:#C3E88D;--shiki-dark:#C3E88D;--shiki-light:#91B859",[275],{"type":135,"value":276},"avatars0.githubusercontent.com",{"type":130,"tag":202,"props":278,"children":279},{"style":220},[280],{"type":135,"value":281},"'",{"type":130,"tag":202,"props":283,"children":285},{"class":204,"line":284},5,[286],{"type":130,"tag":202,"props":287,"children":288},{"style":258},[289],{"type":135,"value":290},"    ]",{"type":130,"tag":202,"props":292,"children":294},{"class":204,"line":293},6,[295],{"type":130,"tag":202,"props":296,"children":297},{"style":220},[298],{"type":135,"value":299},"  }",{"type":130,"tag":202,"props":301,"children":303},{"class":204,"line":302},7,[304],{"type":130,"tag":202,"props":305,"children":306},{"style":220},[307],{"type":135,"value":308},"}",{"type":130,"tag":162,"props":310,"children":312},{"id":311},"sizes",[313],{"type":135,"value":314},"Sizes",{"type":130,"tag":131,"props":316,"children":317},{},[318,320,325,327,331,333,337,339,344],{"type":135,"value":319},"Specify any custom ",{"type":130,"tag":174,"props":321,"children":322},{"className":118},[323],{"type":135,"value":324},"width",{"type":135,"value":326}," property you use in ",{"type":130,"tag":174,"props":328,"children":329},{"className":118},[330],{"type":135,"value":25},{"type":135,"value":332},", ",{"type":130,"tag":174,"props":334,"children":335},{"className":118},[336],{"type":135,"value":28},{"type":135,"value":338}," and ",{"type":130,"tag":174,"props":340,"children":341},{"className":118},[342],{"type":135,"value":343},"$img",{"type":135,"value":345},".",{"type":130,"tag":131,"props":347,"children":348},{},[349],{"type":135,"value":350},"If a width is not defined, image will fallback to closest possible width.",{"type":130,"tag":131,"props":352,"children":353},{},[354],{"type":130,"tag":185,"props":355,"children":356},{},[357],{"type":135,"value":189},{"type":130,"tag":191,"props":359,"children":361},{"className":193,"code":360,"filename":195,"language":196,"meta":118,"style":118},"export default {\n  image: {\n    screens: {\n      icon: 40,\n      avatar: 24\n    }\n  }\n}\n",[362],{"type":130,"tag":174,"props":363,"children":364},{"__ignoreMap":118},[365,380,395,411,434,451,459,466],{"type":130,"tag":202,"props":366,"children":367},{"class":204,"line":205},[368,372,376],{"type":130,"tag":202,"props":369,"children":370},{"style":209},[371],{"type":135,"value":212},{"type":130,"tag":202,"props":373,"children":374},{"style":209},[375],{"type":135,"value":217},{"type":130,"tag":202,"props":377,"children":378},{"style":220},[379],{"type":135,"value":223},{"type":130,"tag":202,"props":381,"children":382},{"class":204,"line":226},[383,387,391],{"type":130,"tag":202,"props":384,"children":385},{"style":230},[386],{"type":135,"value":233},{"type":130,"tag":202,"props":388,"children":389},{"style":220},[390],{"type":135,"value":238},{"type":130,"tag":202,"props":392,"children":393},{"style":220},[394],{"type":135,"value":223},{"type":130,"tag":202,"props":396,"children":397},{"class":204,"line":245},[398,403,407],{"type":130,"tag":202,"props":399,"children":400},{"style":230},[401],{"type":135,"value":402},"    screens",{"type":130,"tag":202,"props":404,"children":405},{"style":220},[406],{"type":135,"value":238},{"type":130,"tag":202,"props":408,"children":409},{"style":220},[410],{"type":135,"value":223},{"type":130,"tag":202,"props":412,"children":413},{"class":204,"line":264},[414,419,423,429],{"type":130,"tag":202,"props":415,"children":416},{"style":230},[417],{"type":135,"value":418},"      icon",{"type":130,"tag":202,"props":420,"children":421},{"style":220},[422],{"type":135,"value":238},{"type":130,"tag":202,"props":424,"children":426},{"style":425},"color:#F78C6C;--shiki-dark:#F78C6C;--shiki-light:#F76D47",[427],{"type":135,"value":428}," 40",{"type":130,"tag":202,"props":430,"children":431},{"style":220},[432],{"type":135,"value":433},",",{"type":130,"tag":202,"props":435,"children":436},{"class":204,"line":284},[437,442,446],{"type":130,"tag":202,"props":438,"children":439},{"style":230},[440],{"type":135,"value":441},"      avatar",{"type":130,"tag":202,"props":443,"children":444},{"style":220},[445],{"type":135,"value":238},{"type":130,"tag":202,"props":447,"children":448},{"style":425},[449],{"type":135,"value":450}," 24",{"type":130,"tag":202,"props":452,"children":453},{"class":204,"line":293},[454],{"type":130,"tag":202,"props":455,"children":456},{"style":220},[457],{"type":135,"value":458},"    }",{"type":130,"tag":202,"props":460,"children":461},{"class":204,"line":302},[462],{"type":130,"tag":202,"props":463,"children":464},{"style":220},[465],{"type":135,"value":299},{"type":130,"tag":202,"props":467,"children":469},{"class":204,"line":468},8,[470],{"type":130,"tag":202,"props":471,"children":472},{"style":220},[473],{"type":135,"value":308},{"type":130,"tag":475,"props":476,"children":477},"style",{},[478],{"type":135,"value":479},"html.dark .shiki span {color: var(--shiki-dark) !important;background: var(--shiki-dark-bg) !important;font-style: var(--shiki-dark-font-style) !important;font-weight: var(--shiki-dark-font-weight) !important;text-decoration: var(--shiki-dark-text-decoration) !important;}html.light .shiki span {color: var(--shiki-light) !important;background: var(--shiki-light-bg) !important;font-style: var(--shiki-light-font-style) !important;font-weight: var(--shiki-light-font-weight) !important;text-decoration: var(--shiki-light-text-decoration) !important;}",{"title":118,"searchDepth":226,"depth":226,"links":481},[482,483],{"id":164,"depth":226,"text":167},{"id":311,"depth":226,"text":314},"markdown","content:3.providers:vercel.md","content","3.providers/vercel.md","md",[490,1490],{"_path":101,"_dir":116,"_draft":117,"_partial":117,"_locale":118,"title":100,"description":491,"links":492,"body":495,"_type":484,"_id":1488,"_source":486,"_file":1489,"_extension":488},"Power up file uploading, processing and delivery for your app in one sitting.",[493],{"label":122,"icon":123,"to":494,"size":125},"https://github.com/nuxt/image/blob/main/src/runtime/providers/uploadcare.ts",{"type":127,"children":496,"toc":1483},[497,510,515,527,635,641,663,668,1312,1317,1322,1345,1359,1479],{"type":130,"tag":131,"props":498,"children":499},{},[500,502,508],{"type":135,"value":501},"Integration between ",{"type":130,"tag":138,"props":503,"children":506},{"href":504,"rel":505},"https://uploadcare.com/",[142],[507],{"type":135,"value":100},{"type":135,"value":509}," and the Nuxt Image module.",{"type":130,"tag":162,"props":511,"children":513},{"id":512},"usage",[514],{"type":135,"value":21},{"type":130,"tag":131,"props":516,"children":517},{},[518,520,525],{"type":135,"value":519},"To use images from uploadcare, specify the provider as ",{"type":130,"tag":174,"props":521,"children":522},{"className":118},[523],{"type":135,"value":524},"uploadcare",{"type":135,"value":526}," and set the image src to the UUID provided on the dashboard.",{"type":130,"tag":191,"props":528,"children":533},{"className":529,"code":530,"filename":531,"language":532,"meta":118,"style":118},"language-vue shiki shiki-themes material-theme material-theme-palenight material-theme-lighter","\u003CNuxtImg\n  provider=\"uploadcare\"\n  src=\"c160afba-8b42-45a9-a46a-d393248b0072\"\n  alt=\"My image from uploadcare\"\n/>\n","page.vue","vue",[534],{"type":130,"tag":174,"props":535,"children":536},{"__ignoreMap":118},[537,550,577,602,627],{"type":130,"tag":202,"props":538,"children":539},{"class":204,"line":205},[540,545],{"type":130,"tag":202,"props":541,"children":542},{"style":220},[543],{"type":135,"value":544},"\u003C",{"type":130,"tag":202,"props":546,"children":547},{"style":230},[548],{"type":135,"value":549},"NuxtImg",{"type":130,"tag":202,"props":551,"children":552},{"class":204,"line":226},[553,559,564,569,573],{"type":130,"tag":202,"props":554,"children":556},{"style":555},"color:#C792EA;--shiki-dark:#C792EA;--shiki-light:#9C3EDA",[557],{"type":135,"value":558},"  provider",{"type":130,"tag":202,"props":560,"children":561},{"style":220},[562],{"type":135,"value":563},"=",{"type":130,"tag":202,"props":565,"children":566},{"style":220},[567],{"type":135,"value":568},"\"",{"type":130,"tag":202,"props":570,"children":571},{"style":273},[572],{"type":135,"value":524},{"type":130,"tag":202,"props":574,"children":575},{"style":220},[576],{"type":135,"value":568},{"type":130,"tag":202,"props":578,"children":579},{"class":204,"line":245},[580,585,589,593,598],{"type":130,"tag":202,"props":581,"children":582},{"style":555},[583],{"type":135,"value":584},"  src",{"type":130,"tag":202,"props":586,"children":587},{"style":220},[588],{"type":135,"value":563},{"type":130,"tag":202,"props":590,"children":591},{"style":220},[592],{"type":135,"value":568},{"type":130,"tag":202,"props":594,"children":595},{"style":273},[596],{"type":135,"value":597},"c160afba-8b42-45a9-a46a-d393248b0072",{"type":130,"tag":202,"props":599,"children":600},{"style":220},[601],{"type":135,"value":568},{"type":130,"tag":202,"props":603,"children":604},{"class":204,"line":264},[605,610,614,618,623],{"type":130,"tag":202,"props":606,"children":607},{"style":555},[608],{"type":135,"value":609},"  alt",{"type":130,"tag":202,"props":611,"children":612},{"style":220},[613],{"type":135,"value":563},{"type":130,"tag":202,"props":615,"children":616},{"style":220},[617],{"type":135,"value":568},{"type":130,"tag":202,"props":619,"children":620},{"style":273},[621],{"type":135,"value":622},"My image from uploadcare",{"type":130,"tag":202,"props":624,"children":625},{"style":220},[626],{"type":135,"value":568},{"type":130,"tag":202,"props":628,"children":629},{"class":204,"line":284},[630],{"type":130,"tag":202,"props":631,"children":632},{"style":258},[633],{"type":135,"value":634},"/>",{"type":130,"tag":162,"props":636,"children":638},{"id":637},"modifiers",[639],{"type":135,"value":640},"Modifiers",{"type":130,"tag":131,"props":642,"children":643},{},[644,646,653,655,662],{"type":135,"value":645},"To see all possible modifiers and their options, check out the ",{"type":130,"tag":138,"props":647,"children":650},{"href":648,"rel":649},"https://uploadcare.com/docs/transformations/image/",[142],[651],{"type":135,"value":652},"image transformations documentation",{"type":135,"value":654}," or the ",{"type":130,"tag":138,"props":656,"children":659},{"href":657,"rel":658},"https://uploadcare.com/api-refs/url-api/",[142],[660],{"type":135,"value":661},"URL API Reference",{"type":135,"value":345},{"type":130,"tag":131,"props":664,"children":665},{},[666],{"type":135,"value":667},"Types are provided for the following modifiers:",{"type":130,"tag":191,"props":669,"children":672},{"className":193,"code":670,"filename":671,"language":196,"meta":118,"style":118},"  // Image Compression\n  format: 'jpeg' | 'png' | 'webp' | 'auto'\n  quality: 'smart' | 'smart_retina' | 'normal' | 'better' | 'best' | 'lighter' | 'lightest'\n  progressive: 'yes' | 'no'\n  strip_meta: 'all' | 'none' | 'sensitive'\n\n  // Image Geometry\n  preview: `${number}x${number}` // Height x Width\n  resize: `${number}x${number}` | `${number}x`| `x${number}` \n  smart_resize: `${number}x${number}`\n  crop: string | string[]\n  scale_crop: string | string[]\n  border_radius: string | string[]\n  setfill: string // 3, 6 or 8 digit hex color\n  zoom_objects: string // 1 to 100\n","src/types/module.ts",[673],{"type":130,"tag":174,"props":674,"children":675},{"__ignoreMap":118},[676,685,764,891,933,992,995,1003,1053,1150,1191,1218,1243,1268,1290],{"type":130,"tag":202,"props":677,"children":678},{"class":204,"line":205},[679],{"type":130,"tag":202,"props":680,"children":682},{"style":681},"color:#546E7A;--shiki-dark:#676E95;--shiki-light:#90A4AE;font-style:italic;--shiki-dark-font-style:italic;--shiki-light-font-style:italic",[683],{"type":135,"value":684},"  // Image Compression",{"type":130,"tag":202,"props":686,"children":687},{"class":204,"line":226},[688,694,698,703,708,712,717,721,726,730,734,738,743,747,751,755,760],{"type":130,"tag":202,"props":689,"children":691},{"style":690},"color:#FFCB6B;--shiki-dark:#FFCB6B;--shiki-light:#E2931D",[692],{"type":135,"value":693},"  format",{"type":130,"tag":202,"props":695,"children":696},{"style":220},[697],{"type":135,"value":238},{"type":130,"tag":202,"props":699,"children":700},{"style":220},[701],{"type":135,"value":702}," '",{"type":130,"tag":202,"props":704,"children":705},{"style":273},[706],{"type":135,"value":707},"jpeg",{"type":130,"tag":202,"props":709,"children":710},{"style":220},[711],{"type":135,"value":281},{"type":130,"tag":202,"props":713,"children":714},{"style":220},[715],{"type":135,"value":716}," |",{"type":130,"tag":202,"props":718,"children":719},{"style":220},[720],{"type":135,"value":702},{"type":130,"tag":202,"props":722,"children":723},{"style":273},[724],{"type":135,"value":725},"png",{"type":130,"tag":202,"props":727,"children":728},{"style":220},[729],{"type":135,"value":281},{"type":130,"tag":202,"props":731,"children":732},{"style":220},[733],{"type":135,"value":716},{"type":130,"tag":202,"props":735,"children":736},{"style":220},[737],{"type":135,"value":702},{"type":130,"tag":202,"props":739,"children":740},{"style":273},[741],{"type":135,"value":742},"webp",{"type":130,"tag":202,"props":744,"children":745},{"style":220},[746],{"type":135,"value":281},{"type":130,"tag":202,"props":748,"children":749},{"style":220},[750],{"type":135,"value":716},{"type":130,"tag":202,"props":752,"children":753},{"style":220},[754],{"type":135,"value":702},{"type":130,"tag":202,"props":756,"children":757},{"style":273},[758],{"type":135,"value":759},"auto",{"type":130,"tag":202,"props":761,"children":762},{"style":220},[763],{"type":135,"value":281},{"type":130,"tag":202,"props":765,"children":766},{"class":204,"line":245},[767,772,776,780,785,789,793,797,802,806,810,814,819,823,827,831,836,840,844,848,853,857,861,865,870,874,878,882,887],{"type":130,"tag":202,"props":768,"children":769},{"style":690},[770],{"type":135,"value":771},"  quality",{"type":130,"tag":202,"props":773,"children":774},{"style":220},[775],{"type":135,"value":238},{"type":130,"tag":202,"props":777,"children":778},{"style":220},[779],{"type":135,"value":702},{"type":130,"tag":202,"props":781,"children":782},{"style":273},[783],{"type":135,"value":784},"smart",{"type":130,"tag":202,"props":786,"children":787},{"style":220},[788],{"type":135,"value":281},{"type":130,"tag":202,"props":790,"children":791},{"style":220},[792],{"type":135,"value":716},{"type":130,"tag":202,"props":794,"children":795},{"style":220},[796],{"type":135,"value":702},{"type":130,"tag":202,"props":798,"children":799},{"style":273},[800],{"type":135,"value":801},"smart_retina",{"type":130,"tag":202,"props":803,"children":804},{"style":220},[805],{"type":135,"value":281},{"type":130,"tag":202,"props":807,"children":808},{"style":220},[809],{"type":135,"value":716},{"type":130,"tag":202,"props":811,"children":812},{"style":220},[813],{"type":135,"value":702},{"type":130,"tag":202,"props":815,"children":816},{"style":273},[817],{"type":135,"value":818},"normal",{"type":130,"tag":202,"props":820,"children":821},{"style":220},[822],{"type":135,"value":281},{"type":130,"tag":202,"props":824,"children":825},{"style":220},[826],{"type":135,"value":716},{"type":130,"tag":202,"props":828,"children":829},{"style":220},[830],{"type":135,"value":702},{"type":130,"tag":202,"props":832,"children":833},{"style":273},[834],{"type":135,"value":835},"better",{"type":130,"tag":202,"props":837,"children":838},{"style":220},[839],{"type":135,"value":281},{"type":130,"tag":202,"props":841,"children":842},{"style":220},[843],{"type":135,"value":716},{"type":130,"tag":202,"props":845,"children":846},{"style":220},[847],{"type":135,"value":702},{"type":130,"tag":202,"props":849,"children":850},{"style":273},[851],{"type":135,"value":852},"best",{"type":130,"tag":202,"props":854,"children":855},{"style":220},[856],{"type":135,"value":281},{"type":130,"tag":202,"props":858,"children":859},{"style":220},[860],{"type":135,"value":716},{"type":130,"tag":202,"props":862,"children":863},{"style":220},[864],{"type":135,"value":702},{"type":130,"tag":202,"props":866,"children":867},{"style":273},[868],{"type":135,"value":869},"lighter",{"type":130,"tag":202,"props":871,"children":872},{"style":220},[873],{"type":135,"value":281},{"type":130,"tag":202,"props":875,"children":876},{"style":220},[877],{"type":135,"value":716},{"type":130,"tag":202,"props":879,"children":880},{"style":220},[881],{"type":135,"value":702},{"type":130,"tag":202,"props":883,"children":884},{"style":273},[885],{"type":135,"value":886},"lightest",{"type":130,"tag":202,"props":888,"children":889},{"style":220},[890],{"type":135,"value":281},{"type":130,"tag":202,"props":892,"children":893},{"class":204,"line":264},[894,899,903,907,912,916,920,924,929],{"type":130,"tag":202,"props":895,"children":896},{"style":690},[897],{"type":135,"value":898},"  progressive",{"type":130,"tag":202,"props":900,"children":901},{"style":220},[902],{"type":135,"value":238},{"type":130,"tag":202,"props":904,"children":905},{"style":220},[906],{"type":135,"value":702},{"type":130,"tag":202,"props":908,"children":909},{"style":273},[910],{"type":135,"value":911},"yes",{"type":130,"tag":202,"props":913,"children":914},{"style":220},[915],{"type":135,"value":281},{"type":130,"tag":202,"props":917,"children":918},{"style":220},[919],{"type":135,"value":716},{"type":130,"tag":202,"props":921,"children":922},{"style":220},[923],{"type":135,"value":702},{"type":130,"tag":202,"props":925,"children":926},{"style":273},[927],{"type":135,"value":928},"no",{"type":130,"tag":202,"props":930,"children":931},{"style":220},[932],{"type":135,"value":281},{"type":130,"tag":202,"props":934,"children":935},{"class":204,"line":284},[936,941,945,949,954,958,962,966,971,975,979,983,988],{"type":130,"tag":202,"props":937,"children":938},{"style":690},[939],{"type":135,"value":940},"  strip_meta",{"type":130,"tag":202,"props":942,"children":943},{"style":220},[944],{"type":135,"value":238},{"type":130,"tag":202,"props":946,"children":947},{"style":220},[948],{"type":135,"value":702},{"type":130,"tag":202,"props":950,"children":951},{"style":273},[952],{"type":135,"value":953},"all",{"type":130,"tag":202,"props":955,"children":956},{"style":220},[957],{"type":135,"value":281},{"type":130,"tag":202,"props":959,"children":960},{"style":220},[961],{"type":135,"value":716},{"type":130,"tag":202,"props":963,"children":964},{"style":220},[965],{"type":135,"value":702},{"type":130,"tag":202,"props":967,"children":968},{"style":273},[969],{"type":135,"value":970},"none",{"type":130,"tag":202,"props":972,"children":973},{"style":220},[974],{"type":135,"value":281},{"type":130,"tag":202,"props":976,"children":977},{"style":220},[978],{"type":135,"value":716},{"type":130,"tag":202,"props":980,"children":981},{"style":220},[982],{"type":135,"value":702},{"type":130,"tag":202,"props":984,"children":985},{"style":273},[986],{"type":135,"value":987},"sensitive",{"type":130,"tag":202,"props":989,"children":990},{"style":220},[991],{"type":135,"value":281},{"type":130,"tag":202,"props":993,"children":994},{"class":204,"line":293},[],{"type":130,"tag":202,"props":996,"children":997},{"class":204,"line":302},[998],{"type":130,"tag":202,"props":999,"children":1000},{"style":681},[1001],{"type":135,"value":1002},"  // Image Geometry",{"type":130,"tag":202,"props":1004,"children":1005},{"class":204,"line":468},[1006,1011,1015,1020,1025,1029,1034,1039,1043,1048],{"type":130,"tag":202,"props":1007,"children":1008},{"style":690},[1009],{"type":135,"value":1010},"  preview",{"type":130,"tag":202,"props":1012,"children":1013},{"style":220},[1014],{"type":135,"value":238},{"type":130,"tag":202,"props":1016,"children":1017},{"style":220},[1018],{"type":135,"value":1019}," `${",{"type":130,"tag":202,"props":1021,"children":1022},{"style":258},[1023],{"type":135,"value":1024},"number",{"type":130,"tag":202,"props":1026,"children":1027},{"style":220},[1028],{"type":135,"value":308},{"type":130,"tag":202,"props":1030,"children":1031},{"style":273},[1032],{"type":135,"value":1033},"x",{"type":130,"tag":202,"props":1035,"children":1036},{"style":220},[1037],{"type":135,"value":1038},"${",{"type":130,"tag":202,"props":1040,"children":1041},{"style":258},[1042],{"type":135,"value":1024},{"type":130,"tag":202,"props":1044,"children":1045},{"style":220},[1046],{"type":135,"value":1047},"}`",{"type":130,"tag":202,"props":1049,"children":1050},{"style":681},[1051],{"type":135,"value":1052}," // Height x Width",{"type":130,"tag":202,"props":1054,"children":1056},{"class":204,"line":1055},9,[1057,1062,1066,1070,1074,1078,1082,1086,1090,1094,1098,1102,1106,1110,1114,1119,1124,1129,1133,1137,1141,1145],{"type":130,"tag":202,"props":1058,"children":1059},{"style":690},[1060],{"type":135,"value":1061},"  resize",{"type":130,"tag":202,"props":1063,"children":1064},{"style":220},[1065],{"type":135,"value":238},{"type":130,"tag":202,"props":1067,"children":1068},{"style":220},[1069],{"type":135,"value":1019},{"type":130,"tag":202,"props":1071,"children":1072},{"style":258},[1073],{"type":135,"value":1024},{"type":130,"tag":202,"props":1075,"children":1076},{"style":220},[1077],{"type":135,"value":308},{"type":130,"tag":202,"props":1079,"children":1080},{"style":273},[1081],{"type":135,"value":1033},{"type":130,"tag":202,"props":1083,"children":1084},{"style":220},[1085],{"type":135,"value":1038},{"type":130,"tag":202,"props":1087,"children":1088},{"style":258},[1089],{"type":135,"value":1024},{"type":130,"tag":202,"props":1091,"children":1092},{"style":220},[1093],{"type":135,"value":1047},{"type":130,"tag":202,"props":1095,"children":1096},{"style":220},[1097],{"type":135,"value":716},{"type":130,"tag":202,"props":1099,"children":1100},{"style":220},[1101],{"type":135,"value":1019},{"type":130,"tag":202,"props":1103,"children":1104},{"style":258},[1105],{"type":135,"value":1024},{"type":130,"tag":202,"props":1107,"children":1108},{"style":220},[1109],{"type":135,"value":308},{"type":130,"tag":202,"props":1111,"children":1112},{"style":273},[1113],{"type":135,"value":1033},{"type":130,"tag":202,"props":1115,"children":1116},{"style":220},[1117],{"type":135,"value":1118},"`",{"type":130,"tag":202,"props":1120,"children":1121},{"style":220},[1122],{"type":135,"value":1123},"|",{"type":130,"tag":202,"props":1125,"children":1126},{"style":220},[1127],{"type":135,"value":1128}," `",{"type":130,"tag":202,"props":1130,"children":1131},{"style":273},[1132],{"type":135,"value":1033},{"type":130,"tag":202,"props":1134,"children":1135},{"style":220},[1136],{"type":135,"value":1038},{"type":130,"tag":202,"props":1138,"children":1139},{"style":258},[1140],{"type":135,"value":1024},{"type":130,"tag":202,"props":1142,"children":1143},{"style":220},[1144],{"type":135,"value":1047},{"type":130,"tag":202,"props":1146,"children":1147},{"style":258},[1148],{"type":135,"value":1149}," ",{"type":130,"tag":202,"props":1151,"children":1153},{"class":204,"line":1152},10,[1154,1159,1163,1167,1171,1175,1179,1183,1187],{"type":130,"tag":202,"props":1155,"children":1156},{"style":690},[1157],{"type":135,"value":1158},"  smart_resize",{"type":130,"tag":202,"props":1160,"children":1161},{"style":220},[1162],{"type":135,"value":238},{"type":130,"tag":202,"props":1164,"children":1165},{"style":220},[1166],{"type":135,"value":1019},{"type":130,"tag":202,"props":1168,"children":1169},{"style":258},[1170],{"type":135,"value":1024},{"type":130,"tag":202,"props":1172,"children":1173},{"style":220},[1174],{"type":135,"value":308},{"type":130,"tag":202,"props":1176,"children":1177},{"style":273},[1178],{"type":135,"value":1033},{"type":130,"tag":202,"props":1180,"children":1181},{"style":220},[1182],{"type":135,"value":1038},{"type":130,"tag":202,"props":1184,"children":1185},{"style":258},[1186],{"type":135,"value":1024},{"type":130,"tag":202,"props":1188,"children":1189},{"style":220},[1190],{"type":135,"value":1047},{"type":130,"tag":202,"props":1192,"children":1194},{"class":204,"line":1193},11,[1195,1200,1204,1209,1213],{"type":130,"tag":202,"props":1196,"children":1197},{"style":690},[1198],{"type":135,"value":1199},"  crop",{"type":130,"tag":202,"props":1201,"children":1202},{"style":220},[1203],{"type":135,"value":238},{"type":130,"tag":202,"props":1205,"children":1206},{"style":258},[1207],{"type":135,"value":1208}," string ",{"type":130,"tag":202,"props":1210,"children":1211},{"style":220},[1212],{"type":135,"value":1123},{"type":130,"tag":202,"props":1214,"children":1215},{"style":258},[1216],{"type":135,"value":1217}," string[]",{"type":130,"tag":202,"props":1219,"children":1221},{"class":204,"line":1220},12,[1222,1227,1231,1235,1239],{"type":130,"tag":202,"props":1223,"children":1224},{"style":690},[1225],{"type":135,"value":1226},"  scale_crop",{"type":130,"tag":202,"props":1228,"children":1229},{"style":220},[1230],{"type":135,"value":238},{"type":130,"tag":202,"props":1232,"children":1233},{"style":258},[1234],{"type":135,"value":1208},{"type":130,"tag":202,"props":1236,"children":1237},{"style":220},[1238],{"type":135,"value":1123},{"type":130,"tag":202,"props":1240,"children":1241},{"style":258},[1242],{"type":135,"value":1217},{"type":130,"tag":202,"props":1244,"children":1246},{"class":204,"line":1245},13,[1247,1252,1256,1260,1264],{"type":130,"tag":202,"props":1248,"children":1249},{"style":690},[1250],{"type":135,"value":1251},"  border_radius",{"type":130,"tag":202,"props":1253,"children":1254},{"style":220},[1255],{"type":135,"value":238},{"type":130,"tag":202,"props":1257,"children":1258},{"style":258},[1259],{"type":135,"value":1208},{"type":130,"tag":202,"props":1261,"children":1262},{"style":220},[1263],{"type":135,"value":1123},{"type":130,"tag":202,"props":1265,"children":1266},{"style":258},[1267],{"type":135,"value":1217},{"type":130,"tag":202,"props":1269,"children":1271},{"class":204,"line":1270},14,[1272,1277,1281,1285],{"type":130,"tag":202,"props":1273,"children":1274},{"style":690},[1275],{"type":135,"value":1276},"  setfill",{"type":130,"tag":202,"props":1278,"children":1279},{"style":220},[1280],{"type":135,"value":238},{"type":130,"tag":202,"props":1282,"children":1283},{"style":258},[1284],{"type":135,"value":1208},{"type":130,"tag":202,"props":1286,"children":1287},{"style":681},[1288],{"type":135,"value":1289},"// 3, 6 or 8 digit hex color",{"type":130,"tag":202,"props":1291,"children":1293},{"class":204,"line":1292},15,[1294,1299,1303,1307],{"type":130,"tag":202,"props":1295,"children":1296},{"style":690},[1297],{"type":135,"value":1298},"  zoom_objects",{"type":130,"tag":202,"props":1300,"children":1301},{"style":220},[1302],{"type":135,"value":238},{"type":130,"tag":202,"props":1304,"children":1305},{"style":258},[1306],{"type":135,"value":1208},{"type":130,"tag":202,"props":1308,"children":1309},{"style":681},[1310],{"type":135,"value":1311},"// 1 to 100",{"type":130,"tag":131,"props":1313,"children":1314},{},[1315],{"type":135,"value":1316},"Please feel free to open a PR to improve support for additional operations.",{"type":130,"tag":162,"props":1318,"children":1320},{"id":1319},"configuration",[1321],{"type":135,"value":12},{"type":130,"tag":1323,"props":1324,"children":1325},"blockquote",{},[1326],{"type":130,"tag":131,"props":1327,"children":1328},{},[1329,1331,1336,1338,1343],{"type":135,"value":1330},"By default, all file URLs use the ",{"type":130,"tag":174,"props":1332,"children":1333},{"className":118},[1334],{"type":135,"value":1335},"ucarecdn.com",{"type":135,"value":1337}," domain. By setting a custom CDN CNAME, file URLs can use ",{"type":130,"tag":174,"props":1339,"children":1340},{"className":118},[1341],{"type":135,"value":1342},"cdn.mycompany.com",{"type":135,"value":1344}," instead.",{"type":130,"tag":131,"props":1346,"children":1347},{},[1348,1350,1357],{"type":135,"value":1349},"See the ",{"type":130,"tag":138,"props":1351,"children":1354},{"href":1352,"rel":1353},"https://uploadcare.com/docs/delivery/cdn/#custom-cdn-cname",[142],[1355],{"type":135,"value":1356},"Uploadcare documentation",{"type":135,"value":1358}," for how to enable a custom domain in your project. To tell Nuxt Image about the custom CDN name, use the following configuration:",{"type":130,"tag":191,"props":1360,"children":1363},{"className":193,"code":1361,"filename":1362,"language":196,"meta":118,"style":118},"export default defineNuxtConfig({\n  image: {\n    uploadcare: {\n      cdnURL: 'cdn.mycompany.com',\n    }\n  }\n})\n","nuxt.config.ts",[1364],{"type":130,"tag":174,"props":1365,"children":1366},{"__ignoreMap":118},[1367,1394,1409,1425,1453,1460,1467],{"type":130,"tag":202,"props":1368,"children":1369},{"class":204,"line":205},[1370,1374,1378,1384,1389],{"type":130,"tag":202,"props":1371,"children":1372},{"style":209},[1373],{"type":135,"value":212},{"type":130,"tag":202,"props":1375,"children":1376},{"style":209},[1377],{"type":135,"value":217},{"type":130,"tag":202,"props":1379,"children":1381},{"style":1380},"color:#82AAFF;--shiki-dark:#82AAFF;--shiki-light:#6182B8",[1382],{"type":135,"value":1383}," defineNuxtConfig",{"type":130,"tag":202,"props":1385,"children":1386},{"style":258},[1387],{"type":135,"value":1388},"(",{"type":130,"tag":202,"props":1390,"children":1391},{"style":220},[1392],{"type":135,"value":1393},"{",{"type":130,"tag":202,"props":1395,"children":1396},{"class":204,"line":226},[1397,1401,1405],{"type":130,"tag":202,"props":1398,"children":1399},{"style":230},[1400],{"type":135,"value":233},{"type":130,"tag":202,"props":1402,"children":1403},{"style":220},[1404],{"type":135,"value":238},{"type":130,"tag":202,"props":1406,"children":1407},{"style":220},[1408],{"type":135,"value":223},{"type":130,"tag":202,"props":1410,"children":1411},{"class":204,"line":245},[1412,1417,1421],{"type":130,"tag":202,"props":1413,"children":1414},{"style":230},[1415],{"type":135,"value":1416},"    uploadcare",{"type":130,"tag":202,"props":1418,"children":1419},{"style":220},[1420],{"type":135,"value":238},{"type":130,"tag":202,"props":1422,"children":1423},{"style":220},[1424],{"type":135,"value":223},{"type":130,"tag":202,"props":1426,"children":1427},{"class":204,"line":264},[1428,1433,1437,1441,1445,1449],{"type":130,"tag":202,"props":1429,"children":1430},{"style":230},[1431],{"type":135,"value":1432},"      cdnURL",{"type":130,"tag":202,"props":1434,"children":1435},{"style":220},[1436],{"type":135,"value":238},{"type":130,"tag":202,"props":1438,"children":1439},{"style":220},[1440],{"type":135,"value":702},{"type":130,"tag":202,"props":1442,"children":1443},{"style":273},[1444],{"type":135,"value":1342},{"type":130,"tag":202,"props":1446,"children":1447},{"style":220},[1448],{"type":135,"value":281},{"type":130,"tag":202,"props":1450,"children":1451},{"style":220},[1452],{"type":135,"value":433},{"type":130,"tag":202,"props":1454,"children":1455},{"class":204,"line":284},[1456],{"type":130,"tag":202,"props":1457,"children":1458},{"style":220},[1459],{"type":135,"value":458},{"type":130,"tag":202,"props":1461,"children":1462},{"class":204,"line":293},[1463],{"type":130,"tag":202,"props":1464,"children":1465},{"style":220},[1466],{"type":135,"value":299},{"type":130,"tag":202,"props":1468,"children":1469},{"class":204,"line":302},[1470,1474],{"type":130,"tag":202,"props":1471,"children":1472},{"style":220},[1473],{"type":135,"value":308},{"type":130,"tag":202,"props":1475,"children":1476},{"style":258},[1477],{"type":135,"value":1478},")",{"type":130,"tag":475,"props":1480,"children":1481},{},[1482],{"type":135,"value":479},{"title":118,"searchDepth":226,"depth":226,"links":1484},[1485,1486,1487],{"id":512,"depth":226,"text":21},{"id":637,"depth":226,"text":640},{"id":1319,"depth":226,"text":12},"content:3.providers:uploadcare.md","3.providers/uploadcare.md",{"_path":111,"_dir":1491,"_draft":117,"_partial":117,"_locale":118,"title":110,"description":1492,"body":1493,"_type":484,"_id":2260,"_source":486,"_file":2261,"_extension":488},"advanced","If a CDN provider is not supported, you can define it yourself.",{"type":127,"children":1494,"toc":2251},[1495,1501,1506,1879,1886,1959,1975,1981,1994,2000,2006,2023,2226,2247],{"type":130,"tag":162,"props":1496,"children":1498},{"id":1497},"provider-entry",[1499],{"type":135,"value":1500},"Provider Entry",{"type":130,"tag":131,"props":1502,"children":1503},{},[1504],{"type":135,"value":1505},"The runtime will receive a source, image modifiers and its provider options. It is responsible for generating a url for optimized images, and needs to be isomorphic because it may be called on either server or client.",{"type":130,"tag":191,"props":1507,"children":1511},{"className":1508,"code":1509,"language":1510,"meta":118,"style":118},"language-js shiki shiki-themes material-theme material-theme-palenight material-theme-lighter","import { joinURL } from 'ufo'\n\n// import {} from '#image'\n\nexport function getImage(src, { modifiers, baseURL } = {}, { options, $img }) {\n  const { width, height, format, fit, ...providerModifiers } = modifiers\n  const operations = []\n  // process modifiers\n  const operationsString = operations.join(',')\n  return {\n    url: joinURL(baseURL, operationsString, src)\n  }\n}\n","js",[1512],{"type":130,"tag":174,"props":1513,"children":1514},{"__ignoreMap":118},[1515,1555,1558,1566,1569,1659,1729,1750,1758,1807,1819,1865,1872],{"type":130,"tag":202,"props":1516,"children":1517},{"class":204,"line":205},[1518,1523,1527,1532,1537,1542,1546,1551],{"type":130,"tag":202,"props":1519,"children":1520},{"style":209},[1521],{"type":135,"value":1522},"import",{"type":130,"tag":202,"props":1524,"children":1525},{"style":220},[1526],{"type":135,"value":223},{"type":130,"tag":202,"props":1528,"children":1529},{"style":258},[1530],{"type":135,"value":1531}," joinURL",{"type":130,"tag":202,"props":1533,"children":1534},{"style":220},[1535],{"type":135,"value":1536}," }",{"type":130,"tag":202,"props":1538,"children":1539},{"style":209},[1540],{"type":135,"value":1541}," from",{"type":130,"tag":202,"props":1543,"children":1544},{"style":220},[1545],{"type":135,"value":702},{"type":130,"tag":202,"props":1547,"children":1548},{"style":273},[1549],{"type":135,"value":1550},"ufo",{"type":130,"tag":202,"props":1552,"children":1553},{"style":220},[1554],{"type":135,"value":281},{"type":130,"tag":202,"props":1556,"children":1557},{"class":204,"line":226},[],{"type":130,"tag":202,"props":1559,"children":1560},{"class":204,"line":245},[1561],{"type":130,"tag":202,"props":1562,"children":1563},{"style":681},[1564],{"type":135,"value":1565},"// import {} from '#image'",{"type":130,"tag":202,"props":1567,"children":1568},{"class":204,"line":264},[],{"type":130,"tag":202,"props":1570,"children":1571},{"class":204,"line":284},[1572,1576,1581,1586,1590,1596,1600,1604,1609,1613,1618,1622,1627,1632,1636,1641,1645,1650,1655],{"type":130,"tag":202,"props":1573,"children":1574},{"style":209},[1575],{"type":135,"value":212},{"type":130,"tag":202,"props":1577,"children":1578},{"style":555},[1579],{"type":135,"value":1580}," function",{"type":130,"tag":202,"props":1582,"children":1583},{"style":1380},[1584],{"type":135,"value":1585}," getImage",{"type":130,"tag":202,"props":1587,"children":1588},{"style":220},[1589],{"type":135,"value":1388},{"type":130,"tag":202,"props":1591,"children":1593},{"style":1592},"color:#EEFFFF;--shiki-dark:#BABED8;--shiki-light:#90A4AE;font-style:italic;--shiki-dark-font-style:italic;--shiki-light-font-style:italic",[1594],{"type":135,"value":1595},"src",{"type":130,"tag":202,"props":1597,"children":1598},{"style":220},[1599],{"type":135,"value":433},{"type":130,"tag":202,"props":1601,"children":1602},{"style":220},[1603],{"type":135,"value":223},{"type":130,"tag":202,"props":1605,"children":1606},{"style":1592},[1607],{"type":135,"value":1608}," modifiers",{"type":130,"tag":202,"props":1610,"children":1611},{"style":220},[1612],{"type":135,"value":433},{"type":130,"tag":202,"props":1614,"children":1615},{"style":1592},[1616],{"type":135,"value":1617}," baseURL",{"type":130,"tag":202,"props":1619,"children":1620},{"style":220},[1621],{"type":135,"value":1536},{"type":130,"tag":202,"props":1623,"children":1624},{"style":220},[1625],{"type":135,"value":1626}," =",{"type":130,"tag":202,"props":1628,"children":1629},{"style":220},[1630],{"type":135,"value":1631}," {},",{"type":130,"tag":202,"props":1633,"children":1634},{"style":220},[1635],{"type":135,"value":223},{"type":130,"tag":202,"props":1637,"children":1638},{"style":1592},[1639],{"type":135,"value":1640}," options",{"type":130,"tag":202,"props":1642,"children":1643},{"style":220},[1644],{"type":135,"value":433},{"type":130,"tag":202,"props":1646,"children":1647},{"style":1592},[1648],{"type":135,"value":1649}," $img",{"type":130,"tag":202,"props":1651,"children":1652},{"style":220},[1653],{"type":135,"value":1654}," })",{"type":130,"tag":202,"props":1656,"children":1657},{"style":220},[1658],{"type":135,"value":223},{"type":130,"tag":202,"props":1660,"children":1661},{"class":204,"line":293},[1662,1667,1671,1676,1680,1685,1689,1694,1698,1703,1707,1712,1717,1721,1725],{"type":130,"tag":202,"props":1663,"children":1664},{"style":555},[1665],{"type":135,"value":1666},"  const",{"type":130,"tag":202,"props":1668,"children":1669},{"style":220},[1670],{"type":135,"value":223},{"type":130,"tag":202,"props":1672,"children":1673},{"style":258},[1674],{"type":135,"value":1675}," width",{"type":130,"tag":202,"props":1677,"children":1678},{"style":220},[1679],{"type":135,"value":433},{"type":130,"tag":202,"props":1681,"children":1682},{"style":258},[1683],{"type":135,"value":1684}," height",{"type":130,"tag":202,"props":1686,"children":1687},{"style":220},[1688],{"type":135,"value":433},{"type":130,"tag":202,"props":1690,"children":1691},{"style":258},[1692],{"type":135,"value":1693}," format",{"type":130,"tag":202,"props":1695,"children":1696},{"style":220},[1697],{"type":135,"value":433},{"type":130,"tag":202,"props":1699,"children":1700},{"style":258},[1701],{"type":135,"value":1702}," fit",{"type":130,"tag":202,"props":1704,"children":1705},{"style":220},[1706],{"type":135,"value":433},{"type":130,"tag":202,"props":1708,"children":1709},{"style":220},[1710],{"type":135,"value":1711}," ...",{"type":130,"tag":202,"props":1713,"children":1714},{"style":258},[1715],{"type":135,"value":1716},"providerModifiers",{"type":130,"tag":202,"props":1718,"children":1719},{"style":220},[1720],{"type":135,"value":1536},{"type":130,"tag":202,"props":1722,"children":1723},{"style":220},[1724],{"type":135,"value":1626},{"type":130,"tag":202,"props":1726,"children":1727},{"style":258},[1728],{"type":135,"value":1608},{"type":130,"tag":202,"props":1730,"children":1731},{"class":204,"line":302},[1732,1736,1741,1745],{"type":130,"tag":202,"props":1733,"children":1734},{"style":555},[1735],{"type":135,"value":1666},{"type":130,"tag":202,"props":1737,"children":1738},{"style":258},[1739],{"type":135,"value":1740}," operations",{"type":130,"tag":202,"props":1742,"children":1743},{"style":220},[1744],{"type":135,"value":1626},{"type":130,"tag":202,"props":1746,"children":1747},{"style":230},[1748],{"type":135,"value":1749}," []",{"type":130,"tag":202,"props":1751,"children":1752},{"class":204,"line":468},[1753],{"type":130,"tag":202,"props":1754,"children":1755},{"style":681},[1756],{"type":135,"value":1757},"  // process modifiers",{"type":130,"tag":202,"props":1759,"children":1760},{"class":204,"line":1055},[1761,1765,1770,1774,1778,1782,1787,1791,1795,1799,1803],{"type":130,"tag":202,"props":1762,"children":1763},{"style":555},[1764],{"type":135,"value":1666},{"type":130,"tag":202,"props":1766,"children":1767},{"style":258},[1768],{"type":135,"value":1769}," operationsString",{"type":130,"tag":202,"props":1771,"children":1772},{"style":220},[1773],{"type":135,"value":1626},{"type":130,"tag":202,"props":1775,"children":1776},{"style":258},[1777],{"type":135,"value":1740},{"type":130,"tag":202,"props":1779,"children":1780},{"style":220},[1781],{"type":135,"value":345},{"type":130,"tag":202,"props":1783,"children":1784},{"style":1380},[1785],{"type":135,"value":1786},"join",{"type":130,"tag":202,"props":1788,"children":1789},{"style":230},[1790],{"type":135,"value":1388},{"type":130,"tag":202,"props":1792,"children":1793},{"style":220},[1794],{"type":135,"value":281},{"type":130,"tag":202,"props":1796,"children":1797},{"style":273},[1798],{"type":135,"value":433},{"type":130,"tag":202,"props":1800,"children":1801},{"style":220},[1802],{"type":135,"value":281},{"type":130,"tag":202,"props":1804,"children":1805},{"style":230},[1806],{"type":135,"value":1478},{"type":130,"tag":202,"props":1808,"children":1809},{"class":204,"line":1152},[1810,1815],{"type":130,"tag":202,"props":1811,"children":1812},{"style":209},[1813],{"type":135,"value":1814},"  return",{"type":130,"tag":202,"props":1816,"children":1817},{"style":220},[1818],{"type":135,"value":223},{"type":130,"tag":202,"props":1820,"children":1821},{"class":204,"line":1193},[1822,1827,1831,1835,1839,1844,1848,1852,1856,1861],{"type":130,"tag":202,"props":1823,"children":1824},{"style":230},[1825],{"type":135,"value":1826},"    url",{"type":130,"tag":202,"props":1828,"children":1829},{"style":220},[1830],{"type":135,"value":238},{"type":130,"tag":202,"props":1832,"children":1833},{"style":1380},[1834],{"type":135,"value":1531},{"type":130,"tag":202,"props":1836,"children":1837},{"style":230},[1838],{"type":135,"value":1388},{"type":130,"tag":202,"props":1840,"children":1841},{"style":258},[1842],{"type":135,"value":1843},"baseURL",{"type":130,"tag":202,"props":1845,"children":1846},{"style":220},[1847],{"type":135,"value":433},{"type":130,"tag":202,"props":1849,"children":1850},{"style":258},[1851],{"type":135,"value":1769},{"type":130,"tag":202,"props":1853,"children":1854},{"style":220},[1855],{"type":135,"value":433},{"type":130,"tag":202,"props":1857,"children":1858},{"style":258},[1859],{"type":135,"value":1860}," src",{"type":130,"tag":202,"props":1862,"children":1863},{"style":230},[1864],{"type":135,"value":1478},{"type":130,"tag":202,"props":1866,"children":1867},{"class":204,"line":1220},[1868],{"type":130,"tag":202,"props":1869,"children":1870},{"style":220},[1871],{"type":135,"value":299},{"type":130,"tag":202,"props":1873,"children":1874},{"class":204,"line":1245},[1875],{"type":130,"tag":202,"props":1876,"children":1877},{"style":220},[1878],{"type":135,"value":308},{"type":130,"tag":1880,"props":1881,"children":1883},"h3",{"id":1882},"parameters",[1884],{"type":135,"value":1885},"Parameters",{"type":130,"tag":1887,"props":1888,"children":1889},"ul",{},[1890,1900,1909],{"type":130,"tag":1891,"props":1892,"children":1893},"li",{},[1894,1898],{"type":130,"tag":174,"props":1895,"children":1896},{"className":118},[1897],{"type":135,"value":1595},{"type":135,"value":1899},": Source path of the image.",{"type":130,"tag":1891,"props":1901,"children":1902},{},[1903,1907],{"type":130,"tag":174,"props":1904,"children":1905},{"className":118},[1906],{"type":135,"value":637},{"type":135,"value":1908},": List of image modifiers that are defined in the image component or as a preset.",{"type":130,"tag":1891,"props":1910,"children":1911},{},[1912,1917,1919,1924,1926],{"type":130,"tag":174,"props":1913,"children":1914},{"className":118},[1915],{"type":135,"value":1916},"ctx",{"type":135,"value":1918},": (",{"type":130,"tag":174,"props":1920,"children":1921},{"className":118},[1922],{"type":135,"value":1923},"ImageCTX",{"type":135,"value":1925},") Image module runtime context\n",{"type":130,"tag":1887,"props":1927,"children":1928},{},[1929,1945],{"type":130,"tag":1891,"props":1930,"children":1931},{},[1932,1937,1938,1943],{"type":130,"tag":174,"props":1933,"children":1934},{"className":118},[1935],{"type":135,"value":1936},"options",{"type":135,"value":1918},{"type":130,"tag":174,"props":1939,"children":1940},{"className":118},[1941],{"type":135,"value":1942},"CreateImageOptions",{"type":135,"value":1944},") Image module global runtime options",{"type":130,"tag":1891,"props":1946,"children":1947},{},[1948,1952,1954],{"type":130,"tag":174,"props":1949,"children":1950},{"className":118},[1951],{"type":135,"value":343},{"type":135,"value":1953},": The ",{"type":130,"tag":138,"props":1955,"children":1956},{"href":32},[1957],{"type":135,"value":1958},"$img helper",{"type":130,"tag":131,"props":1960,"children":1961},{},[1962,1967,1969,1973],{"type":130,"tag":185,"props":1963,"children":1964},{},[1965],{"type":135,"value":1966},"Note:",{"type":135,"value":1968}," Values in ",{"type":130,"tag":174,"props":1970,"children":1971},{"className":118},[1972],{"type":135,"value":1916},{"type":135,"value":1974}," might change. Use it with caution.",{"type":130,"tag":1880,"props":1976,"children":1978},{"id":1977},"return",[1979],{"type":135,"value":1980},"Return",{"type":130,"tag":1887,"props":1982,"children":1983},{},[1984],{"type":130,"tag":1891,"props":1985,"children":1986},{},[1987,1992],{"type":130,"tag":174,"props":1988,"children":1989},{"className":118},[1990],{"type":135,"value":1991},"url",{"type":135,"value":1993},": Absolute or relative url of optimized image.",{"type":130,"tag":162,"props":1995,"children":1997},{"id":1996},"use-your-provider",[1998],{"type":135,"value":1999},"Use your provider",{"type":130,"tag":1880,"props":2001,"children":2003},{"id":2002},"register-provider",[2004],{"type":135,"value":2005},"Register provider",{"type":130,"tag":131,"props":2007,"children":2008},{},[2009,2011,2015,2017,2022],{"type":135,"value":2010},"After you create your own provider, you should register it in the ",{"type":130,"tag":174,"props":2012,"children":2013},{"className":118},[2014],{"type":135,"value":195},{"type":135,"value":2016},". In order to do that create a property inside ",{"type":130,"tag":174,"props":2018,"children":2019},{"className":118},[2020],{"type":135,"value":2021},"image.provider",{"type":135,"value":345},{"type":130,"tag":191,"props":2024,"children":2026},{"className":1508,"code":2025,"language":1510,"meta":118,"style":118},"export default {\n  ...\n  image: {\n    providers: {\n      customProvider: {\n        name: 'customProvider', // optional value to overrider provider name\n        provider: '~/providers/custom', // Path to custom provider\n        options: {\n          // ... provider options\n        }\n      }\n    }\n  }\n}\n",[2027],{"type":130,"tag":174,"props":2028,"children":2029},{"__ignoreMap":118},[2030,2045,2053,2065,2081,2097,2131,2165,2181,2189,2197,2205,2212,2219],{"type":130,"tag":202,"props":2031,"children":2032},{"class":204,"line":205},[2033,2037,2041],{"type":130,"tag":202,"props":2034,"children":2035},{"style":209},[2036],{"type":135,"value":212},{"type":130,"tag":202,"props":2038,"children":2039},{"style":209},[2040],{"type":135,"value":217},{"type":130,"tag":202,"props":2042,"children":2043},{"style":220},[2044],{"type":135,"value":223},{"type":130,"tag":202,"props":2046,"children":2047},{"class":204,"line":226},[2048],{"type":130,"tag":202,"props":2049,"children":2050},{"style":220},[2051],{"type":135,"value":2052},"  ...",{"type":130,"tag":202,"props":2054,"children":2055},{"class":204,"line":245},[2056,2061],{"type":130,"tag":202,"props":2057,"children":2058},{"style":258},[2059],{"type":135,"value":2060},"  image: ",{"type":130,"tag":202,"props":2062,"children":2063},{"style":220},[2064],{"type":135,"value":1393},{"type":130,"tag":202,"props":2066,"children":2067},{"class":204,"line":264},[2068,2073,2077],{"type":130,"tag":202,"props":2069,"children":2070},{"style":230},[2071],{"type":135,"value":2072},"    providers",{"type":130,"tag":202,"props":2074,"children":2075},{"style":220},[2076],{"type":135,"value":238},{"type":130,"tag":202,"props":2078,"children":2079},{"style":220},[2080],{"type":135,"value":223},{"type":130,"tag":202,"props":2082,"children":2083},{"class":204,"line":284},[2084,2089,2093],{"type":130,"tag":202,"props":2085,"children":2086},{"style":230},[2087],{"type":135,"value":2088},"      customProvider",{"type":130,"tag":202,"props":2090,"children":2091},{"style":220},[2092],{"type":135,"value":238},{"type":130,"tag":202,"props":2094,"children":2095},{"style":220},[2096],{"type":135,"value":223},{"type":130,"tag":202,"props":2098,"children":2099},{"class":204,"line":293},[2100,2105,2109,2113,2118,2122,2126],{"type":130,"tag":202,"props":2101,"children":2102},{"style":230},[2103],{"type":135,"value":2104},"        name",{"type":130,"tag":202,"props":2106,"children":2107},{"style":220},[2108],{"type":135,"value":238},{"type":130,"tag":202,"props":2110,"children":2111},{"style":220},[2112],{"type":135,"value":702},{"type":130,"tag":202,"props":2114,"children":2115},{"style":273},[2116],{"type":135,"value":2117},"customProvider",{"type":130,"tag":202,"props":2119,"children":2120},{"style":220},[2121],{"type":135,"value":281},{"type":130,"tag":202,"props":2123,"children":2124},{"style":220},[2125],{"type":135,"value":433},{"type":130,"tag":202,"props":2127,"children":2128},{"style":681},[2129],{"type":135,"value":2130}," // optional value to overrider provider name",{"type":130,"tag":202,"props":2132,"children":2133},{"class":204,"line":302},[2134,2139,2143,2147,2152,2156,2160],{"type":130,"tag":202,"props":2135,"children":2136},{"style":230},[2137],{"type":135,"value":2138},"        provider",{"type":130,"tag":202,"props":2140,"children":2141},{"style":220},[2142],{"type":135,"value":238},{"type":130,"tag":202,"props":2144,"children":2145},{"style":220},[2146],{"type":135,"value":702},{"type":130,"tag":202,"props":2148,"children":2149},{"style":273},[2150],{"type":135,"value":2151},"~/providers/custom",{"type":130,"tag":202,"props":2153,"children":2154},{"style":220},[2155],{"type":135,"value":281},{"type":130,"tag":202,"props":2157,"children":2158},{"style":220},[2159],{"type":135,"value":433},{"type":130,"tag":202,"props":2161,"children":2162},{"style":681},[2163],{"type":135,"value":2164}," // Path to custom provider",{"type":130,"tag":202,"props":2166,"children":2167},{"class":204,"line":468},[2168,2173,2177],{"type":130,"tag":202,"props":2169,"children":2170},{"style":230},[2171],{"type":135,"value":2172},"        options",{"type":130,"tag":202,"props":2174,"children":2175},{"style":220},[2176],{"type":135,"value":238},{"type":130,"tag":202,"props":2178,"children":2179},{"style":220},[2180],{"type":135,"value":223},{"type":130,"tag":202,"props":2182,"children":2183},{"class":204,"line":1055},[2184],{"type":130,"tag":202,"props":2185,"children":2186},{"style":681},[2187],{"type":135,"value":2188},"          // ... provider options",{"type":130,"tag":202,"props":2190,"children":2191},{"class":204,"line":1152},[2192],{"type":130,"tag":202,"props":2193,"children":2194},{"style":220},[2195],{"type":135,"value":2196},"        }",{"type":130,"tag":202,"props":2198,"children":2199},{"class":204,"line":1193},[2200],{"type":130,"tag":202,"props":2201,"children":2202},{"style":220},[2203],{"type":135,"value":2204},"      }",{"type":130,"tag":202,"props":2206,"children":2207},{"class":204,"line":1220},[2208],{"type":130,"tag":202,"props":2209,"children":2210},{"style":220},[2211],{"type":135,"value":458},{"type":130,"tag":202,"props":2213,"children":2214},{"class":204,"line":1245},[2215],{"type":130,"tag":202,"props":2216,"children":2217},{"style":220},[2218],{"type":135,"value":299},{"type":130,"tag":202,"props":2220,"children":2221},{"class":204,"line":1270},[2222],{"type":130,"tag":202,"props":2223,"children":2224},{"style":220},[2225],{"type":135,"value":308},{"type":130,"tag":131,"props":2227,"children":2228},{},[2229,2231,2236,2238,2245],{"type":135,"value":2230},"There are plenty of useful utilities that can be used to write providers by importing from ",{"type":130,"tag":174,"props":2232,"children":2233},{"className":118},[2234],{"type":135,"value":2235},"#img",{"type":135,"value":2237},". See ",{"type":130,"tag":138,"props":2239,"children":2242},{"href":2240,"rel":2241},"https://github.com/nuxt/image/tree/dev/src/runtime/providers",[142],[2243],{"type":135,"value":2244},"src/runtime/providers",{"type":135,"value":2246}," for more info.",{"type":130,"tag":475,"props":2248,"children":2249},{},[2250],{"type":135,"value":479},{"title":118,"searchDepth":226,"depth":226,"links":2252},[2253,2257],{"id":1497,"depth":226,"text":1500,"children":2254},[2255,2256],{"id":1882,"depth":245,"text":1885},{"id":1977,"depth":245,"text":1980},{"id":1996,"depth":226,"text":1999,"children":2258},[2259],{"id":2002,"depth":245,"text":2005},"content:4.advanced:1.custom-provider.md","4.advanced/1.custom-provider.md",1697713006422]