PageSourceSearch

https://ufg.edu.sv/_nuxt/chNG_heT.js

js ufg.edu.sv collected 2026-10-02 10:16:25 UTC 6,593 bytes, 1 lines download raw bytes

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

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.