PageSourceSearch

https://www.rosebikes.es/_nuxt/error-wvozY6-H.js

js rosebikes.es collected 2026-09-26 13:56:17 UTC 4,381 bytes, 1 lines download raw bytes

1import{a as s,d as P,f as S,p as T,u as C}from"./nuxt-CwEKrHoy.js";import{H,J as N,L as U,an as j,wn as k}from"./runtime-core.esm-bundler-vVj0RfwH.js";import{t as A}from"./utils-CQHhj27y.js";import{a as w,f as L,l as O,n as I,r as D,t as X,u as m}from"./dist-DCHRErLt.js";import"./defu-BZLsz0IB.js";var ae=Symbol("layout-meta"),se=Symbol("layout"),W=Symbol("route"),c=T({docsBase:P,reporters:S});function $(e,r){try{return r in e}catch{return!1}}var _=class extends Error{static __h3_error__=!0;statusCode=500;fatal=!1;unhandled=!1;statusMessage;data;cause;constructor(e,r={}){super(e,r),r.cause&&!this.cause&&(this.cause=r.cause)}toJSON(){const e={message:this.message,statusCode:i(this.statusCode,500)};return this.statusMessage&&(e.statusMessage=b(this.statusMessage)),this.data!==void 0&&(e.data=this.data),e}};function z(e){if(typeof e=="string")return new _(e);if(q(e))return e;const r=new _(e.message??e.statusMessage??"",{cause:e.cause||e});if($(e,"stack"))try{Object.defineProperty(r,"stack",{get(){return e.stack}})}catch{try{r.stack=e.stack}catch{}}if(e.data&&(r.data=e.data),e.statusCode?r.statusCode=i(e.statusCode,r.statusCode):e.status&&(r.statusCode=i(e.status,r.statusCode)),e.statusMessage?r.statusMessage=e.statusMessage:e.statusText&&(r.statusMessage=e.statusText),r.statusMessage){const t=r.statusMessage;b(r.statusMessage)!==t&&console.warn("[h3] Please prefer using `message` for longer error messages instead of `statusMessage`. In the future, `statusMessage` will be sanitized by default.")}return e.fatal!==void 0&&(r.fatal=e.fatal),e.unhandled!==void 0&&(r.unhandled=e.unhandled),r}function q(e){return e?.constructor?.__h3_error__===!0}var B=/[^\u0009\u0020-\u007E]/g;function b(e=""){return e.replace(B,"")}function i(e,r=200){return!e||(typeof e=="string"&&(e=Number.parseInt(e,10)),e<100||e>999)?r:e}var oe=globalThis.Headers,ne=globalThis.Response,f=()=>s()?.$router;function J(e){const r=e.scope;let t=j();for(;t;){if(t===r)return!0;t=t.parent}return!1}var ue=(()=>{if(H()){const e=U();if(!e||J(e))return N(W,s()._route)}return s()._route});function ce(e){return e}var Q=()=>{try{if(s()._processingMiddleware)return!0}catch{return!1}return!1},ie=(e,r)=>{e||="/";const t=typeof e=="string"?e:"path"in e?F(e):f().resolve(e).href;if(r?.open){const{protocol:a}=new URL(t,window.location.href);if(a&&w(a))throw c.NUXT_E2002({toPath:t,protocol:a});const{target:o="_blank",windowFeatures:n={}}=r.open,v=[];for(const[R,y]of Object.entries(n))y!==void 0&&v.push(`${R.toLowerCase()}=${y}`);return open(t,o,v.join(", ")),Promise.resolve()}const M=D(t,{acceptRelative:!0}),u=r?.external||M;if(u){if(!r?.external)throw c.NUXT_E2001({toPath:t});const{protocol:a}=new URL(t,window.location.href);if(a&&w(a))throw c.NUXT_E2002({toPath:t,protocol:a})}const d=Q();if(!u&&d){if(r?.replace){if(typeof e=="string"){const{pathname:a,search:o,hash:n}=m(e);return{path:a,...o&&{query:O(o)},...n&&{hash:n},replace:!0}}return{...e,replace:!0}}return e}const h=f(),g=s();if(u)return g._scope.stop(),r?.replace?location.replace(t):location.href=t,d?g.isHydrating?new Promise(()=>{}):!1:Promise.resolve();const p=typeof e=="string"?G(e):e;return r?.replace?h.replace(p):h.push(p)},fe=e=>{if(!e)return!1;throw e=l(e),e.fatal&&s().runWithContext(()=>x(e)),e};function F(e){return L(e.path||"",e.query||{})+(e.hash||"")}function G(e){const r=m(e);return I(X(r.pathname))+r.search+r.hash}var K="__nuxt_error",E=()=>k(s().payload,"error"),x=e=>{const r=l(e);try{const t=E();s().hooks.callHook("app:error",r),t.value||=r}catch{throw r}return r},V=(e,r)=>{const t=e.callHook("app:error",l(r));return C.NUXT_E1012({userAgent:navigator.userAgent,cause:r}),t},le=async(e,r)=>{if(A(navigator.userAgent)){await V(e,r);return}await e.runWithContext(()=>x(r))},de=async(e={})=>{const r=s(),t=E();r.callHook("app:error:cleared",e),e.redirect&&await f().replace(e.redirect),t.value=void 0},he=e=>!!e&&typeof e=="object"&&"__nuxt_error"in e,l=e=>{typeof e!="string"&&e.statusText&&(e.message??=e.statusText);const r=z(e);return Object.defineProperty(r,K,{value:!0,configurable:!1,writable:!1}),Object.defineProperty(r,"status",{get:()=>r.statusCode,configurable:!0}),Object.defineProperty(r,"statusText",{get:()=>r.statusMessage,configurable:!0}),r};export{se as _,he as a,fe as c,ie as d,F as f,ae as g,c as h,l as i,ce as l,f as m,le as n,x as o,ue as p,de as r,E as s,V as t,G as u,W as v};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.