PageSourceSearch

https://www.3181314.xyz/_astro/_...slug_.astro_astro_type_script_index_0_lang.MJ2-y4_B.js

js 3181314.xyz collected 2026-10-09 23:14:05 UTC 7,727 bytes, 1 lines download raw bytes

vendor: 4,861 bytes, line 1
1import{r as K,t as R}from"./rolldown-runtime.CXHxssQy.js";var X=R(((p,C)=>{(function(M,$){typeof p=="object"&&typeof C<"u"?C.exports=$():typeof define=="function"&&define.amd?define($):(M=typeof globalThis<"u"?globalThis:M||self).dayjs=$()})(p,(function(){"use strict";var M=1e3,$=6e4,H=36e5,N="millisecond",O="second",b="minute",k="hour",g="day",I="week",y="month",B="quarter",v="year",T="date",F="Invalid Date",q=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,P=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,Q={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(i){var n=["th","st","nd","rd"],t=i%100;return"["+i+(n[(t-20)%10]||n[t]||n[0])+"]"}},J=function(i,n,t){var r=String(i);return!r||r.length>=n?i:""+Array(n+1-r.length).join(t)+i},G={s:J,z:function(i){var n=-i.utcOffset(),t=Math.abs(n),r=Math.floor(t/60),e=t%60;return(n<=0?"+":"-")+J(r,2,"0")+":"+J(e,2,"0")},m:function i(n,t){if(n.date()<t.date())return-i(t,n);var r=12*(t.year()-n.year())+(t.month()-n.month()),e=n.clone().add(r,y),s=t-e<0,a=n.clone().add(r+(s?-1:1),y);return+(-(r+(t-e)/(s?e-a:a-e))||0)},a:function(i){return i<0?Math.ceil(i)||0:Math.floor(i)},p:function(i){return{M:y,y:v,w:I,d:g,D:T,h:k,m:b,s:O,ms:N,Q:B}[i]||String(i||"").toLowerCase().replace(/s$/,"")},u:function(i){return i===void 0}},L="en",S={};S[L]=Q;var Z="$isDayjsObject",U=function(i){return i instanceof E||!(!i||!i[Z])},W=function i(n,t,r){var e;if(!n)return L;if(typeof n=="string"){var s=n.toLowerCase();S[s]&&(e=s),t&&(S[s]=t,e=s);var a=n.split("-");if(!e&&a.length>1)return i(a[0])}else{var o=n.name;S[o]=n,e=o}return!r&&e&&(L=e),e||!r&&L},f=function(i,n){if(U(i))return i.clone();var t=typeof n=="object"?n:{};return t.date=i,t.args=arguments,new E(t)},u=G;u.l=W,u.i=U,u.w=function(i,n){return f(i,{locale:n.$L,utc:n.$u,x:n.$x,$offset:n.$offset})};var E=(function(){function i(t){this.$L=W(t.locale,null,!0),this.parse(t),this.$x=this.$x||t.x||{},this[Z]=!0}var n=i.prototype;return n.parse=function(t){this.$d=(function(r){var e=r.date,s=r.utc;if(e===null)return new Date(NaN);if(u.u(e))return new Date;if(e instanceof Date)return new Date(e);if(typeof e=="string"&&!/Z$/i.test(e)){var a=e.match(q);if(a){var o=a[2]-1||0,c=(a[7]||"0").substring(0,3);return s?new Date(Date.UTC(a[1],o,a[3]||1,a[4]||0,a[5]||0,a[6]||0,c)):new Date(a[1],o,a[3]||1,a[4]||0,a[5]||0,a[6]||0,c)}}return new Date(e)})(t),this.init()},n.init=function(){var t=this.$d;this.$y=t.getFullYear(),this.$M=t.getMonth(),this.$D=t.getDate(),this.$W=t.getDay(),this.$H=t.getHours(),this.$m=t.getMinutes(),this.$s=t.getSeconds(),this.$ms=t.getMilliseconds()},n.$utils=function(){return u},n.isValid=function(){return this.$d.toString()!==F},n.isSame=function(t,r){var e=f(t);return this.startOf(r)<=e&&e<=this.endOf(r)},n.isAfter=function(t,r){return f(t)<this.startOf(r)},n.isBefore=function(t,r){return this.endOf(r)<f(t)},n.$g=function(t,r,e){return u.u(t)?this[r]:this.set(e,t)},n.unix=function(){return Math.floor(this.valueOf()/1e3)},n.valueOf=function(){return this.$d.getTime()},n.startOf=function(t,r){var e=this,s=!!u.u(r)||r,a=u.p(t),o=function(_,l){var D=u.w(e.$u?Date.UTC(e.$y,l,_):new Date(e.$y,l,_),e);return s?D:D.endOf(g)},c=function(_,l){return u.w(e.toDate()[_].apply(e.toDate("s"),(s?[0,0,0,0]:[23,59,59,999]).slice(l)),e)},d=this.$W,h=this.$M,m=this.$D,Y="set"+(this.$u?"UTC":"");switch(a){case v:return s?o(1,0):o(31,11);case y:return s?o(1,h):o(0,h+1);case I:var w=this.$locale().weekStart||0,x=(d<w?d+7:d)-w;return o(s?m-x:m+(6-x),h);case g:case T:return c(Y+"Hours",0);case k:return c(Y+"Minutes",1);case b:return c(Y+"Seconds",2);case O:return c(Y+"Milliseconds",3);default:return this.clone()}},n.endOf=function(t){return this.startOf(t,!1)},n.$set=function(t,r){var e,s=u.p(t),a="set"+(this.$u?"UTC":""),o=(e={},e[g]=a+"Date",e[T]=a+"Date",e[y]=a+"Month",e[v]=a+"FullYear",e[k]=a+"Hours",e[b]=a+"Minutes",e[O]=a+"Seconds",e[N]=a+"Milliseconds",e)[s],c=s===g?this.$D+(r-this.$W):r;if(s===y||s===v){var d=this.clone().set(T,1);d.$d[o](c),d.init(),this.$d=d.set(T,Math.min(this.$D,d.daysInMonth())).$d}else o&&this.$d[o](c);return this.init(),this},n.set=function(t,r){return this.clone().$set(t,r)},n.get=function(t){return this[u.p(t)]()},n.add=function(t,r){var e,s=this;t=Number(t);var a=u.p(r),o=function(h){var m=f(s);return u.w(m.date(m.date()+Math.round(h*t)),s)};if(a===y)return this.set(y,this.$M+t);if(a===v)return this.set(v,this.$y+t);if(a===g)return o(1);if(a===I)return o(7);var c=(e={},e[b]=$,e[k]=H,e[O]=M,e)[a]||1,d=this.$d.getTime()+t*c;return u.w(d,this)},n.subtract=function(t,r){return this.add(-1*t,r)},n.format=function(t){var r=this,e=this.$locale();
1if(!this.isValid())return e.invalidDate||F;var s=t||"YYYY-MM-DDTHH:mm:ssZ",a=u.z(this),o=this.$H,c=this.$m,d=this.$M,h=e.weekdays,m=e.months,Y=e.meridiem,w=function(l,D,j,A){return l&&(l[D]||l(r,s))||j[D].slice(0,A)},x=function(l){return u.s(o%12||12,l,"0")},_=Y||function(l,D,j){var A=l<12?"AM":"PM";return j?A.toLowerCase():A};return s.replace(P,(function(l,D){return D||(function(j){switch(j){case"YY":return String(r.$y).slice(-2);case"YYYY":return u.s(r.$y,4,"0");case"M":return d+1;case"MM":return u.s(d+1,2,"0");case"MMM":return w(e.monthsShort,d,m,3);case"MMMM":return w(m,d);case"D":return r.$D;case"DD":return u.s(r.$D,2,"0");case"d":return String(r.$W);case"dd":return w(e.weekdaysMin,r.$W,h,2);case"ddd":return w(e.weekdaysShort,r.$W,h,3);case"dddd":return h[r.$W];case"H":return String(o);case"HH":return u.s(o,2,"0");case"h":return x(1);case"hh":return x(2);case"a":return _(o,c,!0);case"A":return _(o,c,!1);case"m":return String(c);case"mm":return u.s(c,2,"0");case"s":return String(r.$s);case"ss":return u.s(r.$s,2,"0");case"SSS":return u.s(r.$ms,3,"0");case"Z":return a}return null})(l)||a.replace(":","")}))},n.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},n.diff=function(t,r,e){var s,a=this,o=u.p(r),c=f(t),d=(c.utcOffset()-this.utcOffset())*$,h=this-c,m=function(){return u.m(a,c)};switch(o){case v:s=m()/12;break;case y:s=m();break;case B:s=m()/3;break;case I:s=(h-d)/6048e5;break;case g:s=(h-d)/864e5;break;case k:s=h/H;break;case b:s=h/$;break;case O:s=h/M;break;default:s=h}return e?s:u.a(s)},n.daysInMonth=function(){return this.endOf(y).$D},n.$locale=function(){return S[this.$L]},n.locale=function(t,r){if(!t)return this.$L;var e=this.clone(),s=W(t,r,!0);return s&&(e.$L=s),e},n.clone=function(){return u.w(this.$d,this)},n.toDate=function(){return new Date(this.valueOf())},n.toJSON=function(){return this.isValid()?this.toISOString():null},n.toISOString=function(){return this.$d.toISOString()},n.toString=function(){return this.$d.toUTCString()},i})(),z=E.prototype;return f.prototype=z,[["$ms",N],["$s",O],["$m",b],["$H",k],["$W",g],["$M",y],["$y",v],["$D",T]].forEach((function(i){z[i[1]]=function(n){return this.$g(n,i[0],i[1])}})),f.extend=function(i,n){return i.$i||(i(n,E,f),i.$i=!0),f},f.locale=W,f.isDayjs=U,f.unix=function(i){return f(1e3*i)},f.en=S[L],f.Ls=S,f.p={},f}))})),V=K(X(),1);function tt(){const p=document.getElementById("outdated-info");if(!p)return;const C=(0,V.default)(p.dataset.date),M=(0,V.default)().diff(C,"day");if(M>=Number(p.dataset.threshold)&&(p.classList.remove("hidden"),M>=1)){const $=document.getElementById("days-ago-text-intro");$&&$.dataset.template&&($.textContent=`,${$.dataset.template.replace("{days}",M.toString())}`);const H=document.getElementById("outdated-warning-intro");H&&H.classList.remove("hidden")}}document.addEventListener("astro:page-load",tt);

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.