PageSourceSearch

https://malao.com/_nuxt/bZHbCA88.js

js malao.com collected 2026-10-07 14:09:13 UTC 8,402 bytes, 1 lines download raw bytes

1var A=t=>{throw TypeError(t)};var N=(t,i,r)=>i.has(t)||A("Cannot "+r);var w=(t,i,r)=>(N(t,i,"read from private field"),r?r.call(t):i.get(t)),T=(t,i,r)=>i.has(t)?A("Cannot add the same private member more than once"):i instanceof WeakSet?i.add(t):i.set(t,r);import{r as D,Y as k,w as P,ad as M,Z as R,ae as x,I as B,p as E}from"./83i9rFyl.js";function O(t){return typeof t=="string"?`'${t}'`:new L().serialize(t)}const L=(function(){var i;class t{constructor(){T(this,i,new Map)}compare(e,n){const o=typeof e,s=typeof n;return o==="string"&&s==="string"?e.localeCompare(n):o==="number"&&s==="number"?e-n:String.prototype.localeCompare.call(this.serialize(e,!0),this.serialize(n,!0))}serialize(e,n){if(e===null)return"null";switch(typeof e){case"string":return n?e:`'${e}'`;case"bigint":return`${e}n`;case"object":return this.$object(e);case"function":return this.$function(e)}return String(e)}serializeObject(e){const n=Object.prototype.toString.call(e);if(n!=="[object Object]")return this.serializeBuiltInType(n.length<10?`unknown:${n}`:n.slice(8,-1),e);const o=e.constructor,s=o===Object||o===void 0?"":o.name;if(s!==""&&globalThis[s]===o)return this.serializeBuiltInType(s,e);if(typeof e.toJSON=="function"){const a=e.toJSON();return s+(a!==null&&typeof a=="object"?this.$object(a):`(${this.serialize(a)})`)}return this.serializeObjectEntries(s,Object.entries(e))}serializeBuiltInType(e,n){const o=this["$"+e];if(o)return o.call(this,n);if(typeof(n==null?void 0:n.entries)=="function")return this.serializeObjectEntries(e,n.entries());throw new Error(`Cannot serialize ${e}`)}serializeObjectEntries(e,n){const o=Array.from(n).sort((a,c)=>this.compare(a[0],c[0]));let s=`${e}{`;for(let a=0;a<o.length;a++){const[c,l]=o[a];s+=`${this.serialize(c,!0)}:${this.serialize(l)}`,a<o.length-1&&(s+=",")}return s+"}"}$object(e){let n=w(this,i).get(e);return n===void 0&&(w(this,i).set(e,`#${w(this,i).size}`),n=this.serializeObject(e),w(this,i).set(e,n)),n}$function(e){const n=Function.prototype.toString.call(e);return n.slice(-15)==="[native code] }"?`${e.name||""}()[native]`:`${e.name}(${e.length})${n.replace(/\s*\n\s*/g,"")}`}$Array(e){let n="[";for(let o=0;o<e.length;o++)n+=this.serialize(e[o]),o<e.length-1&&(n+=",");return n+"]"}$Date(e){try{return`Date(${e.toISOString()})`}catch{return"Date(null)"}}$ArrayBuffer(e){return`ArrayBuffer[${new Uint8Array(e).join(",")}]`}$Set(e){return`Set${this.$Array(Array.from(e).sort((n,o)=>this.compare(n,o)))}`}$Map(e){return this.serializeObjectEntries("Map",e.entries())}}i=new WeakMap;for(const r of["Error","RegExp","URL"])t.prototype["$"+r]=function(e){return`${r}(${e})`};for(const r of["Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Uint16Array","Int32Array","Uint32Array","Float32Array","Float64Array"])t.prototype["$"+r]=function(e){return`${r}[${e.join(",")}]`};for(const r of["BigInt64Array","BigUint64Array"])t.prototype["$"+r]=function(e){return`${r}[${e.join("n,")}${e.length>0?"n":""}]`};return t})();function F(t,i){return t===i||O(t)===O(i)}const _=(()=>{const t=function(){};return t.prototype=Object.create(null),t})();function q(t,i){if(typeof t!="string")throw new TypeError("argument str must be a string");const r=new _,e=i||{},n=e.decode||H;let o=0;for(;o<t.length;){const s=t.indexOf("=",o);if(s===-1)break;let a=t.indexOf(";",o);if(a===-1)a=t.length;else if(a<s){o=t.lastIndexOf(";",s-1)+1;continue}const c=t.slice(o,s).trim();if(e!=null&&e.filter&&!(e!=null&&e.filter(c))){o=a+1;continue}if(r[c]===void 0){let l=t.slice(s+1,a).trim();l.codePointAt(0)===34&&(l=l.slice(1,-1)),r[c]=J(l,n)}o=a+1}return r}function H(t){return t.includes("%")?decodeURIComponent(t):t}function J(t,i){try{return i(t)}catch{return t}}const m=/^[\u0009\u0020-\u007E\u0080-\u00FF]+$/;function C(t,i,r){const e=r||{},n=e.encode||encodeURIComponent;if(typeof n!="function")throw new TypeError("option encode is invalid");if(!m.test(t))throw new TypeError("argument name is invalid");const o=n(i);if(o&&!m.test(o))throw new TypeError("argument val is invalid");let s=t+"="+o;if(e.maxAge!==void 0&&e.maxAge!==null){const a=e.maxAge-0;if(Number.isNaN(a)||!Number.isFinite(a))throw new TypeError("option maxAge is invali
1d");s+="; Max-Age="+Math.floor(a)}if(e.domain){if(!m.test(e.domain))throw new TypeError("option domain is invalid");s+="; Domain="+e.domain}if(e.path){if(!m.test(e.path))throw new TypeError("option path is invalid");s+="; Path="+e.path}if(e.expires){if(!V(e.expires)||Number.isNaN(e.expires.valueOf()))throw new TypeError("option expires is invalid");s+="; Expires="+e.expires.toUTCString()}if(e.httpOnly&&(s+="; HttpOnly"),e.secure&&(s+="; Secure"),e.priority)switch(typeof e.priority=="string"?e.priority.toLowerCase():e.priority){case"low":{s+="; Priority=Low";break}case"medium":{s+="; Priority=Medium";break}case"high":{s+="; Priority=High";break}default:throw new TypeError("option priority is invalid")}if(e.sameSite)switch(typeof e.sameSite=="string"?e.sameSite.toLowerCase():e.sameSite){case!0:{s+="; SameSite=Strict";break}case"lax":{s+="; SameSite=Lax";break}case"strict":{s+="; SameSite=Strict";break}case"none":{s+="; SameSite=None";break}default:throw new TypeError("option sameSite is invalid")}return e.partitioned&&(s+="; Partitioned"),s}function V(t){return Object.prototype.toString.call(t)==="[object Date]"||t instanceof Date}function f(t){if(typeof t!="object")return t;var i,r,e=Object.prototype.toString.call(t);if(e==="[object Object]"){if(t.constructor!==Object&&typeof t.constructor=="function"){r=new t.constructor;for(i in t)t.hasOwnProperty(i)&&r[i]!==t[i]&&(r[i]=f(t[i]))}else{r={};for(i in t)i==="__proto__"?Object.defineProperty(r,i,{value:f(t[i]),configurable:!0,enumerable:!0,writable:!0}):r[i]=f(t[i])}return r}if(e==="[object Array]"){for(i=t.length,r=Array(i);i--;)r[i]=f(t[i]);return r}return e==="[object Set]"?(r=new Set,t.forEach(function(n){r.add(f(n))}),r):e==="[object Map]"?(r=new Map,t.forEach(function(n,o){r.set(f(o),f(n))}),r):e==="[object Date]"?new Date(+t):e==="[object RegExp]"?(r=new RegExp(t.source,t.flags),r.lastIndex=t.lastIndex,r):e==="[object DataView]"?new t.constructor(f(t.buffer)):e==="[object ArrayBuffer]"?t.slice(0):e.slice(-6)==="Array]"?new t.constructor(t):t}const Y={path:"/",watch:!0,decode:t=>M(decodeURIComponent(t)),encode:t=>encodeURIComponent(typeof t=="string"?t:JSON.stringify(t))},v=window.cookieStore;function $(t,i){var l;const r={...Y,...i};r.filter??(r.filter=u=>u===t);const e=I(r)||{};let n;r.maxAge!==void 0?n=r.maxAge*1e3:r.expires&&(n=r.expires.getTime()-Date.now());const o=n!==void 0&&n<=0,s=o||e[t]===void 0||e[t]===null,a=f(o?void 0:e[t]??((l=r.default)==null?void 0:l.call(r))),c=n&&!o?G(a,n,r.watch&&r.watch!=="shallow"):D(a);{let u=null;try{!v&&typeof BroadcastChannel<"u"&&(u=new BroadcastChannel(`nuxt:cookies:${t}`))}catch{}const d=(p=!1)=>{!p&&(r.readonly||F(c.value,e[t]))||(Z(t,c.value,r),e[t]=f(c.value),u==null||u.postMessage({value:r.encode(c.value)}))},b=p=>{var y;const h=p.refresh?(y=I(r))==null?void 0:y[t]:r.decode(p.value);g=!0,c.value=h,e[t]=f(h),B(()=>{g=!1})};let g=!1;const j=!!R();if(j&&k(()=>{g=!0,d(),u==null||u.close()}),v){const p=h=>{const y=h.changed.find(S=>S.name===t),U=h.deleted.find(S=>S.name===t);y&&b({value:y.value}),U&&b({value:null})};v.addEventListener("change",p),j&&k(()=>v.removeEventListener("change",p))}else u&&(u.onmessage=({data:p})=>b(p));r.watch&&P(c,()=>{g||d()},{deep:r.watch!=="shallow"}),s&&d(s)}return c}function I(t={}){return q(document.cookie,t)}function X(t,i,r={}){return i==null?C(t,i,{...r,maxAge:-1}):C(t,i,r)}function Z(t,i,r={}){document.cookie=X(t,i,r)}const z=2147483647;function G(t,i,r){let e,n,o=0;const s=r?D(t):{value:t};return R()&&k(()=>{n==null||n(),clearTimeout(e)}),x((a,c)=>{r&&(n=P(s,c));function l(){o=0,clearTimeout(e);const u=i-o,d=u<z?u:z;e=setTimeout(()=>{if(o+=d,o<i)return l();s.value=void 0,c()},d)}return{get(){return a(),s.value},set(u){l(),s.value=u,c()}}})}const W=()=>({isEnabled:()=>{const e=E().query;return Object.prototype.hasOwnProperty.call(e,"preview")&&!e.preview?!1:!!(e.preview||$("previewToken").value||sessionStorage.getItem("previewToken"))},getPreviewToken:()=>$("previewToken").value||sessionStorage.getItem("previewToken")||void 0,setPreviewToken:e=>{$("previewToken").value=e,E().query.preview=e||"",e?sessionStorage.setItem("previewToken",e):sessionStorage.removeItem("previewToken"),window.location.reload()}});
1export{W 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.