PageSourceSearch

https://www.tt-green.com/_nuxt/BWlyLVh2.js

js tt-green.com collected 2026-10-03 21:12:43 UTC 28,496 bytes, 1 lines download raw bytes

1import{X as Fe,E as me,u as Q,a as _,o as c,c as b,w as I,L as W,n as m,b as u,v as p,g as M,F as ce,l as De,A as Ce,P as ee,d as D,t as z,aM as He,bk as Ne,r as x,au as Ve,x as k,k as ke,h as K,b3 as ue,T as F,i as H,ap as Le,bl as Je,a0 as Ge,bj as We,e as Ke}from"./BqnprnXS.js";import{_ as Xe}from"./CZf86u6k.js";import{R as Qe}from"./CPu2LSYw.js";function ne(e,t){return e-t*Math.floor(e/t)}const Se=1721426;function L(e,t,a,r){t=ye(e,t);let n=t-1,o=-2;return a<=2?o=0:G(t)&&(o=-1),Se-1+365*n+Math.floor(n/4)-Math.floor(n/100)+Math.floor(n/400)+Math.floor((367*a-362)/12+o+r)}function G(e){return e%4===0&&(e%100!==0||e%400===0)}function ye(e,t){return e==="BC"?1-t:t}function _e(e){let t="AD";return e<=0&&(t="BC",e=1-e),[t,e]}const et={standard:[31,28,31,30,31,30,31,31,30,31,30,31],leapyear:[31,29,31,30,31,30,31,31,30,31,30,31]};class T{fromJulianDay(t){let a=t,r=a-Se,n=Math.floor(r/146097),o=ne(r,146097),l=Math.floor(o/36524),s=ne(o,36524),f=Math.floor(s/1461),y=ne(s,1461),$=Math.floor(y/365),d=n*400+l*100+f*4+$+(l!==4&&$!==4?1:0),[v,g]=_e(d),w=a-L(v,g,1,1),A=2;a<L(v,g,3,1)?A=0:G(g)&&(A=1);let i=Math.floor(((w+A)*12+373)/367),h=a-L(v,g,i,1)+1;return new N(v,g,i,h)}toJulianDay(t){return L(t.era,t.year,t.month,t.day)}getDaysInMonth(t){return et[G(t.year)?"leapyear":"standard"][t.month-1]}getMonthsInYear(t){return 12}getDaysInYear(t){return G(t.year)?366:365}getMaximumMonthsInYear(){return 12}getMaximumDaysInMonth(){return 31}getYearsInEra(t){return 9999}getEras(){return["BC","AD"]}isInverseEra(t){return t.era==="BC"}balanceDate(t){t.year<=0&&(t.era=t.era==="BC"?"AD":"BC",t.year=1-t.year)}constructor(){this.identifier="gregory"}}function tt(e,t){return e.isEqual?.(t)??t.isEqual?.(e)??e.identifier===t.identifier}function at(e){return P(Date.now(),e)}function rt(e){return it(at(e))}function Ie(e,t){return e.calendar.toJulianDay(e)-t.calendar.toJulianDay(t)}function nt(e,t){return xe(e)-xe(t)}function xe(e){return e.hour*36e5+e.minute*6e4+e.second*1e3+e.millisecond}let oe=null,ot=!1;function te(){return oe==null&&(oe=new Intl.DateTimeFormat().resolvedOptions().timeZone),oe}function Pe(){return ot}function B(e){e=C(e,new T);let t=ye(e.era,e.year);return qe(t,e.month,e.day,e.hour,e.minute,e.second,e.millisecond)}function qe(e,t,a,r,n,o,l){let s=new Date;return s.setUTCHours(r,n,o,l),s.setUTCFullYear(e,t-1,a),s.getTime()}function de(e,t){if(t==="UTC")return 0;if(e>0&&t===te()&&!Pe())return new Date(e).getTimezoneOffset()*-6e4;let{year:a,month:r,day:n,hour:o,minute:l,second:s}=Oe(e,t);return qe(a,r,n,o,l,s,0)-Math.floor(e/1e3)*1e3}const we=new Map;function Oe(e,t){let a=we.get(t);a||(a=new Intl.DateTimeFormat("en-US",{timeZone:t,hour12:!1,era:"short",year:"numeric",month:"numeric",day:"numeric",hour:"numeric",minute:"numeric",second:"numeric"}),we.set(t,a));let r=a.formatToParts(new Date(e)),n={};for(let o of r)o.type!=="literal"&&(n[o.type]=o.value);return{year:n.era==="BC"||n.era==="B"?-n.year+1:+n.year,month:+n.month,day:+n.day,hour:n.hour==="24"?0:+n.hour,minute:+n.minute,second:+n.second}}const Me=864e5;function st(e,t,a,r){return(a===r?[a]:[a,r]).filter(o=>lt(e,t,o))}function lt(e,t,a){let r=Oe(a,t);return e.year===r.year&&e.month===r.month&&e.day===r.day&&e.hour===r.hour&&e.minute===r.minute&&e.second===r.second}function S(e,t,a="compatible"){let r=Y(e);if(t==="UTC")return B(r);if(t===te()&&a==="compatible"&&!Pe()){r=C(r,new T);let f=new Date,y=ye(r.era,r.year);return f.setFullYear(y,r.month-1,r.day),f.setHours(r.hour,r.minute,r.second,r.millisecond),f.getTime()}let n=B(r),o=de(n-Me,t),l=de(n+Me,t),s=st(r,t,n-o,n-l);if(s.length===1)return s[0];if(s.length>1)switch(a){case"compatible":case"earlier":return s[0];case"later":return s[s.length-1];case"reject":throw new RangeError("Multiple possible absolute times found")}switch(a){case"earlier":return Math.min(n-o,n-l);case"compatible":case"later":return Math.max(n-o,n-l);case"reject":throw new RangeError("No such absolute time found")}}function Ee(e,t,a="compatible"){return new Date(S(e,t,a))}function P(e,t){let a=de(e,t),r=new Date(e+a),n=r.getUTCFullYear(),o=r.getUTCMonth()+1,l=r.getUTCDate(),s=r.getUTCHours(),f=r.getUTCMinutes(),y=r.getUTCSeconds(),$=r.getUTCMilliseconds();return new U(n<1?"BC":"AD",n<1?-n+1:n,o,l,t,a,s,f,y,$)}function it(e){return new N(e.calendar,e.era,e.year,e.month,e.day)}function Y(e,t){let a=0,r=0,n=0,o=0;if("timeZone"in e)({hour:a,minute:r,second:n,millisecond:o}=e);else if("hour"in e&&!t)return e;return t&&({hour:a,minute:r,second:n,millisecond:o}=t),new V(e.calendar,e.era,e.year,e.month,e.day,a,r,n,o)}function C(e,t){if(tt(e.calendar,t))return e;let a=t.fromJulianDay(e.calendar.toJulianDay(e)),r=e.copy();return r.calendar=t,r.era=a.era,r.year=a.year,r.month=a.month,r.day=a.day,j(r),r}function ct(e,t,a){if(e instanceof U)return e.timeZone===t?e:dt(e,t);let r=S(e,t,a);return P(r,t)}function ut(e){let t=B(e)-e.offset;return new Date(t)}function dt(e,t){let a=B(e)-e.offset;return C(P(a,t),e.calendar)}const R=36e5;function ae(e,t){let a=e.copy(),r="hour"in a?yt(a,t):0;fe(a,t.years||0),a.calendar.balanceYearMonth&&a.calendar.balanceYearMonth(a,e),a.month+=t.months||0,he(a),ze(a),a.day+=(t.weeks||0)*7,a.day+=t.days||0,a.day+=r,ft(a),a.calendar.balanceDate&&a.calendar.balanceDate(a),a.year<1&&(a.year=1,a.month=1,a.day=1);let n=a.calendar.getYearsInEra(a);if(a.year>n){let l=a.calendar.isInverseEra?.(a);a.year=n,a.month=l?1:a.calendar.getMonthsInYear(a),a.day=l?1:a.calendar.getDaysInMonth(a)}a.month<1&&(a.month=1,a.day=1);let o=a.calendar.getMonthsInYear(a);return a.month>o&&(a.month=o,a.day=a.calendar.getDaysInMonth(a)),a.day=Math.max(1,Math.min(a.calendar.getDaysInMonth(a),a.day)),a}function fe(e,t){e.calendar.isInverseEra?.(e)&&(t=-t),e.year+=t}function he(e){for(;e.month<1;)fe(e,-1),e.month+=e.calendar.getMonthsInYear(e);let t=0;for(;e.month>(t=e.calendar.getMonthsInYear(e));)e.month-=t,fe(e,1)}function ft(e){for(;e.day<1;)e.month--,he(e),e.day+=e.calendar.getDaysInMonth(e);for(;e.day>e.calendar.getDaysInMonth(e);)e.day-=e.calendar.getDaysInMonth(e),e.month++,he(e)}function ze(e){e.month=Math.max(1,Math.min(e.calendar.getMonthsInYear(e),e.month)),e.day=Math.max(1,Math.min(e.calendar.getDaysInMonth(e),e.day))}function j(e){e.calendar.constrainDate&&e.calendar.constrainDate(e),e.year=Math.max(1,Math.min(e.calendar.getYearsInEra(e),e.year)),ze(e)}function je(e){let t={};for(let a in e)typeof e[a]=="number"&&(t[a]=-e[a]);return t}function Te(e,t){return ae(e,je(t))}function $e(e,t){let a=e.copy();return t.era!=null&&(a.era=t.era),t.year!=null&&(a.year=t.year),t.month!=null&&(a.month=t.month),t.day!=null&&(a.day=t.day),j(a),a}function X(e,t){let a=e.copy();return t.hour!=null&&(a.hour=t.hour),t.minute!=null&&(a.minute=t.minute),t.second!=null&&(a.second=t.second),t.millisecond!=null&&(a.millisecond=t.millisecond),mt(a),a}function ht(e){e.second+=Math.floor(e.millisecond/1e3),e.millisecond=J(e.millisecond,1e3),e.minute+=Math.floor(e.second/60),e.second=J(e.second,60),e.hour+=Math.floor(e.minute/60),e.minute=J(e.minute,60);let t=Math.floor(e.hour/24);return e.hour=J(e.hour,24),t}function mt(e){e.millisecond=Math.max(0,Math.min(e.millisecond,1e3)),e.second=Math.max(0,Math.min(e.second,59)),e.minute=Math.max(0,Math.min(e.minute,59)),e.hour=Math.max(0,Math.min(e.hour,23))}function J(e,t){let a=e%t;return a<0&&(a+=t),a}function yt(e,t){return e.hour+=t.hours||0,e.minute+=t.minutes||0,e.second+=t.seconds||0,e.millisecond+=t.milliseconds||0,ht(e)}function ge(e,t,a,r){let n=e.copy();switch(t){case"era":{let o=e.calendar.getEras(),l=o.indexOf(e.era);if(l<0)throw new Error("Invalid era: "+e.era);l=q(l,a,0,o.length-1,r?.round),n.era=o[l],j(n);break}case"year":n.calendar.isInverseEra?.(n)&&(a=-a),n.year=q(e.year,a,-1/0,9999,r?.round),n.year===-1/0&&(n.year=1),n.calendar.balanceYearMonth&&n.calendar.balanceYearMonth(n,e);break;case"month":n.month=q(e.month,a,1,e.calendar.getMonthsInYear(e),r?.round);break;case"day":n.day=q(e.day,a,1,e.calendar.getDaysInMonth(e),r?.round);break;default:throw new Error("Unsupported field "+t)}return e.calendar.balanceDate&&e.calendar.balanceDate(n),j(n),n}function Be(e,t,a,r){let n=e.copy();switch(t){case"hour":{let o=e.hour,l=0,s=23;if(r?.hourCycle===12){let f=o>=12;l=f?12:0,s=f?23:11}n.hour=q(o,a,l,s,r?.round);break}case"minute":n.minute=q(e.minute,a,0,59,r?.round);break;case"second":n.second=q(e.second,a,0,59,r?.round);break;case"millisecond":n.millisecond=q(e.millisecond,a,0,999,r?.round);break;default:throw new Error("Unsupported field "+t)}return n}function q(e,t,a,r,n=!1){if(n){e+=Math.sign(t),e<a&&(e=r);let o=Math.abs(t);t>0?e=Math.ceil(e/o)*o:e=Math.floor(e/o)*o,e>
1r&&(e=a)}else e+=t,e<a?e=r-(a-e-1):e>r&&(e=a+(e-r-1));return e}function Ye(e,t){let a;if(t.years!=null&&t.years!==0||t.months!=null&&t.months!==0||t.weeks!=null&&t.weeks!==0||t.days!=null&&t.days!==0){let n=ae(Y(e),{years:t.years,months:t.months,weeks:t.weeks,days:t.days});a=S(n,e.timeZone)}else a=B(e)-e.offset;a+=t.milliseconds||0,a+=(t.seconds||0)*1e3,a+=(t.minutes||0)*6e4,a+=(t.hours||0)*36e5;let r=P(a,e.timeZone);return C(r,e.calendar)}function $t(e,t){return Ye(e,je(t))}function gt(e,t,a,r){switch(t){case"hour":{let n=0,o=23;if(r?.hourCycle===12){let w=e.hour>=12;n=w?12:0,o=w?23:11}let l=Y(e),s=C(X(l,{hour:n}),new T),f=[S(s,e.timeZone,"earlier"),S(s,e.timeZone,"later")].filter(w=>P(w,e.timeZone).day===s.day)[0],y=C(X(l,{hour:o}),new T),$=[S(y,e.timeZone,"earlier"),S(y,e.timeZone,"later")].filter(w=>P(w,e.timeZone).day===y.day).pop(),d=B(e)-e.offset,v=Math.floor(d/R),g=d%R;return d=q(v,a,Math.floor(f/R),Math.floor($/R),r?.round)*R+g,C(P(d,e.timeZone),e.calendar)}case"minute":case"second":case"millisecond":return Be(e,t,a,r);case"era":case"year":case"month":case"day":{let n=ge(Y(e),t,a,r),o=S(n,e.timeZone);return C(P(o,e.timeZone),e.calendar)}default:throw new Error("Unsupported field "+t)}}function bt(e,t,a){let r=Y(e),n=X($e(r,t),t);if(n.compare(r)===0)return e;let o=S(n,e.timeZone,a);return C(P(o,e.timeZone),e.calendar)}function pt(e){return`${String(e.hour).padStart(2,"0")}:${String(e.minute).padStart(2,"0")}:${String(e.second).padStart(2,"0")}${e.millisecond?String(e.millisecond/1e3).slice(1):""}`}function Ue(e){let t=C(e,new T),a;return t.era==="BC"?a=t.year===1?"0000":"-"+String(Math.abs(1-t.year)).padStart(6,"00"):a=String(t.year).padStart(4,"0"),`${a}-${String(t.month).padStart(2,"0")}-${String(t.day).padStart(2,"0")}`}function Ae(e){return`${Ue(e)}T${pt(e)}`}function vt(e){let t=Math.sign(e)<0?"-":"+";e=Math.abs(e);let a=Math.floor(e/36e5),r=Math.floor(e%36e5/6e4),n=Math.floor(e%36e5%6e4/1e3),o=`${t}${String(a).padStart(2,"0")}:${String(r).padStart(2,"0")}`;return n!==0&&(o+=`:${String(n).padStart(2,"0")}`),o}function xt(e){return`${Ae(e)}${vt(e.offset)}[${e.timeZone}]`}function be(e){let t=typeof e[0]=="object"?e.shift():new T,a;if(typeof e[0]=="string")a=e.shift();else{let l=t.getEras();a=l[l.length-1]}let r=e.shift(),n=e.shift(),o=e.shift();return[t,a,r,n,o]}class N{#e;constructor(...t){let[a,r,n,o,l]=be(t);this.calendar=a,this.era=r,this.year=n,this.month=o,this.day=l,j(this)}copy(){return this.era?new N(this.calendar,this.era,this.year,this.month,this.day):new N(this.calendar,this.year,this.month,this.day)}add(t){return ae(this,t)}subtract(t){return Te(this,t)}set(t){return $e(this,t)}cycle(t,a,r){return ge(this,t,a,r)}toDate(t){return Ee(this,t)}toString(){return Ue(this)}compare(t){return Ie(this,t)}}class V{#e;constructor(...t){let[a,r,n,o,l]=be(t);this.calendar=a,this.era=r,this.year=n,this.month=o,this.day=l,this.hour=t.shift()||0,this.minute=t.shift()||0,this.second=t.shift()||0,this.millisecond=t.shift()||0,j(this)}copy(){return this.era?new V(this.calendar,this.era,this.year,this.month,this.day,this.hour,this.minute,this.second,this.millisecond):new V(this.calendar,this.year,this.month,this.day,this.hour,this.minute,this.second,this.millisecond)}add(t){return ae(this,t)}subtract(t){return Te(this,t)}set(t){return $e(X(this,t),t)}cycle(t,a,r){switch(t){case"era":case"year":case"month":case"day":return ge(this,t,a,r);default:return Be(this,t,a,r)}}toDate(t,a){return Ee(this,t,a)}toString(){return Ae(this)}compare(t){let a=Ie(this,t);return a===0?nt(this,Y(t)):a}}class U{#e;constructor(...t){let[a,r,n,o,l]=be(t),s=t.shift(),f=t.shift();this.calendar=a,this.era=r,this.year=n,this.month=o,this.day=l,this.timeZone=s,this.offset=f,this.hour=t.shift()||0,this.minute=t.shift()||0,this.second=t.shift()||0,this.millisecond=t.shift()||0,j(this)}copy(){return this.era?new U(this.calendar,this.era,this.year,this.month,this.day,this.timeZone,this.offset,this.hour,this.minute,this.second,this.millisecond):new U(this.calendar,this.year,this.month,this.day,this.timeZone,this.offset,this.hour,this.minute,this.second,this.millisecond)}add(t){return Ye(this,t)}subtract(t){return $t(this,t)}set(t,a){return bt(this,t,a)}cycle(t,a,r){return gt(this,t,a,r)}toDate(){return ut(this)}toString(){return xt(this)}toAbsoluteString(){return this.toDate().toISOString()}compare(t){return this.toDate().getTime()-ct(t,this.timeZone).toDate().getTime()}}let se=new Map;class E{constructor(t,a={}){this.formatter=Re(t,a),this.options=a}format(t){return this.formatter.format(t)}formatToParts(t){return this.formatter.formatToParts(t)}
1formatRange(t,a){if(typeof this.formatter.formatRange=="function")return this.formatter.formatRange(t,a);if(a<t)throw new RangeError("End date must be >= start date");return`${this.formatter.format(t)} – ${this.formatter.format(a)}`}formatRangeToParts(t,a){if(typeof this.formatter.formatRangeToParts=="function")return this.formatter.formatRangeToParts(t,a);if(a<t)throw new RangeError("End date must be >= start date");let r=this.formatter.formatToParts(t),n=this.formatter.formatToParts(a);return[...r.map(o=>({...o,source:"startRange"})),{type:"literal",value:" – ",source:"shared"},...n.map(o=>({...o,source:"endRange"}))]}resolvedOptions(){let t=this.formatter.resolvedOptions();return Dt()&&(this.resolvedHourCycle||(this.resolvedHourCycle=Ct(t.locale,this.options)),t.hourCycle=this.resolvedHourCycle,t.hour12=this.resolvedHourCycle==="h11"||this.resolvedHourCycle==="h12"),t.calendar==="ethiopic-amete-alem"&&(t.calendar="ethioaa"),t}}const wt={true:{ja:"h11"},false:{}};function Re(e,t={}){if(typeof t.hour12=="boolean"&&Mt()){t={...t};let n=wt[String(t.hour12)][e.split("-")[0]],o=t.hour12?"h12":"h23";t.hourCycle=n??o,delete t.hour12}let a=e+(t?Object.entries(t).sort((n,o)=>n[0]<o[0]?-1:1).join():"");if(se.has(a))return se.get(a);let r=new Intl.DateTimeFormat(e,t);return se.set(a,r),r}let le=null;function Mt(){return le==null&&(le=new Intl.DateTimeFormat("en-US",{hour:"numeric",hour12:!1}).format(new Date(2020,2,3,0))==="24"),le}let ie=null;function Dt(){return ie==null&&(ie=new Intl.DateTimeFormat("fr",{hour:"numeric",hour12:!1}).resolvedOptions().hourCycle==="h12"),ie}function Ct(e,t){if(!t.timeStyle&&!t.hour)return;e=e.replace(/(-u-)?-nu-[a-zA-Z0-9]+/,""),e+=(e.includes("-u-")?"":"-u")+"-nu-latn";let a=Re(e,{...t,timeZone:void 0}),r=parseInt(a.formatToParts(new Date(2020,2,3,0)).find(o=>o.type==="hour").value,10),n=parseInt(a.formatToParts(new Date(2020,2,3,23)).find(o=>o.type==="hour").value,10);if(r===0&&n===23)return"h23";if(r===24&&n===23)return"h24";if(r===0&&n===11)return"h11";if(r===12&&n===11)return"h12";throw new Error("Unexpected hour cycle result")}function Z(e,t=te()){return pe(e)?e.toDate():e.toDate(t)}function kt(e){return e instanceof V}function pe(e){return e instanceof U}function St(e){return kt(e)||pe(e)}function It(e,t={}){const a=Fe(e);function r(){return a.value}function n(i){a.value=i}function o(i,h){return new E(a.value,{...t,...h}).format(i)}function l(i,h=!0){return St(i)&&h?o(Z(i),{dateStyle:"long",timeStyle:"long"}):o(Z(i),{dateStyle:"long"})}function s(i,h={}){return new E(a.value,{...t,month:"long",year:"numeric",...h}).format(i)}function f(i,h={}){return new E(a.value,{...t,month:"long",...h}).format(i)}function y(){const i=rt(te());return[1,2,3,4,5,6,7,8,9,10,11,12].map(O=>({label:f(Z(i.set({month:O}))),value:O}))}function $(i,h={}){return new E(a.value,{...t,year:"numeric",...h}).format(i)}function d(i,h){return pe(i)?new E(a.value,{...t,...h,timeZone:i.timeZone}).formatToParts(Z(i)):new E(a.value,{...t,...h}).formatToParts(Z(i))}function v(i,h="narrow"){return new E(a.value,{...t,weekday:h}).format(i)}function g(i){const O=new E(a.value,{...t,hour:"numeric",minute:"numeric"}).formatToParts(i).find(re=>re.type==="dayPeriod")?.value;return O==="PM"||O==="pm"||O==="p.m."?"PM":"AM"}const w={year:"numeric",month:"numeric",day:"numeric",hour:"numeric",minute:"numeric",second:"numeric"};function A(i,h,O={}){const re={...w,...O},ve=d(i,re).find(Ze=>Ze.type===h);return ve?ve.value:""}return{setLocale:n,getLocale:r,fullMonth:f,fullYear:$,fullMonthAndYear:s,toParts:d,custom:o,part:A,dayPeriod:g,selectedDate:l,dayOfWeek:v,getMonths:y}}const Pt={slots:{root:"inline-flex flex-row-reverse justify-end",base:"relative rounded-full ring-bg first:me-0"},variants:{size:{"3xs":{base:"ring -me-0.5"},"2xs":{base:"ring -me-0.5"},xs:{base:"ring -me-0.5"},sm:{base:"ring-2 -me-1.5"},md:{base:"ring-2 -me-1.5"},lg:{base:"ring-2 -me-1.5"},xl:{base:"ring-3 -me-2"},"2xl":{base:"ring-3 -me-2"},"3xl":{base:"ring-3 -me-2"}}},defaultVariants:{size:"md"}},qt={__name:"UAvatarGroup",props:{as:{type:null,required:!1},size:{type:null,required:!1},max:{type:[Number,String],required:!1},class:{type:null,required:!1},ui:{type:Object,required:!1}},setup(e){const t=e,a=me(),r=Q(),n=_("avatarGroup",t),o=D(()=>z({extend:z(Pt),...r.ui?.avatarGroup||{}})({size:t.size})),l=D(()=>typeof t.max=="string"?Number.parseInt(t.max,10):t.max),s=D(()=>{let $=a.default?.();return $?.length&&($=$.flatMap(d=>typeof d.type=="symbol"?typeof d.children=="string"?void 0:d.children:d).filter(
1Boolean)),$||[]}),f=D(()=>s.value.length?!l.value||l.value<=0?[...s.value].reverse():[...s.value].slice(0,l.value).reverse():[]),y=D(()=>s.value.length?s.value.length-f.value.length:0);return He(Ne,D(()=>({size:t.size}))),($,d)=>(c(),b(u(ee),{as:e.as,"data-slot":"root",class:m(o.value.root({class:[u(n)?.root,t.class]}))},{default:I(()=>[y.value>0?(c(),b(W,{key:0,text:`+${y.value}`,"data-slot":"base",class:m(o.value.base({class:u(n)?.base}))},null,8,["text","class"])):p("",!0),(c(!0),M(ce,null,De(f.value,(v,g)=>(c(),b(Ce(v),{key:g,"data-slot":"base",class:m(o.value.base({class:u(n)?.base}))},null,8,["class"]))),128))]),_:1},8,["as","class"]))}},Ot={slots:{root:"relative group/user",wrapper:"",name:"font-medium",description:"text-muted",avatar:"shrink-0"},variants:{orientation:{horizontal:{root:"flex items-center"},vertical:{root:"flex flex-col"}},to:{true:{name:["text-default peer-hover:text-highlighted peer-focus-visible:text-highlighted","transition-colors"],description:["peer-hover:text-toned peer-focus-visible:text-toned","transition-colors"],avatar:"transform transition-transform duration-200 group-hover/user:scale-115 group-has-focus-visible/user:scale-115"},false:{name:"text-highlighted",description:""}},size:{"3xs":{root:"gap-1",wrapper:"flex items-center gap-1",name:"text-xs",description:"text-xs"},"2xs":{root:"gap-1.5",wrapper:"flex items-center gap-1.5",name:"text-xs",description:"text-xs"},xs:{root:"gap-1.5",wrapper:"flex items-center gap-1.5",name:"text-xs",description:"text-xs"},sm:{root:"gap-2",name:"text-xs",description:"text-xs"},md:{root:"gap-2",name:"text-sm",description:"text-xs"},lg:{root:"gap-2.5",name:"text-sm",description:"text-sm"},xl:{root:"gap-2.5",name:"text-base",description:"text-sm"},"2xl":{root:"gap-3",name:"text-base",description:"text-base"},"3xl":{root:"gap-3",name:"text-lg",description:"text-base"}}},defaultVariants:{size:"md"}},Et=Object.assign({inheritAttrs:!1},{__name:"UUser",props:{as:{type:null,required:!1},name:{type:String,required:!1},description:{type:String,required:!1},avatar:{type:Object,required:!1},chip:{type:[Boolean,Object],required:!1},size:{type:null,required:!1},orientation:{type:null,required:!1,default:"horizontal"},to:{type:null,required:!1},target:{type:[String,Object,null],required:!1},onClick:{type:Function,required:!1},class:{type:null,required:!1},ui:{type:Object,required:!1}},setup(e){const t=e,a=me(),r=Q(),n=_("user",t),o=D(()=>z({extend:z(Ot),...r.ui?.user||{}})({size:t.size,orientation:t.orientation,to:!!t.to||!!t.onClick}));return(l,s)=>(c(),b(u(ee),{as:e.as,"data-orientation":e.orientation,"data-slot":"root",class:m(o.value.root({class:[u(n)?.root,t.class]})),onClick:e.onClick},{default:I(()=>[x(l.$slots,"avatar",{ui:o.value},()=>[e.chip&&e.avatar?(c(),b(Ve,k({key:0,inset:""},typeof e.chip=="object"?e.chip:{},{size:e.size}),{default:I(()=>[ke(W,k({alt:e.name},e.avatar,{size:e.size,"data-slot":"avatar",class:o.value.avatar({class:u(n)?.avatar})}),null,16,["alt","size","class"])]),_:1},16,["size"])):e.avatar?(c(),b(W,k({key:1,alt:e.name},e.avatar,{size:e.size,"data-slot":"avatar",class:o.value.avatar({class:u(n)?.avatar})}),null,16,["alt","size","class"])):p("",!0)]),K("div",{"data-slot":"wrapper",class:m(o.value.wrapper({class:u(n)?.wrapper}))},[e.to?(c(),b(ue,k({key:0,"aria-label":e.name},{to:e.to,target:e.target,...l.$attrs},{class:"focus:outline-none peer",raw:""}),{default:I(()=>[...s[0]||(s[0]=[K("span",{class:"absolute inset-0","aria-hidden":"true"},null,-1)])]),_:1},16,["aria-label"])):p("",!0),x(l.$slots,"default",{},()=>[e.name||a.name?(c(),M("p",{key:0,"data-slot":"name",class:m(o.value.name({class:u(n)?.name}))},[x(l.$slots,"name",{},()=>[F(H(e.name),1)])],2)):p("",!0),e.description||a.description?(c(),M("p",{key:1,"data-slot":"description",class:m(o.value.description({class:u(n)?.description}))},[x(l.$slots,"description",{},()=>[F(H(e.description),1)])],2)):p("",!0)])],2)]),_:3},8,["as","data-orientation","class","onClick"]))}}),zt={slots:{root:"relative group/blog-post flex flex-col rounded-lg overflow-hidden",header:"relative overflow-hidden aspect-[16/9] w-full pointer-events-none",body:"min-w-0 flex-1 flex flex-col",footer:"",image:"object-cover object-top w-full h-full",title:"text-xl text-pretty font-semibold text-highlighted",description:"mt-1 text-base text-pretty",authors:"pt-4 mt-auto flex flex-wrap gap-x-3 gap-y-1.5",avatar:"",meta:"flex items-center gap-2 mb-2",date:"text-sm",badge:""},variants:{orientation:{horizontal:{root:"lg:grid lg:grid-cols-2 lg:items-center gap-x-8",body:"justify-center p-4 sm:p-6 lg:px-0"},vertical:{root:"flex flex-col",body:"p-4 sm:p-6"}},variant:{outline:{root:"bg-default ring ring-default",date:"text-toned",description:"text-muted"},soft:{root:"bg-elevated/50",date:"text-muted",description:"text-toned"},subtle:{root:"bg-elevated/50 ring ring-default",date:"text-muted",description:"text-toned"},ghost:{date:"text-toned",description:"text-muted",header:"shadow-lg rounded-lg"},naked:{root:"p-0 sm:p-0",date:"text-toned",description:"text-muted",header:"shadow-lg rounded-lg"}},to:{true:{root:["has-focus-visible:ring-2 has-focus-visible:ring-primary","transition"],image:"transform transition-transform duration-200 group-hover/blog-post:scale-110",avatar:"transform transition-transform duration-200 hover:scale-115 focus-visible:outline-primary"}},image:{true:""}},compoundVariants:[{variant:"outline",to:!0,class:{root:"hover:bg-elevated/50"}},{variant:"soft",to:!0,class:{root:"hover:bg-elevated"}},{variant:"subtle",to:!0,class:{root:"hover:bg-elevated hover:ring-accented"}},{variant:"ghost",to:!0,class:{root:"hover:bg-elevated/50",header:["group-hover/blog-post:shadow-none","transition-all"]}},{variant:"ghost",to:!0,orientation:"vertical",class:{header:"group-hover/blog-post:rounded-b-none"}},{variant:"ghost",to:!0,orientation:"horizontal",class:{header:"group-hover/blog-post:rounded-r-none"}},{orientation:"vertical",image:!1,variant:"naked",class:{body:"p-0 sm:p-0"}}],defaultVariants:{variant:"outline"}},jt=["datetime"],Tt=Object.assign({inheritAttrs:!1},{__name:"UBlogPost",props:{as:{type:null,required:!1,default:"article"},title:{type:String,required:!1},description:{type:String,required:!1},date:{type:[String,Date],required:!1},badge:{type:[String,Object],required:!1},authors:{type:Array,required:!1},image:{type:[String,Object],required:!1},orientation:{type:null,required:!1,default:"vertical"},variant:{type:null,required:!1},to:{type:null,required:!1},target:{type:[String,Object,null],required:!1},onClick:{type:Function,required:!1},class:{type:null,required:!1},ui:{type:Object,required:!1}},setup(e){const t=e,a=me(),{locale:r}=Le(),n=Q(),o=_("blogPost",t),l=It(r.value.code),s=D(()=>z({extend:z(zt),...n.ui?.blogPost||{}})({orientation:t.orientation,variant:t.variant,image:!!t.image,to:!!t.to||!!t.onClick})),f=D(()=>
1{if(t.date)try{return l.custom(new Date(t.date),{dateStyle:"medium"})}catch{return t.date}}),y=D(()=>{if(t.date)try{return new Date(t.date)?.toISOString()}catch{return}}),$=D(()=>(a.title&&We(a.title())||t.title||"Post link").trim());return(d,v)=>(c(),b(u(ee),{as:e.as,"data-orientation":e.orientation,"data-slot":"root",class:m(s.value.root({class:[u(o)?.root,t.class]})),onClick:e.onClick},{default:I(()=>[e.image||a.header?(c(),M("div",{key:0,"data-slot":"header",class:m(s.value.header({class:u(o)?.header}))},[x(d.$slots,"header",{ui:s.value},()=>[(c(),b(Ce(u(Je)),k(typeof e.image=="string"?{src:e.image,alt:e.title}:{alt:e.title,...e.image},{"data-slot":"image",class:s.value.image({class:u(o)?.image,to:!!e.to})}),null,16,["class"]))])],2)):p("",!0),K("div",{"data-slot":"body",class:m(s.value.body({class:u(o)?.body}))},[e.to?(c(),b(ue,k({key:0,"aria-label":$.value},{to:e.to,target:e.target,...d.$attrs},{class:"focus:outline-none peer",raw:""}),{default:I(()=>[...v[0]||(v[0]=[K("span",{class:"absolute inset-0","aria-hidden":"true"},null,-1)])]),_:1},16,["aria-label"])):p("",!0),x(d.$slots,"body",{},()=>[f.value||a.date||e.badge||a.badge?(c(),M("div",{key:0,"data-slot":"meta",class:m(s.value.meta({class:u(o)?.meta}))},[x(d.$slots,"badge",{},()=>[e.badge?(c(),b(Xe,k({key:0,color:"neutral",variant:"subtle"},typeof e.badge=="string"?{label:e.badge}:e.badge,{"data-slot":"badge",class:s.value.badge({class:u(o)?.badge})}),null,16,["class"])):p("",!0)]),f.value||a.date?(c(),M("time",{key:0,datetime:y.value,"data-slot":"date",class:m(s.value.date({class:u(o)?.date}))},[x(d.$slots,"date",{},()=>[F(H(f.value),1)])],10,jt)):p("",!0)],2)):p("",!0),e.title||a.title?(c(),M("h2",{key:1,"data-slot":"title",class:m(s.value.title({class:u(o)?.title}))},[x(d.$slots,"title",{},()=>
1[F(H(e.title),1)])],2)):p("",!0),e.description||a.description?(c(),M("div",{key:2,"data-slot":"description",class:m(s.value.description({class:u(o)?.description}))},[x(d.$slots,"description",{},()=>[F(H(e.description),1)])],2)):p("",!0),e.authors?.length||a.authors?(c(),M("div",{key:3,"data-slot":"authors",class:m(s.value.authors({class:u(o)?.authors}))},[x(d.$slots,"authors",{ui:s.value},()=>[e.authors?.length?(c(),M(ce,{key:0},[e.authors.length>1?(c(),b(qt,{key:0},{default:I(()=>[(c(!0),M(ce,null,De(e.authors,(g,w)=>(c(),b(ue,{key:w,to:g.to,target:g.target,"data-slot":"avatar",class:m(s.value.avatar({class:u(o)?.avatar,to:!!g.to})),raw:""},{default:I(()=>[ke(W,k({ref_for:!0},g.avatar),null,16)]),_:2},1032,["to","target","class"]))),128))]),_:1})):(c(),b(Et,Ge(k({key:1},e.authors[0])),null,16))],64)):p("",!0)])],2)):p("",!0)])],2),a.footer?(c(),M("div",{key:1,"data-slot":"footer",class:m(s.value.footer({class:u(o)?.footer}))},[x(d.$slots,"footer")],2)):p("",!0)]),_:3},8,["as","data-orientation","class","onClick"]))}}),Bt=Ke({__name:"ResourceCard",props:{resource:{},pin:{type:Boolean}},setup(e){return(t,a)=>{const r=Tt;return c(),b(r,{image:e.resource.thumbnail,title:e.resource.title,badge:{label:t.$t(u(Qe).find(n=>n.value===e.resource.category)?.label??""),color:"primary",size:"lg",variant:"outline"},date:e.resource.date,to:e.resource.path,ui:{title:["text-dark-blue dark:text-white font-outfit font-normal",e.pin?"text-xl md:text-3xl":"text-lg lg:text-xl"]}},null,8,["image","title","badge","date","to","ui"])}}}),Ft=Object.assign(Bt,{__name:"ResourceCard"}),Yt={base:"animate-pulse rounded-md bg-elevated"},Ht={__name:"USkeleton",props:{as:{type:null,required:!1},class:{type:null,required:!1},ui:{type:Object,required:!1}},setup(e){const t=e,a=Q(),r=_("skeleton",t),n=D(()=>z({extend:z(Yt),...a.ui?.skeleton||{}}));return(o,l)=>(c(),b(u(ee),{as:e.as,"aria-busy":"true","aria-label":"loading","aria-live":"polite",role:"alert",class:m(n.value({class:[u(r)?.base,t.class]}))},{default:I(()=>[x(o.$slots,"default")]),_:3},8,["as","class"]))}};export{Ht as _,Ft as a};

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.