[{"data":1,"prerenderedAt":1853},["ShallowReactive",2],{"navigation":3,"docs-/providers/weserv":136,"docs-/providers/weserv-surround":202},[4,20,33,126],{"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,105,108,111,114,117,120,123],{"title":37,"_path":38},"Aliyun","/providers/aliyun",{"title":40,"_path":41},"AWS Amplify","/providers/aws-amplify",{"title":43,"_path":44},"Bunny","/providers/bunny",{"title":46,"_path":47},"Caisy","/providers/caisy",{"title":49,"_path":50},"Cloudflare","/providers/cloudflare",{"title":52,"_path":53},"Cloudimage","/providers/cloudimage",{"title":55,"_path":56},"Cloudinary","/providers/cloudinary",{"title":58,"_path":59},"Contentful","/providers/contentful",{"title":61,"_path":62},"Directus","/providers/directus",{"title":64,"_path":65},"Fastly","/providers/fastly",{"title":67,"_path":68},"Filerobot","/providers/filerobot",{"title":70,"_path":71},"Glide","/providers/glide",{"title":73,"_path":74},"Gumlet","/providers/gumlet",{"title":76,"_path":77},"Hygraph","/providers/hygraph",{"title":79,"_path":80},"ImageEngine","/providers/imageengine",{"title":82,"_path":83},"ImageKit","/providers/imagekit",{"title":85,"_path":86},"Imgix","/providers/imgix",{"title":88,"_path":89},"IPX","/providers/ipx",{"title":91,"_path":92},"Netlify","/providers/netlify",{"title":94,"_path":95},"Prepr","/providers/prepr",{"title":97,"_path":98},"Prismic","/providers/prismic",{"title":100,"_path":101},"Sanity","/providers/sanity",{"title":103,"_path":104},"Sirv","/providers/sirv",{"title":106,"_path":107},"Storyblok","/providers/storyblok",{"title":109,"_path":110},"Strapi","/providers/strapi",{"title":112,"_path":113},"Twicpics","/providers/twicpics",{"title":115,"_path":116},"Unsplash","/providers/unsplash",{"title":118,"_path":119},"Uploadcare","/providers/uploadcare",{"title":121,"_path":122},"Vercel","/providers/vercel",{"title":124,"_path":125},"Weserv","/providers/weserv",{"title":127,"_path":128,"children":129},"Advanced","/advanced",[130,133],{"title":131,"_path":132},"Custom Provider","/advanced/custom-provider",{"title":134,"_path":135},"Static Images","/advanced/static-images",{"_path":125,"_dir":137,"_draft":138,"_partial":138,"_locale":139,"title":124,"description":140,"body":141,"_type":196,"_id":197,"_source":198,"_file":199,"_stem":200,"_extension":201},"providers",false,"","Optimize images with Weserv's dynamic image transformation service.",{"type":142,"children":143,"toc":192},"root",[144,152,159],{"type":145,"tag":146,"props":147,"children":148},"element","p",{},[149],{"type":150,"value":151},"text","Weserv offers a wide range of image transformation for all JPEG, PNG, and GIF files.",{"type":145,"tag":153,"props":154,"children":156},"h2",{"id":155},"modifiers",[157],{"type":150,"value":158},"Modifiers",{"type":145,"tag":146,"props":160,"children":161},{},[162,164,171,173,179,181,190],{"type":150,"value":163},"In addition to ",{"type":145,"tag":165,"props":166,"children":168},"code",{"className":167},[],[169],{"type":150,"value":170},"height",{"type":150,"value":172}," and ",{"type":145,"tag":165,"props":174,"children":176},{"className":175},[],[177],{"type":150,"value":178},"width",{"type":150,"value":180},", the Weserv provider supports numerous modifiers documented ",{"type":145,"tag":182,"props":183,"children":187},"a",{"href":184,"rel":185},"https://images.weserv.nl/docs/quick-reference.html",[186],"nofollow",[188],{"type":150,"value":189},"here",{"type":150,"value":191},".",{"title":139,"searchDepth":193,"depth":193,"links":194},2,[195],{"id":155,"depth":193,"text":158},"markdown","content:3.providers:weserv.md","content","3.providers/weserv.md","3.providers/weserv","md",[203,807],{"_path":122,"_dir":137,"_draft":138,"_partial":138,"_locale":139,"title":121,"description":204,"links":205,"body":211,"_type":196,"_id":804,"_source":198,"_file":805,"_stem":806,"_extension":201},"Optimize images at Vercel's Edge Network.",[206],{"label":207,"icon":208,"to":209,"size":210},"Source","i-simple-icons-github","https://github.com/nuxt/image/blob/main/src/runtime/providers/vercel.ts","xs",{"type":142,"children":212,"toc":800},[213,235,240,257,263,276,285,411,417,460,465,485,492,794],{"type":145,"tag":146,"props":214,"children":215},{},[216,218,224,226,233],{"type":150,"value":217},"When deploying your Nuxt applications to ",{"type":145,"tag":182,"props":219,"children":222},{"href":220,"rel":221},"https://vercel.com",[186],[223],{"type":150,"value":121},{"type":150,"value":225}," platform, image module can use Vercel's ",{"type":145,"tag":182,"props":227,"children":230},{"href":228,"rel":229},"https://vercel.com/docs/edge-network/overview",[186],[231],{"type":150,"value":232},"Edge Network",{"type":150,"value":234}," to optimize images on demand.",{"type":145,"tag":146,"props":236,"children":237},{},[238],{"type":150,"value":239},"This provider will be enabled by default in Vercel deployments.",{"type":145,"tag":241,"props":242,"children":245},"callout",{"icon":243,"color":244},"i-heroicons-exclamation-triangle","amber",[246],{"type":145,"tag":146,"props":247,"children":248},{},[249,251],{"type":150,"value":250},"Vercel requires you to explicitly list all the widths used in your app. ",{"type":145,"tag":182,"props":252,"children":254},{"href":253},"#sizes",[255],{"type":150,"value":256},"See example below.",{"type":145,"tag":153,"props":258,"children":260},{"id":259},"domains",[261],{"type":150,"value":262},"Domains",{"type":145,"tag":146,"props":264,"children":265},{},[266,268,274],{"type":150,"value":267},"To use external URLs (images not in ",{"type":145,"tag":165,"props":269,"children":271},{"className":270},[],[272],{"type":150,"value":273},"public/",{"type":150,"value":275}," directory), hostnames should be whitelisted.",{"type":145,"tag":146,"props":277,"children":278},{},[279],{"type":145,"tag":280,"props":281,"children":282},"strong",{},[283],{"type":150,"value":284},"Example:",{"type":145,"tag":286,"props":287,"children":292},"pre",{"className":288,"code":289,"filename":290,"language":291,"meta":139,"style":139},"language-ts shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","export default defineNuxtConfig({\n  image: {\n    domains: ['avatars0.githubusercontent.com']\n  }\n})\n","nuxt.config.ts","ts",[293],{"type":145,"tag":165,"props":294,"children":295},{"__ignoreMap":139},[296,331,350,388,397],{"type":145,"tag":297,"props":298,"children":301},"span",{"class":299,"line":300},"line",1,[302,308,313,319,325],{"type":145,"tag":297,"props":303,"children":305},{"style":304},"--shiki-light:#39ADB5;--shiki-light-font-style:italic;--shiki-default:#89DDFF;--shiki-default-font-style:italic;--shiki-dark:#89DDFF;--shiki-dark-font-style:italic",[306],{"type":150,"value":307},"export",{"type":145,"tag":297,"props":309,"children":310},{"style":304},[311],{"type":150,"value":312}," default",{"type":145,"tag":297,"props":314,"children":316},{"style":315},"--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF",[317],{"type":150,"value":318}," defineNuxtConfig",{"type":145,"tag":297,"props":320,"children":322},{"style":321},"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8",[323],{"type":150,"value":324},"(",{"type":145,"tag":297,"props":326,"children":328},{"style":327},"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF",[329],{"type":150,"value":330},"{\n",{"type":145,"tag":297,"props":332,"children":333},{"class":299,"line":193},[334,340,345],{"type":145,"tag":297,"props":335,"children":337},{"style":336},"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178",[338],{"type":150,"value":339},"  image",{"type":145,"tag":297,"props":341,"children":342},{"style":327},[343],{"type":150,"value":344},":",{"type":145,"tag":297,"props":346,"children":347},{"style":327},[348],{"type":150,"value":349}," {\n",{"type":145,"tag":297,"props":351,"children":353},{"class":299,"line":352},3,[354,359,363,368,373,379,383],{"type":145,"tag":297,"props":355,"children":356},{"style":336},[357],{"type":150,"value":358},"    domains",{"type":145,"tag":297,"props":360,"children":361},{"style":327},[362],{"type":150,"value":344},{"type":145,"tag":297,"props":364,"children":365},{"style":321},[366],{"type":150,"value":367}," [",{"type":145,"tag":297,"props":369,"children":370},{"style":327},[371],{"type":150,"value":372},"'",{"type":145,"tag":297,"props":374,"children":376},{"style":375},"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D",[377],{"type":150,"value":378},"avatars0.githubusercontent.com",{"type":145,"tag":297,"props":380,"children":381},{"style":327},[382],{"type":150,"value":372},{"type":145,"tag":297,"props":384,"children":385},{"style":321},[386],{"type":150,"value":387},"]\n",{"type":145,"tag":297,"props":389,"children":391},{"class":299,"line":390},4,[392],{"type":145,"tag":297,"props":393,"children":394},{"style":327},[395],{"type":150,"value":396},"  }\n",{"type":145,"tag":297,"props":398,"children":400},{"class":299,"line":399},5,[401,406],{"type":145,"tag":297,"props":402,"children":403},{"style":327},[404],{"type":150,"value":405},"}",{"type":145,"tag":297,"props":407,"children":408},{"style":321},[409],{"type":150,"value":410},")\n",{"type":145,"tag":153,"props":412,"children":414},{"id":413},"sizes",[415],{"type":150,"value":416},"Sizes",{"type":145,"tag":146,"props":418,"children":419},{},[420,422,427,429,434,436,441,443,449,451,458],{"type":150,"value":421},"You need to specify ",{"type":145,"tag":280,"props":423,"children":424},{},[425],{"type":150,"value":426},"every custom width",{"type":150,"value":428}," used in ",{"type":145,"tag":165,"props":430,"children":432},{"className":431},[],[433],{"type":150,"value":25},{"type":150,"value":435},", ",{"type":145,"tag":165,"props":437,"children":439},{"className":438},[],[440],{"type":150,"value":28},{"type":150,"value":442}," or ",{"type":145,"tag":165,"props":444,"children":446},{"className":445},[],[447],{"type":150,"value":448},"$img",{"type":150,"value":450}," for Vercel to resize them properly (",{"type":145,"tag":182,"props":452,"children":455},{"href":453,"rel":454},"https://vercel.com/docs/build-output-api/v3/configuration#api",[186],[456],{"type":150,"value":457},"source",{"type":150,"value":459},").",{"type":145,"tag":146,"props":461,"children":462},{},[463],{"type":150,"value":464},"If a width is not defined, image will fallback to the next bigger width.",{"type":145,"tag":241,"props":466,"children":468},{"icon":467},"i-heroicons-light-bulb",[469],{"type":145,"tag":146,"props":470,"children":471},{},[472,474,484],{"type":150,"value":473},"Don't forget to also take into account ",{"type":145,"tag":182,"props":475,"children":477},{"href":476},"/get-started/configuration#densities",[478],{"type":145,"tag":165,"props":479,"children":481},{"className":480},[],[482],{"type":150,"value":483},"densities",{"type":150,"value":191},{"type":145,"tag":146,"props":486,"children":487},{},[488],{"type":145,"tag":280,"props":489,"children":490},{},[491],{"type":150,"value":284},{"type":145,"tag":493,"props":494,"children":495},"code-group",{},[496,667],{"type":145,"tag":286,"props":497,"children":502},{"className":498,"code":499,"filename":500,"language":501,"meta":139,"style":139},"language-vue shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","\u003Ctemplate>\n  \u003CNuxtImg\n    height=\"40\"\n    width=\"40\"\n    preset=\"cover\"\n    src=\"/nuxt-icon.png\"\n  />\n\u003C/template>\n","index.vue","vue",[503],{"type":145,"tag":165,"props":504,"children":505},{"__ignoreMap":139},[506,524,537,566,590,615,641,650],{"type":145,"tag":297,"props":507,"children":508},{"class":299,"line":300},[509,514,519],{"type":145,"tag":297,"props":510,"children":511},{"style":327},[512],{"type":150,"value":513},"\u003C",{"type":145,"tag":297,"props":515,"children":516},{"style":336},[517],{"type":150,"value":518},"template",{"type":145,"tag":297,"props":520,"children":521},{"style":327},[522],{"type":150,"value":523},">\n",{"type":145,"tag":297,"props":525,"children":526},{"class":299,"line":193},[527,532],{"type":145,"tag":297,"props":528,"children":529},{"style":327},[530],{"type":150,"value":531},"  \u003C",{"type":145,"tag":297,"props":533,"children":534},{"style":336},[535],{"type":150,"value":536},"NuxtImg\n",{"type":145,"tag":297,"props":538,"children":539},{"class":299,"line":352},[540,546,551,556,561],{"type":145,"tag":297,"props":541,"children":543},{"style":542},"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA",[544],{"type":150,"value":545},"    height",{"type":145,"tag":297,"props":547,"children":548},{"style":327},[549],{"type":150,"value":550},"=",{"type":145,"tag":297,"props":552,"children":553},{"style":327},[554],{"type":150,"value":555},"\"",{"type":145,"tag":297,"props":557,"children":558},{"style":375},[559],{"type":150,"value":560},"40",{"type":145,"tag":297,"props":562,"children":563},{"style":327},[564],{"type":150,"value":565},"\"\n",{"type":145,"tag":297,"props":567,"children":568},{"class":299,"line":390},[569,574,578,582,586],{"type":145,"tag":297,"props":570,"children":571},{"style":542},[572],{"type":150,"value":573},"    width",{"type":145,"tag":297,"props":575,"children":576},{"style":327},[577],{"type":150,"value":550},{"type":145,"tag":297,"props":579,"children":580},{"style":327},[581],{"type":150,"value":555},{"type":145,"tag":297,"props":583,"children":584},{"style":375},[585],{"type":150,"value":560},{"type":145,"tag":297,"props":587,"children":588},{"style":327},[589],{"type":150,"value":565},{"type":145,"tag":297,"props":591,"children":592},{"class":299,"line":399},[593,598,602,606,611],{"type":145,"tag":297,"props":594,"children":595},{"style":542},[596],{"type":150,"value":597},"    preset",{"type":145,"tag":297,"props":599,"children":600},{"style":327},[601],{"type":150,"value":550},{"type":145,"tag":297,"props":603,"children":604},{"style":327},[605],{"type":150,"value":555},{"type":145,"tag":297,"props":607,"children":608},{"style":375},[609],{"type":150,"value":610},"cover",{"type":145,"tag":297,"props":612,"children":613},{"style":327},[614],{"type":150,"value":565},{"type":145,"tag":297,"props":616,"children":618},{"class":299,"line":617},6,[619,624,628,632,637],{"type":145,"tag":297,"props":620,"children":621},{"style":542},[622],{"type":150,"value":623},"    src",{"type":145,"tag":297,"props":625,"children":626},{"style":327},[627],{"type":150,"value":550},{"type":145,"tag":297,"props":629,"children":630},{"style":327},[631],{"type":150,"value":555},{"type":145,"tag":297,"props":633,"children":634},{"style":375},[635],{"type":150,"value":636},"/nuxt-icon.png",{"type":145,"tag":297,"props":638,"children":639},{"style":327},[640],{"type":150,"value":565},{"type":145,"tag":297,"props":642,"children":644},{"class":299,"line":643},7,[645],{"type":145,"tag":297,"props":646,"children":647},{"style":327},[648],{"type":150,"value":649},"  />\n",{"type":145,"tag":297,"props":651,"children":653},{"class":299,"line":652},8,[654,659,663],{"type":145,"tag":297,"props":655,"children":656},{"style":327},[657],{"type":150,"value":658},"\u003C/",{"type":145,"tag":297,"props":660,"children":661},{"style":336},[662],{"type":150,"value":518},{"type":145,"tag":297,"props":664,"children":665},{"style":327},[666],{"type":150,"value":523},{"type":145,"tag":286,"props":668,"children":670},{"className":288,"code":669,"filename":290,"language":291,"meta":139,"style":139},"export default defineNuxtConfig({\n  image: {\n    screens: {\n      icon: 40,\n      icon2x: 80\n    }\n  }\n})\n",[671],{"type":145,"tag":165,"props":672,"children":673},{"__ignoreMap":139},[674,697,712,728,751,768,776,783],{"type":145,"tag":297,"props":675,"children":676},{"class":299,"line":300},[677,681,685,689,693],{"type":145,"tag":297,"props":678,"children":679},{"style":304},[680],{"type":150,"value":307},{"type":145,"tag":297,"props":682,"children":683},{"style":304},[684],{"type":150,"value":312},{"type":145,"tag":297,"props":686,"children":687},{"style":315},[688],{"type":150,"value":318},{"type":145,"tag":297,"props":690,"children":691},{"style":321},[692],{"type":150,"value":324},{"type":145,"tag":297,"props":694,"children":695},{"style":327},[696],{"type":150,"value":330},{"type":145,"tag":297,"props":698,"children":699},{"class":299,"line":193},[700,704,708],{"type":145,"tag":297,"props":701,"children":702},{"style":336},[703],{"type":150,"value":339},{"type":145,"tag":297,"props":705,"children":706},{"style":327},[707],{"type":150,"value":344},{"type":145,"tag":297,"props":709,"children":710},{"style":327},[711],{"type":150,"value":349},{"type":145,"tag":297,"props":713,"children":714},{"class":299,"line":352},[715,720,724],{"type":145,"tag":297,"props":716,"children":717},{"style":336},[718],{"type":150,"value":719},"    screens",{"type":145,"tag":297,"props":721,"children":722},{"style":327},[723],{"type":150,"value":344},{"type":145,"tag":297,"props":725,"children":726},{"style":327},[727],{"type":150,"value":349},{"type":145,"tag":297,"props":729,"children":730},{"class":299,"line":390},[731,736,740,746],{"type":145,"tag":297,"props":732,"children":733},{"style":336},[734],{"type":150,"value":735},"      icon",{"type":145,"tag":297,"props":737,"children":738},{"style":327},[739],{"type":150,"value":344},{"type":145,"tag":297,"props":741,"children":743},{"style":742},"--shiki-light:#F76D47;--shiki-default:#F78C6C;--shiki-dark:#F78C6C",[744],{"type":150,"value":745}," 40",{"type":145,"tag":297,"props":747,"children":748},{"style":327},[749],{"type":150,"value":750},",\n",{"type":145,"tag":297,"props":752,"children":753},{"class":299,"line":399},[754,759,763],{"type":145,"tag":297,"props":755,"children":756},{"style":336},[757],{"type":150,"value":758},"      icon2x",{"type":145,"tag":297,"props":760,"children":761},{"style":327},[762],{"type":150,"value":344},{"type":145,"tag":297,"props":764,"children":765},{"style":742},[766],{"type":150,"value":767}," 80\n",{"type":145,"tag":297,"props":769,"children":770},{"class":299,"line":617},[771],{"type":145,"tag":297,"props":772,"children":773},{"style":327},[774],{"type":150,"value":775},"    }\n",{"type":145,"tag":297,"props":777,"children":778},{"class":299,"line":643},[779],{"type":145,"tag":297,"props":780,"children":781},{"style":327},[782],{"type":150,"value":396},{"type":145,"tag":297,"props":784,"children":785},{"class":299,"line":652},[786,790],{"type":145,"tag":297,"props":787,"children":788},{"style":327},[789],{"type":150,"value":405},{"type":145,"tag":297,"props":791,"children":792},{"style":321},[793],{"type":150,"value":410},{"type":145,"tag":795,"props":796,"children":797},"style",{},[798],{"type":150,"value":799},"html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":139,"searchDepth":193,"depth":193,"links":801},[802,803],{"id":259,"depth":193,"text":262},{"id":413,"depth":193,"text":416},"content:3.providers:vercel.md","3.providers/vercel.md","3.providers/vercel",{"_path":132,"_dir":808,"_draft":138,"_partial":138,"_locale":139,"title":131,"description":809,"body":810,"_type":196,"_id":1850,"_source":198,"_file":1851,"_stem":1852,"_extension":201},"advanced","If a CDN provider is not supported, you can define it yourself.",{"type":142,"children":811,"toc":1840},[812,818,823,1331,1338,1418,1435,1441,1455,1461,1467,1487,1722,1743,1748,1761,1836],{"type":145,"tag":153,"props":813,"children":815},{"id":814},"provider-entry",[816],{"type":150,"value":817},"Provider Entry",{"type":145,"tag":146,"props":819,"children":820},{},[821],{"type":150,"value":822},"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":145,"tag":286,"props":824,"children":827},{"className":288,"code":825,"filename":826,"language":291,"meta":139,"style":139},"import { joinURL } from 'ufo'\nimport { createOperationsGenerator, defineProvider } from '#image'\n\nconst operationsGenerator = createOperationsGenerator()\n\nexport default defineProvider\u003C{ baseURL?: string }>({\n  getImage (src, { modifiers, baseURL }) => {\n    if (!baseURL) {\n      // also support runtime config \n      baseURL = useRuntimeConfig().public.siteUrl\n    }\n\n    const operations = operationsGenerator(modifiers)\n\n    return {\n      url: joinURL(baseURL, src + (operations ? '?' + operations : ''))\n    }\n  }\n})\n","providers/my-provider.ts",[828],{"type":145,"tag":165,"props":829,"children":830},{"__ignoreMap":139},[831,874,921,930,956,963,1012,1066,1097,1107,1149,1157,1165,1193,1201,1214,1303,1311,1319],{"type":145,"tag":297,"props":832,"children":833},{"class":299,"line":300},[834,839,844,849,854,859,864,869],{"type":145,"tag":297,"props":835,"children":836},{"style":304},[837],{"type":150,"value":838},"import",{"type":145,"tag":297,"props":840,"children":841},{"style":327},[842],{"type":150,"value":843}," {",{"type":145,"tag":297,"props":845,"children":846},{"style":321},[847],{"type":150,"value":848}," joinURL",{"type":145,"tag":297,"props":850,"children":851},{"style":327},[852],{"type":150,"value":853}," }",{"type":145,"tag":297,"props":855,"children":856},{"style":304},[857],{"type":150,"value":858}," from",{"type":145,"tag":297,"props":860,"children":861},{"style":327},[862],{"type":150,"value":863}," '",{"type":145,"tag":297,"props":865,"children":866},{"style":375},[867],{"type":150,"value":868},"ufo",{"type":145,"tag":297,"props":870,"children":871},{"style":327},[872],{"type":150,"value":873},"'\n",{"type":145,"tag":297,"props":875,"children":876},{"class":299,"line":193},[877,881,885,890,895,900,904,908,912,917],{"type":145,"tag":297,"props":878,"children":879},{"style":304},[880],{"type":150,"value":838},{"type":145,"tag":297,"props":882,"children":883},{"style":327},[884],{"type":150,"value":843},{"type":145,"tag":297,"props":886,"children":887},{"style":321},[888],{"type":150,"value":889}," createOperationsGenerator",{"type":145,"tag":297,"props":891,"children":892},{"style":327},[893],{"type":150,"value":894},",",{"type":145,"tag":297,"props":896,"children":897},{"style":321},[898],{"type":150,"value":899}," defineProvider",{"type":145,"tag":297,"props":901,"children":902},{"style":327},[903],{"type":150,"value":853},{"type":145,"tag":297,"props":905,"children":906},{"style":304},[907],{"type":150,"value":858},{"type":145,"tag":297,"props":909,"children":910},{"style":327},[911],{"type":150,"value":863},{"type":145,"tag":297,"props":913,"children":914},{"style":375},[915],{"type":150,"value":916},"#image",{"type":145,"tag":297,"props":918,"children":919},{"style":327},[920],{"type":150,"value":873},{"type":145,"tag":297,"props":922,"children":923},{"class":299,"line":352},[924],{"type":145,"tag":297,"props":925,"children":927},{"emptyLinePlaceholder":926},true,[928],{"type":150,"value":929},"\n",{"type":145,"tag":297,"props":931,"children":932},{"class":299,"line":390},[933,938,943,947,951],{"type":145,"tag":297,"props":934,"children":935},{"style":542},[936],{"type":150,"value":937},"const",{"type":145,"tag":297,"props":939,"children":940},{"style":321},[941],{"type":150,"value":942}," operationsGenerator ",{"type":145,"tag":297,"props":944,"children":945},{"style":327},[946],{"type":150,"value":550},{"type":145,"tag":297,"props":948,"children":949},{"style":315},[950],{"type":150,"value":889},{"type":145,"tag":297,"props":952,"children":953},{"style":321},[954],{"type":150,"value":955},"()\n",{"type":145,"tag":297,"props":957,"children":958},{"class":299,"line":399},[959],{"type":145,"tag":297,"props":960,"children":961},{"emptyLinePlaceholder":926},[962],{"type":150,"value":929},{"type":145,"tag":297,"props":964,"children":965},{"class":299,"line":617},[966,970,974,978,983,988,993,999,1004,1008],{"type":145,"tag":297,"props":967,"children":968},{"style":304},[969],{"type":150,"value":307},{"type":145,"tag":297,"props":971,"children":972},{"style":304},[973],{"type":150,"value":312},{"type":145,"tag":297,"props":975,"children":976},{"style":315},[977],{"type":150,"value":899},{"type":145,"tag":297,"props":979,"children":980},{"style":327},[981],{"type":150,"value":982},"\u003C{",{"type":145,"tag":297,"props":984,"children":985},{"style":336},[986],{"type":150,"value":987}," baseURL",{"type":145,"tag":297,"props":989,"children":990},{"style":327},[991],{"type":150,"value":992},"?:",{"type":145,"tag":297,"props":994,"children":996},{"style":995},"--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B",[997],{"type":150,"value":998}," string",{"type":145,"tag":297,"props":1000,"children":1001},{"style":327},[1002],{"type":150,"value":1003}," }>",{"type":145,"tag":297,"props":1005,"children":1006},{"style":321},[1007],{"type":150,"value":324},{"type":145,"tag":297,"props":1009,"children":1010},{"style":327},[1011],{"type":150,"value":330},{"type":145,"tag":297,"props":1013,"children":1014},{"class":299,"line":643},[1015,1020,1025,1031,1035,1039,1044,1048,1052,1057,1062],{"type":145,"tag":297,"props":1016,"children":1017},{"style":336},[1018],{"type":150,"value":1019},"  getImage",{"type":145,"tag":297,"props":1021,"children":1022},{"style":327},[1023],{"type":150,"value":1024}," (",{"type":145,"tag":297,"props":1026,"children":1028},{"style":1027},"--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#EEFFFF;--shiki-default-font-style:italic;--shiki-dark:#BABED8;--shiki-dark-font-style:italic",[1029],{"type":150,"value":1030},"src",{"type":145,"tag":297,"props":1032,"children":1033},{"style":327},[1034],{"type":150,"value":894},{"type":145,"tag":297,"props":1036,"children":1037},{"style":327},[1038],{"type":150,"value":843},{"type":145,"tag":297,"props":1040,"children":1041},{"style":1027},[1042],{"type":150,"value":1043}," modifiers",{"type":145,"tag":297,"props":1045,"children":1046},{"style":327},[1047],{"type":150,"value":894},{"type":145,"tag":297,"props":1049,"children":1050},{"style":1027},[1051],{"type":150,"value":987},{"type":145,"tag":297,"props":1053,"children":1054},{"style":327},[1055],{"type":150,"value":1056}," })",{"type":145,"tag":297,"props":1058,"children":1059},{"style":542},[1060],{"type":150,"value":1061}," =>",{"type":145,"tag":297,"props":1063,"children":1064},{"style":327},[1065],{"type":150,"value":349},{"type":145,"tag":297,"props":1067,"children":1068},{"class":299,"line":652},[1069,1074,1078,1083,1088,1093],{"type":145,"tag":297,"props":1070,"children":1071},{"style":336},[1072],{"type":150,"value":1073},"    if",{"type":145,"tag":297,"props":1075,"children":1076},{"style":327},[1077],{"type":150,"value":1024},{"type":145,"tag":297,"props":1079,"children":1080},{"style":321},[1081],{"type":150,"value":1082},"!",{"type":145,"tag":297,"props":1084,"children":1085},{"style":1027},[1086],{"type":150,"value":1087},"baseURL",{"type":145,"tag":297,"props":1089,"children":1090},{"style":327},[1091],{"type":150,"value":1092},")",{"type":145,"tag":297,"props":1094,"children":1095},{"style":327},[1096],{"type":150,"value":349},{"type":145,"tag":297,"props":1098,"children":1100},{"class":299,"line":1099},9,[1101],{"type":145,"tag":297,"props":1102,"children":1104},{"style":1103},"--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#546E7A;--shiki-default-font-style:italic;--shiki-dark:#676E95;--shiki-dark-font-style:italic",[1105],{"type":150,"value":1106},"      // also support runtime config \n",{"type":145,"tag":297,"props":1108,"children":1110},{"class":299,"line":1109},10,[1111,1116,1121,1126,1131,1135,1140,1144],{"type":145,"tag":297,"props":1112,"children":1113},{"style":321},[1114],{"type":150,"value":1115},"      baseURL",{"type":145,"tag":297,"props":1117,"children":1118},{"style":327},[1119],{"type":150,"value":1120}," =",{"type":145,"tag":297,"props":1122,"children":1123},{"style":315},[1124],{"type":150,"value":1125}," useRuntimeConfig",{"type":145,"tag":297,"props":1127,"children":1128},{"style":336},[1129],{"type":150,"value":1130},"()",{"type":145,"tag":297,"props":1132,"children":1133},{"style":327},[1134],{"type":150,"value":191},{"type":145,"tag":297,"props":1136,"children":1137},{"style":321},[1138],{"type":150,"value":1139},"public",{"type":145,"tag":297,"props":1141,"children":1142},{"style":327},[1143],{"type":150,"value":191},{"type":145,"tag":297,"props":1145,"children":1146},{"style":321},[1147],{"type":150,"value":1148},"siteUrl\n",{"type":145,"tag":297,"props":1150,"children":1152},{"class":299,"line":1151},11,[1153],{"type":145,"tag":297,"props":1154,"children":1155},{"style":327},[1156],{"type":150,"value":775},{"type":145,"tag":297,"props":1158,"children":1160},{"class":299,"line":1159},12,[1161],{"type":145,"tag":297,"props":1162,"children":1163},{"emptyLinePlaceholder":926},[1164],{"type":150,"value":929},{"type":145,"tag":297,"props":1166,"children":1168},{"class":299,"line":1167},13,[1169,1174,1179,1183,1188],{"type":145,"tag":297,"props":1170,"children":1171},{"style":995},[1172],{"type":150,"value":1173},"    const",{"type":145,"tag":297,"props":1175,"children":1176},{"style":336},[1177],{"type":150,"value":1178}," operations",{"type":145,"tag":297,"props":1180,"children":1181},{"style":327},[1182],{"type":150,"value":1120},{"type":145,"tag":297,"props":1184,"children":1185},{"style":336},[1186],{"type":150,"value":1187}," operationsGenerator",{"type":145,"tag":297,"props":1189,"children":1190},{"style":321},[1191],{"type":150,"value":1192},"(modifiers)\n",{"type":145,"tag":297,"props":1194,"children":1196},{"class":299,"line":1195},14,[1197],{"type":145,"tag":297,"props":1198,"children":1199},{"emptyLinePlaceholder":926},[1200],{"type":150,"value":929},{"type":145,"tag":297,"props":1202,"children":1204},{"class":299,"line":1203},15,[1205,1210],{"type":145,"tag":297,"props":1206,"children":1207},{"style":995},[1208],{"type":150,"value":1209},"    return",{"type":145,"tag":297,"props":1211,"children":1212},{"style":327},[1213],{"type":150,"value":349},{"type":145,"tag":297,"props":1215,"children":1217},{"class":299,"line":1216},16,[1218,1223,1227,1231,1235,1239,1243,1248,1253,1258,1263,1267,1272,1276,1281,1285,1290,1295,1299],{"type":145,"tag":297,"props":1219,"children":1220},{"style":336},[1221],{"type":150,"value":1222},"      url",{"type":145,"tag":297,"props":1224,"children":1225},{"style":327},[1226],{"type":150,"value":344},{"type":145,"tag":297,"props":1228,"children":1229},{"style":995},[1230],{"type":150,"value":848},{"type":145,"tag":297,"props":1232,"children":1233},{"style":327},[1234],{"type":150,"value":324},{"type":145,"tag":297,"props":1236,"children":1237},{"style":1027},[1238],{"type":150,"value":1087},{"type":145,"tag":297,"props":1240,"children":1241},{"style":327},[1242],{"type":150,"value":894},{"type":145,"tag":297,"props":1244,"children":1245},{"style":1027},[1246],{"type":150,"value":1247}," src",{"type":145,"tag":297,"props":1249,"children":1250},{"style":321},[1251],{"type":150,"value":1252}," + (",{"type":145,"tag":297,"props":1254,"children":1255},{"style":1027},[1256],{"type":150,"value":1257},"operations",{"type":145,"tag":297,"props":1259,"children":1260},{"style":327},[1261],{"type":150,"value":1262}," ?",{"type":145,"tag":297,"props":1264,"children":1265},{"style":327},[1266],{"type":150,"value":863},{"type":145,"tag":297,"props":1268,"children":1269},{"style":375},[1270],{"type":150,"value":1271},"?",{"type":145,"tag":297,"props":1273,"children":1274},{"style":327},[1275],{"type":150,"value":372},{"type":145,"tag":297,"props":1277,"children":1278},{"style":321},[1279],{"type":150,"value":1280}," + ",{"type":145,"tag":297,"props":1282,"children":1283},{"style":1027},[1284],{"type":150,"value":1257},{"type":145,"tag":297,"props":1286,"children":1287},{"style":327},[1288],{"type":150,"value":1289}," :",{"type":145,"tag":297,"props":1291,"children":1292},{"style":327},[1293],{"type":150,"value":1294}," ''",{"type":145,"tag":297,"props":1296,"children":1297},{"style":327},[1298],{"type":150,"value":1092},{"type":145,"tag":297,"props":1300,"children":1301},{"style":321},[1302],{"type":150,"value":410},{"type":145,"tag":297,"props":1304,"children":1306},{"class":299,"line":1305},17,[1307],{"type":145,"tag":297,"props":1308,"children":1309},{"style":327},[1310],{"type":150,"value":775},{"type":145,"tag":297,"props":1312,"children":1314},{"class":299,"line":1313},18,[1315],{"type":145,"tag":297,"props":1316,"children":1317},{"style":327},[1318],{"type":150,"value":396},{"type":145,"tag":297,"props":1320,"children":1322},{"class":299,"line":1321},19,[1323,1327],{"type":145,"tag":297,"props":1324,"children":1325},{"style":327},[1326],{"type":150,"value":405},{"type":145,"tag":297,"props":1328,"children":1329},{"style":321},[1330],{"type":150,"value":410},{"type":145,"tag":1332,"props":1333,"children":1335},"h3",{"id":1334},"parameters",[1336],{"type":150,"value":1337},"Parameters",{"type":145,"tag":1339,"props":1340,"children":1341},"ul",{},[1342,1353,1363],{"type":145,"tag":1343,"props":1344,"children":1345},"li",{},[1346,1351],{"type":145,"tag":165,"props":1347,"children":1349},{"className":1348},[],[1350],{"type":150,"value":1030},{"type":150,"value":1352},": Source path of the image.",{"type":145,"tag":1343,"props":1354,"children":1355},{},[1356,1361],{"type":145,"tag":165,"props":1357,"children":1359},{"className":1358},[],[1360],{"type":150,"value":155},{"type":150,"value":1362},": List of image modifiers that are defined in the image component or as a preset.",{"type":145,"tag":1343,"props":1364,"children":1365},{},[1366,1372,1374,1380,1382],{"type":145,"tag":165,"props":1367,"children":1369},{"className":1368},[],[1370],{"type":150,"value":1371},"ctx",{"type":150,"value":1373},": (",{"type":145,"tag":165,"props":1375,"children":1377},{"className":1376},[],[1378],{"type":150,"value":1379},"ImageCTX",{"type":150,"value":1381},") Image module runtime context\n",{"type":145,"tag":1339,"props":1383,"children":1384},{},[1385,1403],{"type":145,"tag":1343,"props":1386,"children":1387},{},[1388,1394,1395,1401],{"type":145,"tag":165,"props":1389,"children":1391},{"className":1390},[],[1392],{"type":150,"value":1393},"options",{"type":150,"value":1373},{"type":145,"tag":165,"props":1396,"children":1398},{"className":1397},[],[1399],{"type":150,"value":1400},"CreateImageOptions",{"type":150,"value":1402},") Image module global runtime options",{"type":145,"tag":1343,"props":1404,"children":1405},{},[1406,1411,1413],{"type":145,"tag":165,"props":1407,"children":1409},{"className":1408},[],[1410],{"type":150,"value":448},{"type":150,"value":1412},": The ",{"type":145,"tag":182,"props":1414,"children":1415},{"href":32},[1416],{"type":150,"value":1417},"$img helper",{"type":145,"tag":146,"props":1419,"children":1420},{},[1421,1426,1428,1433],{"type":145,"tag":280,"props":1422,"children":1423},{},[1424],{"type":150,"value":1425},"Note:",{"type":150,"value":1427}," Values in ",{"type":145,"tag":165,"props":1429,"children":1431},{"className":1430},[],[1432],{"type":150,"value":1371},{"type":150,"value":1434}," might change. Use it with caution.",{"type":145,"tag":1332,"props":1436,"children":1438},{"id":1437},"return",[1439],{"type":150,"value":1440},"Return",{"type":145,"tag":1339,"props":1442,"children":1443},{},[1444],{"type":145,"tag":1343,"props":1445,"children":1446},{},[1447,1453],{"type":145,"tag":165,"props":1448,"children":1450},{"className":1449},[],[1451],{"type":150,"value":1452},"url",{"type":150,"value":1454},": Absolute or relative URL of optimized image.",{"type":145,"tag":153,"props":1456,"children":1458},{"id":1457},"use-your-provider",[1459],{"type":150,"value":1460},"Use Your Provider",{"type":145,"tag":1332,"props":1462,"children":1464},{"id":1463},"register-provider",[1465],{"type":150,"value":1466},"Register provider",{"type":145,"tag":146,"props":1468,"children":1469},{},[1470,1472,1478,1480,1486],{"type":150,"value":1471},"After you create your own provider, you should register it in the ",{"type":145,"tag":165,"props":1473,"children":1475},{"className":1474},[],[1476],{"type":150,"value":1477},"nuxt.config",{"type":150,"value":1479},". In order to do that create a property inside ",{"type":145,"tag":165,"props":1481,"children":1483},{"className":1482},[],[1484],{"type":150,"value":1485},"image.provider",{"type":150,"value":191},{"type":145,"tag":286,"props":1488,"children":1490},{"className":288,"code":1489,"filename":290,"language":291,"meta":139,"style":139},"export default defineNuxtConfig({\n  image: {\n    providers: {\n      myProvider: {\n        name: 'myProvider', // optional value to overrider provider name\n        provider: '~/providers/my-provider.ts', // Path to custom provider\n        options: {\n          // ... provider options\n          baseURL: 'https://site.com'\n        }\n      }\n    }\n  }\n})\n",[1491],{"type":145,"tag":165,"props":1492,"children":1493},{"__ignoreMap":139},[1494,1517,1532,1548,1564,1598,1632,1648,1656,1681,1689,1697,1704,1711],{"type":145,"tag":297,"props":1495,"children":1496},{"class":299,"line":300},[1497,1501,1505,1509,1513],{"type":145,"tag":297,"props":1498,"children":1499},{"style":304},[1500],{"type":150,"value":307},{"type":145,"tag":297,"props":1502,"children":1503},{"style":304},[1504],{"type":150,"value":312},{"type":145,"tag":297,"props":1506,"children":1507},{"style":315},[1508],{"type":150,"value":318},{"type":145,"tag":297,"props":1510,"children":1511},{"style":321},[1512],{"type":150,"value":324},{"type":145,"tag":297,"props":1514,"children":1515},{"style":327},[1516],{"type":150,"value":330},{"type":145,"tag":297,"props":1518,"children":1519},{"class":299,"line":193},[1520,1524,1528],{"type":145,"tag":297,"props":1521,"children":1522},{"style":336},[1523],{"type":150,"value":339},{"type":145,"tag":297,"props":1525,"children":1526},{"style":327},[1527],{"type":150,"value":344},{"type":145,"tag":297,"props":1529,"children":1530},{"style":327},[1531],{"type":150,"value":349},{"type":145,"tag":297,"props":1533,"children":1534},{"class":299,"line":352},[1535,1540,1544],{"type":145,"tag":297,"props":1536,"children":1537},{"style":336},[1538],{"type":150,"value":1539},"    providers",{"type":145,"tag":297,"props":1541,"children":1542},{"style":327},[1543],{"type":150,"value":344},{"type":145,"tag":297,"props":1545,"children":1546},{"style":327},[1547],{"type":150,"value":349},{"type":145,"tag":297,"props":1549,"children":1550},{"class":299,"line":390},[1551,1556,1560],{"type":145,"tag":297,"props":1552,"children":1553},{"style":336},[1554],{"type":150,"value":1555},"      myProvider",{"type":145,"tag":297,"props":1557,"children":1558},{"style":327},[1559],{"type":150,"value":344},{"type":145,"tag":297,"props":1561,"children":1562},{"style":327},[1563],{"type":150,"value":349},{"type":145,"tag":297,"props":1565,"children":1566},{"class":299,"line":399},[1567,1572,1576,1580,1585,1589,1593],{"type":145,"tag":297,"props":1568,"children":1569},{"style":336},[1570],{"type":150,"value":1571},"        name",{"type":145,"tag":297,"props":1573,"children":1574},{"style":327},[1575],{"type":150,"value":344},{"type":145,"tag":297,"props":1577,"children":1578},{"style":327},[1579],{"type":150,"value":863},{"type":145,"tag":297,"props":1581,"children":1582},{"style":375},[1583],{"type":150,"value":1584},"myProvider",{"type":145,"tag":297,"props":1586,"children":1587},{"style":327},[1588],{"type":150,"value":372},{"type":145,"tag":297,"props":1590,"children":1591},{"style":327},[1592],{"type":150,"value":894},{"type":145,"tag":297,"props":1594,"children":1595},{"style":1103},[1596],{"type":150,"value":1597}," // optional value to overrider provider name\n",{"type":145,"tag":297,"props":1599,"children":1600},{"class":299,"line":617},[1601,1606,1610,1614,1619,1623,1627],{"type":145,"tag":297,"props":1602,"children":1603},{"style":336},[1604],{"type":150,"value":1605},"        provider",{"type":145,"tag":297,"props":1607,"children":1608},{"style":327},[1609],{"type":150,"value":344},{"type":145,"tag":297,"props":1611,"children":1612},{"style":327},[1613],{"type":150,"value":863},{"type":145,"tag":297,"props":1615,"children":1616},{"style":375},[1617],{"type":150,"value":1618},"~/providers/my-provider.ts",{"type":145,"tag":297,"props":1620,"children":1621},{"style":327},[1622],{"type":150,"value":372},{"type":145,"tag":297,"props":1624,"children":1625},{"style":327},[1626],{"type":150,"value":894},{"type":145,"tag":297,"props":1628,"children":1629},{"style":1103},[1630],{"type":150,"value":1631}," // Path to custom provider\n",{"type":145,"tag":297,"props":1633,"children":1634},{"class":299,"line":643},[1635,1640,1644],{"type":145,"tag":297,"props":1636,"children":1637},{"style":336},[1638],{"type":150,"value":1639},"        options",{"type":145,"tag":297,"props":1641,"children":1642},{"style":327},[1643],{"type":150,"value":344},{"type":145,"tag":297,"props":1645,"children":1646},{"style":327},[1647],{"type":150,"value":349},{"type":145,"tag":297,"props":1649,"children":1650},{"class":299,"line":652},[1651],{"type":145,"tag":297,"props":1652,"children":1653},{"style":1103},[1654],{"type":150,"value":1655},"          // ... provider options\n",{"type":145,"tag":297,"props":1657,"children":1658},{"class":299,"line":1099},[1659,1664,1668,1672,1677],{"type":145,"tag":297,"props":1660,"children":1661},{"style":336},[1662],{"type":150,"value":1663},"          baseURL",{"type":145,"tag":297,"props":1665,"children":1666},{"style":327},[1667],{"type":150,"value":344},{"type":145,"tag":297,"props":1669,"children":1670},{"style":327},[1671],{"type":150,"value":863},{"type":145,"tag":297,"props":1673,"children":1674},{"style":375},[1675],{"type":150,"value":1676},"https://site.com",{"type":145,"tag":297,"props":1678,"children":1679},{"style":327},[1680],{"type":150,"value":873},{"type":145,"tag":297,"props":1682,"children":1683},{"class":299,"line":1109},[1684],{"type":145,"tag":297,"props":1685,"children":1686},{"style":327},[1687],{"type":150,"value":1688},"        }\n",{"type":145,"tag":297,"props":1690,"children":1691},{"class":299,"line":1151},[1692],{"type":145,"tag":297,"props":1693,"children":1694},{"style":327},[1695],{"type":150,"value":1696},"      }\n",{"type":145,"tag":297,"props":1698,"children":1699},{"class":299,"line":1159},[1700],{"type":145,"tag":297,"props":1701,"children":1702},{"style":327},[1703],{"type":150,"value":775},{"type":145,"tag":297,"props":1705,"children":1706},{"class":299,"line":1167},[1707],{"type":145,"tag":297,"props":1708,"children":1709},{"style":327},[1710],{"type":150,"value":396},{"type":145,"tag":297,"props":1712,"children":1713},{"class":299,"line":1195},[1714,1718],{"type":145,"tag":297,"props":1715,"children":1716},{"style":327},[1717],{"type":150,"value":405},{"type":145,"tag":297,"props":1719,"children":1720},{"style":321},[1721],{"type":150,"value":410},{"type":145,"tag":146,"props":1723,"children":1724},{},[1725,1727,1732,1734,1741],{"type":150,"value":1726},"There are plenty of useful utilities that can be used to write providers by importing from ",{"type":145,"tag":165,"props":1728,"children":1730},{"className":1729},[],[1731],{"type":150,"value":916},{"type":150,"value":1733},". See ",{"type":145,"tag":182,"props":1735,"children":1738},{"href":1736,"rel":1737},"https://github.com/nuxt/image/tree/main/src/runtime/providers",[186],[1739],{"type":150,"value":1740},"src/runtime/providers",{"type":150,"value":1742}," for more info.",{"type":145,"tag":1332,"props":1744,"children":1746},{"id":1745},"usage",[1747],{"type":150,"value":21},{"type":145,"tag":146,"props":1749,"children":1750},{},[1751,1753,1759],{"type":150,"value":1752},"Set attribute ",{"type":145,"tag":165,"props":1754,"children":1756},{"className":1755},[],[1757],{"type":150,"value":1758},"provider",{"type":150,"value":1760}," as your custom provider name.",{"type":145,"tag":286,"props":1762,"children":1765},{"className":498,"code":1763,"filename":1764,"language":501,"meta":139,"style":139},"\u003CNuxtImg provider=\"myProvider\" src=\"/image.png\" >\n\u003C!-- \u003Cimg src=\"https://site.com/image.png\"> -->\n","pages/index.vue",[1766],{"type":145,"tag":165,"props":1767,"children":1768},{"__ignoreMap":139},[1769,1828],{"type":145,"tag":297,"props":1770,"children":1771},{"class":299,"line":300},[1772,1776,1781,1786,1790,1794,1798,1802,1806,1810,1814,1819,1823],{"type":145,"tag":297,"props":1773,"children":1774},{"style":327},[1775],{"type":150,"value":513},{"type":145,"tag":297,"props":1777,"children":1778},{"style":336},[1779],{"type":150,"value":1780},"NuxtImg",{"type":145,"tag":297,"props":1782,"children":1783},{"style":542},[1784],{"type":150,"value":1785}," provider",{"type":145,"tag":297,"props":1787,"children":1788},{"style":327},[1789],{"type":150,"value":550},{"type":145,"tag":297,"props":1791,"children":1792},{"style":327},[1793],{"type":150,"value":555},{"type":145,"tag":297,"props":1795,"children":1796},{"style":375},[1797],{"type":150,"value":1584},{"type":145,"tag":297,"props":1799,"children":1800},{"style":327},[1801],{"type":150,"value":555},{"type":145,"tag":297,"props":1803,"children":1804},{"style":542},[1805],{"type":150,"value":1247},{"type":145,"tag":297,"props":1807,"children":1808},{"style":327},[1809],{"type":150,"value":550},{"type":145,"tag":297,"props":1811,"children":1812},{"style":327},[1813],{"type":150,"value":555},{"type":145,"tag":297,"props":1815,"children":1816},{"style":375},[1817],{"type":150,"value":1818},"/image.png",{"type":145,"tag":297,"props":1820,"children":1821},{"style":327},[1822],{"type":150,"value":555},{"type":145,"tag":297,"props":1824,"children":1825},{"style":327},[1826],{"type":150,"value":1827}," >\n",{"type":145,"tag":297,"props":1829,"children":1830},{"class":299,"line":193},[1831],{"type":145,"tag":297,"props":1832,"children":1833},{"style":321},[1834],{"type":150,"value":1835},"\u003C!-- \u003Cimg src=\"https://site.com/image.png\"> -->\n",{"type":145,"tag":795,"props":1837,"children":1838},{},[1839],{"type":150,"value":799},{"title":139,"searchDepth":193,"depth":193,"links":1841},[1842,1846],{"id":814,"depth":193,"text":817,"children":1843},[1844,1845],{"id":1334,"depth":352,"text":1337},{"id":1437,"depth":352,"text":1440},{"id":1457,"depth":193,"text":1460,"children":1847},[1848,1849],{"id":1463,"depth":352,"text":1466},{"id":1745,"depth":352,"text":21},"content:4.advanced:1.custom-provider.md","4.advanced/1.custom-provider.md","4.advanced/1.custom-provider",1748853113010]