nuxt-og-image 1.4.17 → 1.4.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client/200.html +2 -2
- package/dist/client/404.html +2 -2
- package/dist/client/_nuxt/IFrameLoader.d0721d67.js +1 -0
- package/dist/client/_nuxt/Icon.66609781.js +1 -0
- package/dist/client/_nuxt/{Icon.vue.a0609595.js → Icon.vue.2d5f9e0f.js} +1 -1
- package/dist/client/_nuxt/ImageLoader.04264fde.js +1 -0
- package/dist/client/_nuxt/NButton.33ec11a1.js +1 -0
- package/dist/client/_nuxt/NButton.vue.d45cad81.js +1 -0
- package/dist/client/_nuxt/{NCard.0cbff977.js → NCard.cc198cae.js} +1 -1
- package/dist/client/_nuxt/{NCheckbox.29042883.js → NCheckbox.37314fc8.js} +1 -1
- package/dist/client/_nuxt/NDarkToggle.a29ff948.js +1 -0
- package/dist/client/_nuxt/{NDarkToggle.vue.d2712de1.js → NDarkToggle.vue.85927d5f.js} +1 -1
- package/dist/client/_nuxt/{NDialog.873412a1.js → NDialog.c5e523bd.js} +1 -1
- package/dist/client/_nuxt/NDropdown.0280e904.js +1 -0
- package/dist/client/_nuxt/NIcon.aa9fa64a.js +1 -0
- package/dist/client/_nuxt/{NIcon.vue.37ebd0d3.js → NIcon.vue.7879a03e.js} +1 -1
- package/dist/client/_nuxt/NLink.43411d73.js +1 -0
- package/dist/client/_nuxt/NLink.vue.89d655dc.js +1 -0
- package/dist/client/_nuxt/{NRadio.c7c90bd5.js → NRadio.326e654c.js} +1 -1
- package/dist/client/_nuxt/{NSwitch.2564564a.js → NSwitch.778bc3d1.js} +1 -1
- package/dist/client/_nuxt/NTextInput.0c18a7a6.js +1 -0
- package/dist/client/_nuxt/{NTextInput.vue.bc2044d4.js → NTextInput.vue.95fd1ec5.js} +1 -1
- package/dist/client/_nuxt/{NTip.b132a6c3.js → NTip.bf07025c.js} +1 -1
- package/dist/client/_nuxt/{NuxtContentLogo.aea9dda4.js → NuxtContentLogo.27d6ee5b.js} +1 -1
- package/dist/client/_nuxt/NuxtExampleLayout.db12c70e.js +1 -0
- package/dist/client/_nuxt/{NuxtLogo.6ae55d70.js → NuxtLogo.91cb552d.js} +1 -1
- package/dist/client/_nuxt/{UnoIcon.997f4fc6.js → UnoIcon.157d0078.js} +1 -1
- package/dist/client/_nuxt/app.config.5015f363.js +1 -0
- package/dist/client/_nuxt/{client-only.36f2ebb6.js → client-only.435a195c.js} +1 -1
- package/dist/client/_nuxt/{component.vue3.23796365.js → component.vue3.89f64918.js} +1 -1
- package/dist/client/_nuxt/components.499d69e9.js +1 -0
- package/dist/client/_nuxt/components.client.21f887f1.js +1 -0
- package/dist/client/_nuxt/composables.18b26f4a.js +1 -0
- package/dist/client/_nuxt/composables.371d9c1f.js +1 -0
- package/dist/client/_nuxt/defu.5a7c1433.js +1 -0
- package/dist/client/_nuxt/{dev-only.379476ca.js → dev-only.083678f7.js} +1 -1
- package/dist/client/_nuxt/entry.9c9f018c.js +1 -0
- package/dist/client/_nuxt/error-404.6384bc0c.js +1 -0
- package/dist/client/_nuxt/error-500.ffce2eda.js +1 -0
- package/dist/client/_nuxt/error-component.a4e65745.js +3 -0
- package/dist/client/_nuxt/{index.a2eb8f04.js → index.177496da.js} +1 -1
- package/dist/client/_nuxt/{index.b042469a.js → index.4ad828aa.js} +1 -1
- package/dist/client/_nuxt/index.d37288c6.js +1 -0
- package/dist/client/_nuxt/layout.70d4c05b.js +1 -0
- package/dist/client/_nuxt/logic.572bc5bc.js +1 -0
- package/dist/client/_nuxt/nuxt-error-boundary.62487e2b.js +1 -0
- package/dist/client/_nuxt/nuxt-link.5a11ff0a.js +1 -0
- package/dist/client/_nuxt/nuxt-loading-indicator.dd809d74.js +1 -0
- package/dist/client/_nuxt/nuxt.3d910b2a.js +1 -0
- package/dist/client/_nuxt/options.a18e1b65.js +1 -0
- package/dist/client/_nuxt/page.57b4d336.js +1 -0
- package/dist/client/_nuxt/png.25b44885.js +1 -0
- package/dist/client/_nuxt/router.0fad6fd6.js +1 -0
- package/dist/client/_nuxt/{runtime-core.esm-bundler.2fd5d294.js → runtime-core.esm-bundler.6578edd8.js} +1 -1
- package/dist/client/_nuxt/{runtime-dom.esm-bundler.3010d304.js → runtime-dom.esm-bundler.d11338ba.js} +1 -1
- package/dist/client/_nuxt/{server-placeholder.4fb69fc5.js → server-placeholder.db84c337.js} +1 -1
- package/dist/client/_nuxt/{shiki.69c0881e.js → shiki.f3c485dd.js} +1 -1
- package/dist/client/_nuxt/state.b0e07f74.js +1 -0
- package/dist/client/_nuxt/svg.c25240f5.js +1 -0
- package/dist/client/_nuxt/utils.8063e9c8.js +5 -0
- package/dist/client/_nuxt/vnodes.301006a0.js +1 -0
- package/dist/client/_nuxt/welcome.f8a4fce2.js +1 -0
- package/dist/client/index.html +2 -2
- package/dist/client/options/index.html +2 -2
- package/dist/client/png/index.html +2 -2
- package/dist/client/svg/index.html +2 -2
- package/dist/client/vnodes/index.html +2 -2
- package/dist/module.json +1 -1
- package/dist/module.mjs +4 -4
- package/dist/runtime/components/OgImageBasic.island.vue +8 -8
- package/dist/runtime/public-assets/yoga.wasm +0 -0
- package/package.json +8 -8
- package/dist/client/_nuxt/IFrameLoader.962d3962.js +0 -1
- package/dist/client/_nuxt/Icon.aaef63cd.js +0 -1
- package/dist/client/_nuxt/ImageLoader.499d9809.js +0 -1
- package/dist/client/_nuxt/NButton.8128cc03.js +0 -1
- package/dist/client/_nuxt/NButton.vue.04b0bed8.js +0 -1
- package/dist/client/_nuxt/NDarkToggle.4a47aac0.js +0 -1
- package/dist/client/_nuxt/NDropdown.860a5ca1.js +0 -1
- package/dist/client/_nuxt/NIcon.49542d6b.js +0 -1
- package/dist/client/_nuxt/NLink.046ffb7d.js +0 -1
- package/dist/client/_nuxt/NLink.vue.4d0f1981.js +0 -1
- package/dist/client/_nuxt/NTextInput.ccc864e2.js +0 -1
- package/dist/client/_nuxt/NuxtExampleLayout.9d364068.js +0 -1
- package/dist/client/_nuxt/app.config.d5ed556c.js +0 -1
- package/dist/client/_nuxt/components.5e5c8878.js +0 -1
- package/dist/client/_nuxt/components.client.63ca4e07.js +0 -1
- package/dist/client/_nuxt/composables.0cf2c182.js +0 -1
- package/dist/client/_nuxt/composables.bc743b9c.js +0 -1
- package/dist/client/_nuxt/entry.088db586.js +0 -1
- package/dist/client/_nuxt/error-404.549be322.js +0 -1
- package/dist/client/_nuxt/error-500.382466b3.js +0 -1
- package/dist/client/_nuxt/error-component.d8439204.js +0 -3
- package/dist/client/_nuxt/index.c734f720.js +0 -1
- package/dist/client/_nuxt/layout.a0220711.js +0 -5
- package/dist/client/_nuxt/logic.cd56c5b0.js +0 -1
- package/dist/client/_nuxt/nuxt-error-boundary.9cec0eed.js +0 -1
- package/dist/client/_nuxt/nuxt-link.dd1a08fc.js +0 -1
- package/dist/client/_nuxt/nuxt-loading-indicator.2abd30ac.js +0 -1
- package/dist/client/_nuxt/options.95f7cef4.js +0 -1
- package/dist/client/_nuxt/page.ca43e09b.js +0 -5
- package/dist/client/_nuxt/png.c139beaf.js +0 -1
- package/dist/client/_nuxt/state.3a72841a.js +0 -1
- package/dist/client/_nuxt/svg.0108d1d8.js +0 -1
- package/dist/client/_nuxt/utils.7c87e1ee.js +0 -1
- package/dist/client/_nuxt/vnodes.0751cd34.js +0 -1
- package/dist/client/_nuxt/welcome.d3ebc983.js +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{c as Ke,a as Je}from"./runtime-dom.esm-bundler.d11338ba.js";import{w as ze,a as Xe,j as ie,d as Ye,b as fe,u as ce,h as Ge,p as Qe,c as z}from"./router.0fad6fd6.js";import{d as S,c as Ze,u as q,e as re,a as Pe,b as H,n as et,f as tt,g as ot}from"./nuxt.3d910b2a.js";import{_ as P}from"./components.client.21f887f1.js";import{d as Oe,g as He,i as rt,n as le,r as pe,w as nt,a as G,o as st,b as at,c as it,u as y,e as ct,v as Se,s as ne,f as X,h as se,j as lt,t as dt,k as ut,l as ft,m as k,p as I,q as _,x as L,y as $,z as g,A as C,B as T,C as he,D as ee,E as pt,F as ht,G as mt,S as yt}from"./runtime-core.esm-bundler.6578edd8.js";import{a as _t,b as gt,c as bt,d as wt,e as vt,f as $t}from"./utils.8063e9c8.js";import{u as Ce,c as me,s as V,a as kt,b as Ae,p as O,r as je,h as Le,d as ye,e as A,f as _e,i as Tt}from"./logic.572bc5bc.js";import{u as Ie}from"./state.b0e07f74.js";import{l as B}from"./layout.70d4c05b.js";import Et from"./nuxt-link.5a11ff0a.js";import"./app.config.5015f363.js";import{g as Rt,s as Pt}from"./component.vue3.89f64918.js";import{_ as Ot}from"./NIcon.vue.7879a03e.js";import{_ as Ht}from"./NButton.vue.d45cad81.js";import{_ as St}from"./NDarkToggle.vue.85927d5f.js";import Ct from"./Icon.66609781.js";import{_ as At}from"./NTextInput.vue.95fd1ec5.js";import jt from"./page.57b4d336.js";import{u as Lt}from"./composables.18b26f4a.js";import{u as It}from"./index.4ad828aa.js";/* empty css *//* empty css */import"./client-only.435a195c.js";/* empty css */import"./nuxt-error-boundary.62487e2b.js";import"./dev-only.083678f7.js";import"./server-placeholder.db84c337.js";import"./nuxt-loading-indicator.dd809d74.js";import"./Icon.vue.2d5f9e0f.js";import"./components.499d69e9.js";import"./defu.5a7c1433.js";import"./_plugin-vue_export-helper.c27b6911.js";import"./composables.371d9c1f.js";import"./index.177496da.js";const Nt=/"(?:_|\\u0{2}5[Ff]){2}(?:p|\\u0{2}70)(?:r|\\u0{2}72)(?:o|\\u0{2}6[Ff])(?:t|\\u0{2}74)(?:o|\\u0{2}6[Ff])(?:_|\\u0{2}5[Ff]){2}"\s*:/,Dt=/"(?:c|\\u0063)(?:o|\\u006[Ff])(?:n|\\u006[Ee])(?:s|\\u0073)(?:t|\\u0074)(?:r|\\u0072)(?:u|\\u0075)(?:c|\\u0063)(?:t|\\u0074)(?:o|\\u006[Ff])(?:r|\\u0072)"\s*:/,Mt=/^\s*["[{]|^\s*-?\d[\d.]{0,14}\s*$/;function Ut(e,t){if(e!=="__proto__"&&!(e==="constructor"&&t&&typeof t=="object"&&"prototype"in t))return t}function xt(e,t={}){if(typeof e!="string")return e;const o=e.toLowerCase().trim();if(o==="true")return!0;if(o==="false")return!1;if(o==="null")return null;if(o==="nan")return Number.NaN;if(o==="infinity")return Number.POSITIVE_INFINITY;if(o!=="undefined"){if(!Mt.test(e)){if(t.strict)throw new SyntaxError("Invalid JSON");return e}try{return Nt.test(e)||Dt.test(e)?JSON.parse(e,Ut):JSON.parse(e)}catch(r){if(t.strict)throw r;return e}}}class Ft extends Error{constructor(){super(...arguments),this.name="FetchError"}}function Vt(e,t,o){let r="";e&&o&&(r=`${o.status} ${o.statusText} (${e.toString()})`),t&&(r=`${t.message} (${r})`);const n=new Ft(r);return Object.defineProperty(n,"request",{get(){return e}}),Object.defineProperty(n,"response",{get(){return o}}),Object.defineProperty(n,"data",{get(){return o&&o._data}}),Object.defineProperty(n,"status",{get(){return o&&o.status}}),Object.defineProperty(n,"statusText",{get(){return o&&o.statusText}}),Object.defineProperty(n,"statusCode",{get(){return o&&o.status}}),Object.defineProperty(n,"statusMessage",{get(){return o&&o.statusText}}),n}const qt=new Set(Object.freeze(["PATCH","POST","PUT","DELETE"]));function ge(e="GET"){return qt.has(e.toUpperCase())}function Wt(e){if(e===void 0)return!1;const t=typeof e;return t==="string"||t==="number"||t==="boolean"||t===null?!0:t!=="object"?!1:Array.isArray(e)?!0:e.constructor&&e.constructor.name==="Object"||typeof e.toJSON=="function"}const Bt=new Set(["image/svg","application/xml","application/xhtml","application/html"]),Kt=/^application\/(?:[\w!#$%&*.^`~-]*\+)?json(;.+)?$/i;function Jt(e=""){if(!e)return"json";const t=e.split(";").shift();return Kt.test(t)?"json":Bt.has(t)||t.startsWith("text/")?"text":"blob"}const zt=new Set([408,409,425,429,500,502,503,504]);function Ne(e){const{fetch:t,Headers:o}=e;function r(l){const i=l.error&&l.error.name==="AbortError"||!1;if(l.options.retry!==!1&&!i){const a=typeof l.options.retry=="number"?l.options.retry:ge(l.options.method)?0:1,c=l.response&&l.response.status||500;if(a>0&&zt.has(c))return n(l.request,{...l.options,retry:a-1})}const u=Vt(l.request,l.error,l.response);throw Error.captureStackTrace&&Error.captureStackTrace(u,n),u}const n=async function(i,u={}){const a={request:i,options:{...e.defaults,...u},response:void 0,error:void 0};a.options.onRequest&&await a.options.onRequest(a),typeof a.request=="string"&&(a.options.baseURL&&(a.request=ze(a.request,a.options.baseURL)),(a.options.query||a.options.params)&&(a.request=Xe(a.request,{...a.options.params,...a.options.query})),a.options.body&&ge(a.options.method)&&Wt(a.options.body)&&(a.options.body=typeof a.options.body=="string"?a.options.body:JSON.stringify(a.options.body),a.options.headers=new o(a.options.headers),a.options.headers.has("content-type")||a.options.headers.set("content-type","application/json"),a.options.headers.has("accept")||a.options.headers.set("accept","application/json"))),a.response=await t(a.request,a.options).catch(async d=>(a.error=d,a.options.onRequestError&&await a.options.onRequestError(a),r(a)));const c=(a.options.parseResponse?"json":a.options.responseType)||Jt(a.response.headers.get("content-type")||"");if(c==="json"){const d=await a.response.text(),f=a.options.parseResponse||xt;a.response._data=f(d)}else c==="stream"?a.response._data=a.response.body:a.response._data=await a.response[c]();return a.options.onResponse&&await a.options.onResponse(a),a.response.status>=400&&a.response.status<600?(a.options.onResponseError&&await a.options.onResponseError(a),r(a)):a.response},s=function(i,u){return n(i,u).then(a=>a._data)};return s.raw=n,s.native=t,s.create=(l={})=>Ne({...e,defaults:{...e.defaults,...l}}),s}const De=function(){if(typeof globalThis<"u")return globalThis;if(typeof self<"u")return self;if(typeof window<"u")return window;if(typeof global<"u")return global;throw new Error("unable to locate global object")}(),Xt=De.fetch||(()=>Promise.reject(new Error("[ofetch] global.fetch is not supported!"))),Yt=De.Headers,Gt=Ne({fetch:Xt,Headers:Yt}),Qt=Gt,Zt=()=>window?.__NUXT__?.config||{},Q=Zt().app,eo=()=>Q.baseURL,to=()=>Q.buildAssetsDir,oo=(...e)=>ie(Me(),to(),...e),Me=(...e)=>{const t=Q.cdnURL||Q.baseURL;return e.length?ie(t,...e):t};globalThis.__buildAssetsURL=oo,globalThis.__publicAssetsURL=Me;const te={Icon:Oe(()=>P(()=>import("./Icon.66609781.js"),["./Icon.66609781.js","./nuxt.3d910b2a.js","./runtime-core.esm-bundler.6578edd8.js","./state.b0e07f74.js","./nuxt-link.5a11ff0a.js","./router.0fad6fd6.js","./app.config.5015f363.js","./defu.5a7c1433.js","./Icon.vue.2d5f9e0f.js","./Icon.403b6716.css","./_plugin-vue_export-helper.c27b6911.js"],import.meta.url).then(e=>e.default||e))},ro=S(e=>{for(const t in te)e.vueApp.component(t,te[t]),e.vueApp.component("Lazy"+t,te[t])}),no=["script","style","noscript"],so=["base","meta","link","style","script","noscript"],ao=["base","title","titleTemplate","bodyAttrs","htmlAttrs"];function io(e,t){const{props:o,tag:r}=e;if(ao.includes(r))return r;if(r==="link"&&o.rel==="canonical")return"canonical";if(o.charset)return"charset";const n=["id"];r==="meta"&&n.push("name","property","http-equiv");for(const s of n)if(typeof o[s]<"u"){const l=String(o[s]);return t&&!t(l)?!1:`${r}:${s}:${l}`}return!1}const K=(e,t)=>{const{tag:o,$el:r}=e;r&&(Object.entries(o.props).forEach(([n,s])=>{s=String(s);const l=`attr:${n}`;if(n==="class"){if(!s)return;for(const i of s.split(" ")){const u=`${l}:${i}`;t&&t(e,u,()=>r.classList.remove(i)),r.classList.contains(i)||r.classList.add(i)}return}t&&!n.startsWith("data-h-")&&t(e,l,()=>r.removeAttribute(n)),r.getAttribute(n)!==s&&r.setAttribute(n,s)}),no.includes(o.tag)&&r.innerHTML!==(o.children||"")&&(r.innerHTML=o.children||""))};function de(e){let t=9;for(let o=0;o<e.length;)t=Math.imul(t^e.charCodeAt(o++),9**9);return((t^t>>>9)+65536).toString(16).substring(1,8).toLowerCase()}async function Ue(e,t={}){const o={shouldRender:!0};if(await e.hooks.callHook("dom:beforeRender",o),!o.shouldRender)return;const r=t.document||window.document,n=e._popSideEffectQueue();e.headEntries().map(c=>c._sde).forEach(c=>{Object.entries(c).forEach(([d,f])=>{n[d]=f})});const s=async c=>{const d=e.headEntries().find(h=>h._i===c._e),f={renderId:c._d||de(JSON.stringify({...c,_e:void 0,_p:void 0})),$el:null,shouldRender:!0,tag:c,entry:d,staleSideEffects:n};return await e.hooks.callHook("dom:beforeRenderTag",f),f},l=[],i={body:[],head:[]},u=(c,d,f)=>{d=`${c.renderId}:${d}`,c.entry&&(c.entry._sde[d]=f),delete n[d]},a=c=>{e._elMap[c.renderId]=c.$el,l.push(c),u(c,"el",()=>{c.$el?.remove(),delete e._elMap[c.renderId]})};for(const c of await e.resolveTags()){const d=await s(c);if(!d.shouldRender)continue;const{tag:f}=d;if(f.tag==="title"){r.title=f.children||"",l.push(d);continue}if(f.tag==="htmlAttrs"||f.tag==="bodyAttrs"){d.$el=r[f.tag==="htmlAttrs"?"documentElement":"body"],K(d,u),l.push(d);continue}if(d.$el=e._elMap[d.renderId],!d.$el&&f._hash&&(d.$el=r.querySelector(`${f.tagPosition?.startsWith("body")?"body":"head"} > ${f.tag}[data-h-${f._hash}]`)),d.$el){d.tag._d&&K(d),a(d);continue}d.$el=r.createElement(f.tag),K(d),i[f.tagPosition?.startsWith("body")?"body":"head"].push(d)}Object.entries(i).forEach(([c,d])=>{if(!d.length)return;const f=r?.[c]?.children;if(f){for(const h of[...f].reverse()){const m=h.tagName.toLowerCase();if(!so.includes(m))continue;const v=io({tag:m,props:h.getAttributeNames().reduce((p,w)=>({...p,[w]:h.getAttribute(w)}),{})}),b=d.findIndex(p=>p&&(p.tag._d===v||h.isEqualNode?.(p.$el)));if(b!==-1){const p=d[b];p.$el=h,K(p),a(p),delete d[b]}}d.forEach(h=>{if(h.$el){switch(h.tag.tagPosition){case"bodyClose":r.body.appendChild(h.$el);break;case"bodyOpen":r.body.insertBefore(h.$el,r.body.firstChild);break;case"head":default:r.head.appendChild(h.$el);break}a(h)}})}});for(const c of l)await e.hooks.callHook("dom:renderTag",c);Object.values(n).forEach(c=>c())}let Y=null;async function co(e,t={}){function o(){return Y=null,Ue(e,t)}const r=t.delayFn||(n=>setTimeout(n,10));return Y=Y||new Promise(n=>r(()=>n(o())))}const lo={__proto__:null,debouncedRenderDOMHead:co,get domUpdatePromise(){return Y},hashCode:de,renderDOMHead:Ue},uo=["title","titleTemplate","base","htmlAttrs","bodyAttrs","meta","link","style","script","noscript"],fo=["tagPosition","tagPriority","tagDuplicateStrategy"];async function po(e,t){const o={tag:e,props:{}};return e==="title"||e==="titleTemplate"?(o.children=t instanceof Promise?await t:t,o):(o.props=await ho({...t}),["children","innerHtml","innerHTML"].forEach(r=>{typeof o.props[r]<"u"&&(o.children=o.props[r],typeof o.children=="object"&&(o.children=JSON.stringify(o.children)),delete o.props[r])}),Object.keys(o.props).filter(r=>fo.includes(r)).forEach(r=>{o[r]=o.props[r],delete o.props[r]}),typeof o.props.class=="object"&&!Array.isArray(o.props.class)&&(o.props.class=Object.keys(o.props.class).filter(r=>o.props.class[r])),Array.isArray(o.props.class)&&(o.props.class=o.props.class.join(" ")),o.props.content&&Array.isArray(o.props.content)?o.props.content.map((r,n)=>{const s={...o,props:{...o.props}};return s.props.content=r,s.key=`${o.props.name||o.props.property}:${n}`,s}):o)}async function ho(e){for(const t of Object.keys(e))e[t]instanceof Promise&&(e[t]=await e[t]),String(e[t])==="true"?e[t]="":String(e[t])==="false"&&delete e[t];return e}const be=e=>{if(typeof e.tagPriority=="number")return e.tagPriority;switch(e.tagPriority){case"critical":return 2;case"high":return 9;case"low":return 12}switch(e.tag){case"base":return-1;case"title":return 1;case"meta":return e.props.charset?-2:e.props["http-equiv"]==="content-security-policy"?0:10;default:return 10}},mo=(e,t)=>be(e)-be(t),yo=["base","title","titleTemplate","bodyAttrs","htmlAttrs"];function _o(e,t){const{props:o,tag:r}=e;if(yo.includes(r))return r;if(r==="link"&&o.rel==="canonical")return"canonical";if(o.charset)return"charset";const n=["id"];r==="meta"&&n.push("name","property","http-equiv");for(const s of n)if(typeof o[s]<"u"){const l=String(o[s]);return t&&!t(l)?!1:`${r}:${s}:${l}`}return!1}const we=(e,t)=>e==null?t||null:typeof e=="function"?e(t):e.replace("%s",t??"");function go(e){let t=e.findIndex(r=>r.tag==="titleTemplate");const o=e.findIndex(r=>r.tag==="title");if(o!==-1&&t!==-1){const r=we(e[t].children,e[o].children);r!==null?e[o].children=r||e[o].children:delete e[o]}else if(t!==-1){const r=we(e[t].children);r!==null&&(e[t].children=r,e[t].tag="title",t=-1)}return t!==-1&&delete e[t],e.filter(Boolean)}const bo=e=>{e=e||{};const t=e.dedupeKeys||["hid","vmid","key"];return{hooks:{"tag:normalise":function({tag:o}){t.forEach(n=>{o.props[n]&&(o.key=o.props[n],delete o.props[n])});const r=o.key?`${o.tag}:${o.key}`:_o(o);r&&(o._d=r)},"tags:resolve":function(o){const r={};o.tags.forEach(n=>{let s=n._d||n._p;const l=r[s];if(l){let i=n?.tagDuplicateStrategy;if(!i&&(n.tag==="htmlAttrs"||n.tag==="bodyAttrs")&&(i="merge"),i==="merge"){const a=l.props;["class","style"].forEach(c=>{n.props[c]&&a[c]&&(c==="style"&&!a[c].endsWith(";")&&(a[c]+=";"),n.props[c]=`${a[c]} ${n.props[c]}`)}),r[s].props={...a,...n.props};return}else n._e===l._e&&(s=n._d=`${s}:${n._p}`);const u=Object.keys(n.props).length;if((u===0||u===1&&typeof n.props["data-h-key"]<"u")&&!n.children){delete r[s];return}}r[s]=n}),o.tags=Object.values(r)}}}},wo=()=>({hooks:{"tags:resolve":e=>{const t=o=>e.tags.find(r=>r._d===o)?._p;for(const o of e.tags){if(!o.tagPriority||typeof o.tagPriority=="number")continue;const r=[{prefix:"before:",offset:-1},{prefix:"after:",offset:1}];for(const{prefix:n,offset:s}of r)if(o.tagPriority.startsWith(n)){const l=o.tagPriority.replace(n,""),i=t(l);typeof i<"u"&&(o._p=i+s)}}e.tags.sort((o,r)=>o._p-r._p).sort(mo)}}}),vo=()=>({hooks:{"tags:resolve":e=>{e.tags=go(e.tags)}}}),$o=()=>({hooks:{"tag:normalise":function({tag:e}){typeof e.props.body<"u"&&(e.tagPosition="bodyClose",delete e.props.body)}}}),ko=typeof window<"u",To=()=>({hooks:{"tag:normalise":e=>{const{tag:t,entry:o}=e,r=typeof t.props._dynamic<"u";!xe.includes(t.tag)||!t.key||(t._hash=de(JSON.stringify({tag:t.tag,key:t.key})),!(ko||Ve()?.resolvedOptions?.document)&&(o._m==="server"||r)&&(t.props[`data-h-${t._hash}`]=""))},"tags:resolve":e=>{e.tags=e.tags.map(t=>(delete t.props._dynamic,t))}}}),Eo=e=>({hooks:{"entries:updated":function(t){if(typeof e?.document>"u"&&typeof window>"u")return;let o=e?.delayFn;!o&&typeof requestAnimationFrame<"u"&&(o=requestAnimationFrame),Promise.resolve().then(function(){return lo}).then(({debouncedRenderDOMHead:r})=>{r(t,{document:e?.document||window.document,delayFn:o})})}}}),Ro=()=>{const e=(t,o)=>{const r={},n={};Object.entries(o.props).forEach(([l,i])=>{l.startsWith("on")&&typeof i=="function"?n[l]=i:r[l]=i});let s;return t==="dom"&&o.tag==="script"&&typeof r.src=="string"&&typeof n.onload<"u"&&(s=r.src,delete r.src),{props:r,eventHandlers:n,delayedSrc:s}};return{hooks:{"ssr:render":function(t){t.tags=t.tags.map(o=>(o.props=e("ssr",o).props,o))},"dom:beforeRenderTag":function(t){const{props:o,eventHandlers:r,delayedSrc:n}=e("dom",t.tag);Object.keys(r).length&&(t.tag.props=o,t.tag._eventHandlers=r,t.tag._delayedSrc=n)},"dom:renderTag":function(t){const o=t.$el;if(!t.tag._eventHandlers||!o)return;const r=t.tag.tag==="bodyAttrs"&&typeof window<"u"?window:o;Object.entries(t.tag._eventHandlers).forEach(([n,s])=>{const l=`${t.tag._d||t.tag._p}:${n}`,i=n.slice(2).toLowerCase(),u=`data-h-${i}`;if(delete t.staleSideEffects[l],o.hasAttribute(u))return;const a=s;o.setAttribute(u,""),r.addEventListener(i,a),t.entry&&(t.entry._sde[l]=()=>{r.removeEventListener(i,a),o.removeAttribute(u)})}),t.tag._delayedSrc&&o.setAttribute("src",t.tag._delayedSrc)}}}};function Po(e){return Array.isArray(e)?e:[e]}const xe=["base","meta","link","style","script","noscript"];let Fe;const Oo=e=>Fe=e,Ve=()=>Fe,Ho=10;async function So(e){const t=[];return Object.entries(e.resolvedInput||e.input).filter(([o,r])=>typeof r<"u"&&uo.includes(o)).forEach(([o,r])=>{const n=Po(r);t.push(...n.map(s=>po(o,s)).flat())}),(await Promise.all(t)).flat().map((o,r)=>(o._e=e._i,o._p=(e._i<<Ho)+r,o))}const Co=()=>[bo(),wo(),vo(),To(),Ro(),$o()],Ao=(e={})=>[Eo({document:e?.document,delayFn:e?.domDelayFn})];function jo(e={}){const t=Lo({...e,plugins:[...Ao(e),...e?.plugins||[]]});return Oo(t),t}function Lo(e={}){let t=[],o={},r=0;const n=Ze();e?.hooks&&n.addHooks(e.hooks),e.plugins=[...Co(),...e?.plugins||[]],e.plugins.forEach(i=>i.hooks&&n.addHooks(i.hooks));const s=()=>n.callHook("entries:updated",l),l={resolvedOptions:e,headEntries(){return t},get hooks(){return n},use(i){i.hooks&&n.addHooks(i.hooks)},push(i,u){const a={_i:r++,input:i,_sde:{}};return u?.mode&&(a._m=u?.mode),t.push(a),s(),{dispose(){t=t.filter(c=>c._i!==a._i?!0:(o={...o,...c._sde||{}},c._sde={},s(),!1))},patch(c){t=t.map(d=>(d._i===a._i&&(a.input=d.input=c,s()),d))}}},async resolveTags(){const i={tags:[],entries:[...t]};await n.callHook("entries:resolve",i);for(const u of i.entries)for(const a of await So(u)){const c={tag:a,entry:u};await n.callHook("tag:normalise",c),i.tags.push(c.tag)}return await n.callHook("tags:resolve",i),i.tags},_elMap:{},_popSideEffectQueue(){const i={...o};return o={},i}};return l.hooks.callHook("init",l),l}function Io(e){return typeof e=="function"?e():y(e)}function Z(e,t=""){if(e instanceof Promise)return e;const o=Io(e);if(!e||!o)return o;if(Array.isArray(o))return o.map(r=>Z(r,t));if(typeof o=="object"){let r=!1;const n=Object.fromEntries(Object.entries(o).map(([s,l])=>s==="titleTemplate"||s.startsWith("on")?[s,y(l)]:((typeof l=="function"||ct(l))&&(r=!0),[s,Z(l,s)])));return r&&xe.includes(String(t))&&(n._dynamic=!0),n}return o}const No=Se.startsWith("3"),Do=typeof window<"u",qe="usehead";function ue(){return He()&&rt(qe)||Ve()}function Mo(e={}){const t=jo({...e,domDelayFn:r=>setTimeout(()=>le(()=>r()),10),plugins:[Uo(),...e?.plugins||[]]}),o={install(r){No&&(r.config.globalProperties.$unhead=t,r.provide(qe,t))}};return t.install=o.install,t}const Uo=()=>({hooks:{"entries:resolve":function(e){for(const t of e.entries)t.resolvedInput=Z(t.input)}}});function xo(e,t={}){const o=ue(),r=pe(!1),n=pe({});nt(()=>{n.value=Z(e)});const s=o.push(n.value,t);return G([n,r],([i,u])=>{u||s.patch(i)}),He()&&(st(()=>{s.dispose()}),at(()=>{r.value=!0}),it(()=>{r.value=!1})),s}function Fo(e,t={}){return ue().push(e,t)}function We(e,t={}){const o=ue();if(o){const r=Do||!!o.resolvedOptions?.document;return t.mode==="server"&&r||t.mode==="client"&&!r?void 0:r?xo(e,t):Fo(e,t)}}const Vo=["script","style","noscript"],qo=["base","meta","link","style","script","noscript"],Wo=["base","title","titleTemplate","bodyAttrs","htmlAttrs"];function Bo(e,t){const{props:o,tag:r}=e;if(Wo.includes(r))return r;if(r==="link"&&o.rel==="canonical")return"canonical";if(o.charset)return"charset";const n=["id"];r==="meta"&&n.push("name","property","http-equiv");for(const s of n)if(typeof o[s]<"u"){const l=String(o[s]);return t&&!t(l)?!1:`${r}:${s}:${l}`}return!1}const J=(e,t)=>{const{tag:o,$el:r}=e;r&&(Object.entries(o.props).forEach(([n,s])=>{s=String(s);const l=`attr:${n}`;if(n==="class"){if(!s)return;for(const i of s.split(" ")){const u=`${l}:${i}`;t&&t(e,u,()=>r.classList.remove(i)),r.classList.contains(i)||r.classList.add(i)}return}t&&!n.startsWith("data-h-")&&t(e,l,()=>r.removeAttribute(n)),r.getAttribute(n)!==s&&r.setAttribute(n,s)}),Vo.includes(o.tag)&&r.innerHTML!==(o.children||"")&&(r.innerHTML=o.children||""))};function Ko(e){let t=9;for(let o=0;o<e.length;)t=Math.imul(t^e.charCodeAt(o++),9**9);return((t^t>>>9)+65536).toString(16).substring(1,8).toLowerCase()}async function Be(e,t={}){const o={shouldRender:!0};if(await e.hooks.callHook("dom:beforeRender",o),!o.shouldRender)return;const r=t.document||window.document,n=e._popSideEffectQueue();e.headEntries().map(c=>c._sde).forEach(c=>{Object.entries(c).forEach(([d,f])=>{n[d]=f})});const s=async c=>{const d=e.headEntries().find(h=>h._i===c._e),f={renderId:c._d||Ko(JSON.stringify({...c,_e:void 0,_p:void 0})),$el:null,shouldRender:!0,tag:c,entry:d,staleSideEffects:n};return await e.hooks.callHook("dom:beforeRenderTag",f),f},l=[],i={body:[],head:[]},u=(c,d,f)=>{d=`${c.renderId}:${d}`,c.entry&&(c.entry._sde[d]=f),delete n[d]},a=c=>{e._elMap[c.renderId]=c.$el,l.push(c),u(c,"el",()=>{c.$el?.remove(),delete e._elMap[c.renderId]})};for(const c of await e.resolveTags()){const d=await s(c);if(!d.shouldRender)continue;const{tag:f}=d;if(f.tag==="title"){r.title=f.children||"",l.push(d);continue}if(f.tag==="htmlAttrs"||f.tag==="bodyAttrs"){d.$el=r[f.tag==="htmlAttrs"?"documentElement":"body"],J(d,u),l.push(d);continue}if(d.$el=e._elMap[d.renderId],!d.$el&&f._hash&&(d.$el=r.querySelector(`${f.tagPosition?.startsWith("body")?"body":"head"} > ${f.tag}[data-h-${f._hash}]`)),d.$el){d.tag._d&&J(d),a(d);continue}d.$el=r.createElement(f.tag),J(d),i[f.tagPosition?.startsWith("body")?"body":"head"].push(d)}Object.entries(i).forEach(([c,d])=>{if(!d.length)return;const f=r?.[c]?.children;if(f){for(const h of[...f].reverse()){const m=h.tagName.toLowerCase();if(!qo.includes(m))continue;const v=Bo({tag:m,props:h.getAttributeNames().reduce((p,w)=>({...p,[w]:h.getAttribute(w)}),{})}),b=d.findIndex(p=>p&&(p.tag._d===v||h.isEqualNode?.(p.$el)));if(b!==-1){const p=d[b];p.$el=h,J(p),a(p),delete d[b]}}d.forEach(h=>{if(h.$el){switch(h.tag.tagPosition){case"bodyClose":r.body.appendChild(h.$el);break;case"bodyOpen":r.body.insertBefore(h.$el,r.body.firstChild);break;case"head":default:r.head.appendChild(h.$el);break}a(h)}})}});for(const c of l)await e.hooks.callHook("dom:renderTag",c);Object.values(n).forEach(c=>c())}let oe=null;async function Jo(e,t={}){function o(){return oe=null,Be(e,t)}const r=t.delayFn||(n=>setTimeout(n,10));return oe=oe||new Promise(n=>r(()=>n(o())))}function zo(e){const t=Mo(),o={unhead:t,install(r){Se.startsWith("3")&&(r.config.globalProperties.$head=t,r.provide("usehead",t))},use(r){t.use(r)},resolveTags(){return t.resolveTags()},headEntries(){return t.headEntries()},headTags(){return t.resolveTags()},push(r,n){return t.push(r,n)},addEntry(r,n){return t.push(r,n)},addHeadObjs(r,n){return t.push(r,n)},addReactiveEntry(r,n){const s=We(r,n);return typeof s<"u"?s.dispose:()=>{}},removeHeadObjs(){},updateDOM(r,n){n?Be(t,{document:r}):Jo(t,{delayFn:s=>setTimeout(()=>s(),50),document:r})},internalHooks:t.hooks,hooks:{"before:dom":[],"resolved:tags":[],"resolved:entries":[]}};return t.addHeadObjs=o.addHeadObjs,t.updateDOM=o.updateDOM,t.hooks.hook("dom:beforeRender",r=>{for(const n of o.hooks["before:dom"])n()===!1&&(r.shouldRender=!1)}),e&&o.addHeadObjs(e),o}const Xo=S(e=>{const t=zo();t.push(_t),e.vueApp.use(t);{let o=!0;const r=()=>{o=!1,t.internalHooks.callHook("entries:updated",t.unhead)};t.internalHooks.hook("dom:beforeRender",n=>{n.shouldRender=!o}),e.hooks.hook("page:start",()=>{o=!0}),e.hooks.hook("page:finish",r),e.hooks.hook("app:mounted",r)}e._useHead=We}),N={},D={},M={},U={},x={},ve=[{name:N?.name??"index",path:N?.path??"/",children:[],meta:N,alias:N?.alias||[],redirect:N?.redirect||void 0,component:()=>P(()=>import("./index.d37288c6.js"),["./index.d37288c6.js","./IFrameLoader.d0721d67.js","./composables.371d9c1f.js","./nuxt.3d910b2a.js","./runtime-core.esm-bundler.6578edd8.js","./state.b0e07f74.js","./nuxt-link.5a11ff0a.js","./router.0fad6fd6.js","./app.config.5015f363.js","./defu.5a7c1433.js","./composables.18b26f4a.js","./logic.572bc5bc.js","./index.4ad828aa.js","./_plugin-vue_export-helper.c27b6911.js","./IFrameLoader.827f3001.css"],import.meta.url).then(e=>e.default||e)},{name:D?.name??"options",path:D?.path??"/options",children:[],meta:D,alias:D?.alias||[],redirect:D?.redirect||void 0,component:()=>P(()=>import("./options.a18e1b65.js"),["./options.a18e1b65.js","./shiki.f3c485dd.js","./composables.371d9c1f.js","./nuxt.3d910b2a.js","./runtime-core.esm-bundler.6578edd8.js","./state.b0e07f74.js","./nuxt-link.5a11ff0a.js","./router.0fad6fd6.js","./app.config.5015f363.js","./defu.5a7c1433.js","./runtime-dom.esm-bundler.d11338ba.js","./components.client.21f887f1.js","./logic.572bc5bc.js","./index.4ad828aa.js","./client-only.435a195c.js","./layout.70d4c05b.js","./utils.8063e9c8.js","./nuxt-error-boundary.62487e2b.js","./dev-only.083678f7.js","./server-placeholder.db84c337.js","./nuxt-loading-indicator.dd809d74.js","./Icon.vue.2d5f9e0f.js","./Icon.403b6716.css","./page.57b4d336.js","./components.499d69e9.js","./composables.18b26f4a.js","./IFrameLoader.827f3001.css","./ImageLoader.5a22ae19.css","./welcome.db724adb.css","./component.vue3.89f64918.js","./_plugin-vue_export-helper.c27b6911.js","./NIcon.vue.7879a03e.js","./NButton.vue.d45cad81.js","./NDarkToggle.vue.85927d5f.js","./Icon.66609781.js","./NTextInput.vue.95fd1ec5.js","./index.177496da.js"],import.meta.url).then(e=>e.default||e)},{name:M?.name??"png",path:M?.path??"/png",children:[],meta:M,alias:M?.alias||[],redirect:M?.redirect||void 0,component:()=>P(()=>import("./png.25b44885.js"),["./png.25b44885.js","./ImageLoader.04264fde.js","./logic.572bc5bc.js","./nuxt.3d910b2a.js","./runtime-core.esm-bundler.6578edd8.js","./nuxt-link.5a11ff0a.js","./router.0fad6fd6.js","./app.config.5015f363.js","./defu.5a7c1433.js","./index.4ad828aa.js","./_plugin-vue_export-helper.c27b6911.js","./ImageLoader.5a22ae19.css"],import.meta.url).then(e=>e.default||e)},{name:U?.name??"svg",path:U?.path??"/svg",children:[],meta:U,alias:U?.alias||[],redirect:U?.redirect||void 0,component:()=>P(()=>import("./svg.c25240f5.js"),["./svg.c25240f5.js","./ImageLoader.04264fde.js","./logic.572bc5bc.js","./nuxt.3d910b2a.js","./runtime-core.esm-bundler.6578edd8.js","./nuxt-link.5a11ff0a.js","./router.0fad6fd6.js","./app.config.5015f363.js","./defu.5a7c1433.js","./index.4ad828aa.js","./_plugin-vue_export-helper.c27b6911.js","./ImageLoader.5a22ae19.css"],import.meta.url).then(e=>e.default||e)},{name:x?.name??"vnodes",path:x?.path??"/vnodes",children:[],meta:x,alias:x?.alias||[],redirect:x?.redirect||void 0,component:()=>P(()=>import("./vnodes.301006a0.js"),["./vnodes.301006a0.js","./shiki.f3c485dd.js","./composables.371d9c1f.js","./nuxt.3d910b2a.js","./runtime-core.esm-bundler.6578edd8.js","./state.b0e07f74.js","./nuxt-link.5a11ff0a.js","./router.0fad6fd6.js","./app.config.5015f363.js","./defu.5a7c1433.js","./runtime-dom.esm-bundler.d11338ba.js","./components.client.21f887f1.js","./logic.572bc5bc.js","./index.4ad828aa.js","./client-only.435a195c.js","./layout.70d4c05b.js","./utils.8063e9c8.js","./nuxt-error-boundary.62487e2b.js","./dev-only.083678f7.js","./server-placeholder.db84c337.js","./nuxt-loading-indicator.dd809d74.js","./Icon.vue.2d5f9e0f.js","./Icon.403b6716.css","./page.57b4d336.js","./components.499d69e9.js","./composables.18b26f4a.js","./IFrameLoader.827f3001.css","./ImageLoader.5a22ae19.css","./welcome.db724adb.css","./component.vue3.89f64918.js","./_plugin-vue_export-helper.c27b6911.js","./NIcon.vue.7879a03e.js","./NButton.vue.d45cad81.js","./NDarkToggle.vue.85927d5f.js","./Icon.66609781.js","./NTextInput.vue.95fd1ec5.js","./index.177496da.js"],import.meta.url).then(e=>e.default||e)}],Yo={scrollBehavior(e,t,o){const r=q();let n=o||void 0;if(!n&&t&&e&&e.meta.scrollToTop!==!1&&Go(t,e)&&(n={left:0,top:0}),e.path===t.path){if(t.hash&&!e.hash)return{left:0,top:0};if(e.hash)return{el:e.hash,top:$e(e.hash)}}const s=i=>!!(i.meta.pageTransition??gt),l=s(t)&&s(e)?"page:transition:finish":"page:finish";return new Promise(i=>{r.hooks.hookOnce(l,async()=>{await le(),e.hash&&(n={el:e.hash,top:$e(e.hash)}),i(n)})})}};function $e(e){try{const t=document.querySelector(e);if(t)return parseFloat(getComputedStyle(t).scrollMarginTop)}catch{}return 0}function Go(e,t){const o=e.matched[0]===t.matched[0];return!!(!o||o&&JSON.stringify(e.params)!==JSON.stringify(t.params))}const Qo={},F={...Qo,...Yo},Zo=Ye(async e=>{let t,o;if(!e.meta?.validate)return;const r=([t,o]=re(()=>Promise.resolve(e.meta.validate(e))),t=await t,o(),t);if(r!==!0)return r}),er=[Zo],ae={};function tr(e,t){const{pathname:o,search:r,hash:n}=t,s=e.indexOf("#");if(s>-1){const i=n.includes(e.slice(s))?e.slice(s).length:1;let u=n.slice(i);return u[0]!=="/"&&(u="/"+u),fe(u,"")}return fe(o,e)+r+n}const or=S(async e=>{let t,o,r=Pe().app.baseURL;F.hashMode&&!r.includes("#")&&(r+="#");const n=F.history?.(r)??(F.hashMode?bt(r):wt(r)),s=F.routes?.(ve)??ve,l=tr(r,window.location),i=vt({...F,history:n,routes:s});e.vueApp.use(i);const u=ne(i.currentRoute.value);i.afterEach((m,v)=>{u.value=v}),Object.defineProperty(e.vueApp.config.globalProperties,"previousRoute",{get:()=>u.value});const a=ne(i.resolve(l)),c=()=>{a.value=i.currentRoute.value};e.hook("page:finish",c),i.afterEach((m,v)=>{m.matched[0]?.components?.default===v.matched[0]?.components?.default&&c()});const d={};for(const m in a.value)d[m]=X(()=>a.value[m]);e._route=se(d),e._middleware=e._middleware||{global:[],named:{}};const f=Ce();try{[t,o]=re(()=>i.isReady()),await t,o()}catch(m){[t,o]=re(()=>H(e,V,[m])),await t,o()}const h=Ie("_layout");return i.beforeEach(async(m,v)=>{m.meta=se(m.meta),e.isHydrating&&h.value&&!lt(m.meta.layout)&&(m.meta.layout=h.value),e._processingMiddleware=!0;const b=new Set([...er,...e._middleware.global]);for(const p of m.matched){const w=p.meta.middleware;if(w)if(Array.isArray(w))for(const R of w)b.add(R);else b.add(w)}for(const p of b){const w=typeof p=="string"?e._middleware.named[p]||await ae[p]?.().then(W=>W.default||W):p;if(!w)throw new Error(`Unknown route middleware: '${p}'.`);const R=await H(e,w,[m,v]);if(!e.payload.serverRendered&&e.isHydrating&&(R===!1||R instanceof Error)){const W=R||me({statusCode:404,statusMessage:`Page Not Found: ${l}`});return await H(e,V,[W]),!1}if(R||R===!1)return R}}),i.afterEach(async m=>{delete e._processingMiddleware,!e.isHydrating&&f.value&&await H(e,kt),m.matched.length===0&&await H(e,V,[me({statusCode:404,fatal:!1,statusMessage:`Page not found: ${m.fullPath}`})])}),e.hooks.hookOnce("app:created",async()=>{try{await i.replace({...i.resolve(l),name:void 0,force:!0})}catch(m){await H(e,V,[m])}}),{provide:{router:i}}}),rr=S(()=>{const e=q(),t=ce();e.hooks.hook("app:mounted",()=>{t.beforeEach(async o=>{const r=o?.meta?.layout;r&&typeof B[r]=="function"&&await B[r]()})}),e.hooks.hook("link:prefetch",o=>{if(Ge(o))return;const r=t.resolve(o);if(!r)return;const n=r?.meta?.layout;let s=Array.isArray(r?.meta?.middleware)?r?.meta?.middleware:[r?.meta?.middleware];s=s.filter(l=>typeof l=="string");for(const l of s)typeof ae[l]=="function"&&ae[l]();n&&typeof B[n]=="function"&&B[n]()})});function ke(e,t={}){const o=nr(e,t),r=q(),n=r._payloadCache=r._payloadCache||{};return n[e]||(n[e]=sr(o).then(s=>s||(delete n[e],null))),n[e]}function nr(e,t={}){const o=new URL(e,"http://localhost");if(o.search)throw new Error("Payload URL cannot contain search params: "+e);if(o.host!=="localhost")throw new Error("Payload URL cannot contain host: "+e);const r=t.hash||(t.fresh?Date.now():"");return ie(Pe().app.baseURL,o.pathname,r?`_payload.${r}.js`:"_payload.js")}async function sr(e){return(await P(()=>import(e),[],import.meta.url).catch(o=>{console.warn("[nuxt] Cannot load payload ",e,o)}))?.default||null}function ar(){return!!q().payload.prerenderedAt}const E=window[Rt],ir=S(e=>{const t=Ie("color-mode",()=>se({preference:E.preference,value:E.value,unknown:!1,forced:!1})).value;ce().afterEach(n=>{const s=n.meta.colorMode;s&&s!=="system"?(t.value=s,t.forced=!0):(s==="system"&&console.warn("You cannot force the colorMode to system at the page level."),t.forced=!1,t.value=t.preference==="system"?E.getColorScheme():t.preference)});let o;function r(){o||!window.matchMedia||(o=window.matchMedia("(prefers-color-scheme: dark)"),o.addEventListener("change",()=>{!t.forced&&t.preference==="system"&&(t.value=E.getColorScheme())}))}G(()=>t.preference,n=>{t.forced||(n==="system"?(t.value=E.getColorScheme(),r()):t.value=n,window.localStorage?.setItem(Pt,n))},{immediate:!0}),G(()=>t.value,(n,s)=>{E.removeColorScheme(s),E.addColorScheme(n)}),t.preference==="system"&&r(),e.hook("app:mounted",()=>{t.unknown&&(t.preference=E.preference,t.value=E.value,t.unknown=!1)}),e.provide("colorMode",t)});const cr=S(()=>{}),lr=S(e=>{ar()&&(e.hooks.hook("link:prefetch",t=>{if(!Qe(t).protocol)return ke(t)}),ce().beforeResolve(async(t,o)=>{if(t.path===o.path)return;const r=await ke(t.path);r&&Object.assign(e.static.data,r.data)}))}),dr=[ro,Xo,or,rr,ir,cr,lr];async function ur(){const{data:e}=await Ae(()=>$fetch("/api/og-image-options",{baseURL:Le,query:{path:O.value}}),{watch:[O,je]},"$XVR8o8RMBy");return e}async function fn(){const{data:e}=await Ae(()=>$fetch("/api/og-image-vnode",{query:{path:O.value},baseURL:Le}),{watch:[O,je]},"$cHgKigQ0kS");return e}let j;function fr(){j||(j=ne(),window.__NUXT_DEVTOOLS__?e(window.__NUXT_DEVTOOLS__):Object.defineProperty(window,"__NUXT_DEVTOOLS__",{set(t){t&&e(t)},get(){return j.value}}));function e(t){j.value=t,t.host.hooks.hook("host:update:reactivity",()=>{dt(j)})}return j}const Te=fr(),pr={class:"flex-row flex h-screen"},hr={class:"border-r-1 border-light-400 dark:border-dark-400 dark:bg-dark-900 dark:text-light bg-white text-dark-800 flex flex-col justify-between h-screen z-5"},mr={class:"flex-grow hidden md:block"},yr={class:"py-3 w-full flex items-start px-5 justify-between space-x-5"},_r=_("h1",{class:"text-base w-40"}," OG Image Playground ",-1),gr=_("hr",{class:"border-1 border-light-400 dark:border-dark-400"},null,-1),br={class:"py-7 px-5 text-sm flex flex-col space-y-3"},wr=_("hr",{class:"border-1 border-light-400 dark:border-dark-400"},null,-1),vr={key:0,class:"py-7 px-5 text-sm flex flex-col space-y-3"},$r={class:"mx-auto flex flex-col w-full bg-white dark:bg-black max-h-screen overflow-hidden dark:bg-dark-700 bg-light-200"},kr={class:"py-9px dark:bg-dark-800 bg-light-200 px-10 opacity-80 flex items-center max-w-full block space-x-5"},Tr={class:"text-sm flex items-center space-x-5"},Er=_("div",{class:"text-xs opacity-40"}," Path ",-1),Rr={class:"flex items-center space-x-1"},Pr={key:0,class:"text-xs opacity-70"},Or=_("hr",{class:"border-1 border-light-400 dark:border-dark-400"},null,-1),Hr=ut({__name:"app",async setup(e){let t,o;Lt({title:"OG Image Playground"});const r=X(()=>!!Te.value),n=X(()=>Te.value?.host.nuxt.vueApp.config?.globalProperties?.$route?.path||void 0);O.value=n.value||z().query.path||"/",G(()=>n.value,u=>{O.value=u});const s=X(()=>z().path!=="/vnodes"&&z().path!=="/options"),l=([t,o]=ft(()=>ur()),t=await t,o(),t),i=It(u=>{O.value=u.target.value,ye()},1e3);return(u,a)=>{const c=Ot,d=Ht,f=St,h=Ct,m=Et,v=At,b=jt;return k(),I("div",pr,[_("header",hr,[_("div",mr,[_("div",yr,[_r,y(r)?C("",!0):(k(),L(f,{key:0},{default:$(({toggle:p})=>[g(d,{n:"borderless lg m-0","p-0":"",op50:"",onClick:p},{default:$(()=>[g(c,{icon:"dark:carbon-moon carbon-sun"})]),_:2},1032,["onClick"])]),_:1}))]),gr,_("div",br,[g(m,{to:"/",class:"transition-all hover:ml-1 whitespace-nowrap"},{default:$(({isActive:p})=>[g(h,{name:"carbon:image-search",class:T(["mr-1",[p?"opacity-90":"opacity-60"]])},null,8,["class"]),_("span",{class:T([p?"underline":"opacity-60"])},he(y(l).component)+".vue ",3)]),_:1}),y(l).provider==="satori"?(k(),L(m,{key:0,to:"/svg",class:"transition-all hover:ml-1 whitespace-nowrap"},{default:$(({isActive:p})=>[g(h,{name:"carbon:svg",class:T(["mr-1",[p?"opacity-90":"opacity-60"]])},null,8,["class"]),_("span",{class:T([p?"underline":"opacity-60"])}," Preview SVG ",2)]),_:1})):C("",!0),g(m,{to:"/png",class:"transition-all hover:ml-1 whitespace-nowrap"},{default:$(({isActive:p})=>[g(h,{name:"carbon:png",class:T(["mr-1",[p?"opacity-90":"opacity-60"]])},null,8,["class"]),_("span",{class:T([p?"underline":"opacity-60"])}," Preview PNG ",2)]),_:1}),g(m,{to:"/options",class:"transition-all hover:ml-1 whitespace-nowrap"},{default:$(({isActive:p})=>[g(h,{name:"carbon:operations-record",class:T(["mr-1",[p?"opacity-90":"opacity-60"]])},null,8,["class"]),_("span",{class:T([p?"underline":"opacity-60"])}," Options ",2)]),_:1}),g(m,{to:"/vnodes",class:"transition-all hover:ml-1 whitespace-nowrap"},{default:$(({isActive:p})=>[g(h,{name:"carbon:ibm-cloud-pak-manta-automated-data-lineage",class:T(["mr-1",[p?"opacity-90":"opacity-60"]])},null,8,["class"]),_("span",{class:T([p?"underline":"opacity-60"])}," vNodes ",2)]),_:1})]),wr,y(s)?(k(),I("div",vr,[y(A)!==504?(k(),I("div",{key:0,onClick:a[0]||(a[0]=p=>A.value=504)},[g(d,null,{default:$(()=>[g(h,{name:"carbon:mobile"}),ee(" Small ")]),_:1})])):C("",!0),y(A)!==null?(k(),I("div",{key:1,onClick:a[1]||(a[1]=p=>A.value=null)},[g(d,null,{default:$(()=>[g(h,{name:"carbon:laptop"}),ee(" Full width ")]),_:1})])):C("",!0),_("div",null,[g(d,{onClick:y(ye)},{default:$(()=>[ee(" Refresh ")]),_:1},8,["onClick"])])])):C("",!0)])]),_("main",$r,[_("div",kr,[_("div",Tr,[Er,_("div",Rr,[g(v,{"model-value":y(O),placeholder:"Search...",n:"primary",onInput:y(i)},null,8,["model-value","onInput"])])]),y(_e)?(k(),I("div",Pr,he(y(_e)),1)):C("",!0)]),Or,_("div",{class:"h-full max-h-full overflow-hidden lg:p-10 p-3",style:pt({width:y(A)&&y(s)?`${y(A)}px`:"100%"})},[g(b)],4)])])}}});const Ee={__name:"nuxt-root",setup(e){const t=Oe(()=>P(()=>import("./error-component.a4e65745.js"),["./error-component.a4e65745.js","./components.client.21f887f1.js","./nuxt.3d910b2a.js","./runtime-core.esm-bundler.6578edd8.js","./nuxt-link.5a11ff0a.js","./router.0fad6fd6.js","./app.config.5015f363.js","./defu.5a7c1433.js","./logic.572bc5bc.js","./index.4ad828aa.js","./client-only.435a195c.js","./layout.70d4c05b.js","./runtime-dom.esm-bundler.d11338ba.js","./utils.8063e9c8.js","./nuxt-error-boundary.62487e2b.js","./dev-only.083678f7.js","./server-placeholder.db84c337.js","./nuxt-loading-indicator.dd809d74.js","./Icon.vue.2d5f9e0f.js","./Icon.403b6716.css","./page.57b4d336.js","./components.499d69e9.js","./composables.18b26f4a.js","./IFrameLoader.827f3001.css","./ImageLoader.5a22ae19.css","./welcome.db724adb.css"],import.meta.url).then(i=>i.default||i)),o=()=>null,r=q(),n=r.deferHydration();ht("_route",z()),r.hooks.callHookWith(i=>i.map(u=>u()),"vue:setup");const s=Ce();mt((i,u,a)=>{r.hooks.callHook("vue:error",i,u,a).catch(c=>console.error("[nuxt] Error in `vue:error` hook",c)),Tt(i)&&(i.fatal||i.unhandled)&&H(r,V,[i])});const{islandContext:l}=!1;return(i,u)=>(k(),L(yt,{onResolve:y(n)},{default:$(()=>[y(s)?(k(),L(y(t),{key:0,error:y(s)},null,8,["error"])):y(l)?(k(),L(y(o),{key:1,context:y(l)},null,8,["context"])):(k(),L(y(Hr),{key:2}))]),_:1},8,["onResolve"]))}};globalThis.$fetch||(globalThis.$fetch=Qt.create({baseURL:eo()}));let Re;const Sr=et(dr);Re=async function(){const o=Boolean(window.__NUXT__?.serverRendered)?Ke(Ee):Je(Ee),r=tt({vueApp:o});try{await ot(r,Sr)}catch(n){await r.callHook("app:error",n),r.payload.error=r.payload.error||n}try{await r.hooks.callHook("app:created",o),await r.hooks.callHook("app:beforeMount",o),o.mount("#"+$t),await r.hooks.callHook("app:mounted",o),await le()}catch(n){await r.callHook("app:error",n),r.payload.error=r.payload.error||n}},Re().catch(e=>{console.error("Error while mounting app:",e)});export{fn as a,ur as f};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import r from"./nuxt-link.5a11ff0a.js";import"./nuxt.3d910b2a.js";import{u as a}from"./composables.18b26f4a.js";import"./app.config.5015f363.js";import{_ as n}from"./_plugin-vue_export-helper.c27b6911.js";import{m as l,p as d,q as e,C as s,z as c,y as p,D as m,ah as f,ai as h}from"./runtime-core.esm-bundler.6578edd8.js";import"./router.0fad6fd6.js";import"./defu.5a7c1433.js";const x=t=>(f("data-v-01f15790"),t=t(),h(),t),u={class:"font-sans antialiased bg-white dark:bg-black text-black dark:text-white grid min-h-screen place-content-center overflow-hidden"},g=x(()=>e("div",{class:"fixed left-0 right-0 spotlight z-10"},null,-1)),_={class:"max-w-520px text-center z-20"},b=["textContent"],y=["textContent"],w={class:"w-full flex items-center justify-center"},S={__name:"error-404",props:{appName:{type:String,default:"Nuxt"},version:{type:String,default:""},statusCode:{type:Number,default:404},statusMessage:{type:String,default:"Not Found"},description:{type:String,default:"Sorry, the page you are looking for could not be found."},backHome:{type:String,default:"Go back home"}},setup(t){const o=t;return a({title:`${o.statusCode} - ${o.statusMessage} | ${o.appName}`,script:[],style:[{children:'*,:before,:after{-webkit-box-sizing:border-box;box-sizing:border-box;border-width:0;border-style:solid;border-color:#e0e0e0}*{--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(14, 165, 233, .5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000}:root{-moz-tab-size:4;-o-tab-size:4;tab-size:4}a{color:inherit;text-decoration:inherit}body{margin:0;font-family:inherit;line-height:inherit}html{-webkit-text-size-adjust:100%;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";line-height:1.5}h1,p{margin:0}h1{font-size:inherit;font-weight:inherit}'}]}),(k,v)=>{const i=r;return l(),d("div",u,[g,e("div",_,[e("h1",{class:"text-8xl sm:text-10xl font-medium mb-8",textContent:s(t.statusCode)},null,8,b),e("p",{class:"text-xl px-8 sm:px-0 sm:text-4xl font-light mb-16 leading-tight",textContent:s(t.description)},null,8,y),e("div",w,[c(i,{to:"/",class:"gradient-border text-md sm:text-xl py-2 px-4 sm:py-3 sm:px-6 cursor-pointer"},{default:p(()=>[m(s(t.backHome),1)]),_:1})])])])}}},M=n(S,[["__scopeId","data-v-01f15790"]]);export{M as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import"./nuxt.3d910b2a.js";import{u as i}from"./composables.18b26f4a.js";import"./nuxt-link.5a11ff0a.js";import"./app.config.5015f363.js";import{_ as r}from"./_plugin-vue_export-helper.c27b6911.js";import{m as a,p as n,q as e,C as s,ah as l,ai as d}from"./runtime-core.esm-bundler.6578edd8.js";import"./router.0fad6fd6.js";import"./defu.5a7c1433.js";const p=t=>(l("data-v-8e50e92f"),t=t(),d(),t),c={class:"font-sans antialiased bg-white dark:bg-black text-black dark:text-white grid min-h-screen place-content-center overflow-hidden"},m=p(()=>e("div",{class:"fixed -bottom-1/2 left-0 right-0 h-1/2 spotlight"},null,-1)),f={class:"max-w-520px text-center"},h=["textContent"],g=["textContent"],x={__name:"error-500",props:{appName:{type:String,default:"Nuxt"},version:{type:String,default:""},statusCode:{type:Number,default:500},statusMessage:{type:String,default:"Server error"},description:{type:String,default:"This page is temporarily unavailable."}},setup(t){const o=t;return i({title:`${o.statusCode} - ${o.statusMessage} | ${o.appName}`,script:[],style:[{children:'*,:before,:after{-webkit-box-sizing:border-box;box-sizing:border-box;border-width:0;border-style:solid;border-color:#e0e0e0}*{--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(14, 165, 233, .5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000}:root{-moz-tab-size:4;-o-tab-size:4;tab-size:4}body{margin:0;font-family:inherit;line-height:inherit}html{-webkit-text-size-adjust:100%;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";line-height:1.5}h1,p{margin:0}h1{font-size:inherit;font-weight:inherit}'}]}),(u,b)=>(a(),n("div",c,[m,e("div",f,[e("h1",{class:"text-8xl sm:text-10xl font-medium mb-8",textContent:s(t.statusCode)},null,8,h),e("p",{class:"text-xl px-8 sm:px-0 sm:text-4xl font-light mb-16 leading-tight",textContent:s(t.description)},null,8,g)])]))}},N=r(x,[["__scopeId","data-v-8e50e92f"]]);export{N as default};
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import{_ as a}from"./components.client.21f887f1.js";import{d as i,m as _,x as f,aa as g,ab as E,u as e}from"./runtime-core.esm-bundler.6578edd8.js";import"./nuxt.3d910b2a.js";import"./nuxt-link.5a11ff0a.js";import"./router.0fad6fd6.js";import"./app.config.5015f363.js";import"./defu.5a7c1433.js";import"./logic.572bc5bc.js";import"./index.4ad828aa.js";/* empty css *//* empty css */import"./client-only.435a195c.js";/* empty css */import"./layout.70d4c05b.js";import"./runtime-dom.esm-bundler.d11338ba.js";import"./utils.8063e9c8.js";import"./nuxt-error-boundary.62487e2b.js";import"./dev-only.083678f7.js";import"./server-placeholder.db84c337.js";import"./nuxt-loading-indicator.dd809d74.js";import"./Icon.vue.2d5f9e0f.js";import"./page.57b4d336.js";import"./components.499d69e9.js";import"./composables.18b26f4a.js";const k={__name:"nuxt-error-page",props:{error:Object},setup(r){(r.error.stack||"").split(`
|
|
2
|
+
`).splice(1).map(t=>({text:t.replace("webpack:/","").replace(".vue",".js").trim(),internal:t.includes("node_modules")&&!t.includes(".cache")||t.includes("internal")||t.includes("new Promise")})).map(t=>`<span class="stack${t.internal?" internal":""}">${t.text}</span>`).join(`
|
|
3
|
+
`);const o=Number(r.error.statusCode||500),s=o===404,n=r.error.statusMessage??(s?"Page Not Found":"Internal Server Error"),m=r.error.message||r.error.toString(),p=void 0,c=i(()=>a(()=>import("./error-404.6384bc0c.js"),["./error-404.6384bc0c.js","./nuxt-link.5a11ff0a.js","./router.0fad6fd6.js","./nuxt.3d910b2a.js","./runtime-core.esm-bundler.6578edd8.js","./composables.18b26f4a.js","./app.config.5015f363.js","./defu.5a7c1433.js","./_plugin-vue_export-helper.c27b6911.js","./error-404.1469f10f.css"],import.meta.url).then(t=>t.default||t)),u=i(()=>a(()=>import("./error-500.ffce2eda.js"),["./error-500.ffce2eda.js","./nuxt.3d910b2a.js","./runtime-core.esm-bundler.6578edd8.js","./composables.18b26f4a.js","./nuxt-link.5a11ff0a.js","./router.0fad6fd6.js","./app.config.5015f363.js","./defu.5a7c1433.js","./_plugin-vue_export-helper.c27b6911.js","./error-500.92b94fae.css"],import.meta.url).then(t=>t.default||t)),d=s?c:u;return(t,l)=>(_(),f(e(d),g(E({statusCode:e(o),statusMessage:e(n),description:e(m),stack:e(p)})),null,16))}},q=k;export{q as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as Q,i as S,b as T,n as x,c as F,d as L,e as V,t as B}from"./index.
|
|
1
|
+
import{r as Q,i as S,b as T,n as x,c as F,d as L,e as V,t as B}from"./index.4ad828aa.js";import{r as W,a as g,f as $,g as J}from"./runtime-core.esm-bundler.6578edd8.js";function _(e){var t;const n=Q(e);return(t=n?.$el)!=null?t:n}const C=S?window:void 0;function h(...e){let t,n,r,c;if(T(e[0])||Array.isArray(e[0])?([n,r,c]=e,t=C):[t,n,r,c]=e,!t)return x;Array.isArray(n)||(n=[n]),Array.isArray(r)||(r=[r]);const f=[],m=()=>{f.forEach(u=>u()),f.length=0},l=(u,p,a)=>(u.addEventListener(p,a,c),()=>u.removeEventListener(p,a,c)),v=g(()=>_(t),u=>{m(),u&&f.push(...n.flatMap(p=>r.map(a=>l(u,p,a))))},{immediate:!0,flush:"post"}),d=()=>{v(),m()};return B(d),d}function K(e,t,n={}){const{window:r=C,ignore:c=[],capture:f=!0,detectIframe:m=!1}=n;if(!r)return;let l=!0,v;const d=s=>c.some(o=>{if(typeof o=="string")return Array.from(r.document.querySelectorAll(o)).some(i=>i===s.target||s.composedPath().includes(i));{const i=_(o);return i&&(s.target===i||s.composedPath().includes(i))}}),u=s=>{r.clearTimeout(v);const o=_(e);if(!(!o||o===s.target||s.composedPath().includes(o))){if(s.detail===0&&(l=!d(s)),!l){l=!0;return}t(s)}},p=[h(r,"click",u,{passive:!0,capture:f}),h(r,"pointerdown",s=>{const o=_(e);o&&(l=!s.composedPath().includes(o)&&!d(s))},{passive:!0}),h(r,"pointerup",s=>{if(s.button===0){const o=s.composedPath();s.composedPath=()=>o,v=r.setTimeout(()=>u(s),50)}},{passive:!0}),m&&h(r,"blur",s=>{var o;const i=_(e);((o=r.document.activeElement)==null?void 0:o.tagName)==="IFRAME"&&!i?.contains(r.document.activeElement)&&t(s)})].filter(Boolean);return()=>p.forEach(s=>s())}function M(e){return JSON.parse(JSON.stringify(e))}const b=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},E="__vueuse_ssr_handlers__";b[E]=b[E]||{};b[E];var w;(function(e){e.UP="UP",e.RIGHT="RIGHT",e.DOWN="DOWN",e.LEFT="LEFT",e.NONE="NONE"})(w||(w={}));var R=Object.defineProperty,N=Object.getOwnPropertySymbols,U=Object.prototype.hasOwnProperty,j=Object.prototype.propertyIsEnumerable,A=(e,t,n)=>t in e?R(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,G=(e,t)=>{for(var n in t||(t={}))U.call(t,n)&&A(e,n,t[n]);if(N)for(var n of N(t))j.call(t,n)&&A(e,n,t[n]);return e};const H={easeInSine:[.12,0,.39,0],easeOutSine:[.61,1,.88,1],easeInOutSine:[.37,0,.63,1],easeInQuad:[.11,0,.5,0],easeOutQuad:[.5,1,.89,1],easeInOutQuad:[.45,0,.55,1],easeInCubic:[.32,0,.67,0],easeOutCubic:[.33,1,.68,1],easeInOutCubic:[.65,0,.35,1],easeInQuart:[.5,0,.75,0],easeOutQuart:[.25,1,.5,1],easeInOutQuart:[.76,0,.24,1],easeInQuint:[.64,0,.78,0],easeOutQuint:[.22,1,.36,1],easeInOutQuint:[.83,0,.17,1],easeInExpo:[.7,0,.84,0],easeOutExpo:[.16,1,.3,1],easeInOutExpo:[.87,0,.13,1],easeInCirc:[.55,0,1,.45],easeOutCirc:[0,.55,.45,1],easeInOutCirc:[.85,0,.15,1],easeInBack:[.36,0,.66,-.56],easeOutBack:[.34,1.56,.64,1],easeInOutBack:[.68,-.6,.32,1.6]};G({linear:F},H);function z(e,t,n,r={}){var c,f,m;const{clone:l=!1,passive:v=!1,eventName:d,deep:u=!1,defaultValue:p}=r,a=J(),s=n||a?.emit||((c=a?.$emit)==null?void 0:c.bind(a))||((m=(f=a?.proxy)==null?void 0:f.$emit)==null?void 0:m.bind(a?.proxy));let o=d;t||(t="modelValue"),o=d||o||`update:${t.toString()}`;const i=O=>l?L(l)?l(O):M(O):O,P=()=>V(e[t])?i(e[t]):p;if(v){const O=P(),y=W(O);return g(()=>e[t],I=>y.value=i(I)),g(y,I=>{(I!==e[t]||u)&&s(o,I)},{deep:u}),y}else return $({get(){return P()},set(O){s(o,O)}})}export{_ as a,K as o,z as u};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{e as g,r as v,u as w,ae as y,af as h}from"./runtime-core.esm-bundler.6578edd8.js";var p;const T=typeof window<"u",F=e=>typeof e<"u",S=e=>typeof e=="function",b=e=>typeof e=="string",d=()=>{};T&&((p=window?.navigator)!=null&&p.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent);function f(e){return typeof e=="function"?e():w(e)}function D(e,o){function r(...t){return new Promise((u,n)=>{Promise.resolve(e(()=>o.apply(this,t),{fn:o,thisArg:this,args:t})).then(u).catch(n)})}return r}function P(e,o={}){let r,t,u=d;const n=i=>{clearTimeout(i),u(),u=d};return i=>{const s=f(e),a=f(o.maxWait);return r&&n(r),s<=0||a!==void 0&&a<=0?(t&&(n(t),t=null),Promise.resolve(i())):new Promise((c,m)=>{u=o.rejectOnCancel?m:c,a&&!t&&(t=setTimeout(()=>{r&&n(r),t=null,c(i())},a)),r=setTimeout(()=>{t&&n(t),t=null,c(i())},s)})}}function A(e){return e}function C(e){return y()?(h(e),!0):!1}function R(e,o=200,r={}){return D(P(o,r),e)}function _(e=!1,o={}){const{truthyValue:r=!0,falsyValue:t=!1}=o,u=g(e),n=v(e);function l(i){if(arguments.length)return n.value=i,n.value;{const s=f(r);return n.value=n.value===s?f(t):s,n.value}}return u?l:[n,l]}export{_ as a,b,A as c,S as d,F as e,T as i,d as n,f as r,C as t,R as u};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import n from"./IFrameLoader.d0721d67.js";import{g as m,h as p,p as c,r as h,d as l}from"./logic.572bc5bc.js";import{k as _,l as f,m as u,p as d,z as g,u as e}from"./runtime-core.esm-bundler.6578edd8.js";import"./composables.371d9c1f.js";import"./nuxt.3d910b2a.js";import"./state.b0e07f74.js";import"./nuxt-link.5a11ff0a.js";import"./router.0fad6fd6.js";import"./app.config.5015f363.js";import"./defu.5a7c1433.js";import"./composables.18b26f4a.js";import"./index.4ad828aa.js";/* empty css */import"./_plugin-vue_export-helper.c27b6911.js";const x={class:"flex h-full w-full"},M=_({__name:"index",async setup(w){let t,o;const r=([t,o]=f(()=>m.useServerConfig()),t=await t,o(),t),s=r.value?.height||630,a=(r.value?.width||1200)/s;return(k,C)=>{const i=n;return u(),d("div",x,[g(i,{src:`${e(p)}/api/og-image-html?path=${e(c)}×tamp=${e(h)}`,"aspect-ratio":a,description:"[HTML] Generated in %sms.",class:"max-h-full",onRefresh:e(l)},null,8,["src","onRefresh"])])}}});export{M as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{T as m}from"./runtime-dom.esm-bundler.d11338ba.js";import{u as p,g as f,_ as u}from"./utils.8063e9c8.js";import{c as y}from"./router.0fad6fd6.js";import{k as r,H as c,f as d,i as L,u as _}from"./runtime-core.esm-bundler.6578edd8.js";const l={},g=r({name:"LayoutLoader",inheritAttrs:!1,props:{name:String},async setup(n,t){const e=await l[n.name]().then(a=>a.default||a);return()=>c(e,t.attrs,t.slots)}}),h=r({name:"NuxtLayout",inheritAttrs:!1,props:{name:{type:[String,Boolean,Object],default:null}},setup(n,t){const e=L("_route"),a=e===y()?p():e,o=d(()=>_(n.name)??a.meta.layout??"default");return()=>{const s=o.value&&o.value in l,i=a.meta.layoutTransition??f;return u(m,s&&i,{default:()=>u(g,s&&{key:o.value,name:o.value,...t.attrs},t.slots).default()}).default()}}}),S=Object.freeze(Object.defineProperty({__proto__:null,default:h},Symbol.toStringTag,{value:"Module"}));export{S as a,l};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{u as E}from"./nuxt.3d910b2a.js";import{a2 as $,r as p,a3 as H,a4 as b,a as L,u as W,g as I,f as F}from"./runtime-core.esm-bundler.6578edd8.js";import"./nuxt-link.5a11ff0a.js";import"./app.config.5015f363.js";import{u as q}from"./index.4ad828aa.js";class x extends Error{constructor(){super(...arguments),this.statusCode=500,this.fatal=!1,this.unhandled=!1,this.statusMessage=void 0}toJSON(){const s={message:this.message,statusCode:this.statusCode};return this.statusMessage&&(s.statusMessage=this.statusMessage),this.data!==void 0&&(s.data=this.data),s}}x.__h3_error__=!0;function U(e){if(typeof e=="string")return new x(e);if(J(e))return e;const s=new x(e.message??e.statusMessage,e.cause?{cause:e.cause}:void 0);if("stack"in e)try{Object.defineProperty(s,"stack",{get(){return e.stack}})}catch{try{s.stack=e.stack}catch{}}return e.data&&(s.data=e.data),e.statusCode?s.statusCode=e.statusCode:e.status&&(s.statusCode=e.status),e.statusMessage?s.statusMessage=e.statusMessage:e.statusText&&(s.statusMessage=e.statusText),e.fatal!==void 0&&(s.fatal=e.fatal),e.unhandled!==void 0&&(s.unhandled=e.unhandled),s}function J(e){return e?.constructor?.__h3_error__===!0}const S=()=>$(E().payload,"error"),ve=e=>{const s=C(e);try{E().callHook("app:error",s);const c=S();c.value=c.value||s}catch{throw s}return s},_e=async(e={})=>{const s=E(),t=S();s.callHook("app:error:cleared",e),e.redirect&&await s.$router.replace(e.redirect),t.value=null},we=e=>!!(e&&typeof e=="object"&&"__nuxt_error"in e),C=e=>{const s=U(e);return s.__nuxt_error=!0,s},K=()=>null;function V(...e){const s=typeof e[e.length-1]=="string"?e.pop():void 0;typeof e[0]!="string"&&e.unshift(s);let[t,c,r={}]=e;if(typeof t!="string")throw new TypeError("[nuxt] [asyncData] key must be a string.");if(typeof c!="function")throw new TypeError("[nuxt] [asyncData] handler must be a function.");r.server=r.server??!0,r.default=r.default??K,r.lazy=r.lazy??!1,r.immediate=r.immediate??!0;const a=E(),f=()=>a.isHydrating?a.payload.data[t]:a.static.data[t],u=()=>f()!==void 0;a._asyncData[t]||(a._asyncData[t]={data:p(f()??r.default?.()??null),pending:p(!u()),error:p(a.payload._errors[t]?C(a.payload._errors[t]):null)});const n={...a._asyncData[t]};n.refresh=n.execute=(o={})=>{if(a._asyncDataPromises[t]){if(o.dedupe===!1)return a._asyncDataPromises[t];a._asyncDataPromises[t].cancelled=!0}if(o._initial&&u())return f();n.pending.value=!0;const y=new Promise((i,m)=>{try{i(c(a))}catch(g){m(g)}}).then(i=>{if(y.cancelled)return a._asyncDataPromises[t];r.transform&&(i=r.transform(i)),r.pick&&(i=G(i,r.pick)),n.data.value=i,n.error.value=null}).catch(i=>{if(y.cancelled)return a._asyncDataPromises[t];n.error.value=i,n.data.value=W(r.default?.()??null)}).finally(()=>{y.cancelled||(n.pending.value=!1,a.payload.data[t]=n.data.value,n.error.value&&(a.payload._errors[t]=C(n.error.value)),delete a._asyncDataPromises[t])});return a._asyncDataPromises[t]=y,a._asyncDataPromises[t]};const h=()=>n.refresh({_initial:!0}),l=r.server!==!1&&a.payload.serverRendered;{const o=I();if(o&&!o._nuxtOnBeforeMountCbs){o._nuxtOnBeforeMountCbs=[];const i=o._nuxtOnBeforeMountCbs;o&&(H(()=>{i.forEach(m=>{m()}),i.splice(0,i.length)}),b(()=>i.splice(0,i.length)))}l&&a.isHydrating&&u()?n.pending.value=!1:o&&(a.payload.serverRendered&&a.isHydrating||r.lazy)&&r.immediate?o._nuxtOnBeforeMountCbs.push(h):r.immediate&&h(),r.watch&&L(r.watch,()=>n.refresh());const y=a.hook("app:data:refresh",i=>{if(!i||i.includes(t))return n.refresh()});o&&b(y)}const d=Promise.resolve(a._asyncDataPromises[t]).then(()=>n);return Object.assign(d,n),d}function G(e,s){const t={};for(const c of s)t[c]=e[c];return t}const Q=6e4;function X(e,s){const{post:t,on:c,eventNames:r=[],serialize:a=l=>l,deserialize:f=l=>l,timeout:u=Q}=s,n=new Map,h=new Proxy({},{get(l,d){const o=(...i)=>{t(a({m:d,a:i,t:"q"}))};if(r.includes(d))return o.asEvent=o,o;const y=(...i)=>new Promise((m,g)=>{const v=Z();n.set(v,{resolve:m,reject:g}),t(a({m:d,a:i,i:v,t:"q"})),u>=0&&setTimeout(()=>{g(new Error(`[birpc] timeout on calling "${d}"`)),n.delete(v)},u)});return y.asEvent=o,y}});return c(async(l,...d)=>{const o=f(l);if(o.t==="q"){const{m:y,a:i}=o;let m,g;try{m=await e[y].apply(h,i)}catch(v){g=v}o.i&&t(a({t:"s",i:o.i,r:m,e:g}),...d)}else{const{i:y,r:i,e:m}=o,g=n.get(y);m?g?.reject(m):g?.resolve(i),n.delete(y)}}),h}const Y="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";function Z(e=21){let s="",t=e;for(;t--;)s+=Y[Math.random()*64|0];return s}/*! (c) 2020 Andrea Giammarchi */const{parse:ee,stringify:te}=JSON,{keys:se}=Object,_=String,T="string",D={},w="object",j=(e,s)=>s,ae=e=>e instanceof _?_(e):e,ne=(e,s)=>typeof s===T?new _(s):s,N=(e,s,t,c)=>{const r=[];for(let a=se(t),{length:f}=a,u=0;u<f;u++){const n=a[u],h=t[n];if(h instanceof _){const l=e[h];typeof l===w&&!s.has(l)?(s.add(l),t[n]=D,r.push({k:n,a:[e,s,l,c]})):t[n]=c.call(t,n,l)}else t[n]!==D&&(t[n]=c.call(t,n,h))}for(let{length:a}=r,f=0;f<a;f++){const{k:u,a:n}=r[f];t[u]=c.call(t,u,N.apply(null,n))}return t},k=(e,s,t)=>{const c=_(s.push(t)-1);return e.set(t,c),c},re=(e,s)=>{const t=ee(e,ne).map(ae),c=t[0],r=s||j,a=typeof c===w&&c?N(t,new Set,c,r):c;return r.call({"":a},"",a)},oe=(e,s,t)=>{const c=s&&typeof s===w?(l,d)=>l===""||-1<s.indexOf(l)?d:void 0:s||j,r=new Map,a=[],f=[];let u=+k(r,a,c.call({"":e},"",e)),n=!u;for(;u<a.length;)n=!0,f[u]=te(a[u++],h,t);return"["+f.join(",")+"]";function h(l,d){if(n)return n=!n,d;const o=c.call(this,l,d);switch(typeof o){case w:if(o===null)return o;case T:return r.get(o)||k(r,a,o)}return o}},ce=2e3;let z=()=>{};const P=p(!0),M=p(),A=p(null);function ie(e){const s=X(e,{post:t=>A.value.send(t),on:t=>{z=t},serialize:oe,deserialize:re});return{useServerConfig:async function(){return(await V("server-config",()=>s.getConfig())).data}}}async function B(e){const s=new WebSocket(`ws://${e}/__nuxt_og_image__/entry`);return s.addEventListener("message",t=>z(String(t.data))),s.addEventListener("error",t=>{M.value=t}),s.addEventListener("close",()=>{console.log("[nuxt-og-image] WebSocket closed, reconnecting..."),setTimeout(async()=>{A.value=await B(e)},ce)}),P.value=!0,s.readyState!==WebSocket.OPEN&&await new Promise(t=>s.addEventListener("open",t)),console.log("[nuxt-og-image] WebSocket connected."),P.value=!1,M.value=null,s}const le=p(Date.now()),Ee=p(null),R=window.location.host,ue=`${window.location.protocol}//${R}`,O=p("/"),fe=q(()=>{le.value=Date.now()},200),de={refresh(){fe()}};await B(R);const xe=ie(de),Ce=p(null),be=F(()=>`${ue}${O.value==="/"?"":O.value}`);export{_e as a,V as b,U as c,fe as d,Ce as e,Ee as f,xe as g,ue as h,we as i,be as j,O as p,le as r,ve as s,S as u};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{u as a}from"./nuxt.3d910b2a.js";import{k as p,r as s,G as f}from"./runtime-core.esm-bundler.6578edd8.js";const l=p({emits:{error(t){return!0}},setup(t,{slots:e,emit:u}){const r=s(null),n=a();return f(o=>{if(!n.isHydrating)return u("error",o),r.value=o,!1}),()=>r.value?e.error?.({error:r}):e.default?.()}});export{l as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{u as y,h as C,n as _}from"./router.0fad6fd6.js";import{u as h}from"./nuxt.3d910b2a.js";import{k,f as b,r as g,a5 as q,o as P,H as p,a6 as A}from"./runtime-core.esm-bundler.6578edd8.js";const m=globalThis.requestIdleCallback||(t=>{const a=Date.now(),e={didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-a))};return setTimeout(()=>{t(e)},1)}),R=globalThis.cancelIdleCallback||(t=>{clearTimeout(t)}),T=t=>{const a=h();a.isHydrating?a.hooks.hookOnce("app:suspense:resolve",()=>{m(t)}):m(t)};async function x(t,a=y()){if(a._routePreloaded||(a._routePreloaded=new Set),a._routePreloaded.has(t))return;const e=a._preloadPromises=a._preloadPromises||[];if(e.length>4)return Promise.all(e).then(()=>x(t,a));a._routePreloaded.add(t);const o=a.resolve(t).matched.map(l=>l.components?.default).filter(l=>typeof l=="function");for(const l of o){const n=Promise.resolve(l()).catch(()=>{}).finally(()=>e.splice(e.indexOf(n)));e.push(n)}await Promise.all(e)}const N=(...t)=>t.find(a=>a!==void 0),S="noopener noreferrer";function w(t){const a=t.componentName||"NuxtLink";return k({name:a,props:{to:{type:[String,Object],default:void 0,required:!1},href:{type:[String,Object],default:void 0,required:!1},target:{type:String,default:void 0,required:!1},rel:{type:String,default:void 0,required:!1},noRel:{type:Boolean,default:void 0,required:!1},prefetch:{type:Boolean,default:void 0,required:!1},noPrefetch:{type:Boolean,default:void 0,required:!1},activeClass:{type:String,default:void 0,required:!1},exactActiveClass:{type:String,default:void 0,required:!1},prefetchedClass:{type:String,default:void 0,required:!1},replace:{type:Boolean,default:void 0,required:!1},ariaCurrentValue:{type:String,default:void 0,required:!1},external:{type:Boolean,default:void 0,required:!1},custom:{type:Boolean,default:void 0,required:!1}},setup(e,{slots:o}){const l=y(),n=b(()=>e.to||e.href||""),c=b(()=>e.external||e.target&&e.target!=="_self"?!0:typeof n.value=="object"?!1:n.value===""||C(n.value,!0)),d=g(!1),s=g(null);if(e.prefetch!==!1&&e.noPrefetch!==!0&&typeof n.value=="string"&&e.target!=="_blank"&&!E()){const f=h();let u,i=null;q(()=>{const v=B();T(()=>{u=m(()=>{s?.value?.tagName&&(i=v.observe(s.value,async()=>{i?.(),i=null,await Promise.all([f.hooks.callHook("link:prefetch",n.value).catch(()=>{}),!c.value&&x(n.value,l).catch(()=>{})]),d.value=!0}))})})}),P(()=>{u&&R(u),i?.(),i=null})}return()=>{if(!c.value)return p(A("RouterLink"),{ref:v=>{s.value=v?.$el},to:n.value,...d.value&&!e.custom?{class:e.prefetchedClass||t.prefetchedClass}:{},activeClass:e.activeClass||t.activeClass,exactActiveClass:e.exactActiveClass||t.exactActiveClass,replace:e.replace,ariaCurrentValue:e.ariaCurrentValue,custom:e.custom},o.default);const r=typeof n.value=="object"?l.resolve(n.value)?.href??null:n.value||null,f=e.target||null,u=e.noRel?null:N(e.rel,t.externalRelAttribute,r?S:"")||null,i=()=>_(r,{replace:e.replace});return e.custom?o.default?o.default({href:r,navigate:i,route:l.resolve(r),rel:u,target:f,isExternal:c.value,isActive:!1,isExactActive:!1}):null:p("a",{ref:s,href:r,rel:u,target:f},o.default?.())}}})}const D=w({componentName:"NuxtLink"});function B(){const t=h();if(t._observer)return t._observer;let a=null;const e=new Map,o=(n,c)=>(a||(a=new IntersectionObserver(d=>{for(const s of d){const r=e.get(s.target);(s.isIntersecting||s.intersectionRatio>0)&&r&&r()}})),e.set(n,c),a.observe(n),()=>{e.delete(n),a.unobserve(n),e.size===0&&(a.disconnect(),a=null)});return t._observer={observe:o}}function E(){const t=navigator.connection;return!!(t&&(t.saveData||/2g/.test(t.effectiveType)))}export{D as default,w as defineNuxtLink};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{u as g}from"./nuxt.3d910b2a.js";import{k as p,o as m,H as v,r as l,f as x}from"./runtime-core.esm-bundler.6578edd8.js";const k=p({name:"NuxtLoadingIndicator",props:{throttle:{type:Number,default:200},duration:{type:Number,default:2e3},height:{type:Number,default:3},color:{type:[String,Boolean],default:"repeating-linear-gradient(to right,#00dc82 0%,#34cdfe 50%,#0047e1 100%)"}},setup(e,{slots:n}){const t=y({duration:e.duration,throttle:e.throttle}),o=g();return o.hook("page:start",t.start),o.hook("page:finish",t.finish),m(()=>t.clear),()=>v("div",{class:"nuxt-loading-indicator",style:{position:"fixed",top:0,right:0,left:0,pointerEvents:"none",width:`${t.progress.value}%`,height:`${e.height}px`,opacity:t.isLoading.value?1:0,background:e.color||void 0,backgroundSize:`${100/t.progress.value*100}% auto`,transition:"width 0.1s, height 0.4s, opacity 0.4s",zIndex:999999}},n)}});function y(e){const n=l(0),t=l(!1),o=x(()=>1e4/e.duration);let i=null,a=null;function s(){r(),n.value=0,e.throttle?a=setTimeout(()=>{t.value=!0,u()},e.throttle):(t.value=!0,u())}function d(){n.value=100,f()}function r(){clearInterval(i),clearTimeout(a),i=null,a=null}function c(h){n.value=Math.min(100,n.value+h)}function f(){r(),setTimeout(()=>{t.value=!1,setTimeout(()=>{n.value=0},400)},500)}function u(){i=setInterval(()=>{c(o.value)},100)}return{progress:n,isLoading:t,start:s,finish:d,clear:r}}export{k as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{h as d,g as y}from"./runtime-core.esm-bundler.6578edd8.js";function h(s,e={},t){for(const o in s){const i=s[o],n=t?`${t}:${o}`:o;typeof i=="object"&&i!==null?h(i,e,n):typeof i=="function"&&(e[n]=i)}return e}function g(s,e){return s.reduce((t,o)=>t.then(()=>o.apply(void 0,e)),Promise.resolve())}function b(s,e){return Promise.all(s.map(t=>t.apply(void 0,e)))}function f(s,e){for(const t of s)t(e)}class v{constructor(){this._hooks={},this._before=void 0,this._after=void 0,this._deprecatedMessages=void 0,this._deprecatedHooks={},this.hook=this.hook.bind(this),this.callHook=this.callHook.bind(this),this.callHookWith=this.callHookWith.bind(this)}hook(e,t,o={}){if(!e||typeof t!="function")return()=>{};const i=e;let n;for(;this._deprecatedHooks[e];)n=this._deprecatedHooks[e],e=n.to;if(n&&!o.allowDeprecated){let r=n.message;r||(r=`${i} hook has been deprecated`+(n.to?`, please use ${n.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(r)||(console.warn(r),this._deprecatedMessages.add(r))}return this._hooks[e]=this._hooks[e]||[],this._hooks[e].push(t),()=>{t&&(this.removeHook(e,t),t=void 0)}}hookOnce(e,t){let o,i=(...n)=>(typeof o=="function"&&o(),o=void 0,i=void 0,t(...n));return o=this.hook(e,i),o}removeHook(e,t){if(this._hooks[e]){const o=this._hooks[e].indexOf(t);o!==-1&&this._hooks[e].splice(o,1),this._hooks[e].length===0&&delete this._hooks[e]}}deprecateHook(e,t){this._deprecatedHooks[e]=typeof t=="string"?{to:t}:t;const o=this._hooks[e]||[];this._hooks[e]=void 0;for(const i of o)this.hook(e,i)}deprecateHooks(e){Object.assign(this._deprecatedHooks,e);for(const t in e)this.deprecateHook(t,e[t])}addHooks(e){const t=h(e),o=Object.keys(t).map(i=>this.hook(i,t[i]));return()=>{for(const i of o.splice(0,o.length))i()}}removeHooks(e){const t=h(e);for(const o in t)this.removeHook(o,t[o])}callHook(e,...t){return this.callHookWith(g,e,...t)}callHookParallel(e,...t){return this.callHookWith(b,e,...t)}callHookWith(e,t,...o){const i=this._before||this._after?{name:t,args:o,context:{}}:void 0;this._before&&f(this._before,i);const n=e(this._hooks[t]||[],o);return n instanceof Promise?n.finally(()=>{this._after&&i&&f(this._after,i)}):(this._after&&i&&f(this._after,i),n)}beforeEach(e){return this._before=this._before||[],this._before.push(e),()=>{const t=this._before.indexOf(e);t!==-1&&this._before.splice(t,1)}}afterEach(e){return this._after=this._after||[],this._after.push(e),()=>{const t=this._after.indexOf(e);t!==-1&&this._after.splice(t,1)}}}function H(){return new v}function x(){let s,e=!1;const t=o=>{if(s&&s!==o)throw new Error("Context conflict")};return{use:()=>{if(s===void 0)throw new Error("Context is not available");return s},tryUse:()=>s,set:(o,i)=>{i||t(o),s=o,e=!0},unset:()=>{s=void 0,e=!1},call:(o,i)=>{t(o),s=o;try{return i()}finally{e||(s=void 0)}},async callAsync(o,i){s=o;const n=()=>{s=o},r=()=>s===o?n:void 0;u.add(r);try{const a=i();return e||(s=void 0),await a}finally{u.delete(r)}}}}function w(){const s={};return{get(e){return s[e]||(s[e]=x()),s[e],s[e]}}}const l=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof global<"u"?global:typeof window<"u"?window:{},p="__unctx__",C=l[p]||(l[p]=w()),P=s=>C.get(s),_="__unctx_async_handlers__",u=l[_]||(l[_]=new Set);function W(s){const e=[];for(const i of u){const n=i();n&&e.push(n)}const t=()=>{for(const i of e)i()};let o=s();return o&&typeof o=="object"&&"catch"in o&&(o=o.catch(i=>{throw t(),i})),[o,t]}const k=P("nuxt-app"),m="__nuxt_plugin";function j(s){let e=0;const t={provide:void 0,globalName:"nuxt",payload:d({data:{},state:{},_errors:{},...window.__NUXT__}),static:{data:{}},isHydrating:!0,deferHydration(){if(!t.isHydrating)return()=>{};e++;let n=!1;return()=>{if(!n&&(n=!0,e--,e===0))return t.isHydrating=!1,t.callHook("app:suspense:resolve")}},_asyncDataPromises:{},_asyncData:{},...s};t.hooks=H(),t.hook=t.hooks.hook,t.callHook=t.hooks.callHook,t.provide=(n,r)=>{const a="$"+n;c(t,a,r),c(t.vueApp.config.globalProperties,a,r)},c(t.vueApp,"$nuxt",t),c(t.vueApp.config.globalProperties,"$nuxt",t);const o=d(t.payload.config),i=new Proxy(o,{get(n,r){return r==="public"?n.public:n[r]??n.public[r]},set(n,r,a){return r==="public"||r==="app"?!1:(n[r]=a,n.public[r]=a,!0)}});return t.provide("config",i),t}async function $(s,e){if(typeof e!="function")return;const{provide:t}=await N(s,e,[s])||{};if(t&&typeof t=="object")for(const o in t)s.provide(o,t[o])}async function E(s,e){for(const t of e)await $(s,t)}function M(s){return s.map(t=>typeof t!="function"?null:t.length>1?o=>t(o,o.provide):t).filter(Boolean)}function I(s){return s[m]=!0,s}function N(s,e,t){const o=()=>t?e(...t):e();return k.set(s),o()}function A(){const s=k.tryUse();if(!s){const e=y();if(!e)throw new Error("nuxt instance unavailable");return e.appContext.app.$nuxt}return s}function T(){return A().$config}function c(s,e,t){Object.defineProperty(s,e,{get:()=>t})}export{T as a,N as b,H as c,I as d,W as e,j as f,E as g,M as n,A as u};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{f as m}from"./entry.9c9f018c.js";import{h as e}from"./shiki.f3c485dd.js";import{k as n,l as s,m as a,p as h,u as r}from"./runtime-core.esm-bundler.6578edd8.js";import"./runtime-dom.esm-bundler.d11338ba.js";import"./router.0fad6fd6.js";import"./nuxt.3d910b2a.js";import"./components.client.21f887f1.js";import"./nuxt-link.5a11ff0a.js";import"./app.config.5015f363.js";import"./defu.5a7c1433.js";import"./logic.572bc5bc.js";import"./index.4ad828aa.js";/* empty css *//* empty css */import"./client-only.435a195c.js";/* empty css */import"./layout.70d4c05b.js";import"./utils.8063e9c8.js";import"./nuxt-error-boundary.62487e2b.js";import"./dev-only.083678f7.js";import"./server-placeholder.db84c337.js";import"./nuxt-loading-indicator.dd809d74.js";import"./Icon.vue.2d5f9e0f.js";import"./page.57b4d336.js";import"./components.499d69e9.js";import"./composables.18b26f4a.js";import"./state.b0e07f74.js";import"./component.vue3.89f64918.js";import"./_plugin-vue_export-helper.c27b6911.js";import"./NIcon.vue.7879a03e.js";import"./NButton.vue.d45cad81.js";import"./NDarkToggle.vue.85927d5f.js";import"./composables.371d9c1f.js";import"./Icon.66609781.js";import"./NTextInput.vue.95fd1ec5.js";import"./index.177496da.js";const l=["innerHTML"],X=n({__name:"options",async setup(c){let t,o;const p=([t,o]=s(()=>m()),t=await t,o(),t);return(i,f)=>(a(),h("pre",{"of-auto":"","h-full":"","text-sm":"",style:{"white-space":"break-spaces"},innerHTML:("highlight"in i?i.highlight:r(e))(JSON.stringify(r(p),null,2),"json")},null,8,l))}});export{X as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{T as f}from"./runtime-dom.esm-bundler.d11338ba.js";import{R as m,b as u,_ as l,h as d}from"./utils.8063e9c8.js";import{a as y}from"./defu.5a7c1433.js";import{H as r,ad as g,k as s,f as v,F as h,h as k,S as A,n as K}from"./runtime-core.esm-bundler.6578edd8.js";import{u as _}from"./nuxt.3d910b2a.js";const T=(e,a)=>a.path.replace(/(:\w+)\([^)]+\)/g,"$1").replace(/(:\w+)[?+*]/g,"$1").replace(/:\w+/g,n=>e.params[n.slice(1)]?.toString()||""),R=(e,a)=>{const n=e.route.matched.find(o=>o.components?.default===e.Component.type),t=a??n?.meta.key??(n&&T(e.route,n));return typeof t=="function"?t(e.route):t},C=(e,a)=>({default:()=>e?r(g,e===!0?{}:e,a):a}),O=s({name:"NuxtPage",inheritAttrs:!1,props:{name:{type:String},transition:{type:[Boolean,Object],default:void 0},keepalive:{type:[Boolean,Object],default:void 0},route:{type:Object},pageKey:{type:[Function,String],default:null}},setup(e,{attrs:a}){const n=_();return()=>r(m,{name:e.name,route:e.route,...a},{default:t=>{if(!t.Component)return;const o=R(t,e.pageKey),p=n.deferHydration(),i=!!(e.transition??t.route.meta.pageTransition??u),c=i&&x([e.transition,t.route.meta.pageTransition,u,{onAfterLeave:()=>{n.callHook("page:transition:finish",t.Component)}}].filter(Boolean));return l(f,i&&c,C(e.keepalive??t.route.meta.keepalive??d,r(A,{onPending:()=>n.callHook("page:start",t.Component),onResolve:()=>{K(()=>n.callHook("page:finish",t.Component).finally(p))}},{default:()=>r(H,{key:o,routeProps:t,pageKey:o,hasTransition:i})}))).default()}})}});function w(e){return Array.isArray(e)?e:e?[e]:[]}function x(e){const a=e.map(n=>({...n,onAfterLeave:w(n.onAfterLeave)}));return y(...a)}const H=s({name:"RouteProvider",props:["routeProps","pageKey","hasTransition"],setup(e){const a=e.pageKey,n=e.routeProps.route,t={};for(const o in e.routeProps.route)t[o]=v(()=>a===e.pageKey?e.routeProps.route[o]:n[o]);return h("_route",k(t)),()=>r(e.routeProps.Component)}});export{O as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import n from"./ImageLoader.04264fde.js";import{g as m,j as p,r as c}from"./logic.572bc5bc.js";import{k as _,l as g,m as u,x as h,u as r}from"./runtime-core.esm-bundler.6578edd8.js";/* empty css */import"./_plugin-vue_export-helper.c27b6911.js";import"./nuxt.3d910b2a.js";import"./nuxt-link.5a11ff0a.js";import"./router.0fad6fd6.js";import"./app.config.5015f363.js";import"./defu.5a7c1433.js";import"./index.4ad828aa.js";const b=_({__name:"png",async setup(f){let t,e;const o=([t,e]=g(()=>m.useServerConfig()),t=await t,e(),t),s=o.value?.height||630,a=(o.value?.width||1200)/s;return(d,w)=>{const i=n;return u(),h(i,{src:`${r(p)}/__og_image__/og.png?timestamp=${r(c)}`,"aspect-ratio":a,description:"[PNG] Generated in %sms using Satori & Resvg."},null,8,["src"])}}});export{b as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{u as s}from"./nuxt.3d910b2a.js";import{g as m,i as L}from"./runtime-core.esm-bundler.6578edd8.js";const A=/#/g,w=/&/g,N=/=/g,E=/\+/g,P=/%5b/gi,U=/%5d/gi,T=/%5e/gi,O=/%60/gi,S=/%7b/gi,j=/%7c/gi,I=/%7d/gi,Q=/%20/gi;function b(e){return encodeURI(""+e).replace(j,"|").replace(P,"[").replace(U,"]")}function i(e){return b(e).replace(E,"%2B").replace(Q,"+").replace(A,"%23").replace(w,"%26").replace(O,"`").replace(S,"{").replace(I,"}").replace(T,"^")}function a(e){return i(e).replace(N,"%3D")}function _(e=""){try{return decodeURIComponent(""+e)}catch{return""+e}}function x(e){return _(e.replace(E," "))}function $(e=""){const t={};e[0]==="?"&&(e=e.slice(1));for(const r of e.split("&")){const n=r.match(/([^=]+)=?(.*)/)||[];if(n.length<2)continue;const o=_(n[1]);if(o==="__proto__"||o==="constructor")continue;const c=x(n[2]||"");typeof t[o]<"u"?Array.isArray(t[o])?t[o].push(c):t[o]=[t[o],c]:t[o]=c}return t}function B(e,t){return(typeof t=="number"||typeof t=="boolean")&&(t=String(t)),t?Array.isArray(t)?t.map(r=>`${a(e)}=${i(r)}`).join("&"):`${a(e)}=${i(t)}`:a(e)}function W(e){return Object.keys(e).filter(t=>e[t]!==void 0).map(t=>B(t,e[t])).join("&")}const K=/^\w{2,}:(\/\/)?/,M=/^\/\/[^/]+/;function f(e,t=!1){return K.test(e)||t&&M.test(e)}const G=/\/$|\/\?/;function u(e="",t=!1){return t?G.test(e):e.endsWith("/")}function R(e="",t=!1){if(!t)return(u(e)?e.slice(0,-1):e)||"/";if(!u(e,!0))return e||"/";const[r,...n]=e.split("?");return(r.slice(0,-1)||"/")+(n.length>0?`?${n.join("?")}`:"")}function H(e="",t=!1){if(!t)return e.endsWith("/")?e:e+"/";if(u(e,!0))return e||"/";const[r,...n]=e.split("?");return r+"/"+(n.length>0?`?${n.join("?")}`:"")}function V(e=""){return e.startsWith("/")}function D(e=""){return(V(e)?e.slice(1):e)||"/"}function k(e,t){if(g(t)||f(e))return e;const r=R(t);return e.startsWith(r)?e:Y(r,e)}function q(e,t){if(g(t))return e;const r=R(t);if(!e.startsWith(r))return e;const n=e.slice(r.length);return n[0]==="/"?n:"/"+n}function ee(e,t){const r=l(e),n={...$(r.search),...t};return r.search=W(n),z(r)}function g(e){return!e||e==="/"}function X(e){return e&&e!=="/"}function Y(e,...t){let r=e||"";for(const n of t.filter(o=>X(o)))r=r?H(r)+D(n):n;return r}function l(e="",t){if(!f(e,!0))return t?l(t+e):h(e);const[r="",n,o=""]=(e.replace(/\\/g,"/").match(/([^/:]+:)?\/\/([^/@]+@)?(.*)/)||[]).splice(1),[c="",d=""]=(o.match(/([^#/?]*)(.*)?/)||[]).splice(1),{pathname:p,search:C,hash:y}=h(d.replace(/\/(?=[A-Za-z]:)/,""));return{protocol:r,auth:n?n.slice(0,Math.max(0,n.length-1)):"",host:c,pathname:p,search:C,hash:y}}function h(e=""){const[t="",r="",n=""]=(e.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:t,search:r,hash:n}}function z(e){const t=e.pathname+(e.search?(e.search.startsWith("?")?"":"?")+e.search:"")+e.hash;return e.protocol?e.protocol+"//"+(e.auth?e.auth+"@":"")+e.host+t:t}const Z=()=>s()?.$router,te=()=>m()?L("_route",s()._route):s()._route,re=e=>e,v=()=>{try{if(s()._processingMiddleware)return!0}catch{return!0}return!1},ne=(e,t)=>{e||(e="/");const r=typeof e=="string"?e:e.path||"/",n=f(r,!0);if(n&&!t?.external)throw new Error("Navigating to external URL is not allowed by default. Use `nagivateTo (url, { external: true })`.");if(n&&l(r).protocol==="script:")throw new Error("Cannot navigate to an URL with script protocol.");if(!n&&v())return e;const o=Z();return n?(t?.replace?location.replace(r):location.href=r,Promise.resolve()):t?.replace?o.replace(e):o.push(e)};export{ee as a,q as b,te as c,re as d,f as h,Y as j,ne as n,l as p,Z as u,k as w};
|