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ih,ch,Rn,Ni,dh,uh,fh,Vn,Ri,ph,hh,mh,gs,Vi,_h,vh,zi,gh,Eh,Lc,Bl,Ui,kh,yh,Pc,ee,zn,qi,Dh,bh,wh,Un,ji,Th,Mh,Ch,qn,Gi,Oh,Sh,Ih,jn,Ji,Fh,Hh,Lh,Gn,Wi,Ph,Bh,Ah,Jn,Zi,Yh,Nh,Rh,Wn,Xi,Vh,zh,Uh,Zn,Qi,qh,jh,Gh,Xn,Ki,Jh,Wh,Zh,Qn,xi,Xh,Qh,Kh,Kn,$i,xh,$h,e1,xn,ec,t1,a1,s1,$n,tc,l1,n1,o1,eo,ac,r1,i1,c1,to,sc,d1,u1,f1,ao,lc,p1,h1,m1,so,nc,_1,v1,g1,lo,oc,E1,k1,y1,no,rc,D1,b1,w1,oo,ic,T1,M1,C1,Es,cc,O1,S1,dc,I1,F1,Bc,ro,H1,Ac,Al,hE=`/** defaults */
+.sdt-calendar-colors {
+ --sdt-primary: #286090;
+ --sdt-color: #000;
+ --sdt-bg-main: #fff;
+ --sdt-bg-today: var(--sdt-primary);
+ --sdt-bg-clear: #dc3545;
+ --sdt-today-bg: #1e486d;
+ --sdt-clear-color: #dc3545;
+ --sdt-btn-bg-hover: #eee;
+ --sdt-btn-header-bg-hover: #dfdfdf;
+ --sdt-clock-bg: #eeeded;
+ --sdt-clock-bg-minute: rgb(238, 237, 237, 0.25);
+ --sdt-clock-bg-shadow: 0 0 128px 2px #ddd inset;
+ --sdt-shadow: #ccc;
+}
`,Yc,io,L1,Nc,vt,P1,uc,B1,A1,fc,Y1,N1,pc,R1,V1,Rc,ks,ys,hc,z1,U1,mc,q1,j1,G1,va,_c,J1,W1,vc,Z1,X1,gc,Q1,K1,Vc,Yl,mE=`<script>
+function onInput(event) {
+ console.log(event.target.value) // logs currently selected date or empty string
+}
+
+function onChange(event) {
+ console.log(event.detail) // logs currently selected date or null
+}
+</script>
+
+<SveltyPicker on:input={onInput} on:change={onChange}></SveltyPicker>
`,zc,co,x1,Uc,uo,$1,qc,Nl,_E=`export const en = {
+ days: ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday', 'Sunday'],
+ daysShort: ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun'],
+ daysMin: ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa', 'Su'],
+ months: ['January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December'],
+ monthsShort: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'],
+ meridiem: ['am', 'pm'],
+ suffix: ['st', 'nd', 'rd', 'th'],
+ todayBtn: 'Today',
+ clearBtn: 'Clear',
+ timeView: 'Show time view',
+ backToDate: 'Back to calendar view'
+}
`,jc,fo,em,Gc,po,tm,Jc,ho,mo,Rl,am,sm,Wc,_o,lm,Zc,vo,nm;return{c(){a=n("h1"),s=i("\u{1F4C6} Svelty Picker "),d=n("a"),u=n("img"),E=h(),_=n("p"),v=i("Simple date & time picker implemented in svelte."),p=h(),k=n("p"),g=i("Features:"),T=h(),b=n("ul"),M=n("li"),V=i("datepicker"),H=h(),J=n("li"),L=i("timepicker (with meridian support)"),C=h(),P=n("li"),A=i("various formatting options"),O=h(),j=n("li"),R=i("keyboard navigation"),U=h(),ie=n("li"),Z=i("includes "),q=n("code"),Q=i(""),G=i(" element"),le=h(),he=n("li"),ge=i("easily themable"),K=h(),fe=n("li"),B=i("restriction by start and end date"),w=h(),S=n("li"),ue=i("validator action for "),me=n("code"),N=i(""),x=i(" using "),z=n("code"),se=i("svelte-use-forms"),_e=i(" (optional)"),ce=h(),$=n("li"),we=i("custom element"),Oe=h(),lt=n("p"),qe=n("img"),Te=h(),Me=n("h2"),kt=i("\u2699\uFE0F Install"),nt=h(),et=n("pre"),ot=h(),rt=n("h2"),ga=i("\u{1F440} Example"),aa=h(),Se=n("pre"),ye=h(),De=n("p"),$s=i("Try yourself in "),yt=n("a"),sa=i("REPL"),el=i("."),es=h(),Fe=n("h2"),tl=i("\u{1F4D3} Options"),ts=h(),Ee=n("table"),Ea=n("thead"),Ie=n("tr"),ka=n("th"),al=i("Property"),ya=h(),Da=n("th"),sl=i("Type"),ba=h(),wa=n("th"),ll=i("Default"),Ta=h(),Ma=n("th"),nl=i("Description"),Ca=h(),W=n("tbody"),Ne=n("tr"),Dt=n("td"),ol=i("name"),rl=h(),Oa=n("td"),He=n("code"),il=i("string"),Sa=h(),Ia=n("td"),Fa=n("code"),Ha=i("date"),cl=h(),bt=n("td"),dl=i("html attribute for underlying "),je=n("code"),Ge=i(""),ul=i(" element"),La=h(),Re=n("tr"),Pa=n("td"),Ba=i("disabled"),fl=h(),Aa=n("td"),Ya=n("code"),wt=i("bool"),pl=h(),tt=n("td"),Na=n("code"),la=i("false"),hl=h(),Tt=n("td"),na=i("html attribute for underlying "),Je=n("code"),Mt=i(""),ml=i(" element"),Ct=h(),Ve=n("tr"),We=n("td"),_l=i("placeholder"),it=h(),Ra=n("td"),ct=n("code"),Ot=i("string"),vl=h(),Va=n("td"),dt=n("code"),ut=i("null"),za=h(),St=n("td"),gl=i("html attribute for underlying "),It=n("code"),El=i(""),oa=i(" element"),kl=h(),ze=n("tr"),Ze=n("td"),ra=i("required"),ft=h(),pt=n("td"),Ua=n("code"),yl=i("bool"),Xe=h(),qa=n("td"),at=n("code"),Dl=i("false"),Le=h(),Ft=n("td"),Ht=i("html attribute for underlying "),ja=n("code"),Lt=i(""),bl=i(" element"),wl=h(),Pe=n("tr"),Ga=n("td"),Wl=i("value"),Mo=h(),as=n("td"),Tl=n("code"),Zl=i("string"),Co=h(),ss=n("td"),ne=n("code"),de=i("null"),ia=h(),ht=n("td"),ca=i("string representation of selected value"),Ja=h(),Be=n("tr"),ls=n("td"),Xl=i("initialDate"),ns=h(),os=n("td"),da=n("code"),Ql=i("Date"),Ml=h(),Wa=n("td"),Pt=n("code"),Kl=i("null"),xl=h(),Za=n("td"),$l=i("initial date object, if you prefer that to "),mt=n("code"),en=i("value"),tn=h(),Qe=n("tr"),rs=n("td"),an=i("startDate"),is=h(),Ke=n("td"),ua=i("`string"),sn=h(),cs=n("td"),Cl=i("Date`"),fa=h(),ds=n("td"),be=n("code"),ln=i("null"),nn=h(),xe=n("tr"),us=n("td"),on=i("endDate"),rn=h(),_t=n("td"),cn=i("`string"),dn=h(),pa=n("td"),ha=i("Date`"),un=h(),fs=n("td"),Xa=n("code"),fn=i("null"),pn=h(),Ae=n("tr"),Qa=n("td"),Ka=i("pickerOnly"),Ol=h(),ps=n("td"),ma=n("code"),hn=i("bool"),mn=h(),_a=n("td"),hs=n("code"),ms=i("false"),_n=h(),xa=n("td"),_s=i("Picker is always visible and input field is then hidden, but still present"),vn=h(),Bt=n("tr"),Oo=n("td"),pd=i("theme"),hd=h(),So=n("td"),Io=n("code"),md=i("string"),_d=h(),Fo=n("td"),Ho=n("code"),vd=i("sdt-calendar-colors"),gd=h(),gn=n("td"),Ed=i("css class defining "),En=n("a"),kd=i("css variables"),yd=h(),At=n("tr"),Lo=n("td"),Dd=i("mode"),bd=h(),Po=n("td"),Bo=n("code"),wd=i("string"),Td=h(),Ao=n("td"),Yo=n("code"),Md=i("auto"),Cd=h(),No=n("td"),Od=i("restrict picker\u2019s mode. Possible values: `auto"),Sd=h(),Yt=n("tr"),Ro=n("td"),Id=i("format"),Fd=h(),Vo=n("td"),zo=n("code"),Hd=i("string"),Ld=h(),Uo=n("td"),qo=n("code"),Pd=i("yyyy-mm-dd"),Bd=h(),Sl=n("td"),Ad=i("Format of entered date/time. See "),kn=n("a"),Yd=i("format settings"),Nd=i(" for available options"),Rd=h(),Nt=n("tr"),jo=n("td"),Vd=i("weekStart"),zd=h(),Go=n("td"),Jo=n("code"),Ud=i("number"),qd=h(),Wo=n("td"),Zo=n("code"),jd=i("1"),Gd=h(),vs=n("td"),Jd=i("number in range "),Xo=n("code"),Wd=i("0-6"),Zd=i(" to select first day of the week. Sunday is "),Qo=n("code"),Xd=i("0"),Qd=h(),Rt=n("tr"),Ko=n("td"),Kd=i("inputClasses"),xd=h(),xo=n("td"),$o=n("code"),$d=i("string"),eu=h(),er=n("td"),tu=i("\u201C"),au=h(),tr=n("td"),su=i("input css class string"),lu=h(),Vt=n("tr"),ar=n("td"),nu=i("todayBtnClasses"),ou=h(),sr=n("td"),lr=n("code"),ru=i("string"),iu=h(),nr=n("td"),or=n("code"),cu=i("sdt-action-btn sdt-today-btn"),du=h(),rr=n("td"),uu=i("today button css classes"),fu=h(),zt=n("tr"),ir=n("td"),pu=i("clearBtnClasses"),hu=h(),cr=n("td"),dr=n("code"),mu=i("string"),_u=h(),ur=n("td"),fr=n("code"),vu=i("sdt-action-btn sdt-clear-btn"),gu=h(),pr=n("td"),Eu=i("clear button css classes"),ku=h(),Ut=n("tr"),hr=n("td"),yu=i("todayBtn"),Du=h(),mr=n("td"),_r=n("code"),bu=i("bool"),wu=h(),vr=n("td"),gr=n("code"),Tu=i("true"),Mu=h(),Er=n("td"),Cu=i("Show today button"),Ou=h(),qt=n("tr"),kr=n("td"),Su=i("clearBtn"),Iu=h(),yr=n("td"),Dr=n("code"),Fu=i("bool"),Hu=h(),br=n("td"),wr=n("code"),Lu=i("true"),Pu=h(),Tr=n("td"),Bu=i("Show clear button"),Au=h(),jt=n("tr"),Mr=n("td"),Yu=i("clearToggle"),Nu=h(),Cr=n("td"),Or=n("code"),Ru=i("bool"),Vu=h(),Sr=n("td"),Ir=n("code"),zu=i("true"),Uu=h(),Fr=n("td"),qu=i("Clear current selection by clicking the same date"),ju=h(),Gt=n("tr"),Hr=n("td"),Gu=i("autoclose"),Ju=h(),Lr=n("td"),Pr=n("code"),Wu=i("bool"),Zu=h(),Br=n("td"),Ar=n("code"),Xu=i("true"),Qu=h(),Il=n("td"),Ku=i("Hides picker after selection is done. If mode includes "),Yr=n("em"),xu=i("time picker"),$u=i(", it closes automatically only after minute selection"),ef=h(),Jt=n("tr"),Nr=n("td"),tf=i("i18n"),af=h(),Rr=n("td"),Vr=n("code"),sf=i("object"),lf=h(),zr=n("td"),Ur=n("code"),nf=i("en"),of=h(),qr=n("td"),rf=i("localization object, english is by default"),cf=h(),Wt=n("tr"),jr=n("td"),df=i("positionFn"),uf=h(),Gr=n("td"),Jr=n("code"),ff=i("function"),pf=h(),Wr=n("td"),Zr=n("em"),Xr=n("code"),hf=i("internal"),mf=h(),Ue=n("td"),_f=i("function used to position picker. Used as action. Acceps following object: "),Qr=n("code"),vf=i("{ inputEl, visible}"),gf=i(", where "),Kr=n("code"),Ef=i("visible"),kf=i(" is "),xr=n("code"),yf=i("visible"),Df=i(" parameter & "),$r=n("code"),bf=i("inputEl"),wf=i(" is underlying "),ei=n("code"),Tf=i(""),Mf=i(" element"),Cf=h(),Zt=n("tr"),ti=n("td"),Of=i("validatorAction"),Sf=h(),ai=n("td"),si=n("code"),If=i("array"),Ff=h(),li=n("td"),ni=n("code"),Hf=i("null"),Lf=h(),$a=n("td"),Pf=i("Bind validator action for inner "),oi=n("code"),Bf=i(""),Af=i(" element. Designed to be used with "),ri=n("code"),Yf=i("svelte-use-form"),Nf=i("."),Cc=h(),Xt=n("p"),Rf=i("Note: Properties starting by "),ii=n("code"),Vf=i("theme"),zf=i(" to "),ci=n("code"),Uf=i("i18n"),qf=i(" are configurable globally by overriding it in globally available "),di=n("code"),jf=i("config"),Oc=h(),Fl=n("pre"),Sc=h(),yn=n("h3"),Gf=i("Format settings"),Ic=h(),Ye=n("p"),Jf=i("Date format can be defined under "),ui=n("code"),Wf=i("formatType"),Zf=i(" property. It has two options: "),fi=n("code"),Xf=i("standard"),Qf=i(" and "),pi=n("code"),Kf=i("php"),xf=i(`, where
+`),hi=n("code"),$f=i("standard"),ep=i(" is the "),mi=n("em"),tp=i("default"),ap=i("."),Fc=h(),Hl=n("h4"),_i=n("code"),sp=i("standard"),lp=i(" format settings:"),Hc=h(),X=n("ul"),Dn=n("li"),vi=n("code"),np=i("d"),op=i(" : day of the month without leading zeros"),rp=h(),bn=n("li"),gi=n("code"),ip=i("dd"),cp=i(" : day of the month, 2 digits with leading zeros"),dp=h(),wn=n("li"),Ei=n("code"),up=i("D"),fp=i(" : short textual representation of a weekday (i18n.daysShort)"),pp=h(),Tn=n("li"),ki=n("code"),hp=i("DD"),mp=i(" : long textual representation of a weekday (i18n.days)"),_p=h(),Mn=n("li"),yi=n("code"),vp=i("S"),gp=i(" : English ordinal suffix for the day of the month, (i18n.suffix)"),Ep=h(),Cn=n("li"),Di=n("code"),kp=i("m"),yp=i(" : numeric representation of month without leading zeros"),Dp=h(),On=n("li"),bi=n("code"),bp=i("mm"),wp=i(" : numeric representation of the month, 2 digits with leading zeros"),Tp=h(),Sn=n("li"),wi=n("code"),Mp=i("M"),Cp=i(" : short textual representation of a month, three letters (i18n.monthsShort)"),Op=h(),In=n("li"),Ti=n("code"),Sp=i("MM"),Ip=i(" : full textual representation of a month, such as January or March (i18n.months)"),Fp=h(),Fn=n("li"),Mi=n("code"),Hp=i("yy"),Lp=i(" : two digit representation of a year"),Pp=h(),Hn=n("li"),Ci=n("code"),Bp=i("yyyy"),Ap=i(" : full numeric representation of a year, 4 digits"),Yp=h(),Ln=n("li"),Oi=n("code"),Np=i("h"),Rp=i(" : hour without leading zeros - 24-hour format"),Vp=h(),Pn=n("li"),Si=n("code"),zp=i("hh"),Up=i(" : hour, 2 digits with leading zeros - 24-hour format"),qp=h(),Bn=n("li"),Ii=n("code"),jp=i("H"),Gp=i(" : hour without leading zeros - 12-hour format"),Jp=h(),An=n("li"),Fi=n("code"),Wp=i("HH"),Zp=i(" : hour, 2 digits with leading zeros - 12-hour format"),Xp=h(),Yn=n("li"),Hi=n("code"),Qp=i("i"),Kp=i(" : minutes, 2 digits with leading zeros"),xp=h(),Ll=n("li"),Li=n("code"),$p=i("ii"),eh=i(" : alias for "),Pi=n("code"),th=i("i"),ah=h(),Nn=n("li"),Bi=n("code"),sh=i("s"),lh=i(" : seconds, 2 digits with leading zeros"),nh=h(),Pl=n("li"),Ai=n("code"),oh=i("ss"),rh=i(" : alias for "),Yi=n("code"),ih=i("s"),ch=h(),Rn=n("li"),Ni=n("code"),dh=i("p"),uh=i(" : meridian in lower case (\u2018am\u2019 or \u2018pm\u2019) - according to locale file (i18n.meridiem)"),fh=h(),Vn=n("li"),Ri=n("code"),ph=i("P"),hh=i(" : meridian in upper case (\u2018AM\u2019 or \u2018PM\u2019) - according to locale file (i18n.meridiem)"),mh=h(),gs=n("li"),Vi=n("code"),_h=i("t"),vh=i(" : timestamp in milliseconds (although milliseconds are always 0). For timestamp in seconds use "),zi=n("code"),gh=i("php"),Eh=i(" format"),Lc=h(),Bl=n("h4"),Ui=n("code"),kh=i("php"),yh=i(" format settings:"),Pc=h(),ee=n("ul"),zn=n("li"),qi=n("code"),Dh=i("d"),bh=i(" : Day of the month, 2 digits with leading zeros 01 to 31"),wh=h(),Un=n("li"),ji=n("code"),Th=i("D"),Mh=i(" : A textual representation of a day, three letters Mon through Sun"),Ch=h(),qn=n("li"),Gi=n("code"),Oh=i("j"),Sh=i(" : Day of the month without leading zeros 1 to 31"),Ih=h(),jn=n("li"),Ji=n("code"),Fh=i("l"),Hh=i(" : A full textual representation of the day of the week Sunday through Saturday"),Lh=h(),Gn=n("li"),Wi=n("code"),Ph=i("N"),Bh=i(" : ISO 8601 numeric representation of the day of the week 1 (for Monday) through 7 (for Sunday)"),Ah=h(),Jn=n("li"),Zi=n("code"),Yh=i("S"),Nh=i(" : English ordinal suffix for the day of the month, 2 characters st, nd, rd or th. Works well with j"),Rh=h(),Wn=n("li"),Xi=n("code"),Vh=i("F"),zh=i(" : A full textual representation of a month, such as January or March January through December"),Uh=h(),Zn=n("li"),Qi=n("code"),qh=i("m"),jh=i(" : Numeric representation of a month, with leading zeros 01 through 12"),Gh=h(),Xn=n("li"),Ki=n("code"),Jh=i("M"),Wh=i(" : A short textual representation of a month, three letters Jan through Dec"),Zh=h(),Qn=n("li"),xi=n("code"),Xh=i("n"),Qh=i(" : Numeric representation of a month, without leading zeros 1 through 12"),Kh=h(),Kn=n("li"),$i=n("code"),xh=i("Y"),$h=i(" : A full numeric representation of a year, at least 4 digits, with - for years BCE. Examples: -0055, 0787, 1999, 2003"),e1=h(),xn=n("li"),ec=n("code"),t1=i("y"),a1=i(" : A two digit representation of a year Examples: 99 or 03"),s1=h(),$n=n("li"),tc=n("code"),l1=i("a"),n1=i(" : Lowercase Ante meridiem and Post meridiem am or pm"),o1=h(),eo=n("li"),ac=n("code"),r1=i("A"),i1=i(" : Uppercase Ante meridiem and Post meridiem AM or PM"),c1=h(),to=n("li"),sc=n("code"),d1=i("g"),u1=i(" : 12-hour format of an hour without leading zeros 1 through 12"),f1=h(),ao=n("li"),lc=n("code"),p1=i("G"),h1=i(" : 24-hour format of an hour without leading zeros 0 through 23"),m1=h(),so=n("li"),nc=n("code"),_1=i("h"),v1=i(" : 12-hour format of an hour with leading zeros 01 through 12"),g1=h(),lo=n("li"),oc=n("code"),E1=i("H"),k1=i(" : 24-hour format of an hour with leading zeros 00 through 23"),y1=h(),no=n("li"),rc=n("code"),D1=i("i"),b1=i(" : Minutes with leading zeros 00 to 59"),w1=h(),oo=n("li"),ic=n("code"),T1=i("s"),M1=i(" : Seconds with leading zeros 00 through 59"),C1=h(),Es=n("li"),cc=n("code"),O1=i("U"),S1=i(" : timestamp in seconds. For timestamp with miliseconds use "),dc=n("code"),I1=i("standard"),F1=i(" format"),Bc=h(),ro=n("h3"),H1=i("CSS variables"),Ac=h(),Al=n("pre"),Yc=h(),io=n("h2"),L1=i("\u{1F5EF}\uFE0F Events"),Nc=h(),vt=n("p"),P1=i("Component emits "),uc=n("code"),B1=i("input"),A1=i(", "),fc=n("code"),Y1=i("change"),N1=i(" and "),pc=n("code"),R1=i("blur"),V1=i(" events."),Rc=h(),ks=n("ul"),ys=n("li"),hc=n("code"),z1=i("input"),U1=i(" is dispatched on "),mc=n("code"),q1=i(""),j1=i(" element therefore you can get current value like from every native event:"),G1=h(),va=n("li"),_c=n("code"),J1=i("change"),W1=i(" event is using Svelte\u2019s "),vc=n("code"),Z1=i("eventDispatcher"),X1=i(", therefore triggered event contains "),gc=n("code"),Q1=i("detail"),K1=i(" property"),Vc=h(),Yl=n("pre"),zc=h(),co=n("h2"),x1=i("\u{1F310} Localization"),Uc=h(),uo=n("p"),$1=i("Localization file has following structure."),qc=h(),Nl=n("pre"),jc=h(),fo=n("p"),em=i("PRs for extending built-in localization are welcome \u{1F973}"),Gc=h(),po=n("h2"),tm=i("\u{1F3C6} Thanks to:"),Jc=h(),ho=n("ul"),mo=n("li"),Rl=n("a"),am=i("Bootstrap datepicker"),sm=i(" for some internal date and format handling"),Wc=h(),_o=n("h2"),lm=i("Licence:"),Zc=h(),vo=n("p"),nm=i("MIT"),this.h()},l(y){a=o(y,"H1",{});var Y=l(a);s=c(Y,"\u{1F4C6} Svelty Picker "),d=o(Y,"A",{href:!0,rel:!0});var r2=l(d);u=o(r2,"IMG",{src:!0,alt:!0}),r2.forEach(t),Y.forEach(t),E=m(y),_=o(y,"P",{});var i2=l(_);v=c(i2,"Simple date & time picker implemented in svelte."),i2.forEach(t),p=m(y),k=o(y,"P",{});var c2=l(k);g=c(c2,"Features:"),c2.forEach(t),T=m(y),b=o(y,"UL",{});var Ce=l(b);M=o(Ce,"LI",{});var d2=l(M);V=c(d2,"datepicker"),d2.forEach(t),H=m(Ce),J=o(Ce,"LI",{});var u2=l(J);L=c(u2,"timepicker (with meridian support)"),u2.forEach(t),C=m(Ce),P=o(Ce,"LI",{});var f2=l(P);A=c(f2,"various formatting options"),f2.forEach(t),O=m(Ce),j=o(Ce,"LI",{});var p2=l(j);R=c(p2,"keyboard navigation"),p2.forEach(t),U=m(Ce),ie=o(Ce,"LI",{});var Xc=l(ie);Z=c(Xc,"includes "),q=o(Xc,"CODE",{});var h2=l(q);Q=c(h2,""),h2.forEach(t),G=c(Xc," element"),Xc.forEach(t),le=m(Ce),he=o(Ce,"LI",{});var m2=l(he);ge=c(m2,"easily themable"),m2.forEach(t),K=m(Ce),fe=o(Ce,"LI",{});var _2=l(fe);B=c(_2,"restriction by start and end date"),_2.forEach(t),w=m(Ce),S=o(Ce,"LI",{});var go=l(S);ue=c(go,"validator action for "),me=o(go,"CODE",{});var v2=l(me);N=c(v2,""),v2.forEach(t),x=c(go," using "),z=o(go,"CODE",{});var g2=l(z);se=c(g2,"svelte-use-forms"),g2.forEach(t),_e=c(go," (optional)"),go.forEach(t),ce=m(Ce),$=o(Ce,"LI",{});var E2=l($);we=c(E2,"custom element"),E2.forEach(t),Ce.forEach(t),Oe=m(y),lt=o(y,"P",{});var k2=l(lt);qe=o(k2,"IMG",{src:!0,alt:!0}),k2.forEach(t),Te=m(y),Me=o(y,"H2",{});var y2=l(Me);kt=c(y2,"\u2699\uFE0F Install"),y2.forEach(t),nt=m(y),et=o(y,"PRE",{class:!0});var vE=l(et);vE.forEach(t),ot=m(y),rt=o(y,"H2",{});var D2=l(rt);ga=c(D2,"\u{1F440} Example"),D2.forEach(t),aa=m(y),Se=o(y,"PRE",{class:!0});var gE=l(Se);gE.forEach(t),ye=m(y),De=o(y,"P",{});var Qc=l(De);$s=c(Qc,"Try yourself in "),yt=o(Qc,"A",{href:!0,rel:!0});var b2=l(yt);sa=c(b2,"REPL"),b2.forEach(t),el=c(Qc,"."),Qc.forEach(t),es=m(y),Fe=o(y,"H2",{});var w2=l(Fe);tl=c(w2,"\u{1F4D3} Options"),w2.forEach(t),ts=m(y),Ee=o(y,"TABLE",{});var Kc=l(Ee);Ea=o(Kc,"THEAD",{});var T2=l(Ea);Ie=o(T2,"TR",{});var Ds=l(Ie);ka=o(Ds,"TH",{});var M2=l(ka);al=c(M2,"Property"),M2.forEach(t),ya=m(Ds),Da=o(Ds,"TH",{});var C2=l(Da);sl=c(C2,"Type"),C2.forEach(t),ba=m(Ds),wa=o(Ds,"TH",{});var O2=l(wa);ll=c(O2,"Default"),O2.forEach(t),Ta=m(Ds),Ma=o(Ds,"TH",{});var S2=l(Ma);nl=c(S2,"Description"),S2.forEach(t),Ds.forEach(t),T2.forEach(t),Ca=m(Kc),W=o(Kc,"TBODY",{});var te=l(W);Ne=o(te,"TR",{});var bs=l(Ne);Dt=o(bs,"TD",{});var I2=l(Dt);ol=c(I2,"name"),I2.forEach(t),rl=m(bs),Oa=o(bs,"TD",{});var F2=l(Oa);He=o(F2,"CODE",{});var H2=l(He);il=c(H2,"string"),H2.forEach(t),F2.forEach(t),Sa=m(bs),Ia=o(bs,"TD",{});var L2=l(Ia);Fa=o(L2,"CODE",{});var P2=l(Fa);Ha=c(P2,"date"),P2.forEach(t),L2.forEach(t),cl=m(bs),bt=o(bs,"TD",{});var xc=l(bt);dl=c(xc,"html attribute for underlying "),je=o(xc,"CODE",{});var B2=l(je);Ge=c(B2,""),B2.forEach(t),ul=c(xc," element"),xc.forEach(t),bs.forEach(t),La=m(te),Re=o(te,"TR",{});var ws=l(Re);Pa=o(ws,"TD",{});var A2=l(Pa);Ba=c(A2,"disabled"),A2.forEach(t),fl=m(ws),Aa=o(ws,"TD",{});var Y2=l(Aa);Ya=o(Y2,"CODE",{});var N2=l(Ya);wt=c(N2,"bool"),N2.forEach(t),Y2.forEach(t),pl=m(ws),tt=o(ws,"TD",{});var R2=l(tt);Na=o(R2,"CODE",{});var V2=l(Na);la=c(V2,"false"),V2.forEach(t),R2.forEach(t),hl=m(ws),Tt=o(ws,"TD",{});var $c=l(Tt);na=c($c,"html attribute for underlying "),Je=o($c,"CODE",{});var z2=l(Je);Mt=c(z2,""),z2.forEach(t),ml=c($c," element"),$c.forEach(t),ws.forEach(t),Ct=m(te),Ve=o(te,"TR",{});var Ts=l(Ve);We=o(Ts,"TD",{});var U2=l(We);_l=c(U2,"placeholder"),U2.forEach(t),it=m(Ts),Ra=o(Ts,"TD",{});var q2=l(Ra);ct=o(q2,"CODE",{});var j2=l(ct);Ot=c(j2,"string"),j2.forEach(t),q2.forEach(t),vl=m(Ts),Va=o(Ts,"TD",{});var G2=l(Va);dt=o(G2,"CODE",{});var J2=l(dt);ut=c(J2,"null"),J2.forEach(t),G2.forEach(t),za=m(Ts),St=o(Ts,"TD",{});var ed=l(St);gl=c(ed,"html attribute for underlying "),It=o(ed,"CODE",{});var W2=l(It);El=c(W2,""),W2.forEach(t),oa=c(ed," element"),ed.forEach(t),Ts.forEach(t),kl=m(te),ze=o(te,"TR",{});var Ms=l(ze);Ze=o(Ms,"TD",{});var Z2=l(Ze);ra=c(Z2,"required"),Z2.forEach(t),ft=m(Ms),pt=o(Ms,"TD",{});var X2=l(pt);Ua=o(X2,"CODE",{});var Q2=l(Ua);yl=c(Q2,"bool"),Q2.forEach(t),X2.forEach(t),Xe=m(Ms),qa=o(Ms,"TD",{});var K2=l(qa);at=o(K2,"CODE",{});var x2=l(at);Dl=c(x2,"false"),x2.forEach(t),K2.forEach(t),Le=m(Ms),Ft=o(Ms,"TD",{});var td=l(Ft);Ht=c(td,"html attribute for underlying "),ja=o(td,"CODE",{});var $2=l(ja);Lt=c($2,""),$2.forEach(t),bl=c(td," element"),td.forEach(t),Ms.forEach(t),wl=m(te),Pe=o(te,"TR",{});var Cs=l(Pe);Ga=o(Cs,"TD",{});var e_=l(Ga);Wl=c(e_,"value"),e_.forEach(t),Mo=m(Cs),as=o(Cs,"TD",{});var t_=l(as);Tl=o(t_,"CODE",{});var a_=l(Tl);Zl=c(a_,"string"),a_.forEach(t),t_.forEach(t),Co=m(Cs),ss=o(Cs,"TD",{});var s_=l(ss);ne=o(s_,"CODE",{});var l_=l(ne);de=c(l_,"null"),l_.forEach(t),s_.forEach(t),ia=m(Cs),ht=o(Cs,"TD",{});var n_=l(ht);ca=c(n_,"string representation of selected value"),n_.forEach(t),Cs.forEach(t),Ja=m(te),Be=o(te,"TR",{});var Os=l(Be);ls=o(Os,"TD",{});var o_=l(ls);Xl=c(o_,"initialDate"),o_.forEach(t),ns=m(Os),os=o(Os,"TD",{});var r_=l(os);da=o(r_,"CODE",{});var i_=l(da);Ql=c(i_,"Date"),i_.forEach(t),r_.forEach(t),Ml=m(Os),Wa=o(Os,"TD",{});var c_=l(Wa);Pt=o(c_,"CODE",{});var d_=l(Pt);Kl=c(d_,"null"),d_.forEach(t),c_.forEach(t),xl=m(Os),Za=o(Os,"TD",{});var om=l(Za);$l=c(om,"initial date object, if you prefer that to "),mt=o(om,"CODE",{});var u_=l(mt);en=c(u_,"value"),u_.forEach(t),om.forEach(t),Os.forEach(t),tn=m(te),Qe=o(te,"TR",{});var Ss=l(Qe);rs=o(Ss,"TD",{});var f_=l(rs);an=c(f_,"startDate"),f_.forEach(t),is=m(Ss),Ke=o(Ss,"TD",{});var p_=l(Ke);ua=c(p_,"`string"),p_.forEach(t),sn=m(Ss),cs=o(Ss,"TD",{});var h_=l(cs);Cl=c(h_,"Date`"),h_.forEach(t),fa=m(Ss),ds=o(Ss,"TD",{});var m_=l(ds);be=o(m_,"CODE",{});var __=l(be);ln=c(__,"null"),__.forEach(t),m_.forEach(t),Ss.forEach(t),nn=m(te),xe=o(te,"TR",{});var Is=l(xe);us=o(Is,"TD",{});var v_=l(us);on=c(v_,"endDate"),v_.forEach(t),rn=m(Is),_t=o(Is,"TD",{});var g_=l(_t);cn=c(g_,"`string"),g_.forEach(t),dn=m(Is),pa=o(Is,"TD",{});var E_=l(pa);ha=c(E_,"Date`"),E_.forEach(t),un=m(Is),fs=o(Is,"TD",{});var k_=l(fs);Xa=o(k_,"CODE",{});var y_=l(Xa);fn=c(y_,"null"),y_.forEach(t),k_.forEach(t),Is.forEach(t),pn=m(te),Ae=o(te,"TR",{});var Fs=l(Ae);Qa=o(Fs,"TD",{});var D_=l(Qa);Ka=c(D_,"pickerOnly"),D_.forEach(t),Ol=m(Fs),ps=o(Fs,"TD",{});var b_=l(ps);ma=o(b_,"CODE",{});var w_=l(ma);hn=c(w_,"bool"),w_.forEach(t),b_.forEach(t),mn=m(Fs),_a=o(Fs,"TD",{});var T_=l(_a);hs=o(T_,"CODE",{});var M_=l(hs);ms=c(M_,"false"),M_.forEach(t),T_.forEach(t),_n=m(Fs),xa=o(Fs,"TD",{});var C_=l(xa);_s=c(C_,"Picker is always visible and input field is then hidden, but still present"),C_.forEach(t),Fs.forEach(t),vn=m(te),Bt=o(te,"TR",{});var Hs=l(Bt);Oo=o(Hs,"TD",{});var O_=l(Oo);pd=c(O_,"theme"),O_.forEach(t),hd=m(Hs),So=o(Hs,"TD",{});var S_=l(So);Io=o(S_,"CODE",{});var I_=l(Io);md=c(I_,"string"),I_.forEach(t),S_.forEach(t),_d=m(Hs),Fo=o(Hs,"TD",{});var F_=l(Fo);Ho=o(F_,"CODE",{});var H_=l(Ho);vd=c(H_,"sdt-calendar-colors"),H_.forEach(t),F_.forEach(t),gd=m(Hs),gn=o(Hs,"TD",{});var rm=l(gn);Ed=c(rm,"css class defining "),En=o(rm,"A",{href:!0});var L_=l(En);kd=c(L_,"css variables"),L_.forEach(t),rm.forEach(t),Hs.forEach(t),yd=m(te),At=o(te,"TR",{});var Ls=l(At);Lo=o(Ls,"TD",{});var P_=l(Lo);Dd=c(P_,"mode"),P_.forEach(t),bd=m(Ls),Po=o(Ls,"TD",{});var B_=l(Po);Bo=o(B_,"CODE",{});var A_=l(Bo);wd=c(A_,"string"),A_.forEach(t),B_.forEach(t),Td=m(Ls),Ao=o(Ls,"TD",{});var Y_=l(Ao);Yo=o(Y_,"CODE",{});var N_=l(Yo);Md=c(N_,"auto"),N_.forEach(t),Y_.forEach(t),Cd=m(Ls),No=o(Ls,"TD",{});var R_=l(No);Od=c(R_,"restrict picker\u2019s mode. Possible values: `auto"),R_.forEach(t),Ls.forEach(t),Sd=m(te),Yt=o(te,"TR",{});var Ps=l(Yt);Ro=o(Ps,"TD",{});var V_=l(Ro);Id=c(V_,"format"),V_.forEach(t),Fd=m(Ps),Vo=o(Ps,"TD",{});var z_=l(Vo);zo=o(z_,"CODE",{});var U_=l(zo);Hd=c(U_,"string"),U_.forEach(t),z_.forEach(t),Ld=m(Ps),Uo=o(Ps,"TD",{});var q_=l(Uo);qo=o(q_,"CODE",{});var j_=l(qo);Pd=c(j_,"yyyy-mm-dd"),j_.forEach(t),q_.forEach(t),Bd=m(Ps),Sl=o(Ps,"TD",{});var ad=l(Sl);Ad=c(ad,"Format of entered date/time. See "),kn=o(ad,"A",{href:!0});var G_=l(kn);Yd=c(G_,"format settings"),G_.forEach(t),Nd=c(ad," for available options"),ad.forEach(t),Ps.forEach(t),Rd=m(te),Nt=o(te,"TR",{});var Bs=l(Nt);jo=o(Bs,"TD",{});var J_=l(jo);Vd=c(J_,"weekStart"),J_.forEach(t),zd=m(Bs),Go=o(Bs,"TD",{});var W_=l(Go);Jo=o(W_,"CODE",{});var Z_=l(Jo);Ud=c(Z_,"number"),Z_.forEach(t),W_.forEach(t),qd=m(Bs),Wo=o(Bs,"TD",{});var X_=l(Wo);Zo=o(X_,"CODE",{});var Q_=l(Zo);jd=c(Q_,"1"),Q_.forEach(t),X_.forEach(t),Gd=m(Bs),vs=o(Bs,"TD",{});var Ec=l(vs);Jd=c(Ec,"number in range "),Xo=o(Ec,"CODE",{});var K_=l(Xo);Wd=c(K_,"0-6"),K_.forEach(t),Zd=c(Ec," to select first day of the week. Sunday is "),Qo=o(Ec,"CODE",{});var x_=l(Qo);Xd=c(x_,"0"),x_.forEach(t),Ec.forEach(t),Bs.forEach(t),Qd=m(te),Rt=o(te,"TR",{});var As=l(Rt);Ko=o(As,"TD",{});var $_=l(Ko);Kd=c($_,"inputClasses"),$_.forEach(t),xd=m(As),xo=o(As,"TD",{});var e0=l(xo);$o=o(e0,"CODE",{});var t0=l($o);$d=c(t0,"string"),t0.forEach(t),e0.forEach(t),eu=m(As),er=o(As,"TD",{});var a0=l(er);tu=c(a0,"\u201C"),a0.forEach(t),au=m(As),tr=o(As,"TD",{});var s0=l(tr);su=c(s0,"input css class string"),s0.forEach(t),As.forEach(t),lu=m(te),Vt=o(te,"TR",{});var Ys=l(Vt);ar=o(Ys,"TD",{});var l0=l(ar);nu=c(l0,"todayBtnClasses"),l0.forEach(t),ou=m(Ys),sr=o(Ys,"TD",{});var n0=l(sr);lr=o(n0,"CODE",{});var o0=l(lr);ru=c(o0,"string"),o0.forEach(t),n0.forEach(t),iu=m(Ys),nr=o(Ys,"TD",{});var r0=l(nr);or=o(r0,"CODE",{});var i0=l(or);cu=c(i0,"sdt-action-btn sdt-today-btn"),i0.forEach(t),r0.forEach(t),du=m(Ys),rr=o(Ys,"TD",{});var c0=l(rr);uu=c(c0,"today button css classes"),c0.forEach(t),Ys.forEach(t),fu=m(te),zt=o(te,"TR",{});var Ns=l(zt);ir=o(Ns,"TD",{});var d0=l(ir);pu=c(d0,"clearBtnClasses"),d0.forEach(t),hu=m(Ns),cr=o(Ns,"TD",{});var u0=l(cr);dr=o(u0,"CODE",{});var f0=l(dr);mu=c(f0,"string"),f0.forEach(t),u0.forEach(t),_u=m(Ns),ur=o(Ns,"TD",{});var p0=l(ur);fr=o(p0,"CODE",{});var h0=l(fr);vu=c(h0,"sdt-action-btn sdt-clear-btn"),h0.forEach(t),p0.forEach(t),gu=m(Ns),pr=o(Ns,"TD",{});var m0=l(pr);Eu=c(m0,"clear button css classes"),m0.forEach(t),Ns.forEach(t),ku=m(te),Ut=o(te,"TR",{});var Rs=l(Ut);hr=o(Rs,"TD",{});var _0=l(hr);yu=c(_0,"todayBtn"),_0.forEach(t),Du=m(Rs),mr=o(Rs,"TD",{});var v0=l(mr);_r=o(v0,"CODE",{});var g0=l(_r);bu=c(g0,"bool"),g0.forEach(t),v0.forEach(t),wu=m(Rs),vr=o(Rs,"TD",{});var E0=l(vr);gr=o(E0,"CODE",{});var k0=l(gr);Tu=c(k0,"true"),k0.forEach(t),E0.forEach(t),Mu=m(Rs),Er=o(Rs,"TD",{});var y0=l(Er);Cu=c(y0,"Show today button"),y0.forEach(t),Rs.forEach(t),Ou=m(te),qt=o(te,"TR",{});var Vs=l(qt);kr=o(Vs,"TD",{});var D0=l(kr);Su=c(D0,"clearBtn"),D0.forEach(t),Iu=m(Vs),yr=o(Vs,"TD",{});var b0=l(yr);Dr=o(b0,"CODE",{});var w0=l(Dr);Fu=c(w0,"bool"),w0.forEach(t),b0.forEach(t),Hu=m(Vs),br=o(Vs,"TD",{});var T0=l(br);wr=o(T0,"CODE",{});var M0=l(wr);Lu=c(M0,"true"),M0.forEach(t),T0.forEach(t),Pu=m(Vs),Tr=o(Vs,"TD",{});var C0=l(Tr);Bu=c(C0,"Show clear button"),C0.forEach(t),Vs.forEach(t),Au=m(te),jt=o(te,"TR",{});var zs=l(jt);Mr=o(zs,"TD",{});var O0=l(Mr);Yu=c(O0,"clearToggle"),O0.forEach(t),Nu=m(zs),Cr=o(zs,"TD",{});var S0=l(Cr);Or=o(S0,"CODE",{});var I0=l(Or);Ru=c(I0,"bool"),I0.forEach(t),S0.forEach(t),Vu=m(zs),Sr=o(zs,"TD",{});var F0=l(Sr);Ir=o(F0,"CODE",{});var H0=l(Ir);zu=c(H0,"true"),H0.forEach(t),F0.forEach(t),Uu=m(zs),Fr=o(zs,"TD",{});var L0=l(Fr);qu=c(L0,"Clear current selection by clicking the same date"),L0.forEach(t),zs.forEach(t),ju=m(te),Gt=o(te,"TR",{});var Us=l(Gt);Hr=o(Us,"TD",{});var P0=l(Hr);Gu=c(P0,"autoclose"),P0.forEach(t),Ju=m(Us),Lr=o(Us,"TD",{});var B0=l(Lr);Pr=o(B0,"CODE",{});var A0=l(Pr);Wu=c(A0,"bool"),A0.forEach(t),B0.forEach(t),Zu=m(Us),Br=o(Us,"TD",{});var Y0=l(Br);Ar=o(Y0,"CODE",{});var N0=l(Ar);Xu=c(N0,"true"),N0.forEach(t),Y0.forEach(t),Qu=m(Us),Il=o(Us,"TD",{});var sd=l(Il);Ku=c(sd,"Hides picker after selection is done. If mode includes "),Yr=o(sd,"EM",{});var R0=l(Yr);xu=c(R0,"time picker"),R0.forEach(t),$u=c(sd,", it closes automatically only after minute selection"),sd.forEach(t),Us.forEach(t),ef=m(te),Jt=o(te,"TR",{});var qs=l(Jt);Nr=o(qs,"TD",{});var V0=l(Nr);tf=c(V0,"i18n"),V0.forEach(t),af=m(qs),Rr=o(qs,"TD",{});var z0=l(Rr);Vr=o(z0,"CODE",{});var U0=l(Vr);sf=c(U0,"object"),U0.forEach(t),z0.forEach(t),lf=m(qs),zr=o(qs,"TD",{});var q0=l(zr);Ur=o(q0,"CODE",{});var j0=l(Ur);nf=c(j0,"en"),j0.forEach(t),q0.forEach(t),of=m(qs),qr=o(qs,"TD",{});var G0=l(qr);rf=c(G0,"localization object, english is by default"),G0.forEach(t),qs.forEach(t),cf=m(te),Wt=o(te,"TR",{});var js=l(Wt);jr=o(js,"TD",{});var J0=l(jr);df=c(J0,"positionFn"),J0.forEach(t),uf=m(js),Gr=o(js,"TD",{});var W0=l(Gr);Jr=o(W0,"CODE",{});var Z0=l(Jr);ff=c(Z0,"function"),Z0.forEach(t),W0.forEach(t),pf=m(js),Wr=o(js,"TD",{});var X0=l(Wr);Zr=o(X0,"EM",{});var Q0=l(Zr);Xr=o(Q0,"CODE",{});var K0=l(Xr);hf=c(K0,"internal"),K0.forEach(t),Q0.forEach(t),X0.forEach(t),mf=m(js),Ue=o(js,"TD",{});var gt=l(Ue);_f=c(gt,"function used to position picker. Used as action. Acceps following object: "),Qr=o(gt,"CODE",{});var x0=l(Qr);vf=c(x0,"{ inputEl, visible}"),x0.forEach(t),gf=c(gt,", where "),Kr=o(gt,"CODE",{});var $0=l(Kr);Ef=c($0,"visible"),$0.forEach(t),kf=c(gt," is "),xr=o(gt,"CODE",{});var ev=l(xr);yf=c(ev,"visible"),ev.forEach(t),Df=c(gt," parameter & "),$r=o(gt,"CODE",{});var tv=l($r);bf=c(tv,"inputEl"),tv.forEach(t),wf=c(gt," is underlying "),ei=o(gt,"CODE",{});var av=l(ei);Tf=c(av,""),av.forEach(t),Mf=c(gt," element"),gt.forEach(t),js.forEach(t),Cf=m(te),Zt=o(te,"TR",{});var Gs=l(Zt);ti=o(Gs,"TD",{});var sv=l(ti);Of=c(sv,"validatorAction"),sv.forEach(t),Sf=m(Gs),ai=o(Gs,"TD",{});var lv=l(ai);si=o(lv,"CODE",{});var nv=l(si);If=c(nv,"array"),nv.forEach(t),lv.forEach(t),Ff=m(Gs),li=o(Gs,"TD",{});var ov=l(li);ni=o(ov,"CODE",{});var rv=l(ni);Hf=c(rv,"null"),rv.forEach(t),ov.forEach(t),Lf=m(Gs),$a=o(Gs,"TD",{});var Eo=l($a);Pf=c(Eo,"Bind validator action for inner "),oi=o(Eo,"CODE",{});var iv=l(oi);Bf=c(iv,""),iv.forEach(t),Af=c(Eo," element. Designed to be used with "),ri=o(Eo,"CODE",{});var cv=l(ri);Yf=c(cv,"svelte-use-form"),cv.forEach(t),Nf=c(Eo,"."),Eo.forEach(t),Gs.forEach(t),te.forEach(t),Kc.forEach(t),Cc=m(y),Xt=o(y,"P",{});var Vl=l(Xt);Rf=c(Vl,"Note: Properties starting by "),ii=o(Vl,"CODE",{});var dv=l(ii);Vf=c(dv,"theme"),dv.forEach(t),zf=c(Vl," to "),ci=o(Vl,"CODE",{});var uv=l(ci);Uf=c(uv,"i18n"),uv.forEach(t),qf=c(Vl," are configurable globally by overriding it in globally available "),di=o(Vl,"CODE",{});var fv=l(di);jf=c(fv,"config"),fv.forEach(t),Vl.forEach(t),Oc=m(y),Fl=o(y,"PRE",{class:!0});var EE=l(Fl);EE.forEach(t),Sc=m(y),yn=o(y,"H3",{});var pv=l(yn);Gf=c(pv,"Format settings"),pv.forEach(t),Ic=m(y),Ye=o(y,"P",{});var Et=l(Ye);Jf=c(Et,"Date format can be defined under "),ui=o(Et,"CODE",{});var hv=l(ui);Wf=c(hv,"formatType"),hv.forEach(t),Zf=c(Et," property. It has two options: "),fi=o(Et,"CODE",{});var mv=l(fi);Xf=c(mv,"standard"),mv.forEach(t),Qf=c(Et," and "),pi=o(Et,"CODE",{});var _v=l(pi);Kf=c(_v,"php"),_v.forEach(t),xf=c(Et,`, where
+`),hi=o(Et,"CODE",{});var vv=l(hi);$f=c(vv,"standard"),vv.forEach(t),ep=c(Et," is the "),mi=o(Et,"EM",{});var gv=l(mi);tp=c(gv,"default"),gv.forEach(t),ap=c(Et,"."),Et.forEach(t),Fc=m(y),Hl=o(y,"H4",{});var im=l(Hl);_i=o(im,"CODE",{});var Ev=l(_i);sp=c(Ev,"standard"),Ev.forEach(t),lp=c(im," format settings:"),im.forEach(t),Hc=m(y),X=o(y,"UL",{});var oe=l(X);Dn=o(oe,"LI",{});var cm=l(Dn);vi=o(cm,"CODE",{});var kv=l(vi);np=c(kv,"d"),kv.forEach(t),op=c(cm," : day of the month without leading zeros"),cm.forEach(t),rp=m(oe),bn=o(oe,"LI",{});var dm=l(bn);gi=o(dm,"CODE",{});var yv=l(gi);ip=c(yv,"dd"),yv.forEach(t),cp=c(dm," : day of the month, 2 digits with leading zeros"),dm.forEach(t),dp=m(oe),wn=o(oe,"LI",{});var um=l(wn);Ei=o(um,"CODE",{});var Dv=l(Ei);up=c(Dv,"D"),Dv.forEach(t),fp=c(um," : short textual representation of a weekday (i18n.daysShort)"),um.forEach(t),pp=m(oe),Tn=o(oe,"LI",{});var fm=l(Tn);ki=o(fm,"CODE",{});var bv=l(ki);hp=c(bv,"DD"),bv.forEach(t),mp=c(fm," : long textual representation of a weekday (i18n.days)"),fm.forEach(t),_p=m(oe),Mn=o(oe,"LI",{});var pm=l(Mn);yi=o(pm,"CODE",{});var wv=l(yi);vp=c(wv,"S"),wv.forEach(t),gp=c(pm," : English ordinal suffix for the day of the month, (i18n.suffix)"),pm.forEach(t),Ep=m(oe),Cn=o(oe,"LI",{});var hm=l(Cn);Di=o(hm,"CODE",{});var Tv=l(Di);kp=c(Tv,"m"),Tv.forEach(t),yp=c(hm," : numeric representation of month without leading zeros"),hm.forEach(t),Dp=m(oe),On=o(oe,"LI",{});var mm=l(On);bi=o(mm,"CODE",{});var Mv=l(bi);bp=c(Mv,"mm"),Mv.forEach(t),wp=c(mm," : numeric representation of the month, 2 digits with leading zeros"),mm.forEach(t),Tp=m(oe),Sn=o(oe,"LI",{});var _m=l(Sn);wi=o(_m,"CODE",{});var Cv=l(wi);Mp=c(Cv,"M"),Cv.forEach(t),Cp=c(_m," : short textual representation of a month, three letters (i18n.monthsShort)"),_m.forEach(t),Op=m(oe),In=o(oe,"LI",{});var vm=l(In);Ti=o(vm,"CODE",{});var Ov=l(Ti);Sp=c(Ov,"MM"),Ov.forEach(t),Ip=c(vm," : full textual representation of a month, such as January or March (i18n.months)"),vm.forEach(t),Fp=m(oe),Fn=o(oe,"LI",{});var gm=l(Fn);Mi=o(gm,"CODE",{});var Sv=l(Mi);Hp=c(Sv,"yy"),Sv.forEach(t),Lp=c(gm," : two digit representation of a year"),gm.forEach(t),Pp=m(oe),Hn=o(oe,"LI",{});var Em=l(Hn);Ci=o(Em,"CODE",{});var Iv=l(Ci);Bp=c(Iv,"yyyy"),Iv.forEach(t),Ap=c(Em," : full numeric representation of a year, 4 digits"),Em.forEach(t),Yp=m(oe),Ln=o(oe,"LI",{});var km=l(Ln);Oi=o(km,"CODE",{});var Fv=l(Oi);Np=c(Fv,"h"),Fv.forEach(t),Rp=c(km," : hour without leading zeros - 24-hour format"),km.forEach(t),Vp=m(oe),Pn=o(oe,"LI",{});var ym=l(Pn);Si=o(ym,"CODE",{});var Hv=l(Si);zp=c(Hv,"hh"),Hv.forEach(t),Up=c(ym," : hour, 2 digits with leading zeros - 24-hour format"),ym.forEach(t),qp=m(oe),Bn=o(oe,"LI",{});var Dm=l(Bn);Ii=o(Dm,"CODE",{});var Lv=l(Ii);jp=c(Lv,"H"),Lv.forEach(t),Gp=c(Dm," : hour without leading zeros - 12-hour format"),Dm.forEach(t),Jp=m(oe),An=o(oe,"LI",{});var bm=l(An);Fi=o(bm,"CODE",{});var Pv=l(Fi);Wp=c(Pv,"HH"),Pv.forEach(t),Zp=c(bm," : hour, 2 digits with leading zeros - 12-hour format"),bm.forEach(t),Xp=m(oe),Yn=o(oe,"LI",{});var wm=l(Yn);Hi=o(wm,"CODE",{});var Bv=l(Hi);Qp=c(Bv,"i"),Bv.forEach(t),Kp=c(wm," : minutes, 2 digits with leading zeros"),wm.forEach(t),xp=m(oe),Ll=o(oe,"LI",{});var ld=l(Ll);Li=o(ld,"CODE",{});var Av=l(Li);$p=c(Av,"ii"),Av.forEach(t),eh=c(ld," : alias for "),Pi=o(ld,"CODE",{});var Yv=l(Pi);th=c(Yv,"i"),Yv.forEach(t),ld.forEach(t),ah=m(oe),Nn=o(oe,"LI",{});var Tm=l(Nn);Bi=o(Tm,"CODE",{});var Nv=l(Bi);sh=c(Nv,"s"),Nv.forEach(t),lh=c(Tm," : seconds, 2 digits with leading zeros"),Tm.forEach(t),nh=m(oe),Pl=o(oe,"LI",{});var nd=l(Pl);Ai=o(nd,"CODE",{});var Rv=l(Ai);oh=c(Rv,"ss"),Rv.forEach(t),rh=c(nd," : alias for "),Yi=o(nd,"CODE",{});var Vv=l(Yi);ih=c(Vv,"s"),Vv.forEach(t),nd.forEach(t),ch=m(oe),Rn=o(oe,"LI",{});var Mm=l(Rn);Ni=o(Mm,"CODE",{});var zv=l(Ni);dh=c(zv,"p"),zv.forEach(t),uh=c(Mm," : meridian in lower case (\u2018am\u2019 or \u2018pm\u2019) - according to locale file (i18n.meridiem)"),Mm.forEach(t),fh=m(oe),Vn=o(oe,"LI",{});var Cm=l(Vn);Ri=o(Cm,"CODE",{});var Uv=l(Ri);ph=c(Uv,"P"),Uv.forEach(t),hh=c(Cm," : meridian in upper case (\u2018AM\u2019 or \u2018PM\u2019) - according to locale file (i18n.meridiem)"),Cm.forEach(t),mh=m(oe),gs=o(oe,"LI",{});var kc=l(gs);Vi=o(kc,"CODE",{});var qv=l(Vi);_h=c(qv,"t"),qv.forEach(t),vh=c(kc," : timestamp in milliseconds (although milliseconds are always 0). For timestamp in seconds use "),zi=o(kc,"CODE",{});var jv=l(zi);gh=c(jv,"php"),jv.forEach(t),Eh=c(kc," format"),kc.forEach(t),oe.forEach(t),Lc=m(y),Bl=o(y,"H4",{});var Om=l(Bl);Ui=o(Om,"CODE",{});var Gv=l(Ui);kh=c(Gv,"php"),Gv.forEach(t),yh=c(Om," format settings:"),Om.forEach(t),Pc=m(y),ee=o(y,"UL",{});var re=l(ee);zn=o(re,"LI",{});var Sm=l(zn);qi=o(Sm,"CODE",{});var Jv=l(qi);Dh=c(Jv,"d"),Jv.forEach(t),bh=c(Sm," : Day of the month, 2 digits with leading zeros 01 to 31"),Sm.forEach(t),wh=m(re),Un=o(re,"LI",{});var Im=l(Un);ji=o(Im,"CODE",{});var Wv=l(ji);Th=c(Wv,"D"),Wv.forEach(t),Mh=c(Im," : A textual representation of a day, three letters Mon through Sun"),Im.forEach(t),Ch=m(re),qn=o(re,"LI",{});var Fm=l(qn);Gi=o(Fm,"CODE",{});var Zv=l(Gi);Oh=c(Zv,"j"),Zv.forEach(t),Sh=c(Fm," : Day of the month without leading zeros 1 to 31"),Fm.forEach(t),Ih=m(re),jn=o(re,"LI",{});var Hm=l(jn);Ji=o(Hm,"CODE",{});var Xv=l(Ji);Fh=c(Xv,"l"),Xv.forEach(t),Hh=c(Hm," : A full textual representation of the day of the week Sunday through Saturday"),Hm.forEach(t),Lh=m(re),Gn=o(re,"LI",{});var Lm=l(Gn);Wi=o(Lm,"CODE",{});var Qv=l(Wi);Ph=c(Qv,"N"),Qv.forEach(t),Bh=c(Lm," : ISO 8601 numeric representation of the day of the week 1 (for Monday) through 7 (for Sunday)"),Lm.forEach(t),Ah=m(re),Jn=o(re,"LI",{});var Pm=l(Jn);Zi=o(Pm,"CODE",{});var Kv=l(Zi);Yh=c(Kv,"S"),Kv.forEach(t),Nh=c(Pm," : English ordinal suffix for the day of the month, 2 characters st, nd, rd or th. Works well with j"),Pm.forEach(t),Rh=m(re),Wn=o(re,"LI",{});var Bm=l(Wn);Xi=o(Bm,"CODE",{});var xv=l(Xi);Vh=c(xv,"F"),xv.forEach(t),zh=c(Bm," : A full textual representation of a month, such as January or March January through December"),Bm.forEach(t),Uh=m(re),Zn=o(re,"LI",{});var Am=l(Zn);Qi=o(Am,"CODE",{});var $v=l(Qi);qh=c($v,"m"),$v.forEach(t),jh=c(Am," : Numeric representation of a month, with leading zeros 01 through 12"),Am.forEach(t),Gh=m(re),Xn=o(re,"LI",{});var Ym=l(Xn);Ki=o(Ym,"CODE",{});var eg=l(Ki);Jh=c(eg,"M"),eg.forEach(t),Wh=c(Ym," : A short textual representation of a month, three letters Jan through Dec"),Ym.forEach(t),Zh=m(re),Qn=o(re,"LI",{});var Nm=l(Qn);xi=o(Nm,"CODE",{});var tg=l(xi);Xh=c(tg,"n"),tg.forEach(t),Qh=c(Nm," : Numeric representation of a month, without leading zeros 1 through 12"),Nm.forEach(t),Kh=m(re),Kn=o(re,"LI",{});var Rm=l(Kn);$i=o(Rm,"CODE",{});var ag=l($i);xh=c(ag,"Y"),ag.forEach(t),$h=c(Rm," : A full numeric representation of a year, at least 4 digits, with - for years BCE. Examples: -0055, 0787, 1999, 2003"),Rm.forEach(t),e1=m(re),xn=o(re,"LI",{});var Vm=l(xn);ec=o(Vm,"CODE",{});var sg=l(ec);t1=c(sg,"y"),sg.forEach(t),a1=c(Vm," : A two digit representation of a year Examples: 99 or 03"),Vm.forEach(t),s1=m(re),$n=o(re,"LI",{});var zm=l($n);tc=o(zm,"CODE",{});var lg=l(tc);l1=c(lg,"a"),lg.forEach(t),n1=c(zm," : Lowercase Ante meridiem and Post meridiem am or pm"),zm.forEach(t),o1=m(re),eo=o(re,"LI",{});var Um=l(eo);ac=o(Um,"CODE",{});var ng=l(ac);r1=c(ng,"A"),ng.forEach(t),i1=c(Um," : Uppercase Ante meridiem and Post meridiem AM or PM"),Um.forEach(t),c1=m(re),to=o(re,"LI",{});var qm=l(to);sc=o(qm,"CODE",{});var og=l(sc);d1=c(og,"g"),og.forEach(t),u1=c(qm," : 12-hour format of an hour without leading zeros 1 through 12"),qm.forEach(t),f1=m(re),ao=o(re,"LI",{});var jm=l(ao);lc=o(jm,"CODE",{});var rg=l(lc);p1=c(rg,"G"),rg.forEach(t),h1=c(jm," : 24-hour format of an hour without leading zeros 0 through 23"),jm.forEach(t),m1=m(re),so=o(re,"LI",{});var Gm=l(so);nc=o(Gm,"CODE",{});var ig=l(nc);_1=c(ig,"h"),ig.forEach(t),v1=c(Gm," : 12-hour format of an hour with leading zeros 01 through 12"),Gm.forEach(t),g1=m(re),lo=o(re,"LI",{});var Jm=l(lo);oc=o(Jm,"CODE",{});var cg=l(oc);E1=c(cg,"H"),cg.forEach(t),k1=c(Jm," : 24-hour format of an hour with leading zeros 00 through 23"),Jm.forEach(t),y1=m(re),no=o(re,"LI",{});var Wm=l(no);rc=o(Wm,"CODE",{});var dg=l(rc);D1=c(dg,"i"),dg.forEach(t),b1=c(Wm," : Minutes with leading zeros 00 to 59"),Wm.forEach(t),w1=m(re),oo=o(re,"LI",{});var Zm=l(oo);ic=o(Zm,"CODE",{});var ug=l(ic);T1=c(ug,"s"),ug.forEach(t),M1=c(Zm," : Seconds with leading zeros 00 through 59"),Zm.forEach(t),C1=m(re),Es=o(re,"LI",{});var yc=l(Es);cc=o(yc,"CODE",{});var fg=l(cc);O1=c(fg,"U"),fg.forEach(t),S1=c(yc," : timestamp in seconds. For timestamp with miliseconds use "),dc=o(yc,"CODE",{});var pg=l(dc);I1=c(pg,"standard"),pg.forEach(t),F1=c(yc," format"),yc.forEach(t),re.forEach(t),Bc=m(y),ro=o(y,"H3",{});var hg=l(ro);H1=c(hg,"CSS variables"),hg.forEach(t),Ac=m(y),Al=o(y,"PRE",{class:!0});var kE=l(Al);kE.forEach(t),Yc=m(y),io=o(y,"H2",{});var mg=l(io);L1=c(mg,"\u{1F5EF}\uFE0F Events"),mg.forEach(t),Nc=m(y),vt=o(y,"P",{});var Js=l(vt);P1=c(Js,"Component emits "),uc=o(Js,"CODE",{});var _g=l(uc);B1=c(_g,"input"),_g.forEach(t),A1=c(Js,", "),fc=o(Js,"CODE",{});var vg=l(fc);Y1=c(vg,"change"),vg.forEach(t),N1=c(Js," and "),pc=o(Js,"CODE",{});var gg=l(pc);R1=c(gg,"blur"),gg.forEach(t),V1=c(Js," events."),Js.forEach(t),Rc=m(y),ks=o(y,"UL",{});var od=l(ks);ys=o(od,"LI",{});var Dc=l(ys);hc=o(Dc,"CODE",{});var Eg=l(hc);z1=c(Eg,"input"),Eg.forEach(t),U1=c(Dc," is dispatched on "),mc=o(Dc,"CODE",{});var kg=l(mc);q1=c(kg,""),kg.forEach(t),j1=c(Dc," element therefore you can get current value like from every native event:"),Dc.forEach(t),G1=m(od),va=o(od,"LI",{});var zl=l(va);_c=o(zl,"CODE",{});var yg=l(_c);J1=c(yg,"change"),yg.forEach(t),W1=c(zl," event is using Svelte\u2019s "),vc=o(zl,"CODE",{});var Dg=l(vc);Z1=c(Dg,"eventDispatcher"),Dg.forEach(t),X1=c(zl,", therefore triggered event contains "),gc=o(zl,"CODE",{});var bg=l(gc);Q1=c(bg,"detail"),bg.forEach(t),K1=c(zl," property"),zl.forEach(t),od.forEach(t),Vc=m(y),Yl=o(y,"PRE",{class:!0});var yE=l(Yl);yE.forEach(t),zc=m(y),co=o(y,"H2",{});var wg=l(co);x1=c(wg,"\u{1F310} Localization"),wg.forEach(t),Uc=m(y),uo=o(y,"P",{});var Tg=l(uo);$1=c(Tg,"Localization file has following structure."),Tg.forEach(t),qc=m(y),Nl=o(y,"PRE",{class:!0});var DE=l(Nl);DE.forEach(t),jc=m(y),fo=o(y,"P",{});var Mg=l(fo);em=c(Mg,"PRs for extending built-in localization are welcome \u{1F973}"),Mg.forEach(t),Gc=m(y),po=o(y,"H2",{});var Cg=l(po);tm=c(Cg,"\u{1F3C6} Thanks to:"),Cg.forEach(t),Jc=m(y),ho=o(y,"UL",{});var Og=l(ho);mo=o(Og,"LI",{});var Xm=l(mo);Rl=o(Xm,"A",{href:!0,rel:!0});var Sg=l(Rl);am=c(Sg,"Bootstrap datepicker"),Sg.forEach(t),sm=c(Xm," for some internal date and format handling"),Xm.forEach(t),Og.forEach(t),Wc=m(y),_o=o(y,"H2",{});var Ig=l(_o);lm=c(Ig,"Licence:"),Ig.forEach(t),Zc=m(y),vo=o(y,"P",{});var Fg=l(vo);nm=c(Fg,"MIT"),Fg.forEach(t),this.h()},h(){a2(u.src,f="http://img.shields.io/npm/v/svelty-picker.svg?style=flat")||D(u,"src",f),D(u,"alt","NPM version"),D(d,"href","https://www.npmjs.org/package/svelty-picker"),D(d,"rel","nofollow"),a2(qe.src,$e="https://raw.githubusercontent.com/mskocik/svelty-picker/main/docs/screenshot.png")||D(qe,"src",$e),D(qe,"alt","screenshot"),D(et,"class","language-undefined"),D(Se,"class","language-svelte"),D(yt,"href","https://svelte.dev/repl/98fd362aad6049f4b38606820baff0b0?version=3.44.1"),D(yt,"rel","nofollow"),D(En,"href","#css-variables"),D(kn,"href","#format-settings"),D(Fl,"class","language-js"),D(Al,"class","language-css"),D(Yl,"class","language-js"),D(Nl,"class","language-js"),D(Rl,"href","https://github.com/smalot/bootstrap-datetimepicker/blob/master/js/bootstrap-datetimepicker.js"),D(Rl,"rel","nofollow")},m(y,Y){F(y,a,Y),e(a,s),e(a,d),e(d,u),F(y,E,Y),F(y,_,Y),e(_,v),F(y,p,Y),F(y,k,Y),e(k,g),F(y,T,Y),F(y,b,Y),e(b,M),e(M,V),e(b,H),e(b,J),e(J,L),e(b,C),e(b,P),e(P,A),e(b,O),e(b,j),e(j,R),e(b,U),e(b,ie),e(ie,Z),e(ie,q),e(q,Q),e(ie,G),e(b,le),e(b,he),e(he,ge),e(b,K),e(b,fe),e(fe,B),e(b,w),e(b,S),e(S,ue),e(S,me),e(me,N),e(S,x),e(S,z),e(z,se),e(S,_e),e(b,ce),e(b,$),e($,we),F(y,Oe,Y),F(y,lt,Y),e(lt,qe),F(y,Te,Y),F(y,Me,Y),e(Me,kt),F(y,nt,Y),F(y,et,Y),et.innerHTML=xs,F(y,ot,Y),F(y,rt,Y),e(rt,ga),F(y,aa,Y),F(y,Se,Y),Se.innerHTML=I,F(y,ye,Y),F(y,De,Y),e(De,$s),e(De,yt),e(yt,sa),e(De,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,G1),e(ks,va),e(va,_c),e(_c,J1),e(va,W1),e(va,vc),e(vc,Z1),e(va,X1),e(va,gc),e(gc,Q1),e(va,K1),F(y,Vc,Y),F(y,Yl,Y),Yl.innerHTML=mE,F(y,zc,Y),F(y,co,Y),e(co,x1),F(y,Uc,Y),F(y,uo,Y),e(uo,$1),F(y,qc,Y),F(y,Nl,Y),Nl.innerHTML=_E,F(y,jc,Y),F(y,fo,Y),e(fo,em),F(y,Gc,Y),F(y,po,Y),e(po,tm),F(y,Jc,Y),F(y,ho,Y),e(ho,mo),e(mo,Rl),e(Rl,am),e(mo,sm),F(y,Wc,Y),F(y,_o,Y),e(_o,lm),F(y,Zc,Y),F(y,vo,Y),e(vo,nm)},p:Qm,i:Qm,o:Qm,d(y){y&&t(a),y&&t(E),y&&t(_),y&&t(p),y&&t(k),y&&t(T),y&&t(b),y&&t(Oe),y&&t(lt),y&&t(Te),y&&t(Me),y&&t(nt),y&&t(et),y&&t(ot),y&&t(rt),y&&t(aa),y&&t(Se),y&&t(ye),y&&t(De),y&&t(es),y&&t(Fe),y&&t(ts),y&&t(Ee),y&&t(Cc),y&&t(Xt),y&&t(Oc),y&&t(Fl),y&&t(Sc),y&&t(yn),y&&t(Ic),y&&t(Ye),y&&t(Fc),y&&t(Hl),y&&t(Hc),y&&t(X),y&&t(Lc),y&&t(Bl),y&&t(Pc),y&&t(ee),y&&t(Bc),y&&t(ro),y&&t(Ac),y&&t(Al),y&&t(Yc),y&&t(io),y&&t(Nc),y&&t(vt),y&&t(Rc),y&&t(ks),y&&t(Vc),y&&t(Yl),y&&t(zc),y&&t(co),y&&t(Uc),y&&t(uo),y&&t(qc),y&&t(Nl),y&&t(jc),y&&t(fo),y&&t(Gc),y&&t(po),y&&t(Jc),y&&t(ho),y&&t(Wc),y&&t(_o),y&&t(Zc),y&&t(vo)}}}class FE extends bo{constructor(a){super(),wo(this,a,null,IE,To,{})}}const HE={days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],daysShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat","Sun"],daysMin:["Su","Mo","Tu","We","Th","Fr","Sa","Su"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],monthsShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],meridiem:["am","pm"],suffix:["st","nd","rd","th"],todayBtn:"Today",clearBtn:"Clear",timeView:"Show time view",backToDate:"Back to calendar view"},LE={theme:"sdt-calendar-colors",mode:"auto",format:"yyyy-mm-dd",formatType:"standard",weekStart:1,inputClasses:"",todayBtnClasses:"sdt-action-btn sdt-today-btn",clearBtnClasses:"sdt-action-btn sdt-clear-btn",todayBtn:!0,clearBtn:!0,autoclose:!0,clearToggle:!0,i18n:HE};function PE(r){const a=r-1;return a*a*a+1}function Xs(r,{delay:a=0,duration:s=400,easing:d=bE}={}){const u=+getComputedStyle(r).opacity;return{delay:a,duration:s,easing:d,css:f=>`opacity: ${f*u}`}}const dd=0,Mc=1,wc=2;function rd(r,a,s,d,u){if(s===dd){const j=[];let R=[],U=r.getFullYear()-r.getFullYear()%10-1;for(let Z=0;Z<12;Z++)R.push(U+Z),R.length===4&&(j.push(R),R=[]);let ie=null;return a||(a=new Date),a.getFullYear()>=U&&(ie=a.getFullYear()%U),{years:j,todayMark:-1,nextFrom:11,prevTo:1,selectionMark:ie}}if(s===Mc){let P=[],A=[],O=12,j=24;const R=r.toISOString().split("T")[0].substring(0,8),U=new Date(R+"01 00:00:00"),ie=U.getFullYear()-1;U.setFullYear(ie);let Z=0;for(let Q=0;Q<3;Q++){for(let G=0;G<12;G++)U.setMonth(G),A.push(d.monthsShort[G%12]),A.length===4&&(P.push(A),A=[]);U.setFullYear(U.getFullYear()+1)}let q=null;return a||(a=new Date),a.getFullYear()-ie>=0&&a.getFullYear()-ie<=2&&(q=a.getMonth()+(a.getFullYear()-ie||0)*12),{months:P,todayMark:Z,nextFrom:j,prevTo:O,selectionMark:q}}let f=r||new Date,E=f.getFullYear(),_=f.getMonth();f.getDate(),f.getHours();let v=new Date,p=new Date(E,_-1,28,0,0,0,0),k=o2.getDaysInMonth(p.getFullYear(),p.getMonth());p.setDate(k),p.setDate(k-(p.getDay()-u+7)%7);let g=new Date(p);g.setDate(g.getDate()+42);let T=g.valueOf(),b=[],M=[],V=-1,H=null,J=0,L=42,C=0;for(;p.valueOf()npm install svelty-picker
',ot,rt,ma,ta,Fe,I=`<script>
- import SveltyPicker from 'svelty-picker'
-
- let myDate = '2021-11-11';
-</script>
-
-<SveltyPicker inputClasses="form-control" format="yyyy-mm-dd hh:ii" bind:value={myDate}></SveltyPicker>
`,ye,be,$s,kt,aa,en,Ja,Pe,tn,Wa,Ee,_a,He,va,an,ga,Ea,sn,ka,ya,nn,ba,Da,ln,wa,W,Ne,yt,on,rn,Ta,Le,cn,Ma,Ca,Oa,Sa,dn,bt,un,qe,je,fn,Ia,Ve,Fa,Ha,pn,Aa,Pa,Dt,hn,tt,La,sa,mn,wt,na,Ge,Tt,_n,Mt,Re,Je,vn,it,Ba,ct,Ct,gn,Ya,dt,Ot,En,at,kn,ut,yn,bn,ft,Me,We,la,Dn,Na,Be,wn,St,Va,Ce,Tn,It,Ft,Ht,Ra,Mn,Za,Cn,Ze,On,xn,wo,Xa,Sn,$n,re,oe,pt,oa,ra,At,Qa,el,Xe,ia,tl,Ka,xa,za,In,Ua,$a,es,al,sl,st,nl,ts,ll,ol,Qe,ca,ht,da,as,rl,Fn,mt,il,Oe,ss,ns,cl,dl,Ke,ls,ua,ul,os,rs,fa,is,fl,Hn,cs,ds,us,An,Ae,qa,pl,Pn,fs,pa,hl,ps,hs,ja,ms,ml,To,ud,fd,Pt,Mo,pd,hd,Co,Oo,md,_d,So,Io,vd,gd,_l,Ed,vl,kd,yd,Lt,Fo,bd,Dd,Ho,Ao,wd,Td,Po,Lo,Md,Cd,Bo,Od,Sd,Bt,Yo,Id,Fd,No,Vo,Hd,Ad,Ro,zo,Pd,Ld,Ln,Bd,gl,Yd,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hc,J1,W1,mc,Z1,X1,_c,Q1,K1,Nc,qn,gE=`<script>
-function onInput(event) {
- console.log(event.target.value) // logs currently selected date or empty string
-}
-
-function onChange(event) {
- console.log(event.detail) // logs currently selected date or null
-}
-</script>
-
-<SveltyPicker on:input={onInput} on:change={onChange}></SveltyPicker>
`,Vc,ro,x1,Rc,io,$1,zc,jn,EE=`export const en = {
- days: ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday', 'Sunday'],
- daysShort: ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun'],
- daysMin: ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa', 'Su'],
- months: ['January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December'],
- monthsShort: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'],
- meridiem: ['am', 'pm'],
- suffix: ['st', 'nd', 'rd', 'th'],
- todayBtn: 'Today',
- clearBtn: 'Clear',
- timeView: 'Show time view',
- backToDate: 'Back to calendar view'
-}
`,Uc,co,em,qc,uo,tm,jc,fo,po,Gn,am,sm,Gc,ho,nm,Jc,mo,lm;return{c(){a=l("h1"),s=i("\u{1F4C6} Svelty Picker "),d=l("a"),u=l("img"),g=h(),_=l("p"),v=i("Simple date & time picker implemented in svelte."),p=h(),k=l("p"),E=i("Features:"),T=h(),D=l("ul"),M=l("li"),R=i("datepicker"),H=h(),J=l("li"),A=i("timepicker (with meridian support)"),O=h(),P=l("li"),B=i("various formatting options"),C=h(),j=l("li"),V=i("keyboard navigation"),U=h(),ce=l("li"),Z=i("includes "),q=l("code"),Q=i(""),G=i(" element"),ne=h(),he=l("li"),ge=i("easily themable"),K=h(),fe=l("li"),L=i("restriction by start and end date"),w=h(),S=l("li"),ue=i("validator action for "),me=l("code"),N=i(""),x=i(" using "),z=l("code"),se=i("svelte-use-forms"),_e=i(" (optional)"),de=h(),$=l("li"),De=i("custom element"),Ie=h(),nt=l("p"),Ue=l("img"),we=h(),Te=l("h2"),Et=i("\u2699\uFE0F Install"),lt=h(),et=l("pre"),ot=h(),rt=l("h2"),ma=i("\u{1F440} Example"),ta=h(),Fe=l("pre"),ye=h(),be=l("p"),$s=i("Try yourself in "),kt=l("a"),aa=i("REPL"),en=i("."),Ja=h(),Pe=l("h2"),tn=i("\u{1F4D3} Options"),Wa=h(),Ee=l("table"),_a=l("thead"),He=l("tr"),va=l("th"),an=i("Property"),ga=h(),Ea=l("th"),sn=i("Type"),ka=h(),ya=l("th"),nn=i("Default"),ba=h(),Da=l("th"),ln=i("Description"),wa=h(),W=l("tbody"),Ne=l("tr"),yt=l("td"),on=i("name"),rn=h(),Ta=l("td"),Le=l("code"),cn=i("string"),Ma=h(),Ca=l("td"),Oa=l("code"),Sa=i("date"),dn=h(),bt=l("td"),un=i("html attribute for underlying "),qe=l("code"),je=i(""),fn=i(" element"),Ia=h(),Ve=l("tr"),Fa=l("td"),Ha=i("disabled"),pn=h(),Aa=l("td"),Pa=l("code"),Dt=i("bool"),hn=h(),tt=l("td"),La=l("code"),sa=i("false"),mn=h(),wt=l("td"),na=i("html attribute for underlying "),Ge=l("code"),Tt=i(""),_n=i(" element"),Mt=h(),Re=l("tr"),Je=l("td"),vn=i("placeholder"),it=h(),Ba=l("td"),ct=l("code"),Ct=i("string"),gn=h(),Ya=l("td"),dt=l("code"),Ot=i("null"),En=h(),at=l("td"),kn=i("html attribute for underlying "),ut=l("code"),yn=i(""),bn=i(" element"),ft=h(),Me=l("tr"),We=l("td"),la=i("required"),Dn=h(),Na=l("td"),Be=l("code"),wn=i("bool"),St=h(),Va=l("td"),Ce=l("code"),Tn=i("false"),It=h(),Ft=l("td"),Ht=i("html attribute for underlying "),Ra=l("code"),Mn=i(""),Za=i(" element"),Cn=h(),Ze=l("tr"),On=l("td"),xn=i("value"),wo=h(),Xa=l("td"),Sn=l("code"),$n=i("string"),re=h(),oe=l("td"),pt=l("code"),oa=i("null"),ra=h(),At=l("td"),Qa=i("string representation of selected value"),el=h(),Xe=l("tr"),ia=l("td"),tl=i("initialDate"),Ka=h(),xa=l("td"),za=l("code"),In=i("Date"),Ua=h(),$a=l("td"),es=l("code"),al=i("null"),sl=h(),st=l("td"),nl=i("initial date object, if you prefer that to "),ts=l("code"),ll=i("value"),ol=h(),Qe=l("tr"),ca=l("td"),ht=i("startDate"),da=h(),as=l("td"),rl=i("`string"),Fn=h(),mt=l("td"),il=i("Date`"),Oe=h(),ss=l("td"),ns=l("code"),cl=i("null"),dl=h(),Ke=l("tr"),ls=l("td"),ua=i("endDate"),ul=h(),os=l("td"),rs=i("`string"),fa=h(),is=l("td"),fl=i("Date`"),Hn=h(),cs=l("td"),ds=l("code"),us=i("null"),An=h(),Ae=l("tr"),qa=l("td"),pl=i("pickerOnly"),Pn=h(),fs=l("td"),pa=l("code"),hl=i("bool"),ps=h(),hs=l("td"),ja=l("code"),ms=i("false"),ml=h(),To=l("td"),ud=i("Picker is always visible and input field is then hidden, but still present"),fd=h(),Pt=l("tr"),Mo=l("td"),pd=i("theme"),hd=h(),Co=l("td"),Oo=l("code"),md=i("string"),_d=h(),So=l("td"),Io=l("code"),vd=i("sdt-calendar-colors"),gd=h(),_l=l("td"),Ed=i("css class defining "),vl=l("a"),kd=i("css variables"),yd=h(),Lt=l("tr"),Fo=l("td"),bd=i("mode"),Dd=h(),Ho=l("td"),Ao=l("code"),wd=i("string"),Td=h(),Po=l("td"),Lo=l("code"),Md=i("auto"),Cd=h(),Bo=l("td"),Od=i("restrict picker\u2019s mode. Possible values: `auto"),Sd=h(),Bt=l("tr"),Yo=l("td"),Id=i("format"),Fd=h(),No=l("td"),Vo=l("code"),Hd=i("string"),Ad=h(),Ro=l("td"),zo=l("code"),Pd=i("yyyy-mm-dd"),Ld=h(),Ln=l("td"),Bd=i("Format of entered date/time. See "),gl=l("a"),Yd=i("format settings"),Nd=i(" for available options"),Vd=h(),Yt=l("tr"),Uo=l("td"),Rd=i("weekStart"),zd=h(),qo=l("td"),jo=l("code"),Ud=i("number"),qd=h(),Go=l("td"),Jo=l("code"),jd=i("1"),Gd=h(),_s=l("td"),Jd=i("number in range "),Wo=l("code"),Wd=i("0-6"),Zd=i(" to select first day of the week. Sunday is "),Zo=l("code"),Xd=i("0"),Qd=h(),Nt=l("tr"),Xo=l("td"),Kd=i("inputClasses"),xd=h(),Qo=l("td"),Ko=l("code"),$d=i("string"),eu=h(),xo=l("td"),tu=i("\u201C"),au=h(),$o=l("td"),su=i("input css class string"),nu=h(),Vt=l("tr"),er=l("td"),lu=i("todayBtnClasses"),ou=h(),tr=l("td"),ar=l("code"),ru=i("string"),iu=h(),sr=l("td"),nr=l("code"),cu=i("sdt-action-btn sdt-today-btn"),du=h(),lr=l("td"),uu=i("today button css classes"),fu=h(),Rt=l("tr"),or=l("td"),pu=i("clearBtnClasses"),hu=h(),rr=l("td"),ir=l("code"),mu=i("string"),_u=h(),cr=l("td"),dr=l("code"),vu=i("sdt-action-btn sdt-clear-btn"),gu=h(),ur=l("td"),Eu=i("clear button css classes"),ku=h(),zt=l("tr"),fr=l("td"),yu=i("todayBtn"),bu=h(),pr=l("td"),hr=l("code"),Du=i("bool"),wu=h(),mr=l("td"),_r=l("code"),Tu=i("true"),Mu=h(),vr=l("td"),Cu=i("Show today button"),Ou=h(),Ut=l("tr"),gr=l("td"),Su=i("clearBtn"),Iu=h(),Er=l("td"),kr=l("code"),Fu=i("bool"),Hu=h(),yr=l("td"),br=l("code"),Au=i("true"),Pu=h(),Dr=l("td"),Lu=i("Show clear button"),Bu=h(),qt=l("tr"),wr=l("td"),Yu=i("clearToggle"),Nu=h(),Tr=l("td"),Mr=l("code"),Vu=i("bool"),Ru=h(),Cr=l("td"),Or=l("code"),zu=i("true"),Uu=h(),Sr=l("td"),qu=i("Clear current selection by clicking the same date"),ju=h(),jt=l("tr"),Ir=l("td"),Gu=i("autoclose"),Ju=h(),Fr=l("td"),Hr=l("code"),Wu=i("bool"),Zu=h(),Ar=l("td"),Pr=l("code"),Xu=i("true"),Qu=h(),Bn=l("td"),Ku=i("Hides picker after selection is done. If mode includes "),Lr=l("em"),xu=i("time picker"),$u=i(", it closes automatically only after minute selection"),ef=h(),Gt=l("tr"),Br=l("td"),tf=i("i18n"),af=h(),Yr=l("td"),Nr=l("code"),sf=i("object"),nf=h(),Vr=l("td"),Rr=l("code"),lf=i("en"),of=h(),zr=l("td"),rf=i("localization object, english is by default"),cf=h(),Jt=l("tr"),Ur=l("td"),df=i("positionFn"),uf=h(),qr=l("td"),jr=l("code"),ff=i("function"),pf=h(),Gr=l("td"),Jr=l("em"),Wr=l("code"),hf=i("internal"),mf=h(),ze=l("td"),_f=i("function used to position picker. Used as action. Acceps following object: "),Zr=l("code"),vf=i("{ inputEl, visible}"),gf=i(", where "),Xr=l("code"),Ef=i("visible"),kf=i(" is "),Qr=l("code"),yf=i("visible"),bf=i(" parameter & "),Kr=l("code"),Df=i("inputEl"),wf=i(" is underlying "),xr=l("code"),Tf=i(""),Mf=i(" element"),Cf=h(),Wt=l("tr"),$r=l("td"),Of=i("validatorAction"),Sf=h(),ei=l("td"),ti=l("code"),If=i("array"),Ff=h(),ai=l("td"),si=l("code"),Hf=i("null"),Af=h(),Ga=l("td"),Pf=i("Bind validator action for inner "),ni=l("code"),Lf=i(""),Bf=i(" element. Designed to be used with "),li=l("code"),Yf=i("svelte-use-form"),Nf=i("."),Tc=h(),Zt=l("p"),Vf=i("Note: Properties starting by "),oi=l("code"),Rf=i("theme"),zf=i(" to "),ri=l("code"),Uf=i("i18n"),qf=i(" are configurable globally by overriding it in globally available "),ii=l("code"),jf=i("config"),Mc=h(),Yn=l("pre"),Cc=h(),El=l("h3"),Gf=i("Format settings"),Oc=h(),Ye=l("p"),Jf=i("Date format can be defined under "),ci=l("code"),Wf=i("formatType"),Zf=i(" property. It has two options: "),di=l("code"),Xf=i("standard"),Qf=i(" and "),ui=l("code"),Kf=i("php"),xf=i(`, where
-`),fi=l("code"),$f=i("standard"),ep=i(" is the "),pi=l("em"),tp=i("default"),ap=i("."),Sc=h(),Nn=l("h4"),hi=l("code"),sp=i("standard"),np=i(" format settings:"),Ic=h(),X=l("ul"),kl=l("li"),mi=l("code"),lp=i("d"),op=i(" : day of the month without leading zeros"),rp=h(),yl=l("li"),_i=l("code"),ip=i("dd"),cp=i(" : day of the month, 2 digits with leading zeros"),dp=h(),bl=l("li"),vi=l("code"),up=i("D"),fp=i(" : short textual representation of a weekday (i18n.daysShort)"),pp=h(),Dl=l("li"),gi=l("code"),hp=i("DD"),mp=i(" : long textual representation of a weekday (i18n.days)"),_p=h(),wl=l("li"),Ei=l("code"),vp=i("S"),gp=i(" : English ordinal suffix for the day of the month, (i18n.suffix)"),Ep=h(),Tl=l("li"),ki=l("code"),kp=i("m"),yp=i(" : numeric representation of month without leading zeros"),bp=h(),Ml=l("li"),yi=l("code"),Dp=i("mm"),wp=i(" : numeric representation of the month, 2 digits with leading zeros"),Tp=h(),Cl=l("li"),bi=l("code"),Mp=i("M"),Cp=i(" : short textual representation of a month, three letters (i18n.monthsShort)"),Op=h(),Ol=l("li"),Di=l("code"),Sp=i("MM"),Ip=i(" : full textual representation of a month, such as January or March (i18n.months)"),Fp=h(),Sl=l("li"),wi=l("code"),Hp=i("yy"),Ap=i(" : two digit representation of a year"),Pp=h(),Il=l("li"),Ti=l("code"),Lp=i("yyyy"),Bp=i(" : full numeric representation of a year, 4 digits"),Yp=h(),Fl=l("li"),Mi=l("code"),Np=i("h"),Vp=i(" : hour without leading zeros - 24-hour format"),Rp=h(),Hl=l("li"),Ci=l("code"),zp=i("hh"),Up=i(" : hour, 2 digits with leading zeros - 24-hour format"),qp=h(),Al=l("li"),Oi=l("code"),jp=i("H"),Gp=i(" : hour without leading zeros - 12-hour format"),Jp=h(),Pl=l("li"),Si=l("code"),Wp=i("HH"),Zp=i(" : hour, 2 digits with leading zeros - 12-hour format"),Xp=h(),Ll=l("li"),Ii=l("code"),Qp=i("i"),Kp=i(" : minutes, 2 digits with leading zeros"),xp=h(),Vn=l("li"),Fi=l("code"),$p=i("ii"),eh=i(" : alias for "),Hi=l("code"),th=i("i"),ah=h(),Bl=l("li"),Ai=l("code"),sh=i("s"),nh=i(" : seconds, 2 digits with leading zeros"),lh=h(),Rn=l("li"),Pi=l("code"),oh=i("ss"),rh=i(" : alias for "),Li=l("code"),ih=i("s"),ch=h(),Yl=l("li"),Bi=l("code"),dh=i("p"),uh=i(" : meridian in lower case (\u2018am\u2019 or \u2018pm\u2019) - according to locale file (i18n.meridiem)"),fh=h(),Nl=l("li"),Yi=l("code"),ph=i("P"),hh=i(" : meridian in upper case (\u2018AM\u2019 or \u2018PM\u2019) - according to locale file (i18n.meridiem)"),mh=h(),vs=l("li"),Ni=l("code"),_h=i("t"),vh=i(" : timestamp in milliseconds (although milliseconds are always 0). For timestamp in seconds use "),Vi=l("code"),gh=i("php"),Eh=i(" format"),Fc=h(),zn=l("h4"),Ri=l("code"),kh=i("php"),yh=i(" format settings:"),Hc=h(),ee=l("ul"),Vl=l("li"),zi=l("code"),bh=i("d"),Dh=i(" : Day of the month, 2 digits with leading zeros 01 to 31"),wh=h(),Rl=l("li"),Ui=l("code"),Th=i("D"),Mh=i(" : A textual representation of a day, three letters Mon through Sun"),Ch=h(),zl=l("li"),qi=l("code"),Oh=i("j"),Sh=i(" : Day of the month without leading zeros 1 to 31"),Ih=h(),Ul=l("li"),ji=l("code"),Fh=i("l"),Hh=i(" : A full textual representation of the day of the week Sunday through Saturday"),Ah=h(),ql=l("li"),Gi=l("code"),Ph=i("N"),Lh=i(" : ISO 8601 numeric representation of the day of the week 1 (for Monday) through 7 (for Sunday)"),Bh=h(),jl=l("li"),Ji=l("code"),Yh=i("S"),Nh=i(" : English ordinal suffix for the day of the month, 2 characters st, nd, rd or th. Works well with j"),Vh=h(),Gl=l("li"),Wi=l("code"),Rh=i("F"),zh=i(" : A full textual representation of a month, such as January or March January through December"),Uh=h(),Jl=l("li"),Zi=l("code"),qh=i("m"),jh=i(" : Numeric representation of a month, with leading zeros 01 through 12"),Gh=h(),Wl=l("li"),Xi=l("code"),Jh=i("M"),Wh=i(" : A short textual representation of a month, three letters Jan through Dec"),Zh=h(),Zl=l("li"),Qi=l("code"),Xh=i("n"),Qh=i(" : Numeric representation of a month, without leading zeros 1 through 12"),Kh=h(),Xl=l("li"),Ki=l("code"),xh=i("Y"),$h=i(" : A full numeric representation of a year, at least 4 digits, with - for years BCE. Examples: -0055, 0787, 1999, 2003"),e1=h(),Ql=l("li"),xi=l("code"),t1=i("y"),a1=i(" : A two digit representation of a year Examples: 99 or 03"),s1=h(),Kl=l("li"),$i=l("code"),n1=i("a"),l1=i(" : Lowercase Ante meridiem and Post meridiem am or pm"),o1=h(),xl=l("li"),ec=l("code"),r1=i("A"),i1=i(" : Uppercase Ante meridiem and Post meridiem AM or PM"),c1=h(),$l=l("li"),tc=l("code"),d1=i("g"),u1=i(" : 12-hour format of an hour without leading zeros 1 through 12"),f1=h(),eo=l("li"),ac=l("code"),p1=i("G"),h1=i(" : 24-hour format of an hour without leading zeros 0 through 23"),m1=h(),to=l("li"),sc=l("code"),_1=i("h"),v1=i(" : 12-hour format of an hour with leading zeros 01 through 12"),g1=h(),ao=l("li"),nc=l("code"),E1=i("H"),k1=i(" : 24-hour format of an hour with leading zeros 00 through 23"),y1=h(),so=l("li"),lc=l("code"),b1=i("i"),D1=i(" : Minutes with leading zeros 00 to 59"),w1=h(),no=l("li"),oc=l("code"),T1=i("s"),M1=i(" : Seconds with leading zeros 00 through 59"),C1=h(),gs=l("li"),rc=l("code"),O1=i("U"),S1=i(" : timestamp in seconds. For timestamp with miliseconds use "),ic=l("code"),I1=i("standard"),F1=i(" format"),Ac=h(),lo=l("h3"),H1=i("CSS variables"),Pc=h(),Un=l("pre"),Lc=h(),oo=l("h2"),A1=i("\u{1F5EF}\uFE0F Events"),Bc=h(),_t=l("p"),P1=i("Component emits "),cc=l("code"),L1=i("input"),B1=i(", "),dc=l("code"),Y1=i("change"),N1=i(" and "),uc=l("code"),V1=i("blur"),R1=i(" events."),Yc=h(),Es=l("ul"),ks=l("li"),fc=l("code"),z1=i("input"),U1=i(" is dispatched on "),pc=l("code"),q1=i(""),j1=i(" element therefore you can get current value like from every native event:"),G1=h(),ha=l("li"),hc=l("code"),J1=i("change"),W1=i(" event is using Svelte\u2019s "),mc=l("code"),Z1=i("eventDispatcher"),X1=i(", therefore triggered event contains "),_c=l("code"),Q1=i("detail"),K1=i(" property"),Nc=h(),qn=l("pre"),Vc=h(),ro=l("h2"),x1=i("\u{1F310} Localization"),Rc=h(),io=l("p"),$1=i("Localization file has following structure."),zc=h(),jn=l("pre"),Uc=h(),co=l("p"),em=i("PRs for extending built-in localization are welcome \u{1F973}"),qc=h(),uo=l("h2"),tm=i("\u{1F3C6} Thanks to:"),jc=h(),fo=l("ul"),po=l("li"),Gn=l("a"),am=i("Bootstrap datepicker"),sm=i(" for some internal date and format handling"),Gc=h(),ho=l("h2"),nm=i("Licence:"),Jc=h(),mo=l("p"),lm=i("MIT"),this.h()},l(y){a=o(y,"H1",{});var Y=n(a);s=c(Y,"\u{1F4C6} Svelty Picker "),d=o(Y,"A",{href:!0,rel:!0});var c2=n(d);u=o(c2,"IMG",{src:!0,alt:!0}),c2.forEach(t),Y.forEach(t),g=m(y),_=o(y,"P",{});var d2=n(_);v=c(d2,"Simple date & time picker implemented in svelte."),d2.forEach(t),p=m(y),k=o(y,"P",{});var u2=n(k);E=c(u2,"Features:"),u2.forEach(t),T=m(y),D=o(y,"UL",{});var Se=n(D);M=o(Se,"LI",{});var f2=n(M);R=c(f2,"datepicker"),f2.forEach(t),H=m(Se),J=o(Se,"LI",{});var p2=n(J);A=c(p2,"timepicker (with meridian support)"),p2.forEach(t),O=m(Se),P=o(Se,"LI",{});var h2=n(P);B=c(h2,"various formatting options"),h2.forEach(t),C=m(Se),j=o(Se,"LI",{});var m2=n(j);V=c(m2,"keyboard navigation"),m2.forEach(t),U=m(Se),ce=o(Se,"LI",{});var Wc=n(ce);Z=c(Wc,"includes "),q=o(Wc,"CODE",{});var _2=n(q);Q=c(_2,""),_2.forEach(t),G=c(Wc," element"),Wc.forEach(t),ne=m(Se),he=o(Se,"LI",{});var v2=n(he);ge=c(v2,"easily themable"),v2.forEach(t),K=m(Se),fe=o(Se,"LI",{});var g2=n(fe);L=c(g2,"restriction by start and end date"),g2.forEach(t),w=m(Se),S=o(Se,"LI",{});var _o=n(S);ue=c(_o,"validator action for "),me=o(_o,"CODE",{});var E2=n(me);N=c(E2,""),E2.forEach(t),x=c(_o," using "),z=o(_o,"CODE",{});var k2=n(z);se=c(k2,"svelte-use-forms"),k2.forEach(t),_e=c(_o," (optional)"),_o.forEach(t),de=m(Se),$=o(Se,"LI",{});var y2=n($);De=c(y2,"custom element"),y2.forEach(t),Se.forEach(t),Ie=m(y),nt=o(y,"P",{});var b2=n(nt);Ue=o(b2,"IMG",{src:!0,alt:!0}),b2.forEach(t),we=m(y),Te=o(y,"H2",{});var D2=n(Te);Et=c(D2,"\u2699\uFE0F Install"),D2.forEach(t),lt=m(y),et=o(y,"PRE",{class:!0});var kE=n(et);kE.forEach(t),ot=m(y),rt=o(y,"H2",{});var w2=n(rt);ma=c(w2,"\u{1F440} Example"),w2.forEach(t),ta=m(y),Fe=o(y,"PRE",{class:!0});var yE=n(Fe);yE.forEach(t),ye=m(y),be=o(y,"P",{});var Zc=n(be);$s=c(Zc,"Try yourself in "),kt=o(Zc,"A",{href:!0,rel:!0});var T2=n(kt);aa=c(T2,"REPL"),T2.forEach(t),en=c(Zc,"."),Zc.forEach(t),Ja=m(y),Pe=o(y,"H2",{});var M2=n(Pe);tn=c(M2,"\u{1F4D3} Options"),M2.forEach(t),Wa=m(y),Ee=o(y,"TABLE",{});var Xc=n(Ee);_a=o(Xc,"THEAD",{});var C2=n(_a);He=o(C2,"TR",{});var ys=n(He);va=o(ys,"TH",{});var O2=n(va);an=c(O2,"Property"),O2.forEach(t),ga=m(ys),Ea=o(ys,"TH",{});var S2=n(Ea);sn=c(S2,"Type"),S2.forEach(t),ka=m(ys),ya=o(ys,"TH",{});var I2=n(ya);nn=c(I2,"Default"),I2.forEach(t),ba=m(ys),Da=o(ys,"TH",{});var F2=n(Da);ln=c(F2,"Description"),F2.forEach(t),ys.forEach(t),C2.forEach(t),wa=m(Xc),W=o(Xc,"TBODY",{});var te=n(W);Ne=o(te,"TR",{});var bs=n(Ne);yt=o(bs,"TD",{});var H2=n(yt);on=c(H2,"name"),H2.forEach(t),rn=m(bs),Ta=o(bs,"TD",{});var A2=n(Ta);Le=o(A2,"CODE",{});var P2=n(Le);cn=c(P2,"string"),P2.forEach(t),A2.forEach(t),Ma=m(bs),Ca=o(bs,"TD",{});var L2=n(Ca);Oa=o(L2,"CODE",{});var B2=n(Oa);Sa=c(B2,"date"),B2.forEach(t),L2.forEach(t),dn=m(bs),bt=o(bs,"TD",{});var Qc=n(bt);un=c(Qc,"html attribute for underlying "),qe=o(Qc,"CODE",{});var Y2=n(qe);je=c(Y2,""),Y2.forEach(t),fn=c(Qc," element"),Qc.forEach(t),bs.forEach(t),Ia=m(te),Ve=o(te,"TR",{});var Ds=n(Ve);Fa=o(Ds,"TD",{});var N2=n(Fa);Ha=c(N2,"disabled"),N2.forEach(t),pn=m(Ds),Aa=o(Ds,"TD",{});var V2=n(Aa);Pa=o(V2,"CODE",{});var R2=n(Pa);Dt=c(R2,"bool"),R2.forEach(t),V2.forEach(t),hn=m(Ds),tt=o(Ds,"TD",{});var z2=n(tt);La=o(z2,"CODE",{});var U2=n(La);sa=c(U2,"false"),U2.forEach(t),z2.forEach(t),mn=m(Ds),wt=o(Ds,"TD",{});var Kc=n(wt);na=c(Kc,"html attribute for underlying "),Ge=o(Kc,"CODE",{});var q2=n(Ge);Tt=c(q2,""),q2.forEach(t),_n=c(Kc," element"),Kc.forEach(t),Ds.forEach(t),Mt=m(te),Re=o(te,"TR",{});var ws=n(Re);Je=o(ws,"TD",{});var j2=n(Je);vn=c(j2,"placeholder"),j2.forEach(t),it=m(ws),Ba=o(ws,"TD",{});var G2=n(Ba);ct=o(G2,"CODE",{});var J2=n(ct);Ct=c(J2,"string"),J2.forEach(t),G2.forEach(t),gn=m(ws),Ya=o(ws,"TD",{});var W2=n(Ya);dt=o(W2,"CODE",{});var Z2=n(dt);Ot=c(Z2,"null"),Z2.forEach(t),W2.forEach(t),En=m(ws),at=o(ws,"TD",{});var xc=n(at);kn=c(xc,"html attribute for underlying "),ut=o(xc,"CODE",{});var X2=n(ut);yn=c(X2,""),X2.forEach(t),bn=c(xc," element"),xc.forEach(t),ws.forEach(t),ft=m(te),Me=o(te,"TR",{});var Ts=n(Me);We=o(Ts,"TD",{});var Q2=n(We);la=c(Q2,"required"),Q2.forEach(t),Dn=m(Ts),Na=o(Ts,"TD",{});var K2=n(Na);Be=o(K2,"CODE",{});var x2=n(Be);wn=c(x2,"bool"),x2.forEach(t),K2.forEach(t),St=m(Ts),Va=o(Ts,"TD",{});var $2=n(Va);Ce=o($2,"CODE",{});var e_=n(Ce);Tn=c(e_,"false"),e_.forEach(t),$2.forEach(t),It=m(Ts),Ft=o(Ts,"TD",{});var $c=n(Ft);Ht=c($c,"html attribute for underlying "),Ra=o($c,"CODE",{});var t_=n(Ra);Mn=c(t_,""),t_.forEach(t),Za=c($c," element"),$c.forEach(t),Ts.forEach(t),Cn=m(te),Ze=o(te,"TR",{});var Ms=n(Ze);On=o(Ms,"TD",{});var a_=n(On);xn=c(a_,"value"),a_.forEach(t),wo=m(Ms),Xa=o(Ms,"TD",{});var s_=n(Xa);Sn=o(s_,"CODE",{});var n_=n(Sn);$n=c(n_,"string"),n_.forEach(t),s_.forEach(t),re=m(Ms),oe=o(Ms,"TD",{});var l_=n(oe);pt=o(l_,"CODE",{});var o_=n(pt);oa=c(o_,"null"),o_.forEach(t),l_.forEach(t),ra=m(Ms),At=o(Ms,"TD",{});var r_=n(At);Qa=c(r_,"string representation of selected value"),r_.forEach(t),Ms.forEach(t),el=m(te),Xe=o(te,"TR",{});var Cs=n(Xe);ia=o(Cs,"TD",{});var i_=n(ia);tl=c(i_,"initialDate"),i_.forEach(t),Ka=m(Cs),xa=o(Cs,"TD",{});var c_=n(xa);za=o(c_,"CODE",{});var d_=n(za);In=c(d_,"Date"),d_.forEach(t),c_.forEach(t),Ua=m(Cs),$a=o(Cs,"TD",{});var u_=n($a);es=o(u_,"CODE",{});var f_=n(es);al=c(f_,"null"),f_.forEach(t),u_.forEach(t),sl=m(Cs),st=o(Cs,"TD",{});var om=n(st);nl=c(om,"initial date object, if you prefer that to "),ts=o(om,"CODE",{});var p_=n(ts);ll=c(p_,"value"),p_.forEach(t),om.forEach(t),Cs.forEach(t),ol=m(te),Qe=o(te,"TR",{});var Os=n(Qe);ca=o(Os,"TD",{});var h_=n(ca);ht=c(h_,"startDate"),h_.forEach(t),da=m(Os),as=o(Os,"TD",{});var m_=n(as);rl=c(m_,"`string"),m_.forEach(t),Fn=m(Os),mt=o(Os,"TD",{});var __=n(mt);il=c(__,"Date`"),__.forEach(t),Oe=m(Os),ss=o(Os,"TD",{});var v_=n(ss);ns=o(v_,"CODE",{});var g_=n(ns);cl=c(g_,"null"),g_.forEach(t),v_.forEach(t),Os.forEach(t),dl=m(te),Ke=o(te,"TR",{});var Ss=n(Ke);ls=o(Ss,"TD",{});var E_=n(ls);ua=c(E_,"endDate"),E_.forEach(t),ul=m(Ss),os=o(Ss,"TD",{});var k_=n(os);rs=c(k_,"`string"),k_.forEach(t),fa=m(Ss),is=o(Ss,"TD",{});var y_=n(is);fl=c(y_,"Date`"),y_.forEach(t),Hn=m(Ss),cs=o(Ss,"TD",{});var b_=n(cs);ds=o(b_,"CODE",{});var D_=n(ds);us=c(D_,"null"),D_.forEach(t),b_.forEach(t),Ss.forEach(t),An=m(te),Ae=o(te,"TR",{});var Is=n(Ae);qa=o(Is,"TD",{});var w_=n(qa);pl=c(w_,"pickerOnly"),w_.forEach(t),Pn=m(Is),fs=o(Is,"TD",{});var T_=n(fs);pa=o(T_,"CODE",{});var M_=n(pa);hl=c(M_,"bool"),M_.forEach(t),T_.forEach(t),ps=m(Is),hs=o(Is,"TD",{});var C_=n(hs);ja=o(C_,"CODE",{});var O_=n(ja);ms=c(O_,"false"),O_.forEach(t),C_.forEach(t),ml=m(Is),To=o(Is,"TD",{});var S_=n(To);ud=c(S_,"Picker is always visible and input field is then hidden, but still present"),S_.forEach(t),Is.forEach(t),fd=m(te),Pt=o(te,"TR",{});var Fs=n(Pt);Mo=o(Fs,"TD",{});var I_=n(Mo);pd=c(I_,"theme"),I_.forEach(t),hd=m(Fs),Co=o(Fs,"TD",{});var F_=n(Co);Oo=o(F_,"CODE",{});var H_=n(Oo);md=c(H_,"string"),H_.forEach(t),F_.forEach(t),_d=m(Fs),So=o(Fs,"TD",{});var A_=n(So);Io=o(A_,"CODE",{});var P_=n(Io);vd=c(P_,"sdt-calendar-colors"),P_.forEach(t),A_.forEach(t),gd=m(Fs),_l=o(Fs,"TD",{});var rm=n(_l);Ed=c(rm,"css class defining "),vl=o(rm,"A",{href:!0});var L_=n(vl);kd=c(L_,"css variables"),L_.forEach(t),rm.forEach(t),Fs.forEach(t),yd=m(te),Lt=o(te,"TR",{});var Hs=n(Lt);Fo=o(Hs,"TD",{});var B_=n(Fo);bd=c(B_,"mode"),B_.forEach(t),Dd=m(Hs),Ho=o(Hs,"TD",{});var Y_=n(Ho);Ao=o(Y_,"CODE",{});var N_=n(Ao);wd=c(N_,"string"),N_.forEach(t),Y_.forEach(t),Td=m(Hs),Po=o(Hs,"TD",{});var V_=n(Po);Lo=o(V_,"CODE",{});var R_=n(Lo);Md=c(R_,"auto"),R_.forEach(t),V_.forEach(t),Cd=m(Hs),Bo=o(Hs,"TD",{});var z_=n(Bo);Od=c(z_,"restrict picker\u2019s mode. Possible values: `auto"),z_.forEach(t),Hs.forEach(t),Sd=m(te),Bt=o(te,"TR",{});var As=n(Bt);Yo=o(As,"TD",{});var U_=n(Yo);Id=c(U_,"format"),U_.forEach(t),Fd=m(As),No=o(As,"TD",{});var q_=n(No);Vo=o(q_,"CODE",{});var j_=n(Vo);Hd=c(j_,"string"),j_.forEach(t),q_.forEach(t),Ad=m(As),Ro=o(As,"TD",{});var G_=n(Ro);zo=o(G_,"CODE",{});var J_=n(zo);Pd=c(J_,"yyyy-mm-dd"),J_.forEach(t),G_.forEach(t),Ld=m(As),Ln=o(As,"TD",{});var ed=n(Ln);Bd=c(ed,"Format of entered date/time. See "),gl=o(ed,"A",{href:!0});var W_=n(gl);Yd=c(W_,"format settings"),W_.forEach(t),Nd=c(ed," for available options"),ed.forEach(t),As.forEach(t),Vd=m(te),Yt=o(te,"TR",{});var Ps=n(Yt);Uo=o(Ps,"TD",{});var Z_=n(Uo);Rd=c(Z_,"weekStart"),Z_.forEach(t),zd=m(Ps),qo=o(Ps,"TD",{});var X_=n(qo);jo=o(X_,"CODE",{});var Q_=n(jo);Ud=c(Q_,"number"),Q_.forEach(t),X_.forEach(t),qd=m(Ps),Go=o(Ps,"TD",{});var K_=n(Go);Jo=o(K_,"CODE",{});var x_=n(Jo);jd=c(x_,"1"),x_.forEach(t),K_.forEach(t),Gd=m(Ps),_s=o(Ps,"TD",{});var vc=n(_s);Jd=c(vc,"number in range "),Wo=o(vc,"CODE",{});var $_=n(Wo);Wd=c($_,"0-6"),$_.forEach(t),Zd=c(vc," to select first day of the week. Sunday is "),Zo=o(vc,"CODE",{});var ev=n(Zo);Xd=c(ev,"0"),ev.forEach(t),vc.forEach(t),Ps.forEach(t),Qd=m(te),Nt=o(te,"TR",{});var Ls=n(Nt);Xo=o(Ls,"TD",{});var tv=n(Xo);Kd=c(tv,"inputClasses"),tv.forEach(t),xd=m(Ls),Qo=o(Ls,"TD",{});var av=n(Qo);Ko=o(av,"CODE",{});var sv=n(Ko);$d=c(sv,"string"),sv.forEach(t),av.forEach(t),eu=m(Ls),xo=o(Ls,"TD",{});var nv=n(xo);tu=c(nv,"\u201C"),nv.forEach(t),au=m(Ls),$o=o(Ls,"TD",{});var lv=n($o);su=c(lv,"input css class string"),lv.forEach(t),Ls.forEach(t),nu=m(te),Vt=o(te,"TR",{});var Bs=n(Vt);er=o(Bs,"TD",{});var ov=n(er);lu=c(ov,"todayBtnClasses"),ov.forEach(t),ou=m(Bs),tr=o(Bs,"TD",{});var rv=n(tr);ar=o(rv,"CODE",{});var iv=n(ar);ru=c(iv,"string"),iv.forEach(t),rv.forEach(t),iu=m(Bs),sr=o(Bs,"TD",{});var cv=n(sr);nr=o(cv,"CODE",{});var dv=n(nr);cu=c(dv,"sdt-action-btn sdt-today-btn"),dv.forEach(t),cv.forEach(t),du=m(Bs),lr=o(Bs,"TD",{});var uv=n(lr);uu=c(uv,"today button css classes"),uv.forEach(t),Bs.forEach(t),fu=m(te),Rt=o(te,"TR",{});var Ys=n(Rt);or=o(Ys,"TD",{});var fv=n(or);pu=c(fv,"clearBtnClasses"),fv.forEach(t),hu=m(Ys),rr=o(Ys,"TD",{});var pv=n(rr);ir=o(pv,"CODE",{});var hv=n(ir);mu=c(hv,"string"),hv.forEach(t),pv.forEach(t),_u=m(Ys),cr=o(Ys,"TD",{});var mv=n(cr);dr=o(mv,"CODE",{});var _v=n(dr);vu=c(_v,"sdt-action-btn sdt-clear-btn"),_v.forEach(t),mv.forEach(t),gu=m(Ys),ur=o(Ys,"TD",{});var vv=n(ur);Eu=c(vv,"clear button css classes"),vv.forEach(t),Ys.forEach(t),ku=m(te),zt=o(te,"TR",{});var Ns=n(zt);fr=o(Ns,"TD",{});var gv=n(fr);yu=c(gv,"todayBtn"),gv.forEach(t),bu=m(Ns),pr=o(Ns,"TD",{});var Ev=n(pr);hr=o(Ev,"CODE",{});var kv=n(hr);Du=c(kv,"bool"),kv.forEach(t),Ev.forEach(t),wu=m(Ns),mr=o(Ns,"TD",{});var yv=n(mr);_r=o(yv,"CODE",{});var bv=n(_r);Tu=c(bv,"true"),bv.forEach(t),yv.forEach(t),Mu=m(Ns),vr=o(Ns,"TD",{});var Dv=n(vr);Cu=c(Dv,"Show today button"),Dv.forEach(t),Ns.forEach(t),Ou=m(te),Ut=o(te,"TR",{});var Vs=n(Ut);gr=o(Vs,"TD",{});var wv=n(gr);Su=c(wv,"clearBtn"),wv.forEach(t),Iu=m(Vs),Er=o(Vs,"TD",{});var Tv=n(Er);kr=o(Tv,"CODE",{});var Mv=n(kr);Fu=c(Mv,"bool"),Mv.forEach(t),Tv.forEach(t),Hu=m(Vs),yr=o(Vs,"TD",{});var Cv=n(yr);br=o(Cv,"CODE",{});var Ov=n(br);Au=c(Ov,"true"),Ov.forEach(t),Cv.forEach(t),Pu=m(Vs),Dr=o(Vs,"TD",{});var Sv=n(Dr);Lu=c(Sv,"Show clear button"),Sv.forEach(t),Vs.forEach(t),Bu=m(te),qt=o(te,"TR",{});var Rs=n(qt);wr=o(Rs,"TD",{});var Iv=n(wr);Yu=c(Iv,"clearToggle"),Iv.forEach(t),Nu=m(Rs),Tr=o(Rs,"TD",{});var Fv=n(Tr);Mr=o(Fv,"CODE",{});var Hv=n(Mr);Vu=c(Hv,"bool"),Hv.forEach(t),Fv.forEach(t),Ru=m(Rs),Cr=o(Rs,"TD",{});var Av=n(Cr);Or=o(Av,"CODE",{});var Pv=n(Or);zu=c(Pv,"true"),Pv.forEach(t),Av.forEach(t),Uu=m(Rs),Sr=o(Rs,"TD",{});var Lv=n(Sr);qu=c(Lv,"Clear current selection by clicking the same date"),Lv.forEach(t),Rs.forEach(t),ju=m(te),jt=o(te,"TR",{});var zs=n(jt);Ir=o(zs,"TD",{});var Bv=n(Ir);Gu=c(Bv,"autoclose"),Bv.forEach(t),Ju=m(zs),Fr=o(zs,"TD",{});var Yv=n(Fr);Hr=o(Yv,"CODE",{});var Nv=n(Hr);Wu=c(Nv,"bool"),Nv.forEach(t),Yv.forEach(t),Zu=m(zs),Ar=o(zs,"TD",{});var Vv=n(Ar);Pr=o(Vv,"CODE",{});var Rv=n(Pr);Xu=c(Rv,"true"),Rv.forEach(t),Vv.forEach(t),Qu=m(zs),Bn=o(zs,"TD",{});var td=n(Bn);Ku=c(td,"Hides picker after selection is done. If mode includes "),Lr=o(td,"EM",{});var zv=n(Lr);xu=c(zv,"time picker"),zv.forEach(t),$u=c(td,", it closes automatically only after minute selection"),td.forEach(t),zs.forEach(t),ef=m(te),Gt=o(te,"TR",{});var Us=n(Gt);Br=o(Us,"TD",{});var Uv=n(Br);tf=c(Uv,"i18n"),Uv.forEach(t),af=m(Us),Yr=o(Us,"TD",{});var qv=n(Yr);Nr=o(qv,"CODE",{});var jv=n(Nr);sf=c(jv,"object"),jv.forEach(t),qv.forEach(t),nf=m(Us),Vr=o(Us,"TD",{});var Gv=n(Vr);Rr=o(Gv,"CODE",{});var Jv=n(Rr);lf=c(Jv,"en"),Jv.forEach(t),Gv.forEach(t),of=m(Us),zr=o(Us,"TD",{});var Wv=n(zr);rf=c(Wv,"localization object, english is by default"),Wv.forEach(t),Us.forEach(t),cf=m(te),Jt=o(te,"TR",{});var qs=n(Jt);Ur=o(qs,"TD",{});var Zv=n(Ur);df=c(Zv,"positionFn"),Zv.forEach(t),uf=m(qs),qr=o(qs,"TD",{});var Xv=n(qr);jr=o(Xv,"CODE",{});var Qv=n(jr);ff=c(Qv,"function"),Qv.forEach(t),Xv.forEach(t),pf=m(qs),Gr=o(qs,"TD",{});var Kv=n(Gr);Jr=o(Kv,"EM",{});var xv=n(Jr);Wr=o(xv,"CODE",{});var $v=n(Wr);hf=c($v,"internal"),$v.forEach(t),xv.forEach(t),Kv.forEach(t),mf=m(qs),ze=o(qs,"TD",{});var vt=n(ze);_f=c(vt,"function used to position picker. Used as action. Acceps following object: "),Zr=o(vt,"CODE",{});var e0=n(Zr);vf=c(e0,"{ inputEl, visible}"),e0.forEach(t),gf=c(vt,", where "),Xr=o(vt,"CODE",{});var t0=n(Xr);Ef=c(t0,"visible"),t0.forEach(t),kf=c(vt," is "),Qr=o(vt,"CODE",{});var a0=n(Qr);yf=c(a0,"visible"),a0.forEach(t),bf=c(vt," parameter & "),Kr=o(vt,"CODE",{});var s0=n(Kr);Df=c(s0,"inputEl"),s0.forEach(t),wf=c(vt," is underlying "),xr=o(vt,"CODE",{});var n0=n(xr);Tf=c(n0,""),n0.forEach(t),Mf=c(vt," element"),vt.forEach(t),qs.forEach(t),Cf=m(te),Wt=o(te,"TR",{});var js=n(Wt);$r=o(js,"TD",{});var l0=n($r);Of=c(l0,"validatorAction"),l0.forEach(t),Sf=m(js),ei=o(js,"TD",{});var o0=n(ei);ti=o(o0,"CODE",{});var r0=n(ti);If=c(r0,"array"),r0.forEach(t),o0.forEach(t),Ff=m(js),ai=o(js,"TD",{});var i0=n(ai);si=o(i0,"CODE",{});var c0=n(si);Hf=c(c0,"null"),c0.forEach(t),i0.forEach(t),Af=m(js),Ga=o(js,"TD",{});var vo=n(Ga);Pf=c(vo,"Bind validator action for inner "),ni=o(vo,"CODE",{});var d0=n(ni);Lf=c(d0,""),d0.forEach(t),Bf=c(vo," element. Designed to be used with "),li=o(vo,"CODE",{});var u0=n(li);Yf=c(u0,"svelte-use-form"),u0.forEach(t),Nf=c(vo,"."),vo.forEach(t),js.forEach(t),te.forEach(t),Xc.forEach(t),Tc=m(y),Zt=o(y,"P",{});var Jn=n(Zt);Vf=c(Jn,"Note: Properties starting by "),oi=o(Jn,"CODE",{});var f0=n(oi);Rf=c(f0,"theme"),f0.forEach(t),zf=c(Jn," to "),ri=o(Jn,"CODE",{});var p0=n(ri);Uf=c(p0,"i18n"),p0.forEach(t),qf=c(Jn," are configurable globally by overriding it in globally available "),ii=o(Jn,"CODE",{});var h0=n(ii);jf=c(h0,"config"),h0.forEach(t),Jn.forEach(t),Mc=m(y),Yn=o(y,"PRE",{class:!0});var bE=n(Yn);bE.forEach(t),Cc=m(y),El=o(y,"H3",{});var m0=n(El);Gf=c(m0,"Format settings"),m0.forEach(t),Oc=m(y),Ye=o(y,"P",{});var gt=n(Ye);Jf=c(gt,"Date format can be defined under "),ci=o(gt,"CODE",{});var _0=n(ci);Wf=c(_0,"formatType"),_0.forEach(t),Zf=c(gt," property. It has two options: "),di=o(gt,"CODE",{});var v0=n(di);Xf=c(v0,"standard"),v0.forEach(t),Qf=c(gt," and "),ui=o(gt,"CODE",{});var g0=n(ui);Kf=c(g0,"php"),g0.forEach(t),xf=c(gt,`, where
-`),fi=o(gt,"CODE",{});var E0=n(fi);$f=c(E0,"standard"),E0.forEach(t),ep=c(gt," is the "),pi=o(gt,"EM",{});var k0=n(pi);tp=c(k0,"default"),k0.forEach(t),ap=c(gt,"."),gt.forEach(t),Sc=m(y),Nn=o(y,"H4",{});var im=n(Nn);hi=o(im,"CODE",{});var y0=n(hi);sp=c(y0,"standard"),y0.forEach(t),np=c(im," format settings:"),im.forEach(t),Ic=m(y),X=o(y,"UL",{});var le=n(X);kl=o(le,"LI",{});var cm=n(kl);mi=o(cm,"CODE",{});var b0=n(mi);lp=c(b0,"d"),b0.forEach(t),op=c(cm," : day of the month without leading zeros"),cm.forEach(t),rp=m(le),yl=o(le,"LI",{});var dm=n(yl);_i=o(dm,"CODE",{});var D0=n(_i);ip=c(D0,"dd"),D0.forEach(t),cp=c(dm," : day of the month, 2 digits with leading zeros"),dm.forEach(t),dp=m(le),bl=o(le,"LI",{});var um=n(bl);vi=o(um,"CODE",{});var w0=n(vi);up=c(w0,"D"),w0.forEach(t),fp=c(um," : short textual representation of a weekday (i18n.daysShort)"),um.forEach(t),pp=m(le),Dl=o(le,"LI",{});var fm=n(Dl);gi=o(fm,"CODE",{});var T0=n(gi);hp=c(T0,"DD"),T0.forEach(t),mp=c(fm," : long textual representation of a weekday (i18n.days)"),fm.forEach(t),_p=m(le),wl=o(le,"LI",{});var pm=n(wl);Ei=o(pm,"CODE",{});var M0=n(Ei);vp=c(M0,"S"),M0.forEach(t),gp=c(pm," : English ordinal suffix for the day of the month, (i18n.suffix)"),pm.forEach(t),Ep=m(le),Tl=o(le,"LI",{});var hm=n(Tl);ki=o(hm,"CODE",{});var C0=n(ki);kp=c(C0,"m"),C0.forEach(t),yp=c(hm," : numeric representation of month without leading zeros"),hm.forEach(t),bp=m(le),Ml=o(le,"LI",{});var mm=n(Ml);yi=o(mm,"CODE",{});var O0=n(yi);Dp=c(O0,"mm"),O0.forEach(t),wp=c(mm," : numeric representation of the month, 2 digits with leading zeros"),mm.forEach(t),Tp=m(le),Cl=o(le,"LI",{});var _m=n(Cl);bi=o(_m,"CODE",{});var S0=n(bi);Mp=c(S0,"M"),S0.forEach(t),Cp=c(_m," : short textual representation of a month, three letters (i18n.monthsShort)"),_m.forEach(t),Op=m(le),Ol=o(le,"LI",{});var vm=n(Ol);Di=o(vm,"CODE",{});var I0=n(Di);Sp=c(I0,"MM"),I0.forEach(t),Ip=c(vm," : full textual representation of a month, such as January or March (i18n.months)"),vm.forEach(t),Fp=m(le),Sl=o(le,"LI",{});var gm=n(Sl);wi=o(gm,"CODE",{});var F0=n(wi);Hp=c(F0,"yy"),F0.forEach(t),Ap=c(gm," : two digit representation of a year"),gm.forEach(t),Pp=m(le),Il=o(le,"LI",{});var Em=n(Il);Ti=o(Em,"CODE",{});var H0=n(Ti);Lp=c(H0,"yyyy"),H0.forEach(t),Bp=c(Em," : full numeric representation of a year, 4 digits"),Em.forEach(t),Yp=m(le),Fl=o(le,"LI",{});var km=n(Fl);Mi=o(km,"CODE",{});var A0=n(Mi);Np=c(A0,"h"),A0.forEach(t),Vp=c(km," : hour without leading zeros - 24-hour format"),km.forEach(t),Rp=m(le),Hl=o(le,"LI",{});var ym=n(Hl);Ci=o(ym,"CODE",{});var P0=n(Ci);zp=c(P0,"hh"),P0.forEach(t),Up=c(ym," : hour, 2 digits with leading zeros - 24-hour format"),ym.forEach(t),qp=m(le),Al=o(le,"LI",{});var bm=n(Al);Oi=o(bm,"CODE",{});var L0=n(Oi);jp=c(L0,"H"),L0.forEach(t),Gp=c(bm," : hour without leading zeros - 12-hour format"),bm.forEach(t),Jp=m(le),Pl=o(le,"LI",{});var Dm=n(Pl);Si=o(Dm,"CODE",{});var B0=n(Si);Wp=c(B0,"HH"),B0.forEach(t),Zp=c(Dm," : hour, 2 digits with leading zeros - 12-hour format"),Dm.forEach(t),Xp=m(le),Ll=o(le,"LI",{});var wm=n(Ll);Ii=o(wm,"CODE",{});var Y0=n(Ii);Qp=c(Y0,"i"),Y0.forEach(t),Kp=c(wm," : minutes, 2 digits with leading zeros"),wm.forEach(t),xp=m(le),Vn=o(le,"LI",{});var ad=n(Vn);Fi=o(ad,"CODE",{});var N0=n(Fi);$p=c(N0,"ii"),N0.forEach(t),eh=c(ad," : alias for "),Hi=o(ad,"CODE",{});var V0=n(Hi);th=c(V0,"i"),V0.forEach(t),ad.forEach(t),ah=m(le),Bl=o(le,"LI",{});var Tm=n(Bl);Ai=o(Tm,"CODE",{});var R0=n(Ai);sh=c(R0,"s"),R0.forEach(t),nh=c(Tm," : seconds, 2 digits with leading zeros"),Tm.forEach(t),lh=m(le),Rn=o(le,"LI",{});var sd=n(Rn);Pi=o(sd,"CODE",{});var z0=n(Pi);oh=c(z0,"ss"),z0.forEach(t),rh=c(sd," : alias for "),Li=o(sd,"CODE",{});var U0=n(Li);ih=c(U0,"s"),U0.forEach(t),sd.forEach(t),ch=m(le),Yl=o(le,"LI",{});var Mm=n(Yl);Bi=o(Mm,"CODE",{});var q0=n(Bi);dh=c(q0,"p"),q0.forEach(t),uh=c(Mm," : meridian in lower case (\u2018am\u2019 or \u2018pm\u2019) - according to locale file (i18n.meridiem)"),Mm.forEach(t),fh=m(le),Nl=o(le,"LI",{});var Cm=n(Nl);Yi=o(Cm,"CODE",{});var j0=n(Yi);ph=c(j0,"P"),j0.forEach(t),hh=c(Cm," : meridian in upper case (\u2018AM\u2019 or \u2018PM\u2019) - according to locale file (i18n.meridiem)"),Cm.forEach(t),mh=m(le),vs=o(le,"LI",{});var gc=n(vs);Ni=o(gc,"CODE",{});var G0=n(Ni);_h=c(G0,"t"),G0.forEach(t),vh=c(gc," : timestamp in milliseconds (although milliseconds are always 0). For timestamp in seconds use "),Vi=o(gc,"CODE",{});var J0=n(Vi);gh=c(J0,"php"),J0.forEach(t),Eh=c(gc," format"),gc.forEach(t),le.forEach(t),Fc=m(y),zn=o(y,"H4",{});var Om=n(zn);Ri=o(Om,"CODE",{});var W0=n(Ri);kh=c(W0,"php"),W0.forEach(t),yh=c(Om," format settings:"),Om.forEach(t),Hc=m(y),ee=o(y,"UL",{});var ie=n(ee);Vl=o(ie,"LI",{});var Sm=n(Vl);zi=o(Sm,"CODE",{});var Z0=n(zi);bh=c(Z0,"d"),Z0.forEach(t),Dh=c(Sm," : Day of the month, 2 digits with leading zeros 01 to 31"),Sm.forEach(t),wh=m(ie),Rl=o(ie,"LI",{});var Im=n(Rl);Ui=o(Im,"CODE",{});var X0=n(Ui);Th=c(X0,"D"),X0.forEach(t),Mh=c(Im," : A textual representation of a day, three letters Mon through Sun"),Im.forEach(t),Ch=m(ie),zl=o(ie,"LI",{});var Fm=n(zl);qi=o(Fm,"CODE",{});var Q0=n(qi);Oh=c(Q0,"j"),Q0.forEach(t),Sh=c(Fm," : Day of the month without leading zeros 1 to 31"),Fm.forEach(t),Ih=m(ie),Ul=o(ie,"LI",{});var Hm=n(Ul);ji=o(Hm,"CODE",{});var K0=n(ji);Fh=c(K0,"l"),K0.forEach(t),Hh=c(Hm," : A full textual representation of the day of the week Sunday through Saturday"),Hm.forEach(t),Ah=m(ie),ql=o(ie,"LI",{});var Am=n(ql);Gi=o(Am,"CODE",{});var x0=n(Gi);Ph=c(x0,"N"),x0.forEach(t),Lh=c(Am," : ISO 8601 numeric representation of the day of the week 1 (for Monday) through 7 (for Sunday)"),Am.forEach(t),Bh=m(ie),jl=o(ie,"LI",{});var Pm=n(jl);Ji=o(Pm,"CODE",{});var $0=n(Ji);Yh=c($0,"S"),$0.forEach(t),Nh=c(Pm," : English ordinal suffix for the day of the month, 2 characters st, nd, rd or th. Works well with j"),Pm.forEach(t),Vh=m(ie),Gl=o(ie,"LI",{});var Lm=n(Gl);Wi=o(Lm,"CODE",{});var eg=n(Wi);Rh=c(eg,"F"),eg.forEach(t),zh=c(Lm," : A full textual representation of a month, such as January or March January through December"),Lm.forEach(t),Uh=m(ie),Jl=o(ie,"LI",{});var Bm=n(Jl);Zi=o(Bm,"CODE",{});var tg=n(Zi);qh=c(tg,"m"),tg.forEach(t),jh=c(Bm," : Numeric representation of a month, with leading zeros 01 through 12"),Bm.forEach(t),Gh=m(ie),Wl=o(ie,"LI",{});var Ym=n(Wl);Xi=o(Ym,"CODE",{});var ag=n(Xi);Jh=c(ag,"M"),ag.forEach(t),Wh=c(Ym," : A short textual representation of a month, three letters Jan through Dec"),Ym.forEach(t),Zh=m(ie),Zl=o(ie,"LI",{});var Nm=n(Zl);Qi=o(Nm,"CODE",{});var sg=n(Qi);Xh=c(sg,"n"),sg.forEach(t),Qh=c(Nm," : Numeric representation of a month, without leading zeros 1 through 12"),Nm.forEach(t),Kh=m(ie),Xl=o(ie,"LI",{});var Vm=n(Xl);Ki=o(Vm,"CODE",{});var ng=n(Ki);xh=c(ng,"Y"),ng.forEach(t),$h=c(Vm," : A full numeric representation of a year, at least 4 digits, with - for years BCE. Examples: -0055, 0787, 1999, 2003"),Vm.forEach(t),e1=m(ie),Ql=o(ie,"LI",{});var Rm=n(Ql);xi=o(Rm,"CODE",{});var lg=n(xi);t1=c(lg,"y"),lg.forEach(t),a1=c(Rm," : A two digit representation of a year Examples: 99 or 03"),Rm.forEach(t),s1=m(ie),Kl=o(ie,"LI",{});var zm=n(Kl);$i=o(zm,"CODE",{});var og=n($i);n1=c(og,"a"),og.forEach(t),l1=c(zm," : Lowercase Ante meridiem and Post meridiem am or pm"),zm.forEach(t),o1=m(ie),xl=o(ie,"LI",{});var Um=n(xl);ec=o(Um,"CODE",{});var rg=n(ec);r1=c(rg,"A"),rg.forEach(t),i1=c(Um," : Uppercase Ante meridiem and Post meridiem AM or PM"),Um.forEach(t),c1=m(ie),$l=o(ie,"LI",{});var qm=n($l);tc=o(qm,"CODE",{});var ig=n(tc);d1=c(ig,"g"),ig.forEach(t),u1=c(qm," : 12-hour format of an hour without leading zeros 1 through 12"),qm.forEach(t),f1=m(ie),eo=o(ie,"LI",{});var jm=n(eo);ac=o(jm,"CODE",{});var cg=n(ac);p1=c(cg,"G"),cg.forEach(t),h1=c(jm," : 24-hour format of an hour without leading zeros 0 through 23"),jm.forEach(t),m1=m(ie),to=o(ie,"LI",{});var Gm=n(to);sc=o(Gm,"CODE",{});var dg=n(sc);_1=c(dg,"h"),dg.forEach(t),v1=c(Gm," : 12-hour format of an hour with leading zeros 01 through 12"),Gm.forEach(t),g1=m(ie),ao=o(ie,"LI",{});var Jm=n(ao);nc=o(Jm,"CODE",{});var ug=n(nc);E1=c(ug,"H"),ug.forEach(t),k1=c(Jm," : 24-hour format of an hour with leading zeros 00 through 23"),Jm.forEach(t),y1=m(ie),so=o(ie,"LI",{});var Wm=n(so);lc=o(Wm,"CODE",{});var fg=n(lc);b1=c(fg,"i"),fg.forEach(t),D1=c(Wm," : Minutes with leading zeros 00 to 59"),Wm.forEach(t),w1=m(ie),no=o(ie,"LI",{});var Zm=n(no);oc=o(Zm,"CODE",{});var pg=n(oc);T1=c(pg,"s"),pg.forEach(t),M1=c(Zm," : Seconds with leading zeros 00 through 59"),Zm.forEach(t),C1=m(ie),gs=o(ie,"LI",{});var Ec=n(gs);rc=o(Ec,"CODE",{});var hg=n(rc);O1=c(hg,"U"),hg.forEach(t),S1=c(Ec," : timestamp in seconds. For timestamp with miliseconds use "),ic=o(Ec,"CODE",{});var mg=n(ic);I1=c(mg,"standard"),mg.forEach(t),F1=c(Ec," format"),Ec.forEach(t),ie.forEach(t),Ac=m(y),lo=o(y,"H3",{});var _g=n(lo);H1=c(_g,"CSS variables"),_g.forEach(t),Pc=m(y),Un=o(y,"PRE",{class:!0});var DE=n(Un);DE.forEach(t),Lc=m(y),oo=o(y,"H2",{});var vg=n(oo);A1=c(vg,"\u{1F5EF}\uFE0F Events"),vg.forEach(t),Bc=m(y),_t=o(y,"P",{});var Gs=n(_t);P1=c(Gs,"Component emits "),cc=o(Gs,"CODE",{});var gg=n(cc);L1=c(gg,"input"),gg.forEach(t),B1=c(Gs,", "),dc=o(Gs,"CODE",{});var Eg=n(dc);Y1=c(Eg,"change"),Eg.forEach(t),N1=c(Gs," and "),uc=o(Gs,"CODE",{});var kg=n(uc);V1=c(kg,"blur"),kg.forEach(t),R1=c(Gs," events."),Gs.forEach(t),Yc=m(y),Es=o(y,"UL",{});var nd=n(Es);ks=o(nd,"LI",{});var kc=n(ks);fc=o(kc,"CODE",{});var yg=n(fc);z1=c(yg,"input"),yg.forEach(t),U1=c(kc," is dispatched on "),pc=o(kc,"CODE",{});var bg=n(pc);q1=c(bg,""),bg.forEach(t),j1=c(kc," element therefore you can get current value like from every native event:"),kc.forEach(t),G1=m(nd),ha=o(nd,"LI",{});var Wn=n(ha);hc=o(Wn,"CODE",{});var Dg=n(hc);J1=c(Dg,"change"),Dg.forEach(t),W1=c(Wn," event is using Svelte\u2019s "),mc=o(Wn,"CODE",{});var wg=n(mc);Z1=c(wg,"eventDispatcher"),wg.forEach(t),X1=c(Wn,", therefore triggered event contains "),_c=o(Wn,"CODE",{});var Tg=n(_c);Q1=c(Tg,"detail"),Tg.forEach(t),K1=c(Wn," property"),Wn.forEach(t),nd.forEach(t),Nc=m(y),qn=o(y,"PRE",{class:!0});var wE=n(qn);wE.forEach(t),Vc=m(y),ro=o(y,"H2",{});var Mg=n(ro);x1=c(Mg,"\u{1F310} Localization"),Mg.forEach(t),Rc=m(y),io=o(y,"P",{});var Cg=n(io);$1=c(Cg,"Localization file has following structure."),Cg.forEach(t),zc=m(y),jn=o(y,"PRE",{class:!0});var TE=n(jn);TE.forEach(t),Uc=m(y),co=o(y,"P",{});var Og=n(co);em=c(Og,"PRs for extending built-in localization are welcome \u{1F973}"),Og.forEach(t),qc=m(y),uo=o(y,"H2",{});var Sg=n(uo);tm=c(Sg,"\u{1F3C6} Thanks to:"),Sg.forEach(t),jc=m(y),fo=o(y,"UL",{});var Ig=n(fo);po=o(Ig,"LI",{});var Xm=n(po);Gn=o(Xm,"A",{href:!0,rel:!0});var Fg=n(Gn);am=c(Fg,"Bootstrap datepicker"),Fg.forEach(t),sm=c(Xm," for some internal date and format handling"),Xm.forEach(t),Ig.forEach(t),Gc=m(y),ho=o(y,"H2",{});var Hg=n(ho);nm=c(Hg,"Licence:"),Hg.forEach(t),Jc=m(y),mo=o(y,"P",{});var Ag=n(mo);lm=c(Ag,"MIT"),Ag.forEach(t),this.h()},h(){n2(u.src,f="http://img.shields.io/npm/v/svelty-picker.svg?style=flat")||b(u,"src",f),b(u,"alt","NPM version"),b(d,"href","https://www.npmjs.org/package/svelty-picker"),b(d,"rel","nofollow"),n2(Ue.src,$e="https://raw.githubusercontent.com/mskocik/svelty-picker/main/docs/screenshot.png")||b(Ue,"src",$e),b(Ue,"alt","screenshot"),b(et,"class","language-undefined"),b(Fe,"class","language-svelte"),b(kt,"href","https://svelte.dev/repl/98fd362aad6049f4b38606820baff0b0?version=3.44.1"),b(kt,"rel","nofollow"),b(vl,"href","#css-variables"),b(gl,"href","#format-settings"),b(Yn,"class","language-js"),b(Un,"class","language-css"),b(qn,"class","language-js"),b(jn,"class","language-js"),b(Gn,"href","https://github.com/smalot/bootstrap-datetimepicker/blob/master/js/bootstrap-datetimepicker.js"),b(Gn,"rel","nofollow")},m(y,Y){F(y,a,Y),e(a,s),e(a,d),e(d,u),F(y,g,Y),F(y,_,Y),e(_,v),F(y,p,Y),F(y,k,Y),e(k,E),F(y,T,Y),F(y,D,Y),e(D,M),e(M,R),e(D,H),e(D,J),e(J,A),e(D,O),e(D,P),e(P,B),e(D,C),e(D,j),e(j,V),e(D,U),e(D,ce),e(ce,Z),e(ce,q),e(q,Q),e(ce,G),e(D,ne),e(D,he),e(he,ge),e(D,K),e(D,fe),e(fe,L),e(D,w),e(D,S),e(S,ue),e(S,me),e(me,N),e(S,x),e(S,z),e(z,se),e(S,_e),e(D,de),e(D,$),e($,De),F(y,Ie,Y),F(y,nt,Y),e(nt,Ue),F(y,we,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(jn),y&&t(Uc),y&&t(co),y&&t(qc),y&&t(uo),y&&t(jc),y&&t(fo),y&&t(Gc),y&&t(ho),y&&t(Jc),y&&t(mo)}}}class AE extends yo{constructor(a){super(),bo(this,a,null,HE,Do,{})}}const PE={days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],daysShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat","Sun"],daysMin:["Su","Mo","Tu","We","Th","Fr","Sa","Su"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],monthsShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],meridiem:["am","pm"],suffix:["st","nd","rd","th"],todayBtn:"Today",clearBtn:"Clear",timeView:"Show time view",backToDate:"Back to calendar view"},LE={theme:"sdt-calendar-colors",mode:"auto",format:"yyyy-mm-dd",formatType:"standard",weekStart:1,inputClasses:"",todayBtnClasses:"sdt-action-btn sdt-today-btn",clearBtnClasses:"sdt-action-btn sdt-clear-btn",todayBtn:!0,clearBtn:!0,autoclose:!0,clearToggle:!0,i18n:PE};function BE(r){const a=r-1;return a*a*a+1}function Xs(r,{delay:a=0,duration:s=400,easing:d=ME}={}){const u=+getComputedStyle(r).opacity;return{delay:a,duration:s,easing:d,css:f=>`opacity: ${f*u}`}}const id=0,wc=1,bc=2;function ld(r,a,s,d,u){if(s===id){const j=[];let V=[],U=r.getFullYear()-r.getFullYear()%10-1;for(let Z=0;Z<12;Z++)V.push(U+Z),V.length===4&&(j.push(V),V=[]);let ce=null;return a||(a=new Date),a.getFullYear()>=U&&(ce=a.getFullYear()%U),{years:j,todayMark:-1,nextFrom:11,prevTo:1,selectionMark:ce}}if(s===wc){let P=[],B=[],C=12,j=24;const V=r.toISOString().split("T")[0].substring(0,8),U=new Date(V+"01 00:00:00"),ce=U.getFullYear()-1;U.setFullYear(ce);let Z=0;for(let Q=0;Q<3;Q++){for(let G=0;G<12;G++)U.setMonth(G),B.push(d.monthsShort[G%12]),B.length===4&&(P.push(B),B=[]);U.setFullYear(U.getFullYear()+1)}let q=null;return a||(a=new Date),a.getFullYear()-ce>=0&&a.getFullYear()-ce<=2&&(q=a.getMonth()+(a.getFullYear()-ce||0)*12),{months:P,todayMark:Z,nextFrom:j,prevTo:C,selectionMark:q}}let f=r||new Date,g=f.getFullYear(),_=f.getMonth();f.getDate(),f.getHours();let v=new Date,p=new Date(g,_-1,28,0,0,0,0),k=i2.getDaysInMonth(p.getFullYear(),p.getMonth());p.setDate(k),p.setDate(k-(p.getDay()-u+7)%7);let E=new Date(p);E.setDate(E.getDate()+42);let T=E.valueOf(),D=[],M=[],R=-1,H=null,J=0,A=42,O=0;for(;p.valueOf()