PageSourceSearch

https://bitcoin.pl/_nuxt/DkZ2BPup.js

js bitcoin.pl collected 2026-09-24 19:11:58 UTC 6,671 bytes, 2 lines download raw bytes

1import{bY as A,dv as O,az as x,bx as I,bj as R,bH as g,aX as T}from"./BhKrVcTG.js";const _=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 s=e.charCodeAt(i);if(s!==32&&s!==9)break}while(++i<a);for(;a>i;){const s=e.charCodeAt(a-1);if(s!==32&&s!==9)break;a--}return e.slice(i,a)}const M=(()=>{const e=function(){};return e.prototype=Object.create(null),e})();function z(e,n){const o=new M,i=e.length;if(i<2)return o;const a=n?.decode||D,s=n?.allowMultiple||!1;let t=0;do{const l=L(e,t,i);if(l===-1)break;const c=$(e,t,i);if(l>c){t=e.lastIndexOf(";",l-1)+1;continue}const r=S(e,t,l);if(n?.filter&&!n.filter(r)){t=c+1;continue}const u=a(S(e,l+1,c));if(s){const f=o[r];f===void 0?o[r]=u:Array.isArray(f)?f.push(u):o[r]=[f,u]}else o[r]===void 0&&(o[r]=u);t=c+1}while(t<i);return o}function D(e){if(!e.includes("%"))return e;try{return decodeURIComponent(e)}catch{return e}}const N=/^[\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,H=/^[\u0020-\u003A\u003C-\u007E]*$/,V=Object.prototype.toString;function k(e,n,o){const i=typeof e=="object"&&e!==null,a=i?n:o,s=a?.stringify||JSON.stringify,t=i?e:{...o,name:e,value:n==null?"":typeof n=="string"?n:s(n)},l=a?.encode||encodeURIComponent;if(!N.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 r=t.name+"="+c;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,_))}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(!H.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 V.call(e)==="[object Date]"}function d(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]=d(e[n]))}else{o={};for(n in e)n==="__proto__"?Object.defineProperty(o,n,{value:d(e[n]),configurable:!0,enumerable:!0,writable:!0}):o[n]=d(e[n])}return o}if(i==="[object Array]"){for(n=e.length,o=Array(n);n--;)o[n]=d(e[n]);return o}return i==="[object Set]"?(o=new Set,e.forEach(function(a){o.add(d(a))}),o):i==="[object Map]"?(o=new Map,e.forEach(function(a,s){o.set(d(s),d(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(d(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??=r=>r===e;const i=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||i[e]===void 0||i[e]===null,l=d(s?void 0:i[e]??o.default?.()),c=a&&!s?G(l,a,o.watch&&o.watch!=="shallow"):A(l);{let r=null;try{!w&&typeof BroadcastChannel<"u"&&(r=new BroadcastChannel(`nuxt:cookies:${e}`))}catch{}const u=(p=!1)=>{if(!p&&(o.readonly||R(c.value,i[e])))return;const m=c.value===null||c.value===void 0?void 0:o.encode(c.value);F(e,m,o),i[e]=d(c.value),r?.postMessage({value:o.encode(c.value)})},f=p=>{const m=p.refresh?C(o)?.[e]:o.decode(p.value);h=!0,c.value=m,i[e]=d(m),I(()=>{h=!1})};let h=!1;const b=!!T();if(b&&g(()=>{h=!0,u(),r?.close()}),w){const p=m=>{const v=m.changed.find(y=>y.name===e),j=m.deleted.find(y=>y.name===e);v&&f({value:v.value}),j&&f({value:null})};w.addEventListener("change",p),b&&g(()=>w.removeEventListener("change",p))}else r&&(r.onmessage=({data:p})=>f(p));o.watch&&O(c,()=>{h||u(o.refresh)},{deep:o.watch!=="shallow"}),t&&u(t)}return c}function C(e={}){return z(document.cookie,e)}const X=e=>e;function W(e){const{encode:n,decode:o,...i}=e;return{...i,encode:X}}function Y(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=Y(e,n,o)}const E=2147483647;function G(e,n,o){let i,a,s=0;const t=o?A(e):{value:e};return T()&&g(()=>{a?.(),clearTimeout(i)}),x((l,c)=>{o&&(a=O(t,c));function r(){const f=n-s,h=f<E?f:E;i=setTimeout(()=>{if(s+=h,s<n)return r();t.value=void 0,c()},h)}function u(){s=0,clearTimeout(i),r()}return{get(){return l(),t.value},set(f){u(),t.value=f,c()}}})}export{Q as u};
2//# sourceMappingURL=DkZ2BPup.js.map

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.