1import"./nuxt-Dw3LQvcO.mjs";import{Ct as e,H as t,Ht as n,J as r,Nt as i,Pt as a,jt as o,zt as s}from"./vue.runtime.esm-bundler-DK-ieOMu.mjs";import"./error-Dvy0PY9B.mjs";import{t as c}from"./virtual_nuxt_.nuxt_fetch-sbcgvzFm.mjs";import"./head-ktf-j9Gb.mjs";import{t as l}from"./is-equal-CdQM1mL-.mjs";function u(e){if(typeof e!=`object`)return e;var t,n,r=Object.prototype.toString.call(e);if(r===`[object Object]`){if(e.constructor!==Object&&typeof e.constructor==`function`)for(t in n=new e.constructor,e)e.hasOwnProperty(t)&&n[t]!==e[t]&&(n[t]=u(e[t]));else for(t in n={},e)t===`__proto__`?Object.defineProperty(n,t,{value:u(e[t]),configurable:!0,enumerable:!0,writable:!0}):n[t]=u(e[t]);return n}if(r===`[object Array]`){for(t=e.length,n=Array(t);t--;)n[t]=u(e[t]);return n}return r===`[object Set]`?(n=new Set,e.forEach(function(e){n.add(u(e))}),n):r===`[object Map]`?(n=new Map,e.forEach(function(e,t){n.set(u(t),u(e))}),n):r===`[object Date]`?new Date(+e):r===`[object RegExp]`?(n=new RegExp(e.source,e.flags),n.lastIndex=e.lastIndex,n):r===`[object DataView]`?new e.constructor(u(e.buffer)):r===`[object ArrayBuffer]`?e.slice(0):r.slice(-6)===`Array]`?new e.constructor(e):e}var d=c;function f(){return d}var p=3456e4;function m(e,t,n){let r=e.indexOf(`;`,t);return r===-1?n:r}function h(e,t,n){let r=e.indexOf(`=`,t);return r<n?r:-1}function g(e,t,n){if(t===n)return``;let r=t,i=n;do{let t=e.charCodeAt(r);if(t!==32&&t!==9)break}while(++r<i);for(;i>r;){let t=e.charCodeAt(i-1);if(t!==32&&t!==9)break;i--}return e.slice(r,i)}var _=(()=>{let e=function(){};return e.prototype=Object.create(null),e})();function v(e,t){let n=new _,r=e.length;if(r<2)return n;let i=t?.decode||y,a=t?.allowMultiple||!1,o=0;do{let s=h(e,o,r);if(s===-1)break;let c=m(e,o,r);if(s>c){o=e.lastIndexOf(`;`,s-1)+1;continue}let l=g(e,o,s);if(t?.filter&&!t.filter(l)){o=c+1;continue}let u=i(g(e,s+1,c));if(a){let e=n[l];e===void 0?n[l]=u:Array.isArray(e)?e.push(u):n[l]=[e,u]}else n[l]===void 0&&(n[l]=u);o=c+1}while(o<r);return n}function y(e){if(!e.includes(`%`))return e;try{return decodeURIComponent(e)}catch{return e}}var b=/^[\u0021-\u003A\u003C\u003E-\u007E]+$/,x=/^[\u0021-\u003A\u003C-\u007E]*$/,S=/^([.]?[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)([.][a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)*$/i,C=/^[\u0020-\u003A\u003C-\u007E]*$/,w=Object.prototype.toString;function T(e,t,n){let r=typeof e==`object`&&!!e,i=r?t:n,a=i?.stringify||JSON.stringify,o=r?e:{...n,name:e,value:t==null?``:typeof t==`string`?t:a(t)},s=i?.encode||encodeURIComponent;if(!b.test(o.name))throw TypeError(`argument name is invalid: ${o.name}`);let c=o.value?s(o.value):``;if(!x.test(c))throw TypeError(`argument val is invalid: ${o.value}`);if(!o.secure){if(o.partitioned)throw TypeError(`Partitioned cookies must have the Secure attribute`);if(o.sameSite&&String(o.sameSite).toLowerCase()===`none`)throw TypeError(`SameSite=None cookies must have the Secure attribute`);if(o.name.length>9&&o.name.charCodeAt(0)===95&&o.name.charCodeAt(1)===95){let e=o.name.toLowerCase();if(e.startsWith(`__secure-`)||e.startsWith(`__host-`))throw TypeError(`${o.name} cookies must have the Secure attribute`)}}if(o.name.length>7&&o.name.charCodeAt(0)===95&&o.name.charCodeAt(1)===95&&o.name.toLowerCase().startsWith(`__host-`)){if(o.path!==`/`)throw TypeError(`__Host- cookies must have Path=/`);if(o.domain)throw TypeError(`__Host- cookies must not have a Domain attribute`)}let l=o.name+`=`+c;if(o.maxAge!==void 0){if(!Number.isInteger(o.maxAge))throw TypeError(`option maxAge is invalid: ${o.maxAge}`);l+=`; Max-Age=`+Math.max(0,Math.min(o.maxAge,p))}if(o.domain){if(!S.test(o.domain))throw TypeError(`option domain is invalid: ${o.domain}`);l+=`; Domain=`+o.domain}if(o.path){if(!C.test(o.path))throw TypeError(`option path is invalid: ${o.path}`);l+=`; Path=`+o.path}if(o.expires){if(!E(o.expires)||!Number.isFinite(o.expires.valueOf()))throw TypeError(`option expires is invali
1d: ${o.expires}`);l+=`; Expires=`+o.expires.toUTCString()}if(o.httpOnly&&(l+=`; HttpOnly`),o.secure&&(l+=`; Secure`),o.partitioned&&(l+=`; Partitioned`),o.priority)switch(typeof o.priority==`string`?o.priority.toLowerCase():void 0){case`low`:l+=`; Priority=Low`;break;case`medium`:l+=`; Priority=Medium`;break;case`high`:l+=`; Priority=High`;break;default:throw TypeError(`option priority is invalid: ${o.priority}`)}if(o.sameSite)switch(typeof o.sameSite==`string`?o.sameSite.toLowerCase():o.sameSite){case!0:case`strict`:l+=`; SameSite=Strict`;break;case`lax`:l+=`; SameSite=Lax`;break;case`none`:l+=`; SameSite=None`;break;default:throw TypeError(`option sameSite is invalid: ${o.sameSite}`)}return l}function E(e){return w.call(e)===`[object Date]`}a(),t();function D(e){if(e!==`undefined`)try{let t=JSON.parse(e);return typeof t==`number`&&String(t)!==e?e:t}catch{return e}}var O={path:`/`,watch:!0,decode:e=>e&&D(decodeURIComponent(e)),encode:e=>{if(typeof e!=`string`||e===`undefined`)return encodeURIComponent(JSON.stringify(e));try{if(typeof JSON.parse(e)!=`string`)return encodeURIComponent(JSON.stringify(e))}catch{}return encodeURIComponent(e)},refresh:!1},k=globalThis.cookieStore;function A(t,a){let o={...O,...a};o.filter??=e=>e===t;let c=M(o)||{},d;o.maxAge===void 0?o.expires&&(d=o.expires.getTime()-Date.now()):d=o.maxAge*1e3;let f=d!==void 0&&d<=0,p=f||c[t]===void 0||c[t]===null,m=u(f?void 0:c[t]??o.default?.()),h=d&&!f?R(m,d,o.watch&&o.watch!==`shallow`):n(m);{let n=null;try{!k&&typeof BroadcastChannel<`u`&&(n=new BroadcastChannel(`nuxt:cookies:${t}`))}catch{}let a=(e=!1)=>{(e||!o.readonly&&!l(h.value,c[t]))&&(I(t,h.value===null||h.value===void 0?void 0:o.encode(h.value),o),c[t]=u(h.value),n?.postMessage({value:o.encode(h.value)}))},d=e=>{let n=e.refresh?M(o)?.[t]:o.decode(e.value);f=!0,h.value=n,c[t]=u(n),r(()=>{f=!1})},f=!1,m=!!i();if(m&&s(()=>{f=!0,a(),n?.close()}),k){let e=e=>{let n=e.changed.find(e=>e.name===t),r=e.deleted.find(e=>e.name===t);n&&d({value:n.value}),r&&d({value:null})};k.addEventListener(`change`,e),m&&s(()=>k.removeEventListener(`change`,e))}else n&&(n.onmessage=({data:e})=>d(e));o.watch&&e(h,()=>{f||a(o.refresh)},{deep:o.watch!==`shallow`}),p&&a(p)}return h}function j(e){if(!(k||typeof BroadcastChannel>`u`))try{let t=new BroadcastChannel(`nuxt:cookies:${e}`);t.postMessage({refresh:!0}),t.close()}catch{}}function M(e={}){return v(document.cookie,e)}var N=e=>e;function P(e){let{encode:t,decode:n,...r}=e;return{...r,encode:N}}function F(e,t,n={}){let r=P(n);return t===void 0?T(e,``,{...r,maxAge:-1}):T(e,t,r)}function I(e,t,n={}){document.cookie=F(e,t,n)}var L=2147483647;function R(t,r,a){let c,l,u=0,d=a?n(t):{value:t};return i()&&s(()=>{l?.(),clearTimeout(c)}),o((t,n)=>{a&&(l=e(d,n));function i(){let e=r-u,t=e<L?e:L;c=setTimeout(()=>{if(u+=t,u<r)return i();d.value=void 0,n()},t)}function o(){u=0,clearTimeout(c),i()}return{get(){return t(),d.value},set(e){o(),d.value=e,n()}}})}export{A as n,f as r,j as t};
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.