Module 338769

580 characters · in 5abeffdbf12e8892.js
Dependencies
Required by (1)
Lazily required by (0)none
Lazily requires (0)none
Source Raw
function(e,t,s){"use strict";s.d(t,{V:()=>g,Z:()=>_});var n,r=s(64700),l=s(311907),a=s(773669),i=s(248352),o=s(797490),c=s(758836),d=s(788868),u=s(985018),_=((n={})[n.COUNTDOWN=0]="COUNTDOWN",n);function g(e,t){let s=(0,l.bG)([i.A],()=>i.A.getUserDiscount(d.tU)),n=(0,l.bG)([a.default],()=>a.default.locale),_=(0,o.$)(t);if(r.useMemo(()=>null!=s&&_&&e!==c.G2.ORBS,[s,_,e])){let e=null!=s&&null!=s.expiresAt?new Date(s.expiresAt).toLocaleDateString(n,{day:"numeric",month:"numeric"}):void 0;return{type:0,countdownEndDate:s?.expiresAt,message:u.intl.format(u.t.RCo9MF,{date:e})}}}}