import{h as t}from"./p-8a04cc92.js";import{a as e}from"./p-836e88d4.js";const r=r=>{var{date:a,format:n={weekday:"short",year:"numeric",month:"long",day:"numeric"}}=r,o=function(t,e){var r={};for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&e.indexOf(a)<0&&(r[a]=t[a]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(a=Object.getOwnPropertySymbols(t);n<a.length;n++)e.indexOf(a[n])<0&&Object.prototype.propertyIsEnumerable.call(t,a[n])&&(r[a[n]]=t[a[n]])}return r}(r,["date","format"]);const c=new Intl.DateTimeFormat("en-US",Object.assign({},n));return t("time",Object.assign({},e(o,{class:"ui-date"})),c.format(a))};export{r as D}