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