2 lines
8.6 KiB
JavaScript
2 lines
8.6 KiB
JavaScript
|
export const id=3908;export const ids=[3908,3216];export const modules={83111:(e,t,n)=>{n.a(e,(async(e,i)=>{try{n.d(t,{WB:()=>d,p6:()=>l});var a=n(14516),m=n(50345),r=n(23216),o=n(45502),u=e([r]);r=(u.then?(await u)():u)[0];(0,a.Z)(((e,t)=>new Intl.DateTimeFormat(e.language,{weekday:"long",month:"long",day:"numeric",timeZone:(0,o.f)(e.time_zone,t)})));const l=(e,t,n)=>c(t,n.time_zone).format(e),c=(0,a.Z)(((e,t)=>new Intl.DateTimeFormat(e.language,{year:"numeric",month:"long",day:"numeric",timeZone:(0,o.f)(e.time_zone,t)}))),d=((0,a.Z)(((e,t)=>new Intl.DateTimeFormat(e.language,{year:"numeric",month:"short",day:"numeric",timeZone:(0,o.f)(e.time_zone,t)}))),(e,t,n)=>{var i,a,r,o;const u=s(t,n.time_zone);if(t.date_format===m.t6.language||t.date_format===m.t6.system)return u.format(e);const l=u.formatToParts(e),c=null===(i=l.find((e=>"literal"===e.type)))||void 0===i?void 0:i.value,d=null===(a=l.find((e=>"day"===e.type)))||void 0===a?void 0:a.value,g=null===(r=l.find((e=>"month"===e.type)))||void 0===r?void 0:r.value,h=null===(o=l.find((e=>"year"===e.type)))||void 0===o?void 0:o.value,y=l.at(l.length-1);let _="literal"===(null==y?void 0:y.type)?null==y?void 0:y.value:"";"bg"===t.language&&t.date_format===m.t6.YMD&&(_="");return{[m.t6.DMY]:`${d}${c}${g}${c}${h}${_}`,[m.t6.MDY]:`${g}${c}${d}${c}${h}${_}`,[m.t6.YMD]:`${h}${c}${g}${c}${d}${_}`}[t.date_format]}),s=(0,a.Z)(((e,t)=>{const n=e.date_format===m.t6.system?void 0:e.language;return e.date_format===m.t6.language||(e.date_format,m.t6.system),new Intl.DateTimeFormat(n,{year:"numeric",month:"numeric",day:"numeric",timeZone:(0,o.f)(e.time_zone,t)})}));(0,a.Z)(((e,t)=>new Intl.DateTimeFormat(e.language,{day:"numeric",month:"short",timeZone:(0,o.f)(e.time_zone,t)}))),(0,a.Z)(((e,t)=>new Intl.DateTimeFormat(e.language,{month:"long",year:"numeric",timeZone:(0,o.f)(e.time_zone,t)}))),(0,a.Z)(((e,t)=>new Intl.DateTimeFormat(e.language,{month:"long",timeZone:(0,o.f)(e.time_zone,t)}))),(0,a.Z)(((e,t)=>new Intl.DateTimeFormat(e.language,{year:"numeric",timeZone:(0,o.f)(e.time_zone,t)}))),(0,a.Z)(((e,t)=>new Intl.DateTimeFormat(e.language,{weekday:"long",timeZone:(0,o.f)(e.time_zone,t)}))),(0,a.Z)(((e,t)=>new Intl.DateTimeFormat(e.language,{weekday:"short",timeZone:(0,o.f)(e.time_zone,t)})));i()}catch(e){i(e)}}))},7501:(e,t,n)=>{n.a(e,(async(e,i)=>{try{n.d(t,{o0:()=>d});var a=n(14516),m=n(23216),r=n(83111),o=n(91289),u=n(45502),l=n(42219),c=e([m,r,o]);[m,r,o]=c.then?(await c)():c;const d=(e,t,n)=>s(t,n.time_zone).format(e),s=(0,a.Z)(((e,t)=>new Intl.DateTimeFormat(e.language,{year:"numeric",month:"long",day:"numeric",hour:(0,l.y)(e)?"numeric":"2-digit",minute:"2-digit",hourCycle:(0,l.y)(e)?"h12":"h23",timeZone:(0,u.f)(e.time_zone,t)})));(0,a.Z)(((e,t)=>new Intl.DateTimeFormat(e.language,{year:"numeric",month:"short",day:"numeric",hour:(0,l.y)(e)?"numeric":"2-digit",minute:"2-digit",hourCycle:(0,l.y)(e)?"h12":"h23",timeZone:(0,u.f)(e.time_zone,t)}))),(0,a.Z)(((e,t)=>new Intl.DateTimeFormat(e.language,{month:"short",day:"numeric",hour:(0,l.y)(e)?"numeric":"2-digit",minute:"2-digit",hourCycle:(0,l.y)(e)?"h12":"h23",timeZone:(0,u.f)(e.time_zone,t)}))),(0,a.Z)(((e,t)=>new Intl.DateTimeFormat(e.language,{year:"numeric",month:"long",day:"numeric",hour:(0,l.y)(e)?"numeric":"2-digit",minute:"2-digit",second:"2-digit",hourCycle:(0,l.y)(e)?"h12":"h23",timeZone:(0,u.f)(e.time_zone,t)})));i()}catch(e){i(e)}}))},91289:(e,t,n)=>{n.a(e,(async(e,i)=>{try{n.d(t,{Vu:()=>d,mr:()=>l});var a=n(14516),m=n(23216),r=n(45502),o=n(42219),u=e([m]);m=(u.then?(await u)():u)[0];const l=(e,t,n)=>c(t,n.time_zone).format(e),c=(0,a.Z)(((e,t)=>new Intl.DateTimeFormat(e.language,{hour:"numeric",minute:"2-digit",hourCycle:(0,o.y)(e)?"h12":"h23",timeZone:(0,r.f)(e.time_zone,t)}))),d=(e,t,n)=>s(t,n.time_zone).format(e),s=(0,a.Z)(((e,t)=>new Intl.DateTimeFormat(e.language,{hour:(0,o.y)(e)?"numeric":"2-digit",minute:"2-digit",second:"2-digit",hourCycle:(0,o.y)(e)?"h12":"h23",timeZone:(0,r.f)(e.time_zone,t)})));(0,a.Z)(((e,t)=>new Intl.DateTimeFormat(e.language,{weekday:"long",hour:(0,o.y)(e)?"numeric":"2-digit",minute:"2-digi
|
||
|
//# sourceMappingURL=3908.IeASt6B26Zo.js.map
|