PageSourceSearch

https://assets.livid.com/assets/parseISO-DuDiz4qF.js

js livid.com collected 2026-10-02 04:21:52 UTC 3,005 bytes, 1 lines download raw bytes

1import{bI as T,bJ as D,bK as p,bL as g}from"./main-BLmo4jD8.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},e=new t.Error().stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="578e4984-d3fc-4b6a-84fc-d6624f753565",t._sentryDebugIdIdentifier="sentry-dbid-578e4984-d3fc-4b6a-84fc-d6624f753565")}catch{}})();function _(t,e){const n=()=>T(e?.in,NaN),i=h(t);let s;if(i.date){const a=U(i.date,2);s=w(a.restDateString,a.year)}if(!s||isNaN(+s))return n();const u=+s;let o=0,c;if(i.time&&(o=C(i.time),isNaN(o)))return n();if(i.timezone){if(c=x(i.timezone),isNaN(c))return n()}else{const a=new Date(u+o),d=D(0,e?.in);return d.setFullYear(a.getUTCFullYear(),a.getUTCMonth(),a.getUTCDate()),d.setHours(a.getUTCHours(),a.getUTCMinutes(),a.getUTCSeconds(),a.getUTCMilliseconds()),d}return D(u+o+c,e?.in)}const l={dateTimeDelimiter:/[T ]/,timeZoneDelimiter:/[Z ]/i,timezone:/([Z+-].*)$/},y=/^-?(?:(\d{3})|(\d{2})(?:-?(\d{2}))?|W(\d{2})(?:-?(\d{1}))?|)$/,I=/^(\d{2}(?:[.,]\d*)?)(?::?(\d{2}(?:[.,]\d*)?))?(?::?(\d{2}(?:[.,]\d*)?))?$/,b=/^([+-])(\d{2})(?::?(\d{2}))?$/;function h(t){const e={},n=t.split(l.dateTimeDelimiter);let r;if(n.length>2)return e;if(/:/.test(n[0])?r=n[0]:(e.date=n[0],r=n[1],l.timeZoneDelimiter.test(e.date)&&(e.date=t.split(l.timeZoneDelimiter)[0],r=t.substr(e.date.length,t.length))),r){const i=l.timezone.exec(r);i?(e.time=r.replace(i[1],""),e.timezone=i[1]):e.time=r}return e}function U(t,e){const n=new RegExp("^(?:(\\d{4}|[+-]\\d{"+(4+e)+"})|(\\d{2}|[+-]\\d{"+(2+e)+"})$)"),r=t.match(n);if(!r)return{year:NaN,restDateString:""};const i=r[1]?parseInt(r[1]):null,s=r[2]?parseInt(r[2]):null;return{year:s===null?i:s*100,restDateString:t.slice((r[1]||r[2]).length)}}function w(t,e){if(e===null)return new Date(NaN);const n=t.match(y);if(!n)return new Date(NaN);const r=!!n[4],i=f(n[1]),s=f(n[2])-1,u=f(n[3]),o=f(n[4]),c=f(n[5])-1;if(r)return F(e,o,c)?Y(e,o,c):new Date(NaN);{const a=new Date(0);return!k(e,s,u)||!v(e,i)?new Date(NaN):(a.setUTCFullYear(e,s,Math.max(i,u)),a)}}function f(t){return t?parseInt(t):1}function C(t){const e=t.match(I);if(!e)return NaN;const n=m(e[1]),r=m(e[2]),i=m(e[3]);return M(n,r,i)?n*p+r*g+i*1e3:NaN}function m(t){return t&&parseFloat(t.replace(",","."))||0}function x(t){if(t==="Z")return 0;const e=t.match(b);if(!e)return 0;const n=e[1]==="+"?-1:1,r=parseInt(e[2]),i=e[3]&&parseInt(e[3])||0;return O(r,i)?n*(r*p+i*g):NaN}function Y(t,e,n){const r=new Date(0);r.setUTCFullYear(t,0,4);const i=r.getUTCDay()||7,s=(e-1)*7+n+1-i;return r.setUTCDate(r.getUTCDate()+s),r}const z=[31,null,31,30,31,30,31,31,30,31,30,31];function N(t){return t%400===0||t%4===0&&t%100!==0}function k(t,e,n){return e>=0&&e<=11&&n>=1&&n<=(z[e]||(N(t)?29:28))}function v(t,e){return e>=1&&e<=(N(t)?366:365)}function F(t,e,n){return e>=1&&e<=53&&n>=0&&n<=6}function M(t,e,n){return t===24?e===0&&n===0:n>=0&&n<60&&e>=0&&e<60&&t>=0&&t<25}function O(t,e){return e>=0&&e<=59}export{_ as p};

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.