import{p as u}from"./Picker-d5e57115.js";import{ai as l,ah as m,bH as i,a5 as f}from"./index-7945cc5d.js";const y=l({},u,{modelValue:m(),filter:Function,formatter:{type:Function,default:(t,e)=>e}}),x=Object.keys(u);function d(t,e){if(t<0)return[];const a=Array(t);let n=-1;for(;++n<t;)a[n]=e(n);return a}const k=(t,e)=>32-new Date(t,e-1,32).getDate(),V=(t,e,a,n,r,s)=>{const o=d(e-t+1,p=>{const c=i(t+p);return n(a,{text:c,value:c})});return r?r(a,o,s):o},D=(t,e)=>t.map((a,n)=>{const r=e[n];if(r.length){const s=+r[0].value,o=+r[r.length-1].value;return i(f(+a,s,o))}return a});export{V as a,D as f,k as g,x as p,y as s};
