diff --git a/docs/404.html b/docs/404.html index ade141d3..773fdd8f 100644 --- a/docs/404.html +++ b/docs/404.html @@ -8,8 +8,8 @@ - - + + diff --git a/docs/assets/app.CK8a92jg.js b/docs/assets/app._26fSHq_.js similarity index 51% rename from docs/assets/app.CK8a92jg.js rename to docs/assets/app._26fSHq_.js index cd677d42..6980e408 100644 --- a/docs/assets/app.CK8a92jg.js +++ b/docs/assets/app._26fSHq_.js @@ -1 +1 @@ -import{R as i}from"./chunks/theme.DW4UajBf.js";import{U as o,am as u,an as l,ao as c,ap as f,aq as d,ar as m,as as h,at as g,au as A,av as v,d as w,u as y,v as P,s as C,aw as R,ax as b,ay as E,ab as S}from"./chunks/framework.DDyYGyON.js";function p(e){if(e.extends){const a=p(e.extends);return{...a,...e,async enhanceApp(t){a.enhanceApp&&await a.enhanceApp(t),e.enhanceApp&&await e.enhanceApp(t)}}}return e}const s=p(i),T=w({name:"VitePressApp",setup(){const{site:e,lang:a,dir:t}=y();return P(()=>{C(()=>{document.documentElement.lang=a.value,document.documentElement.dir=t.value})}),e.value.router.prefetchLinks&&R(),b(),E(),s.setup&&s.setup(),()=>S(s.Layout)}});async function x(){globalThis.__VITEPRESS__=!0;const e=_(),a=D();a.provide(l,e);const t=c(e.route);return a.provide(f,t),a.component("Content",d),a.component("ClientOnly",m),Object.defineProperties(a.config.globalProperties,{$frontmatter:{get(){return t.frontmatter.value}},$params:{get(){return t.page.value.params}}}),s.enhanceApp&&await s.enhanceApp({app:a,router:e,siteData:h}),{app:a,router:e,data:t}}function D(){return g(T)}function _(){let e=o,a;return A(t=>{let n=v(t),r=null;return n&&(e&&(a=n),(e||a===n)&&(n=n.replace(/\.js$/,".lean.js")),r=import(n)),o&&(e=!1),r},s.NotFound)}o&&x().then(({app:e,router:a,data:t})=>{a.go().then(()=>{u(a.route,t.site),e.mount("#app")})});export{x as createApp}; +import{R as i}from"./chunks/theme.CKPf4mL-.js";import{U as o,ak as u,al as l,am as c,an as f,ao as d,ap as m,aq as h,ar as g,as as A,at as v,d as w,u as P,v as y,s as C,au as R,av as b,aw as E,a9 as S}from"./chunks/framework.C8IqNCju.js";function p(e){if(e.extends){const a=p(e.extends);return{...a,...e,async enhanceApp(t){a.enhanceApp&&await a.enhanceApp(t),e.enhanceApp&&await e.enhanceApp(t)}}}return e}const s=p(i),T=w({name:"VitePressApp",setup(){const{site:e,lang:a,dir:t}=P();return y(()=>{C(()=>{document.documentElement.lang=a.value,document.documentElement.dir=t.value})}),e.value.router.prefetchLinks&&R(),b(),E(),s.setup&&s.setup(),()=>S(s.Layout)}});async function D(){globalThis.__VITEPRESS__=!0;const e=j(),a=_();a.provide(l,e);const t=c(e.route);return a.provide(f,t),a.component("Content",d),a.component("ClientOnly",m),Object.defineProperties(a.config.globalProperties,{$frontmatter:{get(){return t.frontmatter.value}},$params:{get(){return t.page.value.params}}}),s.enhanceApp&&await s.enhanceApp({app:a,router:e,siteData:h}),{app:a,router:e,data:t}}function _(){return g(T)}function j(){let e=o,a;return A(t=>{let n=v(t),r=null;return n&&(e&&(a=n),(e||a===n)&&(n=n.replace(/\.js$/,".lean.js")),r=import(n)),o&&(e=!1),r},s.NotFound)}o&&D().then(({app:e,router:a,data:t})=>{a.go().then(()=>{u(a.route,t.site),e.mount("#app")})});export{D as createApp}; diff --git a/docs/assets/chunks/VPAlgoliaSearchBox.hPGN3qUp.js b/docs/assets/chunks/VPAlgoliaSearchBox.l0wMk8yr.js similarity index 99% rename from docs/assets/chunks/VPAlgoliaSearchBox.hPGN3qUp.js rename to docs/assets/chunks/VPAlgoliaSearchBox.l0wMk8yr.js index 5980f088..cb6daf42 100644 --- a/docs/assets/chunks/VPAlgoliaSearchBox.hPGN3qUp.js +++ b/docs/assets/chunks/VPAlgoliaSearchBox.l0wMk8yr.js @@ -1,4 +1,4 @@ -import{d as li,az as si,L as fi,v as mi,q as pi,R as vi,o as hi,c as di}from"./framework.DDyYGyON.js";import{u as yi}from"./theme.DW4UajBf.js";/*! @docsearch/js 3.6.3 | MIT License | © Algolia, Inc. and contributors | https://docsearch.algolia.com */function Mn(){return Mn=Object.assign?Object.assign.bind():function(e){for(var t=1;t2&&(a.children=arguments.length>3?Bt.call(arguments,2):n),typeof e=="function"&&e.defaultProps!=null)for(i in e.defaultProps)a[i]===void 0&&(a[i]=e.defaultProps[i]);return St(e,a,r,o,null)}function St(e,t,n,r,o){var i={type:e,props:t,key:n,ref:r,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:o??++ho,__i:-1,__u:0};return o==null&&H.vnode!=null&&H.vnode(i),i}function Ne(e){return e.children}function ke(e,t){this.props=e,this.context=t}function at(e,t){if(t==null)return e.__?at(e.__,e.__i+1):null;for(var n;tt&&Qe.sort(Hn));hn.__r=0}function Oo(e,t,n,r,o,i,a,u,f,s,m){var c,_,v,h,g,d=r&&r.__k||go,p=t.length;for(n.__d=f,gi(n,t,d),f=n.__d,c=0;c0?St(o.type,o.props,o.key,o.ref?o.ref:null,o.__v):o).__=e,o.__b=e.__b+1,i=null,(u=o.__i=bi(o,n,a,m))!==-1&&(m--,(i=n[u])&&(i.__u|=131072)),i==null||i.__v===null?(u==-1&&c--,typeof o.type!="function"&&(o.__u|=65536)):u!==a&&(u==a-1?c--:u==a+1?c++:(u>a?c--:c++,o.__u|=65536))):o=e.__k[r]=null;if(m)for(r=0;r(f==null||131072&f.__u?0:1))for(;a>=0||u=0){if((f=t[a])&&!(131072&f.__u)&&o==f.key&&i===f.type)return a;a--}if(u2&&(u.children=arguments.length>3?Bt.call(arguments,2):n),St(e.type,u,r||e.key,o||e.ref,null)}Bt=go.slice,H={__e:function(e,t,n,r){for(var o,i,a;t=t.__;)if((o=t.__c)&&!o.__)try{if((i=o.constructor)&&i.getDerivedStateFromError!=null&&(o.setState(i.getDerivedStateFromError(e)),a=o.__d),o.componentDidCatch!=null&&(o.componentDidCatch(e,r||{}),a=o.__d),a)return o.__E=o}catch(u){e=u}throw e}},ho=0,ke.prototype.setState=function(e,t){var n;n=this.__s!=null&&this.__s!==this.state?this.__s:this.__s=Ae({},this.state),typeof e=="function"&&(e=e(Ae({},n),this.props)),e&&Ae(n,e),e!=null&&this.__v&&(t&&this._sb.push(t),Bn(this))},ke.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),Bn(this))},ke.prototype.render=Ne,Qe=[],yo=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,Hn=function(e,t){return e.__v.__b-t.__v.__b},hn.__r=0,Xn=0,Un=_r(!1),Fn=_r(!0),_o=0;var Be,J,kn,gr,ct=0,Io=[],Q=H,br=Q.__b,Sr=Q.__r,Or=Q.diffed,wr=Q.__c,Er=Q.unmount,jr=Q.__;function ut(e,t){Q.__h&&Q.__h(J,e,ct||t),ct=0;var n=J.__H||(J.__H={__:[],__h:[]});return e>=n.__.length&&n.__.push({}),n.__[e]}function Vt(e){return ct=1,nr(To,e)}function nr(e,t,n){var r=ut(Be++,2);if(r.t=e,!r.__c&&(r.__=[n?n(t):To(void 0,t),function(u){var f=r.__N?r.__N[0]:r.__[0],s=r.t(f,u);f!==s&&(r.__N=[s,r.__[1]],r.__c.setState({}))}],r.__c=J,!J.u)){var o=function(u,f,s){if(!r.__c.__H)return!0;var m=r.__c.__H.__.filter(function(_){return!!_.__c});if(m.every(function(_){return!_.__N}))return!i||i.call(this,u,f,s);var c=!1;return m.forEach(function(_){if(_.__N){var v=_.__[0];_.__=_.__N,_.__N=void 0,v!==_.__[0]&&(c=!0)}}),!(!c&&r.__c.props===u)&&(!i||i.call(this,u,f,s))};J.u=!0;var i=J.shouldComponentUpdate,a=J.componentWillUpdate;J.componentWillUpdate=function(u,f,s){if(this.__e){var m=i;i=void 0,o(u,f,s),i=m}a&&a.call(this,u,f,s)},J.shouldComponentUpdate=o}return r.__N||r.__}function Kt(e,t){var n=ut(Be++,3);!Q.__s&&rr(n.__H,t)&&(n.__=e,n.i=t,J.__H.__h.push(n))}function Wt(e,t){var n=ut(Be++,4);!Q.__s&&rr(n.__H,t)&&(n.__=e,n.i=t,J.__h.push(n))}function ko(e){return ct=5,yn(function(){return{current:e}},[])}function Do(e,t,n){ct=6,Wt(function(){return typeof e=="function"?(e(t()),function(){return e(null)}):e?(e.current=t(),function(){return e.current=null}):void 0},n==null?n:n.concat(e))}function yn(e,t){var n=ut(Be++,7);return rr(n.__H,t)&&(n.__=e(),n.__H=t,n.__h=e),n.__}function xo(e,t){return ct=8,yn(function(){return e},t)}function Co(e){var t=J.context[e.__c],n=ut(Be++,9);return n.c=e,t?(n.__==null&&(n.__=!0,t.sub(J)),t.props.value):e.__}function Ao(e,t){Q.useDebugValue&&Q.useDebugValue(t?t(e):e)}function No(){var e=ut(Be++,11);if(!e.__){for(var t=J.__v;t!==null&&!t.__m&&t.__!==null;)t=t.__;var n=t.__m||(t.__m=[0,0]);e.__="P"+n[0]+"-"+n[1]++}return e.__}function Ei(){for(var e;e=Io.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(fn),e.__H.__h.forEach(Vn),e.__H.__h=[]}catch(t){e.__H.__h=[],Q.__e(t,e.__v)}}Q.__b=function(e){J=null,br&&br(e)},Q.__=function(e,t){e&&t.__k&&t.__k.__m&&(e.__m=t.__k.__m),jr&&jr(e,t)},Q.__r=function(e){Sr&&Sr(e),Be=0;var t=(J=e.__c).__H;t&&(kn===J?(t.__h=[],J.__h=[],t.__.forEach(function(n){n.__N&&(n.__=n.__N),n.i=n.__N=void 0})):(t.__h.forEach(fn),t.__h.forEach(Vn),t.__h=[],Be=0)),kn=J},Q.diffed=function(e){Or&&Or(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(Io.push(t)!==1&&gr===Q.requestAnimationFrame||((gr=Q.requestAnimationFrame)||ji)(Ei)),t.__H.__.forEach(function(n){n.i&&(n.__H=n.i),n.i=void 0})),kn=J=null},Q.__c=function(e,t){t.some(function(n){try{n.__h.forEach(fn),n.__h=n.__h.filter(function(r){return!r.__||Vn(r)})}catch(r){t.some(function(o){o.__h&&(o.__h=[])}),t=[],Q.__e(r,n.__v)}}),wr&&wr(e,t)},Q.unmount=function(e){Er&&Er(e);var t,n=e.__c;n&&n.__H&&(n.__H.__.forEach(function(r){try{fn(r)}catch(o){t=o}}),n.__H=void 0,t&&Q.__e(t,n.__v))};var Pr=typeof requestAnimationFrame=="function";function ji(e){var t,n=function(){clearTimeout(r),Pr&&cancelAnimationFrame(t),setTimeout(e)},r=setTimeout(n,100);Pr&&(t=requestAnimationFrame(n))}function fn(e){var t=J,n=e.__c;typeof n=="function"&&(e.__c=void 0,n()),J=t}function Vn(e){var t=J;e.__c=e.__(),J=t}function rr(e,t){return!e||e.length!==t.length||t.some(function(n,r){return n!==e[r]})}function To(e,t){return typeof t=="function"?t(e):t}function Kn(e,t){for(var n in e)if(n!=="__source"&&!(n in t))return!0;for(var r in t)if(r!=="__source"&&e[r]!==t[r])return!0;return!1}function Wn(e,t){this.props=e,this.context=t}(Wn.prototype=new ke).isPureReactComponent=!0,Wn.prototype.shouldComponentUpdate=function(e,t){return Kn(this.props,e)||Kn(this.state,t)};var Ir=H.__b;H.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),Ir&&Ir(e)};var Pi=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.forward_ref")||3911,kr=function(e,t){return e==null?null:Te(Te(e).map(t))},Ii={map:kr,forEach:kr,count:function(e){return e?Te(e).length:0},only:function(e){var t=Te(e);if(t.length!==1)throw"Children.only";return t[0]},toArray:Te},ki=H.__e;H.__e=function(e,t,n,r){if(e.then){for(var o,i=t;i=i.__;)if((o=i.__c)&&o.__c)return t.__e==null&&(t.__e=n.__e,t.__k=n.__k),o.__c(e,t)}ki(e,t,n,r)};var Dr=H.unmount;function Ro(e,t,n){return e&&(e.__c&&e.__c.__H&&(e.__c.__H.__.forEach(function(r){typeof r.__c=="function"&&r.__c()}),e.__c.__H=null),(e=function(r,o){for(var i in o)r[i]=o[i];return r}({},e)).__c!=null&&(e.__c.__P===n&&(e.__c.__P=t),e.__c=null),e.__k=e.__k&&e.__k.map(function(r){return Ro(r,t,n)})),e}function Lo(e,t,n){return e&&n&&(e.__v=null,e.__k=e.__k&&e.__k.map(function(r){return Lo(r,t,n)}),e.__c&&e.__c.__P===t&&(e.__e&&n.appendChild(e.__e),e.__c.__e=!0,e.__c.__P=n)),e}function mn(){this.__u=0,this.t=null,this.__b=null}function qo(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function gt(){this.u=null,this.o=null}H.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&32&e.__u&&(e.type=null),Dr&&Dr(e)},(mn.prototype=new ke).__c=function(e,t){var n=t.__c,r=this;r.t==null&&(r.t=[]),r.t.push(n);var o=qo(r.__v),i=!1,a=function(){i||(i=!0,n.__R=null,o?o(u):u())};n.__R=a;var u=function(){if(!--r.__u){if(r.state.__a){var f=r.state.__a;r.__v.__k[0]=Lo(f,f.__c.__P,f.__c.__O)}var s;for(r.setState({__a:r.__b=null});s=r.t.pop();)s.forceUpdate()}};r.__u++||32&t.__u||r.setState({__a:r.__b=r.__v.__k[0]}),e.then(a,a)},mn.prototype.componentWillUnmount=function(){this.t=[]},mn.prototype.render=function(e,t){if(this.__b){if(this.__v.__k){var n=document.createElement("div"),r=this.__v.__k[0].__c;this.__v.__k[0]=Ro(this.__b,n,r.__O=r.__P)}this.__b=null}var o=t.__a&&Ie(Ne,null,e.fallback);return o&&(o.__u&=-33),[Ie(Ne,null,t.__a?null:e.children),o]};var xr=function(e,t,n){if(++n[1]===n[0]&&e.o.delete(t),e.props.revealOrder&&(e.props.revealOrder[0]!=="t"||!e.o.size))for(n=e.u;n;){for(;n.length>3;)n.pop()();if(n[1]>>1,1),t.i.removeChild(r)}}),Mt(Ie(Di,{context:t.context},e.__v),t.l)}function Mo(e,t){var n=Ie(xi,{__v:e,i:t});return n.containerInfo=t,n}(gt.prototype=new ke).__a=function(e){var t=this,n=qo(t.__v),r=t.o.get(e);return r[0]++,function(o){var i=function(){t.props.revealOrder?(r.push(o),xr(t,e,r)):o()};n?n(i):i()}},gt.prototype.render=function(e){this.u=null,this.o=new Map;var t=Te(e.children);e.revealOrder&&e.revealOrder[0]==="b"&&t.reverse();for(var n=t.length;n--;)this.o.set(t[n],this.u=[1,0,this.u]);return e.children},gt.prototype.componentDidUpdate=gt.prototype.componentDidMount=function(){var e=this;this.o.forEach(function(t,n){xr(e,n,t)})};var Ho=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.element")||60103,Ci=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image(!S)|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,Ai=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,Ni=/[A-Z0-9]/g,Ti=typeof document<"u",Ri=function(e){return(typeof Symbol<"u"&&typeof Symbol()=="symbol"?/fil|che|rad/:/fil|che|ra/).test(e)};function Uo(e,t,n){return t.__k==null&&(t.textContent=""),Mt(e,t),typeof n=="function"&&n(),e?e.__c:null}ke.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(e){Object.defineProperty(ke.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})});var Cr=H.event;function Li(){}function qi(){return this.cancelBubble}function Mi(){return this.defaultPrevented}H.event=function(e){return Cr&&(e=Cr(e)),e.persist=Li,e.isPropagationStopped=qi,e.isDefaultPrevented=Mi,e.nativeEvent=e};var or,Hi={enumerable:!1,configurable:!0,get:function(){return this.class}},Ar=H.vnode;H.vnode=function(e){typeof e.type=="string"&&function(t){var n=t.props,r=t.type,o={},i=r.indexOf("-")===-1;for(var a in n){var u=n[a];if(!(a==="value"&&"defaultValue"in n&&u==null||Ti&&a==="children"&&r==="noscript"||a==="class"||a==="className")){var f=a.toLowerCase();a==="defaultValue"&&"value"in n&&n.value==null?a="value":a==="download"&&u===!0?u="":f==="translate"&&u==="no"?u=!1:f[0]==="o"&&f[1]==="n"?f==="ondoubleclick"?a="ondblclick":f!=="onchange"||r!=="input"&&r!=="textarea"||Ri(n.type)?f==="onfocus"?a="onfocusin":f==="onblur"?a="onfocusout":Ai.test(a)&&(a=f):f=a="oninput":i&&Ci.test(a)?a=a.replace(Ni,"-$&").toLowerCase():u===null&&(u=void 0),f==="oninput"&&o[a=f]&&(a="oninputCapture"),o[a]=u}}r=="select"&&o.multiple&&Array.isArray(o.value)&&(o.value=Te(n.children).forEach(function(s){s.props.selected=o.value.indexOf(s.props.value)!=-1})),r=="select"&&o.defaultValue!=null&&(o.value=Te(n.children).forEach(function(s){s.props.selected=o.multiple?o.defaultValue.indexOf(s.props.value)!=-1:o.defaultValue==s.props.value})),n.class&&!n.className?(o.class=n.class,Object.defineProperty(o,"className",Hi)):(n.className&&!n.class||n.class&&n.className)&&(o.class=o.className=n.className),t.props=o}(e),e.$$typeof=Ho,Ar&&Ar(e)};var Nr=H.__r;H.__r=function(e){Nr&&Nr(e),or=e.__c};var Tr=H.diffed;H.diffed=function(e){Tr&&Tr(e);var t=e.props,n=e.__e;n!=null&&e.type==="textarea"&&"value"in t&&t.value!==n.value&&(n.value=t.value==null?"":t.value),or=null};var Ui={ReactCurrentDispatcher:{current:{readContext:function(e){return or.__n[e.__c].props.value},useCallback:xo,useContext:Co,useDebugValue:Ao,useDeferredValue:Bo,useEffect:Kt,useId:No,useImperativeHandle:Do,useInsertionEffect:Ko,useLayoutEffect:Wt,useMemo:yn,useReducer:nr,useRef:ko,useState:Vt,useSyncExternalStore:Wo,useTransition:Vo}}};function Xt(e){return!!e&&e.$$typeof===Ho}function Fo(e){e()}function Bo(e){return e}function Vo(){return[!1,Fo]}var Ko=Wt;function Wo(e,t){var n=t(),r=Vt({h:{__:n,v:t}}),o=r[0].h,i=r[1];return Wt(function(){o.__=n,o.v=t,Dn(o)&&i({h:o})},[e,n,t]),Kt(function(){return Dn(o)&&i({h:o}),e(function(){Dn(o)&&i({h:o})})},[e]),n}function Dn(e){var t,n,r=e.v,o=e.__;try{var i=r();return!((t=o)===(n=i)&&(t!==0||1/t==1/n)||t!=t&&n!=n)}catch{return!0}}var l={useState:Vt,useId:No,useReducer:nr,useEffect:Kt,useLayoutEffect:Wt,useInsertionEffect:Ko,useTransition:Vo,useDeferredValue:Bo,useSyncExternalStore:Wo,startTransition:Fo,useRef:ko,useImperativeHandle:Do,useMemo:yn,useCallback:xo,useContext:Co,useDebugValue:Ao,version:"18.3.1",Children:Ii,render:Uo,hydrate:function(e,t,n){return Po(e,t),typeof n=="function"&&n(),e?e.__c:null},unmountComponentAtNode:function(e){return!!e.__k&&(Mt(null,e),!0)},createPortal:Mo,createElement:Ie,createContext:function(e,t){var n={__c:t="__cC"+_o++,__:e,Consumer:function(r,o){return r.children(o)},Provider:function(r){var o,i;return this.getChildContext||(o=new Set,(i={})[t]=this,this.getChildContext=function(){return i},this.componentWillUnmount=function(){o=null},this.shouldComponentUpdate=function(a){this.props.value!==a.value&&o.forEach(function(u){u.__e=!0,Bn(u)})},this.sub=function(a){o.add(a);var u=a.componentWillUnmount;a.componentWillUnmount=function(){o&&o.delete(a),u&&u.call(a)}}),r.children}};return n.Provider.__=n.Consumer.contextType=n},createFactory:function(e){return Ie.bind(null,e)},cloneElement:function(e){return Xt(e)?wi.apply(null,arguments):e},createRef:function(){return{current:null}},Fragment:Ne,isValidElement:Xt,isElement:Xt,isFragment:function(e){return Xt(e)&&e.type===Ne},isMemo:function(e){return!!e&&!!e.displayName&&(typeof e.displayName=="string"||e.displayName instanceof String)&&e.displayName.startsWith("Memo(")},findDOMNode:function(e){return e&&(e.base||e.nodeType===1&&e)||null},Component:ke,PureComponent:Wn,memo:function(e,t){function n(o){var i=this.props.ref,a=i==o.ref;return!a&&i&&(i.call?i(null):i.current=null),t?!t(this.props,o)||!a:Kn(this.props,o)}function r(o){return this.shouldComponentUpdate=n,Ie(e,o)}return r.displayName="Memo("+(e.displayName||e.name)+")",r.prototype.isReactComponent=!0,r.__f=!0,r},forwardRef:function(e){function t(n){if(!("ref"in n))return e(n,null);var r=n.ref;delete n.ref;var o=e(n,r);return n.ref=r,o}return t.$$typeof=Pi,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t},flushSync:function(e,t){return e(t)},unstable_batchedUpdates:function(e,t){return e(t)},StrictMode:Ne,Suspense:mn,SuspenseList:gt,lazy:function(e){var t,n,r;function o(i){if(t||(t=e()).then(function(a){n=a.default||a},function(a){r=a}),r)throw r;if(!n)throw t;return Ie(n,i)}return o.displayName="Lazy",o.__f=!0,o},__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:Ui};function zn(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n=0;--A){var P=this.tryEntries[A],L=P.completion;if(P.tryLoc==="root")return O("end");if(P.tryLoc<=this.prev){var q=r.call(P,"catchLoc"),$=r.call(P,"finallyLoc");if(q&&$){if(this.prev=0;--O){var A=this.tryEntries[O];if(A.tryLoc<=this.prev&&r.call(A,"finallyLoc")&&this.prev=0;--b){var O=this.tryEntries[b];if(O.finallyLoc===S)return this.complete(O.completion,O.afterLoc),T(O),d}},catch:function(S){for(var b=this.tryEntries.length-1;b>=0;--b){var O=this.tryEntries[b];if(O.tryLoc===S){var A=O.completion;if(A.type==="throw"){var P=A.arg;T(O)}return P}}throw Error("illegal catch attempt")},delegateYield:function(S,b,O){return this.delegate={iterator:ye(S),resultName:b,nextLoc:O},this.method==="next"&&(this.arg=e),d}},t}function Ut(e,t){return Ut=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,r){return n.__proto__=r,n},Ut(e,t)}function de(e,t){return function(n){if(Array.isArray(n))return n}(e)||function(n,r){var o=n==null?null:typeof Symbol<"u"&&n[Symbol.iterator]||n["@@iterator"];if(o!=null){var i,a,u,f,s=[],m=!0,c=!1;try{if(u=(o=o.call(n)).next,r===0){if(Object(o)!==o)return;m=!1}else for(;!(m=(i=u.call(o)).done)&&(s.push(i.value),s.length!==r);m=!0);}catch(_){c=!0,a=_}finally{try{if(!m&&o.return!=null&&(f=o.return(),Object(f)!==f))return}finally{if(c)throw a}}return s}}(e,t)||zo(e,t)||function(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. +import{d as li,ax as si,L as fi,v as mi,q as pi,R as vi,o as hi,c as di}from"./framework.C8IqNCju.js";import{u as yi}from"./theme.CKPf4mL-.js";/*! @docsearch/js 3.6.3 | MIT License | © Algolia, Inc. and contributors | https://docsearch.algolia.com */function Mn(){return Mn=Object.assign?Object.assign.bind():function(e){for(var t=1;t2&&(a.children=arguments.length>3?Bt.call(arguments,2):n),typeof e=="function"&&e.defaultProps!=null)for(i in e.defaultProps)a[i]===void 0&&(a[i]=e.defaultProps[i]);return St(e,a,r,o,null)}function St(e,t,n,r,o){var i={type:e,props:t,key:n,ref:r,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:o??++ho,__i:-1,__u:0};return o==null&&H.vnode!=null&&H.vnode(i),i}function Ne(e){return e.children}function ke(e,t){this.props=e,this.context=t}function at(e,t){if(t==null)return e.__?at(e.__,e.__i+1):null;for(var n;tt&&Qe.sort(Hn));hn.__r=0}function Oo(e,t,n,r,o,i,a,u,f,s,m){var c,_,v,h,g,d=r&&r.__k||go,p=t.length;for(n.__d=f,gi(n,t,d),f=n.__d,c=0;c0?St(o.type,o.props,o.key,o.ref?o.ref:null,o.__v):o).__=e,o.__b=e.__b+1,i=null,(u=o.__i=bi(o,n,a,m))!==-1&&(m--,(i=n[u])&&(i.__u|=131072)),i==null||i.__v===null?(u==-1&&c--,typeof o.type!="function"&&(o.__u|=65536)):u!==a&&(u==a-1?c--:u==a+1?c++:(u>a?c--:c++,o.__u|=65536))):o=e.__k[r]=null;if(m)for(r=0;r(f==null||131072&f.__u?0:1))for(;a>=0||u=0){if((f=t[a])&&!(131072&f.__u)&&o==f.key&&i===f.type)return a;a--}if(u2&&(u.children=arguments.length>3?Bt.call(arguments,2):n),St(e.type,u,r||e.key,o||e.ref,null)}Bt=go.slice,H={__e:function(e,t,n,r){for(var o,i,a;t=t.__;)if((o=t.__c)&&!o.__)try{if((i=o.constructor)&&i.getDerivedStateFromError!=null&&(o.setState(i.getDerivedStateFromError(e)),a=o.__d),o.componentDidCatch!=null&&(o.componentDidCatch(e,r||{}),a=o.__d),a)return o.__E=o}catch(u){e=u}throw e}},ho=0,ke.prototype.setState=function(e,t){var n;n=this.__s!=null&&this.__s!==this.state?this.__s:this.__s=Ae({},this.state),typeof e=="function"&&(e=e(Ae({},n),this.props)),e&&Ae(n,e),e!=null&&this.__v&&(t&&this._sb.push(t),Bn(this))},ke.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),Bn(this))},ke.prototype.render=Ne,Qe=[],yo=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,Hn=function(e,t){return e.__v.__b-t.__v.__b},hn.__r=0,Xn=0,Un=_r(!1),Fn=_r(!0),_o=0;var Be,J,kn,gr,ct=0,Io=[],Q=H,br=Q.__b,Sr=Q.__r,Or=Q.diffed,wr=Q.__c,Er=Q.unmount,jr=Q.__;function ut(e,t){Q.__h&&Q.__h(J,e,ct||t),ct=0;var n=J.__H||(J.__H={__:[],__h:[]});return e>=n.__.length&&n.__.push({}),n.__[e]}function Vt(e){return ct=1,nr(To,e)}function nr(e,t,n){var r=ut(Be++,2);if(r.t=e,!r.__c&&(r.__=[n?n(t):To(void 0,t),function(u){var f=r.__N?r.__N[0]:r.__[0],s=r.t(f,u);f!==s&&(r.__N=[s,r.__[1]],r.__c.setState({}))}],r.__c=J,!J.u)){var o=function(u,f,s){if(!r.__c.__H)return!0;var m=r.__c.__H.__.filter(function(_){return!!_.__c});if(m.every(function(_){return!_.__N}))return!i||i.call(this,u,f,s);var c=!1;return m.forEach(function(_){if(_.__N){var v=_.__[0];_.__=_.__N,_.__N=void 0,v!==_.__[0]&&(c=!0)}}),!(!c&&r.__c.props===u)&&(!i||i.call(this,u,f,s))};J.u=!0;var i=J.shouldComponentUpdate,a=J.componentWillUpdate;J.componentWillUpdate=function(u,f,s){if(this.__e){var m=i;i=void 0,o(u,f,s),i=m}a&&a.call(this,u,f,s)},J.shouldComponentUpdate=o}return r.__N||r.__}function Kt(e,t){var n=ut(Be++,3);!Q.__s&&rr(n.__H,t)&&(n.__=e,n.i=t,J.__H.__h.push(n))}function Wt(e,t){var n=ut(Be++,4);!Q.__s&&rr(n.__H,t)&&(n.__=e,n.i=t,J.__h.push(n))}function ko(e){return ct=5,yn(function(){return{current:e}},[])}function Do(e,t,n){ct=6,Wt(function(){return typeof e=="function"?(e(t()),function(){return e(null)}):e?(e.current=t(),function(){return e.current=null}):void 0},n==null?n:n.concat(e))}function yn(e,t){var n=ut(Be++,7);return rr(n.__H,t)&&(n.__=e(),n.__H=t,n.__h=e),n.__}function xo(e,t){return ct=8,yn(function(){return e},t)}function Co(e){var t=J.context[e.__c],n=ut(Be++,9);return n.c=e,t?(n.__==null&&(n.__=!0,t.sub(J)),t.props.value):e.__}function Ao(e,t){Q.useDebugValue&&Q.useDebugValue(t?t(e):e)}function No(){var e=ut(Be++,11);if(!e.__){for(var t=J.__v;t!==null&&!t.__m&&t.__!==null;)t=t.__;var n=t.__m||(t.__m=[0,0]);e.__="P"+n[0]+"-"+n[1]++}return e.__}function Ei(){for(var e;e=Io.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(fn),e.__H.__h.forEach(Vn),e.__H.__h=[]}catch(t){e.__H.__h=[],Q.__e(t,e.__v)}}Q.__b=function(e){J=null,br&&br(e)},Q.__=function(e,t){e&&t.__k&&t.__k.__m&&(e.__m=t.__k.__m),jr&&jr(e,t)},Q.__r=function(e){Sr&&Sr(e),Be=0;var t=(J=e.__c).__H;t&&(kn===J?(t.__h=[],J.__h=[],t.__.forEach(function(n){n.__N&&(n.__=n.__N),n.i=n.__N=void 0})):(t.__h.forEach(fn),t.__h.forEach(Vn),t.__h=[],Be=0)),kn=J},Q.diffed=function(e){Or&&Or(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(Io.push(t)!==1&&gr===Q.requestAnimationFrame||((gr=Q.requestAnimationFrame)||ji)(Ei)),t.__H.__.forEach(function(n){n.i&&(n.__H=n.i),n.i=void 0})),kn=J=null},Q.__c=function(e,t){t.some(function(n){try{n.__h.forEach(fn),n.__h=n.__h.filter(function(r){return!r.__||Vn(r)})}catch(r){t.some(function(o){o.__h&&(o.__h=[])}),t=[],Q.__e(r,n.__v)}}),wr&&wr(e,t)},Q.unmount=function(e){Er&&Er(e);var t,n=e.__c;n&&n.__H&&(n.__H.__.forEach(function(r){try{fn(r)}catch(o){t=o}}),n.__H=void 0,t&&Q.__e(t,n.__v))};var Pr=typeof requestAnimationFrame=="function";function ji(e){var t,n=function(){clearTimeout(r),Pr&&cancelAnimationFrame(t),setTimeout(e)},r=setTimeout(n,100);Pr&&(t=requestAnimationFrame(n))}function fn(e){var t=J,n=e.__c;typeof n=="function"&&(e.__c=void 0,n()),J=t}function Vn(e){var t=J;e.__c=e.__(),J=t}function rr(e,t){return!e||e.length!==t.length||t.some(function(n,r){return n!==e[r]})}function To(e,t){return typeof t=="function"?t(e):t}function Kn(e,t){for(var n in e)if(n!=="__source"&&!(n in t))return!0;for(var r in t)if(r!=="__source"&&e[r]!==t[r])return!0;return!1}function Wn(e,t){this.props=e,this.context=t}(Wn.prototype=new ke).isPureReactComponent=!0,Wn.prototype.shouldComponentUpdate=function(e,t){return Kn(this.props,e)||Kn(this.state,t)};var Ir=H.__b;H.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),Ir&&Ir(e)};var Pi=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.forward_ref")||3911,kr=function(e,t){return e==null?null:Te(Te(e).map(t))},Ii={map:kr,forEach:kr,count:function(e){return e?Te(e).length:0},only:function(e){var t=Te(e);if(t.length!==1)throw"Children.only";return t[0]},toArray:Te},ki=H.__e;H.__e=function(e,t,n,r){if(e.then){for(var o,i=t;i=i.__;)if((o=i.__c)&&o.__c)return t.__e==null&&(t.__e=n.__e,t.__k=n.__k),o.__c(e,t)}ki(e,t,n,r)};var Dr=H.unmount;function Ro(e,t,n){return e&&(e.__c&&e.__c.__H&&(e.__c.__H.__.forEach(function(r){typeof r.__c=="function"&&r.__c()}),e.__c.__H=null),(e=function(r,o){for(var i in o)r[i]=o[i];return r}({},e)).__c!=null&&(e.__c.__P===n&&(e.__c.__P=t),e.__c=null),e.__k=e.__k&&e.__k.map(function(r){return Ro(r,t,n)})),e}function Lo(e,t,n){return e&&n&&(e.__v=null,e.__k=e.__k&&e.__k.map(function(r){return Lo(r,t,n)}),e.__c&&e.__c.__P===t&&(e.__e&&n.appendChild(e.__e),e.__c.__e=!0,e.__c.__P=n)),e}function mn(){this.__u=0,this.t=null,this.__b=null}function qo(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function gt(){this.u=null,this.o=null}H.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&32&e.__u&&(e.type=null),Dr&&Dr(e)},(mn.prototype=new ke).__c=function(e,t){var n=t.__c,r=this;r.t==null&&(r.t=[]),r.t.push(n);var o=qo(r.__v),i=!1,a=function(){i||(i=!0,n.__R=null,o?o(u):u())};n.__R=a;var u=function(){if(!--r.__u){if(r.state.__a){var f=r.state.__a;r.__v.__k[0]=Lo(f,f.__c.__P,f.__c.__O)}var s;for(r.setState({__a:r.__b=null});s=r.t.pop();)s.forceUpdate()}};r.__u++||32&t.__u||r.setState({__a:r.__b=r.__v.__k[0]}),e.then(a,a)},mn.prototype.componentWillUnmount=function(){this.t=[]},mn.prototype.render=function(e,t){if(this.__b){if(this.__v.__k){var n=document.createElement("div"),r=this.__v.__k[0].__c;this.__v.__k[0]=Ro(this.__b,n,r.__O=r.__P)}this.__b=null}var o=t.__a&&Ie(Ne,null,e.fallback);return o&&(o.__u&=-33),[Ie(Ne,null,t.__a?null:e.children),o]};var xr=function(e,t,n){if(++n[1]===n[0]&&e.o.delete(t),e.props.revealOrder&&(e.props.revealOrder[0]!=="t"||!e.o.size))for(n=e.u;n;){for(;n.length>3;)n.pop()();if(n[1]>>1,1),t.i.removeChild(r)}}),Mt(Ie(Di,{context:t.context},e.__v),t.l)}function Mo(e,t){var n=Ie(xi,{__v:e,i:t});return n.containerInfo=t,n}(gt.prototype=new ke).__a=function(e){var t=this,n=qo(t.__v),r=t.o.get(e);return r[0]++,function(o){var i=function(){t.props.revealOrder?(r.push(o),xr(t,e,r)):o()};n?n(i):i()}},gt.prototype.render=function(e){this.u=null,this.o=new Map;var t=Te(e.children);e.revealOrder&&e.revealOrder[0]==="b"&&t.reverse();for(var n=t.length;n--;)this.o.set(t[n],this.u=[1,0,this.u]);return e.children},gt.prototype.componentDidUpdate=gt.prototype.componentDidMount=function(){var e=this;this.o.forEach(function(t,n){xr(e,n,t)})};var Ho=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.element")||60103,Ci=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image(!S)|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,Ai=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,Ni=/[A-Z0-9]/g,Ti=typeof document<"u",Ri=function(e){return(typeof Symbol<"u"&&typeof Symbol()=="symbol"?/fil|che|rad/:/fil|che|ra/).test(e)};function Uo(e,t,n){return t.__k==null&&(t.textContent=""),Mt(e,t),typeof n=="function"&&n(),e?e.__c:null}ke.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(e){Object.defineProperty(ke.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})});var Cr=H.event;function Li(){}function qi(){return this.cancelBubble}function Mi(){return this.defaultPrevented}H.event=function(e){return Cr&&(e=Cr(e)),e.persist=Li,e.isPropagationStopped=qi,e.isDefaultPrevented=Mi,e.nativeEvent=e};var or,Hi={enumerable:!1,configurable:!0,get:function(){return this.class}},Ar=H.vnode;H.vnode=function(e){typeof e.type=="string"&&function(t){var n=t.props,r=t.type,o={},i=r.indexOf("-")===-1;for(var a in n){var u=n[a];if(!(a==="value"&&"defaultValue"in n&&u==null||Ti&&a==="children"&&r==="noscript"||a==="class"||a==="className")){var f=a.toLowerCase();a==="defaultValue"&&"value"in n&&n.value==null?a="value":a==="download"&&u===!0?u="":f==="translate"&&u==="no"?u=!1:f[0]==="o"&&f[1]==="n"?f==="ondoubleclick"?a="ondblclick":f!=="onchange"||r!=="input"&&r!=="textarea"||Ri(n.type)?f==="onfocus"?a="onfocusin":f==="onblur"?a="onfocusout":Ai.test(a)&&(a=f):f=a="oninput":i&&Ci.test(a)?a=a.replace(Ni,"-$&").toLowerCase():u===null&&(u=void 0),f==="oninput"&&o[a=f]&&(a="oninputCapture"),o[a]=u}}r=="select"&&o.multiple&&Array.isArray(o.value)&&(o.value=Te(n.children).forEach(function(s){s.props.selected=o.value.indexOf(s.props.value)!=-1})),r=="select"&&o.defaultValue!=null&&(o.value=Te(n.children).forEach(function(s){s.props.selected=o.multiple?o.defaultValue.indexOf(s.props.value)!=-1:o.defaultValue==s.props.value})),n.class&&!n.className?(o.class=n.class,Object.defineProperty(o,"className",Hi)):(n.className&&!n.class||n.class&&n.className)&&(o.class=o.className=n.className),t.props=o}(e),e.$$typeof=Ho,Ar&&Ar(e)};var Nr=H.__r;H.__r=function(e){Nr&&Nr(e),or=e.__c};var Tr=H.diffed;H.diffed=function(e){Tr&&Tr(e);var t=e.props,n=e.__e;n!=null&&e.type==="textarea"&&"value"in t&&t.value!==n.value&&(n.value=t.value==null?"":t.value),or=null};var Ui={ReactCurrentDispatcher:{current:{readContext:function(e){return or.__n[e.__c].props.value},useCallback:xo,useContext:Co,useDebugValue:Ao,useDeferredValue:Bo,useEffect:Kt,useId:No,useImperativeHandle:Do,useInsertionEffect:Ko,useLayoutEffect:Wt,useMemo:yn,useReducer:nr,useRef:ko,useState:Vt,useSyncExternalStore:Wo,useTransition:Vo}}};function Xt(e){return!!e&&e.$$typeof===Ho}function Fo(e){e()}function Bo(e){return e}function Vo(){return[!1,Fo]}var Ko=Wt;function Wo(e,t){var n=t(),r=Vt({h:{__:n,v:t}}),o=r[0].h,i=r[1];return Wt(function(){o.__=n,o.v=t,Dn(o)&&i({h:o})},[e,n,t]),Kt(function(){return Dn(o)&&i({h:o}),e(function(){Dn(o)&&i({h:o})})},[e]),n}function Dn(e){var t,n,r=e.v,o=e.__;try{var i=r();return!((t=o)===(n=i)&&(t!==0||1/t==1/n)||t!=t&&n!=n)}catch{return!0}}var l={useState:Vt,useId:No,useReducer:nr,useEffect:Kt,useLayoutEffect:Wt,useInsertionEffect:Ko,useTransition:Vo,useDeferredValue:Bo,useSyncExternalStore:Wo,startTransition:Fo,useRef:ko,useImperativeHandle:Do,useMemo:yn,useCallback:xo,useContext:Co,useDebugValue:Ao,version:"18.3.1",Children:Ii,render:Uo,hydrate:function(e,t,n){return Po(e,t),typeof n=="function"&&n(),e?e.__c:null},unmountComponentAtNode:function(e){return!!e.__k&&(Mt(null,e),!0)},createPortal:Mo,createElement:Ie,createContext:function(e,t){var n={__c:t="__cC"+_o++,__:e,Consumer:function(r,o){return r.children(o)},Provider:function(r){var o,i;return this.getChildContext||(o=new Set,(i={})[t]=this,this.getChildContext=function(){return i},this.componentWillUnmount=function(){o=null},this.shouldComponentUpdate=function(a){this.props.value!==a.value&&o.forEach(function(u){u.__e=!0,Bn(u)})},this.sub=function(a){o.add(a);var u=a.componentWillUnmount;a.componentWillUnmount=function(){o&&o.delete(a),u&&u.call(a)}}),r.children}};return n.Provider.__=n.Consumer.contextType=n},createFactory:function(e){return Ie.bind(null,e)},cloneElement:function(e){return Xt(e)?wi.apply(null,arguments):e},createRef:function(){return{current:null}},Fragment:Ne,isValidElement:Xt,isElement:Xt,isFragment:function(e){return Xt(e)&&e.type===Ne},isMemo:function(e){return!!e&&!!e.displayName&&(typeof e.displayName=="string"||e.displayName instanceof String)&&e.displayName.startsWith("Memo(")},findDOMNode:function(e){return e&&(e.base||e.nodeType===1&&e)||null},Component:ke,PureComponent:Wn,memo:function(e,t){function n(o){var i=this.props.ref,a=i==o.ref;return!a&&i&&(i.call?i(null):i.current=null),t?!t(this.props,o)||!a:Kn(this.props,o)}function r(o){return this.shouldComponentUpdate=n,Ie(e,o)}return r.displayName="Memo("+(e.displayName||e.name)+")",r.prototype.isReactComponent=!0,r.__f=!0,r},forwardRef:function(e){function t(n){if(!("ref"in n))return e(n,null);var r=n.ref;delete n.ref;var o=e(n,r);return n.ref=r,o}return t.$$typeof=Pi,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t},flushSync:function(e,t){return e(t)},unstable_batchedUpdates:function(e,t){return e(t)},StrictMode:Ne,Suspense:mn,SuspenseList:gt,lazy:function(e){var t,n,r;function o(i){if(t||(t=e()).then(function(a){n=a.default||a},function(a){r=a}),r)throw r;if(!n)throw t;return Ie(n,i)}return o.displayName="Lazy",o.__f=!0,o},__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:Ui};function zn(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n=0;--A){var P=this.tryEntries[A],L=P.completion;if(P.tryLoc==="root")return O("end");if(P.tryLoc<=this.prev){var q=r.call(P,"catchLoc"),$=r.call(P,"finallyLoc");if(q&&$){if(this.prev=0;--O){var A=this.tryEntries[O];if(A.tryLoc<=this.prev&&r.call(A,"finallyLoc")&&this.prev=0;--b){var O=this.tryEntries[b];if(O.finallyLoc===S)return this.complete(O.completion,O.afterLoc),T(O),d}},catch:function(S){for(var b=this.tryEntries.length-1;b>=0;--b){var O=this.tryEntries[b];if(O.tryLoc===S){var A=O.completion;if(A.type==="throw"){var P=A.arg;T(O)}return P}}throw Error("illegal catch attempt")},delegateYield:function(S,b,O){return this.delegate={iterator:ye(S),resultName:b,nextLoc:O},this.method==="next"&&(this.arg=e),d}},t}function Ut(e,t){return Ut=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,r){return n.__proto__=r,n},Ut(e,t)}function de(e,t){return function(n){if(Array.isArray(n))return n}(e)||function(n,r){var o=n==null?null:typeof Symbol<"u"&&n[Symbol.iterator]||n["@@iterator"];if(o!=null){var i,a,u,f,s=[],m=!0,c=!1;try{if(u=(o=o.call(n)).next,r===0){if(Object(o)!==o)return;m=!1}else for(;!(m=(i=u.call(o)).done)&&(s.push(i.value),s.length!==r);m=!0);}catch(_){c=!0,a=_}finally{try{if(!m&&o.return!=null&&(f=o.return(),Object(f)!==f))return}finally{if(c)throw a}}return s}}(e,t)||zo(e,t)||function(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function Ot(e){return function(t){if(Array.isArray(t))return zn(t)}(e)||function(t){if(typeof Symbol<"u"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}(e)||zo(e)||function(){throw new TypeError(`Invalid attempt to spread non-iterable instance. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function Fi(e){var t=function(n){if(x(n)!="object"||!n)return n;var r=n[Symbol.toPrimitive];if(r!==void 0){var o=r.call(n,"string");if(x(o)!="object")return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(n)}(e);return x(t)=="symbol"?t:t+""}function zo(e,t){if(e){if(typeof e=="string")return zn(e,t);var n={}.toString.call(e).slice(8,-1);return n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set"?Array.from(e):n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?zn(e,t):void 0}}function Jn(e){var t=typeof Map=="function"?new Map:void 0;return Jn=function(n){if(n===null||!function(o){try{return Function.toString.call(o).indexOf("[native code]")!==-1}catch{return typeof o=="function"}}(n))return n;if(typeof n!="function")throw new TypeError("Super expression must either be null or a function");if(t!==void 0){if(t.has(n))return t.get(n);t.set(n,r)}function r(){return function(o,i,a){if(ir())return Reflect.construct.apply(null,arguments);var u=[null];u.push.apply(u,i);var f=new(o.bind.apply(o,u));return a&&Ut(f,a.prototype),f}(n,arguments,Ht(this).constructor)}return r.prototype=Object.create(n.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),Ut(r,n)},Jn(e)}function Bi(){return l.createElement("svg",{width:"15",height:"15",className:"DocSearch-Control-Key-Icon"},l.createElement("path",{d:"M4.505 4.496h2M5.505 5.496v5M8.216 4.496l.055 5.993M10 7.5c.333.333.5.667.5 1v2M12.326 4.5v5.996M8.384 4.496c1.674 0 2.116 0 2.116 1.5s-.442 1.5-2.116 1.5M3.205 9.303c-.09.448-.277 1.21-1.241 1.203C1 10.5.5 9.513.5 8V7c0-1.57.5-2.5 1.464-2.494.964.006 1.134.598 1.24 1.342M12.553 10.5h1.953",strokeWidth:"1.2",stroke:"currentColor",fill:"none",strokeLinecap:"square"}))}function Jo(){return l.createElement("svg",{width:"20",height:"20",className:"DocSearch-Search-Icon",viewBox:"0 0 20 20","aria-hidden":"true"},l.createElement("path",{d:"M14.386 14.386l4.0877 4.0877-4.0877-4.0877c-2.9418 2.9419-7.7115 2.9419-10.6533 0-2.9419-2.9418-2.9419-7.7115 0-10.6533 2.9418-2.9419 7.7115-2.9419 10.6533 0 2.9419 2.9418 2.9419 7.7115 0 10.6533z",stroke:"currentColor",fill:"none",fillRule:"evenodd",strokeLinecap:"round",strokeLinejoin:"round"}))}var Vi=["translations"],en="Ctrl",Ki=l.forwardRef(function(e,t){var n=e.translations,r=n===void 0?{}:n,o=De(e,Vi),i=r.buttonText,a=i===void 0?"Search":i,u=r.buttonAriaLabel,f=u===void 0?"Search":u,s=de(Vt(null),2),m=s[0],c=s[1];return Kt(function(){typeof navigator<"u"&&(/(Mac|iPhone|iPod|iPad)/i.test(navigator.platform)?c("⌘"):c(en))},[]),l.createElement("button",ue({type:"button",className:"DocSearch DocSearch-Button","aria-label":f},o,{ref:t}),l.createElement("span",{className:"DocSearch-Button-Container"},l.createElement(Jo,null),l.createElement("span",{className:"DocSearch-Button-Placeholder"},a)),l.createElement("span",{className:"DocSearch-Button-Keys"},m!==null&&l.createElement(l.Fragment,null,l.createElement(qr,{reactsToKey:m===en?en:"Meta"},m===en?l.createElement(Bi,null):m),l.createElement(qr,{reactsToKey:"k"},"K"))))});function qr(e){var t=e.reactsToKey,n=e.children,r=de(Vt(!1),2),o=r[0],i=r[1];return Kt(function(){if(t)return window.addEventListener("keydown",a),window.addEventListener("keyup",u),function(){window.removeEventListener("keydown",a),window.removeEventListener("keyup",u)};function a(f){f.key===t&&i(!0)}function u(f){f.key!==t&&f.key!=="Meta"||i(!1)}},[t]),l.createElement("kbd",{className:o?"DocSearch-Button-Key DocSearch-Button-Key--pressed":"DocSearch-Button-Key"},n)}function $o(e,t){var n=void 0;return function(){for(var r=arguments.length,o=new Array(r),i=0;ie.length)&&(t=e.length);for(var n=0,r=new Array(t);ne.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0||(m[f]=a[f]);return m}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function Fr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function ot(e){for(var t=1;tn in t}const Z={},xt=[],ke=()=>{},Wo=()=>!1,en=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Ds=e=>e.startsWith("onUpdate:"),ae=Object.assign,js=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Ko=Object.prototype.hasOwnProperty,z=(e,t)=>Ko.call(e,t),B=Array.isArray,Tt=e=>Nn(e)==="[object Map]",si=e=>Nn(e)==="[object Set]",q=e=>typeof e=="function",re=e=>typeof e=="string",Ye=e=>typeof e=="symbol",ne=e=>e!==null&&typeof e=="object",ri=e=>(ne(e)||q(e))&&q(e.then)&&q(e.catch),ii=Object.prototype.toString,Nn=e=>ii.call(e),qo=e=>Nn(e).slice(8,-1),oi=e=>Nn(e)==="[object Object]",Vs=e=>re(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Ct=$s(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Fn=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Go=/-(\w)/g,Le=Fn(e=>e.replace(Go,(t,n)=>n?n.toUpperCase():"")),Yo=/\B([A-Z])/g,st=Fn(e=>e.replace(Yo,"-$1").toLowerCase()),Hn=Fn(e=>e.charAt(0).toUpperCase()+e.slice(1)),vn=Fn(e=>e?`on${Hn(e)}`:""),et=(e,t)=>!Object.is(e,t),bn=(e,...t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:s,value:n})},ws=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Xo=e=>{const t=re(e)?Number(e):NaN;return isNaN(t)?e:t};let cr;const $n=()=>cr||(cr=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Dn(e){if(B(e)){const t={};for(let n=0;n{if(n){const s=n.split(zo);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function jn(e){let t="";if(re(e))t=e;else if(B(e))for(let n=0;n!!(e&&e.__v_isRef===!0),nl=e=>re(e)?e:e==null?"":B(e)||ne(e)&&(e.toString===ii||!q(e.toString))?ai(e)?nl(e.value):JSON.stringify(e,fi,2):String(e),fi=(e,t)=>ai(t)?fi(e,t.value):Tt(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,r],i)=>(n[es(s,i)+" =>"]=r,n),{})}:si(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>es(n))}:Ye(t)?es(t):ne(t)&&!B(t)&&!oi(t)?String(t):t,es=(e,t="")=>{var n;return Ye(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/** +* @vue/reactivity v3.5.13 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/let we;class sl{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=we,!t&&we&&(this.index=(we.scopes||(we.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t0)return;if(Vt){let t=Vt;for(Vt=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;jt;){let t=jt;for(jt=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(s){e||(e=s)}t=n}}if(e)throw e}function gi(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function mi(e){let t,n=e.depsTail,s=n;for(;s;){const r=s.prevDep;s.version===-1?(s===n&&(n=r),Bs(s),il(s)):t=s,s.dep.activeLink=s.prevActiveLink,s.prevActiveLink=void 0,s=r}e.deps=t,e.depsTail=n}function Ss(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(yi(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function yi(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===qt))return;e.globalVersion=qt;const t=e.dep;if(e.flags|=2,t.version>0&&!e.isSSR&&e.deps&&!Ss(e)){e.flags&=-3;return}const n=te,s=Ne;te=e,Ne=!0;try{gi(e);const r=e.fn(e._value);(t.version===0||et(r,e._value))&&(e._value=r,t.version++)}catch(r){throw t.version++,r}finally{te=n,Ne=s,mi(e),e.flags&=-3}}function Bs(e,t=!1){const{dep:n,prevSub:s,nextSub:r}=e;if(s&&(s.nextSub=r,e.prevSub=void 0),r&&(r.prevSub=s,e.nextSub=void 0),n.subs===e&&(n.subs=s,!s&&n.computed)){n.computed.flags&=-5;for(let i=n.computed.deps;i;i=i.nextDep)Bs(i,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function il(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let Ne=!0;const _i=[];function rt(){_i.push(Ne),Ne=!1}function it(){const e=_i.pop();Ne=e===void 0?!0:e}function ar(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=te;te=void 0;try{t()}finally{te=n}}}let qt=0;class ol{constructor(t,n){this.sub=t,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class Vn{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0}track(t){if(!te||!Ne||te===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==te)n=this.activeLink=new ol(te,this),te.deps?(n.prevDep=te.depsTail,te.depsTail.nextDep=n,te.depsTail=n):te.deps=te.depsTail=n,vi(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const s=n.nextDep;s.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=s),n.prevDep=te.depsTail,n.nextDep=void 0,te.depsTail.nextDep=n,te.depsTail=n,te.deps===n&&(te.deps=s)}return n}trigger(t){this.version++,qt++,this.notify(t)}notify(t){ks();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{Us()}}}function vi(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let s=t.deps;s;s=s.nextDep)vi(s)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const Cn=new WeakMap,dt=Symbol(""),Es=Symbol(""),Gt=Symbol("");function me(e,t,n){if(Ne&&te){let s=Cn.get(e);s||Cn.set(e,s=new Map);let r=s.get(n);r||(s.set(n,r=new Vn),r.map=s,r.key=n),r.track()}}function Ke(e,t,n,s,r,i){const o=Cn.get(e);if(!o){qt++;return}const l=c=>{c&&c.trigger()};if(ks(),t==="clear")o.forEach(l);else{const c=B(e),f=c&&Vs(n);if(c&&n==="length"){const a=Number(s);o.forEach((h,y)=>{(y==="length"||y===Gt||!Ye(y)&&y>=a)&&l(h)})}else switch((n!==void 0||o.has(void 0))&&l(o.get(n)),f&&l(o.get(Gt)),t){case"add":c?f&&l(o.get("length")):(l(o.get(dt)),Tt(e)&&l(o.get(Es)));break;case"delete":c||(l(o.get(dt)),Tt(e)&&l(o.get(Es)));break;case"set":Tt(e)&&l(o.get(dt));break}}Us()}function ll(e,t){const n=Cn.get(e);return n&&n.get(t)}function vt(e){const t=J(e);return t===e?t:(me(t,"iterate",Gt),Pe(e)?t:t.map(ye))}function kn(e){return me(e=J(e),"iterate",Gt),e}const cl={__proto__:null,[Symbol.iterator](){return ns(this,Symbol.iterator,ye)},concat(...e){return vt(this).concat(...e.map(t=>B(t)?vt(t):t))},entries(){return ns(this,"entries",e=>(e[1]=ye(e[1]),e))},every(e,t){return Ue(this,"every",e,t,void 0,arguments)},filter(e,t){return Ue(this,"filter",e,t,n=>n.map(ye),arguments)},find(e,t){return Ue(this,"find",e,t,ye,arguments)},findIndex(e,t){return Ue(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return Ue(this,"findLast",e,t,ye,arguments)},findLastIndex(e,t){return Ue(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return Ue(this,"forEach",e,t,void 0,arguments)},includes(...e){return ss(this,"includes",e)},indexOf(...e){return ss(this,"indexOf",e)},join(e){return vt(this).join(e)},lastIndexOf(...e){return ss(this,"lastIndexOf",e)},map(e,t){return Ue(this,"map",e,t,void 0,arguments)},pop(){return Ft(this,"pop")},push(...e){return Ft(this,"push",e)},reduce(e,...t){return fr(this,"reduce",e,t)},reduceRight(e,...t){return fr(this,"reduceRight",e,t)},shift(){return Ft(this,"shift")},some(e,t){return Ue(this,"some",e,t,void 0,arguments)},splice(...e){return Ft(this,"splice",e)},toReversed(){return vt(this).toReversed()},toSorted(e){return vt(this).toSorted(e)},toSpliced(...e){return vt(this).toSpliced(...e)},unshift(...e){return Ft(this,"unshift",e)},values(){return ns(this,"values",ye)}};function ns(e,t,n){const s=kn(e),r=s[t]();return s!==e&&!Pe(e)&&(r._next=r.next,r.next=()=>{const i=r._next();return i.value&&(i.value=n(i.value)),i}),r}const al=Array.prototype;function Ue(e,t,n,s,r,i){const o=kn(e),l=o!==e&&!Pe(e),c=o[t];if(c!==al[t]){const h=c.apply(e,i);return l?ye(h):h}let f=n;o!==e&&(l?f=function(h,y){return n.call(this,ye(h),y,e)}:n.length>2&&(f=function(h,y){return n.call(this,h,y,e)}));const a=c.call(o,f,s);return l&&r?r(a):a}function fr(e,t,n,s){const r=kn(e);let i=n;return r!==e&&(Pe(e)?n.length>3&&(i=function(o,l,c){return n.call(this,o,l,c,e)}):i=function(o,l,c){return n.call(this,o,ye(l),c,e)}),r[t](i,...s)}function ss(e,t,n){const s=J(e);me(s,"iterate",Gt);const r=s[t](...n);return(r===-1||r===!1)&&qs(n[0])?(n[0]=J(n[0]),s[t](...n)):r}function Ft(e,t,n=[]){rt(),ks();const s=J(e)[t].apply(e,n);return Us(),it(),s}const fl=$s("__proto__,__v_isRef,__isVue"),bi=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Ye));function ul(e){Ye(e)||(e=String(e));const t=J(this);return me(t,"has",e),t.hasOwnProperty(e)}class wi{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,s){if(n==="__v_skip")return t.__v_skip;const r=this._isReadonly,i=this._isShallow;if(n==="__v_isReactive")return!r;if(n==="__v_isReadonly")return r;if(n==="__v_isShallow")return i;if(n==="__v_raw")return s===(r?i?wl:Ti:i?xi:Ei).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(s)?t:void 0;const o=B(t);if(!r){let c;if(o&&(c=cl[n]))return c;if(n==="hasOwnProperty")return ul}const l=Reflect.get(t,n,de(t)?t:s);return(Ye(n)?bi.has(n):fl(n))||(r||me(t,"get",n),i)?l:de(l)?o&&Vs(n)?l:l.value:ne(l)?r?Bn(l):Un(l):l}}class Si extends wi{constructor(t=!1){super(!1,t)}set(t,n,s,r){let i=t[n];if(!this._isShallow){const c=yt(i);if(!Pe(s)&&!yt(s)&&(i=J(i),s=J(s)),!B(t)&&de(i)&&!de(s))return c?!1:(i.value=s,!0)}const o=B(t)&&Vs(n)?Number(n)e,cn=e=>Reflect.getPrototypeOf(e);function ml(e,t,n){return function(...s){const r=this.__v_raw,i=J(r),o=Tt(i),l=e==="entries"||e===Symbol.iterator&&o,c=e==="keys"&&o,f=r[e](...s),a=n?xs:t?Ts:ye;return!t&&me(i,"iterate",c?Es:dt),{next(){const{value:h,done:y}=f.next();return y?{value:h,done:y}:{value:l?[a(h[0]),a(h[1])]:a(h),done:y}},[Symbol.iterator](){return this}}}}function an(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function yl(e,t){const n={get(r){const i=this.__v_raw,o=J(i),l=J(r);e||(et(r,l)&&me(o,"get",r),me(o,"get",l));const{has:c}=cn(o),f=t?xs:e?Ts:ye;if(c.call(o,r))return f(i.get(r));if(c.call(o,l))return f(i.get(l));i!==o&&i.get(r)},get size(){const r=this.__v_raw;return!e&&me(J(r),"iterate",dt),Reflect.get(r,"size",r)},has(r){const i=this.__v_raw,o=J(i),l=J(r);return e||(et(r,l)&&me(o,"has",r),me(o,"has",l)),r===l?i.has(r):i.has(r)||i.has(l)},forEach(r,i){const o=this,l=o.__v_raw,c=J(l),f=t?xs:e?Ts:ye;return!e&&me(c,"iterate",dt),l.forEach((a,h)=>r.call(i,f(a),f(h),o))}};return ae(n,e?{add:an("add"),set:an("set"),delete:an("delete"),clear:an("clear")}:{add(r){!t&&!Pe(r)&&!yt(r)&&(r=J(r));const i=J(this);return cn(i).has.call(i,r)||(i.add(r),Ke(i,"add",r,r)),this},set(r,i){!t&&!Pe(i)&&!yt(i)&&(i=J(i));const o=J(this),{has:l,get:c}=cn(o);let f=l.call(o,r);f||(r=J(r),f=l.call(o,r));const a=c.call(o,r);return o.set(r,i),f?et(i,a)&&Ke(o,"set",r,i):Ke(o,"add",r,i),this},delete(r){const i=J(this),{has:o,get:l}=cn(i);let c=o.call(i,r);c||(r=J(r),c=o.call(i,r)),l&&l.call(i,r);const f=i.delete(r);return c&&Ke(i,"delete",r,void 0),f},clear(){const r=J(this),i=r.size!==0,o=r.clear();return i&&Ke(r,"clear",void 0,void 0),o}}),["keys","values","entries",Symbol.iterator].forEach(r=>{n[r]=ml(r,e,t)}),n}function Ws(e,t){const n=yl(e,t);return(s,r,i)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?s:Reflect.get(z(n,r)&&r in s?n:s,r,i)}const _l={get:Ws(!1,!1)},vl={get:Ws(!1,!0)},bl={get:Ws(!0,!1)};const Ei=new WeakMap,xi=new WeakMap,Ti=new WeakMap,wl=new WeakMap;function Sl(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function El(e){return e.__v_skip||!Object.isExtensible(e)?0:Sl(qo(e))}function Un(e){return yt(e)?e:Ks(e,!1,hl,_l,Ei)}function xl(e){return Ks(e,!1,gl,vl,xi)}function Bn(e){return Ks(e,!0,pl,bl,Ti)}function Ks(e,t,n,s,r){if(!ne(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const i=r.get(e);if(i)return i;const o=El(e);if(o===0)return e;const l=new Proxy(e,o===2?s:n);return r.set(e,l),l}function ht(e){return yt(e)?ht(e.__v_raw):!!(e&&e.__v_isReactive)}function yt(e){return!!(e&&e.__v_isReadonly)}function Pe(e){return!!(e&&e.__v_isShallow)}function qs(e){return e?!!e.__v_raw:!1}function J(e){const t=e&&e.__v_raw;return t?J(t):e}function wn(e){return!z(e,"__v_skip")&&Object.isExtensible(e)&&li(e,"__v_skip",!0),e}const ye=e=>ne(e)?Un(e):e,Ts=e=>ne(e)?Bn(e):e;function de(e){return e?e.__v_isRef===!0:!1}function ce(e){return Ai(e,!1)}function Ci(e){return Ai(e,!0)}function Ai(e,t){return de(e)?e:new Tl(e,t)}class Tl{constructor(t,n){this.dep=new Vn,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:J(t),this._value=n?t:ye(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,s=this.__v_isShallow||Pe(t)||yt(t);t=s?t:J(t),et(t,n)&&(this._rawValue=t,this._value=s?t:ye(t),this.dep.trigger())}}function Gs(e){return de(e)?e.value:e}function bf(e){return q(e)?e():Gs(e)}const Cl={get:(e,t,n)=>t==="__v_raw"?e:Gs(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const r=e[t];return de(r)&&!de(n)?(r.value=n,!0):Reflect.set(e,t,n,s)}};function Ri(e){return ht(e)?e:new Proxy(e,Cl)}class Al{constructor(t){this.__v_isRef=!0,this._value=void 0;const n=this.dep=new Vn,{get:s,set:r}=t(n.track.bind(n),n.trigger.bind(n));this._get=s,this._set=r}get value(){return this._value=this._get()}set value(t){this._set(t)}}function Rl(e){return new Al(e)}class Ol{constructor(t,n,s){this._object=t,this._key=n,this._defaultValue=s,this.__v_isRef=!0,this._value=void 0}get value(){const t=this._object[this._key];return this._value=t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return ll(J(this._object),this._key)}}class Ml{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}}function Pl(e,t,n){return de(e)?e:q(e)?new Ml(e):ne(e)&&arguments.length>1?Ll(e,t,n):ce(e)}function Ll(e,t,n){const s=e[t];return de(s)?s:new Ol(e,t,n)}class Il{constructor(t,n,s){this.fn=t,this.setter=n,this._value=void 0,this.dep=new Vn(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=qt-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=s}notify(){if(this.flags|=16,!(this.flags&8)&&te!==this)return pi(this,!0),!0}get value(){const t=this.dep.track();return yi(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function Nl(e,t,n=!1){let s,r;return q(e)?s=e:(s=e.get,r=e.set),new Il(s,r,n)}const fn={},An=new WeakMap;let ft;function Fl(e,t=!1,n=ft){if(n){let s=An.get(n);s||An.set(n,s=[]),s.push(e)}}function Hl(e,t,n=Z){const{immediate:s,deep:r,once:i,scheduler:o,augmentJob:l,call:c}=n,f=g=>r?g:Pe(g)||r===!1||r===0?qe(g,1):qe(g);let a,h,y,_,x=!1,v=!1;if(de(e)?(h=()=>e.value,x=Pe(e)):ht(e)?(h=()=>f(e),x=!0):B(e)?(v=!0,x=e.some(g=>ht(g)||Pe(g)),h=()=>e.map(g=>{if(de(g))return g.value;if(ht(g))return f(g);if(q(g))return c?c(g,2):g()})):q(e)?t?h=c?()=>c(e,2):e:h=()=>{if(y){rt();try{y()}finally{it()}}const g=ft;ft=a;try{return c?c(e,3,[_]):e(_)}finally{ft=g}}:h=ke,t&&r){const g=h,O=r===!0?1/0:r;h=()=>qe(g(),O)}const K=ui(),N=()=>{a.stop(),K&&K.active&&js(K.effects,a)};if(i&&t){const g=t;t=(...O)=>{g(...O),N()}}let j=v?new Array(e.length).fill(fn):fn;const p=g=>{if(!(!(a.flags&1)||!a.dirty&&!g))if(t){const O=a.run();if(r||x||(v?O.some((F,$)=>et(F,j[$])):et(O,j))){y&&y();const F=ft;ft=a;try{const $=[O,j===fn?void 0:v&&j[0]===fn?[]:j,_];c?c(t,3,$):t(...$),j=O}finally{ft=F}}}else a.run()};return l&&l(p),a=new di(h),a.scheduler=o?()=>o(p,!1):p,_=g=>Fl(g,!1,a),y=a.onStop=()=>{const g=An.get(a);if(g){if(c)c(g,4);else for(const O of g)O();An.delete(a)}},t?s?p(!0):j=a.run():o?o(p.bind(null,!0),!0):a.run(),N.pause=a.pause.bind(a),N.resume=a.resume.bind(a),N.stop=N,N}function qe(e,t=1/0,n){if(t<=0||!ne(e)||e.__v_skip||(n=n||new Set,n.has(e)))return e;if(n.add(e),t--,de(e))qe(e.value,t,n);else if(B(e))for(let s=0;s{qe(s,t,n)});else if(oi(e)){for(const s in e)qe(e[s],t,n);for(const s of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,s)&&qe(e[s],t,n)}return e}/** +* @vue/runtime-core v3.5.13 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/function tn(e,t,n,s){try{return s?e(...s):e()}catch(r){nn(r,t,n)}}function He(e,t,n,s){if(q(e)){const r=tn(e,t,n,s);return r&&ri(r)&&r.catch(i=>{nn(i,t,n)}),r}if(B(e)){const r=[];for(let i=0;i>>1,r=Se[s],i=Yt(r);i=Yt(n)?Se.push(e):Se.splice(Dl(t),0,e),e.flags|=1,Mi()}}function Mi(){Rn||(Rn=Oi.then(Pi))}function jl(e){B(e)?At.push(...e):ze&&e.id===-1?ze.splice(wt+1,0,e):e.flags&1||(At.push(e),e.flags|=1),Mi()}function ur(e,t,n=je+1){for(;nYt(n)-Yt(s));if(At.length=0,ze){ze.push(...t);return}for(ze=t,wt=0;wte.id==null?e.flags&2?-1:1/0:e.id;function Pi(e){try{for(je=0;je{s._d&&Cr(-1);const i=Mn(t);let o;try{o=e(...r)}finally{Mn(i),s._d&&Cr(1)}return o};return s._n=!0,s._c=!0,s._d=!0,s}function wf(e,t){if(ue===null)return e;const n=Jn(ue),s=e.dirs||(e.dirs=[]);for(let r=0;re.__isTeleport,kt=e=>e&&(e.disabled||e.disabled===""),dr=e=>e&&(e.defer||e.defer===""),hr=e=>typeof SVGElement<"u"&&e instanceof SVGElement,pr=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,Cs=(e,t)=>{const n=e&&e.to;return re(n)?t?t(n):null:n},Fi={name:"Teleport",__isTeleport:!0,process(e,t,n,s,r,i,o,l,c,f){const{mc:a,pc:h,pbc:y,o:{insert:_,querySelector:x,createText:v,createComment:K}}=f,N=kt(t.props);let{shapeFlag:j,children:p,dynamicChildren:g}=t;if(e==null){const O=t.el=v(""),F=t.anchor=v("");_(O,n,s),_(F,n,s);const $=(R,b)=>{j&16&&(r&&r.isCE&&(r.ce._teleportTarget=R),a(p,R,b,r,i,o,l,c))},V=()=>{const R=t.target=Cs(t.props,x),b=Hi(R,t,v,_);R&&(o!=="svg"&&hr(R)?o="svg":o!=="mathml"&&pr(R)&&(o="mathml"),N||($(R,b),Sn(t,!1)))};N&&($(n,F),Sn(t,!0)),dr(t.props)?be(()=>{V(),t.el.__isMounted=!0},i):V()}else{if(dr(t.props)&&!e.el.__isMounted){be(()=>{Fi.process(e,t,n,s,r,i,o,l,c,f),delete e.el.__isMounted},i);return}t.el=e.el,t.targetStart=e.targetStart;const O=t.anchor=e.anchor,F=t.target=e.target,$=t.targetAnchor=e.targetAnchor,V=kt(e.props),R=V?n:F,b=V?O:$;if(o==="svg"||hr(F)?o="svg":(o==="mathml"||pr(F))&&(o="mathml"),g?(y(e.dynamicChildren,g,R,r,i,o,l),Zs(e,t,!0)):c||h(e,t,R,b,r,i,o,l,!1),N)V?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):un(t,n,O,f,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const I=t.target=Cs(t.props,x);I&&un(t,I,null,f,0)}else V&&un(t,F,$,f,1);Sn(t,N)}},remove(e,t,n,{um:s,o:{remove:r}},i){const{shapeFlag:o,children:l,anchor:c,targetStart:f,targetAnchor:a,target:h,props:y}=e;if(h&&(r(f),r(a)),i&&r(c),o&16){const _=i||!kt(y);for(let x=0;x{e.isMounted=!0}),Bi(()=>{e.isUnmounting=!0}),e}const Re=[Function,Array],$i={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Re,onEnter:Re,onAfterEnter:Re,onEnterCancelled:Re,onBeforeLeave:Re,onLeave:Re,onAfterLeave:Re,onLeaveCancelled:Re,onBeforeAppear:Re,onAppear:Re,onAfterAppear:Re,onAppearCancelled:Re},Di=e=>{const t=e.subTree;return t.component?Di(t.component):t},Bl={name:"BaseTransition",props:$i,setup(e,{slots:t}){const n=Xn(),s=Ul();return()=>{const r=t.default&&ki(t.default(),!0);if(!r||!r.length)return;const i=ji(r),o=J(e),{mode:l}=o;if(s.isLeaving)return rs(i);const c=gr(i);if(!c)return rs(i);let f=As(c,o,s,n,h=>f=h);c.type!==_e&&Xt(c,f);let a=n.subTree&&gr(n.subTree);if(a&&a.type!==_e&&!ut(c,a)&&Di(n).type!==_e){let h=As(a,o,s,n);if(Xt(a,h),l==="out-in"&&c.type!==_e)return s.isLeaving=!0,h.afterLeave=()=>{s.isLeaving=!1,n.job.flags&8||n.update(),delete h.afterLeave,a=void 0},rs(i);l==="in-out"&&c.type!==_e?h.delayLeave=(y,_,x)=>{const v=Vi(s,a);v[String(a.key)]=a,y[Qe]=()=>{_(),y[Qe]=void 0,delete f.delayedLeave,a=void 0},f.delayedLeave=()=>{x(),delete f.delayedLeave,a=void 0}}:a=void 0}else a&&(a=void 0);return i}}};function ji(e){let t=e[0];if(e.length>1){for(const n of e)if(n.type!==_e){t=n;break}}return t}const Wl=Bl;function Vi(e,t){const{leavingVNodes:n}=e;let s=n.get(t.type);return s||(s=Object.create(null),n.set(t.type,s)),s}function As(e,t,n,s,r){const{appear:i,mode:o,persisted:l=!1,onBeforeEnter:c,onEnter:f,onAfterEnter:a,onEnterCancelled:h,onBeforeLeave:y,onLeave:_,onAfterLeave:x,onLeaveCancelled:v,onBeforeAppear:K,onAppear:N,onAfterAppear:j,onAppearCancelled:p}=t,g=String(e.key),O=Vi(n,e),F=(R,b)=>{R&&He(R,s,9,b)},$=(R,b)=>{const I=b[1];F(R,b),B(R)?R.every(S=>S.length<=1)&&I():R.length<=1&&I()},V={mode:o,persisted:l,beforeEnter(R){let b=c;if(!n.isMounted)if(i)b=K||c;else return;R[Qe]&&R[Qe](!0);const I=O[g];I&&ut(e,I)&&I.el[Qe]&&I.el[Qe](),F(b,[R])},enter(R){let b=f,I=a,S=h;if(!n.isMounted)if(i)b=N||f,I=j||a,S=p||h;else return;let W=!1;const se=R[dn]=ie=>{W||(W=!0,ie?F(S,[R]):F(I,[R]),V.delayedLeave&&V.delayedLeave(),R[dn]=void 0)};b?$(b,[R,se]):se()},leave(R,b){const I=String(e.key);if(R[dn]&&R[dn](!0),n.isUnmounting)return b();F(y,[R]);let S=!1;const W=R[Qe]=se=>{S||(S=!0,b(),se?F(v,[R]):F(x,[R]),R[Qe]=void 0,O[I]===e&&delete O[I])};O[I]=e,_?$(_,[R,W]):W()},clone(R){const b=As(R,t,n,s,r);return r&&r(b),b}};return V}function rs(e){if(sn(e))return e=nt(e),e.children=null,e}function gr(e){if(!sn(e))return Ni(e.type)&&e.children?ji(e.children):e;const{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&q(n.default))return n.default()}}function Xt(e,t){e.shapeFlag&6&&e.component?(e.transition=t,Xt(e.component.subTree,t)):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function ki(e,t=!1,n){let s=[],r=0;for(let i=0;i1)for(let i=0;iJt(x,t&&(B(t)?t[v]:t),n,s,r));return}if(pt(s)&&!r){s.shapeFlag&512&&s.type.__asyncResolved&&s.component.subTree.component&&Jt(e,t,n,s.component.subTree);return}const i=s.shapeFlag&4?Jn(s.component):s.el,o=r?null:i,{i:l,r:c}=e,f=t&&t.r,a=l.refs===Z?l.refs={}:l.refs,h=l.setupState,y=J(h),_=h===Z?()=>!1:x=>z(y,x);if(f!=null&&f!==c&&(re(f)?(a[f]=null,_(f)&&(h[f]=null)):de(f)&&(f.value=null)),q(c))tn(c,l,12,[o,a]);else{const x=re(c),v=de(c);if(x||v){const K=()=>{if(e.f){const N=x?_(c)?h[c]:a[c]:c.value;r?B(N)&&js(N,i):B(N)?N.includes(i)||N.push(i):x?(a[c]=[i],_(c)&&(h[c]=a[c])):(c.value=[i],e.k&&(a[e.k]=c.value))}else x?(a[c]=o,_(c)&&(h[c]=o)):v&&(c.value=o,e.k&&(a[e.k]=o))};o?(K.id=-1,be(K,n)):K()}}}let mr=!1;const bt=()=>{mr||(console.error("Hydration completed but contains mismatches."),mr=!0)},Kl=e=>e.namespaceURI.includes("svg")&&e.tagName!=="foreignObject",ql=e=>e.namespaceURI.includes("MathML"),hn=e=>{if(e.nodeType===1){if(Kl(e))return"svg";if(ql(e))return"mathml"}},Et=e=>e.nodeType===8;function Gl(e){const{mt:t,p:n,o:{patchProp:s,createText:r,nextSibling:i,parentNode:o,remove:l,insert:c,createComment:f}}=e,a=(p,g)=>{if(!g.hasChildNodes()){n(null,p,g),On(),g._vnode=p;return}h(g.firstChild,p,null,null,null),On(),g._vnode=p},h=(p,g,O,F,$,V=!1)=>{V=V||!!g.dynamicChildren;const R=Et(p)&&p.data==="[",b=()=>v(p,g,O,F,$,R),{type:I,ref:S,shapeFlag:W,patchFlag:se}=g;let ie=p.nodeType;g.el=p,se===-2&&(V=!1,g.dynamicChildren=null);let k=null;switch(I){case gt:ie!==3?g.children===""?(c(g.el=r(""),o(p),p),k=p):k=b():(p.data!==g.children&&(bt(),p.data=g.children),k=i(p));break;case _e:j(p)?(k=i(p),N(g.el=p.content.firstChild,p,O)):ie!==8||R?k=b():k=i(p);break;case Bt:if(R&&(p=i(p),ie=p.nodeType),ie===1||ie===3){k=p;const Y=!g.children.length;for(let D=0;D{V=V||!!g.dynamicChildren;const{type:R,props:b,patchFlag:I,shapeFlag:S,dirs:W,transition:se}=g,ie=R==="input"||R==="option";if(ie||I!==-1){W&&Ve(g,null,O,"created");let k=!1;if(j(p)){k=lo(null,se)&&O&&O.vnode.props&&O.vnode.props.appear;const D=p.content.firstChild;k&&se.beforeEnter(D),N(D,p,O),g.el=p=D}if(S&16&&!(b&&(b.innerHTML||b.textContent))){let D=_(p.firstChild,g,p,O,F,$,V);for(;D;){pn(p,1)||bt();const he=D;D=D.nextSibling,l(he)}}else if(S&8){let D=g.children;D[0]===` +`&&(p.tagName==="PRE"||p.tagName==="TEXTAREA")&&(D=D.slice(1)),p.textContent!==D&&(pn(p,0)||bt(),p.textContent=g.children)}if(b){if(ie||!V||I&48){const D=p.tagName.includes("-");for(const he in b)(ie&&(he.endsWith("value")||he==="indeterminate")||en(he)&&!Ct(he)||he[0]==="."||D)&&s(p,he,null,b[he],void 0,O)}else if(b.onClick)s(p,"onClick",null,b.onClick,void 0,O);else if(I&4&&ht(b.style))for(const D in b.style)b.style[D]}let Y;(Y=b&&b.onVnodeBeforeMount)&&Oe(Y,O,g),W&&Ve(g,null,O,"beforeMount"),((Y=b&&b.onVnodeMounted)||W||k)&&go(()=>{Y&&Oe(Y,O,g),k&&se.enter(p),W&&Ve(g,null,O,"mounted")},F)}return p.nextSibling},_=(p,g,O,F,$,V,R)=>{R=R||!!g.dynamicChildren;const b=g.children,I=b.length;for(let S=0;S{const{slotScopeIds:R}=g;R&&($=$?$.concat(R):R);const b=o(p),I=_(i(p),g,b,O,F,$,V);return I&&Et(I)&&I.data==="]"?i(g.anchor=I):(bt(),c(g.anchor=f("]"),b,I),I)},v=(p,g,O,F,$,V)=>{if(pn(p.parentElement,1)||bt(),g.el=null,V){const I=K(p);for(;;){const S=i(p);if(S&&S!==I)l(S);else break}}const R=i(p),b=o(p);return l(p),n(null,g,b,R,O,F,hn(b),$),O&&(O.vnode.el=g.el,ho(O,g.el)),R},K=(p,g="[",O="]")=>{let F=0;for(;p;)if(p=i(p),p&&Et(p)&&(p.data===g&&F++,p.data===O)){if(F===0)return i(p);F--}return p},N=(p,g,O)=>{const F=g.parentNode;F&&F.replaceChild(p,g);let $=O;for(;$;)$.vnode.el===g&&($.vnode.el=$.subTree.el=p),$=$.parent},j=p=>p.nodeType===1&&p.tagName==="TEMPLATE";return[a,h]}const yr="data-allow-mismatch",Yl={0:"text",1:"children",2:"class",3:"style",4:"attribute"};function pn(e,t){if(t===0||t===1)for(;e&&!e.hasAttribute(yr);)e=e.parentElement;const n=e&&e.getAttribute(yr);if(n==null)return!1;if(n==="")return!0;{const s=n.split(",");return t===0&&s.includes("children")?!0:n.split(",").includes(Yl[t])}}$n().requestIdleCallback;$n().cancelIdleCallback;function Xl(e,t){if(Et(e)&&e.data==="["){let n=1,s=e.nextSibling;for(;s;){if(s.nodeType===1){if(t(s)===!1)break}else if(Et(s))if(s.data==="]"){if(--n===0)break}else s.data==="["&&n++;s=s.nextSibling}}else t(e)}const pt=e=>!!e.type.__asyncLoader;/*! #__NO_SIDE_EFFECTS__ */function Ef(e){q(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:s,delay:r=200,hydrate:i,timeout:o,suspensible:l=!0,onError:c}=e;let f=null,a,h=0;const y=()=>(h++,f=null,_()),_=()=>{let x;return f||(x=f=t().catch(v=>{if(v=v instanceof Error?v:new Error(String(v)),c)return new Promise((K,N)=>{c(v,()=>K(y()),()=>N(v),h+1)});throw v}).then(v=>x!==f&&f?f:(v&&(v.__esModule||v[Symbol.toStringTag]==="Module")&&(v=v.default),a=v,v)))};return Xs({name:"AsyncComponentWrapper",__asyncLoader:_,__asyncHydrate(x,v,K){const N=i?()=>{const j=i(K,p=>Xl(x,p));j&&(v.bum||(v.bum=[])).push(j)}:K;a?N():_().then(()=>!v.isUnmounted&&N())},get __asyncResolved(){return a},setup(){const x=fe;if(Js(x),a)return()=>is(a,x);const v=p=>{f=null,nn(p,x,13,!s)};if(l&&x.suspense||Mt)return _().then(p=>()=>is(p,x)).catch(p=>(v(p),()=>s?le(s,{error:p}):null));const K=ce(!1),N=ce(),j=ce(!!r);return r&&setTimeout(()=>{j.value=!1},r),o!=null&&setTimeout(()=>{if(!K.value&&!N.value){const p=new Error(`Async component timed out after ${o}ms.`);v(p),N.value=p}},o),_().then(()=>{K.value=!0,x.parent&&sn(x.parent.vnode)&&x.parent.update()}).catch(p=>{v(p),N.value=p}),()=>{if(K.value&&a)return is(a,x);if(N.value&&s)return le(s,{error:N.value});if(n&&!j.value)return le(n)}}})}function is(e,t){const{ref:n,props:s,children:r,ce:i}=t.vnode,o=le(e,s,r);return o.ref=n,o.ce=i,delete t.vnode.ce,o}const sn=e=>e.type.__isKeepAlive;function Jl(e,t){Ui(e,"a",t)}function zl(e,t){Ui(e,"da",t)}function Ui(e,t,n=fe){const s=e.__wdc||(e.__wdc=()=>{let r=n;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(Kn(t,s,n),n){let r=n.parent;for(;r&&r.parent;)sn(r.parent.vnode)&&Ql(s,t,n,r),r=r.parent}}function Ql(e,t,n,s){const r=Kn(t,e,s,!0);qn(()=>{js(s[t],r)},n)}function Kn(e,t,n=fe,s=!1){if(n){const r=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...o)=>{rt();const l=rn(n),c=He(t,n,e,o);return l(),it(),c});return s?r.unshift(i):r.push(i),i}}const Xe=e=>(t,n=fe)=>{(!Mt||e==="sp")&&Kn(e,(...s)=>t(...s),n)},Zl=Xe("bm"),Lt=Xe("m"),ec=Xe("bu"),tc=Xe("u"),Bi=Xe("bum"),qn=Xe("um"),nc=Xe("sp"),sc=Xe("rtg"),rc=Xe("rtc");function ic(e,t=fe){Kn("ec",e,t)}const Wi="components";function xf(e,t){return qi(Wi,e,!0,t)||e}const Ki=Symbol.for("v-ndc");function Tf(e){return re(e)?qi(Wi,e,!1)||e:e||Ki}function qi(e,t,n=!0,s=!1){const r=ue||fe;if(r){const i=r.type;{const l=Uc(i,!1);if(l&&(l===t||l===Le(t)||l===Hn(Le(t))))return i}const o=_r(r[e]||i[e],t)||_r(r.appContext[e],t);return!o&&s?i:o}}function _r(e,t){return e&&(e[t]||e[Le(t)]||e[Hn(Le(t))])}function Cf(e,t,n,s){let r;const i=n,o=B(e);if(o||re(e)){const l=o&&ht(e);let c=!1;l&&(c=!Pe(e),e=kn(e)),r=new Array(e.length);for(let f=0,a=e.length;ft(l,c,void 0,i));else{const l=Object.keys(e);r=new Array(l.length);for(let c=0,f=l.length;c{const i=s.fn(...r);return i&&(i.key=s.key),i}:s.fn)}return e}function Rf(e,t,n={},s,r){if(ue.ce||ue.parent&&pt(ue.parent)&&ue.parent.ce)return t!=="default"&&(n.name=t),Ls(),Is(Ee,null,[le("slot",n,s&&s())],64);let i=e[t];i&&i._c&&(i._d=!1),Ls();const o=i&&Gi(i(n)),l=n.key||o&&o.key,c=Is(Ee,{key:(l&&!Ye(l)?l:`_${t}`)+(!o&&s?"_fb":"")},o||(s?s():[]),o&&e._===1?64:-2);return!r&&c.scopeId&&(c.slotScopeIds=[c.scopeId+"-s"]),i&&i._c&&(i._d=!0),c}function Gi(e){return e.some(t=>Qt(t)?!(t.type===_e||t.type===Ee&&!Gi(t.children)):!0)?e:null}function Of(e,t){const n={};for(const s in e)n[/[A-Z]/.test(s)?`on:${s}`:vn(s)]=e[s];return n}const Rs=e=>e?bo(e)?Jn(e):Rs(e.parent):null,Ut=ae(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>Rs(e.parent),$root:e=>Rs(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>zs(e),$forceUpdate:e=>e.f||(e.f=()=>{Ys(e.update)}),$nextTick:e=>e.n||(e.n=Wn.bind(e.proxy)),$watch:e=>Cc.bind(e)}),os=(e,t)=>e!==Z&&!e.__isScriptSetup&&z(e,t),oc={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:s,data:r,props:i,accessCache:o,type:l,appContext:c}=e;let f;if(t[0]!=="$"){const _=o[t];if(_!==void 0)switch(_){case 1:return s[t];case 2:return r[t];case 4:return n[t];case 3:return i[t]}else{if(os(s,t))return o[t]=1,s[t];if(r!==Z&&z(r,t))return o[t]=2,r[t];if((f=e.propsOptions[0])&&z(f,t))return o[t]=3,i[t];if(n!==Z&&z(n,t))return o[t]=4,n[t];Os&&(o[t]=0)}}const a=Ut[t];let h,y;if(a)return t==="$attrs"&&me(e.attrs,"get",""),a(e);if((h=l.__cssModules)&&(h=h[t]))return h;if(n!==Z&&z(n,t))return o[t]=4,n[t];if(y=c.config.globalProperties,z(y,t))return y[t]},set({_:e},t,n){const{data:s,setupState:r,ctx:i}=e;return os(r,t)?(r[t]=n,!0):s!==Z&&z(s,t)?(s[t]=n,!0):z(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(i[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:s,appContext:r,propsOptions:i}},o){let l;return!!n[o]||e!==Z&&z(e,o)||os(t,o)||(l=i[0])&&z(l,o)||z(s,o)||z(Ut,o)||z(r.config.globalProperties,o)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:z(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function Mf(){return Yi().slots}function Pf(){return Yi().attrs}function Yi(){const e=Xn();return e.setupContext||(e.setupContext=So(e))}function vr(e){return B(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let Os=!0;function lc(e){const t=zs(e),n=e.proxy,s=e.ctx;Os=!1,t.beforeCreate&&br(t.beforeCreate,e,"bc");const{data:r,computed:i,methods:o,watch:l,provide:c,inject:f,created:a,beforeMount:h,mounted:y,beforeUpdate:_,updated:x,activated:v,deactivated:K,beforeDestroy:N,beforeUnmount:j,destroyed:p,unmounted:g,render:O,renderTracked:F,renderTriggered:$,errorCaptured:V,serverPrefetch:R,expose:b,inheritAttrs:I,components:S,directives:W,filters:se}=t;if(f&&cc(f,s,null),o)for(const Y in o){const D=o[Y];q(D)&&(s[Y]=D.bind(n))}if(r){const Y=r.call(n,n);ne(Y)&&(e.data=Un(Y))}if(Os=!0,i)for(const Y in i){const D=i[Y],he=q(D)?D.bind(n,n):q(D.get)?D.get.bind(n,n):ke,on=!q(D)&&q(D.set)?D.set.bind(n):ke,ot=oe({get:he,set:on});Object.defineProperty(s,Y,{enumerable:!0,configurable:!0,get:()=>ot.value,set:$e=>ot.value=$e})}if(l)for(const Y in l)Xi(l[Y],s,n,Y);if(c){const Y=q(c)?c.call(n):c;Reflect.ownKeys(Y).forEach(D=>{pc(D,Y[D])})}a&&br(a,e,"c");function k(Y,D){B(D)?D.forEach(he=>Y(he.bind(n))):D&&Y(D.bind(n))}if(k(Zl,h),k(Lt,y),k(ec,_),k(tc,x),k(Jl,v),k(zl,K),k(ic,V),k(rc,F),k(sc,$),k(Bi,j),k(qn,g),k(nc,R),B(b))if(b.length){const Y=e.exposed||(e.exposed={});b.forEach(D=>{Object.defineProperty(Y,D,{get:()=>n[D],set:he=>n[D]=he})})}else e.exposed||(e.exposed={});O&&e.render===ke&&(e.render=O),I!=null&&(e.inheritAttrs=I),S&&(e.components=S),W&&(e.directives=W),R&&Js(e)}function cc(e,t,n=ke){B(e)&&(e=Ms(e));for(const s in e){const r=e[s];let i;ne(r)?"default"in r?i=Ot(r.from||s,r.default,!0):i=Ot(r.from||s):i=Ot(r),de(i)?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>i.value,set:o=>i.value=o}):t[s]=i}}function br(e,t,n){He(B(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function Xi(e,t,n,s){let r=s.includes(".")?fo(n,s):()=>n[s];if(re(e)){const i=t[e];q(i)&&Fe(r,i)}else if(q(e))Fe(r,e.bind(n));else if(ne(e))if(B(e))e.forEach(i=>Xi(i,t,n,s));else{const i=q(e.handler)?e.handler.bind(n):t[e.handler];q(i)&&Fe(r,i,e)}}function zs(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:r,optionsCache:i,config:{optionMergeStrategies:o}}=e.appContext,l=i.get(t);let c;return l?c=l:!r.length&&!n&&!s?c=t:(c={},r.length&&r.forEach(f=>Pn(c,f,o,!0)),Pn(c,t,o)),ne(t)&&i.set(t,c),c}function Pn(e,t,n,s=!1){const{mixins:r,extends:i}=t;i&&Pn(e,i,n,!0),r&&r.forEach(o=>Pn(e,o,n,!0));for(const o in t)if(!(s&&o==="expose")){const l=ac[o]||n&&n[o];e[o]=l?l(e[o],t[o]):t[o]}return e}const ac={data:wr,props:Sr,emits:Sr,methods:Dt,computed:Dt,beforeCreate:ve,created:ve,beforeMount:ve,mounted:ve,beforeUpdate:ve,updated:ve,beforeDestroy:ve,beforeUnmount:ve,destroyed:ve,unmounted:ve,activated:ve,deactivated:ve,errorCaptured:ve,serverPrefetch:ve,components:Dt,directives:Dt,watch:uc,provide:wr,inject:fc};function wr(e,t){return t?e?function(){return ae(q(e)?e.call(this,this):e,q(t)?t.call(this,this):t)}:t:e}function fc(e,t){return Dt(Ms(e),Ms(t))}function Ms(e){if(B(e)){const t={};for(let n=0;n1)return n&&q(t)?t.call(s&&s.proxy):t}}const zi={},Qi=()=>Object.create(zi),Zi=e=>Object.getPrototypeOf(e)===zi;function gc(e,t,n,s=!1){const r={},i=Qi();e.propsDefaults=Object.create(null),eo(e,t,r,i);for(const o in e.propsOptions[0])o in r||(r[o]=void 0);n?e.props=s?r:xl(r):e.type.props?e.props=r:e.props=i,e.attrs=i}function mc(e,t,n,s){const{props:r,attrs:i,vnode:{patchFlag:o}}=e,l=J(r),[c]=e.propsOptions;let f=!1;if((s||o>0)&&!(o&16)){if(o&8){const a=e.vnode.dynamicProps;for(let h=0;h{c=!0;const[y,_]=to(h,t,!0);ae(o,y),_&&l.push(..._)};!n&&t.mixins.length&&t.mixins.forEach(a),e.extends&&a(e.extends),e.mixins&&e.mixins.forEach(a)}if(!i&&!c)return ne(e)&&s.set(e,xt),xt;if(B(i))for(let a=0;ae[0]==="_"||e==="$stable",Qs=e=>B(e)?e.map(Me):[Me(e)],_c=(e,t,n)=>{if(t._n)return t;const s=Vl((...r)=>Qs(t(...r)),n);return s._c=!1,s},so=(e,t,n)=>{const s=e._ctx;for(const r in e){if(no(r))continue;const i=e[r];if(q(i))t[r]=_c(r,i,s);else if(i!=null){const o=Qs(i);t[r]=()=>o}}},ro=(e,t)=>{const n=Qs(t);e.slots.default=()=>n},io=(e,t,n)=>{for(const s in t)(n||s!=="_")&&(e[s]=t[s])},vc=(e,t,n)=>{const s=e.slots=Qi();if(e.vnode.shapeFlag&32){const r=t._;r?(io(s,t,n),n&&li(s,"_",r,!0)):so(t,s)}else t&&ro(e,t)},bc=(e,t,n)=>{const{vnode:s,slots:r}=e;let i=!0,o=Z;if(s.shapeFlag&32){const l=t._;l?n&&l===1?i=!1:io(r,t,n):(i=!t.$stable,so(t,r)),o=t}else t&&(ro(e,t),o={default:1});if(i)for(const l in r)!no(l)&&o[l]==null&&delete r[l]},be=go;function wc(e){return oo(e)}function Sc(e){return oo(e,Gl)}function oo(e,t){const n=$n();n.__VUE__=!0;const{insert:s,remove:r,patchProp:i,createElement:o,createText:l,createComment:c,setText:f,setElementText:a,parentNode:h,nextSibling:y,setScopeId:_=ke,insertStaticContent:x}=e,v=(u,d,m,T=null,w=null,E=null,P=void 0,M=null,A=!!d.dynamicChildren)=>{if(u===d)return;u&&!ut(u,d)&&(T=ln(u),$e(u,w,E,!0),u=null),d.patchFlag===-2&&(A=!1,d.dynamicChildren=null);const{type:C,ref:U,shapeFlag:L}=d;switch(C){case gt:K(u,d,m,T);break;case _e:N(u,d,m,T);break;case Bt:u==null&&j(d,m,T,P);break;case Ee:S(u,d,m,T,w,E,P,M,A);break;default:L&1?O(u,d,m,T,w,E,P,M,A):L&6?W(u,d,m,T,w,E,P,M,A):(L&64||L&128)&&C.process(u,d,m,T,w,E,P,M,A,_t)}U!=null&&w&&Jt(U,u&&u.ref,E,d||u,!d)},K=(u,d,m,T)=>{if(u==null)s(d.el=l(d.children),m,T);else{const w=d.el=u.el;d.children!==u.children&&f(w,d.children)}},N=(u,d,m,T)=>{u==null?s(d.el=c(d.children||""),m,T):d.el=u.el},j=(u,d,m,T)=>{[u.el,u.anchor]=x(u.children,d,m,T,u.el,u.anchor)},p=({el:u,anchor:d},m,T)=>{let w;for(;u&&u!==d;)w=y(u),s(u,m,T),u=w;s(d,m,T)},g=({el:u,anchor:d})=>{let m;for(;u&&u!==d;)m=y(u),r(u),u=m;r(d)},O=(u,d,m,T,w,E,P,M,A)=>{d.type==="svg"?P="svg":d.type==="math"&&(P="mathml"),u==null?F(d,m,T,w,E,P,M,A):R(u,d,w,E,P,M,A)},F=(u,d,m,T,w,E,P,M)=>{let A,C;const{props:U,shapeFlag:L,transition:H,dirs:G}=u;if(A=u.el=o(u.type,E,U&&U.is,U),L&8?a(A,u.children):L&16&&V(u.children,A,null,T,w,ls(u,E),P,M),G&&Ve(u,null,T,"created"),$(A,u,u.scopeId,P,T),U){for(const ee in U)ee!=="value"&&!Ct(ee)&&i(A,ee,null,U[ee],E,T);"value"in U&&i(A,"value",null,U.value,E),(C=U.onVnodeBeforeMount)&&Oe(C,T,u)}G&&Ve(u,null,T,"beforeMount");const X=lo(w,H);X&&H.beforeEnter(A),s(A,d,m),((C=U&&U.onVnodeMounted)||X||G)&&be(()=>{C&&Oe(C,T,u),X&&H.enter(A),G&&Ve(u,null,T,"mounted")},w)},$=(u,d,m,T,w)=>{if(m&&_(u,m),T)for(let E=0;E{for(let C=A;C{const M=d.el=u.el;let{patchFlag:A,dynamicChildren:C,dirs:U}=d;A|=u.patchFlag&16;const L=u.props||Z,H=d.props||Z;let G;if(m&<(m,!1),(G=H.onVnodeBeforeUpdate)&&Oe(G,m,d,u),U&&Ve(d,u,m,"beforeUpdate"),m&<(m,!0),(L.innerHTML&&H.innerHTML==null||L.textContent&&H.textContent==null)&&a(M,""),C?b(u.dynamicChildren,C,M,m,T,ls(d,w),E):P||D(u,d,M,null,m,T,ls(d,w),E,!1),A>0){if(A&16)I(M,L,H,m,w);else if(A&2&&L.class!==H.class&&i(M,"class",null,H.class,w),A&4&&i(M,"style",L.style,H.style,w),A&8){const X=d.dynamicProps;for(let ee=0;ee{G&&Oe(G,m,d,u),U&&Ve(d,u,m,"updated")},T)},b=(u,d,m,T,w,E,P)=>{for(let M=0;M{if(d!==m){if(d!==Z)for(const E in d)!Ct(E)&&!(E in m)&&i(u,E,d[E],null,w,T);for(const E in m){if(Ct(E))continue;const P=m[E],M=d[E];P!==M&&E!=="value"&&i(u,E,M,P,w,T)}"value"in m&&i(u,"value",d.value,m.value,w)}},S=(u,d,m,T,w,E,P,M,A)=>{const C=d.el=u?u.el:l(""),U=d.anchor=u?u.anchor:l("");let{patchFlag:L,dynamicChildren:H,slotScopeIds:G}=d;G&&(M=M?M.concat(G):G),u==null?(s(C,m,T),s(U,m,T),V(d.children||[],m,U,w,E,P,M,A)):L>0&&L&64&&H&&u.dynamicChildren?(b(u.dynamicChildren,H,m,w,E,P,M),(d.key!=null||w&&d===w.subTree)&&Zs(u,d,!0)):D(u,d,m,U,w,E,P,M,A)},W=(u,d,m,T,w,E,P,M,A)=>{d.slotScopeIds=M,u==null?d.shapeFlag&512?w.ctx.activate(d,m,T,P,A):se(d,m,T,w,E,P,A):ie(u,d,A)},se=(u,d,m,T,w,E,P)=>{const M=u.component=Dc(u,T,w);if(sn(u)&&(M.ctx.renderer=_t),jc(M,!1,P),M.asyncDep){if(w&&w.registerDep(M,k,P),!u.el){const A=M.subTree=le(_e);N(null,A,d,m)}}else k(M,u,d,m,w,E,P)},ie=(u,d,m)=>{const T=d.component=u.component;if(Pc(u,d,m))if(T.asyncDep&&!T.asyncResolved){Y(T,d,m);return}else T.next=d,T.update();else d.el=u.el,T.vnode=d},k=(u,d,m,T,w,E,P)=>{const M=()=>{if(u.isMounted){let{next:L,bu:H,u:G,parent:X,vnode:ee}=u;{const Te=co(u);if(Te){L&&(L.el=ee.el,Y(u,L,P)),Te.asyncDep.then(()=>{u.isUnmounted||M()});return}}let Q=L,xe;lt(u,!1),L?(L.el=ee.el,Y(u,L,P)):L=ee,H&&bn(H),(xe=L.props&&L.props.onVnodeBeforeUpdate)&&Oe(xe,X,L,ee),lt(u,!0);const pe=cs(u),Ie=u.subTree;u.subTree=pe,v(Ie,pe,h(Ie.el),ln(Ie),u,w,E),L.el=pe.el,Q===null&&ho(u,pe.el),G&&be(G,w),(xe=L.props&&L.props.onVnodeUpdated)&&be(()=>Oe(xe,X,L,ee),w)}else{let L;const{el:H,props:G}=d,{bm:X,m:ee,parent:Q,root:xe,type:pe}=u,Ie=pt(d);if(lt(u,!1),X&&bn(X),!Ie&&(L=G&&G.onVnodeBeforeMount)&&Oe(L,Q,d),lt(u,!0),H&&Zn){const Te=()=>{u.subTree=cs(u),Zn(H,u.subTree,u,w,null)};Ie&&pe.__asyncHydrate?pe.__asyncHydrate(H,u,Te):Te()}else{xe.ce&&xe.ce._injectChildStyle(pe);const Te=u.subTree=cs(u);v(null,Te,m,T,u,w,E),d.el=Te.el}if(ee&&be(ee,w),!Ie&&(L=G&&G.onVnodeMounted)){const Te=d;be(()=>Oe(L,Q,Te),w)}(d.shapeFlag&256||Q&&pt(Q.vnode)&&Q.vnode.shapeFlag&256)&&u.a&&be(u.a,w),u.isMounted=!0,d=m=T=null}};u.scope.on();const A=u.effect=new di(M);u.scope.off();const C=u.update=A.run.bind(A),U=u.job=A.runIfDirty.bind(A);U.i=u,U.id=u.uid,A.scheduler=()=>Ys(U),lt(u,!0),C()},Y=(u,d,m)=>{d.component=u;const T=u.vnode.props;u.vnode=d,u.next=null,mc(u,d.props,T,m),bc(u,d.children,m),rt(),ur(u),it()},D=(u,d,m,T,w,E,P,M,A=!1)=>{const C=u&&u.children,U=u?u.shapeFlag:0,L=d.children,{patchFlag:H,shapeFlag:G}=d;if(H>0){if(H&128){on(C,L,m,T,w,E,P,M,A);return}else if(H&256){he(C,L,m,T,w,E,P,M,A);return}}G&8?(U&16&&It(C,w,E),L!==C&&a(m,L)):U&16?G&16?on(C,L,m,T,w,E,P,M,A):It(C,w,E,!0):(U&8&&a(m,""),G&16&&V(L,m,T,w,E,P,M,A))},he=(u,d,m,T,w,E,P,M,A)=>{u=u||xt,d=d||xt;const C=u.length,U=d.length,L=Math.min(C,U);let H;for(H=0;HU?It(u,w,E,!0,!1,L):V(d,m,T,w,E,P,M,A,L)},on=(u,d,m,T,w,E,P,M,A)=>{let C=0;const U=d.length;let L=u.length-1,H=U-1;for(;C<=L&&C<=H;){const G=u[C],X=d[C]=A?Ze(d[C]):Me(d[C]);if(ut(G,X))v(G,X,m,null,w,E,P,M,A);else break;C++}for(;C<=L&&C<=H;){const G=u[L],X=d[H]=A?Ze(d[H]):Me(d[H]);if(ut(G,X))v(G,X,m,null,w,E,P,M,A);else break;L--,H--}if(C>L){if(C<=H){const G=H+1,X=GH)for(;C<=L;)$e(u[C],w,E,!0),C++;else{const G=C,X=C,ee=new Map;for(C=X;C<=H;C++){const Ce=d[C]=A?Ze(d[C]):Me(d[C]);Ce.key!=null&&ee.set(Ce.key,C)}let Q,xe=0;const pe=H-X+1;let Ie=!1,Te=0;const Nt=new Array(pe);for(C=0;C=pe){$e(Ce,w,E,!0);continue}let De;if(Ce.key!=null)De=ee.get(Ce.key);else for(Q=X;Q<=H;Q++)if(Nt[Q-X]===0&&ut(Ce,d[Q])){De=Q;break}De===void 0?$e(Ce,w,E,!0):(Nt[De-X]=C+1,De>=Te?Te=De:Ie=!0,v(Ce,d[De],m,null,w,E,P,M,A),xe++)}const or=Ie?Ec(Nt):xt;for(Q=or.length-1,C=pe-1;C>=0;C--){const Ce=X+C,De=d[Ce],lr=Ce+1{const{el:E,type:P,transition:M,children:A,shapeFlag:C}=u;if(C&6){ot(u.component.subTree,d,m,T);return}if(C&128){u.suspense.move(d,m,T);return}if(C&64){P.move(u,d,m,_t);return}if(P===Ee){s(E,d,m);for(let L=0;LM.enter(E),w);else{const{leave:L,delayLeave:H,afterLeave:G}=M,X=()=>s(E,d,m),ee=()=>{L(E,()=>{X(),G&&G()})};H?H(E,X,ee):ee()}else s(E,d,m)},$e=(u,d,m,T=!1,w=!1)=>{const{type:E,props:P,ref:M,children:A,dynamicChildren:C,shapeFlag:U,patchFlag:L,dirs:H,cacheIndex:G}=u;if(L===-2&&(w=!1),M!=null&&Jt(M,null,m,u,!0),G!=null&&(d.renderCache[G]=void 0),U&256){d.ctx.deactivate(u);return}const X=U&1&&H,ee=!pt(u);let Q;if(ee&&(Q=P&&P.onVnodeBeforeUnmount)&&Oe(Q,d,u),U&6)Bo(u.component,m,T);else{if(U&128){u.suspense.unmount(m,T);return}X&&Ve(u,null,d,"beforeUnmount"),U&64?u.type.remove(u,d,m,_t,T):C&&!C.hasOnce&&(E!==Ee||L>0&&L&64)?It(C,d,m,!1,!0):(E===Ee&&L&384||!w&&U&16)&&It(A,d,m),T&&rr(u)}(ee&&(Q=P&&P.onVnodeUnmounted)||X)&&be(()=>{Q&&Oe(Q,d,u),X&&Ve(u,null,d,"unmounted")},m)},rr=u=>{const{type:d,el:m,anchor:T,transition:w}=u;if(d===Ee){Uo(m,T);return}if(d===Bt){g(u);return}const E=()=>{r(m),w&&!w.persisted&&w.afterLeave&&w.afterLeave()};if(u.shapeFlag&1&&w&&!w.persisted){const{leave:P,delayLeave:M}=w,A=()=>P(m,E);M?M(u.el,E,A):A()}else E()},Uo=(u,d)=>{let m;for(;u!==d;)m=y(u),r(u),u=m;r(d)},Bo=(u,d,m)=>{const{bum:T,scope:w,job:E,subTree:P,um:M,m:A,a:C}=u;xr(A),xr(C),T&&bn(T),w.stop(),E&&(E.flags|=8,$e(P,u,d,m)),M&&be(M,d),be(()=>{u.isUnmounted=!0},d),d&&d.pendingBranch&&!d.isUnmounted&&u.asyncDep&&!u.asyncResolved&&u.suspenseId===d.pendingId&&(d.deps--,d.deps===0&&d.resolve())},It=(u,d,m,T=!1,w=!1,E=0)=>{for(let P=E;P{if(u.shapeFlag&6)return ln(u.component.subTree);if(u.shapeFlag&128)return u.suspense.next();const d=y(u.anchor||u.el),m=d&&d[Ii];return m?y(m):d};let zn=!1;const ir=(u,d,m)=>{u==null?d._vnode&&$e(d._vnode,null,null,!0):v(d._vnode||null,u,d,null,null,null,m),d._vnode=u,zn||(zn=!0,ur(),On(),zn=!1)},_t={p:v,um:$e,m:ot,r:rr,mt:se,mc:V,pc:D,pbc:b,n:ln,o:e};let Qn,Zn;return t&&([Qn,Zn]=t(_t)),{render:ir,hydrate:Qn,createApp:hc(ir,Qn)}}function ls({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function lt({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function lo(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Zs(e,t,n=!1){const s=e.children,r=t.children;if(B(s)&&B(r))for(let i=0;i>1,e[n[l]]0&&(t[s]=n[i-1]),n[i]=s)}}for(i=n.length,o=n[i-1];i-- >0;)n[i]=o,o=t[o];return n}function co(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:co(t)}function xr(e){if(e)for(let t=0;tOt(xc);function ao(e,t){return Gn(e,null,t)}function Lf(e,t){return Gn(e,null,{flush:"post"})}function Fe(e,t,n){return Gn(e,t,n)}function Gn(e,t,n=Z){const{immediate:s,deep:r,flush:i,once:o}=n,l=ae({},n),c=t&&s||!t&&i!=="post";let f;if(Mt){if(i==="sync"){const _=Tc();f=_.__watcherHandles||(_.__watcherHandles=[])}else if(!c){const _=()=>{};return _.stop=ke,_.resume=ke,_.pause=ke,_}}const a=fe;l.call=(_,x,v)=>He(_,a,x,v);let h=!1;i==="post"?l.scheduler=_=>{be(_,a&&a.suspense)}:i!=="sync"&&(h=!0,l.scheduler=(_,x)=>{x?_():Ys(_)}),l.augmentJob=_=>{t&&(_.flags|=4),h&&(_.flags|=2,a&&(_.id=a.uid,_.i=a))};const y=Hl(e,t,l);return Mt&&(f?f.push(y):c&&y()),y}function Cc(e,t,n){const s=this.proxy,r=re(e)?e.includes(".")?fo(s,e):()=>s[e]:e.bind(s,s);let i;q(t)?i=t:(i=t.handler,n=t);const o=rn(this),l=Gn(r,i.bind(s),n);return o(),l}function fo(e,t){const n=t.split(".");return()=>{let s=e;for(let r=0;rt==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${Le(t)}Modifiers`]||e[`${st(t)}Modifiers`];function Rc(e,t,...n){if(e.isUnmounted)return;const s=e.vnode.props||Z;let r=n;const i=t.startsWith("update:"),o=i&&Ac(s,t.slice(7));o&&(o.trim&&(r=n.map(a=>re(a)?a.trim():a)),o.number&&(r=n.map(ws)));let l,c=s[l=vn(t)]||s[l=vn(Le(t))];!c&&i&&(c=s[l=vn(st(t))]),c&&He(c,e,6,r);const f=s[l+"Once"];if(f){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,He(f,e,6,r)}}function uo(e,t,n=!1){const s=t.emitsCache,r=s.get(e);if(r!==void 0)return r;const i=e.emits;let o={},l=!1;if(!q(e)){const c=f=>{const a=uo(f,t,!0);a&&(l=!0,ae(o,a))};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}return!i&&!l?(ne(e)&&s.set(e,null),null):(B(i)?i.forEach(c=>o[c]=null):ae(o,i),ne(e)&&s.set(e,o),o)}function Yn(e,t){return!e||!en(t)?!1:(t=t.slice(2).replace(/Once$/,""),z(e,t[0].toLowerCase()+t.slice(1))||z(e,st(t))||z(e,t))}function cs(e){const{type:t,vnode:n,proxy:s,withProxy:r,propsOptions:[i],slots:o,attrs:l,emit:c,render:f,renderCache:a,props:h,data:y,setupState:_,ctx:x,inheritAttrs:v}=e,K=Mn(e);let N,j;try{if(n.shapeFlag&4){const g=r||s,O=g;N=Me(f.call(O,g,a,h,_,y,x)),j=l}else{const g=t;N=Me(g.length>1?g(h,{attrs:l,slots:o,emit:c}):g(h,null)),j=t.props?l:Oc(l)}}catch(g){Wt.length=0,nn(g,e,1),N=le(_e)}let p=N;if(j&&v!==!1){const g=Object.keys(j),{shapeFlag:O}=p;g.length&&O&7&&(i&&g.some(Ds)&&(j=Mc(j,i)),p=nt(p,j,!1,!0))}return n.dirs&&(p=nt(p,null,!1,!0),p.dirs=p.dirs?p.dirs.concat(n.dirs):n.dirs),n.transition&&Xt(p,n.transition),N=p,Mn(K),N}const Oc=e=>{let t;for(const n in e)(n==="class"||n==="style"||en(n))&&((t||(t={}))[n]=e[n]);return t},Mc=(e,t)=>{const n={};for(const s in e)(!Ds(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function Pc(e,t,n){const{props:s,children:r,component:i}=e,{props:o,children:l,patchFlag:c}=t,f=i.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&c>=0){if(c&1024)return!0;if(c&16)return s?Tr(s,o,f):!!o;if(c&8){const a=t.dynamicProps;for(let h=0;he.__isSuspense;function go(e,t){t&&t.pendingBranch?B(e)?t.effects.push(...e):t.effects.push(e):jl(e)}const Ee=Symbol.for("v-fgt"),gt=Symbol.for("v-txt"),_e=Symbol.for("v-cmt"),Bt=Symbol.for("v-stc"),Wt=[];let Ae=null;function Ls(e=!1){Wt.push(Ae=e?null:[])}function Lc(){Wt.pop(),Ae=Wt[Wt.length-1]||null}let zt=1;function Cr(e,t=!1){zt+=e,e<0&&Ae&&t&&(Ae.hasOnce=!0)}function mo(e){return e.dynamicChildren=zt>0?Ae||xt:null,Lc(),zt>0&&Ae&&Ae.push(e),e}function If(e,t,n,s,r,i){return mo(_o(e,t,n,s,r,i,!0))}function Is(e,t,n,s,r){return mo(le(e,t,n,s,r,!0))}function Qt(e){return e?e.__v_isVNode===!0:!1}function ut(e,t){return e.type===t.type&&e.key===t.key}const yo=({key:e})=>e??null,En=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?re(e)||de(e)||q(e)?{i:ue,r:e,k:t,f:!!n}:e:null);function _o(e,t=null,n=null,s=0,r=null,i=e===Ee?0:1,o=!1,l=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&yo(t),ref:t&&En(t),scopeId:Li,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:s,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:ue};return l?(er(c,n),i&128&&e.normalize(c)):n&&(c.shapeFlag|=re(n)?8:16),zt>0&&!o&&Ae&&(c.patchFlag>0||i&6)&&c.patchFlag!==32&&Ae.push(c),c}const le=Ic;function Ic(e,t=null,n=null,s=0,r=null,i=!1){if((!e||e===Ki)&&(e=_e),Qt(e)){const l=nt(e,t,!0);return n&&er(l,n),zt>0&&!i&&Ae&&(l.shapeFlag&6?Ae[Ae.indexOf(e)]=l:Ae.push(l)),l.patchFlag=-2,l}if(Bc(e)&&(e=e.__vccOpts),t){t=Nc(t);let{class:l,style:c}=t;l&&!re(l)&&(t.class=jn(l)),ne(c)&&(qs(c)&&!B(c)&&(c=ae({},c)),t.style=Dn(c))}const o=re(e)?1:po(e)?128:Ni(e)?64:ne(e)?4:q(e)?2:0;return _o(e,t,n,s,r,o,i,!0)}function Nc(e){return e?qs(e)||Zi(e)?ae({},e):e:null}function nt(e,t,n=!1,s=!1){const{props:r,ref:i,patchFlag:o,children:l,transition:c}=e,f=t?Fc(r||{},t):r,a={__v_isVNode:!0,__v_skip:!0,type:e.type,props:f,key:f&&yo(f),ref:t&&t.ref?n&&i?B(i)?i.concat(En(t)):[i,En(t)]:En(t):i,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:l,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Ee?o===-1?16:o|16:o,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:c,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&nt(e.ssContent),ssFallback:e.ssFallback&&nt(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return c&&s&&Xt(a,c.clone(a)),a}function vo(e=" ",t=0){return le(gt,null,e,t)}function Nf(e,t){const n=le(Bt,null,e);return n.staticCount=t,n}function Ff(e="",t=!1){return t?(Ls(),Is(_e,null,e)):le(_e,null,e)}function Me(e){return e==null||typeof e=="boolean"?le(_e):B(e)?le(Ee,null,e.slice()):Qt(e)?Ze(e):le(gt,null,String(e))}function Ze(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:nt(e)}function er(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(B(t))n=16;else if(typeof t=="object")if(s&65){const r=t.default;r&&(r._c&&(r._d=!1),er(e,r()),r._c&&(r._d=!0));return}else{n=32;const r=t._;!r&&!Zi(t)?t._ctx=ue:r===3&&ue&&(ue.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else q(t)?(t={default:t,_ctx:ue},n=32):(t=String(t),s&64?(n=16,t=[vo(t)]):n=8);e.children=t,e.shapeFlag|=n}function Fc(...e){const t={};for(let n=0;nfe||ue;let Ln,Ns;{const e=$n(),t=(n,s)=>{let r;return(r=e[n])||(r=e[n]=[]),r.push(s),i=>{r.length>1?r.forEach(o=>o(i)):r[0](i)}};Ln=t("__VUE_INSTANCE_SETTERS__",n=>fe=n),Ns=t("__VUE_SSR_SETTERS__",n=>Mt=n)}const rn=e=>{const t=fe;return Ln(e),e.scope.on(),()=>{e.scope.off(),Ln(t)}},Ar=()=>{fe&&fe.scope.off(),Ln(null)};function bo(e){return e.vnode.shapeFlag&4}let Mt=!1;function jc(e,t=!1,n=!1){t&&Ns(t);const{props:s,children:r}=e.vnode,i=bo(e);gc(e,s,i,t),vc(e,r,n);const o=i?Vc(e,t):void 0;return t&&Ns(!1),o}function Vc(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,oc);const{setup:s}=n;if(s){rt();const r=e.setupContext=s.length>1?So(e):null,i=rn(e),o=tn(s,e,0,[e.props,r]),l=ri(o);if(it(),i(),(l||e.sp)&&!pt(e)&&Js(e),l){if(o.then(Ar,Ar),t)return o.then(c=>{Rr(e,c,t)}).catch(c=>{nn(c,e,0)});e.asyncDep=o}else Rr(e,o,t)}else wo(e,t)}function Rr(e,t,n){q(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:ne(t)&&(e.setupState=Ri(t)),wo(e,n)}let Or;function wo(e,t,n){const s=e.type;if(!e.render){if(!t&&Or&&!s.render){const r=s.template||zs(e).template;if(r){const{isCustomElement:i,compilerOptions:o}=e.appContext.config,{delimiters:l,compilerOptions:c}=s,f=ae(ae({isCustomElement:i,delimiters:l},o),c);s.render=Or(r,f)}}e.render=s.render||ke}{const r=rn(e);rt();try{lc(e)}finally{it(),r()}}}const kc={get(e,t){return me(e,"get",""),e[t]}};function So(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,kc),slots:e.slots,emit:e.emit,expose:t}}function Jn(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Ri(wn(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Ut)return Ut[n](e)},has(t,n){return n in t||n in Ut}})):e.proxy}function Uc(e,t=!0){return q(e)?e.displayName||e.name:e.name||t&&e.__name}function Bc(e){return q(e)&&"__vccOpts"in e}const oe=(e,t)=>Nl(e,t,Mt);function Fs(e,t,n){const s=arguments.length;return s===2?ne(t)&&!B(t)?Qt(t)?le(e,null,[t]):le(e,t):le(e,null,t):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&Qt(n)&&(n=[n]),le(e,t,n))}const Wc="3.5.13";/** +* @vue/runtime-dom v3.5.13 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/let Hs;const Mr=typeof window<"u"&&window.trustedTypes;if(Mr)try{Hs=Mr.createPolicy("vue",{createHTML:e=>e})}catch{}const Eo=Hs?e=>Hs.createHTML(e):e=>e,Kc="http://www.w3.org/2000/svg",qc="http://www.w3.org/1998/Math/MathML",We=typeof document<"u"?document:null,Pr=We&&We.createElement("template"),Gc={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,s)=>{const r=t==="svg"?We.createElementNS(Kc,e):t==="mathml"?We.createElementNS(qc,e):n?We.createElement(e,{is:n}):We.createElement(e);return e==="select"&&s&&s.multiple!=null&&r.setAttribute("multiple",s.multiple),r},createText:e=>We.createTextNode(e),createComment:e=>We.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>We.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,s,r,i){const o=n?n.previousSibling:t.lastChild;if(r&&(r===i||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),!(r===i||!(r=r.nextSibling)););else{Pr.innerHTML=Eo(s==="svg"?`${e}`:s==="mathml"?`${e}`:e);const l=Pr.content;if(s==="svg"||s==="mathml"){const c=l.firstChild;for(;c.firstChild;)l.appendChild(c.firstChild);l.removeChild(c)}t.insertBefore(l,n)}return[o?o.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Je="transition",Ht="animation",Zt=Symbol("_vtc"),xo={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},Yc=ae({},$i,xo),Xc=e=>(e.displayName="Transition",e.props=Yc,e),Hf=Xc((e,{slots:t})=>Fs(Wl,Jc(e),t)),ct=(e,t=[])=>{B(e)?e.forEach(n=>n(...t)):e&&e(...t)},Lr=e=>e?B(e)?e.some(t=>t.length>1):e.length>1:!1;function Jc(e){const t={};for(const S in e)S in xo||(t[S]=e[S]);if(e.css===!1)return t;const{name:n="v",type:s,duration:r,enterFromClass:i=`${n}-enter-from`,enterActiveClass:o=`${n}-enter-active`,enterToClass:l=`${n}-enter-to`,appearFromClass:c=i,appearActiveClass:f=o,appearToClass:a=l,leaveFromClass:h=`${n}-leave-from`,leaveActiveClass:y=`${n}-leave-active`,leaveToClass:_=`${n}-leave-to`}=e,x=zc(r),v=x&&x[0],K=x&&x[1],{onBeforeEnter:N,onEnter:j,onEnterCancelled:p,onLeave:g,onLeaveCancelled:O,onBeforeAppear:F=N,onAppear:$=j,onAppearCancelled:V=p}=t,R=(S,W,se,ie)=>{S._enterCancelled=ie,at(S,W?a:l),at(S,W?f:o),se&&se()},b=(S,W)=>{S._isLeaving=!1,at(S,h),at(S,_),at(S,y),W&&W()},I=S=>(W,se)=>{const ie=S?$:j,k=()=>R(W,S,se);ct(ie,[W,k]),Ir(()=>{at(W,S?c:i),Be(W,S?a:l),Lr(ie)||Nr(W,s,v,k)})};return ae(t,{onBeforeEnter(S){ct(N,[S]),Be(S,i),Be(S,o)},onBeforeAppear(S){ct(F,[S]),Be(S,c),Be(S,f)},onEnter:I(!1),onAppear:I(!0),onLeave(S,W){S._isLeaving=!0;const se=()=>b(S,W);Be(S,h),S._enterCancelled?(Be(S,y),$r()):($r(),Be(S,y)),Ir(()=>{S._isLeaving&&(at(S,h),Be(S,_),Lr(g)||Nr(S,s,K,se))}),ct(g,[S,se])},onEnterCancelled(S){R(S,!1,void 0,!0),ct(p,[S])},onAppearCancelled(S){R(S,!0,void 0,!0),ct(V,[S])},onLeaveCancelled(S){b(S),ct(O,[S])}})}function zc(e){if(e==null)return null;if(ne(e))return[as(e.enter),as(e.leave)];{const t=as(e);return[t,t]}}function as(e){return Xo(e)}function Be(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[Zt]||(e[Zt]=new Set)).add(t)}function at(e,t){t.split(/\s+/).forEach(s=>s&&e.classList.remove(s));const n=e[Zt];n&&(n.delete(t),n.size||(e[Zt]=void 0))}function Ir(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let Qc=0;function Nr(e,t,n,s){const r=e._endId=++Qc,i=()=>{r===e._endId&&s()};if(n!=null)return setTimeout(i,n);const{type:o,timeout:l,propCount:c}=Zc(e,t);if(!o)return s();const f=o+"end";let a=0;const h=()=>{e.removeEventListener(f,y),i()},y=_=>{_.target===e&&++a>=c&&h()};setTimeout(()=>{a(n[x]||"").split(", "),r=s(`${Je}Delay`),i=s(`${Je}Duration`),o=Fr(r,i),l=s(`${Ht}Delay`),c=s(`${Ht}Duration`),f=Fr(l,c);let a=null,h=0,y=0;t===Je?o>0&&(a=Je,h=o,y=i.length):t===Ht?f>0&&(a=Ht,h=f,y=c.length):(h=Math.max(o,f),a=h>0?o>f?Je:Ht:null,y=a?a===Je?i.length:c.length:0);const _=a===Je&&/\b(transform|all)(,|$)/.test(s(`${Je}Property`).toString());return{type:a,timeout:h,propCount:y,hasTransform:_}}function Fr(e,t){for(;e.lengthHr(n)+Hr(e[s])))}function Hr(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function $r(){return document.body.offsetHeight}function ea(e,t,n){const s=e[Zt];s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const In=Symbol("_vod"),To=Symbol("_vsh"),$f={beforeMount(e,{value:t},{transition:n}){e[In]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):$t(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:s}){!t!=!n&&(s?t?(s.beforeEnter(e),$t(e,!0),s.enter(e)):s.leave(e,()=>{$t(e,!1)}):$t(e,t))},beforeUnmount(e,{value:t}){$t(e,t)}};function $t(e,t){e.style.display=t?e[In]:"none",e[To]=!t}const ta=Symbol(""),na=/(^|;)\s*display\s*:/;function sa(e,t,n){const s=e.style,r=re(n);let i=!1;if(n&&!r){if(t)if(re(t))for(const o of t.split(";")){const l=o.slice(0,o.indexOf(":")).trim();n[l]==null&&xn(s,l,"")}else for(const o in t)n[o]==null&&xn(s,o,"");for(const o in n)o==="display"&&(i=!0),xn(s,o,n[o])}else if(r){if(t!==n){const o=s[ta];o&&(n+=";"+o),s.cssText=n,i=na.test(n)}}else t&&e.removeAttribute("style");In in e&&(e[In]=i?s.display:"",e[To]&&(s.display="none"))}const Dr=/\s*!important$/;function xn(e,t,n){if(B(n))n.forEach(s=>xn(e,t,s));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const s=ra(e,t);Dr.test(n)?e.setProperty(st(s),n.replace(Dr,""),"important"):e[s]=n}}const jr=["Webkit","Moz","ms"],fs={};function ra(e,t){const n=fs[t];if(n)return n;let s=Le(t);if(s!=="filter"&&s in e)return fs[t]=s;s=Hn(s);for(let r=0;rus||(ca.then(()=>us=0),us=Date.now());function fa(e,t){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;He(ua(s,n.value),t,5,[s])};return n.value=e,n.attached=aa(),n}function ua(e,t){if(B(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(s=>r=>!r._stopped&&s&&s(r))}else return t}const Kr=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,da=(e,t,n,s,r,i)=>{const o=r==="svg";t==="class"?ea(e,s,o):t==="style"?sa(e,n,s):en(t)?Ds(t)||oa(e,t,n,s,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):ha(e,t,s,o))?(Ur(e,t,s),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&kr(e,t,s,o,i,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!re(s))?Ur(e,Le(t),s,i,t):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),kr(e,t,s,o))};function ha(e,t,n,s){if(s)return!!(t==="innerHTML"||t==="textContent"||t in e&&Kr(t)&&q(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const r=e.tagName;if(r==="IMG"||r==="VIDEO"||r==="CANVAS"||r==="SOURCE")return!1}return Kr(t)&&re(n)?!1:t in e}const qr=e=>{const t=e.props["onUpdate:modelValue"]||!1;return B(t)?n=>bn(t,n):t};function pa(e){e.target.composing=!0}function Gr(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const ds=Symbol("_assign"),Df={created(e,{modifiers:{lazy:t,trim:n,number:s}},r){e[ds]=qr(r);const i=s||r.props&&r.props.type==="number";St(e,t?"change":"input",o=>{if(o.target.composing)return;let l=e.value;n&&(l=l.trim()),i&&(l=ws(l)),e[ds](l)}),n&&St(e,"change",()=>{e.value=e.value.trim()}),t||(St(e,"compositionstart",pa),St(e,"compositionend",Gr),St(e,"change",Gr))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:s,trim:r,number:i}},o){if(e[ds]=qr(o),e.composing)return;const l=(i||e.type==="number")&&!/^0\d/.test(e.value)?ws(e.value):e.value,c=t??"";l!==c&&(document.activeElement===e&&e.type!=="range"&&(s&&t===n||r&&e.value.trim()===c)||(e.value=c))}},ga=["ctrl","shift","alt","meta"],ma={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>ga.some(n=>e[`${n}Key`]&&!t.includes(n))},jf=(e,t)=>{const n=e._withMods||(e._withMods={}),s=t.join(".");return n[s]||(n[s]=(r,...i)=>{for(let o=0;o{const n=e._withKeys||(e._withKeys={}),s=t.join(".");return n[s]||(n[s]=r=>{if(!("key"in r))return;const i=st(r.key);if(t.some(o=>o===i||ya[o]===i))return e(r)})},Co=ae({patchProp:da},Gc);let Kt,Yr=!1;function _a(){return Kt||(Kt=wc(Co))}function va(){return Kt=Yr?Kt:Sc(Co),Yr=!0,Kt}const kf=(...e)=>{_a().render(...e)},Uf=(...e)=>{const t=va().createApp(...e),{mount:n}=t;return t.mount=s=>{const r=wa(s);if(r)return n(r,!0,ba(r))},t};function ba(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function wa(e){return re(e)?document.querySelector(e):e}const Bf=(e,t)=>{const n=e.__vccOpts||e;for(const[s,r]of t)n[s]=r;return n},Sa=window.__VP_SITE_DATA__;function tr(e){return ui()?(rl(e),!0):!1}function tt(e){return typeof e=="function"?e():Gs(e)}const Ao=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const Ea=Object.prototype.toString,xa=e=>Ea.call(e)==="[object Object]",Ro=()=>{},Xr=Ta();function Ta(){var e,t;return Ao&&((e=window==null?void 0:window.navigator)==null?void 0:e.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||((t=window==null?void 0:window.navigator)==null?void 0:t.maxTouchPoints)>2&&/iPad|Macintosh/.test(window==null?void 0:window.navigator.userAgent))}function Ca(e,t){function n(...s){return new Promise((r,i)=>{Promise.resolve(e(()=>t.apply(this,s),{fn:t,thisArg:this,args:s})).then(r).catch(i)})}return n}const Oo=e=>e();function Aa(e=Oo){const t=ce(!0);function n(){t.value=!1}function s(){t.value=!0}const r=(...i)=>{t.value&&e(...i)};return{isActive:Bn(t),pause:n,resume:s,eventFilter:r}}function Ra(e){return Xn()}function Mo(...e){if(e.length!==1)return Pl(...e);const t=e[0];return typeof t=="function"?Bn(Rl(()=>({get:t,set:Ro}))):ce(t)}function Oa(e,t,n={}){const{eventFilter:s=Oo,...r}=n;return Fe(e,Ca(s,t),r)}function Ma(e,t,n={}){const{eventFilter:s,...r}=n,{eventFilter:i,pause:o,resume:l,isActive:c}=Aa(s);return{stop:Oa(e,t,{...r,eventFilter:i}),pause:o,resume:l,isActive:c}}function nr(e,t=!0,n){Ra()?Lt(e,n):t?e():Wn(e)}const Ge=Ao?window:void 0;function Po(e){var t;const n=tt(e);return(t=n==null?void 0:n.$el)!=null?t:n}function Pt(...e){let t,n,s,r;if(typeof e[0]=="string"||Array.isArray(e[0])?([n,s,r]=e,t=Ge):[t,n,s,r]=e,!t)return Ro;Array.isArray(n)||(n=[n]),Array.isArray(s)||(s=[s]);const i=[],o=()=>{i.forEach(a=>a()),i.length=0},l=(a,h,y,_)=>(a.addEventListener(h,y,_),()=>a.removeEventListener(h,y,_)),c=Fe(()=>[Po(t),tt(r)],([a,h])=>{if(o(),!a)return;const y=xa(h)?{...h}:h;i.push(...n.flatMap(_=>s.map(x=>l(a,_,x,y))))},{immediate:!0,flush:"post"}),f=()=>{c(),o()};return tr(f),f}function Pa(e){return typeof e=="function"?e:typeof e=="string"?t=>t.key===e:Array.isArray(e)?t=>e.includes(t.key):()=>!0}function Wf(...e){let t,n,s={};e.length===3?(t=e[0],n=e[1],s=e[2]):e.length===2?typeof e[1]=="object"?(t=!0,n=e[0],s=e[1]):(t=e[0],n=e[1]):(t=!0,n=e[0]);const{target:r=Ge,eventName:i="keydown",passive:o=!1,dedupe:l=!1}=s,c=Pa(t);return Pt(r,i,a=>{a.repeat&&tt(l)||c(a)&&n(a)},o)}function La(){const e=ce(!1),t=Xn();return t&&Lt(()=>{e.value=!0},t),e}function Ia(e){const t=La();return oe(()=>(t.value,!!e()))}function Lo(e,t={}){const{window:n=Ge}=t,s=Ia(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function");let r;const i=ce(!1),o=f=>{i.value=f.matches},l=()=>{r&&("removeEventListener"in r?r.removeEventListener("change",o):r.removeListener(o))},c=ao(()=>{s.value&&(l(),r=n.matchMedia(tt(e)),"addEventListener"in r?r.addEventListener("change",o):r.addListener(o),i.value=r.matches)});return tr(()=>{c(),l(),r=void 0}),i}const gn=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},mn="__vueuse_ssr_handlers__",Na=Fa();function Fa(){return mn in gn||(gn[mn]=gn[mn]||{}),gn[mn]}function Io(e,t){return Na[e]||t}function sr(e){return Lo("(prefers-color-scheme: dark)",e)}function Ha(e){return e==null?"any":e instanceof Set?"set":e instanceof Map?"map":e instanceof Date?"date":typeof e=="boolean"?"boolean":typeof e=="string"?"string":typeof e=="object"?"object":Number.isNaN(e)?"any":"number"}const $a={boolean:{read:e=>e==="true",write:e=>String(e)},object:{read:e=>JSON.parse(e),write:e=>JSON.stringify(e)},number:{read:e=>Number.parseFloat(e),write:e=>String(e)},any:{read:e=>e,write:e=>String(e)},string:{read:e=>e,write:e=>String(e)},map:{read:e=>new Map(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e.entries()))},set:{read:e=>new Set(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e))},date:{read:e=>new Date(e),write:e=>e.toISOString()}},Jr="vueuse-storage";function Da(e,t,n,s={}){var r;const{flush:i="pre",deep:o=!0,listenToStorageChanges:l=!0,writeDefaults:c=!0,mergeDefaults:f=!1,shallow:a,window:h=Ge,eventFilter:y,onError:_=b=>{console.error(b)},initOnMounted:x}=s,v=(a?Ci:ce)(typeof t=="function"?t():t);if(!n)try{n=Io("getDefaultStorage",()=>{var b;return(b=Ge)==null?void 0:b.localStorage})()}catch(b){_(b)}if(!n)return v;const K=tt(t),N=Ha(K),j=(r=s.serializer)!=null?r:$a[N],{pause:p,resume:g}=Ma(v,()=>F(v.value),{flush:i,deep:o,eventFilter:y});h&&l&&nr(()=>{n instanceof Storage?Pt(h,"storage",V):Pt(h,Jr,R),x&&V()}),x||V();function O(b,I){if(h){const S={key:e,oldValue:b,newValue:I,storageArea:n};h.dispatchEvent(n instanceof Storage?new StorageEvent("storage",S):new CustomEvent(Jr,{detail:S}))}}function F(b){try{const I=n.getItem(e);if(b==null)O(I,null),n.removeItem(e);else{const S=j.write(b);I!==S&&(n.setItem(e,S),O(I,S))}}catch(I){_(I)}}function $(b){const I=b?b.newValue:n.getItem(e);if(I==null)return c&&K!=null&&n.setItem(e,j.write(K)),K;if(!b&&f){const S=j.read(I);return typeof f=="function"?f(S,K):N==="object"&&!Array.isArray(S)?{...K,...S}:S}else return typeof I!="string"?I:j.read(I)}function V(b){if(!(b&&b.storageArea!==n)){if(b&&b.key==null){v.value=K;return}if(!(b&&b.key!==e)){p();try{(b==null?void 0:b.newValue)!==j.write(v.value)&&(v.value=$(b))}catch(I){_(I)}finally{b?Wn(g):g()}}}}function R(b){V(b.detail)}return v}const ja="*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}";function Va(e={}){const{selector:t="html",attribute:n="class",initialValue:s="auto",window:r=Ge,storage:i,storageKey:o="vueuse-color-scheme",listenToStorageChanges:l=!0,storageRef:c,emitAuto:f,disableTransition:a=!0}=e,h={auto:"",light:"light",dark:"dark",...e.modes||{}},y=sr({window:r}),_=oe(()=>y.value?"dark":"light"),x=c||(o==null?Mo(s):Da(o,s,i,{window:r,listenToStorageChanges:l})),v=oe(()=>x.value==="auto"?_.value:x.value),K=Io("updateHTMLAttrs",(g,O,F)=>{const $=typeof g=="string"?r==null?void 0:r.document.querySelector(g):Po(g);if(!$)return;const V=new Set,R=new Set;let b=null;if(O==="class"){const S=F.split(/\s/g);Object.values(h).flatMap(W=>(W||"").split(/\s/g)).filter(Boolean).forEach(W=>{S.includes(W)?V.add(W):R.add(W)})}else b={key:O,value:F};if(V.size===0&&R.size===0&&b===null)return;let I;a&&(I=r.document.createElement("style"),I.appendChild(document.createTextNode(ja)),r.document.head.appendChild(I));for(const S of V)$.classList.add(S);for(const S of R)$.classList.remove(S);b&&$.setAttribute(b.key,b.value),a&&(r.getComputedStyle(I).opacity,document.head.removeChild(I))});function N(g){var O;K(t,n,(O=h[g])!=null?O:g)}function j(g){e.onChanged?e.onChanged(g,N):N(g)}Fe(v,j,{flush:"post",immediate:!0}),nr(()=>j(v.value));const p=oe({get(){return f?x.value:v.value},set(g){x.value=g}});try{return Object.assign(p,{store:x,system:_,state:v})}catch{return p}}function ka(e={}){const{valueDark:t="dark",valueLight:n="",window:s=Ge}=e,r=Va({...e,onChanged:(l,c)=>{var f;e.onChanged?(f=e.onChanged)==null||f.call(e,l==="dark",c,l):c(l)},modes:{dark:t,light:n}}),i=oe(()=>r.system?r.system.value:sr({window:s}).value?"dark":"light");return oe({get(){return r.value==="dark"},set(l){const c=l?"dark":"light";i.value===c?r.value="auto":r.value=c}})}function hs(e){return typeof Window<"u"&&e instanceof Window?e.document.documentElement:typeof Document<"u"&&e instanceof Document?e.documentElement:e}function No(e){const t=window.getComputedStyle(e);if(t.overflowX==="scroll"||t.overflowY==="scroll"||t.overflowX==="auto"&&e.clientWidth1?!0:(t.preventDefault&&t.preventDefault(),!1)}const ps=new WeakMap;function Kf(e,t=!1){const n=ce(t);let s=null,r="";Fe(Mo(e),l=>{const c=hs(tt(l));if(c){const f=c;if(ps.get(f)||ps.set(f,f.style.overflow),f.style.overflow!=="hidden"&&(r=f.style.overflow),f.style.overflow==="hidden")return n.value=!0;if(n.value)return f.style.overflow="hidden"}},{immediate:!0});const i=()=>{const l=hs(tt(e));!l||n.value||(Xr&&(s=Pt(l,"touchmove",c=>{Ua(c)},{passive:!1})),l.style.overflow="hidden",n.value=!0)},o=()=>{const l=hs(tt(e));!l||!n.value||(Xr&&(s==null||s()),l.style.overflow=r,ps.delete(l),n.value=!1)};return tr(o),oe({get(){return n.value},set(l){l?i():o()}})}function qf(e={}){const{window:t=Ge,behavior:n="auto"}=e;if(!t)return{x:ce(0),y:ce(0)};const s=ce(t.scrollX),r=ce(t.scrollY),i=oe({get(){return s.value},set(l){scrollTo({left:l,behavior:n})}}),o=oe({get(){return r.value},set(l){scrollTo({top:l,behavior:n})}});return Pt(t,"scroll",()=>{s.value=t.scrollX,r.value=t.scrollY},{capture:!1,passive:!0}),{x:i,y:o}}function Gf(e={}){const{window:t=Ge,initialWidth:n=Number.POSITIVE_INFINITY,initialHeight:s=Number.POSITIVE_INFINITY,listenOrientation:r=!0,includeScrollbar:i=!0,type:o="inner"}=e,l=ce(n),c=ce(s),f=()=>{t&&(o==="outer"?(l.value=t.outerWidth,c.value=t.outerHeight):i?(l.value=t.innerWidth,c.value=t.innerHeight):(l.value=t.document.documentElement.clientWidth,c.value=t.document.documentElement.clientHeight))};if(f(),nr(f),Pt("resize",f,{passive:!0}),r){const a=Lo("(orientation: portrait)");Fe(a,()=>f())}return{width:l,height:c}}const gs={BASE_URL:"/",DEV:!1,MODE:"production",PROD:!0,SSR:!1};var ms={};const Fo=/^(?:[a-z]+:|\/\/)/i,Ba="vitepress-theme-appearance",Wa=/#.*$/,Ka=/[?#].*$/,qa=/(?:(^|\/)index)?\.(?:md|html)$/,ge=typeof document<"u",Ho={relativePath:"404.md",filePath:"",title:"404",description:"Not Found",headers:[],frontmatter:{sidebar:!1,layout:"page"},lastUpdated:0,isNotFound:!0};function Ga(e,t,n=!1){if(t===void 0)return!1;if(e=zr(`/${e}`),n)return new RegExp(t).test(e);if(zr(t)!==e)return!1;const s=t.match(Wa);return s?(ge?location.hash:"")===s[0]:!0}function zr(e){return decodeURI(e).replace(Ka,"").replace(qa,"$1")}function Ya(e){return Fo.test(e)}function Xa(e,t){return Object.keys((e==null?void 0:e.locales)||{}).find(n=>n!=="root"&&!Ya(n)&&Ga(t,`/${n}/`,!0))||"root"}function Ja(e,t){var s,r,i,o,l,c,f;const n=Xa(e,t);return Object.assign({},e,{localeIndex:n,lang:((s=e.locales[n])==null?void 0:s.lang)??e.lang,dir:((r=e.locales[n])==null?void 0:r.dir)??e.dir,title:((i=e.locales[n])==null?void 0:i.title)??e.title,titleTemplate:((o=e.locales[n])==null?void 0:o.titleTemplate)??e.titleTemplate,description:((l=e.locales[n])==null?void 0:l.description)??e.description,head:Do(e.head,((c=e.locales[n])==null?void 0:c.head)??[]),themeConfig:{...e.themeConfig,...(f=e.locales[n])==null?void 0:f.themeConfig}})}function $o(e,t){const n=t.title||e.title,s=t.titleTemplate??e.titleTemplate;if(typeof s=="string"&&s.includes(":title"))return s.replace(/:title/g,n);const r=za(e.title,s);return n===r.slice(3)?n:`${n}${r}`}function za(e,t){return t===!1?"":t===!0||t===void 0?` | ${e}`:e===t?"":` | ${t}`}function Qa(e,t){const[n,s]=t;if(n!=="meta")return!1;const r=Object.entries(s)[0];return r==null?!1:e.some(([i,o])=>i===n&&o[r[0]]===r[1])}function Do(e,t){return[...e.filter(n=>!Qa(t,n)),...t]}const Za=/[\u0000-\u001F"#$&*+,:;<=>?[\]^`{|}\u007F]/g,ef=/^[a-z]:/i;function Qr(e){const t=ef.exec(e),n=t?t[0]:"";return n+e.slice(n.length).replace(Za,"_").replace(/(^|\/)_+(?=[^/]*$)/,"$1")}const ys=new Set;function tf(e){if(ys.size===0){const n=typeof process=="object"&&(ms==null?void 0:ms.VITE_EXTRA_EXTENSIONS)||(gs==null?void 0:gs.VITE_EXTRA_EXTENSIONS)||"";("3g2,3gp,aac,ai,apng,au,avif,bin,bmp,cer,class,conf,crl,css,csv,dll,doc,eps,epub,exe,gif,gz,ics,ief,jar,jpe,jpeg,jpg,js,json,jsonld,m4a,man,mid,midi,mjs,mov,mp2,mp3,mp4,mpe,mpeg,mpg,mpp,oga,ogg,ogv,ogx,opus,otf,p10,p7c,p7m,p7s,pdf,png,ps,qt,roff,rtf,rtx,ser,svg,t,tif,tiff,tr,ts,tsv,ttf,txt,vtt,wav,weba,webm,webp,woff,woff2,xhtml,xml,yaml,yml,zip"+(n&&typeof n=="string"?","+n:"")).split(",").forEach(s=>ys.add(s))}const t=e.split(".").pop();return t==null||!ys.has(t.toLowerCase())}const nf=Symbol(),mt=Ci(Sa);function Yf(e){const t=oe(()=>Ja(mt.value,e.data.relativePath)),n=t.value.appearance,s=n==="force-dark"?ce(!0):n==="force-auto"?sr():n?ka({storageKey:Ba,initialValue:()=>n==="dark"?"dark":"auto",...typeof n=="object"?n:{}}):ce(!1),r=ce(ge?location.hash:"");return ge&&window.addEventListener("hashchange",()=>{r.value=location.hash}),Fe(()=>e.data,()=>{r.value=ge?location.hash:""}),{site:t,theme:oe(()=>t.value.themeConfig),page:oe(()=>e.data),frontmatter:oe(()=>e.data.frontmatter),params:oe(()=>e.data.params),lang:oe(()=>t.value.lang),dir:oe(()=>e.data.frontmatter.dir||t.value.dir),localeIndex:oe(()=>t.value.localeIndex||"root"),title:oe(()=>$o(t.value,e.data)),description:oe(()=>e.data.description||t.value.description),isDark:s,hash:oe(()=>r.value)}}function sf(){const e=Ot(nf);if(!e)throw new Error("vitepress data not properly injected in app");return e}function rf(e,t){return`${e}${t}`.replace(/\/+/g,"/")}function Zr(e){return Fo.test(e)||!e.startsWith("/")?e:rf(mt.value.base,e)}function of(e){let t=e.replace(/\.html$/,"");if(t=decodeURIComponent(t),t=t.replace(/\/$/,"/index"),ge){const n="/";t=Qr(t.slice(n.length).replace(/\//g,"_")||"index")+".md";let s=__VP_HASH_MAP__[t.toLowerCase()];if(s||(t=t.endsWith("_index.md")?t.slice(0,-9)+".md":t.slice(0,-3)+"_index.md",s=__VP_HASH_MAP__[t.toLowerCase()]),!s)return null;t=`${n}assets/${t}.${s}.js`}else t=`./${Qr(t.slice(1).replace(/\//g,"_"))}.md.js`;return t}let Tn=[];function Xf(e){Tn.push(e),qn(()=>{Tn=Tn.filter(t=>t!==e)})}function lf(){let e=mt.value.scrollOffset,t=0,n=24;if(typeof e=="object"&&"padding"in e&&(n=e.padding,e=e.selector),typeof e=="number")t=e;else if(typeof e=="string")t=ei(e,n);else if(Array.isArray(e))for(const s of e){const r=ei(s,n);if(r){t=r;break}}return t}function ei(e,t){const n=document.querySelector(e);if(!n)return 0;const s=n.getBoundingClientRect().bottom;return s<0?0:s+t}const cf=Symbol(),jo="http://a.com",af=()=>({path:"/",component:null,data:Ho});function Jf(e,t){const n=Un(af()),s={route:n,go:r};async function r(l=ge?location.href:"/"){var c,f;l=_s(l),await((c=s.onBeforeRouteChange)==null?void 0:c.call(s,l))!==!1&&(ge&&l!==_s(location.href)&&(history.replaceState({scrollPosition:window.scrollY},""),history.pushState({},"",l)),await o(l),await((f=s.onAfterRouteChanged)==null?void 0:f.call(s,l)))}let i=null;async function o(l,c=0,f=!1){var y,_;if(await((y=s.onBeforePageLoad)==null?void 0:y.call(s,l))===!1)return;const a=new URL(l,jo),h=i=a.pathname;try{let x=await e(h);if(!x)throw new Error(`Page not found: ${h}`);if(i===h){i=null;const{default:v,__pageData:K}=x;if(!v)throw new Error(`Invalid route component: ${v}`);await((_=s.onAfterPageLoad)==null?void 0:_.call(s,l)),n.path=ge?h:Zr(h),n.component=wn(v),n.data=wn(K),ge&&Wn(()=>{let N=mt.value.base+K.relativePath.replace(/(?:(^|\/)index)?\.md$/,"$1");if(!mt.value.cleanUrls&&!N.endsWith("/")&&(N+=".html"),N!==a.pathname&&(a.pathname=N,l=N+a.search+a.hash,history.replaceState({},"",l)),a.hash&&!c){let j=null;try{j=document.getElementById(decodeURIComponent(a.hash).slice(1))}catch(p){console.warn(p)}if(j){ti(j,a.hash);return}}window.scrollTo(0,c)})}}catch(x){if(!/fetch|Page not found/.test(x.message)&&!/^\/404(\.html|\/)?$/.test(l)&&console.error(x),!f)try{const v=await fetch(mt.value.base+"hashmap.json");window.__VP_HASH_MAP__=await v.json(),await o(l,c,!0);return}catch{}if(i===h){i=null,n.path=ge?h:Zr(h),n.component=t?wn(t):null;const v=ge?h.replace(/(^|\/)$/,"$1index").replace(/(\.html)?$/,".md").replace(/^\//,""):"404.md";n.data={...Ho,relativePath:v}}}}return ge&&(history.state===null&&history.replaceState({},""),window.addEventListener("click",l=>{if(l.defaultPrevented||!(l.target instanceof Element)||l.target.closest("button")||l.button!==0||l.ctrlKey||l.shiftKey||l.altKey||l.metaKey)return;const c=l.target.closest("a");if(!c||c.closest(".vp-raw")||c.hasAttribute("download")||c.hasAttribute("target"))return;const f=c.getAttribute("href")??(c instanceof SVGAElement?c.getAttribute("xlink:href"):null);if(f==null)return;const{href:a,origin:h,pathname:y,hash:_,search:x}=new URL(f,c.baseURI),v=new URL(location.href);h===v.origin&&tf(y)&&(l.preventDefault(),y===v.pathname&&x===v.search?(_!==v.hash&&(history.pushState({},"",a),window.dispatchEvent(new HashChangeEvent("hashchange",{oldURL:v.href,newURL:a}))),_?ti(c,_,c.classList.contains("header-anchor")):window.scrollTo(0,0)):r(a))},{capture:!0}),window.addEventListener("popstate",async l=>{var c;l.state!==null&&(await o(_s(location.href),l.state&&l.state.scrollPosition||0),(c=s.onAfterRouteChanged)==null||c.call(s,location.href))}),window.addEventListener("hashchange",l=>{l.preventDefault()})),s}function ff(){const e=Ot(cf);if(!e)throw new Error("useRouter() is called without provider.");return e}function Vo(){return ff().route}function ti(e,t,n=!1){let s=null;try{s=e.classList.contains("header-anchor")?e:document.getElementById(decodeURIComponent(t).slice(1))}catch(r){console.warn(r)}if(s){let r=function(){!n||Math.abs(o-window.scrollY)>window.innerHeight?window.scrollTo(0,o):window.scrollTo({left:0,top:o,behavior:"smooth"})};const i=parseInt(window.getComputedStyle(s).paddingTop,10),o=window.scrollY+s.getBoundingClientRect().top-lf()+i;requestAnimationFrame(r)}}function _s(e){const t=new URL(e,jo);return t.pathname=t.pathname.replace(/(^|\/)index(\.html)?$/,"$1"),mt.value.cleanUrls?t.pathname=t.pathname.replace(/\.html$/,""):!t.pathname.endsWith("/")&&!t.pathname.endsWith(".html")&&(t.pathname+=".html"),t.pathname+t.search+t.hash}const yn=()=>Tn.forEach(e=>e()),zf=Xs({name:"VitePressContent",props:{as:{type:[Object,String],default:"div"}},setup(e){const t=Vo(),{frontmatter:n,site:s}=sf();return Fe(n,yn,{deep:!0,flush:"post"}),()=>Fs(e.as,s.value.contentProps??{style:{position:"relative"}},[t.component?Fs(t.component,{onVnodeMounted:yn,onVnodeUpdated:yn,onVnodeUnmounted:yn}):"404 Page Not Found"])}}),uf="modulepreload",df=function(e){return"/"+e},ni={},Qf=function(t,n,s){let r=Promise.resolve();if(n&&n.length>0){document.getElementsByTagName("link");const o=document.querySelector("meta[property=csp-nonce]"),l=(o==null?void 0:o.nonce)||(o==null?void 0:o.getAttribute("nonce"));r=Promise.allSettled(n.map(c=>{if(c=df(c),c in ni)return;ni[c]=!0;const f=c.endsWith(".css"),a=f?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${c}"]${a}`))return;const h=document.createElement("link");if(h.rel=f?"stylesheet":uf,f||(h.as="script"),h.crossOrigin="",h.href=c,l&&h.setAttribute("nonce",l),document.head.appendChild(h),f)return new Promise((y,_)=>{h.addEventListener("load",y),h.addEventListener("error",()=>_(new Error(`Unable to preload CSS for ${c}`)))})}))}function i(o){const l=new Event("vite:preloadError",{cancelable:!0});if(l.payload=o,window.dispatchEvent(l),!l.defaultPrevented)throw o}return r.then(o=>{for(const l of o||[])l.status==="rejected"&&i(l.reason);return t().catch(i)})},Zf=Xs({setup(e,{slots:t}){const n=ce(!1);return Lt(()=>{n.value=!0}),()=>n.value&&t.default?t.default():null}});function eu(){ge&&window.addEventListener("click",e=>{var n;const t=e.target;if(t.matches(".vp-code-group input")){const s=(n=t.parentElement)==null?void 0:n.parentElement;if(!s)return;const r=Array.from(s.querySelectorAll("input")).indexOf(t);if(r<0)return;const i=s.querySelector(".blocks");if(!i)return;const o=Array.from(i.children).find(f=>f.classList.contains("active"));if(!o)return;const l=i.children[r];if(!l||o===l)return;o.classList.remove("active"),l.classList.add("active");const c=s==null?void 0:s.querySelector(`label[for="${t.id}"]`);c==null||c.scrollIntoView({block:"nearest"})}})}function tu(){if(ge){const e=new WeakMap;window.addEventListener("click",t=>{var s;const n=t.target;if(n.matches('div[class*="language-"] > button.copy')){const r=n.parentElement,i=(s=n.nextElementSibling)==null?void 0:s.nextElementSibling;if(!r||!i)return;const o=/language-(shellscript|shell|bash|sh|zsh)/.test(r.className),l=[".vp-copy-ignore",".diff.remove"],c=i.cloneNode(!0);c.querySelectorAll(l.join(",")).forEach(a=>a.remove());let f=c.textContent||"";o&&(f=f.replace(/^ *(\$|>) /gm,"").trim()),hf(f).then(()=>{n.classList.add("copied"),clearTimeout(e.get(n));const a=setTimeout(()=>{n.classList.remove("copied"),n.blur(),e.delete(n)},2e3);e.set(n,a)})}})}}async function hf(e){try{return navigator.clipboard.writeText(e)}catch{const t=document.createElement("textarea"),n=document.activeElement;t.value=e,t.setAttribute("readonly",""),t.style.contain="strict",t.style.position="absolute",t.style.left="-9999px",t.style.fontSize="12pt";const s=document.getSelection(),r=s?s.rangeCount>0&&s.getRangeAt(0):null;document.body.appendChild(t),t.select(),t.selectionStart=0,t.selectionEnd=e.length,document.execCommand("copy"),document.body.removeChild(t),r&&(s.removeAllRanges(),s.addRange(r)),n&&n.focus()}}function nu(e,t){let n=!0,s=[];const r=i=>{if(n){n=!1,i.forEach(l=>{const c=vs(l);for(const f of document.head.children)if(f.isEqualNode(c)){s.push(f);return}});return}const o=i.map(vs);s.forEach((l,c)=>{const f=o.findIndex(a=>a==null?void 0:a.isEqualNode(l??null));f!==-1?delete o[f]:(l==null||l.remove(),delete s[c])}),o.forEach(l=>l&&document.head.appendChild(l)),s=[...s,...o].filter(Boolean)};ao(()=>{const i=e.data,o=t.value,l=i&&i.description,c=i&&i.frontmatter.head||[],f=$o(o,i);f!==document.title&&(document.title=f);const a=l||o.description;let h=document.querySelector("meta[name=description]");h?h.getAttribute("content")!==a&&h.setAttribute("content",a):vs(["meta",{name:"description",content:a}]),r(Do(o.head,gf(c)))})}function vs([e,t,n]){const s=document.createElement(e);for(const r in t)s.setAttribute(r,t[r]);return n&&(s.innerHTML=n),e==="script"&&t.async==null&&(s.async=!1),s}function pf(e){return e[0]==="meta"&&e[1]&&e[1].name==="description"}function gf(e){return e.filter(t=>!pf(t))}const bs=new Set,ko=()=>document.createElement("link"),mf=e=>{const t=ko();t.rel="prefetch",t.href=e,document.head.appendChild(t)},yf=e=>{const t=new XMLHttpRequest;t.open("GET",e,t.withCredentials=!0),t.send()};let _n;const _f=ge&&(_n=ko())&&_n.relList&&_n.relList.supports&&_n.relList.supports("prefetch")?mf:yf;function su(){if(!ge||!window.IntersectionObserver)return;let e;if((e=navigator.connection)&&(e.saveData||/2g/.test(e.effectiveType)))return;const t=window.requestIdleCallback||setTimeout;let n=null;const s=()=>{n&&n.disconnect(),n=new IntersectionObserver(i=>{i.forEach(o=>{if(o.isIntersecting){const l=o.target;n.unobserve(l);const{pathname:c}=l;if(!bs.has(c)){bs.add(c);const f=of(c);f&&_f(f)}}})}),t(()=>{document.querySelectorAll("#app a").forEach(i=>{const{hostname:o,pathname:l}=new URL(i.href instanceof SVGAnimatedString?i.href.animVal:i.href,i.baseURI),c=l.match(/\.\w+$/);c&&c[0]!==".html"||i.target!=="_blank"&&o===location.hostname&&(l!==location.pathname?n.observe(i):bs.add(l))})})};Lt(s);const r=Vo();Fe(()=>r.path,s),qn(()=>{n&&n.disconnect()})}export{Bi as $,lf as A,xf as B,Cf as C,Ci as D,Xf as E,Ee as F,le as G,Ef as H,Qf as I,Tf as J,Fo as K,Vo as L,Fc as M,Ot as N,Gf as O,Dn as P,Wf as Q,Wn as R,qf as S,Hf as T,ge as U,Bn as V,Kf as W,pc as X,Vf as Y,Of as Z,Bf as _,vo as a,jf as a0,Mf as a1,Un as a2,Pl as a3,Af as a4,vf as a5,Nc as a6,de as a7,Sf as a8,Fs as a9,kf as aa,Pf as ab,bf as ac,ec as ad,wf as ae,$f as af,ui as ag,rl as ah,Df as ai,Nf as aj,nu as ak,cf as al,Yf as am,nf as an,zf as ao,Zf as ap,mt as aq,Uf as ar,Jf as as,of as at,su as au,tu as av,eu as aw,ff as ax,Is as b,If as c,Xs as d,Ff as e,tf as f,Zr as g,oe as h,Ya as i,_o as j,Gs as k,Ga as l,Lo as m,jn as n,Ls as o,ce as p,Fe as q,Rf as r,ao as s,nl as t,sf as u,Lt as v,Vl as w,qn as x,Lf as y,tc as z}; diff --git a/docs/assets/chunks/framework.DDyYGyON.js b/docs/assets/chunks/framework.DDyYGyON.js deleted file mode 100644 index ed870a54..00000000 --- a/docs/assets/chunks/framework.DDyYGyON.js +++ /dev/null @@ -1,18 +0,0 @@ -/** -* @vue/shared v3.5.13 -* (c) 2018-present Yuxi (Evan) You and Vue contributors -* @license MIT -**//*! #__NO_SIDE_EFFECTS__ */function Vs(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const ee={},Ct=[],Ue=()=>{},zo=()=>!1,sn=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),ks=e=>e.startsWith("onUpdate:"),ae=Object.assign,Us=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Qo=Object.prototype.hasOwnProperty,z=(e,t)=>Qo.call(e,t),j=Array.isArray,At=e=>on(e)==="[object Map]",rn=e=>on(e)==="[object Set]",dr=e=>on(e)==="[object Date]",q=e=>typeof e=="function",re=e=>typeof e=="string",He=e=>typeof e=="symbol",Z=e=>e!==null&&typeof e=="object",ai=e=>(Z(e)||q(e))&&q(e.then)&&q(e.catch),fi=Object.prototype.toString,on=e=>fi.call(e),Zo=e=>on(e).slice(8,-1),ui=e=>on(e)==="[object Object]",Bs=e=>re(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Rt=Vs(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),jn=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},el=/-(\w)/g,Le=jn(e=>e.replace(el,(t,n)=>n?n.toUpperCase():"")),tl=/\B([A-Z])/g,it=jn(e=>e.replace(tl,"-$1").toLowerCase()),Vn=jn(e=>e.charAt(0).toUpperCase()+e.slice(1)),xn=jn(e=>e?`on${Vn(e)}`:""),nt=(e,t)=>!Object.is(e,t),Tn=(e,...t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:s,value:n})},xs=e=>{const t=parseFloat(e);return isNaN(t)?e:t},nl=e=>{const t=re(e)?Number(e):NaN;return isNaN(t)?e:t};let hr;const kn=()=>hr||(hr=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Un(e){if(j(e)){const t={};for(let n=0;n{if(n){const s=n.split(rl);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function Bn(e){let t="";if(re(e))t=e;else if(j(e))for(let n=0;nvt(n,t))}const pi=e=>!!(e&&e.__v_isRef===!0),fl=e=>re(e)?e:e==null?"":j(e)||Z(e)&&(e.toString===fi||!q(e.toString))?pi(e)?fl(e.value):JSON.stringify(e,gi,2):String(e),gi=(e,t)=>pi(t)?gi(e,t.value):At(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,r],i)=>(n[rs(s,i)+" =>"]=r,n),{})}:rn(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>rs(n))}:He(t)?rs(t):Z(t)&&!j(t)&&!ui(t)?String(t):t,rs=(e,t="")=>{var n;return He(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/** -* @vue/reactivity v3.5.13 -* (c) 2018-present Yuxi (Evan) You and Vue contributors -* @license MIT -**/let we;class ul{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=we,!t&&we&&(this.index=(we.scopes||(we.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t0)return;if(Bt){let t=Bt;for(Bt=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;Ut;){let t=Ut;for(Ut=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(s){e||(e=s)}t=n}}if(e)throw e}function bi(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function wi(e){let t,n=e.depsTail,s=n;for(;s;){const r=s.prevDep;s.version===-1?(s===n&&(n=r),Gs(s),hl(s)):t=s,s.dep.activeLink=s.prevActiveLink,s.prevActiveLink=void 0,s=r}e.deps=t,e.depsTail=n}function Ts(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(Si(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function Si(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Xt))return;e.globalVersion=Xt;const t=e.dep;if(e.flags|=2,t.version>0&&!e.isSSR&&e.deps&&!Ts(e)){e.flags&=-3;return}const n=ne,s=Ne;ne=e,Ne=!0;try{bi(e);const r=e.fn(e._value);(t.version===0||nt(r,e._value))&&(e._value=r,t.version++)}catch(r){throw t.version++,r}finally{ne=n,Ne=s,wi(e),e.flags&=-3}}function Gs(e,t=!1){const{dep:n,prevSub:s,nextSub:r}=e;if(s&&(s.nextSub=r,e.prevSub=void 0),r&&(r.prevSub=s,e.nextSub=void 0),n.subs===e&&(n.subs=s,!s&&n.computed)){n.computed.flags&=-5;for(let i=n.computed.deps;i;i=i.nextDep)Gs(i,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function hl(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let Ne=!0;const Ei=[];function ot(){Ei.push(Ne),Ne=!1}function lt(){const e=Ei.pop();Ne=e===void 0?!0:e}function pr(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=ne;ne=void 0;try{t()}finally{ne=n}}}let Xt=0;class pl{constructor(t,n){this.sub=t,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class Wn{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0}track(t){if(!ne||!Ne||ne===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==ne)n=this.activeLink=new pl(ne,this),ne.deps?(n.prevDep=ne.depsTail,ne.depsTail.nextDep=n,ne.depsTail=n):ne.deps=ne.depsTail=n,xi(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const s=n.nextDep;s.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=s),n.prevDep=ne.depsTail,n.nextDep=void 0,ne.depsTail.nextDep=n,ne.depsTail=n,ne.deps===n&&(ne.deps=s)}return n}trigger(t){this.version++,Xt++,this.notify(t)}notify(t){Ks();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{qs()}}}function xi(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let s=t.deps;s;s=s.nextDep)xi(s)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const Pn=new WeakMap,pt=Symbol(""),Cs=Symbol(""),Jt=Symbol("");function me(e,t,n){if(Ne&&ne){let s=Pn.get(e);s||Pn.set(e,s=new Map);let r=s.get(n);r||(s.set(n,r=new Wn),r.map=s,r.key=n),r.track()}}function qe(e,t,n,s,r,i){const o=Pn.get(e);if(!o){Xt++;return}const l=c=>{c&&c.trigger()};if(Ks(),t==="clear")o.forEach(l);else{const c=j(e),f=c&&Bs(n);if(c&&n==="length"){const a=Number(s);o.forEach((h,y)=>{(y==="length"||y===Jt||!He(y)&&y>=a)&&l(h)})}else switch((n!==void 0||o.has(void 0))&&l(o.get(n)),f&&l(o.get(Jt)),t){case"add":c?f&&l(o.get("length")):(l(o.get(pt)),At(e)&&l(o.get(Cs)));break;case"delete":c||(l(o.get(pt)),At(e)&&l(o.get(Cs)));break;case"set":At(e)&&l(o.get(pt));break}}qs()}function gl(e,t){const n=Pn.get(e);return n&&n.get(t)}function St(e){const t=J(e);return t===e?t:(me(t,"iterate",Jt),Pe(e)?t:t.map(ye))}function Kn(e){return me(e=J(e),"iterate",Jt),e}const ml={__proto__:null,[Symbol.iterator](){return os(this,Symbol.iterator,ye)},concat(...e){return St(this).concat(...e.map(t=>j(t)?St(t):t))},entries(){return os(this,"entries",e=>(e[1]=ye(e[1]),e))},every(e,t){return Be(this,"every",e,t,void 0,arguments)},filter(e,t){return Be(this,"filter",e,t,n=>n.map(ye),arguments)},find(e,t){return Be(this,"find",e,t,ye,arguments)},findIndex(e,t){return Be(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return Be(this,"findLast",e,t,ye,arguments)},findLastIndex(e,t){return Be(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return Be(this,"forEach",e,t,void 0,arguments)},includes(...e){return ls(this,"includes",e)},indexOf(...e){return ls(this,"indexOf",e)},join(e){return St(this).join(e)},lastIndexOf(...e){return ls(this,"lastIndexOf",e)},map(e,t){return Be(this,"map",e,t,void 0,arguments)},pop(){return $t(this,"pop")},push(...e){return $t(this,"push",e)},reduce(e,...t){return gr(this,"reduce",e,t)},reduceRight(e,...t){return gr(this,"reduceRight",e,t)},shift(){return $t(this,"shift")},some(e,t){return Be(this,"some",e,t,void 0,arguments)},splice(...e){return $t(this,"splice",e)},toReversed(){return St(this).toReversed()},toSorted(e){return St(this).toSorted(e)},toSpliced(...e){return St(this).toSpliced(...e)},unshift(...e){return $t(this,"unshift",e)},values(){return os(this,"values",ye)}};function os(e,t,n){const s=Kn(e),r=s[t]();return s!==e&&!Pe(e)&&(r._next=r.next,r.next=()=>{const i=r._next();return i.value&&(i.value=n(i.value)),i}),r}const yl=Array.prototype;function Be(e,t,n,s,r,i){const o=Kn(e),l=o!==e&&!Pe(e),c=o[t];if(c!==yl[t]){const h=c.apply(e,i);return l?ye(h):h}let f=n;o!==e&&(l?f=function(h,y){return n.call(this,ye(h),y,e)}:n.length>2&&(f=function(h,y){return n.call(this,h,y,e)}));const a=c.call(o,f,s);return l&&r?r(a):a}function gr(e,t,n,s){const r=Kn(e);let i=n;return r!==e&&(Pe(e)?n.length>3&&(i=function(o,l,c){return n.call(this,o,l,c,e)}):i=function(o,l,c){return n.call(this,o,ye(l),c,e)}),r[t](i,...s)}function ls(e,t,n){const s=J(e);me(s,"iterate",Jt);const r=s[t](...n);return(r===-1||r===!1)&&Js(n[0])?(n[0]=J(n[0]),s[t](...n)):r}function $t(e,t,n=[]){ot(),Ks();const s=J(e)[t].apply(e,n);return qs(),lt(),s}const _l=Vs("__proto__,__v_isRef,__isVue"),Ti=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(He));function vl(e){He(e)||(e=String(e));const t=J(this);return me(t,"has",e),t.hasOwnProperty(e)}class Ci{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,s){if(n==="__v_skip")return t.__v_skip;const r=this._isReadonly,i=this._isShallow;if(n==="__v_isReactive")return!r;if(n==="__v_isReadonly")return r;if(n==="__v_isShallow")return i;if(n==="__v_raw")return s===(r?i?Ol:Mi:i?Oi:Ri).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(s)?t:void 0;const o=j(t);if(!r){let c;if(o&&(c=ml[n]))return c;if(n==="hasOwnProperty")return vl}const l=Reflect.get(t,n,de(t)?t:s);return(He(n)?Ti.has(n):_l(n))||(r||me(t,"get",n),i)?l:de(l)?o&&Bs(n)?l:l.value:Z(l)?r?Gn(l):qn(l):l}}class Ai extends Ci{constructor(t=!1){super(!1,t)}set(t,n,s,r){let i=t[n];if(!this._isShallow){const c=bt(i);if(!Pe(s)&&!bt(s)&&(i=J(i),s=J(s)),!j(t)&&de(i)&&!de(s))return c?!1:(i.value=s,!0)}const o=j(t)&&Bs(n)?Number(n)e,hn=e=>Reflect.getPrototypeOf(e);function xl(e,t,n){return function(...s){const r=this.__v_raw,i=J(r),o=At(i),l=e==="entries"||e===Symbol.iterator&&o,c=e==="keys"&&o,f=r[e](...s),a=n?As:t?Rs:ye;return!t&&me(i,"iterate",c?Cs:pt),{next(){const{value:h,done:y}=f.next();return y?{value:h,done:y}:{value:l?[a(h[0]),a(h[1])]:a(h),done:y}},[Symbol.iterator](){return this}}}}function pn(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function Tl(e,t){const n={get(r){const i=this.__v_raw,o=J(i),l=J(r);e||(nt(r,l)&&me(o,"get",r),me(o,"get",l));const{has:c}=hn(o),f=t?As:e?Rs:ye;if(c.call(o,r))return f(i.get(r));if(c.call(o,l))return f(i.get(l));i!==o&&i.get(r)},get size(){const r=this.__v_raw;return!e&&me(J(r),"iterate",pt),Reflect.get(r,"size",r)},has(r){const i=this.__v_raw,o=J(i),l=J(r);return e||(nt(r,l)&&me(o,"has",r),me(o,"has",l)),r===l?i.has(r):i.has(r)||i.has(l)},forEach(r,i){const o=this,l=o.__v_raw,c=J(l),f=t?As:e?Rs:ye;return!e&&me(c,"iterate",pt),l.forEach((a,h)=>r.call(i,f(a),f(h),o))}};return ae(n,e?{add:pn("add"),set:pn("set"),delete:pn("delete"),clear:pn("clear")}:{add(r){!t&&!Pe(r)&&!bt(r)&&(r=J(r));const i=J(this);return hn(i).has.call(i,r)||(i.add(r),qe(i,"add",r,r)),this},set(r,i){!t&&!Pe(i)&&!bt(i)&&(i=J(i));const o=J(this),{has:l,get:c}=hn(o);let f=l.call(o,r);f||(r=J(r),f=l.call(o,r));const a=c.call(o,r);return o.set(r,i),f?nt(i,a)&&qe(o,"set",r,i):qe(o,"add",r,i),this},delete(r){const i=J(this),{has:o,get:l}=hn(i);let c=o.call(i,r);c||(r=J(r),c=o.call(i,r)),l&&l.call(i,r);const f=i.delete(r);return c&&qe(i,"delete",r,void 0),f},clear(){const r=J(this),i=r.size!==0,o=r.clear();return i&&qe(r,"clear",void 0,void 0),o}}),["keys","values","entries",Symbol.iterator].forEach(r=>{n[r]=xl(r,e,t)}),n}function Ys(e,t){const n=Tl(e,t);return(s,r,i)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?s:Reflect.get(z(n,r)&&r in s?n:s,r,i)}const Cl={get:Ys(!1,!1)},Al={get:Ys(!1,!0)},Rl={get:Ys(!0,!1)};const Ri=new WeakMap,Oi=new WeakMap,Mi=new WeakMap,Ol=new WeakMap;function Ml(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Pl(e){return e.__v_skip||!Object.isExtensible(e)?0:Ml(Zo(e))}function qn(e){return bt(e)?e:Xs(e,!1,wl,Cl,Ri)}function Ll(e){return Xs(e,!1,El,Al,Oi)}function Gn(e){return Xs(e,!0,Sl,Rl,Mi)}function Xs(e,t,n,s,r){if(!Z(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const i=r.get(e);if(i)return i;const o=Pl(e);if(o===0)return e;const l=new Proxy(e,o===2?s:n);return r.set(e,l),l}function gt(e){return bt(e)?gt(e.__v_raw):!!(e&&e.__v_isReactive)}function bt(e){return!!(e&&e.__v_isReadonly)}function Pe(e){return!!(e&&e.__v_isShallow)}function Js(e){return e?!!e.__v_raw:!1}function J(e){const t=e&&e.__v_raw;return t?J(t):e}function Cn(e){return!z(e,"__v_skip")&&Object.isExtensible(e)&&di(e,"__v_skip",!0),e}const ye=e=>Z(e)?qn(e):e,Rs=e=>Z(e)?Gn(e):e;function de(e){return e?e.__v_isRef===!0:!1}function ce(e){return Li(e,!1)}function Pi(e){return Li(e,!0)}function Li(e,t){return de(e)?e:new Il(e,t)}class Il{constructor(t,n){this.dep=new Wn,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:J(t),this._value=n?t:ye(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,s=this.__v_isShallow||Pe(t)||bt(t);t=s?t:J(t),nt(t,n)&&(this._rawValue=t,this._value=s?t:ye(t),this.dep.trigger())}}function zs(e){return de(e)?e.value:e}function Nf(e){return q(e)?e():zs(e)}const Nl={get:(e,t,n)=>t==="__v_raw"?e:zs(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const r=e[t];return de(r)&&!de(n)?(r.value=n,!0):Reflect.set(e,t,n,s)}};function Ii(e){return gt(e)?e:new Proxy(e,Nl)}class Fl{constructor(t){this.__v_isRef=!0,this._value=void 0;const n=this.dep=new Wn,{get:s,set:r}=t(n.track.bind(n),n.trigger.bind(n));this._get=s,this._set=r}get value(){return this._value=this._get()}set value(t){this._set(t)}}function Hl(e){return new Fl(e)}class Dl{constructor(t,n,s){this._object=t,this._key=n,this._defaultValue=s,this.__v_isRef=!0,this._value=void 0}get value(){const t=this._object[this._key];return this._value=t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return gl(J(this._object),this._key)}}class $l{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}}function jl(e,t,n){return de(e)?e:q(e)?new $l(e):Z(e)&&arguments.length>1?Vl(e,t,n):ce(e)}function Vl(e,t,n){const s=e[t];return de(s)?s:new Dl(e,t,n)}class kl{constructor(t,n,s){this.fn=t,this.setter=n,this._value=void 0,this.dep=new Wn(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Xt-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=s}notify(){if(this.flags|=16,!(this.flags&8)&&ne!==this)return vi(this,!0),!0}get value(){const t=this.dep.track();return Si(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function Ul(e,t,n=!1){let s,r;return q(e)?s=e:(s=e.get,r=e.set),new kl(s,r,n)}const gn={},Ln=new WeakMap;let dt;function Bl(e,t=!1,n=dt){if(n){let s=Ln.get(n);s||Ln.set(n,s=[]),s.push(e)}}function Wl(e,t,n=ee){const{immediate:s,deep:r,once:i,scheduler:o,augmentJob:l,call:c}=n,f=g=>r?g:Pe(g)||r===!1||r===0?Ge(g,1):Ge(g);let a,h,y,_,x=!1,v=!1;if(de(e)?(h=()=>e.value,x=Pe(e)):gt(e)?(h=()=>f(e),x=!0):j(e)?(v=!0,x=e.some(g=>gt(g)||Pe(g)),h=()=>e.map(g=>{if(de(g))return g.value;if(gt(g))return f(g);if(q(g))return c?c(g,2):g()})):q(e)?t?h=c?()=>c(e,2):e:h=()=>{if(y){ot();try{y()}finally{lt()}}const g=dt;dt=a;try{return c?c(e,3,[_]):e(_)}finally{dt=g}}:h=Ue,t&&r){const g=h,O=r===!0?1/0:r;h=()=>Ge(g(),O)}const K=mi(),N=()=>{a.stop(),K&&K.active&&Us(K.effects,a)};if(i&&t){const g=t;t=(...O)=>{g(...O),N()}}let V=v?new Array(e.length).fill(gn):gn;const p=g=>{if(!(!(a.flags&1)||!a.dirty&&!g))if(t){const O=a.run();if(r||x||(v?O.some((F,D)=>nt(F,V[D])):nt(O,V))){y&&y();const F=dt;dt=a;try{const D=[O,V===gn?void 0:v&&V[0]===gn?[]:V,_];c?c(t,3,D):t(...D),V=O}finally{dt=F}}}else a.run()};return l&&l(p),a=new yi(h),a.scheduler=o?()=>o(p,!1):p,_=g=>Bl(g,!1,a),y=a.onStop=()=>{const g=Ln.get(a);if(g){if(c)c(g,4);else for(const O of g)O();Ln.delete(a)}},t?s?p(!0):V=a.run():o?o(p.bind(null,!0),!0):a.run(),N.pause=a.pause.bind(a),N.resume=a.resume.bind(a),N.stop=N,N}function Ge(e,t=1/0,n){if(t<=0||!Z(e)||e.__v_skip||(n=n||new Set,n.has(e)))return e;if(n.add(e),t--,de(e))Ge(e.value,t,n);else if(j(e))for(let s=0;s{Ge(s,t,n)});else if(ui(e)){for(const s in e)Ge(e[s],t,n);for(const s of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,s)&&Ge(e[s],t,n)}return e}/** -* @vue/runtime-core v3.5.13 -* (c) 2018-present Yuxi (Evan) You and Vue contributors -* @license MIT -**/function ln(e,t,n,s){try{return s?e(...s):e()}catch(r){cn(r,t,n)}}function De(e,t,n,s){if(q(e)){const r=ln(e,t,n,s);return r&&ai(r)&&r.catch(i=>{cn(i,t,n)}),r}if(j(e)){const r=[];for(let i=0;i>>1,r=Se[s],i=zt(r);i=zt(n)?Se.push(e):Se.splice(ql(t),0,e),e.flags|=1,Fi()}}function Fi(){In||(In=Ni.then(Hi))}function Gl(e){j(e)?Ot.push(...e):Qe&&e.id===-1?Qe.splice(xt+1,0,e):e.flags&1||(Ot.push(e),e.flags|=1),Fi()}function mr(e,t,n=Ve+1){for(;nzt(n)-zt(s));if(Ot.length=0,Qe){Qe.push(...t);return}for(Qe=t,xt=0;xte.id==null?e.flags&2?-1:1/0:e.id;function Hi(e){try{for(Ve=0;Ve{s._d&&Pr(-1);const i=Fn(t);let o;try{o=e(...r)}finally{Fn(i),s._d&&Pr(1)}return o};return s._n=!0,s._c=!0,s._d=!0,s}function Ff(e,t){if(ue===null)return e;const n=es(ue),s=e.dirs||(e.dirs=[]);for(let r=0;re.__isTeleport,Wt=e=>e&&(e.disabled||e.disabled===""),yr=e=>e&&(e.defer||e.defer===""),_r=e=>typeof SVGElement<"u"&&e instanceof SVGElement,vr=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,Os=(e,t)=>{const n=e&&e.to;return re(n)?t?t(n):null:n},Vi={name:"Teleport",__isTeleport:!0,process(e,t,n,s,r,i,o,l,c,f){const{mc:a,pc:h,pbc:y,o:{insert:_,querySelector:x,createText:v,createComment:K}}=f,N=Wt(t.props);let{shapeFlag:V,children:p,dynamicChildren:g}=t;if(e==null){const O=t.el=v(""),F=t.anchor=v("");_(O,n,s),_(F,n,s);const D=(R,b)=>{V&16&&(r&&r.isCE&&(r.ce._teleportTarget=R),a(p,R,b,r,i,o,l,c))},k=()=>{const R=t.target=Os(t.props,x),b=ki(R,t,v,_);R&&(o!=="svg"&&_r(R)?o="svg":o!=="mathml"&&vr(R)&&(o="mathml"),N||(D(R,b),An(t,!1)))};N&&(D(n,F),An(t,!0)),yr(t.props)?be(()=>{k(),t.el.__isMounted=!0},i):k()}else{if(yr(t.props)&&!e.el.__isMounted){be(()=>{Vi.process(e,t,n,s,r,i,o,l,c,f),delete e.el.__isMounted},i);return}t.el=e.el,t.targetStart=e.targetStart;const O=t.anchor=e.anchor,F=t.target=e.target,D=t.targetAnchor=e.targetAnchor,k=Wt(e.props),R=k?n:F,b=k?O:D;if(o==="svg"||_r(F)?o="svg":(o==="mathml"||vr(F))&&(o="mathml"),g?(y(e.dynamicChildren,g,R,r,i,o,l),sr(e,t,!0)):c||h(e,t,R,b,r,i,o,l,!1),N)k?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):mn(t,n,O,f,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const I=t.target=Os(t.props,x);I&&mn(t,I,null,f,0)}else k&&mn(t,F,D,f,1);An(t,N)}},remove(e,t,n,{um:s,o:{remove:r}},i){const{shapeFlag:o,children:l,anchor:c,targetStart:f,targetAnchor:a,target:h,props:y}=e;if(h&&(r(f),r(a)),i&&r(c),o&16){const _=i||!Wt(y);for(let x=0;x{e.isMounted=!0}),Yi(()=>{e.isUnmounting=!0}),e}const Re=[Function,Array],Ui={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Re,onEnter:Re,onAfterEnter:Re,onEnterCancelled:Re,onBeforeLeave:Re,onLeave:Re,onAfterLeave:Re,onLeaveCancelled:Re,onBeforeAppear:Re,onAppear:Re,onAfterAppear:Re,onAppearCancelled:Re},Bi=e=>{const t=e.subTree;return t.component?Bi(t.component):t},zl={name:"BaseTransition",props:Ui,setup(e,{slots:t}){const n=Zn(),s=Jl();return()=>{const r=t.default&&qi(t.default(),!0);if(!r||!r.length)return;const i=Wi(r),o=J(e),{mode:l}=o;if(s.isLeaving)return cs(i);const c=br(i);if(!c)return cs(i);let f=Ms(c,o,s,n,h=>f=h);c.type!==_e&&Qt(c,f);let a=n.subTree&&br(n.subTree);if(a&&a.type!==_e&&!ht(c,a)&&Bi(n).type!==_e){let h=Ms(a,o,s,n);if(Qt(a,h),l==="out-in"&&c.type!==_e)return s.isLeaving=!0,h.afterLeave=()=>{s.isLeaving=!1,n.job.flags&8||n.update(),delete h.afterLeave,a=void 0},cs(i);l==="in-out"&&c.type!==_e?h.delayLeave=(y,_,x)=>{const v=Ki(s,a);v[String(a.key)]=a,y[Ze]=()=>{_(),y[Ze]=void 0,delete f.delayedLeave,a=void 0},f.delayedLeave=()=>{x(),delete f.delayedLeave,a=void 0}}:a=void 0}else a&&(a=void 0);return i}}};function Wi(e){let t=e[0];if(e.length>1){for(const n of e)if(n.type!==_e){t=n;break}}return t}const Ql=zl;function Ki(e,t){const{leavingVNodes:n}=e;let s=n.get(t.type);return s||(s=Object.create(null),n.set(t.type,s)),s}function Ms(e,t,n,s,r){const{appear:i,mode:o,persisted:l=!1,onBeforeEnter:c,onEnter:f,onAfterEnter:a,onEnterCancelled:h,onBeforeLeave:y,onLeave:_,onAfterLeave:x,onLeaveCancelled:v,onBeforeAppear:K,onAppear:N,onAfterAppear:V,onAppearCancelled:p}=t,g=String(e.key),O=Ki(n,e),F=(R,b)=>{R&&De(R,s,9,b)},D=(R,b)=>{const I=b[1];F(R,b),j(R)?R.every(S=>S.length<=1)&&I():R.length<=1&&I()},k={mode:o,persisted:l,beforeEnter(R){let b=c;if(!n.isMounted)if(i)b=K||c;else return;R[Ze]&&R[Ze](!0);const I=O[g];I&&ht(e,I)&&I.el[Ze]&&I.el[Ze](),F(b,[R])},enter(R){let b=f,I=a,S=h;if(!n.isMounted)if(i)b=N||f,I=V||a,S=p||h;else return;let W=!1;const se=R[yn]=ie=>{W||(W=!0,ie?F(S,[R]):F(I,[R]),k.delayedLeave&&k.delayedLeave(),R[yn]=void 0)};b?D(b,[R,se]):se()},leave(R,b){const I=String(e.key);if(R[yn]&&R[yn](!0),n.isUnmounting)return b();F(y,[R]);let S=!1;const W=R[Ze]=se=>{S||(S=!0,b(),se?F(v,[R]):F(x,[R]),R[Ze]=void 0,O[I]===e&&delete O[I])};O[I]=e,_?D(_,[R,W]):W()},clone(R){const b=Ms(R,t,n,s,r);return r&&r(b),b}};return k}function cs(e){if(an(e))return e=rt(e),e.children=null,e}function br(e){if(!an(e))return ji(e.type)&&e.children?Wi(e.children):e;const{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&q(n.default))return n.default()}}function Qt(e,t){e.shapeFlag&6&&e.component?(e.transition=t,Qt(e.component.subTree,t)):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function qi(e,t=!1,n){let s=[],r=0;for(let i=0;i1)for(let i=0;iZt(x,t&&(j(t)?t[v]:t),n,s,r));return}if(mt(s)&&!r){s.shapeFlag&512&&s.type.__asyncResolved&&s.component.subTree.component&&Zt(e,t,n,s.component.subTree);return}const i=s.shapeFlag&4?es(s.component):s.el,o=r?null:i,{i:l,r:c}=e,f=t&&t.r,a=l.refs===ee?l.refs={}:l.refs,h=l.setupState,y=J(h),_=h===ee?()=>!1:x=>z(y,x);if(f!=null&&f!==c&&(re(f)?(a[f]=null,_(f)&&(h[f]=null)):de(f)&&(f.value=null)),q(c))ln(c,l,12,[o,a]);else{const x=re(c),v=de(c);if(x||v){const K=()=>{if(e.f){const N=x?_(c)?h[c]:a[c]:c.value;r?j(N)&&Us(N,i):j(N)?N.includes(i)||N.push(i):x?(a[c]=[i],_(c)&&(h[c]=a[c])):(c.value=[i],e.k&&(a[e.k]=c.value))}else x?(a[c]=o,_(c)&&(h[c]=o)):v&&(c.value=o,e.k&&(a[e.k]=o))};o?(K.id=-1,be(K,n)):K()}}}let wr=!1;const Et=()=>{wr||(console.error("Hydration completed but contains mismatches."),wr=!0)},Zl=e=>e.namespaceURI.includes("svg")&&e.tagName!=="foreignObject",ec=e=>e.namespaceURI.includes("MathML"),_n=e=>{if(e.nodeType===1){if(Zl(e))return"svg";if(ec(e))return"mathml"}},Tt=e=>e.nodeType===8;function tc(e){const{mt:t,p:n,o:{patchProp:s,createText:r,nextSibling:i,parentNode:o,remove:l,insert:c,createComment:f}}=e,a=(p,g)=>{if(!g.hasChildNodes()){n(null,p,g),Nn(),g._vnode=p;return}h(g.firstChild,p,null,null,null),Nn(),g._vnode=p},h=(p,g,O,F,D,k=!1)=>{k=k||!!g.dynamicChildren;const R=Tt(p)&&p.data==="[",b=()=>v(p,g,O,F,D,R),{type:I,ref:S,shapeFlag:W,patchFlag:se}=g;let ie=p.nodeType;g.el=p,se===-2&&(k=!1,g.dynamicChildren=null);let U=null;switch(I){case yt:ie!==3?g.children===""?(c(g.el=r(""),o(p),p),U=p):U=b():(p.data!==g.children&&(Et(),p.data=g.children),U=i(p));break;case _e:V(p)?(U=i(p),N(g.el=p.content.firstChild,p,O)):ie!==8||R?U=b():U=i(p);break;case qt:if(R&&(p=i(p),ie=p.nodeType),ie===1||ie===3){U=p;const Y=!g.children.length;for(let $=0;${k=k||!!g.dynamicChildren;const{type:R,props:b,patchFlag:I,shapeFlag:S,dirs:W,transition:se}=g,ie=R==="input"||R==="option";if(ie||I!==-1){W&&ke(g,null,O,"created");let U=!1;if(V(p)){U=ho(null,se)&&O&&O.vnode.props&&O.vnode.props.appear;const $=p.content.firstChild;U&&se.beforeEnter($),N($,p,O),g.el=p=$}if(S&16&&!(b&&(b.innerHTML||b.textContent))){let $=_(p.firstChild,g,p,O,F,D,k);for(;$;){vn(p,1)||Et();const he=$;$=$.nextSibling,l(he)}}else if(S&8){let $=g.children;$[0]===` -`&&(p.tagName==="PRE"||p.tagName==="TEXTAREA")&&($=$.slice(1)),p.textContent!==$&&(vn(p,0)||Et(),p.textContent=g.children)}if(b){if(ie||!k||I&48){const $=p.tagName.includes("-");for(const he in b)(ie&&(he.endsWith("value")||he==="indeterminate")||sn(he)&&!Rt(he)||he[0]==="."||$)&&s(p,he,null,b[he],void 0,O)}else if(b.onClick)s(p,"onClick",null,b.onClick,void 0,O);else if(I&4&>(b.style))for(const $ in b.style)b.style[$]}let Y;(Y=b&&b.onVnodeBeforeMount)&&Oe(Y,O,g),W&&ke(g,null,O,"beforeMount"),((Y=b&&b.onVnodeMounted)||W||U)&&bo(()=>{Y&&Oe(Y,O,g),U&&se.enter(p),W&&ke(g,null,O,"mounted")},F)}return p.nextSibling},_=(p,g,O,F,D,k,R)=>{R=R||!!g.dynamicChildren;const b=g.children,I=b.length;for(let S=0;S{const{slotScopeIds:R}=g;R&&(D=D?D.concat(R):R);const b=o(p),I=_(i(p),g,b,O,F,D,k);return I&&Tt(I)&&I.data==="]"?i(g.anchor=I):(Et(),c(g.anchor=f("]"),b,I),I)},v=(p,g,O,F,D,k)=>{if(vn(p.parentElement,1)||Et(),g.el=null,k){const I=K(p);for(;;){const S=i(p);if(S&&S!==I)l(S);else break}}const R=i(p),b=o(p);return l(p),n(null,g,b,R,O,F,_n(b),D),O&&(O.vnode.el=g.el,_o(O,g.el)),R},K=(p,g="[",O="]")=>{let F=0;for(;p;)if(p=i(p),p&&Tt(p)&&(p.data===g&&F++,p.data===O)){if(F===0)return i(p);F--}return p},N=(p,g,O)=>{const F=g.parentNode;F&&F.replaceChild(p,g);let D=O;for(;D;)D.vnode.el===g&&(D.vnode.el=D.subTree.el=p),D=D.parent},V=p=>p.nodeType===1&&p.tagName==="TEMPLATE";return[a,h]}const Sr="data-allow-mismatch",nc={0:"text",1:"children",2:"class",3:"style",4:"attribute"};function vn(e,t){if(t===0||t===1)for(;e&&!e.hasAttribute(Sr);)e=e.parentElement;const n=e&&e.getAttribute(Sr);if(n==null)return!1;if(n==="")return!0;{const s=n.split(",");return t===0&&s.includes("children")?!0:n.split(",").includes(nc[t])}}kn().requestIdleCallback;kn().cancelIdleCallback;function sc(e,t){if(Tt(e)&&e.data==="["){let n=1,s=e.nextSibling;for(;s;){if(s.nodeType===1){if(t(s)===!1)break}else if(Tt(s))if(s.data==="]"){if(--n===0)break}else s.data==="["&&n++;s=s.nextSibling}}else t(e)}const mt=e=>!!e.type.__asyncLoader;/*! #__NO_SIDE_EFFECTS__ */function Df(e){q(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:s,delay:r=200,hydrate:i,timeout:o,suspensible:l=!0,onError:c}=e;let f=null,a,h=0;const y=()=>(h++,f=null,_()),_=()=>{let x;return f||(x=f=t().catch(v=>{if(v=v instanceof Error?v:new Error(String(v)),c)return new Promise((K,N)=>{c(v,()=>K(y()),()=>N(v),h+1)});throw v}).then(v=>x!==f&&f?f:(v&&(v.__esModule||v[Symbol.toStringTag]==="Module")&&(v=v.default),a=v,v)))};return Zs({name:"AsyncComponentWrapper",__asyncLoader:_,__asyncHydrate(x,v,K){const N=i?()=>{const V=i(K,p=>sc(x,p));V&&(v.bum||(v.bum=[])).push(V)}:K;a?N():_().then(()=>!v.isUnmounted&&N())},get __asyncResolved(){return a},setup(){const x=fe;if(er(x),a)return()=>as(a,x);const v=p=>{f=null,cn(p,x,13,!s)};if(l&&x.suspense||Lt)return _().then(p=>()=>as(p,x)).catch(p=>(v(p),()=>s?le(s,{error:p}):null));const K=ce(!1),N=ce(),V=ce(!!r);return r&&setTimeout(()=>{V.value=!1},r),o!=null&&setTimeout(()=>{if(!K.value&&!N.value){const p=new Error(`Async component timed out after ${o}ms.`);v(p),N.value=p}},o),_().then(()=>{K.value=!0,x.parent&&an(x.parent.vnode)&&x.parent.update()}).catch(p=>{v(p),N.value=p}),()=>{if(K.value&&a)return as(a,x);if(N.value&&s)return le(s,{error:N.value});if(n&&!V.value)return le(n)}}})}function as(e,t){const{ref:n,props:s,children:r,ce:i}=t.vnode,o=le(e,s,r);return o.ref=n,o.ce=i,delete t.vnode.ce,o}const an=e=>e.type.__isKeepAlive;function rc(e,t){Gi(e,"a",t)}function ic(e,t){Gi(e,"da",t)}function Gi(e,t,n=fe){const s=e.__wdc||(e.__wdc=()=>{let r=n;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(Xn(t,s,n),n){let r=n.parent;for(;r&&r.parent;)an(r.parent.vnode)&&oc(s,t,n,r),r=r.parent}}function oc(e,t,n,s){const r=Xn(t,e,s,!0);Jn(()=>{Us(s[t],r)},n)}function Xn(e,t,n=fe,s=!1){if(n){const r=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...o)=>{ot();const l=fn(n),c=De(t,n,e,o);return l(),lt(),c});return s?r.unshift(i):r.push(i),i}}const Je=e=>(t,n=fe)=>{(!Lt||e==="sp")&&Xn(e,(...s)=>t(...s),n)},lc=Je("bm"),Ft=Je("m"),cc=Je("bu"),ac=Je("u"),Yi=Je("bum"),Jn=Je("um"),fc=Je("sp"),uc=Je("rtg"),dc=Je("rtc");function hc(e,t=fe){Xn("ec",e,t)}const Xi="components";function $f(e,t){return zi(Xi,e,!0,t)||e}const Ji=Symbol.for("v-ndc");function jf(e){return re(e)?zi(Xi,e,!1)||e:e||Ji}function zi(e,t,n=!0,s=!1){const r=ue||fe;if(r){const i=r.type;{const l=Jc(i,!1);if(l&&(l===t||l===Le(t)||l===Vn(Le(t))))return i}const o=Er(r[e]||i[e],t)||Er(r.appContext[e],t);return!o&&s?i:o}}function Er(e,t){return e&&(e[t]||e[Le(t)]||e[Vn(Le(t))])}function Vf(e,t,n,s){let r;const i=n,o=j(e);if(o||re(e)){const l=o&>(e);let c=!1;l&&(c=!Pe(e),e=Kn(e)),r=new Array(e.length);for(let f=0,a=e.length;ft(l,c,void 0,i));else{const l=Object.keys(e);r=new Array(l.length);for(let c=0,f=l.length;c{const i=s.fn(...r);return i&&(i.key=s.key),i}:s.fn)}return e}function Uf(e,t,n={},s,r){if(ue.ce||ue.parent&&mt(ue.parent)&&ue.parent.ce)return t!=="default"&&(n.name=t),Fs(),Hs(Ee,null,[le("slot",n,s&&s())],64);let i=e[t];i&&i._c&&(i._d=!1),Fs();const o=i&&Qi(i(n)),l=n.key||o&&o.key,c=Hs(Ee,{key:(l&&!He(l)?l:`_${t}`)+(!o&&s?"_fb":"")},o||(s?s():[]),o&&e._===1?64:-2);return!r&&c.scopeId&&(c.slotScopeIds=[c.scopeId+"-s"]),i&&i._c&&(i._d=!0),c}function Qi(e){return e.some(t=>tn(t)?!(t.type===_e||t.type===Ee&&!Qi(t.children)):!0)?e:null}function Bf(e,t){const n={};for(const s in e)n[/[A-Z]/.test(s)?`on:${s}`:xn(s)]=e[s];return n}const Ps=e=>e?To(e)?es(e):Ps(e.parent):null,Kt=ae(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>Ps(e.parent),$root:e=>Ps(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>tr(e),$forceUpdate:e=>e.f||(e.f=()=>{Qs(e.update)}),$nextTick:e=>e.n||(e.n=Yn.bind(e.proxy)),$watch:e=>Nc.bind(e)}),fs=(e,t)=>e!==ee&&!e.__isScriptSetup&&z(e,t),pc={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:s,data:r,props:i,accessCache:o,type:l,appContext:c}=e;let f;if(t[0]!=="$"){const _=o[t];if(_!==void 0)switch(_){case 1:return s[t];case 2:return r[t];case 4:return n[t];case 3:return i[t]}else{if(fs(s,t))return o[t]=1,s[t];if(r!==ee&&z(r,t))return o[t]=2,r[t];if((f=e.propsOptions[0])&&z(f,t))return o[t]=3,i[t];if(n!==ee&&z(n,t))return o[t]=4,n[t];Ls&&(o[t]=0)}}const a=Kt[t];let h,y;if(a)return t==="$attrs"&&me(e.attrs,"get",""),a(e);if((h=l.__cssModules)&&(h=h[t]))return h;if(n!==ee&&z(n,t))return o[t]=4,n[t];if(y=c.config.globalProperties,z(y,t))return y[t]},set({_:e},t,n){const{data:s,setupState:r,ctx:i}=e;return fs(r,t)?(r[t]=n,!0):s!==ee&&z(s,t)?(s[t]=n,!0):z(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(i[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:s,appContext:r,propsOptions:i}},o){let l;return!!n[o]||e!==ee&&z(e,o)||fs(t,o)||(l=i[0])&&z(l,o)||z(s,o)||z(Kt,o)||z(r.config.globalProperties,o)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:z(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function Wf(){return Zi().slots}function Kf(){return Zi().attrs}function Zi(){const e=Zn();return e.setupContext||(e.setupContext=Ao(e))}function xr(e){return j(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let Ls=!0;function gc(e){const t=tr(e),n=e.proxy,s=e.ctx;Ls=!1,t.beforeCreate&&Tr(t.beforeCreate,e,"bc");const{data:r,computed:i,methods:o,watch:l,provide:c,inject:f,created:a,beforeMount:h,mounted:y,beforeUpdate:_,updated:x,activated:v,deactivated:K,beforeDestroy:N,beforeUnmount:V,destroyed:p,unmounted:g,render:O,renderTracked:F,renderTriggered:D,errorCaptured:k,serverPrefetch:R,expose:b,inheritAttrs:I,components:S,directives:W,filters:se}=t;if(f&&mc(f,s,null),o)for(const Y in o){const $=o[Y];q($)&&(s[Y]=$.bind(n))}if(r){const Y=r.call(n,n);Z(Y)&&(e.data=qn(Y))}if(Ls=!0,i)for(const Y in i){const $=i[Y],he=q($)?$.bind(n,n):q($.get)?$.get.bind(n,n):Ue,un=!q($)&&q($.set)?$.set.bind(n):Ue,ct=oe({get:he,set:un});Object.defineProperty(s,Y,{enumerable:!0,configurable:!0,get:()=>ct.value,set:$e=>ct.value=$e})}if(l)for(const Y in l)eo(l[Y],s,n,Y);if(c){const Y=q(c)?c.call(n):c;Reflect.ownKeys(Y).forEach($=>{Sc($,Y[$])})}a&&Tr(a,e,"c");function U(Y,$){j($)?$.forEach(he=>Y(he.bind(n))):$&&Y($.bind(n))}if(U(lc,h),U(Ft,y),U(cc,_),U(ac,x),U(rc,v),U(ic,K),U(hc,k),U(dc,F),U(uc,D),U(Yi,V),U(Jn,g),U(fc,R),j(b))if(b.length){const Y=e.exposed||(e.exposed={});b.forEach($=>{Object.defineProperty(Y,$,{get:()=>n[$],set:he=>n[$]=he})})}else e.exposed||(e.exposed={});O&&e.render===Ue&&(e.render=O),I!=null&&(e.inheritAttrs=I),S&&(e.components=S),W&&(e.directives=W),R&&er(e)}function mc(e,t,n=Ue){j(e)&&(e=Is(e));for(const s in e){const r=e[s];let i;Z(r)?"default"in r?i=Pt(r.from||s,r.default,!0):i=Pt(r.from||s):i=Pt(r),de(i)?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>i.value,set:o=>i.value=o}):t[s]=i}}function Tr(e,t,n){De(j(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function eo(e,t,n,s){let r=s.includes(".")?mo(n,s):()=>n[s];if(re(e)){const i=t[e];q(i)&&Fe(r,i)}else if(q(e))Fe(r,e.bind(n));else if(Z(e))if(j(e))e.forEach(i=>eo(i,t,n,s));else{const i=q(e.handler)?e.handler.bind(n):t[e.handler];q(i)&&Fe(r,i,e)}}function tr(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:r,optionsCache:i,config:{optionMergeStrategies:o}}=e.appContext,l=i.get(t);let c;return l?c=l:!r.length&&!n&&!s?c=t:(c={},r.length&&r.forEach(f=>Hn(c,f,o,!0)),Hn(c,t,o)),Z(t)&&i.set(t,c),c}function Hn(e,t,n,s=!1){const{mixins:r,extends:i}=t;i&&Hn(e,i,n,!0),r&&r.forEach(o=>Hn(e,o,n,!0));for(const o in t)if(!(s&&o==="expose")){const l=yc[o]||n&&n[o];e[o]=l?l(e[o],t[o]):t[o]}return e}const yc={data:Cr,props:Ar,emits:Ar,methods:kt,computed:kt,beforeCreate:ve,created:ve,beforeMount:ve,mounted:ve,beforeUpdate:ve,updated:ve,beforeDestroy:ve,beforeUnmount:ve,destroyed:ve,unmounted:ve,activated:ve,deactivated:ve,errorCaptured:ve,serverPrefetch:ve,components:kt,directives:kt,watch:vc,provide:Cr,inject:_c};function Cr(e,t){return t?e?function(){return ae(q(e)?e.call(this,this):e,q(t)?t.call(this,this):t)}:t:e}function _c(e,t){return kt(Is(e),Is(t))}function Is(e){if(j(e)){const t={};for(let n=0;n1)return n&&q(t)?t.call(s&&s.proxy):t}}const no={},so=()=>Object.create(no),ro=e=>Object.getPrototypeOf(e)===no;function Ec(e,t,n,s=!1){const r={},i=so();e.propsDefaults=Object.create(null),io(e,t,r,i);for(const o in e.propsOptions[0])o in r||(r[o]=void 0);n?e.props=s?r:Ll(r):e.type.props?e.props=r:e.props=i,e.attrs=i}function xc(e,t,n,s){const{props:r,attrs:i,vnode:{patchFlag:o}}=e,l=J(r),[c]=e.propsOptions;let f=!1;if((s||o>0)&&!(o&16)){if(o&8){const a=e.vnode.dynamicProps;for(let h=0;h{c=!0;const[y,_]=oo(h,t,!0);ae(o,y),_&&l.push(..._)};!n&&t.mixins.length&&t.mixins.forEach(a),e.extends&&a(e.extends),e.mixins&&e.mixins.forEach(a)}if(!i&&!c)return Z(e)&&s.set(e,Ct),Ct;if(j(i))for(let a=0;ae[0]==="_"||e==="$stable",nr=e=>j(e)?e.map(Me):[Me(e)],Cc=(e,t,n)=>{if(t._n)return t;const s=Yl((...r)=>nr(t(...r)),n);return s._c=!1,s},co=(e,t,n)=>{const s=e._ctx;for(const r in e){if(lo(r))continue;const i=e[r];if(q(i))t[r]=Cc(r,i,s);else if(i!=null){const o=nr(i);t[r]=()=>o}}},ao=(e,t)=>{const n=nr(t);e.slots.default=()=>n},fo=(e,t,n)=>{for(const s in t)(n||s!=="_")&&(e[s]=t[s])},Ac=(e,t,n)=>{const s=e.slots=so();if(e.vnode.shapeFlag&32){const r=t._;r?(fo(s,t,n),n&&di(s,"_",r,!0)):co(t,s)}else t&&ao(e,t)},Rc=(e,t,n)=>{const{vnode:s,slots:r}=e;let i=!0,o=ee;if(s.shapeFlag&32){const l=t._;l?n&&l===1?i=!1:fo(r,t,n):(i=!t.$stable,co(t,r)),o=t}else t&&(ao(e,t),o={default:1});if(i)for(const l in r)!lo(l)&&o[l]==null&&delete r[l]},be=bo;function Oc(e){return uo(e)}function Mc(e){return uo(e,tc)}function uo(e,t){const n=kn();n.__VUE__=!0;const{insert:s,remove:r,patchProp:i,createElement:o,createText:l,createComment:c,setText:f,setElementText:a,parentNode:h,nextSibling:y,setScopeId:_=Ue,insertStaticContent:x}=e,v=(u,d,m,T=null,w=null,E=null,P=void 0,M=null,A=!!d.dynamicChildren)=>{if(u===d)return;u&&!ht(u,d)&&(T=dn(u),$e(u,w,E,!0),u=null),d.patchFlag===-2&&(A=!1,d.dynamicChildren=null);const{type:C,ref:B,shapeFlag:L}=d;switch(C){case yt:K(u,d,m,T);break;case _e:N(u,d,m,T);break;case qt:u==null&&V(d,m,T,P);break;case Ee:S(u,d,m,T,w,E,P,M,A);break;default:L&1?O(u,d,m,T,w,E,P,M,A):L&6?W(u,d,m,T,w,E,P,M,A):(L&64||L&128)&&C.process(u,d,m,T,w,E,P,M,A,wt)}B!=null&&w&&Zt(B,u&&u.ref,E,d||u,!d)},K=(u,d,m,T)=>{if(u==null)s(d.el=l(d.children),m,T);else{const w=d.el=u.el;d.children!==u.children&&f(w,d.children)}},N=(u,d,m,T)=>{u==null?s(d.el=c(d.children||""),m,T):d.el=u.el},V=(u,d,m,T)=>{[u.el,u.anchor]=x(u.children,d,m,T,u.el,u.anchor)},p=({el:u,anchor:d},m,T)=>{let w;for(;u&&u!==d;)w=y(u),s(u,m,T),u=w;s(d,m,T)},g=({el:u,anchor:d})=>{let m;for(;u&&u!==d;)m=y(u),r(u),u=m;r(d)},O=(u,d,m,T,w,E,P,M,A)=>{d.type==="svg"?P="svg":d.type==="math"&&(P="mathml"),u==null?F(d,m,T,w,E,P,M,A):R(u,d,w,E,P,M,A)},F=(u,d,m,T,w,E,P,M)=>{let A,C;const{props:B,shapeFlag:L,transition:H,dirs:G}=u;if(A=u.el=o(u.type,E,B&&B.is,B),L&8?a(A,u.children):L&16&&k(u.children,A,null,T,w,us(u,E),P,M),G&&ke(u,null,T,"created"),D(A,u,u.scopeId,P,T),B){for(const te in B)te!=="value"&&!Rt(te)&&i(A,te,null,B[te],E,T);"value"in B&&i(A,"value",null,B.value,E),(C=B.onVnodeBeforeMount)&&Oe(C,T,u)}G&&ke(u,null,T,"beforeMount");const X=ho(w,H);X&&H.beforeEnter(A),s(A,d,m),((C=B&&B.onVnodeMounted)||X||G)&&be(()=>{C&&Oe(C,T,u),X&&H.enter(A),G&&ke(u,null,T,"mounted")},w)},D=(u,d,m,T,w)=>{if(m&&_(u,m),T)for(let E=0;E{for(let C=A;C{const M=d.el=u.el;let{patchFlag:A,dynamicChildren:C,dirs:B}=d;A|=u.patchFlag&16;const L=u.props||ee,H=d.props||ee;let G;if(m&&at(m,!1),(G=H.onVnodeBeforeUpdate)&&Oe(G,m,d,u),B&&ke(d,u,m,"beforeUpdate"),m&&at(m,!0),(L.innerHTML&&H.innerHTML==null||L.textContent&&H.textContent==null)&&a(M,""),C?b(u.dynamicChildren,C,M,m,T,us(d,w),E):P||$(u,d,M,null,m,T,us(d,w),E,!1),A>0){if(A&16)I(M,L,H,m,w);else if(A&2&&L.class!==H.class&&i(M,"class",null,H.class,w),A&4&&i(M,"style",L.style,H.style,w),A&8){const X=d.dynamicProps;for(let te=0;te{G&&Oe(G,m,d,u),B&&ke(d,u,m,"updated")},T)},b=(u,d,m,T,w,E,P)=>{for(let M=0;M{if(d!==m){if(d!==ee)for(const E in d)!Rt(E)&&!(E in m)&&i(u,E,d[E],null,w,T);for(const E in m){if(Rt(E))continue;const P=m[E],M=d[E];P!==M&&E!=="value"&&i(u,E,M,P,w,T)}"value"in m&&i(u,"value",d.value,m.value,w)}},S=(u,d,m,T,w,E,P,M,A)=>{const C=d.el=u?u.el:l(""),B=d.anchor=u?u.anchor:l("");let{patchFlag:L,dynamicChildren:H,slotScopeIds:G}=d;G&&(M=M?M.concat(G):G),u==null?(s(C,m,T),s(B,m,T),k(d.children||[],m,B,w,E,P,M,A)):L>0&&L&64&&H&&u.dynamicChildren?(b(u.dynamicChildren,H,m,w,E,P,M),(d.key!=null||w&&d===w.subTree)&&sr(u,d,!0)):$(u,d,m,B,w,E,P,M,A)},W=(u,d,m,T,w,E,P,M,A)=>{d.slotScopeIds=M,u==null?d.shapeFlag&512?w.ctx.activate(d,m,T,P,A):se(d,m,T,w,E,P,A):ie(u,d,A)},se=(u,d,m,T,w,E,P)=>{const M=u.component=qc(u,T,w);if(an(u)&&(M.ctx.renderer=wt),Gc(M,!1,P),M.asyncDep){if(w&&w.registerDep(M,U,P),!u.el){const A=M.subTree=le(_e);N(null,A,d,m)}}else U(M,u,d,m,w,E,P)},ie=(u,d,m)=>{const T=d.component=u.component;if(jc(u,d,m))if(T.asyncDep&&!T.asyncResolved){Y(T,d,m);return}else T.next=d,T.update();else d.el=u.el,T.vnode=d},U=(u,d,m,T,w,E,P)=>{const M=()=>{if(u.isMounted){let{next:L,bu:H,u:G,parent:X,vnode:te}=u;{const Te=po(u);if(Te){L&&(L.el=te.el,Y(u,L,P)),Te.asyncDep.then(()=>{u.isUnmounted||M()});return}}let Q=L,xe;at(u,!1),L?(L.el=te.el,Y(u,L,P)):L=te,H&&Tn(H),(xe=L.props&&L.props.onVnodeBeforeUpdate)&&Oe(xe,X,L,te),at(u,!0);const pe=ds(u),Ie=u.subTree;u.subTree=pe,v(Ie,pe,h(Ie.el),dn(Ie),u,w,E),L.el=pe.el,Q===null&&_o(u,pe.el),G&&be(G,w),(xe=L.props&&L.props.onVnodeUpdated)&&be(()=>Oe(xe,X,L,te),w)}else{let L;const{el:H,props:G}=d,{bm:X,m:te,parent:Q,root:xe,type:pe}=u,Ie=mt(d);if(at(u,!1),X&&Tn(X),!Ie&&(L=G&&G.onVnodeBeforeMount)&&Oe(L,Q,d),at(u,!0),H&&ss){const Te=()=>{u.subTree=ds(u),ss(H,u.subTree,u,w,null)};Ie&&pe.__asyncHydrate?pe.__asyncHydrate(H,u,Te):Te()}else{xe.ce&&xe.ce._injectChildStyle(pe);const Te=u.subTree=ds(u);v(null,Te,m,T,u,w,E),d.el=Te.el}if(te&&be(te,w),!Ie&&(L=G&&G.onVnodeMounted)){const Te=d;be(()=>Oe(L,Q,Te),w)}(d.shapeFlag&256||Q&&mt(Q.vnode)&&Q.vnode.shapeFlag&256)&&u.a&&be(u.a,w),u.isMounted=!0,d=m=T=null}};u.scope.on();const A=u.effect=new yi(M);u.scope.off();const C=u.update=A.run.bind(A),B=u.job=A.runIfDirty.bind(A);B.i=u,B.id=u.uid,A.scheduler=()=>Qs(B),at(u,!0),C()},Y=(u,d,m)=>{d.component=u;const T=u.vnode.props;u.vnode=d,u.next=null,xc(u,d.props,T,m),Rc(u,d.children,m),ot(),mr(u),lt()},$=(u,d,m,T,w,E,P,M,A=!1)=>{const C=u&&u.children,B=u?u.shapeFlag:0,L=d.children,{patchFlag:H,shapeFlag:G}=d;if(H>0){if(H&128){un(C,L,m,T,w,E,P,M,A);return}else if(H&256){he(C,L,m,T,w,E,P,M,A);return}}G&8?(B&16&&Ht(C,w,E),L!==C&&a(m,L)):B&16?G&16?un(C,L,m,T,w,E,P,M,A):Ht(C,w,E,!0):(B&8&&a(m,""),G&16&&k(L,m,T,w,E,P,M,A))},he=(u,d,m,T,w,E,P,M,A)=>{u=u||Ct,d=d||Ct;const C=u.length,B=d.length,L=Math.min(C,B);let H;for(H=0;HB?Ht(u,w,E,!0,!1,L):k(d,m,T,w,E,P,M,A,L)},un=(u,d,m,T,w,E,P,M,A)=>{let C=0;const B=d.length;let L=u.length-1,H=B-1;for(;C<=L&&C<=H;){const G=u[C],X=d[C]=A?et(d[C]):Me(d[C]);if(ht(G,X))v(G,X,m,null,w,E,P,M,A);else break;C++}for(;C<=L&&C<=H;){const G=u[L],X=d[H]=A?et(d[H]):Me(d[H]);if(ht(G,X))v(G,X,m,null,w,E,P,M,A);else break;L--,H--}if(C>L){if(C<=H){const G=H+1,X=GH)for(;C<=L;)$e(u[C],w,E,!0),C++;else{const G=C,X=C,te=new Map;for(C=X;C<=H;C++){const Ce=d[C]=A?et(d[C]):Me(d[C]);Ce.key!=null&&te.set(Ce.key,C)}let Q,xe=0;const pe=H-X+1;let Ie=!1,Te=0;const Dt=new Array(pe);for(C=0;C=pe){$e(Ce,w,E,!0);continue}let je;if(Ce.key!=null)je=te.get(Ce.key);else for(Q=X;Q<=H;Q++)if(Dt[Q-X]===0&&ht(Ce,d[Q])){je=Q;break}je===void 0?$e(Ce,w,E,!0):(Dt[je-X]=C+1,je>=Te?Te=je:Ie=!0,v(Ce,d[je],m,null,w,E,P,M,A),xe++)}const fr=Ie?Pc(Dt):Ct;for(Q=fr.length-1,C=pe-1;C>=0;C--){const Ce=X+C,je=d[Ce],ur=Ce+1{const{el:E,type:P,transition:M,children:A,shapeFlag:C}=u;if(C&6){ct(u.component.subTree,d,m,T);return}if(C&128){u.suspense.move(d,m,T);return}if(C&64){P.move(u,d,m,wt);return}if(P===Ee){s(E,d,m);for(let L=0;LM.enter(E),w);else{const{leave:L,delayLeave:H,afterLeave:G}=M,X=()=>s(E,d,m),te=()=>{L(E,()=>{X(),G&&G()})};H?H(E,X,te):te()}else s(E,d,m)},$e=(u,d,m,T=!1,w=!1)=>{const{type:E,props:P,ref:M,children:A,dynamicChildren:C,shapeFlag:B,patchFlag:L,dirs:H,cacheIndex:G}=u;if(L===-2&&(w=!1),M!=null&&Zt(M,null,m,u,!0),G!=null&&(d.renderCache[G]=void 0),B&256){d.ctx.deactivate(u);return}const X=B&1&&H,te=!mt(u);let Q;if(te&&(Q=P&&P.onVnodeBeforeUnmount)&&Oe(Q,d,u),B&6)Jo(u.component,m,T);else{if(B&128){u.suspense.unmount(m,T);return}X&&ke(u,null,d,"beforeUnmount"),B&64?u.type.remove(u,d,m,wt,T):C&&!C.hasOnce&&(E!==Ee||L>0&&L&64)?Ht(C,d,m,!1,!0):(E===Ee&&L&384||!w&&B&16)&&Ht(A,d,m),T&&cr(u)}(te&&(Q=P&&P.onVnodeUnmounted)||X)&&be(()=>{Q&&Oe(Q,d,u),X&&ke(u,null,d,"unmounted")},m)},cr=u=>{const{type:d,el:m,anchor:T,transition:w}=u;if(d===Ee){Xo(m,T);return}if(d===qt){g(u);return}const E=()=>{r(m),w&&!w.persisted&&w.afterLeave&&w.afterLeave()};if(u.shapeFlag&1&&w&&!w.persisted){const{leave:P,delayLeave:M}=w,A=()=>P(m,E);M?M(u.el,E,A):A()}else E()},Xo=(u,d)=>{let m;for(;u!==d;)m=y(u),r(u),u=m;r(d)},Jo=(u,d,m)=>{const{bum:T,scope:w,job:E,subTree:P,um:M,m:A,a:C}=u;Or(A),Or(C),T&&Tn(T),w.stop(),E&&(E.flags|=8,$e(P,u,d,m)),M&&be(M,d),be(()=>{u.isUnmounted=!0},d),d&&d.pendingBranch&&!d.isUnmounted&&u.asyncDep&&!u.asyncResolved&&u.suspenseId===d.pendingId&&(d.deps--,d.deps===0&&d.resolve())},Ht=(u,d,m,T=!1,w=!1,E=0)=>{for(let P=E;P{if(u.shapeFlag&6)return dn(u.component.subTree);if(u.shapeFlag&128)return u.suspense.next();const d=y(u.anchor||u.el),m=d&&d[$i];return m?y(m):d};let ts=!1;const ar=(u,d,m)=>{u==null?d._vnode&&$e(d._vnode,null,null,!0):v(d._vnode||null,u,d,null,null,null,m),d._vnode=u,ts||(ts=!0,mr(),Nn(),ts=!1)},wt={p:v,um:$e,m:ct,r:cr,mt:se,mc:k,pc:$,pbc:b,n:dn,o:e};let ns,ss;return t&&([ns,ss]=t(wt)),{render:ar,hydrate:ns,createApp:wc(ar,ns)}}function us({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function at({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function ho(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function sr(e,t,n=!1){const s=e.children,r=t.children;if(j(s)&&j(r))for(let i=0;i>1,e[n[l]]0&&(t[s]=n[i-1]),n[i]=s)}}for(i=n.length,o=n[i-1];i-- >0;)n[i]=o,o=t[o];return n}function po(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:po(t)}function Or(e){if(e)for(let t=0;tPt(Lc);function go(e,t){return zn(e,null,t)}function qf(e,t){return zn(e,null,{flush:"post"})}function Fe(e,t,n){return zn(e,t,n)}function zn(e,t,n=ee){const{immediate:s,deep:r,flush:i,once:o}=n,l=ae({},n),c=t&&s||!t&&i!=="post";let f;if(Lt){if(i==="sync"){const _=Ic();f=_.__watcherHandles||(_.__watcherHandles=[])}else if(!c){const _=()=>{};return _.stop=Ue,_.resume=Ue,_.pause=Ue,_}}const a=fe;l.call=(_,x,v)=>De(_,a,x,v);let h=!1;i==="post"?l.scheduler=_=>{be(_,a&&a.suspense)}:i!=="sync"&&(h=!0,l.scheduler=(_,x)=>{x?_():Qs(_)}),l.augmentJob=_=>{t&&(_.flags|=4),h&&(_.flags|=2,a&&(_.id=a.uid,_.i=a))};const y=Wl(e,t,l);return Lt&&(f?f.push(y):c&&y()),y}function Nc(e,t,n){const s=this.proxy,r=re(e)?e.includes(".")?mo(s,e):()=>s[e]:e.bind(s,s);let i;q(t)?i=t:(i=t.handler,n=t);const o=fn(this),l=zn(r,i.bind(s),n);return o(),l}function mo(e,t){const n=t.split(".");return()=>{let s=e;for(let r=0;rt==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${Le(t)}Modifiers`]||e[`${it(t)}Modifiers`];function Hc(e,t,...n){if(e.isUnmounted)return;const s=e.vnode.props||ee;let r=n;const i=t.startsWith("update:"),o=i&&Fc(s,t.slice(7));o&&(o.trim&&(r=n.map(a=>re(a)?a.trim():a)),o.number&&(r=n.map(xs)));let l,c=s[l=xn(t)]||s[l=xn(Le(t))];!c&&i&&(c=s[l=xn(it(t))]),c&&De(c,e,6,r);const f=s[l+"Once"];if(f){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,De(f,e,6,r)}}function yo(e,t,n=!1){const s=t.emitsCache,r=s.get(e);if(r!==void 0)return r;const i=e.emits;let o={},l=!1;if(!q(e)){const c=f=>{const a=yo(f,t,!0);a&&(l=!0,ae(o,a))};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}return!i&&!l?(Z(e)&&s.set(e,null),null):(j(i)?i.forEach(c=>o[c]=null):ae(o,i),Z(e)&&s.set(e,o),o)}function Qn(e,t){return!e||!sn(t)?!1:(t=t.slice(2).replace(/Once$/,""),z(e,t[0].toLowerCase()+t.slice(1))||z(e,it(t))||z(e,t))}function ds(e){const{type:t,vnode:n,proxy:s,withProxy:r,propsOptions:[i],slots:o,attrs:l,emit:c,render:f,renderCache:a,props:h,data:y,setupState:_,ctx:x,inheritAttrs:v}=e,K=Fn(e);let N,V;try{if(n.shapeFlag&4){const g=r||s,O=g;N=Me(f.call(O,g,a,h,_,y,x)),V=l}else{const g=t;N=Me(g.length>1?g(h,{attrs:l,slots:o,emit:c}):g(h,null)),V=t.props?l:Dc(l)}}catch(g){Gt.length=0,cn(g,e,1),N=le(_e)}let p=N;if(V&&v!==!1){const g=Object.keys(V),{shapeFlag:O}=p;g.length&&O&7&&(i&&g.some(ks)&&(V=$c(V,i)),p=rt(p,V,!1,!0))}return n.dirs&&(p=rt(p,null,!1,!0),p.dirs=p.dirs?p.dirs.concat(n.dirs):n.dirs),n.transition&&Qt(p,n.transition),N=p,Fn(K),N}const Dc=e=>{let t;for(const n in e)(n==="class"||n==="style"||sn(n))&&((t||(t={}))[n]=e[n]);return t},$c=(e,t)=>{const n={};for(const s in e)(!ks(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function jc(e,t,n){const{props:s,children:r,component:i}=e,{props:o,children:l,patchFlag:c}=t,f=i.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&c>=0){if(c&1024)return!0;if(c&16)return s?Mr(s,o,f):!!o;if(c&8){const a=t.dynamicProps;for(let h=0;he.__isSuspense;function bo(e,t){t&&t.pendingBranch?j(e)?t.effects.push(...e):t.effects.push(e):Gl(e)}const Ee=Symbol.for("v-fgt"),yt=Symbol.for("v-txt"),_e=Symbol.for("v-cmt"),qt=Symbol.for("v-stc"),Gt=[];let Ae=null;function Fs(e=!1){Gt.push(Ae=e?null:[])}function Vc(){Gt.pop(),Ae=Gt[Gt.length-1]||null}let en=1;function Pr(e,t=!1){en+=e,e<0&&Ae&&t&&(Ae.hasOnce=!0)}function wo(e){return e.dynamicChildren=en>0?Ae||Ct:null,Vc(),en>0&&Ae&&Ae.push(e),e}function Gf(e,t,n,s,r,i){return wo(Eo(e,t,n,s,r,i,!0))}function Hs(e,t,n,s,r){return wo(le(e,t,n,s,r,!0))}function tn(e){return e?e.__v_isVNode===!0:!1}function ht(e,t){return e.type===t.type&&e.key===t.key}const So=({key:e})=>e??null,Rn=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?re(e)||de(e)||q(e)?{i:ue,r:e,k:t,f:!!n}:e:null);function Eo(e,t=null,n=null,s=0,r=null,i=e===Ee?0:1,o=!1,l=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&So(t),ref:t&&Rn(t),scopeId:Di,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:s,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:ue};return l?(rr(c,n),i&128&&e.normalize(c)):n&&(c.shapeFlag|=re(n)?8:16),en>0&&!o&&Ae&&(c.patchFlag>0||i&6)&&c.patchFlag!==32&&Ae.push(c),c}const le=kc;function kc(e,t=null,n=null,s=0,r=null,i=!1){if((!e||e===Ji)&&(e=_e),tn(e)){const l=rt(e,t,!0);return n&&rr(l,n),en>0&&!i&&Ae&&(l.shapeFlag&6?Ae[Ae.indexOf(e)]=l:Ae.push(l)),l.patchFlag=-2,l}if(zc(e)&&(e=e.__vccOpts),t){t=Uc(t);let{class:l,style:c}=t;l&&!re(l)&&(t.class=Bn(l)),Z(c)&&(Js(c)&&!j(c)&&(c=ae({},c)),t.style=Un(c))}const o=re(e)?1:vo(e)?128:ji(e)?64:Z(e)?4:q(e)?2:0;return Eo(e,t,n,s,r,o,i,!0)}function Uc(e){return e?Js(e)||ro(e)?ae({},e):e:null}function rt(e,t,n=!1,s=!1){const{props:r,ref:i,patchFlag:o,children:l,transition:c}=e,f=t?Bc(r||{},t):r,a={__v_isVNode:!0,__v_skip:!0,type:e.type,props:f,key:f&&So(f),ref:t&&t.ref?n&&i?j(i)?i.concat(Rn(t)):[i,Rn(t)]:Rn(t):i,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:l,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Ee?o===-1?16:o|16:o,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:c,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&rt(e.ssContent),ssFallback:e.ssFallback&&rt(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return c&&s&&Qt(a,c.clone(a)),a}function xo(e=" ",t=0){return le(yt,null,e,t)}function Yf(e,t){const n=le(qt,null,e);return n.staticCount=t,n}function Xf(e="",t=!1){return t?(Fs(),Hs(_e,null,e)):le(_e,null,e)}function Me(e){return e==null||typeof e=="boolean"?le(_e):j(e)?le(Ee,null,e.slice()):tn(e)?et(e):le(yt,null,String(e))}function et(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:rt(e)}function rr(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(j(t))n=16;else if(typeof t=="object")if(s&65){const r=t.default;r&&(r._c&&(r._d=!1),rr(e,r()),r._c&&(r._d=!0));return}else{n=32;const r=t._;!r&&!ro(t)?t._ctx=ue:r===3&&ue&&(ue.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else q(t)?(t={default:t,_ctx:ue},n=32):(t=String(t),s&64?(n=16,t=[xo(t)]):n=8);e.children=t,e.shapeFlag|=n}function Bc(...e){const t={};for(let n=0;nfe||ue;let Dn,Ds;{const e=kn(),t=(n,s)=>{let r;return(r=e[n])||(r=e[n]=[]),r.push(s),i=>{r.length>1?r.forEach(o=>o(i)):r[0](i)}};Dn=t("__VUE_INSTANCE_SETTERS__",n=>fe=n),Ds=t("__VUE_SSR_SETTERS__",n=>Lt=n)}const fn=e=>{const t=fe;return Dn(e),e.scope.on(),()=>{e.scope.off(),Dn(t)}},Lr=()=>{fe&&fe.scope.off(),Dn(null)};function To(e){return e.vnode.shapeFlag&4}let Lt=!1;function Gc(e,t=!1,n=!1){t&&Ds(t);const{props:s,children:r}=e.vnode,i=To(e);Ec(e,s,i,t),Ac(e,r,n);const o=i?Yc(e,t):void 0;return t&&Ds(!1),o}function Yc(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,pc);const{setup:s}=n;if(s){ot();const r=e.setupContext=s.length>1?Ao(e):null,i=fn(e),o=ln(s,e,0,[e.props,r]),l=ai(o);if(lt(),i(),(l||e.sp)&&!mt(e)&&er(e),l){if(o.then(Lr,Lr),t)return o.then(c=>{Ir(e,c,t)}).catch(c=>{cn(c,e,0)});e.asyncDep=o}else Ir(e,o,t)}else Co(e,t)}function Ir(e,t,n){q(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Z(t)&&(e.setupState=Ii(t)),Co(e,n)}let Nr;function Co(e,t,n){const s=e.type;if(!e.render){if(!t&&Nr&&!s.render){const r=s.template||tr(e).template;if(r){const{isCustomElement:i,compilerOptions:o}=e.appContext.config,{delimiters:l,compilerOptions:c}=s,f=ae(ae({isCustomElement:i,delimiters:l},o),c);s.render=Nr(r,f)}}e.render=s.render||Ue}{const r=fn(e);ot();try{gc(e)}finally{lt(),r()}}}const Xc={get(e,t){return me(e,"get",""),e[t]}};function Ao(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,Xc),slots:e.slots,emit:e.emit,expose:t}}function es(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Ii(Cn(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Kt)return Kt[n](e)},has(t,n){return n in t||n in Kt}})):e.proxy}function Jc(e,t=!0){return q(e)?e.displayName||e.name:e.name||t&&e.__name}function zc(e){return q(e)&&"__vccOpts"in e}const oe=(e,t)=>Ul(e,t,Lt);function $s(e,t,n){const s=arguments.length;return s===2?Z(t)&&!j(t)?tn(t)?le(e,null,[t]):le(e,t):le(e,null,t):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&tn(n)&&(n=[n]),le(e,t,n))}const Qc="3.5.13",Jf=null;/** -* @vue/runtime-dom v3.5.13 -* (c) 2018-present Yuxi (Evan) You and Vue contributors -* @license MIT -**/let js;const Fr=typeof window<"u"&&window.trustedTypes;if(Fr)try{js=Fr.createPolicy("vue",{createHTML:e=>e})}catch{}const Ro=js?e=>js.createHTML(e):e=>e,Zc="http://www.w3.org/2000/svg",ea="http://www.w3.org/1998/Math/MathML",Ke=typeof document<"u"?document:null,Hr=Ke&&Ke.createElement("template"),ta={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,s)=>{const r=t==="svg"?Ke.createElementNS(Zc,e):t==="mathml"?Ke.createElementNS(ea,e):n?Ke.createElement(e,{is:n}):Ke.createElement(e);return e==="select"&&s&&s.multiple!=null&&r.setAttribute("multiple",s.multiple),r},createText:e=>Ke.createTextNode(e),createComment:e=>Ke.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Ke.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,s,r,i){const o=n?n.previousSibling:t.lastChild;if(r&&(r===i||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),!(r===i||!(r=r.nextSibling)););else{Hr.innerHTML=Ro(s==="svg"?`${e}`:s==="mathml"?`${e}`:e);const l=Hr.content;if(s==="svg"||s==="mathml"){const c=l.firstChild;for(;c.firstChild;)l.appendChild(c.firstChild);l.removeChild(c)}t.insertBefore(l,n)}return[o?o.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},ze="transition",jt="animation",nn=Symbol("_vtc"),Oo={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},na=ae({},Ui,Oo),sa=e=>(e.displayName="Transition",e.props=na,e),zf=sa((e,{slots:t})=>$s(Ql,ra(e),t)),ft=(e,t=[])=>{j(e)?e.forEach(n=>n(...t)):e&&e(...t)},Dr=e=>e?j(e)?e.some(t=>t.length>1):e.length>1:!1;function ra(e){const t={};for(const S in e)S in Oo||(t[S]=e[S]);if(e.css===!1)return t;const{name:n="v",type:s,duration:r,enterFromClass:i=`${n}-enter-from`,enterActiveClass:o=`${n}-enter-active`,enterToClass:l=`${n}-enter-to`,appearFromClass:c=i,appearActiveClass:f=o,appearToClass:a=l,leaveFromClass:h=`${n}-leave-from`,leaveActiveClass:y=`${n}-leave-active`,leaveToClass:_=`${n}-leave-to`}=e,x=ia(r),v=x&&x[0],K=x&&x[1],{onBeforeEnter:N,onEnter:V,onEnterCancelled:p,onLeave:g,onLeaveCancelled:O,onBeforeAppear:F=N,onAppear:D=V,onAppearCancelled:k=p}=t,R=(S,W,se,ie)=>{S._enterCancelled=ie,ut(S,W?a:l),ut(S,W?f:o),se&&se()},b=(S,W)=>{S._isLeaving=!1,ut(S,h),ut(S,_),ut(S,y),W&&W()},I=S=>(W,se)=>{const ie=S?D:V,U=()=>R(W,S,se);ft(ie,[W,U]),$r(()=>{ut(W,S?c:i),We(W,S?a:l),Dr(ie)||jr(W,s,v,U)})};return ae(t,{onBeforeEnter(S){ft(N,[S]),We(S,i),We(S,o)},onBeforeAppear(S){ft(F,[S]),We(S,c),We(S,f)},onEnter:I(!1),onAppear:I(!0),onLeave(S,W){S._isLeaving=!0;const se=()=>b(S,W);We(S,h),S._enterCancelled?(We(S,y),Ur()):(Ur(),We(S,y)),$r(()=>{S._isLeaving&&(ut(S,h),We(S,_),Dr(g)||jr(S,s,K,se))}),ft(g,[S,se])},onEnterCancelled(S){R(S,!1,void 0,!0),ft(p,[S])},onAppearCancelled(S){R(S,!0,void 0,!0),ft(k,[S])},onLeaveCancelled(S){b(S),ft(O,[S])}})}function ia(e){if(e==null)return null;if(Z(e))return[hs(e.enter),hs(e.leave)];{const t=hs(e);return[t,t]}}function hs(e){return nl(e)}function We(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[nn]||(e[nn]=new Set)).add(t)}function ut(e,t){t.split(/\s+/).forEach(s=>s&&e.classList.remove(s));const n=e[nn];n&&(n.delete(t),n.size||(e[nn]=void 0))}function $r(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let oa=0;function jr(e,t,n,s){const r=e._endId=++oa,i=()=>{r===e._endId&&s()};if(n!=null)return setTimeout(i,n);const{type:o,timeout:l,propCount:c}=la(e,t);if(!o)return s();const f=o+"end";let a=0;const h=()=>{e.removeEventListener(f,y),i()},y=_=>{_.target===e&&++a>=c&&h()};setTimeout(()=>{a(n[x]||"").split(", "),r=s(`${ze}Delay`),i=s(`${ze}Duration`),o=Vr(r,i),l=s(`${jt}Delay`),c=s(`${jt}Duration`),f=Vr(l,c);let a=null,h=0,y=0;t===ze?o>0&&(a=ze,h=o,y=i.length):t===jt?f>0&&(a=jt,h=f,y=c.length):(h=Math.max(o,f),a=h>0?o>f?ze:jt:null,y=a?a===ze?i.length:c.length:0);const _=a===ze&&/\b(transform|all)(,|$)/.test(s(`${ze}Property`).toString());return{type:a,timeout:h,propCount:y,hasTransform:_}}function Vr(e,t){for(;e.lengthkr(n)+kr(e[s])))}function kr(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function Ur(){return document.body.offsetHeight}function ca(e,t,n){const s=e[nn];s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const $n=Symbol("_vod"),Mo=Symbol("_vsh"),aa={beforeMount(e,{value:t},{transition:n}){e[$n]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):Vt(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:s}){!t!=!n&&(s?t?(s.beforeEnter(e),Vt(e,!0),s.enter(e)):s.leave(e,()=>{Vt(e,!1)}):Vt(e,t))},beforeUnmount(e,{value:t}){Vt(e,t)}};function Vt(e,t){e.style.display=t?e[$n]:"none",e[Mo]=!t}function fa(){aa.getSSRProps=({value:e})=>{if(!e)return{style:{display:"none"}}}}const ua=Symbol(""),da=/(^|;)\s*display\s*:/;function ha(e,t,n){const s=e.style,r=re(n);let i=!1;if(n&&!r){if(t)if(re(t))for(const o of t.split(";")){const l=o.slice(0,o.indexOf(":")).trim();n[l]==null&&On(s,l,"")}else for(const o in t)n[o]==null&&On(s,o,"");for(const o in n)o==="display"&&(i=!0),On(s,o,n[o])}else if(r){if(t!==n){const o=s[ua];o&&(n+=";"+o),s.cssText=n,i=da.test(n)}}else t&&e.removeAttribute("style");$n in e&&(e[$n]=i?s.display:"",e[Mo]&&(s.display="none"))}const Br=/\s*!important$/;function On(e,t,n){if(j(n))n.forEach(s=>On(e,t,s));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const s=pa(e,t);Br.test(n)?e.setProperty(it(s),n.replace(Br,""),"important"):e[s]=n}}const Wr=["Webkit","Moz","ms"],ps={};function pa(e,t){const n=ps[t];if(n)return n;let s=Le(t);if(s!=="filter"&&s in e)return ps[t]=s;s=Vn(s);for(let r=0;rgs||(_a.then(()=>gs=0),gs=Date.now());function ba(e,t){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;De(wa(s,n.value),t,5,[s])};return n.value=e,n.attached=va(),n}function wa(e,t){if(j(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(s=>r=>!r._stopped&&s&&s(r))}else return t}const Jr=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Sa=(e,t,n,s,r,i)=>{const o=r==="svg";t==="class"?ca(e,s,o):t==="style"?ha(e,n,s):sn(t)?ks(t)||ma(e,t,n,s,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Ea(e,t,s,o))?(Gr(e,t,s),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&qr(e,t,s,o,i,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!re(s))?Gr(e,Le(t),s,i,t):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),qr(e,t,s,o))};function Ea(e,t,n,s){if(s)return!!(t==="innerHTML"||t==="textContent"||t in e&&Jr(t)&&q(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const r=e.tagName;if(r==="IMG"||r==="VIDEO"||r==="CANVAS"||r==="SOURCE")return!1}return Jr(t)&&re(n)?!1:t in e}const It=e=>{const t=e.props["onUpdate:modelValue"]||!1;return j(t)?n=>Tn(t,n):t};function xa(e){e.target.composing=!0}function zr(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Ye=Symbol("_assign"),Ta={created(e,{modifiers:{lazy:t,trim:n,number:s}},r){e[Ye]=It(r);const i=s||r.props&&r.props.type==="number";tt(e,t?"change":"input",o=>{if(o.target.composing)return;let l=e.value;n&&(l=l.trim()),i&&(l=xs(l)),e[Ye](l)}),n&&tt(e,"change",()=>{e.value=e.value.trim()}),t||(tt(e,"compositionstart",xa),tt(e,"compositionend",zr),tt(e,"change",zr))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:s,trim:r,number:i}},o){if(e[Ye]=It(o),e.composing)return;const l=(i||e.type==="number")&&!/^0\d/.test(e.value)?xs(e.value):e.value,c=t??"";l!==c&&(document.activeElement===e&&e.type!=="range"&&(s&&t===n||r&&e.value.trim()===c)||(e.value=c))}},Ca={deep:!0,created(e,t,n){e[Ye]=It(n),tt(e,"change",()=>{const s=e._modelValue,r=Po(e),i=e.checked,o=e[Ye];if(j(s)){const l=Ws(s,r),c=l!==-1;if(i&&!c)o(s.concat(r));else if(!i&&c){const f=[...s];f.splice(l,1),o(f)}}else if(rn(s)){const l=new Set(s);i?l.add(r):l.delete(r),o(l)}else o(Lo(e,i))})},mounted:Qr,beforeUpdate(e,t,n){e[Ye]=It(n),Qr(e,t,n)}};function Qr(e,{value:t,oldValue:n},s){e._modelValue=t;let r;if(j(t))r=Ws(t,s.props.value)>-1;else if(rn(t))r=t.has(s.props.value);else{if(t===n)return;r=vt(t,Lo(e,!0))}e.checked!==r&&(e.checked=r)}const Aa={created(e,{value:t},n){e.checked=vt(t,n.props.value),e[Ye]=It(n),tt(e,"change",()=>{e[Ye](Po(e))})},beforeUpdate(e,{value:t,oldValue:n},s){e[Ye]=It(s),t!==n&&(e.checked=vt(t,s.props.value))}};function Po(e){return"_value"in e?e._value:e.value}function Lo(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}function Ra(){Ta.getSSRProps=({value:e})=>({value:e}),Aa.getSSRProps=({value:e},t)=>{if(t.props&&vt(t.props.value,e))return{checked:!0}},Ca.getSSRProps=({value:e},t)=>{if(j(e)){if(t.props&&Ws(e,t.props.value)>-1)return{checked:!0}}else if(rn(e)){if(t.props&&e.has(t.props.value))return{checked:!0}}else if(e)return{checked:!0}}}const Oa=["ctrl","shift","alt","meta"],Ma={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>Oa.some(n=>e[`${n}Key`]&&!t.includes(n))},Qf=(e,t)=>{const n=e._withMods||(e._withMods={}),s=t.join(".");return n[s]||(n[s]=(r,...i)=>{for(let o=0;o{const n=e._withKeys||(e._withKeys={}),s=t.join(".");return n[s]||(n[s]=r=>{if(!("key"in r))return;const i=it(r.key);if(t.some(o=>o===i||Pa[o]===i))return e(r)})},Io=ae({patchProp:Sa},ta);let Yt,Zr=!1;function La(){return Yt||(Yt=Oc(Io))}function Ia(){return Yt=Zr?Yt:Mc(Io),Zr=!0,Yt}const eu=(...e)=>{La().render(...e)},tu=(...e)=>{const t=Ia().createApp(...e),{mount:n}=t;return t.mount=s=>{const r=Fa(s);if(r)return n(r,!0,Na(r))},t};function Na(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function Fa(e){return re(e)?document.querySelector(e):e}let ei=!1;const nu=()=>{ei||(ei=!0,Ra(),fa())},su=(e,t)=>{const n=e.__vccOpts||e;for(const[s,r]of t)n[s]=r;return n},Ha=window.__VP_SITE_DATA__;function ir(e){return mi()?(dl(e),!0):!1}function st(e){return typeof e=="function"?e():zs(e)}const No=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const Da=Object.prototype.toString,$a=e=>Da.call(e)==="[object Object]",Fo=()=>{},ti=ja();function ja(){var e,t;return No&&((e=window==null?void 0:window.navigator)==null?void 0:e.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||((t=window==null?void 0:window.navigator)==null?void 0:t.maxTouchPoints)>2&&/iPad|Macintosh/.test(window==null?void 0:window.navigator.userAgent))}function Va(e,t){function n(...s){return new Promise((r,i)=>{Promise.resolve(e(()=>t.apply(this,s),{fn:t,thisArg:this,args:s})).then(r).catch(i)})}return n}const Ho=e=>e();function ka(e=Ho){const t=ce(!0);function n(){t.value=!1}function s(){t.value=!0}const r=(...i)=>{t.value&&e(...i)};return{isActive:Gn(t),pause:n,resume:s,eventFilter:r}}function Ua(e){return Zn()}function Do(...e){if(e.length!==1)return jl(...e);const t=e[0];return typeof t=="function"?Gn(Hl(()=>({get:t,set:Fo}))):ce(t)}function Ba(e,t,n={}){const{eventFilter:s=Ho,...r}=n;return Fe(e,Va(s,t),r)}function Wa(e,t,n={}){const{eventFilter:s,...r}=n,{eventFilter:i,pause:o,resume:l,isActive:c}=ka(s);return{stop:Ba(e,t,{...r,eventFilter:i}),pause:o,resume:l,isActive:c}}function or(e,t=!0,n){Ua()?Ft(e,n):t?e():Yn(e)}const Xe=No?window:void 0;function $o(e){var t;const n=st(e);return(t=n==null?void 0:n.$el)!=null?t:n}function Nt(...e){let t,n,s,r;if(typeof e[0]=="string"||Array.isArray(e[0])?([n,s,r]=e,t=Xe):[t,n,s,r]=e,!t)return Fo;Array.isArray(n)||(n=[n]),Array.isArray(s)||(s=[s]);const i=[],o=()=>{i.forEach(a=>a()),i.length=0},l=(a,h,y,_)=>(a.addEventListener(h,y,_),()=>a.removeEventListener(h,y,_)),c=Fe(()=>[$o(t),st(r)],([a,h])=>{if(o(),!a)return;const y=$a(h)?{...h}:h;i.push(...n.flatMap(_=>s.map(x=>l(a,_,x,y))))},{immediate:!0,flush:"post"}),f=()=>{c(),o()};return ir(f),f}function Ka(e){return typeof e=="function"?e:typeof e=="string"?t=>t.key===e:Array.isArray(e)?t=>e.includes(t.key):()=>!0}function ru(...e){let t,n,s={};e.length===3?(t=e[0],n=e[1],s=e[2]):e.length===2?typeof e[1]=="object"?(t=!0,n=e[0],s=e[1]):(t=e[0],n=e[1]):(t=!0,n=e[0]);const{target:r=Xe,eventName:i="keydown",passive:o=!1,dedupe:l=!1}=s,c=Ka(t);return Nt(r,i,a=>{a.repeat&&st(l)||c(a)&&n(a)},o)}function qa(){const e=ce(!1),t=Zn();return t&&Ft(()=>{e.value=!0},t),e}function Ga(e){const t=qa();return oe(()=>(t.value,!!e()))}function jo(e,t={}){const{window:n=Xe}=t,s=Ga(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function");let r;const i=ce(!1),o=f=>{i.value=f.matches},l=()=>{r&&("removeEventListener"in r?r.removeEventListener("change",o):r.removeListener(o))},c=go(()=>{s.value&&(l(),r=n.matchMedia(st(e)),"addEventListener"in r?r.addEventListener("change",o):r.addListener(o),i.value=r.matches)});return ir(()=>{c(),l(),r=void 0}),i}const bn=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},wn="__vueuse_ssr_handlers__",Ya=Xa();function Xa(){return wn in bn||(bn[wn]=bn[wn]||{}),bn[wn]}function Vo(e,t){return Ya[e]||t}function lr(e){return jo("(prefers-color-scheme: dark)",e)}function Ja(e){return e==null?"any":e instanceof Set?"set":e instanceof Map?"map":e instanceof Date?"date":typeof e=="boolean"?"boolean":typeof e=="string"?"string":typeof e=="object"?"object":Number.isNaN(e)?"any":"number"}const za={boolean:{read:e=>e==="true",write:e=>String(e)},object:{read:e=>JSON.parse(e),write:e=>JSON.stringify(e)},number:{read:e=>Number.parseFloat(e),write:e=>String(e)},any:{read:e=>e,write:e=>String(e)},string:{read:e=>e,write:e=>String(e)},map:{read:e=>new Map(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e.entries()))},set:{read:e=>new Set(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e))},date:{read:e=>new Date(e),write:e=>e.toISOString()}},ni="vueuse-storage";function Qa(e,t,n,s={}){var r;const{flush:i="pre",deep:o=!0,listenToStorageChanges:l=!0,writeDefaults:c=!0,mergeDefaults:f=!1,shallow:a,window:h=Xe,eventFilter:y,onError:_=b=>{console.error(b)},initOnMounted:x}=s,v=(a?Pi:ce)(typeof t=="function"?t():t);if(!n)try{n=Vo("getDefaultStorage",()=>{var b;return(b=Xe)==null?void 0:b.localStorage})()}catch(b){_(b)}if(!n)return v;const K=st(t),N=Ja(K),V=(r=s.serializer)!=null?r:za[N],{pause:p,resume:g}=Wa(v,()=>F(v.value),{flush:i,deep:o,eventFilter:y});h&&l&&or(()=>{n instanceof Storage?Nt(h,"storage",k):Nt(h,ni,R),x&&k()}),x||k();function O(b,I){if(h){const S={key:e,oldValue:b,newValue:I,storageArea:n};h.dispatchEvent(n instanceof Storage?new StorageEvent("storage",S):new CustomEvent(ni,{detail:S}))}}function F(b){try{const I=n.getItem(e);if(b==null)O(I,null),n.removeItem(e);else{const S=V.write(b);I!==S&&(n.setItem(e,S),O(I,S))}}catch(I){_(I)}}function D(b){const I=b?b.newValue:n.getItem(e);if(I==null)return c&&K!=null&&n.setItem(e,V.write(K)),K;if(!b&&f){const S=V.read(I);return typeof f=="function"?f(S,K):N==="object"&&!Array.isArray(S)?{...K,...S}:S}else return typeof I!="string"?I:V.read(I)}function k(b){if(!(b&&b.storageArea!==n)){if(b&&b.key==null){v.value=K;return}if(!(b&&b.key!==e)){p();try{(b==null?void 0:b.newValue)!==V.write(v.value)&&(v.value=D(b))}catch(I){_(I)}finally{b?Yn(g):g()}}}}function R(b){k(b.detail)}return v}const Za="*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}";function ef(e={}){const{selector:t="html",attribute:n="class",initialValue:s="auto",window:r=Xe,storage:i,storageKey:o="vueuse-color-scheme",listenToStorageChanges:l=!0,storageRef:c,emitAuto:f,disableTransition:a=!0}=e,h={auto:"",light:"light",dark:"dark",...e.modes||{}},y=lr({window:r}),_=oe(()=>y.value?"dark":"light"),x=c||(o==null?Do(s):Qa(o,s,i,{window:r,listenToStorageChanges:l})),v=oe(()=>x.value==="auto"?_.value:x.value),K=Vo("updateHTMLAttrs",(g,O,F)=>{const D=typeof g=="string"?r==null?void 0:r.document.querySelector(g):$o(g);if(!D)return;const k=new Set,R=new Set;let b=null;if(O==="class"){const S=F.split(/\s/g);Object.values(h).flatMap(W=>(W||"").split(/\s/g)).filter(Boolean).forEach(W=>{S.includes(W)?k.add(W):R.add(W)})}else b={key:O,value:F};if(k.size===0&&R.size===0&&b===null)return;let I;a&&(I=r.document.createElement("style"),I.appendChild(document.createTextNode(Za)),r.document.head.appendChild(I));for(const S of k)D.classList.add(S);for(const S of R)D.classList.remove(S);b&&D.setAttribute(b.key,b.value),a&&(r.getComputedStyle(I).opacity,document.head.removeChild(I))});function N(g){var O;K(t,n,(O=h[g])!=null?O:g)}function V(g){e.onChanged?e.onChanged(g,N):N(g)}Fe(v,V,{flush:"post",immediate:!0}),or(()=>V(v.value));const p=oe({get(){return f?x.value:v.value},set(g){x.value=g}});try{return Object.assign(p,{store:x,system:_,state:v})}catch{return p}}function tf(e={}){const{valueDark:t="dark",valueLight:n="",window:s=Xe}=e,r=ef({...e,onChanged:(l,c)=>{var f;e.onChanged?(f=e.onChanged)==null||f.call(e,l==="dark",c,l):c(l)},modes:{dark:t,light:n}}),i=oe(()=>r.system?r.system.value:lr({window:s}).value?"dark":"light");return oe({get(){return r.value==="dark"},set(l){const c=l?"dark":"light";i.value===c?r.value="auto":r.value=c}})}function ms(e){return typeof Window<"u"&&e instanceof Window?e.document.documentElement:typeof Document<"u"&&e instanceof Document?e.documentElement:e}function ko(e){const t=window.getComputedStyle(e);if(t.overflowX==="scroll"||t.overflowY==="scroll"||t.overflowX==="auto"&&e.clientWidth1?!0:(t.preventDefault&&t.preventDefault(),!1)}const ys=new WeakMap;function iu(e,t=!1){const n=ce(t);let s=null,r="";Fe(Do(e),l=>{const c=ms(st(l));if(c){const f=c;if(ys.get(f)||ys.set(f,f.style.overflow),f.style.overflow!=="hidden"&&(r=f.style.overflow),f.style.overflow==="hidden")return n.value=!0;if(n.value)return f.style.overflow="hidden"}},{immediate:!0});const i=()=>{const l=ms(st(e));!l||n.value||(ti&&(s=Nt(l,"touchmove",c=>{nf(c)},{passive:!1})),l.style.overflow="hidden",n.value=!0)},o=()=>{const l=ms(st(e));!l||!n.value||(ti&&(s==null||s()),l.style.overflow=r,ys.delete(l),n.value=!1)};return ir(o),oe({get(){return n.value},set(l){l?i():o()}})}function ou(e={}){const{window:t=Xe,behavior:n="auto"}=e;if(!t)return{x:ce(0),y:ce(0)};const s=ce(t.scrollX),r=ce(t.scrollY),i=oe({get(){return s.value},set(l){scrollTo({left:l,behavior:n})}}),o=oe({get(){return r.value},set(l){scrollTo({top:l,behavior:n})}});return Nt(t,"scroll",()=>{s.value=t.scrollX,r.value=t.scrollY},{capture:!1,passive:!0}),{x:i,y:o}}function lu(e={}){const{window:t=Xe,initialWidth:n=Number.POSITIVE_INFINITY,initialHeight:s=Number.POSITIVE_INFINITY,listenOrientation:r=!0,includeScrollbar:i=!0,type:o="inner"}=e,l=ce(n),c=ce(s),f=()=>{t&&(o==="outer"?(l.value=t.outerWidth,c.value=t.outerHeight):i?(l.value=t.innerWidth,c.value=t.innerHeight):(l.value=t.document.documentElement.clientWidth,c.value=t.document.documentElement.clientHeight))};if(f(),or(f),Nt("resize",f,{passive:!0}),r){const a=jo("(orientation: portrait)");Fe(a,()=>f())}return{width:l,height:c}}const _s={BASE_URL:"/",DEV:!1,MODE:"production",PROD:!0,SSR:!1};var vs={};const Uo=/^(?:[a-z]+:|\/\/)/i,sf="vitepress-theme-appearance",rf=/#.*$/,of=/[?#].*$/,lf=/(?:(^|\/)index)?\.(?:md|html)$/,ge=typeof document<"u",Bo={relativePath:"404.md",filePath:"",title:"404",description:"Not Found",headers:[],frontmatter:{sidebar:!1,layout:"page"},lastUpdated:0,isNotFound:!0};function cf(e,t,n=!1){if(t===void 0)return!1;if(e=si(`/${e}`),n)return new RegExp(t).test(e);if(si(t)!==e)return!1;const s=t.match(rf);return s?(ge?location.hash:"")===s[0]:!0}function si(e){return decodeURI(e).replace(of,"").replace(lf,"$1")}function af(e){return Uo.test(e)}function ff(e,t){return Object.keys((e==null?void 0:e.locales)||{}).find(n=>n!=="root"&&!af(n)&&cf(t,`/${n}/`,!0))||"root"}function uf(e,t){var s,r,i,o,l,c,f;const n=ff(e,t);return Object.assign({},e,{localeIndex:n,lang:((s=e.locales[n])==null?void 0:s.lang)??e.lang,dir:((r=e.locales[n])==null?void 0:r.dir)??e.dir,title:((i=e.locales[n])==null?void 0:i.title)??e.title,titleTemplate:((o=e.locales[n])==null?void 0:o.titleTemplate)??e.titleTemplate,description:((l=e.locales[n])==null?void 0:l.description)??e.description,head:Ko(e.head,((c=e.locales[n])==null?void 0:c.head)??[]),themeConfig:{...e.themeConfig,...(f=e.locales[n])==null?void 0:f.themeConfig}})}function Wo(e,t){const n=t.title||e.title,s=t.titleTemplate??e.titleTemplate;if(typeof s=="string"&&s.includes(":title"))return s.replace(/:title/g,n);const r=df(e.title,s);return n===r.slice(3)?n:`${n}${r}`}function df(e,t){return t===!1?"":t===!0||t===void 0?` | ${e}`:e===t?"":` | ${t}`}function hf(e,t){const[n,s]=t;if(n!=="meta")return!1;const r=Object.entries(s)[0];return r==null?!1:e.some(([i,o])=>i===n&&o[r[0]]===r[1])}function Ko(e,t){return[...e.filter(n=>!hf(t,n)),...t]}const pf=/[\u0000-\u001F"#$&*+,:;<=>?[\]^`{|}\u007F]/g,gf=/^[a-z]:/i;function ri(e){const t=gf.exec(e),n=t?t[0]:"";return n+e.slice(n.length).replace(pf,"_").replace(/(^|\/)_+(?=[^/]*$)/,"$1")}const bs=new Set;function mf(e){if(bs.size===0){const n=typeof process=="object"&&(vs==null?void 0:vs.VITE_EXTRA_EXTENSIONS)||(_s==null?void 0:_s.VITE_EXTRA_EXTENSIONS)||"";("3g2,3gp,aac,ai,apng,au,avif,bin,bmp,cer,class,conf,crl,css,csv,dll,doc,eps,epub,exe,gif,gz,ics,ief,jar,jpe,jpeg,jpg,js,json,jsonld,m4a,man,mid,midi,mjs,mov,mp2,mp3,mp4,mpe,mpeg,mpg,mpp,oga,ogg,ogv,ogx,opus,otf,p10,p7c,p7m,p7s,pdf,png,ps,qt,roff,rtf,rtx,ser,svg,t,tif,tiff,tr,ts,tsv,ttf,txt,vtt,wav,weba,webm,webp,woff,woff2,xhtml,xml,yaml,yml,zip"+(n&&typeof n=="string"?","+n:"")).split(",").forEach(s=>bs.add(s))}const t=e.split(".").pop();return t==null||!bs.has(t.toLowerCase())}const yf=Symbol(),_t=Pi(Ha);function cu(e){const t=oe(()=>uf(_t.value,e.data.relativePath)),n=t.value.appearance,s=n==="force-dark"?ce(!0):n==="force-auto"?lr():n?tf({storageKey:sf,initialValue:()=>n==="dark"?"dark":"auto",...typeof n=="object"?n:{}}):ce(!1),r=ce(ge?location.hash:"");return ge&&window.addEventListener("hashchange",()=>{r.value=location.hash}),Fe(()=>e.data,()=>{r.value=ge?location.hash:""}),{site:t,theme:oe(()=>t.value.themeConfig),page:oe(()=>e.data),frontmatter:oe(()=>e.data.frontmatter),params:oe(()=>e.data.params),lang:oe(()=>t.value.lang),dir:oe(()=>e.data.frontmatter.dir||t.value.dir),localeIndex:oe(()=>t.value.localeIndex||"root"),title:oe(()=>Wo(t.value,e.data)),description:oe(()=>e.data.description||t.value.description),isDark:s,hash:oe(()=>r.value)}}function _f(){const e=Pt(yf);if(!e)throw new Error("vitepress data not properly injected in app");return e}function vf(e,t){return`${e}${t}`.replace(/\/+/g,"/")}function ii(e){return Uo.test(e)||!e.startsWith("/")?e:vf(_t.value.base,e)}function bf(e){let t=e.replace(/\.html$/,"");if(t=decodeURIComponent(t),t=t.replace(/\/$/,"/index"),ge){const n="/";t=ri(t.slice(n.length).replace(/\//g,"_")||"index")+".md";let s=__VP_HASH_MAP__[t.toLowerCase()];if(s||(t=t.endsWith("_index.md")?t.slice(0,-9)+".md":t.slice(0,-3)+"_index.md",s=__VP_HASH_MAP__[t.toLowerCase()]),!s)return null;t=`${n}assets/${t}.${s}.js`}else t=`./${ri(t.slice(1).replace(/\//g,"_"))}.md.js`;return t}let Mn=[];function au(e){Mn.push(e),Jn(()=>{Mn=Mn.filter(t=>t!==e)})}function wf(){let e=_t.value.scrollOffset,t=0,n=24;if(typeof e=="object"&&"padding"in e&&(n=e.padding,e=e.selector),typeof e=="number")t=e;else if(typeof e=="string")t=oi(e,n);else if(Array.isArray(e))for(const s of e){const r=oi(s,n);if(r){t=r;break}}return t}function oi(e,t){const n=document.querySelector(e);if(!n)return 0;const s=n.getBoundingClientRect().bottom;return s<0?0:s+t}const Sf=Symbol(),qo="http://a.com",Ef=()=>({path:"/",component:null,data:Bo});function fu(e,t){const n=qn(Ef()),s={route:n,go:r};async function r(l=ge?location.href:"/"){var c,f;l=ws(l),await((c=s.onBeforeRouteChange)==null?void 0:c.call(s,l))!==!1&&(ge&&l!==ws(location.href)&&(history.replaceState({scrollPosition:window.scrollY},""),history.pushState({},"",l)),await o(l),await((f=s.onAfterRouteChanged)==null?void 0:f.call(s,l)))}let i=null;async function o(l,c=0,f=!1){var y,_;if(await((y=s.onBeforePageLoad)==null?void 0:y.call(s,l))===!1)return;const a=new URL(l,qo),h=i=a.pathname;try{let x=await e(h);if(!x)throw new Error(`Page not found: ${h}`);if(i===h){i=null;const{default:v,__pageData:K}=x;if(!v)throw new Error(`Invalid route component: ${v}`);await((_=s.onAfterPageLoad)==null?void 0:_.call(s,l)),n.path=ge?h:ii(h),n.component=Cn(v),n.data=Cn(K),ge&&Yn(()=>{let N=_t.value.base+K.relativePath.replace(/(?:(^|\/)index)?\.md$/,"$1");if(!_t.value.cleanUrls&&!N.endsWith("/")&&(N+=".html"),N!==a.pathname&&(a.pathname=N,l=N+a.search+a.hash,history.replaceState({},"",l)),a.hash&&!c){let V=null;try{V=document.getElementById(decodeURIComponent(a.hash).slice(1))}catch(p){console.warn(p)}if(V){li(V,a.hash);return}}window.scrollTo(0,c)})}}catch(x){if(!/fetch|Page not found/.test(x.message)&&!/^\/404(\.html|\/)?$/.test(l)&&console.error(x),!f)try{const v=await fetch(_t.value.base+"hashmap.json");window.__VP_HASH_MAP__=await v.json(),await o(l,c,!0);return}catch{}if(i===h){i=null,n.path=ge?h:ii(h),n.component=t?Cn(t):null;const v=ge?h.replace(/(^|\/)$/,"$1index").replace(/(\.html)?$/,".md").replace(/^\//,""):"404.md";n.data={...Bo,relativePath:v}}}}return ge&&(history.state===null&&history.replaceState({},""),window.addEventListener("click",l=>{if(l.defaultPrevented||!(l.target instanceof Element)||l.target.closest("button")||l.button!==0||l.ctrlKey||l.shiftKey||l.altKey||l.metaKey)return;const c=l.target.closest("a");if(!c||c.closest(".vp-raw")||c.hasAttribute("download")||c.hasAttribute("target"))return;const f=c.getAttribute("href")??(c instanceof SVGAElement?c.getAttribute("xlink:href"):null);if(f==null)return;const{href:a,origin:h,pathname:y,hash:_,search:x}=new URL(f,c.baseURI),v=new URL(location.href);h===v.origin&&mf(y)&&(l.preventDefault(),y===v.pathname&&x===v.search?(_!==v.hash&&(history.pushState({},"",a),window.dispatchEvent(new HashChangeEvent("hashchange",{oldURL:v.href,newURL:a}))),_?li(c,_,c.classList.contains("header-anchor")):window.scrollTo(0,0)):r(a))},{capture:!0}),window.addEventListener("popstate",async l=>{var c;l.state!==null&&(await o(ws(location.href),l.state&&l.state.scrollPosition||0),(c=s.onAfterRouteChanged)==null||c.call(s,location.href))}),window.addEventListener("hashchange",l=>{l.preventDefault()})),s}function xf(){const e=Pt(Sf);if(!e)throw new Error("useRouter() is called without provider.");return e}function Go(){return xf().route}function li(e,t,n=!1){let s=null;try{s=e.classList.contains("header-anchor")?e:document.getElementById(decodeURIComponent(t).slice(1))}catch(r){console.warn(r)}if(s){let r=function(){!n||Math.abs(o-window.scrollY)>window.innerHeight?window.scrollTo(0,o):window.scrollTo({left:0,top:o,behavior:"smooth"})};const i=parseInt(window.getComputedStyle(s).paddingTop,10),o=window.scrollY+s.getBoundingClientRect().top-wf()+i;requestAnimationFrame(r)}}function ws(e){const t=new URL(e,qo);return t.pathname=t.pathname.replace(/(^|\/)index(\.html)?$/,"$1"),_t.value.cleanUrls?t.pathname=t.pathname.replace(/\.html$/,""):!t.pathname.endsWith("/")&&!t.pathname.endsWith(".html")&&(t.pathname+=".html"),t.pathname+t.search+t.hash}const Sn=()=>Mn.forEach(e=>e()),uu=Zs({name:"VitePressContent",props:{as:{type:[Object,String],default:"div"}},setup(e){const t=Go(),{frontmatter:n,site:s}=_f();return Fe(n,Sn,{deep:!0,flush:"post"}),()=>$s(e.as,s.value.contentProps??{style:{position:"relative"}},[t.component?$s(t.component,{onVnodeMounted:Sn,onVnodeUpdated:Sn,onVnodeUnmounted:Sn}):"404 Page Not Found"])}}),Tf="modulepreload",Cf=function(e){return"/"+e},ci={},du=function(t,n,s){let r=Promise.resolve();if(n&&n.length>0){document.getElementsByTagName("link");const o=document.querySelector("meta[property=csp-nonce]"),l=(o==null?void 0:o.nonce)||(o==null?void 0:o.getAttribute("nonce"));r=Promise.allSettled(n.map(c=>{if(c=Cf(c),c in ci)return;ci[c]=!0;const f=c.endsWith(".css"),a=f?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${c}"]${a}`))return;const h=document.createElement("link");if(h.rel=f?"stylesheet":Tf,f||(h.as="script"),h.crossOrigin="",h.href=c,l&&h.setAttribute("nonce",l),document.head.appendChild(h),f)return new Promise((y,_)=>{h.addEventListener("load",y),h.addEventListener("error",()=>_(new Error(`Unable to preload CSS for ${c}`)))})}))}function i(o){const l=new Event("vite:preloadError",{cancelable:!0});if(l.payload=o,window.dispatchEvent(l),!l.defaultPrevented)throw o}return r.then(o=>{for(const l of o||[])l.status==="rejected"&&i(l.reason);return t().catch(i)})},hu=Zs({setup(e,{slots:t}){const n=ce(!1);return Ft(()=>{n.value=!0}),()=>n.value&&t.default?t.default():null}});function pu(){ge&&window.addEventListener("click",e=>{var n;const t=e.target;if(t.matches(".vp-code-group input")){const s=(n=t.parentElement)==null?void 0:n.parentElement;if(!s)return;const r=Array.from(s.querySelectorAll("input")).indexOf(t);if(r<0)return;const i=s.querySelector(".blocks");if(!i)return;const o=Array.from(i.children).find(f=>f.classList.contains("active"));if(!o)return;const l=i.children[r];if(!l||o===l)return;o.classList.remove("active"),l.classList.add("active");const c=s==null?void 0:s.querySelector(`label[for="${t.id}"]`);c==null||c.scrollIntoView({block:"nearest"})}})}function gu(){if(ge){const e=new WeakMap;window.addEventListener("click",t=>{var s;const n=t.target;if(n.matches('div[class*="language-"] > button.copy')){const r=n.parentElement,i=(s=n.nextElementSibling)==null?void 0:s.nextElementSibling;if(!r||!i)return;const o=/language-(shellscript|shell|bash|sh|zsh)/.test(r.className),l=[".vp-copy-ignore",".diff.remove"],c=i.cloneNode(!0);c.querySelectorAll(l.join(",")).forEach(a=>a.remove());let f=c.textContent||"";o&&(f=f.replace(/^ *(\$|>) /gm,"").trim()),Af(f).then(()=>{n.classList.add("copied"),clearTimeout(e.get(n));const a=setTimeout(()=>{n.classList.remove("copied"),n.blur(),e.delete(n)},2e3);e.set(n,a)})}})}}async function Af(e){try{return navigator.clipboard.writeText(e)}catch{const t=document.createElement("textarea"),n=document.activeElement;t.value=e,t.setAttribute("readonly",""),t.style.contain="strict",t.style.position="absolute",t.style.left="-9999px",t.style.fontSize="12pt";const s=document.getSelection(),r=s?s.rangeCount>0&&s.getRangeAt(0):null;document.body.appendChild(t),t.select(),t.selectionStart=0,t.selectionEnd=e.length,document.execCommand("copy"),document.body.removeChild(t),r&&(s.removeAllRanges(),s.addRange(r)),n&&n.focus()}}function mu(e,t){let n=!0,s=[];const r=i=>{if(n){n=!1,i.forEach(l=>{const c=Ss(l);for(const f of document.head.children)if(f.isEqualNode(c)){s.push(f);return}});return}const o=i.map(Ss);s.forEach((l,c)=>{const f=o.findIndex(a=>a==null?void 0:a.isEqualNode(l??null));f!==-1?delete o[f]:(l==null||l.remove(),delete s[c])}),o.forEach(l=>l&&document.head.appendChild(l)),s=[...s,...o].filter(Boolean)};go(()=>{const i=e.data,o=t.value,l=i&&i.description,c=i&&i.frontmatter.head||[],f=Wo(o,i);f!==document.title&&(document.title=f);const a=l||o.description;let h=document.querySelector("meta[name=description]");h?h.getAttribute("content")!==a&&h.setAttribute("content",a):Ss(["meta",{name:"description",content:a}]),r(Ko(o.head,Of(c)))})}function Ss([e,t,n]){const s=document.createElement(e);for(const r in t)s.setAttribute(r,t[r]);return n&&(s.innerHTML=n),e==="script"&&t.async==null&&(s.async=!1),s}function Rf(e){return e[0]==="meta"&&e[1]&&e[1].name==="description"}function Of(e){return e.filter(t=>!Rf(t))}const Es=new Set,Yo=()=>document.createElement("link"),Mf=e=>{const t=Yo();t.rel="prefetch",t.href=e,document.head.appendChild(t)},Pf=e=>{const t=new XMLHttpRequest;t.open("GET",e,t.withCredentials=!0),t.send()};let En;const Lf=ge&&(En=Yo())&&En.relList&&En.relList.supports&&En.relList.supports("prefetch")?Mf:Pf;function yu(){if(!ge||!window.IntersectionObserver)return;let e;if((e=navigator.connection)&&(e.saveData||/2g/.test(e.effectiveType)))return;const t=window.requestIdleCallback||setTimeout;let n=null;const s=()=>{n&&n.disconnect(),n=new IntersectionObserver(i=>{i.forEach(o=>{if(o.isIntersecting){const l=o.target;n.unobserve(l);const{pathname:c}=l;if(!Es.has(c)){Es.add(c);const f=bf(c);f&&Lf(f)}}})}),t(()=>{document.querySelectorAll("#app a").forEach(i=>{const{hostname:o,pathname:l}=new URL(i.href instanceof SVGAnimatedString?i.href.animVal:i.href,i.baseURI),c=l.match(/\.\w+$/);c&&c[0]!==".html"||i.target!=="_blank"&&o===location.hostname&&(l!==location.pathname?n.observe(i):Es.add(l))})})};Ft(s);const r=Go();Fe(()=>r.path,s),Jn(()=>{n&&n.disconnect()})}export{Yi as $,wf as A,$f as B,Vf as C,Pi as D,au as E,Ee as F,le as G,Df as H,du as I,jf as J,Uo as K,Go as L,Bc as M,Pt as N,lu as O,Un as P,ru as Q,Yn as R,ou as S,zf as T,ge as U,Gn as V,iu as W,Sc as X,Zf as Y,Bf as Z,su as _,xo as a,Qf as a0,Wf as a1,qn as a2,nu as a3,jl as a4,kf as a5,If as a6,Uc as a7,de as a8,Hf as a9,Jf as aa,$s as ab,eu as ac,Kf as ad,Nf as ae,cc as af,Ff as ag,aa as ah,mi as ai,dl as aj,Ta as ak,Yf as al,mu as am,Sf as an,cu as ao,yf as ap,uu as aq,hu as ar,_t as as,tu as at,fu as au,bf as av,yu as aw,gu as ax,pu as ay,xf as az,Hs as b,Gf as c,Zs as d,Xf as e,mf as f,ii as g,oe as h,af as i,Eo as j,zs as k,cf as l,jo as m,Bn as n,Fs as o,ce as p,Fe as q,Uf as r,go as s,fl as t,_f as u,Ft as v,Yl as w,Jn as x,qf as y,ac as z}; diff --git a/docs/assets/chunks/metadata.1dd3c1e4.js b/docs/assets/chunks/metadata.b1b74ee0.js similarity index 74% rename from docs/assets/chunks/metadata.1dd3c1e4.js rename to docs/assets/chunks/metadata.b1b74ee0.js index 544b5186..7d1ce7a2 100644 --- a/docs/assets/chunks/metadata.1dd3c1e4.js +++ b/docs/assets/chunks/metadata.b1b74ee0.js @@ -1 +1 @@ -window.__VP_HASH_MAP__=JSON.parse("{\"customization_theming_index.md\":\"n7fcEp_w\",\"index.md\":\"BJiPgZgU\",\"installation_index.md\":\"CqYA7Cgq\",\"methods-and-events_events_index.md\":\"C-wBkQV8\",\"methods-and-events_methods_index.md\":\"BUAhxP5w\",\"migration_from-v10.md\":\"cKOzBSoF\",\"migration_from-v5.md\":\"Bmjm4GG1\",\"migration_from-v6.md\":\"BGEZ6Qh1\",\"migration_from-v7.md\":\"D7tfPsIU\",\"migration_from-v8.md\":\"GbP-eSYg\",\"migration_from-v9.md\":\"BP5fxbOt\",\"props_calendar-configuration_index.md\":\"DP0AeudM\",\"props_formatting_index.md\":\"C4TPj7vZ\",\"props_general-configuration_index.md\":\"BRWJzeLU\",\"props_keyboard_index.md\":\"CuOjFWCw\",\"props_localization_index.md\":\"CJSI070X\",\"props_look-and-feel_index.md\":\"BGtWfA-j\",\"props_modes-configuration_index.md\":\"D6Mk8xHD\",\"props_modes_index.md\":\"CyQF0VXZ\",\"props_positioning_index.md\":\"uFrYDF2T\",\"props_time-picker-configuration_index.md\":\"dfirn8p2\",\"slots_components_index.md\":\"D5cKmtPO\",\"slots_content_index.md\":\"DYHiWMiC\",\"slots_icons_index.md\":\"BovP6Dbd\",\"slots_overlay_index.md\":\"Ldp4LnYd\",\"slots_trigger-and-input_index.md\":\"CI_qQFf5\"}");window.__VP_SITE_DATA__=JSON.parse("{\"lang\":\"en-US\",\"dir\":\"ltr\",\"title\":\"Vue Datepicker\",\"description\":\"Vue 3 datepicker component. Lightweight and powerful with support for the timepicker, range picker, month-year picker, text input, week numbers and many more. Options to customize the datepicker from the ground up with props, slots and custom components. Dark and light mode available\",\"base\":\"/\",\"head\":[],\"router\":{\"prefetchLinks\":true},\"appearance\":true,\"themeConfig\":{\"logo\":\"/logo.png\",\"search\":{\"provider\":\"algolia\",\"options\":{\"appId\":\"GM52TZG3DR\",\"apiKey\":\"46719e038256b2385d9617a76bd411b6\",\"indexName\":\"vue3-date-time-picker\"}},\"carbonAds\":{\"code\":\"CEAIL5QM\",\"placement\":\"vue3datepickercom\"},\"footer\":{\"message\":\"Released under the MIT License.\",\"copyright\":\"Copyright © 2021-present Vuepic\"},\"nav\":[{\"text\":\"Home\",\"link\":\"/\"},{\"text\":\"v11.0.0\",\"items\":[{\"text\":\"v10\",\"link\":\"https://v10.vue3datepicker.com/\"},{\"text\":\"v9\",\"link\":\"https://v9.vue3datepicker.com/\"},{\"text\":\"v8\",\"link\":\"https://v8-8.vue3datepicker.com/\"},{\"text\":\"v7\",\"link\":\"https://v7-4.vue3datepicker.com/\"},{\"text\":\"v6\",\"link\":\"https://v6.vue3datepicker.com/\"},{\"text\":\"v5\",\"link\":\"https://v5.vue3datepicker.com/\"}]},{\"text\":\"Changelog\",\"link\":\"https://github.com/Vuepic/vue-datepicker/releases\"}],\"socialLinks\":[{\"icon\":\"github\",\"link\":\"https://github.com/Vuepic/vue-datepicker\"},{\"icon\":\"npm\",\"link\":\"https://www.npmjs.com/package/@vuepic/vue-datepicker\"}],\"sidebar\":[{\"text\":\"Getting Started\",\"collapsed\":false,\"items\":[{\"text\":\"Installation\",\"link\":\"/installation/\"}]},{\"text\":\"Props\",\"collapsed\":false,\"items\":[{\"text\":\"Modes\",\"link\":\"/props/modes/\"},{\"text\":\"Modes configuration\",\"link\":\"/props/modes-configuration/\"},{\"text\":\"General configuration\",\"link\":\"/props/general-configuration/\"},{\"text\":\"Calendar configuration\",\"link\":\"/props/calendar-configuration/\"},{\"text\":\"Time picker configuration\",\"link\":\"/props/time-picker-configuration/\"},{\"text\":\"Formatting\",\"link\":\"/props/formatting/\"},{\"text\":\"Localization\",\"link\":\"/props/localization/\"},{\"text\":\"Positioning\",\"link\":\"/props/positioning/\"},{\"text\":\"Keyboard\",\"link\":\"/props/keyboard/\"},{\"text\":\"Look and feel\",\"link\":\"/props/look-and-feel/\"}]},{\"text\":\"Slots\",\"collapsed\":true,\"items\":[{\"text\":\"Components\",\"link\":\"/slots/components/\"},{\"text\":\"Content\",\"link\":\"/slots/content/\"},{\"text\":\"Trigger and input\",\"link\":\"/slots/trigger-and-input/\"},{\"text\":\"Icons\",\"link\":\"/slots/icons/\"},{\"text\":\"Overlay\",\"link\":\"/slots/overlay/\"}]},{\"text\":\"Methods and events\",\"collapsed\":true,\"items\":[{\"text\":\"Methods\",\"link\":\"/methods-and-events/methods/\"},{\"text\":\"Events\",\"link\":\"/methods-and-events/events/\"}]},{\"text\":\"Customization\",\"collapsed\":true,\"items\":[{\"text\":\"Theming\",\"link\":\"/customization/theming/\"}]},{\"text\":\"Migration guides\",\"collapsed\":true,\"items\":[{\"text\":\"Migrating from v10\",\"link\":\"/migration/from-v10\"},{\"text\":\"Migrating from v9\",\"link\":\"/migration/from-v9\"},{\"text\":\"Migrating from v8\",\"link\":\"/migration/from-v8\"},{\"text\":\"Migrating from v7\",\"link\":\"/migration/from-v7\"},{\"text\":\"Migrating from v6\",\"link\":\"/migration/from-v6\"},{\"text\":\"Migrating from v5\",\"link\":\"/migration/from-v5\"}]}]},\"locales\":{},\"scrollOffset\":134,\"cleanUrls\":true}"); \ No newline at end of file +window.__VP_HASH_MAP__=JSON.parse("{\"customization_theming_index.md\":\"J55SD4PY\",\"index.md\":\"AEe3KBSA\",\"installation_index.md\":\"DU4NbBGO\",\"methods-and-events_events_index.md\":\"XXQ9Y2Gs\",\"methods-and-events_methods_index.md\":\"DSPnQskQ\",\"migration_from-v10.md\":\"CeyMK1B_\",\"migration_from-v5.md\":\"D_NRXSTe\",\"migration_from-v6.md\":\"DSqGwAuD\",\"migration_from-v7.md\":\"PNhq04aB\",\"migration_from-v8.md\":\"DW58qp9B\",\"migration_from-v9.md\":\"D8JiPXtX\",\"props_calendar-configuration_index.md\":\"8v9z-JzN\",\"props_formatting_index.md\":\"ByRkmOZp\",\"props_general-configuration_index.md\":\"BhuPYTJf\",\"props_keyboard_index.md\":\"B0WDxcN1\",\"props_localization_index.md\":\"Bd8NbN_7\",\"props_look-and-feel_index.md\":\"DOPjw_pF\",\"props_modes-configuration_index.md\":\"CkB8A2GH\",\"props_modes_index.md\":\"DbN4dUwz\",\"props_positioning_index.md\":\"Bj_Frxe2\",\"props_time-picker-configuration_index.md\":\"BAWeTijx\",\"slots_components_index.md\":\"79XhMnqw\",\"slots_content_index.md\":\"DOcUs4Up\",\"slots_icons_index.md\":\"CQo_0Tvz\",\"slots_overlay_index.md\":\"Dl2WvITy\",\"slots_trigger-and-input_index.md\":\"nzwTbYTV\"}");window.__VP_SITE_DATA__=JSON.parse("{\"lang\":\"en-US\",\"dir\":\"ltr\",\"title\":\"Vue Datepicker\",\"description\":\"Vue 3 datepicker component. Lightweight and powerful with support for the timepicker, range picker, month-year picker, text input, week numbers and many more. Options to customize the datepicker from the ground up with props, slots and custom components. Dark and light mode available\",\"base\":\"/\",\"head\":[],\"router\":{\"prefetchLinks\":true},\"appearance\":true,\"themeConfig\":{\"logo\":\"/logo.png\",\"search\":{\"provider\":\"algolia\",\"options\":{\"appId\":\"GM52TZG3DR\",\"apiKey\":\"46719e038256b2385d9617a76bd411b6\",\"indexName\":\"vue3-date-time-picker\"}},\"carbonAds\":{\"code\":\"CEAIL5QM\",\"placement\":\"vue3datepickercom\"},\"footer\":{\"message\":\"Released under the MIT License.\",\"copyright\":\"Copyright © 2021-present Vuepic\"},\"nav\":[{\"text\":\"Home\",\"link\":\"/\"},{\"text\":\"v11.0.1\",\"items\":[{\"text\":\"v10\",\"link\":\"https://v10.vue3datepicker.com/\"},{\"text\":\"v9\",\"link\":\"https://v9.vue3datepicker.com/\"},{\"text\":\"v8\",\"link\":\"https://v8-8.vue3datepicker.com/\"},{\"text\":\"v7\",\"link\":\"https://v7-4.vue3datepicker.com/\"},{\"text\":\"v6\",\"link\":\"https://v6.vue3datepicker.com/\"},{\"text\":\"v5\",\"link\":\"https://v5.vue3datepicker.com/\"}]},{\"text\":\"Changelog\",\"link\":\"https://github.com/Vuepic/vue-datepicker/releases\"}],\"socialLinks\":[{\"icon\":\"github\",\"link\":\"https://github.com/Vuepic/vue-datepicker\"},{\"icon\":\"npm\",\"link\":\"https://www.npmjs.com/package/@vuepic/vue-datepicker\"}],\"sidebar\":[{\"text\":\"Getting Started\",\"collapsed\":false,\"items\":[{\"text\":\"Installation\",\"link\":\"/installation/\"}]},{\"text\":\"Props\",\"collapsed\":false,\"items\":[{\"text\":\"Modes\",\"link\":\"/props/modes/\"},{\"text\":\"Modes configuration\",\"link\":\"/props/modes-configuration/\"},{\"text\":\"General configuration\",\"link\":\"/props/general-configuration/\"},{\"text\":\"Calendar configuration\",\"link\":\"/props/calendar-configuration/\"},{\"text\":\"Time picker configuration\",\"link\":\"/props/time-picker-configuration/\"},{\"text\":\"Formatting\",\"link\":\"/props/formatting/\"},{\"text\":\"Localization\",\"link\":\"/props/localization/\"},{\"text\":\"Positioning\",\"link\":\"/props/positioning/\"},{\"text\":\"Keyboard\",\"link\":\"/props/keyboard/\"},{\"text\":\"Look and feel\",\"link\":\"/props/look-and-feel/\"}]},{\"text\":\"Slots\",\"collapsed\":true,\"items\":[{\"text\":\"Components\",\"link\":\"/slots/components/\"},{\"text\":\"Content\",\"link\":\"/slots/content/\"},{\"text\":\"Trigger and input\",\"link\":\"/slots/trigger-and-input/\"},{\"text\":\"Icons\",\"link\":\"/slots/icons/\"},{\"text\":\"Overlay\",\"link\":\"/slots/overlay/\"}]},{\"text\":\"Methods and events\",\"collapsed\":true,\"items\":[{\"text\":\"Methods\",\"link\":\"/methods-and-events/methods/\"},{\"text\":\"Events\",\"link\":\"/methods-and-events/events/\"}]},{\"text\":\"Customization\",\"collapsed\":true,\"items\":[{\"text\":\"Theming\",\"link\":\"/customization/theming/\"}]},{\"text\":\"Migration guides\",\"collapsed\":true,\"items\":[{\"text\":\"Migrating from v10\",\"link\":\"/migration/from-v10\"},{\"text\":\"Migrating from v9\",\"link\":\"/migration/from-v9\"},{\"text\":\"Migrating from v8\",\"link\":\"/migration/from-v8\"},{\"text\":\"Migrating from v7\",\"link\":\"/migration/from-v7\"},{\"text\":\"Migrating from v6\",\"link\":\"/migration/from-v6\"},{\"text\":\"Migrating from v5\",\"link\":\"/migration/from-v5\"}]}]},\"locales\":{},\"scrollOffset\":134,\"cleanUrls\":true}"); \ No newline at end of file diff --git a/docs/assets/chunks/theme.CKPf4mL-.js b/docs/assets/chunks/theme.CKPf4mL-.js new file mode 100644 index 00000000..d40b054f --- /dev/null +++ b/docs/assets/chunks/theme.CKPf4mL-.js @@ -0,0 +1,2 @@ +const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/chunks/ui-custom.C0getXqm.js","assets/chunks/framework.C8IqNCju.js","assets/chunks/VPAlgoliaSearchBox.l0wMk8yr.js"])))=>i.map(i=>d[i]); +var El=Object.defineProperty;var Bl=(e,a,t)=>a in e?El(e,a,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[a]=t;var be=(e,a,t)=>Bl(e,typeof a!="symbol"?a+"":a,t);import{d as Z,o as d,c as p,r as _,n as ge,a as Be,t as he,b as se,w as k,e as P,T as Wt,_ as we,u as Ye,i as Fl,f as Wl,g as Yn,h as D,j as y,k as s,l as sa,m as Mn,p as M,q as at,s as Qa,v as qe,x as zt,y as Hn,z as zl,A as Ul,B as da,F as ye,C as Se,D as Lr,E as Ka,G as ee,H as Rr,I as Yr,J as gt,K as Hr,L as Ga,M as Le,N as Za,O as ql,P as ht,Q as jl,R as ft,S as Er,U as Ja,V as Xl,W as Br,X as Fr,Y as Wr,Z as Ql,$ as Kl,a0 as ia,a1 as ea,a2 as Ia,a3 as Ca,a4 as st,a5 as ut,a6 as yt,a7 as mr,a8 as Gl,a9 as Zl,aa as vr,ab as Jl,ac as eo,ad as to,ae as xa,af as Wa,ag as ao,ah as no,ai as ro}from"./framework.C8IqNCju.js";const lo=Z({__name:"VPBadge",props:{text:{},type:{default:"tip"}},setup(e){return(a,t)=>(d(),p("span",{class:ge(["VPBadge",a.type])},[_(a.$slots,"default",{},()=>[Be(he(a.text),1)])],2))}}),oo={key:0,class:"VPBackdrop"},so=Z({__name:"VPBackdrop",props:{show:{type:Boolean}},setup(e){return(a,t)=>(d(),se(Wt,{name:"fade"},{default:k(()=>[a.show?(d(),p("div",oo)):P("",!0)]),_:1}))}}),io=we(so,[["__scopeId","data-v-c79a1216"]]),Oe=Ye;function uo(e,a){let t,n=!1;return()=>{t&&clearTimeout(t),n?t=setTimeout(e,a):(e(),(n=!0)&&setTimeout(()=>n=!1,a))}}function Tn(e){return/^\//.test(e)?e:`/${e}`}function En(e){const{pathname:a,search:t,hash:n,protocol:r}=new URL(e,"http://a.com");if(Fl(e)||e.startsWith("#")||!r.startsWith("http")||!Wl(a))return e;const{site:l}=Oe(),o=a.endsWith("/")||a.endsWith(".html")?e:e.replace(/(?:(^\.+)\/)?.*$/,`$1${a.replace(/(\.md)?$/,l.value.cleanUrls?"":".html")}${t}${n}`);return Yn(o)}function Na({correspondingLink:e=!1}={}){const{site:a,localeIndex:t,page:n,theme:r,hash:l}=Oe(),o=D(()=>{var i,b;return{label:(i=a.value.locales[t.value])==null?void 0:i.label,link:((b=a.value.locales[t.value])==null?void 0:b.link)||(t.value==="root"?"/":`/${t.value}/`)}});return{localeLinks:D(()=>Object.entries(a.value.locales).flatMap(([i,b])=>o.value.label===b.label?[]:{text:b.label,link:co(b.link||(i==="root"?"/":`/${i}/`),r.value.i18nRouting!==!1&&e,n.value.relativePath.slice(o.value.link.length-1),!a.value.cleanUrls)+l.value})),currentLang:o}}function co(e,a,t,n){return a?e.replace(/\/$/,"")+Tn(t.replace(/(^|\/)index\.md$/,"$1").replace(/\.md$/,n?".html":"")):e}const mo={class:"NotFound"},vo={class:"code"},po={class:"title"},fo={class:"quote"},ho={class:"action"},yo=["href","aria-label"],go=Z({__name:"NotFound",setup(e){const{theme:a}=Oe(),{currentLang:t}=Na();return(n,r)=>{var l,o,u,i,b;return d(),p("div",mo,[y("p",vo,he(((l=s(a).notFound)==null?void 0:l.code)??"404"),1),y("h1",po,he(((o=s(a).notFound)==null?void 0:o.title)??"PAGE NOT FOUND"),1),r[0]||(r[0]=y("div",{class:"divider"},null,-1)),y("blockquote",fo,he(((u=s(a).notFound)==null?void 0:u.quote)??"But if you don't change your direction, and if you keep looking, you may end up where you are heading."),1),y("div",ho,[y("a",{class:"link",href:s(Yn)(s(t).link),"aria-label":((i=s(a).notFound)==null?void 0:i.linkLabel)??"go to home"},he(((b=s(a).notFound)==null?void 0:b.linkText)??"Take me home"),9,yo)])])}}}),bo=we(go,[["__scopeId","data-v-d6be1790"]]);function zr(e,a){if(Array.isArray(e))return za(e);if(e==null)return[];a=Tn(a);const t=Object.keys(e).sort((r,l)=>l.split("/").length-r.split("/").length).find(r=>a.startsWith(Tn(r))),n=t?e[t]:[];return Array.isArray(n)?za(n):za(n.items,n.base)}function _o(e){const a=[];let t=0;for(const n in e){const r=e[n];if(r.items){t=a.push(r);continue}a[t]||a.push({items:[]}),a[t].items.push(r)}return a}function ko(e){const a=[];function t(n){for(const r of n)r.text&&r.link&&a.push({text:r.text,link:r.link,docFooterText:r.docFooterText}),r.items&&t(r.items)}return t(e),a}function xn(e,a){return Array.isArray(a)?a.some(t=>xn(e,t)):sa(e,a.link)?!0:a.items?xn(e,a.items):!1}function za(e,a){return[...e].map(t=>{const n={...t},r=n.base||a;return r&&n.link&&(n.link=r+n.link),n.items&&(n.items=za(n.items,r)),n})}function Ut(){const{frontmatter:e,page:a,theme:t}=Oe(),n=Mn("(min-width: 960px)"),r=M(!1),l=D(()=>{const T=t.value.sidebar,N=a.value.relativePath;return T?zr(T,N):[]}),o=M(l.value);at(l,(T,N)=>{JSON.stringify(T)!==JSON.stringify(N)&&(o.value=l.value)});const u=D(()=>e.value.sidebar!==!1&&o.value.length>0&&e.value.layout!=="home"),i=D(()=>b?e.value.aside==null?t.value.aside==="left":e.value.aside==="left":!1),b=D(()=>e.value.layout==="home"?!1:e.value.aside!=null?!!e.value.aside:t.value.aside!==!1),f=D(()=>u.value&&n.value),m=D(()=>u.value?_o(o.value):[]);function v(){r.value=!0}function g(){r.value=!1}function w(){r.value?g():v()}return{isOpen:r,sidebar:o,sidebarGroups:m,hasSidebar:u,hasAside:b,leftAside:i,isSidebarEnabled:f,open:v,close:g,toggle:w}}function wo(e,a){let t;Qa(()=>{t=e.value?document.activeElement:void 0}),qe(()=>{window.addEventListener("keyup",n)}),zt(()=>{window.removeEventListener("keyup",n)});function n(r){r.key==="Escape"&&e.value&&(a(),t==null||t.focus())}}function Do(e){const{page:a,hash:t}=Oe(),n=M(!1),r=D(()=>e.value.collapsed!=null),l=D(()=>!!e.value.link),o=M(!1),u=()=>{o.value=sa(a.value.relativePath,e.value.link)};at([a,e,t],u),qe(u);const i=D(()=>o.value?!0:e.value.items?xn(a.value.relativePath,e.value.items):!1),b=D(()=>!!(e.value.items&&e.value.items.length));Qa(()=>{n.value=!!(r.value&&e.value.collapsed)}),Hn(()=>{(o.value||i.value)&&(n.value=!1)});function f(){r.value&&(n.value=!n.value)}return{collapsed:n,collapsible:r,isLink:l,isActiveLink:o,hasActiveLink:i,hasChildren:b,toggle:f}}function $o(){const{hasSidebar:e}=Ut(),a=Mn("(min-width: 960px)"),t=Mn("(min-width: 1280px)");return{isAsideEnabled:D(()=>!t.value&&!a.value?!1:e.value?t.value:a.value)}}const Sn=[];function Ur(e){return typeof e.outline=="object"&&!Array.isArray(e.outline)&&e.outline.label||e.outlineTitle||"On this page"}function Bn(e){const a=[...document.querySelectorAll(".VPDoc :where(h1,h2,h3,h4,h5,h6)")].filter(t=>t.id&&t.hasChildNodes()).map(t=>{const n=Number(t.tagName[1]);return{element:t,title:Po(t),link:"#"+t.id,level:n}});return Mo(a,e)}function Po(e){let a="";for(const t of e.childNodes)if(t.nodeType===1){if(t.classList.contains("VPBadge")||t.classList.contains("header-anchor")||t.classList.contains("ignore-header"))continue;a+=t.textContent}else t.nodeType===3&&(a+=t.textContent);return a.trim()}function Mo(e,a){if(a===!1)return[];const t=(typeof a=="object"&&!Array.isArray(a)?a.level:a)||2,[n,r]=typeof t=="number"?[t,t]:t==="deep"?[2,6]:t;return So(e,n,r)}function To(e,a){const{isAsideEnabled:t}=$o(),n=uo(l,100);let r=null;qe(()=>{requestAnimationFrame(l),window.addEventListener("scroll",n)}),zl(()=>{o(location.hash)}),zt(()=>{window.removeEventListener("scroll",n)});function l(){if(!t.value)return;const u=window.scrollY,i=window.innerHeight,b=document.body.offsetHeight,f=Math.abs(u+i-b)<1,m=Sn.map(({element:g,link:w})=>({link:w,top:xo(g)})).filter(({top:g})=>!Number.isNaN(g)).sort((g,w)=>g.top-w.top);if(!m.length){o(null);return}if(u<1){o(null);return}if(f){o(m[m.length-1].link);return}let v=null;for(const{link:g,top:w}of m){if(w>u+Ul()+4)break;v=g}o(v)}function o(u){r&&r.classList.remove("active"),u==null?r=null:r=e.value.querySelector(`a[href="${decodeURIComponent(u)}"]`);const i=r;i?(i.classList.add("active"),a.value.style.top=i.offsetTop+39+"px",a.value.style.opacity="1"):(a.value.style.top="33px",a.value.style.opacity="0")}}function xo(e){let a=0;for(;e!==document.body;){if(e===null)return NaN;a+=e.offsetTop,e=e.offsetParent}return a}function So(e,a,t){Sn.length=0;const n=[],r=[];return e.forEach(l=>{const o={...l,children:[]};let u=r[r.length-1];for(;u&&u.level>=o.level;)r.pop(),u=r[r.length-1];if(o.element.classList.contains("ignore-header")||u&&"shouldIgnore"in u){r.push({level:o.level,shouldIgnore:!0});return}o.level>t||o.level{const r=da("VPDocOutlineItem",!0);return d(),p("ul",{class:ge(["VPDocOutlineItem",t.root?"root":"nested"])},[(d(!0),p(ye,null,Se(t.headers,({children:l,link:o,title:u})=>(d(),p("li",null,[y("a",{class:"outline-link",href:o,onClick:a,title:u},he(u),9,Ao),l!=null&&l.length?(d(),se(r,{key:0,headers:l},null,8,["headers"])):P("",!0)]))),256))],2)}}}),qr=we(Co,[["__scopeId","data-v-b933a997"]]),Vo={class:"content"},Oo={"aria-level":"2",class:"outline-title",id:"doc-outline-aria-label",role:"heading"},Io=Z({__name:"VPDocAsideOutline",setup(e){const{frontmatter:a,theme:t}=Oe(),n=Lr([]);Ka(()=>{n.value=Bn(a.value.outline??t.value.outline)});const r=M(),l=M();return To(r,l),(o,u)=>(d(),p("nav",{"aria-labelledby":"doc-outline-aria-label",class:ge(["VPDocAsideOutline",{"has-outline":n.value.length>0}]),ref_key:"container",ref:r},[y("div",Vo,[y("div",{class:"outline-marker",ref_key:"marker",ref:l},null,512),y("div",Oo,he(s(Ur)(s(t))),1),ee(qr,{headers:n.value,root:!0},null,8,["headers"])])],2))}}),No=we(Io,[["__scopeId","data-v-a5bbad30"]]),Lo={class:"VPDocAsideCarbonAds"},Ro=Z({__name:"VPDocAsideCarbonAds",props:{carbonAds:{}},setup(e){const a=Rr(()=>Yr(()=>import("./ui-custom.C0getXqm.js"),__vite__mapDeps([0,1])));return(t,n)=>(d(),p("div",Lo,[ee(s(a),{"carbon-ads":t.carbonAds},null,8,["carbon-ads"])]))}}),Yo={class:"VPDocAside"},Ho=Z({__name:"VPDocAside",setup(e){const{theme:a}=Oe();return(t,n)=>(d(),p("div",Yo,[_(t.$slots,"aside-top",{},void 0,!0),_(t.$slots,"aside-outline-before",{},void 0,!0),ee(No),_(t.$slots,"aside-outline-after",{},void 0,!0),n[0]||(n[0]=y("div",{class:"spacer"},null,-1)),_(t.$slots,"aside-ads-before",{},void 0,!0),s(a).carbonAds?(d(),se(Ro,{key:0,"carbon-ads":s(a).carbonAds},null,8,["carbon-ads"])):P("",!0),_(t.$slots,"aside-ads-after",{},void 0,!0),_(t.$slots,"aside-bottom",{},void 0,!0)]))}}),Eo=we(Ho,[["__scopeId","data-v-3f215769"]]);function Bo(){const{theme:e,page:a}=Oe();return D(()=>{const{text:t="Edit this page",pattern:n=""}=e.value.editLink||{};let r;return typeof n=="function"?r=n(a.value):r=n.replace(/:path/g,a.value.filePath),{url:r,text:t}})}function Fo(){const{page:e,theme:a,frontmatter:t}=Oe();return D(()=>{var b,f,m,v,g,w,T,N;const n=zr(a.value.sidebar,e.value.relativePath),r=ko(n),l=Wo(r,S=>S.link.replace(/[?#].*$/,"")),o=l.findIndex(S=>sa(e.value.relativePath,S.link)),u=((b=a.value.docFooter)==null?void 0:b.prev)===!1&&!t.value.prev||t.value.prev===!1,i=((f=a.value.docFooter)==null?void 0:f.next)===!1&&!t.value.next||t.value.next===!1;return{prev:u?void 0:{text:(typeof t.value.prev=="string"?t.value.prev:typeof t.value.prev=="object"?t.value.prev.text:void 0)??((m=l[o-1])==null?void 0:m.docFooterText)??((v=l[o-1])==null?void 0:v.text),link:(typeof t.value.prev=="object"?t.value.prev.link:void 0)??((g=l[o-1])==null?void 0:g.link)},next:i?void 0:{text:(typeof t.value.next=="string"?t.value.next:typeof t.value.next=="object"?t.value.next.text:void 0)??((w=l[o+1])==null?void 0:w.docFooterText)??((T=l[o+1])==null?void 0:T.text),link:(typeof t.value.next=="object"?t.value.next.link:void 0)??((N=l[o+1])==null?void 0:N.link)}}})}function Wo(e,a){const t=new Set;return e.filter(n=>{const r=a(n);return t.has(r)?!1:t.add(r)})}const Rt=Z({__name:"VPLink",props:{tag:{},href:{},noIcon:{type:Boolean},target:{},rel:{}},setup(e){const a=e,t=D(()=>a.tag??(a.href?"a":"span")),n=D(()=>a.href&&Hr.test(a.href)||a.target==="_blank");return(r,l)=>(d(),se(gt(t.value),{class:ge(["VPLink",{link:r.href,"vp-external-link-icon":n.value,"no-icon":r.noIcon}]),href:r.href?s(En)(r.href):void 0,target:r.target??(n.value?"_blank":void 0),rel:r.rel??(n.value?"noreferrer":void 0)},{default:k(()=>[_(r.$slots,"default")]),_:3},8,["class","href","target","rel"]))}}),zo={class:"VPLastUpdated"},Uo=["datetime"],qo=Z({__name:"VPDocFooterLastUpdated",setup(e){const{theme:a,page:t,lang:n}=Oe(),r=D(()=>new Date(t.value.lastUpdated)),l=D(()=>r.value.toISOString()),o=M("");return qe(()=>{Qa(()=>{var u,i,b;o.value=new Intl.DateTimeFormat((i=(u=a.value.lastUpdated)==null?void 0:u.formatOptions)!=null&&i.forceLocale?n.value:void 0,((b=a.value.lastUpdated)==null?void 0:b.formatOptions)??{dateStyle:"short",timeStyle:"short"}).format(r.value)})}),(u,i)=>{var b;return d(),p("p",zo,[Be(he(((b=s(a).lastUpdated)==null?void 0:b.text)||s(a).lastUpdatedText||"Last updated")+": ",1),y("time",{datetime:l.value},he(o.value),9,Uo)])}}}),jo=we(qo,[["__scopeId","data-v-e98dd255"]]),Xo={key:0,class:"VPDocFooter"},Qo={key:0,class:"edit-info"},Ko={key:0,class:"edit-link"},Go={key:1,class:"last-updated"},Zo={key:1,class:"prev-next","aria-labelledby":"doc-footer-aria-label"},Jo={class:"pager"},es=["innerHTML"],ts=["innerHTML"],as={class:"pager"},ns=["innerHTML"],rs=["innerHTML"],ls=Z({__name:"VPDocFooter",setup(e){const{theme:a,page:t,frontmatter:n}=Oe(),r=Bo(),l=Fo(),o=D(()=>a.value.editLink&&n.value.editLink!==!1),u=D(()=>t.value.lastUpdated),i=D(()=>o.value||u.value||l.value.prev||l.value.next);return(b,f)=>{var m,v,g,w;return i.value?(d(),p("footer",Xo,[_(b.$slots,"doc-footer-before",{},void 0,!0),o.value||u.value?(d(),p("div",Qo,[o.value?(d(),p("div",Ko,[ee(Rt,{class:"edit-link-button",href:s(r).url,"no-icon":!0},{default:k(()=>[f[0]||(f[0]=y("span",{class:"vpi-square-pen edit-link-icon"},null,-1)),Be(" "+he(s(r).text),1)]),_:1},8,["href"])])):P("",!0),u.value?(d(),p("div",Go,[ee(jo)])):P("",!0)])):P("",!0),(m=s(l).prev)!=null&&m.link||(v=s(l).next)!=null&&v.link?(d(),p("nav",Zo,[f[1]||(f[1]=y("span",{class:"visually-hidden",id:"doc-footer-aria-label"},"Pager",-1)),y("div",Jo,[(g=s(l).prev)!=null&&g.link?(d(),se(Rt,{key:0,class:"pager-link prev",href:s(l).prev.link},{default:k(()=>{var T;return[y("span",{class:"desc",innerHTML:((T=s(a).docFooter)==null?void 0:T.prev)||"Previous page"},null,8,es),y("span",{class:"title",innerHTML:s(l).prev.text},null,8,ts)]}),_:1},8,["href"])):P("",!0)]),y("div",as,[(w=s(l).next)!=null&&w.link?(d(),se(Rt,{key:0,class:"pager-link next",href:s(l).next.link},{default:k(()=>{var T;return[y("span",{class:"desc",innerHTML:((T=s(a).docFooter)==null?void 0:T.next)||"Next page"},null,8,ns),y("span",{class:"title",innerHTML:s(l).next.text},null,8,rs)]}),_:1},8,["href"])):P("",!0)])])):P("",!0)])):P("",!0)}}}),os=we(ls,[["__scopeId","data-v-e257564d"]]),ss={class:"container"},is={class:"aside-container"},us={class:"aside-content"},ds={class:"content"},cs={class:"content-container"},ms={class:"main"},vs=Z({__name:"VPDoc",setup(e){const{theme:a}=Oe(),t=Ga(),{hasSidebar:n,hasAside:r,leftAside:l}=Ut(),o=D(()=>t.path.replace(/[./]+/g,"_").replace(/_html$/,""));return(u,i)=>{const b=da("Content");return d(),p("div",{class:ge(["VPDoc",{"has-sidebar":s(n),"has-aside":s(r)}])},[_(u.$slots,"doc-top",{},void 0,!0),y("div",ss,[s(r)?(d(),p("div",{key:0,class:ge(["aside",{"left-aside":s(l)}])},[i[0]||(i[0]=y("div",{class:"aside-curtain"},null,-1)),y("div",is,[y("div",us,[ee(Eo,null,{"aside-top":k(()=>[_(u.$slots,"aside-top",{},void 0,!0)]),"aside-bottom":k(()=>[_(u.$slots,"aside-bottom",{},void 0,!0)]),"aside-outline-before":k(()=>[_(u.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":k(()=>[_(u.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":k(()=>[_(u.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":k(()=>[_(u.$slots,"aside-ads-after",{},void 0,!0)]),_:3})])])],2)):P("",!0),y("div",ds,[y("div",cs,[_(u.$slots,"doc-before",{},void 0,!0),y("main",ms,[ee(b,{class:ge(["vp-doc",[o.value,s(a).externalLinkIcon&&"external-link-icon-enabled"]])},null,8,["class"])]),ee(os,null,{"doc-footer-before":k(()=>[_(u.$slots,"doc-footer-before",{},void 0,!0)]),_:3}),_(u.$slots,"doc-after",{},void 0,!0)])])]),_(u.$slots,"doc-bottom",{},void 0,!0)],2)}}}),ps=we(vs,[["__scopeId","data-v-39a288b8"]]),fs=Z({__name:"VPButton",props:{tag:{},size:{default:"medium"},theme:{default:"brand"},text:{},href:{},target:{},rel:{}},setup(e){const a=e,t=D(()=>a.href&&Hr.test(a.href)),n=D(()=>a.tag||(a.href?"a":"button"));return(r,l)=>(d(),se(gt(n.value),{class:ge(["VPButton",[r.size,r.theme]]),href:r.href?s(En)(r.href):void 0,target:a.target??(t.value?"_blank":void 0),rel:a.rel??(t.value?"noreferrer":void 0)},{default:k(()=>[Be(he(r.text),1)]),_:1},8,["class","href","target","rel"]))}}),hs=we(fs,[["__scopeId","data-v-fa7799d5"]]),ys=["src","alt"],gs=Z({inheritAttrs:!1,__name:"VPImage",props:{image:{},alt:{}},setup(e){return(a,t)=>{const n=da("VPImage",!0);return a.image?(d(),p(ye,{key:0},[typeof a.image=="string"||"src"in a.image?(d(),p("img",Le({key:0,class:"VPImage"},typeof a.image=="string"?a.$attrs:{...a.image,...a.$attrs},{src:s(Yn)(typeof a.image=="string"?a.image:a.image.src),alt:a.alt??(typeof a.image=="string"?"":a.image.alt||"")}),null,16,ys)):(d(),p(ye,{key:1},[ee(n,Le({class:"dark",image:a.image.dark,alt:a.image.alt},a.$attrs),null,16,["image","alt"]),ee(n,Le({class:"light",image:a.image.light,alt:a.image.alt},a.$attrs),null,16,["image","alt"])],64))],64)):P("",!0)}}}),Ua=we(gs,[["__scopeId","data-v-8426fc1a"]]),bs={class:"container"},_s={class:"main"},ks={key:0,class:"name"},ws=["innerHTML"],Ds=["innerHTML"],$s=["innerHTML"],Ps={key:0,class:"actions"},Ms={key:0,class:"image"},Ts={class:"image-container"},xs=Z({__name:"VPHero",props:{name:{},text:{},tagline:{},image:{},actions:{}},setup(e){const a=Za("hero-image-slot-exists");return(t,n)=>(d(),p("div",{class:ge(["VPHero",{"has-image":t.image||s(a)}])},[y("div",bs,[y("div",_s,[_(t.$slots,"home-hero-info-before",{},void 0,!0),_(t.$slots,"home-hero-info",{},()=>[t.name?(d(),p("h1",ks,[y("span",{innerHTML:t.name,class:"clip"},null,8,ws)])):P("",!0),t.text?(d(),p("p",{key:1,innerHTML:t.text,class:"text"},null,8,Ds)):P("",!0),t.tagline?(d(),p("p",{key:2,innerHTML:t.tagline,class:"tagline"},null,8,$s)):P("",!0)],!0),_(t.$slots,"home-hero-info-after",{},void 0,!0),t.actions?(d(),p("div",Ps,[(d(!0),p(ye,null,Se(t.actions,r=>(d(),p("div",{key:r.link,class:"action"},[ee(hs,{tag:"a",size:"medium",theme:r.theme,text:r.text,href:r.link,target:r.target,rel:r.rel},null,8,["theme","text","href","target","rel"])]))),128))])):P("",!0),_(t.$slots,"home-hero-actions-after",{},void 0,!0)]),t.image||s(a)?(d(),p("div",Ms,[y("div",Ts,[n[0]||(n[0]=y("div",{class:"image-bg"},null,-1)),_(t.$slots,"home-hero-image",{},()=>[t.image?(d(),se(Ua,{key:0,class:"image-src",image:t.image},null,8,["image"])):P("",!0)],!0)])])):P("",!0)])],2))}}),Ss=we(xs,[["__scopeId","data-v-303bb580"]]),As=Z({__name:"VPHomeHero",setup(e){const{frontmatter:a}=Oe();return(t,n)=>s(a).hero?(d(),se(Ss,{key:0,class:"VPHomeHero",name:s(a).hero.name,text:s(a).hero.text,tagline:s(a).hero.tagline,image:s(a).hero.image,actions:s(a).hero.actions},{"home-hero-info-before":k(()=>[_(t.$slots,"home-hero-info-before")]),"home-hero-info":k(()=>[_(t.$slots,"home-hero-info")]),"home-hero-info-after":k(()=>[_(t.$slots,"home-hero-info-after")]),"home-hero-actions-after":k(()=>[_(t.$slots,"home-hero-actions-after")]),"home-hero-image":k(()=>[_(t.$slots,"home-hero-image")]),_:3},8,["name","text","tagline","image","actions"])):P("",!0)}}),Cs={class:"box"},Vs={key:0,class:"icon"},Os=["innerHTML"],Is=["innerHTML"],Ns=["innerHTML"],Ls={key:4,class:"link-text"},Rs={class:"link-text-value"},Ys=Z({__name:"VPFeature",props:{icon:{},title:{},details:{},link:{},linkText:{},rel:{},target:{}},setup(e){return(a,t)=>(d(),se(Rt,{class:"VPFeature",href:a.link,rel:a.rel,target:a.target,"no-icon":!0,tag:a.link?"a":"div"},{default:k(()=>[y("article",Cs,[typeof a.icon=="object"&&a.icon.wrap?(d(),p("div",Vs,[ee(Ua,{image:a.icon,alt:a.icon.alt,height:a.icon.height||48,width:a.icon.width||48},null,8,["image","alt","height","width"])])):typeof a.icon=="object"?(d(),se(Ua,{key:1,image:a.icon,alt:a.icon.alt,height:a.icon.height||48,width:a.icon.width||48},null,8,["image","alt","height","width"])):a.icon?(d(),p("div",{key:2,class:"icon",innerHTML:a.icon},null,8,Os)):P("",!0),y("h2",{class:"title",innerHTML:a.title},null,8,Is),a.details?(d(),p("p",{key:3,class:"details",innerHTML:a.details},null,8,Ns)):P("",!0),a.linkText?(d(),p("div",Ls,[y("p",Rs,[Be(he(a.linkText)+" ",1),t[0]||(t[0]=y("span",{class:"vpi-arrow-right link-text-icon"},null,-1))])])):P("",!0)])]),_:1},8,["href","rel","target","tag"]))}}),Hs=we(Ys,[["__scopeId","data-v-a3976bdc"]]),Es={key:0,class:"VPFeatures"},Bs={class:"container"},Fs={class:"items"},Ws=Z({__name:"VPFeatures",props:{features:{}},setup(e){const a=e,t=D(()=>{const n=a.features.length;if(n){if(n===2)return"grid-2";if(n===3)return"grid-3";if(n%3===0)return"grid-6";if(n>3)return"grid-4"}else return});return(n,r)=>n.features?(d(),p("div",Es,[y("div",Bs,[y("div",Fs,[(d(!0),p(ye,null,Se(n.features,l=>(d(),p("div",{key:l.title,class:ge(["item",[t.value]])},[ee(Hs,{icon:l.icon,title:l.title,details:l.details,link:l.link,"link-text":l.linkText,rel:l.rel,target:l.target},null,8,["icon","title","details","link","link-text","rel","target"])],2))),128))])])])):P("",!0)}}),zs=we(Ws,[["__scopeId","data-v-a6181336"]]),Us=Z({__name:"VPHomeFeatures",setup(e){const{frontmatter:a}=Oe();return(t,n)=>s(a).features?(d(),se(zs,{key:0,class:"VPHomeFeatures",features:s(a).features},null,8,["features"])):P("",!0)}}),qs=Z({__name:"VPHomeContent",setup(e){const{width:a}=ql({initialWidth:0,includeScrollbar:!1});return(t,n)=>(d(),p("div",{class:"vp-doc container",style:ht(s(a)?{"--vp-offset":`calc(50% - ${s(a)/2}px)`}:{})},[_(t.$slots,"default",{},void 0,!0)],4))}}),js=we(qs,[["__scopeId","data-v-8e2d4988"]]),Xs={class:"VPHome"},Qs=Z({__name:"VPHome",setup(e){const{frontmatter:a}=Oe();return(t,n)=>{const r=da("Content");return d(),p("div",Xs,[_(t.$slots,"home-hero-before",{},void 0,!0),ee(As,null,{"home-hero-info-before":k(()=>[_(t.$slots,"home-hero-info-before",{},void 0,!0)]),"home-hero-info":k(()=>[_(t.$slots,"home-hero-info",{},void 0,!0)]),"home-hero-info-after":k(()=>[_(t.$slots,"home-hero-info-after",{},void 0,!0)]),"home-hero-actions-after":k(()=>[_(t.$slots,"home-hero-actions-after",{},void 0,!0)]),"home-hero-image":k(()=>[_(t.$slots,"home-hero-image",{},void 0,!0)]),_:3}),_(t.$slots,"home-hero-after",{},void 0,!0),_(t.$slots,"home-features-before",{},void 0,!0),ee(Us),_(t.$slots,"home-features-after",{},void 0,!0),s(a).markdownStyles!==!1?(d(),se(js,{key:0},{default:k(()=>[ee(r)]),_:1})):(d(),se(r,{key:1}))])}}}),Ks=we(Qs,[["__scopeId","data-v-686f80a6"]]),Gs={},Zs={class:"VPPage"};function Js(e,a){const t=da("Content");return d(),p("div",Zs,[_(e.$slots,"page-top"),ee(t),_(e.$slots,"page-bottom")])}const ei=we(Gs,[["render",Js]]),ti=Z({__name:"VPContent",setup(e){const{page:a,frontmatter:t}=Oe(),{hasSidebar:n}=Ut();return(r,l)=>(d(),p("div",{class:ge(["VPContent",{"has-sidebar":s(n),"is-home":s(t).layout==="home"}]),id:"VPContent"},[s(a).isNotFound?_(r.$slots,"not-found",{key:0},()=>[ee(bo)],!0):s(t).layout==="page"?(d(),se(ei,{key:1},{"page-top":k(()=>[_(r.$slots,"page-top",{},void 0,!0)]),"page-bottom":k(()=>[_(r.$slots,"page-bottom",{},void 0,!0)]),_:3})):s(t).layout==="home"?(d(),se(Ks,{key:2},{"home-hero-before":k(()=>[_(r.$slots,"home-hero-before",{},void 0,!0)]),"home-hero-info-before":k(()=>[_(r.$slots,"home-hero-info-before",{},void 0,!0)]),"home-hero-info":k(()=>[_(r.$slots,"home-hero-info",{},void 0,!0)]),"home-hero-info-after":k(()=>[_(r.$slots,"home-hero-info-after",{},void 0,!0)]),"home-hero-actions-after":k(()=>[_(r.$slots,"home-hero-actions-after",{},void 0,!0)]),"home-hero-image":k(()=>[_(r.$slots,"home-hero-image",{},void 0,!0)]),"home-hero-after":k(()=>[_(r.$slots,"home-hero-after",{},void 0,!0)]),"home-features-before":k(()=>[_(r.$slots,"home-features-before",{},void 0,!0)]),"home-features-after":k(()=>[_(r.$slots,"home-features-after",{},void 0,!0)]),_:3})):s(t).layout&&s(t).layout!=="doc"?(d(),se(gt(s(t).layout),{key:3})):(d(),se(ps,{key:4},{"doc-top":k(()=>[_(r.$slots,"doc-top",{},void 0,!0)]),"doc-bottom":k(()=>[_(r.$slots,"doc-bottom",{},void 0,!0)]),"doc-footer-before":k(()=>[_(r.$slots,"doc-footer-before",{},void 0,!0)]),"doc-before":k(()=>[_(r.$slots,"doc-before",{},void 0,!0)]),"doc-after":k(()=>[_(r.$slots,"doc-after",{},void 0,!0)]),"aside-top":k(()=>[_(r.$slots,"aside-top",{},void 0,!0)]),"aside-outline-before":k(()=>[_(r.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":k(()=>[_(r.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":k(()=>[_(r.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":k(()=>[_(r.$slots,"aside-ads-after",{},void 0,!0)]),"aside-bottom":k(()=>[_(r.$slots,"aside-bottom",{},void 0,!0)]),_:3}))],2))}}),ai=we(ti,[["__scopeId","data-v-1428d186"]]),ni={class:"container"},ri=["innerHTML"],li=["innerHTML"],oi=Z({__name:"VPFooter",setup(e){const{theme:a,frontmatter:t}=Oe(),{hasSidebar:n}=Ut();return(r,l)=>s(a).footer&&s(t).footer!==!1?(d(),p("footer",{key:0,class:ge(["VPFooter",{"has-sidebar":s(n)}])},[y("div",ni,[s(a).footer.message?(d(),p("p",{key:0,class:"message",innerHTML:s(a).footer.message},null,8,ri)):P("",!0),s(a).footer.copyright?(d(),p("p",{key:1,class:"copyright",innerHTML:s(a).footer.copyright},null,8,li)):P("",!0)])],2)):P("",!0)}}),si=we(oi,[["__scopeId","data-v-e315a0ad"]]);function ii(){const{theme:e,frontmatter:a}=Oe(),t=Lr([]),n=D(()=>t.value.length>0);return Ka(()=>{t.value=Bn(a.value.outline??e.value.outline)}),{headers:t,hasLocalNav:n}}const ui={class:"menu-text"},di={class:"header"},ci={class:"outline"},mi=Z({__name:"VPLocalNavOutlineDropdown",props:{headers:{},navHeight:{}},setup(e){const a=e,{theme:t}=Oe(),n=M(!1),r=M(0),l=M(),o=M();function u(m){var v;(v=l.value)!=null&&v.contains(m.target)||(n.value=!1)}at(n,m=>{if(m){document.addEventListener("click",u);return}document.removeEventListener("click",u)}),jl("Escape",()=>{n.value=!1}),Ka(()=>{n.value=!1});function i(){n.value=!n.value,r.value=window.innerHeight+Math.min(window.scrollY-a.navHeight,0)}function b(m){m.target.classList.contains("outline-link")&&(o.value&&(o.value.style.transition="none"),ft(()=>{n.value=!1}))}function f(){n.value=!1,window.scrollTo({top:0,left:0,behavior:"smooth"})}return(m,v)=>(d(),p("div",{class:"VPLocalNavOutlineDropdown",style:ht({"--vp-vh":r.value+"px"}),ref_key:"main",ref:l},[m.headers.length>0?(d(),p("button",{key:0,onClick:i,class:ge({open:n.value})},[y("span",ui,he(s(Ur)(s(t))),1),v[0]||(v[0]=y("span",{class:"vpi-chevron-right icon"},null,-1))],2)):(d(),p("button",{key:1,onClick:f},he(s(t).returnToTopLabel||"Return to top"),1)),ee(Wt,{name:"flyout"},{default:k(()=>[n.value?(d(),p("div",{key:0,ref_key:"items",ref:o,class:"items",onClick:b},[y("div",di,[y("a",{class:"top-link",href:"#",onClick:f},he(s(t).returnToTopLabel||"Return to top"),1)]),y("div",ci,[ee(qr,{headers:m.headers},null,8,["headers"])])],512)):P("",!0)]),_:1})],4))}}),vi=we(mi,[["__scopeId","data-v-17a5e62e"]]),pi={class:"container"},fi=["aria-expanded"],hi={class:"menu-text"},yi=Z({__name:"VPLocalNav",props:{open:{type:Boolean}},emits:["open-menu"],setup(e){const{theme:a,frontmatter:t}=Oe(),{hasSidebar:n}=Ut(),{headers:r}=ii(),{y:l}=Er(),o=M(0);qe(()=>{o.value=parseInt(getComputedStyle(document.documentElement).getPropertyValue("--vp-nav-height"))}),Ka(()=>{r.value=Bn(t.value.outline??a.value.outline)});const u=D(()=>r.value.length===0),i=D(()=>u.value&&!n.value),b=D(()=>({VPLocalNav:!0,"has-sidebar":n.value,empty:u.value,fixed:i.value}));return(f,m)=>s(t).layout!=="home"&&(!i.value||s(l)>=o.value)?(d(),p("div",{key:0,class:ge(b.value)},[y("div",pi,[s(n)?(d(),p("button",{key:0,class:"menu","aria-expanded":f.open,"aria-controls":"VPSidebarNav",onClick:m[0]||(m[0]=v=>f.$emit("open-menu"))},[m[1]||(m[1]=y("span",{class:"vpi-align-left menu-icon"},null,-1)),y("span",hi,he(s(a).sidebarMenuLabel||"Menu"),1)],8,fi)):P("",!0),ee(vi,{headers:s(r),navHeight:o.value},null,8,["headers","navHeight"])])],2)):P("",!0)}}),gi=we(yi,[["__scopeId","data-v-a6f0e41e"]]);function bi(){const e=M(!1);function a(){e.value=!0,window.addEventListener("resize",r)}function t(){e.value=!1,window.removeEventListener("resize",r)}function n(){e.value?t():a()}function r(){window.outerWidth>=768&&t()}const l=Ga();return at(()=>l.path,t),{isScreenOpen:e,openScreen:a,closeScreen:t,toggleScreen:n}}const _i={},ki={class:"VPSwitch",type:"button",role:"switch"},wi={class:"check"},Di={key:0,class:"icon"};function $i(e,a){return d(),p("button",ki,[y("span",wi,[e.$slots.default?(d(),p("span",Di,[_(e.$slots,"default",{},void 0,!0)])):P("",!0)])])}const Pi=we(_i,[["render",$i],["__scopeId","data-v-1d5665e3"]]),Mi=Z({__name:"VPSwitchAppearance",setup(e){const{isDark:a,theme:t}=Oe(),n=Za("toggle-appearance",()=>{a.value=!a.value}),r=M("");return Hn(()=>{r.value=a.value?t.value.lightModeSwitchTitle||"Switch to light theme":t.value.darkModeSwitchTitle||"Switch to dark theme"}),(l,o)=>(d(),se(Pi,{title:r.value,class:"VPSwitchAppearance","aria-checked":s(a),onClick:s(n)},{default:k(()=>o[0]||(o[0]=[y("span",{class:"vpi-sun sun"},null,-1),y("span",{class:"vpi-moon moon"},null,-1)])),_:1},8,["title","aria-checked","onClick"]))}}),Fn=we(Mi,[["__scopeId","data-v-5337faa4"]]),Ti={key:0,class:"VPNavBarAppearance"},xi=Z({__name:"VPNavBarAppearance",setup(e){const{site:a}=Oe();return(t,n)=>s(a).appearance&&s(a).appearance!=="force-dark"&&s(a).appearance!=="force-auto"?(d(),p("div",Ti,[ee(Fn)])):P("",!0)}}),Si=we(xi,[["__scopeId","data-v-6c893767"]]),Wn=M();let jr=!1,pn=0;function Ai(e){const a=M(!1);if(Ja){!jr&&Ci(),pn++;const t=at(Wn,n=>{var r,l,o;n===e.el.value||(r=e.el.value)!=null&&r.contains(n)?(a.value=!0,(l=e.onFocus)==null||l.call(e)):(a.value=!1,(o=e.onBlur)==null||o.call(e))});zt(()=>{t(),pn--,pn||Vi()})}return Xl(a)}function Ci(){document.addEventListener("focusin",Xr),jr=!0,Wn.value=document.activeElement}function Vi(){document.removeEventListener("focusin",Xr)}function Xr(){Wn.value=document.activeElement}const Oi={class:"VPMenuLink"},Ii=["innerHTML"],Ni=Z({__name:"VPMenuLink",props:{item:{}},setup(e){const{page:a}=Oe();return(t,n)=>(d(),p("div",Oi,[ee(Rt,{class:ge({active:s(sa)(s(a).relativePath,t.item.activeMatch||t.item.link,!!t.item.activeMatch)}),href:t.item.link,target:t.item.target,rel:t.item.rel,"no-icon":t.item.noIcon},{default:k(()=>[y("span",{innerHTML:t.item.text},null,8,Ii)]),_:1},8,["class","href","target","rel","no-icon"])]))}}),en=we(Ni,[["__scopeId","data-v-35975db6"]]),Li={class:"VPMenuGroup"},Ri={key:0,class:"title"},Yi=Z({__name:"VPMenuGroup",props:{text:{},items:{}},setup(e){return(a,t)=>(d(),p("div",Li,[a.text?(d(),p("p",Ri,he(a.text),1)):P("",!0),(d(!0),p(ye,null,Se(a.items,n=>(d(),p(ye,null,["link"in n?(d(),se(en,{key:0,item:n},null,8,["item"])):P("",!0)],64))),256))]))}}),Hi=we(Yi,[["__scopeId","data-v-69e747b5"]]),Ei={class:"VPMenu"},Bi={key:0,class:"items"},Fi=Z({__name:"VPMenu",props:{items:{}},setup(e){return(a,t)=>(d(),p("div",Ei,[a.items?(d(),p("div",Bi,[(d(!0),p(ye,null,Se(a.items,n=>(d(),p(ye,{key:JSON.stringify(n)},["link"in n?(d(),se(en,{key:0,item:n},null,8,["item"])):"component"in n?(d(),se(gt(n.component),Le({key:1,ref_for:!0},n.props),null,16)):(d(),se(Hi,{key:2,text:n.text,items:n.items},null,8,["text","items"]))],64))),128))])):P("",!0),_(a.$slots,"default",{},void 0,!0)]))}}),Wi=we(Fi,[["__scopeId","data-v-b98bc113"]]),zi=["aria-expanded","aria-label"],Ui={key:0,class:"text"},qi=["innerHTML"],ji={key:1,class:"vpi-more-horizontal icon"},Xi={class:"menu"},Qi=Z({__name:"VPFlyout",props:{icon:{},button:{},label:{},items:{}},setup(e){const a=M(!1),t=M();Ai({el:t,onBlur:n});function n(){a.value=!1}return(r,l)=>(d(),p("div",{class:"VPFlyout",ref_key:"el",ref:t,onMouseenter:l[1]||(l[1]=o=>a.value=!0),onMouseleave:l[2]||(l[2]=o=>a.value=!1)},[y("button",{type:"button",class:"button","aria-haspopup":"true","aria-expanded":a.value,"aria-label":r.label,onClick:l[0]||(l[0]=o=>a.value=!a.value)},[r.button||r.icon?(d(),p("span",Ui,[r.icon?(d(),p("span",{key:0,class:ge([r.icon,"option-icon"])},null,2)):P("",!0),r.button?(d(),p("span",{key:1,innerHTML:r.button},null,8,qi)):P("",!0),l[3]||(l[3]=y("span",{class:"vpi-chevron-down text-icon"},null,-1))])):(d(),p("span",ji))],8,zi),y("div",Xi,[ee(Wi,{items:r.items},{default:k(()=>[_(r.$slots,"default",{},void 0,!0)]),_:3},8,["items"])])],544))}}),zn=we(Qi,[["__scopeId","data-v-cf11d7a2"]]),Ki=["href","aria-label","innerHTML"],Gi=Z({__name:"VPSocialLink",props:{icon:{},link:{},ariaLabel:{}},setup(e){const a=e,t=M();qe(async()=>{var l;await ft();const r=(l=t.value)==null?void 0:l.children[0];r instanceof HTMLElement&&r.className.startsWith("vpi-social-")&&(getComputedStyle(r).maskImage||getComputedStyle(r).webkitMaskImage)==="none"&&r.style.setProperty("--icon",`url('https://api.iconify.design/simple-icons/${a.icon}.svg')`)});const n=D(()=>typeof a.icon=="object"?a.icon.svg:``);return(r,l)=>(d(),p("a",{ref_key:"el",ref:t,class:"VPSocialLink no-icon",href:r.link,"aria-label":r.ariaLabel??(typeof r.icon=="string"?r.icon:""),target:"_blank",rel:"noopener",innerHTML:n.value},null,8,Ki))}}),Zi=we(Gi,[["__scopeId","data-v-bd121fe5"]]),Ji={class:"VPSocialLinks"},eu=Z({__name:"VPSocialLinks",props:{links:{}},setup(e){return(a,t)=>(d(),p("div",Ji,[(d(!0),p(ye,null,Se(a.links,({link:n,icon:r,ariaLabel:l})=>(d(),se(Zi,{key:n,icon:r,link:n,ariaLabel:l},null,8,["icon","link","ariaLabel"]))),128))]))}}),Un=we(eu,[["__scopeId","data-v-7bc22406"]]),tu={key:0,class:"group translations"},au={class:"trans-title"},nu={key:1,class:"group"},ru={class:"item appearance"},lu={class:"label"},ou={class:"appearance-action"},su={key:2,class:"group"},iu={class:"item social-links"},uu=Z({__name:"VPNavBarExtra",setup(e){const{site:a,theme:t}=Oe(),{localeLinks:n,currentLang:r}=Na({correspondingLink:!0}),l=D(()=>n.value.length&&r.value.label||a.value.appearance||t.value.socialLinks);return(o,u)=>l.value?(d(),se(zn,{key:0,class:"VPNavBarExtra",label:"extra navigation"},{default:k(()=>[s(n).length&&s(r).label?(d(),p("div",tu,[y("p",au,he(s(r).label),1),(d(!0),p(ye,null,Se(s(n),i=>(d(),se(en,{key:i.link,item:i},null,8,["item"]))),128))])):P("",!0),s(a).appearance&&s(a).appearance!=="force-dark"&&s(a).appearance!=="force-auto"?(d(),p("div",nu,[y("div",ru,[y("p",lu,he(s(t).darkModeSwitchLabel||"Appearance"),1),y("div",ou,[ee(Fn)])])])):P("",!0),s(t).socialLinks?(d(),p("div",su,[y("div",iu,[ee(Un,{class:"social-links-list",links:s(t).socialLinks},null,8,["links"])])])):P("",!0)]),_:1})):P("",!0)}}),du=we(uu,[["__scopeId","data-v-bb2aa2f0"]]),cu=["aria-expanded"],mu=Z({__name:"VPNavBarHamburger",props:{active:{type:Boolean}},emits:["click"],setup(e){return(a,t)=>(d(),p("button",{type:"button",class:ge(["VPNavBarHamburger",{active:a.active}]),"aria-label":"mobile navigation","aria-expanded":a.active,"aria-controls":"VPNavScreen",onClick:t[0]||(t[0]=n=>a.$emit("click"))},t[1]||(t[1]=[y("span",{class:"container"},[y("span",{class:"top"}),y("span",{class:"middle"}),y("span",{class:"bottom"})],-1)]),10,cu))}}),vu=we(mu,[["__scopeId","data-v-e5dd9c1c"]]),pu=["innerHTML"],fu=Z({__name:"VPNavBarMenuLink",props:{item:{}},setup(e){const{page:a}=Oe();return(t,n)=>(d(),se(Rt,{class:ge({VPNavBarMenuLink:!0,active:s(sa)(s(a).relativePath,t.item.activeMatch||t.item.link,!!t.item.activeMatch)}),href:t.item.link,target:t.item.target,rel:t.item.rel,"no-icon":t.item.noIcon,tabindex:"0"},{default:k(()=>[y("span",{innerHTML:t.item.text},null,8,pu)]),_:1},8,["class","href","target","rel","no-icon"]))}}),hu=we(fu,[["__scopeId","data-v-e56f3d57"]]),yu=Z({__name:"VPNavBarMenuGroup",props:{item:{}},setup(e){const a=e,{page:t}=Oe(),n=l=>"component"in l?!1:"link"in l?sa(t.value.relativePath,l.link,!!a.item.activeMatch):l.items.some(n),r=D(()=>n(a.item));return(l,o)=>(d(),se(zn,{class:ge({VPNavBarMenuGroup:!0,active:s(sa)(s(t).relativePath,l.item.activeMatch,!!l.item.activeMatch)||r.value}),button:l.item.text,items:l.item.items},null,8,["class","button","items"]))}}),gu={key:0,"aria-labelledby":"main-nav-aria-label",class:"VPNavBarMenu"},bu=Z({__name:"VPNavBarMenu",setup(e){const{theme:a}=Oe();return(t,n)=>s(a).nav?(d(),p("nav",gu,[n[0]||(n[0]=y("span",{id:"main-nav-aria-label",class:"visually-hidden"}," Main Navigation ",-1)),(d(!0),p(ye,null,Se(s(a).nav,r=>(d(),p(ye,{key:JSON.stringify(r)},["link"in r?(d(),se(hu,{key:0,item:r},null,8,["item"])):"component"in r?(d(),se(gt(r.component),Le({key:1,ref_for:!0},r.props),null,16)):(d(),se(yu,{key:2,item:r},null,8,["item"]))],64))),128))])):P("",!0)}}),_u=we(bu,[["__scopeId","data-v-dc692963"]]);function ku(e){const{localeIndex:a,theme:t}=Oe();function n(r){var w,T,N;const l=r.split("."),o=(w=t.value.search)==null?void 0:w.options,u=o&&typeof o=="object",i=u&&((N=(T=o.locales)==null?void 0:T[a.value])==null?void 0:N.translations)||null,b=u&&o.translations||null;let f=i,m=b,v=e;const g=l.pop();for(const S of l){let E=null;const O=v==null?void 0:v[S];O&&(E=v=O);const W=m==null?void 0:m[S];W&&(E=m=W);const re=f==null?void 0:f[S];re&&(E=f=re),O||(v=E),W||(m=E),re||(f=E)}return(f==null?void 0:f[g])??(m==null?void 0:m[g])??(v==null?void 0:v[g])??""}return n}const wu=["aria-label"],Du={class:"DocSearch-Button-Container"},$u={class:"DocSearch-Button-Placeholder"},pr=Z({__name:"VPNavBarSearchButton",setup(e){const t=ku({button:{buttonText:"Search",buttonAriaLabel:"Search"}});return(n,r)=>(d(),p("button",{type:"button",class:"DocSearch DocSearch-Button","aria-label":s(t)("button.buttonAriaLabel")},[y("span",Du,[r[0]||(r[0]=y("span",{class:"vp-icon DocSearch-Search-Icon"},null,-1)),y("span",$u,he(s(t)("button.buttonText")),1)]),r[1]||(r[1]=y("span",{class:"DocSearch-Button-Keys"},[y("kbd",{class:"DocSearch-Button-Key"}),y("kbd",{class:"DocSearch-Button-Key"},"K")],-1))],8,wu))}}),Pu={class:"VPNavBarSearch"},Mu={id:"local-search"},Tu={key:1,id:"docsearch"},xu=Z({__name:"VPNavBarSearch",setup(e){const a=()=>null,t=Rr(()=>Yr(()=>import("./VPAlgoliaSearchBox.l0wMk8yr.js"),__vite__mapDeps([2,1]))),{theme:n}=Oe(),r=M(!1),l=M(!1),o=()=>{const v="VPAlgoliaPreconnect";(window.requestIdleCallback||setTimeout)(()=>{var T;const w=document.createElement("link");w.id=v,w.rel="preconnect",w.href=`https://${(((T=n.value.search)==null?void 0:T.options)??n.value.algolia).appId}-dsn.algolia.net`,w.crossOrigin="",document.head.appendChild(w)})};qe(()=>{o();const v=w=>{(w.key.toLowerCase()==="k"&&(w.metaKey||w.ctrlKey)||!b(w)&&w.key==="/")&&(w.preventDefault(),u(),g())},g=()=>{window.removeEventListener("keydown",v)};window.addEventListener("keydown",v),zt(g)});function u(){r.value||(r.value=!0,setTimeout(i,16))}function i(){const v=new Event("keydown");v.key="k",v.metaKey=!0,window.dispatchEvent(v),setTimeout(()=>{document.querySelector(".DocSearch-Modal")||i()},16)}function b(v){const g=v.target,w=g.tagName;return g.isContentEditable||w==="INPUT"||w==="SELECT"||w==="TEXTAREA"}const f=M(!1),m="algolia";return(v,g)=>{var w;return d(),p("div",Pu,[s(m)==="local"?(d(),p(ye,{key:0},[f.value?(d(),se(s(a),{key:0,onClose:g[0]||(g[0]=T=>f.value=!1)})):P("",!0),y("div",Mu,[ee(pr,{onClick:g[1]||(g[1]=T=>f.value=!0)})])],64)):s(m)==="algolia"?(d(),p(ye,{key:1},[r.value?(d(),se(s(t),{key:0,algolia:((w=s(n).search)==null?void 0:w.options)??s(n).algolia,onVnodeBeforeMount:g[2]||(g[2]=T=>l.value=!0)},null,8,["algolia"])):P("",!0),l.value?P("",!0):(d(),p("div",Tu,[ee(pr,{onClick:u})]))],64)):P("",!0)])}}}),Su=Z({__name:"VPNavBarSocialLinks",setup(e){const{theme:a}=Oe();return(t,n)=>s(a).socialLinks?(d(),se(Un,{key:0,class:"VPNavBarSocialLinks",links:s(a).socialLinks},null,8,["links"])):P("",!0)}}),Au=we(Su,[["__scopeId","data-v-0394ad82"]]),Cu=["href","rel","target"],Vu=["innerHTML"],Ou={key:2},Iu=Z({__name:"VPNavBarTitle",setup(e){const{site:a,theme:t}=Oe(),{hasSidebar:n}=Ut(),{currentLang:r}=Na(),l=D(()=>{var i;return typeof t.value.logoLink=="string"?t.value.logoLink:(i=t.value.logoLink)==null?void 0:i.link}),o=D(()=>{var i;return typeof t.value.logoLink=="string"||(i=t.value.logoLink)==null?void 0:i.rel}),u=D(()=>{var i;return typeof t.value.logoLink=="string"||(i=t.value.logoLink)==null?void 0:i.target});return(i,b)=>(d(),p("div",{class:ge(["VPNavBarTitle",{"has-sidebar":s(n)}])},[y("a",{class:"title",href:l.value??s(En)(s(r).link),rel:o.value,target:u.value},[_(i.$slots,"nav-bar-title-before",{},void 0,!0),s(t).logo?(d(),se(Ua,{key:0,class:"logo",image:s(t).logo},null,8,["image"])):P("",!0),s(t).siteTitle?(d(),p("span",{key:1,innerHTML:s(t).siteTitle},null,8,Vu)):s(t).siteTitle===void 0?(d(),p("span",Ou,he(s(a).title),1)):P("",!0),_(i.$slots,"nav-bar-title-after",{},void 0,!0)],8,Cu)],2))}}),Nu=we(Iu,[["__scopeId","data-v-1168a8e4"]]),Lu={class:"items"},Ru={class:"title"},Yu=Z({__name:"VPNavBarTranslations",setup(e){const{theme:a}=Oe(),{localeLinks:t,currentLang:n}=Na({correspondingLink:!0});return(r,l)=>s(t).length&&s(n).label?(d(),se(zn,{key:0,class:"VPNavBarTranslations",icon:"vpi-languages",label:s(a).langMenuLabel||"Change language"},{default:k(()=>[y("div",Lu,[y("p",Ru,he(s(n).label),1),(d(!0),p(ye,null,Se(s(t),o=>(d(),se(en,{key:o.link,item:o},null,8,["item"]))),128))])]),_:1},8,["label"])):P("",!0)}}),Hu=we(Yu,[["__scopeId","data-v-88af2de4"]]),Eu={class:"wrapper"},Bu={class:"container"},Fu={class:"title"},Wu={class:"content"},zu={class:"content-body"},Uu=Z({__name:"VPNavBar",props:{isScreenOpen:{type:Boolean}},emits:["toggle-screen"],setup(e){const a=e,{y:t}=Er(),{hasSidebar:n}=Ut(),{frontmatter:r}=Oe(),l=M({});return Hn(()=>{l.value={"has-sidebar":n.value,home:r.value.layout==="home",top:t.value===0,"screen-open":a.isScreenOpen}}),(o,u)=>(d(),p("div",{class:ge(["VPNavBar",l.value])},[y("div",Eu,[y("div",Bu,[y("div",Fu,[ee(Nu,null,{"nav-bar-title-before":k(()=>[_(o.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":k(()=>[_(o.$slots,"nav-bar-title-after",{},void 0,!0)]),_:3})]),y("div",Wu,[y("div",zu,[_(o.$slots,"nav-bar-content-before",{},void 0,!0),ee(xu,{class:"search"}),ee(_u,{class:"menu"}),ee(Hu,{class:"translations"}),ee(Si,{class:"appearance"}),ee(Au,{class:"social-links"}),ee(du,{class:"extra"}),_(o.$slots,"nav-bar-content-after",{},void 0,!0),ee(vu,{class:"hamburger",active:o.isScreenOpen,onClick:u[0]||(u[0]=i=>o.$emit("toggle-screen"))},null,8,["active"])])])])]),u[1]||(u[1]=y("div",{class:"divider"},[y("div",{class:"divider-line"})],-1))],2))}}),qu=we(Uu,[["__scopeId","data-v-6aa21345"]]),ju={key:0,class:"VPNavScreenAppearance"},Xu={class:"text"},Qu=Z({__name:"VPNavScreenAppearance",setup(e){const{site:a,theme:t}=Oe();return(n,r)=>s(a).appearance&&s(a).appearance!=="force-dark"&&s(a).appearance!=="force-auto"?(d(),p("div",ju,[y("p",Xu,he(s(t).darkModeSwitchLabel||"Appearance"),1),ee(Fn)])):P("",!0)}}),Ku=we(Qu,[["__scopeId","data-v-b44890b2"]]),Gu=["innerHTML"],Zu=Z({__name:"VPNavScreenMenuLink",props:{item:{}},setup(e){const a=Za("close-screen");return(t,n)=>(d(),se(Rt,{class:"VPNavScreenMenuLink",href:t.item.link,target:t.item.target,rel:t.item.rel,"no-icon":t.item.noIcon,onClick:s(a)},{default:k(()=>[y("span",{innerHTML:t.item.text},null,8,Gu)]),_:1},8,["href","target","rel","no-icon","onClick"]))}}),Ju=we(Zu,[["__scopeId","data-v-df37e6dd"]]),ed=["innerHTML"],td=Z({__name:"VPNavScreenMenuGroupLink",props:{item:{}},setup(e){const a=Za("close-screen");return(t,n)=>(d(),se(Rt,{class:"VPNavScreenMenuGroupLink",href:t.item.link,target:t.item.target,rel:t.item.rel,"no-icon":t.item.noIcon,onClick:s(a)},{default:k(()=>[y("span",{innerHTML:t.item.text},null,8,ed)]),_:1},8,["href","target","rel","no-icon","onClick"]))}}),Qr=we(td,[["__scopeId","data-v-3e9c20e4"]]),ad={class:"VPNavScreenMenuGroupSection"},nd={key:0,class:"title"},rd=Z({__name:"VPNavScreenMenuGroupSection",props:{text:{},items:{}},setup(e){return(a,t)=>(d(),p("div",ad,[a.text?(d(),p("p",nd,he(a.text),1)):P("",!0),(d(!0),p(ye,null,Se(a.items,n=>(d(),se(Qr,{key:n.text,item:n},null,8,["item"]))),128))]))}}),ld=we(rd,[["__scopeId","data-v-8133b170"]]),od=["aria-controls","aria-expanded"],sd=["innerHTML"],id=["id"],ud={key:0,class:"item"},dd={key:1,class:"item"},cd={key:2,class:"group"},md=Z({__name:"VPNavScreenMenuGroup",props:{text:{},items:{}},setup(e){const a=e,t=M(!1),n=D(()=>`NavScreenGroup-${a.text.replace(" ","-").toLowerCase()}`);function r(){t.value=!t.value}return(l,o)=>(d(),p("div",{class:ge(["VPNavScreenMenuGroup",{open:t.value}])},[y("button",{class:"button","aria-controls":n.value,"aria-expanded":t.value,onClick:r},[y("span",{class:"button-text",innerHTML:l.text},null,8,sd),o[0]||(o[0]=y("span",{class:"vpi-plus button-icon"},null,-1))],8,od),y("div",{id:n.value,class:"items"},[(d(!0),p(ye,null,Se(l.items,u=>(d(),p(ye,{key:JSON.stringify(u)},["link"in u?(d(),p("div",ud,[ee(Qr,{item:u},null,8,["item"])])):"component"in u?(d(),p("div",dd,[(d(),se(gt(u.component),Le({ref_for:!0},u.props,{"screen-menu":""}),null,16))])):(d(),p("div",cd,[ee(ld,{text:u.text,items:u.items},null,8,["text","items"])]))],64))),128))],8,id)],2))}}),vd=we(md,[["__scopeId","data-v-b9ab8c58"]]),pd={key:0,class:"VPNavScreenMenu"},fd=Z({__name:"VPNavScreenMenu",setup(e){const{theme:a}=Oe();return(t,n)=>s(a).nav?(d(),p("nav",pd,[(d(!0),p(ye,null,Se(s(a).nav,r=>(d(),p(ye,{key:JSON.stringify(r)},["link"in r?(d(),se(Ju,{key:0,item:r},null,8,["item"])):"component"in r?(d(),se(gt(r.component),Le({key:1,ref_for:!0},r.props,{"screen-menu":""}),null,16)):(d(),se(vd,{key:2,text:r.text||"",items:r.items},null,8,["text","items"]))],64))),128))])):P("",!0)}}),hd=Z({__name:"VPNavScreenSocialLinks",setup(e){const{theme:a}=Oe();return(t,n)=>s(a).socialLinks?(d(),se(Un,{key:0,class:"VPNavScreenSocialLinks",links:s(a).socialLinks},null,8,["links"])):P("",!0)}}),yd={class:"list"},gd=Z({__name:"VPNavScreenTranslations",setup(e){const{localeLinks:a,currentLang:t}=Na({correspondingLink:!0}),n=M(!1);function r(){n.value=!n.value}return(l,o)=>s(a).length&&s(t).label?(d(),p("div",{key:0,class:ge(["VPNavScreenTranslations",{open:n.value}])},[y("button",{class:"title",onClick:r},[o[0]||(o[0]=y("span",{class:"vpi-languages icon lang"},null,-1)),Be(" "+he(s(t).label)+" ",1),o[1]||(o[1]=y("span",{class:"vpi-chevron-down icon chevron"},null,-1))]),y("ul",yd,[(d(!0),p(ye,null,Se(s(a),u=>(d(),p("li",{key:u.link,class:"item"},[ee(Rt,{class:"link",href:u.link},{default:k(()=>[Be(he(u.text),1)]),_:2},1032,["href"])]))),128))])],2)):P("",!0)}}),bd=we(gd,[["__scopeId","data-v-858fe1a4"]]),_d={class:"container"},kd=Z({__name:"VPNavScreen",props:{open:{type:Boolean}},setup(e){const a=M(null),t=Br(Ja?document.body:null);return(n,r)=>(d(),se(Wt,{name:"fade",onEnter:r[0]||(r[0]=l=>t.value=!0),onAfterLeave:r[1]||(r[1]=l=>t.value=!1)},{default:k(()=>[n.open?(d(),p("div",{key:0,class:"VPNavScreen",ref_key:"screen",ref:a,id:"VPNavScreen"},[y("div",_d,[_(n.$slots,"nav-screen-content-before",{},void 0,!0),ee(fd,{class:"menu"}),ee(bd,{class:"translations"}),ee(Ku,{class:"appearance"}),ee(hd,{class:"social-links"}),_(n.$slots,"nav-screen-content-after",{},void 0,!0)])],512)):P("",!0)]),_:3}))}}),wd=we(kd,[["__scopeId","data-v-f2779853"]]),Dd={key:0,class:"VPNav"},$d=Z({__name:"VPNav",setup(e){const{isScreenOpen:a,closeScreen:t,toggleScreen:n}=bi(),{frontmatter:r}=Oe(),l=D(()=>r.value.navbar!==!1);return Fr("close-screen",t),Qa(()=>{Ja&&document.documentElement.classList.toggle("hide-nav",!l.value)}),(o,u)=>l.value?(d(),p("header",Dd,[ee(qu,{"is-screen-open":s(a),onToggleScreen:s(n)},{"nav-bar-title-before":k(()=>[_(o.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":k(()=>[_(o.$slots,"nav-bar-title-after",{},void 0,!0)]),"nav-bar-content-before":k(()=>[_(o.$slots,"nav-bar-content-before",{},void 0,!0)]),"nav-bar-content-after":k(()=>[_(o.$slots,"nav-bar-content-after",{},void 0,!0)]),_:3},8,["is-screen-open","onToggleScreen"]),ee(wd,{open:s(a)},{"nav-screen-content-before":k(()=>[_(o.$slots,"nav-screen-content-before",{},void 0,!0)]),"nav-screen-content-after":k(()=>[_(o.$slots,"nav-screen-content-after",{},void 0,!0)]),_:3},8,["open"])])):P("",!0)}}),Pd=we($d,[["__scopeId","data-v-ae24b3ad"]]),Md=["role","tabindex"],Td={key:1,class:"items"},xd=Z({__name:"VPSidebarItem",props:{item:{},depth:{}},setup(e){const a=e,{collapsed:t,collapsible:n,isLink:r,isActiveLink:l,hasActiveLink:o,hasChildren:u,toggle:i}=Do(D(()=>a.item)),b=D(()=>u.value?"section":"div"),f=D(()=>r.value?"a":"div"),m=D(()=>u.value?a.depth+2===7?"p":`h${a.depth+2}`:"p"),v=D(()=>r.value?void 0:"button"),g=D(()=>[[`level-${a.depth}`],{collapsible:n.value},{collapsed:t.value},{"is-link":r.value},{"is-active":l.value},{"has-active":o.value}]);function w(N){"key"in N&&N.key!=="Enter"||!a.item.link&&i()}function T(){a.item.link&&i()}return(N,S)=>{const E=da("VPSidebarItem",!0);return d(),se(gt(b.value),{class:ge(["VPSidebarItem",g.value])},{default:k(()=>[N.item.text?(d(),p("div",Le({key:0,class:"item",role:v.value},Ql(N.item.items?{click:w,keydown:w}:{},!0),{tabindex:N.item.items&&0}),[S[1]||(S[1]=y("div",{class:"indicator"},null,-1)),N.item.link?(d(),se(Rt,{key:0,tag:f.value,class:"link",href:N.item.link,rel:N.item.rel,target:N.item.target},{default:k(()=>[(d(),se(gt(m.value),{class:"text",innerHTML:N.item.text},null,8,["innerHTML"]))]),_:1},8,["tag","href","rel","target"])):(d(),se(gt(m.value),{key:1,class:"text",innerHTML:N.item.text},null,8,["innerHTML"])),N.item.collapsed!=null&&N.item.items&&N.item.items.length?(d(),p("div",{key:2,class:"caret",role:"button","aria-label":"toggle section",onClick:T,onKeydown:Wr(T,["enter"]),tabindex:"0"},S[0]||(S[0]=[y("span",{class:"vpi-chevron-right caret-icon"},null,-1)]),32)):P("",!0)],16,Md)):P("",!0),N.item.items&&N.item.items.length?(d(),p("div",Td,[N.depth<5?(d(!0),p(ye,{key:0},Se(N.item.items,O=>(d(),se(E,{key:O.text,item:O,depth:N.depth+1},null,8,["item","depth"]))),128)):P("",!0)])):P("",!0)]),_:1},8,["class"])}}}),Sd=we(xd,[["__scopeId","data-v-b7550ba0"]]),Ad=Z({__name:"VPSidebarGroup",props:{items:{}},setup(e){const a=M(!0);let t=null;return qe(()=>{t=setTimeout(()=>{t=null,a.value=!1},300)}),Kl(()=>{t!=null&&(clearTimeout(t),t=null)}),(n,r)=>(d(!0),p(ye,null,Se(n.items,l=>(d(),p("div",{key:l.text,class:ge(["group",{"no-transition":a.value}])},[ee(Sd,{item:l,depth:0},null,8,["item"])],2))),128))}}),Cd=we(Ad,[["__scopeId","data-v-c40bc020"]]),Vd={class:"nav",id:"VPSidebarNav","aria-labelledby":"sidebar-aria-label",tabindex:"-1"},Od=Z({__name:"VPSidebar",props:{open:{type:Boolean}},setup(e){const{sidebarGroups:a,hasSidebar:t}=Ut(),n=e,r=M(null),l=Br(Ja?document.body:null);at([n,r],()=>{var u;n.open?(l.value=!0,(u=r.value)==null||u.focus()):l.value=!1},{immediate:!0,flush:"post"});const o=M(0);return at(a,()=>{o.value+=1},{deep:!0}),(u,i)=>s(t)?(d(),p("aside",{key:0,class:ge(["VPSidebar",{open:u.open}]),ref_key:"navEl",ref:r,onClick:i[0]||(i[0]=ia(()=>{},["stop"]))},[i[2]||(i[2]=y("div",{class:"curtain"},null,-1)),y("nav",Vd,[i[1]||(i[1]=y("span",{class:"visually-hidden",id:"sidebar-aria-label"}," Sidebar Navigation ",-1)),_(u.$slots,"sidebar-nav-before",{},void 0,!0),(d(),se(Cd,{items:s(a),key:o.value},null,8,["items"])),_(u.$slots,"sidebar-nav-after",{},void 0,!0)])],2)):P("",!0)}}),Id=we(Od,[["__scopeId","data-v-319d5ca6"]]),Nd=Z({__name:"VPSkipLink",setup(e){const a=Ga(),t=M();at(()=>a.path,()=>t.value.focus());function n({target:r}){const l=document.getElementById(decodeURIComponent(r.hash).slice(1));if(l){const o=()=>{l.removeAttribute("tabindex"),l.removeEventListener("blur",o)};l.setAttribute("tabindex","-1"),l.addEventListener("blur",o),l.focus(),window.scrollTo(0,0)}}return(r,l)=>(d(),p(ye,null,[y("span",{ref_key:"backToTop",ref:t,tabindex:"-1"},null,512),y("a",{href:"#VPContent",class:"VPSkipLink visually-hidden",onClick:n}," Skip to content ")],64))}}),Ld=we(Nd,[["__scopeId","data-v-0f60ec36"]]),Rd=Z({__name:"Layout",setup(e){const{isOpen:a,open:t,close:n}=Ut(),r=Ga();at(()=>r.path,n),wo(a,n);const{frontmatter:l}=Oe(),o=ea(),u=D(()=>!!o["home-hero-image"]);return Fr("hero-image-slot-exists",u),(i,b)=>{const f=da("Content");return s(l).layout!==!1?(d(),p("div",{key:0,class:ge(["Layout",s(l).pageClass])},[_(i.$slots,"layout-top",{},void 0,!0),ee(Ld),ee(io,{class:"backdrop",show:s(a),onClick:s(n)},null,8,["show","onClick"]),ee(Pd,null,{"nav-bar-title-before":k(()=>[_(i.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":k(()=>[_(i.$slots,"nav-bar-title-after",{},void 0,!0)]),"nav-bar-content-before":k(()=>[_(i.$slots,"nav-bar-content-before",{},void 0,!0)]),"nav-bar-content-after":k(()=>[_(i.$slots,"nav-bar-content-after",{},void 0,!0)]),"nav-screen-content-before":k(()=>[_(i.$slots,"nav-screen-content-before",{},void 0,!0)]),"nav-screen-content-after":k(()=>[_(i.$slots,"nav-screen-content-after",{},void 0,!0)]),_:3}),ee(gi,{open:s(a),onOpenMenu:s(t)},null,8,["open","onOpenMenu"]),ee(Id,{open:s(a)},{"sidebar-nav-before":k(()=>[_(i.$slots,"sidebar-nav-before",{},void 0,!0)]),"sidebar-nav-after":k(()=>[_(i.$slots,"sidebar-nav-after",{},void 0,!0)]),_:3},8,["open"]),ee(ai,null,{"page-top":k(()=>[_(i.$slots,"page-top",{},void 0,!0)]),"page-bottom":k(()=>[_(i.$slots,"page-bottom",{},void 0,!0)]),"not-found":k(()=>[_(i.$slots,"not-found",{},void 0,!0)]),"home-hero-before":k(()=>[_(i.$slots,"home-hero-before",{},void 0,!0)]),"home-hero-info-before":k(()=>[_(i.$slots,"home-hero-info-before",{},void 0,!0)]),"home-hero-info":k(()=>[_(i.$slots,"home-hero-info",{},void 0,!0)]),"home-hero-info-after":k(()=>[_(i.$slots,"home-hero-info-after",{},void 0,!0)]),"home-hero-actions-after":k(()=>[_(i.$slots,"home-hero-actions-after",{},void 0,!0)]),"home-hero-image":k(()=>[_(i.$slots,"home-hero-image",{},void 0,!0)]),"home-hero-after":k(()=>[_(i.$slots,"home-hero-after",{},void 0,!0)]),"home-features-before":k(()=>[_(i.$slots,"home-features-before",{},void 0,!0)]),"home-features-after":k(()=>[_(i.$slots,"home-features-after",{},void 0,!0)]),"doc-footer-before":k(()=>[_(i.$slots,"doc-footer-before",{},void 0,!0)]),"doc-before":k(()=>[_(i.$slots,"doc-before",{},void 0,!0)]),"doc-after":k(()=>[_(i.$slots,"doc-after",{},void 0,!0)]),"doc-top":k(()=>[_(i.$slots,"doc-top",{},void 0,!0)]),"doc-bottom":k(()=>[_(i.$slots,"doc-bottom",{},void 0,!0)]),"aside-top":k(()=>[_(i.$slots,"aside-top",{},void 0,!0)]),"aside-bottom":k(()=>[_(i.$slots,"aside-bottom",{},void 0,!0)]),"aside-outline-before":k(()=>[_(i.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":k(()=>[_(i.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":k(()=>[_(i.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":k(()=>[_(i.$slots,"aside-ads-after",{},void 0,!0)]),_:3}),ee(si),_(i.$slots,"layout-bottom",{},void 0,!0)],2)):(d(),se(f,{key:1}))}}}),Yd=we(Rd,[["__scopeId","data-v-5d98c3a5"]]),Hd={Layout:Yd,enhanceApp:({app:e})=>{e.component("Badge",lo)}},Ed={},Bd={class:"star-and-sponsor"};function Fd(e,a){return d(),p("div",Bd,a[0]||(a[0]=[y("p",null,[Be(" ⭐ If you like the component, give it a star on "),y("a",{class:"home-link",href:"https://github.com/Vuepic/vue-datepicker",target:"_blank"},"GitHub"),Be(" and consider "),y("a",{class:"home-link",href:"https://github.com/sponsors/Vuepic",target:"_blank"},"sponsoring"),Be(" its development! ⭐ ")],-1)]))}const Wd=we(Ed,[["render",Fd]]),Kr=6048e5,zd=864e5,Ud=6e4,Gr=36e5,qd=1e3,fr=Symbol.for("constructDateFrom");function Fe(e,a){return typeof e=="function"?e(a):e&&typeof e=="object"&&fr in e?e[fr](a):e instanceof Date?new e.constructor(a):new Date(a)}function Te(e,a){return Fe(a||e,e)}function rt(e,a,t){const n=Te(e,t==null?void 0:t.in);return isNaN(a)?Fe((t==null?void 0:t.in)||e,NaN):(a&&n.setDate(n.getDate()+a),n)}function kt(e,a,t){const n=Te(e,t==null?void 0:t.in);if(isNaN(a))return Fe(e,NaN);if(!a)return n;const r=n.getDate(),l=Fe(e,n.getTime());l.setMonth(n.getMonth()+a+1,0);const o=l.getDate();return r>=o?l:(n.setFullYear(l.getFullYear(),l.getMonth(),r),n)}function Zr(e,a,t){const{years:n=0,months:r=0,weeks:l=0,days:o=0,hours:u=0,minutes:i=0,seconds:b=0}=a,f=Te(e,t==null?void 0:t.in),m=r||n?kt(f,r+n*12):f,v=o||l?rt(m,o+l*7):m,g=i+u*60,T=(b+g*60)*1e3;return Fe(e,+v+T)}function jd(e,a,t){return Fe(e,+Te(e)+a)}function Xd(e,a,t){return jd(e,a*Gr)}let Qd={};function ca(){return Qd}function Tt(e,a){var u,i,b,f;const t=ca(),n=(a==null?void 0:a.weekStartsOn)??((i=(u=a==null?void 0:a.locale)==null?void 0:u.options)==null?void 0:i.weekStartsOn)??t.weekStartsOn??((f=(b=t.locale)==null?void 0:b.options)==null?void 0:f.weekStartsOn)??0,r=Te(e,a==null?void 0:a.in),l=r.getDay(),o=(l=l.getTime()?n+1:t.getTime()>=u.getTime()?n:n-1}function qa(e){const a=Te(e),t=new Date(Date.UTC(a.getFullYear(),a.getMonth(),a.getDate(),a.getHours(),a.getMinutes(),a.getSeconds(),a.getMilliseconds()));return t.setUTCFullYear(a.getFullYear()),+e-+t}function La(e,...a){const t=Fe.bind(null,a.find(n=>typeof n=="object"));return a.map(t)}function hr(e,a){const t=Te(e,a==null?void 0:a.in);return t.setHours(0,0,0,0),t}function el(e,a,t){const[n,r]=La(t==null?void 0:t.in,e,a),l=hr(n),o=hr(r),u=+l-qa(l),i=+o-qa(o);return Math.round((u-i)/zd)}function Kd(e,a){const t=Jr(e,a),n=Fe(e,0);return n.setFullYear(t,0,4),n.setHours(0,0,0,0),ga(n)}function Gd(e,a,t){return kt(e,a*3,t)}function qn(e,a,t){return kt(e,a*12,t)}function yr(e,a){const t=+Te(e)-+Te(a);return t<0?-1:t>0?1:t}function tl(e){return e instanceof Date||typeof e=="object"&&Object.prototype.toString.call(e)==="[object Date]"}function Sa(e){return!(!tl(e)&&typeof e!="number"||isNaN(+Te(e)))}function gr(e,a){const t=Te(e,a==null?void 0:a.in);return Math.trunc(t.getMonth()/3)+1}function Zd(e,a,t){const[n,r]=La(t==null?void 0:t.in,e,a);return n.getFullYear()-r.getFullYear()}function br(e,a){const t=Te(e,a==null?void 0:a.in),n=t.getMonth();return t.setFullYear(t.getFullYear(),n+1,0),t.setHours(23,59,59,999),t}function Jd(e,a,t){const[n,r]=La(t==null?void 0:t.in,e,a),l=yr(n,r),o=Math.abs(Zd(n,r));n.setFullYear(1584),r.setFullYear(1584);const u=yr(n,r)===-l,i=l*(o-+u);return i===0?0:i}function al(e,a){const[t,n]=La(e,a.start,a.end);return{start:t,end:n}}function nl(e,a){const{start:t,end:n}=al(a==null?void 0:a.in,e);let r=+t>+n;const l=r?+t:+n,o=r?n:t;o.setHours(0,0,0,0);let u=1;const i=[];for(;+o<=l;)i.push(Fe(t,o)),o.setDate(o.getDate()+u),o.setHours(0,0,0,0);return r?i.reverse():i}function Qt(e,a){const t=Te(e,a==null?void 0:a.in),n=t.getMonth(),r=n-n%3;return t.setMonth(r,1),t.setHours(0,0,0,0),t}function ec(e,a){const{start:t,end:n}=al(a==null?void 0:a.in,e);let r=+t>+n;const l=r?+Qt(t):+Qt(n);let o=Qt(r?n:t),u=1;const i=[];for(;+o<=l;)i.push(Fe(t,o)),o=Gd(o,u);return r?i.reverse():i}function An(e,a){const t=Te(e,a==null?void 0:a.in);return t.setDate(1),t.setHours(0,0,0,0),t}function jn(e,a){const t=Te(e,a==null?void 0:a.in),n=t.getFullYear();return t.setFullYear(n+1,0,0),t.setHours(23,59,59,999),t}function ba(e,a){const t=Te(e,a==null?void 0:a.in);return t.setFullYear(t.getFullYear(),0,1),t.setHours(0,0,0,0),t}function rl(e,a){var u,i,b,f;const t=ca(),n=(a==null?void 0:a.weekStartsOn)??((i=(u=a==null?void 0:a.locale)==null?void 0:u.options)==null?void 0:i.weekStartsOn)??t.weekStartsOn??((f=(b=t.locale)==null?void 0:b.options)==null?void 0:f.weekStartsOn)??0,r=Te(e,a==null?void 0:a.in),l=r.getDay(),o=(l{let n;const r=tc[e];return typeof r=="string"?n=r:a===1?n=r.one:n=r.other.replace("{{count}}",a.toString()),t!=null&&t.addSuffix?t.comparison&&t.comparison>0?"in "+n:n+" ago":n};function ha(e){return(a={})=>{const t=a.width?String(a.width):e.defaultWidth;return e.formats[t]||e.formats[e.defaultWidth]}}const nc={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},rc={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},lc={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},oc={date:ha({formats:nc,defaultWidth:"full"}),time:ha({formats:rc,defaultWidth:"full"}),dateTime:ha({formats:lc,defaultWidth:"full"})},sc={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},ic=(e,a,t,n)=>sc[e];function Vt(e){return(a,t)=>{const n=t!=null&&t.context?String(t.context):"standalone";let r;if(n==="formatting"&&e.formattingValues){const o=e.defaultFormattingWidth||e.defaultWidth,u=t!=null&&t.width?String(t.width):o;r=e.formattingValues[u]||e.formattingValues[o]}else{const o=e.defaultWidth,u=t!=null&&t.width?String(t.width):e.defaultWidth;r=e.values[u]||e.values[o]}const l=e.argumentCallback?e.argumentCallback(a):a;return r[l]}}const uc={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},dc={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},cc={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},mc={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},vc={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},pc={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},fc=(e,a)=>{const t=Number(e),n=t%100;if(n>20||n<10)switch(n%10){case 1:return t+"st";case 2:return t+"nd";case 3:return t+"rd"}return t+"th"},hc={ordinalNumber:fc,era:Vt({values:uc,defaultWidth:"wide"}),quarter:Vt({values:dc,defaultWidth:"wide",argumentCallback:e=>e-1}),month:Vt({values:cc,defaultWidth:"wide"}),day:Vt({values:mc,defaultWidth:"wide"}),dayPeriod:Vt({values:vc,defaultWidth:"wide",formattingValues:pc,defaultFormattingWidth:"wide"})};function Ot(e){return(a,t={})=>{const n=t.width,r=n&&e.matchPatterns[n]||e.matchPatterns[e.defaultMatchWidth],l=a.match(r);if(!l)return null;const o=l[0],u=n&&e.parsePatterns[n]||e.parsePatterns[e.defaultParseWidth],i=Array.isArray(u)?gc(u,m=>m.test(o)):yc(u,m=>m.test(o));let b;b=e.valueCallback?e.valueCallback(i):i,b=t.valueCallback?t.valueCallback(b):b;const f=a.slice(o.length);return{value:b,rest:f}}}function yc(e,a){for(const t in e)if(Object.prototype.hasOwnProperty.call(e,t)&&a(e[t]))return t}function gc(e,a){for(let t=0;t{const n=a.match(e.matchPattern);if(!n)return null;const r=n[0],l=a.match(e.parsePattern);if(!l)return null;let o=e.valueCallback?e.valueCallback(l[0]):l[0];o=t.valueCallback?t.valueCallback(o):o;const u=a.slice(r.length);return{value:o,rest:u}}}const bc=/^(\d+)(th|st|nd|rd)?/i,_c=/\d+/i,kc={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},wc={any:[/^b/i,/^(a|c)/i]},Dc={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},$c={any:[/1/i,/2/i,/3/i,/4/i]},Pc={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},Mc={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},Tc={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},xc={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},Sc={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},Ac={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},Cc={ordinalNumber:ll({matchPattern:bc,parsePattern:_c,valueCallback:e=>parseInt(e,10)}),era:Ot({matchPatterns:kc,defaultMatchWidth:"wide",parsePatterns:wc,defaultParseWidth:"any"}),quarter:Ot({matchPatterns:Dc,defaultMatchWidth:"wide",parsePatterns:$c,defaultParseWidth:"any",valueCallback:e=>e+1}),month:Ot({matchPatterns:Pc,defaultMatchWidth:"wide",parsePatterns:Mc,defaultParseWidth:"any"}),day:Ot({matchPatterns:Tc,defaultMatchWidth:"wide",parsePatterns:xc,defaultParseWidth:"any"}),dayPeriod:Ot({matchPatterns:Sc,defaultMatchWidth:"any",parsePatterns:Ac,defaultParseWidth:"any"})},ol={code:"en-US",formatDistance:ac,formatLong:oc,formatRelative:ic,localize:hc,match:Cc,options:{weekStartsOn:0,firstWeekContainsDate:1}};function Vc(e,a){const t=Te(e,a==null?void 0:a.in);return el(t,ba(t))+1}function Xn(e,a){const t=Te(e,a==null?void 0:a.in),n=+ga(t)-+Kd(t);return Math.round(n/Kr)+1}function Qn(e,a){var f,m,v,g;const t=Te(e,a==null?void 0:a.in),n=t.getFullYear(),r=ca(),l=(a==null?void 0:a.firstWeekContainsDate)??((m=(f=a==null?void 0:a.locale)==null?void 0:f.options)==null?void 0:m.firstWeekContainsDate)??r.firstWeekContainsDate??((g=(v=r.locale)==null?void 0:v.options)==null?void 0:g.firstWeekContainsDate)??1,o=Fe((a==null?void 0:a.in)||e,0);o.setFullYear(n+1,0,l),o.setHours(0,0,0,0);const u=Tt(o,a),i=Fe((a==null?void 0:a.in)||e,0);i.setFullYear(n,0,l),i.setHours(0,0,0,0);const b=Tt(i,a);return+t>=+u?n+1:+t>=+b?n:n-1}function Oc(e,a){var u,i,b,f;const t=ca(),n=(a==null?void 0:a.firstWeekContainsDate)??((i=(u=a==null?void 0:a.locale)==null?void 0:u.options)==null?void 0:i.firstWeekContainsDate)??t.firstWeekContainsDate??((f=(b=t.locale)==null?void 0:b.options)==null?void 0:f.firstWeekContainsDate)??1,r=Qn(e,a),l=Fe((a==null?void 0:a.in)||e,0);return l.setFullYear(r,0,n),l.setHours(0,0,0,0),Tt(l,a)}function Kn(e,a){const t=Te(e,a==null?void 0:a.in),n=+Tt(t,a)-+Oc(t,a);return Math.round(n/Kr)+1}function Ee(e,a){const t=e<0?"-":"",n=Math.abs(e).toString().padStart(a,"0");return t+n}const jt={y(e,a){const t=e.getFullYear(),n=t>0?t:1-t;return Ee(a==="yy"?n%100:n,a.length)},M(e,a){const t=e.getMonth();return a==="M"?String(t+1):Ee(t+1,2)},d(e,a){return Ee(e.getDate(),a.length)},a(e,a){const t=e.getHours()/12>=1?"pm":"am";switch(a){case"a":case"aa":return t.toUpperCase();case"aaa":return t;case"aaaaa":return t[0];case"aaaa":default:return t==="am"?"a.m.":"p.m."}},h(e,a){return Ee(e.getHours()%12||12,a.length)},H(e,a){return Ee(e.getHours(),a.length)},m(e,a){return Ee(e.getMinutes(),a.length)},s(e,a){return Ee(e.getSeconds(),a.length)},S(e,a){const t=a.length,n=e.getMilliseconds(),r=Math.trunc(n*Math.pow(10,t-3));return Ee(r,a.length)}},va={am:"am",pm:"pm",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},kr={G:function(e,a,t){const n=e.getFullYear()>0?1:0;switch(a){case"G":case"GG":case"GGG":return t.era(n,{width:"abbreviated"});case"GGGGG":return t.era(n,{width:"narrow"});case"GGGG":default:return t.era(n,{width:"wide"})}},y:function(e,a,t){if(a==="yo"){const n=e.getFullYear(),r=n>0?n:1-n;return t.ordinalNumber(r,{unit:"year"})}return jt.y(e,a)},Y:function(e,a,t,n){const r=Qn(e,n),l=r>0?r:1-r;if(a==="YY"){const o=l%100;return Ee(o,2)}return a==="Yo"?t.ordinalNumber(l,{unit:"year"}):Ee(l,a.length)},R:function(e,a){const t=Jr(e);return Ee(t,a.length)},u:function(e,a){const t=e.getFullYear();return Ee(t,a.length)},Q:function(e,a,t){const n=Math.ceil((e.getMonth()+1)/3);switch(a){case"Q":return String(n);case"QQ":return Ee(n,2);case"Qo":return t.ordinalNumber(n,{unit:"quarter"});case"QQQ":return t.quarter(n,{width:"abbreviated",context:"formatting"});case"QQQQQ":return t.quarter(n,{width:"narrow",context:"formatting"});case"QQQQ":default:return t.quarter(n,{width:"wide",context:"formatting"})}},q:function(e,a,t){const n=Math.ceil((e.getMonth()+1)/3);switch(a){case"q":return String(n);case"qq":return Ee(n,2);case"qo":return t.ordinalNumber(n,{unit:"quarter"});case"qqq":return t.quarter(n,{width:"abbreviated",context:"standalone"});case"qqqqq":return t.quarter(n,{width:"narrow",context:"standalone"});case"qqqq":default:return t.quarter(n,{width:"wide",context:"standalone"})}},M:function(e,a,t){const n=e.getMonth();switch(a){case"M":case"MM":return jt.M(e,a);case"Mo":return t.ordinalNumber(n+1,{unit:"month"});case"MMM":return t.month(n,{width:"abbreviated",context:"formatting"});case"MMMMM":return t.month(n,{width:"narrow",context:"formatting"});case"MMMM":default:return t.month(n,{width:"wide",context:"formatting"})}},L:function(e,a,t){const n=e.getMonth();switch(a){case"L":return String(n+1);case"LL":return Ee(n+1,2);case"Lo":return t.ordinalNumber(n+1,{unit:"month"});case"LLL":return t.month(n,{width:"abbreviated",context:"standalone"});case"LLLLL":return t.month(n,{width:"narrow",context:"standalone"});case"LLLL":default:return t.month(n,{width:"wide",context:"standalone"})}},w:function(e,a,t,n){const r=Kn(e,n);return a==="wo"?t.ordinalNumber(r,{unit:"week"}):Ee(r,a.length)},I:function(e,a,t){const n=Xn(e);return a==="Io"?t.ordinalNumber(n,{unit:"week"}):Ee(n,a.length)},d:function(e,a,t){return a==="do"?t.ordinalNumber(e.getDate(),{unit:"date"}):jt.d(e,a)},D:function(e,a,t){const n=Vc(e);return a==="Do"?t.ordinalNumber(n,{unit:"dayOfYear"}):Ee(n,a.length)},E:function(e,a,t){const n=e.getDay();switch(a){case"E":case"EE":case"EEE":return t.day(n,{width:"abbreviated",context:"formatting"});case"EEEEE":return t.day(n,{width:"narrow",context:"formatting"});case"EEEEEE":return t.day(n,{width:"short",context:"formatting"});case"EEEE":default:return t.day(n,{width:"wide",context:"formatting"})}},e:function(e,a,t,n){const r=e.getDay(),l=(r-n.weekStartsOn+8)%7||7;switch(a){case"e":return String(l);case"ee":return Ee(l,2);case"eo":return t.ordinalNumber(l,{unit:"day"});case"eee":return t.day(r,{width:"abbreviated",context:"formatting"});case"eeeee":return t.day(r,{width:"narrow",context:"formatting"});case"eeeeee":return t.day(r,{width:"short",context:"formatting"});case"eeee":default:return t.day(r,{width:"wide",context:"formatting"})}},c:function(e,a,t,n){const r=e.getDay(),l=(r-n.weekStartsOn+8)%7||7;switch(a){case"c":return String(l);case"cc":return Ee(l,a.length);case"co":return t.ordinalNumber(l,{unit:"day"});case"ccc":return t.day(r,{width:"abbreviated",context:"standalone"});case"ccccc":return t.day(r,{width:"narrow",context:"standalone"});case"cccccc":return t.day(r,{width:"short",context:"standalone"});case"cccc":default:return t.day(r,{width:"wide",context:"standalone"})}},i:function(e,a,t){const n=e.getDay(),r=n===0?7:n;switch(a){case"i":return String(r);case"ii":return Ee(r,a.length);case"io":return t.ordinalNumber(r,{unit:"day"});case"iii":return t.day(n,{width:"abbreviated",context:"formatting"});case"iiiii":return t.day(n,{width:"narrow",context:"formatting"});case"iiiiii":return t.day(n,{width:"short",context:"formatting"});case"iiii":default:return t.day(n,{width:"wide",context:"formatting"})}},a:function(e,a,t){const r=e.getHours()/12>=1?"pm":"am";switch(a){case"a":case"aa":return t.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"aaa":return t.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return t.dayPeriod(r,{width:"narrow",context:"formatting"});case"aaaa":default:return t.dayPeriod(r,{width:"wide",context:"formatting"})}},b:function(e,a,t){const n=e.getHours();let r;switch(n===12?r=va.noon:n===0?r=va.midnight:r=n/12>=1?"pm":"am",a){case"b":case"bb":return t.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"bbb":return t.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return t.dayPeriod(r,{width:"narrow",context:"formatting"});case"bbbb":default:return t.dayPeriod(r,{width:"wide",context:"formatting"})}},B:function(e,a,t){const n=e.getHours();let r;switch(n>=17?r=va.evening:n>=12?r=va.afternoon:n>=4?r=va.morning:r=va.night,a){case"B":case"BB":case"BBB":return t.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"BBBBB":return t.dayPeriod(r,{width:"narrow",context:"formatting"});case"BBBB":default:return t.dayPeriod(r,{width:"wide",context:"formatting"})}},h:function(e,a,t){if(a==="ho"){let n=e.getHours()%12;return n===0&&(n=12),t.ordinalNumber(n,{unit:"hour"})}return jt.h(e,a)},H:function(e,a,t){return a==="Ho"?t.ordinalNumber(e.getHours(),{unit:"hour"}):jt.H(e,a)},K:function(e,a,t){const n=e.getHours()%12;return a==="Ko"?t.ordinalNumber(n,{unit:"hour"}):Ee(n,a.length)},k:function(e,a,t){let n=e.getHours();return n===0&&(n=24),a==="ko"?t.ordinalNumber(n,{unit:"hour"}):Ee(n,a.length)},m:function(e,a,t){return a==="mo"?t.ordinalNumber(e.getMinutes(),{unit:"minute"}):jt.m(e,a)},s:function(e,a,t){return a==="so"?t.ordinalNumber(e.getSeconds(),{unit:"second"}):jt.s(e,a)},S:function(e,a){return jt.S(e,a)},X:function(e,a,t){const n=e.getTimezoneOffset();if(n===0)return"Z";switch(a){case"X":return Dr(n);case"XXXX":case"XX":return na(n);case"XXXXX":case"XXX":default:return na(n,":")}},x:function(e,a,t){const n=e.getTimezoneOffset();switch(a){case"x":return Dr(n);case"xxxx":case"xx":return na(n);case"xxxxx":case"xxx":default:return na(n,":")}},O:function(e,a,t){const n=e.getTimezoneOffset();switch(a){case"O":case"OO":case"OOO":return"GMT"+wr(n,":");case"OOOO":default:return"GMT"+na(n,":")}},z:function(e,a,t){const n=e.getTimezoneOffset();switch(a){case"z":case"zz":case"zzz":return"GMT"+wr(n,":");case"zzzz":default:return"GMT"+na(n,":")}},t:function(e,a,t){const n=Math.trunc(+e/1e3);return Ee(n,a.length)},T:function(e,a,t){return Ee(+e,a.length)}};function wr(e,a=""){const t=e>0?"-":"+",n=Math.abs(e),r=Math.trunc(n/60),l=n%60;return l===0?t+String(r):t+String(r)+a+Ee(l,2)}function Dr(e,a){return e%60===0?(e>0?"-":"+")+Ee(Math.abs(e)/60,2):na(e,a)}function na(e,a=""){const t=e>0?"-":"+",n=Math.abs(e),r=Ee(Math.trunc(n/60),2),l=Ee(n%60,2);return t+r+a+l}const $r=(e,a)=>{switch(e){case"P":return a.date({width:"short"});case"PP":return a.date({width:"medium"});case"PPP":return a.date({width:"long"});case"PPPP":default:return a.date({width:"full"})}},sl=(e,a)=>{switch(e){case"p":return a.time({width:"short"});case"pp":return a.time({width:"medium"});case"ppp":return a.time({width:"long"});case"pppp":default:return a.time({width:"full"})}},Ic=(e,a)=>{const t=e.match(/(P+)(p+)?/)||[],n=t[1],r=t[2];if(!r)return $r(e,a);let l;switch(n){case"P":l=a.dateTime({width:"short"});break;case"PP":l=a.dateTime({width:"medium"});break;case"PPP":l=a.dateTime({width:"long"});break;case"PPPP":default:l=a.dateTime({width:"full"});break}return l.replace("{{date}}",$r(n,a)).replace("{{time}}",sl(r,a))},Cn={p:sl,P:Ic},Nc=/^D+$/,Lc=/^Y+$/,Rc=["D","DD","YY","YYYY"];function il(e){return Nc.test(e)}function ul(e){return Lc.test(e)}function Vn(e,a,t){const n=Yc(e,a,t);if(console.warn(n),Rc.includes(e))throw new RangeError(n)}function Yc(e,a,t){const n=e[0]==="Y"?"years":"days of the month";return`Use \`${e.toLowerCase()}\` instead of \`${e}\` (in \`${a}\`) for formatting ${n} to the input \`${t}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}const Hc=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Ec=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Bc=/^'([^]*?)'?$/,Fc=/''/g,Wc=/[a-zA-Z]/;function wt(e,a,t){var f,m,v,g,w,T,N,S;const n=ca(),r=(t==null?void 0:t.locale)??n.locale??ol,l=(t==null?void 0:t.firstWeekContainsDate)??((m=(f=t==null?void 0:t.locale)==null?void 0:f.options)==null?void 0:m.firstWeekContainsDate)??n.firstWeekContainsDate??((g=(v=n.locale)==null?void 0:v.options)==null?void 0:g.firstWeekContainsDate)??1,o=(t==null?void 0:t.weekStartsOn)??((T=(w=t==null?void 0:t.locale)==null?void 0:w.options)==null?void 0:T.weekStartsOn)??n.weekStartsOn??((S=(N=n.locale)==null?void 0:N.options)==null?void 0:S.weekStartsOn)??0,u=Te(e,t==null?void 0:t.in);if(!Sa(u))throw new RangeError("Invalid time value");let i=a.match(Ec).map(E=>{const O=E[0];if(O==="p"||O==="P"){const W=Cn[O];return W(E,r.formatLong)}return E}).join("").match(Hc).map(E=>{if(E==="''")return{isToken:!1,value:"'"};const O=E[0];if(O==="'")return{isToken:!1,value:zc(E)};if(kr[O])return{isToken:!0,value:E};if(O.match(Wc))throw new RangeError("Format string contains an unescaped latin alphabet character `"+O+"`");return{isToken:!1,value:E}});r.localize.preprocessor&&(i=r.localize.preprocessor(u,i));const b={firstWeekContainsDate:l,weekStartsOn:o,locale:r};return i.map(E=>{if(!E.isToken)return E.value;const O=E.value;(!(t!=null&&t.useAdditionalWeekYearTokens)&&ul(O)||!(t!=null&&t.useAdditionalDayOfYearTokens)&&il(O))&&Vn(O,a,String(e));const W=kr[O[0]];return W(u,O,r.localize,b)}).join("")}function zc(e){const a=e.match(Bc);return a?a[1].replace(Fc,"'"):e}function Uc(e,a){return Te(e,a==null?void 0:a.in).getDay()}function qc(e,a){const t=Te(e,a==null?void 0:a.in),n=t.getFullYear(),r=t.getMonth(),l=Fe(t,0);return l.setFullYear(n,r+1,0),l.setHours(0,0,0,0),l.getDate()}function jc(){return Object.assign({},ca())}function Bt(e,a){return Te(e,a==null?void 0:a.in).getHours()}function Xc(e,a){const t=Te(e,a==null?void 0:a.in).getDay();return t===0?7:t}function Jt(e,a){return Te(e,a==null?void 0:a.in).getMinutes()}function Ae(e,a){return Te(e,a==null?void 0:a.in).getMonth()}function _a(e){return Te(e).getSeconds()}function xe(e,a){return Te(e,a==null?void 0:a.in).getFullYear()}function ua(e,a){return+Te(e)>+Te(a)}function ka(e,a){return+Te(e)<+Te(a)}function ra(e,a){return+Te(e)==+Te(a)}function Qc(e,a){const t=Kc(a)?new a(0):Fe(a,0);return t.setFullYear(e.getFullYear(),e.getMonth(),e.getDate()),t.setHours(e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()),t}function Kc(e){var a;return typeof e=="function"&&((a=e.prototype)==null?void 0:a.constructor)===e}const Gc=10;class dl{constructor(){be(this,"subPriority",0)}validate(a,t){return!0}}class Zc extends dl{constructor(a,t,n,r,l){super(),this.value=a,this.validateValue=t,this.setValue=n,this.priority=r,l&&(this.subPriority=l)}validate(a,t){return this.validateValue(a,this.value,t)}set(a,t,n){return this.setValue(a,t,this.value,n)}}class Jc extends dl{constructor(t,n){super();be(this,"priority",Gc);be(this,"subPriority",-1);this.context=t||(r=>Fe(n,r))}set(t,n){return n.timestampIsSet?t:Fe(t,Qc(t,this.context))}}class He{run(a,t,n,r){const l=this.parse(a,t,n,r);return l?{setter:new Zc(l.value,this.validate,this.set,this.priority,this.subPriority),rest:l.rest}:null}validate(a,t,n){return!0}}class em extends He{constructor(){super(...arguments);be(this,"priority",140);be(this,"incompatibleTokens",["R","u","t","T"])}parse(t,n,r){switch(n){case"G":case"GG":case"GGG":return r.era(t,{width:"abbreviated"})||r.era(t,{width:"narrow"});case"GGGGG":return r.era(t,{width:"narrow"});case"GGGG":default:return r.era(t,{width:"wide"})||r.era(t,{width:"abbreviated"})||r.era(t,{width:"narrow"})}}set(t,n,r){return n.era=r,t.setFullYear(r,0,1),t.setHours(0,0,0,0),t}}const et={month:/^(1[0-2]|0?\d)/,date:/^(3[0-1]|[0-2]?\d)/,dayOfYear:/^(36[0-6]|3[0-5]\d|[0-2]?\d?\d)/,week:/^(5[0-3]|[0-4]?\d)/,hour23h:/^(2[0-3]|[0-1]?\d)/,hour24h:/^(2[0-4]|[0-1]?\d)/,hour11h:/^(1[0-1]|0?\d)/,hour12h:/^(1[0-2]|0?\d)/,minute:/^[0-5]?\d/,second:/^[0-5]?\d/,singleDigit:/^\d/,twoDigits:/^\d{1,2}/,threeDigits:/^\d{1,3}/,fourDigits:/^\d{1,4}/,anyDigitsSigned:/^-?\d+/,singleDigitSigned:/^-?\d/,twoDigitsSigned:/^-?\d{1,2}/,threeDigitsSigned:/^-?\d{1,3}/,fourDigitsSigned:/^-?\d{1,4}/},It={basicOptionalMinutes:/^([+-])(\d{2})(\d{2})?|Z/,basic:/^([+-])(\d{2})(\d{2})|Z/,basicOptionalSeconds:/^([+-])(\d{2})(\d{2})((\d{2}))?|Z/,extended:/^([+-])(\d{2}):(\d{2})|Z/,extendedOptionalSeconds:/^([+-])(\d{2}):(\d{2})(:(\d{2}))?|Z/};function tt(e,a){return e&&{value:a(e.value),rest:e.rest}}function Qe(e,a){const t=a.match(e);return t?{value:parseInt(t[0],10),rest:a.slice(t[0].length)}:null}function Nt(e,a){const t=a.match(e);if(!t)return null;if(t[0]==="Z")return{value:0,rest:a.slice(1)};const n=t[1]==="+"?1:-1,r=t[2]?parseInt(t[2],10):0,l=t[3]?parseInt(t[3],10):0,o=t[5]?parseInt(t[5],10):0;return{value:n*(r*Gr+l*Ud+o*qd),rest:a.slice(t[0].length)}}function cl(e){return Qe(et.anyDigitsSigned,e)}function Ge(e,a){switch(e){case 1:return Qe(et.singleDigit,a);case 2:return Qe(et.twoDigits,a);case 3:return Qe(et.threeDigits,a);case 4:return Qe(et.fourDigits,a);default:return Qe(new RegExp("^\\d{1,"+e+"}"),a)}}function ja(e,a){switch(e){case 1:return Qe(et.singleDigitSigned,a);case 2:return Qe(et.twoDigitsSigned,a);case 3:return Qe(et.threeDigitsSigned,a);case 4:return Qe(et.fourDigitsSigned,a);default:return Qe(new RegExp("^-?\\d{1,"+e+"}"),a)}}function Gn(e){switch(e){case"morning":return 4;case"evening":return 17;case"pm":case"noon":case"afternoon":return 12;case"am":case"midnight":case"night":default:return 0}}function ml(e,a){const t=a>0,n=t?a:1-a;let r;if(n<=50)r=e||100;else{const l=n+50,o=Math.trunc(l/100)*100,u=e>=l%100;r=e+o-(u?100:0)}return t?r:1-r}function vl(e){return e%400===0||e%4===0&&e%100!==0}class tm extends He{constructor(){super(...arguments);be(this,"priority",130);be(this,"incompatibleTokens",["Y","R","u","w","I","i","e","c","t","T"])}parse(t,n,r){const l=o=>({year:o,isTwoDigitYear:n==="yy"});switch(n){case"y":return tt(Ge(4,t),l);case"yo":return tt(r.ordinalNumber(t,{unit:"year"}),l);default:return tt(Ge(n.length,t),l)}}validate(t,n){return n.isTwoDigitYear||n.year>0}set(t,n,r){const l=t.getFullYear();if(r.isTwoDigitYear){const u=ml(r.year,l);return t.setFullYear(u,0,1),t.setHours(0,0,0,0),t}const o=!("era"in n)||n.era===1?r.year:1-r.year;return t.setFullYear(o,0,1),t.setHours(0,0,0,0),t}}class am extends He{constructor(){super(...arguments);be(this,"priority",130);be(this,"incompatibleTokens",["y","R","u","Q","q","M","L","I","d","D","i","t","T"])}parse(t,n,r){const l=o=>({year:o,isTwoDigitYear:n==="YY"});switch(n){case"Y":return tt(Ge(4,t),l);case"Yo":return tt(r.ordinalNumber(t,{unit:"year"}),l);default:return tt(Ge(n.length,t),l)}}validate(t,n){return n.isTwoDigitYear||n.year>0}set(t,n,r,l){const o=Qn(t,l);if(r.isTwoDigitYear){const i=ml(r.year,o);return t.setFullYear(i,0,l.firstWeekContainsDate),t.setHours(0,0,0,0),Tt(t,l)}const u=!("era"in n)||n.era===1?r.year:1-r.year;return t.setFullYear(u,0,l.firstWeekContainsDate),t.setHours(0,0,0,0),Tt(t,l)}}class nm extends He{constructor(){super(...arguments);be(this,"priority",130);be(this,"incompatibleTokens",["G","y","Y","u","Q","q","M","L","w","d","D","e","c","t","T"])}parse(t,n){return ja(n==="R"?4:n.length,t)}set(t,n,r){const l=Fe(t,0);return l.setFullYear(r,0,4),l.setHours(0,0,0,0),ga(l)}}class rm extends He{constructor(){super(...arguments);be(this,"priority",130);be(this,"incompatibleTokens",["G","y","Y","R","w","I","i","e","c","t","T"])}parse(t,n){return ja(n==="u"?4:n.length,t)}set(t,n,r){return t.setFullYear(r,0,1),t.setHours(0,0,0,0),t}}class lm extends He{constructor(){super(...arguments);be(this,"priority",120);be(this,"incompatibleTokens",["Y","R","q","M","L","w","I","d","D","i","e","c","t","T"])}parse(t,n,r){switch(n){case"Q":case"QQ":return Ge(n.length,t);case"Qo":return r.ordinalNumber(t,{unit:"quarter"});case"QQQ":return r.quarter(t,{width:"abbreviated",context:"formatting"})||r.quarter(t,{width:"narrow",context:"formatting"});case"QQQQQ":return r.quarter(t,{width:"narrow",context:"formatting"});case"QQQQ":default:return r.quarter(t,{width:"wide",context:"formatting"})||r.quarter(t,{width:"abbreviated",context:"formatting"})||r.quarter(t,{width:"narrow",context:"formatting"})}}validate(t,n){return n>=1&&n<=4}set(t,n,r){return t.setMonth((r-1)*3,1),t.setHours(0,0,0,0),t}}class om extends He{constructor(){super(...arguments);be(this,"priority",120);be(this,"incompatibleTokens",["Y","R","Q","M","L","w","I","d","D","i","e","c","t","T"])}parse(t,n,r){switch(n){case"q":case"qq":return Ge(n.length,t);case"qo":return r.ordinalNumber(t,{unit:"quarter"});case"qqq":return r.quarter(t,{width:"abbreviated",context:"standalone"})||r.quarter(t,{width:"narrow",context:"standalone"});case"qqqqq":return r.quarter(t,{width:"narrow",context:"standalone"});case"qqqq":default:return r.quarter(t,{width:"wide",context:"standalone"})||r.quarter(t,{width:"abbreviated",context:"standalone"})||r.quarter(t,{width:"narrow",context:"standalone"})}}validate(t,n){return n>=1&&n<=4}set(t,n,r){return t.setMonth((r-1)*3,1),t.setHours(0,0,0,0),t}}class sm extends He{constructor(){super(...arguments);be(this,"incompatibleTokens",["Y","R","q","Q","L","w","I","D","i","e","c","t","T"]);be(this,"priority",110)}parse(t,n,r){const l=o=>o-1;switch(n){case"M":return tt(Qe(et.month,t),l);case"MM":return tt(Ge(2,t),l);case"Mo":return tt(r.ordinalNumber(t,{unit:"month"}),l);case"MMM":return r.month(t,{width:"abbreviated",context:"formatting"})||r.month(t,{width:"narrow",context:"formatting"});case"MMMMM":return r.month(t,{width:"narrow",context:"formatting"});case"MMMM":default:return r.month(t,{width:"wide",context:"formatting"})||r.month(t,{width:"abbreviated",context:"formatting"})||r.month(t,{width:"narrow",context:"formatting"})}}validate(t,n){return n>=0&&n<=11}set(t,n,r){return t.setMonth(r,1),t.setHours(0,0,0,0),t}}class im extends He{constructor(){super(...arguments);be(this,"priority",110);be(this,"incompatibleTokens",["Y","R","q","Q","M","w","I","D","i","e","c","t","T"])}parse(t,n,r){const l=o=>o-1;switch(n){case"L":return tt(Qe(et.month,t),l);case"LL":return tt(Ge(2,t),l);case"Lo":return tt(r.ordinalNumber(t,{unit:"month"}),l);case"LLL":return r.month(t,{width:"abbreviated",context:"standalone"})||r.month(t,{width:"narrow",context:"standalone"});case"LLLLL":return r.month(t,{width:"narrow",context:"standalone"});case"LLLL":default:return r.month(t,{width:"wide",context:"standalone"})||r.month(t,{width:"abbreviated",context:"standalone"})||r.month(t,{width:"narrow",context:"standalone"})}}validate(t,n){return n>=0&&n<=11}set(t,n,r){return t.setMonth(r,1),t.setHours(0,0,0,0),t}}function um(e,a,t){const n=Te(e,t==null?void 0:t.in),r=Kn(n,t)-a;return n.setDate(n.getDate()-r*7),Te(n,t==null?void 0:t.in)}class dm extends He{constructor(){super(...arguments);be(this,"priority",100);be(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","i","t","T"])}parse(t,n,r){switch(n){case"w":return Qe(et.week,t);case"wo":return r.ordinalNumber(t,{unit:"week"});default:return Ge(n.length,t)}}validate(t,n){return n>=1&&n<=53}set(t,n,r,l){return Tt(um(t,r,l),l)}}function cm(e,a,t){const n=Te(e,t==null?void 0:t.in),r=Xn(n,t)-a;return n.setDate(n.getDate()-r*7),n}class mm extends He{constructor(){super(...arguments);be(this,"priority",100);be(this,"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","e","c","t","T"])}parse(t,n,r){switch(n){case"I":return Qe(et.week,t);case"Io":return r.ordinalNumber(t,{unit:"week"});default:return Ge(n.length,t)}}validate(t,n){return n>=1&&n<=53}set(t,n,r){return ga(cm(t,r))}}const vm=[31,28,31,30,31,30,31,31,30,31,30,31],pm=[31,29,31,30,31,30,31,31,30,31,30,31];class fm extends He{constructor(){super(...arguments);be(this,"priority",90);be(this,"subPriority",1);be(this,"incompatibleTokens",["Y","R","q","Q","w","I","D","i","e","c","t","T"])}parse(t,n,r){switch(n){case"d":return Qe(et.date,t);case"do":return r.ordinalNumber(t,{unit:"date"});default:return Ge(n.length,t)}}validate(t,n){const r=t.getFullYear(),l=vl(r),o=t.getMonth();return l?n>=1&&n<=pm[o]:n>=1&&n<=vm[o]}set(t,n,r){return t.setDate(r),t.setHours(0,0,0,0),t}}class hm extends He{constructor(){super(...arguments);be(this,"priority",90);be(this,"subpriority",1);be(this,"incompatibleTokens",["Y","R","q","Q","M","L","w","I","d","E","i","e","c","t","T"])}parse(t,n,r){switch(n){case"D":case"DD":return Qe(et.dayOfYear,t);case"Do":return r.ordinalNumber(t,{unit:"date"});default:return Ge(n.length,t)}}validate(t,n){const r=t.getFullYear();return vl(r)?n>=1&&n<=366:n>=1&&n<=365}set(t,n,r){return t.setMonth(0,r),t.setHours(0,0,0,0),t}}function Zn(e,a,t){var m,v,g,w;const n=ca(),r=(t==null?void 0:t.weekStartsOn)??((v=(m=t==null?void 0:t.locale)==null?void 0:m.options)==null?void 0:v.weekStartsOn)??n.weekStartsOn??((w=(g=n.locale)==null?void 0:g.options)==null?void 0:w.weekStartsOn)??0,l=Te(e,t==null?void 0:t.in),o=l.getDay(),i=(a%7+7)%7,b=7-r,f=a<0||a>6?a-(o+b)%7:(i+b)%7-(o+b)%7;return rt(l,f,t)}class ym extends He{constructor(){super(...arguments);be(this,"priority",90);be(this,"incompatibleTokens",["D","i","e","c","t","T"])}parse(t,n,r){switch(n){case"E":case"EE":case"EEE":return r.day(t,{width:"abbreviated",context:"formatting"})||r.day(t,{width:"short",context:"formatting"})||r.day(t,{width:"narrow",context:"formatting"});case"EEEEE":return r.day(t,{width:"narrow",context:"formatting"});case"EEEEEE":return r.day(t,{width:"short",context:"formatting"})||r.day(t,{width:"narrow",context:"formatting"});case"EEEE":default:return r.day(t,{width:"wide",context:"formatting"})||r.day(t,{width:"abbreviated",context:"formatting"})||r.day(t,{width:"short",context:"formatting"})||r.day(t,{width:"narrow",context:"formatting"})}}validate(t,n){return n>=0&&n<=6}set(t,n,r,l){return t=Zn(t,r,l),t.setHours(0,0,0,0),t}}class gm extends He{constructor(){super(...arguments);be(this,"priority",90);be(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","c","t","T"])}parse(t,n,r,l){const o=u=>{const i=Math.floor((u-1)/7)*7;return(u+l.weekStartsOn+6)%7+i};switch(n){case"e":case"ee":return tt(Ge(n.length,t),o);case"eo":return tt(r.ordinalNumber(t,{unit:"day"}),o);case"eee":return r.day(t,{width:"abbreviated",context:"formatting"})||r.day(t,{width:"short",context:"formatting"})||r.day(t,{width:"narrow",context:"formatting"});case"eeeee":return r.day(t,{width:"narrow",context:"formatting"});case"eeeeee":return r.day(t,{width:"short",context:"formatting"})||r.day(t,{width:"narrow",context:"formatting"});case"eeee":default:return r.day(t,{width:"wide",context:"formatting"})||r.day(t,{width:"abbreviated",context:"formatting"})||r.day(t,{width:"short",context:"formatting"})||r.day(t,{width:"narrow",context:"formatting"})}}validate(t,n){return n>=0&&n<=6}set(t,n,r,l){return t=Zn(t,r,l),t.setHours(0,0,0,0),t}}class bm extends He{constructor(){super(...arguments);be(this,"priority",90);be(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","e","t","T"])}parse(t,n,r,l){const o=u=>{const i=Math.floor((u-1)/7)*7;return(u+l.weekStartsOn+6)%7+i};switch(n){case"c":case"cc":return tt(Ge(n.length,t),o);case"co":return tt(r.ordinalNumber(t,{unit:"day"}),o);case"ccc":return r.day(t,{width:"abbreviated",context:"standalone"})||r.day(t,{width:"short",context:"standalone"})||r.day(t,{width:"narrow",context:"standalone"});case"ccccc":return r.day(t,{width:"narrow",context:"standalone"});case"cccccc":return r.day(t,{width:"short",context:"standalone"})||r.day(t,{width:"narrow",context:"standalone"});case"cccc":default:return r.day(t,{width:"wide",context:"standalone"})||r.day(t,{width:"abbreviated",context:"standalone"})||r.day(t,{width:"short",context:"standalone"})||r.day(t,{width:"narrow",context:"standalone"})}}validate(t,n){return n>=0&&n<=6}set(t,n,r,l){return t=Zn(t,r,l),t.setHours(0,0,0,0),t}}function _m(e,a,t){const n=Te(e,t==null?void 0:t.in),r=Xc(n,t),l=a-r;return rt(n,l,t)}class km extends He{constructor(){super(...arguments);be(this,"priority",90);be(this,"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","E","e","c","t","T"])}parse(t,n,r){const l=o=>o===0?7:o;switch(n){case"i":case"ii":return Ge(n.length,t);case"io":return r.ordinalNumber(t,{unit:"day"});case"iii":return tt(r.day(t,{width:"abbreviated",context:"formatting"})||r.day(t,{width:"short",context:"formatting"})||r.day(t,{width:"narrow",context:"formatting"}),l);case"iiiii":return tt(r.day(t,{width:"narrow",context:"formatting"}),l);case"iiiiii":return tt(r.day(t,{width:"short",context:"formatting"})||r.day(t,{width:"narrow",context:"formatting"}),l);case"iiii":default:return tt(r.day(t,{width:"wide",context:"formatting"})||r.day(t,{width:"abbreviated",context:"formatting"})||r.day(t,{width:"short",context:"formatting"})||r.day(t,{width:"narrow",context:"formatting"}),l)}}validate(t,n){return n>=1&&n<=7}set(t,n,r){return t=_m(t,r),t.setHours(0,0,0,0),t}}class wm extends He{constructor(){super(...arguments);be(this,"priority",80);be(this,"incompatibleTokens",["b","B","H","k","t","T"])}parse(t,n,r){switch(n){case"a":case"aa":case"aaa":return r.dayPeriod(t,{width:"abbreviated",context:"formatting"})||r.dayPeriod(t,{width:"narrow",context:"formatting"});case"aaaaa":return r.dayPeriod(t,{width:"narrow",context:"formatting"});case"aaaa":default:return r.dayPeriod(t,{width:"wide",context:"formatting"})||r.dayPeriod(t,{width:"abbreviated",context:"formatting"})||r.dayPeriod(t,{width:"narrow",context:"formatting"})}}set(t,n,r){return t.setHours(Gn(r),0,0,0),t}}class Dm extends He{constructor(){super(...arguments);be(this,"priority",80);be(this,"incompatibleTokens",["a","B","H","k","t","T"])}parse(t,n,r){switch(n){case"b":case"bb":case"bbb":return r.dayPeriod(t,{width:"abbreviated",context:"formatting"})||r.dayPeriod(t,{width:"narrow",context:"formatting"});case"bbbbb":return r.dayPeriod(t,{width:"narrow",context:"formatting"});case"bbbb":default:return r.dayPeriod(t,{width:"wide",context:"formatting"})||r.dayPeriod(t,{width:"abbreviated",context:"formatting"})||r.dayPeriod(t,{width:"narrow",context:"formatting"})}}set(t,n,r){return t.setHours(Gn(r),0,0,0),t}}class $m extends He{constructor(){super(...arguments);be(this,"priority",80);be(this,"incompatibleTokens",["a","b","t","T"])}parse(t,n,r){switch(n){case"B":case"BB":case"BBB":return r.dayPeriod(t,{width:"abbreviated",context:"formatting"})||r.dayPeriod(t,{width:"narrow",context:"formatting"});case"BBBBB":return r.dayPeriod(t,{width:"narrow",context:"formatting"});case"BBBB":default:return r.dayPeriod(t,{width:"wide",context:"formatting"})||r.dayPeriod(t,{width:"abbreviated",context:"formatting"})||r.dayPeriod(t,{width:"narrow",context:"formatting"})}}set(t,n,r){return t.setHours(Gn(r),0,0,0),t}}class Pm extends He{constructor(){super(...arguments);be(this,"priority",70);be(this,"incompatibleTokens",["H","K","k","t","T"])}parse(t,n,r){switch(n){case"h":return Qe(et.hour12h,t);case"ho":return r.ordinalNumber(t,{unit:"hour"});default:return Ge(n.length,t)}}validate(t,n){return n>=1&&n<=12}set(t,n,r){const l=t.getHours()>=12;return l&&r<12?t.setHours(r+12,0,0,0):!l&&r===12?t.setHours(0,0,0,0):t.setHours(r,0,0,0),t}}class Mm extends He{constructor(){super(...arguments);be(this,"priority",70);be(this,"incompatibleTokens",["a","b","h","K","k","t","T"])}parse(t,n,r){switch(n){case"H":return Qe(et.hour23h,t);case"Ho":return r.ordinalNumber(t,{unit:"hour"});default:return Ge(n.length,t)}}validate(t,n){return n>=0&&n<=23}set(t,n,r){return t.setHours(r,0,0,0),t}}class Tm extends He{constructor(){super(...arguments);be(this,"priority",70);be(this,"incompatibleTokens",["h","H","k","t","T"])}parse(t,n,r){switch(n){case"K":return Qe(et.hour11h,t);case"Ko":return r.ordinalNumber(t,{unit:"hour"});default:return Ge(n.length,t)}}validate(t,n){return n>=0&&n<=11}set(t,n,r){return t.getHours()>=12&&r<12?t.setHours(r+12,0,0,0):t.setHours(r,0,0,0),t}}class xm extends He{constructor(){super(...arguments);be(this,"priority",70);be(this,"incompatibleTokens",["a","b","h","H","K","t","T"])}parse(t,n,r){switch(n){case"k":return Qe(et.hour24h,t);case"ko":return r.ordinalNumber(t,{unit:"hour"});default:return Ge(n.length,t)}}validate(t,n){return n>=1&&n<=24}set(t,n,r){const l=r<=24?r%24:r;return t.setHours(l,0,0,0),t}}class Sm extends He{constructor(){super(...arguments);be(this,"priority",60);be(this,"incompatibleTokens",["t","T"])}parse(t,n,r){switch(n){case"m":return Qe(et.minute,t);case"mo":return r.ordinalNumber(t,{unit:"minute"});default:return Ge(n.length,t)}}validate(t,n){return n>=0&&n<=59}set(t,n,r){return t.setMinutes(r,0,0),t}}class Am extends He{constructor(){super(...arguments);be(this,"priority",50);be(this,"incompatibleTokens",["t","T"])}parse(t,n,r){switch(n){case"s":return Qe(et.second,t);case"so":return r.ordinalNumber(t,{unit:"second"});default:return Ge(n.length,t)}}validate(t,n){return n>=0&&n<=59}set(t,n,r){return t.setSeconds(r,0),t}}class Cm extends He{constructor(){super(...arguments);be(this,"priority",30);be(this,"incompatibleTokens",["t","T"])}parse(t,n){const r=l=>Math.trunc(l*Math.pow(10,-n.length+3));return tt(Ge(n.length,t),r)}set(t,n,r){return t.setMilliseconds(r),t}}class Vm extends He{constructor(){super(...arguments);be(this,"priority",10);be(this,"incompatibleTokens",["t","T","x"])}parse(t,n){switch(n){case"X":return Nt(It.basicOptionalMinutes,t);case"XX":return Nt(It.basic,t);case"XXXX":return Nt(It.basicOptionalSeconds,t);case"XXXXX":return Nt(It.extendedOptionalSeconds,t);case"XXX":default:return Nt(It.extended,t)}}set(t,n,r){return n.timestampIsSet?t:Fe(t,t.getTime()-qa(t)-r)}}class Om extends He{constructor(){super(...arguments);be(this,"priority",10);be(this,"incompatibleTokens",["t","T","X"])}parse(t,n){switch(n){case"x":return Nt(It.basicOptionalMinutes,t);case"xx":return Nt(It.basic,t);case"xxxx":return Nt(It.basicOptionalSeconds,t);case"xxxxx":return Nt(It.extendedOptionalSeconds,t);case"xxx":default:return Nt(It.extended,t)}}set(t,n,r){return n.timestampIsSet?t:Fe(t,t.getTime()-qa(t)-r)}}class Im extends He{constructor(){super(...arguments);be(this,"priority",40);be(this,"incompatibleTokens","*")}parse(t){return cl(t)}set(t,n,r){return[Fe(t,r*1e3),{timestampIsSet:!0}]}}class Nm extends He{constructor(){super(...arguments);be(this,"priority",20);be(this,"incompatibleTokens","*")}parse(t){return cl(t)}set(t,n,r){return[Fe(t,r),{timestampIsSet:!0}]}}const Lm={G:new em,y:new tm,Y:new am,R:new nm,u:new rm,Q:new lm,q:new om,M:new sm,L:new im,w:new dm,I:new mm,d:new fm,D:new hm,E:new ym,e:new gm,c:new bm,i:new km,a:new wm,b:new Dm,B:new $m,h:new Pm,H:new Mm,K:new Tm,k:new xm,m:new Sm,s:new Am,S:new Cm,X:new Vm,x:new Om,t:new Im,T:new Nm},Rm=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Ym=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Hm=/^'([^]*?)'?$/,Em=/''/g,Bm=/\S/,Fm=/[a-zA-Z]/;function On(e,a,t,n){var N,S,E,O,W,re,z,j;const r=()=>Fe((n==null?void 0:n.in)||t,NaN),l=jc(),o=(n==null?void 0:n.locale)??l.locale??ol,u=(n==null?void 0:n.firstWeekContainsDate)??((S=(N=n==null?void 0:n.locale)==null?void 0:N.options)==null?void 0:S.firstWeekContainsDate)??l.firstWeekContainsDate??((O=(E=l.locale)==null?void 0:E.options)==null?void 0:O.firstWeekContainsDate)??1,i=(n==null?void 0:n.weekStartsOn)??((re=(W=n==null?void 0:n.locale)==null?void 0:W.options)==null?void 0:re.weekStartsOn)??l.weekStartsOn??((j=(z=l.locale)==null?void 0:z.options)==null?void 0:j.weekStartsOn)??0;if(!a)return e?r():Te(t,n==null?void 0:n.in);const b={firstWeekContainsDate:u,weekStartsOn:i,locale:o},f=[new Jc(n==null?void 0:n.in,t)],m=a.match(Ym).map(G=>{const Y=G[0];if(Y in Cn){const H=Cn[Y];return H(G,o.formatLong)}return G}).join("").match(Rm),v=[];for(let G of m){!(n!=null&&n.useAdditionalWeekYearTokens)&&ul(G)&&Vn(G,a,e),!(n!=null&&n.useAdditionalDayOfYearTokens)&&il(G)&&Vn(G,a,e);const Y=G[0],H=Lm[Y];if(H){const{incompatibleTokens:ve}=H;if(Array.isArray(ve)){const Pe=v.find($=>ve.includes($.token)||$.token===Y);if(Pe)throw new RangeError(`The format string mustn't contain \`${Pe.fullToken}\` and \`${G}\` at the same time`)}else if(H.incompatibleTokens==="*"&&v.length>0)throw new RangeError(`The format string mustn't contain \`${G}\` and any other token at the same time`);v.push({token:Y,fullToken:G});const _e=H.run(e,G,o.match,b);if(!_e)return r();f.push(_e.setter),e=_e.rest}else{if(Y.match(Fm))throw new RangeError("Format string contains an unescaped latin alphabet character `"+Y+"`");if(G==="''"?G="'":Y==="'"&&(G=Wm(G)),e.indexOf(G)===0)e=e.slice(G.length);else return r()}}if(e.length>0&&Bm.test(e))return r();const g=f.map(G=>G.priority).sort((G,Y)=>Y-G).filter((G,Y,H)=>H.indexOf(G)===Y).map(G=>f.filter(Y=>Y.priority===G).sort((Y,H)=>H.subPriority-Y.subPriority)).map(G=>G[0]);let w=Te(t,n==null?void 0:n.in);if(isNaN(+w))return r();const T={};for(const G of g){if(!G.validate(w,b))return r();const Y=G.set(w,T,b);Array.isArray(Y)?(w=Y[0],Object.assign(T,Y[1])):w=Y}return w}function Wm(e){return e.match(Hm)[1].replace(Em,"'")}function Pr(e,a,t){const[n,r]=La(t==null?void 0:t.in,e,a);return+Qt(n)==+Qt(r)}function Jn(e,a,t){return rt(e,-a,t)}function pl(e,a,t){const n=Te(e,t==null?void 0:t.in),r=n.getFullYear(),l=n.getDate(),o=Fe(e,0);o.setFullYear(r,a,15),o.setHours(0,0,0,0);const u=qc(o);return n.setMonth(a,Math.min(l,u)),n}function We(e,a,t){let n=Te(e,t==null?void 0:t.in);return isNaN(+n)?Fe(e,NaN):(a.year!=null&&n.setFullYear(a.year),a.month!=null&&(n=pl(n,a.month)),a.date!=null&&n.setDate(a.date),a.hours!=null&&n.setHours(a.hours),a.minutes!=null&&n.setMinutes(a.minutes),a.seconds!=null&&n.setSeconds(a.seconds),a.milliseconds!=null&&n.setMilliseconds(a.milliseconds),n)}function zm(e,a,t){const n=Te(e,t==null?void 0:t.in);return n.setHours(a),n}function fl(e,a,t){const n=Te(e,t==null?void 0:t.in);return n.setMilliseconds(a),n}function Um(e,a,t){const n=Te(e,t==null?void 0:t.in);return n.setMinutes(a),n}function hl(e,a,t){const n=Te(e,t==null?void 0:t.in);return n.setSeconds(a),n}function Lt(e,a,t){const n=Te(e,t==null?void 0:t.in);return isNaN(+n)?Fe(e,NaN):(n.setFullYear(a),n)}function Ft(e,a,t){return kt(e,-a,t)}function qm(e,a,t){const{years:n=0,months:r=0,weeks:l=0,days:o=0,hours:u=0,minutes:i=0,seconds:b=0}=a,f=Ft(e,r+n*12,t),m=Jn(f,o+l*7,t),v=i+u*60,w=(b+v*60)*1e3;return Fe(e,+m-w)}function yl(e,a,t){return qn(e,-a,t)}function $a(){const e=Jl();return d(),p("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor","aria-hidden":"true",class:"dp__icon",role:"img",...e},[y("path",{d:"M29.333 8c0-2.208-1.792-4-4-4h-18.667c-2.208 0-4 1.792-4 4v18.667c0 2.208 1.792 4 4 4h18.667c2.208 0 4-1.792 4-4v-18.667zM26.667 8v18.667c0 0.736-0.597 1.333-1.333 1.333 0 0-18.667 0-18.667 0-0.736 0-1.333-0.597-1.333-1.333 0 0 0-18.667 0-18.667 0-0.736 0.597-1.333 1.333-1.333 0 0 18.667 0 18.667 0 0.736 0 1.333 0.597 1.333 1.333z"}),y("path",{d:"M20 2.667v5.333c0 0.736 0.597 1.333 1.333 1.333s1.333-0.597 1.333-1.333v-5.333c0-0.736-0.597-1.333-1.333-1.333s-1.333 0.597-1.333 1.333z"}),y("path",{d:"M9.333 2.667v5.333c0 0.736 0.597 1.333 1.333 1.333s1.333-0.597 1.333-1.333v-5.333c0-0.736-0.597-1.333-1.333-1.333s-1.333 0.597-1.333 1.333z"}),y("path",{d:"M4 14.667h24c0.736 0 1.333-0.597 1.333-1.333s-0.597-1.333-1.333-1.333h-24c-0.736 0-1.333 0.597-1.333 1.333s0.597 1.333 1.333 1.333z"})])}$a.compatConfig={MODE:3};function gl(){return d(),p("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor","aria-hidden":"true",class:"dp__icon",role:"img"},[y("path",{d:"M23.057 7.057l-16 16c-0.52 0.52-0.52 1.365 0 1.885s1.365 0.52 1.885 0l16-16c0.52-0.52 0.52-1.365 0-1.885s-1.365-0.52-1.885 0z"}),y("path",{d:"M7.057 8.943l16 16c0.52 0.52 1.365 0.52 1.885 0s0.52-1.365 0-1.885l-16-16c-0.52-0.52-1.365-0.52-1.885 0s-0.52 1.365 0 1.885z"})])}gl.compatConfig={MODE:3};function er(){return d(),p("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor","aria-hidden":"true",class:"dp__icon",role:"img"},[y("path",{d:"M20.943 23.057l-7.057-7.057c0 0 7.057-7.057 7.057-7.057 0.52-0.52 0.52-1.365 0-1.885s-1.365-0.52-1.885 0l-8 8c-0.521 0.521-0.521 1.365 0 1.885l8 8c0.52 0.52 1.365 0.52 1.885 0s0.52-1.365 0-1.885z"})])}er.compatConfig={MODE:3};function tr(){return d(),p("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor","aria-hidden":"true",class:"dp__icon",role:"img"},[y("path",{d:"M12.943 24.943l8-8c0.521-0.521 0.521-1.365 0-1.885l-8-8c-0.52-0.52-1.365-0.52-1.885 0s-0.52 1.365 0 1.885l7.057 7.057c0 0-7.057 7.057-7.057 7.057-0.52 0.52-0.52 1.365 0 1.885s1.365 0.52 1.885 0z"})])}tr.compatConfig={MODE:3};function ar(){return d(),p("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor","aria-hidden":"true",class:"dp__icon",role:"img"},[y("path",{d:"M16 1.333c-8.095 0-14.667 6.572-14.667 14.667s6.572 14.667 14.667 14.667c8.095 0 14.667-6.572 14.667-14.667s-6.572-14.667-14.667-14.667zM16 4c6.623 0 12 5.377 12 12s-5.377 12-12 12c-6.623 0-12-5.377-12-12s5.377-12 12-12z"}),y("path",{d:"M14.667 8v8c0 0.505 0.285 0.967 0.737 1.193l5.333 2.667c0.658 0.329 1.46 0.062 1.789-0.596s0.062-1.46-0.596-1.789l-4.596-2.298c0 0 0-7.176 0-7.176 0-0.736-0.597-1.333-1.333-1.333s-1.333 0.597-1.333 1.333z"})])}ar.compatConfig={MODE:3};function nr(){return d(),p("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor","aria-hidden":"true",class:"dp__icon",role:"img"},[y("path",{d:"M24.943 19.057l-8-8c-0.521-0.521-1.365-0.521-1.885 0l-8 8c-0.52 0.52-0.52 1.365 0 1.885s1.365 0.52 1.885 0l7.057-7.057c0 0 7.057 7.057 7.057 7.057 0.52 0.52 1.365 0.52 1.885 0s0.52-1.365 0-1.885z"})])}nr.compatConfig={MODE:3};function rr(){return d(),p("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor","aria-hidden":"true",class:"dp__icon",role:"img"},[y("path",{d:"M7.057 12.943l8 8c0.521 0.521 1.365 0.521 1.885 0l8-8c0.52-0.52 0.52-1.365 0-1.885s-1.365-0.52-1.885 0l-7.057 7.057c0 0-7.057-7.057-7.057-7.057-0.52-0.52-1.365-0.52-1.885 0s-0.52 1.365 0 1.885z"})])}rr.compatConfig={MODE:3};const bt=(e,a)=>a?new Date(e.toLocaleString("en-US",{timeZone:a})):new Date(e),lr=(e,a,t)=>In(e,a,t)||te(),jm=(e,a,t)=>{const n=a.dateInTz?bt(new Date(e),a.dateInTz):te(e);return t?dt(n,!0):n},In=(e,a,t)=>{if(!e)return null;const n=t?dt(te(e),!0):te(e);return a?a.exactMatch?jm(e,a,t):bt(n,a.timezone):n},Xm=e=>{const a=new Date(e.getFullYear(),0,1).getTimezoneOffset();return e.getTimezoneOffset(){if(!e)return 0;const t=new Date,n=new Date(t.toLocaleString("en-US",{timeZone:"UTC"})),r=new Date(t.toLocaleString("en-US",{timeZone:e})),l=(Xm(a??r)?r:a??r).getTimezoneOffset()/60;return(+n-+r)/(1e3*60*60)-l};var $t=(e=>(e.month="month",e.year="year",e))($t||{}),Pt=(e=>(e.top="top",e.bottom="bottom",e))(Pt||{}),la=(e=>(e.header="header",e.calendar="calendar",e.timePicker="timePicker",e))(la||{}),mt=(e=>(e.month="month",e.year="year",e.calendar="calendar",e.time="time",e.minutes="minutes",e.hours="hours",e.seconds="seconds",e))(mt||{});const Km=["timestamp","date","iso"];var vt=(e=>(e.up="up",e.down="down",e.left="left",e.right="right",e))(vt||{}),Ue=(e=>(e.arrowUp="ArrowUp",e.arrowDown="ArrowDown",e.arrowLeft="ArrowLeft",e.arrowRight="ArrowRight",e.enter="Enter",e.space=" ",e.esc="Escape",e.tab="Tab",e.home="Home",e.end="End",e.pageUp="PageUp",e.pageDown="PageDown",e))(Ue||{}),ya=(e=>(e.MONTH_AND_YEAR="MM-yyyy",e.YEAR="yyyy",e.DATE="dd-MM-yyyy",e))(ya||{});function Mr(e){return a=>new Intl.DateTimeFormat(e,{weekday:"short",timeZone:"UTC"}).format(new Date(`2017-01-0${a}T00:00:00+00:00`)).slice(0,2)}function Gm(e){return a=>wt(bt(new Date(`2017-01-0${a}T00:00:00+00:00`),"UTC"),"EEEEEE",{locale:e})}const Zm=(e,a,t)=>{const n=[1,2,3,4,5,6,7];let r;if(e!==null)try{r=n.map(Gm(e))}catch{r=n.map(Mr(a))}else r=n.map(Mr(a));const l=r.slice(0,t),o=r.slice(t+1,r.length);return[r[t]].concat(...o).concat(...l)},or=(e,a,t)=>{const n=[];for(let r=+e[0];r<=+e[1];r++)n.push({value:+r,text:wl(r,a)});return t?n.reverse():n},bl=(e,a,t)=>{const n=[1,2,3,4,5,6,7,8,9,10,11,12].map(l=>{const o=l<10?`0${l}`:l;return new Date(`2017-${o}-01T00:00:00+00:00`)});if(e!==null)try{const l=t==="long"?"LLLL":"LLL";return n.map((o,u)=>{const i=wt(bt(o,"UTC"),l,{locale:e});return{text:i.charAt(0).toUpperCase()+i.substring(1),value:u}})}catch{}const r=new Intl.DateTimeFormat(a,{month:t,timeZone:"UTC"});return n.map((l,o)=>{const u=r.format(l);return{text:u.charAt(0).toUpperCase()+u.substring(1),value:o}})},Jm=e=>[12,1,2,3,4,5,6,7,8,9,10,11,12,1,2,3,4,5,6,7,8,9,10,11][e],ot=e=>{const a=s(e);return a!=null&&a.$el?a==null?void 0:a.$el:a},ev=e=>({type:"dot",...e??{}}),_l=e=>Array.isArray(e)?!!e[0]&&!!e[1]:!1,sr={prop:e=>`"${e}" prop must be enabled!`,dateArr:e=>`You need to use array as "model-value" binding in order to support "${e}"`},it=e=>e,Tr=e=>e===0?e:!e||isNaN(+e)?null:+e,xr=e=>e===null,kl=e=>{if(e)return[...e.querySelectorAll("input, button, select, textarea, a[href]")][0]},tv=e=>{const a=[],t=n=>n.filter(r=>r);for(let n=0;n{const n=t!=null,r=a!=null;if(!n&&!r)return!1;const l=+t,o=+a;return n&&r?+e>l||+el:r?+etv(e).map(t=>t.map(n=>{const{active:r,disabled:l,isBetween:o,highlighted:u}=a(n);return{...n,active:r,disabled:l,className:{dp__overlay_cell_active:r,dp__overlay_cell:!r,dp__overlay_cell_disabled:l,dp__overlay_cell_pad:!0,dp__overlay_cell_active_disabled:l&&r,dp__cell_in_between:o,"dp--highlighted":u}}})),Gt=(e,a,t=!1)=>{e&&a.allowStopPropagation&&(t&&e.stopImmediatePropagation(),e.stopPropagation())},av=()=>["a[href]","area[href]","input:not([disabled]):not([type='hidden'])","select:not([disabled])","textarea:not([disabled])","button:not([disabled])","[tabindex]:not([tabindex='-1'])","[data-datepicker-instance]"].join(", ");function nv(e,a){let t=[...document.querySelectorAll(av())];t=t.filter(r=>!e.contains(r)||r.hasAttribute("data-datepicker-instance"));const n=t.indexOf(e);if(n>=0&&(a?n-1>=0:n+1<=t.length))return t[n+(a?-1:1)]}const Nn=(e,a)=>e==null?void 0:e.querySelector(`[data-dp-element="${a}"]`),wl=(e,a)=>new Intl.NumberFormat(a,{useGrouping:!1,style:"decimal"}).format(e),ir=(e,a)=>wt(e,a??ya.DATE),fn=e=>Array.isArray(e),Xa=(e,a,t)=>a.get(ir(e,t)),rv=(e,a)=>e?a?a instanceof Map?!!Xa(e,a):a(te(e)):!1:!0,pt=(e,a,t=!1,n)=>{if(e.key===Ue.enter||e.key===Ue.space)return t&&e.preventDefault(),a();if(n)return n(e)},lv=()=>"ontouchstart"in window||navigator.maxTouchPoints>0,ov=(e,a)=>e?ya.MONTH_AND_YEAR:a?ya.YEAR:ya.DATE,Dl=e=>e<10?`0${e}`:e,Sr=(e,a,t,n,r,l)=>{const o=On(e,a.slice(0,e.length),new Date,{locale:l});return Sa(o)&&tl(o)?n||r?o:We(o,{hours:+t.hours,minutes:+(t==null?void 0:t.minutes),seconds:+(t==null?void 0:t.seconds),milliseconds:0}):null},sv=(e,a,t,n,r,l)=>{const o=Array.isArray(t)?t[0]:t;if(typeof a=="string")return Sr(e,a,o,n,r,l);if(Array.isArray(a)){let u=null;for(const i of a)if(u=Sr(e,i,o,n,r,l),u)break;return u}return typeof a=="function"?a(e):null},te=e=>e?new Date(e):new Date,iv=(e,a,t)=>{if(a){const r=(e.getMonth()+1).toString().padStart(2,"0"),l=e.getDate().toString().padStart(2,"0"),o=e.getHours().toString().padStart(2,"0"),u=e.getMinutes().toString().padStart(2,"0"),i=t?e.getSeconds().toString().padStart(2,"0"):"00";return`${e.getFullYear()}-${r}-${l}T${o}:${u}:${i}.000Z`}const n=Date.UTC(e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate(),e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds());return new Date(n).toISOString()},dt=(e,a)=>{const t=te(JSON.parse(JSON.stringify(e))),n=We(t,{hours:0,minutes:0,seconds:0,milliseconds:0});return a?An(n):n},Zt=(e,a,t,n)=>{let r=e?te(e):te();return(a||a===0)&&(r=zm(r,+a)),(t||t===0)&&(r=Um(r,+t)),(n||n===0)&&(r=hl(r,+n)),fl(r,0)},Ke=(e,a)=>!e||!a?!1:ka(dt(e),dt(a)),Ne=(e,a)=>!e||!a?!1:ra(dt(e),dt(a)),Je=(e,a)=>!e||!a?!1:ua(dt(e),dt(a)),Oa=(e,a,t)=>e!=null&&e[0]&&e!=null&&e[1]?Je(t,e[0])&&Ke(t,e[1]):e!=null&&e[0]&&a?Je(t,e[0])&&Ke(t,a)||Ke(t,e[0])&&Je(t,a):!1,Mt=e=>{const a=We(new Date(e),{date:1});return dt(a)},hn=(e,a,t)=>a&&(t||t===0)?Object.fromEntries(["hours","minutes","seconds"].map(n=>n===a?[n,t]:[n,isNaN(+e[n])?void 0:+e[n]])):{hours:isNaN(+e.hours)?void 0:+e.hours,minutes:isNaN(+e.minutes)?void 0:+e.minutes,seconds:isNaN(+e.seconds)?void 0:+e.seconds},oa=e=>({hours:Bt(e),minutes:Jt(e),seconds:_a(e)}),$l=(e,a)=>{if(a){const t=xe(te(a));if(t>e)return 12;if(t===e)return Ae(te(a))}},Pl=(e,a)=>{if(a){const t=xe(te(a));return t{if(e)return xe(te(e))},Ml=(e,a)=>{const t=Je(e,a)?a:e,n=Je(a,e)?a:e;return nl({start:t,end:n})},uv=e=>{const a=kt(e,1);return{month:Ae(a),year:xe(a)}},Ht=(e,a)=>{const t=Tt(e,{weekStartsOn:+a}),n=rl(e,{weekStartsOn:+a});return[t,n]},Tl=(e,a)=>{const t={hours:Bt(te()),minutes:Jt(te()),seconds:a?_a(te()):0};return Object.assign(t,e)},Kt=(e,a,t)=>[We(te(e),{date:1}),We(te(),{month:a,year:t,date:1})],Et=(e,a,t)=>{let n=e?te(e):te();return(a||a===0)&&(n=pl(n,a)),t&&(n=Lt(n,t)),n},xl=(e,a,t,n,r)=>{if(!n||r&&!a||!r&&!t)return!1;const l=r?kt(e,1):Ft(e,1),o=[Ae(l),xe(l)];return r?!cv(...o,a):!dv(...o,t)},dv=(e,a,t)=>Ke(...Kt(t,e,a))||Ne(...Kt(t,e,a)),cv=(e,a,t)=>Je(...Kt(t,e,a))||Ne(...Kt(t,e,a)),Sl=(e,a,t,n,r,l,o)=>{if(typeof a=="function"&&!o)return a(e);const u=t?{locale:t}:void 0;return Array.isArray(e)?`${wt(e[0],l,u)}${r&&!e[1]?"":n}${e[1]?wt(e[1],l,u):""}`:wt(e,l,u)},pa=e=>{if(e)return null;throw new Error(sr.prop("partial-range"))},Ba=(e,a)=>{if(a)return e();throw new Error(sr.prop("range"))},Ln=e=>Array.isArray(e)?Sa(e[0])&&(e[1]?Sa(e[1]):!0):e?Sa(e):!1,mv=(e,a)=>We(a??te(),{hours:+e.hours||0,minutes:+e.minutes||0,seconds:+e.seconds||0}),yn=(e,a,t,n)=>{if(!e)return!0;if(n){const r=t==="max"?ka(e,a):ua(e,a),l={seconds:0,milliseconds:0};return r||ra(We(e,l),We(a,l))}return t==="max"?e.getTime()<=a.getTime():e.getTime()>=a.getTime()},gn=(e,a,t)=>e?mv(e,a):te(t??a),Ar=(e,a,t,n,r)=>{if(Array.isArray(n)){const o=gn(e,n[0],a),u=gn(e,n[1],a);return yn(n[0],o,t,!!a)&&yn(n[1],u,t,!!a)&&r}const l=gn(e,n,a);return yn(n,l,t,!!a)&&r},bn=e=>We(te(),oa(e)),vv=(e,a,t)=>{if(e instanceof Map){const n=`${Dl(t+1)}-${a}`;return e.size?e.has(n):!1}return!1},pv=(e,a,t)=>{if(e instanceof Map){const n=`${Dl(t+1)}-${a}`;return e.size?e.has(n):!0}return!0},Al=(e,a,t)=>typeof e=="function"?e({month:a,year:t}):!!e.months.find(n=>n.month===a&&n.year===t),ur=(e,a)=>typeof e=="function"?e(a):e.years.includes(a),Rn=e=>`dp-${wt(e,"yyyy-MM-dd")}`,Cr=(e,a)=>{const t=Jn(dt(a),e),n=rt(dt(a),e);return{before:t,after:n}},Ta=Ia({menuFocused:!1,shiftKeyInMenu:!1}),Cl=()=>{const e=t=>{Ta.menuFocused=t},a=t=>{Ta.shiftKeyInMenu!==t&&(Ta.shiftKeyInMenu=t)};return{control:D(()=>({shiftKeyInMenu:Ta.shiftKeyInMenu,menuFocused:Ta.menuFocused})),setMenuFocused:e,setShiftKey:a}},ze=Ia({monthYear:[],calendar:[],time:[],actionRow:[],selectionGrid:[],timePicker:{0:[],1:[]},monthPicker:[]}),_n=M(null),Fa=M(!1),kn=M(!1),wn=M(!1),Dn=M(!1),ct=M(0),Ze=M(0),ta=()=>{const e=D(()=>Fa.value?[...ze.selectionGrid,ze.actionRow].filter(m=>m.length):kn.value?[...ze.timePicker[0],...ze.timePicker[1],Dn.value?[]:[_n.value],ze.actionRow].filter(m=>m.length):wn.value?[...ze.monthPicker,ze.actionRow]:[ze.monthYear,...ze.calendar,ze.time,ze.actionRow].filter(m=>m.length)),a=m=>{ct.value=m?ct.value+1:ct.value-1;let v=null;e.value[Ze.value]&&(v=e.value[Ze.value][ct.value]),!v&&e.value[Ze.value+(m?1:-1)]?(Ze.value=Ze.value+(m?1:-1),ct.value=m?0:e.value[Ze.value].length-1):v||(ct.value=m?ct.value-1:ct.value+1)},t=m=>{Ze.value===0&&!m||Ze.value===e.value.length&&m||(Ze.value=m?Ze.value+1:Ze.value-1,e.value[Ze.value]?e.value[Ze.value]&&!e.value[Ze.value][ct.value]&&ct.value!==0&&(ct.value=e.value[Ze.value].length-1):Ze.value=m?Ze.value-1:Ze.value+1)},n=m=>{let v=null;e.value[Ze.value]&&(v=e.value[Ze.value][ct.value]),v?v.focus({preventScroll:!Fa.value}):ct.value=m?ct.value-1:ct.value+1},r=()=>{a(!0),n(!0)},l=()=>{a(!1),n(!1)},o=()=>{t(!1),n(!0)},u=()=>{t(!0),n(!0)},i=(m,v)=>{ze[v]=m},b=(m,v)=>{ze[v]=m},f=()=>{ct.value=0,Ze.value=0};return{buildMatrix:i,buildMultiLevelMatrix:b,setTimePickerBackRef:m=>{_n.value=m},setSelectionGrid:m=>{Fa.value=m,f(),m||(ze.selectionGrid=[])},setTimePicker:(m,v=!1)=>{kn.value=m,Dn.value=v,f(),m||(ze.timePicker[0]=[],ze.timePicker[1]=[])},setTimePickerElements:(m,v=0)=>{ze.timePicker[v]=m},arrowRight:r,arrowLeft:l,arrowUp:o,arrowDown:u,clearArrowNav:()=>{ze.monthYear=[],ze.calendar=[],ze.time=[],ze.actionRow=[],ze.selectionGrid=[],ze.timePicker[0]=[],ze.timePicker[1]=[],Fa.value=!1,kn.value=!1,Dn.value=!1,wn.value=!1,f(),_n.value=null},setMonthPicker:m=>{wn.value=m,f()},refSets:ze}},Vr=e=>({menuAppearTop:"dp-menu-appear-top",menuAppearBottom:"dp-menu-appear-bottom",open:"dp-slide-down",close:"dp-slide-up",next:"calendar-next",previous:"calendar-prev",vNext:"dp-slide-up",vPrevious:"dp-slide-down",...e??{}}),fv=e=>({toggleOverlay:"Toggle overlay",menu:"Datepicker menu",input:"Datepicker input",openTimePicker:"Open time picker",closeTimePicker:"Close time Picker",incrementValue:a=>`Increment ${a}`,decrementValue:a=>`Decrement ${a}`,openTpOverlay:a=>`Open ${a} overlay`,amPmButton:"Switch AM/PM mode",openYearsOverlay:"Open years overlay",openMonthsOverlay:"Open months overlay",nextMonth:"Next month",prevMonth:"Previous month",nextYear:"Next year",prevYear:"Previous year",day:void 0,weekDay:void 0,clearInput:"Clear value",calendarIcon:"Calendar icon",timePicker:"Time picker",monthPicker:a=>`Month picker${a?" overlay":""}`,yearPicker:a=>`Year picker${a?" overlay":""}`,timeOverlay:a=>`${a} overlay`,...e??{}}),Or=e=>e?typeof e=="boolean"?e?2:0:+e>=2?+e:2:0,hv=e=>{const a=typeof e=="object"&&e,t={static:!0,solo:!1};if(!e)return{...t,count:Or(!1)};const n=a?e:{},r=a?n.count??!0:e,l=Or(r);return Object.assign(t,n,{count:l})},yv=(e,a,t)=>e||(typeof t=="string"?t:a),gv=e=>typeof e=="boolean"?e?Vr({}):!1:Vr(e),bv=e=>{const a={enterSubmit:!0,tabSubmit:!0,openMenu:"open",selectOnFocus:!1,rangeSeparator:" - ",escClose:!0};return typeof e=="object"?{...a,...e??{},enabled:!0}:{...a,enabled:e}},_v=e=>({months:[],years:[],times:{hours:[],minutes:[],seconds:[]},...e??{}}),kv=e=>({showSelect:!0,showCancel:!0,showNow:!1,showPreview:!0,...e??{}}),wv=e=>{const a={input:!1};return typeof e=="object"?{...a,...e??{},enabled:!0}:{enabled:e,...a}},Dv=e=>({allowStopPropagation:!0,closeOnScroll:!1,modeHeight:255,allowPreventDefault:!1,closeOnClearValue:!0,closeOnAutoApply:!0,noSwipe:!1,keepActionRow:!1,onClickOutside:void 0,tabOutClosesMenu:!0,arrowLeft:void 0,keepViewOnOffsetClick:!1,timeArrowHoldThreshold:0,shadowDom:!1,mobileBreakpoint:600,setDateOnMenuClose:!1,...e??{}}),$v=e=>{const a={dates:Array.isArray(e)?e.map(t=>te(t)):[],years:[],months:[],quarters:[],weeks:[],weekdays:[],options:{highlightDisabled:!1}};return typeof e=="function"?e:{...a,...e??{}}},Pv=e=>typeof e=="object"?{type:(e==null?void 0:e.type)??"local",hideOnOffsetDates:(e==null?void 0:e.hideOnOffsetDates)??!1}:{type:e,hideOnOffsetDates:!1},Mv=e=>{const a={noDisabledRange:!1,showLastInRange:!0,minMaxRawRange:!1,partialRange:!0,disableTimeRangeValidation:!1,maxRange:void 0,minRange:void 0,autoRange:void 0,fixedStart:!1,fixedEnd:!1};return typeof e=="object"?{enabled:!0,...a,...e}:{enabled:e,...a}},Tv=e=>e?typeof e=="string"?{timezone:e,exactMatch:!1,dateInTz:void 0,emitTimezone:void 0,convertModel:!0}:{timezone:e.timezone,exactMatch:e.exactMatch??!1,dateInTz:e.dateInTz??void 0,emitTimezone:e.emitTimezone??void 0,convertModel:e.convertModel??!0}:{timezone:void 0,exactMatch:!1,emitTimezone:void 0},$n=(e,a,t,n)=>new Map(e.map(r=>{const l=lr(r,a,n);return[ir(l,t),l]})),xv=(e,a)=>e.length?new Map(e.map(t=>{const n=lr(t.date,a);return[ir(n,ya.DATE),t]})):null,Sv=e=>{var a;const t=ov(e.isMonthPicker,e.isYearPicker);return{minDate:In(e.minDate,e.timezone,e.isSpecific),maxDate:In(e.maxDate,e.timezone,e.isSpecific),disabledDates:fn(e.disabledDates)?$n(e.disabledDates,e.timezone,t,e.isSpecific):e.disabledDates,allowedDates:fn(e.allowedDates)?$n(e.allowedDates,e.timezone,t,e.isSpecific):null,highlight:typeof e.highlight=="object"&&fn((a=e.highlight)==null?void 0:a.dates)?$n(e.highlight.dates,e.timezone,t):e.highlight,markers:xv(e.markers,e.timezone)}},Av=e=>typeof e=="boolean"?{enabled:e,dragSelect:!0,limit:null}:{enabled:!!e,limit:e.limit?+e.limit:null,dragSelect:e.dragSelect??!0},Cv=e=>({...Object.fromEntries(Object.keys(e).map(a=>{const t=a,n=e[t],r=typeof e[t]=="string"?{[n]:!0}:Object.fromEntries(n.map(l=>[l,!0]));return[a,r]}))}),Xe=e=>{const a=()=>{const z=e.enableSeconds?":ss":"",j=e.enableMinutes?":mm":"";return e.is24?`HH${j}${z}`:`hh${j}${z} aa`},t=()=>{var z;return e.format?e.format:e.monthPicker?"MM/yyyy":e.timePicker?a():e.weekPicker?`${((z=N.value)==null?void 0:z.type)==="iso"?"II":"ww"}-RR`:e.yearPicker?"yyyy":e.quarterPicker?"QQQ/yyyy":e.enableTimePicker?`MM/dd/yyyy, ${a()}`:"MM/dd/yyyy"},n=z=>Tl(z,e.enableSeconds),r=()=>W.value.enabled?e.startTime&&Array.isArray(e.startTime)?[n(e.startTime[0]),n(e.startTime[1])]:null:e.startTime&&!Array.isArray(e.startTime)?n(e.startTime):null,l=D(()=>hv(e.multiCalendars)),o=D(()=>r()),u=D(()=>fv(e.ariaLabels)),i=D(()=>_v(e.filters)),b=D(()=>gv(e.transitions)),f=D(()=>kv(e.actionRow)),m=D(()=>yv(e.previewFormat,e.format,t())),v=D(()=>bv(e.textInput)),g=D(()=>wv(e.inline)),w=D(()=>Dv(e.config)),T=D(()=>$v(e.highlight)),N=D(()=>Pv(e.weekNumbers)),S=D(()=>Tv(e.timezone)),E=D(()=>Av(e.multiDates)),O=D(()=>Sv({minDate:e.minDate,maxDate:e.maxDate,disabledDates:e.disabledDates,allowedDates:e.allowedDates,highlight:T.value,markers:e.markers,timezone:S.value,isSpecific:e.monthPicker||e.yearPicker||e.quarterPicker,isMonthPicker:e.monthPicker,isYearPicker:e.yearPicker})),W=D(()=>Mv(e.range)),re=D(()=>Cv(e.ui));return{defaultedTransitions:b,defaultedMultiCalendars:l,defaultedStartTime:o,defaultedAriaLabels:u,defaultedFilters:i,defaultedActionRow:f,defaultedPreviewFormat:m,defaultedTextInput:v,defaultedInline:g,defaultedConfig:w,defaultedHighlight:T,defaultedWeekNumbers:N,defaultedRange:W,propDates:O,defaultedTz:S,defaultedMultiDates:E,defaultedUI:re,getDefaultPattern:t,getDefaultStartTime:r}},Vv=(e,a,t)=>{const n=M(),{defaultedTextInput:r,defaultedRange:l,defaultedTz:o,defaultedMultiDates:u,getDefaultPattern:i}=Xe(a),b=M(""),f=Ca(a,"format"),m=Ca(a,"formatLocale");at(n,()=>{typeof a.onInternalModelChange=="function"&&e("internal-model-change",n.value,ae(!0))},{deep:!0}),at(l,(c,F)=>{c.enabled!==F.enabled&&(n.value=null)}),at(f,()=>{ue()});const v=c=>o.value.timezone&&o.value.convertModel?bt(c,o.value.timezone):c,g=c=>{if(o.value.timezone&&o.value.convertModel){const F=Qm(o.value.timezone,c);return Xd(c,F)}return c},w=(c,F,me=!1)=>Sl(c,a.format,a.formatLocale,r.value.rangeSeparator,a.modelAuto,F??i(),me),T=c=>c?a.modelType?pe(c):{hours:Bt(c),minutes:Jt(c),seconds:a.enableSeconds?_a(c):0}:null,N=c=>a.modelType?pe(c):{month:Ae(c),year:xe(c)},S=c=>Array.isArray(c)?u.value.enabled?c.map(F=>E(F,Lt(te(),F))):Ba(()=>[Lt(te(),c[0]),c[1]?Lt(te(),c[1]):pa(l.value.partialRange)],l.value.enabled):Lt(te(),+c),E=(c,F)=>(typeof c=="string"||typeof c=="number")&&a.modelType?X(c):F,O=c=>Array.isArray(c)?[E(c[0],Zt(null,+c[0].hours,+c[0].minutes,c[0].seconds)),E(c[1],Zt(null,+c[1].hours,+c[1].minutes,c[1].seconds))]:E(c,Zt(null,c.hours,c.minutes,c.seconds)),W=c=>{const F=We(te(),{date:1});return Array.isArray(c)?u.value.enabled?c.map(me=>E(me,Et(F,+me.month,+me.year))):Ba(()=>[E(c[0],Et(F,+c[0].month,+c[0].year)),E(c[1],c[1]?Et(F,+c[1].month,+c[1].year):pa(l.value.partialRange))],l.value.enabled):E(c,Et(F,+c.month,+c.year))},re=c=>{if(Array.isArray(c))return c.map(F=>X(F));throw new Error(sr.dateArr("multi-dates"))},z=c=>{if(Array.isArray(c)&&l.value.enabled){const F=c[0],me=c[1];return[te(Array.isArray(F)?F[0]:null),Array.isArray(me)&&me.length?te(me[0]):null]}return te(c[0])},j=c=>a.modelAuto?Array.isArray(c)?[X(c[0]),X(c[1])]:a.autoApply?[X(c)]:[X(c),null]:Array.isArray(c)?Ba(()=>c[1]?[X(c[0]),c[1]?X(c[1]):pa(l.value.partialRange)]:[X(c[0])],l.value.enabled):X(c),G=()=>{Array.isArray(n.value)&&l.value.enabled&&n.value.length===1&&n.value.push(pa(l.value.partialRange))},Y=()=>{const c=n.value;return[pe(c[0]),c[1]?pe(c[1]):pa(l.value.partialRange)]},H=()=>n.value[1]?Y():pe(it(n.value[0])),ve=()=>(n.value||[]).map(c=>pe(c)),_e=(c=!1)=>(c||G(),a.modelAuto?H():u.value.enabled?ve():Array.isArray(n.value)?Ba(()=>Y(),l.value.enabled):pe(it(n.value))),Pe=c=>!c||Array.isArray(c)&&!c.length?null:a.timePicker?O(it(c)):a.monthPicker?W(it(c)):a.yearPicker?S(it(c)):u.value.enabled?re(it(c)):a.weekPicker?z(it(c)):j(it(c)),$=c=>{const F=Pe(c);Ln(it(F))?(n.value=it(F),ue()):(n.value=null,b.value="")},I=()=>{const c=F=>wt(F,r.value.format);return`${c(n.value[0])} ${r.value.rangeSeparator} ${n.value[1]?c(n.value[1]):""}`},x=()=>t.value&&n.value?Array.isArray(n.value)?I():wt(n.value,r.value.format):w(n.value),Q=()=>n.value?u.value.enabled?n.value.map(c=>w(c)).join("; "):r.value.enabled&&typeof r.value.format=="string"?x():w(n.value):"",ue=()=>{!a.format||typeof a.format=="string"||r.value.enabled&&typeof r.value.format=="string"?b.value=Q():b.value=a.format(n.value)},X=c=>{if(a.utc){const F=new Date(c);return a.utc==="preserve"?new Date(F.getTime()+F.getTimezoneOffset()*6e4):F}return a.modelType?Km.includes(a.modelType)?v(new Date(c)):a.modelType==="format"&&(typeof a.format=="string"||!a.format)?v(On(c,i(),new Date,{locale:m.value})):v(On(c,a.modelType,new Date,{locale:m.value})):v(new Date(c))},pe=c=>c?a.utc?iv(c,a.utc==="preserve",a.enableSeconds):a.modelType?a.modelType==="timestamp"?+g(c):a.modelType==="iso"?g(c).toISOString():a.modelType==="format"&&(typeof a.format=="string"||!a.format)?w(g(c)):w(g(c),a.modelType,!0):g(c):"",L=(c,F=!1,me=!1)=>{if(me)return c;if(e("update:model-value",c),o.value.emitTimezone&&F){const je=Array.isArray(c)?c.map(B=>bt(it(B),o.value.emitTimezone)):bt(it(c),o.value.emitTimezone);e("update:model-timezone-value",je)}},K=c=>Array.isArray(n.value)?u.value.enabled?n.value.map(F=>c(F)):[c(n.value[0]),n.value[1]?c(n.value[1]):pa(l.value.partialRange)]:c(it(n.value)),C=()=>{if(Array.isArray(n.value)){const c=Ht(n.value[0],a.weekStart),F=n.value[1]?Ht(n.value[1],a.weekStart):[];return[c.map(me=>te(me)),F.map(me=>te(me))]}return Ht(n.value,a.weekStart).map(c=>te(c))},R=(c,F)=>L(it(K(c)),!1,F),q=c=>{const F=C();return c?F:e("update:model-value",C())},ae=(c=!1)=>(c||ue(),a.monthPicker?R(N,c):a.timePicker?R(T,c):a.yearPicker?R(xe,c):a.weekPicker?q(c):L(_e(c),!0,c));return{inputValue:b,internalModelValue:n,checkBeforeEmit:()=>n.value?l.value.enabled?l.value.partialRange?n.value.length>=1:n.value.length===2:!!n.value:!1,parseExternalModelValue:$,formatInputValue:ue,emitModelValue:ae}},Ov=(e,a)=>{const{defaultedFilters:t,propDates:n}=Xe(e),{validateMonthYearInRange:r}=aa(e),l=(f,m)=>{let v=f;return t.value.months.includes(Ae(v))?(v=m?kt(f,1):Ft(f,1),l(v,m)):v},o=(f,m)=>{let v=f;return t.value.years.includes(xe(v))?(v=m?qn(f,1):yl(f,1),o(v,m)):v},u=(f,m=!1)=>{const v=We(te(),{month:e.month,year:e.year});let g=f?kt(v,1):Ft(v,1);e.disableYearSelect&&(g=Lt(g,e.year));let w=Ae(g),T=xe(g);t.value.months.includes(w)&&(g=l(g,f),w=Ae(g),T=xe(g)),t.value.years.includes(T)&&(g=o(g,f),T=xe(g)),r(w,T,f,e.preventMinMaxNavigation)&&i(w,T,m)},i=(f,m,v)=>{a("update-month-year",{month:f,year:m,fromNav:v})},b=D(()=>f=>xl(We(te(),{month:e.month,year:e.year}),n.value.maxDate,n.value.minDate,e.preventMinMaxNavigation,f));return{handleMonthYearChange:u,isDisabled:b,updateMonthYear:i}},tn={multiCalendars:{type:[Boolean,Number,String,Object],default:void 0},modelValue:{type:[String,Date,Array,Object,Number],default:null},modelType:{type:String,default:null},position:{type:String,default:"center"},dark:{type:Boolean,default:!1},format:{type:[String,Function],default:()=>null},autoPosition:{type:[Boolean,String],default:!0},altPosition:{type:Function,default:null},transitions:{type:[Boolean,Object],default:!0},formatLocale:{type:Object,default:null},utc:{type:[Boolean,String],default:!1},ariaLabels:{type:Object,default:()=>({})},offset:{type:[Number,String],default:10},hideNavigation:{type:Array,default:()=>[]},timezone:{type:[String,Object],default:null},vertical:{type:Boolean,default:!1},disableMonthYearSelect:{type:Boolean,default:!1},disableYearSelect:{type:Boolean,default:!1},dayClass:{type:Function,default:null},yearRange:{type:Array,default:()=>[1900,2100]},enableTimePicker:{type:Boolean,default:!0},autoApply:{type:Boolean,default:!1},disabledDates:{type:[Array,Function],default:()=>[]},monthNameFormat:{type:String,default:"short"},startDate:{type:[Date,String],default:null},startTime:{type:[Object,Array],default:null},hideOffsetDates:{type:Boolean,default:!1},noToday:{type:Boolean,default:!1},disabledWeekDays:{type:Array,default:()=>[]},allowedDates:{type:Array,default:null},nowButtonLabel:{type:String,default:"Now"},markers:{type:Array,default:()=>[]},escClose:{type:Boolean,default:!0},spaceConfirm:{type:Boolean,default:!0},monthChangeOnArrows:{type:Boolean,default:!0},presetDates:{type:Array,default:()=>[]},flow:{type:Array,default:()=>[]},partialFlow:{type:Boolean,default:!1},preventMinMaxNavigation:{type:Boolean,default:!1},reverseYears:{type:Boolean,default:!1},weekPicker:{type:Boolean,default:!1},filters:{type:Object,default:()=>({})},arrowNavigation:{type:Boolean,default:!1},highlight:{type:[Function,Object],default:null},teleport:{type:[Boolean,String,Object],default:null},teleportCenter:{type:Boolean,default:!1},locale:{type:String,default:"en-Us"},weekNumName:{type:String,default:"W"},weekStart:{type:[Number,String],default:1},weekNumbers:{type:[String,Function,Object],default:null},monthChangeOnScroll:{type:[Boolean,String],default:!0},dayNames:{type:[Function,Array],default:null},monthPicker:{type:Boolean,default:!1},customProps:{type:Object,default:null},yearPicker:{type:Boolean,default:!1},modelAuto:{type:Boolean,default:!1},selectText:{type:String,default:"Select"},cancelText:{type:String,default:"Cancel"},previewFormat:{type:[String,Function],default:()=>""},multiDates:{type:[Object,Boolean],default:!1},ignoreTimeValidation:{type:Boolean,default:!1},minDate:{type:[Date,String],default:null},maxDate:{type:[Date,String],default:null},minTime:{type:Object,default:null},maxTime:{type:Object,default:null},name:{type:String,default:null},placeholder:{type:String,default:""},hideInputIcon:{type:Boolean,default:!1},clearable:{type:Boolean,default:!0},alwaysClearable:{type:Boolean,default:!1},state:{type:Boolean,default:null},required:{type:Boolean,default:!1},autocomplete:{type:String,default:"off"},timePicker:{type:Boolean,default:!1},enableSeconds:{type:Boolean,default:!1},is24:{type:Boolean,default:!0},noHoursOverlay:{type:Boolean,default:!1},noMinutesOverlay:{type:Boolean,default:!1},noSecondsOverlay:{type:Boolean,default:!1},hoursGridIncrement:{type:[String,Number],default:1},minutesGridIncrement:{type:[String,Number],default:5},secondsGridIncrement:{type:[String,Number],default:5},hoursIncrement:{type:[Number,String],default:1},minutesIncrement:{type:[Number,String],default:1},secondsIncrement:{type:[Number,String],default:1},range:{type:[Boolean,Object],default:!1},uid:{type:String,default:null},disabled:{type:Boolean,default:!1},readonly:{type:Boolean,default:!1},inline:{type:[Boolean,Object],default:!1},textInput:{type:[Boolean,Object],default:!1},sixWeeks:{type:[Boolean,String],default:!1},actionRow:{type:Object,default:()=>({})},focusStartDate:{type:Boolean,default:!1},disabledTimes:{type:[Function,Array],default:void 0},timePickerInline:{type:Boolean,default:!1},calendar:{type:Function,default:null},config:{type:Object,default:void 0},quarterPicker:{type:Boolean,default:!1},yearFirst:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},onInternalModelChange:{type:[Function,Object],default:null},enableMinutes:{type:Boolean,default:!0},ui:{type:Object,default:()=>({})}},xt={...tn,shadow:{type:Boolean,default:!1},flowStep:{type:Number,default:0},internalModelValue:{type:[Date,Array],default:null},noOverlayFocus:{type:Boolean,default:!1},collapse:{type:Boolean,default:!1},menuWrapRef:{type:Object,default:null},getInputRect:{type:Function,default:()=>({})},isTextInputDate:{type:Boolean,default:!1},isMobile:{type:Boolean,default:void 0}},Iv=["title"],Nv=["disabled"],Lv=Z({compatConfig:{MODE:3},__name:"ActionRow",props:{menuMount:{type:Boolean,default:!1},calendarWidth:{type:Number,default:0},...xt},emits:["close-picker","select-date","select-now","invalid-select"],setup(e,{emit:a}){const t=a,n=e,{defaultedActionRow:r,defaultedPreviewFormat:l,defaultedMultiCalendars:o,defaultedTextInput:u,defaultedInline:i,defaultedRange:b,defaultedMultiDates:f}=Xe(n),{isTimeValid:m,isMonthValid:v}=aa(n),{buildMatrix:g}=ta(),w=M(null),T=M(null),N=M(!1),S=M({}),E=M(null),O=M(null);qe(()=>{n.arrowNavigation&&g([ot(w),ot(T)],"actionRow"),W(),window.addEventListener("resize",W)}),zt(()=>{window.removeEventListener("resize",W)});const W=()=>{N.value=!1,setTimeout(()=>{var $,I;const x=($=E.value)==null?void 0:$.getBoundingClientRect(),Q=(I=O.value)==null?void 0:I.getBoundingClientRect();x&&Q&&(S.value.maxWidth=`${Q.width-x.width-20}px`),N.value=!0},0)},re=D(()=>b.value.enabled&&!b.value.partialRange&&n.internalModelValue?n.internalModelValue.length===2:!0),z=D(()=>!m.value(n.internalModelValue)||!v.value(n.internalModelValue)||!re.value),j=()=>{const $=l.value;return n.timePicker||n.monthPicker,$(it(n.internalModelValue))},G=()=>{const $=n.internalModelValue;return o.value.count>0?`${Y($[0])} - ${Y($[1])}`:[Y($[0]),Y($[1])]},Y=$=>Sl($,l.value,n.formatLocale,u.value.rangeSeparator,n.modelAuto,l.value),H=D(()=>!n.internalModelValue||!n.menuMount?"":typeof l.value=="string"?Array.isArray(n.internalModelValue)?n.internalModelValue.length===2&&n.internalModelValue[1]?G():f.value.enabled?n.internalModelValue.map($=>`${Y($)}`):n.modelAuto?`${Y(n.internalModelValue[0])}`:`${Y(n.internalModelValue[0])} -`:Y(n.internalModelValue):j()),ve=()=>f.value.enabled?"; ":" - ",_e=D(()=>Array.isArray(H.value)?H.value.join(ve()):H.value),Pe=()=>{m.value(n.internalModelValue)&&v.value(n.internalModelValue)&&re.value?t("select-date"):t("invalid-select")};return($,I)=>(d(),p("div",{ref_key:"actionRowRef",ref:O,class:"dp__action_row"},[$.$slots["action-row"]?_($.$slots,"action-row",ut(Le({key:0},{internalModelValue:$.internalModelValue,disabled:z.value,selectDate:()=>$.$emit("select-date"),closePicker:()=>$.$emit("close-picker")}))):(d(),p(ye,{key:1},[s(r).showPreview?(d(),p("div",{key:0,class:"dp__selection_preview",title:_e.value,style:ht(S.value)},[$.$slots["action-preview"]&&N.value?_($.$slots,"action-preview",{key:0,value:$.internalModelValue}):P("",!0),!$.$slots["action-preview"]&&N.value?(d(),p(ye,{key:1},[Be(he(_e.value),1)],64)):P("",!0)],12,Iv)):P("",!0),y("div",{ref_key:"actionBtnContainer",ref:E,class:"dp__action_buttons","data-dp-element":"action-row"},[$.$slots["action-buttons"]?_($.$slots,"action-buttons",{key:0,value:$.internalModelValue}):P("",!0),$.$slots["action-buttons"]?P("",!0):(d(),p(ye,{key:1},[!s(i).enabled&&s(r).showCancel?(d(),p("button",{key:0,ref_key:"cancelButtonRef",ref:w,type:"button",class:"dp__action_button dp__action_cancel",onClick:I[0]||(I[0]=x=>$.$emit("close-picker")),onKeydown:I[1]||(I[1]=x=>s(pt)(x,()=>$.$emit("close-picker")))},he($.cancelText),545)):P("",!0),s(r).showNow?(d(),p("button",{key:1,type:"button",class:"dp__action_button dp__action_cancel",onClick:I[2]||(I[2]=x=>$.$emit("select-now")),onKeydown:I[3]||(I[3]=x=>s(pt)(x,()=>$.$emit("select-now")))},he($.nowButtonLabel),33)):P("",!0),s(r).showSelect?(d(),p("button",{key:2,ref_key:"selectButtonRef",ref:T,type:"button",class:"dp__action_button dp__action_select",disabled:z.value,"data-test-id":"select-button",onKeydown:I[4]||(I[4]=x=>s(pt)(x,()=>Pe())),onClick:Pe},he($.selectText),41,Nv)):P("",!0)],64))],512)],64))],512))}}),Rv=["role","aria-label","tabindex"],Yv={class:"dp__selection_grid_header"},Hv=["aria-selected","aria-disabled","data-test-id","onClick","onKeydown","onMouseover"],Ev=["aria-label"],Ra=Z({__name:"SelectionOverlay",props:{items:{},type:{},isLast:{type:Boolean},arrowNavigation:{type:Boolean},skipButtonRef:{type:Boolean},headerRefs:{},hideNavigation:{},escClose:{type:Boolean},useRelative:{type:Boolean},height:{},textInput:{type:[Boolean,Object]},config:{},noOverlayFocus:{type:Boolean},focusValue:{},menuWrapRef:{},ariaLabels:{},overlayLabel:{}},emits:["selected","toggle","reset-flow","hover-value"],setup(e,{expose:a,emit:t}){const{setSelectionGrid:n,buildMultiLevelMatrix:r,setMonthPicker:l}=ta(),o=t,u=e,{defaultedAriaLabels:i,defaultedTextInput:b,defaultedConfig:f}=Xe(u),{hideNavigationButtons:m}=rn(),v=M(!1),g=M(null),w=M(null),T=M([]),N=M(),S=M(null),E=M(0),O=M(null);to(()=>{g.value=null}),qe(()=>{ft().then(()=>ve()),u.noOverlayFocus||re(),W(!0)}),zt(()=>W(!1));const W=K=>{var C;u.arrowNavigation&&((C=u.headerRefs)!=null&&C.length?l(K):n(K))},re=()=>{var K;const C=ot(w);C&&(b.value.enabled||(g.value?(K=g.value)==null||K.focus({preventScroll:!0}):C.focus({preventScroll:!0})),v.value=C.clientHeight({dp__overlay:!0,"dp--overlay-absolute":!u.useRelative,"dp--overlay-relative":u.useRelative})),j=D(()=>u.useRelative?{height:`${u.height}px`,width:"var(--dp-menu-min-width)"}:void 0),G=D(()=>({dp__overlay_col:!0})),Y=D(()=>({dp__btn:!0,dp__button:!0,dp__overlay_action:!0,dp__over_action_scroll:v.value,dp__button_bottom:u.isLast})),H=D(()=>{var K,C;return{dp__overlay_container:!0,dp__container_flex:((K=u.items)==null?void 0:K.length)<=6,dp__container_block:((C=u.items)==null?void 0:C.length)>6}});at(()=>u.items,()=>ve(!1),{deep:!0});const ve=(K=!0)=>{ft().then(()=>{const C=ot(g),R=ot(w),q=ot(S),ae=ot(O),c=q?q.getBoundingClientRect().height:0;R&&(R.getBoundingClientRect().height?E.value=R.getBoundingClientRect().height-c:E.value=f.value.modeHeight-c),C&&ae&&K&&(ae.scrollTop=C.offsetTop-ae.offsetTop-(E.value/2-C.getBoundingClientRect().height)-c)})},_e=K=>{K.disabled||o("selected",K.value)},Pe=()=>{o("toggle"),o("reset-flow")},$=()=>{u.escClose&&Pe()},I=(K,C,R,q)=>{K&&((C.active||C.value===u.focusValue)&&(g.value=K),u.arrowNavigation&&(Array.isArray(T.value[R])?T.value[R][q]=K:T.value[R]=[K],x()))},x=()=>{var K,C;const R=(K=u.headerRefs)!=null&&K.length?[u.headerRefs].concat(T.value):T.value.concat([u.skipButtonRef?[]:[S.value]]);r(it(R),(C=u.headerRefs)!=null&&C.length?"monthPicker":"selectionGrid")},Q=K=>{u.arrowNavigation||Gt(K,f.value,!0)},ue=K=>{N.value=K,o("hover-value",K)},X=()=>{if(Pe(),!u.isLast){const K=Nn(u.menuWrapRef??null,"action-row");if(K){const C=kl(K);C==null||C.focus()}}},pe=K=>{switch(K.key){case Ue.esc:return $();case Ue.arrowLeft:return Q(K);case Ue.arrowRight:return Q(K);case Ue.arrowUp:return Q(K);case Ue.arrowDown:return Q(K);default:return}},L=K=>{if(K.key===Ue.enter)return Pe();if(K.key===Ue.tab)return X()};return a({focusGrid:re}),(K,C)=>{var R;return d(),p("div",{ref_key:"gridWrapRef",ref:w,class:ge(z.value),style:ht(j.value),role:K.useRelative?void 0:"dialog","aria-label":K.overlayLabel,tabindex:K.useRelative?void 0:"0",onKeydown:pe,onClick:C[0]||(C[0]=ia(()=>{},["prevent"]))},[y("div",{ref_key:"containerRef",ref:O,class:ge(H.value),style:ht({"--dp-overlay-height":`${E.value}px`}),role:"grid"},[y("div",Yv,[_(K.$slots,"header")]),K.$slots.overlay?_(K.$slots,"overlay",{key:0}):(d(!0),p(ye,{key:1},Se(K.items,(q,ae)=>(d(),p("div",{key:ae,class:ge(["dp__overlay_row",{dp__flex_row:K.items.length>=3}]),role:"row"},[(d(!0),p(ye,null,Se(q,(c,F)=>(d(),p("div",{key:c.value,ref_for:!0,ref:me=>I(me,c,ae,F),role:"gridcell",class:ge(G.value),"aria-selected":c.active||void 0,"aria-disabled":c.disabled||void 0,tabindex:"0","data-test-id":c.text,onClick:ia(me=>_e(c),["prevent"]),onKeydown:me=>s(pt)(me,()=>_e(c),!0),onMouseover:me=>ue(c.value)},[y("div",{class:ge(c.className)},[K.$slots.item?_(K.$slots,"item",{key:0,item:c}):P("",!0),K.$slots.item?P("",!0):(d(),p(ye,{key:1},[Be(he(c.text),1)],64))],2)],42,Hv))),128))],2))),128))],6),K.$slots["button-icon"]?xa((d(),p("button",{key:0,ref_key:"toggleButton",ref:S,type:"button","aria-label":(R=s(i))==null?void 0:R.toggleOverlay,class:ge(Y.value),tabindex:"0",onClick:Pe,onKeydown:L},[_(K.$slots,"button-icon")],42,Ev)),[[Wa,!s(m)(K.hideNavigation,K.type)]]):P("",!0)],46,Rv)}}}),Bv=["data-dp-mobile"],an=Z({__name:"InstanceWrap",props:{multiCalendars:{},stretch:{type:Boolean},collapse:{type:Boolean},isMobile:{type:Boolean}},setup(e){const a=e,t=D(()=>a.multiCalendars>0?[...Array(a.multiCalendars).keys()]:[0]),n=D(()=>({dp__instance_calendar:a.multiCalendars>0}));return(r,l)=>(d(),p("div",{class:ge({dp__menu_inner:!r.stretch,"dp--menu--inner-stretched":r.stretch,dp__flex_display:r.multiCalendars>0,"dp--flex-display-collapsed":r.collapse}),"data-dp-mobile":r.isMobile},[(d(!0),p(ye,null,Se(t.value,(o,u)=>(d(),p("div",{key:o,class:ge(n.value)},[_(r.$slots,"default",{instance:o,index:u})],2))),128))],10,Bv))}}),Fv=["data-dp-element","aria-label","aria-disabled"],Aa=Z({compatConfig:{MODE:3},__name:"ArrowBtn",props:{ariaLabel:{},elName:{},disabled:{type:Boolean}},emits:["activate","set-ref"],setup(e,{emit:a}){const t=a,n=M(null);return qe(()=>t("set-ref",n)),(r,l)=>(d(),p("button",{ref_key:"elRef",ref:n,type:"button","data-dp-element":r.elName,class:"dp__btn dp--arrow-btn-nav",tabindex:"0","aria-label":r.ariaLabel,"aria-disabled":r.disabled||void 0,onClick:l[0]||(l[0]=o=>r.$emit("activate")),onKeydown:l[1]||(l[1]=o=>s(pt)(o,()=>r.$emit("activate"),!0))},[y("span",{class:ge(["dp__inner_nav",{dp__inner_nav_disabled:r.disabled}])},[_(r.$slots,"default")],2)],40,Fv))}}),Wv=["aria-label","data-test-id"],Vl=Z({__name:"YearModePicker",props:{...xt,showYearPicker:{type:Boolean,default:!1},items:{type:Array,default:()=>[]},instance:{type:Number,default:0},year:{type:Number,default:0},isDisabled:{type:Function,default:()=>!1}},emits:["toggle-year-picker","year-select","handle-year"],setup(e,{emit:a}){const t=a,n=e,{showRightIcon:r,showLeftIcon:l}=rn(),{defaultedConfig:o,defaultedMultiCalendars:u,defaultedAriaLabels:i,defaultedTransitions:b,defaultedUI:f}=Xe(n),{showTransition:m,transitionName:v}=Ya(b),g=M(!1),w=(S=!1,E)=>{g.value=!g.value,t("toggle-year-picker",{flow:S,show:E})},T=S=>{g.value=!1,t("year-select",S)},N=(S=!1)=>{t("handle-year",S)};return(S,E)=>{var O,W,re,z,j;return d(),p(ye,null,[y("div",{class:ge(["dp--year-mode-picker",{"dp--hidden-el":g.value}])},[s(l)(s(u),e.instance)?(d(),se(Aa,{key:0,ref:"mpPrevIconRef","aria-label":(O=s(i))==null?void 0:O.prevYear,disabled:e.isDisabled(!1),class:ge((W=s(f))==null?void 0:W.navBtnPrev),onActivate:E[0]||(E[0]=G=>N(!1))},{default:k(()=>[S.$slots["arrow-left"]?_(S.$slots,"arrow-left",{key:0}):P("",!0),S.$slots["arrow-left"]?P("",!0):(d(),se(s(er),{key:1}))]),_:3},8,["aria-label","disabled","class"])):P("",!0),y("button",{ref:"mpYearButtonRef",class:"dp__btn dp--year-select",type:"button","aria-label":`${e.year}-${(re=s(i))==null?void 0:re.openYearsOverlay}`,"data-test-id":`year-mode-btn-${e.instance}`,onClick:E[1]||(E[1]=()=>w(!1)),onKeydown:E[2]||(E[2]=Wr(()=>w(!1),["enter"]))},[S.$slots.year?_(S.$slots,"year",{key:0,year:e.year}):P("",!0),S.$slots.year?P("",!0):(d(),p(ye,{key:1},[Be(he(e.year),1)],64))],40,Wv),s(r)(s(u),e.instance)?(d(),se(Aa,{key:1,ref:"mpNextIconRef","aria-label":(z=s(i))==null?void 0:z.nextYear,disabled:e.isDisabled(!0),class:ge((j=s(f))==null?void 0:j.navBtnNext),onActivate:E[3]||(E[3]=G=>N(!0))},{default:k(()=>[S.$slots["arrow-right"]?_(S.$slots,"arrow-right",{key:0}):P("",!0),S.$slots["arrow-right"]?P("",!0):(d(),se(s(tr),{key:1}))]),_:3},8,["aria-label","disabled","class"])):P("",!0)],2),ee(Wt,{name:s(v)(e.showYearPicker),css:s(m)},{default:k(()=>{var G,Y;return[e.showYearPicker?(d(),se(Ra,{key:0,items:e.items,"text-input":S.textInput,"esc-close":S.escClose,config:S.config,"is-last":S.autoApply&&!s(o).keepActionRow,"hide-navigation":S.hideNavigation,"aria-labels":S.ariaLabels,"overlay-label":(Y=(G=s(i))==null?void 0:G.yearPicker)==null?void 0:Y.call(G,!0),type:"year",onToggle:w,onSelected:E[4]||(E[4]=H=>T(H))},st({"button-icon":k(()=>[S.$slots["calendar-icon"]?_(S.$slots,"calendar-icon",{key:0}):P("",!0),S.$slots["calendar-icon"]?P("",!0):(d(),se(s($a),{key:1}))]),_:2},[S.$slots["year-overlay-value"]?{name:"item",fn:k(({item:H})=>[_(S.$slots,"year-overlay-value",{text:H.text,value:H.value})]),key:"0"}:void 0]),1032,["items","text-input","esc-close","config","is-last","hide-navigation","aria-labels","overlay-label"])):P("",!0)]}),_:3},8,["name","css"])],64)}}}),dr=(e,a,t)=>{if(a.value&&Array.isArray(a.value))if(a.value.some(n=>Ne(e,n))){const n=a.value.filter(r=>!Ne(r,e));a.value=n.length?n:null}else(t&&+t>a.value.length||!t)&&a.value.push(e);else a.value=[e]},cr=(e,a,t)=>{let n=e.value?e.value.slice():[];return n.length===2&&n[1]!==null&&(n=[]),n.length?(Ke(a,n[0])?n.unshift(a):n[1]=a,t("range-end",a)):(n=[a],t("range-start",a)),n},nn=(e,a,t,n)=>{e&&(e[0]&&e[1]&&t&&a("auto-apply"),e[0]&&!e[1]&&n&&t&&a("auto-apply"))},Ol=e=>{Array.isArray(e.value)&&e.value.length<=2&&e.range?e.modelValue.value=e.value.map(a=>bt(te(a),e.timezone)):Array.isArray(e.value)||(e.modelValue.value=bt(te(e.value),e.timezone))},Il=(e,a,t,n)=>Array.isArray(a.value)&&(a.value.length===2||a.value.length===1&&n.value.partialRange)?n.value.fixedStart&&(Je(e,a.value[0])||Ne(e,a.value[0]))?[a.value[0],e]:n.value.fixedEnd&&(Ke(e,a.value[1])||Ne(e,a.value[1]))?[e,a.value[1]]:(t("invalid-fixed-range",e),a.value):[],Nl=({multiCalendars:e,range:a,highlight:t,propDates:n,calendars:r,modelValue:l,props:o,filters:u,year:i,month:b,emit:f})=>{const m=D(()=>or(o.yearRange,o.locale,o.reverseYears)),v=M([!1]),g=D(()=>(H,ve)=>{const _e=We(Mt(new Date),{month:b.value(H),year:i.value(H)}),Pe=ve?jn(_e):ba(_e);return xl(Pe,n.value.maxDate,n.value.minDate,o.preventMinMaxNavigation,ve)}),w=()=>Array.isArray(l.value)&&e.value.solo&&l.value[1],T=()=>{for(let H=0;H{if(!H)return T();const ve=We(te(),r.value[H]);return r.value[0].year=xe(yl(ve,e.value.count-1)),T()},S=(H,ve)=>{const _e=Jd(ve,H);return a.value.showLastInRange&&_e>1?ve:H},E=H=>o.focusStartDate||e.value.solo?H[0]:H[1]?S(H[0],H[1]):H[0],O=()=>{if(l.value){const H=Array.isArray(l.value)?E(l.value):l.value;r.value[0]={month:Ae(H),year:xe(H)}}},W=()=>{O(),e.value.count&&T()};at(l,(H,ve)=>{o.isTextInputDate&&JSON.stringify(H??{})!==JSON.stringify(ve??{})&&W()}),qe(()=>{W()});const re=(H,ve)=>{r.value[ve].year=H,f("update-month-year",{instance:ve,year:H,month:r.value[ve].month}),e.value.count&&!e.value.solo&&N(ve)},z=D(()=>H=>wa(m.value,ve=>{var _e;const Pe=i.value(H)===ve.value,$=Va(ve.value,Da(n.value.minDate),Da(n.value.maxDate))||((_e=u.value.years)==null?void 0:_e.includes(i.value(H))),I=ur(t.value,ve.value);return{active:Pe,disabled:$,highlighted:I}})),j=(H,ve)=>{re(H,ve),Y(ve)},G=(H,ve=!1)=>{if(!g.value(H,ve)){const _e=ve?i.value(H)+1:i.value(H)-1;re(_e,H)}},Y=(H,ve=!1,_e)=>{ve||f("reset-flow"),_e!==void 0?v.value[H]=_e:v.value[H]=!v.value[H],v.value[H]?f("overlay-toggle",{open:!0,overlay:mt.year}):(f("overlay-closed"),f("overlay-toggle",{open:!1,overlay:mt.year}))};return{isDisabled:g,groupedYears:z,showYearPicker:v,selectYear:re,toggleYearPicker:Y,handleYearSelect:j,handleYear:G}},zv=(e,a)=>{const{defaultedMultiCalendars:t,defaultedAriaLabels:n,defaultedTransitions:r,defaultedConfig:l,defaultedRange:o,defaultedHighlight:u,propDates:i,defaultedTz:b,defaultedFilters:f,defaultedMultiDates:m}=Xe(e),v=()=>{e.isTextInputDate&&W(xe(te(e.startDate)),0)},{modelValue:g,year:w,month:T,calendars:N}=Ha(e,a,v),S=D(()=>bl(e.formatLocale,e.locale,e.monthNameFormat)),E=M(null),{checkMinMaxRange:O}=aa(e),{selectYear:W,groupedYears:re,showYearPicker:z,toggleYearPicker:j,handleYearSelect:G,handleYear:Y,isDisabled:H}=Nl({modelValue:g,multiCalendars:t,range:o,highlight:u,calendars:N,year:w,propDates:i,month:T,filters:f,props:e,emit:a});qe(()=>{e.startDate&&(g.value&&e.focusStartDate||!g.value)&&W(xe(te(e.startDate)),0)});const ve=R=>R?{month:Ae(R),year:xe(R)}:{month:null,year:null},_e=()=>g.value?Array.isArray(g.value)?g.value.map(R=>ve(R)):ve(g.value):ve(),Pe=(R,q)=>{const ae=N.value[R],c=_e();return Array.isArray(c)?c.some(F=>F.year===(ae==null?void 0:ae.year)&&F.month===q):(ae==null?void 0:ae.year)===c.year&&q===c.month},$=(R,q,ae)=>{var c,F;const me=_e();return Array.isArray(me)?w.value(q)===((c=me[ae])==null?void 0:c.year)&&R===((F=me[ae])==null?void 0:F.month):!1},I=(R,q)=>{if(o.value.enabled){const ae=_e();if(Array.isArray(g.value)&&Array.isArray(ae)){const c=$(R,q,0)||$(R,q,1),F=Et(Mt(te()),R,w.value(q));return Oa(g.value,E.value,F)&&!c}return!1}return!1},x=D(()=>R=>wa(S.value,q=>{var ae;const c=Pe(R,q.value),F=Va(q.value,$l(w.value(R),i.value.minDate),Pl(w.value(R),i.value.maxDate))||vv(i.value.disabledDates,w.value(R),q.value)||((ae=f.value.months)==null?void 0:ae.includes(q.value))||!pv(i.value.allowedDates,w.value(R),q.value),me=I(q.value,R),je=Al(u.value,q.value,w.value(R));return{active:c,disabled:F,isBetween:me,highlighted:je}})),Q=(R,q)=>Et(Mt(te()),R,w.value(q)),ue=(R,q)=>{const ae=g.value?g.value:Mt(new Date);g.value=Et(ae,R,w.value(q)),a("auto-apply"),a("update-flow-step")},X=(R,q)=>{const ae=Q(R,q);o.value.fixedEnd||o.value.fixedStart?g.value=Il(ae,g,a,o):g.value?O(ae,g.value)&&(g.value=cr(g,Q(R,q),a)):g.value=[Q(R,q)],ft().then(()=>{nn(g.value,a,e.autoApply,e.modelAuto)})},pe=(R,q)=>{dr(Q(R,q),g,m.value.limit),a("auto-apply",!0)},L=(R,q)=>(N.value[q].month=R,C(q,N.value[q].year,R),m.value.enabled?pe(R,q):o.value.enabled?X(R,q):ue(R,q)),K=(R,q)=>{W(R,q),C(q,R,null)},C=(R,q,ae)=>{let c=ae;if(!c&&c!==0){const F=_e();c=Array.isArray(F)?F[R].month:F.month}a("update-month-year",{instance:R,year:q,month:c})};return{groupedMonths:x,groupedYears:re,year:w,isDisabled:H,defaultedMultiCalendars:t,defaultedAriaLabels:n,defaultedTransitions:r,defaultedConfig:l,showYearPicker:z,modelValue:g,presetDate:(R,q)=>{Ol({value:R,modelValue:g,range:o.value.enabled,timezone:q?void 0:b.value.timezone}),a("auto-apply")},setHoverDate:(R,q)=>{E.value=Q(R,q)},selectMonth:L,selectYear:K,toggleYearPicker:j,handleYearSelect:G,handleYear:Y,getModelMonthYear:_e}},Uv=Z({compatConfig:{MODE:3},__name:"MonthPicker",props:{...xt},emits:["update:internal-model-value","overlay-closed","reset-flow","range-start","range-end","auto-apply","update-month-year","update-flow-step","mount","invalid-fixed-range","overlay-toggle"],setup(e,{expose:a,emit:t}){const n=t,r=ea(),l=_t(r,"yearMode"),o=e;qe(()=>{o.shadow||n("mount",null)});const{groupedMonths:u,groupedYears:i,year:b,isDisabled:f,defaultedMultiCalendars:m,defaultedConfig:v,showYearPicker:g,modelValue:w,presetDate:T,setHoverDate:N,selectMonth:S,selectYear:E,toggleYearPicker:O,handleYearSelect:W,handleYear:re,getModelMonthYear:z}=zv(o,n);return a({getSidebarProps:()=>({modelValue:w,year:b,getModelMonthYear:z,selectMonth:S,selectYear:E,handleYear:re}),presetDate:T,toggleYearPicker:j=>O(0,j)}),(j,G)=>(d(),se(an,{"multi-calendars":s(m).count,collapse:j.collapse,stretch:"","is-mobile":j.isMobile},{default:k(({instance:Y})=>[j.$slots["top-extra"]?_(j.$slots,"top-extra",{key:0,value:j.internalModelValue}):P("",!0),j.$slots["month-year"]?_(j.$slots,"month-year",ut(Le({key:1},{year:s(b),months:s(u)(Y),years:s(i)(Y),selectMonth:s(S),selectYear:s(E),instance:Y}))):(d(),se(Ra,{key:2,items:s(u)(Y),"arrow-navigation":j.arrowNavigation,"is-last":j.autoApply&&!s(v).keepActionRow,"esc-close":j.escClose,height:s(v).modeHeight,config:j.config,"no-overlay-focus":!!(j.noOverlayFocus||j.textInput),"use-relative":"",type:"month",onSelected:H=>s(S)(H,Y),onHoverValue:H=>s(N)(H,Y)},st({header:k(()=>[ee(Vl,Le(j.$props,{items:s(i)(Y),instance:Y,"show-year-picker":s(g)[Y],year:s(b)(Y),"is-disabled":H=>s(f)(Y,H),onHandleYear:H=>s(re)(Y,H),onYearSelect:H=>s(W)(H,Y),onToggleYearPicker:H=>s(O)(Y,H==null?void 0:H.flow,H==null?void 0:H.show)}),st({_:2},[Se(s(l),(H,ve)=>({name:H,fn:k(_e=>[_(j.$slots,H,ut(yt(_e)))])}))]),1040,["items","instance","show-year-picker","year","is-disabled","onHandleYear","onYearSelect","onToggleYearPicker"])]),_:2},[j.$slots["month-overlay-value"]?{name:"item",fn:k(({item:H})=>[_(j.$slots,"month-overlay-value",{text:H.text,value:H.value})]),key:"0"}:void 0]),1032,["items","arrow-navigation","is-last","esc-close","height","config","no-overlay-focus","onSelected","onHoverValue"]))]),_:3},8,["multi-calendars","collapse","is-mobile"]))}}),qv=(e,a)=>{const t=()=>{e.isTextInputDate&&(f.value=xe(te(e.startDate)))},{modelValue:n}=Ha(e,a,t),r=M(null),{defaultedHighlight:l,defaultedMultiDates:o,defaultedFilters:u,defaultedRange:i,propDates:b}=Xe(e),f=M();qe(()=>{e.startDate&&(n.value&&e.focusStartDate||!n.value)&&(f.value=xe(te(e.startDate)))});const m=S=>Array.isArray(n.value)?n.value.some(E=>xe(E)===S):n.value?xe(n.value)===S:!1,v=S=>i.value.enabled&&Array.isArray(n.value)?Oa(n.value,r.value,N(S)):!1,g=S=>b.value.allowedDates instanceof Map?b.value.allowedDates.size?b.value.allowedDates.has(`${S}`):!1:!0,w=S=>b.value.disabledDates instanceof Map?b.value.disabledDates.size?b.value.disabledDates.has(`${S}`):!1:!0,T=D(()=>wa(or(e.yearRange,e.locale,e.reverseYears),S=>{const E=m(S.value),O=Va(S.value,Da(b.value.minDate),Da(b.value.maxDate))||u.value.years.includes(S.value)||!g(S.value)||w(S.value),W=v(S.value)&&!E,re=ur(l.value,S.value);return{active:E,disabled:O,isBetween:W,highlighted:re}})),N=S=>Lt(Mt(ba(new Date)),S);return{groupedYears:T,modelValue:n,focusYear:f,setHoverValue:S=>{r.value=Lt(Mt(new Date),S)},selectYear:S=>{var E;if(a("update-month-year",{instance:0,year:S}),o.value.enabled)return n.value?Array.isArray(n.value)&&(((E=n.value)==null?void 0:E.map(O=>xe(O))).includes(S)?n.value=n.value.filter(O=>xe(O)!==S):n.value.push(Lt(dt(te()),S))):n.value=[Lt(dt(ba(te())),S)],a("auto-apply",!0);i.value.enabled?(n.value=cr(n,N(S),a),ft().then(()=>{nn(n.value,a,e.autoApply,e.modelAuto)})):(n.value=N(S),a("auto-apply"))}}},jv=Z({compatConfig:{MODE:3},__name:"YearPicker",props:{...xt},emits:["update:internal-model-value","reset-flow","range-start","range-end","auto-apply","update-month-year"],setup(e,{expose:a,emit:t}){const n=t,r=e,{groupedYears:l,modelValue:o,focusYear:u,selectYear:i,setHoverValue:b}=qv(r,n),{defaultedConfig:f}=Xe(r);return a({getSidebarProps:()=>({modelValue:o,selectYear:i})}),(m,v)=>(d(),p("div",null,[m.$slots["top-extra"]?_(m.$slots,"top-extra",{key:0,value:m.internalModelValue}):P("",!0),m.$slots["month-year"]?_(m.$slots,"month-year",ut(Le({key:1},{years:s(l),selectYear:s(i)}))):(d(),se(Ra,{key:2,items:s(l),"is-last":m.autoApply&&!s(f).keepActionRow,height:s(f).modeHeight,config:m.config,"no-overlay-focus":!!(m.noOverlayFocus||m.textInput),"focus-value":s(u),type:"year","use-relative":"",onSelected:s(i),onHoverValue:s(b)},st({_:2},[m.$slots["year-overlay-value"]?{name:"item",fn:k(({item:g})=>[_(m.$slots,"year-overlay-value",{text:g.text,value:g.value})]),key:"0"}:void 0]),1032,["items","is-last","height","config","no-overlay-focus","focus-value","onSelected","onHoverValue"]))]))}}),Xv={key:0,class:"dp__time_input"},Qv=["data-compact","data-collapsed"],Kv=["data-test-id","aria-label","onKeydown","onClick","onMousedown"],Gv=["aria-label","disabled","data-test-id","onKeydown","onClick"],Zv=["data-test-id","aria-label","onKeydown","onClick","onMousedown"],Jv={key:0},ep=["aria-label","data-compact"],tp=Z({compatConfig:{MODE:3},__name:"TimeInput",props:{hours:{type:Number,default:0},minutes:{type:Number,default:0},seconds:{type:Number,default:0},closeTimePickerBtn:{type:Object,default:null},order:{type:Number,default:0},disabledTimesConfig:{type:Function,default:null},validateTime:{type:Function,default:()=>!1},...xt},emits:["set-hours","set-minutes","update:hours","update:minutes","update:seconds","reset-flow","mounted","overlay-closed","overlay-opened","am-pm-change"],setup(e,{expose:a,emit:t}){const n=t,r=e,{setTimePickerElements:l,setTimePickerBackRef:o}=ta(),{defaultedAriaLabels:u,defaultedTransitions:i,defaultedFilters:b,defaultedConfig:f,defaultedRange:m,defaultedMultiCalendars:v}=Xe(r),{transitionName:g,showTransition:w}=Ya(i),T=Ia({hours:!1,minutes:!1,seconds:!1}),N=M("AM"),S=M(null),E=M([]),O=M(),W=M(!1);qe(()=>{n("mounted")});const re=h=>We(new Date,{hours:h.hours,minutes:h.minutes,seconds:r.enableSeconds?h.seconds:0,milliseconds:0}),z=D(()=>h=>X(h,r[h])||G(h,r[h])),j=D(()=>({hours:r.hours,minutes:r.minutes,seconds:r.seconds})),G=(h,oe)=>m.value.enabled&&!m.value.disableTimeRangeValidation?!r.validateTime(h,oe):!1,Y=(h,oe)=>{if(m.value.enabled&&!m.value.disableTimeRangeValidation){const fe=oe?+r[`${h}Increment`]:-+r[`${h}Increment`],ie=r[h]+fe;return!r.validateTime(h,ie)}return!1},H=D(()=>h=>!R(+r[h]+ +r[`${h}Increment`],h)||Y(h,!0)),ve=D(()=>h=>!R(+r[h]-+r[`${h}Increment`],h)||Y(h,!1)),_e=(h,oe)=>Zr(We(te(),h),oe),Pe=(h,oe)=>qm(We(te(),h),oe),$=D(()=>({dp__time_col:!0,dp__time_col_block:!r.timePickerInline,dp__time_col_reg_block:!r.enableSeconds&&r.is24&&!r.timePickerInline,dp__time_col_reg_inline:!r.enableSeconds&&r.is24&&r.timePickerInline,dp__time_col_reg_with_button:!r.enableSeconds&&!r.is24,dp__time_col_sec:r.enableSeconds&&r.is24,dp__time_col_sec_with_button:r.enableSeconds&&!r.is24})),I=D(()=>r.timePickerInline&&m.value.enabled&&!v.value.count),x=D(()=>{const h=[{type:"hours"}];return r.enableMinutes&&h.push({type:"",separator:!0},{type:"minutes"}),r.enableSeconds&&h.push({type:"",separator:!0},{type:"seconds"}),h}),Q=D(()=>x.value.filter(h=>!h.separator)),ue=D(()=>h=>{if(h==="hours"){const oe=je(+r.hours);return{text:oe<10?`0${oe}`:`${oe}`,value:oe}}return{text:r[h]<10?`0${r[h]}`:`${r[h]}`,value:r[h]}}),X=(h,oe)=>{var fe;if(!r.disabledTimesConfig)return!1;const ie=r.disabledTimesConfig(r.order,h==="hours"?oe:void 0);return ie[h]?!!((fe=ie[h])!=null&&fe.includes(oe)):!0},pe=(h,oe)=>oe!=="hours"||N.value==="AM"?h:h+12,L=h=>{const oe=r.is24?24:12,fe=h==="hours"?oe:60,ie=+r[`${h}GridIncrement`],Ie=h==="hours"&&!r.is24?ie:0,Ve=[];for(let V=Ie;V({active:!1,disabled:b.value.times[h].includes(V.value)||!R(V.value,h)||X(h,V.value)||G(h,V.value)}))},K=h=>h>=0?h:59,C=h=>h>=0?h:23,R=(h,oe)=>{const fe=r.minTime?re(hn(r.minTime)):null,ie=r.maxTime?re(hn(r.maxTime)):null,Ie=re(hn(j.value,oe,oe==="minutes"||oe==="seconds"?K(h):C(h)));return fe&&ie?(ka(Ie,ie)||ra(Ie,ie))&&(ua(Ie,fe)||ra(Ie,fe)):fe?ua(Ie,fe)||ra(Ie,fe):ie?ka(Ie,ie)||ra(Ie,ie):!0},q=h=>r[`no${h[0].toUpperCase()+h.slice(1)}Overlay`],ae=h=>{q(h)||(T[h]=!T[h],T[h]?(W.value=!0,n("overlay-opened",h)):(W.value=!1,n("overlay-closed",h)))},c=h=>h==="hours"?Bt:h==="minutes"?Jt:_a,F=()=>{O.value&&clearTimeout(O.value)},me=(h,oe=!0,fe)=>{const ie=oe?_e:Pe,Ie=oe?+r[`${h}Increment`]:-+r[`${h}Increment`];R(+r[h]+Ie,h)&&n(`update:${h}`,c(h)(ie({[h]:+r[h]},{[h]:+r[`${h}Increment`]}))),!(fe!=null&&fe.keyboard)&&f.value.timeArrowHoldThreshold&&(O.value=setTimeout(()=>{me(h,oe)},f.value.timeArrowHoldThreshold))},je=h=>r.is24?h:(h>=12?N.value="PM":N.value="AM",Jm(h)),B=()=>{N.value==="PM"?(N.value="AM",n("update:hours",r.hours-12)):(N.value="PM",n("update:hours",r.hours+12)),n("am-pm-change",N.value)},Ce=h=>{T[h]=!0},J=(h,oe,fe)=>{if(h&&r.arrowNavigation){Array.isArray(E.value[oe])?E.value[oe][fe]=h:E.value[oe]=[h];const ie=E.value.reduce((Ie,Ve)=>Ve.map((V,ne)=>[...Ie[ne]||[],Ve[ne]]),[]);o(r.closeTimePickerBtn),S.value&&(ie[1]=ie[1].concat(S.value)),l(ie,r.order)}},de=(h,oe)=>(ae(h),n(`update:${h}`,oe));return a({openChildCmp:Ce}),(h,oe)=>{var fe;return h.disabled?P("",!0):(d(),p("div",Xv,[(d(!0),p(ye,null,Se(x.value,(ie,Ie)=>{var Ve,V,ne;return d(),p("div",{key:Ie,class:ge($.value),"data-compact":I.value&&!h.enableSeconds,"data-collapsed":I.value&&h.enableSeconds},[ie.separator?(d(),p(ye,{key:0},[W.value?P("",!0):(d(),p(ye,{key:0},[Be(":")],64))],64)):(d(),p(ye,{key:1},[y("button",{ref_for:!0,ref:De=>J(De,Ie,0),type:"button",class:ge({dp__btn:!0,dp__inc_dec_button:!h.timePickerInline,dp__inc_dec_button_inline:h.timePickerInline,dp__tp_inline_btn_top:h.timePickerInline,dp__inc_dec_button_disabled:H.value(ie.type),"dp--hidden-el":W.value}),"data-test-id":`${ie.type}-time-inc-btn-${r.order}`,"aria-label":(Ve=s(u))==null?void 0:Ve.incrementValue(ie.type),tabindex:"0",onKeydown:De=>s(pt)(De,()=>me(ie.type,!0,{keyboard:!0}),!0),onClick:De=>s(f).timeArrowHoldThreshold?void 0:me(ie.type,!0),onMousedown:De=>s(f).timeArrowHoldThreshold?me(ie.type,!0):void 0,onMouseup:F},[r.timePickerInline?(d(),p(ye,{key:1},[h.$slots["tp-inline-arrow-up"]?_(h.$slots,"tp-inline-arrow-up",{key:0}):(d(),p(ye,{key:1},[oe[2]||(oe[2]=y("span",{class:"dp__tp_inline_btn_bar dp__tp_btn_in_l"},null,-1)),oe[3]||(oe[3]=y("span",{class:"dp__tp_inline_btn_bar dp__tp_btn_in_r"},null,-1))],64))],64)):(d(),p(ye,{key:0},[h.$slots["arrow-up"]?_(h.$slots,"arrow-up",{key:0}):P("",!0),h.$slots["arrow-up"]?P("",!0):(d(),se(s(nr),{key:1}))],64))],42,Kv),y("button",{ref_for:!0,ref:De=>J(De,Ie,1),type:"button","aria-label":`${ue.value(ie.type).text}-${(V=s(u))==null?void 0:V.openTpOverlay(ie.type)}`,class:ge({dp__time_display:!0,dp__time_display_block:!h.timePickerInline,dp__time_display_inline:h.timePickerInline,"dp--time-invalid":z.value(ie.type),"dp--time-overlay-btn":!z.value(ie.type),"dp--hidden-el":W.value}),disabled:q(ie.type),tabindex:"0","data-test-id":`${ie.type}-toggle-overlay-btn-${r.order}`,onKeydown:De=>s(pt)(De,()=>ae(ie.type),!0),onClick:De=>ae(ie.type)},[h.$slots[ie.type]?_(h.$slots,ie.type,{key:0,text:ue.value(ie.type).text,value:ue.value(ie.type).value}):P("",!0),h.$slots[ie.type]?P("",!0):(d(),p(ye,{key:1},[Be(he(ue.value(ie.type).text),1)],64))],42,Gv),y("button",{ref_for:!0,ref:De=>J(De,Ie,2),type:"button",class:ge({dp__btn:!0,dp__inc_dec_button:!h.timePickerInline,dp__inc_dec_button_inline:h.timePickerInline,dp__tp_inline_btn_bottom:h.timePickerInline,dp__inc_dec_button_disabled:ve.value(ie.type),"dp--hidden-el":W.value}),"data-test-id":`${ie.type}-time-dec-btn-${r.order}`,"aria-label":(ne=s(u))==null?void 0:ne.decrementValue(ie.type),tabindex:"0",onKeydown:De=>s(pt)(De,()=>me(ie.type,!1,{keyboard:!0}),!0),onClick:De=>s(f).timeArrowHoldThreshold?void 0:me(ie.type,!1),onMousedown:De=>s(f).timeArrowHoldThreshold?me(ie.type,!1):void 0,onMouseup:F},[r.timePickerInline?(d(),p(ye,{key:1},[h.$slots["tp-inline-arrow-down"]?_(h.$slots,"tp-inline-arrow-down",{key:0}):(d(),p(ye,{key:1},[oe[4]||(oe[4]=y("span",{class:"dp__tp_inline_btn_bar dp__tp_btn_in_l"},null,-1)),oe[5]||(oe[5]=y("span",{class:"dp__tp_inline_btn_bar dp__tp_btn_in_r"},null,-1))],64))],64)):(d(),p(ye,{key:0},[h.$slots["arrow-down"]?_(h.$slots,"arrow-down",{key:0}):P("",!0),h.$slots["arrow-down"]?P("",!0):(d(),se(s(rr),{key:1}))],64))],42,Zv)],64))],10,Qv)}),128)),h.is24?P("",!0):(d(),p("div",Jv,[h.$slots["am-pm-button"]?_(h.$slots,"am-pm-button",{key:0,toggle:B,value:N.value}):P("",!0),h.$slots["am-pm-button"]?P("",!0):(d(),p("button",{key:1,ref_key:"amPmButton",ref:S,type:"button",class:"dp__pm_am_button",role:"button","aria-label":(fe=s(u))==null?void 0:fe.amPmButton,tabindex:"0","data-compact":I.value,onClick:B,onKeydown:oe[0]||(oe[0]=ie=>s(pt)(ie,()=>B(),!0))},he(N.value),41,ep))])),(d(!0),p(ye,null,Se(Q.value,(ie,Ie)=>(d(),se(Wt,{key:Ie,name:s(g)(T[ie.type]),css:s(w)},{default:k(()=>{var Ve,V;return[T[ie.type]?(d(),se(Ra,{key:0,items:L(ie.type),"is-last":h.autoApply&&!s(f).keepActionRow,"esc-close":h.escClose,type:ie.type,"text-input":h.textInput,config:h.config,"arrow-navigation":h.arrowNavigation,"aria-labels":h.ariaLabels,"overlay-label":(V=(Ve=s(u)).timeOverlay)==null?void 0:V.call(Ve,ie.type),onSelected:ne=>de(ie.type,ne),onToggle:ne=>ae(ie.type),onResetFlow:oe[1]||(oe[1]=ne=>h.$emit("reset-flow"))},st({"button-icon":k(()=>[h.$slots["clock-icon"]?_(h.$slots,"clock-icon",{key:0}):P("",!0),h.$slots["clock-icon"]?P("",!0):(d(),se(gt(h.timePickerInline?s($a):s(ar)),{key:1}))]),_:2},[h.$slots[`${ie.type}-overlay-value`]?{name:"item",fn:k(({item:ne})=>[_(h.$slots,`${ie.type}-overlay-value`,{text:ne.text,value:ne.value})]),key:"0"}:void 0,h.$slots[`${ie.type}-overlay-header`]?{name:"header",fn:k(()=>[_(h.$slots,`${ie.type}-overlay-header`,{toggle:()=>ae(ie.type)})]),key:"1"}:void 0]),1032,["items","is-last","esc-close","type","text-input","config","arrow-navigation","aria-labels","overlay-label","onSelected","onToggle"])):P("",!0)]}),_:2},1032,["name","css"]))),128))]))}}}),ap=["data-dp-mobile"],np=["aria-label","tabindex"],rp=["role","aria-label","tabindex"],lp=["aria-label"],Ll=Z({compatConfig:{MODE:3},__name:"TimePicker",props:{hours:{type:[Number,Array],default:0},minutes:{type:[Number,Array],default:0},seconds:{type:[Number,Array],default:0},disabledTimesConfig:{type:Function,default:null},validateTime:{type:Function,default:()=>!1},...xt},emits:["update:hours","update:minutes","update:seconds","mount","reset-flow","overlay-opened","overlay-closed","am-pm-change"],setup(e,{expose:a,emit:t}){const n=t,r=e,{buildMatrix:l,setTimePicker:o}=ta(),u=ea(),{defaultedTransitions:i,defaultedAriaLabels:b,defaultedTextInput:f,defaultedConfig:m,defaultedRange:v}=Xe(r),{transitionName:g,showTransition:w}=Ya(i),{hideNavigationButtons:T}=rn(),N=M(null),S=M(null),E=M([]),O=M(null),W=M(!1);qe(()=>{n("mount"),!r.timePicker&&r.arrowNavigation?l([ot(N.value)],"time"):o(!0,r.timePicker)});const re=D(()=>v.value.enabled&&r.modelAuto?_l(r.internalModelValue):!0),z=M(!1),j=X=>({hours:Array.isArray(r.hours)?r.hours[X]:r.hours,minutes:Array.isArray(r.minutes)?r.minutes[X]:r.minutes,seconds:Array.isArray(r.seconds)?r.seconds[X]:r.seconds}),G=D(()=>{const X=[];if(v.value.enabled)for(let pe=0;pe<2;pe++)X.push(j(pe));else X.push(j(0));return X}),Y=(X,pe=!1,L="")=>{pe||n("reset-flow"),z.value=X,n(X?"overlay-opened":"overlay-closed",mt.time),r.arrowNavigation&&o(X),ft(()=>{L!==""&&E.value[0]&&E.value[0].openChildCmp(L)})},H=D(()=>({dp__btn:!0,dp__button:!0,dp__button_bottom:r.autoApply&&!m.value.keepActionRow})),ve=_t(u,"timePicker"),_e=(X,pe,L)=>v.value.enabled?pe===0?[X,G.value[1][L]]:[G.value[0][L],X]:X,Pe=X=>{n("update:hours",X)},$=X=>{n("update:minutes",X)},I=X=>{n("update:seconds",X)},x=()=>{if(O.value&&!f.value.enabled&&!r.noOverlayFocus){const X=kl(O.value);X&&X.focus({preventScroll:!0})}},Q=X=>{W.value=!1,n("overlay-closed",X)},ue=X=>{W.value=!0,n("overlay-opened",X)};return a({toggleTimePicker:Y}),(X,pe)=>{var L;return d(),p("div",{class:"dp--tp-wrap","data-dp-mobile":X.isMobile},[!X.timePicker&&!X.timePickerInline?xa((d(),p("button",{key:0,ref_key:"openTimePickerBtn",ref:N,type:"button",class:ge({...H.value,"dp--hidden-el":z.value}),"aria-label":(L=s(b))==null?void 0:L.openTimePicker,tabindex:X.noOverlayFocus?void 0:0,"data-test-id":"open-time-picker-btn",onKeydown:pe[0]||(pe[0]=K=>s(pt)(K,()=>Y(!0))),onClick:pe[1]||(pe[1]=K=>Y(!0))},[X.$slots["clock-icon"]?_(X.$slots,"clock-icon",{key:0}):P("",!0),X.$slots["clock-icon"]?P("",!0):(d(),se(s(ar),{key:1}))],42,np)),[[Wa,!s(T)(X.hideNavigation,"time")]]):P("",!0),ee(Wt,{name:s(g)(z.value),css:s(w)&&!X.timePickerInline},{default:k(()=>{var K,C;return[z.value||X.timePicker||X.timePickerInline?(d(),p("div",{key:0,ref_key:"overlayRef",ref:O,role:X.timePickerInline?void 0:"dialog",class:ge({dp__overlay:!X.timePickerInline,"dp--overlay-absolute":!r.timePicker&&!X.timePickerInline,"dp--overlay-relative":r.timePicker}),style:ht(X.timePicker?{height:`${s(m).modeHeight}px`}:void 0),"aria-label":(K=s(b))==null?void 0:K.timePicker,tabindex:X.timePickerInline?void 0:0},[y("div",{class:ge(X.timePickerInline?"dp__time_picker_inline_container":"dp__overlay_container dp__container_flex dp__time_picker_overlay_container"),style:{display:"flex"}},[X.$slots["time-picker-overlay"]?_(X.$slots,"time-picker-overlay",{key:0,hours:e.hours,minutes:e.minutes,seconds:e.seconds,setHours:Pe,setMinutes:$,setSeconds:I}):P("",!0),X.$slots["time-picker-overlay"]?P("",!0):(d(),p("div",{key:1,class:ge(X.timePickerInline?"dp__flex":"dp__overlay_row dp__flex_row")},[(d(!0),p(ye,null,Se(G.value,(R,q)=>xa((d(),se(tp,Le({key:q,ref_for:!0},{...X.$props,order:q,hours:R.hours,minutes:R.minutes,seconds:R.seconds,closeTimePickerBtn:S.value,disabledTimesConfig:e.disabledTimesConfig,disabled:q===0?s(v).fixedStart:s(v).fixedEnd},{ref_for:!0,ref_key:"timeInputRefs",ref:E,"validate-time":(ae,c)=>e.validateTime(ae,_e(c,q,ae)),"onUpdate:hours":ae=>Pe(_e(ae,q,"hours")),"onUpdate:minutes":ae=>$(_e(ae,q,"minutes")),"onUpdate:seconds":ae=>I(_e(ae,q,"seconds")),onMounted:x,onOverlayClosed:Q,onOverlayOpened:ue,onAmPmChange:pe[2]||(pe[2]=ae=>X.$emit("am-pm-change",ae))}),st({_:2},[Se(s(ve),(ae,c)=>({name:ae,fn:k(F=>[_(X.$slots,ae,Le({ref_for:!0},F))])}))]),1040,["validate-time","onUpdate:hours","onUpdate:minutes","onUpdate:seconds"])),[[Wa,q===0?!0:re.value]])),128))],2)),!X.timePicker&&!X.timePickerInline?xa((d(),p("button",{key:2,ref_key:"closeTimePickerBtn",ref:S,type:"button",class:ge({...H.value,"dp--hidden-el":W.value}),"aria-label":(C=s(b))==null?void 0:C.closeTimePicker,tabindex:"0",onKeydown:pe[3]||(pe[3]=R=>s(pt)(R,()=>Y(!1))),onClick:pe[4]||(pe[4]=R=>Y(!1))},[X.$slots["calendar-icon"]?_(X.$slots,"calendar-icon",{key:0}):P("",!0),X.$slots["calendar-icon"]?P("",!0):(d(),se(s($a),{key:1}))],42,lp)),[[Wa,!s(T)(X.hideNavigation,"time")]]):P("",!0)],2)],14,rp)):P("",!0)]}),_:3},8,["name","css"])],8,ap)}}}),Rl=(e,a,t,n)=>{const{defaultedRange:r}=Xe(e),l=(O,W)=>Array.isArray(a[O])?a[O][W]:a[O],o=O=>e.enableSeconds?Array.isArray(a.seconds)?a.seconds[O]:a.seconds:0,u=(O,W)=>O?W!==void 0?Zt(O,l("hours",W),l("minutes",W),o(W)):Zt(O,a.hours,a.minutes,o()):hl(te(),o(W)),i=(O,W)=>{a[O]=W},b=D(()=>e.modelAuto&&r.value.enabled?Array.isArray(t.value)?t.value.length>1:!1:r.value.enabled),f=(O,W)=>{const re=Object.fromEntries(Object.keys(a).map(z=>z===O?[z,W]:[z,a[z]].slice()));if(b.value&&!r.value.disableTimeRangeValidation){const z=G=>t.value?Zt(t.value[G],re.hours[G],re.minutes[G],re.seconds[G]):null,j=G=>fl(t.value[G],0);return!(Ne(z(0),z(1))&&(ua(z(0),j(1))||ka(z(1),j(0))))}return!0},m=(O,W)=>{f(O,W)&&(i(O,W),n&&n())},v=O=>{m("hours",O)},g=O=>{m("minutes",O)},w=O=>{m("seconds",O)},T=(O,W,re,z)=>{W&&v(O),!W&&!re&&g(O),re&&w(O),t.value&&z(t.value)},N=O=>{if(O){const W=Array.isArray(O),re=W?[+O[0].hours,+O[1].hours]:+O.hours,z=W?[+O[0].minutes,+O[1].minutes]:+O.minutes,j=W?[+O[0].seconds,+O[1].seconds]:+O.seconds;i("hours",re),i("minutes",z),e.enableSeconds&&i("seconds",j)}},S=(O,W)=>{const re={hours:Array.isArray(a.hours)?a.hours[O]:a.hours,disabledArr:[]};return(W||W===0)&&(re.hours=W),Array.isArray(e.disabledTimes)&&(re.disabledArr=r.value.enabled&&Array.isArray(e.disabledTimes[O])?e.disabledTimes[O]:e.disabledTimes),re},E=D(()=>(O,W)=>{var re;if(Array.isArray(e.disabledTimes)){const{disabledArr:z,hours:j}=S(O,W),G=z.filter(Y=>+Y.hours===j);return((re=G[0])==null?void 0:re.minutes)==="*"?{hours:[j],minutes:void 0,seconds:void 0}:{hours:[],minutes:(G==null?void 0:G.map(Y=>+Y.minutes))??[],seconds:(G==null?void 0:G.map(Y=>Y.seconds?+Y.seconds:void 0))??[]}}return{hours:[],minutes:[],seconds:[]}});return{setTime:i,updateHours:v,updateMinutes:g,updateSeconds:w,getSetDateTime:u,updateTimeValues:T,getSecondsValue:o,assignStartTime:N,validateTime:f,disabledTimesConfig:E}},op=(e,a)=>{const t=()=>{e.isTextInputDate&&W()},{modelValue:n,time:r}=Ha(e,a,t),{defaultedStartTime:l,defaultedRange:o,defaultedTz:u}=Xe(e),{updateTimeValues:i,getSetDateTime:b,setTime:f,assignStartTime:m,disabledTimesConfig:v,validateTime:g}=Rl(e,r,n,w);function w(){a("update-flow-step")}const T=z=>{const{hours:j,minutes:G,seconds:Y}=z;return{hours:+j,minutes:+G,seconds:Y?+Y:0}},N=()=>{if(e.startTime){if(Array.isArray(e.startTime)){const j=T(e.startTime[0]),G=T(e.startTime[1]);return[We(te(),j),We(te(),G)]}const z=T(e.startTime);return We(te(),z)}return o.value.enabled?[null,null]:null},S=()=>{if(o.value.enabled){const[z,j]=N();n.value=[bt(b(z,0),u.value.timezone),bt(b(j,1),u.value.timezone)]}else n.value=bt(b(N()),u.value.timezone)},E=z=>Array.isArray(z)?[oa(te(z[0])),oa(te(z[1]))]:[oa(z??te())],O=(z,j,G)=>{f("hours",z),f("minutes",j),f("seconds",e.enableSeconds?G:0)},W=()=>{const[z,j]=E(n.value);return o.value.enabled?O([z.hours,j.hours],[z.minutes,j.minutes],[z.seconds,j.seconds]):O(z.hours,z.minutes,z.seconds)};qe(()=>{if(!e.shadow)return m(l.value),n.value?W():S()});const re=()=>{Array.isArray(n.value)?n.value=n.value.map((z,j)=>z&&b(z,j)):n.value=b(n.value),a("time-update")};return{modelValue:n,time:r,disabledTimesConfig:v,updateTime:(z,j=!0,G=!1)=>{i(z,j,G,re)},validateTime:g}},sp=Z({compatConfig:{MODE:3},__name:"TimePickerSolo",props:{...xt},emits:["update:internal-model-value","time-update","am-pm-change","mount","reset-flow","update-flow-step","overlay-toggle"],setup(e,{expose:a,emit:t}){const n=t,r=e,l=ea(),o=_t(l,"timePicker"),u=M(null),{time:i,modelValue:b,disabledTimesConfig:f,updateTime:m,validateTime:v}=op(r,n);return qe(()=>{r.shadow||n("mount",null)}),a({getSidebarProps:()=>({modelValue:b,time:i,updateTime:m}),toggleTimePicker:(g,w=!1,T="")=>{var N;(N=u.value)==null||N.toggleTimePicker(g,w,T)}}),(g,w)=>(d(),se(an,{"multi-calendars":0,stretch:"","is-mobile":g.isMobile},{default:k(()=>[ee(Ll,Le({ref_key:"tpRef",ref:u},g.$props,{hours:s(i).hours,minutes:s(i).minutes,seconds:s(i).seconds,"internal-model-value":g.internalModelValue,"disabled-times-config":s(f),"validate-time":s(v),"onUpdate:hours":w[0]||(w[0]=T=>s(m)(T)),"onUpdate:minutes":w[1]||(w[1]=T=>s(m)(T,!1)),"onUpdate:seconds":w[2]||(w[2]=T=>s(m)(T,!1,!0)),onAmPmChange:w[3]||(w[3]=T=>g.$emit("am-pm-change",T)),onResetFlow:w[4]||(w[4]=T=>g.$emit("reset-flow")),onOverlayClosed:w[5]||(w[5]=T=>g.$emit("overlay-toggle",{open:!1,overlay:T})),onOverlayOpened:w[6]||(w[6]=T=>g.$emit("overlay-toggle",{open:!0,overlay:T}))}),st({_:2},[Se(s(o),(T,N)=>({name:T,fn:k(S=>[_(g.$slots,T,ut(yt(S)))])}))]),1040,["hours","minutes","seconds","internal-model-value","disabled-times-config","validate-time"])]),_:3},8,["is-mobile"]))}}),ip={class:"dp--header-wrap"},up={key:0,class:"dp__month_year_wrap"},dp={key:0},cp={class:"dp__month_year_wrap"},mp=["data-dp-element","aria-label","data-test-id","onClick","onKeydown"],vp=Z({compatConfig:{MODE:3},__name:"DpHeader",props:{month:{type:Number,default:0},year:{type:Number,default:0},instance:{type:Number,default:0},years:{type:Array,default:()=>[]},months:{type:Array,default:()=>[]},...xt},emits:["update-month-year","mount","reset-flow","overlay-closed","overlay-opened"],setup(e,{expose:a,emit:t}){const n=t,r=e,{defaultedTransitions:l,defaultedAriaLabels:o,defaultedMultiCalendars:u,defaultedFilters:i,defaultedConfig:b,defaultedHighlight:f,propDates:m,defaultedUI:v}=Xe(r),{transitionName:g,showTransition:w}=Ya(l),{buildMatrix:T}=ta(),{handleMonthYearChange:N,isDisabled:S,updateMonthYear:E}=Ov(r,n),{showLeftIcon:O,showRightIcon:W}=rn(),re=M(!1),z=M(!1),j=M(!1),G=M([null,null,null,null]);qe(()=>{n("mount")});const Y=C=>({get:()=>r[C],set:R=>{const q=C===$t.month?$t.year:$t.month;n("update-month-year",{[C]:R,[q]:r[q]}),C===$t.month?Q(!0):ue(!0)}}),H=D(Y($t.month)),ve=D(Y($t.year)),_e=D(()=>C=>({month:r.month,year:r.year,items:C===$t.month?r.months:r.years,instance:r.instance,updateMonthYear:E,toggle:C===$t.month?Q:ue})),Pe=D(()=>r.months.find(R=>R.value===r.month)||{text:"",value:0}),$=D(()=>wa(r.months,C=>{const R=r.month===C.value,q=Va(C.value,$l(r.year,m.value.minDate),Pl(r.year,m.value.maxDate))||i.value.months.includes(C.value),ae=Al(f.value,C.value,r.year);return{active:R,disabled:q,highlighted:ae}})),I=D(()=>wa(r.years,C=>{const R=r.year===C.value,q=Va(C.value,Da(m.value.minDate),Da(m.value.maxDate))||i.value.years.includes(C.value),ae=ur(f.value,C.value);return{active:R,disabled:q,highlighted:ae}})),x=(C,R,q)=>{q!==void 0?C.value=q:C.value=!C.value,C.value?(j.value=!0,n("overlay-opened",R)):(j.value=!1,n("overlay-closed",R))},Q=(C=!1,R)=>{X(C),x(re,mt.month,R)},ue=(C=!1,R)=>{X(C),x(z,mt.year,R)},X=C=>{C||n("reset-flow")},pe=(C,R)=>{r.arrowNavigation&&(G.value[R]=ot(C),T(G.value,"monthYear"))},L=D(()=>{var C,R,q,ae,c,F;return[{type:$t.month,index:1,toggle:Q,modelValue:H.value,updateModelValue:me=>H.value=me,text:Pe.value.text,showSelectionGrid:re.value,items:$.value,ariaLabel:(C=o.value)==null?void 0:C.openMonthsOverlay,overlayLabel:((q=(R=o.value).monthPicker)==null?void 0:q.call(R,!0))??void 0},{type:$t.year,index:2,toggle:ue,modelValue:ve.value,updateModelValue:me=>ve.value=me,text:wl(r.year,r.locale),showSelectionGrid:z.value,items:I.value,ariaLabel:(ae=o.value)==null?void 0:ae.openYearsOverlay,overlayLabel:((F=(c=o.value).yearPicker)==null?void 0:F.call(c,!0))??void 0}]}),K=D(()=>r.disableYearSelect?[L.value[0]]:r.yearFirst?[...L.value].reverse():L.value);return a({toggleMonthPicker:Q,toggleYearPicker:ue,handleMonthYearChange:N}),(C,R)=>{var q,ae,c,F,me,je;return d(),p("div",ip,[C.$slots["month-year"]?(d(),p("div",up,[_(C.$slots,"month-year",ut(yt({month:e.month,year:e.year,months:e.months,years:e.years,updateMonthYear:s(E),handleMonthYearChange:s(N),instance:e.instance,isDisabled:s(S)})))])):(d(),p(ye,{key:1},[C.$slots["top-extra"]?(d(),p("div",dp,[_(C.$slots,"top-extra",{value:C.internalModelValue})])):P("",!0),y("div",cp,[s(O)(s(u),e.instance)&&!C.vertical?(d(),se(Aa,{key:0,"aria-label":(q=s(o))==null?void 0:q.prevMonth,disabled:s(S)(!1),class:ge((ae=s(v))==null?void 0:ae.navBtnPrev),"el-name":"action-prev",onActivate:R[0]||(R[0]=B=>s(N)(!1,!0)),onSetRef:R[1]||(R[1]=B=>pe(B,0))},{default:k(()=>[C.$slots["arrow-left"]?_(C.$slots,"arrow-left",{key:0}):P("",!0),C.$slots["arrow-left"]?P("",!0):(d(),se(s(er),{key:1}))]),_:3},8,["aria-label","disabled","class"])):P("",!0),y("div",{class:ge(["dp__month_year_wrap",{dp__year_disable_select:C.disableYearSelect}])},[(d(!0),p(ye,null,Se(K.value,(B,Ce)=>(d(),p(ye,{key:B.type},[y("button",{ref_for:!0,ref:J=>pe(J,Ce+1),type:"button","data-dp-element":`overlay-${B.type}`,class:ge(["dp__btn dp__month_year_select",{"dp--hidden-el":j.value}]),"aria-label":`${B.text}-${B.ariaLabel}`,"data-test-id":`${B.type}-toggle-overlay-${e.instance}`,onClick:B.toggle,onKeydown:J=>s(pt)(J,()=>B.toggle(),!0)},[C.$slots[B.type]?_(C.$slots,B.type,{key:0,text:B.text,value:r[B.type]}):P("",!0),C.$slots[B.type]?P("",!0):(d(),p(ye,{key:1},[Be(he(B.text),1)],64))],42,mp),ee(Wt,{name:s(g)(B.showSelectionGrid),css:s(w)},{default:k(()=>[B.showSelectionGrid?(d(),se(Ra,{key:0,items:B.items,"arrow-navigation":C.arrowNavigation,"hide-navigation":C.hideNavigation,"is-last":C.autoApply&&!s(b).keepActionRow,"skip-button-ref":!1,config:C.config,type:B.type,"header-refs":[],"esc-close":C.escClose,"menu-wrap-ref":C.menuWrapRef,"text-input":C.textInput,"aria-labels":C.ariaLabels,"overlay-label":B.overlayLabel,onSelected:B.updateModelValue,onToggle:B.toggle},st({"button-icon":k(()=>[C.$slots["calendar-icon"]?_(C.$slots,"calendar-icon",{key:0}):P("",!0),C.$slots["calendar-icon"]?P("",!0):(d(),se(s($a),{key:1}))]),_:2},[C.$slots[`${B.type}-overlay-value`]?{name:"item",fn:k(({item:J})=>[_(C.$slots,`${B.type}-overlay-value`,{text:J.text,value:J.value})]),key:"0"}:void 0,C.$slots[`${B.type}-overlay`]?{name:"overlay",fn:k(()=>[_(C.$slots,`${B.type}-overlay`,Le({ref_for:!0},_e.value(B.type)))]),key:"1"}:void 0,C.$slots[`${B.type}-overlay-header`]?{name:"header",fn:k(()=>[_(C.$slots,`${B.type}-overlay-header`,{toggle:B.toggle})]),key:"2"}:void 0]),1032,["items","arrow-navigation","hide-navigation","is-last","config","type","esc-close","menu-wrap-ref","text-input","aria-labels","overlay-label","onSelected","onToggle"])):P("",!0)]),_:2},1032,["name","css"])],64))),128))],2),s(O)(s(u),e.instance)&&C.vertical?(d(),se(Aa,{key:1,"aria-label":(c=s(o))==null?void 0:c.prevMonth,"el-name":"action-prev",disabled:s(S)(!1),class:ge((F=s(v))==null?void 0:F.navBtnPrev),onActivate:R[2]||(R[2]=B=>s(N)(!1,!0))},{default:k(()=>[C.$slots["arrow-up"]?_(C.$slots,"arrow-up",{key:0}):P("",!0),C.$slots["arrow-up"]?P("",!0):(d(),se(s(nr),{key:1}))]),_:3},8,["aria-label","disabled","class"])):P("",!0),s(W)(s(u),e.instance)?(d(),se(Aa,{key:2,ref:"rightIcon","el-name":"action-next",disabled:s(S)(!0),"aria-label":(me=s(o))==null?void 0:me.nextMonth,class:ge((je=s(v))==null?void 0:je.navBtnNext),onActivate:R[3]||(R[3]=B=>s(N)(!0,!0)),onSetRef:R[4]||(R[4]=B=>pe(B,C.disableYearSelect?2:3))},{default:k(()=>[C.$slots[C.vertical?"arrow-down":"arrow-right"]?_(C.$slots,C.vertical?"arrow-down":"arrow-right",{key:0}):P("",!0),C.$slots[C.vertical?"arrow-down":"arrow-right"]?P("",!0):(d(),se(gt(C.vertical?s(rr):s(tr)),{key:1}))]),_:3},8,["disabled","aria-label","class"])):P("",!0)])],64))])}}}),pp={class:"dp__calendar_header",role:"row"},fp={key:0,class:"dp__calendar_header_item",role:"gridcell"},hp=["aria-label"],yp={key:0,class:"dp__calendar_item dp__week_num",role:"gridcell"},gp={class:"dp__cell_inner"},bp=["id","aria-pressed","aria-disabled","aria-label","tabindex","data-test-id","onClick","onTouchend","onKeydown","onMouseenter","onMouseleave","onMousedown"],_p=Z({compatConfig:{MODE:3},__name:"DpCalendar",props:{mappedDates:{type:Array,default:()=>[]},instance:{type:Number,default:0},month:{type:Number,default:0},year:{type:Number,default:0},...xt},emits:["select-date","set-hover-date","handle-scroll","mount","handle-swipe","handle-space","tooltip-open","tooltip-close"],setup(e,{expose:a,emit:t}){const n=t,r=e,{buildMultiLevelMatrix:l}=ta(),{defaultedTransitions:o,defaultedConfig:u,defaultedAriaLabels:i,defaultedMultiCalendars:b,defaultedWeekNumbers:f,defaultedMultiDates:m,defaultedUI:v}=Xe(r),g=M(null),w=M({bottom:"",left:"",transform:""}),T=M([]),N=M(null),S=M(!0),E=M(""),O=M({startX:0,endX:0,startY:0,endY:0}),W=M([]),re=M({left:"50%"}),z=M(!1),j=D(()=>r.calendar?r.calendar(r.mappedDates):r.mappedDates),G=D(()=>r.dayNames?Array.isArray(r.dayNames)?r.dayNames:r.dayNames(r.locale,+r.weekStart):Zm(r.formatLocale,r.locale,+r.weekStart));qe(()=>{n("mount",{cmp:"calendar",refs:T}),u.value.noSwipe||N.value&&(N.value.addEventListener("touchstart",pe,{passive:!1}),N.value.addEventListener("touchend",L,{passive:!1}),N.value.addEventListener("touchmove",K,{passive:!1})),r.monthChangeOnScroll&&N.value&&N.value.addEventListener("wheel",q,{passive:!1})});const Y=B=>B?r.vertical?"vNext":"next":r.vertical?"vPrevious":"previous",H=(B,Ce)=>{if(r.transitions){const J=dt(Et(te(),r.month,r.year));E.value=Je(dt(Et(te(),B,Ce)),J)?o.value[Y(!0)]:o.value[Y(!1)],S.value=!1,ft(()=>{S.value=!0})}},ve=D(()=>({...v.value.calendar??{}})),_e=D(()=>B=>{const Ce=ev(B);return{dp__marker_dot:Ce.type==="dot",dp__marker_line:Ce.type==="line"}}),Pe=D(()=>B=>Ne(B,g.value)),$=D(()=>({dp__calendar:!0,dp__calendar_next:b.value.count>0&&r.instance!==0})),I=D(()=>B=>r.hideOffsetDates?B.current:!0),x=async(B,Ce)=>{const{width:J,height:de}=B.getBoundingClientRect();g.value=Ce.value;let h={left:`${J/2}px`},oe=-50;if(await ft(),W.value[0]){const{left:fe,width:ie}=W.value[0].getBoundingClientRect();fe<0&&(h={left:"0"},oe=0,re.value.left=`${J/2}px`),window.innerWidth{var de,h,oe;const fe=ot(T.value[Ce][J]);fe&&((de=B.marker)!=null&&de.customPosition&&(oe=(h=B.marker)==null?void 0:h.tooltip)!=null&&oe.length?w.value=B.marker.customPosition(fe):await x(fe,B),n("tooltip-open",B.marker))},ue=async(B,Ce,J)=>{var de,h;if(z.value&&m.value.enabled&&m.value.dragSelect)return n("select-date",B);if(n("set-hover-date",B),(h=(de=B.marker)==null?void 0:de.tooltip)!=null&&h.length){if(r.hideOffsetDates&&!B.current)return;await Q(B,Ce,J)}},X=B=>{g.value&&(g.value=null,w.value=JSON.parse(JSON.stringify({bottom:"",left:"",transform:""})),n("tooltip-close",B.marker))},pe=B=>{O.value.startX=B.changedTouches[0].screenX,O.value.startY=B.changedTouches[0].screenY},L=B=>{O.value.endX=B.changedTouches[0].screenX,O.value.endY=B.changedTouches[0].screenY,C()},K=B=>{r.vertical&&!r.inline&&B.preventDefault()},C=()=>{const B=r.vertical?"Y":"X";Math.abs(O.value[`start${B}`]-O.value[`end${B}`])>10&&n("handle-swipe",O.value[`start${B}`]>O.value[`end${B}`]?"right":"left")},R=(B,Ce,J)=>{B&&(Array.isArray(T.value[Ce])?T.value[Ce][J]=B:T.value[Ce]=[B]),r.arrowNavigation&&l(T.value,"calendar")},q=B=>{r.monthChangeOnScroll&&(B.preventDefault(),n("handle-scroll",B))},ae=B=>f.value.type==="local"?Kn(B.value,{weekStartsOn:+r.weekStart}):f.value.type==="iso"?Xn(B.value):typeof f.value.type=="function"?f.value.type(B.value):"",c=B=>{const Ce=B[0];return f.value.hideOnOffsetDates?B.some(J=>J.current)?ae(Ce):"":ae(Ce)},F=(B,Ce,J=!0)=>{!J&&lv()||(!m.value.enabled||u.value.allowPreventDefault)&&(Gt(B,u.value),n("select-date",Ce))},me=B=>{Gt(B,u.value)},je=B=>{m.value.enabled&&m.value.dragSelect?(z.value=!0,n("select-date",B)):m.value.enabled&&n("select-date",B)};return a({triggerTransition:H}),(B,Ce)=>(d(),p("div",{class:ge($.value)},[y("div",{ref_key:"calendarWrapRef",ref:N,class:ge(ve.value),role:"grid"},[y("div",pp,[B.weekNumbers?(d(),p("div",fp,he(B.weekNumName),1)):P("",!0),(d(!0),p(ye,null,Se(G.value,(J,de)=>{var h,oe;return d(),p("div",{key:de,class:"dp__calendar_header_item",role:"gridcell","data-test-id":"calendar-header","aria-label":(oe=(h=s(i))==null?void 0:h.weekDay)==null?void 0:oe.call(h,de)},[B.$slots["calendar-header"]?_(B.$slots,"calendar-header",{key:0,day:J,index:de}):P("",!0),B.$slots["calendar-header"]?P("",!0):(d(),p(ye,{key:1},[Be(he(J),1)],64))],8,hp)}),128))]),Ce[2]||(Ce[2]=y("div",{class:"dp__calendar_header_separator"},null,-1)),ee(Wt,{name:E.value,css:!!B.transitions},{default:k(()=>[S.value?(d(),p("div",{key:0,class:"dp__calendar",role:"rowgroup",onMouseleave:Ce[1]||(Ce[1]=J=>z.value=!1)},[(d(!0),p(ye,null,Se(j.value,(J,de)=>(d(),p("div",{key:de,class:"dp__calendar_row",role:"row"},[B.weekNumbers?(d(),p("div",yp,[y("div",gp,he(c(J.days)),1)])):P("",!0),(d(!0),p(ye,null,Se(J.days,(h,oe)=>{var fe,ie,Ie;return d(),p("div",{id:s(Rn)(h.value),ref_for:!0,ref:Ve=>R(Ve,de,oe),key:oe+de,role:"gridcell",class:"dp__calendar_item","aria-pressed":(h.classData.dp__active_date||h.classData.dp__range_start||h.classData.dp__range_start)??void 0,"aria-disabled":h.classData.dp__cell_disabled||void 0,"aria-label":(ie=(fe=s(i))==null?void 0:fe.day)==null?void 0:ie.call(fe,h),tabindex:!h.current&&B.hideOffsetDates?void 0:0,"data-test-id":s(Rn)(h.value),onClick:ia(Ve=>F(Ve,h),["prevent"]),onTouchend:Ve=>F(Ve,h,!1),onKeydown:Ve=>s(pt)(Ve,()=>B.$emit("select-date",h)),onMouseenter:Ve=>ue(h,de,oe),onMouseleave:Ve=>X(h),onMousedown:Ve=>je(h),onMouseup:Ce[0]||(Ce[0]=Ve=>z.value=!1)},[y("div",{class:ge(["dp__cell_inner",h.classData])},[B.$slots.day&&I.value(h)?_(B.$slots,"day",{key:0,day:+h.text,date:h.value}):P("",!0),B.$slots.day?P("",!0):(d(),p(ye,{key:1},[Be(he(h.text),1)],64)),h.marker&&I.value(h)?(d(),p(ye,{key:2},[B.$slots.marker?_(B.$slots,"marker",{key:0,marker:h.marker,day:+h.text,date:h.value}):(d(),p("div",{key:1,class:ge(_e.value(h.marker)),style:ht(h.marker.color?{backgroundColor:h.marker.color}:{})},null,6))],64)):P("",!0),Pe.value(h.value)?(d(),p("div",{key:3,ref_for:!0,ref_key:"activeTooltip",ref:W,class:"dp__marker_tooltip",style:ht(w.value)},[(Ie=h.marker)!=null&&Ie.tooltip?(d(),p("div",{key:0,class:"dp__tooltip_content",onClick:me},[(d(!0),p(ye,null,Se(h.marker.tooltip,(Ve,V)=>(d(),p("div",{key:V,class:"dp__tooltip_text"},[B.$slots["marker-tooltip"]?_(B.$slots,"marker-tooltip",{key:0,tooltip:Ve,day:h.value}):P("",!0),B.$slots["marker-tooltip"]?P("",!0):(d(),p(ye,{key:1},[y("div",{class:"dp__tooltip_mark",style:ht(Ve.color?{backgroundColor:Ve.color}:{})},null,4),y("div",null,he(Ve.text),1)],64))]))),128)),y("div",{class:"dp__arrow_bottom_tp",style:ht(re.value)},null,4)])):P("",!0)],4)):P("",!0)],2)],40,bp)}),128))]))),128))],32)):P("",!0)]),_:3},8,["name","css"])],2)],2))}}),Ir=e=>Array.isArray(e),kp=(e,a,t,n)=>{const r=M([]),l=M(new Date),o=M(),u=()=>L(e.isTextInputDate),{modelValue:i,calendars:b,time:f,today:m}=Ha(e,a,u),{defaultedMultiCalendars:v,defaultedStartTime:g,defaultedRange:w,defaultedConfig:T,defaultedTz:N,propDates:S,defaultedMultiDates:E}=Xe(e),{validateMonthYearInRange:O,isDisabled:W,isDateRangeAllowed:re,checkMinMaxRange:z}=aa(e),{updateTimeValues:j,getSetDateTime:G,setTime:Y,assignStartTime:H,validateTime:ve,disabledTimesConfig:_e}=Rl(e,f,i,n),Pe=D(()=>A=>b.value[A]?b.value[A].month:0),$=D(()=>A=>b.value[A]?b.value[A].year:0),I=A=>!T.value.keepViewOnOffsetClick||A?!0:!o.value,x=(A,le,Me,U=!1)=>{var ce,ke;I(U)&&(b.value[A]||(b.value[A]={month:0,year:0}),b.value[A].month=xr(le)?(ce=b.value[A])==null?void 0:ce.month:le,b.value[A].year=xr(Me)?(ke=b.value[A])==null?void 0:ke.year:Me)},Q=()=>{e.autoApply&&a("select-date")},ue=()=>{g.value&&H(g.value)};qe(()=>{e.shadow||(i.value||(Ce(),ue()),L(!0),e.focusStartDate&&e.startDate&&Ce())});const X=D(()=>{var A;return(A=e.flow)!=null&&A.length&&!e.partialFlow?e.flowStep===e.flow.length:!0}),pe=()=>{e.autoApply&&X.value&&a("auto-apply",e.partialFlow?e.flowStep!==e.flow.length:!1)},L=(A=!1)=>{if(i.value)return Array.isArray(i.value)?(r.value=i.value,F(A)):R(i.value,A);if(v.value.count&&A&&!e.startDate)return C(te(),A)},K=()=>Array.isArray(i.value)&&w.value.enabled?Ae(i.value[0])===Ae(i.value[1]??i.value[0]):!1,C=(A=new Date,le=!1)=>{if((!v.value.count||!v.value.static||le)&&x(0,Ae(A),xe(A)),v.value.count&&(!i.value||K()||!v.value.solo)&&(!v.value.solo||le))for(let Me=1;Me{C(A),Y("hours",Bt(A)),Y("minutes",Jt(A)),Y("seconds",_a(A)),v.value.count&&le&&B()},q=A=>{if(v.value.count){if(v.value.solo)return 0;const le=Ae(A[0]),Me=Ae(A[1]);return Math.abs(Me-le){A[1]&&w.value.showLastInRange?C(A[q(A)],le):C(A[0],le);const Me=(U,ce)=>[U(A[0]),A[1]?U(A[1]):f[ce][1]];Y("hours",Me(Bt,"hours")),Y("minutes",Me(Jt,"minutes")),Y("seconds",Me(_a,"seconds"))},c=(A,le)=>{if((w.value.enabled||e.weekPicker)&&!E.value.enabled)return ae(A,le);if(E.value.enabled&&le){const Me=A[A.length-1];return R(Me,le)}},F=A=>{const le=i.value;c(le,A),v.value.count&&v.value.solo&&B()},me=(A,le)=>{const Me=We(te(),{month:Pe.value(le),year:$.value(le)}),U=A<0?kt(Me,1):Ft(Me,1);O(Ae(U),xe(U),A<0,e.preventMinMaxNavigation)&&(x(le,Ae(U),xe(U)),a("update-month-year",{instance:le,month:Ae(U),year:xe(U)}),v.value.count&&!v.value.solo&&je(le),t())},je=A=>{for(let le=A-1;le>=0;le--){const Me=Ft(We(te(),{month:Pe.value(le+1),year:$.value(le+1)}),1);x(le,Ae(Me),xe(Me))}for(let le=A+1;le<=v.value.count-1;le++){const Me=kt(We(te(),{month:Pe.value(le-1),year:$.value(le-1)}),1);x(le,Ae(Me),xe(Me))}},B=()=>{if(Array.isArray(i.value)&&i.value.length===2){const A=te(te(i.value[1]?i.value[1]:kt(i.value[0],1))),[le,Me]=[Ae(i.value[0]),xe(i.value[0])],[U,ce]=[Ae(i.value[1]),xe(i.value[1])];(le!==U||le===U&&Me!==ce)&&v.value.solo&&x(1,Ae(A),xe(A))}else i.value&&!Array.isArray(i.value)&&(x(0,Ae(i.value),xe(i.value)),C(te()))},Ce=()=>{e.startDate&&(x(0,Ae(te(e.startDate)),xe(te(e.startDate))),v.value.count&&je(0))},J=(A,le)=>{if(e.monthChangeOnScroll){const Me=new Date().getTime()-l.value.getTime(),U=Math.abs(A.deltaY);let ce=500;U>1&&(ce=100),U>100&&(ce=0),Me>ce&&(l.value=new Date,me(e.monthChangeOnScroll!=="inverse"?-A.deltaY:A.deltaY,le))}},de=(A,le,Me=!1)=>{e.monthChangeOnArrows&&e.vertical===Me&&h(A,le)},h=(A,le)=>{me(A==="right"?-1:1,le)},oe=A=>{if(S.value.markers)return Xa(A.value,S.value.markers)},fe=(A,le)=>{switch(e.sixWeeks===!0?"append":e.sixWeeks){case"prepend":return[!0,!1];case"center":return[A==0,!0];case"fair":return[A==0||le>A,!0];case"append":return[!1,!1];default:return[!1,!1]}},ie=(A,le,Me,U)=>{if(e.sixWeeks&&A.length<6){const ce=6-A.length,ke=(le.getDay()+7-U)%7,At=6-(Me.getDay()+7-U)%7,[Dt,ma]=fe(ke,At);for(let Ma=1;Ma<=ce;Ma++)if(ma?!!(Ma%2)==Dt:Dt){const qt=A[0].days[0],vn=Ie(rt(qt.value,-7),Ae(le));A.unshift({days:vn})}else{const qt=A[A.length-1],vn=qt.days[qt.days.length-1],Hl=Ie(rt(vn.value,1),Ae(le));A.push({days:Hl})}}return A},Ie=(A,le)=>{const Me=te(A),U=[];for(let ce=0;ce<7;ce++){const ke=rt(Me,ce),At=Ae(ke)!==le;U.push({text:e.hideOffsetDates&&At?"":ke.getDate(),value:ke,current:!At,classData:{}})}return U},Ve=(A,le)=>{const Me=[],U=new Date(le,A),ce=new Date(le,A+1,0),ke=e.weekStart,At=Tt(U,{weekStartsOn:ke}),Dt=ma=>{const Ma=Ie(ma,A);if(Me.push({days:Ma}),!Me[Me.length-1].days.some(qt=>Ne(dt(qt.value),dt(ce)))){const qt=rt(ma,7);Dt(qt)}};return Dt(At),ie(Me,U,ce,ke)},V=A=>{const le=Zt(te(A.value),f.hours,f.minutes,nt());a("date-update",le),E.value.enabled?dr(le,i,E.value.limit):i.value=le,n(),ft().then(()=>{pe()})},ne=A=>w.value.noDisabledRange?Ml(r.value[0],A).some(le=>W(le)):!1,De=()=>{r.value=i.value?i.value.slice():[],r.value.length===2&&!(w.value.fixedStart||w.value.fixedEnd)&&(r.value=[])},lt=(A,le)=>{const Me=[te(A.value),rt(te(A.value),+w.value.autoRange)];re(Me)?(le&&St(A.value),r.value=Me):a("invalid-date",A.value)},St=A=>{const le=Ae(te(A)),Me=xe(te(A));if(x(0,le,Me),v.value.count>0)for(let U=1;U{if(ne(A.value)||!z(A.value,i.value,w.value.fixedStart?0:1))return a("invalid-date",A.value);r.value=Il(te(A.value),i,a,w)},Yt=(A,le)=>{if(De(),w.value.autoRange)return lt(A,le);if(w.value.fixedStart||w.value.fixedEnd)return $e(A);r.value[0]?z(te(A.value),i.value)&&!ne(A.value)?Ke(te(A.value),te(r.value[0]))?(r.value.unshift(te(A.value)),a("range-end",r.value[0])):(r.value[1]=te(A.value),a("range-end",r.value[1])):(e.autoApply&&a("auto-apply-invalid",A.value),a("invalid-date",A.value)):(r.value[0]=te(A.value),a("range-start",r.value[0]))},nt=(A=!0)=>e.enableSeconds?Array.isArray(f.seconds)?A?f.seconds[0]:f.seconds[1]:f.seconds:0,Pa=A=>{r.value[A]=Zt(r.value[A],f.hours[A],f.minutes[A],nt(A!==1))},ln=()=>{var A,le;r.value[0]&&r.value[1]&&+((A=r.value)==null?void 0:A[0])>+((le=r.value)==null?void 0:le[1])&&(r.value.reverse(),a("range-start",r.value[0]),a("range-end",r.value[1]))},Ea=()=>{r.value.length&&(r.value[0]&&!r.value[1]?Pa(0):(Pa(0),Pa(1),n()),ln(),i.value=r.value.slice(),nn(r.value,a,e.autoApply,e.modelAuto))},on=(A,le=!1)=>{if(W(A.value)||!A.current&&e.hideOffsetDates)return a("invalid-date",A.value);if(o.value=JSON.parse(JSON.stringify(A)),!w.value.enabled)return V(A);Ir(f.hours)&&Ir(f.minutes)&&!E.value.enabled&&(Yt(A,le),Ea())},sn=(A,le)=>{var Me;x(A,le.month,le.year,!0),v.value.count&&!v.value.solo&&je(A),a("update-month-year",{instance:A,month:le.month,year:le.year}),t(v.value.solo?A:void 0);const U=(Me=e.flow)!=null&&Me.length?e.flow[e.flowStep]:void 0;!le.fromNav&&(U===mt.month||U===mt.year)&&n()},un=(A,le)=>{Ol({value:A,modelValue:i,range:w.value.enabled,timezone:le?void 0:N.value.timezone}),Q(),e.multiCalendars&&ft().then(()=>L(!0))},dn=()=>{const A=lr(te(),N.value);!w.value.enabled&&!E.value.enabled?i.value=A:i.value&&Array.isArray(i.value)&&i.value[0]?E.value.enabled?i.value=[...i.value,A]:i.value=Ke(A,i.value[0])?[A,i.value[0]]:[i.value[0],A]:i.value=[A],Q()},cn=()=>{if(Array.isArray(i.value))if(E.value.enabled){const A=mn();i.value[i.value.length-1]=G(A)}else i.value=i.value.map((A,le)=>A&&G(A,le));else i.value=G(i.value);a("time-update")},mn=()=>Array.isArray(i.value)&&i.value.length?i.value[i.value.length-1]:null;return{calendars:b,modelValue:i,month:Pe,year:$,time:f,disabledTimesConfig:_e,today:m,validateTime:ve,getCalendarDays:Ve,getMarker:oe,handleScroll:J,handleSwipe:h,handleArrow:de,selectDate:on,updateMonthYear:sn,presetDate:un,selectCurrentDate:dn,updateTime:(A,le=!0,Me=!1)=>{j(A,le,Me,cn)},assignMonthAndYear:C,setStartTime:ue}},wp={key:0},Dp=Z({__name:"DatePicker",props:{...xt},emits:["tooltip-open","tooltip-close","mount","update:internal-model-value","update-flow-step","reset-flow","auto-apply","focus-menu","select-date","range-start","range-end","invalid-fixed-range","time-update","am-pm-change","time-picker-open","time-picker-close","recalculate-position","update-month-year","auto-apply-invalid","date-update","invalid-date","overlay-toggle"],setup(e,{expose:a,emit:t}){const n=t,r=e,{calendars:l,month:o,year:u,modelValue:i,time:b,disabledTimesConfig:f,today:m,validateTime:v,getCalendarDays:g,getMarker:w,handleArrow:T,handleScroll:N,handleSwipe:S,selectDate:E,updateMonthYear:O,presetDate:W,selectCurrentDate:re,updateTime:z,assignMonthAndYear:j,setStartTime:G}=kp(r,n,K,C),Y=ea(),{setHoverDate:H,getDayClassData:ve,clearHoverDate:_e}=Ep(i,r),{defaultedMultiCalendars:Pe}=Xe(r),$=M([]),I=M([]),x=M(null),Q=_t(Y,"calendar"),ue=_t(Y,"monthYear"),X=_t(Y,"timePicker"),pe=J=>{r.shadow||n("mount",J)};at(l,()=>{r.shadow||setTimeout(()=>{n("recalculate-position")},0)},{deep:!0}),at(Pe,(J,de)=>{J.count-de.count>0&&j()},{deep:!0});const L=D(()=>J=>g(o.value(J),u.value(J)).map(de=>({...de,days:de.days.map(h=>(h.marker=w(h),h.classData=ve(h),h))})));function K(J){var de;J||J===0?(de=I.value[J])==null||de.triggerTransition(o.value(J),u.value(J)):I.value.forEach((h,oe)=>h.triggerTransition(o.value(oe),u.value(oe)))}function C(){n("update-flow-step")}const R=(J,de=!1)=>{E(J,de),r.spaceConfirm&&n("select-date")},q=(J,de,h=0)=>{var oe;(oe=$.value[h])==null||oe.toggleMonthPicker(J,de)},ae=(J,de,h=0)=>{var oe;(oe=$.value[h])==null||oe.toggleYearPicker(J,de)},c=(J,de,h)=>{var oe;(oe=x.value)==null||oe.toggleTimePicker(J,de,h)},F=(J,de)=>{var h;if(!r.range){const oe=i.value?i.value:m,fe=de?new Date(de):oe,ie=J?Tt(fe,{weekStartsOn:1}):rl(fe,{weekStartsOn:1});E({value:ie,current:Ae(fe)===o.value(0),text:"",classData:{}}),(h=document.getElementById(Rn(ie)))==null||h.focus()}},me=J=>{var de;(de=$.value[0])==null||de.handleMonthYearChange(J,!0)},je=J=>{O(0,{month:o.value(0),year:u.value(0)+(J?1:-1),fromNav:!0})},B=(J,de)=>{J===mt.time&&n(`time-picker-${de?"open":"close"}`),n("overlay-toggle",{open:de,overlay:J})},Ce=J=>{n("overlay-toggle",{open:!1,overlay:J}),n("focus-menu")};return a({clearHoverDate:_e,presetDate:W,selectCurrentDate:re,toggleMonthPicker:q,toggleYearPicker:ae,toggleTimePicker:c,handleArrow:T,updateMonthYear:O,getSidebarProps:()=>({modelValue:i,month:o,year:u,time:b,updateTime:z,updateMonthYear:O,selectDate:E,presetDate:W}),changeMonth:me,changeYear:je,selectWeekDate:F,setStartTime:G}),(J,de)=>(d(),p(ye,null,[ee(an,{"multi-calendars":s(Pe).count,collapse:J.collapse,"is-mobile":J.isMobile},{default:k(({instance:h,index:oe})=>[J.disableMonthYearSelect?P("",!0):(d(),se(vp,Le({key:0,ref:fe=>{fe&&($.value[oe]=fe)},months:s(bl)(J.formatLocale,J.locale,J.monthNameFormat),years:s(or)(J.yearRange,J.locale,J.reverseYears),month:s(o)(h),year:s(u)(h),instance:h},J.$props,{onMount:de[0]||(de[0]=fe=>pe(s(la).header)),onResetFlow:de[1]||(de[1]=fe=>J.$emit("reset-flow")),onUpdateMonthYear:fe=>s(O)(h,fe),onOverlayClosed:Ce,onOverlayOpened:de[2]||(de[2]=fe=>J.$emit("overlay-toggle",{open:!0,overlay:fe}))}),st({_:2},[Se(s(ue),(fe,ie)=>({name:fe,fn:k(Ie=>[_(J.$slots,fe,ut(yt(Ie)))])}))]),1040,["months","years","month","year","instance","onUpdateMonthYear"])),ee(_p,Le({ref:fe=>{fe&&(I.value[oe]=fe)},"mapped-dates":L.value(h),month:s(o)(h),year:s(u)(h),instance:h},J.$props,{onSelectDate:fe=>s(E)(fe,h!==1),onHandleSpace:fe=>R(fe,h!==1),onSetHoverDate:de[3]||(de[3]=fe=>s(H)(fe)),onHandleScroll:fe=>s(N)(fe,h),onHandleSwipe:fe=>s(S)(fe,h),onMount:de[4]||(de[4]=fe=>pe(s(la).calendar)),onResetFlow:de[5]||(de[5]=fe=>J.$emit("reset-flow")),onTooltipOpen:de[6]||(de[6]=fe=>J.$emit("tooltip-open",fe)),onTooltipClose:de[7]||(de[7]=fe=>J.$emit("tooltip-close",fe))}),st({_:2},[Se(s(Q),(fe,ie)=>({name:fe,fn:k(Ie=>[_(J.$slots,fe,ut(yt({...Ie})))])}))]),1040,["mapped-dates","month","year","instance","onSelectDate","onHandleSpace","onHandleScroll","onHandleSwipe"])]),_:3},8,["multi-calendars","collapse","is-mobile"]),J.enableTimePicker?(d(),p("div",wp,[J.$slots["time-picker"]?_(J.$slots,"time-picker",ut(Le({key:0},{time:s(b),updateTime:s(z)}))):(d(),se(Ll,Le({key:1,ref_key:"timePickerRef",ref:x},J.$props,{hours:s(b).hours,minutes:s(b).minutes,seconds:s(b).seconds,"internal-model-value":J.internalModelValue,"disabled-times-config":s(f),"validate-time":s(v),onMount:de[8]||(de[8]=h=>pe(s(la).timePicker)),"onUpdate:hours":de[9]||(de[9]=h=>s(z)(h)),"onUpdate:minutes":de[10]||(de[10]=h=>s(z)(h,!1)),"onUpdate:seconds":de[11]||(de[11]=h=>s(z)(h,!1,!0)),onResetFlow:de[12]||(de[12]=h=>J.$emit("reset-flow")),onOverlayClosed:de[13]||(de[13]=h=>B(h,!1)),onOverlayOpened:de[14]||(de[14]=h=>B(h,!0)),onAmPmChange:de[15]||(de[15]=h=>J.$emit("am-pm-change",h))}),st({_:2},[Se(s(X),(h,oe)=>({name:h,fn:k(fe=>[_(J.$slots,h,ut(yt(fe)))])}))]),1040,["hours","minutes","seconds","internal-model-value","disabled-times-config","validate-time"]))])):P("",!0)],64))}}),$p=(e,a)=>{const t=M(),{defaultedMultiCalendars:n,defaultedConfig:r,defaultedHighlight:l,defaultedRange:o,propDates:u,defaultedFilters:i,defaultedMultiDates:b}=Xe(e),{modelValue:f,year:m,month:v,calendars:g}=Ha(e,a),{isDisabled:w}=aa(e),{selectYear:T,groupedYears:N,showYearPicker:S,isDisabled:E,toggleYearPicker:O,handleYearSelect:W,handleYear:re}=Nl({modelValue:f,multiCalendars:n,range:o,highlight:l,calendars:g,propDates:u,month:v,year:m,filters:i,props:e,emit:a}),z=(I,x)=>[I,x].map(Q=>wt(Q,"MMMM",{locale:e.formatLocale})).join("-"),j=D(()=>I=>f.value?Array.isArray(f.value)?f.value.some(x=>Pr(I,x)):Pr(f.value,I):!1),G=I=>{if(o.value.enabled){if(Array.isArray(f.value)){const x=Ne(I,f.value[0])||Ne(I,f.value[1]);return Oa(f.value,t.value,I)&&!x}return!1}return!1},Y=(I,x)=>I.quarter===gr(x)&&I.year===xe(x),H=I=>typeof l.value=="function"?l.value({quarter:gr(I),year:xe(I)}):!!l.value.quarters.find(x=>Y(x,I)),ve=D(()=>I=>{const x=We(new Date,{year:m.value(I)});return ec({start:ba(x),end:jn(x)}).map(Q=>{const ue=Qt(Q),X=_r(Q),pe=w(Q),L=G(ue),K=H(ue);return{text:z(ue,X),value:ue,active:j.value(ue),highlighted:K,disabled:pe,isBetween:L}})}),_e=I=>{dr(I,f,b.value.limit),a("auto-apply",!0)},Pe=I=>{f.value=cr(f,I,a),nn(f.value,a,e.autoApply,e.modelAuto)},$=I=>{f.value=I,a("auto-apply")};return{defaultedConfig:r,defaultedMultiCalendars:n,groupedYears:N,year:m,isDisabled:E,quarters:ve,showYearPicker:S,modelValue:f,setHoverDate:I=>{t.value=I},selectYear:T,selectQuarter:(I,x,Q)=>{if(!Q)return g.value[x].month=Ae(_r(I)),b.value.enabled?_e(I):o.value.enabled?Pe(I):$(I)},toggleYearPicker:O,handleYearSelect:W,handleYear:re}},Pp={class:"dp--quarter-items"},Mp=["data-test-id","disabled","onClick","onMouseover"],Tp=Z({compatConfig:{MODE:3},__name:"QuarterPicker",props:{...xt},emits:["update:internal-model-value","reset-flow","overlay-closed","auto-apply","range-start","range-end","overlay-toggle","update-month-year"],setup(e,{expose:a,emit:t}){const n=t,r=e,l=ea(),o=_t(l,"yearMode"),{defaultedMultiCalendars:u,defaultedConfig:i,groupedYears:b,year:f,isDisabled:m,quarters:v,modelValue:g,showYearPicker:w,setHoverDate:T,selectQuarter:N,toggleYearPicker:S,handleYearSelect:E,handleYear:O}=$p(r,n);return a({getSidebarProps:()=>({modelValue:g,year:f,selectQuarter:N,handleYearSelect:E,handleYear:O})}),(W,re)=>(d(),se(an,{"multi-calendars":s(u).count,collapse:W.collapse,stretch:"","is-mobile":W.isMobile},{default:k(({instance:z})=>[y("div",{class:"dp-quarter-picker-wrap",style:ht({minHeight:`${s(i).modeHeight}px`})},[W.$slots["top-extra"]?_(W.$slots,"top-extra",{key:0,value:W.internalModelValue}):P("",!0),y("div",null,[ee(Vl,Le(W.$props,{items:s(b)(z),instance:z,"show-year-picker":s(w)[z],year:s(f)(z),"is-disabled":j=>s(m)(z,j),onHandleYear:j=>s(O)(z,j),onYearSelect:j=>s(E)(j,z),onToggleYearPicker:j=>s(S)(z,j==null?void 0:j.flow,j==null?void 0:j.show)}),st({_:2},[Se(s(o),(j,G)=>({name:j,fn:k(Y=>[_(W.$slots,j,ut(yt(Y)))])}))]),1040,["items","instance","show-year-picker","year","is-disabled","onHandleYear","onYearSelect","onToggleYearPicker"])]),y("div",Pp,[(d(!0),p(ye,null,Se(s(v)(z),(j,G)=>(d(),p("div",{key:G},[y("button",{type:"button",class:ge(["dp--qr-btn",{"dp--qr-btn-active":j.active,"dp--qr-btn-between":j.isBetween,"dp--qr-btn-disabled":j.disabled,"dp--highlighted":j.highlighted}]),"data-test-id":j.value,disabled:j.disabled,onClick:Y=>s(N)(j.value,z,j.disabled),onMouseover:Y=>s(T)(j.value)},[W.$slots.quarter?_(W.$slots,"quarter",{key:0,value:j.value,text:j.text}):(d(),p(ye,{key:1},[Be(he(j.text),1)],64))],42,Mp)]))),128))])],4)]),_:3},8,["multi-calendars","collapse","is-mobile"]))}}),Yl=(e,a)=>{const t=M(0);qe(()=>{n(),window.addEventListener("resize",n,{passive:!0})}),zt(()=>{window.removeEventListener("resize",n)});const n=()=>{t.value=window.document.documentElement.clientWidth};return{isMobile:D(()=>t.value<=e.value.mobileBreakpoint&&!a?!0:void 0)}},xp=["id","tabindex","role","aria-label"],Sp={key:0,class:"dp--menu-load-container"},Ap={key:1,class:"dp--menu-header"},Cp=["data-dp-mobile"],Vp={key:0,class:"dp__sidebar_left"},Op=["data-dp-mobile"],Ip=["data-test-id","data-dp-mobile","onClick","onKeydown"],Np={key:2,class:"dp__sidebar_right"},Lp={key:3,class:"dp__action_extra"},Nr=Z({compatConfig:{MODE:3},__name:"DatepickerMenu",props:{...tn,shadow:{type:Boolean,default:!1},openOnTop:{type:Boolean,default:!1},internalModelValue:{type:[Date,Array],default:null},noOverlayFocus:{type:Boolean,default:!1},collapse:{type:Boolean,default:!1},getInputRect:{type:Function,default:()=>({})},isTextInputDate:{type:Boolean,default:!1}},emits:["close-picker","select-date","auto-apply","time-update","flow-step","update-month-year","invalid-select","update:internal-model-value","recalculate-position","invalid-fixed-range","tooltip-open","tooltip-close","time-picker-open","time-picker-close","am-pm-change","range-start","range-end","auto-apply-invalid","date-update","invalid-date","overlay-toggle","menu-blur"],setup(e,{expose:a,emit:t}){const n=t,r=e,l=M(null),o=D(()=>{const{openOnTop:V,...ne}=r;return{...ne,isMobile:T.value,flowStep:ve.value,menuWrapRef:l.value}}),{setMenuFocused:u,setShiftKey:i,control:b}=Cl(),f=ea(),{defaultedTextInput:m,defaultedInline:v,defaultedConfig:g,defaultedUI:w}=Xe(r),{isMobile:T}=Yl(g,r.shadow),N=M(null),S=M(0),E=M(null),O=M(!1),W=M(null),re=M(!1);qe(()=>{if(!r.shadow){O.value=!0,z(),window.addEventListener("resize",z);const V=ot(l);if(V&&!m.value.enabled&&!v.value.enabled&&(u(!0),ue()),V){const ne=De=>{re.value=!0,g.value.allowPreventDefault&&De.preventDefault(),Gt(De,g.value,!0)};V.addEventListener("pointerdown",ne),V.addEventListener("mousedown",ne)}}document.addEventListener("mousedown",Ve)}),zt(()=>{window.removeEventListener("resize",z),document.addEventListener("mousedown",Ve)});const z=()=>{const V=ot(E);V&&(S.value=V.getBoundingClientRect().width)},{arrowRight:j,arrowLeft:G,arrowDown:Y,arrowUp:H}=ta(),{flowStep:ve,updateFlowStep:_e,childMount:Pe,resetFlow:$,handleFlow:I}=Bp(r,n,W),x=D(()=>r.monthPicker?Uv:r.yearPicker?jv:r.timePicker?sp:r.quarterPicker?Tp:Dp),Q=D(()=>{var V;if(g.value.arrowLeft)return g.value.arrowLeft;const ne=(V=l.value)==null?void 0:V.getBoundingClientRect(),De=r.getInputRect();return(De==null?void 0:De.width)<(S==null?void 0:S.value)&&(De==null?void 0:De.left)<=((ne==null?void 0:ne.left)??0)?`${(De==null?void 0:De.width)/2}px`:(De==null?void 0:De.right)>=((ne==null?void 0:ne.right)??0)&&(De==null?void 0:De.width)<(S==null?void 0:S.value)?`${(S==null?void 0:S.value)-(De==null?void 0:De.width)/2}px`:"50%"}),ue=()=>{const V=ot(l);V&&V.focus({preventScroll:!0})},X=D(()=>{var V;return((V=W.value)==null?void 0:V.getSidebarProps())||{}}),pe=()=>{r.openOnTop&&n("recalculate-position")},L=_t(f,"action"),K=D(()=>r.monthPicker||r.yearPicker?_t(f,"monthYear"):r.timePicker?_t(f,"timePicker"):_t(f,"shared")),C=D(()=>r.openOnTop?"dp__arrow_bottom":"dp__arrow_top"),R=D(()=>({dp__menu_disabled:r.disabled,dp__menu_readonly:r.readonly,"dp-menu-loading":r.loading})),q=D(()=>({dp__menu:!0,dp__menu_index:!v.value.enabled,dp__relative:v.value.enabled,...w.value.menu??{}})),ae=V=>{Gt(V,g.value,!0)},c=()=>{r.escClose&&n("close-picker")},F=V=>{if(r.arrowNavigation){if(V===vt.up)return H();if(V===vt.down)return Y();if(V===vt.left)return G();if(V===vt.right)return j()}else V===vt.left||V===vt.up?J("handleArrow",vt.left,0,V===vt.up):J("handleArrow",vt.right,0,V===vt.down)},me=V=>{i(V.shiftKey),!r.disableMonthYearSelect&&V.code===Ue.tab&&V.target.classList.contains("dp__menu")&&b.value.shiftKeyInMenu&&(V.preventDefault(),Gt(V,g.value,!0),n("close-picker"))},je=()=>{ue(),n("time-picker-close")},B=V=>{var ne,De,lt;(ne=W.value)==null||ne.toggleTimePicker(!1,!1),(De=W.value)==null||De.toggleMonthPicker(!1,!1,V),(lt=W.value)==null||lt.toggleYearPicker(!1,!1,V)},Ce=(V,ne=0)=>{var De,lt,St;return V==="month"?(De=W.value)==null?void 0:De.toggleMonthPicker(!1,!0,ne):V==="year"?(lt=W.value)==null?void 0:lt.toggleYearPicker(!1,!0,ne):V==="time"?(St=W.value)==null?void 0:St.toggleTimePicker(!0,!1):B(ne)},J=(V,...ne)=>{var De,lt;(De=W.value)!=null&&De[V]&&((lt=W.value)==null||lt[V](...ne))},de=()=>{J("selectCurrentDate")},h=(V,ne)=>{J("presetDate",eo(V),ne)},oe=()=>{J("clearHoverDate")},fe=(V,ne)=>{J("updateMonthYear",V,ne)},ie=(V,ne)=>{V.preventDefault(),F(ne)},Ie=V=>{var ne,De,lt;if(me(V),V.key===Ue.home||V.key===Ue.end)return J("selectWeekDate",V.key===Ue.home,V.target.getAttribute("id"));switch((V.key===Ue.pageUp||V.key===Ue.pageDown)&&(V.shiftKey?(J("changeYear",V.key===Ue.pageUp),(ne=Nn(l.value,"overlay-year"))==null||ne.focus()):(J("changeMonth",V.key===Ue.pageUp),(De=Nn(l.value,V.key===Ue.pageUp?"action-prev":"action-next"))==null||De.focus()),V.target.getAttribute("id")&&((lt=l.value)==null||lt.focus({preventScroll:!0}))),V.key){case Ue.esc:return c();case Ue.arrowLeft:return ie(V,vt.left);case Ue.arrowRight:return ie(V,vt.right);case Ue.arrowUp:return ie(V,vt.up);case Ue.arrowDown:return ie(V,vt.down);default:return}},Ve=V=>{var ne;v.value.enabled&&!v.value.input&&!((ne=l.value)!=null&&ne.contains(V.target))&&re.value&&(re.value=!1,n("menu-blur"))};return a({updateMonthYear:fe,switchView:Ce,handleFlow:I,onValueCleared:()=>{var V,ne;(ne=(V=W.value)==null?void 0:V.setStartTime)==null||ne.call(V)}}),(V,ne)=>{var De,lt,St;return d(),p("div",{id:V.uid?`dp-menu-${V.uid}`:void 0,ref_key:"dpMenuRef",ref:l,tabindex:s(v).enabled?void 0:"0",role:s(v).enabled?void 0:"dialog","aria-label":(De=V.ariaLabels)==null?void 0:De.menu,class:ge(q.value),style:ht({"--dp-arrow-left":Q.value}),onMouseleave:oe,onClick:ae,onKeydown:Ie},[(V.disabled||V.readonly)&&s(v).enabled||V.loading?(d(),p("div",{key:0,class:ge(R.value)},[V.loading?(d(),p("div",Sp,ne[19]||(ne[19]=[y("span",{class:"dp--menu-loader"},null,-1)]))):P("",!0)],2)):P("",!0),V.$slots["menu-header"]?(d(),p("div",Ap,[_(V.$slots,"menu-header")])):P("",!0),!s(v).enabled&&!V.teleportCenter?(d(),p("div",{key:2,class:ge(C.value)},null,2)):P("",!0),y("div",{ref_key:"innerMenuRef",ref:E,class:ge({dp__menu_content_wrapper:((lt=V.presetDates)==null?void 0:lt.length)||!!V.$slots["left-sidebar"]||!!V.$slots["right-sidebar"],"dp--menu-content-wrapper-collapsed":e.collapse&&(((St=V.presetDates)==null?void 0:St.length)||!!V.$slots["left-sidebar"]||!!V.$slots["right-sidebar"])}),"data-dp-mobile":s(T),style:ht({"--dp-menu-width":`${S.value}px`})},[V.$slots["left-sidebar"]?(d(),p("div",Vp,[_(V.$slots,"left-sidebar",ut(yt(X.value)))])):P("",!0),V.presetDates.length?(d(),p("div",{key:1,class:ge({"dp--preset-dates-collapsed":e.collapse,"dp--preset-dates":!0}),"data-dp-mobile":s(T)},[(d(!0),p(ye,null,Se(V.presetDates,($e,Yt)=>(d(),p(ye,{key:Yt},[$e.slot?_(V.$slots,$e.slot,{key:0,presetDate:h,label:$e.label,value:$e.value}):(d(),p("button",{key:1,type:"button",style:ht($e.style||{}),class:ge(["dp__btn dp--preset-range",{"dp--preset-range-collapsed":e.collapse}]),"data-test-id":$e.testId??void 0,"data-dp-mobile":s(T),onClick:ia(nt=>h($e.value,$e.noTz),["prevent"]),onKeydown:nt=>s(pt)(nt,()=>h($e.value,$e.noTz),!0)},he($e.label),47,Ip))],64))),128))],10,Op)):P("",!0),y("div",{ref_key:"calendarWrapperRef",ref:N,class:"dp__instance_calendar",role:"document"},[(d(),se(gt(x.value),Le({ref_key:"dynCmpRef",ref:W},o.value,{"flow-step":s(ve),onMount:s(Pe),onUpdateFlowStep:s(_e),onResetFlow:s($),onFocusMenu:ue,onSelectDate:ne[0]||(ne[0]=$e=>V.$emit("select-date")),onDateUpdate:ne[1]||(ne[1]=$e=>V.$emit("date-update",$e)),onTooltipOpen:ne[2]||(ne[2]=$e=>V.$emit("tooltip-open",$e)),onTooltipClose:ne[3]||(ne[3]=$e=>V.$emit("tooltip-close",$e)),onAutoApply:ne[4]||(ne[4]=$e=>V.$emit("auto-apply",$e)),onRangeStart:ne[5]||(ne[5]=$e=>V.$emit("range-start",$e)),onRangeEnd:ne[6]||(ne[6]=$e=>V.$emit("range-end",$e)),onInvalidFixedRange:ne[7]||(ne[7]=$e=>V.$emit("invalid-fixed-range",$e)),onTimeUpdate:ne[8]||(ne[8]=$e=>V.$emit("time-update")),onAmPmChange:ne[9]||(ne[9]=$e=>V.$emit("am-pm-change",$e)),onTimePickerOpen:ne[10]||(ne[10]=$e=>V.$emit("time-picker-open",$e)),onTimePickerClose:je,onRecalculatePosition:pe,onUpdateMonthYear:ne[11]||(ne[11]=$e=>V.$emit("update-month-year",$e)),onAutoApplyInvalid:ne[12]||(ne[12]=$e=>V.$emit("auto-apply-invalid",$e)),onInvalidDate:ne[13]||(ne[13]=$e=>V.$emit("invalid-date",$e)),onOverlayToggle:ne[14]||(ne[14]=$e=>V.$emit("overlay-toggle",$e)),"onUpdate:internalModelValue":ne[15]||(ne[15]=$e=>V.$emit("update:internal-model-value",$e))}),st({_:2},[Se(K.value,($e,Yt)=>({name:$e,fn:k(nt=>[_(V.$slots,$e,ut(yt({...nt})))])}))]),1040,["flow-step","onMount","onUpdateFlowStep","onResetFlow"]))],512),V.$slots["right-sidebar"]?(d(),p("div",Np,[_(V.$slots,"right-sidebar",ut(yt(X.value)))])):P("",!0),V.$slots["action-extra"]?(d(),p("div",Lp,[V.$slots["action-extra"]?_(V.$slots,"action-extra",{key:0,selectCurrentDate:de}):P("",!0)])):P("",!0)],14,Cp),!V.autoApply||s(g).keepActionRow?(d(),se(Lv,Le({key:3,"menu-mount":O.value},o.value,{"calendar-width":S.value,onClosePicker:ne[16]||(ne[16]=$e=>V.$emit("close-picker")),onSelectDate:ne[17]||(ne[17]=$e=>V.$emit("select-date")),onInvalidSelect:ne[18]||(ne[18]=$e=>V.$emit("invalid-select")),onSelectNow:de}),st({_:2},[Se(s(L),($e,Yt)=>({name:$e,fn:k(nt=>[_(V.$slots,$e,ut(yt({...nt})))])}))]),1040,["menu-mount","calendar-width"])):P("",!0)],46,xp)}}});var fa=(e=>(e.center="center",e.left="left",e.right="right",e))(fa||{});const Rp=({menuRef:e,menuRefInner:a,inputRef:t,pickerWrapperRef:n,inline:r,emit:l,props:o,slots:u})=>{const{defaultedConfig:i}=Xe(o),b=M({}),f=M(!1),m=M({top:"0",left:"0"}),v=M(!1),g=Ca(o,"teleportCenter");at(g,()=>{m.value=JSON.parse(JSON.stringify({})),re()});const w=x=>{if(o.teleport){const Q=x.getBoundingClientRect();return{left:Q.left+window.scrollX,top:Q.top+window.scrollY}}return{top:0,left:0}},T=(x,Q)=>{m.value.left=`${x+Q-b.value.width}px`},N=x=>{m.value.left=`${x}px`},S=(x,Q)=>{o.position===fa.left&&N(x),o.position===fa.right&&T(x,Q),o.position===fa.center&&(m.value.left=`${x+Q/2-b.value.width/2}px`)},E=x=>{const{width:Q,height:ue}=x.getBoundingClientRect(),{top:X,left:pe}=w(x);return{top:+X,left:+pe,width:Q,height:ue}},O=()=>{m.value.left="50%",m.value.top="50%",m.value.transform="translate(-50%, -50%)",m.value.position="fixed",delete m.value.opacity},W=()=>{const x=ot(t);m.value=o.altPosition(x)},re=(x=!0)=>{var Q;if(!r.value.enabled){if(g.value)return O();if(o.altPosition!==null)return W();if(x){const ue=o.teleport?(Q=a.value)==null?void 0:Q.$el:e.value;ue&&(b.value=ue.getBoundingClientRect()),l("recalculate-position")}return _e()}},z=({inputEl:x,left:Q,width:ue})=>{window.screen.width>768&&!f.value&&S(Q,ue),Y(x)},j=x=>{const{top:Q,left:ue,height:X,width:pe}=E(x);m.value.top=`${X+Q+ +o.offset}px`,v.value=!1,f.value||(m.value.left=`${ue+pe/2-b.value.width/2}px`),z({inputEl:x,left:ue,width:pe})},G=x=>{const{top:Q,left:ue,width:X}=E(x);m.value.top=`${Q-+o.offset-b.value.height}px`,v.value=!0,z({inputEl:x,left:ue,width:X})},Y=x=>{if(o.autoPosition){const{left:Q,width:ue}=E(x),{left:X,right:pe}=b.value;if(!f.value){if(Math.abs(X)!==Math.abs(pe)){if(X<=0)return f.value=!0,N(Q);if(pe>=document.documentElement.clientWidth)return f.value=!0,T(Q,ue)}return S(Q,ue)}}},H=()=>{const x=ot(t);if(x){if(o.autoPosition===Pt.top)return Pt.top;if(o.autoPosition===Pt.bottom)return Pt.bottom;const{height:Q}=b.value,{top:ue,height:X}=x.getBoundingClientRect(),pe=window.innerHeight-ue-X,L=ue;return Q<=pe?Pt.bottom:Q>pe&&Q<=L?Pt.top:pe>=L?Pt.bottom:Pt.top}return Pt.bottom},ve=x=>H()===Pt.bottom?j(x):G(x),_e=()=>{const x=ot(t);if(x)return o.autoPosition?ve(x):j(x)},Pe=function(x){if(x){const Q=x.scrollHeight>x.clientHeight,ue=window.getComputedStyle(x).overflowY.indexOf("hidden")!==-1;return Q&&!ue}return!0},$=function(x){return!x||x===document.body||x.nodeType===Node.DOCUMENT_FRAGMENT_NODE?window:Pe(x)?x:$(x.assignedSlot&&i.value.shadowDom?x.assignedSlot.parentNode:x.parentNode)},I=x=>{if(x)switch(o.position){case fa.left:return{left:0,transform:"translateX(0)"};case fa.right:return{left:`${x.width}px`,transform:"translateX(-100%)"};default:return{left:`${x.width/2}px`,transform:"translateX(-50%)"}}return{}};return{openOnTop:v,menuStyle:m,xCorrect:f,setMenuPosition:re,getScrollableParent:$,shadowRender:(x,Q)=>{var ue,X,pe;const L=document.createElement("div"),K=(ue=ot(t))==null?void 0:ue.getBoundingClientRect();L.setAttribute("id","dp--temp-container");const C=(X=n.value)!=null&&X.clientWidth?n.value:document.body;C.append(L);const R=I(K),q=i.value.shadowDom?Object.keys(u).filter(c=>["right-sidebar","left-sidebar","top-extra","action-extra"].includes(c)):Object.keys(u),ae=Zl(x,{...Q,shadow:!0,style:{opacity:0,position:"absolute",...R}},Object.fromEntries(q.map(c=>[c,u[c]])));vr(ae,L),b.value=(pe=ae.el)==null?void 0:pe.getBoundingClientRect(),vr(null,L),C.removeChild(L)}}},Xt=[{name:"clock-icon",use:["time","calendar","shared"]},{name:"arrow-left",use:["month-year","calendar","shared","year-mode"]},{name:"arrow-right",use:["month-year","calendar","shared","year-mode"]},{name:"arrow-up",use:["time","calendar","month-year","shared"]},{name:"arrow-down",use:["time","calendar","month-year","shared"]},{name:"calendar-icon",use:["month-year","time","calendar","shared","year-mode"]},{name:"day",use:["calendar","shared"]},{name:"month-overlay-value",use:["calendar","month-year","shared"]},{name:"year-overlay-value",use:["calendar","month-year","shared","year-mode"]},{name:"year-overlay",use:["month-year","shared"]},{name:"month-overlay",use:["month-year","shared"]},{name:"month-overlay-header",use:["month-year","shared"]},{name:"year-overlay-header",use:["month-year","shared"]},{name:"hours-overlay-value",use:["calendar","time","shared"]},{name:"hours-overlay-header",use:["calendar","time","shared"]},{name:"minutes-overlay-value",use:["calendar","time","shared"]},{name:"minutes-overlay-header",use:["calendar","time","shared"]},{name:"seconds-overlay-value",use:["calendar","time","shared"]},{name:"seconds-overlay-header",use:["calendar","time","shared"]},{name:"hours",use:["calendar","time","shared"]},{name:"minutes",use:["calendar","time","shared"]},{name:"month",use:["calendar","month-year","shared"]},{name:"year",use:["calendar","month-year","shared","year-mode"]},{name:"action-buttons",use:["action"]},{name:"action-preview",use:["action"]},{name:"calendar-header",use:["calendar","shared"]},{name:"marker-tooltip",use:["calendar","shared"]},{name:"action-extra",use:["menu"]},{name:"time-picker-overlay",use:["calendar","time","shared"]},{name:"am-pm-button",use:["calendar","time","shared"]},{name:"left-sidebar",use:["menu"]},{name:"right-sidebar",use:["menu"]},{name:"month-year",use:["month-year","shared"]},{name:"time-picker",use:["menu","shared"]},{name:"action-row",use:["action"]},{name:"marker",use:["calendar","shared"]},{name:"quarter",use:["shared"]},{name:"top-extra",use:["shared","month-year"]},{name:"tp-inline-arrow-up",use:["shared","time"]},{name:"tp-inline-arrow-down",use:["shared","time"]},{name:"menu-header",use:["menu"]}],Yp=[{name:"trigger"},{name:"input-icon"},{name:"clear-icon"},{name:"dp-input"}],Hp={all:()=>Xt,monthYear:()=>Xt.filter(e=>e.use.includes("month-year")),input:()=>Yp,timePicker:()=>Xt.filter(e=>e.use.includes("time")),action:()=>Xt.filter(e=>e.use.includes("action")),calendar:()=>Xt.filter(e=>e.use.includes("calendar")),menu:()=>Xt.filter(e=>e.use.includes("menu")),shared:()=>Xt.filter(e=>e.use.includes("shared")),yearMode:()=>Xt.filter(e=>e.use.includes("year-mode"))},_t=(e,a,t)=>{const n=[];return Hp[a]().forEach(r=>{e[r.name]&&n.push(r.name)}),t!=null&&t.length&&t.forEach(r=>{r.slot&&n.push(r.slot)}),n},Ya=e=>{const a=D(()=>n=>e.value?n?e.value.open:e.value.close:""),t=D(()=>n=>e.value?n?e.value.menuAppearTop:e.value.menuAppearBottom:"");return{transitionName:a,showTransition:!!e.value,menuTransition:t}},Ha=(e,a,t)=>{const{defaultedRange:n,defaultedTz:r}=Xe(e),l=te(bt(te(),r.value.timezone)),o=M([{month:Ae(l),year:xe(l)}]),u=v=>{const g={hours:Bt(l),minutes:Jt(l),seconds:0};return n.value.enabled?[g[v],g[v]]:g[v]},i=Ia({hours:u("hours"),minutes:u("minutes"),seconds:u("seconds")});at(n,(v,g)=>{v.enabled!==g.enabled&&(i.hours=u("hours"),i.minutes=u("minutes"),i.seconds=u("seconds"))},{deep:!0});const b=D({get:()=>e.internalModelValue,set:v=>{!e.readonly&&!e.disabled&&a("update:internal-model-value",v)}}),f=D(()=>v=>o.value[v]?o.value[v].month:0),m=D(()=>v=>o.value[v]?o.value[v].year:0);return at(b,(v,g)=>{t&&JSON.stringify(v??{})!==JSON.stringify(g??{})&&t()},{deep:!0}),{calendars:o,time:i,modelValue:b,month:f,year:m,today:l}},Ep=(e,a)=>{const{defaultedMultiCalendars:t,defaultedMultiDates:n,defaultedUI:r,defaultedHighlight:l,defaultedTz:o,propDates:u,defaultedRange:i}=Xe(a),{isDisabled:b}=aa(a),f=M(null),m=M(bt(new Date,o.value.timezone)),v=c=>{!c.current&&a.hideOffsetDates||(f.value=c.value)},g=()=>{f.value=null},w=c=>Array.isArray(e.value)&&i.value.enabled&&e.value[0]&&f.value?c?Je(f.value,e.value[0]):Ke(f.value,e.value[0]):!0,T=(c,F)=>{const me=()=>e.value?F?e.value[0]||null:e.value[1]:null,je=e.value&&Array.isArray(e.value)?me():null;return Ne(te(c.value),je)},N=c=>{const F=Array.isArray(e.value)?e.value[0]:null;return c?!Ke(f.value??null,F):!0},S=(c,F=!0)=>(i.value.enabled||a.weekPicker)&&Array.isArray(e.value)&&e.value.length===2?a.hideOffsetDates&&!c.current?!1:Ne(te(c.value),e.value[F?0:1]):i.value.enabled?T(c,F)&&N(F)||Ne(c.value,Array.isArray(e.value)?e.value[0]:null)&&w(F):!1,E=(c,F)=>{if(Array.isArray(e.value)&&e.value[0]&&e.value.length===1){const me=Ne(c.value,f.value);return F?Je(e.value[0],c.value)&&me:Ke(e.value[0],c.value)&&me}return!1},O=c=>!e.value||a.hideOffsetDates&&!c.current?!1:i.value.enabled?a.modelAuto&&Array.isArray(e.value)?Ne(c.value,e.value[0]?e.value[0]:m.value):!1:n.value.enabled&&Array.isArray(e.value)?e.value.some(F=>Ne(F,c.value)):Ne(c.value,e.value?e.value:m.value),W=c=>{if(i.value.autoRange||a.weekPicker){if(f.value){if(a.hideOffsetDates&&!c.current)return!1;const F=rt(f.value,+i.value.autoRange),me=Ht(te(f.value),a.weekStart);return a.weekPicker?Ne(me[1],te(c.value)):Ne(F,te(c.value))}return!1}return!1},re=c=>{if(i.value.autoRange||a.weekPicker){if(f.value){const F=rt(f.value,+i.value.autoRange);if(a.hideOffsetDates&&!c.current)return!1;const me=Ht(te(f.value),a.weekStart);return a.weekPicker?Je(c.value,me[0])&&Ke(c.value,me[1]):Je(c.value,f.value)&&Ke(c.value,F)}return!1}return!1},z=c=>{if(i.value.autoRange||a.weekPicker){if(f.value){if(a.hideOffsetDates&&!c.current)return!1;const F=Ht(te(f.value),a.weekStart);return a.weekPicker?Ne(F[0],c.value):Ne(f.value,c.value)}return!1}return!1},j=c=>Oa(e.value,f.value,c.value),G=()=>a.modelAuto&&Array.isArray(a.internalModelValue)?!!a.internalModelValue[0]:!1,Y=()=>a.modelAuto?_l(a.internalModelValue):!0,H=c=>{if(a.weekPicker)return!1;const F=i.value.enabled?!S(c)&&!S(c,!1):!0;return!b(c.value)&&!O(c)&&!(!c.current&&a.hideOffsetDates)&&F},ve=c=>i.value.enabled?a.modelAuto?G()&&O(c):!1:O(c),_e=c=>l.value?rv(c.value,u.value.highlight):!1,Pe=c=>{const F=b(c.value);return F&&(typeof l.value=="function"?!l.value(c.value,F):!l.value.options.highlightDisabled)},$=c=>{var F;return typeof l.value=="function"?l.value(c.value):(F=l.value.weekdays)==null?void 0:F.includes(c.value.getDay())},I=c=>(i.value.enabled||a.weekPicker)&&(!(t.value.count>0)||c.current)&&Y()&&!(!c.current&&a.hideOffsetDates)&&!O(c)?j(c):!1,x=c=>{if(Array.isArray(e.value)&&e.value.length===1){const{before:F,after:me}=Cr(+i.value.maxRange,e.value[0]);return ka(c.value,F)||ua(c.value,me)}return!1},Q=c=>{if(Array.isArray(e.value)&&e.value.length===1){const{before:F,after:me}=Cr(+i.value.minRange,e.value[0]);return Oa([F,me],e.value[0],c.value)}return!1},ue=c=>i.value.enabled&&(i.value.maxRange||i.value.minRange)?i.value.maxRange&&i.value.minRange?x(c)||Q(c):i.value.maxRange?x(c):Q(c):!1,X=c=>{const{isRangeStart:F,isRangeEnd:me}=C(c),je=i.value.enabled?F||me:!1;return{dp__cell_offset:!c.current,dp__pointer:!a.disabled&&!(!c.current&&a.hideOffsetDates)&&!b(c.value)&&!ue(c),dp__cell_disabled:b(c.value)||ue(c),dp__cell_highlight:!Pe(c)&&(_e(c)||$(c))&&!ve(c)&&!je&&!z(c)&&!(I(c)&&a.weekPicker)&&!me,dp__cell_highlight_active:!Pe(c)&&(_e(c)||$(c))&&ve(c),dp__today:!a.noToday&&Ne(c.value,m.value)&&c.current,"dp--past":Ke(c.value,m.value),"dp--future":Je(c.value,m.value)}},pe=c=>({dp__active_date:ve(c),dp__date_hover:H(c)}),L=c=>{if(e.value&&!Array.isArray(e.value)){const F=Ht(e.value,a.weekStart);return{...q(c),dp__range_start:Ne(F[0],c.value),dp__range_end:Ne(F[1],c.value),dp__range_between_week:Je(c.value,F[0])&&Ke(c.value,F[1])}}return{...q(c)}},K=c=>{if(e.value&&Array.isArray(e.value)){const F=Ht(e.value[0],a.weekStart),me=e.value[1]?Ht(e.value[1],a.weekStart):[];return{...q(c),dp__range_start:Ne(F[0],c.value)||Ne(me[0],c.value),dp__range_end:Ne(F[1],c.value)||Ne(me[1],c.value),dp__range_between_week:Je(c.value,F[0])&&Ke(c.value,F[1])||Je(c.value,me[0])&&Ke(c.value,me[1]),dp__range_between:Je(c.value,F[1])&&Ke(c.value,me[0])}}return{...q(c)}},C=c=>{const F=t.value.count>0?c.current&&S(c)&&Y():S(c)&&Y(),me=t.value.count>0?c.current&&S(c,!1)&&Y():S(c,!1)&&Y();return{isRangeStart:F,isRangeEnd:me}},R=c=>{const{isRangeStart:F,isRangeEnd:me}=C(c);return{dp__range_start:F,dp__range_end:me,dp__range_between:I(c),dp__date_hover:Ne(c.value,f.value)&&!F&&!me&&!a.weekPicker,dp__date_hover_start:E(c,!0),dp__date_hover_end:E(c,!1)}},q=c=>({...R(c),dp__cell_auto_range:re(c),dp__cell_auto_range_start:z(c),dp__cell_auto_range_end:W(c)}),ae=c=>i.value.enabled?i.value.autoRange?q(c):a.modelAuto?{...pe(c),...R(c)}:a.weekPicker?K(c):R(c):a.weekPicker?L(c):pe(c);return{setHoverDate:v,clearHoverDate:g,getDayClassData:c=>a.hideOffsetDates&&!c.current?{}:{...X(c),...ae(c),[a.dayClass?a.dayClass(c.value,a.internalModelValue):""]:!0,...r.value.calendarCell??{}}}},aa=e=>{const{defaultedFilters:a,defaultedRange:t,propDates:n,defaultedMultiDates:r}=Xe(e),l=$=>n.value.disabledDates?typeof n.value.disabledDates=="function"?n.value.disabledDates(te($)):!!Xa($,n.value.disabledDates):!1,o=$=>n.value.maxDate?e.yearPicker?xe($)>xe(n.value.maxDate):Je($,n.value.maxDate):!1,u=$=>n.value.minDate?e.yearPicker?xe($){const I=o($),x=u($),Q=l($),ue=a.value.months.map(C=>+C).includes(Ae($)),X=e.disabledWeekDays.length?e.disabledWeekDays.some(C=>+C===Uc($)):!1,pe=g($),L=xe($),K=L<+e.yearRange[0]||L>+e.yearRange[1];return!(I||x||Q||ue||K||X||pe)},b=($,I)=>Ke(...Kt(n.value.minDate,$,I))||Ne(...Kt(n.value.minDate,$,I)),f=($,I)=>Je(...Kt(n.value.maxDate,$,I))||Ne(...Kt(n.value.maxDate,$,I)),m=($,I,x)=>{let Q=!1;return n.value.maxDate&&x&&f($,I)&&(Q=!0),n.value.minDate&&!x&&b($,I)&&(Q=!0),Q},v=($,I,x,Q)=>{let ue=!1;return Q&&(n.value.minDate||n.value.maxDate)?n.value.minDate&&n.value.maxDate?ue=m($,I,x):(n.value.minDate&&b($,I)||n.value.maxDate&&f($,I))&&(ue=!0):ue=!0,ue},g=$=>Array.isArray(n.value.allowedDates)&&!n.value.allowedDates.length?!0:n.value.allowedDates?!Xa($,n.value.allowedDates):!1,w=$=>!i($),T=$=>t.value.noDisabledRange?!nl({start:$[0],end:$[1]}).some(I=>w(I)):!0,N=$=>{if($){const I=xe($);return I>=+e.yearRange[0]&&I<=e.yearRange[1]}return!0},S=($,I)=>!!(Array.isArray($)&&$[I]&&(t.value.maxRange||t.value.minRange)&&N($[I])),E=($,I,x=0)=>{if(S(I,x)&&N($)){const Q=el($,I[x]),ue=Ml(I[x],$),X=ue.length===1?0:ue.filter(L=>w(L)).length,pe=Math.abs(Q)-(t.value.minMaxRawRange?0:X);if(t.value.minRange&&t.value.maxRange)return pe>=+t.value.minRange&&pe<=+t.value.maxRange;if(t.value.minRange)return pe>=+t.value.minRange;if(t.value.maxRange)return pe<=+t.value.maxRange}return!0},O=()=>!e.enableTimePicker||e.monthPicker||e.yearPicker||e.ignoreTimeValidation,W=$=>Array.isArray($)?[$[0]?bn($[0]):null,$[1]?bn($[1]):null]:bn($),re=($,I,x)=>$.find(Q=>+Q.hours===Bt(I)&&Q.minutes==="*"?!0:+Q.minutes===Jt(I)&&+Q.hours===Bt(I))&&x,z=($,I,x)=>{const[Q,ue]=$,[X,pe]=I;return!re(Q,X,x)&&!re(ue,pe,x)&&x},j=($,I)=>{const x=Array.isArray(I)?I:[I];return Array.isArray(e.disabledTimes)?Array.isArray(e.disabledTimes[0])?z(e.disabledTimes,x,$):!x.some(Q=>re(e.disabledTimes,Q,$)):$},G=($,I)=>{const x=Array.isArray(I)?[oa(I[0]),I[1]?oa(I[1]):void 0]:oa(I),Q=!e.disabledTimes(x);return $&&Q},Y=($,I)=>e.disabledTimes?Array.isArray(e.disabledTimes)?j(I,$):G(I,$):I,H=$=>{let I=!0;if(!$||O())return!0;const x=!n.value.minDate&&!n.value.maxDate?W($):$;return(e.maxTime||n.value.maxDate)&&(I=Ar(e.maxTime,n.value.maxDate,"max",it(x),I)),(e.minTime||n.value.minDate)&&(I=Ar(e.minTime,n.value.minDate,"min",it(x),I)),Y($,I)},ve=$=>{if(!e.monthPicker)return!0;let I=!0;const x=te(Mt($));if(n.value.minDate&&n.value.maxDate){const Q=te(Mt(n.value.minDate)),ue=te(Mt(n.value.maxDate));return Je(x,Q)&&Ke(x,ue)||Ne(x,Q)||Ne(x,ue)}if(n.value.minDate){const Q=te(Mt(n.value.minDate));I=Je(x,Q)||Ne(x,Q)}if(n.value.maxDate){const Q=te(Mt(n.value.maxDate));I=Ke(x,Q)||Ne(x,Q)}return I},_e=D(()=>$=>!e.enableTimePicker||e.ignoreTimeValidation?!0:H($)),Pe=D(()=>$=>e.monthPicker?Array.isArray($)&&(t.value.enabled||r.value.enabled)?!$.filter(I=>!ve(I)).length:ve($):!0);return{isDisabled:w,validateDate:i,validateMonthYearInRange:v,isDateRangeAllowed:T,checkMinMaxRange:E,isValidTime:H,isTimeValid:_e,isMonthValid:Pe}},rn=()=>{const e=D(()=>(n,r)=>n==null?void 0:n.includes(r)),a=D(()=>(n,r)=>n.count?n.solo?!0:r===0:!0),t=D(()=>(n,r)=>n.count?n.solo?!0:r===n.count-1:!0);return{hideNavigationButtons:e,showLeftIcon:a,showRightIcon:t}},Bp=(e,a,t)=>{const n=M(0),r=Ia({[la.timePicker]:!e.enableTimePicker||e.timePicker||e.monthPicker,[la.calendar]:!1,[la.header]:!1}),l=D(()=>e.monthPicker||e.timePicker),o=m=>{var v;if((v=e.flow)!=null&&v.length){if(!m&&l.value)return f();r[m]=!0,Object.keys(r).filter(g=>!r[g]).length||f()}},u=()=>{var m,v;(m=e.flow)!=null&&m.length&&n.value!==-1&&(n.value+=1,a("flow-step",n.value),f()),((v=e.flow)==null?void 0:v.length)===n.value&&ft().then(()=>i())},i=()=>{n.value=-1},b=(m,v,...g)=>{var w,T;e.flow[n.value]===m&&t.value&&((T=(w=t.value)[v])==null||T.call(w,...g))},f=(m=0)=>{m&&(n.value+=m),b(mt.month,"toggleMonthPicker",!0),b(mt.year,"toggleYearPicker",!0),b(mt.calendar,"toggleTimePicker",!1,!0),b(mt.time,"toggleTimePicker",!0,!0);const v=e.flow[n.value];(v===mt.hours||v===mt.minutes||v===mt.seconds)&&b(v,"toggleTimePicker",!0,!0,v)};return{childMount:o,updateFlowStep:u,resetFlow:i,handleFlow:f,flowStep:n}},Fp={key:1,class:"dp__input_wrap"},Wp=["id","name","inputmode","placeholder","disabled","readonly","required","value","autocomplete","aria-label","aria-disabled","aria-invalid"],zp={key:2,class:"dp--clear-btn"},Up=["aria-label"],qp=Z({compatConfig:{MODE:3},__name:"DatepickerInput",props:{isMenuOpen:{type:Boolean,default:!1},inputValue:{type:String,default:""},...tn},emits:["clear","open","update:input-value","set-input-date","close","select-date","set-empty-date","toggle","focus-prev","focus","blur","real-blur","text-input"],setup(e,{expose:a,emit:t}){const n=t,r=e,{defaultedTextInput:l,defaultedAriaLabels:o,defaultedInline:u,defaultedConfig:i,defaultedRange:b,defaultedMultiDates:f,defaultedUI:m,getDefaultPattern:v,getDefaultStartTime:g}=Xe(r),{checkMinMaxRange:w}=aa(r),T=M(),N=M(null),S=M(!1),E=M(!1),O=D(()=>({dp__pointer:!r.disabled&&!r.readonly&&!l.value.enabled,dp__disabled:r.disabled,dp__input_readonly:!l.value.enabled,dp__input:!0,dp__input_icon_pad:!r.hideInputIcon,dp__input_valid:typeof r.state=="boolean"?r.state:!1,dp__input_invalid:typeof r.state=="boolean"?!r.state:!1,dp__input_focus:S.value||r.isMenuOpen,dp__input_reg:!l.value.enabled,...m.value.input??{}})),W=()=>{n("set-input-date",null),r.clearable&&r.autoApply&&(n("set-empty-date"),T.value=null)},re=L=>{const K=g();return sv(L,l.value.format??v(),K??Tl({},r.enableSeconds),r.inputValue,E.value,r.formatLocale)},z=L=>{const{rangeSeparator:K}=l.value,[C,R]=L.split(`${K}`);if(C){const q=re(C.trim()),ae=R?re(R.trim()):null;if(ua(q,ae))return;const c=q&&ae?[q,ae]:[q];w(ae,c,0)&&(T.value=q?c:null)}},j=()=>{E.value=!0},G=L=>{if(b.value.enabled)z(L);else if(f.value.enabled){const K=L.split(";");T.value=K.map(C=>re(C.trim())).filter(C=>C)}else T.value=re(L)},Y=L=>{var K;const C=typeof L=="string"?L:(K=L.target)==null?void 0:K.value;C!==""?(l.value.openMenu&&!r.isMenuOpen&&n("open"),G(C),n("set-input-date",T.value)):W(),E.value=!1,n("update:input-value",C),n("text-input",L,T.value)},H=L=>{l.value.enabled?(G(L.target.value),l.value.enterSubmit&&Ln(T.value)&&r.inputValue!==""?(n("set-input-date",T.value,!0),T.value=null):l.value.enterSubmit&&r.inputValue===""&&(T.value=null,n("clear"))):Pe(L)},ve=(L,K)=>{l.value.enabled&&l.value.tabSubmit&&!K&&G(L.target.value),l.value.tabSubmit&&Ln(T.value)&&r.inputValue!==""?(n("set-input-date",T.value,!0,!0),T.value=null):l.value.tabSubmit&&r.inputValue===""&&(T.value=null,n("clear",!0))},_e=()=>{S.value=!0,n("focus"),ft().then(()=>{var L;l.value.enabled&&l.value.selectOnFocus&&((L=N.value)==null||L.select())})},Pe=L=>{if(Gt(L,i.value,!0),l.value.enabled&&l.value.openMenu&&!u.value.input){if(l.value.openMenu==="open"&&!r.isMenuOpen)return n("open");if(l.value.openMenu==="toggle")return n("toggle")}else l.value.enabled||n("toggle")},$=()=>{n("real-blur"),S.value=!1,(!r.isMenuOpen||u.value.enabled&&u.value.input)&&n("blur"),r.autoApply&&l.value.enabled&&T.value&&!r.isMenuOpen&&(n("set-input-date",T.value),n("select-date"),T.value=null)},I=L=>{Gt(L,i.value,!0),n("clear")},x=()=>{n("close")},Q=L=>{if(L.key==="Tab"&&ve(L),L.key==="Enter"&&H(L),L.key==="Escape"&&l.value.escClose&&x(),!l.value.enabled){if(L.code==="Tab")return;L.preventDefault()}},ue=()=>{var L;(L=N.value)==null||L.focus({preventScroll:!0})},X=L=>{T.value=L},pe=L=>{L.key===Ue.tab&&ve(L,!0)};return a({focusInput:ue,setParsedDate:X}),(L,K)=>{var C,R,q;return d(),p("div",{onClick:Pe},[L.$slots.trigger&&!L.$slots["dp-input"]&&!s(u).enabled?_(L.$slots,"trigger",{key:0}):P("",!0),!L.$slots.trigger&&(!s(u).enabled||s(u).input)?(d(),p("div",Fp,[L.$slots["dp-input"]&&!L.$slots.trigger&&(!s(u).enabled||s(u).enabled&&s(u).input)?_(L.$slots,"dp-input",{key:0,value:e.inputValue,isMenuOpen:e.isMenuOpen,onInput:Y,onEnter:H,onTab:ve,onClear:I,onBlur:$,onKeypress:Q,onPaste:j,onFocus:_e,openMenu:()=>L.$emit("open"),closeMenu:()=>L.$emit("close"),toggleMenu:()=>L.$emit("toggle")}):P("",!0),L.$slots["dp-input"]?P("",!0):(d(),p("input",{key:1,id:L.uid?`dp-input-${L.uid}`:void 0,ref_key:"inputRef",ref:N,"data-test-id":"dp-input",name:L.name,class:ge(O.value),inputmode:s(l).enabled?"text":"none",placeholder:L.placeholder,disabled:L.disabled,readonly:L.readonly,required:L.required,value:e.inputValue,autocomplete:L.autocomplete,"aria-label":(C=s(o))==null?void 0:C.input,"aria-disabled":L.disabled||void 0,"aria-invalid":L.state===!1?!0:void 0,onInput:Y,onBlur:$,onFocus:_e,onKeypress:Q,onKeydown:K[0]||(K[0]=ae=>Q(ae)),onPaste:j},null,42,Wp)),y("div",{onClick:K[3]||(K[3]=ae=>n("toggle"))},[L.$slots["input-icon"]&&!L.hideInputIcon?(d(),p("span",{key:0,class:"dp__input_icon",onClick:K[1]||(K[1]=ae=>n("toggle"))},[_(L.$slots,"input-icon")])):P("",!0),!L.$slots["input-icon"]&&!L.hideInputIcon&&!L.$slots["dp-input"]?(d(),se(s($a),{key:1,"aria-label":(R=s(o))==null?void 0:R.calendarIcon,class:"dp__input_icon dp__input_icons",onClick:K[2]||(K[2]=ae=>n("toggle"))},null,8,["aria-label"])):P("",!0)]),L.$slots["clear-icon"]&&(L.alwaysClearable||e.inputValue&&L.clearable&&!L.disabled&&!L.readonly)?(d(),p("span",zp,[_(L.$slots,"clear-icon",{clear:I})])):P("",!0),!L.$slots["clear-icon"]&&(L.alwaysClearable||L.clearable&&e.inputValue&&!L.disabled&&!L.readonly)?(d(),p("button",{key:3,"aria-label":(q=s(o))==null?void 0:q.clearInput,class:"dp--clear-btn",type:"button",onKeydown:K[4]||(K[4]=ae=>s(pt)(ae,()=>I(ae),!0,pe)),onClick:K[5]||(K[5]=ia(ae=>I(ae),["prevent"]))},[ee(s(gl),{class:"dp__input_icons","data-test-id":"clear-icon"})],40,Up)):P("",!0)])):P("",!0)])}}}),jp=typeof window<"u"?window:void 0,Pn=()=>{},Xp=e=>ao()?(no(e),!0):!1,Qp=(e,a,t,n)=>{if(!e)return Pn;let r=Pn;const l=at(()=>s(e),u=>{r(),u&&(u.addEventListener(a,t,n),r=()=>{u.removeEventListener(a,t,n),r=Pn})},{immediate:!0,flush:"post"}),o=()=>{l(),r()};return Xp(o),o},Kp=(e,a,t,n={})=>{const{window:r=jp,event:l="pointerdown"}=n;return r?Qp(r,l,o=>{const u=ot(e),i=ot(a);!u||!i||u===o.target||o.composedPath().includes(u)||o.composedPath().includes(i)||t(o)},{passive:!0}):void 0},Gp=["data-dp-mobile"],Zp=Z({compatConfig:{MODE:3},__name:"VueDatePicker",props:{...tn},emits:["update:model-value","update:model-timezone-value","text-submit","closed","cleared","open","focus","blur","internal-model-change","recalculate-position","flow-step","update-month-year","invalid-select","invalid-fixed-range","tooltip-open","tooltip-close","time-picker-open","time-picker-close","am-pm-change","range-start","range-end","date-update","invalid-date","overlay-toggle","text-input"],setup(e,{expose:a,emit:t}){const n=t,r=e,l=ea(),o=M(!1),u=Ca(r,"modelValue"),i=Ca(r,"timezone"),b=M(null),f=M(null),m=M(null),v=M(!1),g=M(null),w=M(!1),T=M(!1),N=M(!1),S=M(!1),{setMenuFocused:E,setShiftKey:O}=Cl(),{clearArrowNav:W}=ta(),{validateDate:re,isValidTime:z}=aa(r),{defaultedTransitions:j,defaultedTextInput:G,defaultedInline:Y,defaultedConfig:H,defaultedRange:ve,defaultedMultiDates:_e}=Xe(r),{menuTransition:Pe,showTransition:$}=Ya(j),{isMobile:I}=Yl(H);qe(()=>{ae(r.modelValue),ft().then(()=>{if(!Y.value.enabled){const U=K(g.value);U==null||U.addEventListener("scroll",oe),window==null||window.addEventListener("resize",fe)}}),Y.value.enabled&&(o.value=!0),window==null||window.addEventListener("keyup",ie),window==null||window.addEventListener("keydown",Ie)}),zt(()=>{if(!Y.value.enabled){const U=K(g.value);U==null||U.removeEventListener("scroll",oe),window==null||window.removeEventListener("resize",fe)}window==null||window.removeEventListener("keyup",ie),window==null||window.removeEventListener("keydown",Ie)});const x=_t(l,"all",r.presetDates),Q=_t(l,"input");at([u,i],()=>{ae(u.value)},{deep:!0});const{openOnTop:ue,menuStyle:X,xCorrect:pe,setMenuPosition:L,getScrollableParent:K,shadowRender:C}=Rp({menuRef:b,menuRefInner:f,inputRef:m,pickerWrapperRef:g,inline:Y,emit:n,props:r,slots:l}),{inputValue:R,internalModelValue:q,parseExternalModelValue:ae,emitModelValue:c,formatInputValue:F,checkBeforeEmit:me}=Vv(n,r,v),je=D(()=>({dp__main:!0,dp__theme_dark:r.dark,dp__theme_light:!r.dark,dp__flex_display:Y.value.enabled,"dp--flex-display-collapsed":N.value,dp__flex_display_with_input:Y.value.input})),B=D(()=>r.dark?"dp__theme_dark":"dp__theme_light"),Ce=D(()=>r.teleport?{to:typeof r.teleport=="boolean"?"body":r.teleport,disabled:!r.teleport||Y.value.enabled}:{}),J=D(()=>({class:"dp__outer_menu_wrap"})),de=D(()=>Y.value.enabled&&(r.timePicker||r.monthPicker||r.yearPicker||r.quarterPicker)),h=()=>{var U,ce;return((ce=(U=m.value)==null?void 0:U.$el)==null?void 0:ce.getBoundingClientRect())??{width:0,left:0,right:0}},oe=()=>{o.value&&(H.value.closeOnScroll?nt():L())},fe=()=>{var U;o.value&&L();const ce=((U=f.value)==null?void 0:U.$el.getBoundingClientRect().width)??0;N.value=document.body.offsetWidth<=ce},ie=U=>{U.key==="Tab"&&!Y.value.enabled&&!r.teleport&&H.value.tabOutClosesMenu&&(g.value.contains(document.activeElement)||nt()),T.value=U.shiftKey},Ie=U=>{T.value=U.shiftKey},Ve=()=>{!r.disabled&&!r.readonly&&(C(Nr,r),L(!1),o.value=!0,o.value&&n("open"),o.value||Yt(),ae(r.modelValue))},V=()=>{var U,ce;R.value="",Yt(),(U=f.value)==null||U.onValueCleared(),(ce=m.value)==null||ce.setParsedDate(null),n("update:model-value",null),n("update:model-timezone-value",null),n("cleared"),H.value.closeOnClearValue&&nt()},ne=()=>{const U=q.value;return!U||!Array.isArray(U)&&re(U)?!0:Array.isArray(U)?_e.value.enabled||U.length===2&&re(U[0])&&re(U[1])?!0:ve.value.partialRange&&!r.timePicker?re(U[0]):!1:!1},De=()=>{me()&&ne()?(c(),nt()):n("invalid-select",q.value)},lt=U=>{St(),c(),H.value.closeOnAutoApply&&!U&&nt()},St=()=>{m.value&&G.value.enabled&&m.value.setParsedDate(q.value)},$e=(U=!1)=>{r.autoApply&&z(q.value)&&ne()&&(ve.value.enabled&&Array.isArray(q.value)?(ve.value.partialRange||q.value.length===2)&<(U):lt(U))},Yt=()=>{G.value.enabled||(q.value=null)},nt=(U=!1)=>{U&&q.value&&H.value.setDateOnMenuClose&&De(),Y.value.enabled||(o.value&&(o.value=!1,pe.value=!1,E(!1),O(!1),W(),n("closed"),R.value&&ae(u.value)),Yt(),n("blur"))},Pa=(U,ce,ke=!1)=>{if(!U){q.value=null;return}const At=Array.isArray(U)?!U.some(ma=>!re(ma)):re(U),Dt=z(U);At&&Dt?(S.value=!0,q.value=U,ce&&(w.value=ke,De(),n("text-submit")),ft().then(()=>{S.value=!1})):n("invalid-date",U)},ln=()=>{r.autoApply&&z(q.value)&&c(),St()},Ea=()=>o.value?nt():Ve(),on=U=>{q.value=U},sn=()=>{G.value.enabled&&(v.value=!0,F()),n("focus")},un=()=>{if(G.value.enabled&&(v.value=!1,ae(r.modelValue),w.value)){const U=nv(g.value,T.value);U==null||U.focus()}n("blur")},dn=U=>{f.value&&f.value.updateMonthYear(0,{month:Tr(U.month),year:Tr(U.year)})},cn=U=>{ae(U??r.modelValue)},mn=(U,ce)=>{var ke;(ke=f.value)==null||ke.switchView(U,ce)},A=(U,ce)=>H.value.onClickOutside?H.value.onClickOutside(U,ce):nt(!0),le=(U=0)=>{var ce;(ce=f.value)==null||ce.handleFlow(U)},Me=()=>b;return Kp(b,m,U=>A(ne,U)),a({closeMenu:nt,selectDate:De,clearValue:V,openMenu:Ve,onScroll:oe,formatInputValue:F,updateInternalModelValue:on,setMonthYear:dn,parseModel:cn,switchView:mn,toggleMenu:Ea,handleFlow:le,getDpWrapMenuRef:Me}),(U,ce)=>(d(),p("div",{ref_key:"pickerWrapperRef",ref:g,class:ge(je.value),"data-datepicker-instance":"","data-dp-mobile":s(I)},[ee(qp,Le({ref_key:"inputRef",ref:m,"input-value":s(R),"onUpdate:inputValue":ce[0]||(ce[0]=ke=>mr(R)?R.value=ke:null),"is-menu-open":o.value},U.$props,{onClear:V,onOpen:Ve,onSetInputDate:Pa,onSetEmptyDate:s(c),onSelectDate:De,onToggle:Ea,onClose:nt,onFocus:sn,onBlur:un,onRealBlur:ce[1]||(ce[1]=ke=>v.value=!1),onTextInput:ce[2]||(ce[2]=ke=>U.$emit("text-input",ke))}),st({_:2},[Se(s(Q),(ke,At)=>({name:ke,fn:k(Dt=>[_(U.$slots,ke,ut(yt(Dt)))])}))]),1040,["input-value","is-menu-open","onSetEmptyDate"]),(d(),se(gt(U.teleport?Gl:"div"),ut(yt(Ce.value)),{default:k(()=>[ee(Wt,{name:s(Pe)(s(ue)),css:s($)&&!s(Y).enabled},{default:k(()=>[o.value?(d(),p("div",Le({key:0,ref_key:"dpWrapMenuRef",ref:b},J.value,{class:{"dp--menu-wrapper":!s(Y).enabled},style:s(Y).enabled?void 0:s(X)}),[ee(Nr,Le({ref_key:"dpMenuRef",ref:f},U.$props,{"internal-model-value":s(q),"onUpdate:internalModelValue":ce[3]||(ce[3]=ke=>mr(q)?q.value=ke:null),class:{[B.value]:!0,"dp--menu-wrapper":U.teleport},"open-on-top":s(ue),"no-overlay-focus":de.value,collapse:N.value,"get-input-rect":h,"is-text-input-date":S.value,onClosePicker:nt,onSelectDate:De,onAutoApply:$e,onTimeUpdate:ln,onFlowStep:ce[4]||(ce[4]=ke=>U.$emit("flow-step",ke)),onUpdateMonthYear:ce[5]||(ce[5]=ke=>U.$emit("update-month-year",ke)),onInvalidSelect:ce[6]||(ce[6]=ke=>U.$emit("invalid-select",s(q))),onAutoApplyInvalid:ce[7]||(ce[7]=ke=>U.$emit("invalid-select",ke)),onInvalidFixedRange:ce[8]||(ce[8]=ke=>U.$emit("invalid-fixed-range",ke)),onRecalculatePosition:s(L),onTooltipOpen:ce[9]||(ce[9]=ke=>U.$emit("tooltip-open",ke)),onTooltipClose:ce[10]||(ce[10]=ke=>U.$emit("tooltip-close",ke)),onTimePickerOpen:ce[11]||(ce[11]=ke=>U.$emit("time-picker-open",ke)),onTimePickerClose:ce[12]||(ce[12]=ke=>U.$emit("time-picker-close",ke)),onAmPmChange:ce[13]||(ce[13]=ke=>U.$emit("am-pm-change",ke)),onRangeStart:ce[14]||(ce[14]=ke=>U.$emit("range-start",ke)),onRangeEnd:ce[15]||(ce[15]=ke=>U.$emit("range-end",ke)),onDateUpdate:ce[16]||(ce[16]=ke=>U.$emit("date-update",ke)),onInvalidDate:ce[17]||(ce[17]=ke=>U.$emit("invalid-date",ke)),onOverlayToggle:ce[18]||(ce[18]=ke=>U.$emit("overlay-toggle",ke)),onMenuBlur:ce[19]||(ce[19]=ke=>U.$emit("blur"))}),st({_:2},[Se(s(x),(ke,At)=>({name:ke,fn:k(Dt=>[_(U.$slots,ke,ut(yt({...Dt})))])}))]),1040,["internal-model-value","class","open-on-top","no-overlay-focus","collapse","is-text-input-date","onRecalculatePosition"])],16)):P("",!0)]),_:3},8,["name","css"])]),_:3},16))],10,Gp))}}),Re=(()=>{const e=Zp;return e.install=a=>{a.component("Vue3DatePicker",e)},e})(),Jp=Object.freeze(Object.defineProperty({__proto__:null,default:Re},Symbol.toStringTag,{value:"Module"}));Object.entries(Jp).forEach(([e,a])=>{e!=="default"&&(Re[e]=a)});const ef={class:"demo-wrap"},tf={class:"action-row"},af={class:"current-selection"},nf=["onClick"],rf=Z({__name:"ActionRowSlotDemo",setup(e){const a=M(new Date),{isDark:t}=Ye(),n=r=>wt(r,"dd.MM.yyyy, HH:mm");return(r,l)=>(d(),p("div",ef,[ee(s(Re),{modelValue:a.value,"onUpdate:modelValue":l[0]||(l[0]=o=>a.value=o),dark:s(t)},{"action-row":k(({internalModelValue:o,selectDate:u})=>[y("div",tf,[y("p",af,he(n(o)),1),y("button",{class:"select-button",onClick:u},"Select Date",8,nf)])]),_:1},8,["modelValue","dark"])]))}}),lf={class:"demo-wrap"},of=Z({__name:"CustomCalendarDemo",props:{},setup(e){const{isDark:a}=Ye(),t=M(),n=r=>r.filter(l=>l.days.some(o=>o.text===15)).map(l=>({...l,days:l.days.map(o=>(o.classData["custom-class"]=!0,o))}));return(r,l)=>(d(),p("div",lf,[ee(s(Re),Le({modelValue:t.value,"onUpdate:modelValue":l[0]||(l[0]=o=>t.value=o)},r.$props,{dark:s(a),calendar:n,placeholder:"Select Date"}),null,16,["modelValue","dark"])]))}}),sf={class:"demo-wrap"},uf=Z({__name:"DarkDemo",props:["placeholder"],setup(e){const a=M(new Date);return(t,n)=>(d(),p("div",sf,[ee(s(Re),{modelValue:a.value,"onUpdate:modelValue":n[0]||(n[0]=r=>a.value=r),placeholder:e.placeholder,dark:""},null,8,["modelValue","placeholder"])]))}}),df={class:"demo-wrap"},cf=Z({__name:"DemoDayClass",setup(e){const a=M(new Date),{isDark:t}=Ye(),n=r=>ra(r,rt(We(new Date,{hours:0,minutes:0,seconds:0,milliseconds:0}),1))?"marked-cell":"";return(r,l)=>(d(),p("div",df,[ee(s(Re),{modelValue:a.value,"onUpdate:modelValue":l[0]||(l[0]=o=>a.value=o),dark:s(t),"day-class":n},null,8,["modelValue","dark"])]))}}),mf={class:"demo-wrap"},vf=Z({__name:"DemoHighlight",props:["disabled"],setup(e){const a=M(new Date),{isDark:t}=Ye(),n=e,r=D(()=>[rt(new Date,1),rt(new Date,2),rt(new Date,3)]),l=D(()=>n.disabled?r.value:[]),o=D(()=>({dates:n.disabled?l.value:r.value,options:{highlightDisabled:!0}}));return(u,i)=>(d(),p("div",mf,[ee(s(Re),{modelValue:a.value,"onUpdate:modelValue":i[0]||(i[0]=b=>a.value=b),dark:s(t),highlight:o.value,"disabled-dates":l.value},null,8,["modelValue","dark","highlight","disabled-dates"])]))}}),pf={class:"demo-wrap"},ff=Z({__name:"DemoMarkers",props:["useMarkerTooltipSlot","useMarkerSlot"],setup(e){const a=M(new Date),{isDark:t}=Ye(),n=D(()=>[{date:rt(new Date,1),type:"dot",tooltip:[{text:"Dot with tooltip",color:"green"}]},{date:rt(new Date,2),type:"line",tooltip:[{text:"First tooltip",color:"blue"},{text:"Second tooltip",color:"yellow"}]},{date:rt(new Date,3),type:"dot",color:"yellow"}]);return(r,l)=>(d(),p("div",pf,[ee(s(Re),{modelValue:a.value,"onUpdate:modelValue":l[0]||(l[0]=o=>a.value=o),dark:s(t),markers:n.value},st({_:2},[e.useMarkerTooltipSlot?{name:"marker-tooltip",fn:k(({day:o})=>[y("div",null,"Custom content on "+he(o),1)]),key:"0"}:void 0,e.useMarkerSlot?{name:"marker",fn:k(({day:o})=>[l[1]||(l[1]=y("span",{class:"custom-marker"},null,-1))]),key:"1"}:void 0]),1032,["modelValue","dark","markers"])]))}}),Ct="/logo.png",hf=["value"],yf=["onClick"],gf={key:0,class:"slot-icon",src:Ct,alt:"logo"},bf=["onClick"],_f=["onClick"],kf={class:"time-picker-overlay"},wf=["value","onChange"],Df=["value"],$f=["value","onChange"],Pf=["value"],Mf={class:"overlay-header"},Tf=["onClick"],xf={class:"overlay-header"},Sf=["onClick"],Af={key:0},Cf={key:1},Vf=Z({__name:"DemoSlots",props:["placeholder","useTriggerSlot","position","useInputIconSlot","useClearIconSlot","useClockIconSlot","useArrowLeftSlot","useArrowRightSlot","useArrowUpSlot","useArrowDownSlot","useCalendarIconSlot","useDaySlot","useActionButtonSlot","useActionPreviewSlot","useHoursSlot","useMinutesSlot","useMonthSlot","useYearSlot","useHoursOverlaySlot","useMinutesOverlaySlot","useMonthOverlaySlot","useYearOverlaySlot","useDpInputSlot","useCalendarHeaderSlot","useActionExtraSlot","is24","useAmPmButtonSlot","useTimePickerOverlay","useLeftSidebarSlot","useRightSidebarSlot","useMonthOverlayHeaderSlot","useYearOverlayHeaderSlot","useQuarterSlot","useTopExtraSlot","useHoursOverlayHeaderSlot","useMinutesOverlayHeaderSlot","useSecondsOverlayHeaderSlot","useTpInlineArrowUp","useTpInlineArrowDown","useMenuHeaderSlot"],setup(e){const a=M(new Date),{isDark:t}=Ye(),n=M(null),r=D(()=>new Date().getDate()+1),l=D(()=>f=>`Selected ${new Date(f).getDate()}`),o=D(()=>{const f=[];for(let m=0;m<24;m++)f.push({text:m<10?`0${m}`:m,value:m});return f}),u=D(()=>{const f=[];for(let m=0;m<60;m++)f.push({text:m<10?`0${m}`:m,value:m});return f}),i=()=>{n.value&&n.value.selectDate()},b=f=>wt(f,"QQQ");return(f,m)=>(d(),p("div",{class:ge(["demo-wrap",e.useDpInputSlot||e.useTriggerSlot?"demo-wrap-inline":""])},[ee(s(Re),{modelValue:a.value,"onUpdate:modelValue":m[0]||(m[0]=v=>a.value=v),placeholder:e.placeholder,dark:s(t),position:e.position,"quarter-picker":e.useQuarterSlot,"enable-seconds":!!e.useSecondsOverlayHeaderSlot,"time-picker-inline":e.useTpInlineArrowUp||e.useTpInlineArrowDown,is24:e.is24,ref_key:"dpSlotDemo",ref:n},st({_:2},[e.useTriggerSlot?{name:"trigger",fn:k(()=>[m[1]||(m[1]=y("p",{class:"clickable-text"},"This is some custom clickable text that will open datepicker",-1))]),key:"0"}:void 0,e.useDpInputSlot?{name:"dp-input",fn:k(({value:v})=>[y("input",{class:"input-class",type:"text",value:v},null,8,hf)]),key:"1"}:void 0,e.useInputIconSlot?{name:"input-icon",fn:k(()=>[m[2]||(m[2]=y("img",{class:"input-slot-image",src:Ct,alt:"logo"},null,-1))]),key:"2"}:void 0,e.useClearIconSlot?{name:"clear-icon",fn:k(({clear:v})=>[y("img",{class:"input-slot-image-clear",src:Ct,onClick:v,alt:"logo"},null,8,yf)]),key:"3"}:void 0,e.useClockIconSlot?{name:"clock-icon",fn:k(()=>[m[3]||(m[3]=y("img",{class:"slot-icon",src:Ct,alt:"logo"},null,-1))]),key:"4"}:void 0,e.useArrowLeftSlot?{name:"arrow-left",fn:k(()=>[m[4]||(m[4]=y("img",{class:"slot-icon",src:Ct,alt:"logo"},null,-1))]),key:"5"}:void 0,e.useArrowRightSlot?{name:"arrow-right",fn:k(()=>[m[5]||(m[5]=y("img",{class:"slot-icon",src:Ct,alt:"logo"},null,-1))]),key:"6"}:void 0,e.useArrowUpSlot?{name:"arrow-up",fn:k(()=>[m[6]||(m[6]=y("img",{class:"slot-icon-m",src:Ct,alt:"logo"},null,-1))]),key:"7"}:void 0,e.useArrowDownSlot?{name:"arrow-down",fn:k(()=>[m[7]||(m[7]=y("img",{class:"slot-icon-m",src:Ct,alt:"logo"},null,-1))]),key:"8"}:void 0,e.useCalendarIconSlot?{name:"calendar-icon",fn:k(()=>[m[8]||(m[8]=y("img",{class:"slot-icon",src:Ct,alt:"logo"},null,-1))]),key:"9"}:void 0,e.useDaySlot?{name:"day",fn:k(({day:v})=>[v===r.value?(d(),p("img",gf)):(d(),p(ye,{key:1},[Be(he(v),1)],64))]),key:"10"}:void 0,e.useActionButtonSlot?{name:"action-buttons",fn:k(()=>[y("p",{class:"custom-select",onClick:i},"Select")]),key:"11"}:void 0,e.useActionPreviewSlot?{name:"action-preview",fn:k(({value:v})=>[Be(he(l.value(v)),1)]),key:"12"}:void 0,e.useHoursSlot?{name:"hours",fn:k(({value:v})=>[Be(he(v),1)]),key:"13"}:void 0,e.useMinutesSlot?{name:"minutes",fn:k(({value:v})=>[Be(he(v),1)]),key:"14"}:void 0,e.useMonthSlot?{name:"month",fn:k(({value:v})=>[Be(he(v),1)]),key:"15"}:void 0,e.useYearSlot?{name:"year",fn:k(({value:v})=>[Be(he(v),1)]),key:"16"}:void 0,e.useHoursOverlaySlot?{name:"hours-overlay-value",fn:k(({value:v})=>[Be(he(v),1)]),key:"17"}:void 0,e.useMinutesOverlaySlot?{name:"minutes-overlay-value",fn:k(({value:v})=>[Be(he(v),1)]),key:"18"}:void 0,e.useMonthOverlaySlot?{name:"month-overlay-value",fn:k(({value:v})=>[Be(he(v),1)]),key:"19"}:void 0,e.useYearOverlaySlot?{name:"year-overlay-value",fn:k(({value:v})=>[Be(he(v),1)]),key:"20"}:void 0,e.useCalendarHeaderSlot?{name:"calendar-header",fn:k(({index:v,day:g})=>[y("div",{class:ge(v===5||v===6?"red-color":"")},he(g),3)]),key:"21"}:void 0,e.useActionExtraSlot?{name:"action-extra",fn:k(({selectCurrentDate:v})=>[y("span",{onClick:g=>v(),title:"Select current date",class:"pointer"},m[9]||(m[9]=[y("img",{class:"slot-icon centered",src:Ct},null,-1)]),8,bf)]),key:"22"}:void 0,e.useAmPmButtonSlot?{name:"am-pm-button",fn:k(({toggle:v,value:g})=>[y("button",{onClick:v},he(g),9,_f)]),key:"23"}:void 0,e.useTimePickerOverlay?{name:"time-picker-overlay",fn:k(({hours:v,minutes:g,setHours:w,setMinutes:T})=>[y("div",kf,[y("select",{class:"select-input",value:v,onChange:N=>w(+N.target.value)},[(d(!0),p(ye,null,Se(o.value,N=>(d(),p("option",{key:N.value,value:N.value},he(N.text),9,Df))),128))],40,wf),y("select",{class:"select-input",value:g,onChange:N=>T(+N.target.value)},[(d(!0),p(ye,null,Se(u.value,N=>(d(),p("option",{key:N.value,value:N.value},he(N.text),9,Pf))),128))],40,$f)])]),key:"24"}:void 0,e.useLeftSidebarSlot?{name:"left-sidebar",fn:k(()=>[m[10]||(m[10]=y("div",{class:"dp-sidebar"},"Custom content",-1))]),key:"25"}:void 0,e.useRightSidebarSlot?{name:"right-sidebar",fn:k(()=>[m[11]||(m[11]=y("div",{class:"dp-sidebar"},"Custom content",-1))]),key:"26"}:void 0,e.useMonthOverlayHeaderSlot?{name:"month-overlay-header",fn:k(({toggle:v})=>[y("div",Mf,[y("span",{onClick:v,class:"pointer"},he("< Go back"),8,Tf)])]),key:"27"}:void 0,e.useYearOverlayHeaderSlot?{name:"year-overlay-header",fn:k(({toggle:v})=>[y("div",xf,[y("span",{onClick:v,class:"pointer"},he("< Go back"),8,Sf)])]),key:"28"}:void 0,e.useQuarterSlot?{name:"quarter",fn:k(({value:v})=>[y("span",null,he(b(v)),1)]),key:"29"}:void 0,e.useTopExtraSlot?{name:"top-extra",fn:k(({value:v})=>[v?(d(),p("span",Af,"Selected date: "+he(v.getDate()),1)):(d(),p("span",Cf,"No date selected"))]),key:"30"}:void 0,e.useMenuHeaderSlot?{name:"menu-header",fn:k(()=>[m[12]||(m[12]=y("div",{class:"my-header"},"My custom header",-1))]),key:"31"}:void 0,e.useHoursOverlayHeaderSlot?{name:"hours-overlay-header",fn:k(()=>[m[13]||(m[13]=y("div",{class:"overlay-header"},[y("span",null,"Hours")],-1))]),key:"32"}:void 0,e.useMinutesOverlayHeaderSlot?{name:"minutes-overlay-header",fn:k(()=>[m[14]||(m[14]=y("div",{class:"overlay-header"},[y("span",null,"Minutes")],-1))]),key:"33"}:void 0,e.useSecondsOverlayHeaderSlot?{name:"seconds-overlay-header",fn:k(()=>[m[15]||(m[15]=y("div",{class:"overlay-header"},[y("span",null,"Seconds")],-1))]),key:"34"}:void 0,e.useTpInlineArrowUp?{name:"tp-inline-arrow-up",fn:k(()=>[m[16]||(m[16]=y("span",{class:"my-icon"},[y("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor"},[y("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M6.75 12a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0ZM12.75 12a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0ZM18.75 12a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0Z"})])],-1))]),key:"35"}:void 0,e.useTpInlineArrowDown?{name:"tp-inline-arrow-down",fn:k(()=>[m[17]||(m[17]=y("span",{class:"my-icon"},[y("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor"},[y("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M6.75 12a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0ZM12.75 12a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0ZM18.75 12a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0Z"})])],-1))]),key:"36"}:void 0]),1032,["modelValue","placeholder","dark","position","quarter-picker","enable-seconds","time-picker-inline","is24"])],2))}}),Of={class:"demo-wrap"},If=Z({__name:"DisabledDatesDemo",setup(e){const a=M(new Date),{isDark:t}=Ye(),n=D(()=>{const r=new Date,l=new Date(r);l.setDate(l.getDate()+1);const o=new Date(l);return o.setDate(l.getDate()+1),[l,o]});return(r,l)=>(d(),p("div",Of,[ee(s(Re),{modelValue:a.value,"onUpdate:modelValue":l[0]||(l[0]=o=>a.value=o),dark:s(t),"disabled-dates":n.value},null,8,["modelValue","dark","disabled-dates"])]))}}),Nf={class:"demo-wrap"},Lf=Z({__name:"DisabledRangeDateDemo",props:{},setup(e){const{isDark:a}=Ye(),t=M([]),n=[Jn(new Date,1),new Date,rt(new Date,1)];return(r,l)=>(d(),p("div",Nf,[ee(s(Re),Le({modelValue:t.value,"onUpdate:modelValue":l[0]||(l[0]=o=>t.value=o)},r.$props,{dark:s(a),range:{noDisabledRange:!0},"disabled-dates":n,placeholder:"Select range"}),null,16,["modelValue","dark"])]))}}),Rf={class:"demo-wrap"},Yf={class:"buttons-wrap"},Hf=["onClick"],Ef=Z({__name:"DisabledTimesDemo",props:{},setup(e){const{isDark:a}=Ye(),t=M(null),n=["single","range"],r=M("single"),l=D(()=>r.value==="range"),o=[{hours:15,minutes:"*"},{hours:16,minutes:15},{hours:16,minutes:20},{hours:17,minutes:30}],u=[[{hours:12,minutes:"*"},{hours:9,minutes:10}],o],i=b=>{t.value=null,r.value=b};return(b,f)=>(d(),p("div",Rf,[y("div",Yf,[(d(),p(ye,null,Se(n,(m,v)=>y("button",{class:ge(["change-btn",{"btn-active":m===r.value}]),key:v,onClick:g=>i(m)},he(m),11,Hf)),64))]),ee(s(Re),Le({modelValue:t.value,"onUpdate:modelValue":f[0]||(f[0]=m=>t.value=m),placeholder:"Select date"},b.$props,{dark:s(a),"disabled-times":l.value?u:o,range:l.value}),null,16,["modelValue","dark","disabled-times","range"])]))}}),Bf=we(Ef,[["__scopeId","data-v-6bf8e806"]]),Ff={class:"demo-wrap"},Wf={key:0},zf=Z({__name:"DisplayModelDemo",props:["modelType","modelAuto","range"],setup(e){const a=M(),{isDark:t}=Ye();return(n,r)=>(d(),p("div",Ff,[ee(s(Re),Le({modelValue:a.value,"onUpdate:modelValue":r[0]||(r[0]=l=>a.value=l),dark:s(t)},n.$props,{placeholder:"Select Date"}),null,16,["modelValue","dark"]),a.value?(d(),p("p",Wf,"Selected date: "+he(a.value),1)):P("",!0)]))}}),Uf={class:"demo-wrap"},qf=Z({__name:"EmitTimezone",setup(e){const{isDark:a}=Ye(),t=M(),n=M(),r=l=>{n.value=l};return(l,o)=>(d(),p("div",Uf,[t.value&&n.value?(d(),p(ye,{key:0},[y("div",null,"Local timezone date: "+he(t.value),1),y("div",null,"UTC date: "+he(n.value),1)],64)):P("",!0),ee(s(Re),{modelValue:t.value,"onUpdate:modelValue":o[0]||(o[0]=u=>t.value=u),placeholder:"Select date","emit-timezone":"UTC",dark:s(a),"onUpdate:modelTimezoneValue":r},null,8,["modelValue","dark"])]))}}),jf={class:"demo-wrap"},Xf=Z({__name:"EmptyDemo",props:["placeholder","noToday","minTime","maxTime","startDate","startTime","disabledWeekDays","allowedDates","actionRow","nowButtonLabel","multiDates","flow","partialFlow","range","multiDatesLimit","weekPicker","monthPicker","timePicker","disableTimeRangeValidation","maxDate","ignoreTimeValidation","autoApply"],setup(e){const a=e,t=M(),{isDark:n}=Ye(),r=D(()=>{if(a.allowedDates)return[new Date,new Date(new Date().setDate(new Date().getDate()+1))]});return(l,o)=>(d(),p("div",jf,[ee(s(Re),{modelValue:t.value,"onUpdate:modelValue":o[0]||(o[0]=u=>t.value=u),placeholder:e.placeholder,dark:s(n),"no-today":e.noToday,"min-time":e.minTime,"max-time":e.maxTime,"start-date":e.startDate,"start-time":e.startTime,"disabled-week-days":e.disabledWeekDays,"allowed-dates":r.value,"action-row":e.actionRow,"now-button-label":e.nowButtonLabel,"multi-dates":e.multiDates,range:e.range,flow:e.flow,"multi-dates-limit":e.multiDatesLimit,"week-picker":e.weekPicker,"month-picker":e.monthPicker,"time-picker":e.timePicker,"disable-time-range-validation":e.disableTimeRangeValidation,"max-date":e.maxDate,"ignore-time-validation":e.ignoreTimeValidation,"partial-flow":e.partialFlow,"auto-apply":e.autoApply},null,8,["modelValue","placeholder","dark","no-today","min-time","max-time","start-date","start-time","disabled-week-days","allowed-dates","action-row","now-button-label","multi-dates","range","flow","multi-dates-limit","week-picker","month-picker","time-picker","disable-time-range-validation","max-date","ignore-time-validation","partial-flow","auto-apply"])]))}}),Qf={class:"demo-wrap"},Kf=Z({__name:"FiltersDemo",setup(e){const a=M(new Date),{isDark:t}=Ye(),n=D(()=>{const r=new Date;return{months:Array.from(Array(3).keys()).map(l=>Ae(kt(r,l+1)))}});return(r,l)=>(d(),p("div",Qf,[ee(s(Re),{modelValue:a.value,"onUpdate:modelValue":l[0]||(l[0]=o=>a.value=o),dark:s(t),placeholder:"Select Date",filters:n.value},null,8,["modelValue","dark","filters"])]))}}),Gf={class:"demo-wrap"},Zf=Z({__name:"FormatDemo",props:["placeholder"],setup(e){const a=M(new Date),{isDark:t}=Ye(),n=r=>{const l=r.getDate(),o=r.getMonth()+1,u=r.getFullYear();return`Selected date is ${l}/${o}/${u}`};return(r,l)=>(d(),p("div",Gf,[ee(s(Re),{modelValue:a.value,"onUpdate:modelValue":l[0]||(l[0]=o=>a.value=o),placeholder:e.placeholder,format:n,dark:s(t)},null,8,["modelValue","placeholder","dark"])]))}}),Jf={class:"demo-wrap"},eh=Z({__name:"GlobalDemo",props:["uid","is24","enableTimePicker","locale","cancelText","selectText","range","position","weekNumbers","placeholder","hoursIncrement","minutesIncrement","hoursGridIncrement","minutesGridIncrement","minDate","maxDate","minTime","maxTime","weekStart","disabled","readonly","hideInputIcon","state","clearable","autoApply","filters","disableMonthYearSelect","yearRange","disabledDates","inline","weekNumName","autoPosition","monthPicker","timePicker","teleport","startDate","startTime","monthNameFormat","hideOffsetDates","noHoursOverlay","noMinutesOverlay","altPosition","multiCalendars","monthChangeOnScroll","transitions","enableSeconds","secondsIncrement","secondsGridIncrement","noSecondsOverlay","escClose","spaceConfirm","monthChangeOnArrows","name","autocomplete","preventMinMaxNavigation","reverseYears","vertical","arrowNavigation","textInput","yearPicker","multiStatic","dayNames","offset","teleportCenter","hideNavigation","sixWeeks","actionRow","disableYearSelect","focusStartDate","timePickerInline","yearFirst","loading","enableMinutes","alwaysClearable"],setup(e){const a=e,t=M(null),n=M(!1),{isDark:r}=Ye(),l=D({get:()=>{if(n.value||a.maxTime||a.minTime||a.startDate&&!a.focusStartDate||a.startTime)return null;if(t.value)return t.value;if(a.monthPicker)return{month:new Date().getMonth(),year:new Date().getFullYear()};if(a.yearPicker)return new Date().getFullYear();if(a.timePicker){const o=new Date;return{hours:o.getHours(),minutes:o.getMinutes()}}if(a.range){const o=new Date,u=new Date(new Date().setDate(o.getDate()+7));return[o,u]}return new Date},set:o=>{n.value=!o,t.value=o}});return(o,u)=>(d(),p("div",Jf,[ee(s(Re),Le({modelValue:l.value,"onUpdate:modelValue":u[0]||(u[0]=i=>l.value=i)},o.$props,{dark:s(r)}),null,16,["modelValue","dark"])]))}}),th={lessThanXSeconds:{one:"1秒未満",other:"{{count}}秒未満",oneWithSuffix:"約1秒",otherWithSuffix:"約{{count}}秒"},xSeconds:{one:"1秒",other:"{{count}}秒"},halfAMinute:"30秒",lessThanXMinutes:{one:"1分未満",other:"{{count}}分未満",oneWithSuffix:"約1分",otherWithSuffix:"約{{count}}分"},xMinutes:{one:"1分",other:"{{count}}分"},aboutXHours:{one:"約1時間",other:"約{{count}}時間"},xHours:{one:"1時間",other:"{{count}}時間"},xDays:{one:"1日",other:"{{count}}日"},aboutXWeeks:{one:"約1週間",other:"約{{count}}週間"},xWeeks:{one:"1週間",other:"{{count}}週間"},aboutXMonths:{one:"約1か月",other:"約{{count}}か月"},xMonths:{one:"1か月",other:"{{count}}か月"},aboutXYears:{one:"約1年",other:"約{{count}}年"},xYears:{one:"1年",other:"{{count}}年"},overXYears:{one:"1年以上",other:"{{count}}年以上"},almostXYears:{one:"1年近く",other:"{{count}}年近く"}},ah=(e,a,t)=>{t=t||{};let n;const r=th[e];return typeof r=="string"?n=r:a===1?t.addSuffix&&r.oneWithSuffix?n=r.oneWithSuffix:n=r.one:t.addSuffix&&r.otherWithSuffix?n=r.otherWithSuffix.replace("{{count}}",String(a)):n=r.other.replace("{{count}}",String(a)),t.addSuffix?t.comparison&&t.comparison>0?n+"後":n+"前":n},nh={full:"y年M月d日EEEE",long:"y年M月d日",medium:"y/MM/dd",short:"y/MM/dd"},rh={full:"H時mm分ss秒 zzzz",long:"H:mm:ss z",medium:"H:mm:ss",short:"H:mm"},lh={full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},oh={date:ha({formats:nh,defaultWidth:"full"}),time:ha({formats:rh,defaultWidth:"full"}),dateTime:ha({formats:lh,defaultWidth:"full"})},sh={lastWeek:"先週のeeeeのp",yesterday:"昨日のp",today:"今日のp",tomorrow:"明日のp",nextWeek:"翌週のeeeeのp",other:"P"},ih=(e,a,t,n)=>sh[e],uh={narrow:["BC","AC"],abbreviated:["紀元前","西暦"],wide:["紀元前","西暦"]},dh={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["第1四半期","第2四半期","第3四半期","第4四半期"]},ch={narrow:["1","2","3","4","5","6","7","8","9","10","11","12"],abbreviated:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],wide:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"]},mh={narrow:["日","月","火","水","木","金","土"],short:["日","月","火","水","木","金","土"],abbreviated:["日","月","火","水","木","金","土"],wide:["日曜日","月曜日","火曜日","水曜日","木曜日","金曜日","土曜日"]},vh={narrow:{am:"午前",pm:"午後",midnight:"深夜",noon:"正午",morning:"朝",afternoon:"午後",evening:"夜",night:"深夜"},abbreviated:{am:"午前",pm:"午後",midnight:"深夜",noon:"正午",morning:"朝",afternoon:"午後",evening:"夜",night:"深夜"},wide:{am:"午前",pm:"午後",midnight:"深夜",noon:"正午",morning:"朝",afternoon:"午後",evening:"夜",night:"深夜"}},ph={narrow:{am:"午前",pm:"午後",midnight:"深夜",noon:"正午",morning:"朝",afternoon:"午後",evening:"夜",night:"深夜"},abbreviated:{am:"午前",pm:"午後",midnight:"深夜",noon:"正午",morning:"朝",afternoon:"午後",evening:"夜",night:"深夜"},wide:{am:"午前",pm:"午後",midnight:"深夜",noon:"正午",morning:"朝",afternoon:"午後",evening:"夜",night:"深夜"}},fh=(e,a)=>{const t=Number(e);switch(String(a==null?void 0:a.unit)){case"year":return`${t}年`;case"quarter":return`第${t}四半期`;case"month":return`${t}月`;case"week":return`第${t}週`;case"date":return`${t}日`;case"hour":return`${t}時`;case"minute":return`${t}分`;case"second":return`${t}秒`;default:return`${t}`}},hh={ordinalNumber:fh,era:Vt({values:uh,defaultWidth:"wide"}),quarter:Vt({values:dh,defaultWidth:"wide",argumentCallback:e=>Number(e)-1}),month:Vt({values:ch,defaultWidth:"wide"}),day:Vt({values:mh,defaultWidth:"wide"}),dayPeriod:Vt({values:vh,defaultWidth:"wide",formattingValues:ph,defaultFormattingWidth:"wide"})},yh=/^第?\d+(年|四半期|月|週|日|時|分|秒)?/i,gh=/\d+/i,bh={narrow:/^(B\.?C\.?|A\.?D\.?)/i,abbreviated:/^(紀元[前後]|西暦)/i,wide:/^(紀元[前後]|西暦)/i},_h={narrow:[/^B/i,/^A/i],any:[/^(紀元前)/i,/^(西暦|紀元後)/i]},kh={narrow:/^[1234]/i,abbreviated:/^Q[1234]/i,wide:/^第[1234一二三四1234]四半期/i},wh={any:[/(1|一|1)/i,/(2|二|2)/i,/(3|三|3)/i,/(4|四|4)/i]},Dh={narrow:/^([123456789]|1[012])/,abbreviated:/^([123456789]|1[012])月/i,wide:/^([123456789]|1[012])月/i},$h={any:[/^1\D/,/^2/,/^3/,/^4/,/^5/,/^6/,/^7/,/^8/,/^9/,/^10/,/^11/,/^12/]},Ph={narrow:/^[日月火水木金土]/,short:/^[日月火水木金土]/,abbreviated:/^[日月火水木金土]/,wide:/^[日月火水木金土]曜日/},Mh={any:[/^日/,/^月/,/^火/,/^水/,/^木/,/^金/,/^土/]},Th={any:/^(AM|PM|午前|午後|正午|深夜|真夜中|夜|朝)/i},xh={any:{am:/^(A|午前)/i,pm:/^(P|午後)/i,midnight:/^深夜|真夜中/i,noon:/^正午/i,morning:/^朝/i,afternoon:/^午後/i,evening:/^夜/i,night:/^深夜/i}},Sh={ordinalNumber:ll({matchPattern:yh,parsePattern:gh,valueCallback:function(e){return parseInt(e,10)}}),era:Ot({matchPatterns:bh,defaultMatchWidth:"wide",parsePatterns:_h,defaultParseWidth:"any"}),quarter:Ot({matchPatterns:kh,defaultMatchWidth:"wide",parsePatterns:wh,defaultParseWidth:"any",valueCallback:e=>e+1}),month:Ot({matchPatterns:Dh,defaultMatchWidth:"wide",parsePatterns:$h,defaultParseWidth:"any"}),day:Ot({matchPatterns:Ph,defaultMatchWidth:"wide",parsePatterns:Mh,defaultParseWidth:"any"}),dayPeriod:Ot({matchPatterns:Th,defaultMatchWidth:"any",parsePatterns:xh,defaultParseWidth:"any"})},Ah={code:"ja",formatDistance:ah,formatLong:oh,formatRelative:ih,localize:hh,match:Sh,options:{weekStartsOn:0,firstWeekContainsDate:1}},Ch={class:"demo-wrap"},Vh=Z({__name:"LocalizedOutput",setup(e){const a=M(new Date),{isDark:t}=Ye();return(n,r)=>(d(),p("div",Ch,[ee(s(Re),{modelValue:a.value,"onUpdate:modelValue":r[0]||(r[0]=l=>a.value=l),dark:s(t),placeholder:"Select Date","format-locale":s(Ah),format:"E"},null,8,["modelValue","dark","format-locale"])]))}}),Oh={class:"demo-wrap"},Ih=Z({__name:"MinMaxDemo",setup(e){const a=M(new Date),{isDark:t}=Ye(),n=D(()=>Ft(new Date(xe(new Date),Ae(new Date)),2)),r=D(()=>kt(new Date(xe(new Date),Ae(new Date)),2));return(l,o)=>(d(),p("div",Oh,[ee(s(Re),{modelValue:a.value,"onUpdate:modelValue":o[0]||(o[0]=u=>a.value=u),placeholder:"Select Date",dark:s(t),"min-date":n.value,"max-date":r.value,"prevent-min-max-navigation":""},null,8,["modelValue","dark","min-date","max-date"])]))}}),Nh={class:"demo-wrap"},Lh=Z({__name:"MonthPickerDemo",props:{autoApplyMonth:{type:Boolean,default:!0}},setup(e){const{isDark:a}=Ye(),t=M({month:new Date().getMonth(),year:new Date().getFullYear()});return(n,r)=>(d(),p("div",Nh,[ee(s(Re),Le({modelValue:t.value,"onUpdate:modelValue":r[0]||(r[0]=l=>t.value=l)},n.$props,{dark:s(a),"month-picker":""}),null,16,["modelValue","dark"])]))}}),Rh={},Yh={version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32",class:"dp__icon"};function Hh(e,a){return d(),p("svg",Yh,a[0]||(a[0]=[y("path",{d:"M20.943 23.057l-7.057-7.057c0 0 7.057-7.057 7.057-7.057 0.52-0.52 0.52-1.365 0-1.885s-1.365-0.52-1.885 0l-8 8c-0.521 0.521-0.521 1.365 0 1.885l8 8c0.52 0.52 1.365 0.52 1.885 0s0.52-1.365 0-1.885z"},null,-1)]))}const Eh=we(Rh,[["render",Hh]]),Bh={},Fh={version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32",class:"dp__icon"};function Wh(e,a){return d(),p("svg",Fh,a[0]||(a[0]=[y("path",{d:"M12.943 24.943l8-8c0.521-0.521 0.521-1.365 0-1.885l-8-8c-0.52-0.52-1.365-0.52-1.885 0s-0.52 1.365 0 1.885l7.057 7.057c0 0-7.057 7.057-7.057 7.057-0.52 0.52-0.52 1.365 0 1.885s1.365 0.52 1.885 0z"},null,-1)]))}const zh=we(Bh,[["render",Wh]]),Uh={class:"demo-wrap"},qh={class:"custom-month-year-component"},jh=["value","onChange"],Xh=["value"],Qh=["value","onChange"],Kh=["value"],Gh={class:"icons"},Zh=["onClick"],Jh=["onClick"],e0={class:"custom-month-year-component"},t0=["value","onChange"],a0=["value"],n0=["onClick"],r0={class:"year-overlay"},l0=["value","onChange"],o0=["value"],s0=["onClick"],i0=Z({__name:"MonthYearSlotDemo",props:["defaultSlot","monthOverlaySlot","yearOverlaySlot"],setup(e){const a=M(new Date),{isDark:t}=Ye(),n=(l,o,u,i)=>{o(+l.target.value,u),i&&i()},r=(l,o,u,i)=>{o(u,+l.target.value),i&&i()};return(l,o)=>(d(),p("div",Uh,[ee(s(Re),{modelValue:a.value,"onUpdate:modelValue":o[0]||(o[0]=u=>a.value=u),dark:s(t)},st({_:2},[e.defaultSlot?{name:"month-year",fn:k(({month:u,year:i,months:b,years:f,updateMonthYear:m,handleMonthYearChange:v})=>[y("div",qh,[y("select",{class:"select-input",value:u,onChange:g=>n(g,m,i)},[(d(!0),p(ye,null,Se(b,g=>(d(),p("option",{key:g.value,value:g.value},he(g.text),9,Xh))),128))],40,jh),y("select",{class:"select-input",value:i,onChange:g=>r(g,m,u)},[(d(!0),p(ye,null,Se(f,g=>(d(),p("option",{key:g.value,value:g.value},he(g.text),9,Kh))),128))],40,Qh)]),y("div",Gh,[y("span",{class:"custom-icon",onClick:g=>v(!1)},[ee(Eh)],8,Zh),y("span",{class:"custom-icon",onClick:g=>v(!0)},[ee(zh)],8,Jh)])]),key:"0"}:void 0,e.monthOverlaySlot?{name:"month-overlay",fn:k(({month:u,year:i,items:b,updateMonthYear:f,toggle:m})=>[y("div",e0,[y("select",{class:"select-input",value:u,onChange:v=>n(v,f,i,m)},[(d(!0),p(ye,null,Se(b,v=>(d(),p("option",{key:v.value,value:v.value},he(v.text),9,a0))),128))],40,t0)]),y("button",{onClick:m},"Close",8,n0)]),key:"1"}:void 0,e.yearOverlaySlot?{name:"year-overlay",fn:k(({month:u,year:i,items:b,updateMonthYear:f,toggle:m})=>[y("div",r0,[y("div",null,[y("select",{class:"select-input",value:i,onChange:v=>r(v,f,u,m)},[(d(!0),p(ye,null,Se(b,v=>(d(),p("option",{key:v.value,value:v.value},he(v.text),9,o0))),128))],40,l0)]),y("button",{onClick:m},"Close",8,s0)])]),key:"2"}:void 0]),1032,["modelValue","dark"])]))}}),u0={class:"demo-wrap"},d0=["onClick"],c0=Z({__name:"PresetRange",setup(e){const a=M(),{isDark:t}=Ye(),n=M([{label:"Today",value:[new Date,new Date]},{label:"Today (Slot)",value:[new Date,new Date],slot:"preset-date-range-button"},{label:"This month",value:[An(new Date),br(new Date)]},{label:"Last month",value:[An(Ft(new Date,1)),br(Ft(new Date,1))]},{label:"This year",value:[ba(new Date),jn(new Date)]}]);return(r,l)=>(d(),p("div",u0,[ee(s(Re),{modelValue:a.value,"onUpdate:modelValue":l[0]||(l[0]=o=>a.value=o),placeholder:"Select Date",dark:s(t),range:"","preset-dates":n.value},{"preset-date-range-button":k(({label:o,value:u,presetDate:i})=>[y("span",{role:"button",tabindex:0,onClick:b=>i(u)},he(o),9,d0)]),_:1},8,["modelValue","dark","preset-dates"])]))}}),m0={class:"demo-wrap"},v0=Z({__name:"PreviewFormatDemo",props:["placeholder"],setup(e){const a=M(new Date),{isDark:t}=Ye(),n=r=>{const l=r.getDate(),o=r.getMonth()+1,u=r.getFullYear();return`Selected date is ${l}/${o}/${u}`};return(r,l)=>(d(),p("div",m0,[ee(s(Re),{modelValue:a.value,"onUpdate:modelValue":l[0]||(l[0]=o=>a.value=o),placeholder:e.placeholder,"preview-format":n,dark:s(t)},null,8,["modelValue","placeholder","dark"])]))}}),p0={class:"demo-wrap"},f0=Z({__name:"QuarterPickerDemo",setup(e){const{isDark:a}=Ye(),t=M(Qt(new Date));return(n,r)=>(d(),p("div",p0,[ee(s(Re),Le({modelValue:t.value,"onUpdate:modelValue":r[0]||(r[0]=l=>t.value=l)},n.$props,{dark:s(a),"quarter-picker":""}),null,16,["modelValue","dark"])]))}}),h0={class:"demo-wrap"},y0=Z({__name:"RangeDemo",props:{range:{type:[Boolean,Object],default:!0},clearable:{type:Boolean,default:!0},timePicker:{type:Boolean,default:!1},placeholder:{type:String,default:"Select Range"},multiCalendars:{type:[Number,String,Boolean,Object],default:null},disabledWeekDays:{type:Array,default:()=>[]}},setup(e){const a=e,{isDark:t}=Ye(),n=D(()=>{var l,o,u;return typeof a.range=="object"?((l=a.range)==null?void 0:l.autoRange)||((o=a.range)==null?void 0:o.maxRange)||((u=a.range)==null?void 0:u.minRange):!1}),r=M(n.value?null:[new Date,new Date(new Date().setDate(new Date().getDate()+7))]);return(l,o)=>(d(),p("div",h0,[ee(s(Re),Le({modelValue:r.value,"onUpdate:modelValue":o[0]||(o[0]=u=>r.value=u)},l.$props,{dark:s(t),rang:e.range,placeholder:e.placeholder}),null,16,["modelValue","dark","rang","placeholder"])]))}}),g0={class:"demo-wrap"},b0=Z({__name:"RequiredDemo",setup(e){const a=M(),{isDark:t}=Ye(),n=()=>{alert("Form submitted")};return(r,l)=>(d(),p("div",g0,[y("form",{onSubmit:ia(n,["prevent"])},[ee(s(Re),{modelValue:a.value,"onUpdate:modelValue":l[0]||(l[0]=o=>a.value=o),dark:s(t),placeholder:"Select Date",required:""},null,8,["modelValue","dark"]),l[1]||(l[1]=y("button",{class:"submit-btn",type:"submit"},"Submit form",-1))],32)]))}}),_0={class:"demo-wrap"},k0={class:"buttons-wrap"},w0=["onClick"],D0=Z({__name:"SixWeeksDemo",setup(e){const a=M(new Date),{isDark:t}=Ye(),n=[!0,"append","prepend","center","fair"],r=M(!0);return(l,o)=>(d(),p("div",_0,[y("div",k0,[(d(),p(ye,null,Se(n,(u,i)=>y("button",{class:ge(["change-btn",{"btn-active":u===r.value}]),key:i,onClick:b=>r.value=u},he(u),11,w0)),64))]),ee(s(Re),{modelValue:a.value,"onUpdate:modelValue":o[0]||(o[0]=u=>a.value=u),dark:s(t),"six-weeks":r.value},null,8,["modelValue","dark","six-weeks"])]))}}),$0=we(D0,[["__scopeId","data-v-9aafd744"]]),P0={class:"demo-wrap"},M0=Z({__name:"TextInputDemo",props:["textInput","placeholder","minDate","maxDate"],setup(e){const a=M(new Date),{isDark:t}=Ye();return(n,r)=>(d(),p("div",P0,[ee(s(Re),{modelValue:a.value,"onUpdate:modelValue":r[0]||(r[0]=l=>a.value=l),dark:s(t),"text-input":e.textInput,placeholder:e.placeholder,"min-date":e.minDate,"max-date":e.maxDate},null,8,["modelValue","dark","text-input","placeholder","min-date","max-date"])]))}}),T0={class:"demo-wrap"},x0=Z({__name:"TimePickerDemo",props:["modeHeight"],setup(e){const{isDark:a}=Ye(),t=M({hours:new Date().getHours(),minutes:new Date().getMinutes()});return(n,r)=>(d(),p("div",T0,[ee(s(Re),Le({modelValue:t.value,"onUpdate:modelValue":r[0]||(r[0]=l=>t.value=l)},n.$props,{dark:s(a),"time-picker":""}),null,16,["modelValue","dark"])]))}}),S0={class:"demo-wrap"},A0={class:"custom-time-picker-component"},C0=["value","onChange"],V0=["value"],O0=["value","onChange"],I0=["value"],N0=Z({__name:"TimePickerSlotDemo",setup(e){const a=M(new Date),{isDark:t}=Ye(),n=D(()=>{const l=[];for(let o=0;o<24;o++)l.push({text:o<10?`0${o}`:o,value:o});return l}),r=D(()=>{const l=[];for(let o=0;o<60;o++)l.push({text:o<10?`0${o}`:o,value:o});return l});return(l,o)=>(d(),p("div",S0,[ee(s(Re),{modelValue:a.value,"onUpdate:modelValue":o[0]||(o[0]=u=>a.value=u),dark:s(t)},{"time-picker":k(({time:u,updateTime:i})=>[y("div",A0,[y("select",{class:"select-input",value:u.hours,onChange:b=>i(+b.target.value)},[(d(!0),p(ye,null,Se(n.value,b=>(d(),p("option",{key:b.value,value:b.value},he(b.text),9,V0))),128))],40,C0),y("select",{class:"select-input",value:u.minutes,onChange:b=>i(+b.target.value,!1)},[(d(!0),p(ye,null,Se(r.value,b=>(d(),p("option",{key:b.value,value:b.value},he(b.text),9,I0))),128))],40,O0)])]),_:1},8,["modelValue","dark"])]))}}),L0={class:"demo-wrap"},R0={key:0},Y0=Z({__name:"TimezoneDemo",setup(e){const a=M(),{isDark:t}=Ye();return(n,r)=>(d(),p("div",L0,[ee(s(Re),{modelValue:a.value,"onUpdate:modelValue":r[0]||(r[0]=l=>a.value=l),dark:s(t),utc:"",placeholder:"Select Date"},null,8,["modelValue","dark"]),a.value?(d(),p("p",R0,"Selected date in UTC format: "+he(a.value),1)):P("",!0)]))}}),H0={class:"demo-wrap"},E0=Z({__name:"YearPickerDemo",props:{},setup(e){const{isDark:a}=Ye(),t=M(new Date().getFullYear());return(n,r)=>(d(),p("div",H0,[ee(s(Re),Le({modelValue:t.value,"onUpdate:modelValue":r[0]||(r[0]=l=>t.value=l)},n.$props,{dark:s(a),"year-picker":""}),null,16,["modelValue","dark"])]))}}),B0={class:"tz-demo-wrap"},F0={class:"dp-container-wrap"},W0={class:"tz-range-slider-wrap"},z0={key:0},U0=Z({__name:"TimezoneNewDemo",props:{timezone:{type:Object,default:void 0},emitVal:{type:Boolean,default:!1}},setup(e){const{isDark:a}=Ye(),t=e,n=M(),r=M(11),l=M(),o=D(()=>{var v,g;if(t.emitVal)return;const m=Ae(new Date)+1>9?Ae(new Date)+1:`0${Ae(new Date)+1}`;return(v=t.timezone)!=null&&v.exactMatch?new Date:(g=t.timezone)!=null&&g.dateInTz?`${xe(new Date)}-${m}-15T01:00:00Z`:`${xe(new Date)}-${m}-15T01:00:00Z`}),u=[{tz:"Pacific/Midway",offset:-11},{tz:"America/Adak",offset:-10},{tz:"Pacific/Gambier",offset:-9},{tz:"America/Los_Angeles",offset:-8},{tz:"America/Denver",offset:-7},{tz:"America/Chicago",offset:-6},{tz:"America/New_York",offset:-5},{tz:"America/Santiago",offset:-4},{tz:"America/Sao_Paulo",offset:-3},{tz:"America/Noronha",offset:-2},{tz:"Atlantic/Cape_Verde",offset:-1},{tz:"UTC",offset:0},{tz:"Europe/Brussels",offset:1},{tz:"Africa/Cairo",offset:2},{tz:"Europe/Minsk",offset:3},{tz:"Europe/Moscow",offset:4},{tz:"Asia/Tashkent",offset:5},{tz:"Asia/Dhaka",offset:6},{tz:"Asia/Novosibirsk",offset:7},{tz:"Australia/Perth",offset:8},{tz:"Asia/Tokyo",offset:9},{tz:"Australia/Hobart",offset:10},{tz:"Asia/Vladivostok",offset:11},{tz:"Pacific/Auckland",offset:12}],i=D(()=>u[r.value]),b=D(()=>{const m=t.emitVal?{emitTimezone:i.value.tz}:{timezone:i.value.tz};return t.timezone?{...t.timezone,...m}:m}),f=m=>{l.value=m.toISOString()};return(m,v)=>(d(),p("div",B0,[y("div",F0,[ee(s(Re),{modelValue:n.value,"onUpdate:modelValue":v[0]||(v[0]=g=>n.value=g),dark:s(a),timezone:b.value,inline:"","auto-apply":"","max-date":o.value,"onUpdate:modelTimezoneValue":f},null,8,["modelValue","dark","timezone","max-date"])]),y("div",W0,[y("div",null,[y("span",null,"Timezone: "+he(i.value.tz),1),v[2]||(v[2]=y("br",null,null,-1)),y("span",null,"Offset: "+he(i.value.offset>0?`+${i.value.offset}`:i.value.offset),1),v[3]||(v[3]=y("br",null,null,-1)),l.value?(d(),p("span",z0,"Zoned date: "+he(l.value),1)):P("",!0)]),y("div",null,[xa(y("input",{class:"tz-range-slider",type:"range","onUpdate:modelValue":v[1]||(v[1]=g=>r.value=g),min:"0",max:"22"},null,512),[[ro,r.value]])])])]))}}),q0=we(U0,[["__scopeId","data-v-76aa1e38"]]),Q0={extends:Hd,enhanceApp({app:e}){e.component("StarAndSponsor",Wd),e.component("ActionRowSlotDemo",rf),e.component("CustomCalendarDemo",of),e.component("DarkDemo",uf),e.component("DemoDayClass",cf),e.component("DemoHighlight",vf),e.component("DemoMarkers",ff),e.component("DemoSlots",Vf),e.component("DisabledDatesDemo",If),e.component("DisabledRangeDateDemo",Lf),e.component("DisabledTimesDemo",Bf),e.component("DisplayModelDemo",zf),e.component("EmitTimezone",qf),e.component("EmptyDemo",Xf),e.component("FiltersDemo",Kf),e.component("FormatDemo",Zf),e.component("GlobalDemo",eh),e.component("LocalizedOutput",Vh),e.component("MinMaxDemo",Ih),e.component("MonthPickerDemo",Lh),e.component("MonthYearSlotDemo",i0),e.component("PresetRange",c0),e.component("PreviewFormatDemo",v0),e.component("QuarterPickerDemo",f0),e.component("RangeDemo",y0),e.component("RequiredDemo",b0),e.component("SixWeeksDemo",$0),e.component("TextInputDemo",M0),e.component("TimePickerDemo",x0),e.component("TimePickerSlotDemo",N0),e.component("TimezoneDemo",Y0),e.component("YearPickerDemo",E0),e.component("TimezoneNewDemo",q0)}};export{Q0 as R,$o as a,Oe as u}; diff --git a/docs/assets/chunks/theme.DW4UajBf.js b/docs/assets/chunks/theme.DW4UajBf.js deleted file mode 100644 index 784339c9..00000000 --- a/docs/assets/chunks/theme.DW4UajBf.js +++ /dev/null @@ -1,44 +0,0 @@ -const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/chunks/ui-custom.BABGA34D.js","assets/chunks/framework.DDyYGyON.js","assets/chunks/VPAlgoliaSearchBox.hPGN3qUp.js"])))=>i.map(i=>d[i]); -var Po=Object.defineProperty;var $o=(e,n,t)=>n in e?Po(e,n,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[n]=t;var ke=(e,n,t)=>$o(e,typeof n!="symbol"?n+"":n,t);import{d as te,o as f,c as g,r as I,n as ye,a as Ye,t as be,b as de,w as C,e as W,T as Ft,_ as xe,u as Le,i as So,f as Eo,g as yr,h as B,j as T,k as c,l as ua,m as or,p as Y,q as at,s as hn,v as Ue,x as Ht,y as kr,z as Oo,A as Ao,B as _a,F as ge,C as Se,D as ei,E as mn,G as re,H as ti,I as ai,J as bt,K as ni,L as vn,M as Ne,N as bn,O as Io,P as mt,Q as Co,R as ct,S as ri,U as gn,V as Ro,W as si,X as ii,Y as oi,Z as No,$ as Vo,a0 as ca,a1 as ta,a2 as Fa,a3 as Lo,a4 as Ba,a5 as ot,a6 as ut,a7 as vt,a8 as Jr,a9 as Bo,aa as Wo,ab as Yo,ac as es,ad as jo,ae as Fo,af as Ho,ag as Na,ah as sn,ai as zo,aj as Uo,ak as Go}from"./framework.DDyYGyON.js";const Ko=te({__name:"VPBadge",props:{text:{},type:{default:"tip"}},setup(e){return(n,t)=>(f(),g("span",{class:ye(["VPBadge",n.type])},[I(n.$slots,"default",{},()=>[Ye(be(n.text),1)])],2))}}),Xo={key:0,class:"VPBackdrop"},qo=te({__name:"VPBackdrop",props:{show:{type:Boolean}},setup(e){return(n,t)=>(f(),de(Ft,{name:"fade"},{default:C(()=>[n.show?(f(),g("div",Xo)):W("",!0)]),_:1}))}}),Qo=xe(qo,[["__scopeId","data-v-c79a1216"]]),Ie=Le;function Zo(e,n){let t,a=!1;return()=>{t&&clearTimeout(t),a?t=setTimeout(e,n):(e(),(a=!0)&&setTimeout(()=>a=!1,n))}}function lr(e){return/^\//.test(e)?e:`/${e}`}function wr(e){const{pathname:n,search:t,hash:a,protocol:r}=new URL(e,"http://a.com");if(So(e)||e.startsWith("#")||!r.startsWith("http")||!Eo(n))return e;const{site:s}=Ie(),i=n.endsWith("/")||n.endsWith(".html")?e:e.replace(/(?:(^\.+)\/)?.*$/,`$1${n.replace(/(\.md)?$/,s.value.cleanUrls?"":".html")}${t}${a}`);return yr(i)}function Ha({correspondingLink:e=!1}={}){const{site:n,localeIndex:t,page:a,theme:r,hash:s}=Ie(),i=B(()=>{var l,v;return{label:(l=n.value.locales[t.value])==null?void 0:l.label,link:((v=n.value.locales[t.value])==null?void 0:v.link)||(t.value==="root"?"/":`/${t.value}/`)}});return{localeLinks:B(()=>Object.entries(n.value.locales).flatMap(([l,v])=>i.value.label===v.label?[]:{text:v.label,link:Jo(v.link||(l==="root"?"/":`/${l}/`),r.value.i18nRouting!==!1&&e,a.value.relativePath.slice(i.value.link.length-1),!n.value.cleanUrls)+s.value})),currentLang:i}}function Jo(e,n,t,a){return n?e.replace(/\/$/,"")+lr(t.replace(/(^|\/)index\.md$/,"$1").replace(/\.md$/,a?".html":"")):e}const el={class:"NotFound"},tl={class:"code"},al={class:"title"},nl={class:"quote"},rl={class:"action"},sl=["href","aria-label"],il=te({__name:"NotFound",setup(e){const{theme:n}=Ie(),{currentLang:t}=Ha();return(a,r)=>{var s,i,o,l,v;return f(),g("div",el,[T("p",tl,be(((s=c(n).notFound)==null?void 0:s.code)??"404"),1),T("h1",al,be(((i=c(n).notFound)==null?void 0:i.title)??"PAGE NOT FOUND"),1),r[0]||(r[0]=T("div",{class:"divider"},null,-1)),T("blockquote",nl,be(((o=c(n).notFound)==null?void 0:o.quote)??"But if you don't change your direction, and if you keep looking, you may end up where you are heading."),1),T("div",rl,[T("a",{class:"link",href:c(yr)(c(t).link),"aria-label":((l=c(n).notFound)==null?void 0:l.linkLabel)??"go to home"},be(((v=c(n).notFound)==null?void 0:v.linkText)??"Take me home"),9,sl)])])}}}),ol=xe(il,[["__scopeId","data-v-d6be1790"]]);function li(e,n){if(Array.isArray(e))return on(e);if(e==null)return[];n=lr(n);const t=Object.keys(e).sort((r,s)=>s.split("/").length-r.split("/").length).find(r=>n.startsWith(lr(r))),a=t?e[t]:[];return Array.isArray(a)?on(a):on(a.items,a.base)}function ll(e){const n=[];let t=0;for(const a in e){const r=e[a];if(r.items){t=n.push(r);continue}n[t]||n.push({items:[]}),n[t].items.push(r)}return n}function ul(e){const n=[];function t(a){for(const r of a)r.text&&r.link&&n.push({text:r.text,link:r.link,docFooterText:r.docFooterText}),r.items&&t(r.items)}return t(e),n}function ur(e,n){return Array.isArray(n)?n.some(t=>ur(e,t)):ua(e,n.link)?!0:n.items?ur(e,n.items):!1}function on(e,n){return[...e].map(t=>{const a={...t},r=a.base||n;return r&&a.link&&(a.link=r+a.link),a.items&&(a.items=on(a.items,r)),a})}function zt(){const{frontmatter:e,page:n,theme:t}=Ie(),a=or("(min-width: 960px)"),r=Y(!1),s=B(()=>{const R=t.value.sidebar,b=n.value.relativePath;return R?li(R,b):[]}),i=Y(s.value);at(s,(R,b)=>{JSON.stringify(R)!==JSON.stringify(b)&&(i.value=s.value)});const o=B(()=>e.value.sidebar!==!1&&i.value.length>0&&e.value.layout!=="home"),l=B(()=>v?e.value.aside==null?t.value.aside==="left":e.value.aside==="left":!1),v=B(()=>e.value.layout==="home"?!1:e.value.aside!=null?!!e.value.aside:t.value.aside!==!1),m=B(()=>o.value&&a.value),d=B(()=>o.value?ll(i.value):[]);function p(){r.value=!0}function k(){r.value=!1}function P(){r.value?k():p()}return{isOpen:r,sidebar:i,sidebarGroups:d,hasSidebar:o,hasAside:v,leftAside:l,isSidebarEnabled:m,open:p,close:k,toggle:P}}function cl(e,n){let t;hn(()=>{t=e.value?document.activeElement:void 0}),Ue(()=>{window.addEventListener("keyup",a)}),Ht(()=>{window.removeEventListener("keyup",a)});function a(r){r.key==="Escape"&&e.value&&(n(),t==null||t.focus())}}function dl(e){const{page:n,hash:t}=Ie(),a=Y(!1),r=B(()=>e.value.collapsed!=null),s=B(()=>!!e.value.link),i=Y(!1),o=()=>{i.value=ua(n.value.relativePath,e.value.link)};at([n,e,t],o),Ue(o);const l=B(()=>i.value?!0:e.value.items?ur(n.value.relativePath,e.value.items):!1),v=B(()=>!!(e.value.items&&e.value.items.length));hn(()=>{a.value=!!(r.value&&e.value.collapsed)}),kr(()=>{(i.value||l.value)&&(a.value=!1)});function m(){r.value&&(a.value=!a.value)}return{collapsed:a,collapsible:r,isLink:s,isActiveLink:i,hasActiveLink:l,hasChildren:v,toggle:m}}function _l(){const{hasSidebar:e}=zt(),n=or("(min-width: 960px)"),t=or("(min-width: 1280px)");return{isAsideEnabled:B(()=>!t.value&&!n.value?!1:e.value?t.value:n.value)}}const cr=[];function ui(e){return typeof e.outline=="object"&&!Array.isArray(e.outline)&&e.outline.label||e.outlineTitle||"On this page"}function xr(e){const n=[...document.querySelectorAll(".VPDoc :where(h1,h2,h3,h4,h5,h6)")].filter(t=>t.id&&t.hasChildNodes()).map(t=>{const a=Number(t.tagName[1]);return{element:t,title:pl(t),link:"#"+t.id,level:a}});return fl(n,e)}function pl(e){let n="";for(const t of e.childNodes)if(t.nodeType===1){if(t.classList.contains("VPBadge")||t.classList.contains("header-anchor")||t.classList.contains("ignore-header"))continue;n+=t.textContent}else t.nodeType===3&&(n+=t.textContent);return n.trim()}function fl(e,n){if(n===!1)return[];const t=(typeof n=="object"&&!Array.isArray(n)?n.level:n)||2,[a,r]=typeof t=="number"?[t,t]:t==="deep"?[2,6]:t;return vl(e,a,r)}function hl(e,n){const{isAsideEnabled:t}=_l(),a=Zo(s,100);let r=null;Ue(()=>{requestAnimationFrame(s),window.addEventListener("scroll",a)}),Oo(()=>{i(location.hash)}),Ht(()=>{window.removeEventListener("scroll",a)});function s(){if(!t.value)return;const o=window.scrollY,l=window.innerHeight,v=document.body.offsetHeight,m=Math.abs(o+l-v)<1,d=cr.map(({element:k,link:P})=>({link:P,top:ml(k)})).filter(({top:k})=>!Number.isNaN(k)).sort((k,P)=>k.top-P.top);if(!d.length){i(null);return}if(o<1){i(null);return}if(m){i(d[d.length-1].link);return}let p=null;for(const{link:k,top:P}of d){if(P>o+Ao()+4)break;p=k}i(p)}function i(o){r&&r.classList.remove("active"),o==null?r=null:r=e.value.querySelector(`a[href="${decodeURIComponent(o)}"]`);const l=r;l?(l.classList.add("active"),n.value.style.top=l.offsetTop+39+"px",n.value.style.opacity="1"):(n.value.style.top="33px",n.value.style.opacity="0")}}function ml(e){let n=0;for(;e!==document.body;){if(e===null)return NaN;n+=e.offsetTop,e=e.offsetParent}return n}function vl(e,n,t){cr.length=0;const a=[],r=[];return e.forEach(s=>{const i={...s,children:[]};let o=r[r.length-1];for(;o&&o.level>=i.level;)r.pop(),o=r[r.length-1];if(i.element.classList.contains("ignore-header")||o&&"shouldIgnore"in o){r.push({level:i.level,shouldIgnore:!0});return}i.level>t||i.level{const r=_a("VPDocOutlineItem",!0);return f(),g("ul",{class:ye(["VPDocOutlineItem",t.root?"root":"nested"])},[(f(!0),g(ge,null,Se(t.headers,({children:s,link:i,title:o})=>(f(),g("li",null,[T("a",{class:"outline-link",href:i,onClick:n,title:o},be(o),9,bl),s!=null&&s.length?(f(),de(r,{key:0,headers:s},null,8,["headers"])):W("",!0)]))),256))],2)}}}),ci=xe(gl,[["__scopeId","data-v-b933a997"]]),yl={class:"content"},kl={"aria-level":"2",class:"outline-title",id:"doc-outline-aria-label",role:"heading"},wl=te({__name:"VPDocAsideOutline",setup(e){const{frontmatter:n,theme:t}=Ie(),a=ei([]);mn(()=>{a.value=xr(n.value.outline??t.value.outline)});const r=Y(),s=Y();return hl(r,s),(i,o)=>(f(),g("nav",{"aria-labelledby":"doc-outline-aria-label",class:ye(["VPDocAsideOutline",{"has-outline":a.value.length>0}]),ref_key:"container",ref:r},[T("div",yl,[T("div",{class:"outline-marker",ref_key:"marker",ref:s},null,512),T("div",kl,be(c(ui)(c(t))),1),re(ci,{headers:a.value,root:!0},null,8,["headers"])])],2))}}),xl=xe(wl,[["__scopeId","data-v-a5bbad30"]]),Dl={class:"VPDocAsideCarbonAds"},Tl=te({__name:"VPDocAsideCarbonAds",props:{carbonAds:{}},setup(e){const n=ti(()=>ai(()=>import("./ui-custom.BABGA34D.js"),__vite__mapDeps([0,1])));return(t,a)=>(f(),g("div",Dl,[re(c(n),{"carbon-ads":t.carbonAds},null,8,["carbon-ads"])]))}}),Ml={class:"VPDocAside"},Pl=te({__name:"VPDocAside",setup(e){const{theme:n}=Ie();return(t,a)=>(f(),g("div",Ml,[I(t.$slots,"aside-top",{},void 0,!0),I(t.$slots,"aside-outline-before",{},void 0,!0),re(xl),I(t.$slots,"aside-outline-after",{},void 0,!0),a[0]||(a[0]=T("div",{class:"spacer"},null,-1)),I(t.$slots,"aside-ads-before",{},void 0,!0),c(n).carbonAds?(f(),de(Tl,{key:0,"carbon-ads":c(n).carbonAds},null,8,["carbon-ads"])):W("",!0),I(t.$slots,"aside-ads-after",{},void 0,!0),I(t.$slots,"aside-bottom",{},void 0,!0)]))}}),$l=xe(Pl,[["__scopeId","data-v-3f215769"]]);function Sl(){const{theme:e,page:n}=Ie();return B(()=>{const{text:t="Edit this page",pattern:a=""}=e.value.editLink||{};let r;return typeof a=="function"?r=a(n.value):r=a.replace(/:path/g,n.value.filePath),{url:r,text:t}})}function El(){const{page:e,theme:n,frontmatter:t}=Ie();return B(()=>{var v,m,d,p,k,P,R,b;const a=li(n.value.sidebar,e.value.relativePath),r=ul(a),s=Ol(r,_=>_.link.replace(/[?#].*$/,"")),i=s.findIndex(_=>ua(e.value.relativePath,_.link)),o=((v=n.value.docFooter)==null?void 0:v.prev)===!1&&!t.value.prev||t.value.prev===!1,l=((m=n.value.docFooter)==null?void 0:m.next)===!1&&!t.value.next||t.value.next===!1;return{prev:o?void 0:{text:(typeof t.value.prev=="string"?t.value.prev:typeof t.value.prev=="object"?t.value.prev.text:void 0)??((d=s[i-1])==null?void 0:d.docFooterText)??((p=s[i-1])==null?void 0:p.text),link:(typeof t.value.prev=="object"?t.value.prev.link:void 0)??((k=s[i-1])==null?void 0:k.link)},next:l?void 0:{text:(typeof t.value.next=="string"?t.value.next:typeof t.value.next=="object"?t.value.next.text:void 0)??((P=s[i+1])==null?void 0:P.docFooterText)??((R=s[i+1])==null?void 0:R.text),link:(typeof t.value.next=="object"?t.value.next.link:void 0)??((b=s[i+1])==null?void 0:b.link)}}})}function Ol(e,n){const t=new Set;return e.filter(a=>{const r=n(a);return t.has(r)?!1:t.add(r)})}const Vt=te({__name:"VPLink",props:{tag:{},href:{},noIcon:{type:Boolean},target:{},rel:{}},setup(e){const n=e,t=B(()=>n.tag??(n.href?"a":"span")),a=B(()=>n.href&&ni.test(n.href)||n.target==="_blank");return(r,s)=>(f(),de(bt(t.value),{class:ye(["VPLink",{link:r.href,"vp-external-link-icon":a.value,"no-icon":r.noIcon}]),href:r.href?c(wr)(r.href):void 0,target:r.target??(a.value?"_blank":void 0),rel:r.rel??(a.value?"noreferrer":void 0)},{default:C(()=>[I(r.$slots,"default")]),_:3},8,["class","href","target","rel"]))}}),Al={class:"VPLastUpdated"},Il=["datetime"],Cl=te({__name:"VPDocFooterLastUpdated",setup(e){const{theme:n,page:t,lang:a}=Ie(),r=B(()=>new Date(t.value.lastUpdated)),s=B(()=>r.value.toISOString()),i=Y("");return Ue(()=>{hn(()=>{var o,l,v;i.value=new Intl.DateTimeFormat((l=(o=n.value.lastUpdated)==null?void 0:o.formatOptions)!=null&&l.forceLocale?a.value:void 0,((v=n.value.lastUpdated)==null?void 0:v.formatOptions)??{dateStyle:"short",timeStyle:"short"}).format(r.value)})}),(o,l)=>{var v;return f(),g("p",Al,[Ye(be(((v=c(n).lastUpdated)==null?void 0:v.text)||c(n).lastUpdatedText||"Last updated")+": ",1),T("time",{datetime:s.value},be(i.value),9,Il)])}}}),Rl=xe(Cl,[["__scopeId","data-v-e98dd255"]]),Nl={key:0,class:"VPDocFooter"},Vl={key:0,class:"edit-info"},Ll={key:0,class:"edit-link"},Bl={key:1,class:"last-updated"},Wl={key:1,class:"prev-next","aria-labelledby":"doc-footer-aria-label"},Yl={class:"pager"},jl=["innerHTML"],Fl=["innerHTML"],Hl={class:"pager"},zl=["innerHTML"],Ul=["innerHTML"],Gl=te({__name:"VPDocFooter",setup(e){const{theme:n,page:t,frontmatter:a}=Ie(),r=Sl(),s=El(),i=B(()=>n.value.editLink&&a.value.editLink!==!1),o=B(()=>t.value.lastUpdated),l=B(()=>i.value||o.value||s.value.prev||s.value.next);return(v,m)=>{var d,p,k,P;return l.value?(f(),g("footer",Nl,[I(v.$slots,"doc-footer-before",{},void 0,!0),i.value||o.value?(f(),g("div",Vl,[i.value?(f(),g("div",Ll,[re(Vt,{class:"edit-link-button",href:c(r).url,"no-icon":!0},{default:C(()=>[m[0]||(m[0]=T("span",{class:"vpi-square-pen edit-link-icon"},null,-1)),Ye(" "+be(c(r).text),1)]),_:1},8,["href"])])):W("",!0),o.value?(f(),g("div",Bl,[re(Rl)])):W("",!0)])):W("",!0),(d=c(s).prev)!=null&&d.link||(p=c(s).next)!=null&&p.link?(f(),g("nav",Wl,[m[1]||(m[1]=T("span",{class:"visually-hidden",id:"doc-footer-aria-label"},"Pager",-1)),T("div",Yl,[(k=c(s).prev)!=null&&k.link?(f(),de(Vt,{key:0,class:"pager-link prev",href:c(s).prev.link},{default:C(()=>{var R;return[T("span",{class:"desc",innerHTML:((R=c(n).docFooter)==null?void 0:R.prev)||"Previous page"},null,8,jl),T("span",{class:"title",innerHTML:c(s).prev.text},null,8,Fl)]}),_:1},8,["href"])):W("",!0)]),T("div",Hl,[(P=c(s).next)!=null&&P.link?(f(),de(Vt,{key:0,class:"pager-link next",href:c(s).next.link},{default:C(()=>{var R;return[T("span",{class:"desc",innerHTML:((R=c(n).docFooter)==null?void 0:R.next)||"Next page"},null,8,zl),T("span",{class:"title",innerHTML:c(s).next.text},null,8,Ul)]}),_:1},8,["href"])):W("",!0)])])):W("",!0)])):W("",!0)}}}),Kl=xe(Gl,[["__scopeId","data-v-e257564d"]]),Xl={class:"container"},ql={class:"aside-container"},Ql={class:"aside-content"},Zl={class:"content"},Jl={class:"content-container"},eu={class:"main"},tu=te({__name:"VPDoc",setup(e){const{theme:n}=Ie(),t=vn(),{hasSidebar:a,hasAside:r,leftAside:s}=zt(),i=B(()=>t.path.replace(/[./]+/g,"_").replace(/_html$/,""));return(o,l)=>{const v=_a("Content");return f(),g("div",{class:ye(["VPDoc",{"has-sidebar":c(a),"has-aside":c(r)}])},[I(o.$slots,"doc-top",{},void 0,!0),T("div",Xl,[c(r)?(f(),g("div",{key:0,class:ye(["aside",{"left-aside":c(s)}])},[l[0]||(l[0]=T("div",{class:"aside-curtain"},null,-1)),T("div",ql,[T("div",Ql,[re($l,null,{"aside-top":C(()=>[I(o.$slots,"aside-top",{},void 0,!0)]),"aside-bottom":C(()=>[I(o.$slots,"aside-bottom",{},void 0,!0)]),"aside-outline-before":C(()=>[I(o.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":C(()=>[I(o.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":C(()=>[I(o.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":C(()=>[I(o.$slots,"aside-ads-after",{},void 0,!0)]),_:3})])])],2)):W("",!0),T("div",Zl,[T("div",Jl,[I(o.$slots,"doc-before",{},void 0,!0),T("main",eu,[re(v,{class:ye(["vp-doc",[i.value,c(n).externalLinkIcon&&"external-link-icon-enabled"]])},null,8,["class"])]),re(Kl,null,{"doc-footer-before":C(()=>[I(o.$slots,"doc-footer-before",{},void 0,!0)]),_:3}),I(o.$slots,"doc-after",{},void 0,!0)])])]),I(o.$slots,"doc-bottom",{},void 0,!0)],2)}}}),au=xe(tu,[["__scopeId","data-v-39a288b8"]]),nu=te({__name:"VPButton",props:{tag:{},size:{default:"medium"},theme:{default:"brand"},text:{},href:{},target:{},rel:{}},setup(e){const n=e,t=B(()=>n.href&&ni.test(n.href)),a=B(()=>n.tag||(n.href?"a":"button"));return(r,s)=>(f(),de(bt(a.value),{class:ye(["VPButton",[r.size,r.theme]]),href:r.href?c(wr)(r.href):void 0,target:n.target??(t.value?"_blank":void 0),rel:n.rel??(t.value?"noreferrer":void 0)},{default:C(()=>[Ye(be(r.text),1)]),_:1},8,["class","href","target","rel"]))}}),ru=xe(nu,[["__scopeId","data-v-fa7799d5"]]),su=["src","alt"],iu=te({inheritAttrs:!1,__name:"VPImage",props:{image:{},alt:{}},setup(e){return(n,t)=>{const a=_a("VPImage",!0);return n.image?(f(),g(ge,{key:0},[typeof n.image=="string"||"src"in n.image?(f(),g("img",Ne({key:0,class:"VPImage"},typeof n.image=="string"?n.$attrs:{...n.image,...n.$attrs},{src:c(yr)(typeof n.image=="string"?n.image:n.image.src),alt:n.alt??(typeof n.image=="string"?"":n.image.alt||"")}),null,16,su)):(f(),g(ge,{key:1},[re(a,Ne({class:"dark",image:n.image.dark,alt:n.image.alt},n.$attrs),null,16,["image","alt"]),re(a,Ne({class:"light",image:n.image.light,alt:n.image.alt},n.$attrs),null,16,["image","alt"])],64))],64)):W("",!0)}}}),cn=xe(iu,[["__scopeId","data-v-8426fc1a"]]),ou={class:"container"},lu={class:"main"},uu={key:0,class:"name"},cu=["innerHTML"],du=["innerHTML"],_u=["innerHTML"],pu={key:0,class:"actions"},fu={key:0,class:"image"},hu={class:"image-container"},mu=te({__name:"VPHero",props:{name:{},text:{},tagline:{},image:{},actions:{}},setup(e){const n=bn("hero-image-slot-exists");return(t,a)=>(f(),g("div",{class:ye(["VPHero",{"has-image":t.image||c(n)}])},[T("div",ou,[T("div",lu,[I(t.$slots,"home-hero-info-before",{},void 0,!0),I(t.$slots,"home-hero-info",{},()=>[t.name?(f(),g("h1",uu,[T("span",{innerHTML:t.name,class:"clip"},null,8,cu)])):W("",!0),t.text?(f(),g("p",{key:1,innerHTML:t.text,class:"text"},null,8,du)):W("",!0),t.tagline?(f(),g("p",{key:2,innerHTML:t.tagline,class:"tagline"},null,8,_u)):W("",!0)],!0),I(t.$slots,"home-hero-info-after",{},void 0,!0),t.actions?(f(),g("div",pu,[(f(!0),g(ge,null,Se(t.actions,r=>(f(),g("div",{key:r.link,class:"action"},[re(ru,{tag:"a",size:"medium",theme:r.theme,text:r.text,href:r.link,target:r.target,rel:r.rel},null,8,["theme","text","href","target","rel"])]))),128))])):W("",!0),I(t.$slots,"home-hero-actions-after",{},void 0,!0)]),t.image||c(n)?(f(),g("div",fu,[T("div",hu,[a[0]||(a[0]=T("div",{class:"image-bg"},null,-1)),I(t.$slots,"home-hero-image",{},()=>[t.image?(f(),de(cn,{key:0,class:"image-src",image:t.image},null,8,["image"])):W("",!0)],!0)])])):W("",!0)])],2))}}),vu=xe(mu,[["__scopeId","data-v-303bb580"]]),bu=te({__name:"VPHomeHero",setup(e){const{frontmatter:n}=Ie();return(t,a)=>c(n).hero?(f(),de(vu,{key:0,class:"VPHomeHero",name:c(n).hero.name,text:c(n).hero.text,tagline:c(n).hero.tagline,image:c(n).hero.image,actions:c(n).hero.actions},{"home-hero-info-before":C(()=>[I(t.$slots,"home-hero-info-before")]),"home-hero-info":C(()=>[I(t.$slots,"home-hero-info")]),"home-hero-info-after":C(()=>[I(t.$slots,"home-hero-info-after")]),"home-hero-actions-after":C(()=>[I(t.$slots,"home-hero-actions-after")]),"home-hero-image":C(()=>[I(t.$slots,"home-hero-image")]),_:3},8,["name","text","tagline","image","actions"])):W("",!0)}}),gu={class:"box"},yu={key:0,class:"icon"},ku=["innerHTML"],wu=["innerHTML"],xu=["innerHTML"],Du={key:4,class:"link-text"},Tu={class:"link-text-value"},Mu=te({__name:"VPFeature",props:{icon:{},title:{},details:{},link:{},linkText:{},rel:{},target:{}},setup(e){return(n,t)=>(f(),de(Vt,{class:"VPFeature",href:n.link,rel:n.rel,target:n.target,"no-icon":!0,tag:n.link?"a":"div"},{default:C(()=>[T("article",gu,[typeof n.icon=="object"&&n.icon.wrap?(f(),g("div",yu,[re(cn,{image:n.icon,alt:n.icon.alt,height:n.icon.height||48,width:n.icon.width||48},null,8,["image","alt","height","width"])])):typeof n.icon=="object"?(f(),de(cn,{key:1,image:n.icon,alt:n.icon.alt,height:n.icon.height||48,width:n.icon.width||48},null,8,["image","alt","height","width"])):n.icon?(f(),g("div",{key:2,class:"icon",innerHTML:n.icon},null,8,ku)):W("",!0),T("h2",{class:"title",innerHTML:n.title},null,8,wu),n.details?(f(),g("p",{key:3,class:"details",innerHTML:n.details},null,8,xu)):W("",!0),n.linkText?(f(),g("div",Du,[T("p",Tu,[Ye(be(n.linkText)+" ",1),t[0]||(t[0]=T("span",{class:"vpi-arrow-right link-text-icon"},null,-1))])])):W("",!0)])]),_:1},8,["href","rel","target","tag"]))}}),Pu=xe(Mu,[["__scopeId","data-v-a3976bdc"]]),$u={key:0,class:"VPFeatures"},Su={class:"container"},Eu={class:"items"},Ou=te({__name:"VPFeatures",props:{features:{}},setup(e){const n=e,t=B(()=>{const a=n.features.length;if(a){if(a===2)return"grid-2";if(a===3)return"grid-3";if(a%3===0)return"grid-6";if(a>3)return"grid-4"}else return});return(a,r)=>a.features?(f(),g("div",$u,[T("div",Su,[T("div",Eu,[(f(!0),g(ge,null,Se(a.features,s=>(f(),g("div",{key:s.title,class:ye(["item",[t.value]])},[re(Pu,{icon:s.icon,title:s.title,details:s.details,link:s.link,"link-text":s.linkText,rel:s.rel,target:s.target},null,8,["icon","title","details","link","link-text","rel","target"])],2))),128))])])])):W("",!0)}}),Au=xe(Ou,[["__scopeId","data-v-a6181336"]]),Iu=te({__name:"VPHomeFeatures",setup(e){const{frontmatter:n}=Ie();return(t,a)=>c(n).features?(f(),de(Au,{key:0,class:"VPHomeFeatures",features:c(n).features},null,8,["features"])):W("",!0)}}),Cu=te({__name:"VPHomeContent",setup(e){const{width:n}=Io({initialWidth:0,includeScrollbar:!1});return(t,a)=>(f(),g("div",{class:"vp-doc container",style:mt(c(n)?{"--vp-offset":`calc(50% - ${c(n)/2}px)`}:{})},[I(t.$slots,"default",{},void 0,!0)],4))}}),Ru=xe(Cu,[["__scopeId","data-v-8e2d4988"]]),Nu={class:"VPHome"},Vu=te({__name:"VPHome",setup(e){const{frontmatter:n}=Ie();return(t,a)=>{const r=_a("Content");return f(),g("div",Nu,[I(t.$slots,"home-hero-before",{},void 0,!0),re(bu,null,{"home-hero-info-before":C(()=>[I(t.$slots,"home-hero-info-before",{},void 0,!0)]),"home-hero-info":C(()=>[I(t.$slots,"home-hero-info",{},void 0,!0)]),"home-hero-info-after":C(()=>[I(t.$slots,"home-hero-info-after",{},void 0,!0)]),"home-hero-actions-after":C(()=>[I(t.$slots,"home-hero-actions-after",{},void 0,!0)]),"home-hero-image":C(()=>[I(t.$slots,"home-hero-image",{},void 0,!0)]),_:3}),I(t.$slots,"home-hero-after",{},void 0,!0),I(t.$slots,"home-features-before",{},void 0,!0),re(Iu),I(t.$slots,"home-features-after",{},void 0,!0),c(n).markdownStyles!==!1?(f(),de(Ru,{key:0},{default:C(()=>[re(r)]),_:1})):(f(),de(r,{key:1}))])}}}),Lu=xe(Vu,[["__scopeId","data-v-686f80a6"]]),Bu={},Wu={class:"VPPage"};function Yu(e,n){const t=_a("Content");return f(),g("div",Wu,[I(e.$slots,"page-top"),re(t),I(e.$slots,"page-bottom")])}const ju=xe(Bu,[["render",Yu]]),Fu=te({__name:"VPContent",setup(e){const{page:n,frontmatter:t}=Ie(),{hasSidebar:a}=zt();return(r,s)=>(f(),g("div",{class:ye(["VPContent",{"has-sidebar":c(a),"is-home":c(t).layout==="home"}]),id:"VPContent"},[c(n).isNotFound?I(r.$slots,"not-found",{key:0},()=>[re(ol)],!0):c(t).layout==="page"?(f(),de(ju,{key:1},{"page-top":C(()=>[I(r.$slots,"page-top",{},void 0,!0)]),"page-bottom":C(()=>[I(r.$slots,"page-bottom",{},void 0,!0)]),_:3})):c(t).layout==="home"?(f(),de(Lu,{key:2},{"home-hero-before":C(()=>[I(r.$slots,"home-hero-before",{},void 0,!0)]),"home-hero-info-before":C(()=>[I(r.$slots,"home-hero-info-before",{},void 0,!0)]),"home-hero-info":C(()=>[I(r.$slots,"home-hero-info",{},void 0,!0)]),"home-hero-info-after":C(()=>[I(r.$slots,"home-hero-info-after",{},void 0,!0)]),"home-hero-actions-after":C(()=>[I(r.$slots,"home-hero-actions-after",{},void 0,!0)]),"home-hero-image":C(()=>[I(r.$slots,"home-hero-image",{},void 0,!0)]),"home-hero-after":C(()=>[I(r.$slots,"home-hero-after",{},void 0,!0)]),"home-features-before":C(()=>[I(r.$slots,"home-features-before",{},void 0,!0)]),"home-features-after":C(()=>[I(r.$slots,"home-features-after",{},void 0,!0)]),_:3})):c(t).layout&&c(t).layout!=="doc"?(f(),de(bt(c(t).layout),{key:3})):(f(),de(au,{key:4},{"doc-top":C(()=>[I(r.$slots,"doc-top",{},void 0,!0)]),"doc-bottom":C(()=>[I(r.$slots,"doc-bottom",{},void 0,!0)]),"doc-footer-before":C(()=>[I(r.$slots,"doc-footer-before",{},void 0,!0)]),"doc-before":C(()=>[I(r.$slots,"doc-before",{},void 0,!0)]),"doc-after":C(()=>[I(r.$slots,"doc-after",{},void 0,!0)]),"aside-top":C(()=>[I(r.$slots,"aside-top",{},void 0,!0)]),"aside-outline-before":C(()=>[I(r.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":C(()=>[I(r.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":C(()=>[I(r.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":C(()=>[I(r.$slots,"aside-ads-after",{},void 0,!0)]),"aside-bottom":C(()=>[I(r.$slots,"aside-bottom",{},void 0,!0)]),_:3}))],2))}}),Hu=xe(Fu,[["__scopeId","data-v-1428d186"]]),zu={class:"container"},Uu=["innerHTML"],Gu=["innerHTML"],Ku=te({__name:"VPFooter",setup(e){const{theme:n,frontmatter:t}=Ie(),{hasSidebar:a}=zt();return(r,s)=>c(n).footer&&c(t).footer!==!1?(f(),g("footer",{key:0,class:ye(["VPFooter",{"has-sidebar":c(a)}])},[T("div",zu,[c(n).footer.message?(f(),g("p",{key:0,class:"message",innerHTML:c(n).footer.message},null,8,Uu)):W("",!0),c(n).footer.copyright?(f(),g("p",{key:1,class:"copyright",innerHTML:c(n).footer.copyright},null,8,Gu)):W("",!0)])],2)):W("",!0)}}),Xu=xe(Ku,[["__scopeId","data-v-e315a0ad"]]);function qu(){const{theme:e,frontmatter:n}=Ie(),t=ei([]),a=B(()=>t.value.length>0);return mn(()=>{t.value=xr(n.value.outline??e.value.outline)}),{headers:t,hasLocalNav:a}}const Qu={class:"menu-text"},Zu={class:"header"},Ju={class:"outline"},ec=te({__name:"VPLocalNavOutlineDropdown",props:{headers:{},navHeight:{}},setup(e){const n=e,{theme:t}=Ie(),a=Y(!1),r=Y(0),s=Y(),i=Y();function o(d){var p;(p=s.value)!=null&&p.contains(d.target)||(a.value=!1)}at(a,d=>{if(d){document.addEventListener("click",o);return}document.removeEventListener("click",o)}),Co("Escape",()=>{a.value=!1}),mn(()=>{a.value=!1});function l(){a.value=!a.value,r.value=window.innerHeight+Math.min(window.scrollY-n.navHeight,0)}function v(d){d.target.classList.contains("outline-link")&&(i.value&&(i.value.style.transition="none"),ct(()=>{a.value=!1}))}function m(){a.value=!1,window.scrollTo({top:0,left:0,behavior:"smooth"})}return(d,p)=>(f(),g("div",{class:"VPLocalNavOutlineDropdown",style:mt({"--vp-vh":r.value+"px"}),ref_key:"main",ref:s},[d.headers.length>0?(f(),g("button",{key:0,onClick:l,class:ye({open:a.value})},[T("span",Qu,be(c(ui)(c(t))),1),p[0]||(p[0]=T("span",{class:"vpi-chevron-right icon"},null,-1))],2)):(f(),g("button",{key:1,onClick:m},be(c(t).returnToTopLabel||"Return to top"),1)),re(Ft,{name:"flyout"},{default:C(()=>[a.value?(f(),g("div",{key:0,ref_key:"items",ref:i,class:"items",onClick:v},[T("div",Zu,[T("a",{class:"top-link",href:"#",onClick:m},be(c(t).returnToTopLabel||"Return to top"),1)]),T("div",Ju,[re(ci,{headers:d.headers},null,8,["headers"])])],512)):W("",!0)]),_:1})],4))}}),tc=xe(ec,[["__scopeId","data-v-17a5e62e"]]),ac={class:"container"},nc=["aria-expanded"],rc={class:"menu-text"},sc=te({__name:"VPLocalNav",props:{open:{type:Boolean}},emits:["open-menu"],setup(e){const{theme:n,frontmatter:t}=Ie(),{hasSidebar:a}=zt(),{headers:r}=qu(),{y:s}=ri(),i=Y(0);Ue(()=>{i.value=parseInt(getComputedStyle(document.documentElement).getPropertyValue("--vp-nav-height"))}),mn(()=>{r.value=xr(t.value.outline??n.value.outline)});const o=B(()=>r.value.length===0),l=B(()=>o.value&&!a.value),v=B(()=>({VPLocalNav:!0,"has-sidebar":a.value,empty:o.value,fixed:l.value}));return(m,d)=>c(t).layout!=="home"&&(!l.value||c(s)>=i.value)?(f(),g("div",{key:0,class:ye(v.value)},[T("div",ac,[c(a)?(f(),g("button",{key:0,class:"menu","aria-expanded":m.open,"aria-controls":"VPSidebarNav",onClick:d[0]||(d[0]=p=>m.$emit("open-menu"))},[d[1]||(d[1]=T("span",{class:"vpi-align-left menu-icon"},null,-1)),T("span",rc,be(c(n).sidebarMenuLabel||"Menu"),1)],8,nc)):W("",!0),re(tc,{headers:c(r),navHeight:i.value},null,8,["headers","navHeight"])])],2)):W("",!0)}}),ic=xe(sc,[["__scopeId","data-v-a6f0e41e"]]);function oc(){const e=Y(!1);function n(){e.value=!0,window.addEventListener("resize",r)}function t(){e.value=!1,window.removeEventListener("resize",r)}function a(){e.value?t():n()}function r(){window.outerWidth>=768&&t()}const s=vn();return at(()=>s.path,t),{isScreenOpen:e,openScreen:n,closeScreen:t,toggleScreen:a}}const lc={},uc={class:"VPSwitch",type:"button",role:"switch"},cc={class:"check"},dc={key:0,class:"icon"};function _c(e,n){return f(),g("button",uc,[T("span",cc,[e.$slots.default?(f(),g("span",dc,[I(e.$slots,"default",{},void 0,!0)])):W("",!0)])])}const pc=xe(lc,[["render",_c],["__scopeId","data-v-1d5665e3"]]),fc=te({__name:"VPSwitchAppearance",setup(e){const{isDark:n,theme:t}=Ie(),a=bn("toggle-appearance",()=>{n.value=!n.value}),r=Y("");return kr(()=>{r.value=n.value?t.value.lightModeSwitchTitle||"Switch to light theme":t.value.darkModeSwitchTitle||"Switch to dark theme"}),(s,i)=>(f(),de(pc,{title:r.value,class:"VPSwitchAppearance","aria-checked":c(n),onClick:c(a)},{default:C(()=>i[0]||(i[0]=[T("span",{class:"vpi-sun sun"},null,-1),T("span",{class:"vpi-moon moon"},null,-1)])),_:1},8,["title","aria-checked","onClick"]))}}),Dr=xe(fc,[["__scopeId","data-v-5337faa4"]]),hc={key:0,class:"VPNavBarAppearance"},mc=te({__name:"VPNavBarAppearance",setup(e){const{site:n}=Ie();return(t,a)=>c(n).appearance&&c(n).appearance!=="force-dark"&&c(n).appearance!=="force-auto"?(f(),g("div",hc,[re(Dr)])):W("",!0)}}),vc=xe(mc,[["__scopeId","data-v-6c893767"]]),Tr=Y();let di=!1,Cn=0;function bc(e){const n=Y(!1);if(gn){!di&&gc(),Cn++;const t=at(Tr,a=>{var r,s,i;a===e.el.value||(r=e.el.value)!=null&&r.contains(a)?(n.value=!0,(s=e.onFocus)==null||s.call(e)):(n.value=!1,(i=e.onBlur)==null||i.call(e))});Ht(()=>{t(),Cn--,Cn||yc()})}return Ro(n)}function gc(){document.addEventListener("focusin",_i),di=!0,Tr.value=document.activeElement}function yc(){document.removeEventListener("focusin",_i)}function _i(){Tr.value=document.activeElement}const kc={class:"VPMenuLink"},wc=["innerHTML"],xc=te({__name:"VPMenuLink",props:{item:{}},setup(e){const{page:n}=Ie();return(t,a)=>(f(),g("div",kc,[re(Vt,{class:ye({active:c(ua)(c(n).relativePath,t.item.activeMatch||t.item.link,!!t.item.activeMatch)}),href:t.item.link,target:t.item.target,rel:t.item.rel,"no-icon":t.item.noIcon},{default:C(()=>[T("span",{innerHTML:t.item.text},null,8,wc)]),_:1},8,["class","href","target","rel","no-icon"])]))}}),yn=xe(xc,[["__scopeId","data-v-35975db6"]]),Dc={class:"VPMenuGroup"},Tc={key:0,class:"title"},Mc=te({__name:"VPMenuGroup",props:{text:{},items:{}},setup(e){return(n,t)=>(f(),g("div",Dc,[n.text?(f(),g("p",Tc,be(n.text),1)):W("",!0),(f(!0),g(ge,null,Se(n.items,a=>(f(),g(ge,null,["link"in a?(f(),de(yn,{key:0,item:a},null,8,["item"])):W("",!0)],64))),256))]))}}),Pc=xe(Mc,[["__scopeId","data-v-69e747b5"]]),$c={class:"VPMenu"},Sc={key:0,class:"items"},Ec=te({__name:"VPMenu",props:{items:{}},setup(e){return(n,t)=>(f(),g("div",$c,[n.items?(f(),g("div",Sc,[(f(!0),g(ge,null,Se(n.items,a=>(f(),g(ge,{key:JSON.stringify(a)},["link"in a?(f(),de(yn,{key:0,item:a},null,8,["item"])):"component"in a?(f(),de(bt(a.component),Ne({key:1,ref_for:!0},a.props),null,16)):(f(),de(Pc,{key:2,text:a.text,items:a.items},null,8,["text","items"]))],64))),128))])):W("",!0),I(n.$slots,"default",{},void 0,!0)]))}}),Oc=xe(Ec,[["__scopeId","data-v-b98bc113"]]),Ac=["aria-expanded","aria-label"],Ic={key:0,class:"text"},Cc=["innerHTML"],Rc={key:1,class:"vpi-more-horizontal icon"},Nc={class:"menu"},Vc=te({__name:"VPFlyout",props:{icon:{},button:{},label:{},items:{}},setup(e){const n=Y(!1),t=Y();bc({el:t,onBlur:a});function a(){n.value=!1}return(r,s)=>(f(),g("div",{class:"VPFlyout",ref_key:"el",ref:t,onMouseenter:s[1]||(s[1]=i=>n.value=!0),onMouseleave:s[2]||(s[2]=i=>n.value=!1)},[T("button",{type:"button",class:"button","aria-haspopup":"true","aria-expanded":n.value,"aria-label":r.label,onClick:s[0]||(s[0]=i=>n.value=!n.value)},[r.button||r.icon?(f(),g("span",Ic,[r.icon?(f(),g("span",{key:0,class:ye([r.icon,"option-icon"])},null,2)):W("",!0),r.button?(f(),g("span",{key:1,innerHTML:r.button},null,8,Cc)):W("",!0),s[3]||(s[3]=T("span",{class:"vpi-chevron-down text-icon"},null,-1))])):(f(),g("span",Rc))],8,Ac),T("div",Nc,[re(Oc,{items:r.items},{default:C(()=>[I(r.$slots,"default",{},void 0,!0)]),_:3},8,["items"])])],544))}}),Mr=xe(Vc,[["__scopeId","data-v-cf11d7a2"]]),Lc=["href","aria-label","innerHTML"],Bc=te({__name:"VPSocialLink",props:{icon:{},link:{},ariaLabel:{}},setup(e){const n=e,t=Y();Ue(async()=>{var s;await ct();const r=(s=t.value)==null?void 0:s.children[0];r instanceof HTMLElement&&r.className.startsWith("vpi-social-")&&(getComputedStyle(r).maskImage||getComputedStyle(r).webkitMaskImage)==="none"&&r.style.setProperty("--icon",`url('https://api.iconify.design/simple-icons/${n.icon}.svg')`)});const a=B(()=>typeof n.icon=="object"?n.icon.svg:``);return(r,s)=>(f(),g("a",{ref_key:"el",ref:t,class:"VPSocialLink no-icon",href:r.link,"aria-label":r.ariaLabel??(typeof r.icon=="string"?r.icon:""),target:"_blank",rel:"noopener",innerHTML:a.value},null,8,Lc))}}),Wc=xe(Bc,[["__scopeId","data-v-bd121fe5"]]),Yc={class:"VPSocialLinks"},jc=te({__name:"VPSocialLinks",props:{links:{}},setup(e){return(n,t)=>(f(),g("div",Yc,[(f(!0),g(ge,null,Se(n.links,({link:a,icon:r,ariaLabel:s})=>(f(),de(Wc,{key:a,icon:r,link:a,ariaLabel:s},null,8,["icon","link","ariaLabel"]))),128))]))}}),Pr=xe(jc,[["__scopeId","data-v-7bc22406"]]),Fc={key:0,class:"group translations"},Hc={class:"trans-title"},zc={key:1,class:"group"},Uc={class:"item appearance"},Gc={class:"label"},Kc={class:"appearance-action"},Xc={key:2,class:"group"},qc={class:"item social-links"},Qc=te({__name:"VPNavBarExtra",setup(e){const{site:n,theme:t}=Ie(),{localeLinks:a,currentLang:r}=Ha({correspondingLink:!0}),s=B(()=>a.value.length&&r.value.label||n.value.appearance||t.value.socialLinks);return(i,o)=>s.value?(f(),de(Mr,{key:0,class:"VPNavBarExtra",label:"extra navigation"},{default:C(()=>[c(a).length&&c(r).label?(f(),g("div",Fc,[T("p",Hc,be(c(r).label),1),(f(!0),g(ge,null,Se(c(a),l=>(f(),de(yn,{key:l.link,item:l},null,8,["item"]))),128))])):W("",!0),c(n).appearance&&c(n).appearance!=="force-dark"&&c(n).appearance!=="force-auto"?(f(),g("div",zc,[T("div",Uc,[T("p",Gc,be(c(t).darkModeSwitchLabel||"Appearance"),1),T("div",Kc,[re(Dr)])])])):W("",!0),c(t).socialLinks?(f(),g("div",Xc,[T("div",qc,[re(Pr,{class:"social-links-list",links:c(t).socialLinks},null,8,["links"])])])):W("",!0)]),_:1})):W("",!0)}}),Zc=xe(Qc,[["__scopeId","data-v-bb2aa2f0"]]),Jc=["aria-expanded"],ed=te({__name:"VPNavBarHamburger",props:{active:{type:Boolean}},emits:["click"],setup(e){return(n,t)=>(f(),g("button",{type:"button",class:ye(["VPNavBarHamburger",{active:n.active}]),"aria-label":"mobile navigation","aria-expanded":n.active,"aria-controls":"VPNavScreen",onClick:t[0]||(t[0]=a=>n.$emit("click"))},t[1]||(t[1]=[T("span",{class:"container"},[T("span",{class:"top"}),T("span",{class:"middle"}),T("span",{class:"bottom"})],-1)]),10,Jc))}}),td=xe(ed,[["__scopeId","data-v-e5dd9c1c"]]),ad=["innerHTML"],nd=te({__name:"VPNavBarMenuLink",props:{item:{}},setup(e){const{page:n}=Ie();return(t,a)=>(f(),de(Vt,{class:ye({VPNavBarMenuLink:!0,active:c(ua)(c(n).relativePath,t.item.activeMatch||t.item.link,!!t.item.activeMatch)}),href:t.item.link,target:t.item.target,rel:t.item.rel,"no-icon":t.item.noIcon,tabindex:"0"},{default:C(()=>[T("span",{innerHTML:t.item.text},null,8,ad)]),_:1},8,["class","href","target","rel","no-icon"]))}}),rd=xe(nd,[["__scopeId","data-v-e56f3d57"]]),sd=te({__name:"VPNavBarMenuGroup",props:{item:{}},setup(e){const n=e,{page:t}=Ie(),a=s=>"component"in s?!1:"link"in s?ua(t.value.relativePath,s.link,!!n.item.activeMatch):s.items.some(a),r=B(()=>a(n.item));return(s,i)=>(f(),de(Mr,{class:ye({VPNavBarMenuGroup:!0,active:c(ua)(c(t).relativePath,s.item.activeMatch,!!s.item.activeMatch)||r.value}),button:s.item.text,items:s.item.items},null,8,["class","button","items"]))}}),id={key:0,"aria-labelledby":"main-nav-aria-label",class:"VPNavBarMenu"},od=te({__name:"VPNavBarMenu",setup(e){const{theme:n}=Ie();return(t,a)=>c(n).nav?(f(),g("nav",id,[a[0]||(a[0]=T("span",{id:"main-nav-aria-label",class:"visually-hidden"}," Main Navigation ",-1)),(f(!0),g(ge,null,Se(c(n).nav,r=>(f(),g(ge,{key:JSON.stringify(r)},["link"in r?(f(),de(rd,{key:0,item:r},null,8,["item"])):"component"in r?(f(),de(bt(r.component),Ne({key:1,ref_for:!0},r.props),null,16)):(f(),de(sd,{key:2,item:r},null,8,["item"]))],64))),128))])):W("",!0)}}),ld=xe(od,[["__scopeId","data-v-dc692963"]]);function ud(e){const{localeIndex:n,theme:t}=Ie();function a(r){var P,R,b;const s=r.split("."),i=(P=t.value.search)==null?void 0:P.options,o=i&&typeof i=="object",l=o&&((b=(R=i.locales)==null?void 0:R[n.value])==null?void 0:b.translations)||null,v=o&&i.translations||null;let m=l,d=v,p=e;const k=s.pop();for(const _ of s){let y=null;const A=p==null?void 0:p[_];A&&(y=p=A);const S=d==null?void 0:d[_];S&&(y=d=S);const U=m==null?void 0:m[_];U&&(y=m=U),A||(p=y),S||(d=y),U||(m=y)}return(m==null?void 0:m[k])??(d==null?void 0:d[k])??(p==null?void 0:p[k])??""}return a}const cd=["aria-label"],dd={class:"DocSearch-Button-Container"},_d={class:"DocSearch-Button-Placeholder"},ts=te({__name:"VPNavBarSearchButton",setup(e){const t=ud({button:{buttonText:"Search",buttonAriaLabel:"Search"}});return(a,r)=>(f(),g("button",{type:"button",class:"DocSearch DocSearch-Button","aria-label":c(t)("button.buttonAriaLabel")},[T("span",dd,[r[0]||(r[0]=T("span",{class:"vp-icon DocSearch-Search-Icon"},null,-1)),T("span",_d,be(c(t)("button.buttonText")),1)]),r[1]||(r[1]=T("span",{class:"DocSearch-Button-Keys"},[T("kbd",{class:"DocSearch-Button-Key"}),T("kbd",{class:"DocSearch-Button-Key"},"K")],-1))],8,cd))}}),pd={class:"VPNavBarSearch"},fd={id:"local-search"},hd={key:1,id:"docsearch"},md=te({__name:"VPNavBarSearch",setup(e){const n=()=>null,t=ti(()=>ai(()=>import("./VPAlgoliaSearchBox.hPGN3qUp.js"),__vite__mapDeps([2,1]))),{theme:a}=Ie(),r=Y(!1),s=Y(!1),i=()=>{const p="VPAlgoliaPreconnect";(window.requestIdleCallback||setTimeout)(()=>{var R;const P=document.createElement("link");P.id=p,P.rel="preconnect",P.href=`https://${(((R=a.value.search)==null?void 0:R.options)??a.value.algolia).appId}-dsn.algolia.net`,P.crossOrigin="",document.head.appendChild(P)})};Ue(()=>{i();const p=P=>{(P.key.toLowerCase()==="k"&&(P.metaKey||P.ctrlKey)||!v(P)&&P.key==="/")&&(P.preventDefault(),o(),k())},k=()=>{window.removeEventListener("keydown",p)};window.addEventListener("keydown",p),Ht(k)});function o(){r.value||(r.value=!0,setTimeout(l,16))}function l(){const p=new Event("keydown");p.key="k",p.metaKey=!0,window.dispatchEvent(p),setTimeout(()=>{document.querySelector(".DocSearch-Modal")||l()},16)}function v(p){const k=p.target,P=k.tagName;return k.isContentEditable||P==="INPUT"||P==="SELECT"||P==="TEXTAREA"}const m=Y(!1),d="algolia";return(p,k)=>{var P;return f(),g("div",pd,[c(d)==="local"?(f(),g(ge,{key:0},[m.value?(f(),de(c(n),{key:0,onClose:k[0]||(k[0]=R=>m.value=!1)})):W("",!0),T("div",fd,[re(ts,{onClick:k[1]||(k[1]=R=>m.value=!0)})])],64)):c(d)==="algolia"?(f(),g(ge,{key:1},[r.value?(f(),de(c(t),{key:0,algolia:((P=c(a).search)==null?void 0:P.options)??c(a).algolia,onVnodeBeforeMount:k[2]||(k[2]=R=>s.value=!0)},null,8,["algolia"])):W("",!0),s.value?W("",!0):(f(),g("div",hd,[re(ts,{onClick:o})]))],64)):W("",!0)])}}}),vd=te({__name:"VPNavBarSocialLinks",setup(e){const{theme:n}=Ie();return(t,a)=>c(n).socialLinks?(f(),de(Pr,{key:0,class:"VPNavBarSocialLinks",links:c(n).socialLinks},null,8,["links"])):W("",!0)}}),bd=xe(vd,[["__scopeId","data-v-0394ad82"]]),gd=["href","rel","target"],yd=["innerHTML"],kd={key:2},wd=te({__name:"VPNavBarTitle",setup(e){const{site:n,theme:t}=Ie(),{hasSidebar:a}=zt(),{currentLang:r}=Ha(),s=B(()=>{var l;return typeof t.value.logoLink=="string"?t.value.logoLink:(l=t.value.logoLink)==null?void 0:l.link}),i=B(()=>{var l;return typeof t.value.logoLink=="string"||(l=t.value.logoLink)==null?void 0:l.rel}),o=B(()=>{var l;return typeof t.value.logoLink=="string"||(l=t.value.logoLink)==null?void 0:l.target});return(l,v)=>(f(),g("div",{class:ye(["VPNavBarTitle",{"has-sidebar":c(a)}])},[T("a",{class:"title",href:s.value??c(wr)(c(r).link),rel:i.value,target:o.value},[I(l.$slots,"nav-bar-title-before",{},void 0,!0),c(t).logo?(f(),de(cn,{key:0,class:"logo",image:c(t).logo},null,8,["image"])):W("",!0),c(t).siteTitle?(f(),g("span",{key:1,innerHTML:c(t).siteTitle},null,8,yd)):c(t).siteTitle===void 0?(f(),g("span",kd,be(c(n).title),1)):W("",!0),I(l.$slots,"nav-bar-title-after",{},void 0,!0)],8,gd)],2))}}),xd=xe(wd,[["__scopeId","data-v-1168a8e4"]]),Dd={class:"items"},Td={class:"title"},Md=te({__name:"VPNavBarTranslations",setup(e){const{theme:n}=Ie(),{localeLinks:t,currentLang:a}=Ha({correspondingLink:!0});return(r,s)=>c(t).length&&c(a).label?(f(),de(Mr,{key:0,class:"VPNavBarTranslations",icon:"vpi-languages",label:c(n).langMenuLabel||"Change language"},{default:C(()=>[T("div",Dd,[T("p",Td,be(c(a).label),1),(f(!0),g(ge,null,Se(c(t),i=>(f(),de(yn,{key:i.link,item:i},null,8,["item"]))),128))])]),_:1},8,["label"])):W("",!0)}}),Pd=xe(Md,[["__scopeId","data-v-88af2de4"]]),$d={class:"wrapper"},Sd={class:"container"},Ed={class:"title"},Od={class:"content"},Ad={class:"content-body"},Id=te({__name:"VPNavBar",props:{isScreenOpen:{type:Boolean}},emits:["toggle-screen"],setup(e){const n=e,{y:t}=ri(),{hasSidebar:a}=zt(),{frontmatter:r}=Ie(),s=Y({});return kr(()=>{s.value={"has-sidebar":a.value,home:r.value.layout==="home",top:t.value===0,"screen-open":n.isScreenOpen}}),(i,o)=>(f(),g("div",{class:ye(["VPNavBar",s.value])},[T("div",$d,[T("div",Sd,[T("div",Ed,[re(xd,null,{"nav-bar-title-before":C(()=>[I(i.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":C(()=>[I(i.$slots,"nav-bar-title-after",{},void 0,!0)]),_:3})]),T("div",Od,[T("div",Ad,[I(i.$slots,"nav-bar-content-before",{},void 0,!0),re(md,{class:"search"}),re(ld,{class:"menu"}),re(Pd,{class:"translations"}),re(vc,{class:"appearance"}),re(bd,{class:"social-links"}),re(Zc,{class:"extra"}),I(i.$slots,"nav-bar-content-after",{},void 0,!0),re(td,{class:"hamburger",active:i.isScreenOpen,onClick:o[0]||(o[0]=l=>i.$emit("toggle-screen"))},null,8,["active"])])])])]),o[1]||(o[1]=T("div",{class:"divider"},[T("div",{class:"divider-line"})],-1))],2))}}),Cd=xe(Id,[["__scopeId","data-v-6aa21345"]]),Rd={key:0,class:"VPNavScreenAppearance"},Nd={class:"text"},Vd=te({__name:"VPNavScreenAppearance",setup(e){const{site:n,theme:t}=Ie();return(a,r)=>c(n).appearance&&c(n).appearance!=="force-dark"&&c(n).appearance!=="force-auto"?(f(),g("div",Rd,[T("p",Nd,be(c(t).darkModeSwitchLabel||"Appearance"),1),re(Dr)])):W("",!0)}}),Ld=xe(Vd,[["__scopeId","data-v-b44890b2"]]),Bd=["innerHTML"],Wd=te({__name:"VPNavScreenMenuLink",props:{item:{}},setup(e){const n=bn("close-screen");return(t,a)=>(f(),de(Vt,{class:"VPNavScreenMenuLink",href:t.item.link,target:t.item.target,rel:t.item.rel,"no-icon":t.item.noIcon,onClick:c(n)},{default:C(()=>[T("span",{innerHTML:t.item.text},null,8,Bd)]),_:1},8,["href","target","rel","no-icon","onClick"]))}}),Yd=xe(Wd,[["__scopeId","data-v-df37e6dd"]]),jd=["innerHTML"],Fd=te({__name:"VPNavScreenMenuGroupLink",props:{item:{}},setup(e){const n=bn("close-screen");return(t,a)=>(f(),de(Vt,{class:"VPNavScreenMenuGroupLink",href:t.item.link,target:t.item.target,rel:t.item.rel,"no-icon":t.item.noIcon,onClick:c(n)},{default:C(()=>[T("span",{innerHTML:t.item.text},null,8,jd)]),_:1},8,["href","target","rel","no-icon","onClick"]))}}),pi=xe(Fd,[["__scopeId","data-v-3e9c20e4"]]),Hd={class:"VPNavScreenMenuGroupSection"},zd={key:0,class:"title"},Ud=te({__name:"VPNavScreenMenuGroupSection",props:{text:{},items:{}},setup(e){return(n,t)=>(f(),g("div",Hd,[n.text?(f(),g("p",zd,be(n.text),1)):W("",!0),(f(!0),g(ge,null,Se(n.items,a=>(f(),de(pi,{key:a.text,item:a},null,8,["item"]))),128))]))}}),Gd=xe(Ud,[["__scopeId","data-v-8133b170"]]),Kd=["aria-controls","aria-expanded"],Xd=["innerHTML"],qd=["id"],Qd={key:0,class:"item"},Zd={key:1,class:"item"},Jd={key:2,class:"group"},e_=te({__name:"VPNavScreenMenuGroup",props:{text:{},items:{}},setup(e){const n=e,t=Y(!1),a=B(()=>`NavScreenGroup-${n.text.replace(" ","-").toLowerCase()}`);function r(){t.value=!t.value}return(s,i)=>(f(),g("div",{class:ye(["VPNavScreenMenuGroup",{open:t.value}])},[T("button",{class:"button","aria-controls":a.value,"aria-expanded":t.value,onClick:r},[T("span",{class:"button-text",innerHTML:s.text},null,8,Xd),i[0]||(i[0]=T("span",{class:"vpi-plus button-icon"},null,-1))],8,Kd),T("div",{id:a.value,class:"items"},[(f(!0),g(ge,null,Se(s.items,o=>(f(),g(ge,{key:JSON.stringify(o)},["link"in o?(f(),g("div",Qd,[re(pi,{item:o},null,8,["item"])])):"component"in o?(f(),g("div",Zd,[(f(),de(bt(o.component),Ne({ref_for:!0},o.props,{"screen-menu":""}),null,16))])):(f(),g("div",Jd,[re(Gd,{text:o.text,items:o.items},null,8,["text","items"])]))],64))),128))],8,qd)],2))}}),t_=xe(e_,[["__scopeId","data-v-b9ab8c58"]]),a_={key:0,class:"VPNavScreenMenu"},n_=te({__name:"VPNavScreenMenu",setup(e){const{theme:n}=Ie();return(t,a)=>c(n).nav?(f(),g("nav",a_,[(f(!0),g(ge,null,Se(c(n).nav,r=>(f(),g(ge,{key:JSON.stringify(r)},["link"in r?(f(),de(Yd,{key:0,item:r},null,8,["item"])):"component"in r?(f(),de(bt(r.component),Ne({key:1,ref_for:!0},r.props,{"screen-menu":""}),null,16)):(f(),de(t_,{key:2,text:r.text||"",items:r.items},null,8,["text","items"]))],64))),128))])):W("",!0)}}),r_=te({__name:"VPNavScreenSocialLinks",setup(e){const{theme:n}=Ie();return(t,a)=>c(n).socialLinks?(f(),de(Pr,{key:0,class:"VPNavScreenSocialLinks",links:c(n).socialLinks},null,8,["links"])):W("",!0)}}),s_={class:"list"},i_=te({__name:"VPNavScreenTranslations",setup(e){const{localeLinks:n,currentLang:t}=Ha({correspondingLink:!0}),a=Y(!1);function r(){a.value=!a.value}return(s,i)=>c(n).length&&c(t).label?(f(),g("div",{key:0,class:ye(["VPNavScreenTranslations",{open:a.value}])},[T("button",{class:"title",onClick:r},[i[0]||(i[0]=T("span",{class:"vpi-languages icon lang"},null,-1)),Ye(" "+be(c(t).label)+" ",1),i[1]||(i[1]=T("span",{class:"vpi-chevron-down icon chevron"},null,-1))]),T("ul",s_,[(f(!0),g(ge,null,Se(c(n),o=>(f(),g("li",{key:o.link,class:"item"},[re(Vt,{class:"link",href:o.link},{default:C(()=>[Ye(be(o.text),1)]),_:2},1032,["href"])]))),128))])],2)):W("",!0)}}),o_=xe(i_,[["__scopeId","data-v-858fe1a4"]]),l_={class:"container"},u_=te({__name:"VPNavScreen",props:{open:{type:Boolean}},setup(e){const n=Y(null),t=si(gn?document.body:null);return(a,r)=>(f(),de(Ft,{name:"fade",onEnter:r[0]||(r[0]=s=>t.value=!0),onAfterLeave:r[1]||(r[1]=s=>t.value=!1)},{default:C(()=>[a.open?(f(),g("div",{key:0,class:"VPNavScreen",ref_key:"screen",ref:n,id:"VPNavScreen"},[T("div",l_,[I(a.$slots,"nav-screen-content-before",{},void 0,!0),re(n_,{class:"menu"}),re(o_,{class:"translations"}),re(Ld,{class:"appearance"}),re(r_,{class:"social-links"}),I(a.$slots,"nav-screen-content-after",{},void 0,!0)])],512)):W("",!0)]),_:3}))}}),c_=xe(u_,[["__scopeId","data-v-f2779853"]]),d_={key:0,class:"VPNav"},__=te({__name:"VPNav",setup(e){const{isScreenOpen:n,closeScreen:t,toggleScreen:a}=oc(),{frontmatter:r}=Ie(),s=B(()=>r.value.navbar!==!1);return ii("close-screen",t),hn(()=>{gn&&document.documentElement.classList.toggle("hide-nav",!s.value)}),(i,o)=>s.value?(f(),g("header",d_,[re(Cd,{"is-screen-open":c(n),onToggleScreen:c(a)},{"nav-bar-title-before":C(()=>[I(i.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":C(()=>[I(i.$slots,"nav-bar-title-after",{},void 0,!0)]),"nav-bar-content-before":C(()=>[I(i.$slots,"nav-bar-content-before",{},void 0,!0)]),"nav-bar-content-after":C(()=>[I(i.$slots,"nav-bar-content-after",{},void 0,!0)]),_:3},8,["is-screen-open","onToggleScreen"]),re(c_,{open:c(n)},{"nav-screen-content-before":C(()=>[I(i.$slots,"nav-screen-content-before",{},void 0,!0)]),"nav-screen-content-after":C(()=>[I(i.$slots,"nav-screen-content-after",{},void 0,!0)]),_:3},8,["open"])])):W("",!0)}}),p_=xe(__,[["__scopeId","data-v-ae24b3ad"]]),f_=["role","tabindex"],h_={key:1,class:"items"},m_=te({__name:"VPSidebarItem",props:{item:{},depth:{}},setup(e){const n=e,{collapsed:t,collapsible:a,isLink:r,isActiveLink:s,hasActiveLink:i,hasChildren:o,toggle:l}=dl(B(()=>n.item)),v=B(()=>o.value?"section":"div"),m=B(()=>r.value?"a":"div"),d=B(()=>o.value?n.depth+2===7?"p":`h${n.depth+2}`:"p"),p=B(()=>r.value?void 0:"button"),k=B(()=>[[`level-${n.depth}`],{collapsible:a.value},{collapsed:t.value},{"is-link":r.value},{"is-active":s.value},{"has-active":i.value}]);function P(b){"key"in b&&b.key!=="Enter"||!n.item.link&&l()}function R(){n.item.link&&l()}return(b,_)=>{const y=_a("VPSidebarItem",!0);return f(),de(bt(v.value),{class:ye(["VPSidebarItem",k.value])},{default:C(()=>[b.item.text?(f(),g("div",Ne({key:0,class:"item",role:p.value},No(b.item.items?{click:P,keydown:P}:{},!0),{tabindex:b.item.items&&0}),[_[1]||(_[1]=T("div",{class:"indicator"},null,-1)),b.item.link?(f(),de(Vt,{key:0,tag:m.value,class:"link",href:b.item.link,rel:b.item.rel,target:b.item.target},{default:C(()=>[(f(),de(bt(d.value),{class:"text",innerHTML:b.item.text},null,8,["innerHTML"]))]),_:1},8,["tag","href","rel","target"])):(f(),de(bt(d.value),{key:1,class:"text",innerHTML:b.item.text},null,8,["innerHTML"])),b.item.collapsed!=null&&b.item.items&&b.item.items.length?(f(),g("div",{key:2,class:"caret",role:"button","aria-label":"toggle section",onClick:R,onKeydown:oi(R,["enter"]),tabindex:"0"},_[0]||(_[0]=[T("span",{class:"vpi-chevron-right caret-icon"},null,-1)]),32)):W("",!0)],16,f_)):W("",!0),b.item.items&&b.item.items.length?(f(),g("div",h_,[b.depth<5?(f(!0),g(ge,{key:0},Se(b.item.items,A=>(f(),de(y,{key:A.text,item:A,depth:b.depth+1},null,8,["item","depth"]))),128)):W("",!0)])):W("",!0)]),_:1},8,["class"])}}}),v_=xe(m_,[["__scopeId","data-v-b7550ba0"]]),b_=te({__name:"VPSidebarGroup",props:{items:{}},setup(e){const n=Y(!0);let t=null;return Ue(()=>{t=setTimeout(()=>{t=null,n.value=!1},300)}),Vo(()=>{t!=null&&(clearTimeout(t),t=null)}),(a,r)=>(f(!0),g(ge,null,Se(a.items,s=>(f(),g("div",{key:s.text,class:ye(["group",{"no-transition":n.value}])},[re(v_,{item:s,depth:0},null,8,["item"])],2))),128))}}),g_=xe(b_,[["__scopeId","data-v-c40bc020"]]),y_={class:"nav",id:"VPSidebarNav","aria-labelledby":"sidebar-aria-label",tabindex:"-1"},k_=te({__name:"VPSidebar",props:{open:{type:Boolean}},setup(e){const{sidebarGroups:n,hasSidebar:t}=zt(),a=e,r=Y(null),s=si(gn?document.body:null);at([a,r],()=>{var o;a.open?(s.value=!0,(o=r.value)==null||o.focus()):s.value=!1},{immediate:!0,flush:"post"});const i=Y(0);return at(n,()=>{i.value+=1},{deep:!0}),(o,l)=>c(t)?(f(),g("aside",{key:0,class:ye(["VPSidebar",{open:o.open}]),ref_key:"navEl",ref:r,onClick:l[0]||(l[0]=ca(()=>{},["stop"]))},[l[2]||(l[2]=T("div",{class:"curtain"},null,-1)),T("nav",y_,[l[1]||(l[1]=T("span",{class:"visually-hidden",id:"sidebar-aria-label"}," Sidebar Navigation ",-1)),I(o.$slots,"sidebar-nav-before",{},void 0,!0),(f(),de(g_,{items:c(n),key:i.value},null,8,["items"])),I(o.$slots,"sidebar-nav-after",{},void 0,!0)])],2)):W("",!0)}}),w_=xe(k_,[["__scopeId","data-v-319d5ca6"]]),x_=te({__name:"VPSkipLink",setup(e){const n=vn(),t=Y();at(()=>n.path,()=>t.value.focus());function a({target:r}){const s=document.getElementById(decodeURIComponent(r.hash).slice(1));if(s){const i=()=>{s.removeAttribute("tabindex"),s.removeEventListener("blur",i)};s.setAttribute("tabindex","-1"),s.addEventListener("blur",i),s.focus(),window.scrollTo(0,0)}}return(r,s)=>(f(),g(ge,null,[T("span",{ref_key:"backToTop",ref:t,tabindex:"-1"},null,512),T("a",{href:"#VPContent",class:"VPSkipLink visually-hidden",onClick:a}," Skip to content ")],64))}}),D_=xe(x_,[["__scopeId","data-v-0f60ec36"]]),T_=te({__name:"Layout",setup(e){const{isOpen:n,open:t,close:a}=zt(),r=vn();at(()=>r.path,a),cl(n,a);const{frontmatter:s}=Ie(),i=ta(),o=B(()=>!!i["home-hero-image"]);return ii("hero-image-slot-exists",o),(l,v)=>{const m=_a("Content");return c(s).layout!==!1?(f(),g("div",{key:0,class:ye(["Layout",c(s).pageClass])},[I(l.$slots,"layout-top",{},void 0,!0),re(D_),re(Qo,{class:"backdrop",show:c(n),onClick:c(a)},null,8,["show","onClick"]),re(p_,null,{"nav-bar-title-before":C(()=>[I(l.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":C(()=>[I(l.$slots,"nav-bar-title-after",{},void 0,!0)]),"nav-bar-content-before":C(()=>[I(l.$slots,"nav-bar-content-before",{},void 0,!0)]),"nav-bar-content-after":C(()=>[I(l.$slots,"nav-bar-content-after",{},void 0,!0)]),"nav-screen-content-before":C(()=>[I(l.$slots,"nav-screen-content-before",{},void 0,!0)]),"nav-screen-content-after":C(()=>[I(l.$slots,"nav-screen-content-after",{},void 0,!0)]),_:3}),re(ic,{open:c(n),onOpenMenu:c(t)},null,8,["open","onOpenMenu"]),re(w_,{open:c(n)},{"sidebar-nav-before":C(()=>[I(l.$slots,"sidebar-nav-before",{},void 0,!0)]),"sidebar-nav-after":C(()=>[I(l.$slots,"sidebar-nav-after",{},void 0,!0)]),_:3},8,["open"]),re(Hu,null,{"page-top":C(()=>[I(l.$slots,"page-top",{},void 0,!0)]),"page-bottom":C(()=>[I(l.$slots,"page-bottom",{},void 0,!0)]),"not-found":C(()=>[I(l.$slots,"not-found",{},void 0,!0)]),"home-hero-before":C(()=>[I(l.$slots,"home-hero-before",{},void 0,!0)]),"home-hero-info-before":C(()=>[I(l.$slots,"home-hero-info-before",{},void 0,!0)]),"home-hero-info":C(()=>[I(l.$slots,"home-hero-info",{},void 0,!0)]),"home-hero-info-after":C(()=>[I(l.$slots,"home-hero-info-after",{},void 0,!0)]),"home-hero-actions-after":C(()=>[I(l.$slots,"home-hero-actions-after",{},void 0,!0)]),"home-hero-image":C(()=>[I(l.$slots,"home-hero-image",{},void 0,!0)]),"home-hero-after":C(()=>[I(l.$slots,"home-hero-after",{},void 0,!0)]),"home-features-before":C(()=>[I(l.$slots,"home-features-before",{},void 0,!0)]),"home-features-after":C(()=>[I(l.$slots,"home-features-after",{},void 0,!0)]),"doc-footer-before":C(()=>[I(l.$slots,"doc-footer-before",{},void 0,!0)]),"doc-before":C(()=>[I(l.$slots,"doc-before",{},void 0,!0)]),"doc-after":C(()=>[I(l.$slots,"doc-after",{},void 0,!0)]),"doc-top":C(()=>[I(l.$slots,"doc-top",{},void 0,!0)]),"doc-bottom":C(()=>[I(l.$slots,"doc-bottom",{},void 0,!0)]),"aside-top":C(()=>[I(l.$slots,"aside-top",{},void 0,!0)]),"aside-bottom":C(()=>[I(l.$slots,"aside-bottom",{},void 0,!0)]),"aside-outline-before":C(()=>[I(l.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":C(()=>[I(l.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":C(()=>[I(l.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":C(()=>[I(l.$slots,"aside-ads-after",{},void 0,!0)]),_:3}),re(Xu),I(l.$slots,"layout-bottom",{},void 0,!0)],2)):(f(),de(m,{key:1}))}}}),M_=xe(T_,[["__scopeId","data-v-5d98c3a5"]]),P_={Layout:M_,enhanceApp:({app:e})=>{e.component("Badge",Ko)}},$_={},S_={class:"star-and-sponsor"};function E_(e,n){return f(),g("div",S_,n[0]||(n[0]=[T("p",null,[Ye(" ⭐ If you like the component, give it a star on "),T("a",{class:"home-link",href:"https://github.com/Vuepic/vue-datepicker",target:"_blank"},"GitHub"),Ye(" and consider "),T("a",{class:"home-link",href:"https://github.com/sponsors/Vuepic",target:"_blank"},"sponsoring"),Ye(" its development! ⭐ ")],-1)]))}const O_=xe($_,[["render",E_]]),fi=6048e5,A_=864e5,I_=6e4,hi=36e5,C_=1e3,as=Symbol.for("constructDateFrom");function je(e,n){return typeof e=="function"?e(n):e&&typeof e=="object"&&as in e?e[as](n):e instanceof Date?new e.constructor(n):new Date(n)}function Pe(e,n){return je(n||e,e)}function rt(e,n,t){const a=Pe(e,t==null?void 0:t.in);return isNaN(n)?je((t==null?void 0:t.in)||e,NaN):(n&&a.setDate(a.getDate()+n),a)}function kt(e,n,t){const a=Pe(e,t==null?void 0:t.in);if(isNaN(n))return je(e,NaN);if(!n)return a;const r=a.getDate(),s=je(e,a.getTime());s.setMonth(a.getMonth()+n+1,0);const i=s.getDate();return r>=i?s:(a.setFullYear(s.getFullYear(),s.getMonth(),r),a)}function mi(e,n,t){const{years:a=0,months:r=0,weeks:s=0,days:i=0,hours:o=0,minutes:l=0,seconds:v=0}=n,m=Pe(e,t==null?void 0:t.in),d=r||a?kt(m,r+a*12):m,p=i||s?rt(d,i+s*7):d,k=l+o*60,R=(v+k*60)*1e3;return je(e,+p+R)}function R_(e,n,t){return je(e,+Pe(e)+n)}function N_(e,n,t){return R_(e,n*hi)}let V_={};function pa(){return V_}function Pt(e,n){var o,l,v,m;const t=pa(),a=(n==null?void 0:n.weekStartsOn)??((l=(o=n==null?void 0:n.locale)==null?void 0:o.options)==null?void 0:l.weekStartsOn)??t.weekStartsOn??((m=(v=t.locale)==null?void 0:v.options)==null?void 0:m.weekStartsOn)??0,r=Pe(e,n==null?void 0:n.in),s=r.getDay(),i=(s=s.getTime()?a+1:t.getTime()>=o.getTime()?a:a-1}function dn(e){const n=Pe(e),t=new Date(Date.UTC(n.getFullYear(),n.getMonth(),n.getDate(),n.getHours(),n.getMinutes(),n.getSeconds(),n.getMilliseconds()));return t.setUTCFullYear(n.getFullYear()),+e-+t}function za(e,...n){const t=je.bind(null,n.find(a=>typeof a=="object"));return n.map(t)}function ns(e,n){const t=Pe(e,n==null?void 0:n.in);return t.setHours(0,0,0,0),t}function bi(e,n,t){const[a,r]=za(t==null?void 0:t.in,e,n),s=ns(a),i=ns(r),o=+s-dn(s),l=+i-dn(i);return Math.round((o-l)/A_)}function L_(e,n){const t=vi(e,n),a=je(e,0);return a.setFullYear(t,0,4),a.setHours(0,0,0,0),wa(a)}function B_(e,n,t){return kt(e,n*3,t)}function $r(e,n,t){return kt(e,n*12,t)}function rs(e,n){const t=+Pe(e)-+Pe(n);return t<0?-1:t>0?1:t}function gi(e){return e instanceof Date||typeof e=="object"&&Object.prototype.toString.call(e)==="[object Date]"}function Va(e){return!(!gi(e)&&typeof e!="number"||isNaN(+Pe(e)))}function ss(e,n){const t=Pe(e,n==null?void 0:n.in);return Math.trunc(t.getMonth()/3)+1}function W_(e,n,t){const[a,r]=za(t==null?void 0:t.in,e,n);return a.getFullYear()-r.getFullYear()}function is(e,n){const t=Pe(e,n==null?void 0:n.in),a=t.getMonth();return t.setFullYear(t.getFullYear(),a+1,0),t.setHours(23,59,59,999),t}function Y_(e,n,t){const[a,r]=za(t==null?void 0:t.in,e,n),s=rs(a,r),i=Math.abs(W_(a,r));a.setFullYear(1584),r.setFullYear(1584);const o=rs(a,r)===-s,l=s*(i-+o);return l===0?0:l}function yi(e,n){const[t,a]=za(e,n.start,n.end);return{start:t,end:a}}function ki(e,n){const{start:t,end:a}=yi(n==null?void 0:n.in,e);let r=+t>+a;const s=r?+t:+a,i=r?a:t;i.setHours(0,0,0,0);let o=1;const l=[];for(;+i<=s;)l.push(je(t,i)),i.setDate(i.getDate()+o),i.setHours(0,0,0,0);return r?l.reverse():l}function qt(e,n){const t=Pe(e,n==null?void 0:n.in),a=t.getMonth(),r=a-a%3;return t.setMonth(r,1),t.setHours(0,0,0,0),t}function j_(e,n){const{start:t,end:a}=yi(n==null?void 0:n.in,e);let r=+t>+a;const s=r?+qt(t):+qt(a);let i=qt(r?a:t),o=1;const l=[];for(;+i<=s;)l.push(je(t,i)),i=B_(i,o);return r?l.reverse():l}function dr(e,n){const t=Pe(e,n==null?void 0:n.in);return t.setDate(1),t.setHours(0,0,0,0),t}function Sr(e,n){const t=Pe(e,n==null?void 0:n.in),a=t.getFullYear();return t.setFullYear(a+1,0,0),t.setHours(23,59,59,999),t}function xa(e,n){const t=Pe(e,n==null?void 0:n.in);return t.setFullYear(t.getFullYear(),0,1),t.setHours(0,0,0,0),t}function wi(e,n){var o,l,v,m;const t=pa(),a=(n==null?void 0:n.weekStartsOn)??((l=(o=n==null?void 0:n.locale)==null?void 0:o.options)==null?void 0:l.weekStartsOn)??t.weekStartsOn??((m=(v=t.locale)==null?void 0:v.options)==null?void 0:m.weekStartsOn)??0,r=Pe(e,n==null?void 0:n.in),s=r.getDay(),i=(s{let a;const r=F_[e];return typeof r=="string"?a=r:n===1?a=r.one:a=r.other.replace("{{count}}",n.toString()),t!=null&&t.addSuffix?t.comparison&&t.comparison>0?"in "+a:a+" ago":a};function ya(e){return(n={})=>{const t=n.width?String(n.width):e.defaultWidth;return e.formats[t]||e.formats[e.defaultWidth]}}const z_={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},U_={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},G_={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},K_={date:ya({formats:z_,defaultWidth:"full"}),time:ya({formats:U_,defaultWidth:"full"}),dateTime:ya({formats:G_,defaultWidth:"full"})},X_={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},q_=(e,n,t,a)=>X_[e];function At(e){return(n,t)=>{const a=t!=null&&t.context?String(t.context):"standalone";let r;if(a==="formatting"&&e.formattingValues){const i=e.defaultFormattingWidth||e.defaultWidth,o=t!=null&&t.width?String(t.width):i;r=e.formattingValues[o]||e.formattingValues[i]}else{const i=e.defaultWidth,o=t!=null&&t.width?String(t.width):e.defaultWidth;r=e.values[o]||e.values[i]}const s=e.argumentCallback?e.argumentCallback(n):n;return r[s]}}const Q_={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},Z_={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},J_={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},ep={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},tp={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},ap={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},np=(e,n)=>{const t=Number(e),a=t%100;if(a>20||a<10)switch(a%10){case 1:return t+"st";case 2:return t+"nd";case 3:return t+"rd"}return t+"th"},rp={ordinalNumber:np,era:At({values:Q_,defaultWidth:"wide"}),quarter:At({values:Z_,defaultWidth:"wide",argumentCallback:e=>e-1}),month:At({values:J_,defaultWidth:"wide"}),day:At({values:ep,defaultWidth:"wide"}),dayPeriod:At({values:tp,defaultWidth:"wide",formattingValues:ap,defaultFormattingWidth:"wide"})};function It(e){return(n,t={})=>{const a=t.width,r=a&&e.matchPatterns[a]||e.matchPatterns[e.defaultMatchWidth],s=n.match(r);if(!s)return null;const i=s[0],o=a&&e.parsePatterns[a]||e.parsePatterns[e.defaultParseWidth],l=Array.isArray(o)?ip(o,d=>d.test(i)):sp(o,d=>d.test(i));let v;v=e.valueCallback?e.valueCallback(l):l,v=t.valueCallback?t.valueCallback(v):v;const m=n.slice(i.length);return{value:v,rest:m}}}function sp(e,n){for(const t in e)if(Object.prototype.hasOwnProperty.call(e,t)&&n(e[t]))return t}function ip(e,n){for(let t=0;t{const a=n.match(e.matchPattern);if(!a)return null;const r=a[0],s=n.match(e.parsePattern);if(!s)return null;let i=e.valueCallback?e.valueCallback(s[0]):s[0];i=t.valueCallback?t.valueCallback(i):i;const o=n.slice(r.length);return{value:i,rest:o}}}const op=/^(\d+)(th|st|nd|rd)?/i,lp=/\d+/i,up={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},cp={any:[/^b/i,/^(a|c)/i]},dp={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},_p={any:[/1/i,/2/i,/3/i,/4/i]},pp={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},fp={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},hp={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},mp={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},vp={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},bp={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},gp={ordinalNumber:xi({matchPattern:op,parsePattern:lp,valueCallback:e=>parseInt(e,10)}),era:It({matchPatterns:up,defaultMatchWidth:"wide",parsePatterns:cp,defaultParseWidth:"any"}),quarter:It({matchPatterns:dp,defaultMatchWidth:"wide",parsePatterns:_p,defaultParseWidth:"any",valueCallback:e=>e+1}),month:It({matchPatterns:pp,defaultMatchWidth:"wide",parsePatterns:fp,defaultParseWidth:"any"}),day:It({matchPatterns:hp,defaultMatchWidth:"wide",parsePatterns:mp,defaultParseWidth:"any"}),dayPeriod:It({matchPatterns:vp,defaultMatchWidth:"any",parsePatterns:bp,defaultParseWidth:"any"})},Di={code:"en-US",formatDistance:H_,formatLong:K_,formatRelative:q_,localize:rp,match:gp,options:{weekStartsOn:0,firstWeekContainsDate:1}};function yp(e,n){const t=Pe(e,n==null?void 0:n.in);return bi(t,xa(t))+1}function Er(e,n){const t=Pe(e,n==null?void 0:n.in),a=+wa(t)-+L_(t);return Math.round(a/fi)+1}function Or(e,n){var m,d,p,k;const t=Pe(e,n==null?void 0:n.in),a=t.getFullYear(),r=pa(),s=(n==null?void 0:n.firstWeekContainsDate)??((d=(m=n==null?void 0:n.locale)==null?void 0:m.options)==null?void 0:d.firstWeekContainsDate)??r.firstWeekContainsDate??((k=(p=r.locale)==null?void 0:p.options)==null?void 0:k.firstWeekContainsDate)??1,i=je((n==null?void 0:n.in)||e,0);i.setFullYear(a+1,0,s),i.setHours(0,0,0,0);const o=Pt(i,n),l=je((n==null?void 0:n.in)||e,0);l.setFullYear(a,0,s),l.setHours(0,0,0,0);const v=Pt(l,n);return+t>=+o?a+1:+t>=+v?a:a-1}function kp(e,n){var o,l,v,m;const t=pa(),a=(n==null?void 0:n.firstWeekContainsDate)??((l=(o=n==null?void 0:n.locale)==null?void 0:o.options)==null?void 0:l.firstWeekContainsDate)??t.firstWeekContainsDate??((m=(v=t.locale)==null?void 0:v.options)==null?void 0:m.firstWeekContainsDate)??1,r=Or(e,n),s=je((n==null?void 0:n.in)||e,0);return s.setFullYear(r,0,a),s.setHours(0,0,0,0),Pt(s,n)}function Ar(e,n){const t=Pe(e,n==null?void 0:n.in),a=+Pt(t,n)-+kp(t,n);return Math.round(a/fi)+1}function We(e,n){const t=e<0?"-":"",a=Math.abs(e).toString().padStart(n,"0");return t+a}const Gt={y(e,n){const t=e.getFullYear(),a=t>0?t:1-t;return We(n==="yy"?a%100:a,n.length)},M(e,n){const t=e.getMonth();return n==="M"?String(t+1):We(t+1,2)},d(e,n){return We(e.getDate(),n.length)},a(e,n){const t=e.getHours()/12>=1?"pm":"am";switch(n){case"a":case"aa":return t.toUpperCase();case"aaa":return t;case"aaaaa":return t[0];case"aaaa":default:return t==="am"?"a.m.":"p.m."}},h(e,n){return We(e.getHours()%12||12,n.length)},H(e,n){return We(e.getHours(),n.length)},m(e,n){return We(e.getMinutes(),n.length)},s(e,n){return We(e.getSeconds(),n.length)},S(e,n){const t=n.length,a=e.getMilliseconds(),r=Math.trunc(a*Math.pow(10,t-3));return We(r,n.length)}},ha={am:"am",pm:"pm",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},ls={G:function(e,n,t){const a=e.getFullYear()>0?1:0;switch(n){case"G":case"GG":case"GGG":return t.era(a,{width:"abbreviated"});case"GGGGG":return t.era(a,{width:"narrow"});case"GGGG":default:return t.era(a,{width:"wide"})}},y:function(e,n,t){if(n==="yo"){const a=e.getFullYear(),r=a>0?a:1-a;return t.ordinalNumber(r,{unit:"year"})}return Gt.y(e,n)},Y:function(e,n,t,a){const r=Or(e,a),s=r>0?r:1-r;if(n==="YY"){const i=s%100;return We(i,2)}return n==="Yo"?t.ordinalNumber(s,{unit:"year"}):We(s,n.length)},R:function(e,n){const t=vi(e);return We(t,n.length)},u:function(e,n){const t=e.getFullYear();return We(t,n.length)},Q:function(e,n,t){const a=Math.ceil((e.getMonth()+1)/3);switch(n){case"Q":return String(a);case"QQ":return We(a,2);case"Qo":return t.ordinalNumber(a,{unit:"quarter"});case"QQQ":return t.quarter(a,{width:"abbreviated",context:"formatting"});case"QQQQQ":return t.quarter(a,{width:"narrow",context:"formatting"});case"QQQQ":default:return t.quarter(a,{width:"wide",context:"formatting"})}},q:function(e,n,t){const a=Math.ceil((e.getMonth()+1)/3);switch(n){case"q":return String(a);case"qq":return We(a,2);case"qo":return t.ordinalNumber(a,{unit:"quarter"});case"qqq":return t.quarter(a,{width:"abbreviated",context:"standalone"});case"qqqqq":return t.quarter(a,{width:"narrow",context:"standalone"});case"qqqq":default:return t.quarter(a,{width:"wide",context:"standalone"})}},M:function(e,n,t){const a=e.getMonth();switch(n){case"M":case"MM":return Gt.M(e,n);case"Mo":return t.ordinalNumber(a+1,{unit:"month"});case"MMM":return t.month(a,{width:"abbreviated",context:"formatting"});case"MMMMM":return t.month(a,{width:"narrow",context:"formatting"});case"MMMM":default:return t.month(a,{width:"wide",context:"formatting"})}},L:function(e,n,t){const a=e.getMonth();switch(n){case"L":return String(a+1);case"LL":return We(a+1,2);case"Lo":return t.ordinalNumber(a+1,{unit:"month"});case"LLL":return t.month(a,{width:"abbreviated",context:"standalone"});case"LLLLL":return t.month(a,{width:"narrow",context:"standalone"});case"LLLL":default:return t.month(a,{width:"wide",context:"standalone"})}},w:function(e,n,t,a){const r=Ar(e,a);return n==="wo"?t.ordinalNumber(r,{unit:"week"}):We(r,n.length)},I:function(e,n,t){const a=Er(e);return n==="Io"?t.ordinalNumber(a,{unit:"week"}):We(a,n.length)},d:function(e,n,t){return n==="do"?t.ordinalNumber(e.getDate(),{unit:"date"}):Gt.d(e,n)},D:function(e,n,t){const a=yp(e);return n==="Do"?t.ordinalNumber(a,{unit:"dayOfYear"}):We(a,n.length)},E:function(e,n,t){const a=e.getDay();switch(n){case"E":case"EE":case"EEE":return t.day(a,{width:"abbreviated",context:"formatting"});case"EEEEE":return t.day(a,{width:"narrow",context:"formatting"});case"EEEEEE":return t.day(a,{width:"short",context:"formatting"});case"EEEE":default:return t.day(a,{width:"wide",context:"formatting"})}},e:function(e,n,t,a){const r=e.getDay(),s=(r-a.weekStartsOn+8)%7||7;switch(n){case"e":return String(s);case"ee":return We(s,2);case"eo":return t.ordinalNumber(s,{unit:"day"});case"eee":return t.day(r,{width:"abbreviated",context:"formatting"});case"eeeee":return t.day(r,{width:"narrow",context:"formatting"});case"eeeeee":return t.day(r,{width:"short",context:"formatting"});case"eeee":default:return t.day(r,{width:"wide",context:"formatting"})}},c:function(e,n,t,a){const r=e.getDay(),s=(r-a.weekStartsOn+8)%7||7;switch(n){case"c":return String(s);case"cc":return We(s,n.length);case"co":return t.ordinalNumber(s,{unit:"day"});case"ccc":return t.day(r,{width:"abbreviated",context:"standalone"});case"ccccc":return t.day(r,{width:"narrow",context:"standalone"});case"cccccc":return t.day(r,{width:"short",context:"standalone"});case"cccc":default:return t.day(r,{width:"wide",context:"standalone"})}},i:function(e,n,t){const a=e.getDay(),r=a===0?7:a;switch(n){case"i":return String(r);case"ii":return We(r,n.length);case"io":return t.ordinalNumber(r,{unit:"day"});case"iii":return t.day(a,{width:"abbreviated",context:"formatting"});case"iiiii":return t.day(a,{width:"narrow",context:"formatting"});case"iiiiii":return t.day(a,{width:"short",context:"formatting"});case"iiii":default:return t.day(a,{width:"wide",context:"formatting"})}},a:function(e,n,t){const r=e.getHours()/12>=1?"pm":"am";switch(n){case"a":case"aa":return t.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"aaa":return t.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return t.dayPeriod(r,{width:"narrow",context:"formatting"});case"aaaa":default:return t.dayPeriod(r,{width:"wide",context:"formatting"})}},b:function(e,n,t){const a=e.getHours();let r;switch(a===12?r=ha.noon:a===0?r=ha.midnight:r=a/12>=1?"pm":"am",n){case"b":case"bb":return t.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"bbb":return t.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return t.dayPeriod(r,{width:"narrow",context:"formatting"});case"bbbb":default:return t.dayPeriod(r,{width:"wide",context:"formatting"})}},B:function(e,n,t){const a=e.getHours();let r;switch(a>=17?r=ha.evening:a>=12?r=ha.afternoon:a>=4?r=ha.morning:r=ha.night,n){case"B":case"BB":case"BBB":return t.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"BBBBB":return t.dayPeriod(r,{width:"narrow",context:"formatting"});case"BBBB":default:return t.dayPeriod(r,{width:"wide",context:"formatting"})}},h:function(e,n,t){if(n==="ho"){let a=e.getHours()%12;return a===0&&(a=12),t.ordinalNumber(a,{unit:"hour"})}return Gt.h(e,n)},H:function(e,n,t){return n==="Ho"?t.ordinalNumber(e.getHours(),{unit:"hour"}):Gt.H(e,n)},K:function(e,n,t){const a=e.getHours()%12;return n==="Ko"?t.ordinalNumber(a,{unit:"hour"}):We(a,n.length)},k:function(e,n,t){let a=e.getHours();return a===0&&(a=24),n==="ko"?t.ordinalNumber(a,{unit:"hour"}):We(a,n.length)},m:function(e,n,t){return n==="mo"?t.ordinalNumber(e.getMinutes(),{unit:"minute"}):Gt.m(e,n)},s:function(e,n,t){return n==="so"?t.ordinalNumber(e.getSeconds(),{unit:"second"}):Gt.s(e,n)},S:function(e,n){return Gt.S(e,n)},X:function(e,n,t){const a=e.getTimezoneOffset();if(a===0)return"Z";switch(n){case"X":return cs(a);case"XXXX":case"XX":return ra(a);case"XXXXX":case"XXX":default:return ra(a,":")}},x:function(e,n,t){const a=e.getTimezoneOffset();switch(n){case"x":return cs(a);case"xxxx":case"xx":return ra(a);case"xxxxx":case"xxx":default:return ra(a,":")}},O:function(e,n,t){const a=e.getTimezoneOffset();switch(n){case"O":case"OO":case"OOO":return"GMT"+us(a,":");case"OOOO":default:return"GMT"+ra(a,":")}},z:function(e,n,t){const a=e.getTimezoneOffset();switch(n){case"z":case"zz":case"zzz":return"GMT"+us(a,":");case"zzzz":default:return"GMT"+ra(a,":")}},t:function(e,n,t){const a=Math.trunc(+e/1e3);return We(a,n.length)},T:function(e,n,t){return We(+e,n.length)}};function us(e,n=""){const t=e>0?"-":"+",a=Math.abs(e),r=Math.trunc(a/60),s=a%60;return s===0?t+String(r):t+String(r)+n+We(s,2)}function cs(e,n){return e%60===0?(e>0?"-":"+")+We(Math.abs(e)/60,2):ra(e,n)}function ra(e,n=""){const t=e>0?"-":"+",a=Math.abs(e),r=We(Math.trunc(a/60),2),s=We(a%60,2);return t+r+n+s}const ds=(e,n)=>{switch(e){case"P":return n.date({width:"short"});case"PP":return n.date({width:"medium"});case"PPP":return n.date({width:"long"});case"PPPP":default:return n.date({width:"full"})}},Ti=(e,n)=>{switch(e){case"p":return n.time({width:"short"});case"pp":return n.time({width:"medium"});case"ppp":return n.time({width:"long"});case"pppp":default:return n.time({width:"full"})}},wp=(e,n)=>{const t=e.match(/(P+)(p+)?/)||[],a=t[1],r=t[2];if(!r)return ds(e,n);let s;switch(a){case"P":s=n.dateTime({width:"short"});break;case"PP":s=n.dateTime({width:"medium"});break;case"PPP":s=n.dateTime({width:"long"});break;case"PPPP":default:s=n.dateTime({width:"full"});break}return s.replace("{{date}}",ds(a,n)).replace("{{time}}",Ti(r,n))},_r={p:Ti,P:wp},xp=/^D+$/,Dp=/^Y+$/,Tp=["D","DD","YY","YYYY"];function Mi(e){return xp.test(e)}function Pi(e){return Dp.test(e)}function pr(e,n,t){const a=Mp(e,n,t);if(console.warn(a),Tp.includes(e))throw new RangeError(a)}function Mp(e,n,t){const a=e[0]==="Y"?"years":"days of the month";return`Use \`${e.toLowerCase()}\` instead of \`${e}\` (in \`${n}\`) for formatting ${a} to the input \`${t}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}const Pp=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,$p=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Sp=/^'([^]*?)'?$/,Ep=/''/g,Op=/[a-zA-Z]/;function wt(e,n,t){var m,d,p,k,P,R,b,_;const a=pa(),r=(t==null?void 0:t.locale)??a.locale??Di,s=(t==null?void 0:t.firstWeekContainsDate)??((d=(m=t==null?void 0:t.locale)==null?void 0:m.options)==null?void 0:d.firstWeekContainsDate)??a.firstWeekContainsDate??((k=(p=a.locale)==null?void 0:p.options)==null?void 0:k.firstWeekContainsDate)??1,i=(t==null?void 0:t.weekStartsOn)??((R=(P=t==null?void 0:t.locale)==null?void 0:P.options)==null?void 0:R.weekStartsOn)??a.weekStartsOn??((_=(b=a.locale)==null?void 0:b.options)==null?void 0:_.weekStartsOn)??0,o=Pe(e,t==null?void 0:t.in);if(!Va(o))throw new RangeError("Invalid time value");let l=n.match($p).map(y=>{const A=y[0];if(A==="p"||A==="P"){const S=_r[A];return S(y,r.formatLong)}return y}).join("").match(Pp).map(y=>{if(y==="''")return{isToken:!1,value:"'"};const A=y[0];if(A==="'")return{isToken:!1,value:Ap(y)};if(ls[A])return{isToken:!0,value:y};if(A.match(Op))throw new RangeError("Format string contains an unescaped latin alphabet character `"+A+"`");return{isToken:!1,value:y}});r.localize.preprocessor&&(l=r.localize.preprocessor(o,l));const v={firstWeekContainsDate:s,weekStartsOn:i,locale:r};return l.map(y=>{if(!y.isToken)return y.value;const A=y.value;(!(t!=null&&t.useAdditionalWeekYearTokens)&&Pi(A)||!(t!=null&&t.useAdditionalDayOfYearTokens)&&Mi(A))&&pr(A,n,String(e));const S=ls[A[0]];return S(o,A,r.localize,v)}).join("")}function Ap(e){const n=e.match(Sp);return n?n[1].replace(Ep,"'"):e}function Ip(e,n){return Pe(e,n==null?void 0:n.in).getDay()}function Cp(e,n){const t=Pe(e,n==null?void 0:n.in),a=t.getFullYear(),r=t.getMonth(),s=je(t,0);return s.setFullYear(a,r+1,0),s.setHours(0,0,0,0),s.getDate()}function Rp(){return Object.assign({},pa())}function Yt(e,n){return Pe(e,n==null?void 0:n.in).getHours()}function Np(e,n){const t=Pe(e,n==null?void 0:n.in).getDay();return t===0?7:t}function ea(e,n){return Pe(e,n==null?void 0:n.in).getMinutes()}function Ee(e,n){return Pe(e,n==null?void 0:n.in).getMonth()}function Da(e){return Pe(e).getSeconds()}function $e(e,n){return Pe(e,n==null?void 0:n.in).getFullYear()}function da(e,n){return+Pe(e)>+Pe(n)}function Ta(e,n){return+Pe(e)<+Pe(n)}function ia(e,n){return+Pe(e)==+Pe(n)}function Vp(e,n){const t=Lp(n)?new n(0):je(n,0);return t.setFullYear(e.getFullYear(),e.getMonth(),e.getDate()),t.setHours(e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()),t}function Lp(e){var n;return typeof e=="function"&&((n=e.prototype)==null?void 0:n.constructor)===e}const Bp=10;class $i{constructor(){ke(this,"subPriority",0)}validate(n,t){return!0}}class Wp extends $i{constructor(n,t,a,r,s){super(),this.value=n,this.validateValue=t,this.setValue=a,this.priority=r,s&&(this.subPriority=s)}validate(n,t){return this.validateValue(n,this.value,t)}set(n,t,a){return this.setValue(n,t,this.value,a)}}class Yp extends $i{constructor(t,a){super();ke(this,"priority",Bp);ke(this,"subPriority",-1);this.context=t||(r=>je(a,r))}set(t,a){return a.timestampIsSet?t:je(t,Vp(t,this.context))}}class Be{run(n,t,a,r){const s=this.parse(n,t,a,r);return s?{setter:new Wp(s.value,this.validate,this.set,this.priority,this.subPriority),rest:s.rest}:null}validate(n,t,a){return!0}}class jp extends Be{constructor(){super(...arguments);ke(this,"priority",140);ke(this,"incompatibleTokens",["R","u","t","T"])}parse(t,a,r){switch(a){case"G":case"GG":case"GGG":return r.era(t,{width:"abbreviated"})||r.era(t,{width:"narrow"});case"GGGGG":return r.era(t,{width:"narrow"});case"GGGG":default:return r.era(t,{width:"wide"})||r.era(t,{width:"abbreviated"})||r.era(t,{width:"narrow"})}}set(t,a,r){return a.era=r,t.setFullYear(r,0,1),t.setHours(0,0,0,0),t}}const et={month:/^(1[0-2]|0?\d)/,date:/^(3[0-1]|[0-2]?\d)/,dayOfYear:/^(36[0-6]|3[0-5]\d|[0-2]?\d?\d)/,week:/^(5[0-3]|[0-4]?\d)/,hour23h:/^(2[0-3]|[0-1]?\d)/,hour24h:/^(2[0-4]|[0-1]?\d)/,hour11h:/^(1[0-1]|0?\d)/,hour12h:/^(1[0-2]|0?\d)/,minute:/^[0-5]?\d/,second:/^[0-5]?\d/,singleDigit:/^\d/,twoDigits:/^\d{1,2}/,threeDigits:/^\d{1,3}/,fourDigits:/^\d{1,4}/,anyDigitsSigned:/^-?\d+/,singleDigitSigned:/^-?\d/,twoDigitsSigned:/^-?\d{1,2}/,threeDigitsSigned:/^-?\d{1,3}/,fourDigitsSigned:/^-?\d{1,4}/},Ct={basicOptionalMinutes:/^([+-])(\d{2})(\d{2})?|Z/,basic:/^([+-])(\d{2})(\d{2})|Z/,basicOptionalSeconds:/^([+-])(\d{2})(\d{2})((\d{2}))?|Z/,extended:/^([+-])(\d{2}):(\d{2})|Z/,extendedOptionalSeconds:/^([+-])(\d{2}):(\d{2})(:(\d{2}))?|Z/};function tt(e,n){return e&&{value:n(e.value),rest:e.rest}}function Xe(e,n){const t=n.match(e);return t?{value:parseInt(t[0],10),rest:n.slice(t[0].length)}:null}function Rt(e,n){const t=n.match(e);if(!t)return null;if(t[0]==="Z")return{value:0,rest:n.slice(1)};const a=t[1]==="+"?1:-1,r=t[2]?parseInt(t[2],10):0,s=t[3]?parseInt(t[3],10):0,i=t[5]?parseInt(t[5],10):0;return{value:a*(r*hi+s*I_+i*C_),rest:n.slice(t[0].length)}}function Si(e){return Xe(et.anyDigitsSigned,e)}function Qe(e,n){switch(e){case 1:return Xe(et.singleDigit,n);case 2:return Xe(et.twoDigits,n);case 3:return Xe(et.threeDigits,n);case 4:return Xe(et.fourDigits,n);default:return Xe(new RegExp("^\\d{1,"+e+"}"),n)}}function _n(e,n){switch(e){case 1:return Xe(et.singleDigitSigned,n);case 2:return Xe(et.twoDigitsSigned,n);case 3:return Xe(et.threeDigitsSigned,n);case 4:return Xe(et.fourDigitsSigned,n);default:return Xe(new RegExp("^-?\\d{1,"+e+"}"),n)}}function Ir(e){switch(e){case"morning":return 4;case"evening":return 17;case"pm":case"noon":case"afternoon":return 12;case"am":case"midnight":case"night":default:return 0}}function Ei(e,n){const t=n>0,a=t?n:1-n;let r;if(a<=50)r=e||100;else{const s=a+50,i=Math.trunc(s/100)*100,o=e>=s%100;r=e+i-(o?100:0)}return t?r:1-r}function Oi(e){return e%400===0||e%4===0&&e%100!==0}class Fp extends Be{constructor(){super(...arguments);ke(this,"priority",130);ke(this,"incompatibleTokens",["Y","R","u","w","I","i","e","c","t","T"])}parse(t,a,r){const s=i=>({year:i,isTwoDigitYear:a==="yy"});switch(a){case"y":return tt(Qe(4,t),s);case"yo":return tt(r.ordinalNumber(t,{unit:"year"}),s);default:return tt(Qe(a.length,t),s)}}validate(t,a){return a.isTwoDigitYear||a.year>0}set(t,a,r){const s=t.getFullYear();if(r.isTwoDigitYear){const o=Ei(r.year,s);return t.setFullYear(o,0,1),t.setHours(0,0,0,0),t}const i=!("era"in a)||a.era===1?r.year:1-r.year;return t.setFullYear(i,0,1),t.setHours(0,0,0,0),t}}class Hp extends Be{constructor(){super(...arguments);ke(this,"priority",130);ke(this,"incompatibleTokens",["y","R","u","Q","q","M","L","I","d","D","i","t","T"])}parse(t,a,r){const s=i=>({year:i,isTwoDigitYear:a==="YY"});switch(a){case"Y":return tt(Qe(4,t),s);case"Yo":return tt(r.ordinalNumber(t,{unit:"year"}),s);default:return tt(Qe(a.length,t),s)}}validate(t,a){return a.isTwoDigitYear||a.year>0}set(t,a,r,s){const i=Or(t,s);if(r.isTwoDigitYear){const l=Ei(r.year,i);return t.setFullYear(l,0,s.firstWeekContainsDate),t.setHours(0,0,0,0),Pt(t,s)}const o=!("era"in a)||a.era===1?r.year:1-r.year;return t.setFullYear(o,0,s.firstWeekContainsDate),t.setHours(0,0,0,0),Pt(t,s)}}class zp extends Be{constructor(){super(...arguments);ke(this,"priority",130);ke(this,"incompatibleTokens",["G","y","Y","u","Q","q","M","L","w","d","D","e","c","t","T"])}parse(t,a){return _n(a==="R"?4:a.length,t)}set(t,a,r){const s=je(t,0);return s.setFullYear(r,0,4),s.setHours(0,0,0,0),wa(s)}}class Up extends Be{constructor(){super(...arguments);ke(this,"priority",130);ke(this,"incompatibleTokens",["G","y","Y","R","w","I","i","e","c","t","T"])}parse(t,a){return _n(a==="u"?4:a.length,t)}set(t,a,r){return t.setFullYear(r,0,1),t.setHours(0,0,0,0),t}}class Gp extends Be{constructor(){super(...arguments);ke(this,"priority",120);ke(this,"incompatibleTokens",["Y","R","q","M","L","w","I","d","D","i","e","c","t","T"])}parse(t,a,r){switch(a){case"Q":case"QQ":return Qe(a.length,t);case"Qo":return r.ordinalNumber(t,{unit:"quarter"});case"QQQ":return r.quarter(t,{width:"abbreviated",context:"formatting"})||r.quarter(t,{width:"narrow",context:"formatting"});case"QQQQQ":return r.quarter(t,{width:"narrow",context:"formatting"});case"QQQQ":default:return r.quarter(t,{width:"wide",context:"formatting"})||r.quarter(t,{width:"abbreviated",context:"formatting"})||r.quarter(t,{width:"narrow",context:"formatting"})}}validate(t,a){return a>=1&&a<=4}set(t,a,r){return t.setMonth((r-1)*3,1),t.setHours(0,0,0,0),t}}class Kp extends Be{constructor(){super(...arguments);ke(this,"priority",120);ke(this,"incompatibleTokens",["Y","R","Q","M","L","w","I","d","D","i","e","c","t","T"])}parse(t,a,r){switch(a){case"q":case"qq":return Qe(a.length,t);case"qo":return r.ordinalNumber(t,{unit:"quarter"});case"qqq":return r.quarter(t,{width:"abbreviated",context:"standalone"})||r.quarter(t,{width:"narrow",context:"standalone"});case"qqqqq":return r.quarter(t,{width:"narrow",context:"standalone"});case"qqqq":default:return r.quarter(t,{width:"wide",context:"standalone"})||r.quarter(t,{width:"abbreviated",context:"standalone"})||r.quarter(t,{width:"narrow",context:"standalone"})}}validate(t,a){return a>=1&&a<=4}set(t,a,r){return t.setMonth((r-1)*3,1),t.setHours(0,0,0,0),t}}class Xp extends Be{constructor(){super(...arguments);ke(this,"incompatibleTokens",["Y","R","q","Q","L","w","I","D","i","e","c","t","T"]);ke(this,"priority",110)}parse(t,a,r){const s=i=>i-1;switch(a){case"M":return tt(Xe(et.month,t),s);case"MM":return tt(Qe(2,t),s);case"Mo":return tt(r.ordinalNumber(t,{unit:"month"}),s);case"MMM":return r.month(t,{width:"abbreviated",context:"formatting"})||r.month(t,{width:"narrow",context:"formatting"});case"MMMMM":return r.month(t,{width:"narrow",context:"formatting"});case"MMMM":default:return r.month(t,{width:"wide",context:"formatting"})||r.month(t,{width:"abbreviated",context:"formatting"})||r.month(t,{width:"narrow",context:"formatting"})}}validate(t,a){return a>=0&&a<=11}set(t,a,r){return t.setMonth(r,1),t.setHours(0,0,0,0),t}}class qp extends Be{constructor(){super(...arguments);ke(this,"priority",110);ke(this,"incompatibleTokens",["Y","R","q","Q","M","w","I","D","i","e","c","t","T"])}parse(t,a,r){const s=i=>i-1;switch(a){case"L":return tt(Xe(et.month,t),s);case"LL":return tt(Qe(2,t),s);case"Lo":return tt(r.ordinalNumber(t,{unit:"month"}),s);case"LLL":return r.month(t,{width:"abbreviated",context:"standalone"})||r.month(t,{width:"narrow",context:"standalone"});case"LLLLL":return r.month(t,{width:"narrow",context:"standalone"});case"LLLL":default:return r.month(t,{width:"wide",context:"standalone"})||r.month(t,{width:"abbreviated",context:"standalone"})||r.month(t,{width:"narrow",context:"standalone"})}}validate(t,a){return a>=0&&a<=11}set(t,a,r){return t.setMonth(r,1),t.setHours(0,0,0,0),t}}function Qp(e,n,t){const a=Pe(e,t==null?void 0:t.in),r=Ar(a,t)-n;return a.setDate(a.getDate()-r*7),Pe(a,t==null?void 0:t.in)}class Zp extends Be{constructor(){super(...arguments);ke(this,"priority",100);ke(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","i","t","T"])}parse(t,a,r){switch(a){case"w":return Xe(et.week,t);case"wo":return r.ordinalNumber(t,{unit:"week"});default:return Qe(a.length,t)}}validate(t,a){return a>=1&&a<=53}set(t,a,r,s){return Pt(Qp(t,r,s),s)}}function Jp(e,n,t){const a=Pe(e,t==null?void 0:t.in),r=Er(a,t)-n;return a.setDate(a.getDate()-r*7),a}class ef extends Be{constructor(){super(...arguments);ke(this,"priority",100);ke(this,"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","e","c","t","T"])}parse(t,a,r){switch(a){case"I":return Xe(et.week,t);case"Io":return r.ordinalNumber(t,{unit:"week"});default:return Qe(a.length,t)}}validate(t,a){return a>=1&&a<=53}set(t,a,r){return wa(Jp(t,r))}}const tf=[31,28,31,30,31,30,31,31,30,31,30,31],af=[31,29,31,30,31,30,31,31,30,31,30,31];class nf extends Be{constructor(){super(...arguments);ke(this,"priority",90);ke(this,"subPriority",1);ke(this,"incompatibleTokens",["Y","R","q","Q","w","I","D","i","e","c","t","T"])}parse(t,a,r){switch(a){case"d":return Xe(et.date,t);case"do":return r.ordinalNumber(t,{unit:"date"});default:return Qe(a.length,t)}}validate(t,a){const r=t.getFullYear(),s=Oi(r),i=t.getMonth();return s?a>=1&&a<=af[i]:a>=1&&a<=tf[i]}set(t,a,r){return t.setDate(r),t.setHours(0,0,0,0),t}}class rf extends Be{constructor(){super(...arguments);ke(this,"priority",90);ke(this,"subpriority",1);ke(this,"incompatibleTokens",["Y","R","q","Q","M","L","w","I","d","E","i","e","c","t","T"])}parse(t,a,r){switch(a){case"D":case"DD":return Xe(et.dayOfYear,t);case"Do":return r.ordinalNumber(t,{unit:"date"});default:return Qe(a.length,t)}}validate(t,a){const r=t.getFullYear();return Oi(r)?a>=1&&a<=366:a>=1&&a<=365}set(t,a,r){return t.setMonth(0,r),t.setHours(0,0,0,0),t}}function Cr(e,n,t){var d,p,k,P;const a=pa(),r=(t==null?void 0:t.weekStartsOn)??((p=(d=t==null?void 0:t.locale)==null?void 0:d.options)==null?void 0:p.weekStartsOn)??a.weekStartsOn??((P=(k=a.locale)==null?void 0:k.options)==null?void 0:P.weekStartsOn)??0,s=Pe(e,t==null?void 0:t.in),i=s.getDay(),l=(n%7+7)%7,v=7-r,m=n<0||n>6?n-(i+v)%7:(l+v)%7-(i+v)%7;return rt(s,m,t)}class sf extends Be{constructor(){super(...arguments);ke(this,"priority",90);ke(this,"incompatibleTokens",["D","i","e","c","t","T"])}parse(t,a,r){switch(a){case"E":case"EE":case"EEE":return r.day(t,{width:"abbreviated",context:"formatting"})||r.day(t,{width:"short",context:"formatting"})||r.day(t,{width:"narrow",context:"formatting"});case"EEEEE":return r.day(t,{width:"narrow",context:"formatting"});case"EEEEEE":return r.day(t,{width:"short",context:"formatting"})||r.day(t,{width:"narrow",context:"formatting"});case"EEEE":default:return r.day(t,{width:"wide",context:"formatting"})||r.day(t,{width:"abbreviated",context:"formatting"})||r.day(t,{width:"short",context:"formatting"})||r.day(t,{width:"narrow",context:"formatting"})}}validate(t,a){return a>=0&&a<=6}set(t,a,r,s){return t=Cr(t,r,s),t.setHours(0,0,0,0),t}}class of extends Be{constructor(){super(...arguments);ke(this,"priority",90);ke(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","c","t","T"])}parse(t,a,r,s){const i=o=>{const l=Math.floor((o-1)/7)*7;return(o+s.weekStartsOn+6)%7+l};switch(a){case"e":case"ee":return tt(Qe(a.length,t),i);case"eo":return tt(r.ordinalNumber(t,{unit:"day"}),i);case"eee":return r.day(t,{width:"abbreviated",context:"formatting"})||r.day(t,{width:"short",context:"formatting"})||r.day(t,{width:"narrow",context:"formatting"});case"eeeee":return r.day(t,{width:"narrow",context:"formatting"});case"eeeeee":return r.day(t,{width:"short",context:"formatting"})||r.day(t,{width:"narrow",context:"formatting"});case"eeee":default:return r.day(t,{width:"wide",context:"formatting"})||r.day(t,{width:"abbreviated",context:"formatting"})||r.day(t,{width:"short",context:"formatting"})||r.day(t,{width:"narrow",context:"formatting"})}}validate(t,a){return a>=0&&a<=6}set(t,a,r,s){return t=Cr(t,r,s),t.setHours(0,0,0,0),t}}class lf extends Be{constructor(){super(...arguments);ke(this,"priority",90);ke(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","e","t","T"])}parse(t,a,r,s){const i=o=>{const l=Math.floor((o-1)/7)*7;return(o+s.weekStartsOn+6)%7+l};switch(a){case"c":case"cc":return tt(Qe(a.length,t),i);case"co":return tt(r.ordinalNumber(t,{unit:"day"}),i);case"ccc":return r.day(t,{width:"abbreviated",context:"standalone"})||r.day(t,{width:"short",context:"standalone"})||r.day(t,{width:"narrow",context:"standalone"});case"ccccc":return r.day(t,{width:"narrow",context:"standalone"});case"cccccc":return r.day(t,{width:"short",context:"standalone"})||r.day(t,{width:"narrow",context:"standalone"});case"cccc":default:return r.day(t,{width:"wide",context:"standalone"})||r.day(t,{width:"abbreviated",context:"standalone"})||r.day(t,{width:"short",context:"standalone"})||r.day(t,{width:"narrow",context:"standalone"})}}validate(t,a){return a>=0&&a<=6}set(t,a,r,s){return t=Cr(t,r,s),t.setHours(0,0,0,0),t}}function uf(e,n,t){const a=Pe(e,t==null?void 0:t.in),r=Np(a,t),s=n-r;return rt(a,s,t)}class cf extends Be{constructor(){super(...arguments);ke(this,"priority",90);ke(this,"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","E","e","c","t","T"])}parse(t,a,r){const s=i=>i===0?7:i;switch(a){case"i":case"ii":return Qe(a.length,t);case"io":return r.ordinalNumber(t,{unit:"day"});case"iii":return tt(r.day(t,{width:"abbreviated",context:"formatting"})||r.day(t,{width:"short",context:"formatting"})||r.day(t,{width:"narrow",context:"formatting"}),s);case"iiiii":return tt(r.day(t,{width:"narrow",context:"formatting"}),s);case"iiiiii":return tt(r.day(t,{width:"short",context:"formatting"})||r.day(t,{width:"narrow",context:"formatting"}),s);case"iiii":default:return tt(r.day(t,{width:"wide",context:"formatting"})||r.day(t,{width:"abbreviated",context:"formatting"})||r.day(t,{width:"short",context:"formatting"})||r.day(t,{width:"narrow",context:"formatting"}),s)}}validate(t,a){return a>=1&&a<=7}set(t,a,r){return t=uf(t,r),t.setHours(0,0,0,0),t}}class df extends Be{constructor(){super(...arguments);ke(this,"priority",80);ke(this,"incompatibleTokens",["b","B","H","k","t","T"])}parse(t,a,r){switch(a){case"a":case"aa":case"aaa":return r.dayPeriod(t,{width:"abbreviated",context:"formatting"})||r.dayPeriod(t,{width:"narrow",context:"formatting"});case"aaaaa":return r.dayPeriod(t,{width:"narrow",context:"formatting"});case"aaaa":default:return r.dayPeriod(t,{width:"wide",context:"formatting"})||r.dayPeriod(t,{width:"abbreviated",context:"formatting"})||r.dayPeriod(t,{width:"narrow",context:"formatting"})}}set(t,a,r){return t.setHours(Ir(r),0,0,0),t}}class _f extends Be{constructor(){super(...arguments);ke(this,"priority",80);ke(this,"incompatibleTokens",["a","B","H","k","t","T"])}parse(t,a,r){switch(a){case"b":case"bb":case"bbb":return r.dayPeriod(t,{width:"abbreviated",context:"formatting"})||r.dayPeriod(t,{width:"narrow",context:"formatting"});case"bbbbb":return r.dayPeriod(t,{width:"narrow",context:"formatting"});case"bbbb":default:return r.dayPeriod(t,{width:"wide",context:"formatting"})||r.dayPeriod(t,{width:"abbreviated",context:"formatting"})||r.dayPeriod(t,{width:"narrow",context:"formatting"})}}set(t,a,r){return t.setHours(Ir(r),0,0,0),t}}class pf extends Be{constructor(){super(...arguments);ke(this,"priority",80);ke(this,"incompatibleTokens",["a","b","t","T"])}parse(t,a,r){switch(a){case"B":case"BB":case"BBB":return r.dayPeriod(t,{width:"abbreviated",context:"formatting"})||r.dayPeriod(t,{width:"narrow",context:"formatting"});case"BBBBB":return r.dayPeriod(t,{width:"narrow",context:"formatting"});case"BBBB":default:return r.dayPeriod(t,{width:"wide",context:"formatting"})||r.dayPeriod(t,{width:"abbreviated",context:"formatting"})||r.dayPeriod(t,{width:"narrow",context:"formatting"})}}set(t,a,r){return t.setHours(Ir(r),0,0,0),t}}class ff extends Be{constructor(){super(...arguments);ke(this,"priority",70);ke(this,"incompatibleTokens",["H","K","k","t","T"])}parse(t,a,r){switch(a){case"h":return Xe(et.hour12h,t);case"ho":return r.ordinalNumber(t,{unit:"hour"});default:return Qe(a.length,t)}}validate(t,a){return a>=1&&a<=12}set(t,a,r){const s=t.getHours()>=12;return s&&r<12?t.setHours(r+12,0,0,0):!s&&r===12?t.setHours(0,0,0,0):t.setHours(r,0,0,0),t}}class hf extends Be{constructor(){super(...arguments);ke(this,"priority",70);ke(this,"incompatibleTokens",["a","b","h","K","k","t","T"])}parse(t,a,r){switch(a){case"H":return Xe(et.hour23h,t);case"Ho":return r.ordinalNumber(t,{unit:"hour"});default:return Qe(a.length,t)}}validate(t,a){return a>=0&&a<=23}set(t,a,r){return t.setHours(r,0,0,0),t}}class mf extends Be{constructor(){super(...arguments);ke(this,"priority",70);ke(this,"incompatibleTokens",["h","H","k","t","T"])}parse(t,a,r){switch(a){case"K":return Xe(et.hour11h,t);case"Ko":return r.ordinalNumber(t,{unit:"hour"});default:return Qe(a.length,t)}}validate(t,a){return a>=0&&a<=11}set(t,a,r){return t.getHours()>=12&&r<12?t.setHours(r+12,0,0,0):t.setHours(r,0,0,0),t}}class vf extends Be{constructor(){super(...arguments);ke(this,"priority",70);ke(this,"incompatibleTokens",["a","b","h","H","K","t","T"])}parse(t,a,r){switch(a){case"k":return Xe(et.hour24h,t);case"ko":return r.ordinalNumber(t,{unit:"hour"});default:return Qe(a.length,t)}}validate(t,a){return a>=1&&a<=24}set(t,a,r){const s=r<=24?r%24:r;return t.setHours(s,0,0,0),t}}class bf extends Be{constructor(){super(...arguments);ke(this,"priority",60);ke(this,"incompatibleTokens",["t","T"])}parse(t,a,r){switch(a){case"m":return Xe(et.minute,t);case"mo":return r.ordinalNumber(t,{unit:"minute"});default:return Qe(a.length,t)}}validate(t,a){return a>=0&&a<=59}set(t,a,r){return t.setMinutes(r,0,0),t}}class gf extends Be{constructor(){super(...arguments);ke(this,"priority",50);ke(this,"incompatibleTokens",["t","T"])}parse(t,a,r){switch(a){case"s":return Xe(et.second,t);case"so":return r.ordinalNumber(t,{unit:"second"});default:return Qe(a.length,t)}}validate(t,a){return a>=0&&a<=59}set(t,a,r){return t.setSeconds(r,0),t}}class yf extends Be{constructor(){super(...arguments);ke(this,"priority",30);ke(this,"incompatibleTokens",["t","T"])}parse(t,a){const r=s=>Math.trunc(s*Math.pow(10,-a.length+3));return tt(Qe(a.length,t),r)}set(t,a,r){return t.setMilliseconds(r),t}}class kf extends Be{constructor(){super(...arguments);ke(this,"priority",10);ke(this,"incompatibleTokens",["t","T","x"])}parse(t,a){switch(a){case"X":return Rt(Ct.basicOptionalMinutes,t);case"XX":return Rt(Ct.basic,t);case"XXXX":return Rt(Ct.basicOptionalSeconds,t);case"XXXXX":return Rt(Ct.extendedOptionalSeconds,t);case"XXX":default:return Rt(Ct.extended,t)}}set(t,a,r){return a.timestampIsSet?t:je(t,t.getTime()-dn(t)-r)}}class wf extends Be{constructor(){super(...arguments);ke(this,"priority",10);ke(this,"incompatibleTokens",["t","T","X"])}parse(t,a){switch(a){case"x":return Rt(Ct.basicOptionalMinutes,t);case"xx":return Rt(Ct.basic,t);case"xxxx":return Rt(Ct.basicOptionalSeconds,t);case"xxxxx":return Rt(Ct.extendedOptionalSeconds,t);case"xxx":default:return Rt(Ct.extended,t)}}set(t,a,r){return a.timestampIsSet?t:je(t,t.getTime()-dn(t)-r)}}class xf extends Be{constructor(){super(...arguments);ke(this,"priority",40);ke(this,"incompatibleTokens","*")}parse(t){return Si(t)}set(t,a,r){return[je(t,r*1e3),{timestampIsSet:!0}]}}class Df extends Be{constructor(){super(...arguments);ke(this,"priority",20);ke(this,"incompatibleTokens","*")}parse(t){return Si(t)}set(t,a,r){return[je(t,r),{timestampIsSet:!0}]}}const Tf={G:new jp,y:new Fp,Y:new Hp,R:new zp,u:new Up,Q:new Gp,q:new Kp,M:new Xp,L:new qp,w:new Zp,I:new ef,d:new nf,D:new rf,E:new sf,e:new of,c:new lf,i:new cf,a:new df,b:new _f,B:new pf,h:new ff,H:new hf,K:new mf,k:new vf,m:new bf,s:new gf,S:new yf,X:new kf,x:new wf,t:new xf,T:new Df},Mf=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Pf=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,$f=/^'([^]*?)'?$/,Sf=/''/g,Ef=/\S/,Of=/[a-zA-Z]/;function fr(e,n,t,a){var b,_,y,A,S,U,D,M;const r=()=>je((a==null?void 0:a.in)||t,NaN),s=Rp(),i=(a==null?void 0:a.locale)??s.locale??Di,o=(a==null?void 0:a.firstWeekContainsDate)??((_=(b=a==null?void 0:a.locale)==null?void 0:b.options)==null?void 0:_.firstWeekContainsDate)??s.firstWeekContainsDate??((A=(y=s.locale)==null?void 0:y.options)==null?void 0:A.firstWeekContainsDate)??1,l=(a==null?void 0:a.weekStartsOn)??((U=(S=a==null?void 0:a.locale)==null?void 0:S.options)==null?void 0:U.weekStartsOn)??s.weekStartsOn??((M=(D=s.locale)==null?void 0:D.options)==null?void 0:M.weekStartsOn)??0;if(!n)return e?r():Pe(t,a==null?void 0:a.in);const v={firstWeekContainsDate:o,weekStartsOn:l,locale:i},m=[new Yp(a==null?void 0:a.in,t)],d=n.match(Pf).map(x=>{const $=x[0];if($ in _r){const u=_r[$];return u(x,i.formatLong)}return x}).join("").match(Mf),p=[];for(let x of d){!(a!=null&&a.useAdditionalWeekYearTokens)&&Pi(x)&&pr(x,n,e),!(a!=null&&a.useAdditionalDayOfYearTokens)&&Mi(x)&&pr(x,n,e);const $=x[0],u=Tf[$];if(u){const{incompatibleTokens:O}=u;if(Array.isArray(O)){const ne=p.find(E=>O.includes(E.token)||E.token===$);if(ne)throw new RangeError(`The format string mustn't contain \`${ne.fullToken}\` and \`${x}\` at the same time`)}else if(u.incompatibleTokens==="*"&&p.length>0)throw new RangeError(`The format string mustn't contain \`${x}\` and any other token at the same time`);p.push({token:$,fullToken:x});const V=u.run(e,x,i.match,v);if(!V)return r();m.push(V.setter),e=V.rest}else{if($.match(Of))throw new RangeError("Format string contains an unescaped latin alphabet character `"+$+"`");if(x==="''"?x="'":$==="'"&&(x=Af(x)),e.indexOf(x)===0)e=e.slice(x.length);else return r()}}if(e.length>0&&Ef.test(e))return r();const k=m.map(x=>x.priority).sort((x,$)=>$-x).filter((x,$,u)=>u.indexOf(x)===$).map(x=>m.filter($=>$.priority===x).sort(($,u)=>u.subPriority-$.subPriority)).map(x=>x[0]);let P=Pe(t,a==null?void 0:a.in);if(isNaN(+P))return r();const R={};for(const x of k){if(!x.validate(P,v))return r();const $=x.set(P,R,v);Array.isArray($)?(P=$[0],Object.assign(R,$[1])):P=$}return P}function Af(e){return e.match($f)[1].replace(Sf,"'")}function _s(e,n,t){const[a,r]=za(t==null?void 0:t.in,e,n);return+qt(a)==+qt(r)}function Rr(e,n,t){return rt(e,-n,t)}function Ai(e,n,t){const a=Pe(e,t==null?void 0:t.in),r=a.getFullYear(),s=a.getDate(),i=je(e,0);i.setFullYear(r,n,15),i.setHours(0,0,0,0);const o=Cp(i);return a.setMonth(n,Math.min(s,o)),a}function Fe(e,n,t){let a=Pe(e,t==null?void 0:t.in);return isNaN(+a)?je(e,NaN):(n.year!=null&&a.setFullYear(n.year),n.month!=null&&(a=Ai(a,n.month)),n.date!=null&&a.setDate(n.date),n.hours!=null&&a.setHours(n.hours),n.minutes!=null&&a.setMinutes(n.minutes),n.seconds!=null&&a.setSeconds(n.seconds),n.milliseconds!=null&&a.setMilliseconds(n.milliseconds),a)}function If(e,n,t){const a=Pe(e,t==null?void 0:t.in);return a.setHours(n),a}function Ii(e,n,t){const a=Pe(e,t==null?void 0:t.in);return a.setMilliseconds(n),a}function Cf(e,n,t){const a=Pe(e,t==null?void 0:t.in);return a.setMinutes(n),a}function Ci(e,n,t){const a=Pe(e,t==null?void 0:t.in);return a.setSeconds(n),a}function Nt(e,n,t){const a=Pe(e,t==null?void 0:t.in);return isNaN(+a)?je(e,NaN):(a.setFullYear(n),a)}function jt(e,n,t){return kt(e,-n,t)}function Rf(e,n,t){const{years:a=0,months:r=0,weeks:s=0,days:i=0,hours:o=0,minutes:l=0,seconds:v=0}=n,m=jt(e,r+a*12,t),d=Rr(m,i+s*7,t),p=l+o*60,P=(v+p*60)*1e3;return je(e,+d-P)}function Ri(e,n,t){return $r(e,-n,t)}function Sa(){const e=jo();return f(),g("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor","aria-hidden":"true",class:"dp__icon",role:"img",...e},[T("path",{d:"M29.333 8c0-2.208-1.792-4-4-4h-18.667c-2.208 0-4 1.792-4 4v18.667c0 2.208 1.792 4 4 4h18.667c2.208 0 4-1.792 4-4v-18.667zM26.667 8v18.667c0 0.736-0.597 1.333-1.333 1.333 0 0-18.667 0-18.667 0-0.736 0-1.333-0.597-1.333-1.333 0 0 0-18.667 0-18.667 0-0.736 0.597-1.333 1.333-1.333 0 0 18.667 0 18.667 0 0.736 0 1.333 0.597 1.333 1.333z"}),T("path",{d:"M20 2.667v5.333c0 0.736 0.597 1.333 1.333 1.333s1.333-0.597 1.333-1.333v-5.333c0-0.736-0.597-1.333-1.333-1.333s-1.333 0.597-1.333 1.333z"}),T("path",{d:"M9.333 2.667v5.333c0 0.736 0.597 1.333 1.333 1.333s1.333-0.597 1.333-1.333v-5.333c0-0.736-0.597-1.333-1.333-1.333s-1.333 0.597-1.333 1.333z"}),T("path",{d:"M4 14.667h24c0.736 0 1.333-0.597 1.333-1.333s-0.597-1.333-1.333-1.333h-24c-0.736 0-1.333 0.597-1.333 1.333s0.597 1.333 1.333 1.333z"})])}Sa.compatConfig={MODE:3};function Ni(){return f(),g("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor","aria-hidden":"true",class:"dp__icon",role:"img"},[T("path",{d:"M23.057 7.057l-16 16c-0.52 0.52-0.52 1.365 0 1.885s1.365 0.52 1.885 0l16-16c0.52-0.52 0.52-1.365 0-1.885s-1.365-0.52-1.885 0z"}),T("path",{d:"M7.057 8.943l16 16c0.52 0.52 1.365 0.52 1.885 0s0.52-1.365 0-1.885l-16-16c-0.52-0.52-1.365-0.52-1.885 0s-0.52 1.365 0 1.885z"})])}Ni.compatConfig={MODE:3};function Nr(){return f(),g("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor","aria-hidden":"true",class:"dp__icon",role:"img"},[T("path",{d:"M20.943 23.057l-7.057-7.057c0 0 7.057-7.057 7.057-7.057 0.52-0.52 0.52-1.365 0-1.885s-1.365-0.52-1.885 0l-8 8c-0.521 0.521-0.521 1.365 0 1.885l8 8c0.52 0.52 1.365 0.52 1.885 0s0.52-1.365 0-1.885z"})])}Nr.compatConfig={MODE:3};function Vr(){return f(),g("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor","aria-hidden":"true",class:"dp__icon",role:"img"},[T("path",{d:"M12.943 24.943l8-8c0.521-0.521 0.521-1.365 0-1.885l-8-8c-0.52-0.52-1.365-0.52-1.885 0s-0.52 1.365 0 1.885l7.057 7.057c0 0-7.057 7.057-7.057 7.057-0.52 0.52-0.52 1.365 0 1.885s1.365 0.52 1.885 0z"})])}Vr.compatConfig={MODE:3};function Lr(){return f(),g("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor","aria-hidden":"true",class:"dp__icon",role:"img"},[T("path",{d:"M16 1.333c-8.095 0-14.667 6.572-14.667 14.667s6.572 14.667 14.667 14.667c8.095 0 14.667-6.572 14.667-14.667s-6.572-14.667-14.667-14.667zM16 4c6.623 0 12 5.377 12 12s-5.377 12-12 12c-6.623 0-12-5.377-12-12s5.377-12 12-12z"}),T("path",{d:"M14.667 8v8c0 0.505 0.285 0.967 0.737 1.193l5.333 2.667c0.658 0.329 1.46 0.062 1.789-0.596s0.062-1.46-0.596-1.789l-4.596-2.298c0 0 0-7.176 0-7.176 0-0.736-0.597-1.333-1.333-1.333s-1.333 0.597-1.333 1.333z"})])}Lr.compatConfig={MODE:3};function Br(){return f(),g("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor","aria-hidden":"true",class:"dp__icon",role:"img"},[T("path",{d:"M24.943 19.057l-8-8c-0.521-0.521-1.365-0.521-1.885 0l-8 8c-0.52 0.52-0.52 1.365 0 1.885s1.365 0.52 1.885 0l7.057-7.057c0 0 7.057 7.057 7.057 7.057 0.52 0.52 1.365 0.52 1.885 0s0.52-1.365 0-1.885z"})])}Br.compatConfig={MODE:3};function Wr(){return f(),g("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor","aria-hidden":"true",class:"dp__icon",role:"img"},[T("path",{d:"M7.057 12.943l8 8c0.521 0.521 1.365 0.521 1.885 0l8-8c0.52-0.52 0.52-1.365 0-1.885s-1.365-0.52-1.885 0l-7.057 7.057c0 0-7.057-7.057-7.057-7.057-0.52-0.52-1.365-0.52-1.885 0s-0.52 1.365 0 1.885z"})])}Wr.compatConfig={MODE:3};const gt=(e,n)=>n?new Date(e.toLocaleString("en-US",{timeZone:n})):new Date(e),Yr=(e,n,t)=>hr(e,n,t)||se(),Nf=(e,n,t)=>{const a=n.dateInTz?gt(new Date(e),n.dateInTz):se(e);return t?dt(a,!0):a},hr=(e,n,t)=>{if(!e)return null;const a=t?dt(se(e),!0):se(e);return n?n.exactMatch?Nf(e,n,t):gt(a,n.timezone):a},Vf=e=>{const n=new Date(e.getFullYear(),0,1).getTimezoneOffset();return e.getTimezoneOffset(){if(!e)return 0;const t=new Date,a=new Date(t.toLocaleString("en-US",{timeZone:"UTC"})),r=new Date(t.toLocaleString("en-US",{timeZone:e})),s=(Vf(n??r)?r:n??r).getTimezoneOffset()/60;return(+a-+r)/(1e3*60*60)-s};var Dt=(e=>(e.month="month",e.year="year",e))(Dt||{}),Tt=(e=>(e.top="top",e.bottom="bottom",e))(Tt||{}),oa=(e=>(e.header="header",e.calendar="calendar",e.timePicker="timePicker",e))(oa||{}),pt=(e=>(e.month="month",e.year="year",e.calendar="calendar",e.time="time",e.minutes="minutes",e.hours="hours",e.seconds="seconds",e))(pt||{});const Bf=["timestamp","date","iso"];var ft=(e=>(e.up="up",e.down="down",e.left="left",e.right="right",e))(ft||{}),ze=(e=>(e.arrowUp="ArrowUp",e.arrowDown="ArrowDown",e.arrowLeft="ArrowLeft",e.arrowRight="ArrowRight",e.enter="Enter",e.space=" ",e.esc="Escape",e.tab="Tab",e.home="Home",e.end="End",e.pageUp="PageUp",e.pageDown="PageDown",e))(ze||{}),ka=(e=>(e.MONTH_AND_YEAR="MM-yyyy",e.YEAR="yyyy",e.DATE="dd-MM-yyyy",e))(ka||{});function ps(e){return n=>new Intl.DateTimeFormat(e,{weekday:"short",timeZone:"UTC"}).format(new Date(`2017-01-0${n}T00:00:00+00:00`)).slice(0,2)}function Wf(e){return n=>wt(gt(new Date(`2017-01-0${n}T00:00:00+00:00`),"UTC"),"EEEEEE",{locale:e})}const Yf=(e,n,t)=>{const a=[1,2,3,4,5,6,7];let r;if(e!==null)try{r=a.map(Wf(e))}catch{r=a.map(ps(n))}else r=a.map(ps(n));const s=r.slice(0,t),i=r.slice(t+1,r.length);return[r[t]].concat(...i).concat(...s)},jr=(e,n,t)=>{const a=[];for(let r=+e[0];r<=+e[1];r++)a.push({value:+r,text:Wi(r,n)});return t?a.reverse():a},Vi=(e,n,t)=>{const a=[1,2,3,4,5,6,7,8,9,10,11,12].map(s=>{const i=s<10?`0${s}`:s;return new Date(`2017-${i}-01T00:00:00+00:00`)});if(e!==null)try{const s=t==="long"?"LLLL":"LLL";return a.map((i,o)=>{const l=wt(gt(i,"UTC"),s,{locale:e});return{text:l.charAt(0).toUpperCase()+l.substring(1),value:o}})}catch{}const r=new Intl.DateTimeFormat(n,{month:t,timeZone:"UTC"});return a.map((s,i)=>{const o=r.format(s);return{text:o.charAt(0).toUpperCase()+o.substring(1),value:i}})},jf=e=>[12,1,2,3,4,5,6,7,8,9,10,11,12,1,2,3,4,5,6,7,8,9,10,11][e],it=e=>{const n=c(e);return n!=null&&n.$el?n==null?void 0:n.$el:n},Ff=e=>({type:"dot",...e??{}}),Li=e=>Array.isArray(e)?!!e[0]&&!!e[1]:!1,Fr={prop:e=>`"${e}" prop must be enabled!`,dateArr:e=>`You need to use array as "model-value" binding in order to support "${e}"`},lt=e=>e,fs=e=>e===0?e:!e||isNaN(+e)?null:+e,hs=e=>e===null,Bi=e=>{if(e)return[...e.querySelectorAll("input, button, select, textarea, a[href]")][0]},Hf=e=>{const n=[],t=a=>a.filter(r=>r);for(let a=0;a{const a=t!=null,r=n!=null;if(!a&&!r)return!1;const s=+t,i=+n;return a&&r?+e>s||+es:r?+eHf(e).map(t=>t.map(a=>{const{active:r,disabled:s,isBetween:i,highlighted:o}=n(a);return{...a,active:r,disabled:s,className:{dp__overlay_cell_active:r,dp__overlay_cell:!r,dp__overlay_cell_disabled:s,dp__overlay_cell_pad:!0,dp__overlay_cell_active_disabled:s&&r,dp__cell_in_between:i,"dp--highlighted":o}}})),Zt=(e,n,t=!1)=>{e&&n.allowStopPropagation&&(t&&e.stopImmediatePropagation(),e.stopPropagation())},zf=()=>["a[href]","area[href]","input:not([disabled]):not([type='hidden'])","select:not([disabled])","textarea:not([disabled])","button:not([disabled])","[tabindex]:not([tabindex='-1'])","[data-datepicker-instance]"].join(", ");function Uf(e,n){let t=[...document.querySelectorAll(zf())];t=t.filter(r=>!e.contains(r)||r.hasAttribute("data-datepicker-instance"));const a=t.indexOf(e);if(a>=0&&(n?a-1>=0:a+1<=t.length))return t[a+(n?-1:1)]}const mr=(e,n)=>e==null?void 0:e.querySelector(`[data-dp-element="${n}"]`),Wi=(e,n)=>new Intl.NumberFormat(n,{useGrouping:!1,style:"decimal"}).format(e),Hr=(e,n)=>wt(e,n??ka.DATE),Rn=e=>Array.isArray(e),pn=(e,n,t)=>n.get(Hr(e,t)),Gf=(e,n)=>e?n?n instanceof Map?!!pn(e,n):n(se(e)):!1:!0,ht=(e,n,t=!1,a)=>{if(e.key===ze.enter||e.key===ze.space)return t&&e.preventDefault(),n();if(a)return a(e)},Kf=()=>["iPad Simulator","iPhone Simulator","iPod Simulator","iPad","iPhone","iPod"].some(e=>navigator.userAgent.includes(e))||navigator.userAgent.includes("Mac")&&"ontouchend"in document,Xf=(e,n)=>e?ka.MONTH_AND_YEAR:n?ka.YEAR:ka.DATE;let ms;const qf=()=>ms||(ms=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});{const e=qf(),n=(t,a)=>{let r;return(r=e[t])||(r=e[t]=[]),r.push(a),s=>{r.length>1?r.forEach(i=>i(s)):r[0](s)}};n("__VUE_INSTANCE_SETTERS__",t=>t),n("__VUE_SSR_SETTERS__",t=>t)}Lo();var vr=function(e,n){return vr=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,a){t.__proto__=a}||function(t,a){for(var r in a)Object.prototype.hasOwnProperty.call(a,r)&&(t[r]=a[r])},vr(e,n)};function Yi(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");vr(e,n);function t(){this.constructor=e}e.prototype=n===null?Object.create(n):(t.prototype=n.prototype,new t)}var ga=function(){return ga=Object.assign||function(e){for(var n,t=1,a=arguments.length;t0&&s[s.length-1])&&(v[0]===6||v[0]===2)){t=0;continue}if(v[0]===3&&(!s||v[1]>s[0]&&v[1]=0;r--)if(this.__items[r].match(a))return!0;return!1},e.prototype.set_indent=function(a,r){this.is_empty()&&(this.__indent_count=a||0,this.__alignment_count=r||0,this.__character_count=this.__parent.get_indent_size(this.__indent_count,this.__alignment_count))},e.prototype._set_wrap_point=function(){this.__parent.wrap_line_length&&(this.__wrap_point_index=this.__items.length,this.__wrap_point_character_count=this.__character_count,this.__wrap_point_indent_count=this.__parent.next_line.__indent_count,this.__wrap_point_alignment_count=this.__parent.next_line.__alignment_count)},e.prototype._should_wrap=function(){return this.__wrap_point_index&&this.__character_count>this.__parent.wrap_line_length&&this.__wrap_point_character_count>this.__parent.next_line.__character_count},e.prototype._allow_wrap=function(){if(this._should_wrap()){this.__parent.add_new_line();var a=this.__parent.current_line;return a.set_indent(this.__wrap_point_indent_count,this.__wrap_point_alignment_count),a.__items=this.__items.slice(this.__wrap_point_index),this.__items=this.__items.slice(0,this.__wrap_point_index),a.__character_count+=this.__character_count-this.__wrap_point_character_count,this.__character_count=this.__wrap_point_character_count,a.__items[0]===" "&&(a.__items.splice(0,1),a.__character_count-=1),!0}return!1},e.prototype.is_empty=function(){return this.__items.length===0},e.prototype.last=function(){return this.is_empty()?null:this.__items[this.__items.length-1]},e.prototype.push=function(a){this.__items.push(a);var r=a.lastIndexOf(` -`);r!==-1?this.__character_count=a.length-r:this.__character_count+=a.length},e.prototype.pop=function(){var a=null;return this.is_empty()||(a=this.__items.pop(),this.__character_count-=a.length),a},e.prototype._remove_indent=function(){this.__indent_count>0&&(this.__indent_count-=1,this.__character_count-=this.__parent.indent_size)},e.prototype._remove_wrap_indent=function(){this.__wrap_point_indent_count>0&&(this.__wrap_point_indent_count-=1)},e.prototype.trim=function(){for(;this.last()===" ";)this.__items.pop(),this.__character_count-=1},e.prototype.toString=function(){var a="";return this.is_empty()?this.__parent.indent_empty_lines&&(a=this.__parent.get_indent_string(this.__indent_count)):(a=this.__parent.get_indent_string(this.__indent_count,this.__alignment_count),a+=this.__items.join("")),a};function n(a,r){this.__cache=[""],this.__indent_size=a.indent_size,this.__indent_string=a.indent_char,a.indent_with_tabs||(this.__indent_string=new Array(a.indent_size+1).join(a.indent_char)),r=r||"",a.indent_level>0&&(r=new Array(a.indent_level+1).join(this.__indent_string)),this.__base_string=r,this.__base_string_length=r.length}n.prototype.get_indent_size=function(a,r){var s=this.__base_string_length;return r=r||0,a<0&&(s=0),s+=a*this.__indent_size,s+=r,s},n.prototype.get_indent_string=function(a,r){var s=this.__base_string;return r=r||0,a<0&&(a=0,s=""),r+=a*this.__indent_size,this.__ensure_cache(r),s+=this.__cache[r],s},n.prototype.__ensure_cache=function(a){for(;a>=this.__cache.length;)this.__add_column()},n.prototype.__add_column=function(){var a=this.__cache.length,r=0,s="";this.__indent_size&&a>=this.__indent_size&&(r=Math.floor(a/this.__indent_size),a-=r*this.__indent_size,s=new Array(r+1).join(this.__indent_string)),a&&(s+=new Array(a+1).join(" ")),this.__cache.push(s)};function t(a,r){this.__indent_cache=new n(a,r),this.raw=!1,this._end_with_newline=a.end_with_newline,this.indent_size=a.indent_size,this.wrap_line_length=a.wrap_line_length,this.indent_empty_lines=a.indent_empty_lines,this.__lines=[],this.previous_line=null,this.current_line=null,this.next_line=new e(this),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1,this.__add_outputline()}return t.prototype.__add_outputline=function(){this.previous_line=this.current_line,this.current_line=this.next_line.clone_empty(),this.__lines.push(this.current_line)},t.prototype.get_line_number=function(){return this.__lines.length},t.prototype.get_indent_string=function(a,r){return this.__indent_cache.get_indent_string(a,r)},t.prototype.get_indent_size=function(a,r){return this.__indent_cache.get_indent_size(a,r)},t.prototype.is_empty=function(){return!this.previous_line&&this.current_line.is_empty()},t.prototype.add_new_line=function(a){return this.is_empty()||!a&&this.just_added_newline()?!1:(this.raw||this.__add_outputline(),!0)},t.prototype.get_code=function(a){this.trim(!0);var r=this.current_line.pop();r&&(r[r.length-1]===` -`&&(r=r.replace(/\n+$/g,"")),this.current_line.push(r)),this._end_with_newline&&this.__add_outputline();var s=this.__lines.join(` -`);return a!==` -`&&(s=s.replace(/[\n]/g,a)),s},t.prototype.set_wrap_point=function(){this.current_line._set_wrap_point()},t.prototype.set_indent=function(a,r){return a=a||0,r=r||0,this.next_line.set_indent(a,r),this.__lines.length>1?(this.current_line.set_indent(a,r),!0):(this.current_line.set_indent(),!1)},t.prototype.add_raw_token=function(a){for(var r=0;r1&&this.current_line.is_empty();)this.__lines.pop(),this.current_line=this.__lines[this.__lines.length-1],this.current_line.trim();this.previous_line=this.__lines.length>1?this.__lines[this.__lines.length-2]:null},t.prototype.just_added_newline=function(){return this.current_line.is_empty()},t.prototype.just_added_blankline=function(){return this.is_empty()||this.current_line.is_empty()&&this.previous_line.is_empty()},t.prototype.ensure_empty_line_above=function(a,r){for(var s=this.__lines.length-2;s>=0;){var i=this.__lines[s];if(i.is_empty())break;if(i.item(0).indexOf(a)!==0&&i.item(-1)!==r){this.__lines.splice(s+1,0,new e(this)),this.previous_line=this.__lines[this.__lines.length-2];break}s--}},Ln.Output=t,Ln}var Bn={},xs;function ao(){if(xs)return Bn;xs=1;function e(n,t,a,r){this.type=n,this.text=t,this.comments_before=null,this.newlines=a||0,this.whitespace_before=r||"",this.parent=null,this.next=null,this.previous=null,this.opened=null,this.closed=null,this.directives=null}return Bn.Token=e,Bn}var Ds={},Ts;function no(){return Ts||(Ts=1,function(e){var n="\\x23\\x24\\x40\\x41-\\x5a\\x5f\\x61-\\x7a",t="\\x24\\x30-\\x39\\x41-\\x5a\\x5f\\x61-\\x7a",a="\\xaa\\xb5\\xba\\xc0-\\xd6\\xd8-\\xf6\\xf8-\\u02c1\\u02c6-\\u02d1\\u02e0-\\u02e4\\u02ec\\u02ee\\u0370-\\u0374\\u0376\\u0377\\u037a-\\u037d\\u0386\\u0388-\\u038a\\u038c\\u038e-\\u03a1\\u03a3-\\u03f5\\u03f7-\\u0481\\u048a-\\u0527\\u0531-\\u0556\\u0559\\u0561-\\u0587\\u05d0-\\u05ea\\u05f0-\\u05f2\\u0620-\\u064a\\u066e\\u066f\\u0671-\\u06d3\\u06d5\\u06e5\\u06e6\\u06ee\\u06ef\\u06fa-\\u06fc\\u06ff\\u0710\\u0712-\\u072f\\u074d-\\u07a5\\u07b1\\u07ca-\\u07ea\\u07f4\\u07f5\\u07fa\\u0800-\\u0815\\u081a\\u0824\\u0828\\u0840-\\u0858\\u08a0\\u08a2-\\u08ac\\u0904-\\u0939\\u093d\\u0950\\u0958-\\u0961\\u0971-\\u0977\\u0979-\\u097f\\u0985-\\u098c\\u098f\\u0990\\u0993-\\u09a8\\u09aa-\\u09b0\\u09b2\\u09b6-\\u09b9\\u09bd\\u09ce\\u09dc\\u09dd\\u09df-\\u09e1\\u09f0\\u09f1\\u0a05-\\u0a0a\\u0a0f\\u0a10\\u0a13-\\u0a28\\u0a2a-\\u0a30\\u0a32\\u0a33\\u0a35\\u0a36\\u0a38\\u0a39\\u0a59-\\u0a5c\\u0a5e\\u0a72-\\u0a74\\u0a85-\\u0a8d\\u0a8f-\\u0a91\\u0a93-\\u0aa8\\u0aaa-\\u0ab0\\u0ab2\\u0ab3\\u0ab5-\\u0ab9\\u0abd\\u0ad0\\u0ae0\\u0ae1\\u0b05-\\u0b0c\\u0b0f\\u0b10\\u0b13-\\u0b28\\u0b2a-\\u0b30\\u0b32\\u0b33\\u0b35-\\u0b39\\u0b3d\\u0b5c\\u0b5d\\u0b5f-\\u0b61\\u0b71\\u0b83\\u0b85-\\u0b8a\\u0b8e-\\u0b90\\u0b92-\\u0b95\\u0b99\\u0b9a\\u0b9c\\u0b9e\\u0b9f\\u0ba3\\u0ba4\\u0ba8-\\u0baa\\u0bae-\\u0bb9\\u0bd0\\u0c05-\\u0c0c\\u0c0e-\\u0c10\\u0c12-\\u0c28\\u0c2a-\\u0c33\\u0c35-\\u0c39\\u0c3d\\u0c58\\u0c59\\u0c60\\u0c61\\u0c85-\\u0c8c\\u0c8e-\\u0c90\\u0c92-\\u0ca8\\u0caa-\\u0cb3\\u0cb5-\\u0cb9\\u0cbd\\u0cde\\u0ce0\\u0ce1\\u0cf1\\u0cf2\\u0d05-\\u0d0c\\u0d0e-\\u0d10\\u0d12-\\u0d3a\\u0d3d\\u0d4e\\u0d60\\u0d61\\u0d7a-\\u0d7f\\u0d85-\\u0d96\\u0d9a-\\u0db1\\u0db3-\\u0dbb\\u0dbd\\u0dc0-\\u0dc6\\u0e01-\\u0e30\\u0e32\\u0e33\\u0e40-\\u0e46\\u0e81\\u0e82\\u0e84\\u0e87\\u0e88\\u0e8a\\u0e8d\\u0e94-\\u0e97\\u0e99-\\u0e9f\\u0ea1-\\u0ea3\\u0ea5\\u0ea7\\u0eaa\\u0eab\\u0ead-\\u0eb0\\u0eb2\\u0eb3\\u0ebd\\u0ec0-\\u0ec4\\u0ec6\\u0edc-\\u0edf\\u0f00\\u0f40-\\u0f47\\u0f49-\\u0f6c\\u0f88-\\u0f8c\\u1000-\\u102a\\u103f\\u1050-\\u1055\\u105a-\\u105d\\u1061\\u1065\\u1066\\u106e-\\u1070\\u1075-\\u1081\\u108e\\u10a0-\\u10c5\\u10c7\\u10cd\\u10d0-\\u10fa\\u10fc-\\u1248\\u124a-\\u124d\\u1250-\\u1256\\u1258\\u125a-\\u125d\\u1260-\\u1288\\u128a-\\u128d\\u1290-\\u12b0\\u12b2-\\u12b5\\u12b8-\\u12be\\u12c0\\u12c2-\\u12c5\\u12c8-\\u12d6\\u12d8-\\u1310\\u1312-\\u1315\\u1318-\\u135a\\u1380-\\u138f\\u13a0-\\u13f4\\u1401-\\u166c\\u166f-\\u167f\\u1681-\\u169a\\u16a0-\\u16ea\\u16ee-\\u16f0\\u1700-\\u170c\\u170e-\\u1711\\u1720-\\u1731\\u1740-\\u1751\\u1760-\\u176c\\u176e-\\u1770\\u1780-\\u17b3\\u17d7\\u17dc\\u1820-\\u1877\\u1880-\\u18a8\\u18aa\\u18b0-\\u18f5\\u1900-\\u191c\\u1950-\\u196d\\u1970-\\u1974\\u1980-\\u19ab\\u19c1-\\u19c7\\u1a00-\\u1a16\\u1a20-\\u1a54\\u1aa7\\u1b05-\\u1b33\\u1b45-\\u1b4b\\u1b83-\\u1ba0\\u1bae\\u1baf\\u1bba-\\u1be5\\u1c00-\\u1c23\\u1c4d-\\u1c4f\\u1c5a-\\u1c7d\\u1ce9-\\u1cec\\u1cee-\\u1cf1\\u1cf5\\u1cf6\\u1d00-\\u1dbf\\u1e00-\\u1f15\\u1f18-\\u1f1d\\u1f20-\\u1f45\\u1f48-\\u1f4d\\u1f50-\\u1f57\\u1f59\\u1f5b\\u1f5d\\u1f5f-\\u1f7d\\u1f80-\\u1fb4\\u1fb6-\\u1fbc\\u1fbe\\u1fc2-\\u1fc4\\u1fc6-\\u1fcc\\u1fd0-\\u1fd3\\u1fd6-\\u1fdb\\u1fe0-\\u1fec\\u1ff2-\\u1ff4\\u1ff6-\\u1ffc\\u2071\\u207f\\u2090-\\u209c\\u2102\\u2107\\u210a-\\u2113\\u2115\\u2119-\\u211d\\u2124\\u2126\\u2128\\u212a-\\u212d\\u212f-\\u2139\\u213c-\\u213f\\u2145-\\u2149\\u214e\\u2160-\\u2188\\u2c00-\\u2c2e\\u2c30-\\u2c5e\\u2c60-\\u2ce4\\u2ceb-\\u2cee\\u2cf2\\u2cf3\\u2d00-\\u2d25\\u2d27\\u2d2d\\u2d30-\\u2d67\\u2d6f\\u2d80-\\u2d96\\u2da0-\\u2da6\\u2da8-\\u2dae\\u2db0-\\u2db6\\u2db8-\\u2dbe\\u2dc0-\\u2dc6\\u2dc8-\\u2dce\\u2dd0-\\u2dd6\\u2dd8-\\u2dde\\u2e2f\\u3005-\\u3007\\u3021-\\u3029\\u3031-\\u3035\\u3038-\\u303c\\u3041-\\u3096\\u309d-\\u309f\\u30a1-\\u30fa\\u30fc-\\u30ff\\u3105-\\u312d\\u3131-\\u318e\\u31a0-\\u31ba\\u31f0-\\u31ff\\u3400-\\u4db5\\u4e00-\\u9fcc\\ua000-\\ua48c\\ua4d0-\\ua4fd\\ua500-\\ua60c\\ua610-\\ua61f\\ua62a\\ua62b\\ua640-\\ua66e\\ua67f-\\ua697\\ua6a0-\\ua6ef\\ua717-\\ua71f\\ua722-\\ua788\\ua78b-\\ua78e\\ua790-\\ua793\\ua7a0-\\ua7aa\\ua7f8-\\ua801\\ua803-\\ua805\\ua807-\\ua80a\\ua80c-\\ua822\\ua840-\\ua873\\ua882-\\ua8b3\\ua8f2-\\ua8f7\\ua8fb\\ua90a-\\ua925\\ua930-\\ua946\\ua960-\\ua97c\\ua984-\\ua9b2\\ua9cf\\uaa00-\\uaa28\\uaa40-\\uaa42\\uaa44-\\uaa4b\\uaa60-\\uaa76\\uaa7a\\uaa80-\\uaaaf\\uaab1\\uaab5\\uaab6\\uaab9-\\uaabd\\uaac0\\uaac2\\uaadb-\\uaadd\\uaae0-\\uaaea\\uaaf2-\\uaaf4\\uab01-\\uab06\\uab09-\\uab0e\\uab11-\\uab16\\uab20-\\uab26\\uab28-\\uab2e\\uabc0-\\uabe2\\uac00-\\ud7a3\\ud7b0-\\ud7c6\\ud7cb-\\ud7fb\\uf900-\\ufa6d\\ufa70-\\ufad9\\ufb00-\\ufb06\\ufb13-\\ufb17\\ufb1d\\ufb1f-\\ufb28\\ufb2a-\\ufb36\\ufb38-\\ufb3c\\ufb3e\\ufb40\\ufb41\\ufb43\\ufb44\\ufb46-\\ufbb1\\ufbd3-\\ufd3d\\ufd50-\\ufd8f\\ufd92-\\ufdc7\\ufdf0-\\ufdfb\\ufe70-\\ufe74\\ufe76-\\ufefc\\uff21-\\uff3a\\uff41-\\uff5a\\uff66-\\uffbe\\uffc2-\\uffc7\\uffca-\\uffcf\\uffd2-\\uffd7\\uffda-\\uffdc",r="\\u0300-\\u036f\\u0483-\\u0487\\u0591-\\u05bd\\u05bf\\u05c1\\u05c2\\u05c4\\u05c5\\u05c7\\u0610-\\u061a\\u0620-\\u0649\\u0672-\\u06d3\\u06e7-\\u06e8\\u06fb-\\u06fc\\u0730-\\u074a\\u0800-\\u0814\\u081b-\\u0823\\u0825-\\u0827\\u0829-\\u082d\\u0840-\\u0857\\u08e4-\\u08fe\\u0900-\\u0903\\u093a-\\u093c\\u093e-\\u094f\\u0951-\\u0957\\u0962-\\u0963\\u0966-\\u096f\\u0981-\\u0983\\u09bc\\u09be-\\u09c4\\u09c7\\u09c8\\u09d7\\u09df-\\u09e0\\u0a01-\\u0a03\\u0a3c\\u0a3e-\\u0a42\\u0a47\\u0a48\\u0a4b-\\u0a4d\\u0a51\\u0a66-\\u0a71\\u0a75\\u0a81-\\u0a83\\u0abc\\u0abe-\\u0ac5\\u0ac7-\\u0ac9\\u0acb-\\u0acd\\u0ae2-\\u0ae3\\u0ae6-\\u0aef\\u0b01-\\u0b03\\u0b3c\\u0b3e-\\u0b44\\u0b47\\u0b48\\u0b4b-\\u0b4d\\u0b56\\u0b57\\u0b5f-\\u0b60\\u0b66-\\u0b6f\\u0b82\\u0bbe-\\u0bc2\\u0bc6-\\u0bc8\\u0bca-\\u0bcd\\u0bd7\\u0be6-\\u0bef\\u0c01-\\u0c03\\u0c46-\\u0c48\\u0c4a-\\u0c4d\\u0c55\\u0c56\\u0c62-\\u0c63\\u0c66-\\u0c6f\\u0c82\\u0c83\\u0cbc\\u0cbe-\\u0cc4\\u0cc6-\\u0cc8\\u0cca-\\u0ccd\\u0cd5\\u0cd6\\u0ce2-\\u0ce3\\u0ce6-\\u0cef\\u0d02\\u0d03\\u0d46-\\u0d48\\u0d57\\u0d62-\\u0d63\\u0d66-\\u0d6f\\u0d82\\u0d83\\u0dca\\u0dcf-\\u0dd4\\u0dd6\\u0dd8-\\u0ddf\\u0df2\\u0df3\\u0e34-\\u0e3a\\u0e40-\\u0e45\\u0e50-\\u0e59\\u0eb4-\\u0eb9\\u0ec8-\\u0ecd\\u0ed0-\\u0ed9\\u0f18\\u0f19\\u0f20-\\u0f29\\u0f35\\u0f37\\u0f39\\u0f41-\\u0f47\\u0f71-\\u0f84\\u0f86-\\u0f87\\u0f8d-\\u0f97\\u0f99-\\u0fbc\\u0fc6\\u1000-\\u1029\\u1040-\\u1049\\u1067-\\u106d\\u1071-\\u1074\\u1082-\\u108d\\u108f-\\u109d\\u135d-\\u135f\\u170e-\\u1710\\u1720-\\u1730\\u1740-\\u1750\\u1772\\u1773\\u1780-\\u17b2\\u17dd\\u17e0-\\u17e9\\u180b-\\u180d\\u1810-\\u1819\\u1920-\\u192b\\u1930-\\u193b\\u1951-\\u196d\\u19b0-\\u19c0\\u19c8-\\u19c9\\u19d0-\\u19d9\\u1a00-\\u1a15\\u1a20-\\u1a53\\u1a60-\\u1a7c\\u1a7f-\\u1a89\\u1a90-\\u1a99\\u1b46-\\u1b4b\\u1b50-\\u1b59\\u1b6b-\\u1b73\\u1bb0-\\u1bb9\\u1be6-\\u1bf3\\u1c00-\\u1c22\\u1c40-\\u1c49\\u1c5b-\\u1c7d\\u1cd0-\\u1cd2\\u1d00-\\u1dbe\\u1e01-\\u1f15\\u200c\\u200d\\u203f\\u2040\\u2054\\u20d0-\\u20dc\\u20e1\\u20e5-\\u20f0\\u2d81-\\u2d96\\u2de0-\\u2dff\\u3021-\\u3028\\u3099\\u309a\\ua640-\\ua66d\\ua674-\\ua67d\\ua69f\\ua6f0-\\ua6f1\\ua7f8-\\ua800\\ua806\\ua80b\\ua823-\\ua827\\ua880-\\ua881\\ua8b4-\\ua8c4\\ua8d0-\\ua8d9\\ua8f3-\\ua8f7\\ua900-\\ua909\\ua926-\\ua92d\\ua930-\\ua945\\ua980-\\ua983\\ua9b3-\\ua9c0\\uaa00-\\uaa27\\uaa40-\\uaa41\\uaa4c-\\uaa4d\\uaa50-\\uaa59\\uaa7b\\uaae0-\\uaae9\\uaaf2-\\uaaf3\\uabc0-\\uabe1\\uabec\\uabed\\uabf0-\\uabf9\\ufb20-\\ufb28\\ufe00-\\ufe0f\\ufe20-\\ufe26\\ufe33\\ufe34\\ufe4d-\\ufe4f\\uff10-\\uff19\\uff3f",s="(?:\\\\u[0-9a-fA-F]{4}|["+n+a+"])",i="(?:\\\\u[0-9a-fA-F]{4}|["+t+a+r+"])*";e.identifier=new RegExp(s+i,"g"),e.identifierStart=new RegExp(s),e.identifierMatch=new RegExp("(?:\\\\u[0-9a-fA-F]{4}|["+t+a+r+"])+"),e.newline=/[\n\r\u2028\u2029]/,e.lineBreak=new RegExp(`\r -|`+e.newline.source),e.allLineBreaks=new RegExp(e.lineBreak.source,"g")}(Ds)),Ds}var Wn={},Ca={},Ms;function Gr(){if(Ms)return Ca;Ms=1;function e(a,r){this.raw_options=n(a,r),this.disabled=this._get_boolean("disabled"),this.eol=this._get_characters("eol","auto"),this.end_with_newline=this._get_boolean("end_with_newline"),this.indent_size=this._get_number("indent_size",4),this.indent_char=this._get_characters("indent_char"," "),this.indent_level=this._get_number("indent_level"),this.preserve_newlines=this._get_boolean("preserve_newlines",!0),this.max_preserve_newlines=this._get_number("max_preserve_newlines",32786),this.preserve_newlines||(this.max_preserve_newlines=0),this.indent_with_tabs=this._get_boolean("indent_with_tabs",this.indent_char===" "),this.indent_with_tabs&&(this.indent_char=" ",this.indent_size===1&&(this.indent_size=4)),this.wrap_line_length=this._get_number("wrap_line_length",this._get_number("max_char")),this.indent_empty_lines=this._get_boolean("indent_empty_lines"),this.templating=this._get_selection_list("templating",["auto","none","django","erb","handlebars","php","smarty"],["auto"])}e.prototype._get_array=function(a,r){var s=this.raw_options[a],i=r||[];return typeof s=="object"?s!==null&&typeof s.concat=="function"&&(i=s.concat()):typeof s=="string"&&(i=s.split(/[^a-zA-Z0-9_\/\-]+/)),i},e.prototype._get_boolean=function(a,r){var s=this.raw_options[a],i=s===void 0?!!r:!!s;return i},e.prototype._get_characters=function(a,r){var s=this.raw_options[a],i=r||"";return typeof s=="string"&&(i=s.replace(/\\r/,"\r").replace(/\\n/,` -`).replace(/\\t/," ")),i},e.prototype._get_number=function(a,r){var s=this.raw_options[a];r=parseInt(r,10),isNaN(r)&&(r=0);var i=parseInt(s,10);return isNaN(i)&&(i=r),i},e.prototype._get_selection=function(a,r,s){var i=this._get_selection_list(a,r,s);if(i.length!==1)throw new Error("Invalid Option Value: The option '"+a+`' can only be one of the following values: -`+r+` -You passed in: '`+this.raw_options[a]+"'");return i[0]},e.prototype._get_selection_list=function(a,r,s){if(!r||r.length===0)throw new Error("Selection list cannot be empty.");if(s=s||[r[0]],!this._is_valid_selection(s,r))throw new Error("Invalid Default Value!");var i=this._get_array(a,s);if(!this._is_valid_selection(i,r))throw new Error("Invalid Option Value: The option '"+a+`' can contain only the following values: -`+r+` -You passed in: '`+this.raw_options[a]+"'");return i},e.prototype._is_valid_selection=function(a,r){return a.length&&r.length&&!a.some(function(s){return r.indexOf(s)===-1})};function n(a,r){var s={};a=t(a);var i;for(i in a)i!==r&&(s[i]=a[i]);if(r&&a[r])for(i in a[r])s[i]=a[r][i];return s}function t(a){var r={},s;for(s in a){var i=s.replace(/-/g,"_");r[i]=a[s]}return r}return Ca.Options=e,Ca.normalizeOpts=t,Ca.mergeOpts=n,Ca}var Ps;function ro(){if(Ps)return Wn;Ps=1;var e=Gr().Options,n=["before-newline","after-newline","preserve-newline"];function t(a){e.call(this,a,"js");var r=this.raw_options.brace_style||null;r==="expand-strict"?this.raw_options.brace_style="expand":r==="collapse-preserve-inline"?this.raw_options.brace_style="collapse,preserve-inline":this.raw_options.braces_on_own_line!==void 0&&(this.raw_options.brace_style=this.raw_options.braces_on_own_line?"expand":"collapse");var s=this._get_selection_list("brace_style",["collapse","expand","end-expand","none","preserve-inline"]);this.brace_preserve_inline=!1,this.brace_style="collapse";for(var i=0;i0&&(this.__position-=1)},n.prototype.hasNext=function(){return this.__position=0&&t=0&&a=t.length&&this.__input.substring(a-t.length,a).toLowerCase()===t},Yn.InputScanner=n,Yn}var Za={},jn={},Ss;function Ph(){if(Ss)return jn;Ss=1;function e(n){this.__tokens=[],this.__tokens_length=this.__tokens.length,this.__position=0,this.__parent_token=n}return e.prototype.restart=function(){this.__position=0},e.prototype.isEmpty=function(){return this.__tokens_length===0},e.prototype.hasNext=function(){return this.__position=0&&n/),erb:s.starting_with(/<%[^%]/).until_after(/[^%]%>/),django:s.starting_with(/{%/).until_after(/%}/),django_value:s.starting_with(/{{/).until_after(/}}/),django_comment:s.starting_with(/{#/).until_after(/#}/),smarty:s.starting_with(/{(?=[^}{\s\n])/).until_after(/[^\s\n]}/),smarty_comment:s.starting_with(/{\*/).until_after(/\*}/),smarty_literal:s.starting_with(/{literal}/).until_after(/{\/literal}/)}}return t.prototype=new e,t.prototype._create=function(){return new t(this._input,this)},t.prototype._update=function(){this.__set_templated_pattern()},t.prototype.disable=function(a){var r=this._create();return r._disabled[a]=!0,r._update(),r},t.prototype.read_options=function(a){var r=this._create();for(var s in n)r._disabled[s]=a.templating.indexOf(s)===-1;return r._update(),r},t.prototype.exclude=function(a){var r=this._create();return r._excluded[a]=!0,r._update(),r},t.prototype.read=function(){var a="";this._match_pattern?a=this._input.read(this._starting_pattern):a=this._input.read(this._starting_pattern,this.__template_pattern);for(var r=this._read_template();r;)this._match_pattern?r+=this._input.read(this._match_pattern):r+=this._input.readUntil(this.__template_pattern),a+=r,r=this._read_template();return this._until_after&&(a+=this._input.readUntilAfter(this._until_pattern)),a},t.prototype.__set_templated_pattern=function(){var a=[];this._disabled.php||a.push(this.__patterns.php._starting_pattern.source),this._disabled.handlebars||a.push(this.__patterns.handlebars._starting_pattern.source),this._disabled.erb||a.push(this.__patterns.erb._starting_pattern.source),this._disabled.django||(a.push(this.__patterns.django._starting_pattern.source),a.push(this.__patterns.django_value._starting_pattern.source),a.push(this.__patterns.django_comment._starting_pattern.source)),this._disabled.smarty||a.push(this.__patterns.smarty._starting_pattern.source),this._until_pattern&&a.push(this._until_pattern.source),this.__template_pattern=this._input.get_regexp("(?:"+a.join("|")+")")},t.prototype._read_template=function(){var a="",r=this._input.peek();if(r==="<"){var s=this._input.peek(1);!this._disabled.php&&!this._excluded.php&&s==="?"&&(a=a||this.__patterns.php.read()),!this._disabled.erb&&!this._excluded.erb&&s==="%"&&(a=a||this.__patterns.erb.read())}else r==="{"&&(!this._disabled.handlebars&&!this._excluded.handlebars&&(a=a||this.__patterns.handlebars_comment.read(),a=a||this.__patterns.handlebars_unescaped.read(),a=a||this.__patterns.handlebars.read()),this._disabled.django||(!this._excluded.django&&!this._excluded.handlebars&&(a=a||this.__patterns.django_value.read()),this._excluded.django||(a=a||this.__patterns.django_comment.read(),a=a||this.__patterns.django.read())),this._disabled.smarty||this._disabled.django&&this._disabled.handlebars&&(a=a||this.__patterns.smarty_comment.read(),a=a||this.__patterns.smarty_literal.read(),a=a||this.__patterns.smarty.read()));return a},Un.TemplatablePattern=t,Un}var Rs;function Ja(){if(Rs)return ma;Rs=1;var e=Kr().InputScanner,n=fn().Tokenizer,t=fn().TOKEN,a=Xr().Directives,r=no(),s=kn().Pattern,i=so().TemplatablePattern;function o(D,M){return M.indexOf(D)!==-1}var l={START_EXPR:"TK_START_EXPR",END_EXPR:"TK_END_EXPR",START_BLOCK:"TK_START_BLOCK",END_BLOCK:"TK_END_BLOCK",WORD:"TK_WORD",RESERVED:"TK_RESERVED",SEMICOLON:"TK_SEMICOLON",STRING:"TK_STRING",EQUALS:"TK_EQUALS",OPERATOR:"TK_OPERATOR",COMMA:"TK_COMMA",BLOCK_COMMENT:"TK_BLOCK_COMMENT",COMMENT:"TK_COMMENT",DOT:"TK_DOT",UNKNOWN:"TK_UNKNOWN",START:t.START,RAW:t.RAW,EOF:t.EOF},v=new a(/\/\*/,/\*\//),m=/0[xX][0123456789abcdefABCDEF_]*n?|0[oO][01234567_]*n?|0[bB][01_]*n?|\d[\d_]*n|(?:\.\d[\d_]*|\d[\d_]*\.?[\d_]*)(?:[eE][+-]?[\d_]+)?/,d=/[0-9]/,p=/[^\d\.]/,k=">>> === !== &&= ??= ||= << && >= ** != == <= >> || ?? |> < / - + > : & % ? ^ | *".split(" "),P=">>>= ... >>= <<= === >>> !== **= &&= ??= ||= => ^= :: /= << <= == && -= >= >> != -- += ** || ?? ++ %= &= *= |= |> = ! ? > < : / ^ - + * & % ~ |";P=P.replace(/[-[\]{}()*+?.,\\^$|#]/g,"\\$&"),P="\\?\\.(?!\\d) "+P,P=P.replace(/ /g,"|");var R=new RegExp(P),b="continue,try,throw,return,var,let,const,if,switch,case,default,for,while,break,function,import,export".split(","),_=b.concat(["do","in","of","else","get","set","new","catch","finally","typeof","yield","async","await","from","as","class","extends"]),y=new RegExp("^(?:"+_.join("|")+")$"),A,S=function(D,M){n.call(this,D,M),this._patterns.whitespace=this._patterns.whitespace.matching(/\u00A0\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff/.source,/\u2028\u2029/.source);var x=new s(this._input),$=new i(this._input).read_options(this._options);this.__patterns={template:$,identifier:$.starting_with(r.identifier).matching(r.identifierMatch),number:x.matching(m),punct:x.matching(R),comment:x.starting_with(/\/\//).until(/[\n\r\u2028\u2029]/),block_comment:x.starting_with(/\/\*/).until_after(/\*\//),html_comment_start:x.matching(//),include:x.starting_with(/#include/).until_after(r.lineBreak),shebang:x.starting_with(/#!/).until_after(r.lineBreak),xml:x.matching(/[\s\S]*?<(\/?)([-a-zA-Z:0-9_.]+|{[^}]+?}|!\[CDATA\[[^\]]*?\]\]|)(\s*{[^}]+?}|\s+[-a-zA-Z:0-9_.]+|\s+[-a-zA-Z:0-9_.]+\s*=\s*('[^']*'|"[^"]*"|{([^{}]|{[^}]+?})+?}))*\s*(\/?)\s*>/),single_quote:$.until(/['\\\n\r\u2028\u2029]/),double_quote:$.until(/["\\\n\r\u2028\u2029]/),template_text:$.until(/[`\\$]/),template_expression:$.until(/[`}\\]/)}};S.prototype=new n,S.prototype._is_comment=function(D){return D.type===l.COMMENT||D.type===l.BLOCK_COMMENT||D.type===l.UNKNOWN},S.prototype._is_opening=function(D){return D.type===l.START_BLOCK||D.type===l.START_EXPR},S.prototype._is_closing=function(D,M){return(D.type===l.END_BLOCK||D.type===l.END_EXPR)&&M&&(D.text==="]"&&M.text==="["||D.text===")"&&M.text==="("||D.text==="}"&&M.text==="{")},S.prototype._reset=function(){A=!1},S.prototype._get_next_token=function(D,M){var x=null;this._readWhitespace();var $=this._input.peek();return $===null?this._create_token(l.EOF,""):(x=x||this._read_non_javascript($),x=x||this._read_string($),x=x||this._read_pair($,this._input.peek(1)),x=x||this._read_word(D),x=x||this._read_singles($),x=x||this._read_comment($),x=x||this._read_regexp($,D),x=x||this._read_xml($,D),x=x||this._read_punctuation(),x=x||this._create_token(l.UNKNOWN,this._input.next()),x)},S.prototype._read_word=function(D){var M;if(M=this.__patterns.identifier.read(),M!=="")return M=M.replace(r.allLineBreaks,` -`),!(D.type===l.DOT||D.type===l.RESERVED&&(D.text==="set"||D.text==="get"))&&y.test(M)?(M==="in"||M==="of")&&(D.type===l.WORD||D.type===l.STRING)?this._create_token(l.OPERATOR,M):this._create_token(l.RESERVED,M):this._create_token(l.WORD,M);if(M=this.__patterns.number.read(),M!=="")return this._create_token(l.WORD,M)},S.prototype._read_singles=function(D){var M=null;return D==="("||D==="["?M=this._create_token(l.START_EXPR,D):D===")"||D==="]"?M=this._create_token(l.END_EXPR,D):D==="{"?M=this._create_token(l.START_BLOCK,D):D==="}"?M=this._create_token(l.END_BLOCK,D):D===";"?M=this._create_token(l.SEMICOLON,D):D==="."&&p.test(this._input.peek(1))?M=this._create_token(l.DOT,D):D===","&&(M=this._create_token(l.COMMA,D)),M&&this._input.next(),M},S.prototype._read_pair=function(D,M){var x=null;return D==="#"&&M==="{"&&(x=this._create_token(l.START_BLOCK,D+M)),x&&(this._input.next(),this._input.next()),x},S.prototype._read_punctuation=function(){var D=this.__patterns.punct.read();if(D!=="")return D==="="?this._create_token(l.EQUALS,D):D==="?."?this._create_token(l.DOT,D):this._create_token(l.OPERATOR,D)},S.prototype._read_non_javascript=function(D){var M="";if(D==="#"){if(this._is_first_token()&&(M=this.__patterns.shebang.read(),M))return this._create_token(l.UNKNOWN,M.trim()+` -`);if(M=this.__patterns.include.read(),M)return this._create_token(l.UNKNOWN,M.trim()+` -`);D=this._input.next();var x="#";if(this._input.hasNext()&&this._input.testChar(d)){do D=this._input.next(),x+=D;while(this._input.hasNext()&&D!=="#"&&D!=="=");return D==="#"||(this._input.peek()==="["&&this._input.peek(1)==="]"?(x+="[]",this._input.next(),this._input.next()):this._input.peek()==="{"&&this._input.peek(1)==="}"&&(x+="{}",this._input.next(),this._input.next())),this._create_token(l.WORD,x)}this._input.back()}else if(D==="<"&&this._is_first_token()){if(M=this.__patterns.html_comment_start.read(),M){for(;this._input.hasNext()&&!this._input.testChar(r.newline);)M+=this._input.next();return A=!0,this._create_token(l.COMMENT,M)}}else if(A&&D==="-"&&(M=this.__patterns.html_comment_end.read(),M))return A=!1,this._create_token(l.COMMENT,M);return null},S.prototype._read_comment=function(D){var M=null;if(D==="/"){var x="";if(this._input.peek(1)==="*"){x=this.__patterns.block_comment.read();var $=v.get_directives(x);$&&$.ignore==="start"&&(x+=v.readIgnored(this._input)),x=x.replace(r.allLineBreaks,` -`),M=this._create_token(l.BLOCK_COMMENT,x),M.directives=$}else this._input.peek(1)==="/"&&(x=this.__patterns.comment.read(),M=this._create_token(l.COMMENT,x))}return M},S.prototype._read_string=function(D){if(D==="`"||D==="'"||D==='"'){var M=this._input.next();return this.has_char_escapes=!1,D==="`"?M+=this._read_string_recursive("`",!0,"${"):M+=this._read_string_recursive(D),this.has_char_escapes&&this._options.unescape_strings&&(M=U(M)),this._input.peek()===D&&(M+=this._input.next()),M=M.replace(r.allLineBreaks,` -`),this._create_token(l.STRING,M)}return null},S.prototype._allow_regexp_or_xml=function(D){return D.type===l.RESERVED&&o(D.text,["return","case","throw","else","do","typeof","yield"])||D.type===l.END_EXPR&&D.text===")"&&D.opened.previous.type===l.RESERVED&&o(D.opened.previous.text,["if","while","for"])||o(D.type,[l.COMMENT,l.START_EXPR,l.START_BLOCK,l.START,l.END_BLOCK,l.OPERATOR,l.EQUALS,l.EOF,l.SEMICOLON,l.COMMA])},S.prototype._read_regexp=function(D,M){if(D==="/"&&this._allow_regexp_or_xml(M)){for(var x=this._input.next(),$=!1,u=!1;this._input.hasNext()&&($||u||this._input.peek()!==D)&&!this._input.testChar(r.newline);)x+=this._input.peek(),$?$=!1:($=this._input.peek()==="\\",this._input.peek()==="["?u=!0:this._input.peek()==="]"&&(u=!1)),this._input.next();return this._input.peek()===D&&(x+=this._input.next(),x+=this._input.read(r.identifier)),this._create_token(l.STRING,x)}return null},S.prototype._read_xml=function(D,M){if(this._options.e4x&&D==="<"&&this._allow_regexp_or_xml(M)){var x="",$=this.__patterns.xml.read_match();if($){for(var u=$[2].replace(/^{\s+/,"{").replace(/\s+}$/,"}"),O=u.indexOf("{")===0,V=0;$;){var ne=!!$[1],E=$[2],L=!!$[$.length-1]||E.slice(0,8)==="![CDATA[";if(!L&&(E===u||O&&E.replace(/^{\s+/,"{").replace(/\s+}$/,"}"))&&(ne?--V:++V),x+=$[0],V<=0)break;$=this.__patterns.xml.read_match()}return $||(x+=this._input.match(/[\s\S]*/g)[0]),x=x.replace(r.allLineBreaks,` -`),this._create_token(l.STRING,x)}}return null};function U(D){for(var M="",x=0,$=new e(D),u=null;$.hasNext();)if(u=$.match(/([\s]|[^\\]|\\\\)+/g),u&&(M+=u[0]),$.peek()==="\\"){if($.next(),$.peek()==="x")u=$.match(/x([0-9A-Fa-f]{2})/g);else if($.peek()==="u")u=$.match(/u([0-9A-Fa-f]{4})/g);else{M+="\\",$.hasNext()&&(M+=$.next());continue}if(!u||(x=parseInt(u[1],16),x>126&&x<=255&&u[0].indexOf("x")===0))return D;if(x>=0&&x<32){M+="\\"+u[0];continue}else x===34||x===39||x===92?M+="\\"+String.fromCharCode(x):M+=String.fromCharCode(x)}return M}return S.prototype._read_string_recursive=function(D,M,x){var $,u;D==="'"?u=this.__patterns.single_quote:D==='"'?u=this.__patterns.double_quote:D==="`"?u=this.__patterns.template_text:D==="}"&&(u=this.__patterns.template_expression);for(var O=u.read(),V="";this._input.hasNext();){if(V=this._input.next(),V===D||!M&&r.newline.test(V)){this._input.back();break}else V==="\\"&&this._input.hasNext()?($=this._input.peek(),$==="x"||$==="u"?this.has_char_escapes=!0:$==="\r"&&this._input.peek(1)===` -`&&this._input.next(),V+=this._input.next()):x&&(x==="${"&&V==="$"&&this._input.peek()==="{"&&(V+=this._input.next()),x===V&&(D==="`"?V+=this._read_string_recursive("}",M,"`"):V+=this._read_string_recursive("`",M,"${"),this._input.hasNext()&&(V+=this._input.next())));V+=u.read(),O+=V}return O},ma.Tokenizer=S,ma.TOKEN=l,ma.positionable_operators=k.slice(),ma.line_starters=b.slice(),ma}var Ns;function Sh(){if(Ns)return Vn;Ns=1;var e=Ur().Output,n=ao().Token,t=no(),a=ro().Options,r=Ja().Tokenizer,s=Ja().line_starters,i=Ja().positionable_operators,o=Ja().TOKEN;function l(u,O){return O.indexOf(u)!==-1}function v(u){return u.replace(/^\s+/g,"")}function m(u){for(var O={},V=0;VV&&(V=u.line_indent_level));var ne={mode:O,parent:u,last_token:u?u.last_token:new n(o.START_BLOCK,""),last_word:u?u.last_word:"",declaration_statement:!1,declaration_assignment:!1,multiline_frame:!1,inline_frame:!1,if_block:!1,else_block:!1,class_start_block:!1,do_block:!1,do_while:!1,import_block:!1,in_case_statement:!1,in_case:!1,case_body:!1,case_block:!1,indentation_level:V,alignment:0,line_indent_level:u?u.line_indent_level:V,start_line_index:this._output.get_line_number(),ternary_depth:0};return ne},x.prototype._reset=function(u){var O=u.match(/^[\t ]*/)[0];this._last_last_text="",this._output=new e(this._options,O),this._output.raw=this._options.test_output_raw,this._flag_store=[],this.set_mode(_.BlockStatement);var V=new r(u,this._options);return this._tokens=V.tokenize(),u},x.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var u,O=this._reset(this._source_text),V=this._options.eol;this._options.eol==="auto"&&(V=` -`,O&&t.lineBreak.test(O||"")&&(V=O.match(t.lineBreak)[0]));for(var ne=this._tokens.next();ne;)this.handle_token(ne),this._last_last_text=this._flags.last_token.text,this._flags.last_token=ne,ne=this._tokens.next();return u=this._output.get_code(V),u},x.prototype.handle_token=function(u,O){u.type===o.START_EXPR?this.handle_start_expr(u):u.type===o.END_EXPR?this.handle_end_expr(u):u.type===o.START_BLOCK?this.handle_start_block(u):u.type===o.END_BLOCK?this.handle_end_block(u):u.type===o.WORD?this.handle_word(u):u.type===o.RESERVED?this.handle_word(u):u.type===o.SEMICOLON?this.handle_semicolon(u):u.type===o.STRING?this.handle_string(u):u.type===o.EQUALS?this.handle_equals(u):u.type===o.OPERATOR?this.handle_operator(u):u.type===o.COMMA?this.handle_comma(u):u.type===o.BLOCK_COMMENT?this.handle_block_comment(u,O):u.type===o.COMMENT?this.handle_comment(u,O):u.type===o.DOT?this.handle_dot(u):u.type===o.EOF?this.handle_eof(u):u.type===o.UNKNOWN?this.handle_unknown(u,O):this.handle_unknown(u,O)},x.prototype.handle_whitespace_and_comments=function(u,O){var V=u.newlines,ne=this._options.keep_array_indentation&&S(this._flags.mode);if(u.comments_before)for(var E=u.comments_before.next();E;)this.handle_whitespace_and_comments(E,O),this.handle_token(E,O),E=u.comments_before.next();if(ne)for(var L=0;L0,O);else if(this._options.max_preserve_newlines&&V>this._options.max_preserve_newlines&&(V=this._options.max_preserve_newlines),this._options.preserve_newlines&&V>1){this.print_newline(!1,O);for(var N=1;N0&&(!this._flags.parent||this._flags.indentation_level>this._flags.parent.indentation_level)&&(this._flags.indentation_level-=1,this._output.set_indent(this._flags.indentation_level,this._flags.alignment))},x.prototype.set_mode=function(u){this._flags?(this._flag_store.push(this._flags),this._previous_flags=this._flags):this._previous_flags=this.create_flags(null,u),this._flags=this.create_flags(this._previous_flags,u),this._output.set_indent(this._flags.indentation_level,this._flags.alignment)},x.prototype.restore_mode=function(){this._flag_store.length>0&&(this._previous_flags=this._flags,this._flags=this._flag_store.pop(),this._previous_flags.mode===_.Statement&&y(this._output,this._previous_flags),this._output.set_indent(this._flags.indentation_level,this._flags.alignment))},x.prototype.start_of_object_property=function(){return this._flags.parent.mode===_.ObjectLiteral&&this._flags.mode===_.Statement&&(this._flags.last_token.text===":"&&this._flags.ternary_depth===0||p(this._flags.last_token,["get","set"]))},x.prototype.start_of_statement=function(u){var O=!1;return O=O||p(this._flags.last_token,["var","let","const"])&&u.type===o.WORD,O=O||d(this._flags.last_token,"do"),O=O||!(this._flags.parent.mode===_.ObjectLiteral&&this._flags.mode===_.Statement)&&p(this._flags.last_token,$)&&!u.newlines,O=O||d(this._flags.last_token,"else")&&!(d(u,"if")&&!u.comments_before),O=O||this._flags.last_token.type===o.END_EXPR&&(this._previous_flags.mode===_.ForInitializer||this._previous_flags.mode===_.Conditional),O=O||this._flags.last_token.type===o.WORD&&this._flags.mode===_.BlockStatement&&!this._flags.in_case&&!(u.text==="--"||u.text==="++")&&this._last_last_text!=="function"&&u.type!==o.WORD&&u.type!==o.RESERVED,O=O||this._flags.mode===_.ObjectLiteral&&(this._flags.last_token.text===":"&&this._flags.ternary_depth===0||p(this._flags.last_token,["get","set"])),O?(this.set_mode(_.Statement),this.indent(),this.handle_whitespace_and_comments(u,!0),this.start_of_object_property()||this.allow_wrap_or_preserved_newline(u,p(u,["do","for","if","while"])),!0):!1},x.prototype.handle_start_expr=function(u){this.start_of_statement(u)||this.handle_whitespace_and_comments(u);var O=_.Expression;if(u.text==="["){if(this._flags.last_token.type===o.WORD||this._flags.last_token.text===")"){p(this._flags.last_token,s)&&(this._output.space_before_token=!0),this.print_token(u),this.set_mode(O),this.indent(),this._options.space_in_paren&&(this._output.space_before_token=!0);return}O=_.ArrayLiteral,S(this._flags.mode)&&(this._flags.last_token.text==="["||this._flags.last_token.text===","&&(this._last_last_text==="]"||this._last_last_text==="}"))&&(this._options.keep_array_indentation||this.print_newline()),l(this._flags.last_token.type,[o.START_EXPR,o.END_EXPR,o.WORD,o.OPERATOR,o.DOT])||(this._output.space_before_token=!0)}else{if(this._flags.last_token.type===o.RESERVED)this._flags.last_token.text==="for"?(this._output.space_before_token=this._options.space_before_conditional,O=_.ForInitializer):l(this._flags.last_token.text,["if","while","switch"])?(this._output.space_before_token=this._options.space_before_conditional,O=_.Conditional):l(this._flags.last_word,["await","async"])?this._output.space_before_token=!0:this._flags.last_token.text==="import"&&u.whitespace_before===""?this._output.space_before_token=!1:(l(this._flags.last_token.text,s)||this._flags.last_token.text==="catch")&&(this._output.space_before_token=!0);else if(this._flags.last_token.type===o.EQUALS||this._flags.last_token.type===o.OPERATOR)this.start_of_object_property()||this.allow_wrap_or_preserved_newline(u);else if(this._flags.last_token.type===o.WORD){this._output.space_before_token=!1;var V=this._tokens.peek(-3);if(this._options.space_after_named_function&&V){var ne=this._tokens.peek(-4);p(V,["async","function"])||V.text==="*"&&p(ne,["async","function"])?this._output.space_before_token=!0:this._flags.mode===_.ObjectLiteral?(V.text==="{"||V.text===","||V.text==="*"&&(ne.text==="{"||ne.text===","))&&(this._output.space_before_token=!0):this._flags.parent&&this._flags.parent.class_start_block&&(this._output.space_before_token=!0)}}else this.allow_wrap_or_preserved_newline(u);(this._flags.last_token.type===o.RESERVED&&(this._flags.last_word==="function"||this._flags.last_word==="typeof")||this._flags.last_token.text==="*"&&(l(this._last_last_text,["function","yield"])||this._flags.mode===_.ObjectLiteral&&l(this._last_last_text,["{",","])))&&(this._output.space_before_token=this._options.space_after_anon_function)}this._flags.last_token.text===";"||this._flags.last_token.type===o.START_BLOCK?this.print_newline():(this._flags.last_token.type===o.END_EXPR||this._flags.last_token.type===o.START_EXPR||this._flags.last_token.type===o.END_BLOCK||this._flags.last_token.text==="."||this._flags.last_token.type===o.COMMA)&&this.allow_wrap_or_preserved_newline(u,u.newlines),this.print_token(u),this.set_mode(O),this._options.space_in_paren&&(this._output.space_before_token=!0),this.indent()},x.prototype.handle_end_expr=function(u){for(;this._flags.mode===_.Statement;)this.restore_mode();this.handle_whitespace_and_comments(u),this._flags.multiline_frame&&this.allow_wrap_or_preserved_newline(u,u.text==="]"&&S(this._flags.mode)&&!this._options.keep_array_indentation),this._options.space_in_paren&&(this._flags.last_token.type===o.START_EXPR&&!this._options.space_in_empty_paren?(this._output.trim(),this._output.space_before_token=!1):this._output.space_before_token=!0),this.deindent(),this.print_token(u),this.restore_mode(),y(this._output,this._previous_flags),this._flags.do_while&&this._previous_flags.mode===_.Conditional&&(this._previous_flags.mode=_.Expression,this._flags.do_block=!1,this._flags.do_while=!1)},x.prototype.handle_start_block=function(u){this.handle_whitespace_and_comments(u);var O=this._tokens.peek(),V=this._tokens.peek(1);this._flags.last_word==="switch"&&this._flags.last_token.type===o.END_EXPR?(this.set_mode(_.BlockStatement),this._flags.in_case_statement=!0):this._flags.case_body?this.set_mode(_.BlockStatement):V&&(l(V.text,[":",","])&&l(O.type,[o.STRING,o.WORD,o.RESERVED])||l(O.text,["get","set","..."])&&l(V.type,[o.WORD,o.RESERVED]))?l(this._last_last_text,["class","interface"])&&!l(V.text,[":",","])?this.set_mode(_.BlockStatement):this.set_mode(_.ObjectLiteral):this._flags.last_token.type===o.OPERATOR&&this._flags.last_token.text==="=>"?this.set_mode(_.BlockStatement):l(this._flags.last_token.type,[o.EQUALS,o.START_EXPR,o.COMMA,o.OPERATOR])||p(this._flags.last_token,["return","throw","import","default"])?this.set_mode(_.ObjectLiteral):this.set_mode(_.BlockStatement),this._flags.last_token&&p(this._flags.last_token.previous,["class","extends"])&&(this._flags.class_start_block=!0);var ne=!O.comments_before&&O.text==="}",E=ne&&this._flags.last_word==="function"&&this._flags.last_token.type===o.END_EXPR;if(this._options.brace_preserve_inline){var L=0,N=null;this._flags.inline_frame=!0;do if(L+=1,N=this._tokens.peek(L-1),N.newlines){this._flags.inline_frame=!1;break}while(N.type!==o.EOF&&!(N.type===o.END_BLOCK&&N.opened===u))}(this._options.brace_style==="expand"||this._options.brace_style==="none"&&u.newlines)&&!this._flags.inline_frame?this._flags.last_token.type!==o.OPERATOR&&(E||this._flags.last_token.type===o.EQUALS||p(this._flags.last_token,k)&&this._flags.last_token.text!=="else")?this._output.space_before_token=!0:this.print_newline(!1,!0):(S(this._previous_flags.mode)&&(this._flags.last_token.type===o.START_EXPR||this._flags.last_token.type===o.COMMA)&&((this._flags.last_token.type===o.COMMA||this._options.space_in_paren)&&(this._output.space_before_token=!0),(this._flags.last_token.type===o.COMMA||this._flags.last_token.type===o.START_EXPR&&this._flags.inline_frame)&&(this.allow_wrap_or_preserved_newline(u),this._previous_flags.multiline_frame=this._previous_flags.multiline_frame||this._flags.multiline_frame,this._flags.multiline_frame=!1)),this._flags.last_token.type!==o.OPERATOR&&this._flags.last_token.type!==o.START_EXPR&&(l(this._flags.last_token.type,[o.START_BLOCK,o.SEMICOLON])&&!this._flags.inline_frame?this.print_newline():this._output.space_before_token=!0)),this.print_token(u),this.indent(),!ne&&!(this._options.brace_preserve_inline&&this._flags.inline_frame)&&this.print_newline()},x.prototype.handle_end_block=function(u){for(this.handle_whitespace_and_comments(u);this._flags.mode===_.Statement;)this.restore_mode();var O=this._flags.last_token.type===o.START_BLOCK;this._flags.inline_frame&&!O?this._output.space_before_token=!0:this._options.brace_style==="expand"?O||this.print_newline():O||(S(this._flags.mode)&&this._options.keep_array_indentation?(this._options.keep_array_indentation=!1,this.print_newline(),this._options.keep_array_indentation=!0):this.print_newline()),this.restore_mode(),this.print_token(u)},x.prototype.handle_word=function(u){if(u.type===o.RESERVED){if(l(u.text,["set","get"])&&this._flags.mode!==_.ObjectLiteral)u.type=o.WORD;else if(u.text==="import"&&l(this._tokens.peek().text,["(","."]))u.type=o.WORD;else if(l(u.text,["as","from"])&&!this._flags.import_block)u.type=o.WORD;else if(this._flags.mode===_.ObjectLiteral){var O=this._tokens.peek();O.text===":"&&(u.type=o.WORD)}}if(this.start_of_statement(u)?p(this._flags.last_token,["var","let","const"])&&u.type===o.WORD&&(this._flags.declaration_statement=!0):u.newlines&&!U(this._flags.mode)&&(this._flags.last_token.type!==o.OPERATOR||this._flags.last_token.text==="--"||this._flags.last_token.text==="++")&&this._flags.last_token.type!==o.EQUALS&&(this._options.preserve_newlines||!p(this._flags.last_token,["var","let","const","set","get"]))?(this.handle_whitespace_and_comments(u),this.print_newline()):this.handle_whitespace_and_comments(u),this._flags.do_block&&!this._flags.do_while)if(d(u,"while")){this._output.space_before_token=!0,this.print_token(u),this._output.space_before_token=!0,this._flags.do_while=!0;return}else this.print_newline(),this._flags.do_block=!1;if(this._flags.if_block)if(!this._flags.else_block&&d(u,"else"))this._flags.else_block=!0;else{for(;this._flags.mode===_.Statement;)this.restore_mode();this._flags.if_block=!1,this._flags.else_block=!1}if(this._flags.in_case_statement&&p(u,["case","default"])){this.print_newline(),!this._flags.case_block&&(this._flags.case_body||this._options.jslint_happy)&&this.deindent(),this._flags.case_body=!1,this.print_token(u),this._flags.in_case=!0;return}if((this._flags.last_token.type===o.COMMA||this._flags.last_token.type===o.START_EXPR||this._flags.last_token.type===o.EQUALS||this._flags.last_token.type===o.OPERATOR)&&(this.start_of_object_property()||this.allow_wrap_or_preserved_newline(u)),d(u,"function")){(l(this._flags.last_token.text,["}",";"])||this._output.just_added_newline()&&!(l(this._flags.last_token.text,["(","[","{",":","=",","])||this._flags.last_token.type===o.OPERATOR))&&!this._output.just_added_blankline()&&!u.comments_before&&(this.print_newline(),this.print_newline(!0)),this._flags.last_token.type===o.RESERVED||this._flags.last_token.type===o.WORD?p(this._flags.last_token,["get","set","new","export"])||p(this._flags.last_token,$)?this._output.space_before_token=!0:d(this._flags.last_token,"default")&&this._last_last_text==="export"?this._output.space_before_token=!0:this._flags.last_token.text==="declare"?this._output.space_before_token=!0:this.print_newline():this._flags.last_token.type===o.OPERATOR||this._flags.last_token.text==="="?this._output.space_before_token=!0:!this._flags.multiline_frame&&(U(this._flags.mode)||S(this._flags.mode))||this.print_newline(),this.print_token(u),this._flags.last_word=u.text;return}var V="NONE";if(this._flags.last_token.type===o.END_BLOCK?this._previous_flags.inline_frame?V="SPACE":p(u,["else","catch","finally","from"])?this._options.brace_style==="expand"||this._options.brace_style==="end-expand"||this._options.brace_style==="none"&&u.newlines?V="NEWLINE":(V="SPACE",this._output.space_before_token=!0):V="NEWLINE":this._flags.last_token.type===o.SEMICOLON&&this._flags.mode===_.BlockStatement?V="NEWLINE":this._flags.last_token.type===o.SEMICOLON&&U(this._flags.mode)?V="SPACE":this._flags.last_token.type===o.STRING?V="NEWLINE":this._flags.last_token.type===o.RESERVED||this._flags.last_token.type===o.WORD||this._flags.last_token.text==="*"&&(l(this._last_last_text,["function","yield"])||this._flags.mode===_.ObjectLiteral&&l(this._last_last_text,["{",","]))?V="SPACE":this._flags.last_token.type===o.START_BLOCK?this._flags.inline_frame?V="SPACE":V="NEWLINE":this._flags.last_token.type===o.END_EXPR&&(this._output.space_before_token=!0,V="NEWLINE"),p(u,s)&&this._flags.last_token.text!==")"&&(this._flags.inline_frame||this._flags.last_token.text==="else"||this._flags.last_token.text==="export"?V="SPACE":V="NEWLINE"),p(u,["else","catch","finally"]))if((!(this._flags.last_token.type===o.END_BLOCK&&this._previous_flags.mode===_.BlockStatement)||this._options.brace_style==="expand"||this._options.brace_style==="end-expand"||this._options.brace_style==="none"&&u.newlines)&&!this._flags.inline_frame)this.print_newline();else{this._output.trim(!0);var ne=this._output.current_line;ne.last()!=="}"&&this.print_newline(),this._output.space_before_token=!0}else V==="NEWLINE"?p(this._flags.last_token,k)?this._output.space_before_token=!0:this._flags.last_token.text==="declare"&&p(u,["var","let","const"])?this._output.space_before_token=!0:this._flags.last_token.type!==o.END_EXPR?(this._flags.last_token.type!==o.START_EXPR||!p(u,["var","let","const"]))&&this._flags.last_token.text!==":"&&(d(u,"if")&&d(u.previous,"else")?this._output.space_before_token=!0:this.print_newline()):p(u,s)&&this._flags.last_token.text!==")"&&this.print_newline():this._flags.multiline_frame&&S(this._flags.mode)&&this._flags.last_token.text===","&&this._last_last_text==="}"?this.print_newline():V==="SPACE"&&(this._output.space_before_token=!0);u.previous&&(u.previous.type===o.WORD||u.previous.type===o.RESERVED)&&(this._output.space_before_token=!0),this.print_token(u),this._flags.last_word=u.text,u.type===o.RESERVED&&(u.text==="do"?this._flags.do_block=!0:u.text==="if"?this._flags.if_block=!0:u.text==="import"?this._flags.import_block=!0:this._flags.import_block&&d(u,"from")&&(this._flags.import_block=!1))},x.prototype.handle_semicolon=function(u){this.start_of_statement(u)?this._output.space_before_token=!1:this.handle_whitespace_and_comments(u);for(var O=this._tokens.peek();this._flags.mode===_.Statement&&!(this._flags.if_block&&d(O,"else"))&&!this._flags.do_block;)this.restore_mode();this._flags.import_block&&(this._flags.import_block=!1),this.print_token(u)},x.prototype.handle_string=function(u){u.text.startsWith("`")&&u.newlines===0&&u.whitespace_before===""&&(u.previous.text===")"||this._flags.last_token.type===o.WORD)||(this.start_of_statement(u)?this._output.space_before_token=!0:(this.handle_whitespace_and_comments(u),this._flags.last_token.type===o.RESERVED||this._flags.last_token.type===o.WORD||this._flags.inline_frame?this._output.space_before_token=!0:this._flags.last_token.type===o.COMMA||this._flags.last_token.type===o.START_EXPR||this._flags.last_token.type===o.EQUALS||this._flags.last_token.type===o.OPERATOR?this.start_of_object_property()||this.allow_wrap_or_preserved_newline(u):u.text.startsWith("`")&&this._flags.last_token.type===o.END_EXPR&&(u.previous.text==="]"||u.previous.text===")")&&u.newlines===0?this._output.space_before_token=!0:this.print_newline())),this.print_token(u)},x.prototype.handle_equals=function(u){this.start_of_statement(u)||this.handle_whitespace_and_comments(u),this._flags.declaration_statement&&(this._flags.declaration_assignment=!0),this._output.space_before_token=!0,this.print_token(u),this._output.space_before_token=!0},x.prototype.handle_comma=function(u){this.handle_whitespace_and_comments(u,!0),this.print_token(u),this._output.space_before_token=!0,this._flags.declaration_statement?(U(this._flags.parent.mode)&&(this._flags.declaration_assignment=!1),this._flags.declaration_assignment?(this._flags.declaration_assignment=!1,this.print_newline(!1,!0)):this._options.comma_first&&this.allow_wrap_or_preserved_newline(u)):this._flags.mode===_.ObjectLiteral||this._flags.mode===_.Statement&&this._flags.parent.mode===_.ObjectLiteral?(this._flags.mode===_.Statement&&this.restore_mode(),this._flags.inline_frame||this.print_newline()):this._options.comma_first&&this.allow_wrap_or_preserved_newline(u)},x.prototype.handle_operator=function(u){var O=u.text==="*"&&(p(this._flags.last_token,["function","yield"])||l(this._flags.last_token.type,[o.START_BLOCK,o.COMMA,o.END_BLOCK,o.SEMICOLON])),V=l(u.text,["-","+"])&&(l(this._flags.last_token.type,[o.START_BLOCK,o.START_EXPR,o.EQUALS,o.OPERATOR])||l(this._flags.last_token.text,s)||this._flags.last_token.text===",");if(!this.start_of_statement(u)){var ne=!O;this.handle_whitespace_and_comments(u,ne)}if(u.text==="*"&&this._flags.last_token.type===o.DOT){this.print_token(u);return}if(u.text==="::"){this.print_token(u);return}if(this._flags.last_token.type===o.OPERATOR&&l(this._options.operator_position,b)&&this.allow_wrap_or_preserved_newline(u),u.text===":"&&this._flags.in_case){this.print_token(u),this._flags.in_case=!1,this._flags.case_body=!0,this._tokens.peek().type!==o.START_BLOCK?(this.indent(),this.print_newline(),this._flags.case_block=!1):(this._flags.case_block=!0,this._output.space_before_token=!0);return}var E=!0,L=!0,N=!1;if(u.text===":"?this._flags.ternary_depth===0?E=!1:(this._flags.ternary_depth-=1,N=!0):u.text==="?"&&(this._flags.ternary_depth+=1),!V&&!O&&this._options.preserve_newlines&&l(u.text,i)){var J=u.text===":",le=J&&N,Q=J&&!N;switch(this._options.operator_position){case R.before_newline:this._output.space_before_token=!Q,this.print_token(u),(!J||le)&&this.allow_wrap_or_preserved_newline(u),this._output.space_before_token=!0;return;case R.after_newline:this._output.space_before_token=!0,!J||le?this._tokens.peek().newlines?this.print_newline(!1,!0):this.allow_wrap_or_preserved_newline(u):this._output.space_before_token=!1,this.print_token(u),this._output.space_before_token=!0;return;case R.preserve_newline:Q||this.allow_wrap_or_preserved_newline(u),E=!(this._output.just_added_newline()||Q),this._output.space_before_token=E,this.print_token(u),this._output.space_before_token=!0;return}}if(O){this.allow_wrap_or_preserved_newline(u),E=!1;var he=this._tokens.peek();L=he&&l(he.type,[o.WORD,o.RESERVED])}else if(u.text==="...")this.allow_wrap_or_preserved_newline(u),E=this._flags.last_token.type===o.START_BLOCK,L=!1;else if(l(u.text,["--","++","!","~"])||V){if((this._flags.last_token.type===o.COMMA||this._flags.last_token.type===o.START_EXPR)&&this.allow_wrap_or_preserved_newline(u),E=!1,L=!1,u.newlines&&(u.text==="--"||u.text==="++"||u.text==="~")){var z=p(this._flags.last_token,k)&&u.newlines;z&&(this._previous_flags.if_block||this._previous_flags.else_block)&&this.restore_mode(),this.print_newline(z,!0)}this._flags.last_token.text===";"&&U(this._flags.mode)&&(E=!0),this._flags.last_token.type===o.RESERVED?E=!0:this._flags.last_token.type===o.END_EXPR?E=!(this._flags.last_token.text==="]"&&(u.text==="--"||u.text==="++")):this._flags.last_token.type===o.OPERATOR&&(E=l(u.text,["--","-","++","+"])&&l(this._flags.last_token.text,["--","-","++","+"]),l(u.text,["+","-"])&&l(this._flags.last_token.text,["--","++"])&&(L=!0)),(this._flags.mode===_.BlockStatement&&!this._flags.inline_frame||this._flags.mode===_.Statement)&&(this._flags.last_token.text==="{"||this._flags.last_token.text===";")&&this.print_newline()}this._output.space_before_token=this._output.space_before_token||E,this.print_token(u),this._output.space_before_token=L},x.prototype.handle_block_comment=function(u,O){if(this._output.raw){this._output.add_raw_token(u),u.directives&&u.directives.preserve==="end"&&(this._output.raw=this._options.test_output_raw);return}if(u.directives){this.print_newline(!1,O),this.print_token(u),u.directives.preserve==="start"&&(this._output.raw=!0),this.print_newline(!1,!0);return}if(!t.newline.test(u.text)&&!u.newlines){this._output.space_before_token=!0,this.print_token(u),this._output.space_before_token=!0;return}else this.print_block_commment(u,O)},x.prototype.print_block_commment=function(u,O){var V=A(u.text),ne,E=!1,L=!1,N=u.whitespace_before,J=N.length;if(this.print_newline(!1,O),this.print_token_line_indentation(u),this._output.add_token(V[0]),this.print_newline(!1,O),V.length>1){for(V=V.slice(1),E=D(V,"*"),L=M(V,N),E&&(this._flags.alignment=1),ne=0;ne0&&this._indentLevel--},d.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var p=this._source_text,k=this._options.eol;k==="auto"&&(k=` -`,p&&s.test(p||"")&&(k=p.match(s)[0])),p=p.replace(i,` -`);var P=p.match(/^[\t ]*/)[0];this._output=new n(this._options,P),this._input=new t(p),this._indentLevel=0,this._nestedLevel=0,this._ch=null;for(var R=0,b=!1,_=!1,y=!1,A=!1,S=!1,U=this._ch,D=!1,M,x,$;M=this._input.read(l),x=M!=="",$=U,this._ch=this._input.next(),this._ch==="\\"&&this._input.hasNext()&&(this._ch+=this._input.next()),U=this._ch,this._ch;)if(this._ch==="/"&&this._input.peek()==="*"){this._output.add_new_line(),this._input.back();var u=this._input.read(v),O=r.get_directives(u);O&&O.ignore==="start"&&(u+=r.readIgnored(this._input)),this.print_string(u),this.eatWhitespace(!0),this._output.add_new_line()}else if(this._ch==="/"&&this._input.peek()==="/")this._output.space_before_token=!0,this._input.back(),this.print_string(this._input.read(m)),this.eatWhitespace(!0);else if(this._ch==="$"){this.preserveSingleSpace(x),this.print_string(this._ch);var V=this._input.peekUntilAfter(/[: ,;{}()[\]\/='"]/g);V.match(/[ :]$/)&&(V=this.eatString(": ").replace(/\s$/,""),this.print_string(V),this._output.space_before_token=!0),V=V.replace(/\s$/,""),R===0&&V.indexOf(":")!==-1&&(_=!0,this.indent())}else if(this._ch==="@")if(this.preserveSingleSpace(x),this._input.peek()==="{")this.print_string(this._ch+this.eatString("}"));else{this.print_string(this._ch);var ne=this._input.peekUntilAfter(/[: ,;{}()[\]\/='"]/g);ne.match(/[ :]$/)&&(ne=this.eatString(": ").replace(/\s$/,""),this.print_string(ne),this._output.space_before_token=!0),ne=ne.replace(/\s$/,""),R===0&&ne.indexOf(":")!==-1?(_=!0,this.indent()):ne in this.NESTED_AT_RULE?(this._nestedLevel+=1,ne in this.CONDITIONAL_GROUP_RULE&&(y=!0)):R===0&&!_&&(A=!0)}else if(this._ch==="#"&&this._input.peek()==="{")this.preserveSingleSpace(x),this.print_string(this._ch+this.eatString("}"));else if(this._ch==="{")_&&(_=!1,this.outdent()),A=!1,y?(y=!1,b=this._indentLevel>=this._nestedLevel):b=this._indentLevel>=this._nestedLevel-1,this._options.newline_between_rules&&b&&this._output.previous_line&&this._output.previous_line.item(-1)!=="{"&&this._output.ensure_empty_line_above("/",","),this._output.space_before_token=!0,this._options.brace_style==="expand"?(this._output.add_new_line(),this.print_string(this._ch),this.indent(),this._output.set_indent(this._indentLevel)):($==="("?this._output.space_before_token=!1:$!==","&&this.indent(),this.print_string(this._ch)),this.eatWhitespace(!0),this._output.add_new_line();else if(this._ch==="}")this.outdent(),this._output.add_new_line(),$==="{"&&this._output.trim(!0),_&&(this.outdent(),_=!1),this.print_string(this._ch),b=!1,this._nestedLevel&&this._nestedLevel--,this.eatWhitespace(!0),this._output.add_new_line(),this._options.newline_between_rules&&!this._output.just_added_blankline()&&this._input.peek()!=="}"&&this._output.add_new_line(!0),this._input.peek()===")"&&(this._output.trim(!0),this._options.brace_style==="expand"&&this._output.add_new_line(!0));else if(this._ch===":"){for(var E=0;E"||this._ch==="+"||this._ch==="~")&&!_&&R===0)this._options.space_around_combinator?(this._output.space_before_token=!0,this.print_string(this._ch),this._output.space_before_token=!0):(this.print_string(this._ch),this.eatWhitespace(),this._ch&&o.test(this._ch)&&(this._ch=""));else if(this._ch==="]")this.print_string(this._ch);else if(this._ch==="[")this.preserveSingleSpace(x),this.print_string(this._ch);else if(this._ch==="=")this.eatWhitespace(),this.print_string("="),o.test(this._ch)&&(this._ch="");else if(this._ch==="!"&&!this._input.lookBack("\\"))this._output.space_before_token=!0,this.print_string(this._ch);else{var J=$==='"'||$==="'";this.preserveSingleSpace(J||x),this.print_string(this._ch),!this._output.just_added_newline()&&this._input.peek()===` -`&&D&&this._output.add_new_line()}var le=this._output.get_code(k);return le},Gn.Beautifier=d,Gn}var Ws;function Ah(){if(Ws)return en.exports;Ws=1;var e=Oh().Beautifier,n=io().Options;function t(a,r){var s=new e(a,r);return s.beautify()}return en.exports=t,en.exports.defaultOptions=function(){return new n},en.exports}var tn={exports:{}},Xn={},qn={},Ys;function oo(){if(Ys)return qn;Ys=1;var e=Gr().Options;function n(t){e.call(this,t,"html"),this.templating.length===1&&this.templating[0]==="auto"&&(this.templating=["django","erb","handlebars","php"]),this.indent_inner_html=this._get_boolean("indent_inner_html"),this.indent_body_inner_html=this._get_boolean("indent_body_inner_html",!0),this.indent_head_inner_html=this._get_boolean("indent_head_inner_html",!0),this.indent_handlebars=this._get_boolean("indent_handlebars",!0),this.wrap_attributes=this._get_selection("wrap_attributes",["auto","force","force-aligned","force-expand-multiline","aligned-multiple","preserve","preserve-aligned"]),this.wrap_attributes_min_attrs=this._get_number("wrap_attributes_min_attrs",2),this.wrap_attributes_indent_size=this._get_number("wrap_attributes_indent_size",this.indent_size),this.extra_liners=this._get_array("extra_liners",["head","body","/html"]),this.inline=this._get_array("inline",["a","abbr","area","audio","b","bdi","bdo","br","button","canvas","cite","code","data","datalist","del","dfn","em","embed","i","iframe","img","input","ins","kbd","keygen","label","map","mark","math","meter","noscript","object","output","progress","q","ruby","s","samp","select","small","span","strong","sub","sup","svg","template","textarea","time","u","var","video","wbr","text","acronym","big","strike","tt"]),this.inline_custom_elements=this._get_boolean("inline_custom_elements",!0),this.void_elements=this._get_array("void_elements",["area","base","br","col","embed","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr","!doctype","?xml","basefont","isindex"]),this.unformatted=this._get_array("unformatted",[]),this.content_unformatted=this._get_array("content_unformatted",["pre","textarea"]),this.unformatted_content_delimiter=this._get_characters("unformatted_content_delimiter"),this.indent_scripts=this._get_selection("indent_scripts",["normal","keep","separate"])}return n.prototype=new e,qn.Options=n,qn}var an={},js;function Fs(){if(js)return an;js=1;var e=fn().Tokenizer,n=fn().TOKEN,t=Xr().Directives,a=so().TemplatablePattern,r=kn().Pattern,s={TAG_OPEN:"TK_TAG_OPEN",TAG_CLOSE:"TK_TAG_CLOSE",ATTRIBUTE:"TK_ATTRIBUTE",EQUALS:"TK_EQUALS",VALUE:"TK_VALUE",COMMENT:"TK_COMMENT",TEXT:"TK_TEXT",UNKNOWN:"TK_UNKNOWN",START:n.START,RAW:n.RAW,EOF:n.EOF},i=new t(/<\!--/,/-->/),o=function(l,v){e.call(this,l,v),this._current_tag_name="";var m=new a(this._input).read_options(this._options),d=new r(this._input);if(this.__patterns={word:m.until(/[\n\r\t <]/),single_quote:m.until_after(/'/),double_quote:m.until_after(/"/),attribute:m.until(/[\n\r\t =>]|\/>/),element_name:m.until(/[\n\r\t >\/]/),handlebars_comment:d.starting_with(/{{!--/).until_after(/--}}/),handlebars:d.starting_with(/{{/).until_after(/}}/),handlebars_open:d.until(/[\n\r\t }]/),handlebars_raw_close:d.until(/}}/),comment:d.starting_with(//),cdata:d.starting_with(//),conditional_comment:d.starting_with(//),processing:d.starting_with(/<\?/).until_after(/\?>/)},this._options.indent_handlebars&&(this.__patterns.word=this.__patterns.word.exclude("handlebars")),this._unformatted_content_delimiter=null,this._options.unformatted_content_delimiter){var p=this._input.get_literal_regexp(this._options.unformatted_content_delimiter);this.__patterns.unformatted_content_delimiter=d.matching(p).until_after(p)}};return o.prototype=new e,o.prototype._is_comment=function(l){return!1},o.prototype._is_opening=function(l){return l.type===s.TAG_OPEN},o.prototype._is_closing=function(l,v){return l.type===s.TAG_CLOSE&&v&&((l.text===">"||l.text==="/>")&&v.text[0]==="<"||l.text==="}}"&&v.text[0]==="{"&&v.text[1]==="{")},o.prototype._reset=function(){this._current_tag_name=""},o.prototype._get_next_token=function(l,v){var m=null;this._readWhitespace();var d=this._input.peek();return d===null?this._create_token(s.EOF,""):(m=m||this._read_open_handlebars(d,v),m=m||this._read_attribute(d,l,v),m=m||this._read_close(d,v),m=m||this._read_raw_content(d,l,v),m=m||this._read_content_word(d),m=m||this._read_comment_or_cdata(d),m=m||this._read_processing(d),m=m||this._read_open(d,v),m=m||this._create_token(s.UNKNOWN,this._input.next()),m)},o.prototype._read_comment_or_cdata=function(l){var v=null,m=null,d=null;if(l==="<"){var p=this._input.peek(1);p==="!"&&(m=this.__patterns.comment.read(),m?(d=i.get_directives(m),d&&d.ignore==="start"&&(m+=i.readIgnored(this._input))):m=this.__patterns.cdata.read()),m&&(v=this._create_token(s.COMMENT,m),v.directives=d)}return v},o.prototype._read_processing=function(l){var v=null,m=null,d=null;if(l==="<"){var p=this._input.peek(1);(p==="!"||p==="?")&&(m=this.__patterns.conditional_comment.read(),m=m||this.__patterns.processing.read()),m&&(v=this._create_token(s.COMMENT,m),v.directives=d)}return v},o.prototype._read_open=function(l,v){var m=null,d=null;return v||l==="<"&&(m=this._input.next(),this._input.peek()==="/"&&(m+=this._input.next()),m+=this.__patterns.element_name.read(),d=this._create_token(s.TAG_OPEN,m)),d},o.prototype._read_open_handlebars=function(l,v){var m=null,d=null;return v||this._options.indent_handlebars&&l==="{"&&this._input.peek(1)==="{"&&(this._input.peek(2)==="!"?(m=this.__patterns.handlebars_comment.read(),m=m||this.__patterns.handlebars.read(),d=this._create_token(s.COMMENT,m)):(m=this.__patterns.handlebars_open.read(),d=this._create_token(s.TAG_OPEN,m))),d},o.prototype._read_close=function(l,v){var m=null,d=null;return v&&(v.text[0]==="<"&&(l===">"||l==="/"&&this._input.peek(1)===">")?(m=this._input.next(),l==="/"&&(m+=this._input.next()),d=this._create_token(s.TAG_CLOSE,m)):v.text[0]==="{"&&l==="}"&&this._input.peek(1)==="}"&&(this._input.next(),this._input.next(),d=this._create_token(s.TAG_CLOSE,"}}"))),d},o.prototype._read_attribute=function(l,v,m){var d=null,p="";if(m&&m.text[0]==="<")if(l==="=")d=this._create_token(s.EQUALS,this._input.next());else if(l==='"'||l==="'"){var k=this._input.next();l==='"'?k+=this.__patterns.double_quote.read():k+=this.__patterns.single_quote.read(),d=this._create_token(s.VALUE,k)}else p=this.__patterns.attribute.read(),p&&(v.type===s.EQUALS?d=this._create_token(s.VALUE,p):d=this._create_token(s.ATTRIBUTE,p));return d},o.prototype._is_content_unformatted=function(l){return this._options.void_elements.indexOf(l)===-1&&(this._options.content_unformatted.indexOf(l)!==-1||this._options.unformatted.indexOf(l)!==-1)},o.prototype._read_raw_content=function(l,v,m){var d="";if(m&&m.text[0]==="{")d=this.__patterns.handlebars_raw_close.read();else if(v.type===s.TAG_CLOSE&&v.opened.text[0]==="<"&&v.text[0]!=="/"){var p=v.opened.text.substr(1).toLowerCase();if(p==="script"||p==="style"){var k=this._read_comment_or_cdata(l);if(k)return k.type=s.TEXT,k;d=this._input.readUntil(new RegExp("","ig"))}else this._is_content_unformatted(p)&&(d=this._input.readUntil(new RegExp("","ig")))}return d?this._create_token(s.TEXT,d):null},o.prototype._read_content_word=function(l){var v="";if(this._options.unformatted_content_delimiter&&l===this._options.unformatted_content_delimiter[0]&&(v=this.__patterns.unformatted_content_delimiter.read()),v||(v=this.__patterns.word.read()),v)return this._create_token(s.TEXT,v)},an.Tokenizer=o,an.TOKEN=s,an}var Hs;function Ih(){if(Hs)return Xn;Hs=1;var e=oo().Options,n=Ur().Output,t=Fs().Tokenizer,a=Fs().TOKEN,r=/\r\n|[\r\n]/,s=/\r\n|[\r\n]/g,i=function(b,_){this.indent_level=0,this.alignment_size=0,this.max_preserve_newlines=b.max_preserve_newlines,this.preserve_newlines=b.preserve_newlines,this._output=new n(b,_)};i.prototype.current_line_has_match=function(b){return this._output.current_line.has_match(b)},i.prototype.set_space_before_token=function(b,_){this._output.space_before_token=b,this._output.non_breaking_space=_},i.prototype.set_wrap_point=function(){this._output.set_indent(this.indent_level,this.alignment_size),this._output.set_wrap_point()},i.prototype.add_raw_token=function(b){this._output.add_raw_token(b)},i.prototype.print_preserved_newlines=function(b){var _=0;b.type!==a.TEXT&&b.previous.type!==a.TEXT&&(_=b.newlines?1:0),this.preserve_newlines&&(_=b.newlines0);return _!==0},i.prototype.traverse_whitespace=function(b){return b.whitespace_before||b.newlines?(this.print_preserved_newlines(b)||(this._output.space_before_token=!0),!0):!1},i.prototype.previous_token_wrapped=function(){return this._output.previous_token_wrapped},i.prototype.print_newline=function(b){this._output.add_new_line(b)},i.prototype.print_token=function(b){b.text&&(this._output.set_indent(this.indent_level,this.alignment_size),this._output.add_token(b.text))},i.prototype.indent=function(){this.indent_level++},i.prototype.get_full_indent=function(b){return b=this.indent_level+(b||0),b<1?"":this._output.get_indent_string(b)};var o=function(b){for(var _=null,y=b.next;y.type!==a.EOF&&b.closed!==y;){if(y.type===a.ATTRIBUTE&&y.text==="type"){y.next&&y.next.type===a.EQUALS&&y.next.next&&y.next.next.type===a.VALUE&&(_=y.next.next.text);break}y=y.next}return _},l=function(b,_){var y=null,A=null;return _.closed?(b==="script"?y="text/javascript":b==="style"&&(y="text/css"),y=o(_)||y,y.search("text/css")>-1?A="css":y.search(/module|((text|application|dojo)\/(x-)?(javascript|ecmascript|jscript|livescript|(ld\+)?json|method|aspect))/)>-1?A="javascript":y.search(/(text|application|dojo)\/(x-)?(html)/)>-1?A="html":y.search(/test\/null/)>-1&&(A="null"),A):null};function v(b,_){return _.indexOf(b)!==-1}function m(b,_,y){this.parent=b||null,this.tag=_?_.tag_name:"",this.indent_level=y||0,this.parser_token=_||null}function d(b){this._printer=b,this._current_frame=null}d.prototype.get_parser_token=function(){return this._current_frame?this._current_frame.parser_token:null},d.prototype.record_tag=function(b){var _=new m(this._current_frame,b,this._printer.indent_level);this._current_frame=_},d.prototype._try_pop_frame=function(b){var _=null;return b&&(_=b.parser_token,this._printer.indent_level=b.indent_level,this._current_frame=b.parent),_},d.prototype._get_frame=function(b,_){for(var y=this._current_frame;y&&b.indexOf(y.tag)===-1;){if(_&&_.indexOf(y.tag)!==-1){y=null;break}y=y.parent}return y},d.prototype.try_pop=function(b,_){var y=this._get_frame([b],_);return this._try_pop_frame(y)},d.prototype.indent_to_tag=function(b){var _=this._get_frame(b);_&&(this._printer.indent_level=_.indent_level)};function p(b,_,y,A){this._source_text=b||"",_=_||{},this._js_beautify=y,this._css_beautify=A,this._tag_stack=null;var S=new e(_,"html");this._options=S,this._is_wrap_attributes_force=this._options.wrap_attributes.substr(0,5)==="force",this._is_wrap_attributes_force_expand_multiline=this._options.wrap_attributes==="force-expand-multiline",this._is_wrap_attributes_force_aligned=this._options.wrap_attributes==="force-aligned",this._is_wrap_attributes_aligned_multiple=this._options.wrap_attributes==="aligned-multiple",this._is_wrap_attributes_preserve=this._options.wrap_attributes.substr(0,8)==="preserve",this._is_wrap_attributes_preserve_aligned=this._options.wrap_attributes==="preserve-aligned"}p.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var b=this._source_text,_=this._options.eol;this._options.eol==="auto"&&(_=` -`,b&&r.test(b)&&(_=b.match(r)[0])),b=b.replace(s,` -`);var y=b.match(/^[\t ]*/)[0],A={text:"",type:""},S=new k,U=new i(this._options,y),D=new t(b,this._options).tokenize();this._tag_stack=new d(U);for(var M=null,x=D.next();x.type!==a.EOF;)x.type===a.TAG_OPEN||x.type===a.COMMENT?(M=this._handle_tag_open(U,x,S,A,D),S=M):x.type===a.ATTRIBUTE||x.type===a.EQUALS||x.type===a.VALUE||x.type===a.TEXT&&!S.tag_complete?M=this._handle_inside_tag(U,x,S,A):x.type===a.TAG_CLOSE?M=this._handle_tag_close(U,x,S):x.type===a.TEXT?M=this._handle_text(U,x,S):U.add_raw_token(x),A=M,x=D.next();var $=U._output.get_code(_);return $},p.prototype._handle_tag_close=function(b,_,y){var A={text:_.text,type:_.type};return b.alignment_size=0,y.tag_complete=!0,b.set_space_before_token(_.newlines||_.whitespace_before!=="",!0),y.is_unformatted?b.add_raw_token(_):(y.tag_start_char==="<"&&(b.set_space_before_token(_.text[0]==="/",!0),this._is_wrap_attributes_force_expand_multiline&&y.has_wrapped_attrs&&b.print_newline(!1)),b.print_token(_)),y.indent_content&&!(y.is_unformatted||y.is_content_unformatted)&&(b.indent(),y.indent_content=!1),!y.is_inline_element&&!(y.is_unformatted||y.is_content_unformatted)&&b.set_wrap_point(),A},p.prototype._handle_inside_tag=function(b,_,y,A){var S=y.has_wrapped_attrs,U={text:_.text,type:_.type};return b.set_space_before_token(_.newlines||_.whitespace_before!=="",!0),y.is_unformatted?b.add_raw_token(_):y.tag_start_char==="{"&&_.type===a.TEXT?b.print_preserved_newlines(_)?(_.newlines=0,b.add_raw_token(_)):b.print_token(_):(_.type===a.ATTRIBUTE?b.set_space_before_token(!0):(_.type===a.EQUALS||_.type===a.VALUE&&_.previous.type===a.EQUALS)&&b.set_space_before_token(!1),_.type===a.ATTRIBUTE&&y.tag_start_char==="<"&&((this._is_wrap_attributes_preserve||this._is_wrap_attributes_preserve_aligned)&&(b.traverse_whitespace(_),S=S||_.newlines!==0),this._is_wrap_attributes_force&&y.attr_count>=this._options.wrap_attributes_min_attrs&&(A.type!==a.TAG_OPEN||this._is_wrap_attributes_force_expand_multiline)&&(b.print_newline(!1),S=!0)),b.print_token(_),S=S||b.previous_token_wrapped(),y.has_wrapped_attrs=S),U},p.prototype._handle_text=function(b,_,y){var A={text:_.text,type:"TK_CONTENT"};return y.custom_beautifier_name?this._print_custom_beatifier_text(b,_,y):y.is_unformatted||y.is_content_unformatted?b.add_raw_token(_):(b.traverse_whitespace(_),b.print_token(_)),A},p.prototype._print_custom_beatifier_text=function(b,_,y){var A=this;if(_.text!==""){var S=_.text,U,D=1,M="",x="";y.custom_beautifier_name==="javascript"&&typeof this._js_beautify=="function"?U=this._js_beautify:y.custom_beautifier_name==="css"&&typeof this._css_beautify=="function"?U=this._css_beautify:y.custom_beautifier_name==="html"&&(U=function(E,L){var N=new p(E,L,A._js_beautify,A._css_beautify);return N.beautify()}),this._options.indent_scripts==="keep"?D=0:this._options.indent_scripts==="separate"&&(D=-b.indent_level);var $=b.get_full_indent(D);if(S=S.replace(/\n[ \t]*$/,""),y.custom_beautifier_name!=="html"&&S[0]==="<"&&S.match(/^(|]]>)$/.exec(S);if(!u){b.add_raw_token(_);return}M=$+u[1]+` -`,S=u[4],u[5]&&(x=$+u[5]),S=S.replace(/\n[ \t]*$/,""),(u[2]||u[3].indexOf(` -`)!==-1)&&(u=u[3].match(/[ \t]+$/),u&&(_.whitespace_before=u[0]))}if(S)if(U){var O=function(){this.eol=` -`};O.prototype=this._options.raw_options;var V=new O;S=U($+S,V)}else{var ne=_.whitespace_before;ne&&(S=S.replace(new RegExp(` -(`+ne+")?","g"),` -`)),S=$+S.replace(/\n/g,` -`+$)}M&&(S?S=M+S+` -`+x:S=M+x),b.print_newline(!1),S&&(_.text=S,_.whitespace_before="",_.newlines=0,b.add_raw_token(_),b.print_newline(!0))}},p.prototype._handle_tag_open=function(b,_,y,A,S){var U=this._get_tag_open_token(_);if((y.is_unformatted||y.is_content_unformatted)&&!y.is_empty_element&&_.type===a.TAG_OPEN&&!U.is_start_tag?(b.add_raw_token(_),U.start_tag_token=this._tag_stack.try_pop(U.tag_name)):(b.traverse_whitespace(_),this._set_tag_position(b,_,U,y,A),U.is_inline_element||b.set_wrap_point(),b.print_token(_)),U.is_start_tag&&this._is_wrap_attributes_force){var D=0,M;do M=S.peek(D),M.type===a.ATTRIBUTE&&(U.attr_count+=1),D+=1;while(M.type!==a.EOF&&M.type!==a.TAG_CLOSE)}return(this._is_wrap_attributes_force_aligned||this._is_wrap_attributes_aligned_multiple||this._is_wrap_attributes_preserve_aligned)&&(U.alignment_size=_.text.length+1),!U.tag_complete&&!U.is_unformatted&&(b.alignment_size=U.alignment_size),U};var k=function(b,_){if(this.parent=b||null,this.text="",this.type="TK_TAG_OPEN",this.tag_name="",this.is_inline_element=!1,this.is_unformatted=!1,this.is_content_unformatted=!1,this.is_empty_element=!1,this.is_start_tag=!1,this.is_end_tag=!1,this.indent_content=!1,this.multiline_content=!1,this.custom_beautifier_name=null,this.start_tag_token=null,this.attr_count=0,this.has_wrapped_attrs=!1,this.alignment_size=0,this.tag_complete=!1,this.tag_start_char="",this.tag_check="",!_)this.tag_complete=!0;else{var y;this.tag_start_char=_.text[0],this.text=_.text,this.tag_start_char==="<"?(y=_.text.match(/^<([^\s>]*)/),this.tag_check=y?y[1]:""):(y=_.text.match(/^{{~?(?:[\^]|#\*?)?([^\s}]+)/),this.tag_check=y?y[1]:"",(_.text.startsWith("{{#>")||_.text.startsWith("{{~#>"))&&this.tag_check[0]===">"&&(this.tag_check===">"&&_.next!==null?this.tag_check=_.next.text.split(" ")[0]:this.tag_check=_.text.split(">")[1])),this.tag_check=this.tag_check.toLowerCase(),_.type===a.COMMENT&&(this.tag_complete=!0),this.is_start_tag=this.tag_check.charAt(0)!=="/",this.tag_name=this.is_start_tag?this.tag_check:this.tag_check.substr(1),this.is_end_tag=!this.is_start_tag||_.closed&&_.closed.text==="/>";var A=2;this.tag_start_char==="{"&&this.text.length>=3&&this.text.charAt(2)==="~"&&(A=3),this.is_end_tag=this.is_end_tag||this.tag_start_char==="{"&&(this.text.length<3||/[^#\^]/.test(this.text.charAt(A)))}};p.prototype._get_tag_open_token=function(b){var _=new k(this._tag_stack.get_parser_token(),b);return _.alignment_size=this._options.wrap_attributes_indent_size,_.is_end_tag=_.is_end_tag||v(_.tag_check,this._options.void_elements),_.is_empty_element=_.tag_complete||_.is_start_tag&&_.is_end_tag,_.is_unformatted=!_.tag_complete&&v(_.tag_check,this._options.unformatted),_.is_content_unformatted=!_.is_empty_element&&v(_.tag_check,this._options.content_unformatted),_.is_inline_element=v(_.tag_name,this._options.inline)||this._options.inline_custom_elements&&_.tag_name.includes("-")||_.tag_start_char==="{",_},p.prototype._set_tag_position=function(b,_,y,A,S){if(y.is_empty_element||(y.is_end_tag?y.start_tag_token=this._tag_stack.try_pop(y.tag_name):(this._do_optional_end_element(y)&&(y.is_inline_element||b.print_newline(!1)),this._tag_stack.record_tag(y),(y.tag_name==="script"||y.tag_name==="style")&&!(y.is_unformatted||y.is_content_unformatted)&&(y.custom_beautifier_name=l(y.tag_check,_)))),v(y.tag_check,this._options.extra_liners)&&(b.print_newline(!1),b._output.just_added_blankline()||b.print_newline(!0)),y.is_empty_element){if(y.tag_start_char==="{"&&y.tag_check==="else"){this._tag_stack.indent_to_tag(["if","unless","each"]),y.indent_content=!0;var U=b.current_line_has_match(/{{#if/);U||b.print_newline(!1)}y.tag_name==="!--"&&S.type===a.TAG_CLOSE&&A.is_end_tag&&y.text.indexOf(` -`)===-1||(y.is_inline_element||y.is_unformatted||b.print_newline(!1),this._calcluate_parent_multiline(b,y))}else if(y.is_end_tag){var D=!1;D=y.start_tag_token&&y.start_tag_token.multiline_content,D=D||!y.is_inline_element&&!(A.is_inline_element||A.is_unformatted)&&!(S.type===a.TAG_CLOSE&&y.start_tag_token===A)&&S.type!=="TK_CONTENT",(y.is_content_unformatted||y.is_unformatted)&&(D=!1),D&&b.print_newline(!1)}else y.indent_content=!y.custom_beautifier_name,y.tag_start_char==="<"&&(y.tag_name==="html"?y.indent_content=this._options.indent_inner_html:y.tag_name==="head"?y.indent_content=this._options.indent_head_inner_html:y.tag_name==="body"&&(y.indent_content=this._options.indent_body_inner_html)),!(y.is_inline_element||y.is_unformatted)&&(S.type!=="TK_CONTENT"||y.is_content_unformatted)&&b.print_newline(!1),this._calcluate_parent_multiline(b,y)},p.prototype._calcluate_parent_multiline=function(b,_){_.parent&&b._output.just_added_newline()&&!((_.is_inline_element||_.is_unformatted)&&_.parent.is_inline_element)&&(_.parent.multiline_content=!0)};var P=["address","article","aside","blockquote","details","div","dl","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hr","main","menu","nav","ol","p","pre","section","table","ul"],R=["a","audio","del","ins","map","noscript","video"];return p.prototype._do_optional_end_element=function(b){var _=null;if(!(b.is_empty_element||!b.is_start_tag||!b.parent)){if(b.tag_name==="body")_=_||this._tag_stack.try_pop("head");else if(b.tag_name==="li")_=_||this._tag_stack.try_pop("li",["ol","ul","menu"]);else if(b.tag_name==="dd"||b.tag_name==="dt")_=_||this._tag_stack.try_pop("dt",["dl"]),_=_||this._tag_stack.try_pop("dd",["dl"]);else if(b.parent.tag_name==="p"&&P.indexOf(b.tag_name)!==-1){var y=b.parent.parent;(!y||R.indexOf(y.tag_name)===-1)&&(_=_||this._tag_stack.try_pop("p"))}else b.tag_name==="rp"||b.tag_name==="rt"?(_=_||this._tag_stack.try_pop("rt",["ruby","rtc"]),_=_||this._tag_stack.try_pop("rp",["ruby","rtc"])):b.tag_name==="optgroup"?_=_||this._tag_stack.try_pop("optgroup",["select"]):b.tag_name==="option"?_=_||this._tag_stack.try_pop("option",["select","datalist","optgroup"]):b.tag_name==="colgroup"?_=_||this._tag_stack.try_pop("caption",["table"]):b.tag_name==="thead"?(_=_||this._tag_stack.try_pop("caption",["table"]),_=_||this._tag_stack.try_pop("colgroup",["table"])):b.tag_name==="tbody"||b.tag_name==="tfoot"?(_=_||this._tag_stack.try_pop("caption",["table"]),_=_||this._tag_stack.try_pop("colgroup",["table"]),_=_||this._tag_stack.try_pop("thead",["table"]),_=_||this._tag_stack.try_pop("tbody",["table"])):b.tag_name==="tr"?(_=_||this._tag_stack.try_pop("caption",["table"]),_=_||this._tag_stack.try_pop("colgroup",["table"]),_=_||this._tag_stack.try_pop("tr",["table","thead","tbody","tfoot"])):(b.tag_name==="th"||b.tag_name==="td")&&(_=_||this._tag_stack.try_pop("td",["table","thead","tbody","tfoot","tr"]),_=_||this._tag_stack.try_pop("th",["table","thead","tbody","tfoot","tr"]));return b.parent=this._tag_stack.get_parser_token(),_}},Xn.Beautifier=p,Xn}var zs;function Ch(){if(zs)return tn.exports;zs=1;var e=Ih().Beautifier,n=oo().Options;function t(a,r,s,i){var o=new e(a,r,s,i);return o.beautify()}return tn.exports=t,tn.exports.defaultOptions=function(){return new n},tn.exports}var Us;function Rh(){if(Us)return Ia;Us=1;var e=Eh(),n=Ah(),t=Ch();function a(r,s,i,o){return i=i||e,o=o||n,t(r,s,i,o)}return a.defaultOptions=t.defaultOptions,Ia.js=e,Ia.css=n,Ia.html=a,Ia}(function(e){function n(t,a,r){var s=function(i,o){return t.js_beautify(i,o)};return s.js=t.js_beautify,s.css=a.css_beautify,s.html=r.html_beautify,s.js_beautify=t.js_beautify,s.css_beautify=a.css_beautify,s.html_beautify=r.html_beautify,s}(function(t){var a=Rh();a.js_beautify=a.js,a.css_beautify=a.css,a.html_beautify=a.html,t.exports=n(a,a,a)})(e)})(to);var Nh=to.exports,Vh=Mh(Nh),lo=function(){function e(n){var t=this;this.isDisabled=function(){var a=["BUTTON","COMMAND","FIELDSET","KEYGEN","OPTGROUP","OPTION","SELECT","TEXTAREA","INPUT"],r=t.attributes().disabled!==void 0,s=Aa(t.element)&&a.includes(t.element.tagName);return r&&s},this.wrapperElement=n}return Object.defineProperty(e.prototype,"element",{get:function(){return this.wrapperElement},enumerable:!1,configurable:!0}),e.prototype.findAllDOMElements=function(n){var t=this.getRootNodes().filter(Aa);if(t.length===0)return[];var a=Hi([],t.filter(function(r){return r.matches(n)}));return t.forEach(function(r){a.push.apply(a,Array.from(r.querySelectorAll(n)))}),a},e.prototype.find=function(n){if(typeof n=="object"&&"ref"in n){var t=this.getCurrentComponent();if(!t)return Xt("DOMWrapper");var a=t.refs[n.ref];return Array.isArray(a)&&(a=a.length?a[0]:void 0),a instanceof Node?Ya(a):Xt("DOMWrapper")}var r=this.findAll(n);return r.length>0?r[0]:Xt("DOMWrapper")},e.prototype.findComponent=function(n){var t=this.getCurrentComponent();if(!t)return Xt("VueWrapper");if(typeof n=="object"&&"ref"in n){var a=t.refs[n.ref];return Array.isArray(a)&&(a=a.length?a[0]:void 0),a&&!(a instanceof HTMLElement)?Nn(null,a):Xt("VueWrapper")}if(Zi(t.vnode,n)&&this.element.contains(t.vnode.el))return Nn(null,t.subTree.component?t.subTree.component.proxy:t.proxy);var r=this.findAllComponents(n)[0];return r??Xt("VueWrapper")},e.prototype.findAllComponents=function(n){var t=this.getCurrentComponent();if(!t)return[];var a=wh(t.subTree,n);return a.map(function(r){return r.proxy?Nn(null,r.proxy):Ya(r.vnode.el)})},e.prototype.html=function(n){var t=this.getRootNodes().map(function(a){return Th(a)});return n!=null&&n.raw?t.join(""):t.map(function(a){return Vh.html(a,{unformatted:["code","pre","em","strong","span"],indent_inner_html:!0,indent_size:2,inline_custom_elements:!1})}).join(` -`)},e.prototype.classes=function(n){var t=Aa(this.element)?Array.from(this.element.classList):[];return n?t.includes(n):t},e.prototype.attributes=function(n){var t={};if(Aa(this.element))for(var a=Array.from(this.element.attributes),r=0,s=a;r element.`);return t===a.checked?[2]:(a.checked=t,this.trigger("input"),[2,this.trigger("change")])})})},n.prototype.setValue=function(t){var a=this.element,r=a.tagName,s=this.attributes().type;if(r==="OPTION")return this.setSelected(),Promise.resolve();if(r==="INPUT"&&s==="checkbox")return this.setChecked(t);if(r==="INPUT"&&s==="radio")return this.setChecked(t);if(r==="SELECT"){if(Array.isArray(t))for(var i=a,o=0;oe<10?`0${e}`:e,Gs=(e,n,t,a,r,s)=>{const i=fr(e,n.slice(0,e.length),new Date,{locale:s});return Va(i)&&gi(i)?a||r?i:Fe(i,{hours:+t.hours,minutes:+(t==null?void 0:t.minutes),seconds:+(t==null?void 0:t.seconds),milliseconds:0}):null},Hh=(e,n,t,a,r,s)=>{const i=Array.isArray(t)?t[0]:t;if(typeof n=="string")return Gs(e,n,i,a,r,s);if(Array.isArray(n)){let o=null;for(const l of n)if(o=Gs(e,l,i,a,r,s),o)break;return o}return typeof n=="function"?n(e):null},se=e=>e?new Date(e):new Date,zh=(e,n,t)=>{if(n){const r=(e.getMonth()+1).toString().padStart(2,"0"),s=e.getDate().toString().padStart(2,"0"),i=e.getHours().toString().padStart(2,"0"),o=e.getMinutes().toString().padStart(2,"0"),l=t?e.getSeconds().toString().padStart(2,"0"):"00";return`${e.getFullYear()}-${r}-${s}T${i}:${o}:${l}.000Z`}const a=Date.UTC(e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate(),e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds());return new Date(a).toISOString()},dt=(e,n)=>{const t=se(JSON.parse(JSON.stringify(e))),a=Fe(t,{hours:0,minutes:0,seconds:0,milliseconds:0});return n?dr(a):a},Jt=(e,n,t,a)=>{let r=e?se(e):se();return(n||n===0)&&(r=If(r,+n)),(t||t===0)&&(r=Cf(r,+t)),(a||a===0)&&(r=Ci(r,+a)),Ii(r,0)},qe=(e,n)=>!e||!n?!1:Ta(dt(e),dt(n)),Re=(e,n)=>!e||!n?!1:ia(dt(e),dt(n)),Je=(e,n)=>!e||!n?!1:da(dt(e),dt(n)),ja=(e,n,t)=>e!=null&&e[0]&&e!=null&&e[1]?Je(t,e[0])&&qe(t,e[1]):e!=null&&e[0]&&n?Je(t,e[0])&&qe(t,n)||qe(t,e[0])&&Je(t,n):!1,Mt=e=>{const n=Fe(new Date(e),{date:1});return dt(n)},Qn=(e,n,t)=>n&&(t||t===0)?Object.fromEntries(["hours","minutes","seconds"].map(a=>a===n?[a,t]:[a,isNaN(+e[a])?void 0:+e[a]])):{hours:isNaN(+e.hours)?void 0:+e.hours,minutes:isNaN(+e.minutes)?void 0:+e.minutes,seconds:isNaN(+e.seconds)?void 0:+e.seconds},la=e=>({hours:Yt(e),minutes:ea(e),seconds:Da(e)}),co=(e,n)=>{if(n){const t=$e(se(n));if(t>e)return 12;if(t===e)return Ee(se(n))}},_o=(e,n)=>{if(n){const t=$e(se(n));return t{if(e)return $e(se(e))},po=(e,n)=>{const t=Je(e,n)?n:e,a=Je(n,e)?n:e;return ki({start:t,end:a})},Uh=e=>{const n=kt(e,1);return{month:Ee(n),year:$e(n)}},Bt=(e,n)=>{const t=Pt(e,{weekStartsOn:+n}),a=wi(e,{weekStartsOn:+n});return[t,a]},fo=(e,n)=>{const t={hours:Yt(se()),minutes:ea(se()),seconds:n?Da(se()):0};return Object.assign(t,e)},Qt=(e,n,t)=>[Fe(se(e),{date:1}),Fe(se(),{month:n,year:t,date:1})],Wt=(e,n,t)=>{let a=e?se(e):se();return(n||n===0)&&(a=Ai(a,n)),t&&(a=Nt(a,t)),a},ho=(e,n,t,a,r)=>{if(!a||r&&!n||!r&&!t)return!1;const s=r?kt(e,1):jt(e,1),i=[Ee(s),$e(s)];return r?!Kh(...i,n):!Gh(...i,t)},Gh=(e,n,t)=>qe(...Qt(t,e,n))||Re(...Qt(t,e,n)),Kh=(e,n,t)=>Je(...Qt(t,e,n))||Re(...Qt(t,e,n)),mo=(e,n,t,a,r,s,i)=>{if(typeof n=="function"&&!i)return n(e);const o=t?{locale:t}:void 0;return Array.isArray(e)?`${wt(e[0],s,o)}${r&&!e[1]?"":a}${e[1]?wt(e[1],s,o):""}`:wt(e,s,o)},va=e=>{if(e)return null;throw new Error(Fr.prop("partial-range"))},nn=(e,n)=>{if(n)return e();throw new Error(Fr.prop("range"))},br=e=>Array.isArray(e)?Va(e[0])&&(e[1]?Va(e[1]):!0):e?Va(e):!1,Xh=(e,n)=>Fe(n??se(),{hours:+e.hours||0,minutes:+e.minutes||0,seconds:+e.seconds||0}),Zn=(e,n,t,a)=>{if(!e)return!0;if(a){const r=t==="max"?Ta(e,n):da(e,n),s={seconds:0,milliseconds:0};return r||ia(Fe(e,s),Fe(n,s))}return t==="max"?e.getTime()<=n.getTime():e.getTime()>=n.getTime()},Jn=(e,n,t)=>e?Xh(e,n):se(t??n),Ks=(e,n,t,a,r)=>{if(Array.isArray(a)){const i=Jn(e,a[0],n),o=Jn(e,a[1],n);return Zn(a[0],i,t,!!n)&&Zn(a[1],o,t,!!n)&&r}const s=Jn(e,a,n);return Zn(a,s,t,!!n)&&r},er=e=>Fe(se(),la(e)),qh=(e,n,t)=>{if(e instanceof Map){const a=`${uo(t+1)}-${n}`;return e.size?e.has(a):!1}return!1},Qh=(e,n,t)=>{if(e instanceof Map){const a=`${uo(t+1)}-${n}`;return e.size?e.has(a):!0}return!0},vo=(e,n,t)=>typeof e=="function"?e({month:n,year:t}):!!e.months.find(a=>a.month===n&&a.year===t),qr=(e,n)=>typeof e=="function"?e(n):e.years.includes(n),gr=e=>`dp-${wt(e,"yyyy-MM-dd")}`,Xs=(e,n)=>{const t=Rr(dt(n),e),a=rt(dt(n),e);return{before:t,after:a}},Ra=Fa({menuFocused:!1,shiftKeyInMenu:!1}),bo=()=>{const e=t=>{Ra.menuFocused=t},n=t=>{Ra.shiftKeyInMenu!==t&&(Ra.shiftKeyInMenu=t)};return{control:B(()=>({shiftKeyInMenu:Ra.shiftKeyInMenu,menuFocused:Ra.menuFocused})),setMenuFocused:e,setShiftKey:n}},He=Fa({monthYear:[],calendar:[],time:[],actionRow:[],selectionGrid:[],timePicker:{0:[],1:[]},monthPicker:[]}),tr=Y(null),rn=Y(!1),ar=Y(!1),nr=Y(!1),rr=Y(!1),_t=Y(0),Ze=Y(0),aa=()=>{const e=B(()=>rn.value?[...He.selectionGrid,He.actionRow].filter(d=>d.length):ar.value?[...He.timePicker[0],...He.timePicker[1],rr.value?[]:[tr.value],He.actionRow].filter(d=>d.length):nr.value?[...He.monthPicker,He.actionRow]:[He.monthYear,...He.calendar,He.time,He.actionRow].filter(d=>d.length)),n=d=>{_t.value=d?_t.value+1:_t.value-1;let p=null;e.value[Ze.value]&&(p=e.value[Ze.value][_t.value]),!p&&e.value[Ze.value+(d?1:-1)]?(Ze.value=Ze.value+(d?1:-1),_t.value=d?0:e.value[Ze.value].length-1):p||(_t.value=d?_t.value-1:_t.value+1)},t=d=>{Ze.value===0&&!d||Ze.value===e.value.length&&d||(Ze.value=d?Ze.value+1:Ze.value-1,e.value[Ze.value]?e.value[Ze.value]&&!e.value[Ze.value][_t.value]&&_t.value!==0&&(_t.value=e.value[Ze.value].length-1):Ze.value=d?Ze.value-1:Ze.value+1)},a=d=>{let p=null;e.value[Ze.value]&&(p=e.value[Ze.value][_t.value]),p?p.focus({preventScroll:!rn.value}):_t.value=d?_t.value-1:_t.value+1},r=()=>{n(!0),a(!0)},s=()=>{n(!1),a(!1)},i=()=>{t(!1),a(!0)},o=()=>{t(!0),a(!0)},l=(d,p)=>{He[p]=d},v=(d,p)=>{He[p]=d},m=()=>{_t.value=0,Ze.value=0};return{buildMatrix:l,buildMultiLevelMatrix:v,setTimePickerBackRef:d=>{tr.value=d},setSelectionGrid:d=>{rn.value=d,m(),d||(He.selectionGrid=[])},setTimePicker:(d,p=!1)=>{ar.value=d,rr.value=p,m(),d||(He.timePicker[0]=[],He.timePicker[1]=[])},setTimePickerElements:(d,p=0)=>{He.timePicker[p]=d},arrowRight:r,arrowLeft:s,arrowUp:i,arrowDown:o,clearArrowNav:()=>{He.monthYear=[],He.calendar=[],He.time=[],He.actionRow=[],He.selectionGrid=[],He.timePicker[0]=[],He.timePicker[1]=[],rn.value=!1,ar.value=!1,rr.value=!1,nr.value=!1,m(),tr.value=null},setMonthPicker:d=>{nr.value=d,m()},refSets:He}},qs=e=>({menuAppearTop:"dp-menu-appear-top",menuAppearBottom:"dp-menu-appear-bottom",open:"dp-slide-down",close:"dp-slide-up",next:"calendar-next",previous:"calendar-prev",vNext:"dp-slide-up",vPrevious:"dp-slide-down",...e??{}}),Zh=e=>({toggleOverlay:"Toggle overlay",menu:"Datepicker menu",input:"Datepicker input",openTimePicker:"Open time picker",closeTimePicker:"Close time Picker",incrementValue:n=>`Increment ${n}`,decrementValue:n=>`Decrement ${n}`,openTpOverlay:n=>`Open ${n} overlay`,amPmButton:"Switch AM/PM mode",openYearsOverlay:"Open years overlay",openMonthsOverlay:"Open months overlay",nextMonth:"Next month",prevMonth:"Previous month",nextYear:"Next year",prevYear:"Previous year",day:void 0,weekDay:void 0,clearInput:"Clear value",calendarIcon:"Calendar icon",timePicker:"Time picker",monthPicker:n=>`Month picker${n?" overlay":""}`,yearPicker:n=>`Year picker${n?" overlay":""}`,timeOverlay:n=>`${n} overlay`,...e??{}}),Qs=e=>e?typeof e=="boolean"?e?2:0:+e>=2?+e:2:0,Jh=e=>{const n=typeof e=="object"&&e,t={static:!0,solo:!1};if(!e)return{...t,count:Qs(!1)};const a=n?e:{},r=n?a.count??!0:e,s=Qs(r);return Object.assign(t,a,{count:s})},em=(e,n,t)=>e||(typeof t=="string"?t:n),tm=e=>typeof e=="boolean"?e?qs({}):!1:qs(e),am=e=>{const n={enterSubmit:!0,tabSubmit:!0,openMenu:"open",selectOnFocus:!1,rangeSeparator:" - ",escClose:!0};return typeof e=="object"?{...n,...e??{},enabled:!0}:{...n,enabled:e}},nm=e=>({months:[],years:[],times:{hours:[],minutes:[],seconds:[]},...e??{}}),rm=e=>({showSelect:!0,showCancel:!0,showNow:!1,showPreview:!0,...e??{}}),sm=e=>{const n={input:!1};return typeof e=="object"?{...n,...e??{},enabled:!0}:{enabled:e,...n}},im=e=>({allowStopPropagation:!0,closeOnScroll:!1,modeHeight:255,allowPreventDefault:!1,closeOnClearValue:!0,closeOnAutoApply:!0,noSwipe:!1,keepActionRow:!1,onClickOutside:void 0,tabOutClosesMenu:!0,arrowLeft:void 0,keepViewOnOffsetClick:!1,timeArrowHoldThreshold:0,shadowDom:!1,mobileBreakpoint:600,setDateOnMenuClose:!1,...e??{}}),om=e=>{const n={dates:Array.isArray(e)?e.map(t=>se(t)):[],years:[],months:[],quarters:[],weeks:[],weekdays:[],options:{highlightDisabled:!1}};return typeof e=="function"?e:{...n,...e??{}}},lm=e=>typeof e=="object"?{type:(e==null?void 0:e.type)??"local",hideOnOffsetDates:(e==null?void 0:e.hideOnOffsetDates)??!1}:{type:e,hideOnOffsetDates:!1},um=e=>{const n={noDisabledRange:!1,showLastInRange:!0,minMaxRawRange:!1,partialRange:!0,disableTimeRangeValidation:!1,maxRange:void 0,minRange:void 0,autoRange:void 0,fixedStart:!1,fixedEnd:!1};return typeof e=="object"?{enabled:!0,...n,...e}:{enabled:e,...n}},cm=e=>e?typeof e=="string"?{timezone:e,exactMatch:!1,dateInTz:void 0,emitTimezone:void 0,convertModel:!0}:{timezone:e.timezone,exactMatch:e.exactMatch??!1,dateInTz:e.dateInTz??void 0,emitTimezone:e.emitTimezone??void 0,convertModel:e.convertModel??!0}:{timezone:void 0,exactMatch:!1,emitTimezone:void 0},sr=(e,n,t,a)=>new Map(e.map(r=>{const s=Yr(r,n,a);return[Hr(s,t),s]})),dm=(e,n)=>e.length?new Map(e.map(t=>{const a=Yr(t.date,n);return[Hr(a,ka.DATE),t]})):null,_m=e=>{var n;const t=Xf(e.isMonthPicker,e.isYearPicker);return{minDate:hr(e.minDate,e.timezone,e.isSpecific),maxDate:hr(e.maxDate,e.timezone,e.isSpecific),disabledDates:Rn(e.disabledDates)?sr(e.disabledDates,e.timezone,t,e.isSpecific):e.disabledDates,allowedDates:Rn(e.allowedDates)?sr(e.allowedDates,e.timezone,t,e.isSpecific):null,highlight:typeof e.highlight=="object"&&Rn((n=e.highlight)==null?void 0:n.dates)?sr(e.highlight.dates,e.timezone,t):e.highlight,markers:dm(e.markers,e.timezone)}},pm=e=>typeof e=="boolean"?{enabled:e,dragSelect:!0,limit:null}:{enabled:!!e,limit:e.limit?+e.limit:null,dragSelect:e.dragSelect??!0},fm=e=>({...Object.fromEntries(Object.keys(e).map(n=>{const t=n,a=e[t],r=typeof e[t]=="string"?{[a]:!0}:Object.fromEntries(a.map(s=>[s,!0]));return[n,r]}))}),Ke=e=>{const n=()=>{const D=e.enableSeconds?":ss":"",M=e.enableMinutes?":mm":"";return e.is24?`HH${M}${D}`:`hh${M}${D} aa`},t=()=>{var D;return e.format?e.format:e.monthPicker?"MM/yyyy":e.timePicker?n():e.weekPicker?`${((D=b.value)==null?void 0:D.type)==="iso"?"II":"ww"}-RR`:e.yearPicker?"yyyy":e.quarterPicker?"QQQ/yyyy":e.enableTimePicker?`MM/dd/yyyy, ${n()}`:"MM/dd/yyyy"},a=D=>fo(D,e.enableSeconds),r=()=>S.value.enabled?e.startTime&&Array.isArray(e.startTime)?[a(e.startTime[0]),a(e.startTime[1])]:null:e.startTime&&!Array.isArray(e.startTime)?a(e.startTime):null,s=B(()=>Jh(e.multiCalendars)),i=B(()=>r()),o=B(()=>Zh(e.ariaLabels)),l=B(()=>nm(e.filters)),v=B(()=>tm(e.transitions)),m=B(()=>rm(e.actionRow)),d=B(()=>em(e.previewFormat,e.format,t())),p=B(()=>am(e.textInput)),k=B(()=>sm(e.inline)),P=B(()=>im(e.config)),R=B(()=>om(e.highlight)),b=B(()=>lm(e.weekNumbers)),_=B(()=>cm(e.timezone)),y=B(()=>pm(e.multiDates)),A=B(()=>_m({minDate:e.minDate,maxDate:e.maxDate,disabledDates:e.disabledDates,allowedDates:e.allowedDates,highlight:R.value,markers:e.markers,timezone:_.value,isSpecific:e.monthPicker||e.yearPicker||e.quarterPicker,isMonthPicker:e.monthPicker,isYearPicker:e.yearPicker})),S=B(()=>um(e.range)),U=B(()=>fm(e.ui));return{defaultedTransitions:v,defaultedMultiCalendars:s,defaultedStartTime:i,defaultedAriaLabels:o,defaultedFilters:l,defaultedActionRow:m,defaultedPreviewFormat:d,defaultedTextInput:p,defaultedInline:k,defaultedConfig:P,defaultedHighlight:R,defaultedWeekNumbers:b,defaultedRange:S,propDates:A,defaultedTz:_,defaultedMultiDates:y,defaultedUI:U,getDefaultPattern:t,getDefaultStartTime:r}},hm=(e,n,t)=>{const a=Y(),{defaultedTextInput:r,defaultedRange:s,defaultedTz:i,defaultedMultiDates:o,getDefaultPattern:l}=Ke(n),v=Y(""),m=Ba(n,"format"),d=Ba(n,"formatLocale");at(a,()=>{typeof n.onInternalModelChange=="function"&&e("internal-model-change",a.value,ie(!0))},{deep:!0}),at(s,(h,X)=>{h.enabled!==X.enabled&&(a.value=null)}),at(m,()=>{le()});const p=h=>i.value.timezone&&i.value.convertModel?gt(h,i.value.timezone):h,k=h=>{if(i.value.timezone&&i.value.convertModel){const X=Lf(i.value.timezone,h);return N_(h,X)}return h},P=(h,X,me=!1)=>mo(h,n.format,n.formatLocale,r.value.rangeSeparator,n.modelAuto,X??l(),me),R=h=>h?n.modelType?he(h):{hours:Yt(h),minutes:ea(h),seconds:n.enableSeconds?Da(h):0}:null,b=h=>n.modelType?he(h):{month:Ee(h),year:$e(h)},_=h=>Array.isArray(h)?o.value.enabled?h.map(X=>y(X,Nt(se(),X))):nn(()=>[Nt(se(),h[0]),h[1]?Nt(se(),h[1]):va(s.value.partialRange)],s.value.enabled):Nt(se(),+h),y=(h,X)=>(typeof h=="string"||typeof h=="number")&&n.modelType?Q(h):X,A=h=>Array.isArray(h)?[y(h[0],Jt(null,+h[0].hours,+h[0].minutes,h[0].seconds)),y(h[1],Jt(null,+h[1].hours,+h[1].minutes,h[1].seconds))]:y(h,Jt(null,h.hours,h.minutes,h.seconds)),S=h=>{const X=Fe(se(),{date:1});return Array.isArray(h)?o.value.enabled?h.map(me=>y(me,Wt(X,+me.month,+me.year))):nn(()=>[y(h[0],Wt(X,+h[0].month,+h[0].year)),y(h[1],h[1]?Wt(X,+h[1].month,+h[1].year):va(s.value.partialRange))],s.value.enabled):y(h,Wt(X,+h.month,+h.year))},U=h=>{if(Array.isArray(h))return h.map(X=>Q(X));throw new Error(Fr.dateArr("multi-dates"))},D=h=>{if(Array.isArray(h)&&s.value.enabled){const X=h[0],me=h[1];return[se(Array.isArray(X)?X[0]:null),Array.isArray(me)&&me.length?se(me[0]):null]}return se(h[0])},M=h=>n.modelAuto?Array.isArray(h)?[Q(h[0]),Q(h[1])]:n.autoApply?[Q(h)]:[Q(h),null]:Array.isArray(h)?nn(()=>h[1]?[Q(h[0]),h[1]?Q(h[1]):va(s.value.partialRange)]:[Q(h[0])],s.value.enabled):Q(h),x=()=>{Array.isArray(a.value)&&s.value.enabled&&a.value.length===1&&a.value.push(va(s.value.partialRange))},$=()=>{const h=a.value;return[he(h[0]),h[1]?he(h[1]):va(s.value.partialRange)]},u=()=>a.value[1]?$():he(lt(a.value[0])),O=()=>(a.value||[]).map(h=>he(h)),V=(h=!1)=>(h||x(),n.modelAuto?u():o.value.enabled?O():Array.isArray(a.value)?nn(()=>$(),s.value.enabled):he(lt(a.value))),ne=h=>!h||Array.isArray(h)&&!h.length?null:n.timePicker?A(lt(h)):n.monthPicker?S(lt(h)):n.yearPicker?_(lt(h)):o.value.enabled?U(lt(h)):n.weekPicker?D(lt(h)):M(lt(h)),E=h=>{const X=ne(h);br(lt(X))?(a.value=lt(X),le()):(a.value=null,v.value="")},L=()=>{const h=X=>wt(X,r.value.format);return`${h(a.value[0])} ${r.value.rangeSeparator} ${a.value[1]?h(a.value[1]):""}`},N=()=>t.value&&a.value?Array.isArray(a.value)?L():wt(a.value,r.value.format):P(a.value),J=()=>a.value?o.value.enabled?a.value.map(h=>P(h)).join("; "):r.value.enabled&&typeof r.value.format=="string"?N():P(a.value):"",le=()=>{!n.format||typeof n.format=="string"||r.value.enabled&&typeof r.value.format=="string"?v.value=J():v.value=n.format(a.value)},Q=h=>{if(n.utc){const X=new Date(h);return n.utc==="preserve"?new Date(X.getTime()+X.getTimezoneOffset()*6e4):X}return n.modelType?Bf.includes(n.modelType)?p(new Date(h)):n.modelType==="format"&&(typeof n.format=="string"||!n.format)?p(fr(h,l(),new Date,{locale:d.value})):p(fr(h,n.modelType,new Date,{locale:d.value})):p(new Date(h))},he=h=>h?n.utc?zh(h,n.utc==="preserve",n.enableSeconds):n.modelType?n.modelType==="timestamp"?+k(h):n.modelType==="iso"?k(h).toISOString():n.modelType==="format"&&(typeof n.format=="string"||!n.format)?P(k(h)):P(k(h),n.modelType,!0):k(h):"",z=(h,X=!1,me=!1)=>{if(me)return h;if(e("update:model-value",h),i.value.emitTimezone&&X){const Ge=Array.isArray(h)?h.map(K=>gt(lt(K),i.value.emitTimezone)):gt(lt(h),i.value.emitTimezone);e("update:model-timezone-value",Ge)}},ee=h=>Array.isArray(a.value)?o.value.enabled?a.value.map(X=>h(X)):[h(a.value[0]),a.value[1]?h(a.value[1]):va(s.value.partialRange)]:h(lt(a.value)),F=()=>{if(Array.isArray(a.value)){const h=Bt(a.value[0],n.weekStart),X=a.value[1]?Bt(a.value[1],n.weekStart):[];return[h.map(me=>se(me)),X.map(me=>se(me))]}return Bt(a.value,n.weekStart).map(h=>se(h))},G=(h,X)=>z(lt(ee(h)),!1,X),Z=h=>{const X=F();return h?X:e("update:model-value",F())},ie=(h=!1)=>(h||le(),n.monthPicker?G(b,h):n.timePicker?G(R,h):n.yearPicker?G($e,h):n.weekPicker?Z(h):z(V(h),!0,h));return{inputValue:v,internalModelValue:a,checkBeforeEmit:()=>a.value?s.value.enabled?s.value.partialRange?a.value.length>=1:a.value.length===2:!!a.value:!1,parseExternalModelValue:E,formatInputValue:le,emitModelValue:ie}},mm=(e,n)=>{const{defaultedFilters:t,propDates:a}=Ke(e),{validateMonthYearInRange:r}=na(e),s=(m,d)=>{let p=m;return t.value.months.includes(Ee(p))?(p=d?kt(m,1):jt(m,1),s(p,d)):p},i=(m,d)=>{let p=m;return t.value.years.includes($e(p))?(p=d?$r(m,1):Ri(m,1),i(p,d)):p},o=(m,d=!1)=>{const p=Fe(se(),{month:e.month,year:e.year});let k=m?kt(p,1):jt(p,1);e.disableYearSelect&&(k=Nt(k,e.year));let P=Ee(k),R=$e(k);t.value.months.includes(P)&&(k=s(k,m),P=Ee(k),R=$e(k)),t.value.years.includes(R)&&(k=i(k,m),R=$e(k)),r(P,R,m,e.preventMinMaxNavigation)&&l(P,R,d)},l=(m,d,p)=>{n("update-month-year",{month:m,year:d,fromNav:p})},v=B(()=>m=>ho(Fe(se(),{month:e.month,year:e.year}),a.value.maxDate,a.value.minDate,e.preventMinMaxNavigation,m));return{handleMonthYearChange:o,isDisabled:v,updateMonthYear:l}},wn={multiCalendars:{type:[Boolean,Number,String,Object],default:void 0},modelValue:{type:[String,Date,Array,Object,Number],default:null},modelType:{type:String,default:null},position:{type:String,default:"center"},dark:{type:Boolean,default:!1},format:{type:[String,Function],default:()=>null},autoPosition:{type:[Boolean,String],default:!0},altPosition:{type:Function,default:null},transitions:{type:[Boolean,Object],default:!0},formatLocale:{type:Object,default:null},utc:{type:[Boolean,String],default:!1},ariaLabels:{type:Object,default:()=>({})},offset:{type:[Number,String],default:10},hideNavigation:{type:Array,default:()=>[]},timezone:{type:[String,Object],default:null},vertical:{type:Boolean,default:!1},disableMonthYearSelect:{type:Boolean,default:!1},disableYearSelect:{type:Boolean,default:!1},dayClass:{type:Function,default:null},yearRange:{type:Array,default:()=>[1900,2100]},enableTimePicker:{type:Boolean,default:!0},autoApply:{type:Boolean,default:!1},disabledDates:{type:[Array,Function],default:()=>[]},monthNameFormat:{type:String,default:"short"},startDate:{type:[Date,String],default:null},startTime:{type:[Object,Array],default:null},hideOffsetDates:{type:Boolean,default:!1},noToday:{type:Boolean,default:!1},disabledWeekDays:{type:Array,default:()=>[]},allowedDates:{type:Array,default:null},nowButtonLabel:{type:String,default:"Now"},markers:{type:Array,default:()=>[]},escClose:{type:Boolean,default:!0},spaceConfirm:{type:Boolean,default:!0},monthChangeOnArrows:{type:Boolean,default:!0},presetDates:{type:Array,default:()=>[]},flow:{type:Array,default:()=>[]},partialFlow:{type:Boolean,default:!1},preventMinMaxNavigation:{type:Boolean,default:!1},reverseYears:{type:Boolean,default:!1},weekPicker:{type:Boolean,default:!1},filters:{type:Object,default:()=>({})},arrowNavigation:{type:Boolean,default:!1},highlight:{type:[Function,Object],default:null},teleport:{type:[Boolean,String,Object],default:null},teleportCenter:{type:Boolean,default:!1},locale:{type:String,default:"en-Us"},weekNumName:{type:String,default:"W"},weekStart:{type:[Number,String],default:1},weekNumbers:{type:[String,Function,Object],default:null},monthChangeOnScroll:{type:[Boolean,String],default:!0},dayNames:{type:[Function,Array],default:null},monthPicker:{type:Boolean,default:!1},customProps:{type:Object,default:null},yearPicker:{type:Boolean,default:!1},modelAuto:{type:Boolean,default:!1},selectText:{type:String,default:"Select"},cancelText:{type:String,default:"Cancel"},previewFormat:{type:[String,Function],default:()=>""},multiDates:{type:[Object,Boolean],default:!1},ignoreTimeValidation:{type:Boolean,default:!1},minDate:{type:[Date,String],default:null},maxDate:{type:[Date,String],default:null},minTime:{type:Object,default:null},maxTime:{type:Object,default:null},name:{type:String,default:null},placeholder:{type:String,default:""},hideInputIcon:{type:Boolean,default:!1},clearable:{type:Boolean,default:!0},alwaysClearable:{type:Boolean,default:!1},state:{type:Boolean,default:null},required:{type:Boolean,default:!1},autocomplete:{type:String,default:"off"},timePicker:{type:Boolean,default:!1},enableSeconds:{type:Boolean,default:!1},is24:{type:Boolean,default:!0},noHoursOverlay:{type:Boolean,default:!1},noMinutesOverlay:{type:Boolean,default:!1},noSecondsOverlay:{type:Boolean,default:!1},hoursGridIncrement:{type:[String,Number],default:1},minutesGridIncrement:{type:[String,Number],default:5},secondsGridIncrement:{type:[String,Number],default:5},hoursIncrement:{type:[Number,String],default:1},minutesIncrement:{type:[Number,String],default:1},secondsIncrement:{type:[Number,String],default:1},range:{type:[Boolean,Object],default:!1},uid:{type:String,default:null},disabled:{type:Boolean,default:!1},readonly:{type:Boolean,default:!1},inline:{type:[Boolean,Object],default:!1},textInput:{type:[Boolean,Object],default:!1},sixWeeks:{type:[Boolean,String],default:!1},actionRow:{type:Object,default:()=>({})},focusStartDate:{type:Boolean,default:!1},disabledTimes:{type:[Function,Array],default:void 0},timePickerInline:{type:Boolean,default:!1},calendar:{type:Function,default:null},config:{type:Object,default:void 0},quarterPicker:{type:Boolean,default:!1},yearFirst:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},onInternalModelChange:{type:[Function,Object],default:null},enableMinutes:{type:Boolean,default:!0},ui:{type:Object,default:()=>({})}},$t={...wn,shadow:{type:Boolean,default:!1},flowStep:{type:Number,default:0},internalModelValue:{type:[Date,Array],default:null},noOverlayFocus:{type:Boolean,default:!1},collapse:{type:Boolean,default:!1},menuWrapRef:{type:Object,default:null},getInputRect:{type:Function,default:()=>({})},isTextInputDate:{type:Boolean,default:!1},isMobile:{type:Boolean,default:void 0}},vm=["title"],bm=["disabled"],gm=te({compatConfig:{MODE:3},__name:"ActionRow",props:{menuMount:{type:Boolean,default:!1},calendarWidth:{type:Number,default:0},...$t},emits:["close-picker","select-date","select-now","invalid-select"],setup(e,{emit:n}){const t=n,a=e,{defaultedActionRow:r,defaultedPreviewFormat:s,defaultedMultiCalendars:i,defaultedTextInput:o,defaultedInline:l,defaultedRange:v,defaultedMultiDates:m}=Ke(a),{isTimeValid:d,isMonthValid:p}=na(a),{buildMatrix:k}=aa(),P=Y(null),R=Y(null),b=Y(!1),_=Y({}),y=Y(null),A=Y(null);Ue(()=>{a.arrowNavigation&&k([it(P),it(R)],"actionRow"),S(),window.addEventListener("resize",S)}),Ht(()=>{window.removeEventListener("resize",S)});const S=()=>{b.value=!1,setTimeout(()=>{var E,L;const N=(E=y.value)==null?void 0:E.getBoundingClientRect(),J=(L=A.value)==null?void 0:L.getBoundingClientRect();N&&J&&(_.value.maxWidth=`${J.width-N.width-20}px`),b.value=!0},0)},U=B(()=>v.value.enabled&&!v.value.partialRange&&a.internalModelValue?a.internalModelValue.length===2:!0),D=B(()=>!d.value(a.internalModelValue)||!p.value(a.internalModelValue)||!U.value),M=()=>{const E=s.value;return a.timePicker||a.monthPicker,E(lt(a.internalModelValue))},x=()=>{const E=a.internalModelValue;return i.value.count>0?`${$(E[0])} - ${$(E[1])}`:[$(E[0]),$(E[1])]},$=E=>mo(E,s.value,a.formatLocale,o.value.rangeSeparator,a.modelAuto,s.value),u=B(()=>!a.internalModelValue||!a.menuMount?"":typeof s.value=="string"?Array.isArray(a.internalModelValue)?a.internalModelValue.length===2&&a.internalModelValue[1]?x():m.value.enabled?a.internalModelValue.map(E=>`${$(E)}`):a.modelAuto?`${$(a.internalModelValue[0])}`:`${$(a.internalModelValue[0])} -`:$(a.internalModelValue):M()),O=()=>m.value.enabled?"; ":" - ",V=B(()=>Array.isArray(u.value)?u.value.join(O()):u.value),ne=()=>{d.value(a.internalModelValue)&&p.value(a.internalModelValue)&&U.value?t("select-date"):t("invalid-select")};return(E,L)=>(f(),g("div",{ref_key:"actionRowRef",ref:A,class:"dp__action_row"},[E.$slots["action-row"]?I(E.$slots,"action-row",ut(Ne({key:0},{internalModelValue:E.internalModelValue,disabled:D.value,selectDate:()=>E.$emit("select-date"),closePicker:()=>E.$emit("close-picker")}))):(f(),g(ge,{key:1},[c(r).showPreview?(f(),g("div",{key:0,class:"dp__selection_preview",title:V.value,style:mt(_.value)},[E.$slots["action-preview"]&&b.value?I(E.$slots,"action-preview",{key:0,value:E.internalModelValue}):W("",!0),!E.$slots["action-preview"]&&b.value?(f(),g(ge,{key:1},[Ye(be(V.value),1)],64)):W("",!0)],12,vm)):W("",!0),T("div",{ref_key:"actionBtnContainer",ref:y,class:"dp__action_buttons","data-dp-element":"action-row"},[E.$slots["action-buttons"]?I(E.$slots,"action-buttons",{key:0,value:E.internalModelValue}):W("",!0),E.$slots["action-buttons"]?W("",!0):(f(),g(ge,{key:1},[!c(l).enabled&&c(r).showCancel?(f(),g("button",{key:0,ref_key:"cancelButtonRef",ref:P,type:"button",class:"dp__action_button dp__action_cancel",onClick:L[0]||(L[0]=N=>E.$emit("close-picker")),onKeydown:L[1]||(L[1]=N=>c(ht)(N,()=>E.$emit("close-picker")))},be(E.cancelText),545)):W("",!0),c(r).showNow?(f(),g("button",{key:1,type:"button",class:"dp__action_button dp__action_cancel",onClick:L[2]||(L[2]=N=>E.$emit("select-now")),onKeydown:L[3]||(L[3]=N=>c(ht)(N,()=>E.$emit("select-now")))},be(E.nowButtonLabel),33)):W("",!0),c(r).showSelect?(f(),g("button",{key:2,ref_key:"selectButtonRef",ref:R,type:"button",class:"dp__action_button dp__action_select",disabled:D.value,"data-test-id":"select-button",onKeydown:L[4]||(L[4]=N=>c(ht)(N,()=>ne())),onClick:ne},be(E.selectText),41,bm)):W("",!0)],64))],512)],64))],512))}}),ym=["role","aria-label","tabindex"],km={class:"dp__selection_grid_header"},wm=["aria-selected","aria-disabled","data-test-id","onClick","onKeydown","onMouseover"],xm=["aria-label"],Ua=te({__name:"SelectionOverlay",props:{items:{},type:{},isLast:{type:Boolean},arrowNavigation:{type:Boolean},skipButtonRef:{type:Boolean},headerRefs:{},hideNavigation:{},escClose:{type:Boolean},useRelative:{type:Boolean},height:{},textInput:{type:[Boolean,Object]},config:{},noOverlayFocus:{type:Boolean},focusValue:{},menuWrapRef:{},ariaLabels:{},overlayLabel:{}},emits:["selected","toggle","reset-flow","hover-value"],setup(e,{expose:n,emit:t}){const{setSelectionGrid:a,buildMultiLevelMatrix:r,setMonthPicker:s}=aa(),i=t,o=e,{defaultedAriaLabels:l,defaultedTextInput:v,defaultedConfig:m}=Ke(o),{hideNavigationButtons:d}=Tn(),p=Y(!1),k=Y(null),P=Y(null),R=Y([]),b=Y(),_=Y(null),y=Y(0),A=Y(null);Ho(()=>{k.value=null}),Ue(()=>{ct().then(()=>O()),o.noOverlayFocus||U(),S(!0)}),Ht(()=>S(!1));const S=ee=>{var F;o.arrowNavigation&&((F=o.headerRefs)!=null&&F.length?s(ee):a(ee))},U=()=>{var ee;const F=it(P);F&&(v.value.enabled||(k.value?(ee=k.value)==null||ee.focus({preventScroll:!0}):F.focus({preventScroll:!0})),p.value=F.clientHeight({dp__overlay:!0,"dp--overlay-absolute":!o.useRelative,"dp--overlay-relative":o.useRelative})),M=B(()=>o.useRelative?{height:`${o.height}px`,width:"var(--dp-menu-min-width)"}:void 0),x=B(()=>({dp__overlay_col:!0})),$=B(()=>({dp__btn:!0,dp__button:!0,dp__overlay_action:!0,dp__over_action_scroll:p.value,dp__button_bottom:o.isLast})),u=B(()=>{var ee,F;return{dp__overlay_container:!0,dp__container_flex:((ee=o.items)==null?void 0:ee.length)<=6,dp__container_block:((F=o.items)==null?void 0:F.length)>6}});at(()=>o.items,()=>O(!1),{deep:!0});const O=(ee=!0)=>{ct().then(()=>{const F=it(k),G=it(P),Z=it(_),ie=it(A),h=Z?Z.getBoundingClientRect().height:0;G&&(G.getBoundingClientRect().height?y.value=G.getBoundingClientRect().height-h:y.value=m.value.modeHeight-h),F&&ie&&ee&&(ie.scrollTop=F.offsetTop-ie.offsetTop-(y.value/2-F.getBoundingClientRect().height)-h)})},V=ee=>{ee.disabled||i("selected",ee.value)},ne=()=>{i("toggle"),i("reset-flow")},E=()=>{o.escClose&&ne()},L=(ee,F,G,Z)=>{ee&&((F.active||F.value===o.focusValue)&&(k.value=ee),o.arrowNavigation&&(Array.isArray(R.value[G])?R.value[G][Z]=ee:R.value[G]=[ee],N()))},N=()=>{var ee,F;const G=(ee=o.headerRefs)!=null&&ee.length?[o.headerRefs].concat(R.value):R.value.concat([o.skipButtonRef?[]:[_.value]]);r(lt(G),(F=o.headerRefs)!=null&&F.length?"monthPicker":"selectionGrid")},J=ee=>{o.arrowNavigation||Zt(ee,m.value,!0)},le=ee=>{b.value=ee,i("hover-value",ee)},Q=()=>{if(ne(),!o.isLast){const ee=mr(o.menuWrapRef??null,"action-row");if(ee){const F=Bi(ee);F==null||F.focus()}}},he=ee=>{switch(ee.key){case ze.esc:return E();case ze.arrowLeft:return J(ee);case ze.arrowRight:return J(ee);case ze.arrowUp:return J(ee);case ze.arrowDown:return J(ee);default:return}},z=ee=>{if(ee.key===ze.enter)return ne();if(ee.key===ze.tab)return Q()};return n({focusGrid:U}),(ee,F)=>{var G;return f(),g("div",{ref_key:"gridWrapRef",ref:P,class:ye(D.value),style:mt(M.value),role:ee.useRelative?void 0:"dialog","aria-label":ee.overlayLabel,tabindex:ee.useRelative?void 0:"0",onKeydown:he,onClick:F[0]||(F[0]=ca(()=>{},["prevent"]))},[T("div",{ref_key:"containerRef",ref:A,class:ye(u.value),style:mt({"--dp-overlay-height":`${y.value}px`}),role:"grid"},[T("div",km,[I(ee.$slots,"header")]),ee.$slots.overlay?I(ee.$slots,"overlay",{key:0}):(f(!0),g(ge,{key:1},Se(ee.items,(Z,ie)=>(f(),g("div",{key:ie,class:ye(["dp__overlay_row",{dp__flex_row:ee.items.length>=3}]),role:"row"},[(f(!0),g(ge,null,Se(Z,(h,X)=>(f(),g("div",{key:h.value,ref_for:!0,ref:me=>L(me,h,ie,X),role:"gridcell",class:ye(x.value),"aria-selected":h.active||void 0,"aria-disabled":h.disabled||void 0,tabindex:"0","data-test-id":h.text,onClick:ca(me=>V(h),["prevent"]),onKeydown:me=>c(ht)(me,()=>V(h),!0),onMouseover:me=>le(h.value)},[T("div",{class:ye(h.className)},[ee.$slots.item?I(ee.$slots,"item",{key:0,item:h}):W("",!0),ee.$slots.item?W("",!0):(f(),g(ge,{key:1},[Ye(be(h.text),1)],64))],2)],42,wm))),128))],2))),128))],6),ee.$slots["button-icon"]?Na((f(),g("button",{key:0,ref_key:"toggleButton",ref:_,type:"button","aria-label":(G=c(l))==null?void 0:G.toggleOverlay,class:ye($.value),tabindex:"0",onClick:ne,onKeydown:z},[I(ee.$slots,"button-icon")],42,xm)),[[sn,!c(d)(ee.hideNavigation,ee.type)]]):W("",!0)],46,ym)}}}),Dm=["data-dp-mobile"],xn=te({__name:"InstanceWrap",props:{multiCalendars:{},stretch:{type:Boolean},collapse:{type:Boolean},isMobile:{type:Boolean}},setup(e){const n=e,t=B(()=>n.multiCalendars>0?[...Array(n.multiCalendars).keys()]:[0]),a=B(()=>({dp__instance_calendar:n.multiCalendars>0}));return(r,s)=>(f(),g("div",{class:ye({dp__menu_inner:!r.stretch,"dp--menu--inner-stretched":r.stretch,dp__flex_display:r.multiCalendars>0,"dp--flex-display-collapsed":r.collapse}),"data-dp-mobile":r.isMobile},[(f(!0),g(ge,null,Se(t.value,(i,o)=>(f(),g("div",{key:i,class:ye(a.value)},[I(r.$slots,"default",{instance:i,index:o})],2))),128))],10,Dm))}}),Tm=["data-dp-element","aria-label","aria-disabled"],La=te({compatConfig:{MODE:3},__name:"ArrowBtn",props:{ariaLabel:{},elName:{},disabled:{type:Boolean}},emits:["activate","set-ref"],setup(e,{emit:n}){const t=n,a=Y(null);return Ue(()=>t("set-ref",a)),(r,s)=>(f(),g("button",{ref_key:"elRef",ref:a,type:"button","data-dp-element":r.elName,class:"dp__btn dp--arrow-btn-nav",tabindex:"0","aria-label":r.ariaLabel,"aria-disabled":r.disabled||void 0,onClick:s[0]||(s[0]=i=>r.$emit("activate")),onKeydown:s[1]||(s[1]=i=>c(ht)(i,()=>r.$emit("activate"),!0))},[T("span",{class:ye(["dp__inner_nav",{dp__inner_nav_disabled:r.disabled}])},[I(r.$slots,"default")],2)],40,Tm))}}),Mm=["aria-label","data-test-id"],go=te({__name:"YearModePicker",props:{...$t,showYearPicker:{type:Boolean,default:!1},items:{type:Array,default:()=>[]},instance:{type:Number,default:0},year:{type:Number,default:0},isDisabled:{type:Function,default:()=>!1}},emits:["toggle-year-picker","year-select","handle-year"],setup(e,{emit:n}){const t=n,a=e,{showRightIcon:r,showLeftIcon:s}=Tn(),{defaultedConfig:i,defaultedMultiCalendars:o,defaultedAriaLabels:l,defaultedTransitions:v,defaultedUI:m}=Ke(a),{showTransition:d,transitionName:p}=Ga(v),k=Y(!1),P=(_=!1,y)=>{k.value=!k.value,t("toggle-year-picker",{flow:_,show:y})},R=_=>{k.value=!1,t("year-select",_)},b=(_=!1)=>{t("handle-year",_)};return(_,y)=>{var A,S,U,D,M;return f(),g(ge,null,[T("div",{class:ye(["dp--year-mode-picker",{"dp--hidden-el":k.value}])},[c(s)(c(o),e.instance)?(f(),de(La,{key:0,ref:"mpPrevIconRef","aria-label":(A=c(l))==null?void 0:A.prevYear,disabled:e.isDisabled(!1),class:ye((S=c(m))==null?void 0:S.navBtnPrev),onActivate:y[0]||(y[0]=x=>b(!1))},{default:C(()=>[_.$slots["arrow-left"]?I(_.$slots,"arrow-left",{key:0}):W("",!0),_.$slots["arrow-left"]?W("",!0):(f(),de(c(Nr),{key:1}))]),_:3},8,["aria-label","disabled","class"])):W("",!0),T("button",{ref:"mpYearButtonRef",class:"dp__btn dp--year-select",type:"button","aria-label":`${e.year}-${(U=c(l))==null?void 0:U.openYearsOverlay}`,"data-test-id":`year-mode-btn-${e.instance}`,onClick:y[1]||(y[1]=()=>P(!1)),onKeydown:y[2]||(y[2]=oi(()=>P(!1),["enter"]))},[_.$slots.year?I(_.$slots,"year",{key:0,year:e.year}):W("",!0),_.$slots.year?W("",!0):(f(),g(ge,{key:1},[Ye(be(e.year),1)],64))],40,Mm),c(r)(c(o),e.instance)?(f(),de(La,{key:1,ref:"mpNextIconRef","aria-label":(D=c(l))==null?void 0:D.nextYear,disabled:e.isDisabled(!0),class:ye((M=c(m))==null?void 0:M.navBtnNext),onActivate:y[3]||(y[3]=x=>b(!0))},{default:C(()=>[_.$slots["arrow-right"]?I(_.$slots,"arrow-right",{key:0}):W("",!0),_.$slots["arrow-right"]?W("",!0):(f(),de(c(Vr),{key:1}))]),_:3},8,["aria-label","disabled","class"])):W("",!0)],2),re(Ft,{name:c(p)(e.showYearPicker),css:c(d)},{default:C(()=>{var x,$;return[e.showYearPicker?(f(),de(Ua,{key:0,items:e.items,"text-input":_.textInput,"esc-close":_.escClose,config:_.config,"is-last":_.autoApply&&!c(i).keepActionRow,"hide-navigation":_.hideNavigation,"aria-labels":_.ariaLabels,"overlay-label":($=(x=c(l))==null?void 0:x.yearPicker)==null?void 0:$.call(x,!0),type:"year",onToggle:P,onSelected:y[4]||(y[4]=u=>R(u))},ot({"button-icon":C(()=>[_.$slots["calendar-icon"]?I(_.$slots,"calendar-icon",{key:0}):W("",!0),_.$slots["calendar-icon"]?W("",!0):(f(),de(c(Sa),{key:1}))]),_:2},[_.$slots["year-overlay-value"]?{name:"item",fn:C(({item:u})=>[I(_.$slots,"year-overlay-value",{text:u.text,value:u.value})]),key:"0"}:void 0]),1032,["items","text-input","esc-close","config","is-last","hide-navigation","aria-labels","overlay-label"])):W("",!0)]}),_:3},8,["name","css"])],64)}}}),Qr=(e,n,t)=>{if(n.value&&Array.isArray(n.value))if(n.value.some(a=>Re(e,a))){const a=n.value.filter(r=>!Re(r,e));n.value=a.length?a:null}else(t&&+t>n.value.length||!t)&&n.value.push(e);else n.value=[e]},Zr=(e,n,t)=>{let a=e.value?e.value.slice():[];return a.length===2&&a[1]!==null&&(a=[]),a.length?(qe(n,a[0])?a.unshift(n):a[1]=n,t("range-end",n)):(a=[n],t("range-start",n)),a},Dn=(e,n,t,a)=>{e&&(e[0]&&e[1]&&t&&n("auto-apply"),e[0]&&!e[1]&&a&&t&&n("auto-apply"))},yo=e=>{Array.isArray(e.value)&&e.value.length<=2&&e.range?e.modelValue.value=e.value.map(n=>gt(se(n),e.timezone)):Array.isArray(e.value)||(e.modelValue.value=gt(se(e.value),e.timezone))},ko=(e,n,t,a)=>Array.isArray(n.value)&&(n.value.length===2||n.value.length===1&&a.value.partialRange)?a.value.fixedStart&&(Je(e,n.value[0])||Re(e,n.value[0]))?[n.value[0],e]:a.value.fixedEnd&&(qe(e,n.value[1])||Re(e,n.value[1]))?[e,n.value[1]]:(t("invalid-fixed-range",e),n.value):[],wo=({multiCalendars:e,range:n,highlight:t,propDates:a,calendars:r,modelValue:s,props:i,filters:o,year:l,month:v,emit:m})=>{const d=B(()=>jr(i.yearRange,i.locale,i.reverseYears)),p=Y([!1]),k=B(()=>(u,O)=>{const V=Fe(Mt(new Date),{month:v.value(u),year:l.value(u)}),ne=O?Sr(V):xa(V);return ho(ne,a.value.maxDate,a.value.minDate,i.preventMinMaxNavigation,O)}),P=()=>Array.isArray(s.value)&&e.value.solo&&s.value[1],R=()=>{for(let u=0;u{if(!u)return R();const O=Fe(se(),r.value[u]);return r.value[0].year=$e(Ri(O,e.value.count-1)),R()},_=(u,O)=>{const V=Y_(O,u);return n.value.showLastInRange&&V>1?O:u},y=u=>i.focusStartDate||e.value.solo?u[0]:u[1]?_(u[0],u[1]):u[0],A=()=>{if(s.value){const u=Array.isArray(s.value)?y(s.value):s.value;r.value[0]={month:Ee(u),year:$e(u)}}},S=()=>{A(),e.value.count&&R()};at(s,(u,O)=>{i.isTextInputDate&&JSON.stringify(u??{})!==JSON.stringify(O??{})&&S()}),Ue(()=>{S()});const U=(u,O)=>{r.value[O].year=u,m("update-month-year",{instance:O,year:u,month:r.value[O].month}),e.value.count&&!e.value.solo&&b(O)},D=B(()=>u=>Ma(d.value,O=>{var V;const ne=l.value(u)===O.value,E=Wa(O.value,$a(a.value.minDate),$a(a.value.maxDate))||((V=o.value.years)==null?void 0:V.includes(l.value(u))),L=qr(t.value,O.value);return{active:ne,disabled:E,highlighted:L}})),M=(u,O)=>{U(u,O),$(O)},x=(u,O=!1)=>{if(!k.value(u,O)){const V=O?l.value(u)+1:l.value(u)-1;U(V,u)}},$=(u,O=!1,V)=>{O||m("reset-flow"),V!==void 0?p.value[u]=V:p.value[u]=!p.value[u],p.value[u]?m("overlay-toggle",{open:!0,overlay:pt.year}):(m("overlay-closed"),m("overlay-toggle",{open:!1,overlay:pt.year}))};return{isDisabled:k,groupedYears:D,showYearPicker:p,selectYear:U,toggleYearPicker:$,handleYearSelect:M,handleYear:x}},Pm=(e,n)=>{const{defaultedMultiCalendars:t,defaultedAriaLabels:a,defaultedTransitions:r,defaultedConfig:s,defaultedRange:i,defaultedHighlight:o,propDates:l,defaultedTz:v,defaultedFilters:m,defaultedMultiDates:d}=Ke(e),p=()=>{e.isTextInputDate&&S($e(se(e.startDate)),0)},{modelValue:k,year:P,month:R,calendars:b}=Ka(e,n,p),_=B(()=>Vi(e.formatLocale,e.locale,e.monthNameFormat)),y=Y(null),{checkMinMaxRange:A}=na(e),{selectYear:S,groupedYears:U,showYearPicker:D,toggleYearPicker:M,handleYearSelect:x,handleYear:$,isDisabled:u}=wo({modelValue:k,multiCalendars:t,range:i,highlight:o,calendars:b,year:P,propDates:l,month:R,filters:m,props:e,emit:n});Ue(()=>{e.startDate&&(k.value&&e.focusStartDate||!k.value)&&S($e(se(e.startDate)),0)});const O=G=>G?{month:Ee(G),year:$e(G)}:{month:null,year:null},V=()=>k.value?Array.isArray(k.value)?k.value.map(G=>O(G)):O(k.value):O(),ne=(G,Z)=>{const ie=b.value[G],h=V();return Array.isArray(h)?h.some(X=>X.year===(ie==null?void 0:ie.year)&&X.month===Z):(ie==null?void 0:ie.year)===h.year&&Z===h.month},E=(G,Z,ie)=>{var h,X;const me=V();return Array.isArray(me)?P.value(Z)===((h=me[ie])==null?void 0:h.year)&&G===((X=me[ie])==null?void 0:X.month):!1},L=(G,Z)=>{if(i.value.enabled){const ie=V();if(Array.isArray(k.value)&&Array.isArray(ie)){const h=E(G,Z,0)||E(G,Z,1),X=Wt(Mt(se()),G,P.value(Z));return ja(k.value,y.value,X)&&!h}return!1}return!1},N=B(()=>G=>Ma(_.value,Z=>{var ie;const h=ne(G,Z.value),X=Wa(Z.value,co(P.value(G),l.value.minDate),_o(P.value(G),l.value.maxDate))||qh(l.value.disabledDates,P.value(G),Z.value)||((ie=m.value.months)==null?void 0:ie.includes(Z.value))||!Qh(l.value.allowedDates,P.value(G),Z.value),me=L(Z.value,G),Ge=vo(o.value,Z.value,P.value(G));return{active:h,disabled:X,isBetween:me,highlighted:Ge}})),J=(G,Z)=>Wt(Mt(se()),G,P.value(Z)),le=(G,Z)=>{const ie=k.value?k.value:Mt(new Date);k.value=Wt(ie,G,P.value(Z)),n("auto-apply"),n("update-flow-step")},Q=(G,Z)=>{const ie=J(G,Z);i.value.fixedEnd||i.value.fixedStart?k.value=ko(ie,k,n,i):k.value?A(ie,k.value)&&(k.value=Zr(k,J(G,Z),n)):k.value=[J(G,Z)],ct().then(()=>{Dn(k.value,n,e.autoApply,e.modelAuto)})},he=(G,Z)=>{Qr(J(G,Z),k,d.value.limit),n("auto-apply",!0)},z=(G,Z)=>(b.value[Z].month=G,F(Z,b.value[Z].year,G),d.value.enabled?he(G,Z):i.value.enabled?Q(G,Z):le(G,Z)),ee=(G,Z)=>{S(G,Z),F(Z,G,null)},F=(G,Z,ie)=>{let h=ie;if(!h&&h!==0){const X=V();h=Array.isArray(X)?X[G].month:X.month}n("update-month-year",{instance:G,year:Z,month:h})};return{groupedMonths:N,groupedYears:U,year:P,isDisabled:u,defaultedMultiCalendars:t,defaultedAriaLabels:a,defaultedTransitions:r,defaultedConfig:s,showYearPicker:D,modelValue:k,presetDate:(G,Z)=>{yo({value:G,modelValue:k,range:i.value.enabled,timezone:Z?void 0:v.value.timezone}),n("auto-apply")},setHoverDate:(G,Z)=>{y.value=J(G,Z)},selectMonth:z,selectYear:ee,toggleYearPicker:M,handleYearSelect:x,handleYear:$,getModelMonthYear:V}},$m=te({compatConfig:{MODE:3},__name:"MonthPicker",props:{...$t},emits:["update:internal-model-value","overlay-closed","reset-flow","range-start","range-end","auto-apply","update-month-year","update-flow-step","mount","invalid-fixed-range","overlay-toggle"],setup(e,{expose:n,emit:t}){const a=t,r=ta(),s=yt(r,"yearMode"),i=e;Ue(()=>{i.shadow||a("mount",null)});const{groupedMonths:o,groupedYears:l,year:v,isDisabled:m,defaultedMultiCalendars:d,defaultedConfig:p,showYearPicker:k,modelValue:P,presetDate:R,setHoverDate:b,selectMonth:_,selectYear:y,toggleYearPicker:A,handleYearSelect:S,handleYear:U,getModelMonthYear:D}=Pm(i,a);return n({getSidebarProps:()=>({modelValue:P,year:v,getModelMonthYear:D,selectMonth:_,selectYear:y,handleYear:U}),presetDate:R,toggleYearPicker:M=>A(0,M)}),(M,x)=>(f(),de(xn,{"multi-calendars":c(d).count,collapse:M.collapse,stretch:"","is-mobile":M.isMobile},{default:C(({instance:$})=>[M.$slots["top-extra"]?I(M.$slots,"top-extra",{key:0,value:M.internalModelValue}):W("",!0),M.$slots["month-year"]?I(M.$slots,"month-year",ut(Ne({key:1},{year:c(v),months:c(o)($),years:c(l)($),selectMonth:c(_),selectYear:c(y),instance:$}))):(f(),de(Ua,{key:2,items:c(o)($),"arrow-navigation":M.arrowNavigation,"is-last":M.autoApply&&!c(p).keepActionRow,"esc-close":M.escClose,height:c(p).modeHeight,config:M.config,"no-overlay-focus":!!(M.noOverlayFocus||M.textInput),"use-relative":"",type:"month",onSelected:u=>c(_)(u,$),onHoverValue:u=>c(b)(u,$)},ot({header:C(()=>[re(go,Ne(M.$props,{items:c(l)($),instance:$,"show-year-picker":c(k)[$],year:c(v)($),"is-disabled":u=>c(m)($,u),onHandleYear:u=>c(U)($,u),onYearSelect:u=>c(S)(u,$),onToggleYearPicker:u=>c(A)($,u==null?void 0:u.flow,u==null?void 0:u.show)}),ot({_:2},[Se(c(s),(u,O)=>({name:u,fn:C(V=>[I(M.$slots,u,ut(vt(V)))])}))]),1040,["items","instance","show-year-picker","year","is-disabled","onHandleYear","onYearSelect","onToggleYearPicker"])]),_:2},[M.$slots["month-overlay-value"]?{name:"item",fn:C(({item:u})=>[I(M.$slots,"month-overlay-value",{text:u.text,value:u.value})]),key:"0"}:void 0]),1032,["items","arrow-navigation","is-last","esc-close","height","config","no-overlay-focus","onSelected","onHoverValue"]))]),_:3},8,["multi-calendars","collapse","is-mobile"]))}}),Sm=(e,n)=>{const t=()=>{e.isTextInputDate&&(m.value=$e(se(e.startDate)))},{modelValue:a}=Ka(e,n,t),r=Y(null),{defaultedHighlight:s,defaultedMultiDates:i,defaultedFilters:o,defaultedRange:l,propDates:v}=Ke(e),m=Y();Ue(()=>{e.startDate&&(a.value&&e.focusStartDate||!a.value)&&(m.value=$e(se(e.startDate)))});const d=_=>Array.isArray(a.value)?a.value.some(y=>$e(y)===_):a.value?$e(a.value)===_:!1,p=_=>l.value.enabled&&Array.isArray(a.value)?ja(a.value,r.value,b(_)):!1,k=_=>v.value.allowedDates instanceof Map?v.value.allowedDates.size?v.value.allowedDates.has(`${_}`):!1:!0,P=_=>v.value.disabledDates instanceof Map?v.value.disabledDates.size?v.value.disabledDates.has(`${_}`):!1:!0,R=B(()=>Ma(jr(e.yearRange,e.locale,e.reverseYears),_=>{const y=d(_.value),A=Wa(_.value,$a(v.value.minDate),$a(v.value.maxDate))||o.value.years.includes(_.value)||!k(_.value)||P(_.value),S=p(_.value)&&!y,U=qr(s.value,_.value);return{active:y,disabled:A,isBetween:S,highlighted:U}})),b=_=>Nt(Mt(xa(new Date)),_);return{groupedYears:R,modelValue:a,focusYear:m,setHoverValue:_=>{r.value=Nt(Mt(new Date),_)},selectYear:_=>{var y;if(n("update-month-year",{instance:0,year:_}),i.value.enabled)return a.value?Array.isArray(a.value)&&(((y=a.value)==null?void 0:y.map(A=>$e(A))).includes(_)?a.value=a.value.filter(A=>$e(A)!==_):a.value.push(Nt(dt(se()),_))):a.value=[Nt(dt(xa(se())),_)],n("auto-apply",!0);l.value.enabled?(a.value=Zr(a,b(_),n),ct().then(()=>{Dn(a.value,n,e.autoApply,e.modelAuto)})):(a.value=b(_),n("auto-apply"))}}},Em=te({compatConfig:{MODE:3},__name:"YearPicker",props:{...$t},emits:["update:internal-model-value","reset-flow","range-start","range-end","auto-apply","update-month-year"],setup(e,{expose:n,emit:t}){const a=t,r=e,{groupedYears:s,modelValue:i,focusYear:o,selectYear:l,setHoverValue:v}=Sm(r,a),{defaultedConfig:m}=Ke(r);return n({getSidebarProps:()=>({modelValue:i,selectYear:l})}),(d,p)=>(f(),g("div",null,[d.$slots["top-extra"]?I(d.$slots,"top-extra",{key:0,value:d.internalModelValue}):W("",!0),d.$slots["month-year"]?I(d.$slots,"month-year",ut(Ne({key:1},{years:c(s),selectYear:c(l)}))):(f(),de(Ua,{key:2,items:c(s),"is-last":d.autoApply&&!c(m).keepActionRow,height:c(m).modeHeight,config:d.config,"no-overlay-focus":!!(d.noOverlayFocus||d.textInput),"focus-value":c(o),type:"year","use-relative":"",onSelected:c(l),onHoverValue:c(v)},ot({_:2},[d.$slots["year-overlay-value"]?{name:"item",fn:C(({item:k})=>[I(d.$slots,"year-overlay-value",{text:k.text,value:k.value})]),key:"0"}:void 0]),1032,["items","is-last","height","config","no-overlay-focus","focus-value","onSelected","onHoverValue"]))]))}}),Om={key:0,class:"dp__time_input"},Am=["data-compact","data-collapsed"],Im=["data-test-id","aria-label","onKeydown","onClick","onMousedown"],Cm=["aria-label","disabled","data-test-id","onKeydown","onClick"],Rm=["data-test-id","aria-label","onKeydown","onClick","onMousedown"],Nm={key:0},Vm=["aria-label","data-compact"],Lm=te({compatConfig:{MODE:3},__name:"TimeInput",props:{hours:{type:Number,default:0},minutes:{type:Number,default:0},seconds:{type:Number,default:0},closeTimePickerBtn:{type:Object,default:null},order:{type:Number,default:0},disabledTimesConfig:{type:Function,default:null},validateTime:{type:Function,default:()=>!1},...$t},emits:["set-hours","set-minutes","update:hours","update:minutes","update:seconds","reset-flow","mounted","overlay-closed","overlay-opened","am-pm-change"],setup(e,{expose:n,emit:t}){const a=t,r=e,{setTimePickerElements:s,setTimePickerBackRef:i}=aa(),{defaultedAriaLabels:o,defaultedTransitions:l,defaultedFilters:v,defaultedConfig:m,defaultedRange:d,defaultedMultiCalendars:p}=Ke(r),{transitionName:k,showTransition:P}=Ga(l),R=Fa({hours:!1,minutes:!1,seconds:!1}),b=Y("AM"),_=Y(null),y=Y([]),A=Y(),S=Y(!1);Ue(()=>{a("mounted")});const U=w=>Fe(new Date,{hours:w.hours,minutes:w.minutes,seconds:r.enableSeconds?w.seconds:0,milliseconds:0}),D=B(()=>w=>Q(w,r[w])||x(w,r[w])),M=B(()=>({hours:r.hours,minutes:r.minutes,seconds:r.seconds})),x=(w,ce)=>d.value.enabled&&!d.value.disableTimeRangeValidation?!r.validateTime(w,ce):!1,$=(w,ce)=>{if(d.value.enabled&&!d.value.disableTimeRangeValidation){const ve=ce?+r[`${w}Increment`]:-+r[`${w}Increment`],_e=r[w]+ve;return!r.validateTime(w,_e)}return!1},u=B(()=>w=>!G(+r[w]+ +r[`${w}Increment`],w)||$(w,!0)),O=B(()=>w=>!G(+r[w]-+r[`${w}Increment`],w)||$(w,!1)),V=(w,ce)=>mi(Fe(se(),w),ce),ne=(w,ce)=>Rf(Fe(se(),w),ce),E=B(()=>({dp__time_col:!0,dp__time_col_block:!r.timePickerInline,dp__time_col_reg_block:!r.enableSeconds&&r.is24&&!r.timePickerInline,dp__time_col_reg_inline:!r.enableSeconds&&r.is24&&r.timePickerInline,dp__time_col_reg_with_button:!r.enableSeconds&&!r.is24,dp__time_col_sec:r.enableSeconds&&r.is24,dp__time_col_sec_with_button:r.enableSeconds&&!r.is24})),L=B(()=>r.timePickerInline&&d.value.enabled&&!p.value.count),N=B(()=>{const w=[{type:"hours"}];return r.enableMinutes&&w.push({type:"",separator:!0},{type:"minutes"}),r.enableSeconds&&w.push({type:"",separator:!0},{type:"seconds"}),w}),J=B(()=>N.value.filter(w=>!w.separator)),le=B(()=>w=>{if(w==="hours"){const ce=Ge(+r.hours);return{text:ce<10?`0${ce}`:`${ce}`,value:ce}}return{text:r[w]<10?`0${r[w]}`:`${r[w]}`,value:r[w]}}),Q=(w,ce)=>{var ve;if(!r.disabledTimesConfig)return!1;const _e=r.disabledTimesConfig(r.order,w==="hours"?ce:void 0);return _e[w]?!!((ve=_e[w])!=null&&ve.includes(ce)):!0},he=(w,ce)=>ce!=="hours"||b.value==="AM"?w:w+12,z=w=>{const ce=r.is24?24:12,ve=w==="hours"?ce:60,_e=+r[`${w}GridIncrement`],Ce=w==="hours"&&!r.is24?_e:0,Ae=[];for(let H=Ce;H({active:!1,disabled:v.value.times[w].includes(H.value)||!G(H.value,w)||Q(w,H.value)||x(w,H.value)}))},ee=w=>w>=0?w:59,F=w=>w>=0?w:23,G=(w,ce)=>{const ve=r.minTime?U(Qn(r.minTime)):null,_e=r.maxTime?U(Qn(r.maxTime)):null,Ce=U(Qn(M.value,ce,ce==="minutes"||ce==="seconds"?ee(w):F(w)));return ve&&_e?(Ta(Ce,_e)||ia(Ce,_e))&&(da(Ce,ve)||ia(Ce,ve)):ve?da(Ce,ve)||ia(Ce,ve):_e?Ta(Ce,_e)||ia(Ce,_e):!0},Z=w=>r[`no${w[0].toUpperCase()+w.slice(1)}Overlay`],ie=w=>{Z(w)||(R[w]=!R[w],R[w]?(S.value=!0,a("overlay-opened",w)):(S.value=!1,a("overlay-closed",w)))},h=w=>w==="hours"?Yt:w==="minutes"?ea:Da,X=()=>{A.value&&clearTimeout(A.value)},me=(w,ce=!0,ve)=>{const _e=ce?V:ne,Ce=ce?+r[`${w}Increment`]:-+r[`${w}Increment`];G(+r[w]+Ce,w)&&a(`update:${w}`,h(w)(_e({[w]:+r[w]},{[w]:+r[`${w}Increment`]}))),!(ve!=null&&ve.keyboard)&&m.value.timeArrowHoldThreshold&&(A.value=setTimeout(()=>{me(w,ce)},m.value.timeArrowHoldThreshold))},Ge=w=>r.is24?w:(w>=12?b.value="PM":b.value="AM",jf(w)),K=()=>{b.value==="PM"?(b.value="AM",a("update:hours",r.hours-12)):(b.value="PM",a("update:hours",r.hours+12)),a("am-pm-change",b.value)},Oe=w=>{R[w]=!0},ae=(w,ce,ve)=>{if(w&&r.arrowNavigation){Array.isArray(y.value[ce])?y.value[ce][ve]=w:y.value[ce]=[w];const _e=y.value.reduce((Ce,Ae)=>Ae.map((H,oe)=>[...Ce[oe]||[],Ae[oe]]),[]);i(r.closeTimePickerBtn),_.value&&(_e[1]=_e[1].concat(_.value)),s(_e,r.order)}},pe=(w,ce)=>(ie(w),a(`update:${w}`,ce));return n({openChildCmp:Oe}),(w,ce)=>{var ve;return w.disabled?W("",!0):(f(),g("div",Om,[(f(!0),g(ge,null,Se(N.value,(_e,Ce)=>{var Ae,H,oe;return f(),g("div",{key:Ce,class:ye(E.value),"data-compact":L.value&&!w.enableSeconds,"data-collapsed":L.value&&w.enableSeconds},[_e.separator?(f(),g(ge,{key:0},[S.value?W("",!0):(f(),g(ge,{key:0},[Ye(":")],64))],64)):(f(),g(ge,{key:1},[T("button",{ref_for:!0,ref:De=>ae(De,Ce,0),type:"button",class:ye({dp__btn:!0,dp__inc_dec_button:!w.timePickerInline,dp__inc_dec_button_inline:w.timePickerInline,dp__tp_inline_btn_top:w.timePickerInline,dp__inc_dec_button_disabled:u.value(_e.type),"dp--hidden-el":S.value}),"data-test-id":`${_e.type}-time-inc-btn-${r.order}`,"aria-label":(Ae=c(o))==null?void 0:Ae.incrementValue(_e.type),tabindex:"0",onKeydown:De=>c(ht)(De,()=>me(_e.type,!0,{keyboard:!0}),!0),onClick:De=>c(m).timeArrowHoldThreshold?void 0:me(_e.type,!0),onMousedown:De=>c(m).timeArrowHoldThreshold?me(_e.type,!0):void 0,onMouseup:X},[r.timePickerInline?(f(),g(ge,{key:1},[w.$slots["tp-inline-arrow-up"]?I(w.$slots,"tp-inline-arrow-up",{key:0}):(f(),g(ge,{key:1},[ce[2]||(ce[2]=T("span",{class:"dp__tp_inline_btn_bar dp__tp_btn_in_l"},null,-1)),ce[3]||(ce[3]=T("span",{class:"dp__tp_inline_btn_bar dp__tp_btn_in_r"},null,-1))],64))],64)):(f(),g(ge,{key:0},[w.$slots["arrow-up"]?I(w.$slots,"arrow-up",{key:0}):W("",!0),w.$slots["arrow-up"]?W("",!0):(f(),de(c(Br),{key:1}))],64))],42,Im),T("button",{ref_for:!0,ref:De=>ae(De,Ce,1),type:"button","aria-label":`${le.value(_e.type).text}-${(H=c(o))==null?void 0:H.openTpOverlay(_e.type)}`,class:ye({dp__time_display:!0,dp__time_display_block:!w.timePickerInline,dp__time_display_inline:w.timePickerInline,"dp--time-invalid":D.value(_e.type),"dp--time-overlay-btn":!D.value(_e.type),"dp--hidden-el":S.value}),disabled:Z(_e.type),tabindex:"0","data-test-id":`${_e.type}-toggle-overlay-btn-${r.order}`,onKeydown:De=>c(ht)(De,()=>ie(_e.type),!0),onClick:De=>ie(_e.type)},[w.$slots[_e.type]?I(w.$slots,_e.type,{key:0,text:le.value(_e.type).text,value:le.value(_e.type).value}):W("",!0),w.$slots[_e.type]?W("",!0):(f(),g(ge,{key:1},[Ye(be(le.value(_e.type).text),1)],64))],42,Cm),T("button",{ref_for:!0,ref:De=>ae(De,Ce,2),type:"button",class:ye({dp__btn:!0,dp__inc_dec_button:!w.timePickerInline,dp__inc_dec_button_inline:w.timePickerInline,dp__tp_inline_btn_bottom:w.timePickerInline,dp__inc_dec_button_disabled:O.value(_e.type),"dp--hidden-el":S.value}),"data-test-id":`${_e.type}-time-dec-btn-${r.order}`,"aria-label":(oe=c(o))==null?void 0:oe.decrementValue(_e.type),tabindex:"0",onKeydown:De=>c(ht)(De,()=>me(_e.type,!1,{keyboard:!0}),!0),onClick:De=>c(m).timeArrowHoldThreshold?void 0:me(_e.type,!1),onMousedown:De=>c(m).timeArrowHoldThreshold?me(_e.type,!1):void 0,onMouseup:X},[r.timePickerInline?(f(),g(ge,{key:1},[w.$slots["tp-inline-arrow-down"]?I(w.$slots,"tp-inline-arrow-down",{key:0}):(f(),g(ge,{key:1},[ce[4]||(ce[4]=T("span",{class:"dp__tp_inline_btn_bar dp__tp_btn_in_l"},null,-1)),ce[5]||(ce[5]=T("span",{class:"dp__tp_inline_btn_bar dp__tp_btn_in_r"},null,-1))],64))],64)):(f(),g(ge,{key:0},[w.$slots["arrow-down"]?I(w.$slots,"arrow-down",{key:0}):W("",!0),w.$slots["arrow-down"]?W("",!0):(f(),de(c(Wr),{key:1}))],64))],42,Rm)],64))],10,Am)}),128)),w.is24?W("",!0):(f(),g("div",Nm,[w.$slots["am-pm-button"]?I(w.$slots,"am-pm-button",{key:0,toggle:K,value:b.value}):W("",!0),w.$slots["am-pm-button"]?W("",!0):(f(),g("button",{key:1,ref_key:"amPmButton",ref:_,type:"button",class:"dp__pm_am_button",role:"button","aria-label":(ve=c(o))==null?void 0:ve.amPmButton,tabindex:"0","data-compact":L.value,onClick:K,onKeydown:ce[0]||(ce[0]=_e=>c(ht)(_e,()=>K(),!0))},be(b.value),41,Vm))])),(f(!0),g(ge,null,Se(J.value,(_e,Ce)=>(f(),de(Ft,{key:Ce,name:c(k)(R[_e.type]),css:c(P)},{default:C(()=>{var Ae,H;return[R[_e.type]?(f(),de(Ua,{key:0,items:z(_e.type),"is-last":w.autoApply&&!c(m).keepActionRow,"esc-close":w.escClose,type:_e.type,"text-input":w.textInput,config:w.config,"arrow-navigation":w.arrowNavigation,"aria-labels":w.ariaLabels,"overlay-label":(H=(Ae=c(o)).timeOverlay)==null?void 0:H.call(Ae,_e.type),onSelected:oe=>pe(_e.type,oe),onToggle:oe=>ie(_e.type),onResetFlow:ce[1]||(ce[1]=oe=>w.$emit("reset-flow"))},ot({"button-icon":C(()=>[w.$slots["clock-icon"]?I(w.$slots,"clock-icon",{key:0}):W("",!0),w.$slots["clock-icon"]?W("",!0):(f(),de(bt(w.timePickerInline?c(Sa):c(Lr)),{key:1}))]),_:2},[w.$slots[`${_e.type}-overlay-value`]?{name:"item",fn:C(({item:oe})=>[I(w.$slots,`${_e.type}-overlay-value`,{text:oe.text,value:oe.value})]),key:"0"}:void 0,w.$slots[`${_e.type}-overlay-header`]?{name:"header",fn:C(()=>[I(w.$slots,`${_e.type}-overlay-header`,{toggle:()=>ie(_e.type)})]),key:"1"}:void 0]),1032,["items","is-last","esc-close","type","text-input","config","arrow-navigation","aria-labels","overlay-label","onSelected","onToggle"])):W("",!0)]}),_:2},1032,["name","css"]))),128))]))}}}),Bm=["data-dp-mobile"],Wm=["aria-label","tabindex"],Ym=["role","aria-label","tabindex"],jm=["aria-label"],xo=te({compatConfig:{MODE:3},__name:"TimePicker",props:{hours:{type:[Number,Array],default:0},minutes:{type:[Number,Array],default:0},seconds:{type:[Number,Array],default:0},disabledTimesConfig:{type:Function,default:null},validateTime:{type:Function,default:()=>!1},...$t},emits:["update:hours","update:minutes","update:seconds","mount","reset-flow","overlay-opened","overlay-closed","am-pm-change"],setup(e,{expose:n,emit:t}){const a=t,r=e,{buildMatrix:s,setTimePicker:i}=aa(),o=ta(),{defaultedTransitions:l,defaultedAriaLabels:v,defaultedTextInput:m,defaultedConfig:d,defaultedRange:p}=Ke(r),{transitionName:k,showTransition:P}=Ga(l),{hideNavigationButtons:R}=Tn(),b=Y(null),_=Y(null),y=Y([]),A=Y(null),S=Y(!1);Ue(()=>{a("mount"),!r.timePicker&&r.arrowNavigation?s([it(b.value)],"time"):i(!0,r.timePicker)});const U=B(()=>p.value.enabled&&r.modelAuto?Li(r.internalModelValue):!0),D=Y(!1),M=Q=>({hours:Array.isArray(r.hours)?r.hours[Q]:r.hours,minutes:Array.isArray(r.minutes)?r.minutes[Q]:r.minutes,seconds:Array.isArray(r.seconds)?r.seconds[Q]:r.seconds}),x=B(()=>{const Q=[];if(p.value.enabled)for(let he=0;he<2;he++)Q.push(M(he));else Q.push(M(0));return Q}),$=(Q,he=!1,z="")=>{he||a("reset-flow"),D.value=Q,a(Q?"overlay-opened":"overlay-closed",pt.time),r.arrowNavigation&&i(Q),ct(()=>{z!==""&&y.value[0]&&y.value[0].openChildCmp(z)})},u=B(()=>({dp__btn:!0,dp__button:!0,dp__button_bottom:r.autoApply&&!d.value.keepActionRow})),O=yt(o,"timePicker"),V=(Q,he,z)=>p.value.enabled?he===0?[Q,x.value[1][z]]:[x.value[0][z],Q]:Q,ne=Q=>{a("update:hours",Q)},E=Q=>{a("update:minutes",Q)},L=Q=>{a("update:seconds",Q)},N=()=>{if(A.value&&!m.value.enabled&&!r.noOverlayFocus){const Q=Bi(A.value);Q&&Q.focus({preventScroll:!0})}},J=Q=>{S.value=!1,a("overlay-closed",Q)},le=Q=>{S.value=!0,a("overlay-opened",Q)};return n({toggleTimePicker:$}),(Q,he)=>{var z;return f(),g("div",{class:"dp--tp-wrap","data-dp-mobile":Q.isMobile},[!Q.timePicker&&!Q.timePickerInline?Na((f(),g("button",{key:0,ref_key:"openTimePickerBtn",ref:b,type:"button",class:ye({...u.value,"dp--hidden-el":D.value}),"aria-label":(z=c(v))==null?void 0:z.openTimePicker,tabindex:Q.noOverlayFocus?void 0:0,"data-test-id":"open-time-picker-btn",onKeydown:he[0]||(he[0]=ee=>c(ht)(ee,()=>$(!0))),onClick:he[1]||(he[1]=ee=>$(!0))},[Q.$slots["clock-icon"]?I(Q.$slots,"clock-icon",{key:0}):W("",!0),Q.$slots["clock-icon"]?W("",!0):(f(),de(c(Lr),{key:1}))],42,Wm)),[[sn,!c(R)(Q.hideNavigation,"time")]]):W("",!0),re(Ft,{name:c(k)(D.value),css:c(P)&&!Q.timePickerInline},{default:C(()=>{var ee,F;return[D.value||Q.timePicker||Q.timePickerInline?(f(),g("div",{key:0,ref_key:"overlayRef",ref:A,role:Q.timePickerInline?void 0:"dialog",class:ye({dp__overlay:!Q.timePickerInline,"dp--overlay-absolute":!r.timePicker&&!Q.timePickerInline,"dp--overlay-relative":r.timePicker}),style:mt(Q.timePicker?{height:`${c(d).modeHeight}px`}:void 0),"aria-label":(ee=c(v))==null?void 0:ee.timePicker,tabindex:Q.timePickerInline?void 0:0},[T("div",{class:ye(Q.timePickerInline?"dp__time_picker_inline_container":"dp__overlay_container dp__container_flex dp__time_picker_overlay_container"),style:{display:"flex"}},[Q.$slots["time-picker-overlay"]?I(Q.$slots,"time-picker-overlay",{key:0,hours:e.hours,minutes:e.minutes,seconds:e.seconds,setHours:ne,setMinutes:E,setSeconds:L}):W("",!0),Q.$slots["time-picker-overlay"]?W("",!0):(f(),g("div",{key:1,class:ye(Q.timePickerInline?"dp__flex":"dp__overlay_row dp__flex_row")},[(f(!0),g(ge,null,Se(x.value,(G,Z)=>Na((f(),de(Lm,Ne({key:Z,ref_for:!0},{...Q.$props,order:Z,hours:G.hours,minutes:G.minutes,seconds:G.seconds,closeTimePickerBtn:_.value,disabledTimesConfig:e.disabledTimesConfig,disabled:Z===0?c(p).fixedStart:c(p).fixedEnd},{ref_for:!0,ref_key:"timeInputRefs",ref:y,"validate-time":(ie,h)=>e.validateTime(ie,V(h,Z,ie)),"onUpdate:hours":ie=>ne(V(ie,Z,"hours")),"onUpdate:minutes":ie=>E(V(ie,Z,"minutes")),"onUpdate:seconds":ie=>L(V(ie,Z,"seconds")),onMounted:N,onOverlayClosed:J,onOverlayOpened:le,onAmPmChange:he[2]||(he[2]=ie=>Q.$emit("am-pm-change",ie))}),ot({_:2},[Se(c(O),(ie,h)=>({name:ie,fn:C(X=>[I(Q.$slots,ie,Ne({ref_for:!0},X))])}))]),1040,["validate-time","onUpdate:hours","onUpdate:minutes","onUpdate:seconds"])),[[sn,Z===0?!0:U.value]])),128))],2)),!Q.timePicker&&!Q.timePickerInline?Na((f(),g("button",{key:2,ref_key:"closeTimePickerBtn",ref:_,type:"button",class:ye({...u.value,"dp--hidden-el":S.value}),"aria-label":(F=c(v))==null?void 0:F.closeTimePicker,tabindex:"0",onKeydown:he[3]||(he[3]=G=>c(ht)(G,()=>$(!1))),onClick:he[4]||(he[4]=G=>$(!1))},[Q.$slots["calendar-icon"]?I(Q.$slots,"calendar-icon",{key:0}):W("",!0),Q.$slots["calendar-icon"]?W("",!0):(f(),de(c(Sa),{key:1}))],42,jm)),[[sn,!c(R)(Q.hideNavigation,"time")]]):W("",!0)],2)],14,Ym)):W("",!0)]}),_:3},8,["name","css"])],8,Bm)}}}),Do=(e,n,t,a)=>{const{defaultedRange:r}=Ke(e),s=(A,S)=>Array.isArray(n[A])?n[A][S]:n[A],i=A=>e.enableSeconds?Array.isArray(n.seconds)?n.seconds[A]:n.seconds:0,o=(A,S)=>A?S!==void 0?Jt(A,s("hours",S),s("minutes",S),i(S)):Jt(A,n.hours,n.minutes,i()):Ci(se(),i(S)),l=(A,S)=>{n[A]=S},v=B(()=>e.modelAuto&&r.value.enabled?Array.isArray(t.value)?t.value.length>1:!1:r.value.enabled),m=(A,S)=>{const U=Object.fromEntries(Object.keys(n).map(D=>D===A?[D,S]:[D,n[D]].slice()));if(v.value&&!r.value.disableTimeRangeValidation){const D=x=>t.value?Jt(t.value[x],U.hours[x],U.minutes[x],U.seconds[x]):null,M=x=>Ii(t.value[x],0);return!(Re(D(0),D(1))&&(da(D(0),M(1))||Ta(D(1),M(0))))}return!0},d=(A,S)=>{m(A,S)&&(l(A,S),a&&a())},p=A=>{d("hours",A)},k=A=>{d("minutes",A)},P=A=>{d("seconds",A)},R=(A,S,U,D)=>{S&&p(A),!S&&!U&&k(A),U&&P(A),t.value&&D(t.value)},b=A=>{if(A){const S=Array.isArray(A),U=S?[+A[0].hours,+A[1].hours]:+A.hours,D=S?[+A[0].minutes,+A[1].minutes]:+A.minutes,M=S?[+A[0].seconds,+A[1].seconds]:+A.seconds;l("hours",U),l("minutes",D),e.enableSeconds&&l("seconds",M)}},_=(A,S)=>{const U={hours:Array.isArray(n.hours)?n.hours[A]:n.hours,disabledArr:[]};return(S||S===0)&&(U.hours=S),Array.isArray(e.disabledTimes)&&(U.disabledArr=r.value.enabled&&Array.isArray(e.disabledTimes[A])?e.disabledTimes[A]:e.disabledTimes),U},y=B(()=>(A,S)=>{var U;if(Array.isArray(e.disabledTimes)){const{disabledArr:D,hours:M}=_(A,S),x=D.filter($=>+$.hours===M);return((U=x[0])==null?void 0:U.minutes)==="*"?{hours:[M],minutes:void 0,seconds:void 0}:{hours:[],minutes:(x==null?void 0:x.map($=>+$.minutes))??[],seconds:(x==null?void 0:x.map($=>$.seconds?+$.seconds:void 0))??[]}}return{hours:[],minutes:[],seconds:[]}});return{setTime:l,updateHours:p,updateMinutes:k,updateSeconds:P,getSetDateTime:o,updateTimeValues:R,getSecondsValue:i,assignStartTime:b,validateTime:m,disabledTimesConfig:y}},Fm=(e,n)=>{const t=()=>{e.isTextInputDate&&S()},{modelValue:a,time:r}=Ka(e,n,t),{defaultedStartTime:s,defaultedRange:i,defaultedTz:o}=Ke(e),{updateTimeValues:l,getSetDateTime:v,setTime:m,assignStartTime:d,disabledTimesConfig:p,validateTime:k}=Do(e,r,a,P);function P(){n("update-flow-step")}const R=D=>{const{hours:M,minutes:x,seconds:$}=D;return{hours:+M,minutes:+x,seconds:$?+$:0}},b=()=>{if(e.startTime){if(Array.isArray(e.startTime)){const M=R(e.startTime[0]),x=R(e.startTime[1]);return[Fe(se(),M),Fe(se(),x)]}const D=R(e.startTime);return Fe(se(),D)}return i.value.enabled?[null,null]:null},_=()=>{if(i.value.enabled){const[D,M]=b();a.value=[gt(v(D,0),o.value.timezone),gt(v(M,1),o.value.timezone)]}else a.value=gt(v(b()),o.value.timezone)},y=D=>Array.isArray(D)?[la(se(D[0])),la(se(D[1]))]:[la(D??se())],A=(D,M,x)=>{m("hours",D),m("minutes",M),m("seconds",e.enableSeconds?x:0)},S=()=>{const[D,M]=y(a.value);return i.value.enabled?A([D.hours,M.hours],[D.minutes,M.minutes],[D.seconds,M.seconds]):A(D.hours,D.minutes,D.seconds)};Ue(()=>{if(!e.shadow)return d(s.value),a.value?S():_()});const U=()=>{Array.isArray(a.value)?a.value=a.value.map((D,M)=>D&&v(D,M)):a.value=v(a.value),n("time-update")};return{modelValue:a,time:r,disabledTimesConfig:p,updateTime:(D,M=!0,x=!1)=>{l(D,M,x,U)},validateTime:k}},Hm=te({compatConfig:{MODE:3},__name:"TimePickerSolo",props:{...$t},emits:["update:internal-model-value","time-update","am-pm-change","mount","reset-flow","update-flow-step","overlay-toggle"],setup(e,{expose:n,emit:t}){const a=t,r=e,s=ta(),i=yt(s,"timePicker"),o=Y(null),{time:l,modelValue:v,disabledTimesConfig:m,updateTime:d,validateTime:p}=Fm(r,a);return Ue(()=>{r.shadow||a("mount",null)}),n({getSidebarProps:()=>({modelValue:v,time:l,updateTime:d}),toggleTimePicker:(k,P=!1,R="")=>{var b;(b=o.value)==null||b.toggleTimePicker(k,P,R)}}),(k,P)=>(f(),de(xn,{"multi-calendars":0,stretch:"","is-mobile":k.isMobile},{default:C(()=>[re(xo,Ne({ref_key:"tpRef",ref:o},k.$props,{hours:c(l).hours,minutes:c(l).minutes,seconds:c(l).seconds,"internal-model-value":k.internalModelValue,"disabled-times-config":c(m),"validate-time":c(p),"onUpdate:hours":P[0]||(P[0]=R=>c(d)(R)),"onUpdate:minutes":P[1]||(P[1]=R=>c(d)(R,!1)),"onUpdate:seconds":P[2]||(P[2]=R=>c(d)(R,!1,!0)),onAmPmChange:P[3]||(P[3]=R=>k.$emit("am-pm-change",R)),onResetFlow:P[4]||(P[4]=R=>k.$emit("reset-flow")),onOverlayClosed:P[5]||(P[5]=R=>k.$emit("overlay-toggle",{open:!1,overlay:R})),onOverlayOpened:P[6]||(P[6]=R=>k.$emit("overlay-toggle",{open:!0,overlay:R}))}),ot({_:2},[Se(c(i),(R,b)=>({name:R,fn:C(_=>[I(k.$slots,R,ut(vt(_)))])}))]),1040,["hours","minutes","seconds","internal-model-value","disabled-times-config","validate-time"])]),_:3},8,["is-mobile"]))}}),zm={class:"dp--header-wrap"},Um={key:0,class:"dp__month_year_wrap"},Gm={key:0},Km={class:"dp__month_year_wrap"},Xm=["data-dp-element","aria-label","data-test-id","onClick","onKeydown"],qm=te({compatConfig:{MODE:3},__name:"DpHeader",props:{month:{type:Number,default:0},year:{type:Number,default:0},instance:{type:Number,default:0},years:{type:Array,default:()=>[]},months:{type:Array,default:()=>[]},...$t},emits:["update-month-year","mount","reset-flow","overlay-closed","overlay-opened"],setup(e,{expose:n,emit:t}){const a=t,r=e,{defaultedTransitions:s,defaultedAriaLabels:i,defaultedMultiCalendars:o,defaultedFilters:l,defaultedConfig:v,defaultedHighlight:m,propDates:d,defaultedUI:p}=Ke(r),{transitionName:k,showTransition:P}=Ga(s),{buildMatrix:R}=aa(),{handleMonthYearChange:b,isDisabled:_,updateMonthYear:y}=mm(r,a),{showLeftIcon:A,showRightIcon:S}=Tn(),U=Y(!1),D=Y(!1),M=Y(!1),x=Y([null,null,null,null]);Ue(()=>{a("mount")});const $=F=>({get:()=>r[F],set:G=>{const Z=F===Dt.month?Dt.year:Dt.month;a("update-month-year",{[F]:G,[Z]:r[Z]}),F===Dt.month?J(!0):le(!0)}}),u=B($(Dt.month)),O=B($(Dt.year)),V=B(()=>F=>({month:r.month,year:r.year,items:F===Dt.month?r.months:r.years,instance:r.instance,updateMonthYear:y,toggle:F===Dt.month?J:le})),ne=B(()=>r.months.find(G=>G.value===r.month)||{text:"",value:0}),E=B(()=>Ma(r.months,F=>{const G=r.month===F.value,Z=Wa(F.value,co(r.year,d.value.minDate),_o(r.year,d.value.maxDate))||l.value.months.includes(F.value),ie=vo(m.value,F.value,r.year);return{active:G,disabled:Z,highlighted:ie}})),L=B(()=>Ma(r.years,F=>{const G=r.year===F.value,Z=Wa(F.value,$a(d.value.minDate),$a(d.value.maxDate))||l.value.years.includes(F.value),ie=qr(m.value,F.value);return{active:G,disabled:Z,highlighted:ie}})),N=(F,G,Z)=>{Z!==void 0?F.value=Z:F.value=!F.value,F.value?(M.value=!0,a("overlay-opened",G)):(M.value=!1,a("overlay-closed",G))},J=(F=!1,G)=>{Q(F),N(U,pt.month,G)},le=(F=!1,G)=>{Q(F),N(D,pt.year,G)},Q=F=>{F||a("reset-flow")},he=(F,G)=>{r.arrowNavigation&&(x.value[G]=it(F),R(x.value,"monthYear"))},z=B(()=>{var F,G,Z,ie,h,X;return[{type:Dt.month,index:1,toggle:J,modelValue:u.value,updateModelValue:me=>u.value=me,text:ne.value.text,showSelectionGrid:U.value,items:E.value,ariaLabel:(F=i.value)==null?void 0:F.openMonthsOverlay,overlayLabel:((Z=(G=i.value).monthPicker)==null?void 0:Z.call(G,!0))??void 0},{type:Dt.year,index:2,toggle:le,modelValue:O.value,updateModelValue:me=>O.value=me,text:Wi(r.year,r.locale),showSelectionGrid:D.value,items:L.value,ariaLabel:(ie=i.value)==null?void 0:ie.openYearsOverlay,overlayLabel:((X=(h=i.value).yearPicker)==null?void 0:X.call(h,!0))??void 0}]}),ee=B(()=>r.disableYearSelect?[z.value[0]]:r.yearFirst?[...z.value].reverse():z.value);return n({toggleMonthPicker:J,toggleYearPicker:le,handleMonthYearChange:b}),(F,G)=>{var Z,ie,h,X,me,Ge;return f(),g("div",zm,[F.$slots["month-year"]?(f(),g("div",Um,[I(F.$slots,"month-year",ut(vt({month:e.month,year:e.year,months:e.months,years:e.years,updateMonthYear:c(y),handleMonthYearChange:c(b),instance:e.instance,isDisabled:c(_)})))])):(f(),g(ge,{key:1},[F.$slots["top-extra"]?(f(),g("div",Gm,[I(F.$slots,"top-extra",{value:F.internalModelValue})])):W("",!0),T("div",Km,[c(A)(c(o),e.instance)&&!F.vertical?(f(),de(La,{key:0,"aria-label":(Z=c(i))==null?void 0:Z.prevMonth,disabled:c(_)(!1),class:ye((ie=c(p))==null?void 0:ie.navBtnPrev),"el-name":"action-prev",onActivate:G[0]||(G[0]=K=>c(b)(!1,!0)),onSetRef:G[1]||(G[1]=K=>he(K,0))},{default:C(()=>[F.$slots["arrow-left"]?I(F.$slots,"arrow-left",{key:0}):W("",!0),F.$slots["arrow-left"]?W("",!0):(f(),de(c(Nr),{key:1}))]),_:3},8,["aria-label","disabled","class"])):W("",!0),T("div",{class:ye(["dp__month_year_wrap",{dp__year_disable_select:F.disableYearSelect}])},[(f(!0),g(ge,null,Se(ee.value,(K,Oe)=>(f(),g(ge,{key:K.type},[T("button",{ref_for:!0,ref:ae=>he(ae,Oe+1),type:"button","data-dp-element":`overlay-${K.type}`,class:ye(["dp__btn dp__month_year_select",{"dp--hidden-el":M.value}]),"aria-label":`${K.text}-${K.ariaLabel}`,"data-test-id":`${K.type}-toggle-overlay-${e.instance}`,onClick:K.toggle,onKeydown:ae=>c(ht)(ae,()=>K.toggle(),!0)},[F.$slots[K.type]?I(F.$slots,K.type,{key:0,text:K.text,value:r[K.type]}):W("",!0),F.$slots[K.type]?W("",!0):(f(),g(ge,{key:1},[Ye(be(K.text),1)],64))],42,Xm),re(Ft,{name:c(k)(K.showSelectionGrid),css:c(P)},{default:C(()=>[K.showSelectionGrid?(f(),de(Ua,{key:0,items:K.items,"arrow-navigation":F.arrowNavigation,"hide-navigation":F.hideNavigation,"is-last":F.autoApply&&!c(v).keepActionRow,"skip-button-ref":!1,config:F.config,type:K.type,"header-refs":[],"esc-close":F.escClose,"menu-wrap-ref":F.menuWrapRef,"text-input":F.textInput,"aria-labels":F.ariaLabels,"overlay-label":K.overlayLabel,onSelected:K.updateModelValue,onToggle:K.toggle},ot({"button-icon":C(()=>[F.$slots["calendar-icon"]?I(F.$slots,"calendar-icon",{key:0}):W("",!0),F.$slots["calendar-icon"]?W("",!0):(f(),de(c(Sa),{key:1}))]),_:2},[F.$slots[`${K.type}-overlay-value`]?{name:"item",fn:C(({item:ae})=>[I(F.$slots,`${K.type}-overlay-value`,{text:ae.text,value:ae.value})]),key:"0"}:void 0,F.$slots[`${K.type}-overlay`]?{name:"overlay",fn:C(()=>[I(F.$slots,`${K.type}-overlay`,Ne({ref_for:!0},V.value(K.type)))]),key:"1"}:void 0,F.$slots[`${K.type}-overlay-header`]?{name:"header",fn:C(()=>[I(F.$slots,`${K.type}-overlay-header`,{toggle:K.toggle})]),key:"2"}:void 0]),1032,["items","arrow-navigation","hide-navigation","is-last","config","type","esc-close","menu-wrap-ref","text-input","aria-labels","overlay-label","onSelected","onToggle"])):W("",!0)]),_:2},1032,["name","css"])],64))),128))],2),c(A)(c(o),e.instance)&&F.vertical?(f(),de(La,{key:1,"aria-label":(h=c(i))==null?void 0:h.prevMonth,"el-name":"action-prev",disabled:c(_)(!1),class:ye((X=c(p))==null?void 0:X.navBtnPrev),onActivate:G[2]||(G[2]=K=>c(b)(!1,!0))},{default:C(()=>[F.$slots["arrow-up"]?I(F.$slots,"arrow-up",{key:0}):W("",!0),F.$slots["arrow-up"]?W("",!0):(f(),de(c(Br),{key:1}))]),_:3},8,["aria-label","disabled","class"])):W("",!0),c(S)(c(o),e.instance)?(f(),de(La,{key:2,ref:"rightIcon","el-name":"action-next",disabled:c(_)(!0),"aria-label":(me=c(i))==null?void 0:me.nextMonth,class:ye((Ge=c(p))==null?void 0:Ge.navBtnNext),onActivate:G[3]||(G[3]=K=>c(b)(!0,!0)),onSetRef:G[4]||(G[4]=K=>he(K,F.disableYearSelect?2:3))},{default:C(()=>[F.$slots[F.vertical?"arrow-down":"arrow-right"]?I(F.$slots,F.vertical?"arrow-down":"arrow-right",{key:0}):W("",!0),F.$slots[F.vertical?"arrow-down":"arrow-right"]?W("",!0):(f(),de(bt(F.vertical?c(Wr):c(Vr)),{key:1}))]),_:3},8,["disabled","aria-label","class"])):W("",!0)])],64))])}}}),Qm={class:"dp__calendar_header",role:"row"},Zm={key:0,class:"dp__calendar_header_item",role:"gridcell"},Jm=["aria-label"],ev={key:0,class:"dp__calendar_item dp__week_num",role:"gridcell"},tv={class:"dp__cell_inner"},av=["id","aria-pressed","aria-disabled","aria-label","tabindex","data-test-id","onClick","onTouchend","onKeydown","onMouseenter","onMouseleave","onMousedown"],nv=te({compatConfig:{MODE:3},__name:"DpCalendar",props:{mappedDates:{type:Array,default:()=>[]},instance:{type:Number,default:0},month:{type:Number,default:0},year:{type:Number,default:0},...$t},emits:["select-date","set-hover-date","handle-scroll","mount","handle-swipe","handle-space","tooltip-open","tooltip-close"],setup(e,{expose:n,emit:t}){const a=t,r=e,{buildMultiLevelMatrix:s}=aa(),{defaultedTransitions:i,defaultedConfig:o,defaultedAriaLabels:l,defaultedMultiCalendars:v,defaultedWeekNumbers:m,defaultedMultiDates:d,defaultedUI:p}=Ke(r),k=Y(null),P=Y({bottom:"",left:"",transform:""}),R=Y([]),b=Y(null),_=Y(!0),y=Y(""),A=Y({startX:0,endX:0,startY:0,endY:0}),S=Y([]),U=Y({left:"50%"}),D=Y(!1),M=B(()=>r.calendar?r.calendar(r.mappedDates):r.mappedDates),x=B(()=>r.dayNames?Array.isArray(r.dayNames)?r.dayNames:r.dayNames(r.locale,+r.weekStart):Yf(r.formatLocale,r.locale,+r.weekStart));Ue(()=>{a("mount",{cmp:"calendar",refs:R}),o.value.noSwipe||b.value&&(b.value.addEventListener("touchstart",he,{passive:!1}),b.value.addEventListener("touchend",z,{passive:!1}),b.value.addEventListener("touchmove",ee,{passive:!1})),r.monthChangeOnScroll&&b.value&&b.value.addEventListener("wheel",Z,{passive:!1})});const $=K=>K?r.vertical?"vNext":"next":r.vertical?"vPrevious":"previous",u=(K,Oe)=>{if(r.transitions){const ae=dt(Wt(se(),r.month,r.year));y.value=Je(dt(Wt(se(),K,Oe)),ae)?i.value[$(!0)]:i.value[$(!1)],_.value=!1,ct(()=>{_.value=!0})}},O=B(()=>({...p.value.calendar??{}})),V=B(()=>K=>{const Oe=Ff(K);return{dp__marker_dot:Oe.type==="dot",dp__marker_line:Oe.type==="line"}}),ne=B(()=>K=>Re(K,k.value)),E=B(()=>({dp__calendar:!0,dp__calendar_next:v.value.count>0&&r.instance!==0})),L=B(()=>K=>r.hideOffsetDates?K.current:!0),N=async(K,Oe)=>{const{width:ae,height:pe}=K.getBoundingClientRect();k.value=Oe.value;let w={left:`${ae/2}px`},ce=-50;if(await ct(),S.value[0]){const{left:ve,width:_e}=S.value[0].getBoundingClientRect();ve<0&&(w={left:"0"},ce=0,U.value.left=`${ae/2}px`),window.innerWidth{var pe,w,ce;const ve=it(R.value[Oe][ae]);ve&&((pe=K.marker)!=null&&pe.customPosition&&(ce=(w=K.marker)==null?void 0:w.tooltip)!=null&&ce.length?P.value=K.marker.customPosition(ve):await N(ve,K),a("tooltip-open",K.marker))},le=async(K,Oe,ae)=>{var pe,w;if(D.value&&d.value.enabled&&d.value.dragSelect)return a("select-date",K);if(a("set-hover-date",K),(w=(pe=K.marker)==null?void 0:pe.tooltip)!=null&&w.length){if(r.hideOffsetDates&&!K.current)return;await J(K,Oe,ae)}},Q=K=>{k.value&&(k.value=null,P.value=JSON.parse(JSON.stringify({bottom:"",left:"",transform:""})),a("tooltip-close",K.marker))},he=K=>{A.value.startX=K.changedTouches[0].screenX,A.value.startY=K.changedTouches[0].screenY},z=K=>{A.value.endX=K.changedTouches[0].screenX,A.value.endY=K.changedTouches[0].screenY,F()},ee=K=>{r.vertical&&!r.inline&&K.preventDefault()},F=()=>{const K=r.vertical?"Y":"X";Math.abs(A.value[`start${K}`]-A.value[`end${K}`])>10&&a("handle-swipe",A.value[`start${K}`]>A.value[`end${K}`]?"right":"left")},G=(K,Oe,ae)=>{K&&(Array.isArray(R.value[Oe])?R.value[Oe][ae]=K:R.value[Oe]=[K]),r.arrowNavigation&&s(R.value,"calendar")},Z=K=>{r.monthChangeOnScroll&&(K.preventDefault(),a("handle-scroll",K))},ie=K=>m.value.type==="local"?Ar(K.value,{weekStartsOn:+r.weekStart}):m.value.type==="iso"?Er(K.value):typeof m.value.type=="function"?m.value.type(K.value):"",h=K=>{const Oe=K[0];return m.value.hideOnOffsetDates?K.some(ae=>ae.current)?ie(Oe):"":ie(Oe)},X=(K,Oe,ae=!0)=>{!ae&&Kf()||(!d.value.enabled||o.value.allowPreventDefault)&&(Zt(K,o.value),a("select-date",Oe))},me=K=>{Zt(K,o.value)},Ge=K=>{d.value.enabled&&d.value.dragSelect?(D.value=!0,a("select-date",K)):d.value.enabled&&a("select-date",K)};return n({triggerTransition:u}),(K,Oe)=>(f(),g("div",{class:ye(E.value)},[T("div",{ref_key:"calendarWrapRef",ref:b,class:ye(O.value),role:"grid"},[T("div",Qm,[K.weekNumbers?(f(),g("div",Zm,be(K.weekNumName),1)):W("",!0),(f(!0),g(ge,null,Se(x.value,(ae,pe)=>{var w,ce;return f(),g("div",{key:pe,class:"dp__calendar_header_item",role:"gridcell","data-test-id":"calendar-header","aria-label":(ce=(w=c(l))==null?void 0:w.weekDay)==null?void 0:ce.call(w,pe)},[K.$slots["calendar-header"]?I(K.$slots,"calendar-header",{key:0,day:ae,index:pe}):W("",!0),K.$slots["calendar-header"]?W("",!0):(f(),g(ge,{key:1},[Ye(be(ae),1)],64))],8,Jm)}),128))]),Oe[2]||(Oe[2]=T("div",{class:"dp__calendar_header_separator"},null,-1)),re(Ft,{name:y.value,css:!!K.transitions},{default:C(()=>[_.value?(f(),g("div",{key:0,class:"dp__calendar",role:"rowgroup",onMouseleave:Oe[1]||(Oe[1]=ae=>D.value=!1)},[(f(!0),g(ge,null,Se(M.value,(ae,pe)=>(f(),g("div",{key:pe,class:"dp__calendar_row",role:"row"},[K.weekNumbers?(f(),g("div",ev,[T("div",tv,be(h(ae.days)),1)])):W("",!0),(f(!0),g(ge,null,Se(ae.days,(w,ce)=>{var ve,_e,Ce;return f(),g("div",{id:c(gr)(w.value),ref_for:!0,ref:Ae=>G(Ae,pe,ce),key:ce+pe,role:"gridcell",class:"dp__calendar_item","aria-pressed":(w.classData.dp__active_date||w.classData.dp__range_start||w.classData.dp__range_start)??void 0,"aria-disabled":w.classData.dp__cell_disabled||void 0,"aria-label":(_e=(ve=c(l))==null?void 0:ve.day)==null?void 0:_e.call(ve,w),tabindex:!w.current&&K.hideOffsetDates?void 0:0,"data-test-id":c(gr)(w.value),onClick:ca(Ae=>X(Ae,w),["prevent"]),onTouchend:Ae=>X(Ae,w,!1),onKeydown:Ae=>c(ht)(Ae,()=>K.$emit("select-date",w)),onMouseenter:Ae=>le(w,pe,ce),onMouseleave:Ae=>Q(w),onMousedown:Ae=>Ge(w),onMouseup:Oe[0]||(Oe[0]=Ae=>D.value=!1)},[T("div",{class:ye(["dp__cell_inner",w.classData])},[K.$slots.day&&L.value(w)?I(K.$slots,"day",{key:0,day:+w.text,date:w.value}):W("",!0),K.$slots.day?W("",!0):(f(),g(ge,{key:1},[Ye(be(w.text),1)],64)),w.marker&&L.value(w)?(f(),g(ge,{key:2},[K.$slots.marker?I(K.$slots,"marker",{key:0,marker:w.marker,day:+w.text,date:w.value}):(f(),g("div",{key:1,class:ye(V.value(w.marker)),style:mt(w.marker.color?{backgroundColor:w.marker.color}:{})},null,6))],64)):W("",!0),ne.value(w.value)?(f(),g("div",{key:3,ref_for:!0,ref_key:"activeTooltip",ref:S,class:"dp__marker_tooltip",style:mt(P.value)},[(Ce=w.marker)!=null&&Ce.tooltip?(f(),g("div",{key:0,class:"dp__tooltip_content",onClick:me},[(f(!0),g(ge,null,Se(w.marker.tooltip,(Ae,H)=>(f(),g("div",{key:H,class:"dp__tooltip_text"},[K.$slots["marker-tooltip"]?I(K.$slots,"marker-tooltip",{key:0,tooltip:Ae,day:w.value}):W("",!0),K.$slots["marker-tooltip"]?W("",!0):(f(),g(ge,{key:1},[T("div",{class:"dp__tooltip_mark",style:mt(Ae.color?{backgroundColor:Ae.color}:{})},null,4),T("div",null,be(Ae.text),1)],64))]))),128)),T("div",{class:"dp__arrow_bottom_tp",style:mt(U.value)},null,4)])):W("",!0)],4)):W("",!0)],2)],40,av)}),128))]))),128))],32)):W("",!0)]),_:3},8,["name","css"])],2)],2))}}),Zs=e=>Array.isArray(e),rv=(e,n,t,a)=>{const r=Y([]),s=Y(new Date),i=Y(),o=()=>z(e.isTextInputDate),{modelValue:l,calendars:v,time:m,today:d}=Ka(e,n,o),{defaultedMultiCalendars:p,defaultedStartTime:k,defaultedRange:P,defaultedConfig:R,defaultedTz:b,propDates:_,defaultedMultiDates:y}=Ke(e),{validateMonthYearInRange:A,isDisabled:S,isDateRangeAllowed:U,checkMinMaxRange:D}=na(e),{updateTimeValues:M,getSetDateTime:x,setTime:$,assignStartTime:u,validateTime:O,disabledTimesConfig:V}=Do(e,m,l,a),ne=B(()=>j=>v.value[j]?v.value[j].month:0),E=B(()=>j=>v.value[j]?v.value[j].year:0),L=j=>!R.value.keepViewOnOffsetClick||j?!0:!i.value,N=(j,ue,Me,q=!1)=>{var fe,we;L(q)&&(v.value[j]||(v.value[j]={month:0,year:0}),v.value[j].month=hs(ue)?(fe=v.value[j])==null?void 0:fe.month:ue,v.value[j].year=hs(Me)?(we=v.value[j])==null?void 0:we.year:Me)},J=()=>{e.autoApply&&n("select-date")},le=()=>{k.value&&u(k.value)};Ue(()=>{e.shadow||(l.value||(Oe(),le()),z(!0),e.focusStartDate&&e.startDate&&Oe())});const Q=B(()=>{var j;return(j=e.flow)!=null&&j.length&&!e.partialFlow?e.flowStep===e.flow.length:!0}),he=()=>{e.autoApply&&Q.value&&n("auto-apply",e.partialFlow?e.flowStep!==e.flow.length:!1)},z=(j=!1)=>{if(l.value)return Array.isArray(l.value)?(r.value=l.value,X(j)):G(l.value,j);if(p.value.count&&j&&!e.startDate)return F(se(),j)},ee=()=>Array.isArray(l.value)&&P.value.enabled?Ee(l.value[0])===Ee(l.value[1]??l.value[0]):!1,F=(j=new Date,ue=!1)=>{if((!p.value.count||!p.value.static||ue)&&N(0,Ee(j),$e(j)),p.value.count&&(!l.value||ee()||!p.value.solo)&&(!p.value.solo||ue))for(let Me=1;Me{F(j),$("hours",Yt(j)),$("minutes",ea(j)),$("seconds",Da(j)),p.value.count&&ue&&K()},Z=j=>{if(p.value.count){if(p.value.solo)return 0;const ue=Ee(j[0]),Me=Ee(j[1]);return Math.abs(Me-ue){j[1]&&P.value.showLastInRange?F(j[Z(j)],ue):F(j[0],ue);const Me=(q,fe)=>[q(j[0]),j[1]?q(j[1]):m[fe][1]];$("hours",Me(Yt,"hours")),$("minutes",Me(ea,"minutes")),$("seconds",Me(Da,"seconds"))},h=(j,ue)=>{if((P.value.enabled||e.weekPicker)&&!y.value.enabled)return ie(j,ue);if(y.value.enabled&&ue){const Me=j[j.length-1];return G(Me,ue)}},X=j=>{const ue=l.value;h(ue,j),p.value.count&&p.value.solo&&K()},me=(j,ue)=>{const Me=Fe(se(),{month:ne.value(ue),year:E.value(ue)}),q=j<0?kt(Me,1):jt(Me,1);A(Ee(q),$e(q),j<0,e.preventMinMaxNavigation)&&(N(ue,Ee(q),$e(q)),n("update-month-year",{instance:ue,month:Ee(q),year:$e(q)}),p.value.count&&!p.value.solo&&Ge(ue),t())},Ge=j=>{for(let ue=j-1;ue>=0;ue--){const Me=jt(Fe(se(),{month:ne.value(ue+1),year:E.value(ue+1)}),1);N(ue,Ee(Me),$e(Me))}for(let ue=j+1;ue<=p.value.count-1;ue++){const Me=kt(Fe(se(),{month:ne.value(ue-1),year:E.value(ue-1)}),1);N(ue,Ee(Me),$e(Me))}},K=()=>{if(Array.isArray(l.value)&&l.value.length===2){const j=se(se(l.value[1]?l.value[1]:kt(l.value[0],1))),[ue,Me]=[Ee(l.value[0]),$e(l.value[0])],[q,fe]=[Ee(l.value[1]),$e(l.value[1])];(ue!==q||ue===q&&Me!==fe)&&p.value.solo&&N(1,Ee(j),$e(j))}else l.value&&!Array.isArray(l.value)&&(N(0,Ee(l.value),$e(l.value)),F(se()))},Oe=()=>{e.startDate&&(N(0,Ee(se(e.startDate)),$e(se(e.startDate))),p.value.count&&Ge(0))},ae=(j,ue)=>{if(e.monthChangeOnScroll){const Me=new Date().getTime()-s.value.getTime(),q=Math.abs(j.deltaY);let fe=500;q>1&&(fe=100),q>100&&(fe=0),Me>fe&&(s.value=new Date,me(e.monthChangeOnScroll!=="inverse"?-j.deltaY:j.deltaY,ue))}},pe=(j,ue,Me=!1)=>{e.monthChangeOnArrows&&e.vertical===Me&&w(j,ue)},w=(j,ue)=>{me(j==="right"?-1:1,ue)},ce=j=>{if(_.value.markers)return pn(j.value,_.value.markers)},ve=(j,ue)=>{switch(e.sixWeeks===!0?"append":e.sixWeeks){case"prepend":return[!0,!1];case"center":return[j==0,!0];case"fair":return[j==0||ue>j,!0];case"append":return[!1,!1];default:return[!1,!1]}},_e=(j,ue,Me,q)=>{if(e.sixWeeks&&j.length<6){const fe=6-j.length,we=(ue.getDay()+7-q)%7,Et=6-(Me.getDay()+7-q)%7,[xt,fa]=ve(we,Et);for(let Oa=1;Oa<=fe;Oa++)if(fa?!!(Oa%2)==xt:xt){const Ut=j[0].days[0],In=Ce(rt(Ut.value,-7),Ee(ue));j.unshift({days:In})}else{const Ut=j[j.length-1],In=Ut.days[Ut.days.length-1],Mo=Ce(rt(In.value,1),Ee(ue));j.push({days:Mo})}}return j},Ce=(j,ue)=>{const Me=se(j),q=[];for(let fe=0;fe<7;fe++){const we=rt(Me,fe),Et=Ee(we)!==ue;q.push({text:e.hideOffsetDates&&Et?"":we.getDate(),value:we,current:!Et,classData:{}})}return q},Ae=(j,ue)=>{const Me=[],q=new Date(ue,j),fe=new Date(ue,j+1,0),we=e.weekStart,Et=Pt(q,{weekStartsOn:we}),xt=fa=>{const Oa=Ce(fa,j);if(Me.push({days:Oa}),!Me[Me.length-1].days.some(Ut=>Re(dt(Ut.value),dt(fe)))){const Ut=rt(fa,7);xt(Ut)}};return xt(Et),_e(Me,q,fe,we)},H=j=>{const ue=Jt(se(j.value),m.hours,m.minutes,nt());n("date-update",ue),y.value.enabled?Qr(ue,l,y.value.limit):l.value=ue,a(),ct().then(()=>{he()})},oe=j=>P.value.noDisabledRange?po(r.value[0],j).some(ue=>S(ue)):!1,De=()=>{r.value=l.value?l.value.slice():[],r.value.length===2&&!(P.value.fixedStart||P.value.fixedEnd)&&(r.value=[])},st=(j,ue)=>{const Me=[se(j.value),rt(se(j.value),+P.value.autoRange)];U(Me)?(ue&&St(j.value),r.value=Me):n("invalid-date",j.value)},St=j=>{const ue=Ee(se(j)),Me=$e(se(j));if(N(0,ue,Me),p.value.count>0)for(let q=1;q{if(oe(j.value)||!D(j.value,l.value,P.value.fixedStart?0:1))return n("invalid-date",j.value);r.value=ko(se(j.value),l,n,P)},Lt=(j,ue)=>{if(De(),P.value.autoRange)return st(j,ue);if(P.value.fixedStart||P.value.fixedEnd)return Te(j);r.value[0]?D(se(j.value),l.value)&&!oe(j.value)?qe(se(j.value),se(r.value[0]))?(r.value.unshift(se(j.value)),n("range-end",r.value[0])):(r.value[1]=se(j.value),n("range-end",r.value[1])):(e.autoApply&&n("auto-apply-invalid",j.value),n("invalid-date",j.value)):(r.value[0]=se(j.value),n("range-start",r.value[0]))},nt=(j=!0)=>e.enableSeconds?Array.isArray(m.seconds)?j?m.seconds[0]:m.seconds[1]:m.seconds:0,Ea=j=>{r.value[j]=Jt(r.value[j],m.hours[j],m.minutes[j],nt(j!==1))},Mn=()=>{var j,ue;r.value[0]&&r.value[1]&&+((j=r.value)==null?void 0:j[0])>+((ue=r.value)==null?void 0:ue[1])&&(r.value.reverse(),n("range-start",r.value[0]),n("range-end",r.value[1]))},Xa=()=>{r.value.length&&(r.value[0]&&!r.value[1]?Ea(0):(Ea(0),Ea(1),a()),Mn(),l.value=r.value.slice(),Dn(r.value,n,e.autoApply,e.modelAuto))},Pn=(j,ue=!1)=>{if(S(j.value)||!j.current&&e.hideOffsetDates)return n("invalid-date",j.value);if(i.value=JSON.parse(JSON.stringify(j)),!P.value.enabled)return H(j);Zs(m.hours)&&Zs(m.minutes)&&!y.value.enabled&&(Lt(j,ue),Xa())},$n=(j,ue)=>{var Me;N(j,ue.month,ue.year,!0),p.value.count&&!p.value.solo&&Ge(j),n("update-month-year",{instance:j,month:ue.month,year:ue.year}),t(p.value.solo?j:void 0);const q=(Me=e.flow)!=null&&Me.length?e.flow[e.flowStep]:void 0;!ue.fromNav&&(q===pt.month||q===pt.year)&&a()},Sn=(j,ue)=>{yo({value:j,modelValue:l,range:P.value.enabled,timezone:ue?void 0:b.value.timezone}),J(),e.multiCalendars&&ct().then(()=>z(!0))},En=()=>{const j=Yr(se(),b.value);!P.value.enabled&&!y.value.enabled?l.value=j:l.value&&Array.isArray(l.value)&&l.value[0]?y.value.enabled?l.value=[...l.value,j]:l.value=qe(j,l.value[0])?[j,l.value[0]]:[l.value[0],j]:l.value=[j],J()},On=()=>{if(Array.isArray(l.value))if(y.value.enabled){const j=An();l.value[l.value.length-1]=x(j)}else l.value=l.value.map((j,ue)=>j&&x(j,ue));else l.value=x(l.value);n("time-update")},An=()=>Array.isArray(l.value)&&l.value.length?l.value[l.value.length-1]:null;return{calendars:v,modelValue:l,month:ne,year:E,time:m,disabledTimesConfig:V,today:d,validateTime:O,getCalendarDays:Ae,getMarker:ce,handleScroll:ae,handleSwipe:w,handleArrow:pe,selectDate:Pn,updateMonthYear:$n,presetDate:Sn,selectCurrentDate:En,updateTime:(j,ue=!0,Me=!1)=>{M(j,ue,Me,On)},assignMonthAndYear:F,setStartTime:le}},sv={key:0},iv=te({__name:"DatePicker",props:{...$t},emits:["tooltip-open","tooltip-close","mount","update:internal-model-value","update-flow-step","reset-flow","auto-apply","focus-menu","select-date","range-start","range-end","invalid-fixed-range","time-update","am-pm-change","time-picker-open","time-picker-close","recalculate-position","update-month-year","auto-apply-invalid","date-update","invalid-date","overlay-toggle"],setup(e,{expose:n,emit:t}){const a=t,r=e,{calendars:s,month:i,year:o,modelValue:l,time:v,disabledTimesConfig:m,today:d,validateTime:p,getCalendarDays:k,getMarker:P,handleArrow:R,handleScroll:b,handleSwipe:_,selectDate:y,updateMonthYear:A,presetDate:S,selectCurrentDate:U,updateTime:D,assignMonthAndYear:M,setStartTime:x}=rv(r,a,ee,F),$=ta(),{setHoverDate:u,getDayClassData:O,clearHoverDate:V}=xv(l,r),{defaultedMultiCalendars:ne}=Ke(r),E=Y([]),L=Y([]),N=Y(null),J=yt($,"calendar"),le=yt($,"monthYear"),Q=yt($,"timePicker"),he=ae=>{r.shadow||a("mount",ae)};at(s,()=>{r.shadow||setTimeout(()=>{a("recalculate-position")},0)},{deep:!0}),at(ne,(ae,pe)=>{ae.count-pe.count>0&&M()},{deep:!0});const z=B(()=>ae=>k(i.value(ae),o.value(ae)).map(pe=>({...pe,days:pe.days.map(w=>(w.marker=P(w),w.classData=O(w),w))})));function ee(ae){var pe;ae||ae===0?(pe=L.value[ae])==null||pe.triggerTransition(i.value(ae),o.value(ae)):L.value.forEach((w,ce)=>w.triggerTransition(i.value(ce),o.value(ce)))}function F(){a("update-flow-step")}const G=(ae,pe=!1)=>{y(ae,pe),r.spaceConfirm&&a("select-date")},Z=(ae,pe,w=0)=>{var ce;(ce=E.value[w])==null||ce.toggleMonthPicker(ae,pe)},ie=(ae,pe,w=0)=>{var ce;(ce=E.value[w])==null||ce.toggleYearPicker(ae,pe)},h=(ae,pe,w)=>{var ce;(ce=N.value)==null||ce.toggleTimePicker(ae,pe,w)},X=(ae,pe)=>{var w;if(!r.range){const ce=l.value?l.value:d,ve=pe?new Date(pe):ce,_e=ae?Pt(ve,{weekStartsOn:1}):wi(ve,{weekStartsOn:1});y({value:_e,current:Ee(ve)===i.value(0),text:"",classData:{}}),(w=document.getElementById(gr(_e)))==null||w.focus()}},me=ae=>{var pe;(pe=E.value[0])==null||pe.handleMonthYearChange(ae,!0)},Ge=ae=>{A(0,{month:i.value(0),year:o.value(0)+(ae?1:-1),fromNav:!0})},K=(ae,pe)=>{ae===pt.time&&a(`time-picker-${pe?"open":"close"}`),a("overlay-toggle",{open:pe,overlay:ae})},Oe=ae=>{a("overlay-toggle",{open:!1,overlay:ae}),a("focus-menu")};return n({clearHoverDate:V,presetDate:S,selectCurrentDate:U,toggleMonthPicker:Z,toggleYearPicker:ie,toggleTimePicker:h,handleArrow:R,updateMonthYear:A,getSidebarProps:()=>({modelValue:l,month:i,year:o,time:v,updateTime:D,updateMonthYear:A,selectDate:y,presetDate:S}),changeMonth:me,changeYear:Ge,selectWeekDate:X,setStartTime:x}),(ae,pe)=>(f(),g(ge,null,[re(xn,{"multi-calendars":c(ne).count,collapse:ae.collapse,"is-mobile":ae.isMobile},{default:C(({instance:w,index:ce})=>[ae.disableMonthYearSelect?W("",!0):(f(),de(qm,Ne({key:0,ref:ve=>{ve&&(E.value[ce]=ve)},months:c(Vi)(ae.formatLocale,ae.locale,ae.monthNameFormat),years:c(jr)(ae.yearRange,ae.locale,ae.reverseYears),month:c(i)(w),year:c(o)(w),instance:w},ae.$props,{onMount:pe[0]||(pe[0]=ve=>he(c(oa).header)),onResetFlow:pe[1]||(pe[1]=ve=>ae.$emit("reset-flow")),onUpdateMonthYear:ve=>c(A)(w,ve),onOverlayClosed:Oe,onOverlayOpened:pe[2]||(pe[2]=ve=>ae.$emit("overlay-toggle",{open:!0,overlay:ve}))}),ot({_:2},[Se(c(le),(ve,_e)=>({name:ve,fn:C(Ce=>[I(ae.$slots,ve,ut(vt(Ce)))])}))]),1040,["months","years","month","year","instance","onUpdateMonthYear"])),re(nv,Ne({ref:ve=>{ve&&(L.value[ce]=ve)},"mapped-dates":z.value(w),month:c(i)(w),year:c(o)(w),instance:w},ae.$props,{onSelectDate:ve=>c(y)(ve,w!==1),onHandleSpace:ve=>G(ve,w!==1),onSetHoverDate:pe[3]||(pe[3]=ve=>c(u)(ve)),onHandleScroll:ve=>c(b)(ve,w),onHandleSwipe:ve=>c(_)(ve,w),onMount:pe[4]||(pe[4]=ve=>he(c(oa).calendar)),onResetFlow:pe[5]||(pe[5]=ve=>ae.$emit("reset-flow")),onTooltipOpen:pe[6]||(pe[6]=ve=>ae.$emit("tooltip-open",ve)),onTooltipClose:pe[7]||(pe[7]=ve=>ae.$emit("tooltip-close",ve))}),ot({_:2},[Se(c(J),(ve,_e)=>({name:ve,fn:C(Ce=>[I(ae.$slots,ve,ut(vt({...Ce})))])}))]),1040,["mapped-dates","month","year","instance","onSelectDate","onHandleSpace","onHandleScroll","onHandleSwipe"])]),_:3},8,["multi-calendars","collapse","is-mobile"]),ae.enableTimePicker?(f(),g("div",sv,[ae.$slots["time-picker"]?I(ae.$slots,"time-picker",ut(Ne({key:0},{time:c(v),updateTime:c(D)}))):(f(),de(xo,Ne({key:1,ref_key:"timePickerRef",ref:N},ae.$props,{hours:c(v).hours,minutes:c(v).minutes,seconds:c(v).seconds,"internal-model-value":ae.internalModelValue,"disabled-times-config":c(m),"validate-time":c(p),onMount:pe[8]||(pe[8]=w=>he(c(oa).timePicker)),"onUpdate:hours":pe[9]||(pe[9]=w=>c(D)(w)),"onUpdate:minutes":pe[10]||(pe[10]=w=>c(D)(w,!1)),"onUpdate:seconds":pe[11]||(pe[11]=w=>c(D)(w,!1,!0)),onResetFlow:pe[12]||(pe[12]=w=>ae.$emit("reset-flow")),onOverlayClosed:pe[13]||(pe[13]=w=>K(w,!1)),onOverlayOpened:pe[14]||(pe[14]=w=>K(w,!0)),onAmPmChange:pe[15]||(pe[15]=w=>ae.$emit("am-pm-change",w))}),ot({_:2},[Se(c(Q),(w,ce)=>({name:w,fn:C(ve=>[I(ae.$slots,w,ut(vt(ve)))])}))]),1040,["hours","minutes","seconds","internal-model-value","disabled-times-config","validate-time"]))])):W("",!0)],64))}}),ov=(e,n)=>{const t=Y(),{defaultedMultiCalendars:a,defaultedConfig:r,defaultedHighlight:s,defaultedRange:i,propDates:o,defaultedFilters:l,defaultedMultiDates:v}=Ke(e),{modelValue:m,year:d,month:p,calendars:k}=Ka(e,n),{isDisabled:P}=na(e),{selectYear:R,groupedYears:b,showYearPicker:_,isDisabled:y,toggleYearPicker:A,handleYearSelect:S,handleYear:U}=wo({modelValue:m,multiCalendars:a,range:i,highlight:s,calendars:k,propDates:o,month:p,year:d,filters:l,props:e,emit:n}),D=(L,N)=>[L,N].map(J=>wt(J,"MMMM",{locale:e.formatLocale})).join("-"),M=B(()=>L=>m.value?Array.isArray(m.value)?m.value.some(N=>_s(L,N)):_s(m.value,L):!1),x=L=>{if(i.value.enabled){if(Array.isArray(m.value)){const N=Re(L,m.value[0])||Re(L,m.value[1]);return ja(m.value,t.value,L)&&!N}return!1}return!1},$=(L,N)=>L.quarter===ss(N)&&L.year===$e(N),u=L=>typeof s.value=="function"?s.value({quarter:ss(L),year:$e(L)}):!!s.value.quarters.find(N=>$(N,L)),O=B(()=>L=>{const N=Fe(new Date,{year:d.value(L)});return j_({start:xa(N),end:Sr(N)}).map(J=>{const le=qt(J),Q=os(J),he=P(J),z=x(le),ee=u(le);return{text:D(le,Q),value:le,active:M.value(le),highlighted:ee,disabled:he,isBetween:z}})}),V=L=>{Qr(L,m,v.value.limit),n("auto-apply",!0)},ne=L=>{m.value=Zr(m,L,n),Dn(m.value,n,e.autoApply,e.modelAuto)},E=L=>{m.value=L,n("auto-apply")};return{defaultedConfig:r,defaultedMultiCalendars:a,groupedYears:b,year:d,isDisabled:y,quarters:O,showYearPicker:_,modelValue:m,setHoverDate:L=>{t.value=L},selectYear:R,selectQuarter:(L,N,J)=>{if(!J)return k.value[N].month=Ee(os(L)),v.value.enabled?V(L):i.value.enabled?ne(L):E(L)},toggleYearPicker:A,handleYearSelect:S,handleYear:U}},lv={class:"dp--quarter-items"},uv=["data-test-id","disabled","onClick","onMouseover"],cv=te({compatConfig:{MODE:3},__name:"QuarterPicker",props:{...$t},emits:["update:internal-model-value","reset-flow","overlay-closed","auto-apply","range-start","range-end","overlay-toggle","update-month-year"],setup(e,{expose:n,emit:t}){const a=t,r=e,s=ta(),i=yt(s,"yearMode"),{defaultedMultiCalendars:o,defaultedConfig:l,groupedYears:v,year:m,isDisabled:d,quarters:p,modelValue:k,showYearPicker:P,setHoverDate:R,selectQuarter:b,toggleYearPicker:_,handleYearSelect:y,handleYear:A}=ov(r,a);return n({getSidebarProps:()=>({modelValue:k,year:m,selectQuarter:b,handleYearSelect:y,handleYear:A})}),(S,U)=>(f(),de(xn,{"multi-calendars":c(o).count,collapse:S.collapse,stretch:"","is-mobile":S.isMobile},{default:C(({instance:D})=>[T("div",{class:"dp-quarter-picker-wrap",style:mt({minHeight:`${c(l).modeHeight}px`})},[S.$slots["top-extra"]?I(S.$slots,"top-extra",{key:0,value:S.internalModelValue}):W("",!0),T("div",null,[re(go,Ne(S.$props,{items:c(v)(D),instance:D,"show-year-picker":c(P)[D],year:c(m)(D),"is-disabled":M=>c(d)(D,M),onHandleYear:M=>c(A)(D,M),onYearSelect:M=>c(y)(M,D),onToggleYearPicker:M=>c(_)(D,M==null?void 0:M.flow,M==null?void 0:M.show)}),ot({_:2},[Se(c(i),(M,x)=>({name:M,fn:C($=>[I(S.$slots,M,ut(vt($)))])}))]),1040,["items","instance","show-year-picker","year","is-disabled","onHandleYear","onYearSelect","onToggleYearPicker"])]),T("div",lv,[(f(!0),g(ge,null,Se(c(p)(D),(M,x)=>(f(),g("div",{key:x},[T("button",{type:"button",class:ye(["dp--qr-btn",{"dp--qr-btn-active":M.active,"dp--qr-btn-between":M.isBetween,"dp--qr-btn-disabled":M.disabled,"dp--highlighted":M.highlighted}]),"data-test-id":M.value,disabled:M.disabled,onClick:$=>c(b)(M.value,D,M.disabled),onMouseover:$=>c(R)(M.value)},[S.$slots.quarter?I(S.$slots,"quarter",{key:0,value:M.value,text:M.text}):(f(),g(ge,{key:1},[Ye(be(M.text),1)],64))],42,uv)]))),128))])],4)]),_:3},8,["multi-calendars","collapse","is-mobile"]))}}),To=(e,n)=>{const t=Y(0);Ue(()=>{a(),window.addEventListener("resize",a,{passive:!0})}),Ht(()=>{window.removeEventListener("resize",a)});const a=()=>{t.value=window.document.documentElement.clientWidth};return{isMobile:B(()=>t.value<=e.value.mobileBreakpoint&&!n?!0:void 0)}},dv=["id","tabindex","role","aria-label"],_v={key:0,class:"dp--menu-load-container"},pv={key:1,class:"dp--menu-header"},fv=["data-dp-mobile"],hv={key:0,class:"dp__sidebar_left"},mv=["data-dp-mobile"],vv=["data-test-id","data-dp-mobile","onClick","onKeydown"],bv={key:2,class:"dp__sidebar_right"},gv={key:3,class:"dp__action_extra"},Js=te({compatConfig:{MODE:3},__name:"DatepickerMenu",props:{...wn,shadow:{type:Boolean,default:!1},openOnTop:{type:Boolean,default:!1},internalModelValue:{type:[Date,Array],default:null},noOverlayFocus:{type:Boolean,default:!1},collapse:{type:Boolean,default:!1},getInputRect:{type:Function,default:()=>({})},isTextInputDate:{type:Boolean,default:!1}},emits:["close-picker","select-date","auto-apply","time-update","flow-step","update-month-year","invalid-select","update:internal-model-value","recalculate-position","invalid-fixed-range","tooltip-open","tooltip-close","time-picker-open","time-picker-close","am-pm-change","range-start","range-end","auto-apply-invalid","date-update","invalid-date","overlay-toggle","menu-blur"],setup(e,{expose:n,emit:t}){const a=t,r=e,s=Y(null),i=B(()=>{const{openOnTop:H,...oe}=r;return{...oe,isMobile:R.value,flowStep:O.value,menuWrapRef:s.value}}),{setMenuFocused:o,setShiftKey:l,control:v}=bo(),m=ta(),{defaultedTextInput:d,defaultedInline:p,defaultedConfig:k,defaultedUI:P}=Ke(r),{isMobile:R}=To(k,r.shadow),b=Y(null),_=Y(0),y=Y(null),A=Y(!1),S=Y(null),U=Y(!1);Ue(()=>{if(!r.shadow){A.value=!0,D(),window.addEventListener("resize",D);const H=it(s);if(H&&!d.value.enabled&&!p.value.enabled&&(o(!0),le()),H){const oe=De=>{U.value=!0,k.value.allowPreventDefault&&De.preventDefault(),Zt(De,k.value,!0)};H.addEventListener("pointerdown",oe),H.addEventListener("mousedown",oe)}}document.addEventListener("mousedown",Ae)}),Ht(()=>{window.removeEventListener("resize",D),document.addEventListener("mousedown",Ae)});const D=()=>{const H=it(y);H&&(_.value=H.getBoundingClientRect().width)},{arrowRight:M,arrowLeft:x,arrowDown:$,arrowUp:u}=aa(),{flowStep:O,updateFlowStep:V,childMount:ne,resetFlow:E,handleFlow:L}=Dv(r,a,S),N=B(()=>r.monthPicker?$m:r.yearPicker?Em:r.timePicker?Hm:r.quarterPicker?cv:iv),J=B(()=>{var H;if(k.value.arrowLeft)return k.value.arrowLeft;const oe=(H=s.value)==null?void 0:H.getBoundingClientRect(),De=r.getInputRect();return(De==null?void 0:De.width)<(_==null?void 0:_.value)&&(De==null?void 0:De.left)<=((oe==null?void 0:oe.left)??0)?`${(De==null?void 0:De.width)/2}px`:(De==null?void 0:De.right)>=((oe==null?void 0:oe.right)??0)&&(De==null?void 0:De.width)<(_==null?void 0:_.value)?`${(_==null?void 0:_.value)-(De==null?void 0:De.width)/2}px`:"50%"}),le=()=>{const H=it(s);H&&H.focus({preventScroll:!0})},Q=B(()=>{var H;return((H=S.value)==null?void 0:H.getSidebarProps())||{}}),he=()=>{r.openOnTop&&a("recalculate-position")},z=yt(m,"action"),ee=B(()=>r.monthPicker||r.yearPicker?yt(m,"monthYear"):r.timePicker?yt(m,"timePicker"):yt(m,"shared")),F=B(()=>r.openOnTop?"dp__arrow_bottom":"dp__arrow_top"),G=B(()=>({dp__menu_disabled:r.disabled,dp__menu_readonly:r.readonly,"dp-menu-loading":r.loading})),Z=B(()=>({dp__menu:!0,dp__menu_index:!p.value.enabled,dp__relative:p.value.enabled,...P.value.menu??{}})),ie=H=>{Zt(H,k.value,!0)},h=()=>{r.escClose&&a("close-picker")},X=H=>{if(r.arrowNavigation){if(H===ft.up)return u();if(H===ft.down)return $();if(H===ft.left)return x();if(H===ft.right)return M()}else H===ft.left||H===ft.up?ae("handleArrow",ft.left,0,H===ft.up):ae("handleArrow",ft.right,0,H===ft.down)},me=H=>{l(H.shiftKey),!r.disableMonthYearSelect&&H.code===ze.tab&&H.target.classList.contains("dp__menu")&&v.value.shiftKeyInMenu&&(H.preventDefault(),Zt(H,k.value,!0),a("close-picker"))},Ge=()=>{le(),a("time-picker-close")},K=H=>{var oe,De,st;(oe=S.value)==null||oe.toggleTimePicker(!1,!1),(De=S.value)==null||De.toggleMonthPicker(!1,!1,H),(st=S.value)==null||st.toggleYearPicker(!1,!1,H)},Oe=(H,oe=0)=>{var De,st,St;return H==="month"?(De=S.value)==null?void 0:De.toggleMonthPicker(!1,!0,oe):H==="year"?(st=S.value)==null?void 0:st.toggleYearPicker(!1,!0,oe):H==="time"?(St=S.value)==null?void 0:St.toggleTimePicker(!0,!1):K(oe)},ae=(H,...oe)=>{var De,st;(De=S.value)!=null&&De[H]&&((st=S.value)==null||st[H](...oe))},pe=()=>{ae("selectCurrentDate")},w=(H,oe)=>{ae("presetDate",Fo(H),oe)},ce=()=>{ae("clearHoverDate")},ve=(H,oe)=>{ae("updateMonthYear",H,oe)},_e=(H,oe)=>{H.preventDefault(),X(oe)},Ce=H=>{var oe,De,st;if(me(H),H.key===ze.home||H.key===ze.end)return ae("selectWeekDate",H.key===ze.home,H.target.getAttribute("id"));switch((H.key===ze.pageUp||H.key===ze.pageDown)&&(H.shiftKey?(ae("changeYear",H.key===ze.pageUp),(oe=mr(s.value,"overlay-year"))==null||oe.focus()):(ae("changeMonth",H.key===ze.pageUp),(De=mr(s.value,H.key===ze.pageUp?"action-prev":"action-next"))==null||De.focus()),H.target.getAttribute("id")&&((st=s.value)==null||st.focus({preventScroll:!0}))),H.key){case ze.esc:return h();case ze.arrowLeft:return _e(H,ft.left);case ze.arrowRight:return _e(H,ft.right);case ze.arrowUp:return _e(H,ft.up);case ze.arrowDown:return _e(H,ft.down);default:return}},Ae=H=>{var oe;p.value.enabled&&!p.value.input&&!((oe=s.value)!=null&&oe.contains(H.target))&&U.value&&(U.value=!1,a("menu-blur"))};return n({updateMonthYear:ve,switchView:Oe,handleFlow:L,onValueCleared:()=>{var H,oe;(oe=(H=S.value)==null?void 0:H.setStartTime)==null||oe.call(H)}}),(H,oe)=>{var De,st,St;return f(),g("div",{id:H.uid?`dp-menu-${H.uid}`:void 0,ref_key:"dpMenuRef",ref:s,tabindex:c(p).enabled?void 0:"0",role:c(p).enabled?void 0:"dialog","aria-label":(De=H.ariaLabels)==null?void 0:De.menu,class:ye(Z.value),style:mt({"--dp-arrow-left":J.value}),onMouseleave:ce,onClick:ie,onKeydown:Ce},[(H.disabled||H.readonly)&&c(p).enabled||H.loading?(f(),g("div",{key:0,class:ye(G.value)},[H.loading?(f(),g("div",_v,oe[19]||(oe[19]=[T("span",{class:"dp--menu-loader"},null,-1)]))):W("",!0)],2)):W("",!0),H.$slots["menu-header"]?(f(),g("div",pv,[I(H.$slots,"menu-header")])):W("",!0),!c(p).enabled&&!H.teleportCenter?(f(),g("div",{key:2,class:ye(F.value)},null,2)):W("",!0),T("div",{ref_key:"innerMenuRef",ref:y,class:ye({dp__menu_content_wrapper:((st=H.presetDates)==null?void 0:st.length)||!!H.$slots["left-sidebar"]||!!H.$slots["right-sidebar"],"dp--menu-content-wrapper-collapsed":e.collapse&&(((St=H.presetDates)==null?void 0:St.length)||!!H.$slots["left-sidebar"]||!!H.$slots["right-sidebar"])}),"data-dp-mobile":c(R),style:mt({"--dp-menu-width":`${_.value}px`})},[H.$slots["left-sidebar"]?(f(),g("div",hv,[I(H.$slots,"left-sidebar",ut(vt(Q.value)))])):W("",!0),H.presetDates.length?(f(),g("div",{key:1,class:ye({"dp--preset-dates-collapsed":e.collapse,"dp--preset-dates":!0}),"data-dp-mobile":c(R)},[(f(!0),g(ge,null,Se(H.presetDates,(Te,Lt)=>(f(),g(ge,{key:Lt},[Te.slot?I(H.$slots,Te.slot,{key:0,presetDate:w,label:Te.label,value:Te.value}):(f(),g("button",{key:1,type:"button",style:mt(Te.style||{}),class:ye(["dp__btn dp--preset-range",{"dp--preset-range-collapsed":e.collapse}]),"data-test-id":Te.testId??void 0,"data-dp-mobile":c(R),onClick:ca(nt=>w(Te.value,Te.noTz),["prevent"]),onKeydown:nt=>c(ht)(nt,()=>w(Te.value,Te.noTz),!0)},be(Te.label),47,vv))],64))),128))],10,mv)):W("",!0),T("div",{ref_key:"calendarWrapperRef",ref:b,class:"dp__instance_calendar",role:"document"},[(f(),de(bt(N.value),Ne({ref_key:"dynCmpRef",ref:S},i.value,{"flow-step":c(O),onMount:c(ne),onUpdateFlowStep:c(V),onResetFlow:c(E),onFocusMenu:le,onSelectDate:oe[0]||(oe[0]=Te=>H.$emit("select-date")),onDateUpdate:oe[1]||(oe[1]=Te=>H.$emit("date-update",Te)),onTooltipOpen:oe[2]||(oe[2]=Te=>H.$emit("tooltip-open",Te)),onTooltipClose:oe[3]||(oe[3]=Te=>H.$emit("tooltip-close",Te)),onAutoApply:oe[4]||(oe[4]=Te=>H.$emit("auto-apply",Te)),onRangeStart:oe[5]||(oe[5]=Te=>H.$emit("range-start",Te)),onRangeEnd:oe[6]||(oe[6]=Te=>H.$emit("range-end",Te)),onInvalidFixedRange:oe[7]||(oe[7]=Te=>H.$emit("invalid-fixed-range",Te)),onTimeUpdate:oe[8]||(oe[8]=Te=>H.$emit("time-update")),onAmPmChange:oe[9]||(oe[9]=Te=>H.$emit("am-pm-change",Te)),onTimePickerOpen:oe[10]||(oe[10]=Te=>H.$emit("time-picker-open",Te)),onTimePickerClose:Ge,onRecalculatePosition:he,onUpdateMonthYear:oe[11]||(oe[11]=Te=>H.$emit("update-month-year",Te)),onAutoApplyInvalid:oe[12]||(oe[12]=Te=>H.$emit("auto-apply-invalid",Te)),onInvalidDate:oe[13]||(oe[13]=Te=>H.$emit("invalid-date",Te)),onOverlayToggle:oe[14]||(oe[14]=Te=>H.$emit("overlay-toggle",Te)),"onUpdate:internalModelValue":oe[15]||(oe[15]=Te=>H.$emit("update:internal-model-value",Te))}),ot({_:2},[Se(ee.value,(Te,Lt)=>({name:Te,fn:C(nt=>[I(H.$slots,Te,ut(vt({...nt})))])}))]),1040,["flow-step","onMount","onUpdateFlowStep","onResetFlow"]))],512),H.$slots["right-sidebar"]?(f(),g("div",bv,[I(H.$slots,"right-sidebar",ut(vt(Q.value)))])):W("",!0),H.$slots["action-extra"]?(f(),g("div",gv,[H.$slots["action-extra"]?I(H.$slots,"action-extra",{key:0,selectCurrentDate:pe}):W("",!0)])):W("",!0)],14,fv),!H.autoApply||c(k).keepActionRow?(f(),de(gm,Ne({key:3,"menu-mount":A.value},i.value,{"calendar-width":_.value,onClosePicker:oe[16]||(oe[16]=Te=>H.$emit("close-picker")),onSelectDate:oe[17]||(oe[17]=Te=>H.$emit("select-date")),onInvalidSelect:oe[18]||(oe[18]=Te=>H.$emit("invalid-select")),onSelectNow:pe}),ot({_:2},[Se(c(z),(Te,Lt)=>({name:Te,fn:C(nt=>[I(H.$slots,Te,ut(vt({...nt})))])}))]),1040,["menu-mount","calendar-width"])):W("",!0)],46,dv)}}});var ba=(e=>(e.center="center",e.left="left",e.right="right",e))(ba||{});const yv=({menuRef:e,menuRefInner:n,inputRef:t,pickerWrapperRef:a,inline:r,emit:s,props:i,slots:o})=>{const{defaultedConfig:l}=Ke(i),v=Y({}),m=Y(!1),d=Y({top:"0",left:"0"}),p=Y(!1),k=Ba(i,"teleportCenter");at(k,()=>{d.value=JSON.parse(JSON.stringify({})),U()});const P=N=>{if(i.teleport){const J=N.getBoundingClientRect();return{left:J.left+window.scrollX,top:J.top+window.scrollY}}return{top:0,left:0}},R=(N,J)=>{d.value.left=`${N+J-v.value.width}px`},b=N=>{d.value.left=`${N}px`},_=(N,J)=>{i.position===ba.left&&b(N),i.position===ba.right&&R(N,J),i.position===ba.center&&(d.value.left=`${N+J/2-v.value.width/2}px`)},y=N=>{const{width:J,height:le}=N.getBoundingClientRect(),{top:Q,left:he}=P(N);return{top:+Q,left:+he,width:J,height:le}},A=()=>{d.value.left="50%",d.value.top="50%",d.value.transform="translate(-50%, -50%)",d.value.position="fixed",delete d.value.opacity},S=()=>{const N=it(t);d.value=i.altPosition(N)},U=(N=!0)=>{var J;if(!r.value.enabled){if(k.value)return A();if(i.altPosition!==null)return S();if(N){const le=i.teleport?(J=n.value)==null?void 0:J.$el:e.value;le&&(v.value=le.getBoundingClientRect()),s("recalculate-position")}return V()}},D=({inputEl:N,left:J,width:le})=>{window.screen.width>768&&!m.value&&_(J,le),$(N)},M=N=>{const{top:J,left:le,height:Q,width:he}=y(N);d.value.top=`${Q+J+ +i.offset}px`,p.value=!1,m.value||(d.value.left=`${le+he/2-v.value.width/2}px`),D({inputEl:N,left:le,width:he})},x=N=>{const{top:J,left:le,width:Q}=y(N);d.value.top=`${J-+i.offset-v.value.height}px`,p.value=!0,D({inputEl:N,left:le,width:Q})},$=N=>{if(i.autoPosition){const{left:J,width:le}=y(N),{left:Q,right:he}=v.value;if(!m.value){if(Math.abs(Q)!==Math.abs(he)){if(Q<=0)return m.value=!0,b(J);if(he>=document.documentElement.clientWidth)return m.value=!0,R(J,le)}return _(J,le)}}},u=()=>{const N=it(t);if(N){if(i.autoPosition===Tt.top)return Tt.top;if(i.autoPosition===Tt.bottom)return Tt.bottom;const{height:J}=v.value,{top:le,height:Q}=N.getBoundingClientRect(),he=window.innerHeight-le-Q,z=le;return J<=he?Tt.bottom:J>he&&J<=z?Tt.top:he>=z?Tt.bottom:Tt.top}return Tt.bottom},O=N=>u()===Tt.bottom?M(N):x(N),V=()=>{const N=it(t);if(N)return i.autoPosition?O(N):M(N)},ne=function(N){if(N){const J=N.scrollHeight>N.clientHeight,le=window.getComputedStyle(N).overflowY.indexOf("hidden")!==-1;return J&&!le}return!0},E=function(N){return!N||N===document.body||N.nodeType===Node.DOCUMENT_FRAGMENT_NODE?window:ne(N)?N:E(N.assignedSlot&&l.value.shadowDom?N.assignedSlot.parentNode:N.parentNode)},L=N=>{if(N)switch(i.position){case ba.left:return{left:0,transform:"translateX(0)"};case ba.right:return{left:`${N.width}px`,transform:"translateX(-100%)"};default:return{left:`${N.width/2}px`,transform:"translateX(-50%)"}}return{}};return{openOnTop:p,menuStyle:d,xCorrect:m,setMenuPosition:U,getScrollableParent:E,shadowRender:(N,J)=>{var le,Q,he;const z=document.createElement("div"),ee=(le=it(t))==null?void 0:le.getBoundingClientRect();z.setAttribute("id","dp--temp-container");const F=(Q=a.value)!=null&&Q.clientWidth?a.value:document.body;F.append(z);const G=L(ee),Z=l.value.shadowDom?Object.keys(o).filter(h=>["right-sidebar","left-sidebar","top-extra","action-extra"].includes(h)):Object.keys(o),ie=Yo(N,{...J,shadow:!0,style:{opacity:0,position:"absolute",...G}},Object.fromEntries(Z.map(h=>[h,o[h]])));es(ie,z),v.value=(he=ie.el)==null?void 0:he.getBoundingClientRect(),es(null,z),F.removeChild(z)}}},Kt=[{name:"clock-icon",use:["time","calendar","shared"]},{name:"arrow-left",use:["month-year","calendar","shared","year-mode"]},{name:"arrow-right",use:["month-year","calendar","shared","year-mode"]},{name:"arrow-up",use:["time","calendar","month-year","shared"]},{name:"arrow-down",use:["time","calendar","month-year","shared"]},{name:"calendar-icon",use:["month-year","time","calendar","shared","year-mode"]},{name:"day",use:["calendar","shared"]},{name:"month-overlay-value",use:["calendar","month-year","shared"]},{name:"year-overlay-value",use:["calendar","month-year","shared","year-mode"]},{name:"year-overlay",use:["month-year","shared"]},{name:"month-overlay",use:["month-year","shared"]},{name:"month-overlay-header",use:["month-year","shared"]},{name:"year-overlay-header",use:["month-year","shared"]},{name:"hours-overlay-value",use:["calendar","time","shared"]},{name:"hours-overlay-header",use:["calendar","time","shared"]},{name:"minutes-overlay-value",use:["calendar","time","shared"]},{name:"minutes-overlay-header",use:["calendar","time","shared"]},{name:"seconds-overlay-value",use:["calendar","time","shared"]},{name:"seconds-overlay-header",use:["calendar","time","shared"]},{name:"hours",use:["calendar","time","shared"]},{name:"minutes",use:["calendar","time","shared"]},{name:"month",use:["calendar","month-year","shared"]},{name:"year",use:["calendar","month-year","shared","year-mode"]},{name:"action-buttons",use:["action"]},{name:"action-preview",use:["action"]},{name:"calendar-header",use:["calendar","shared"]},{name:"marker-tooltip",use:["calendar","shared"]},{name:"action-extra",use:["menu"]},{name:"time-picker-overlay",use:["calendar","time","shared"]},{name:"am-pm-button",use:["calendar","time","shared"]},{name:"left-sidebar",use:["menu"]},{name:"right-sidebar",use:["menu"]},{name:"month-year",use:["month-year","shared"]},{name:"time-picker",use:["menu","shared"]},{name:"action-row",use:["action"]},{name:"marker",use:["calendar","shared"]},{name:"quarter",use:["shared"]},{name:"top-extra",use:["shared","month-year"]},{name:"tp-inline-arrow-up",use:["shared","time"]},{name:"tp-inline-arrow-down",use:["shared","time"]},{name:"menu-header",use:["menu"]}],kv=[{name:"trigger"},{name:"input-icon"},{name:"clear-icon"},{name:"dp-input"}],wv={all:()=>Kt,monthYear:()=>Kt.filter(e=>e.use.includes("month-year")),input:()=>kv,timePicker:()=>Kt.filter(e=>e.use.includes("time")),action:()=>Kt.filter(e=>e.use.includes("action")),calendar:()=>Kt.filter(e=>e.use.includes("calendar")),menu:()=>Kt.filter(e=>e.use.includes("menu")),shared:()=>Kt.filter(e=>e.use.includes("shared")),yearMode:()=>Kt.filter(e=>e.use.includes("year-mode"))},yt=(e,n,t)=>{const a=[];return wv[n]().forEach(r=>{e[r.name]&&a.push(r.name)}),t!=null&&t.length&&t.forEach(r=>{r.slot&&a.push(r.slot)}),a},Ga=e=>{const n=B(()=>a=>e.value?a?e.value.open:e.value.close:""),t=B(()=>a=>e.value?a?e.value.menuAppearTop:e.value.menuAppearBottom:"");return{transitionName:n,showTransition:!!e.value,menuTransition:t}},Ka=(e,n,t)=>{const{defaultedRange:a,defaultedTz:r}=Ke(e),s=se(gt(se(),r.value.timezone)),i=Y([{month:Ee(s),year:$e(s)}]),o=p=>{const k={hours:Yt(s),minutes:ea(s),seconds:0};return a.value.enabled?[k[p],k[p]]:k[p]},l=Fa({hours:o("hours"),minutes:o("minutes"),seconds:o("seconds")});at(a,(p,k)=>{p.enabled!==k.enabled&&(l.hours=o("hours"),l.minutes=o("minutes"),l.seconds=o("seconds"))},{deep:!0});const v=B({get:()=>e.internalModelValue,set:p=>{!e.readonly&&!e.disabled&&n("update:internal-model-value",p)}}),m=B(()=>p=>i.value[p]?i.value[p].month:0),d=B(()=>p=>i.value[p]?i.value[p].year:0);return at(v,(p,k)=>{t&&JSON.stringify(p??{})!==JSON.stringify(k??{})&&t()},{deep:!0}),{calendars:i,time:l,modelValue:v,month:m,year:d,today:s}},xv=(e,n)=>{const{defaultedMultiCalendars:t,defaultedMultiDates:a,defaultedUI:r,defaultedHighlight:s,defaultedTz:i,propDates:o,defaultedRange:l}=Ke(n),{isDisabled:v}=na(n),m=Y(null),d=Y(gt(new Date,i.value.timezone)),p=h=>{!h.current&&n.hideOffsetDates||(m.value=h.value)},k=()=>{m.value=null},P=h=>Array.isArray(e.value)&&l.value.enabled&&e.value[0]&&m.value?h?Je(m.value,e.value[0]):qe(m.value,e.value[0]):!0,R=(h,X)=>{const me=()=>e.value?X?e.value[0]||null:e.value[1]:null,Ge=e.value&&Array.isArray(e.value)?me():null;return Re(se(h.value),Ge)},b=h=>{const X=Array.isArray(e.value)?e.value[0]:null;return h?!qe(m.value??null,X):!0},_=(h,X=!0)=>(l.value.enabled||n.weekPicker)&&Array.isArray(e.value)&&e.value.length===2?n.hideOffsetDates&&!h.current?!1:Re(se(h.value),e.value[X?0:1]):l.value.enabled?R(h,X)&&b(X)||Re(h.value,Array.isArray(e.value)?e.value[0]:null)&&P(X):!1,y=(h,X)=>{if(Array.isArray(e.value)&&e.value[0]&&e.value.length===1){const me=Re(h.value,m.value);return X?Je(e.value[0],h.value)&&me:qe(e.value[0],h.value)&&me}return!1},A=h=>!e.value||n.hideOffsetDates&&!h.current?!1:l.value.enabled?n.modelAuto&&Array.isArray(e.value)?Re(h.value,e.value[0]?e.value[0]:d.value):!1:a.value.enabled&&Array.isArray(e.value)?e.value.some(X=>Re(X,h.value)):Re(h.value,e.value?e.value:d.value),S=h=>{if(l.value.autoRange||n.weekPicker){if(m.value){if(n.hideOffsetDates&&!h.current)return!1;const X=rt(m.value,+l.value.autoRange),me=Bt(se(m.value),n.weekStart);return n.weekPicker?Re(me[1],se(h.value)):Re(X,se(h.value))}return!1}return!1},U=h=>{if(l.value.autoRange||n.weekPicker){if(m.value){const X=rt(m.value,+l.value.autoRange);if(n.hideOffsetDates&&!h.current)return!1;const me=Bt(se(m.value),n.weekStart);return n.weekPicker?Je(h.value,me[0])&&qe(h.value,me[1]):Je(h.value,m.value)&&qe(h.value,X)}return!1}return!1},D=h=>{if(l.value.autoRange||n.weekPicker){if(m.value){if(n.hideOffsetDates&&!h.current)return!1;const X=Bt(se(m.value),n.weekStart);return n.weekPicker?Re(X[0],h.value):Re(m.value,h.value)}return!1}return!1},M=h=>ja(e.value,m.value,h.value),x=()=>n.modelAuto&&Array.isArray(n.internalModelValue)?!!n.internalModelValue[0]:!1,$=()=>n.modelAuto?Li(n.internalModelValue):!0,u=h=>{if(n.weekPicker)return!1;const X=l.value.enabled?!_(h)&&!_(h,!1):!0;return!v(h.value)&&!A(h)&&!(!h.current&&n.hideOffsetDates)&&X},O=h=>l.value.enabled?n.modelAuto?x()&&A(h):!1:A(h),V=h=>s.value?Gf(h.value,o.value.highlight):!1,ne=h=>{const X=v(h.value);return X&&(typeof s.value=="function"?!s.value(h.value,X):!s.value.options.highlightDisabled)},E=h=>{var X;return typeof s.value=="function"?s.value(h.value):(X=s.value.weekdays)==null?void 0:X.includes(h.value.getDay())},L=h=>(l.value.enabled||n.weekPicker)&&(!(t.value.count>0)||h.current)&&$()&&!(!h.current&&n.hideOffsetDates)&&!A(h)?M(h):!1,N=h=>{if(Array.isArray(e.value)&&e.value.length===1){const{before:X,after:me}=Xs(+l.value.maxRange,e.value[0]);return Ta(h.value,X)||da(h.value,me)}return!1},J=h=>{if(Array.isArray(e.value)&&e.value.length===1){const{before:X,after:me}=Xs(+l.value.minRange,e.value[0]);return ja([X,me],e.value[0],h.value)}return!1},le=h=>l.value.enabled&&(l.value.maxRange||l.value.minRange)?l.value.maxRange&&l.value.minRange?N(h)||J(h):l.value.maxRange?N(h):J(h):!1,Q=h=>{const{isRangeStart:X,isRangeEnd:me}=F(h),Ge=l.value.enabled?X||me:!1;return{dp__cell_offset:!h.current,dp__pointer:!n.disabled&&!(!h.current&&n.hideOffsetDates)&&!v(h.value)&&!le(h),dp__cell_disabled:v(h.value)||le(h),dp__cell_highlight:!ne(h)&&(V(h)||E(h))&&!O(h)&&!Ge&&!D(h)&&!(L(h)&&n.weekPicker)&&!me,dp__cell_highlight_active:!ne(h)&&(V(h)||E(h))&&O(h),dp__today:!n.noToday&&Re(h.value,d.value)&&h.current,"dp--past":qe(h.value,d.value),"dp--future":Je(h.value,d.value)}},he=h=>({dp__active_date:O(h),dp__date_hover:u(h)}),z=h=>{if(e.value&&!Array.isArray(e.value)){const X=Bt(e.value,n.weekStart);return{...Z(h),dp__range_start:Re(X[0],h.value),dp__range_end:Re(X[1],h.value),dp__range_between_week:Je(h.value,X[0])&&qe(h.value,X[1])}}return{...Z(h)}},ee=h=>{if(e.value&&Array.isArray(e.value)){const X=Bt(e.value[0],n.weekStart),me=e.value[1]?Bt(e.value[1],n.weekStart):[];return{...Z(h),dp__range_start:Re(X[0],h.value)||Re(me[0],h.value),dp__range_end:Re(X[1],h.value)||Re(me[1],h.value),dp__range_between_week:Je(h.value,X[0])&&qe(h.value,X[1])||Je(h.value,me[0])&&qe(h.value,me[1]),dp__range_between:Je(h.value,X[1])&&qe(h.value,me[0])}}return{...Z(h)}},F=h=>{const X=t.value.count>0?h.current&&_(h)&&$():_(h)&&$(),me=t.value.count>0?h.current&&_(h,!1)&&$():_(h,!1)&&$();return{isRangeStart:X,isRangeEnd:me}},G=h=>{const{isRangeStart:X,isRangeEnd:me}=F(h);return{dp__range_start:X,dp__range_end:me,dp__range_between:L(h),dp__date_hover:Re(h.value,m.value)&&!X&&!me&&!n.weekPicker,dp__date_hover_start:y(h,!0),dp__date_hover_end:y(h,!1)}},Z=h=>({...G(h),dp__cell_auto_range:U(h),dp__cell_auto_range_start:D(h),dp__cell_auto_range_end:S(h)}),ie=h=>l.value.enabled?l.value.autoRange?Z(h):n.modelAuto?{...he(h),...G(h)}:n.weekPicker?ee(h):G(h):n.weekPicker?z(h):he(h);return{setHoverDate:p,clearHoverDate:k,getDayClassData:h=>n.hideOffsetDates&&!h.current?{}:{...Q(h),...ie(h),[n.dayClass?n.dayClass(h.value,n.internalModelValue):""]:!0,...r.value.calendarCell??{}}}},na=e=>{const{defaultedFilters:n,defaultedRange:t,propDates:a,defaultedMultiDates:r}=Ke(e),s=E=>a.value.disabledDates?typeof a.value.disabledDates=="function"?a.value.disabledDates(se(E)):!!pn(E,a.value.disabledDates):!1,i=E=>a.value.maxDate?e.yearPicker?$e(E)>$e(a.value.maxDate):Je(E,a.value.maxDate):!1,o=E=>a.value.minDate?e.yearPicker?$e(E)<$e(a.value.minDate):qe(E,a.value.minDate):!1,l=E=>{const L=i(E),N=o(E),J=s(E),le=n.value.months.map(F=>+F).includes(Ee(E)),Q=e.disabledWeekDays.length?e.disabledWeekDays.some(F=>+F===Ip(E)):!1,he=k(E),z=$e(E),ee=z<+e.yearRange[0]||z>+e.yearRange[1];return!(L||N||J||le||ee||Q||he)},v=(E,L)=>qe(...Qt(a.value.minDate,E,L))||Re(...Qt(a.value.minDate,E,L)),m=(E,L)=>Je(...Qt(a.value.maxDate,E,L))||Re(...Qt(a.value.maxDate,E,L)),d=(E,L,N)=>{let J=!1;return a.value.maxDate&&N&&m(E,L)&&(J=!0),a.value.minDate&&!N&&v(E,L)&&(J=!0),J},p=(E,L,N,J)=>{let le=!1;return J&&(a.value.minDate||a.value.maxDate)?a.value.minDate&&a.value.maxDate?le=d(E,L,N):(a.value.minDate&&v(E,L)||a.value.maxDate&&m(E,L))&&(le=!0):le=!0,le},k=E=>Array.isArray(a.value.allowedDates)&&!a.value.allowedDates.length?!0:a.value.allowedDates?!pn(E,a.value.allowedDates):!1,P=E=>!l(E),R=E=>t.value.noDisabledRange?!ki({start:E[0],end:E[1]}).some(L=>P(L)):!0,b=E=>{if(E){const L=$e(E);return L>=+e.yearRange[0]&&L<=e.yearRange[1]}return!0},_=(E,L)=>!!(Array.isArray(E)&&E[L]&&(t.value.maxRange||t.value.minRange)&&b(E[L])),y=(E,L,N=0)=>{if(_(L,N)&&b(E)){const J=bi(E,L[N]),le=po(L[N],E),Q=le.length===1?0:le.filter(z=>P(z)).length,he=Math.abs(J)-(t.value.minMaxRawRange?0:Q);if(t.value.minRange&&t.value.maxRange)return he>=+t.value.minRange&&he<=+t.value.maxRange;if(t.value.minRange)return he>=+t.value.minRange;if(t.value.maxRange)return he<=+t.value.maxRange}return!0},A=()=>!e.enableTimePicker||e.monthPicker||e.yearPicker||e.ignoreTimeValidation,S=E=>Array.isArray(E)?[E[0]?er(E[0]):null,E[1]?er(E[1]):null]:er(E),U=(E,L,N)=>E.find(J=>+J.hours===Yt(L)&&J.minutes==="*"?!0:+J.minutes===ea(L)&&+J.hours===Yt(L))&&N,D=(E,L,N)=>{const[J,le]=E,[Q,he]=L;return!U(J,Q,N)&&!U(le,he,N)&&N},M=(E,L)=>{const N=Array.isArray(L)?L:[L];return Array.isArray(e.disabledTimes)?Array.isArray(e.disabledTimes[0])?D(e.disabledTimes,N,E):!N.some(J=>U(e.disabledTimes,J,E)):E},x=(E,L)=>{const N=Array.isArray(L)?[la(L[0]),L[1]?la(L[1]):void 0]:la(L),J=!e.disabledTimes(N);return E&&J},$=(E,L)=>e.disabledTimes?Array.isArray(e.disabledTimes)?M(L,E):x(L,E):L,u=E=>{let L=!0;if(!E||A())return!0;const N=!a.value.minDate&&!a.value.maxDate?S(E):E;return(e.maxTime||a.value.maxDate)&&(L=Ks(e.maxTime,a.value.maxDate,"max",lt(N),L)),(e.minTime||a.value.minDate)&&(L=Ks(e.minTime,a.value.minDate,"min",lt(N),L)),$(E,L)},O=E=>{if(!e.monthPicker)return!0;let L=!0;const N=se(Mt(E));if(a.value.minDate&&a.value.maxDate){const J=se(Mt(a.value.minDate)),le=se(Mt(a.value.maxDate));return Je(N,J)&&qe(N,le)||Re(N,J)||Re(N,le)}if(a.value.minDate){const J=se(Mt(a.value.minDate));L=Je(N,J)||Re(N,J)}if(a.value.maxDate){const J=se(Mt(a.value.maxDate));L=qe(N,J)||Re(N,J)}return L},V=B(()=>E=>!e.enableTimePicker||e.ignoreTimeValidation?!0:u(E)),ne=B(()=>E=>e.monthPicker?Array.isArray(E)&&(t.value.enabled||r.value.enabled)?!E.filter(L=>!O(L)).length:O(E):!0);return{isDisabled:P,validateDate:l,validateMonthYearInRange:p,isDateRangeAllowed:R,checkMinMaxRange:y,isValidTime:u,isTimeValid:V,isMonthValid:ne}},Tn=()=>{const e=B(()=>(a,r)=>a==null?void 0:a.includes(r)),n=B(()=>(a,r)=>a.count?a.solo?!0:r===0:!0),t=B(()=>(a,r)=>a.count?a.solo?!0:r===a.count-1:!0);return{hideNavigationButtons:e,showLeftIcon:n,showRightIcon:t}},Dv=(e,n,t)=>{const a=Y(0),r=Fa({[oa.timePicker]:!e.enableTimePicker||e.timePicker||e.monthPicker,[oa.calendar]:!1,[oa.header]:!1}),s=B(()=>e.monthPicker||e.timePicker),i=d=>{var p;if((p=e.flow)!=null&&p.length){if(!d&&s.value)return m();r[d]=!0,Object.keys(r).filter(k=>!r[k]).length||m()}},o=()=>{var d,p;(d=e.flow)!=null&&d.length&&a.value!==-1&&(a.value+=1,n("flow-step",a.value),m()),((p=e.flow)==null?void 0:p.length)===a.value&&ct().then(()=>l())},l=()=>{a.value=-1},v=(d,p,...k)=>{var P,R;e.flow[a.value]===d&&t.value&&((R=(P=t.value)[p])==null||R.call(P,...k))},m=(d=0)=>{d&&(a.value+=d),v(pt.month,"toggleMonthPicker",!0),v(pt.year,"toggleYearPicker",!0),v(pt.calendar,"toggleTimePicker",!1,!0),v(pt.time,"toggleTimePicker",!0,!0);const p=e.flow[a.value];(p===pt.hours||p===pt.minutes||p===pt.seconds)&&v(p,"toggleTimePicker",!0,!0,p)};return{childMount:i,updateFlowStep:o,resetFlow:l,handleFlow:m,flowStep:a}},Tv={key:1,class:"dp__input_wrap"},Mv=["id","name","inputmode","placeholder","disabled","readonly","required","value","autocomplete","aria-label","aria-disabled","aria-invalid"],Pv={key:2,class:"dp--clear-btn"},$v=["aria-label"],Sv=te({compatConfig:{MODE:3},__name:"DatepickerInput",props:{isMenuOpen:{type:Boolean,default:!1},inputValue:{type:String,default:""},...wn},emits:["clear","open","update:input-value","set-input-date","close","select-date","set-empty-date","toggle","focus-prev","focus","blur","real-blur","text-input"],setup(e,{expose:n,emit:t}){const a=t,r=e,{defaultedTextInput:s,defaultedAriaLabels:i,defaultedInline:o,defaultedConfig:l,defaultedRange:v,defaultedMultiDates:m,defaultedUI:d,getDefaultPattern:p,getDefaultStartTime:k}=Ke(r),{checkMinMaxRange:P}=na(r),R=Y(),b=Y(null),_=Y(!1),y=Y(!1),A=B(()=>({dp__pointer:!r.disabled&&!r.readonly&&!s.value.enabled,dp__disabled:r.disabled,dp__input_readonly:!s.value.enabled,dp__input:!0,dp__input_icon_pad:!r.hideInputIcon,dp__input_valid:typeof r.state=="boolean"?r.state:!1,dp__input_invalid:typeof r.state=="boolean"?!r.state:!1,dp__input_focus:_.value||r.isMenuOpen,dp__input_reg:!s.value.enabled,...d.value.input??{}})),S=()=>{a("set-input-date",null),r.clearable&&r.autoApply&&(a("set-empty-date"),R.value=null)},U=z=>{const ee=k();return Hh(z,s.value.format??p(),ee??fo({},r.enableSeconds),r.inputValue,y.value,r.formatLocale)},D=z=>{const{rangeSeparator:ee}=s.value,[F,G]=z.split(`${ee}`);if(F){const Z=U(F.trim()),ie=G?U(G.trim()):null;if(da(Z,ie))return;const h=Z&&ie?[Z,ie]:[Z];P(ie,h,0)&&(R.value=Z?h:null)}},M=()=>{y.value=!0},x=z=>{if(v.value.enabled)D(z);else if(m.value.enabled){const ee=z.split(";");R.value=ee.map(F=>U(F.trim())).filter(F=>F)}else R.value=U(z)},$=z=>{var ee;const F=typeof z=="string"?z:(ee=z.target)==null?void 0:ee.value;F!==""?(s.value.openMenu&&!r.isMenuOpen&&a("open"),x(F),a("set-input-date",R.value)):S(),y.value=!1,a("update:input-value",F),a("text-input",z,R.value)},u=z=>{s.value.enabled?(x(z.target.value),s.value.enterSubmit&&br(R.value)&&r.inputValue!==""?(a("set-input-date",R.value,!0),R.value=null):s.value.enterSubmit&&r.inputValue===""&&(R.value=null,a("clear"))):ne(z)},O=(z,ee)=>{s.value.enabled&&s.value.tabSubmit&&!ee&&x(z.target.value),s.value.tabSubmit&&br(R.value)&&r.inputValue!==""?(a("set-input-date",R.value,!0,!0),R.value=null):s.value.tabSubmit&&r.inputValue===""&&(R.value=null,a("clear",!0))},V=()=>{_.value=!0,a("focus"),ct().then(()=>{var z;s.value.enabled&&s.value.selectOnFocus&&((z=b.value)==null||z.select())})},ne=z=>{if(Zt(z,l.value,!0),s.value.enabled&&s.value.openMenu&&!o.value.input){if(s.value.openMenu==="open"&&!r.isMenuOpen)return a("open");if(s.value.openMenu==="toggle")return a("toggle")}else s.value.enabled||a("toggle")},E=()=>{a("real-blur"),_.value=!1,(!r.isMenuOpen||o.value.enabled&&o.value.input)&&a("blur"),r.autoApply&&s.value.enabled&&R.value&&!r.isMenuOpen&&(a("set-input-date",R.value),a("select-date"),R.value=null)},L=z=>{Zt(z,l.value,!0),a("clear")},N=()=>{a("close")},J=z=>{if(z.key==="Tab"&&O(z),z.key==="Enter"&&u(z),z.key==="Escape"&&s.value.escClose&&N(),!s.value.enabled){if(z.code==="Tab")return;z.preventDefault()}},le=()=>{var z;(z=b.value)==null||z.focus({preventScroll:!0})},Q=z=>{R.value=z},he=z=>{z.key===ze.tab&&O(z,!0)};return n({focusInput:le,setParsedDate:Q}),(z,ee)=>{var F,G,Z;return f(),g("div",{onClick:ne},[z.$slots.trigger&&!z.$slots["dp-input"]&&!c(o).enabled?I(z.$slots,"trigger",{key:0}):W("",!0),!z.$slots.trigger&&(!c(o).enabled||c(o).input)?(f(),g("div",Tv,[z.$slots["dp-input"]&&!z.$slots.trigger&&(!c(o).enabled||c(o).enabled&&c(o).input)?I(z.$slots,"dp-input",{key:0,value:e.inputValue,isMenuOpen:e.isMenuOpen,onInput:$,onEnter:u,onTab:O,onClear:L,onBlur:E,onKeypress:J,onPaste:M,onFocus:V,openMenu:()=>z.$emit("open"),closeMenu:()=>z.$emit("close"),toggleMenu:()=>z.$emit("toggle")}):W("",!0),z.$slots["dp-input"]?W("",!0):(f(),g("input",{key:1,id:z.uid?`dp-input-${z.uid}`:void 0,ref_key:"inputRef",ref:b,"data-test-id":"dp-input",name:z.name,class:ye(A.value),inputmode:c(s).enabled?"text":"none",placeholder:z.placeholder,disabled:z.disabled,readonly:z.readonly,required:z.required,value:e.inputValue,autocomplete:z.autocomplete,"aria-label":(F=c(i))==null?void 0:F.input,"aria-disabled":z.disabled||void 0,"aria-invalid":z.state===!1?!0:void 0,onInput:$,onBlur:E,onFocus:V,onKeypress:J,onKeydown:ee[0]||(ee[0]=ie=>J(ie)),onPaste:M},null,42,Mv)),T("div",{onClick:ee[3]||(ee[3]=ie=>a("toggle"))},[z.$slots["input-icon"]&&!z.hideInputIcon?(f(),g("span",{key:0,class:"dp__input_icon",onClick:ee[1]||(ee[1]=ie=>a("toggle"))},[I(z.$slots,"input-icon")])):W("",!0),!z.$slots["input-icon"]&&!z.hideInputIcon&&!z.$slots["dp-input"]?(f(),de(c(Sa),{key:1,"aria-label":(G=c(i))==null?void 0:G.calendarIcon,class:"dp__input_icon dp__input_icons",onClick:ee[2]||(ee[2]=ie=>a("toggle"))},null,8,["aria-label"])):W("",!0)]),z.$slots["clear-icon"]&&(z.alwaysClearable||e.inputValue&&z.clearable&&!z.disabled&&!z.readonly)?(f(),g("span",Pv,[I(z.$slots,"clear-icon",{clear:L})])):W("",!0),!z.$slots["clear-icon"]&&(z.alwaysClearable||z.clearable&&e.inputValue&&!z.disabled&&!z.readonly)?(f(),g("button",{key:3,"aria-label":(Z=c(i))==null?void 0:Z.clearInput,class:"dp--clear-btn",type:"button",onKeydown:ee[4]||(ee[4]=ie=>c(ht)(ie,()=>L(ie),!0,he)),onClick:ee[5]||(ee[5]=ca(ie=>L(ie),["prevent"]))},[re(c(Ni),{class:"dp__input_icons","data-test-id":"clear-icon"})],40,$v)):W("",!0)])):W("",!0)])}}}),Ev=typeof window<"u"?window:void 0,ir=()=>{},Ov=e=>zo()?(Uo(e),!0):!1,Av=(e,n,t,a)=>{if(!e)return ir;let r=ir;const s=at(()=>c(e),o=>{r(),o&&(o.addEventListener(n,t,a),r=()=>{o.removeEventListener(n,t,a),r=ir})},{immediate:!0,flush:"post"}),i=()=>{s(),r()};return Ov(i),i},Iv=(e,n,t,a={})=>{const{window:r=Ev,event:s="pointerdown"}=a;return r?Av(r,s,i=>{const o=it(e),l=it(n);!o||!l||o===i.target||i.composedPath().includes(o)||i.composedPath().includes(l)||t(i)},{passive:!0}):void 0},Cv=["data-dp-mobile"],Rv=te({compatConfig:{MODE:3},__name:"VueDatePicker",props:{...wn},emits:["update:model-value","update:model-timezone-value","text-submit","closed","cleared","open","focus","blur","internal-model-change","recalculate-position","flow-step","update-month-year","invalid-select","invalid-fixed-range","tooltip-open","tooltip-close","time-picker-open","time-picker-close","am-pm-change","range-start","range-end","date-update","invalid-date","overlay-toggle","text-input"],setup(e,{expose:n,emit:t}){const a=t,r=e,s=ta(),i=Y(!1),o=Ba(r,"modelValue"),l=Ba(r,"timezone"),v=Y(null),m=Y(null),d=Y(null),p=Y(!1),k=Y(null),P=Y(!1),R=Y(!1),b=Y(!1),_=Y(!1),{setMenuFocused:y,setShiftKey:A}=bo(),{clearArrowNav:S}=aa(),{validateDate:U,isValidTime:D}=na(r),{defaultedTransitions:M,defaultedTextInput:x,defaultedInline:$,defaultedConfig:u,defaultedRange:O,defaultedMultiDates:V}=Ke(r),{menuTransition:ne,showTransition:E}=Ga(M),{isMobile:L}=To(u);Ue(()=>{ie(r.modelValue),ct().then(()=>{if(!$.value.enabled){const q=ee(k.value);q==null||q.addEventListener("scroll",ce),window==null||window.addEventListener("resize",ve)}}),$.value.enabled&&(i.value=!0),window==null||window.addEventListener("keyup",_e),window==null||window.addEventListener("keydown",Ce)}),Ht(()=>{if(!$.value.enabled){const q=ee(k.value);q==null||q.removeEventListener("scroll",ce),window==null||window.removeEventListener("resize",ve)}window==null||window.removeEventListener("keyup",_e),window==null||window.removeEventListener("keydown",Ce)});const N=yt(s,"all",r.presetDates),J=yt(s,"input");at([o,l],()=>{ie(o.value)},{deep:!0});const{openOnTop:le,menuStyle:Q,xCorrect:he,setMenuPosition:z,getScrollableParent:ee,shadowRender:F}=yv({menuRef:v,menuRefInner:m,inputRef:d,pickerWrapperRef:k,inline:$,emit:a,props:r,slots:s}),{inputValue:G,internalModelValue:Z,parseExternalModelValue:ie,emitModelValue:h,formatInputValue:X,checkBeforeEmit:me}=hm(a,r,p),Ge=B(()=>({dp__main:!0,dp__theme_dark:r.dark,dp__theme_light:!r.dark,dp__flex_display:$.value.enabled,"dp--flex-display-collapsed":b.value,dp__flex_display_with_input:$.value.input})),K=B(()=>r.dark?"dp__theme_dark":"dp__theme_light"),Oe=B(()=>r.teleport?{to:typeof r.teleport=="boolean"?"body":r.teleport,disabled:!r.teleport||$.value.enabled}:{}),ae=B(()=>({class:"dp__outer_menu_wrap"})),pe=B(()=>$.value.enabled&&(r.timePicker||r.monthPicker||r.yearPicker||r.quarterPicker)),w=()=>{var q,fe;return((fe=(q=d.value)==null?void 0:q.$el)==null?void 0:fe.getBoundingClientRect())??{width:0,left:0,right:0}},ce=()=>{i.value&&(u.value.closeOnScroll?nt():z())},ve=()=>{var q;i.value&&z();const fe=((q=m.value)==null?void 0:q.$el.getBoundingClientRect().width)??0;b.value=document.body.offsetWidth<=fe},_e=q=>{q.key==="Tab"&&!$.value.enabled&&!r.teleport&&u.value.tabOutClosesMenu&&(k.value.contains(document.activeElement)||nt()),R.value=q.shiftKey},Ce=q=>{R.value=q.shiftKey},Ae=()=>{!r.disabled&&!r.readonly&&(F(Js,r),z(!1),i.value=!0,i.value&&a("open"),i.value||Lt(),ie(r.modelValue))},H=()=>{var q,fe;G.value="",Lt(),(q=m.value)==null||q.onValueCleared(),(fe=d.value)==null||fe.setParsedDate(null),a("update:model-value",null),a("update:model-timezone-value",null),a("cleared"),u.value.closeOnClearValue&&nt()},oe=()=>{const q=Z.value;return!q||!Array.isArray(q)&&U(q)?!0:Array.isArray(q)?V.value.enabled||q.length===2&&U(q[0])&&U(q[1])?!0:O.value.partialRange&&!r.timePicker?U(q[0]):!1:!1},De=()=>{me()&&oe()?(h(),nt()):a("invalid-select",Z.value)},st=q=>{St(),h(),u.value.closeOnAutoApply&&!q&&nt()},St=()=>{d.value&&x.value.enabled&&d.value.setParsedDate(Z.value)},Te=(q=!1)=>{r.autoApply&&D(Z.value)&&oe()&&(O.value.enabled&&Array.isArray(Z.value)?(O.value.partialRange||Z.value.length===2)&&st(q):st(q))},Lt=()=>{x.value.enabled||(Z.value=null)},nt=(q=!1)=>{q&&Z.value&&u.value.setDateOnMenuClose&&De(),$.value.enabled||(i.value&&(i.value=!1,he.value=!1,y(!1),A(!1),S(),a("closed"),G.value&&ie(o.value)),Lt(),a("blur"))},Ea=(q,fe,we=!1)=>{if(!q){Z.value=null;return}const Et=Array.isArray(q)?!q.some(fa=>!U(fa)):U(q),xt=D(q);Et&&xt?(_.value=!0,Z.value=q,fe&&(P.value=we,De(),a("text-submit")),ct().then(()=>{_.value=!1})):a("invalid-date",q)},Mn=()=>{r.autoApply&&D(Z.value)&&h(),St()},Xa=()=>i.value?nt():Ae(),Pn=q=>{Z.value=q},$n=()=>{x.value.enabled&&(p.value=!0,X()),a("focus")},Sn=()=>{if(x.value.enabled&&(p.value=!1,ie(r.modelValue),P.value)){const q=Uf(k.value,R.value);q==null||q.focus()}a("blur")},En=q=>{m.value&&m.value.updateMonthYear(0,{month:fs(q.month),year:fs(q.year)})},On=q=>{ie(q??r.modelValue)},An=(q,fe)=>{var we;(we=m.value)==null||we.switchView(q,fe)},j=(q,fe)=>u.value.onClickOutside?u.value.onClickOutside(q,fe):nt(!0),ue=(q=0)=>{var fe;(fe=m.value)==null||fe.handleFlow(q)},Me=()=>v;return Iv(v,d,q=>j(oe,q)),n({closeMenu:nt,selectDate:De,clearValue:H,openMenu:Ae,onScroll:ce,formatInputValue:X,updateInternalModelValue:Pn,setMonthYear:En,parseModel:On,switchView:An,toggleMenu:Xa,handleFlow:ue,getDpWrapMenuRef:Me}),(q,fe)=>(f(),g("div",{ref_key:"pickerWrapperRef",ref:k,class:ye(Ge.value),"data-datepicker-instance":"","data-dp-mobile":c(L)},[re(Sv,Ne({ref_key:"inputRef",ref:d,"input-value":c(G),"onUpdate:inputValue":fe[0]||(fe[0]=we=>Jr(G)?G.value=we:null),"is-menu-open":i.value},q.$props,{onClear:H,onOpen:Ae,onSetInputDate:Ea,onSetEmptyDate:c(h),onSelectDate:De,onToggle:Xa,onClose:nt,onFocus:$n,onBlur:Sn,onRealBlur:fe[1]||(fe[1]=we=>p.value=!1),onTextInput:fe[2]||(fe[2]=we=>q.$emit("text-input",we))}),ot({_:2},[Se(c(J),(we,Et)=>({name:we,fn:C(xt=>[I(q.$slots,we,ut(vt(xt)))])}))]),1040,["input-value","is-menu-open","onSetEmptyDate"]),(f(),de(bt(q.teleport?Bo:"div"),ut(vt(Oe.value)),{default:C(()=>[re(Ft,{name:c(ne)(c(le)),css:c(E)&&!c($).enabled},{default:C(()=>[i.value?(f(),g("div",Ne({key:0,ref_key:"dpWrapMenuRef",ref:v},ae.value,{class:{"dp--menu-wrapper":!c($).enabled},style:c($).enabled?void 0:c(Q)}),[re(Js,Ne({ref_key:"dpMenuRef",ref:m},q.$props,{"internal-model-value":c(Z),"onUpdate:internalModelValue":fe[3]||(fe[3]=we=>Jr(Z)?Z.value=we:null),class:{[K.value]:!0,"dp--menu-wrapper":q.teleport},"open-on-top":c(le),"no-overlay-focus":pe.value,collapse:b.value,"get-input-rect":w,"is-text-input-date":_.value,onClosePicker:nt,onSelectDate:De,onAutoApply:Te,onTimeUpdate:Mn,onFlowStep:fe[4]||(fe[4]=we=>q.$emit("flow-step",we)),onUpdateMonthYear:fe[5]||(fe[5]=we=>q.$emit("update-month-year",we)),onInvalidSelect:fe[6]||(fe[6]=we=>q.$emit("invalid-select",c(Z))),onAutoApplyInvalid:fe[7]||(fe[7]=we=>q.$emit("invalid-select",we)),onInvalidFixedRange:fe[8]||(fe[8]=we=>q.$emit("invalid-fixed-range",we)),onRecalculatePosition:c(z),onTooltipOpen:fe[9]||(fe[9]=we=>q.$emit("tooltip-open",we)),onTooltipClose:fe[10]||(fe[10]=we=>q.$emit("tooltip-close",we)),onTimePickerOpen:fe[11]||(fe[11]=we=>q.$emit("time-picker-open",we)),onTimePickerClose:fe[12]||(fe[12]=we=>q.$emit("time-picker-close",we)),onAmPmChange:fe[13]||(fe[13]=we=>q.$emit("am-pm-change",we)),onRangeStart:fe[14]||(fe[14]=we=>q.$emit("range-start",we)),onRangeEnd:fe[15]||(fe[15]=we=>q.$emit("range-end",we)),onDateUpdate:fe[16]||(fe[16]=we=>q.$emit("date-update",we)),onInvalidDate:fe[17]||(fe[17]=we=>q.$emit("invalid-date",we)),onOverlayToggle:fe[18]||(fe[18]=we=>q.$emit("overlay-toggle",we)),onMenuBlur:fe[19]||(fe[19]=we=>q.$emit("blur"))}),ot({_:2},[Se(c(N),(we,Et)=>({name:we,fn:C(xt=>[I(q.$slots,we,ut(vt({...xt})))])}))]),1040,["internal-model-value","class","open-on-top","no-overlay-focus","collapse","is-text-input-date","onRecalculatePosition"])],16)):W("",!0)]),_:3},8,["name","css"])]),_:3},16))],10,Cv))}}),Ve=(()=>{const e=Rv;return e.install=n=>{n.component("Vue3DatePicker",e)},e})(),Nv=Object.freeze(Object.defineProperty({__proto__:null,default:Ve},Symbol.toStringTag,{value:"Module"}));Object.entries(Nv).forEach(([e,n])=>{e!=="default"&&(Ve[e]=n)});const Vv={class:"demo-wrap"},Lv={class:"action-row"},Bv={class:"current-selection"},Wv=["onClick"],Yv=te({__name:"ActionRowSlotDemo",setup(e){const n=Y(new Date),{isDark:t}=Le(),a=r=>wt(r,"dd.MM.yyyy, HH:mm");return(r,s)=>(f(),g("div",Vv,[re(c(Ve),{modelValue:n.value,"onUpdate:modelValue":s[0]||(s[0]=i=>n.value=i),dark:c(t)},{"action-row":C(({internalModelValue:i,selectDate:o})=>[T("div",Lv,[T("p",Bv,be(a(i)),1),T("button",{class:"select-button",onClick:o},"Select Date",8,Wv)])]),_:1},8,["modelValue","dark"])]))}}),jv={class:"demo-wrap"},Fv=te({__name:"CustomCalendarDemo",props:{},setup(e){const{isDark:n}=Le(),t=Y(),a=r=>r.filter(s=>s.days.some(i=>i.text===15)).map(s=>({...s,days:s.days.map(i=>(i.classData["custom-class"]=!0,i))}));return(r,s)=>(f(),g("div",jv,[re(c(Ve),Ne({modelValue:t.value,"onUpdate:modelValue":s[0]||(s[0]=i=>t.value=i)},r.$props,{dark:c(n),calendar:a,placeholder:"Select Date"}),null,16,["modelValue","dark"])]))}}),Hv={class:"demo-wrap"},zv=te({__name:"DarkDemo",props:["placeholder"],setup(e){const n=Y(new Date);return(t,a)=>(f(),g("div",Hv,[re(c(Ve),{modelValue:n.value,"onUpdate:modelValue":a[0]||(a[0]=r=>n.value=r),placeholder:e.placeholder,dark:""},null,8,["modelValue","placeholder"])]))}}),Uv={class:"demo-wrap"},Gv=te({__name:"DemoDayClass",setup(e){const n=Y(new Date),{isDark:t}=Le(),a=r=>ia(r,rt(Fe(new Date,{hours:0,minutes:0,seconds:0,milliseconds:0}),1))?"marked-cell":"";return(r,s)=>(f(),g("div",Uv,[re(c(Ve),{modelValue:n.value,"onUpdate:modelValue":s[0]||(s[0]=i=>n.value=i),dark:c(t),"day-class":a},null,8,["modelValue","dark"])]))}}),Kv={class:"demo-wrap"},Xv=te({__name:"DemoHighlight",props:["disabled"],setup(e){const n=Y(new Date),{isDark:t}=Le(),a=e,r=B(()=>[rt(new Date,1),rt(new Date,2),rt(new Date,3)]),s=B(()=>a.disabled?r.value:[]),i=B(()=>({dates:a.disabled?s.value:r.value,options:{highlightDisabled:!0}}));return(o,l)=>(f(),g("div",Kv,[re(c(Ve),{modelValue:n.value,"onUpdate:modelValue":l[0]||(l[0]=v=>n.value=v),dark:c(t),highlight:i.value,"disabled-dates":s.value},null,8,["modelValue","dark","highlight","disabled-dates"])]))}}),qv={class:"demo-wrap"},Qv=te({__name:"DemoMarkers",props:["useMarkerTooltipSlot","useMarkerSlot"],setup(e){const n=Y(new Date),{isDark:t}=Le(),a=B(()=>[{date:rt(new Date,1),type:"dot",tooltip:[{text:"Dot with tooltip",color:"green"}]},{date:rt(new Date,2),type:"line",tooltip:[{text:"First tooltip",color:"blue"},{text:"Second tooltip",color:"yellow"}]},{date:rt(new Date,3),type:"dot",color:"yellow"}]);return(r,s)=>(f(),g("div",qv,[re(c(Ve),{modelValue:n.value,"onUpdate:modelValue":s[0]||(s[0]=i=>n.value=i),dark:c(t),markers:a.value},ot({_:2},[e.useMarkerTooltipSlot?{name:"marker-tooltip",fn:C(({day:i})=>[T("div",null,"Custom content on "+be(i),1)]),key:"0"}:void 0,e.useMarkerSlot?{name:"marker",fn:C(({day:i})=>[s[1]||(s[1]=T("span",{class:"custom-marker"},null,-1))]),key:"1"}:void 0]),1032,["modelValue","dark","markers"])]))}}),Ot="/logo.png",Zv=["value"],Jv=["onClick"],eb={key:0,class:"slot-icon",src:Ot,alt:"logo"},tb=["onClick"],ab=["onClick"],nb={class:"time-picker-overlay"},rb=["value","onChange"],sb=["value"],ib=["value","onChange"],ob=["value"],lb={class:"overlay-header"},ub=["onClick"],cb={class:"overlay-header"},db=["onClick"],_b={key:0},pb={key:1},fb=te({__name:"DemoSlots",props:["placeholder","useTriggerSlot","position","useInputIconSlot","useClearIconSlot","useClockIconSlot","useArrowLeftSlot","useArrowRightSlot","useArrowUpSlot","useArrowDownSlot","useCalendarIconSlot","useDaySlot","useActionButtonSlot","useActionPreviewSlot","useHoursSlot","useMinutesSlot","useMonthSlot","useYearSlot","useHoursOverlaySlot","useMinutesOverlaySlot","useMonthOverlaySlot","useYearOverlaySlot","useDpInputSlot","useCalendarHeaderSlot","useActionExtraSlot","is24","useAmPmButtonSlot","useTimePickerOverlay","useLeftSidebarSlot","useRightSidebarSlot","useMonthOverlayHeaderSlot","useYearOverlayHeaderSlot","useQuarterSlot","useTopExtraSlot","useHoursOverlayHeaderSlot","useMinutesOverlayHeaderSlot","useSecondsOverlayHeaderSlot","useTpInlineArrowUp","useTpInlineArrowDown","useMenuHeaderSlot"],setup(e){const n=Y(new Date),{isDark:t}=Le(),a=Y(null),r=B(()=>new Date().getDate()+1),s=B(()=>m=>`Selected ${new Date(m).getDate()}`),i=B(()=>{const m=[];for(let d=0;d<24;d++)m.push({text:d<10?`0${d}`:d,value:d});return m}),o=B(()=>{const m=[];for(let d=0;d<60;d++)m.push({text:d<10?`0${d}`:d,value:d});return m}),l=()=>{a.value&&a.value.selectDate()},v=m=>wt(m,"QQQ");return(m,d)=>(f(),g("div",{class:ye(["demo-wrap",e.useDpInputSlot||e.useTriggerSlot?"demo-wrap-inline":""])},[re(c(Ve),{modelValue:n.value,"onUpdate:modelValue":d[0]||(d[0]=p=>n.value=p),placeholder:e.placeholder,dark:c(t),position:e.position,"quarter-picker":e.useQuarterSlot,"enable-seconds":!!e.useSecondsOverlayHeaderSlot,"time-picker-inline":e.useTpInlineArrowUp||e.useTpInlineArrowDown,is24:e.is24,ref_key:"dpSlotDemo",ref:a},ot({_:2},[e.useTriggerSlot?{name:"trigger",fn:C(()=>[d[1]||(d[1]=T("p",{class:"clickable-text"},"This is some custom clickable text that will open datepicker",-1))]),key:"0"}:void 0,e.useDpInputSlot?{name:"dp-input",fn:C(({value:p})=>[T("input",{class:"input-class",type:"text",value:p},null,8,Zv)]),key:"1"}:void 0,e.useInputIconSlot?{name:"input-icon",fn:C(()=>[d[2]||(d[2]=T("img",{class:"input-slot-image",src:Ot,alt:"logo"},null,-1))]),key:"2"}:void 0,e.useClearIconSlot?{name:"clear-icon",fn:C(({clear:p})=>[T("img",{class:"input-slot-image-clear",src:Ot,onClick:p,alt:"logo"},null,8,Jv)]),key:"3"}:void 0,e.useClockIconSlot?{name:"clock-icon",fn:C(()=>[d[3]||(d[3]=T("img",{class:"slot-icon",src:Ot,alt:"logo"},null,-1))]),key:"4"}:void 0,e.useArrowLeftSlot?{name:"arrow-left",fn:C(()=>[d[4]||(d[4]=T("img",{class:"slot-icon",src:Ot,alt:"logo"},null,-1))]),key:"5"}:void 0,e.useArrowRightSlot?{name:"arrow-right",fn:C(()=>[d[5]||(d[5]=T("img",{class:"slot-icon",src:Ot,alt:"logo"},null,-1))]),key:"6"}:void 0,e.useArrowUpSlot?{name:"arrow-up",fn:C(()=>[d[6]||(d[6]=T("img",{class:"slot-icon-m",src:Ot,alt:"logo"},null,-1))]),key:"7"}:void 0,e.useArrowDownSlot?{name:"arrow-down",fn:C(()=>[d[7]||(d[7]=T("img",{class:"slot-icon-m",src:Ot,alt:"logo"},null,-1))]),key:"8"}:void 0,e.useCalendarIconSlot?{name:"calendar-icon",fn:C(()=>[d[8]||(d[8]=T("img",{class:"slot-icon",src:Ot,alt:"logo"},null,-1))]),key:"9"}:void 0,e.useDaySlot?{name:"day",fn:C(({day:p})=>[p===r.value?(f(),g("img",eb)):(f(),g(ge,{key:1},[Ye(be(p),1)],64))]),key:"10"}:void 0,e.useActionButtonSlot?{name:"action-buttons",fn:C(()=>[T("p",{class:"custom-select",onClick:l},"Select")]),key:"11"}:void 0,e.useActionPreviewSlot?{name:"action-preview",fn:C(({value:p})=>[Ye(be(s.value(p)),1)]),key:"12"}:void 0,e.useHoursSlot?{name:"hours",fn:C(({value:p})=>[Ye(be(p),1)]),key:"13"}:void 0,e.useMinutesSlot?{name:"minutes",fn:C(({value:p})=>[Ye(be(p),1)]),key:"14"}:void 0,e.useMonthSlot?{name:"month",fn:C(({value:p})=>[Ye(be(p),1)]),key:"15"}:void 0,e.useYearSlot?{name:"year",fn:C(({value:p})=>[Ye(be(p),1)]),key:"16"}:void 0,e.useHoursOverlaySlot?{name:"hours-overlay-value",fn:C(({value:p})=>[Ye(be(p),1)]),key:"17"}:void 0,e.useMinutesOverlaySlot?{name:"minutes-overlay-value",fn:C(({value:p})=>[Ye(be(p),1)]),key:"18"}:void 0,e.useMonthOverlaySlot?{name:"month-overlay-value",fn:C(({value:p})=>[Ye(be(p),1)]),key:"19"}:void 0,e.useYearOverlaySlot?{name:"year-overlay-value",fn:C(({value:p})=>[Ye(be(p),1)]),key:"20"}:void 0,e.useCalendarHeaderSlot?{name:"calendar-header",fn:C(({index:p,day:k})=>[T("div",{class:ye(p===5||p===6?"red-color":"")},be(k),3)]),key:"21"}:void 0,e.useActionExtraSlot?{name:"action-extra",fn:C(({selectCurrentDate:p})=>[T("span",{onClick:k=>p(),title:"Select current date",class:"pointer"},d[9]||(d[9]=[T("img",{class:"slot-icon centered",src:Ot},null,-1)]),8,tb)]),key:"22"}:void 0,e.useAmPmButtonSlot?{name:"am-pm-button",fn:C(({toggle:p,value:k})=>[T("button",{onClick:p},be(k),9,ab)]),key:"23"}:void 0,e.useTimePickerOverlay?{name:"time-picker-overlay",fn:C(({hours:p,minutes:k,setHours:P,setMinutes:R})=>[T("div",nb,[T("select",{class:"select-input",value:p,onChange:b=>P(+b.target.value)},[(f(!0),g(ge,null,Se(i.value,b=>(f(),g("option",{key:b.value,value:b.value},be(b.text),9,sb))),128))],40,rb),T("select",{class:"select-input",value:k,onChange:b=>R(+b.target.value)},[(f(!0),g(ge,null,Se(o.value,b=>(f(),g("option",{key:b.value,value:b.value},be(b.text),9,ob))),128))],40,ib)])]),key:"24"}:void 0,e.useLeftSidebarSlot?{name:"left-sidebar",fn:C(()=>[d[10]||(d[10]=T("div",{class:"dp-sidebar"},"Custom content",-1))]),key:"25"}:void 0,e.useRightSidebarSlot?{name:"right-sidebar",fn:C(()=>[d[11]||(d[11]=T("div",{class:"dp-sidebar"},"Custom content",-1))]),key:"26"}:void 0,e.useMonthOverlayHeaderSlot?{name:"month-overlay-header",fn:C(({toggle:p})=>[T("div",lb,[T("span",{onClick:p,class:"pointer"},be("< Go back"),8,ub)])]),key:"27"}:void 0,e.useYearOverlayHeaderSlot?{name:"year-overlay-header",fn:C(({toggle:p})=>[T("div",cb,[T("span",{onClick:p,class:"pointer"},be("< Go back"),8,db)])]),key:"28"}:void 0,e.useQuarterSlot?{name:"quarter",fn:C(({value:p})=>[T("span",null,be(v(p)),1)]),key:"29"}:void 0,e.useTopExtraSlot?{name:"top-extra",fn:C(({value:p})=>[p?(f(),g("span",_b,"Selected date: "+be(p.getDate()),1)):(f(),g("span",pb,"No date selected"))]),key:"30"}:void 0,e.useMenuHeaderSlot?{name:"menu-header",fn:C(()=>[d[12]||(d[12]=T("div",{class:"my-header"},"My custom header",-1))]),key:"31"}:void 0,e.useHoursOverlayHeaderSlot?{name:"hours-overlay-header",fn:C(()=>[d[13]||(d[13]=T("div",{class:"overlay-header"},[T("span",null,"Hours")],-1))]),key:"32"}:void 0,e.useMinutesOverlayHeaderSlot?{name:"minutes-overlay-header",fn:C(()=>[d[14]||(d[14]=T("div",{class:"overlay-header"},[T("span",null,"Minutes")],-1))]),key:"33"}:void 0,e.useSecondsOverlayHeaderSlot?{name:"seconds-overlay-header",fn:C(()=>[d[15]||(d[15]=T("div",{class:"overlay-header"},[T("span",null,"Seconds")],-1))]),key:"34"}:void 0,e.useTpInlineArrowUp?{name:"tp-inline-arrow-up",fn:C(()=>[d[16]||(d[16]=T("span",{class:"my-icon"},[T("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor"},[T("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M6.75 12a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0ZM12.75 12a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0ZM18.75 12a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0Z"})])],-1))]),key:"35"}:void 0,e.useTpInlineArrowDown?{name:"tp-inline-arrow-down",fn:C(()=>[d[17]||(d[17]=T("span",{class:"my-icon"},[T("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor"},[T("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M6.75 12a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0ZM12.75 12a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0ZM18.75 12a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0Z"})])],-1))]),key:"36"}:void 0]),1032,["modelValue","placeholder","dark","position","quarter-picker","enable-seconds","time-picker-inline","is24"])],2))}}),hb={class:"demo-wrap"},mb=te({__name:"DisabledDatesDemo",setup(e){const n=Y(new Date),{isDark:t}=Le(),a=B(()=>{const r=new Date,s=new Date(r);s.setDate(s.getDate()+1);const i=new Date(s);return i.setDate(s.getDate()+1),[s,i]});return(r,s)=>(f(),g("div",hb,[re(c(Ve),{modelValue:n.value,"onUpdate:modelValue":s[0]||(s[0]=i=>n.value=i),dark:c(t),"disabled-dates":a.value},null,8,["modelValue","dark","disabled-dates"])]))}}),vb={class:"demo-wrap"},bb=te({__name:"DisabledRangeDateDemo",props:{},setup(e){const{isDark:n}=Le(),t=Y([]),a=[Rr(new Date,1),new Date,rt(new Date,1)];return(r,s)=>(f(),g("div",vb,[re(c(Ve),Ne({modelValue:t.value,"onUpdate:modelValue":s[0]||(s[0]=i=>t.value=i)},r.$props,{dark:c(n),range:{noDisabledRange:!0},"disabled-dates":a,placeholder:"Select range"}),null,16,["modelValue","dark"])]))}}),gb={class:"demo-wrap"},yb={class:"buttons-wrap"},kb=["onClick"],wb=te({__name:"DisabledTimesDemo",props:{},setup(e){const{isDark:n}=Le(),t=Y(null),a=["single","range"],r=Y("single"),s=B(()=>r.value==="range"),i=[{hours:15,minutes:"*"},{hours:16,minutes:15},{hours:16,minutes:20},{hours:17,minutes:30}],o=[[{hours:12,minutes:"*"},{hours:9,minutes:10}],i],l=v=>{t.value=null,r.value=v};return(v,m)=>(f(),g("div",gb,[T("div",yb,[(f(),g(ge,null,Se(a,(d,p)=>T("button",{class:ye(["change-btn",{"btn-active":d===r.value}]),key:p,onClick:k=>l(d)},be(d),11,kb)),64))]),re(c(Ve),Ne({modelValue:t.value,"onUpdate:modelValue":m[0]||(m[0]=d=>t.value=d),placeholder:"Select date"},v.$props,{dark:c(n),"disabled-times":s.value?o:i,range:s.value}),null,16,["modelValue","dark","disabled-times","range"])]))}}),xb=xe(wb,[["__scopeId","data-v-6bf8e806"]]),Db={class:"demo-wrap"},Tb={key:0},Mb=te({__name:"DisplayModelDemo",props:["modelType","modelAuto","range"],setup(e){const n=Y(),{isDark:t}=Le();return(a,r)=>(f(),g("div",Db,[re(c(Ve),Ne({modelValue:n.value,"onUpdate:modelValue":r[0]||(r[0]=s=>n.value=s),dark:c(t)},a.$props,{placeholder:"Select Date"}),null,16,["modelValue","dark"]),n.value?(f(),g("p",Tb,"Selected date: "+be(n.value),1)):W("",!0)]))}}),Pb={class:"demo-wrap"},$b=te({__name:"EmitTimezone",setup(e){const{isDark:n}=Le(),t=Y(),a=Y(),r=s=>{a.value=s};return(s,i)=>(f(),g("div",Pb,[t.value&&a.value?(f(),g(ge,{key:0},[T("div",null,"Local timezone date: "+be(t.value),1),T("div",null,"UTC date: "+be(a.value),1)],64)):W("",!0),re(c(Ve),{modelValue:t.value,"onUpdate:modelValue":i[0]||(i[0]=o=>t.value=o),placeholder:"Select date","emit-timezone":"UTC",dark:c(n),"onUpdate:modelTimezoneValue":r},null,8,["modelValue","dark"])]))}}),Sb={class:"demo-wrap"},Eb=te({__name:"EmptyDemo",props:["placeholder","noToday","minTime","maxTime","startDate","startTime","disabledWeekDays","allowedDates","actionRow","nowButtonLabel","multiDates","flow","partialFlow","range","multiDatesLimit","weekPicker","monthPicker","timePicker","disableTimeRangeValidation","maxDate","ignoreTimeValidation","autoApply"],setup(e){const n=e,t=Y(),{isDark:a}=Le(),r=B(()=>{if(n.allowedDates)return[new Date,new Date(new Date().setDate(new Date().getDate()+1))]});return(s,i)=>(f(),g("div",Sb,[re(c(Ve),{modelValue:t.value,"onUpdate:modelValue":i[0]||(i[0]=o=>t.value=o),placeholder:e.placeholder,dark:c(a),"no-today":e.noToday,"min-time":e.minTime,"max-time":e.maxTime,"start-date":e.startDate,"start-time":e.startTime,"disabled-week-days":e.disabledWeekDays,"allowed-dates":r.value,"action-row":e.actionRow,"now-button-label":e.nowButtonLabel,"multi-dates":e.multiDates,range:e.range,flow:e.flow,"multi-dates-limit":e.multiDatesLimit,"week-picker":e.weekPicker,"month-picker":e.monthPicker,"time-picker":e.timePicker,"disable-time-range-validation":e.disableTimeRangeValidation,"max-date":e.maxDate,"ignore-time-validation":e.ignoreTimeValidation,"partial-flow":e.partialFlow,"auto-apply":e.autoApply},null,8,["modelValue","placeholder","dark","no-today","min-time","max-time","start-date","start-time","disabled-week-days","allowed-dates","action-row","now-button-label","multi-dates","range","flow","multi-dates-limit","week-picker","month-picker","time-picker","disable-time-range-validation","max-date","ignore-time-validation","partial-flow","auto-apply"])]))}}),Ob={class:"demo-wrap"},Ab=te({__name:"FiltersDemo",setup(e){const n=Y(new Date),{isDark:t}=Le(),a=B(()=>{const r=new Date;return{months:Array.from(Array(3).keys()).map(s=>Ee(kt(r,s+1)))}});return(r,s)=>(f(),g("div",Ob,[re(c(Ve),{modelValue:n.value,"onUpdate:modelValue":s[0]||(s[0]=i=>n.value=i),dark:c(t),placeholder:"Select Date",filters:a.value},null,8,["modelValue","dark","filters"])]))}}),Ib={class:"demo-wrap"},Cb=te({__name:"FormatDemo",props:["placeholder"],setup(e){const n=Y(new Date),{isDark:t}=Le(),a=r=>{const s=r.getDate(),i=r.getMonth()+1,o=r.getFullYear();return`Selected date is ${s}/${i}/${o}`};return(r,s)=>(f(),g("div",Ib,[re(c(Ve),{modelValue:n.value,"onUpdate:modelValue":s[0]||(s[0]=i=>n.value=i),placeholder:e.placeholder,format:a,dark:c(t)},null,8,["modelValue","placeholder","dark"])]))}}),Rb={class:"demo-wrap"},Nb=te({__name:"GlobalDemo",props:["uid","is24","enableTimePicker","locale","cancelText","selectText","range","position","weekNumbers","placeholder","hoursIncrement","minutesIncrement","hoursGridIncrement","minutesGridIncrement","minDate","maxDate","minTime","maxTime","weekStart","disabled","readonly","hideInputIcon","state","clearable","autoApply","filters","disableMonthYearSelect","yearRange","disabledDates","inline","weekNumName","autoPosition","monthPicker","timePicker","teleport","startDate","startTime","monthNameFormat","hideOffsetDates","noHoursOverlay","noMinutesOverlay","altPosition","multiCalendars","monthChangeOnScroll","transitions","enableSeconds","secondsIncrement","secondsGridIncrement","noSecondsOverlay","escClose","spaceConfirm","monthChangeOnArrows","name","autocomplete","preventMinMaxNavigation","reverseYears","vertical","arrowNavigation","textInput","yearPicker","multiStatic","dayNames","offset","teleportCenter","hideNavigation","sixWeeks","actionRow","disableYearSelect","focusStartDate","timePickerInline","yearFirst","loading","enableMinutes","alwaysClearable"],setup(e){const n=e,t=Y(null),a=Y(!1),{isDark:r}=Le(),s=B({get:()=>{if(a.value||n.maxTime||n.minTime||n.startDate&&!n.focusStartDate||n.startTime)return null;if(t.value)return t.value;if(n.monthPicker)return{month:new Date().getMonth(),year:new Date().getFullYear()};if(n.yearPicker)return new Date().getFullYear();if(n.timePicker){const i=new Date;return{hours:i.getHours(),minutes:i.getMinutes()}}if(n.range){const i=new Date,o=new Date(new Date().setDate(i.getDate()+7));return[i,o]}return new Date},set:i=>{a.value=!i,t.value=i}});return(i,o)=>(f(),g("div",Rb,[re(c(Ve),Ne({modelValue:s.value,"onUpdate:modelValue":o[0]||(o[0]=l=>s.value=l)},i.$props,{dark:c(r)}),null,16,["modelValue","dark"])]))}}),Vb={lessThanXSeconds:{one:"1秒未満",other:"{{count}}秒未満",oneWithSuffix:"約1秒",otherWithSuffix:"約{{count}}秒"},xSeconds:{one:"1秒",other:"{{count}}秒"},halfAMinute:"30秒",lessThanXMinutes:{one:"1分未満",other:"{{count}}分未満",oneWithSuffix:"約1分",otherWithSuffix:"約{{count}}分"},xMinutes:{one:"1分",other:"{{count}}分"},aboutXHours:{one:"約1時間",other:"約{{count}}時間"},xHours:{one:"1時間",other:"{{count}}時間"},xDays:{one:"1日",other:"{{count}}日"},aboutXWeeks:{one:"約1週間",other:"約{{count}}週間"},xWeeks:{one:"1週間",other:"{{count}}週間"},aboutXMonths:{one:"約1か月",other:"約{{count}}か月"},xMonths:{one:"1か月",other:"{{count}}か月"},aboutXYears:{one:"約1年",other:"約{{count}}年"},xYears:{one:"1年",other:"{{count}}年"},overXYears:{one:"1年以上",other:"{{count}}年以上"},almostXYears:{one:"1年近く",other:"{{count}}年近く"}},Lb=(e,n,t)=>{t=t||{};let a;const r=Vb[e];return typeof r=="string"?a=r:n===1?t.addSuffix&&r.oneWithSuffix?a=r.oneWithSuffix:a=r.one:t.addSuffix&&r.otherWithSuffix?a=r.otherWithSuffix.replace("{{count}}",String(n)):a=r.other.replace("{{count}}",String(n)),t.addSuffix?t.comparison&&t.comparison>0?a+"後":a+"前":a},Bb={full:"y年M月d日EEEE",long:"y年M月d日",medium:"y/MM/dd",short:"y/MM/dd"},Wb={full:"H時mm分ss秒 zzzz",long:"H:mm:ss z",medium:"H:mm:ss",short:"H:mm"},Yb={full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},jb={date:ya({formats:Bb,defaultWidth:"full"}),time:ya({formats:Wb,defaultWidth:"full"}),dateTime:ya({formats:Yb,defaultWidth:"full"})},Fb={lastWeek:"先週のeeeeのp",yesterday:"昨日のp",today:"今日のp",tomorrow:"明日のp",nextWeek:"翌週のeeeeのp",other:"P"},Hb=(e,n,t,a)=>Fb[e],zb={narrow:["BC","AC"],abbreviated:["紀元前","西暦"],wide:["紀元前","西暦"]},Ub={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["第1四半期","第2四半期","第3四半期","第4四半期"]},Gb={narrow:["1","2","3","4","5","6","7","8","9","10","11","12"],abbreviated:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],wide:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"]},Kb={narrow:["日","月","火","水","木","金","土"],short:["日","月","火","水","木","金","土"],abbreviated:["日","月","火","水","木","金","土"],wide:["日曜日","月曜日","火曜日","水曜日","木曜日","金曜日","土曜日"]},Xb={narrow:{am:"午前",pm:"午後",midnight:"深夜",noon:"正午",morning:"朝",afternoon:"午後",evening:"夜",night:"深夜"},abbreviated:{am:"午前",pm:"午後",midnight:"深夜",noon:"正午",morning:"朝",afternoon:"午後",evening:"夜",night:"深夜"},wide:{am:"午前",pm:"午後",midnight:"深夜",noon:"正午",morning:"朝",afternoon:"午後",evening:"夜",night:"深夜"}},qb={narrow:{am:"午前",pm:"午後",midnight:"深夜",noon:"正午",morning:"朝",afternoon:"午後",evening:"夜",night:"深夜"},abbreviated:{am:"午前",pm:"午後",midnight:"深夜",noon:"正午",morning:"朝",afternoon:"午後",evening:"夜",night:"深夜"},wide:{am:"午前",pm:"午後",midnight:"深夜",noon:"正午",morning:"朝",afternoon:"午後",evening:"夜",night:"深夜"}},Qb=(e,n)=>{const t=Number(e);switch(String(n==null?void 0:n.unit)){case"year":return`${t}年`;case"quarter":return`第${t}四半期`;case"month":return`${t}月`;case"week":return`第${t}週`;case"date":return`${t}日`;case"hour":return`${t}時`;case"minute":return`${t}分`;case"second":return`${t}秒`;default:return`${t}`}},Zb={ordinalNumber:Qb,era:At({values:zb,defaultWidth:"wide"}),quarter:At({values:Ub,defaultWidth:"wide",argumentCallback:e=>Number(e)-1}),month:At({values:Gb,defaultWidth:"wide"}),day:At({values:Kb,defaultWidth:"wide"}),dayPeriod:At({values:Xb,defaultWidth:"wide",formattingValues:qb,defaultFormattingWidth:"wide"})},Jb=/^第?\d+(年|四半期|月|週|日|時|分|秒)?/i,eg=/\d+/i,tg={narrow:/^(B\.?C\.?|A\.?D\.?)/i,abbreviated:/^(紀元[前後]|西暦)/i,wide:/^(紀元[前後]|西暦)/i},ag={narrow:[/^B/i,/^A/i],any:[/^(紀元前)/i,/^(西暦|紀元後)/i]},ng={narrow:/^[1234]/i,abbreviated:/^Q[1234]/i,wide:/^第[1234一二三四1234]四半期/i},rg={any:[/(1|一|1)/i,/(2|二|2)/i,/(3|三|3)/i,/(4|四|4)/i]},sg={narrow:/^([123456789]|1[012])/,abbreviated:/^([123456789]|1[012])月/i,wide:/^([123456789]|1[012])月/i},ig={any:[/^1\D/,/^2/,/^3/,/^4/,/^5/,/^6/,/^7/,/^8/,/^9/,/^10/,/^11/,/^12/]},og={narrow:/^[日月火水木金土]/,short:/^[日月火水木金土]/,abbreviated:/^[日月火水木金土]/,wide:/^[日月火水木金土]曜日/},lg={any:[/^日/,/^月/,/^火/,/^水/,/^木/,/^金/,/^土/]},ug={any:/^(AM|PM|午前|午後|正午|深夜|真夜中|夜|朝)/i},cg={any:{am:/^(A|午前)/i,pm:/^(P|午後)/i,midnight:/^深夜|真夜中/i,noon:/^正午/i,morning:/^朝/i,afternoon:/^午後/i,evening:/^夜/i,night:/^深夜/i}},dg={ordinalNumber:xi({matchPattern:Jb,parsePattern:eg,valueCallback:function(e){return parseInt(e,10)}}),era:It({matchPatterns:tg,defaultMatchWidth:"wide",parsePatterns:ag,defaultParseWidth:"any"}),quarter:It({matchPatterns:ng,defaultMatchWidth:"wide",parsePatterns:rg,defaultParseWidth:"any",valueCallback:e=>e+1}),month:It({matchPatterns:sg,defaultMatchWidth:"wide",parsePatterns:ig,defaultParseWidth:"any"}),day:It({matchPatterns:og,defaultMatchWidth:"wide",parsePatterns:lg,defaultParseWidth:"any"}),dayPeriod:It({matchPatterns:ug,defaultMatchWidth:"any",parsePatterns:cg,defaultParseWidth:"any"})},_g={code:"ja",formatDistance:Lb,formatLong:jb,formatRelative:Hb,localize:Zb,match:dg,options:{weekStartsOn:0,firstWeekContainsDate:1}},pg={class:"demo-wrap"},fg=te({__name:"LocalizedOutput",setup(e){const n=Y(new Date),{isDark:t}=Le();return(a,r)=>(f(),g("div",pg,[re(c(Ve),{modelValue:n.value,"onUpdate:modelValue":r[0]||(r[0]=s=>n.value=s),dark:c(t),placeholder:"Select Date","format-locale":c(_g),format:"E"},null,8,["modelValue","dark","format-locale"])]))}}),hg={class:"demo-wrap"},mg=te({__name:"MinMaxDemo",setup(e){const n=Y(new Date),{isDark:t}=Le(),a=B(()=>jt(new Date($e(new Date),Ee(new Date)),2)),r=B(()=>kt(new Date($e(new Date),Ee(new Date)),2));return(s,i)=>(f(),g("div",hg,[re(c(Ve),{modelValue:n.value,"onUpdate:modelValue":i[0]||(i[0]=o=>n.value=o),placeholder:"Select Date",dark:c(t),"min-date":a.value,"max-date":r.value,"prevent-min-max-navigation":""},null,8,["modelValue","dark","min-date","max-date"])]))}}),vg={class:"demo-wrap"},bg=te({__name:"MonthPickerDemo",props:{autoApplyMonth:{type:Boolean,default:!0}},setup(e){const{isDark:n}=Le(),t=Y({month:new Date().getMonth(),year:new Date().getFullYear()});return(a,r)=>(f(),g("div",vg,[re(c(Ve),Ne({modelValue:t.value,"onUpdate:modelValue":r[0]||(r[0]=s=>t.value=s)},a.$props,{dark:c(n),"month-picker":""}),null,16,["modelValue","dark"])]))}}),gg={},yg={version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32",class:"dp__icon"};function kg(e,n){return f(),g("svg",yg,n[0]||(n[0]=[T("path",{d:"M20.943 23.057l-7.057-7.057c0 0 7.057-7.057 7.057-7.057 0.52-0.52 0.52-1.365 0-1.885s-1.365-0.52-1.885 0l-8 8c-0.521 0.521-0.521 1.365 0 1.885l8 8c0.52 0.52 1.365 0.52 1.885 0s0.52-1.365 0-1.885z"},null,-1)]))}const wg=xe(gg,[["render",kg]]),xg={},Dg={version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32",class:"dp__icon"};function Tg(e,n){return f(),g("svg",Dg,n[0]||(n[0]=[T("path",{d:"M12.943 24.943l8-8c0.521-0.521 0.521-1.365 0-1.885l-8-8c-0.52-0.52-1.365-0.52-1.885 0s-0.52 1.365 0 1.885l7.057 7.057c0 0-7.057 7.057-7.057 7.057-0.52 0.52-0.52 1.365 0 1.885s1.365 0.52 1.885 0z"},null,-1)]))}const Mg=xe(xg,[["render",Tg]]),Pg={class:"demo-wrap"},$g={class:"custom-month-year-component"},Sg=["value","onChange"],Eg=["value"],Og=["value","onChange"],Ag=["value"],Ig={class:"icons"},Cg=["onClick"],Rg=["onClick"],Ng={class:"custom-month-year-component"},Vg=["value","onChange"],Lg=["value"],Bg=["onClick"],Wg={class:"year-overlay"},Yg=["value","onChange"],jg=["value"],Fg=["onClick"],Hg=te({__name:"MonthYearSlotDemo",props:["defaultSlot","monthOverlaySlot","yearOverlaySlot"],setup(e){const n=Y(new Date),{isDark:t}=Le(),a=(s,i,o,l)=>{i(+s.target.value,o),l&&l()},r=(s,i,o,l)=>{i(o,+s.target.value),l&&l()};return(s,i)=>(f(),g("div",Pg,[re(c(Ve),{modelValue:n.value,"onUpdate:modelValue":i[0]||(i[0]=o=>n.value=o),dark:c(t)},ot({_:2},[e.defaultSlot?{name:"month-year",fn:C(({month:o,year:l,months:v,years:m,updateMonthYear:d,handleMonthYearChange:p})=>[T("div",$g,[T("select",{class:"select-input",value:o,onChange:k=>a(k,d,l)},[(f(!0),g(ge,null,Se(v,k=>(f(),g("option",{key:k.value,value:k.value},be(k.text),9,Eg))),128))],40,Sg),T("select",{class:"select-input",value:l,onChange:k=>r(k,d,o)},[(f(!0),g(ge,null,Se(m,k=>(f(),g("option",{key:k.value,value:k.value},be(k.text),9,Ag))),128))],40,Og)]),T("div",Ig,[T("span",{class:"custom-icon",onClick:k=>p(!1)},[re(wg)],8,Cg),T("span",{class:"custom-icon",onClick:k=>p(!0)},[re(Mg)],8,Rg)])]),key:"0"}:void 0,e.monthOverlaySlot?{name:"month-overlay",fn:C(({month:o,year:l,items:v,updateMonthYear:m,toggle:d})=>[T("div",Ng,[T("select",{class:"select-input",value:o,onChange:p=>a(p,m,l,d)},[(f(!0),g(ge,null,Se(v,p=>(f(),g("option",{key:p.value,value:p.value},be(p.text),9,Lg))),128))],40,Vg)]),T("button",{onClick:d},"Close",8,Bg)]),key:"1"}:void 0,e.yearOverlaySlot?{name:"year-overlay",fn:C(({month:o,year:l,items:v,updateMonthYear:m,toggle:d})=>[T("div",Wg,[T("div",null,[T("select",{class:"select-input",value:l,onChange:p=>r(p,m,o,d)},[(f(!0),g(ge,null,Se(v,p=>(f(),g("option",{key:p.value,value:p.value},be(p.text),9,jg))),128))],40,Yg)]),T("button",{onClick:d},"Close",8,Fg)])]),key:"2"}:void 0]),1032,["modelValue","dark"])]))}}),zg={class:"demo-wrap"},Ug=["onClick"],Gg=te({__name:"PresetRange",setup(e){const n=Y(),{isDark:t}=Le(),a=Y([{label:"Today",value:[new Date,new Date]},{label:"Today (Slot)",value:[new Date,new Date],slot:"preset-date-range-button"},{label:"This month",value:[dr(new Date),is(new Date)]},{label:"Last month",value:[dr(jt(new Date,1)),is(jt(new Date,1))]},{label:"This year",value:[xa(new Date),Sr(new Date)]}]);return(r,s)=>(f(),g("div",zg,[re(c(Ve),{modelValue:n.value,"onUpdate:modelValue":s[0]||(s[0]=i=>n.value=i),placeholder:"Select Date",dark:c(t),range:"","preset-dates":a.value},{"preset-date-range-button":C(({label:i,value:o,presetDate:l})=>[T("span",{role:"button",tabindex:0,onClick:v=>l(o)},be(i),9,Ug)]),_:1},8,["modelValue","dark","preset-dates"])]))}}),Kg={class:"demo-wrap"},Xg=te({__name:"PreviewFormatDemo",props:["placeholder"],setup(e){const n=Y(new Date),{isDark:t}=Le(),a=r=>{const s=r.getDate(),i=r.getMonth()+1,o=r.getFullYear();return`Selected date is ${s}/${i}/${o}`};return(r,s)=>(f(),g("div",Kg,[re(c(Ve),{modelValue:n.value,"onUpdate:modelValue":s[0]||(s[0]=i=>n.value=i),placeholder:e.placeholder,"preview-format":a,dark:c(t)},null,8,["modelValue","placeholder","dark"])]))}}),qg={class:"demo-wrap"},Qg=te({__name:"QuarterPickerDemo",setup(e){const{isDark:n}=Le(),t=Y(qt(new Date));return(a,r)=>(f(),g("div",qg,[re(c(Ve),Ne({modelValue:t.value,"onUpdate:modelValue":r[0]||(r[0]=s=>t.value=s)},a.$props,{dark:c(n),"quarter-picker":""}),null,16,["modelValue","dark"])]))}}),Zg={class:"demo-wrap"},Jg=te({__name:"RangeDemo",props:{range:{type:[Boolean,Object],default:!0},clearable:{type:Boolean,default:!0},timePicker:{type:Boolean,default:!1},placeholder:{type:String,default:"Select Range"},multiCalendars:{type:[Number,String,Boolean,Object],default:null},disabledWeekDays:{type:Array,default:()=>[]}},setup(e){const n=e,{isDark:t}=Le(),a=B(()=>{var s,i,o;return typeof n.range=="object"?((s=n.range)==null?void 0:s.autoRange)||((i=n.range)==null?void 0:i.maxRange)||((o=n.range)==null?void 0:o.minRange):!1}),r=Y(a.value?null:[new Date,new Date(new Date().setDate(new Date().getDate()+7))]);return(s,i)=>(f(),g("div",Zg,[re(c(Ve),Ne({modelValue:r.value,"onUpdate:modelValue":i[0]||(i[0]=o=>r.value=o)},s.$props,{dark:c(t),rang:e.range,placeholder:e.placeholder}),null,16,["modelValue","dark","rang","placeholder"])]))}}),ey={class:"demo-wrap"},ty=te({__name:"RequiredDemo",setup(e){const n=Y(),{isDark:t}=Le(),a=()=>{alert("Form submitted")};return(r,s)=>(f(),g("div",ey,[T("form",{onSubmit:ca(a,["prevent"])},[re(c(Ve),{modelValue:n.value,"onUpdate:modelValue":s[0]||(s[0]=i=>n.value=i),dark:c(t),placeholder:"Select Date",required:""},null,8,["modelValue","dark"]),s[1]||(s[1]=T("button",{class:"submit-btn",type:"submit"},"Submit form",-1))],32)]))}}),ay={class:"demo-wrap"},ny={class:"buttons-wrap"},ry=["onClick"],sy=te({__name:"SixWeeksDemo",setup(e){const n=Y(new Date),{isDark:t}=Le(),a=[!0,"append","prepend","center","fair"],r=Y(!0);return(s,i)=>(f(),g("div",ay,[T("div",ny,[(f(),g(ge,null,Se(a,(o,l)=>T("button",{class:ye(["change-btn",{"btn-active":o===r.value}]),key:l,onClick:v=>r.value=o},be(o),11,ry)),64))]),re(c(Ve),{modelValue:n.value,"onUpdate:modelValue":i[0]||(i[0]=o=>n.value=o),dark:c(t),"six-weeks":r.value},null,8,["modelValue","dark","six-weeks"])]))}}),iy=xe(sy,[["__scopeId","data-v-9aafd744"]]),oy={class:"demo-wrap"},ly=te({__name:"TextInputDemo",props:["textInput","placeholder","minDate","maxDate"],setup(e){const n=Y(new Date),{isDark:t}=Le();return(a,r)=>(f(),g("div",oy,[re(c(Ve),{modelValue:n.value,"onUpdate:modelValue":r[0]||(r[0]=s=>n.value=s),dark:c(t),"text-input":e.textInput,placeholder:e.placeholder,"min-date":e.minDate,"max-date":e.maxDate},null,8,["modelValue","dark","text-input","placeholder","min-date","max-date"])]))}}),uy={class:"demo-wrap"},cy=te({__name:"TimePickerDemo",props:["modeHeight"],setup(e){const{isDark:n}=Le(),t=Y({hours:new Date().getHours(),minutes:new Date().getMinutes()});return(a,r)=>(f(),g("div",uy,[re(c(Ve),Ne({modelValue:t.value,"onUpdate:modelValue":r[0]||(r[0]=s=>t.value=s)},a.$props,{dark:c(n),"time-picker":""}),null,16,["modelValue","dark"])]))}}),dy={class:"demo-wrap"},_y={class:"custom-time-picker-component"},py=["value","onChange"],fy=["value"],hy=["value","onChange"],my=["value"],vy=te({__name:"TimePickerSlotDemo",setup(e){const n=Y(new Date),{isDark:t}=Le(),a=B(()=>{const s=[];for(let i=0;i<24;i++)s.push({text:i<10?`0${i}`:i,value:i});return s}),r=B(()=>{const s=[];for(let i=0;i<60;i++)s.push({text:i<10?`0${i}`:i,value:i});return s});return(s,i)=>(f(),g("div",dy,[re(c(Ve),{modelValue:n.value,"onUpdate:modelValue":i[0]||(i[0]=o=>n.value=o),dark:c(t)},{"time-picker":C(({time:o,updateTime:l})=>[T("div",_y,[T("select",{class:"select-input",value:o.hours,onChange:v=>l(+v.target.value)},[(f(!0),g(ge,null,Se(a.value,v=>(f(),g("option",{key:v.value,value:v.value},be(v.text),9,fy))),128))],40,py),T("select",{class:"select-input",value:o.minutes,onChange:v=>l(+v.target.value,!1)},[(f(!0),g(ge,null,Se(r.value,v=>(f(),g("option",{key:v.value,value:v.value},be(v.text),9,my))),128))],40,hy)])]),_:1},8,["modelValue","dark"])]))}}),by={class:"demo-wrap"},gy={key:0},yy=te({__name:"TimezoneDemo",setup(e){const n=Y(),{isDark:t}=Le();return(a,r)=>(f(),g("div",by,[re(c(Ve),{modelValue:n.value,"onUpdate:modelValue":r[0]||(r[0]=s=>n.value=s),dark:c(t),utc:"",placeholder:"Select Date"},null,8,["modelValue","dark"]),n.value?(f(),g("p",gy,"Selected date in UTC format: "+be(n.value),1)):W("",!0)]))}}),ky={class:"demo-wrap"},wy=te({__name:"YearPickerDemo",props:{},setup(e){const{isDark:n}=Le(),t=Y(new Date().getFullYear());return(a,r)=>(f(),g("div",ky,[re(c(Ve),Ne({modelValue:t.value,"onUpdate:modelValue":r[0]||(r[0]=s=>t.value=s)},a.$props,{dark:c(n),"year-picker":""}),null,16,["modelValue","dark"])]))}}),xy={class:"tz-demo-wrap"},Dy={class:"dp-container-wrap"},Ty={class:"tz-range-slider-wrap"},My={key:0},Py=te({__name:"TimezoneNewDemo",props:{timezone:{type:Object,default:void 0},emitVal:{type:Boolean,default:!1}},setup(e){const{isDark:n}=Le(),t=e,a=Y(),r=Y(11),s=Y(),i=B(()=>{var p,k;if(t.emitVal)return;const d=Ee(new Date)+1>9?Ee(new Date)+1:`0${Ee(new Date)+1}`;return(p=t.timezone)!=null&&p.exactMatch?new Date:(k=t.timezone)!=null&&k.dateInTz?`${$e(new Date)}-${d}-15T01:00:00Z`:`${$e(new Date)}-${d}-15T01:00:00Z`}),o=[{tz:"Pacific/Midway",offset:-11},{tz:"America/Adak",offset:-10},{tz:"Pacific/Gambier",offset:-9},{tz:"America/Los_Angeles",offset:-8},{tz:"America/Denver",offset:-7},{tz:"America/Chicago",offset:-6},{tz:"America/New_York",offset:-5},{tz:"America/Santiago",offset:-4},{tz:"America/Sao_Paulo",offset:-3},{tz:"America/Noronha",offset:-2},{tz:"Atlantic/Cape_Verde",offset:-1},{tz:"UTC",offset:0},{tz:"Europe/Brussels",offset:1},{tz:"Africa/Cairo",offset:2},{tz:"Europe/Minsk",offset:3},{tz:"Europe/Moscow",offset:4},{tz:"Asia/Tashkent",offset:5},{tz:"Asia/Dhaka",offset:6},{tz:"Asia/Novosibirsk",offset:7},{tz:"Australia/Perth",offset:8},{tz:"Asia/Tokyo",offset:9},{tz:"Australia/Hobart",offset:10},{tz:"Asia/Vladivostok",offset:11},{tz:"Pacific/Auckland",offset:12}],l=B(()=>o[r.value]),v=B(()=>{const d=t.emitVal?{emitTimezone:l.value.tz}:{timezone:l.value.tz};return t.timezone?{...t.timezone,...d}:d}),m=d=>{s.value=d.toISOString()};return(d,p)=>(f(),g("div",xy,[T("div",Dy,[re(c(Ve),{modelValue:a.value,"onUpdate:modelValue":p[0]||(p[0]=k=>a.value=k),dark:c(n),timezone:v.value,inline:"","auto-apply":"","max-date":i.value,"onUpdate:modelTimezoneValue":m},null,8,["modelValue","dark","timezone","max-date"])]),T("div",Ty,[T("div",null,[T("span",null,"Timezone: "+be(l.value.tz),1),p[2]||(p[2]=T("br",null,null,-1)),T("span",null,"Offset: "+be(l.value.offset>0?`+${l.value.offset}`:l.value.offset),1),p[3]||(p[3]=T("br",null,null,-1)),s.value?(f(),g("span",My,"Zoned date: "+be(s.value),1)):W("",!0)]),T("div",null,[Na(T("input",{class:"tz-range-slider",type:"range","onUpdate:modelValue":p[1]||(p[1]=k=>r.value=k),min:"0",max:"22"},null,512),[[Go,r.value]])])])]))}}),$y=xe(Py,[["__scopeId","data-v-76aa1e38"]]),Oy={extends:P_,enhanceApp({app:e}){e.component("StarAndSponsor",O_),e.component("ActionRowSlotDemo",Yv),e.component("CustomCalendarDemo",Fv),e.component("DarkDemo",zv),e.component("DemoDayClass",Gv),e.component("DemoHighlight",Xv),e.component("DemoMarkers",Qv),e.component("DemoSlots",fb),e.component("DisabledDatesDemo",mb),e.component("DisabledRangeDateDemo",bb),e.component("DisabledTimesDemo",xb),e.component("DisplayModelDemo",Mb),e.component("EmitTimezone",$b),e.component("EmptyDemo",Eb),e.component("FiltersDemo",Ab),e.component("FormatDemo",Cb),e.component("GlobalDemo",Nb),e.component("LocalizedOutput",fg),e.component("MinMaxDemo",mg),e.component("MonthPickerDemo",bg),e.component("MonthYearSlotDemo",Hg),e.component("PresetRange",Gg),e.component("PreviewFormatDemo",Xg),e.component("QuarterPickerDemo",Qg),e.component("RangeDemo",Jg),e.component("RequiredDemo",ty),e.component("SixWeeksDemo",iy),e.component("TextInputDemo",ly),e.component("TimePickerDemo",cy),e.component("TimePickerSlotDemo",vy),e.component("TimezoneDemo",yy),e.component("YearPickerDemo",wy),e.component("TimezoneNewDemo",$y)}};export{Oy as R,_l as a,Ie as u}; diff --git a/docs/assets/chunks/ui-custom.BABGA34D.js b/docs/assets/chunks/ui-custom.C0getXqm.js similarity index 82% rename from docs/assets/chunks/ui-custom.BABGA34D.js rename to docs/assets/chunks/ui-custom.C0getXqm.js index 94bb2370..d375ee35 100644 --- a/docs/assets/chunks/ui-custom.BABGA34D.js +++ b/docs/assets/chunks/ui-custom.C0getXqm.js @@ -1 +1 @@ -import{u as i,a as p}from"./theme.DW4UajBf.js";import{d as l,p as f,q as c,v as u,o as _,c as m,_ as b}from"./framework.DDyYGyON.js";const v=l({__name:"VPCarbonAds",props:{carbonAds:{}},setup(r){const{page:d}=i(),a=r.carbonAds,{isAsideEnabled:s}=p(),o=f();let n=!1;function t(){if(!n){n=!0;const e=document.createElement("script");e.id="_carbonads_js",e.src=`//cdn.carbonads.com/carbon.js?serve=${a.code}&placement=${a.placement}`,e.async=!0,o.value.appendChild(e)}}return c(()=>d.value.relativePath,()=>{var e;n&&s.value&&((e=window._carbonads)==null||e.refresh())}),a&&u(()=>{s.value?t():c(s,e=>e&&t())}),(e,h)=>(_(),m("div",{class:"VPCarbonAds",ref_key:"container",ref:o},null,512))}}),k=b(v,[["__scopeId","data-v-2e1efd59"]]);export{k as default}; +import{u as i,a as p}from"./theme.CKPf4mL-.js";import{d as l,p as f,q as c,v as u,o as _,c as m,_ as b}from"./framework.C8IqNCju.js";const v=l({__name:"VPCarbonAds",props:{carbonAds:{}},setup(r){const{page:d}=i(),a=r.carbonAds,{isAsideEnabled:s}=p(),o=f();let n=!1;function t(){if(!n){n=!0;const e=document.createElement("script");e.id="_carbonads_js",e.src=`//cdn.carbonads.com/carbon.js?serve=${a.code}&placement=${a.placement}`,e.async=!0,o.value.appendChild(e)}}return c(()=>d.value.relativePath,()=>{var e;n&&s.value&&((e=window._carbonads)==null||e.refresh())}),a&&u(()=>{s.value?t():c(s,e=>e&&t())}),(e,h)=>(_(),m("div",{class:"VPCarbonAds",ref_key:"container",ref:o},null,512))}}),k=b(v,[["__scopeId","data-v-2e1efd59"]]);export{k as default}; diff --git a/docs/assets/customization_theming_index.md.n7fcEp_w.js b/docs/assets/customization_theming_index.md.J55SD4PY.js similarity index 99% rename from docs/assets/customization_theming_index.md.n7fcEp_w.js rename to docs/assets/customization_theming_index.md.J55SD4PY.js index ae9a6a17..96bf3cb8 100644 --- a/docs/assets/customization_theming_index.md.n7fcEp_w.js +++ b/docs/assets/customization_theming_index.md.J55SD4PY.js @@ -1,4 +1,4 @@ -import{_ as i,c as a,al as n,o as h}from"./chunks/framework.DDyYGyON.js";const g=JSON.parse('{"title":"Customization - Theming","description":"Datepicker theme configuration for light and dark theme","frontmatter":{"title":"Customization - Theming","description":"Datepicker theme configuration for light and dark theme"},"headers":[],"relativePath":"customization/theming/index.md","filePath":"customization/theming/index.md"}'),k={name:"customization/theming/index.md"};function p(l,s,t,e,E,d){return h(),a("div",null,s[0]||(s[0]=[n(`

Theming

Datepicker comes with the theme support with css variables. It provides two classes that are applied based on the chosen dark/light mode

To change variables, simply override the classes with your custom values.

Info

  • When changing the properties, you only need to declare the class in the <style> tag, can be in global or scoped, depending on your needs
  • For the date picker to use dp__theme_dark, dark prop must be set to true

Dark mode configuration

css
.dp__theme_dark {
+import{_ as i,c as a,aj as n,o as h}from"./chunks/framework.C8IqNCju.js";const g=JSON.parse('{"title":"Customization - Theming","description":"Datepicker theme configuration for light and dark theme","frontmatter":{"title":"Customization - Theming","description":"Datepicker theme configuration for light and dark theme"},"headers":[],"relativePath":"customization/theming/index.md","filePath":"customization/theming/index.md"}'),k={name:"customization/theming/index.md"};function p(l,s,t,e,E,d){return h(),a("div",null,s[0]||(s[0]=[n(`

Theming

Datepicker comes with the theme support with css variables. It provides two classes that are applied based on the chosen dark/light mode

To change variables, simply override the classes with your custom values.

Info

  • When changing the properties, you only need to declare the class in the <style> tag, can be in global or scoped, depending on your needs
  • For the date picker to use dp__theme_dark, dark prop must be set to true

Dark mode configuration

css
.dp__theme_dark {
     --dp-background-color: #212121;
     --dp-text-color: #fff;
     --dp-hover-color: #484848;
diff --git a/docs/assets/customization_theming_index.md.n7fcEp_w.lean.js b/docs/assets/customization_theming_index.md.J55SD4PY.lean.js
similarity index 99%
rename from docs/assets/customization_theming_index.md.n7fcEp_w.lean.js
rename to docs/assets/customization_theming_index.md.J55SD4PY.lean.js
index ae9a6a17..96bf3cb8 100644
--- a/docs/assets/customization_theming_index.md.n7fcEp_w.lean.js
+++ b/docs/assets/customization_theming_index.md.J55SD4PY.lean.js
@@ -1,4 +1,4 @@
-import{_ as i,c as a,al as n,o as h}from"./chunks/framework.DDyYGyON.js";const g=JSON.parse('{"title":"Customization - Theming","description":"Datepicker theme configuration for light and dark theme","frontmatter":{"title":"Customization - Theming","description":"Datepicker theme configuration for light and dark theme"},"headers":[],"relativePath":"customization/theming/index.md","filePath":"customization/theming/index.md"}'),k={name:"customization/theming/index.md"};function p(l,s,t,e,E,d){return h(),a("div",null,s[0]||(s[0]=[n(`

Theming

Datepicker comes with the theme support with css variables. It provides two classes that are applied based on the chosen dark/light mode

To change variables, simply override the classes with your custom values.

Info

  • When changing the properties, you only need to declare the class in the <style> tag, can be in global or scoped, depending on your needs
  • For the date picker to use dp__theme_dark, dark prop must be set to true

Dark mode configuration

css
.dp__theme_dark {
+import{_ as i,c as a,aj as n,o as h}from"./chunks/framework.C8IqNCju.js";const g=JSON.parse('{"title":"Customization - Theming","description":"Datepicker theme configuration for light and dark theme","frontmatter":{"title":"Customization - Theming","description":"Datepicker theme configuration for light and dark theme"},"headers":[],"relativePath":"customization/theming/index.md","filePath":"customization/theming/index.md"}'),k={name:"customization/theming/index.md"};function p(l,s,t,e,E,d){return h(),a("div",null,s[0]||(s[0]=[n(`

Theming

Datepicker comes with the theme support with css variables. It provides two classes that are applied based on the chosen dark/light mode

To change variables, simply override the classes with your custom values.

Info

  • When changing the properties, you only need to declare the class in the <style> tag, can be in global or scoped, depending on your needs
  • For the date picker to use dp__theme_dark, dark prop must be set to true

Dark mode configuration

css
.dp__theme_dark {
     --dp-background-color: #212121;
     --dp-text-color: #fff;
     --dp-hover-color: #484848;
diff --git a/docs/assets/index.md.BJiPgZgU.js b/docs/assets/index.md.AEe3KBSA.js
similarity index 96%
rename from docs/assets/index.md.BJiPgZgU.js
rename to docs/assets/index.md.AEe3KBSA.js
index eb59da20..d737dd47 100644
--- a/docs/assets/index.md.BJiPgZgU.js
+++ b/docs/assets/index.md.AEe3KBSA.js
@@ -1 +1 @@
-import{_ as t,c as o,G as a,B as i,o as n}from"./chunks/framework.DDyYGyON.js";const k=JSON.parse('{"title":"Vue Datepicker","description":"Vue 3 datepicker component. Lightweight and powerful with support for the timepicker, range picker, month-year picker, text input, week numbers and many more. Options to customize the datepicker from the ground up with props, slots and custom components. Dark and light mode available.","frontmatter":{"title":"Vue Datepicker","description":"Vue 3 datepicker component. Lightweight and powerful with support for the timepicker, range picker, month-year picker, text input, week numbers and many more. Options to customize the datepicker from the ground up with props, slots and custom components. Dark and light mode available.","layout":"home","hero":{"name":"Vue datepicker","text":"The most complete datepicker solution for Vue 3","tagline":"Powerful, lightweight, and reusable datepicker component to fit within any project","actions":[{"theme":"brand","text":"Get Started","link":"/installation/"},{"theme":"alt","text":"View on GitHub","link":"https://github.com/Vuepic/vue-datepicker"},{"theme":"alt","text":"Playground","link":"https://stackblitz.com/edit/vuepic-vue-datepicker?file=src%2Fcomponents%2FPlayground.vue"}]},"features":[{"title":"Powerful","details":"Supports multiple modes such as range, various pickers, multiple calendars, custom components, and many more."},{"title":"Modular","details":"Offers a great range of features, slots and props, while providing a way to customize for specific needs."},{"title":"Customizable","details":"Fully accessible, mobile-friendly, with built-in dark and light mode, and customizable css variables."}]},"headers":[],"relativePath":"index.md","filePath":"index.md"}'),r={name:"index.md"};function s(p,c,l,d,m,u){const e=i("StarAndSponsor");return n(),o("div",null,[a(e)])}const f=t(r,[["render",s]]);export{k as __pageData,f as default};
+import{_ as t,c as o,G as a,B as i,o as n}from"./chunks/framework.C8IqNCju.js";const k=JSON.parse('{"title":"Vue Datepicker","description":"Vue 3 datepicker component. Lightweight and powerful with support for the timepicker, range picker, month-year picker, text input, week numbers and many more. Options to customize the datepicker from the ground up with props, slots and custom components. Dark and light mode available.","frontmatter":{"title":"Vue Datepicker","description":"Vue 3 datepicker component. Lightweight and powerful with support for the timepicker, range picker, month-year picker, text input, week numbers and many more. Options to customize the datepicker from the ground up with props, slots and custom components. Dark and light mode available.","layout":"home","hero":{"name":"Vue datepicker","text":"The most complete datepicker solution for Vue 3","tagline":"Powerful, lightweight, and reusable datepicker component to fit within any project","actions":[{"theme":"brand","text":"Get Started","link":"/installation/"},{"theme":"alt","text":"View on GitHub","link":"https://github.com/Vuepic/vue-datepicker"},{"theme":"alt","text":"Playground","link":"https://stackblitz.com/edit/vuepic-vue-datepicker?file=src%2Fcomponents%2FPlayground.vue"}]},"features":[{"title":"Powerful","details":"Supports multiple modes such as range, various pickers, multiple calendars, custom components, and many more."},{"title":"Modular","details":"Offers a great range of features, slots and props, while providing a way to customize for specific needs."},{"title":"Customizable","details":"Fully accessible, mobile-friendly, with built-in dark and light mode, and customizable css variables."}]},"headers":[],"relativePath":"index.md","filePath":"index.md"}'),r={name:"index.md"};function s(p,c,l,d,m,u){const e=i("StarAndSponsor");return n(),o("div",null,[a(e)])}const f=t(r,[["render",s]]);export{k as __pageData,f as default};
diff --git a/docs/assets/index.md.BJiPgZgU.lean.js b/docs/assets/index.md.AEe3KBSA.lean.js
similarity index 96%
rename from docs/assets/index.md.BJiPgZgU.lean.js
rename to docs/assets/index.md.AEe3KBSA.lean.js
index eb59da20..d737dd47 100644
--- a/docs/assets/index.md.BJiPgZgU.lean.js
+++ b/docs/assets/index.md.AEe3KBSA.lean.js
@@ -1 +1 @@
-import{_ as t,c as o,G as a,B as i,o as n}from"./chunks/framework.DDyYGyON.js";const k=JSON.parse('{"title":"Vue Datepicker","description":"Vue 3 datepicker component. Lightweight and powerful with support for the timepicker, range picker, month-year picker, text input, week numbers and many more. Options to customize the datepicker from the ground up with props, slots and custom components. Dark and light mode available.","frontmatter":{"title":"Vue Datepicker","description":"Vue 3 datepicker component. Lightweight and powerful with support for the timepicker, range picker, month-year picker, text input, week numbers and many more. Options to customize the datepicker from the ground up with props, slots and custom components. Dark and light mode available.","layout":"home","hero":{"name":"Vue datepicker","text":"The most complete datepicker solution for Vue 3","tagline":"Powerful, lightweight, and reusable datepicker component to fit within any project","actions":[{"theme":"brand","text":"Get Started","link":"/installation/"},{"theme":"alt","text":"View on GitHub","link":"https://github.com/Vuepic/vue-datepicker"},{"theme":"alt","text":"Playground","link":"https://stackblitz.com/edit/vuepic-vue-datepicker?file=src%2Fcomponents%2FPlayground.vue"}]},"features":[{"title":"Powerful","details":"Supports multiple modes such as range, various pickers, multiple calendars, custom components, and many more."},{"title":"Modular","details":"Offers a great range of features, slots and props, while providing a way to customize for specific needs."},{"title":"Customizable","details":"Fully accessible, mobile-friendly, with built-in dark and light mode, and customizable css variables."}]},"headers":[],"relativePath":"index.md","filePath":"index.md"}'),r={name:"index.md"};function s(p,c,l,d,m,u){const e=i("StarAndSponsor");return n(),o("div",null,[a(e)])}const f=t(r,[["render",s]]);export{k as __pageData,f as default};
+import{_ as t,c as o,G as a,B as i,o as n}from"./chunks/framework.C8IqNCju.js";const k=JSON.parse('{"title":"Vue Datepicker","description":"Vue 3 datepicker component. Lightweight and powerful with support for the timepicker, range picker, month-year picker, text input, week numbers and many more. Options to customize the datepicker from the ground up with props, slots and custom components. Dark and light mode available.","frontmatter":{"title":"Vue Datepicker","description":"Vue 3 datepicker component. Lightweight and powerful with support for the timepicker, range picker, month-year picker, text input, week numbers and many more. Options to customize the datepicker from the ground up with props, slots and custom components. Dark and light mode available.","layout":"home","hero":{"name":"Vue datepicker","text":"The most complete datepicker solution for Vue 3","tagline":"Powerful, lightweight, and reusable datepicker component to fit within any project","actions":[{"theme":"brand","text":"Get Started","link":"/installation/"},{"theme":"alt","text":"View on GitHub","link":"https://github.com/Vuepic/vue-datepicker"},{"theme":"alt","text":"Playground","link":"https://stackblitz.com/edit/vuepic-vue-datepicker?file=src%2Fcomponents%2FPlayground.vue"}]},"features":[{"title":"Powerful","details":"Supports multiple modes such as range, various pickers, multiple calendars, custom components, and many more."},{"title":"Modular","details":"Offers a great range of features, slots and props, while providing a way to customize for specific needs."},{"title":"Customizable","details":"Fully accessible, mobile-friendly, with built-in dark and light mode, and customizable css variables."}]},"headers":[],"relativePath":"index.md","filePath":"index.md"}'),r={name:"index.md"};function s(p,c,l,d,m,u){const e=i("StarAndSponsor");return n(),o("div",null,[a(e)])}const f=t(r,[["render",s]]);export{k as __pageData,f as default};
diff --git a/docs/assets/installation_index.md.CqYA7Cgq.js b/docs/assets/installation_index.md.DU4NbBGO.js
similarity index 96%
rename from docs/assets/installation_index.md.CqYA7Cgq.js
rename to docs/assets/installation_index.md.DU4NbBGO.js
index 9af74c08..aa7443d7 100644
--- a/docs/assets/installation_index.md.CqYA7Cgq.js
+++ b/docs/assets/installation_index.md.DU4NbBGO.js
@@ -1,4 +1,4 @@
-import{_ as i,c as a,al as t,o as n}from"./chunks/framework.DDyYGyON.js";const g=JSON.parse('{"title":"Installation","description":"Install guide for @vuepic/vue-datepicker for global installation, Options and Composition API","frontmatter":{"title":"Installation","description":"Install guide for @vuepic/vue-datepicker for global installation, Options and Composition API"},"headers":[],"relativePath":"installation/index.md","filePath":"installation/index.md"}'),p={name:"installation/index.md"};function l(e,s,h,k,d,E){return n(),a("div",null,s[0]||(s[0]=[t(`

Installation

Install the component using the preferred package manager

shell
npm install @vuepic/vue-datepicker
shell
yarn add @vuepic/vue-datepicker
shell
pnpm add @vuepic/vue-datepicker
shell
bun add @vuepic/vue-datepicker

Then import and register component

Note: css file is imported separately

js
import VueDatePicker from '@vuepic/vue-datepicker';
+import{_ as i,c as a,aj as t,o as n}from"./chunks/framework.C8IqNCju.js";const g=JSON.parse('{"title":"Installation","description":"Install guide for @vuepic/vue-datepicker for global installation, Options and Composition API","frontmatter":{"title":"Installation","description":"Install guide for @vuepic/vue-datepicker for global installation, Options and Composition API"},"headers":[],"relativePath":"installation/index.md","filePath":"installation/index.md"}'),p={name:"installation/index.md"};function l(e,s,h,k,d,E){return n(),a("div",null,s[0]||(s[0]=[t(`

Installation

Install the component using the preferred package manager

shell
npm install @vuepic/vue-datepicker
shell
yarn add @vuepic/vue-datepicker
shell
pnpm add @vuepic/vue-datepicker
shell
bun add @vuepic/vue-datepicker

Then import and register component

Note: css file is imported separately

js
import VueDatePicker from '@vuepic/vue-datepicker';
 import '@vuepic/vue-datepicker/dist/main.css'

Global

In the main file

js
import { createApp } from "vue";
 import App from './App.vue';
 
@@ -9,7 +9,7 @@ import{_ as i,c as a,al as t,o as n}from"./chunks/framework.DDyYGyON.js";const g
 
 app.component('VueDatePicker', VueDatePicker);
 
-app.mount('#app');

Local

In the .vue files

vue
<template>
+app.mount('#app');

Local

In the .vue files

vue
<template>
   <VueDatePicker v-model="date"></VueDatePicker>
 </template>
 
diff --git a/docs/assets/installation_index.md.CqYA7Cgq.lean.js b/docs/assets/installation_index.md.DU4NbBGO.lean.js
similarity index 96%
rename from docs/assets/installation_index.md.CqYA7Cgq.lean.js
rename to docs/assets/installation_index.md.DU4NbBGO.lean.js
index 9af74c08..aa7443d7 100644
--- a/docs/assets/installation_index.md.CqYA7Cgq.lean.js
+++ b/docs/assets/installation_index.md.DU4NbBGO.lean.js
@@ -1,4 +1,4 @@
-import{_ as i,c as a,al as t,o as n}from"./chunks/framework.DDyYGyON.js";const g=JSON.parse('{"title":"Installation","description":"Install guide for @vuepic/vue-datepicker for global installation, Options and Composition API","frontmatter":{"title":"Installation","description":"Install guide for @vuepic/vue-datepicker for global installation, Options and Composition API"},"headers":[],"relativePath":"installation/index.md","filePath":"installation/index.md"}'),p={name:"installation/index.md"};function l(e,s,h,k,d,E){return n(),a("div",null,s[0]||(s[0]=[t(`

Installation

Install the component using the preferred package manager

shell
npm install @vuepic/vue-datepicker
shell
yarn add @vuepic/vue-datepicker
shell
pnpm add @vuepic/vue-datepicker
shell
bun add @vuepic/vue-datepicker

Then import and register component

Note: css file is imported separately

js
import VueDatePicker from '@vuepic/vue-datepicker';
+import{_ as i,c as a,aj as t,o as n}from"./chunks/framework.C8IqNCju.js";const g=JSON.parse('{"title":"Installation","description":"Install guide for @vuepic/vue-datepicker for global installation, Options and Composition API","frontmatter":{"title":"Installation","description":"Install guide for @vuepic/vue-datepicker for global installation, Options and Composition API"},"headers":[],"relativePath":"installation/index.md","filePath":"installation/index.md"}'),p={name:"installation/index.md"};function l(e,s,h,k,d,E){return n(),a("div",null,s[0]||(s[0]=[t(`

Installation

Install the component using the preferred package manager

shell
npm install @vuepic/vue-datepicker
shell
yarn add @vuepic/vue-datepicker
shell
pnpm add @vuepic/vue-datepicker
shell
bun add @vuepic/vue-datepicker

Then import and register component

Note: css file is imported separately

js
import VueDatePicker from '@vuepic/vue-datepicker';
 import '@vuepic/vue-datepicker/dist/main.css'

Global

In the main file

js
import { createApp } from "vue";
 import App from './App.vue';
 
@@ -9,7 +9,7 @@ import{_ as i,c as a,al as t,o as n}from"./chunks/framework.DDyYGyON.js";const g
 
 app.component('VueDatePicker', VueDatePicker);
 
-app.mount('#app');

Local

In the .vue files

vue
<template>
+app.mount('#app');

Local

In the .vue files

vue
<template>
   <VueDatePicker v-model="date"></VueDatePicker>
 </template>
 
diff --git a/docs/assets/methods-and-events_events_index.md.C-wBkQV8.js b/docs/assets/methods-and-events_events_index.md.XXQ9Y2Gs.js
similarity index 99%
rename from docs/assets/methods-and-events_events_index.md.C-wBkQV8.js
rename to docs/assets/methods-and-events_events_index.md.XXQ9Y2Gs.js
index a2c5332a..9d810136 100644
--- a/docs/assets/methods-and-events_events_index.md.C-wBkQV8.js
+++ b/docs/assets/methods-and-events_events_index.md.XXQ9Y2Gs.js
@@ -1,4 +1,4 @@
-import{_ as i,c as a,al as n,o as h}from"./chunks/framework.DDyYGyON.js";const g=JSON.parse('{"title":"Events","description":"List of emitted events from the datepicker","frontmatter":{"lang":"en-US","title":"Events","description":"List of emitted events from the datepicker"},"headers":[],"relativePath":"methods-and-events/events/index.md","filePath":"methods-and-events/events/index.md"}'),l={name:"methods-and-events/events/index.md"};function t(k,s,p,e,E,d){return h(),a("div",null,s[0]||(s[0]=[n(`

Events

List of available events that are emitted on some action

@update:model-value

This event is emitted when the value is selected. This is a v-model binding event

Code Example
vue
<template>
+import{_ as i,c as a,aj as n,o as h}from"./chunks/framework.C8IqNCju.js";const g=JSON.parse('{"title":"Events","description":"List of emitted events from the datepicker","frontmatter":{"lang":"en-US","title":"Events","description":"List of emitted events from the datepicker"},"headers":[],"relativePath":"methods-and-events/events/index.md","filePath":"methods-and-events/events/index.md"}'),l={name:"methods-and-events/events/index.md"};function t(k,s,p,e,E,d){return h(),a("div",null,s[0]||(s[0]=[n(`

Events

List of available events that are emitted on some action

@update:model-value

This event is emitted when the value is selected. This is a v-model binding event

Code Example
vue
<template>
     <VueDatePicker :model-value="date" @update:model-value="handleDate" />
 </template>
 
diff --git a/docs/assets/methods-and-events_events_index.md.C-wBkQV8.lean.js b/docs/assets/methods-and-events_events_index.md.XXQ9Y2Gs.lean.js
similarity index 99%
rename from docs/assets/methods-and-events_events_index.md.C-wBkQV8.lean.js
rename to docs/assets/methods-and-events_events_index.md.XXQ9Y2Gs.lean.js
index a2c5332a..9d810136 100644
--- a/docs/assets/methods-and-events_events_index.md.C-wBkQV8.lean.js
+++ b/docs/assets/methods-and-events_events_index.md.XXQ9Y2Gs.lean.js
@@ -1,4 +1,4 @@
-import{_ as i,c as a,al as n,o as h}from"./chunks/framework.DDyYGyON.js";const g=JSON.parse('{"title":"Events","description":"List of emitted events from the datepicker","frontmatter":{"lang":"en-US","title":"Events","description":"List of emitted events from the datepicker"},"headers":[],"relativePath":"methods-and-events/events/index.md","filePath":"methods-and-events/events/index.md"}'),l={name:"methods-and-events/events/index.md"};function t(k,s,p,e,E,d){return h(),a("div",null,s[0]||(s[0]=[n(`

Events

List of available events that are emitted on some action

@update:model-value

This event is emitted when the value is selected. This is a v-model binding event

Code Example
vue
<template>
+import{_ as i,c as a,aj as n,o as h}from"./chunks/framework.C8IqNCju.js";const g=JSON.parse('{"title":"Events","description":"List of emitted events from the datepicker","frontmatter":{"lang":"en-US","title":"Events","description":"List of emitted events from the datepicker"},"headers":[],"relativePath":"methods-and-events/events/index.md","filePath":"methods-and-events/events/index.md"}'),l={name:"methods-and-events/events/index.md"};function t(k,s,p,e,E,d){return h(),a("div",null,s[0]||(s[0]=[n(`

Events

List of available events that are emitted on some action

@update:model-value

This event is emitted when the value is selected. This is a v-model binding event

Code Example
vue
<template>
     <VueDatePicker :model-value="date" @update:model-value="handleDate" />
 </template>
 
diff --git a/docs/assets/methods-and-events_methods_index.md.BUAhxP5w.js b/docs/assets/methods-and-events_methods_index.md.DSPnQskQ.js
similarity index 98%
rename from docs/assets/methods-and-events_methods_index.md.BUAhxP5w.js
rename to docs/assets/methods-and-events_methods_index.md.DSPnQskQ.js
index 5844c947..d7104327 100644
--- a/docs/assets/methods-and-events_methods_index.md.BUAhxP5w.js
+++ b/docs/assets/methods-and-events_methods_index.md.DSPnQskQ.js
@@ -1,4 +1,4 @@
-import{_ as s,c as e,al as i,o as t}from"./chunks/framework.DDyYGyON.js";const c=JSON.parse('{"title":"Methods","description":"List of exposed datepicker methods","frontmatter":{"lang":"en-US","title":"Methods","description":"List of exposed datepicker methods"},"headers":[],"relativePath":"methods-and-events/methods/index.md","filePath":"methods-and-events/methods/index.md"}'),l={name:"methods-and-events/methods/index.md"};function n(h,a,p,r,o,d){return t(),e("div",null,a[0]||(a[0]=[i(`

Methods

List of available methods that you can call on the datepicker from the external code

Add a ref to the component, and call the method on that ref

Code Example
vue
<template>
+import{_ as s,c as e,aj as i,o as t}from"./chunks/framework.C8IqNCju.js";const c=JSON.parse('{"title":"Methods","description":"List of exposed datepicker methods","frontmatter":{"lang":"en-US","title":"Methods","description":"List of exposed datepicker methods"},"headers":[],"relativePath":"methods-and-events/methods/index.md","filePath":"methods-and-events/methods/index.md"}'),l={name:"methods-and-events/methods/index.md"};function n(h,a,p,r,o,d){return t(),e("div",null,a[0]||(a[0]=[i(`

Methods

List of available methods that you can call on the datepicker from the external code

Add a ref to the component, and call the method on that ref

Code Example
vue
<template>
     <VueDatePicker v-model="date" ref="datepicker" />
 </template>
 
diff --git a/docs/assets/methods-and-events_methods_index.md.BUAhxP5w.lean.js b/docs/assets/methods-and-events_methods_index.md.DSPnQskQ.lean.js
similarity index 98%
rename from docs/assets/methods-and-events_methods_index.md.BUAhxP5w.lean.js
rename to docs/assets/methods-and-events_methods_index.md.DSPnQskQ.lean.js
index 5844c947..d7104327 100644
--- a/docs/assets/methods-and-events_methods_index.md.BUAhxP5w.lean.js
+++ b/docs/assets/methods-and-events_methods_index.md.DSPnQskQ.lean.js
@@ -1,4 +1,4 @@
-import{_ as s,c as e,al as i,o as t}from"./chunks/framework.DDyYGyON.js";const c=JSON.parse('{"title":"Methods","description":"List of exposed datepicker methods","frontmatter":{"lang":"en-US","title":"Methods","description":"List of exposed datepicker methods"},"headers":[],"relativePath":"methods-and-events/methods/index.md","filePath":"methods-and-events/methods/index.md"}'),l={name:"methods-and-events/methods/index.md"};function n(h,a,p,r,o,d){return t(),e("div",null,a[0]||(a[0]=[i(`

Methods

List of available methods that you can call on the datepicker from the external code

Add a ref to the component, and call the method on that ref

Code Example
vue
<template>
+import{_ as s,c as e,aj as i,o as t}from"./chunks/framework.C8IqNCju.js";const c=JSON.parse('{"title":"Methods","description":"List of exposed datepicker methods","frontmatter":{"lang":"en-US","title":"Methods","description":"List of exposed datepicker methods"},"headers":[],"relativePath":"methods-and-events/methods/index.md","filePath":"methods-and-events/methods/index.md"}'),l={name:"methods-and-events/methods/index.md"};function n(h,a,p,r,o,d){return t(),e("div",null,a[0]||(a[0]=[i(`

Methods

List of available methods that you can call on the datepicker from the external code

Add a ref to the component, and call the method on that ref

Code Example
vue
<template>
     <VueDatePicker v-model="date" ref="datepicker" />
 </template>
 
diff --git a/docs/assets/migration_from-v10.md.cKOzBSoF.js b/docs/assets/migration_from-v10.md.CeyMK1B_.js
similarity index 98%
rename from docs/assets/migration_from-v10.md.cKOzBSoF.js
rename to docs/assets/migration_from-v10.md.CeyMK1B_.js
index 36cdd47e..692e31ff 100644
--- a/docs/assets/migration_from-v10.md.cKOzBSoF.js
+++ b/docs/assets/migration_from-v10.md.CeyMK1B_.js
@@ -1 +1 @@
-import{_ as s,c as a,al as e,o as t}from"./chunks/framework.DDyYGyON.js";const g=JSON.parse('{"title":"Migration from v10","description":"Migration guide for migrating from v10 to v11 and notifying of breaking changes","frontmatter":{"lang":"en-US","title":"Migration from v10","description":"Migration guide for migrating from v10 to v11 and notifying of breaking changes"},"headers":[],"relativePath":"migration/from-v10.md","filePath":"migration/from-v10.md"}'),n={name:"migration/from-v10.md"};function h(l,i,d,p,k,r){return t(),a("div",null,i[0]||(i[0]=[e('

Migrating from v10

Breaking changes

  • Library now requires vue >= v3.3
  • Calendar cells id attribute is now prefixed with dp-
  • Calendar cells data-test-id attribute now matches the id value
  • Ref dpWrapMenuRef is now exposed via the getter function getDpWrapMenuRef instead of direct access

Calendar cell id update

js
import { format } from 'date-fns';\nconst formatToken =  `yyyy-MM-dd`;\n\ndocument.getElementById(format(new Date(), formatToken)) \ndocument.getElementById(`dp-${format(new Date(), formatToken)}`) 

Calendar cell data-test-id update

js
import { format } from 'date-fns';\nconst formatToken =  `yyyy-MM-dd`;\n\ndocument.querySelector(`[data-test-id="${new Date()}"]`) \ndocument.querySelector(`[data-test-id="dp-${format(new Date(), formatToken)}"]`) 

dpWrapMenuRef

Instead of directly accessing the ref, it is now wrapped in a function

js
datePickerInstance.dpWrapMenuRef.value \ndatePickerInstance.getDpWrapMenuRef().value 
',10)]))}const c=s(n,[["render",h]]);export{g as __pageData,c as default}; +import{_ as s,c as a,aj as e,o as t}from"./chunks/framework.C8IqNCju.js";const g=JSON.parse('{"title":"Migration from v10","description":"Migration guide for migrating from v10 to v11 and notifying of breaking changes","frontmatter":{"lang":"en-US","title":"Migration from v10","description":"Migration guide for migrating from v10 to v11 and notifying of breaking changes"},"headers":[],"relativePath":"migration/from-v10.md","filePath":"migration/from-v10.md"}'),n={name:"migration/from-v10.md"};function h(l,i,d,p,k,r){return t(),a("div",null,i[0]||(i[0]=[e('

Migrating from v10

Breaking changes

  • Library now requires vue >= v3.3
  • Calendar cells id attribute is now prefixed with dp-
  • Calendar cells data-test-id attribute now matches the id value
  • Ref dpWrapMenuRef is now exposed via the getter function getDpWrapMenuRef instead of direct access

Calendar cell id update

js
import { format } from 'date-fns';\nconst formatToken =  `yyyy-MM-dd`;\n\ndocument.getElementById(format(new Date(), formatToken)) \ndocument.getElementById(`dp-${format(new Date(), formatToken)}`) 

Calendar cell data-test-id update

js
import { format } from 'date-fns';\nconst formatToken =  `yyyy-MM-dd`;\n\ndocument.querySelector(`[data-test-id="${new Date()}"]`) \ndocument.querySelector(`[data-test-id="dp-${format(new Date(), formatToken)}"]`) 

dpWrapMenuRef

Instead of directly accessing the ref, it is now wrapped in a function

js
datePickerInstance.dpWrapMenuRef.value \ndatePickerInstance.getDpWrapMenuRef().value 
',10)]))}const c=s(n,[["render",h]]);export{g as __pageData,c as default}; diff --git a/docs/assets/migration_from-v10.md.cKOzBSoF.lean.js b/docs/assets/migration_from-v10.md.CeyMK1B_.lean.js similarity index 98% rename from docs/assets/migration_from-v10.md.cKOzBSoF.lean.js rename to docs/assets/migration_from-v10.md.CeyMK1B_.lean.js index 36cdd47e..692e31ff 100644 --- a/docs/assets/migration_from-v10.md.cKOzBSoF.lean.js +++ b/docs/assets/migration_from-v10.md.CeyMK1B_.lean.js @@ -1 +1 @@ -import{_ as s,c as a,al as e,o as t}from"./chunks/framework.DDyYGyON.js";const g=JSON.parse('{"title":"Migration from v10","description":"Migration guide for migrating from v10 to v11 and notifying of breaking changes","frontmatter":{"lang":"en-US","title":"Migration from v10","description":"Migration guide for migrating from v10 to v11 and notifying of breaking changes"},"headers":[],"relativePath":"migration/from-v10.md","filePath":"migration/from-v10.md"}'),n={name:"migration/from-v10.md"};function h(l,i,d,p,k,r){return t(),a("div",null,i[0]||(i[0]=[e('

Migrating from v10

Breaking changes

  • Library now requires vue >= v3.3
  • Calendar cells id attribute is now prefixed with dp-
  • Calendar cells data-test-id attribute now matches the id value
  • Ref dpWrapMenuRef is now exposed via the getter function getDpWrapMenuRef instead of direct access

Calendar cell id update

js
import { format } from 'date-fns';\nconst formatToken =  `yyyy-MM-dd`;\n\ndocument.getElementById(format(new Date(), formatToken)) \ndocument.getElementById(`dp-${format(new Date(), formatToken)}`) 

Calendar cell data-test-id update

js
import { format } from 'date-fns';\nconst formatToken =  `yyyy-MM-dd`;\n\ndocument.querySelector(`[data-test-id="${new Date()}"]`) \ndocument.querySelector(`[data-test-id="dp-${format(new Date(), formatToken)}"]`) 

dpWrapMenuRef

Instead of directly accessing the ref, it is now wrapped in a function

js
datePickerInstance.dpWrapMenuRef.value \ndatePickerInstance.getDpWrapMenuRef().value 
',10)]))}const c=s(n,[["render",h]]);export{g as __pageData,c as default}; +import{_ as s,c as a,aj as e,o as t}from"./chunks/framework.C8IqNCju.js";const g=JSON.parse('{"title":"Migration from v10","description":"Migration guide for migrating from v10 to v11 and notifying of breaking changes","frontmatter":{"lang":"en-US","title":"Migration from v10","description":"Migration guide for migrating from v10 to v11 and notifying of breaking changes"},"headers":[],"relativePath":"migration/from-v10.md","filePath":"migration/from-v10.md"}'),n={name:"migration/from-v10.md"};function h(l,i,d,p,k,r){return t(),a("div",null,i[0]||(i[0]=[e('

Migrating from v10

Breaking changes

  • Library now requires vue >= v3.3
  • Calendar cells id attribute is now prefixed with dp-
  • Calendar cells data-test-id attribute now matches the id value
  • Ref dpWrapMenuRef is now exposed via the getter function getDpWrapMenuRef instead of direct access

Calendar cell id update

js
import { format } from 'date-fns';\nconst formatToken =  `yyyy-MM-dd`;\n\ndocument.getElementById(format(new Date(), formatToken)) \ndocument.getElementById(`dp-${format(new Date(), formatToken)}`) 

Calendar cell data-test-id update

js
import { format } from 'date-fns';\nconst formatToken =  `yyyy-MM-dd`;\n\ndocument.querySelector(`[data-test-id="${new Date()}"]`) \ndocument.querySelector(`[data-test-id="dp-${format(new Date(), formatToken)}"]`) 

dpWrapMenuRef

Instead of directly accessing the ref, it is now wrapped in a function

js
datePickerInstance.dpWrapMenuRef.value \ndatePickerInstance.getDpWrapMenuRef().value 
',10)]))}const c=s(n,[["render",h]]);export{g as __pageData,c as default}; diff --git a/docs/assets/migration_from-v5.md.Bmjm4GG1.js b/docs/assets/migration_from-v5.md.D_NRXSTe.js similarity index 99% rename from docs/assets/migration_from-v5.md.Bmjm4GG1.js rename to docs/assets/migration_from-v5.md.D_NRXSTe.js index 7692cd83..c4165419 100644 --- a/docs/assets/migration_from-v5.md.Bmjm4GG1.js +++ b/docs/assets/migration_from-v5.md.D_NRXSTe.js @@ -1,4 +1,4 @@ -import{_ as s,c as a,al as t,o as n}from"./chunks/framework.DDyYGyON.js";const c=JSON.parse('{"title":"Migration from v5","description":"Migration guide for migrating from v5 to v6 and notifying of breaking changes","frontmatter":{"lang":"en-US","title":"Migration from v5","description":"Migration guide for migrating from v5 to v6 and notifying of breaking changes"},"headers":[],"relativePath":"migration/from-v5.md","filePath":"migration/from-v5.md"}'),e={name:"migration/from-v5.md"};function l(p,i,h,o,k,r){return n(),a("div",null,i[0]||(i[0]=[t(`

Migrating from v5

Breaking changes

  • month-picker and year-picker no longer have predefined value if v-model is empty
  • aria-label for arrow buttons in month-picker mode is changed to Next/Previous year
  • auto-apply-month prop is removed (will work with auto-apply prop set)
  • show-now-button prop is removed
  • month-year slot will have different props depending on the used mode
  • Property handleMonthYearChange is removed from sidebar-[left/right] slot props
  • Props changes (check props-reconfiguration)

Props reconfiguration

Based on the list of removed props, and depending on your usage, you might need to do a slight adjustments to keep prior behaviour:

multi-calendars-solo and multi-static

These 2 props are now merged into a configuration object that can be passed

to multi-calendars prop

Info

For prop definition, check multi-calendars prop

js

+import{_ as s,c as a,aj as t,o as n}from"./chunks/framework.C8IqNCju.js";const c=JSON.parse('{"title":"Migration from v5","description":"Migration guide for migrating from v5 to v6 and notifying of breaking changes","frontmatter":{"lang":"en-US","title":"Migration from v5","description":"Migration guide for migrating from v5 to v6 and notifying of breaking changes"},"headers":[],"relativePath":"migration/from-v5.md","filePath":"migration/from-v5.md"}'),e={name:"migration/from-v5.md"};function l(p,i,h,o,k,r){return n(),a("div",null,i[0]||(i[0]=[t(`

Migrating from v5

Breaking changes

  • month-picker and year-picker no longer have predefined value if v-model is empty
  • aria-label for arrow buttons in month-picker mode is changed to Next/Previous year
  • auto-apply-month prop is removed (will work with auto-apply prop set)
  • show-now-button prop is removed
  • month-year slot will have different props depending on the used mode
  • Property handleMonthYearChange is removed from sidebar-[left/right] slot props
  • Props changes (check props-reconfiguration)

Props reconfiguration

Based on the list of removed props, and depending on your usage, you might need to do a slight adjustments to keep prior behaviour:

multi-calendars-solo and multi-static

These 2 props are now merged into a configuration object that can be passed

to multi-calendars prop

Info

For prop definition, check multi-calendars prop

js

 <template>
 
   <VueDatePicker
diff --git a/docs/assets/migration_from-v5.md.Bmjm4GG1.lean.js b/docs/assets/migration_from-v5.md.D_NRXSTe.lean.js
similarity index 99%
rename from docs/assets/migration_from-v5.md.Bmjm4GG1.lean.js
rename to docs/assets/migration_from-v5.md.D_NRXSTe.lean.js
index 7692cd83..c4165419 100644
--- a/docs/assets/migration_from-v5.md.Bmjm4GG1.lean.js
+++ b/docs/assets/migration_from-v5.md.D_NRXSTe.lean.js
@@ -1,4 +1,4 @@
-import{_ as s,c as a,al as t,o as n}from"./chunks/framework.DDyYGyON.js";const c=JSON.parse('{"title":"Migration from v5","description":"Migration guide for migrating from v5 to v6 and notifying of breaking changes","frontmatter":{"lang":"en-US","title":"Migration from v5","description":"Migration guide for migrating from v5 to v6 and notifying of breaking changes"},"headers":[],"relativePath":"migration/from-v5.md","filePath":"migration/from-v5.md"}'),e={name:"migration/from-v5.md"};function l(p,i,h,o,k,r){return n(),a("div",null,i[0]||(i[0]=[t(`

Migrating from v5

Breaking changes

  • month-picker and year-picker no longer have predefined value if v-model is empty
  • aria-label for arrow buttons in month-picker mode is changed to Next/Previous year
  • auto-apply-month prop is removed (will work with auto-apply prop set)
  • show-now-button prop is removed
  • month-year slot will have different props depending on the used mode
  • Property handleMonthYearChange is removed from sidebar-[left/right] slot props
  • Props changes (check props-reconfiguration)

Props reconfiguration

Based on the list of removed props, and depending on your usage, you might need to do a slight adjustments to keep prior behaviour:

multi-calendars-solo and multi-static

These 2 props are now merged into a configuration object that can be passed

to multi-calendars prop

Info

For prop definition, check multi-calendars prop

js

+import{_ as s,c as a,aj as t,o as n}from"./chunks/framework.C8IqNCju.js";const c=JSON.parse('{"title":"Migration from v5","description":"Migration guide for migrating from v5 to v6 and notifying of breaking changes","frontmatter":{"lang":"en-US","title":"Migration from v5","description":"Migration guide for migrating from v5 to v6 and notifying of breaking changes"},"headers":[],"relativePath":"migration/from-v5.md","filePath":"migration/from-v5.md"}'),e={name:"migration/from-v5.md"};function l(p,i,h,o,k,r){return n(),a("div",null,i[0]||(i[0]=[t(`

Migrating from v5

Breaking changes

  • month-picker and year-picker no longer have predefined value if v-model is empty
  • aria-label for arrow buttons in month-picker mode is changed to Next/Previous year
  • auto-apply-month prop is removed (will work with auto-apply prop set)
  • show-now-button prop is removed
  • month-year slot will have different props depending on the used mode
  • Property handleMonthYearChange is removed from sidebar-[left/right] slot props
  • Props changes (check props-reconfiguration)

Props reconfiguration

Based on the list of removed props, and depending on your usage, you might need to do a slight adjustments to keep prior behaviour:

multi-calendars-solo and multi-static

These 2 props are now merged into a configuration object that can be passed

to multi-calendars prop

Info

For prop definition, check multi-calendars prop

js

 <template>
 
   <VueDatePicker
diff --git a/docs/assets/migration_from-v6.md.BGEZ6Qh1.js b/docs/assets/migration_from-v6.md.DSqGwAuD.js
similarity index 92%
rename from docs/assets/migration_from-v6.md.BGEZ6Qh1.js
rename to docs/assets/migration_from-v6.md.DSqGwAuD.js
index be322212..37b99707 100644
--- a/docs/assets/migration_from-v6.md.BGEZ6Qh1.js
+++ b/docs/assets/migration_from-v6.md.DSqGwAuD.js
@@ -1 +1 @@
-import{_ as o,c as i,al as a,o as r}from"./chunks/framework.DDyYGyON.js";const m=JSON.parse('{"title":"Migration from v6","description":"Migration guide for migrating from v6 to v7 and notifying of breaking changes","frontmatter":{"lang":"en-US","title":"Migration from v6","description":"Migration guide for migrating from v6 to v7 and notifying of breaking changes"},"headers":[],"relativePath":"migration/from-v6.md","filePath":"migration/from-v6.md"}'),t={name:"migration/from-v6.md"};function n(l,e,c,d,g,s){return r(),i("div",null,e[0]||(e[0]=[a('

Migrating from v6

Breaking changes

  • Wrapper for preset-dates is changed from <div> to <template>, which may cause potential styles break if you use a slot for the preset-dates item
  • Removed deprecated props
    • Removed
      • closeOnScroll
      • modeHeight
      • allowPreventDefault
      • closeOnClearValue
      • closeOnAutoApply
      • noSwipe
      • keepActionRow
      • onClickOutside

All removed props are now part of the config prop

',4)]))}const p=o(t,[["render",n]]);export{m as __pageData,p as default}; +import{_ as o,c as i,aj as a,o as r}from"./chunks/framework.C8IqNCju.js";const m=JSON.parse('{"title":"Migration from v6","description":"Migration guide for migrating from v6 to v7 and notifying of breaking changes","frontmatter":{"lang":"en-US","title":"Migration from v6","description":"Migration guide for migrating from v6 to v7 and notifying of breaking changes"},"headers":[],"relativePath":"migration/from-v6.md","filePath":"migration/from-v6.md"}'),t={name:"migration/from-v6.md"};function n(l,e,c,d,g,s){return r(),i("div",null,e[0]||(e[0]=[a('

Migrating from v6

Breaking changes

  • Wrapper for preset-dates is changed from <div> to <template>, which may cause potential styles break if you use a slot for the preset-dates item
  • Removed deprecated props
    • Removed
      • closeOnScroll
      • modeHeight
      • allowPreventDefault
      • closeOnClearValue
      • closeOnAutoApply
      • noSwipe
      • keepActionRow
      • onClickOutside

All removed props are now part of the config prop

',4)]))}const p=o(t,[["render",n]]);export{m as __pageData,p as default}; diff --git a/docs/assets/migration_from-v6.md.BGEZ6Qh1.lean.js b/docs/assets/migration_from-v6.md.DSqGwAuD.lean.js similarity index 92% rename from docs/assets/migration_from-v6.md.BGEZ6Qh1.lean.js rename to docs/assets/migration_from-v6.md.DSqGwAuD.lean.js index be322212..37b99707 100644 --- a/docs/assets/migration_from-v6.md.BGEZ6Qh1.lean.js +++ b/docs/assets/migration_from-v6.md.DSqGwAuD.lean.js @@ -1 +1 @@ -import{_ as o,c as i,al as a,o as r}from"./chunks/framework.DDyYGyON.js";const m=JSON.parse('{"title":"Migration from v6","description":"Migration guide for migrating from v6 to v7 and notifying of breaking changes","frontmatter":{"lang":"en-US","title":"Migration from v6","description":"Migration guide for migrating from v6 to v7 and notifying of breaking changes"},"headers":[],"relativePath":"migration/from-v6.md","filePath":"migration/from-v6.md"}'),t={name:"migration/from-v6.md"};function n(l,e,c,d,g,s){return r(),i("div",null,e[0]||(e[0]=[a('

Migrating from v6

Breaking changes

  • Wrapper for preset-dates is changed from <div> to <template>, which may cause potential styles break if you use a slot for the preset-dates item
  • Removed deprecated props
    • Removed
      • closeOnScroll
      • modeHeight
      • allowPreventDefault
      • closeOnClearValue
      • closeOnAutoApply
      • noSwipe
      • keepActionRow
      • onClickOutside

All removed props are now part of the config prop

',4)]))}const p=o(t,[["render",n]]);export{m as __pageData,p as default}; +import{_ as o,c as i,aj as a,o as r}from"./chunks/framework.C8IqNCju.js";const m=JSON.parse('{"title":"Migration from v6","description":"Migration guide for migrating from v6 to v7 and notifying of breaking changes","frontmatter":{"lang":"en-US","title":"Migration from v6","description":"Migration guide for migrating from v6 to v7 and notifying of breaking changes"},"headers":[],"relativePath":"migration/from-v6.md","filePath":"migration/from-v6.md"}'),t={name:"migration/from-v6.md"};function n(l,e,c,d,g,s){return r(),i("div",null,e[0]||(e[0]=[a('

Migrating from v6

Breaking changes

  • Wrapper for preset-dates is changed from <div> to <template>, which may cause potential styles break if you use a slot for the preset-dates item
  • Removed deprecated props
    • Removed
      • closeOnScroll
      • modeHeight
      • allowPreventDefault
      • closeOnClearValue
      • closeOnAutoApply
      • noSwipe
      • keepActionRow
      • onClickOutside

All removed props are now part of the config prop

',4)]))}const p=o(t,[["render",n]]);export{m as __pageData,p as default}; diff --git a/docs/assets/migration_from-v7.md.D7tfPsIU.js b/docs/assets/migration_from-v7.md.PNhq04aB.js similarity index 99% rename from docs/assets/migration_from-v7.md.D7tfPsIU.js rename to docs/assets/migration_from-v7.md.PNhq04aB.js index fab36389..38b8372e 100644 --- a/docs/assets/migration_from-v7.md.D7tfPsIU.js +++ b/docs/assets/migration_from-v7.md.PNhq04aB.js @@ -1,4 +1,4 @@ -import{_ as s,c as a,al as t,o as l}from"./chunks/framework.DDyYGyON.js";const g=JSON.parse('{"title":"Migration from v7","description":"Migration guide for migrating from v7 to v8 and notifying of breaking changes","frontmatter":{"lang":"en-US","title":"Migration from v7","description":"Migration guide for migrating from v7 to v8 and notifying of breaking changes"},"headers":[],"relativePath":"migration/from-v7.md","filePath":"migration/from-v7.md"}'),e={name:"migration/from-v7.md"};function h(n,i,k,p,d,o){return l(),a("div",null,i[0]||(i[0]=[t(`

Migrating from v7

Breaking changes

  • Default week-picker format is changed to week numbers
  • Tabbing out from the overlay will shift focus to the action row button if present
  • Removed deprecated props
    • Removed
      • highlight-week-days
      • highlight-disabled-days
      • highlight prop types
        • Date[]
        • string[]
        • number[]
  • id for calendar days is changed to formatted value instead of ISO value
  • date-fns-tz library is removed
  • date-fns library is updated to v3

highlight

Info

For prop definition, check highlight prop

js
<template>
+import{_ as s,c as a,aj as t,o as l}from"./chunks/framework.C8IqNCju.js";const g=JSON.parse('{"title":"Migration from v7","description":"Migration guide for migrating from v7 to v8 and notifying of breaking changes","frontmatter":{"lang":"en-US","title":"Migration from v7","description":"Migration guide for migrating from v7 to v8 and notifying of breaking changes"},"headers":[],"relativePath":"migration/from-v7.md","filePath":"migration/from-v7.md"}'),e={name:"migration/from-v7.md"};function h(n,i,k,p,d,o){return l(),a("div",null,i[0]||(i[0]=[t(`

Migrating from v7

Breaking changes

  • Default week-picker format is changed to week numbers
  • Tabbing out from the overlay will shift focus to the action row button if present
  • Removed deprecated props
    • Removed
      • highlight-week-days
      • highlight-disabled-days
      • highlight prop types
        • Date[]
        • string[]
        • number[]
  • id for calendar days is changed to formatted value instead of ISO value
  • date-fns-tz library is removed
  • date-fns library is updated to v3

highlight

Info

For prop definition, check highlight prop

js
<template>
   <VueDatePicker
     :highlight="[new Date()]"
     :highlight="{ days: [ new Date() ] }"
diff --git a/docs/assets/migration_from-v7.md.D7tfPsIU.lean.js b/docs/assets/migration_from-v7.md.PNhq04aB.lean.js
similarity index 99%
rename from docs/assets/migration_from-v7.md.D7tfPsIU.lean.js
rename to docs/assets/migration_from-v7.md.PNhq04aB.lean.js
index fab36389..38b8372e 100644
--- a/docs/assets/migration_from-v7.md.D7tfPsIU.lean.js
+++ b/docs/assets/migration_from-v7.md.PNhq04aB.lean.js
@@ -1,4 +1,4 @@
-import{_ as s,c as a,al as t,o as l}from"./chunks/framework.DDyYGyON.js";const g=JSON.parse('{"title":"Migration from v7","description":"Migration guide for migrating from v7 to v8 and notifying of breaking changes","frontmatter":{"lang":"en-US","title":"Migration from v7","description":"Migration guide for migrating from v7 to v8 and notifying of breaking changes"},"headers":[],"relativePath":"migration/from-v7.md","filePath":"migration/from-v7.md"}'),e={name:"migration/from-v7.md"};function h(n,i,k,p,d,o){return l(),a("div",null,i[0]||(i[0]=[t(`

Migrating from v7

Breaking changes

  • Default week-picker format is changed to week numbers
  • Tabbing out from the overlay will shift focus to the action row button if present
  • Removed deprecated props
    • Removed
      • highlight-week-days
      • highlight-disabled-days
      • highlight prop types
        • Date[]
        • string[]
        • number[]
  • id for calendar days is changed to formatted value instead of ISO value
  • date-fns-tz library is removed
  • date-fns library is updated to v3

highlight

Info

For prop definition, check highlight prop

js
<template>
+import{_ as s,c as a,aj as t,o as l}from"./chunks/framework.C8IqNCju.js";const g=JSON.parse('{"title":"Migration from v7","description":"Migration guide for migrating from v7 to v8 and notifying of breaking changes","frontmatter":{"lang":"en-US","title":"Migration from v7","description":"Migration guide for migrating from v7 to v8 and notifying of breaking changes"},"headers":[],"relativePath":"migration/from-v7.md","filePath":"migration/from-v7.md"}'),e={name:"migration/from-v7.md"};function h(n,i,k,p,d,o){return l(),a("div",null,i[0]||(i[0]=[t(`

Migrating from v7

Breaking changes

  • Default week-picker format is changed to week numbers
  • Tabbing out from the overlay will shift focus to the action row button if present
  • Removed deprecated props
    • Removed
      • highlight-week-days
      • highlight-disabled-days
      • highlight prop types
        • Date[]
        • string[]
        • number[]
  • id for calendar days is changed to formatted value instead of ISO value
  • date-fns-tz library is removed
  • date-fns library is updated to v3

highlight

Info

For prop definition, check highlight prop

js
<template>
   <VueDatePicker
     :highlight="[new Date()]"
     :highlight="{ days: [ new Date() ] }"
diff --git a/docs/assets/migration_from-v8.md.GbP-eSYg.js b/docs/assets/migration_from-v8.md.DW58qp9B.js
similarity index 99%
rename from docs/assets/migration_from-v8.md.GbP-eSYg.js
rename to docs/assets/migration_from-v8.md.DW58qp9B.js
index 508c65f0..811cfbd3 100644
--- a/docs/assets/migration_from-v8.md.GbP-eSYg.js
+++ b/docs/assets/migration_from-v8.md.DW58qp9B.js
@@ -1,4 +1,4 @@
-import{_ as s,c as a,al as t,o as l}from"./chunks/framework.DDyYGyON.js";const c=JSON.parse('{"title":"Migration from v8","description":"Migration guide for migrating from v8 to v9 and notifying of breaking changes","frontmatter":{"lang":"en-US","title":"Migration from v8","description":"Migration guide for migrating from v8 to v9 and notifying of breaking changes"},"headers":[],"relativePath":"migration/from-v8.md","filePath":"migration/from-v8.md"}'),n={name:"migration/from-v8.md"};function e(h,i,k,p,d,o){return l(),a("div",null,i[0]||(i[0]=[t(`

Migrating from v8

Breaking changes

  • Removed deprecated props
    • Removed
      • auto-range
      • emit-timezone
      • partial-range
      • min-range
      • max-range
      • fixed-start
      • fixed-end
      • multi-dates-limit
      • show-last-in-range
      • no-disabled-range
      • disable-time-range-validation
      • input-class-name
      • menu-class-name
      • calendar-class-name
      • calendar-cell-class-name
  • boolean value true in text-input configuration is replaced with string \`'open' | 'toggle'
  • dp__clear_icon class is changed to dp--clear-btn and now wraps the icon
  • Removed calendarWrap and calendarDays from aria-labels due to accessibility violations
  • When using the component with web components, it must be enabled explicitly via the config.shadowDom property

range props

Following props are moved to the range configuration object

auto-range

js
<template>
+import{_ as s,c as a,aj as t,o as l}from"./chunks/framework.C8IqNCju.js";const c=JSON.parse('{"title":"Migration from v8","description":"Migration guide for migrating from v8 to v9 and notifying of breaking changes","frontmatter":{"lang":"en-US","title":"Migration from v8","description":"Migration guide for migrating from v8 to v9 and notifying of breaking changes"},"headers":[],"relativePath":"migration/from-v8.md","filePath":"migration/from-v8.md"}'),n={name:"migration/from-v8.md"};function e(h,i,k,p,d,o){return l(),a("div",null,i[0]||(i[0]=[t(`

Migrating from v8

Breaking changes

  • Removed deprecated props
    • Removed
      • auto-range
      • emit-timezone
      • partial-range
      • min-range
      • max-range
      • fixed-start
      • fixed-end
      • multi-dates-limit
      • show-last-in-range
      • no-disabled-range
      • disable-time-range-validation
      • input-class-name
      • menu-class-name
      • calendar-class-name
      • calendar-cell-class-name
  • boolean value true in text-input configuration is replaced with string \`'open' | 'toggle'
  • dp__clear_icon class is changed to dp--clear-btn and now wraps the icon
  • Removed calendarWrap and calendarDays from aria-labels due to accessibility violations
  • When using the component with web components, it must be enabled explicitly via the config.shadowDom property

range props

Following props are moved to the range configuration object

auto-range

js
<template>
   <VueDatePicker
     range
     :auto-range="5"
diff --git a/docs/assets/migration_from-v8.md.GbP-eSYg.lean.js b/docs/assets/migration_from-v8.md.DW58qp9B.lean.js
similarity index 99%
rename from docs/assets/migration_from-v8.md.GbP-eSYg.lean.js
rename to docs/assets/migration_from-v8.md.DW58qp9B.lean.js
index 508c65f0..811cfbd3 100644
--- a/docs/assets/migration_from-v8.md.GbP-eSYg.lean.js
+++ b/docs/assets/migration_from-v8.md.DW58qp9B.lean.js
@@ -1,4 +1,4 @@
-import{_ as s,c as a,al as t,o as l}from"./chunks/framework.DDyYGyON.js";const c=JSON.parse('{"title":"Migration from v8","description":"Migration guide for migrating from v8 to v9 and notifying of breaking changes","frontmatter":{"lang":"en-US","title":"Migration from v8","description":"Migration guide for migrating from v8 to v9 and notifying of breaking changes"},"headers":[],"relativePath":"migration/from-v8.md","filePath":"migration/from-v8.md"}'),n={name:"migration/from-v8.md"};function e(h,i,k,p,d,o){return l(),a("div",null,i[0]||(i[0]=[t(`

Migrating from v8

Breaking changes

  • Removed deprecated props
    • Removed
      • auto-range
      • emit-timezone
      • partial-range
      • min-range
      • max-range
      • fixed-start
      • fixed-end
      • multi-dates-limit
      • show-last-in-range
      • no-disabled-range
      • disable-time-range-validation
      • input-class-name
      • menu-class-name
      • calendar-class-name
      • calendar-cell-class-name
  • boolean value true in text-input configuration is replaced with string \`'open' | 'toggle'
  • dp__clear_icon class is changed to dp--clear-btn and now wraps the icon
  • Removed calendarWrap and calendarDays from aria-labels due to accessibility violations
  • When using the component with web components, it must be enabled explicitly via the config.shadowDom property

range props

Following props are moved to the range configuration object

auto-range

js
<template>
+import{_ as s,c as a,aj as t,o as l}from"./chunks/framework.C8IqNCju.js";const c=JSON.parse('{"title":"Migration from v8","description":"Migration guide for migrating from v8 to v9 and notifying of breaking changes","frontmatter":{"lang":"en-US","title":"Migration from v8","description":"Migration guide for migrating from v8 to v9 and notifying of breaking changes"},"headers":[],"relativePath":"migration/from-v8.md","filePath":"migration/from-v8.md"}'),n={name:"migration/from-v8.md"};function e(h,i,k,p,d,o){return l(),a("div",null,i[0]||(i[0]=[t(`

Migrating from v8

Breaking changes

  • Removed deprecated props
    • Removed
      • auto-range
      • emit-timezone
      • partial-range
      • min-range
      • max-range
      • fixed-start
      • fixed-end
      • multi-dates-limit
      • show-last-in-range
      • no-disabled-range
      • disable-time-range-validation
      • input-class-name
      • menu-class-name
      • calendar-class-name
      • calendar-cell-class-name
  • boolean value true in text-input configuration is replaced with string \`'open' | 'toggle'
  • dp__clear_icon class is changed to dp--clear-btn and now wraps the icon
  • Removed calendarWrap and calendarDays from aria-labels due to accessibility violations
  • When using the component with web components, it must be enabled explicitly via the config.shadowDom property

range props

Following props are moved to the range configuration object

auto-range

js
<template>
   <VueDatePicker
     range
     :auto-range="5"
diff --git a/docs/assets/migration_from-v9.md.BP5fxbOt.js b/docs/assets/migration_from-v9.md.D8JiPXtX.js
similarity index 97%
rename from docs/assets/migration_from-v9.md.BP5fxbOt.js
rename to docs/assets/migration_from-v9.md.D8JiPXtX.js
index 115bb914..5477c9b3 100644
--- a/docs/assets/migration_from-v9.md.BP5fxbOt.js
+++ b/docs/assets/migration_from-v9.md.D8JiPXtX.js
@@ -1,4 +1,4 @@
-import{_ as s,c as a,al as t,o as e}from"./chunks/framework.DDyYGyON.js";const c=JSON.parse('{"title":"Migration from v9","description":"Migration guide for migrating from v9 to v10 and notifying of breaking changes","frontmatter":{"lang":"en-US","title":"Migration from v9","description":"Migration guide for migrating from v9 to v10 and notifying of breaking changes"},"headers":[],"relativePath":"migration/from-v9.md","filePath":"migration/from-v9.md"}'),n={name:"migration/from-v9.md"};function l(d,i,h,o,r,p){return e(),a("div",null,i[0]||(i[0]=[t(`

Migrating from v9

Breaking changes

  • date-fns library is updated to version 4
  • data-test attribute is renamed to data-test-id
  • alt-position now accepts any returned style and won't do any conversion

date-fns update

If you are using date-fns in your project, please refer to date-fns v4 changelog for any potential changes or conflicts. Otherwise, no need for any action

data-test-id

This attribute is used internally for unit testing, however it is exposed for convenience if you need to do any further unit/integration testing

js
document.querySelector('[data-test="dp-input"]'); 
+import{_ as s,c as a,aj as t,o as e}from"./chunks/framework.C8IqNCju.js";const c=JSON.parse('{"title":"Migration from v9","description":"Migration guide for migrating from v9 to v10 and notifying of breaking changes","frontmatter":{"lang":"en-US","title":"Migration from v9","description":"Migration guide for migrating from v9 to v10 and notifying of breaking changes"},"headers":[],"relativePath":"migration/from-v9.md","filePath":"migration/from-v9.md"}'),n={name:"migration/from-v9.md"};function l(d,i,h,o,r,p){return e(),a("div",null,i[0]||(i[0]=[t(`

Migrating from v9

Breaking changes

  • date-fns library is updated to version 4
  • data-test attribute is renamed to data-test-id
  • alt-position now accepts any returned style and won't do any conversion

date-fns update

If you are using date-fns in your project, please refer to date-fns v4 changelog for any potential changes or conflicts. Otherwise, no need for any action

data-test-id

This attribute is used internally for unit testing, however it is exposed for convenience if you need to do any further unit/integration testing

js
document.querySelector('[data-test="dp-input"]'); 
 document.querySelector('[data-test-id="dp-input"]'); 

alt-position

The custom function passed via prop can return any value and won't do any custom parsing

ts
const myAltPositioning = (el: HTMLElement) => {
   return {
     top: 10, 
diff --git a/docs/assets/migration_from-v9.md.BP5fxbOt.lean.js b/docs/assets/migration_from-v9.md.D8JiPXtX.lean.js
similarity index 97%
rename from docs/assets/migration_from-v9.md.BP5fxbOt.lean.js
rename to docs/assets/migration_from-v9.md.D8JiPXtX.lean.js
index 115bb914..5477c9b3 100644
--- a/docs/assets/migration_from-v9.md.BP5fxbOt.lean.js
+++ b/docs/assets/migration_from-v9.md.D8JiPXtX.lean.js
@@ -1,4 +1,4 @@
-import{_ as s,c as a,al as t,o as e}from"./chunks/framework.DDyYGyON.js";const c=JSON.parse('{"title":"Migration from v9","description":"Migration guide for migrating from v9 to v10 and notifying of breaking changes","frontmatter":{"lang":"en-US","title":"Migration from v9","description":"Migration guide for migrating from v9 to v10 and notifying of breaking changes"},"headers":[],"relativePath":"migration/from-v9.md","filePath":"migration/from-v9.md"}'),n={name:"migration/from-v9.md"};function l(d,i,h,o,r,p){return e(),a("div",null,i[0]||(i[0]=[t(`

Migrating from v9

Breaking changes

  • date-fns library is updated to version 4
  • data-test attribute is renamed to data-test-id
  • alt-position now accepts any returned style and won't do any conversion

date-fns update

If you are using date-fns in your project, please refer to date-fns v4 changelog for any potential changes or conflicts. Otherwise, no need for any action

data-test-id

This attribute is used internally for unit testing, however it is exposed for convenience if you need to do any further unit/integration testing

js
document.querySelector('[data-test="dp-input"]'); 
+import{_ as s,c as a,aj as t,o as e}from"./chunks/framework.C8IqNCju.js";const c=JSON.parse('{"title":"Migration from v9","description":"Migration guide for migrating from v9 to v10 and notifying of breaking changes","frontmatter":{"lang":"en-US","title":"Migration from v9","description":"Migration guide for migrating from v9 to v10 and notifying of breaking changes"},"headers":[],"relativePath":"migration/from-v9.md","filePath":"migration/from-v9.md"}'),n={name:"migration/from-v9.md"};function l(d,i,h,o,r,p){return e(),a("div",null,i[0]||(i[0]=[t(`

Migrating from v9

Breaking changes

  • date-fns library is updated to version 4
  • data-test attribute is renamed to data-test-id
  • alt-position now accepts any returned style and won't do any conversion

date-fns update

If you are using date-fns in your project, please refer to date-fns v4 changelog for any potential changes or conflicts. Otherwise, no need for any action

data-test-id

This attribute is used internally for unit testing, however it is exposed for convenience if you need to do any further unit/integration testing

js
document.querySelector('[data-test="dp-input"]'); 
 document.querySelector('[data-test-id="dp-input"]'); 

alt-position

The custom function passed via prop can return any value and won't do any custom parsing

ts
const myAltPositioning = (el: HTMLElement) => {
   return {
     top: 10, 
diff --git a/docs/assets/props_calendar-configuration_index.md.DP0AeudM.js b/docs/assets/props_calendar-configuration_index.md.8v9z-JzN.js
similarity index 99%
rename from docs/assets/props_calendar-configuration_index.md.DP0AeudM.js
rename to docs/assets/props_calendar-configuration_index.md.8v9z-JzN.js
index 0f50e487..351d44d7 100644
--- a/docs/assets/props_calendar-configuration_index.md.DP0AeudM.js
+++ b/docs/assets/props_calendar-configuration_index.md.8v9z-JzN.js
@@ -1,4 +1,4 @@
-import{_ as E,c as d,al as i,G as a,B as t,o as r}from"./chunks/framework.DDyYGyON.js";const m=JSON.parse('{"title":"Props - Calendar configuration","description":"Configuration for the calendar","frontmatter":{"lang":"en-US","title":"Props - Calendar configuration","description":"Configuration for the calendar"},"headers":[],"relativePath":"props/calendar-configuration/index.md","filePath":"props/calendar-configuration/index.md"}'),g={name:"props/calendar-configuration/index.md"};function y(F,s,o,c,u,D){const l=t("CustomCalendarDemo"),n=t("GlobalDemo"),k=t("MinMaxDemo"),h=t("EmptyDemo"),p=t("FiltersDemo"),e=t("DisabledDatesDemo");return r(),d("div",null,[s[0]||(s[0]=i(`

Calendar configuration

Configure calendar options such as behavior or available dates

Info

  • When checking the examples, for boolean prop types, the example will show the behavior opposite of what is set for the default value
  • If you use the component in the browser <script> tag, make sure to pass multi-word props with -, for example, weekNumbers as week-numbers and so on

calendar

Customize the calendar view, filter out weeks, add or remove custom classes

Important

Do not modify date values

  • Type: (weeks: CalendarWeek[]) => CalendarWeek[];
  • Default: null
ts
interface CalendarWeek {
+import{_ as E,c as d,aj as i,G as a,B as t,o as r}from"./chunks/framework.C8IqNCju.js";const m=JSON.parse('{"title":"Props - Calendar configuration","description":"Configuration for the calendar","frontmatter":{"lang":"en-US","title":"Props - Calendar configuration","description":"Configuration for the calendar"},"headers":[],"relativePath":"props/calendar-configuration/index.md","filePath":"props/calendar-configuration/index.md"}'),g={name:"props/calendar-configuration/index.md"};function y(F,s,o,c,u,D){const l=t("CustomCalendarDemo"),n=t("GlobalDemo"),k=t("MinMaxDemo"),h=t("EmptyDemo"),p=t("FiltersDemo"),e=t("DisabledDatesDemo");return r(),d("div",null,[s[0]||(s[0]=i(`

Calendar configuration

Configure calendar options such as behavior or available dates

Info

  • When checking the examples, for boolean prop types, the example will show the behavior opposite of what is set for the default value
  • If you use the component in the browser <script> tag, make sure to pass multi-word props with -, for example, weekNumbers as week-numbers and so on

calendar

Customize the calendar view, filter out weeks, add or remove custom classes

Important

Do not modify date values

  • Type: (weeks: CalendarWeek[]) => CalendarWeek[];
  • Default: null
ts
interface CalendarWeek {
   days: {
     text: number | string; // Value displayed in the calendar day box
     value: Date; // Date that is going to be selected, do not modify
diff --git a/docs/assets/props_calendar-configuration_index.md.DP0AeudM.lean.js b/docs/assets/props_calendar-configuration_index.md.8v9z-JzN.lean.js
similarity index 99%
rename from docs/assets/props_calendar-configuration_index.md.DP0AeudM.lean.js
rename to docs/assets/props_calendar-configuration_index.md.8v9z-JzN.lean.js
index 0f50e487..351d44d7 100644
--- a/docs/assets/props_calendar-configuration_index.md.DP0AeudM.lean.js
+++ b/docs/assets/props_calendar-configuration_index.md.8v9z-JzN.lean.js
@@ -1,4 +1,4 @@
-import{_ as E,c as d,al as i,G as a,B as t,o as r}from"./chunks/framework.DDyYGyON.js";const m=JSON.parse('{"title":"Props - Calendar configuration","description":"Configuration for the calendar","frontmatter":{"lang":"en-US","title":"Props - Calendar configuration","description":"Configuration for the calendar"},"headers":[],"relativePath":"props/calendar-configuration/index.md","filePath":"props/calendar-configuration/index.md"}'),g={name:"props/calendar-configuration/index.md"};function y(F,s,o,c,u,D){const l=t("CustomCalendarDemo"),n=t("GlobalDemo"),k=t("MinMaxDemo"),h=t("EmptyDemo"),p=t("FiltersDemo"),e=t("DisabledDatesDemo");return r(),d("div",null,[s[0]||(s[0]=i(`

Calendar configuration

Configure calendar options such as behavior or available dates

Info

  • When checking the examples, for boolean prop types, the example will show the behavior opposite of what is set for the default value
  • If you use the component in the browser <script> tag, make sure to pass multi-word props with -, for example, weekNumbers as week-numbers and so on

calendar

Customize the calendar view, filter out weeks, add or remove custom classes

Important

Do not modify date values

  • Type: (weeks: CalendarWeek[]) => CalendarWeek[];
  • Default: null
ts
interface CalendarWeek {
+import{_ as E,c as d,aj as i,G as a,B as t,o as r}from"./chunks/framework.C8IqNCju.js";const m=JSON.parse('{"title":"Props - Calendar configuration","description":"Configuration for the calendar","frontmatter":{"lang":"en-US","title":"Props - Calendar configuration","description":"Configuration for the calendar"},"headers":[],"relativePath":"props/calendar-configuration/index.md","filePath":"props/calendar-configuration/index.md"}'),g={name:"props/calendar-configuration/index.md"};function y(F,s,o,c,u,D){const l=t("CustomCalendarDemo"),n=t("GlobalDemo"),k=t("MinMaxDemo"),h=t("EmptyDemo"),p=t("FiltersDemo"),e=t("DisabledDatesDemo");return r(),d("div",null,[s[0]||(s[0]=i(`

Calendar configuration

Configure calendar options such as behavior or available dates

Info

  • When checking the examples, for boolean prop types, the example will show the behavior opposite of what is set for the default value
  • If you use the component in the browser <script> tag, make sure to pass multi-word props with -, for example, weekNumbers as week-numbers and so on

calendar

Customize the calendar view, filter out weeks, add or remove custom classes

Important

Do not modify date values

  • Type: (weeks: CalendarWeek[]) => CalendarWeek[];
  • Default: null
ts
interface CalendarWeek {
   days: {
     text: number | string; // Value displayed in the calendar day box
     value: Date; // Date that is going to be selected, do not modify
diff --git a/docs/assets/props_formatting_index.md.C4TPj7vZ.js b/docs/assets/props_formatting_index.md.ByRkmOZp.js
similarity index 99%
rename from docs/assets/props_formatting_index.md.C4TPj7vZ.js
rename to docs/assets/props_formatting_index.md.ByRkmOZp.js
index 8e5b3096..5ed805cb 100644
--- a/docs/assets/props_formatting_index.md.C4TPj7vZ.js
+++ b/docs/assets/props_formatting_index.md.ByRkmOZp.js
@@ -1,4 +1,4 @@
-import{_ as e,c as k,al as i,G as a,B as t,o as p}from"./chunks/framework.DDyYGyON.js";const m=JSON.parse('{"title":"Props - Formatting","description":"Customize the default formatting of the datepicker","frontmatter":{"lang":"en-US","title":"Props - Formatting","description":"Customize the default formatting of the datepicker"},"headers":[],"relativePath":"props/formatting/index.md","filePath":"props/formatting/index.md"}'),r={name:"props/formatting/index.md"};function E(d,s,o,g,y,c){const n=t("FormatDemo"),h=t("PreviewFormatDemo"),l=t("GlobalDemo");return p(),k("div",null,[s[0]||(s[0]=i('

Formatting

Format options for the value displayed in the input or preview

Info

  • If you use the component in the browser <script> tag, make sure to pass multi-word props with -, for example, previewFormat as preview-format and so on

format

Format the value of the date(s) in the input field. Formatting is done automatically via provided string format. However, you can override the default format by providing a custom formatter function

  • Type: string | ((date: Date) => string) | ((dates: Date[]) => string);
  • Default:
    • Single picker: 'MM/dd/yyyy HH:mm'
    • Range picker: 'MM/dd/yyyy HH:mm - MM/dd/yyyy HH:mm'
    • Month picker: 'MM/yyyy'
    • Time picker: 'HH:mm'
    • Time picker range: 'HH:mm - HH:mm'
    • Week picker 'RR-yyyy' | 'ww-yyyy' (depends on week numbering)

Info

If is-24 prop is set to false, hours format will be changed to 'hh:mm aa'

For additional information on how to pass custom string format you can check Unicode tokens

',8)),a(n),s[1]||(s[1]=i(`
Code Example
vue
<template>
+import{_ as e,c as k,aj as i,G as a,B as t,o as p}from"./chunks/framework.C8IqNCju.js";const m=JSON.parse('{"title":"Props - Formatting","description":"Customize the default formatting of the datepicker","frontmatter":{"lang":"en-US","title":"Props - Formatting","description":"Customize the default formatting of the datepicker"},"headers":[],"relativePath":"props/formatting/index.md","filePath":"props/formatting/index.md"}'),r={name:"props/formatting/index.md"};function E(d,s,o,g,y,c){const n=t("FormatDemo"),h=t("PreviewFormatDemo"),l=t("GlobalDemo");return p(),k("div",null,[s[0]||(s[0]=i('

Formatting

Format options for the value displayed in the input or preview

Info

  • If you use the component in the browser <script> tag, make sure to pass multi-word props with -, for example, previewFormat as preview-format and so on

format

Format the value of the date(s) in the input field. Formatting is done automatically via provided string format. However, you can override the default format by providing a custom formatter function

  • Type: string | ((date: Date) => string) | ((dates: Date[]) => string);
  • Default:
    • Single picker: 'MM/dd/yyyy HH:mm'
    • Range picker: 'MM/dd/yyyy HH:mm - MM/dd/yyyy HH:mm'
    • Month picker: 'MM/yyyy'
    • Time picker: 'HH:mm'
    • Time picker range: 'HH:mm - HH:mm'
    • Week picker 'RR-yyyy' | 'ww-yyyy' (depends on week numbering)

Info

If is-24 prop is set to false, hours format will be changed to 'hh:mm aa'

For additional information on how to pass custom string format you can check Unicode tokens

',8)),a(n),s[1]||(s[1]=i(`
Code Example
vue
<template>
     <VueDatePicker v-model="date" :format="format" />
 </template>
 
diff --git a/docs/assets/props_formatting_index.md.C4TPj7vZ.lean.js b/docs/assets/props_formatting_index.md.ByRkmOZp.lean.js
similarity index 99%
rename from docs/assets/props_formatting_index.md.C4TPj7vZ.lean.js
rename to docs/assets/props_formatting_index.md.ByRkmOZp.lean.js
index 8e5b3096..5ed805cb 100644
--- a/docs/assets/props_formatting_index.md.C4TPj7vZ.lean.js
+++ b/docs/assets/props_formatting_index.md.ByRkmOZp.lean.js
@@ -1,4 +1,4 @@
-import{_ as e,c as k,al as i,G as a,B as t,o as p}from"./chunks/framework.DDyYGyON.js";const m=JSON.parse('{"title":"Props - Formatting","description":"Customize the default formatting of the datepicker","frontmatter":{"lang":"en-US","title":"Props - Formatting","description":"Customize the default formatting of the datepicker"},"headers":[],"relativePath":"props/formatting/index.md","filePath":"props/formatting/index.md"}'),r={name:"props/formatting/index.md"};function E(d,s,o,g,y,c){const n=t("FormatDemo"),h=t("PreviewFormatDemo"),l=t("GlobalDemo");return p(),k("div",null,[s[0]||(s[0]=i('

Formatting

Format options for the value displayed in the input or preview

Info

  • If you use the component in the browser <script> tag, make sure to pass multi-word props with -, for example, previewFormat as preview-format and so on

format

Format the value of the date(s) in the input field. Formatting is done automatically via provided string format. However, you can override the default format by providing a custom formatter function

  • Type: string | ((date: Date) => string) | ((dates: Date[]) => string);
  • Default:
    • Single picker: 'MM/dd/yyyy HH:mm'
    • Range picker: 'MM/dd/yyyy HH:mm - MM/dd/yyyy HH:mm'
    • Month picker: 'MM/yyyy'
    • Time picker: 'HH:mm'
    • Time picker range: 'HH:mm - HH:mm'
    • Week picker 'RR-yyyy' | 'ww-yyyy' (depends on week numbering)

Info

If is-24 prop is set to false, hours format will be changed to 'hh:mm aa'

For additional information on how to pass custom string format you can check Unicode tokens

',8)),a(n),s[1]||(s[1]=i(`
Code Example
vue
<template>
+import{_ as e,c as k,aj as i,G as a,B as t,o as p}from"./chunks/framework.C8IqNCju.js";const m=JSON.parse('{"title":"Props - Formatting","description":"Customize the default formatting of the datepicker","frontmatter":{"lang":"en-US","title":"Props - Formatting","description":"Customize the default formatting of the datepicker"},"headers":[],"relativePath":"props/formatting/index.md","filePath":"props/formatting/index.md"}'),r={name:"props/formatting/index.md"};function E(d,s,o,g,y,c){const n=t("FormatDemo"),h=t("PreviewFormatDemo"),l=t("GlobalDemo");return p(),k("div",null,[s[0]||(s[0]=i('

Formatting

Format options for the value displayed in the input or preview

Info

  • If you use the component in the browser <script> tag, make sure to pass multi-word props with -, for example, previewFormat as preview-format and so on

format

Format the value of the date(s) in the input field. Formatting is done automatically via provided string format. However, you can override the default format by providing a custom formatter function

  • Type: string | ((date: Date) => string) | ((dates: Date[]) => string);
  • Default:
    • Single picker: 'MM/dd/yyyy HH:mm'
    • Range picker: 'MM/dd/yyyy HH:mm - MM/dd/yyyy HH:mm'
    • Month picker: 'MM/yyyy'
    • Time picker: 'HH:mm'
    • Time picker range: 'HH:mm - HH:mm'
    • Week picker 'RR-yyyy' | 'ww-yyyy' (depends on week numbering)

Info

If is-24 prop is set to false, hours format will be changed to 'hh:mm aa'

For additional information on how to pass custom string format you can check Unicode tokens

',8)),a(n),s[1]||(s[1]=i(`
Code Example
vue
<template>
     <VueDatePicker v-model="date" :format="format" />
 </template>
 
diff --git a/docs/assets/props_general-configuration_index.md.BRWJzeLU.js b/docs/assets/props_general-configuration_index.md.BhuPYTJf.js
similarity index 99%
rename from docs/assets/props_general-configuration_index.md.BRWJzeLU.js
rename to docs/assets/props_general-configuration_index.md.BhuPYTJf.js
index 9727406a..e623387e 100644
--- a/docs/assets/props_general-configuration_index.md.BRWJzeLU.js
+++ b/docs/assets/props_general-configuration_index.md.BhuPYTJf.js
@@ -1,4 +1,4 @@
-import{_ as g,c as y,al as i,G as a,j as h,a as k,B as l,o}from"./chunks/framework.DDyYGyON.js";const v=JSON.parse('{"title":"Props - General configuration","description":"General behavior props configuration","frontmatter":{"lang":"en-US","title":"Props - General configuration","description":"General behavior props configuration"},"headers":[],"relativePath":"props/general-configuration/index.md","filePath":"props/general-configuration/index.md"}'),c={name:"props/general-configuration/index.md"},F={id:"model-value",tabindex:"-1"};function u(m,s,C,D,B,A){const n=l("GlobalDemo"),e=l("Badge"),p=l("DisplayModelDemo"),t=l("EmptyDemo"),E=l("DemoMarkers"),d=l("DemoHighlight"),r=l("RequiredDemo");return o(),y("div",null,[s[3]||(s[3]=i('

General configuration

General behavior props configuration

Info

  • When checking the examples, for boolean prop types, the example will show the behavior opposite of what is set for the default value
  • If you use the component in the browser <script> tag, make sure to pass multi-word props with -, for example, monthChangeOnScroll as month-change-on-scroll and so on

uid

Pass an id to the input and menu elements. If provided, you can select menu id as dp-menu-${uid} and input id as dp-input-${uid}

  • Type: string
  • Default: null
',6)),a(n,{uid:"demo"}),s[4]||(s[4]=i(`
Code Example
vue
<template>
+import{_ as g,c as y,aj as i,G as a,j as h,a as k,B as l,o}from"./chunks/framework.C8IqNCju.js";const v=JSON.parse('{"title":"Props - General configuration","description":"General behavior props configuration","frontmatter":{"lang":"en-US","title":"Props - General configuration","description":"General behavior props configuration"},"headers":[],"relativePath":"props/general-configuration/index.md","filePath":"props/general-configuration/index.md"}'),c={name:"props/general-configuration/index.md"},F={id:"model-value",tabindex:"-1"};function u(m,s,C,D,B,A){const n=l("GlobalDemo"),e=l("Badge"),p=l("DisplayModelDemo"),t=l("EmptyDemo"),E=l("DemoMarkers"),d=l("DemoHighlight"),r=l("RequiredDemo");return o(),y("div",null,[s[3]||(s[3]=i('

General configuration

General behavior props configuration

Info

  • When checking the examples, for boolean prop types, the example will show the behavior opposite of what is set for the default value
  • If you use the component in the browser <script> tag, make sure to pass multi-word props with -, for example, monthChangeOnScroll as month-change-on-scroll and so on

uid

Pass an id to the input and menu elements. If provided, you can select menu id as dp-menu-${uid} and input id as dp-input-${uid}

  • Type: string
  • Default: null
',6)),a(n,{uid:"demo"}),s[4]||(s[4]=i(`
Code Example
vue
<template>
     <VueDatePicker v-model="date" uid="demo" />
 </template>
 
diff --git a/docs/assets/props_general-configuration_index.md.BRWJzeLU.lean.js b/docs/assets/props_general-configuration_index.md.BhuPYTJf.lean.js
similarity index 99%
rename from docs/assets/props_general-configuration_index.md.BRWJzeLU.lean.js
rename to docs/assets/props_general-configuration_index.md.BhuPYTJf.lean.js
index 9727406a..e623387e 100644
--- a/docs/assets/props_general-configuration_index.md.BRWJzeLU.lean.js
+++ b/docs/assets/props_general-configuration_index.md.BhuPYTJf.lean.js
@@ -1,4 +1,4 @@
-import{_ as g,c as y,al as i,G as a,j as h,a as k,B as l,o}from"./chunks/framework.DDyYGyON.js";const v=JSON.parse('{"title":"Props - General configuration","description":"General behavior props configuration","frontmatter":{"lang":"en-US","title":"Props - General configuration","description":"General behavior props configuration"},"headers":[],"relativePath":"props/general-configuration/index.md","filePath":"props/general-configuration/index.md"}'),c={name:"props/general-configuration/index.md"},F={id:"model-value",tabindex:"-1"};function u(m,s,C,D,B,A){const n=l("GlobalDemo"),e=l("Badge"),p=l("DisplayModelDemo"),t=l("EmptyDemo"),E=l("DemoMarkers"),d=l("DemoHighlight"),r=l("RequiredDemo");return o(),y("div",null,[s[3]||(s[3]=i('

General configuration

General behavior props configuration

Info

  • When checking the examples, for boolean prop types, the example will show the behavior opposite of what is set for the default value
  • If you use the component in the browser <script> tag, make sure to pass multi-word props with -, for example, monthChangeOnScroll as month-change-on-scroll and so on

uid

Pass an id to the input and menu elements. If provided, you can select menu id as dp-menu-${uid} and input id as dp-input-${uid}

  • Type: string
  • Default: null
',6)),a(n,{uid:"demo"}),s[4]||(s[4]=i(`
Code Example
vue
<template>
+import{_ as g,c as y,aj as i,G as a,j as h,a as k,B as l,o}from"./chunks/framework.C8IqNCju.js";const v=JSON.parse('{"title":"Props - General configuration","description":"General behavior props configuration","frontmatter":{"lang":"en-US","title":"Props - General configuration","description":"General behavior props configuration"},"headers":[],"relativePath":"props/general-configuration/index.md","filePath":"props/general-configuration/index.md"}'),c={name:"props/general-configuration/index.md"},F={id:"model-value",tabindex:"-1"};function u(m,s,C,D,B,A){const n=l("GlobalDemo"),e=l("Badge"),p=l("DisplayModelDemo"),t=l("EmptyDemo"),E=l("DemoMarkers"),d=l("DemoHighlight"),r=l("RequiredDemo");return o(),y("div",null,[s[3]||(s[3]=i('

General configuration

General behavior props configuration

Info

  • When checking the examples, for boolean prop types, the example will show the behavior opposite of what is set for the default value
  • If you use the component in the browser <script> tag, make sure to pass multi-word props with -, for example, monthChangeOnScroll as month-change-on-scroll and so on

uid

Pass an id to the input and menu elements. If provided, you can select menu id as dp-menu-${uid} and input id as dp-input-${uid}

  • Type: string
  • Default: null
',6)),a(n,{uid:"demo"}),s[4]||(s[4]=i(`
Code Example
vue
<template>
     <VueDatePicker v-model="date" uid="demo" />
 </template>
 
diff --git a/docs/assets/props_keyboard_index.md.CuOjFWCw.js b/docs/assets/props_keyboard_index.md.B0WDxcN1.js
similarity index 99%
rename from docs/assets/props_keyboard_index.md.CuOjFWCw.js
rename to docs/assets/props_keyboard_index.md.B0WDxcN1.js
index 7444bc35..7e55404b 100644
--- a/docs/assets/props_keyboard_index.md.CuOjFWCw.js
+++ b/docs/assets/props_keyboard_index.md.B0WDxcN1.js
@@ -1,4 +1,4 @@
-import{_ as n,c as l,al as i,G as t,B as e,o as h}from"./chunks/framework.DDyYGyON.js";const y=JSON.parse('{"title":"Props - Keyboard","description":"Datepicker keyboard actions configuration","frontmatter":{"lang":"en-US","title":"Props - Keyboard","description":"Datepicker keyboard actions configuration"},"headers":[],"relativePath":"props/keyboard/index.md","filePath":"props/keyboard/index.md"}'),p={name:"props/keyboard/index.md"};function k(r,s,d,E,o,g){const a=e("GlobalDemo");return h(),l("div",null,[s[0]||(s[0]=i('

Keyboard

Configure keyboard actions

Info

  • When checking the examples, for boolean prop types, the example will show the behavior opposite of what is set for the default value
  • If you use the component in the browser <script> tag, make sure to pass multi-word props with -, for example, escClose as esc-close and so on

Info

You can press tab key in the menu, and it will autofocus elements, pressing enter will do a click action like open overlay or select a date.

All keyboard events are enabled by default

esc-close

Esc key closes the menu

  • Type: boolean
  • Default: true
',7)),t(a,{"esc-close":!1}),s[1]||(s[1]=i(`
Code Example
vue
<template>
+import{_ as n,c as l,aj as i,G as t,B as e,o as h}from"./chunks/framework.C8IqNCju.js";const y=JSON.parse('{"title":"Props - Keyboard","description":"Datepicker keyboard actions configuration","frontmatter":{"lang":"en-US","title":"Props - Keyboard","description":"Datepicker keyboard actions configuration"},"headers":[],"relativePath":"props/keyboard/index.md","filePath":"props/keyboard/index.md"}'),p={name:"props/keyboard/index.md"};function k(r,s,d,E,o,g){const a=e("GlobalDemo");return h(),l("div",null,[s[0]||(s[0]=i('

Keyboard

Configure keyboard actions

Info

  • When checking the examples, for boolean prop types, the example will show the behavior opposite of what is set for the default value
  • If you use the component in the browser <script> tag, make sure to pass multi-word props with -, for example, escClose as esc-close and so on

Info

You can press tab key in the menu, and it will autofocus elements, pressing enter will do a click action like open overlay or select a date.

All keyboard events are enabled by default

esc-close

Esc key closes the menu

  • Type: boolean
  • Default: true
',7)),t(a,{"esc-close":!1}),s[1]||(s[1]=i(`
Code Example
vue
<template>
     <VueDatePicker v-model="date" :esc-close="false" />
 </template>
 
diff --git a/docs/assets/props_keyboard_index.md.CuOjFWCw.lean.js b/docs/assets/props_keyboard_index.md.B0WDxcN1.lean.js
similarity index 99%
rename from docs/assets/props_keyboard_index.md.CuOjFWCw.lean.js
rename to docs/assets/props_keyboard_index.md.B0WDxcN1.lean.js
index 7444bc35..7e55404b 100644
--- a/docs/assets/props_keyboard_index.md.CuOjFWCw.lean.js
+++ b/docs/assets/props_keyboard_index.md.B0WDxcN1.lean.js
@@ -1,4 +1,4 @@
-import{_ as n,c as l,al as i,G as t,B as e,o as h}from"./chunks/framework.DDyYGyON.js";const y=JSON.parse('{"title":"Props - Keyboard","description":"Datepicker keyboard actions configuration","frontmatter":{"lang":"en-US","title":"Props - Keyboard","description":"Datepicker keyboard actions configuration"},"headers":[],"relativePath":"props/keyboard/index.md","filePath":"props/keyboard/index.md"}'),p={name:"props/keyboard/index.md"};function k(r,s,d,E,o,g){const a=e("GlobalDemo");return h(),l("div",null,[s[0]||(s[0]=i('

Keyboard

Configure keyboard actions

Info

  • When checking the examples, for boolean prop types, the example will show the behavior opposite of what is set for the default value
  • If you use the component in the browser <script> tag, make sure to pass multi-word props with -, for example, escClose as esc-close and so on

Info

You can press tab key in the menu, and it will autofocus elements, pressing enter will do a click action like open overlay or select a date.

All keyboard events are enabled by default

esc-close

Esc key closes the menu

  • Type: boolean
  • Default: true
',7)),t(a,{"esc-close":!1}),s[1]||(s[1]=i(`
Code Example
vue
<template>
+import{_ as n,c as l,aj as i,G as t,B as e,o as h}from"./chunks/framework.C8IqNCju.js";const y=JSON.parse('{"title":"Props - Keyboard","description":"Datepicker keyboard actions configuration","frontmatter":{"lang":"en-US","title":"Props - Keyboard","description":"Datepicker keyboard actions configuration"},"headers":[],"relativePath":"props/keyboard/index.md","filePath":"props/keyboard/index.md"}'),p={name:"props/keyboard/index.md"};function k(r,s,d,E,o,g){const a=e("GlobalDemo");return h(),l("div",null,[s[0]||(s[0]=i('

Keyboard

Configure keyboard actions

Info

  • When checking the examples, for boolean prop types, the example will show the behavior opposite of what is set for the default value
  • If you use the component in the browser <script> tag, make sure to pass multi-word props with -, for example, escClose as esc-close and so on

Info

You can press tab key in the menu, and it will autofocus elements, pressing enter will do a click action like open overlay or select a date.

All keyboard events are enabled by default

esc-close

Esc key closes the menu

  • Type: boolean
  • Default: true
',7)),t(a,{"esc-close":!1}),s[1]||(s[1]=i(`
Code Example
vue
<template>
     <VueDatePicker v-model="date" :esc-close="false" />
 </template>
 
diff --git a/docs/assets/props_localization_index.md.CJSI070X.js b/docs/assets/props_localization_index.md.Bd8NbN_7.js
similarity index 99%
rename from docs/assets/props_localization_index.md.CJSI070X.js
rename to docs/assets/props_localization_index.md.Bd8NbN_7.js
index 525b998f..6e7b45ec 100644
--- a/docs/assets/props_localization_index.md.CJSI070X.js
+++ b/docs/assets/props_localization_index.md.Bd8NbN_7.js
@@ -1,4 +1,4 @@
-import{_ as k,c as p,al as i,G as a,B as n,o as e}from"./chunks/framework.DDyYGyON.js";const u=JSON.parse('{"title":"Props - Localization","description":"Customize the localization of the datepicker","frontmatter":{"lang":"en-US","title":"Props - Localization","description":"Customize the localization of the datepicker"},"headers":[],"relativePath":"props/localization/index.md","filePath":"props/localization/index.md"}'),E={name:"props/localization/index.md"};function r(d,s,g,y,F,o){const t=n("GlobalDemo"),l=n("LocalizedOutput"),h=n("EmptyDemo");return e(),p("div",null,[s[0]||(s[0]=i('

Localization

Localization options and label props

Info

  • If you use the component in the browser <script> tag, make sure to pass multi-word props with -, for example, formatLocale as format-locale and so on

locale

Set datepicker locale. Datepicker will use built in javascript locale formatter to extract month and weekday names

  • Type: string
  • Default: 'en-US'
',6)),a(t,{locale:"de",cancelText:"abbrechen",selectText:"auswählen"}),s[1]||(s[1]=i(`
Code Example
vue
<template>
+import{_ as k,c as p,aj as i,G as a,B as n,o as e}from"./chunks/framework.C8IqNCju.js";const u=JSON.parse('{"title":"Props - Localization","description":"Customize the localization of the datepicker","frontmatter":{"lang":"en-US","title":"Props - Localization","description":"Customize the localization of the datepicker"},"headers":[],"relativePath":"props/localization/index.md","filePath":"props/localization/index.md"}'),E={name:"props/localization/index.md"};function r(d,s,g,y,F,o){const t=n("GlobalDemo"),l=n("LocalizedOutput"),h=n("EmptyDemo");return e(),p("div",null,[s[0]||(s[0]=i('

Localization

Localization options and label props

Info

  • If you use the component in the browser <script> tag, make sure to pass multi-word props with -, for example, formatLocale as format-locale and so on

locale

Set datepicker locale. Datepicker will use built in javascript locale formatter to extract month and weekday names

  • Type: string
  • Default: 'en-US'
',6)),a(t,{locale:"de",cancelText:"abbrechen",selectText:"auswählen"}),s[1]||(s[1]=i(`
Code Example
vue
<template>
     <VueDatePicker v-model="date" locale="de" cancelText="abbrechen" selectText="auswählen" />
 </template>
 
diff --git a/docs/assets/props_localization_index.md.CJSI070X.lean.js b/docs/assets/props_localization_index.md.Bd8NbN_7.lean.js
similarity index 99%
rename from docs/assets/props_localization_index.md.CJSI070X.lean.js
rename to docs/assets/props_localization_index.md.Bd8NbN_7.lean.js
index 525b998f..6e7b45ec 100644
--- a/docs/assets/props_localization_index.md.CJSI070X.lean.js
+++ b/docs/assets/props_localization_index.md.Bd8NbN_7.lean.js
@@ -1,4 +1,4 @@
-import{_ as k,c as p,al as i,G as a,B as n,o as e}from"./chunks/framework.DDyYGyON.js";const u=JSON.parse('{"title":"Props - Localization","description":"Customize the localization of the datepicker","frontmatter":{"lang":"en-US","title":"Props - Localization","description":"Customize the localization of the datepicker"},"headers":[],"relativePath":"props/localization/index.md","filePath":"props/localization/index.md"}'),E={name:"props/localization/index.md"};function r(d,s,g,y,F,o){const t=n("GlobalDemo"),l=n("LocalizedOutput"),h=n("EmptyDemo");return e(),p("div",null,[s[0]||(s[0]=i('

Localization

Localization options and label props

Info

  • If you use the component in the browser <script> tag, make sure to pass multi-word props with -, for example, formatLocale as format-locale and so on

locale

Set datepicker locale. Datepicker will use built in javascript locale formatter to extract month and weekday names

  • Type: string
  • Default: 'en-US'
',6)),a(t,{locale:"de",cancelText:"abbrechen",selectText:"auswählen"}),s[1]||(s[1]=i(`
Code Example
vue
<template>
+import{_ as k,c as p,aj as i,G as a,B as n,o as e}from"./chunks/framework.C8IqNCju.js";const u=JSON.parse('{"title":"Props - Localization","description":"Customize the localization of the datepicker","frontmatter":{"lang":"en-US","title":"Props - Localization","description":"Customize the localization of the datepicker"},"headers":[],"relativePath":"props/localization/index.md","filePath":"props/localization/index.md"}'),E={name:"props/localization/index.md"};function r(d,s,g,y,F,o){const t=n("GlobalDemo"),l=n("LocalizedOutput"),h=n("EmptyDemo");return e(),p("div",null,[s[0]||(s[0]=i('

Localization

Localization options and label props

Info

  • If you use the component in the browser <script> tag, make sure to pass multi-word props with -, for example, formatLocale as format-locale and so on

locale

Set datepicker locale. Datepicker will use built in javascript locale formatter to extract month and weekday names

  • Type: string
  • Default: 'en-US'
',6)),a(t,{locale:"de",cancelText:"abbrechen",selectText:"auswählen"}),s[1]||(s[1]=i(`
Code Example
vue
<template>
     <VueDatePicker v-model="date" locale="de" cancelText="abbrechen" selectText="auswählen" />
 </template>
 
diff --git a/docs/assets/props_look-and-feel_index.md.BGtWfA-j.js b/docs/assets/props_look-and-feel_index.md.DOPjw_pF.js
similarity index 99%
rename from docs/assets/props_look-and-feel_index.md.BGtWfA-j.js
rename to docs/assets/props_look-and-feel_index.md.DOPjw_pF.js
index 890881ff..56583da9 100644
--- a/docs/assets/props_look-and-feel_index.md.BGtWfA-j.js
+++ b/docs/assets/props_look-and-feel_index.md.DOPjw_pF.js
@@ -1,4 +1,4 @@
-import{_ as k,c as p,al as i,G as a,B as t,o as d}from"./chunks/framework.DDyYGyON.js";const C=JSON.parse('{"title":"Props - Look and feel","description":"Look and feel customization options","frontmatter":{"lang":"en-US","title":"Props - Look and feel","description":"Look and feel customization options"},"headers":[],"relativePath":"props/look-and-feel/index.md","filePath":"props/look-and-feel/index.md"}'),E={name:"props/look-and-feel/index.md"};function r(g,s,o,y,c,F){const n=t("GlobalDemo"),l=t("SixWeeksDemo"),h=t("DarkDemo"),e=t("DemoDayClass");return d(),p("div",null,[s[0]||(s[0]=i(`

Look and feel

Customization options

Info

  • When checking the examples, for boolean prop types, the example will show the behavior opposite of what is set for the default value
  • If you use the component in the browser <script> tag, make sure to pass multi-word props with -, for example, sixWeeks as six-weeks and so on

transitions

Control transitions inside the menu. You can define your own or disable them. Datepicker uses Vue built in transitions component for transitions control. To configure you own, please check the Vue documentation and provide a transition name in the prop

  • Type: Transitions | boolean
  • Default: true
ts
interface Transitions {
+import{_ as k,c as p,aj as i,G as a,B as t,o as d}from"./chunks/framework.C8IqNCju.js";const C=JSON.parse('{"title":"Props - Look and feel","description":"Look and feel customization options","frontmatter":{"lang":"en-US","title":"Props - Look and feel","description":"Look and feel customization options"},"headers":[],"relativePath":"props/look-and-feel/index.md","filePath":"props/look-and-feel/index.md"}'),E={name:"props/look-and-feel/index.md"};function r(g,s,o,y,c,F){const n=t("GlobalDemo"),l=t("SixWeeksDemo"),h=t("DarkDemo"),e=t("DemoDayClass");return d(),p("div",null,[s[0]||(s[0]=i(`

Look and feel

Customization options

Info

  • When checking the examples, for boolean prop types, the example will show the behavior opposite of what is set for the default value
  • If you use the component in the browser <script> tag, make sure to pass multi-word props with -, for example, sixWeeks as six-weeks and so on

transitions

Control transitions inside the menu. You can define your own or disable them. Datepicker uses Vue built in transitions component for transitions control. To configure you own, please check the Vue documentation and provide a transition name in the prop

  • Type: Transitions | boolean
  • Default: true
ts
interface Transitions {
     open?: string; 
     close?: string; 
     next?: string; 
diff --git a/docs/assets/props_look-and-feel_index.md.BGtWfA-j.lean.js b/docs/assets/props_look-and-feel_index.md.DOPjw_pF.lean.js
similarity index 99%
rename from docs/assets/props_look-and-feel_index.md.BGtWfA-j.lean.js
rename to docs/assets/props_look-and-feel_index.md.DOPjw_pF.lean.js
index 890881ff..56583da9 100644
--- a/docs/assets/props_look-and-feel_index.md.BGtWfA-j.lean.js
+++ b/docs/assets/props_look-and-feel_index.md.DOPjw_pF.lean.js
@@ -1,4 +1,4 @@
-import{_ as k,c as p,al as i,G as a,B as t,o as d}from"./chunks/framework.DDyYGyON.js";const C=JSON.parse('{"title":"Props - Look and feel","description":"Look and feel customization options","frontmatter":{"lang":"en-US","title":"Props - Look and feel","description":"Look and feel customization options"},"headers":[],"relativePath":"props/look-and-feel/index.md","filePath":"props/look-and-feel/index.md"}'),E={name:"props/look-and-feel/index.md"};function r(g,s,o,y,c,F){const n=t("GlobalDemo"),l=t("SixWeeksDemo"),h=t("DarkDemo"),e=t("DemoDayClass");return d(),p("div",null,[s[0]||(s[0]=i(`

Look and feel

Customization options

Info

  • When checking the examples, for boolean prop types, the example will show the behavior opposite of what is set for the default value
  • If you use the component in the browser <script> tag, make sure to pass multi-word props with -, for example, sixWeeks as six-weeks and so on

transitions

Control transitions inside the menu. You can define your own or disable them. Datepicker uses Vue built in transitions component for transitions control. To configure you own, please check the Vue documentation and provide a transition name in the prop

  • Type: Transitions | boolean
  • Default: true
ts
interface Transitions {
+import{_ as k,c as p,aj as i,G as a,B as t,o as d}from"./chunks/framework.C8IqNCju.js";const C=JSON.parse('{"title":"Props - Look and feel","description":"Look and feel customization options","frontmatter":{"lang":"en-US","title":"Props - Look and feel","description":"Look and feel customization options"},"headers":[],"relativePath":"props/look-and-feel/index.md","filePath":"props/look-and-feel/index.md"}'),E={name:"props/look-and-feel/index.md"};function r(g,s,o,y,c,F){const n=t("GlobalDemo"),l=t("SixWeeksDemo"),h=t("DarkDemo"),e=t("DemoDayClass");return d(),p("div",null,[s[0]||(s[0]=i(`

Look and feel

Customization options

Info

  • When checking the examples, for boolean prop types, the example will show the behavior opposite of what is set for the default value
  • If you use the component in the browser <script> tag, make sure to pass multi-word props with -, for example, sixWeeks as six-weeks and so on

transitions

Control transitions inside the menu. You can define your own or disable them. Datepicker uses Vue built in transitions component for transitions control. To configure you own, please check the Vue documentation and provide a transition name in the prop

  • Type: Transitions | boolean
  • Default: true
ts
interface Transitions {
     open?: string; 
     close?: string; 
     next?: string; 
diff --git a/docs/assets/props_modes-configuration_index.md.D6Mk8xHD.js b/docs/assets/props_modes-configuration_index.md.CkB8A2GH.js
similarity index 99%
rename from docs/assets/props_modes-configuration_index.md.D6Mk8xHD.js
rename to docs/assets/props_modes-configuration_index.md.CkB8A2GH.js
index 682b6930..18d3c555 100644
--- a/docs/assets/props_modes-configuration_index.md.D6Mk8xHD.js
+++ b/docs/assets/props_modes-configuration_index.md.CkB8A2GH.js
@@ -1,4 +1,4 @@
-import{_ as d,c as r,al as i,G as a,B as h,o as g}from"./chunks/framework.DDyYGyON.js";const m=JSON.parse('{"title":"Props - Modes configuration","description":"Configure behaviour of the specific datepicker mode","frontmatter":{"lang":"en-US","title":"Props - Modes configuration","description":"Configure behaviour of the specific datepicker mode"},"headers":[],"relativePath":"props/modes-configuration/index.md","filePath":"props/modes-configuration/index.md"}'),y={name:"props/modes-configuration/index.md"};function F(o,s,c,C,u,B){const n=h("RangeDemo"),p=h("DisabledRangeDateDemo"),e=h("PresetRange"),E=h("TextInputDemo"),l=h("GlobalDemo"),k=h("EmptyDemo"),t=h("TimezoneNewDemo");return g(),r("div",null,[s[0]||(s[0]=i(`

Modes configuration

Props for configuring and extending the datepicker when using a specific mode

Info

  • If you use the component in the browser <script> tag, make sure to pass multi-word props with -, for example, textInput as text-input and so on

range configuration

Providing configuration object will automatically enable range picker

ts
interface RangeConfig {
+import{_ as d,c as r,aj as i,G as a,B as h,o as g}from"./chunks/framework.C8IqNCju.js";const m=JSON.parse('{"title":"Props - Modes configuration","description":"Configure behaviour of the specific datepicker mode","frontmatter":{"lang":"en-US","title":"Props - Modes configuration","description":"Configure behaviour of the specific datepicker mode"},"headers":[],"relativePath":"props/modes-configuration/index.md","filePath":"props/modes-configuration/index.md"}'),y={name:"props/modes-configuration/index.md"};function F(o,s,c,C,u,B){const n=h("RangeDemo"),p=h("DisabledRangeDateDemo"),e=h("PresetRange"),E=h("TextInputDemo"),l=h("GlobalDemo"),k=h("EmptyDemo"),t=h("TimezoneNewDemo");return g(),r("div",null,[s[0]||(s[0]=i(`

Modes configuration

Props for configuring and extending the datepicker when using a specific mode

Info

  • If you use the component in the browser <script> tag, make sure to pass multi-word props with -, for example, textInput as text-input and so on

range configuration

Providing configuration object will automatically enable range picker

ts
interface RangeConfig {
     noDisabledRange?: boolean;
     showLastInRange?: boolean;
     minMaxRawRange?: boolean;
diff --git a/docs/assets/props_modes-configuration_index.md.D6Mk8xHD.lean.js b/docs/assets/props_modes-configuration_index.md.CkB8A2GH.lean.js
similarity index 99%
rename from docs/assets/props_modes-configuration_index.md.D6Mk8xHD.lean.js
rename to docs/assets/props_modes-configuration_index.md.CkB8A2GH.lean.js
index 682b6930..18d3c555 100644
--- a/docs/assets/props_modes-configuration_index.md.D6Mk8xHD.lean.js
+++ b/docs/assets/props_modes-configuration_index.md.CkB8A2GH.lean.js
@@ -1,4 +1,4 @@
-import{_ as d,c as r,al as i,G as a,B as h,o as g}from"./chunks/framework.DDyYGyON.js";const m=JSON.parse('{"title":"Props - Modes configuration","description":"Configure behaviour of the specific datepicker mode","frontmatter":{"lang":"en-US","title":"Props - Modes configuration","description":"Configure behaviour of the specific datepicker mode"},"headers":[],"relativePath":"props/modes-configuration/index.md","filePath":"props/modes-configuration/index.md"}'),y={name:"props/modes-configuration/index.md"};function F(o,s,c,C,u,B){const n=h("RangeDemo"),p=h("DisabledRangeDateDemo"),e=h("PresetRange"),E=h("TextInputDemo"),l=h("GlobalDemo"),k=h("EmptyDemo"),t=h("TimezoneNewDemo");return g(),r("div",null,[s[0]||(s[0]=i(`

Modes configuration

Props for configuring and extending the datepicker when using a specific mode

Info

  • If you use the component in the browser <script> tag, make sure to pass multi-word props with -, for example, textInput as text-input and so on

range configuration

Providing configuration object will automatically enable range picker

ts
interface RangeConfig {
+import{_ as d,c as r,aj as i,G as a,B as h,o as g}from"./chunks/framework.C8IqNCju.js";const m=JSON.parse('{"title":"Props - Modes configuration","description":"Configure behaviour of the specific datepicker mode","frontmatter":{"lang":"en-US","title":"Props - Modes configuration","description":"Configure behaviour of the specific datepicker mode"},"headers":[],"relativePath":"props/modes-configuration/index.md","filePath":"props/modes-configuration/index.md"}'),y={name:"props/modes-configuration/index.md"};function F(o,s,c,C,u,B){const n=h("RangeDemo"),p=h("DisabledRangeDateDemo"),e=h("PresetRange"),E=h("TextInputDemo"),l=h("GlobalDemo"),k=h("EmptyDemo"),t=h("TimezoneNewDemo");return g(),r("div",null,[s[0]||(s[0]=i(`

Modes configuration

Props for configuring and extending the datepicker when using a specific mode

Info

  • If you use the component in the browser <script> tag, make sure to pass multi-word props with -, for example, textInput as text-input and so on

range configuration

Providing configuration object will automatically enable range picker

ts
interface RangeConfig {
     noDisabledRange?: boolean;
     showLastInRange?: boolean;
     minMaxRawRange?: boolean;
diff --git a/docs/assets/props_modes_index.md.CyQF0VXZ.js b/docs/assets/props_modes_index.md.DbN4dUwz.js
similarity index 99%
rename from docs/assets/props_modes_index.md.CyQF0VXZ.js
rename to docs/assets/props_modes_index.md.DbN4dUwz.js
index 8b76f92f..33cac704 100644
--- a/docs/assets/props_modes_index.md.CyQF0VXZ.js
+++ b/docs/assets/props_modes_index.md.DbN4dUwz.js
@@ -1,4 +1,4 @@
-import{_ as y,c,al as i,G as a,B as t,o as F}from"./chunks/framework.DDyYGyON.js";const b=JSON.parse('{"title":"Props - Modes","description":"Use datepicker in specific mode","frontmatter":{"lang":"en-US","title":"Props - Modes","description":"Use datepicker in specific mode"},"headers":[],"relativePath":"props/modes/index.md","filePath":"props/modes/index.md"}'),u={name:"props/modes/index.md"};function m(C,s,D,f,B,A){const l=t("RangeDemo"),k=t("MonthPickerDemo"),e=t("TimePickerDemo"),p=t("YearPickerDemo"),n=t("EmptyDemo"),E=t("QuarterPickerDemo"),r=t("TextInputDemo"),h=t("GlobalDemo"),d=t("TimezoneDemo"),g=t("DisplayModelDemo"),o=t("TimezoneNewDemo");return F(),c("div",null,[s[0]||(s[0]=i('

Modes

Set the default mode for the datepicker

Info

  • When checking the examples, for boolean prop types, the example will show the behavior opposite of what is set for the default value
  • If you use the component in the browser <script> tag, make sure to pass multi-word props with -, for example, multiCalendars as multi-calendars and so on

Info

Depending on the mode, v-model might be different, so make sure to use the proper configuration

range

Range picker mode

  • Type: boolean | RangeConfig
  • Default: false

Info

If the RangeConfig object is provided, range is auto enabled.

For more info about range configuration properties, please refer to range configuration section

',8)),a(l),s[1]||(s[1]=i(`
Code Example
vue
<template>
+import{_ as y,c,aj as i,G as a,B as t,o as F}from"./chunks/framework.C8IqNCju.js";const b=JSON.parse('{"title":"Props - Modes","description":"Use datepicker in specific mode","frontmatter":{"lang":"en-US","title":"Props - Modes","description":"Use datepicker in specific mode"},"headers":[],"relativePath":"props/modes/index.md","filePath":"props/modes/index.md"}'),u={name:"props/modes/index.md"};function m(C,s,D,f,B,A){const l=t("RangeDemo"),k=t("MonthPickerDemo"),e=t("TimePickerDemo"),p=t("YearPickerDemo"),n=t("EmptyDemo"),E=t("QuarterPickerDemo"),r=t("TextInputDemo"),h=t("GlobalDemo"),d=t("TimezoneDemo"),g=t("DisplayModelDemo"),o=t("TimezoneNewDemo");return F(),c("div",null,[s[0]||(s[0]=i('

Modes

Set the default mode for the datepicker

Info

  • When checking the examples, for boolean prop types, the example will show the behavior opposite of what is set for the default value
  • If you use the component in the browser <script> tag, make sure to pass multi-word props with -, for example, multiCalendars as multi-calendars and so on

Info

Depending on the mode, v-model might be different, so make sure to use the proper configuration

range

Range picker mode

  • Type: boolean | RangeConfig
  • Default: false

Info

If the RangeConfig object is provided, range is auto enabled.

For more info about range configuration properties, please refer to range configuration section

',8)),a(l),s[1]||(s[1]=i(`
Code Example
vue
<template>
     <VueDatePicker v-model="date" range />
 </template>
 
diff --git a/docs/assets/props_modes_index.md.CyQF0VXZ.lean.js b/docs/assets/props_modes_index.md.DbN4dUwz.lean.js
similarity index 99%
rename from docs/assets/props_modes_index.md.CyQF0VXZ.lean.js
rename to docs/assets/props_modes_index.md.DbN4dUwz.lean.js
index 8b76f92f..33cac704 100644
--- a/docs/assets/props_modes_index.md.CyQF0VXZ.lean.js
+++ b/docs/assets/props_modes_index.md.DbN4dUwz.lean.js
@@ -1,4 +1,4 @@
-import{_ as y,c,al as i,G as a,B as t,o as F}from"./chunks/framework.DDyYGyON.js";const b=JSON.parse('{"title":"Props - Modes","description":"Use datepicker in specific mode","frontmatter":{"lang":"en-US","title":"Props - Modes","description":"Use datepicker in specific mode"},"headers":[],"relativePath":"props/modes/index.md","filePath":"props/modes/index.md"}'),u={name:"props/modes/index.md"};function m(C,s,D,f,B,A){const l=t("RangeDemo"),k=t("MonthPickerDemo"),e=t("TimePickerDemo"),p=t("YearPickerDemo"),n=t("EmptyDemo"),E=t("QuarterPickerDemo"),r=t("TextInputDemo"),h=t("GlobalDemo"),d=t("TimezoneDemo"),g=t("DisplayModelDemo"),o=t("TimezoneNewDemo");return F(),c("div",null,[s[0]||(s[0]=i('

Modes

Set the default mode for the datepicker

Info

  • When checking the examples, for boolean prop types, the example will show the behavior opposite of what is set for the default value
  • If you use the component in the browser <script> tag, make sure to pass multi-word props with -, for example, multiCalendars as multi-calendars and so on

Info

Depending on the mode, v-model might be different, so make sure to use the proper configuration

range

Range picker mode

  • Type: boolean | RangeConfig
  • Default: false

Info

If the RangeConfig object is provided, range is auto enabled.

For more info about range configuration properties, please refer to range configuration section

',8)),a(l),s[1]||(s[1]=i(`
Code Example
vue
<template>
+import{_ as y,c,aj as i,G as a,B as t,o as F}from"./chunks/framework.C8IqNCju.js";const b=JSON.parse('{"title":"Props - Modes","description":"Use datepicker in specific mode","frontmatter":{"lang":"en-US","title":"Props - Modes","description":"Use datepicker in specific mode"},"headers":[],"relativePath":"props/modes/index.md","filePath":"props/modes/index.md"}'),u={name:"props/modes/index.md"};function m(C,s,D,f,B,A){const l=t("RangeDemo"),k=t("MonthPickerDemo"),e=t("TimePickerDemo"),p=t("YearPickerDemo"),n=t("EmptyDemo"),E=t("QuarterPickerDemo"),r=t("TextInputDemo"),h=t("GlobalDemo"),d=t("TimezoneDemo"),g=t("DisplayModelDemo"),o=t("TimezoneNewDemo");return F(),c("div",null,[s[0]||(s[0]=i('

Modes

Set the default mode for the datepicker

Info

  • When checking the examples, for boolean prop types, the example will show the behavior opposite of what is set for the default value
  • If you use the component in the browser <script> tag, make sure to pass multi-word props with -, for example, multiCalendars as multi-calendars and so on

Info

Depending on the mode, v-model might be different, so make sure to use the proper configuration

range

Range picker mode

  • Type: boolean | RangeConfig
  • Default: false

Info

If the RangeConfig object is provided, range is auto enabled.

For more info about range configuration properties, please refer to range configuration section

',8)),a(l),s[1]||(s[1]=i(`
Code Example
vue
<template>
     <VueDatePicker v-model="date" range />
 </template>
 
diff --git a/docs/assets/props_positioning_index.md.uFrYDF2T.js b/docs/assets/props_positioning_index.md.Bj_Frxe2.js
similarity index 99%
rename from docs/assets/props_positioning_index.md.uFrYDF2T.js
rename to docs/assets/props_positioning_index.md.Bj_Frxe2.js
index cc086e21..c826a023 100644
--- a/docs/assets/props_positioning_index.md.uFrYDF2T.js
+++ b/docs/assets/props_positioning_index.md.Bj_Frxe2.js
@@ -1,4 +1,4 @@
-import{_ as n,c as l,al as i,G as t,B as e,o as p}from"./chunks/framework.DDyYGyON.js";const u=JSON.parse('{"title":"Props - Positioning","description":"Datepicker menu positioning configuration","frontmatter":{"lang":"en-US","title":"Props - Positioning","description":"Datepicker menu positioning configuration"},"headers":[],"relativePath":"props/positioning/index.md","filePath":"props/positioning/index.md"}'),h={name:"props/positioning/index.md"};function k(o,s,E,r,d,g){const a=e("GlobalDemo");return p(),l("div",null,[s[0]||(s[0]=i('

Positioning

Configure datepicker menu positioning

Info

  • When checking the examples, for boolean prop types, the example will show the behavior opposite of what is set for the default value
  • If you use the component in the browser <script> tag, make sure to pass multi-word props with -, for example, autoPosition as auto-position and so on

position

Datepicker menu position

  • Type: 'left' | 'center' | 'right'
  • Default: 'center'
',6)),t(a,{position:"left"}),s[1]||(s[1]=i(`
Code Example
vue
<template>
+import{_ as n,c as l,aj as i,G as t,B as e,o as p}from"./chunks/framework.C8IqNCju.js";const u=JSON.parse('{"title":"Props - Positioning","description":"Datepicker menu positioning configuration","frontmatter":{"lang":"en-US","title":"Props - Positioning","description":"Datepicker menu positioning configuration"},"headers":[],"relativePath":"props/positioning/index.md","filePath":"props/positioning/index.md"}'),h={name:"props/positioning/index.md"};function k(o,s,E,r,d,g){const a=e("GlobalDemo");return p(),l("div",null,[s[0]||(s[0]=i('

Positioning

Configure datepicker menu positioning

Info

  • When checking the examples, for boolean prop types, the example will show the behavior opposite of what is set for the default value
  • If you use the component in the browser <script> tag, make sure to pass multi-word props with -, for example, autoPosition as auto-position and so on

position

Datepicker menu position

  • Type: 'left' | 'center' | 'right'
  • Default: 'center'
',6)),t(a,{position:"left"}),s[1]||(s[1]=i(`
Code Example
vue
<template>
     <VueDatePicker v-model="date" position="left" />
 </template>
 
diff --git a/docs/assets/props_positioning_index.md.uFrYDF2T.lean.js b/docs/assets/props_positioning_index.md.Bj_Frxe2.lean.js
similarity index 99%
rename from docs/assets/props_positioning_index.md.uFrYDF2T.lean.js
rename to docs/assets/props_positioning_index.md.Bj_Frxe2.lean.js
index cc086e21..c826a023 100644
--- a/docs/assets/props_positioning_index.md.uFrYDF2T.lean.js
+++ b/docs/assets/props_positioning_index.md.Bj_Frxe2.lean.js
@@ -1,4 +1,4 @@
-import{_ as n,c as l,al as i,G as t,B as e,o as p}from"./chunks/framework.DDyYGyON.js";const u=JSON.parse('{"title":"Props - Positioning","description":"Datepicker menu positioning configuration","frontmatter":{"lang":"en-US","title":"Props - Positioning","description":"Datepicker menu positioning configuration"},"headers":[],"relativePath":"props/positioning/index.md","filePath":"props/positioning/index.md"}'),h={name:"props/positioning/index.md"};function k(o,s,E,r,d,g){const a=e("GlobalDemo");return p(),l("div",null,[s[0]||(s[0]=i('

Positioning

Configure datepicker menu positioning

Info

  • When checking the examples, for boolean prop types, the example will show the behavior opposite of what is set for the default value
  • If you use the component in the browser <script> tag, make sure to pass multi-word props with -, for example, autoPosition as auto-position and so on

position

Datepicker menu position

  • Type: 'left' | 'center' | 'right'
  • Default: 'center'
',6)),t(a,{position:"left"}),s[1]||(s[1]=i(`
Code Example
vue
<template>
+import{_ as n,c as l,aj as i,G as t,B as e,o as p}from"./chunks/framework.C8IqNCju.js";const u=JSON.parse('{"title":"Props - Positioning","description":"Datepicker menu positioning configuration","frontmatter":{"lang":"en-US","title":"Props - Positioning","description":"Datepicker menu positioning configuration"},"headers":[],"relativePath":"props/positioning/index.md","filePath":"props/positioning/index.md"}'),h={name:"props/positioning/index.md"};function k(o,s,E,r,d,g){const a=e("GlobalDemo");return p(),l("div",null,[s[0]||(s[0]=i('

Positioning

Configure datepicker menu positioning

Info

  • When checking the examples, for boolean prop types, the example will show the behavior opposite of what is set for the default value
  • If you use the component in the browser <script> tag, make sure to pass multi-word props with -, for example, autoPosition as auto-position and so on

position

Datepicker menu position

  • Type: 'left' | 'center' | 'right'
  • Default: 'center'
',6)),t(a,{position:"left"}),s[1]||(s[1]=i(`
Code Example
vue
<template>
     <VueDatePicker v-model="date" position="left" />
 </template>
 
diff --git a/docs/assets/props_time-picker-configuration_index.md.dfirn8p2.js b/docs/assets/props_time-picker-configuration_index.md.BAWeTijx.js
similarity index 99%
rename from docs/assets/props_time-picker-configuration_index.md.dfirn8p2.js
rename to docs/assets/props_time-picker-configuration_index.md.BAWeTijx.js
index 78b276e2..b6c60939 100644
--- a/docs/assets/props_time-picker-configuration_index.md.dfirn8p2.js
+++ b/docs/assets/props_time-picker-configuration_index.md.BAWeTijx.js
@@ -1,4 +1,4 @@
-import{_ as k,c as e,al as i,G as a,B as l,o as p}from"./chunks/framework.DDyYGyON.js";const u=JSON.parse('{"title":"Props - Time picker configuration","description":"Configure time-picker behavior","frontmatter":{"lang":"en-US","title":"Props - Time picker configuration","description":"Configure time-picker behavior"},"headers":[],"relativePath":"props/time-picker-configuration/index.md","filePath":"props/time-picker-configuration/index.md"}'),E={name:"props/time-picker-configuration/index.md"};function r(d,s,g,y,o,c){const n=l("GlobalDemo"),t=l("EmptyDemo"),h=l("DisabledTimesDemo");return p(),e("div",null,[s[0]||(s[0]=i('

Time picker configuration

Configuration properties for the time picker, applicable whether it is used standalone or with the datepicker.

Info

  • When checking the examples, for boolean prop types, the example will show the behavior opposite of what is set for the default value
  • If you use the component in the browser <script> tag, make sure to pass multi-word props with -, for example, enableTimePicker as enable-time-picker and so on

time-picker-inline

Configures the time picker to display under the calendar rather than opening it as an overlay.

  • Type: boolean
  • Default: false
',6)),a(n,{"time-picker-inline":!0}),s[1]||(s[1]=i(`
Code Example
vue
<template>
+import{_ as k,c as e,aj as i,G as a,B as l,o as p}from"./chunks/framework.C8IqNCju.js";const u=JSON.parse('{"title":"Props - Time picker configuration","description":"Configure time-picker behavior","frontmatter":{"lang":"en-US","title":"Props - Time picker configuration","description":"Configure time-picker behavior"},"headers":[],"relativePath":"props/time-picker-configuration/index.md","filePath":"props/time-picker-configuration/index.md"}'),E={name:"props/time-picker-configuration/index.md"};function r(d,s,g,y,o,c){const n=l("GlobalDemo"),t=l("EmptyDemo"),h=l("DisabledTimesDemo");return p(),e("div",null,[s[0]||(s[0]=i('

Time picker configuration

Configuration properties for the time picker, applicable whether it is used standalone or with the datepicker.

Info

  • When checking the examples, for boolean prop types, the example will show the behavior opposite of what is set for the default value
  • If you use the component in the browser <script> tag, make sure to pass multi-word props with -, for example, enableTimePicker as enable-time-picker and so on

time-picker-inline

Configures the time picker to display under the calendar rather than opening it as an overlay.

  • Type: boolean
  • Default: false
',6)),a(n,{"time-picker-inline":!0}),s[1]||(s[1]=i(`
Code Example
vue
<template>
     <VueDatePicker v-model="date" time-picker-inline />
 </template>
 
diff --git a/docs/assets/props_time-picker-configuration_index.md.dfirn8p2.lean.js b/docs/assets/props_time-picker-configuration_index.md.BAWeTijx.lean.js
similarity index 99%
rename from docs/assets/props_time-picker-configuration_index.md.dfirn8p2.lean.js
rename to docs/assets/props_time-picker-configuration_index.md.BAWeTijx.lean.js
index 78b276e2..b6c60939 100644
--- a/docs/assets/props_time-picker-configuration_index.md.dfirn8p2.lean.js
+++ b/docs/assets/props_time-picker-configuration_index.md.BAWeTijx.lean.js
@@ -1,4 +1,4 @@
-import{_ as k,c as e,al as i,G as a,B as l,o as p}from"./chunks/framework.DDyYGyON.js";const u=JSON.parse('{"title":"Props - Time picker configuration","description":"Configure time-picker behavior","frontmatter":{"lang":"en-US","title":"Props - Time picker configuration","description":"Configure time-picker behavior"},"headers":[],"relativePath":"props/time-picker-configuration/index.md","filePath":"props/time-picker-configuration/index.md"}'),E={name:"props/time-picker-configuration/index.md"};function r(d,s,g,y,o,c){const n=l("GlobalDemo"),t=l("EmptyDemo"),h=l("DisabledTimesDemo");return p(),e("div",null,[s[0]||(s[0]=i('

Time picker configuration

Configuration properties for the time picker, applicable whether it is used standalone or with the datepicker.

Info

  • When checking the examples, for boolean prop types, the example will show the behavior opposite of what is set for the default value
  • If you use the component in the browser <script> tag, make sure to pass multi-word props with -, for example, enableTimePicker as enable-time-picker and so on

time-picker-inline

Configures the time picker to display under the calendar rather than opening it as an overlay.

  • Type: boolean
  • Default: false
',6)),a(n,{"time-picker-inline":!0}),s[1]||(s[1]=i(`
Code Example
vue
<template>
+import{_ as k,c as e,aj as i,G as a,B as l,o as p}from"./chunks/framework.C8IqNCju.js";const u=JSON.parse('{"title":"Props - Time picker configuration","description":"Configure time-picker behavior","frontmatter":{"lang":"en-US","title":"Props - Time picker configuration","description":"Configure time-picker behavior"},"headers":[],"relativePath":"props/time-picker-configuration/index.md","filePath":"props/time-picker-configuration/index.md"}'),E={name:"props/time-picker-configuration/index.md"};function r(d,s,g,y,o,c){const n=l("GlobalDemo"),t=l("EmptyDemo"),h=l("DisabledTimesDemo");return p(),e("div",null,[s[0]||(s[0]=i('

Time picker configuration

Configuration properties for the time picker, applicable whether it is used standalone or with the datepicker.

Info

  • When checking the examples, for boolean prop types, the example will show the behavior opposite of what is set for the default value
  • If you use the component in the browser <script> tag, make sure to pass multi-word props with -, for example, enableTimePicker as enable-time-picker and so on

time-picker-inline

Configures the time picker to display under the calendar rather than opening it as an overlay.

  • Type: boolean
  • Default: false
',6)),a(n,{"time-picker-inline":!0}),s[1]||(s[1]=i(`
Code Example
vue
<template>
     <VueDatePicker v-model="date" time-picker-inline />
 </template>
 
diff --git a/docs/assets/slots_components_index.md.D5cKmtPO.js b/docs/assets/slots_components_index.md.79XhMnqw.js
similarity index 99%
rename from docs/assets/slots_components_index.md.D5cKmtPO.js
rename to docs/assets/slots_components_index.md.79XhMnqw.js
index 4c0a97c5..0ee89532 100644
--- a/docs/assets/slots_components_index.md.D5cKmtPO.js
+++ b/docs/assets/slots_components_index.md.79XhMnqw.js
@@ -1,4 +1,4 @@
-import{_ as t,c as p,al as i,G as a,B as n,o as e}from"./chunks/framework.DDyYGyON.js";const u=JSON.parse('{"title":"Slots - Components","description":"Replace the built-in components with custom implementation","frontmatter":{"lang":"en-US","title":"Slots - Components","description":"Replace the built-in components with custom implementation"},"headers":[],"relativePath":"slots/components/index.md","filePath":"slots/components/index.md"}'),E={name:"slots/components/index.md"};function r(d,s,g,y,F,o){const h=n("MonthYearSlotDemo"),k=n("TimePickerSlotDemo"),l=n("ActionRowSlotDemo");return e(),p("div",null,[s[0]||(s[0]=i('

Component slots

Replace the built-in components with custom implementation

month-year

Create and use a custom component implementation in the header for month/year select

Info

When using this slot, the overlays will not be available, it is up to you to create them if you want

Warning

Depending on the used mode, slot will provide a different set of props

',6)),a(h,{"default-slot":!0}),s[1]||(s[1]=i(`

Exposed props:

Date picker

ts
interface DefaultSelect {
+import{_ as t,c as p,aj as i,G as a,B as n,o as e}from"./chunks/framework.C8IqNCju.js";const u=JSON.parse('{"title":"Slots - Components","description":"Replace the built-in components with custom implementation","frontmatter":{"lang":"en-US","title":"Slots - Components","description":"Replace the built-in components with custom implementation"},"headers":[],"relativePath":"slots/components/index.md","filePath":"slots/components/index.md"}'),E={name:"slots/components/index.md"};function r(d,s,g,y,F,o){const h=n("MonthYearSlotDemo"),k=n("TimePickerSlotDemo"),l=n("ActionRowSlotDemo");return e(),p("div",null,[s[0]||(s[0]=i('

Component slots

Replace the built-in components with custom implementation

month-year

Create and use a custom component implementation in the header for month/year select

Info

When using this slot, the overlays will not be available, it is up to you to create them if you want

Warning

Depending on the used mode, slot will provide a different set of props

',6)),a(h,{"default-slot":!0}),s[1]||(s[1]=i(`

Exposed props:

Date picker

ts
interface DefaultSelect {
   value: number;
   text: string;
   className?: Record<string, boolean>;
diff --git a/docs/assets/slots_components_index.md.D5cKmtPO.lean.js b/docs/assets/slots_components_index.md.79XhMnqw.lean.js
similarity index 99%
rename from docs/assets/slots_components_index.md.D5cKmtPO.lean.js
rename to docs/assets/slots_components_index.md.79XhMnqw.lean.js
index 4c0a97c5..0ee89532 100644
--- a/docs/assets/slots_components_index.md.D5cKmtPO.lean.js
+++ b/docs/assets/slots_components_index.md.79XhMnqw.lean.js
@@ -1,4 +1,4 @@
-import{_ as t,c as p,al as i,G as a,B as n,o as e}from"./chunks/framework.DDyYGyON.js";const u=JSON.parse('{"title":"Slots - Components","description":"Replace the built-in components with custom implementation","frontmatter":{"lang":"en-US","title":"Slots - Components","description":"Replace the built-in components with custom implementation"},"headers":[],"relativePath":"slots/components/index.md","filePath":"slots/components/index.md"}'),E={name:"slots/components/index.md"};function r(d,s,g,y,F,o){const h=n("MonthYearSlotDemo"),k=n("TimePickerSlotDemo"),l=n("ActionRowSlotDemo");return e(),p("div",null,[s[0]||(s[0]=i('

Component slots

Replace the built-in components with custom implementation

month-year

Create and use a custom component implementation in the header for month/year select

Info

When using this slot, the overlays will not be available, it is up to you to create them if you want

Warning

Depending on the used mode, slot will provide a different set of props

',6)),a(h,{"default-slot":!0}),s[1]||(s[1]=i(`

Exposed props:

Date picker

ts
interface DefaultSelect {
+import{_ as t,c as p,aj as i,G as a,B as n,o as e}from"./chunks/framework.C8IqNCju.js";const u=JSON.parse('{"title":"Slots - Components","description":"Replace the built-in components with custom implementation","frontmatter":{"lang":"en-US","title":"Slots - Components","description":"Replace the built-in components with custom implementation"},"headers":[],"relativePath":"slots/components/index.md","filePath":"slots/components/index.md"}'),E={name:"slots/components/index.md"};function r(d,s,g,y,F,o){const h=n("MonthYearSlotDemo"),k=n("TimePickerSlotDemo"),l=n("ActionRowSlotDemo");return e(),p("div",null,[s[0]||(s[0]=i('

Component slots

Replace the built-in components with custom implementation

month-year

Create and use a custom component implementation in the header for month/year select

Info

When using this slot, the overlays will not be available, it is up to you to create them if you want

Warning

Depending on the used mode, slot will provide a different set of props

',6)),a(h,{"default-slot":!0}),s[1]||(s[1]=i(`

Exposed props:

Date picker

ts
interface DefaultSelect {
   value: number;
   text: string;
   className?: Record<string, boolean>;
diff --git a/docs/assets/slots_content_index.md.DYHiWMiC.js b/docs/assets/slots_content_index.md.DOcUs4Up.js
similarity index 99%
rename from docs/assets/slots_content_index.md.DYHiWMiC.js
rename to docs/assets/slots_content_index.md.DOcUs4Up.js
index ad93578c..454571f1 100644
--- a/docs/assets/slots_content_index.md.DYHiWMiC.js
+++ b/docs/assets/slots_content_index.md.DOcUs4Up.js
@@ -1,4 +1,4 @@
-import{_ as k,c as l,al as i,G as a,B as t,o as p}from"./chunks/framework.DDyYGyON.js";const c=JSON.parse('{"title":"Slots - Content","description":"Datepicker content slots to customize parts in the menu","frontmatter":{"lang":"en-US","title":"Slots - Content","description":"Datepicker content slots to customize parts in the menu"},"headers":[],"relativePath":"slots/content/index.md","filePath":"slots/content/index.md"}'),e={name:"slots/content/index.md"};function E(r,s,d,g,y,F){const n=t("DemoSlots"),h=t("DemoMarkers");return p(),l("div",null,[s[0]||(s[0]=i('

Content

Customize parts in the datepicker menu

calendar-header

Replace the content in the calendar header cells

Available props are:

  • day: Displayed value in the header cell
  • index: Column index it is rendered by
',6)),a(n,{useCalendarHeaderSlot:!0}),s[1]||(s[1]=i(`
Code Example
vue
<template>
+import{_ as k,c as l,aj as i,G as a,B as t,o as p}from"./chunks/framework.C8IqNCju.js";const c=JSON.parse('{"title":"Slots - Content","description":"Datepicker content slots to customize parts in the menu","frontmatter":{"lang":"en-US","title":"Slots - Content","description":"Datepicker content slots to customize parts in the menu"},"headers":[],"relativePath":"slots/content/index.md","filePath":"slots/content/index.md"}'),e={name:"slots/content/index.md"};function E(r,s,d,g,y,F){const n=t("DemoSlots"),h=t("DemoMarkers");return p(),l("div",null,[s[0]||(s[0]=i('

Content

Customize parts in the datepicker menu

calendar-header

Replace the content in the calendar header cells

Available props are:

  • day: Displayed value in the header cell
  • index: Column index it is rendered by
',6)),a(n,{useCalendarHeaderSlot:!0}),s[1]||(s[1]=i(`
Code Example
vue
<template>
     <VueDatePicker v-model="date">
       <template #calendar-header="{ index, day }">
         <div :class="index === 5 || index === 6 ? 'red-color' : ''">
diff --git a/docs/assets/slots_content_index.md.DYHiWMiC.lean.js b/docs/assets/slots_content_index.md.DOcUs4Up.lean.js
similarity index 99%
rename from docs/assets/slots_content_index.md.DYHiWMiC.lean.js
rename to docs/assets/slots_content_index.md.DOcUs4Up.lean.js
index ad93578c..454571f1 100644
--- a/docs/assets/slots_content_index.md.DYHiWMiC.lean.js
+++ b/docs/assets/slots_content_index.md.DOcUs4Up.lean.js
@@ -1,4 +1,4 @@
-import{_ as k,c as l,al as i,G as a,B as t,o as p}from"./chunks/framework.DDyYGyON.js";const c=JSON.parse('{"title":"Slots - Content","description":"Datepicker content slots to customize parts in the menu","frontmatter":{"lang":"en-US","title":"Slots - Content","description":"Datepicker content slots to customize parts in the menu"},"headers":[],"relativePath":"slots/content/index.md","filePath":"slots/content/index.md"}'),e={name:"slots/content/index.md"};function E(r,s,d,g,y,F){const n=t("DemoSlots"),h=t("DemoMarkers");return p(),l("div",null,[s[0]||(s[0]=i('

Content

Customize parts in the datepicker menu

calendar-header

Replace the content in the calendar header cells

Available props are:

  • day: Displayed value in the header cell
  • index: Column index it is rendered by
',6)),a(n,{useCalendarHeaderSlot:!0}),s[1]||(s[1]=i(`
Code Example
vue
<template>
+import{_ as k,c as l,aj as i,G as a,B as t,o as p}from"./chunks/framework.C8IqNCju.js";const c=JSON.parse('{"title":"Slots - Content","description":"Datepicker content slots to customize parts in the menu","frontmatter":{"lang":"en-US","title":"Slots - Content","description":"Datepicker content slots to customize parts in the menu"},"headers":[],"relativePath":"slots/content/index.md","filePath":"slots/content/index.md"}'),e={name:"slots/content/index.md"};function E(r,s,d,g,y,F){const n=t("DemoSlots"),h=t("DemoMarkers");return p(),l("div",null,[s[0]||(s[0]=i('

Content

Customize parts in the datepicker menu

calendar-header

Replace the content in the calendar header cells

Available props are:

  • day: Displayed value in the header cell
  • index: Column index it is rendered by
',6)),a(n,{useCalendarHeaderSlot:!0}),s[1]||(s[1]=i(`
Code Example
vue
<template>
     <VueDatePicker v-model="date">
       <template #calendar-header="{ index, day }">
         <div :class="index === 5 || index === 6 ? 'red-color' : ''">
diff --git a/docs/assets/slots_icons_index.md.BovP6Dbd.js b/docs/assets/slots_icons_index.md.CQo_0Tvz.js
similarity index 99%
rename from docs/assets/slots_icons_index.md.BovP6Dbd.js
rename to docs/assets/slots_icons_index.md.CQo_0Tvz.js
index 7386a325..7cc5b9a2 100644
--- a/docs/assets/slots_icons_index.md.BovP6Dbd.js
+++ b/docs/assets/slots_icons_index.md.CQo_0Tvz.js
@@ -1,4 +1,4 @@
-import{_ as t,c as k,j as h,a as l,G as a,al as n,B as p,o as E}from"./chunks/framework.DDyYGyON.js";const C=JSON.parse('{"title":"Slots - Icons","description":"Customize the icons in the datepicker","frontmatter":{"lang":"en-US","title":"Slots - Icons","description":"Customize the icons in the datepicker"},"headers":[],"relativePath":"slots/icons/index.md","filePath":"slots/icons/index.md"}'),e={name:"slots/icons/index.md"};function r(d,s,g,y,F,o){const i=p("DemoSlots");return E(),k("div",null,[s[0]||(s[0]=h("h1",{id:"icons",tabindex:"-1"},[l("Icons "),h("a",{class:"header-anchor",href:"#icons","aria-label":'Permalink to "Icons"'},"​")],-1)),s[1]||(s[1]=h("p",null,"Change datepicker icons",-1)),s[2]||(s[2]=h("h2",{id:"input-icon",tabindex:"-1"},[l("input-icon "),h("a",{class:"header-anchor",href:"#input-icon","aria-label":'Permalink to "input-icon"'},"​")],-1)),s[3]||(s[3]=h("p",null,"This slot replaces the calendar icon in the input element with your custom element",-1)),a(i,{useInputIconSlot:!0}),s[4]||(s[4]=n(`
Code Example
vue
<template>
+import{_ as t,c as k,j as h,a as l,G as a,aj as n,B as p,o as E}from"./chunks/framework.C8IqNCju.js";const C=JSON.parse('{"title":"Slots - Icons","description":"Customize the icons in the datepicker","frontmatter":{"lang":"en-US","title":"Slots - Icons","description":"Customize the icons in the datepicker"},"headers":[],"relativePath":"slots/icons/index.md","filePath":"slots/icons/index.md"}'),e={name:"slots/icons/index.md"};function r(d,s,g,y,F,o){const i=p("DemoSlots");return E(),k("div",null,[s[0]||(s[0]=h("h1",{id:"icons",tabindex:"-1"},[l("Icons "),h("a",{class:"header-anchor",href:"#icons","aria-label":'Permalink to "Icons"'},"​")],-1)),s[1]||(s[1]=h("p",null,"Change datepicker icons",-1)),s[2]||(s[2]=h("h2",{id:"input-icon",tabindex:"-1"},[l("input-icon "),h("a",{class:"header-anchor",href:"#input-icon","aria-label":'Permalink to "input-icon"'},"​")],-1)),s[3]||(s[3]=h("p",null,"This slot replaces the calendar icon in the input element with your custom element",-1)),a(i,{useInputIconSlot:!0}),s[4]||(s[4]=n(`
Code Example
vue
<template>
     <VueDatePicker v-model="date">
         <template #input-icon>
             <img class="input-slot-image" src="/logo.png"/>
diff --git a/docs/assets/slots_icons_index.md.BovP6Dbd.lean.js b/docs/assets/slots_icons_index.md.CQo_0Tvz.lean.js
similarity index 99%
rename from docs/assets/slots_icons_index.md.BovP6Dbd.lean.js
rename to docs/assets/slots_icons_index.md.CQo_0Tvz.lean.js
index 7386a325..7cc5b9a2 100644
--- a/docs/assets/slots_icons_index.md.BovP6Dbd.lean.js
+++ b/docs/assets/slots_icons_index.md.CQo_0Tvz.lean.js
@@ -1,4 +1,4 @@
-import{_ as t,c as k,j as h,a as l,G as a,al as n,B as p,o as E}from"./chunks/framework.DDyYGyON.js";const C=JSON.parse('{"title":"Slots - Icons","description":"Customize the icons in the datepicker","frontmatter":{"lang":"en-US","title":"Slots - Icons","description":"Customize the icons in the datepicker"},"headers":[],"relativePath":"slots/icons/index.md","filePath":"slots/icons/index.md"}'),e={name:"slots/icons/index.md"};function r(d,s,g,y,F,o){const i=p("DemoSlots");return E(),k("div",null,[s[0]||(s[0]=h("h1",{id:"icons",tabindex:"-1"},[l("Icons "),h("a",{class:"header-anchor",href:"#icons","aria-label":'Permalink to "Icons"'},"​")],-1)),s[1]||(s[1]=h("p",null,"Change datepicker icons",-1)),s[2]||(s[2]=h("h2",{id:"input-icon",tabindex:"-1"},[l("input-icon "),h("a",{class:"header-anchor",href:"#input-icon","aria-label":'Permalink to "input-icon"'},"​")],-1)),s[3]||(s[3]=h("p",null,"This slot replaces the calendar icon in the input element with your custom element",-1)),a(i,{useInputIconSlot:!0}),s[4]||(s[4]=n(`
Code Example
vue
<template>
+import{_ as t,c as k,j as h,a as l,G as a,aj as n,B as p,o as E}from"./chunks/framework.C8IqNCju.js";const C=JSON.parse('{"title":"Slots - Icons","description":"Customize the icons in the datepicker","frontmatter":{"lang":"en-US","title":"Slots - Icons","description":"Customize the icons in the datepicker"},"headers":[],"relativePath":"slots/icons/index.md","filePath":"slots/icons/index.md"}'),e={name:"slots/icons/index.md"};function r(d,s,g,y,F,o){const i=p("DemoSlots");return E(),k("div",null,[s[0]||(s[0]=h("h1",{id:"icons",tabindex:"-1"},[l("Icons "),h("a",{class:"header-anchor",href:"#icons","aria-label":'Permalink to "Icons"'},"​")],-1)),s[1]||(s[1]=h("p",null,"Change datepicker icons",-1)),s[2]||(s[2]=h("h2",{id:"input-icon",tabindex:"-1"},[l("input-icon "),h("a",{class:"header-anchor",href:"#input-icon","aria-label":'Permalink to "input-icon"'},"​")],-1)),s[3]||(s[3]=h("p",null,"This slot replaces the calendar icon in the input element with your custom element",-1)),a(i,{useInputIconSlot:!0}),s[4]||(s[4]=n(`
Code Example
vue
<template>
     <VueDatePicker v-model="date">
         <template #input-icon>
             <img class="input-slot-image" src="/logo.png"/>
diff --git a/docs/assets/slots_overlay_index.md.Ldp4LnYd.js b/docs/assets/slots_overlay_index.md.Dl2WvITy.js
similarity index 99%
rename from docs/assets/slots_overlay_index.md.Ldp4LnYd.js
rename to docs/assets/slots_overlay_index.md.Dl2WvITy.js
index 8eee28f4..1c5f8a89 100644
--- a/docs/assets/slots_overlay_index.md.Ldp4LnYd.js
+++ b/docs/assets/slots_overlay_index.md.Dl2WvITy.js
@@ -1,4 +1,4 @@
-import{_ as t,c as k,al as i,G as a,B as h,o as p}from"./chunks/framework.DDyYGyON.js";const c=JSON.parse('{"title":"Slots - Overlay","description":"Customize the overlays in the datepicker menu","frontmatter":{"lang":"en-US","title":"Slots - Overlay","description":"Customize the overlays in the datepicker menu"},"headers":[],"relativePath":"slots/overlay/index.md","filePath":"slots/overlay/index.md"}'),e={name:"slots/overlay/index.md"};function E(r,s,d,g,y,F){const n=h("DemoSlots"),l=h("MonthYearSlotDemo");return p(),k("div",null,[s[0]||(s[0]=i('

Overlay

Customize overlay and overlay triggers

time-picker-overlay

This slot replaces the full overlay in the timepicker

Several props are available:

  • range: Value passed from general props
  • hours: Selected hours value
  • minutes: Selected minutes value
  • seconds: Selected seconds value
  • setHours: Function to call to set hours, (hours: number | number[]) => void
  • setMinutes: Function to call to set minutes, (minutes: number | number[]) => void
  • setSeconds: Function to call to set seconds, (seconds: number | number[]) => void

Info

If you are using range mode, make sure to pass number arrays in functions

',7)),a(n,{useTimePickerOverlay:!0}),s[1]||(s[1]=i(`
Code Example
vue
<template>
+import{_ as t,c as k,aj as i,G as a,B as h,o as p}from"./chunks/framework.C8IqNCju.js";const c=JSON.parse('{"title":"Slots - Overlay","description":"Customize the overlays in the datepicker menu","frontmatter":{"lang":"en-US","title":"Slots - Overlay","description":"Customize the overlays in the datepicker menu"},"headers":[],"relativePath":"slots/overlay/index.md","filePath":"slots/overlay/index.md"}'),e={name:"slots/overlay/index.md"};function E(r,s,d,g,y,F){const n=h("DemoSlots"),l=h("MonthYearSlotDemo");return p(),k("div",null,[s[0]||(s[0]=i('

Overlay

Customize overlay and overlay triggers

time-picker-overlay

This slot replaces the full overlay in the timepicker

Several props are available:

  • range: Value passed from general props
  • hours: Selected hours value
  • minutes: Selected minutes value
  • seconds: Selected seconds value
  • setHours: Function to call to set hours, (hours: number | number[]) => void
  • setMinutes: Function to call to set minutes, (minutes: number | number[]) => void
  • setSeconds: Function to call to set seconds, (seconds: number | number[]) => void

Info

If you are using range mode, make sure to pass number arrays in functions

',7)),a(n,{useTimePickerOverlay:!0}),s[1]||(s[1]=i(`
Code Example
vue
<template>
     <VueDatePicker v-model="date">
       <template #time-picker-overlay="{ hours, minutes, setHours, setMinutes }">
         <div class="time-picker-overlay">
diff --git a/docs/assets/slots_overlay_index.md.Ldp4LnYd.lean.js b/docs/assets/slots_overlay_index.md.Dl2WvITy.lean.js
similarity index 99%
rename from docs/assets/slots_overlay_index.md.Ldp4LnYd.lean.js
rename to docs/assets/slots_overlay_index.md.Dl2WvITy.lean.js
index 8eee28f4..1c5f8a89 100644
--- a/docs/assets/slots_overlay_index.md.Ldp4LnYd.lean.js
+++ b/docs/assets/slots_overlay_index.md.Dl2WvITy.lean.js
@@ -1,4 +1,4 @@
-import{_ as t,c as k,al as i,G as a,B as h,o as p}from"./chunks/framework.DDyYGyON.js";const c=JSON.parse('{"title":"Slots - Overlay","description":"Customize the overlays in the datepicker menu","frontmatter":{"lang":"en-US","title":"Slots - Overlay","description":"Customize the overlays in the datepicker menu"},"headers":[],"relativePath":"slots/overlay/index.md","filePath":"slots/overlay/index.md"}'),e={name:"slots/overlay/index.md"};function E(r,s,d,g,y,F){const n=h("DemoSlots"),l=h("MonthYearSlotDemo");return p(),k("div",null,[s[0]||(s[0]=i('

Overlay

Customize overlay and overlay triggers

time-picker-overlay

This slot replaces the full overlay in the timepicker

Several props are available:

  • range: Value passed from general props
  • hours: Selected hours value
  • minutes: Selected minutes value
  • seconds: Selected seconds value
  • setHours: Function to call to set hours, (hours: number | number[]) => void
  • setMinutes: Function to call to set minutes, (minutes: number | number[]) => void
  • setSeconds: Function to call to set seconds, (seconds: number | number[]) => void

Info

If you are using range mode, make sure to pass number arrays in functions

',7)),a(n,{useTimePickerOverlay:!0}),s[1]||(s[1]=i(`
Code Example
vue
<template>
+import{_ as t,c as k,aj as i,G as a,B as h,o as p}from"./chunks/framework.C8IqNCju.js";const c=JSON.parse('{"title":"Slots - Overlay","description":"Customize the overlays in the datepicker menu","frontmatter":{"lang":"en-US","title":"Slots - Overlay","description":"Customize the overlays in the datepicker menu"},"headers":[],"relativePath":"slots/overlay/index.md","filePath":"slots/overlay/index.md"}'),e={name:"slots/overlay/index.md"};function E(r,s,d,g,y,F){const n=h("DemoSlots"),l=h("MonthYearSlotDemo");return p(),k("div",null,[s[0]||(s[0]=i('

Overlay

Customize overlay and overlay triggers

time-picker-overlay

This slot replaces the full overlay in the timepicker

Several props are available:

  • range: Value passed from general props
  • hours: Selected hours value
  • minutes: Selected minutes value
  • seconds: Selected seconds value
  • setHours: Function to call to set hours, (hours: number | number[]) => void
  • setMinutes: Function to call to set minutes, (minutes: number | number[]) => void
  • setSeconds: Function to call to set seconds, (seconds: number | number[]) => void

Info

If you are using range mode, make sure to pass number arrays in functions

',7)),a(n,{useTimePickerOverlay:!0}),s[1]||(s[1]=i(`
Code Example
vue
<template>
     <VueDatePicker v-model="date">
       <template #time-picker-overlay="{ hours, minutes, setHours, setMinutes }">
         <div class="time-picker-overlay">
diff --git a/docs/assets/slots_trigger-and-input_index.md.CI_qQFf5.js b/docs/assets/slots_trigger-and-input_index.md.nzwTbYTV.js
similarity index 99%
rename from docs/assets/slots_trigger-and-input_index.md.CI_qQFf5.js
rename to docs/assets/slots_trigger-and-input_index.md.nzwTbYTV.js
index 1b41a5a7..efd355fe 100644
--- a/docs/assets/slots_trigger-and-input_index.md.CI_qQFf5.js
+++ b/docs/assets/slots_trigger-and-input_index.md.nzwTbYTV.js
@@ -1,4 +1,4 @@
-import{_ as l,c as p,j as i,a as t,G as n,al as e,B as h,o as k}from"./chunks/framework.DDyYGyON.js";const F=JSON.parse('{"title":"Slots - Trigger and input","description":"Change the datepicker trigger or input","frontmatter":{"lang":"en-US","title":"Slots - Trigger and input","description":"Change the datepicker trigger or input"},"headers":[],"relativePath":"slots/trigger-and-input/index.md","filePath":"slots/trigger-and-input/index.md"}'),d={name:"slots/trigger-and-input/index.md"};function E(r,s,o,g,c,y){const a=h("DemoSlots");return k(),p("div",null,[s[0]||(s[0]=i("h1",{id:"trigger-and-input",tabindex:"-1"},[t("Trigger and input "),i("a",{class:"header-anchor",href:"#trigger-and-input","aria-label":'Permalink to "Trigger and input"'},"​")],-1)),s[1]||(s[1]=i("p",null,"Use custom input or trigger element",-1)),s[2]||(s[2]=i("h2",{id:"trigger",tabindex:"-1"},[t("trigger "),i("a",{class:"header-anchor",href:"#trigger","aria-label":'Permalink to "trigger"'},"​")],-1)),s[3]||(s[3]=i("p",null,"This slot replaces the input element with your custom element",-1)),n(a,{useTriggerSlot:!0}),s[4]||(s[4]=e(`
Code Example
vue
<template>
+import{_ as l,c as p,j as i,a as t,G as n,aj as e,B as h,o as k}from"./chunks/framework.C8IqNCju.js";const F=JSON.parse('{"title":"Slots - Trigger and input","description":"Change the datepicker trigger or input","frontmatter":{"lang":"en-US","title":"Slots - Trigger and input","description":"Change the datepicker trigger or input"},"headers":[],"relativePath":"slots/trigger-and-input/index.md","filePath":"slots/trigger-and-input/index.md"}'),d={name:"slots/trigger-and-input/index.md"};function E(r,s,o,g,c,y){const a=h("DemoSlots");return k(),p("div",null,[s[0]||(s[0]=i("h1",{id:"trigger-and-input",tabindex:"-1"},[t("Trigger and input "),i("a",{class:"header-anchor",href:"#trigger-and-input","aria-label":'Permalink to "Trigger and input"'},"​")],-1)),s[1]||(s[1]=i("p",null,"Use custom input or trigger element",-1)),s[2]||(s[2]=i("h2",{id:"trigger",tabindex:"-1"},[t("trigger "),i("a",{class:"header-anchor",href:"#trigger","aria-label":'Permalink to "trigger"'},"​")],-1)),s[3]||(s[3]=i("p",null,"This slot replaces the input element with your custom element",-1)),n(a,{useTriggerSlot:!0}),s[4]||(s[4]=e(`
Code Example
vue
<template>
     <VueDatePicker v-model="date">
         <template #trigger>
             <p class="clickable-text">This is some custom clickable text that will open the datepicker</p>
diff --git a/docs/assets/slots_trigger-and-input_index.md.CI_qQFf5.lean.js b/docs/assets/slots_trigger-and-input_index.md.nzwTbYTV.lean.js
similarity index 99%
rename from docs/assets/slots_trigger-and-input_index.md.CI_qQFf5.lean.js
rename to docs/assets/slots_trigger-and-input_index.md.nzwTbYTV.lean.js
index 1b41a5a7..efd355fe 100644
--- a/docs/assets/slots_trigger-and-input_index.md.CI_qQFf5.lean.js
+++ b/docs/assets/slots_trigger-and-input_index.md.nzwTbYTV.lean.js
@@ -1,4 +1,4 @@
-import{_ as l,c as p,j as i,a as t,G as n,al as e,B as h,o as k}from"./chunks/framework.DDyYGyON.js";const F=JSON.parse('{"title":"Slots - Trigger and input","description":"Change the datepicker trigger or input","frontmatter":{"lang":"en-US","title":"Slots - Trigger and input","description":"Change the datepicker trigger or input"},"headers":[],"relativePath":"slots/trigger-and-input/index.md","filePath":"slots/trigger-and-input/index.md"}'),d={name:"slots/trigger-and-input/index.md"};function E(r,s,o,g,c,y){const a=h("DemoSlots");return k(),p("div",null,[s[0]||(s[0]=i("h1",{id:"trigger-and-input",tabindex:"-1"},[t("Trigger and input "),i("a",{class:"header-anchor",href:"#trigger-and-input","aria-label":'Permalink to "Trigger and input"'},"​")],-1)),s[1]||(s[1]=i("p",null,"Use custom input or trigger element",-1)),s[2]||(s[2]=i("h2",{id:"trigger",tabindex:"-1"},[t("trigger "),i("a",{class:"header-anchor",href:"#trigger","aria-label":'Permalink to "trigger"'},"​")],-1)),s[3]||(s[3]=i("p",null,"This slot replaces the input element with your custom element",-1)),n(a,{useTriggerSlot:!0}),s[4]||(s[4]=e(`
Code Example
vue
<template>
+import{_ as l,c as p,j as i,a as t,G as n,aj as e,B as h,o as k}from"./chunks/framework.C8IqNCju.js";const F=JSON.parse('{"title":"Slots - Trigger and input","description":"Change the datepicker trigger or input","frontmatter":{"lang":"en-US","title":"Slots - Trigger and input","description":"Change the datepicker trigger or input"},"headers":[],"relativePath":"slots/trigger-and-input/index.md","filePath":"slots/trigger-and-input/index.md"}'),d={name:"slots/trigger-and-input/index.md"};function E(r,s,o,g,c,y){const a=h("DemoSlots");return k(),p("div",null,[s[0]||(s[0]=i("h1",{id:"trigger-and-input",tabindex:"-1"},[t("Trigger and input "),i("a",{class:"header-anchor",href:"#trigger-and-input","aria-label":'Permalink to "Trigger and input"'},"​")],-1)),s[1]||(s[1]=i("p",null,"Use custom input or trigger element",-1)),s[2]||(s[2]=i("h2",{id:"trigger",tabindex:"-1"},[t("trigger "),i("a",{class:"header-anchor",href:"#trigger","aria-label":'Permalink to "trigger"'},"​")],-1)),s[3]||(s[3]=i("p",null,"This slot replaces the input element with your custom element",-1)),n(a,{useTriggerSlot:!0}),s[4]||(s[4]=e(`
Code Example
vue
<template>
     <VueDatePicker v-model="date">
         <template #trigger>
             <p class="clickable-text">This is some custom clickable text that will open the datepicker</p>
diff --git a/docs/customization/theming/index.html b/docs/customization/theming/index.html
index 9bdc513e..26e9e2b3 100644
--- a/docs/customization/theming/index.html
+++ b/docs/customization/theming/index.html
@@ -8,12 +8,12 @@
     
     
     
-    
-    
+    
+    
     
-    
-    
-    
+    
+    
+    
     
     
     
@@ -22,7 +22,7 @@
     
   
   
-    
Skip to content

Theming

Datepicker comes with the theme support with css variables. It provides two classes that are applied based on the chosen dark/light mode

To change variables, simply override the classes with your custom values.

Info

  • When changing the properties, you only need to declare the class in the <style> tag, can be in global or scoped, depending on your needs
  • For the date picker to use dp__theme_dark, dark prop must be set to true

Dark mode configuration

css
.dp__theme_dark {
+    
Skip to content

Theming

Datepicker comes with the theme support with css variables. It provides two classes that are applied based on the chosen dark/light mode

To change variables, simply override the classes with your custom values.

Info

  • When changing the properties, you only need to declare the class in the <style> tag, can be in global or scoped, depending on your needs
  • For the date picker to use dp__theme_dark, dark prop must be set to true

Dark mode configuration

css
.dp__theme_dark {
     --dp-background-color: #212121;
     --dp-text-color: #fff;
     --dp-hover-color: #484848;
diff --git a/docs/hashmap.json b/docs/hashmap.json
index 8457341c..cb70523f 100644
--- a/docs/hashmap.json
+++ b/docs/hashmap.json
@@ -1 +1 @@
-{"customization_theming_index.md":"n7fcEp_w","index.md":"BJiPgZgU","installation_index.md":"CqYA7Cgq","methods-and-events_events_index.md":"C-wBkQV8","methods-and-events_methods_index.md":"BUAhxP5w","migration_from-v10.md":"cKOzBSoF","migration_from-v5.md":"Bmjm4GG1","migration_from-v6.md":"BGEZ6Qh1","migration_from-v7.md":"D7tfPsIU","migration_from-v8.md":"GbP-eSYg","migration_from-v9.md":"BP5fxbOt","props_calendar-configuration_index.md":"DP0AeudM","props_formatting_index.md":"C4TPj7vZ","props_general-configuration_index.md":"BRWJzeLU","props_keyboard_index.md":"CuOjFWCw","props_localization_index.md":"CJSI070X","props_look-and-feel_index.md":"BGtWfA-j","props_modes-configuration_index.md":"D6Mk8xHD","props_modes_index.md":"CyQF0VXZ","props_positioning_index.md":"uFrYDF2T","props_time-picker-configuration_index.md":"dfirn8p2","slots_components_index.md":"D5cKmtPO","slots_content_index.md":"DYHiWMiC","slots_icons_index.md":"BovP6Dbd","slots_overlay_index.md":"Ldp4LnYd","slots_trigger-and-input_index.md":"CI_qQFf5"}
+{"customization_theming_index.md":"J55SD4PY","index.md":"AEe3KBSA","installation_index.md":"DU4NbBGO","methods-and-events_events_index.md":"XXQ9Y2Gs","methods-and-events_methods_index.md":"DSPnQskQ","migration_from-v10.md":"CeyMK1B_","migration_from-v5.md":"D_NRXSTe","migration_from-v6.md":"DSqGwAuD","migration_from-v7.md":"PNhq04aB","migration_from-v8.md":"DW58qp9B","migration_from-v9.md":"D8JiPXtX","props_calendar-configuration_index.md":"8v9z-JzN","props_formatting_index.md":"ByRkmOZp","props_general-configuration_index.md":"BhuPYTJf","props_keyboard_index.md":"B0WDxcN1","props_localization_index.md":"Bd8NbN_7","props_look-and-feel_index.md":"DOPjw_pF","props_modes-configuration_index.md":"CkB8A2GH","props_modes_index.md":"DbN4dUwz","props_positioning_index.md":"Bj_Frxe2","props_time-picker-configuration_index.md":"BAWeTijx","slots_components_index.md":"79XhMnqw","slots_content_index.md":"DOcUs4Up","slots_icons_index.md":"CQo_0Tvz","slots_overlay_index.md":"Dl2WvITy","slots_trigger-and-input_index.md":"nzwTbYTV"}
diff --git a/docs/index.html b/docs/index.html
index 411e9166..bca1f3d9 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -8,12 +8,12 @@
     
     
     
-    
-    
+    
+    
     
-    
-    
-    
+    
+    
+    
     
     
     
@@ -22,7 +22,7 @@
     
   
   
-    
Skip to content

Vue datepicker

The most complete datepicker solution for Vue 3

Powerful, lightweight, and reusable datepicker component to fit within any project

⭐ If you like the component, give it a star on GitHub and consider sponsoring its development! ⭐

Released under the MIT License.

+
Skip to content

Vue datepicker

The most complete datepicker solution for Vue 3

Powerful, lightweight, and reusable datepicker component to fit within any project

⭐ If you like the component, give it a star on GitHub and consider sponsoring its development! ⭐

Released under the MIT License.

diff --git a/docs/installation/index.html b/docs/installation/index.html index 70f760e8..ca35b092 100644 --- a/docs/installation/index.html +++ b/docs/installation/index.html @@ -8,12 +8,12 @@ - - + + - - - + + + @@ -22,7 +22,7 @@ -
Skip to content

Installation

Install the component using the preferred package manager

shell
npm install @vuepic/vue-datepicker
shell
yarn add @vuepic/vue-datepicker
shell
pnpm add @vuepic/vue-datepicker
shell
bun add @vuepic/vue-datepicker

Then import and register component

Note: css file is imported separately

js
import VueDatePicker from '@vuepic/vue-datepicker';
+    
Skip to content

Installation

Install the component using the preferred package manager

shell
npm install @vuepic/vue-datepicker
shell
yarn add @vuepic/vue-datepicker
shell
pnpm add @vuepic/vue-datepicker
shell
bun add @vuepic/vue-datepicker

Then import and register component

Note: css file is imported separately

js
import VueDatePicker from '@vuepic/vue-datepicker';
 import '@vuepic/vue-datepicker/dist/main.css'

Global

In the main file

js
import { createApp } from "vue";
 import App from './App.vue';
 
@@ -33,7 +33,7 @@
 
 app.component('VueDatePicker', VueDatePicker);
 
-app.mount('#app');

Local

In the .vue files

vue
<template>
+app.mount('#app');

Local

In the .vue files

vue
<template>
   <VueDatePicker v-model="date"></VueDatePicker>
 </template>
 
diff --git a/docs/methods-and-events/events/index.html b/docs/methods-and-events/events/index.html
index d0ae29b3..c691fa27 100644
--- a/docs/methods-and-events/events/index.html
+++ b/docs/methods-and-events/events/index.html
@@ -8,12 +8,12 @@
     
     
     
-    
-    
+    
+    
     
-    
-    
-    
+    
+    
+    
     
     
     
@@ -22,7 +22,7 @@
     
   
   
-    
Skip to content

Events

List of available events that are emitted on some action

@update:model-value

This event is emitted when the value is selected. This is a v-model binding event

Code Example
vue
<template>
+    
Skip to content

Events

List of available events that are emitted on some action

@update:model-value

This event is emitted when the value is selected. This is a v-model binding event

Code Example
vue
<template>
     <VueDatePicker :model-value="date" @update:model-value="handleDate" />
 </template>
 
diff --git a/docs/methods-and-events/methods/index.html b/docs/methods-and-events/methods/index.html
index 020c9ea0..5b3ba545 100644
--- a/docs/methods-and-events/methods/index.html
+++ b/docs/methods-and-events/methods/index.html
@@ -8,12 +8,12 @@
     
     
     
-    
-    
+    
+    
     
-    
-    
-    
+    
+    
+    
     
     
     
@@ -22,7 +22,7 @@
     
   
   
-    
Skip to content

Methods

List of available methods that you can call on the datepicker from the external code

Add a ref to the component, and call the method on that ref

Code Example
vue
<template>
+    
Skip to content

Methods

List of available methods that you can call on the datepicker from the external code

Add a ref to the component, and call the method on that ref

Code Example
vue
<template>
     <VueDatePicker v-model="date" ref="datepicker" />
 </template>
 
diff --git a/docs/migration/from-v10.html b/docs/migration/from-v10.html
index fa9d0fbd..4d4763ed 100644
--- a/docs/migration/from-v10.html
+++ b/docs/migration/from-v10.html
@@ -8,12 +8,12 @@
     
     
     
-    
-    
+    
+    
     
-    
-    
-    
+    
+    
+    
     
     
     
@@ -22,7 +22,7 @@
     
   
   
-    
Skip to content

Migrating from v10

Breaking changes

  • Library now requires vue >= v3.3
  • Calendar cells id attribute is now prefixed with dp-
  • Calendar cells data-test-id attribute now matches the id value
  • Ref dpWrapMenuRef is now exposed via the getter function getDpWrapMenuRef instead of direct access

Calendar cell id update

js
import { format } from 'date-fns';
+    
Skip to content

Migrating from v10

Breaking changes

  • Library now requires vue >= v3.3
  • Calendar cells id attribute is now prefixed with dp-
  • Calendar cells data-test-id attribute now matches the id value
  • Ref dpWrapMenuRef is now exposed via the getter function getDpWrapMenuRef instead of direct access

Calendar cell id update

js
import { format } from 'date-fns';
 const formatToken =  `yyyy-MM-dd`;
 
 document.getElementById(format(new Date(), formatToken)) 
diff --git a/docs/migration/from-v5.html b/docs/migration/from-v5.html
index 752d3838..3ca4e841 100644
--- a/docs/migration/from-v5.html
+++ b/docs/migration/from-v5.html
@@ -8,12 +8,12 @@
     
     
     
-    
-    
+    
+    
     
-    
-    
-    
+    
+    
+    
     
     
     
@@ -22,7 +22,7 @@
     
   
   
-    
Skip to content

Migrating from v5

Breaking changes

  • month-picker and year-picker no longer have predefined value if v-model is empty
  • aria-label for arrow buttons in month-picker mode is changed to Next/Previous year
  • auto-apply-month prop is removed (will work with auto-apply prop set)
  • show-now-button prop is removed
  • month-year slot will have different props depending on the used mode
  • Property handleMonthYearChange is removed from sidebar-[left/right] slot props
  • Props changes (check props-reconfiguration)

Props reconfiguration

Based on the list of removed props, and depending on your usage, you might need to do a slight adjustments to keep prior behaviour:

multi-calendars-solo and multi-static

These 2 props are now merged into a configuration object that can be passed

to multi-calendars prop

Info

For prop definition, check multi-calendars prop

js

+    
Skip to content

Migrating from v5

Breaking changes

  • month-picker and year-picker no longer have predefined value if v-model is empty
  • aria-label for arrow buttons in month-picker mode is changed to Next/Previous year
  • auto-apply-month prop is removed (will work with auto-apply prop set)
  • show-now-button prop is removed
  • month-year slot will have different props depending on the used mode
  • Property handleMonthYearChange is removed from sidebar-[left/right] slot props
  • Props changes (check props-reconfiguration)

Props reconfiguration

Based on the list of removed props, and depending on your usage, you might need to do a slight adjustments to keep prior behaviour:

multi-calendars-solo and multi-static

These 2 props are now merged into a configuration object that can be passed

to multi-calendars prop

Info

For prop definition, check multi-calendars prop

js

 <template>
 
   <VueDatePicker
diff --git a/docs/migration/from-v6.html b/docs/migration/from-v6.html
index 15b6705a..272ea540 100644
--- a/docs/migration/from-v6.html
+++ b/docs/migration/from-v6.html
@@ -8,12 +8,12 @@
     
     
     
-    
-    
+    
+    
     
-    
-    
-    
+    
+    
+    
     
     
     
@@ -22,7 +22,7 @@
     
   
   
-    
Skip to content

Migrating from v6

Breaking changes

  • Wrapper for preset-dates is changed from <div> to <template>, which may cause potential styles break if you use a slot for the preset-dates item
  • Removed deprecated props
    • Removed
      • closeOnScroll
      • modeHeight
      • allowPreventDefault
      • closeOnClearValue
      • closeOnAutoApply
      • noSwipe
      • keepActionRow
      • onClickOutside

All removed props are now part of the config prop

Released under the MIT License.

+
Skip to content

Migrating from v6

Breaking changes

  • Wrapper for preset-dates is changed from <div> to <template>, which may cause potential styles break if you use a slot for the preset-dates item
  • Removed deprecated props
    • Removed
      • closeOnScroll
      • modeHeight
      • allowPreventDefault
      • closeOnClearValue
      • closeOnAutoApply
      • noSwipe
      • keepActionRow
      • onClickOutside

All removed props are now part of the config prop

Released under the MIT License.

diff --git a/docs/migration/from-v7.html b/docs/migration/from-v7.html index 2b271108..de74f8fb 100644 --- a/docs/migration/from-v7.html +++ b/docs/migration/from-v7.html @@ -8,12 +8,12 @@ - - + + - - - + + + @@ -22,7 +22,7 @@ -
Skip to content

Migrating from v7

Breaking changes

  • Default week-picker format is changed to week numbers
  • Tabbing out from the overlay will shift focus to the action row button if present
  • Removed deprecated props
    • Removed
      • highlight-week-days
      • highlight-disabled-days
      • highlight prop types
        • Date[]
        • string[]
        • number[]
  • id for calendar days is changed to formatted value instead of ISO value
  • date-fns-tz library is removed
  • date-fns library is updated to v3

highlight

Info

For prop definition, check highlight prop

js
<template>
+    
Skip to content

Migrating from v7

Breaking changes

  • Default week-picker format is changed to week numbers
  • Tabbing out from the overlay will shift focus to the action row button if present
  • Removed deprecated props
    • Removed
      • highlight-week-days
      • highlight-disabled-days
      • highlight prop types
        • Date[]
        • string[]
        • number[]
  • id for calendar days is changed to formatted value instead of ISO value
  • date-fns-tz library is removed
  • date-fns library is updated to v3

highlight

Info

For prop definition, check highlight prop

js
<template>
   <VueDatePicker
     :highlight="[new Date()]"
     :highlight="{ days: [ new Date() ] }"
diff --git a/docs/migration/from-v8.html b/docs/migration/from-v8.html
index 0b48c0dd..f8bad2a8 100644
--- a/docs/migration/from-v8.html
+++ b/docs/migration/from-v8.html
@@ -8,12 +8,12 @@
     
     
     
-    
-    
+    
+    
     
-    
-    
-    
+    
+    
+    
     
     
     
@@ -22,7 +22,7 @@
     
   
   
-    
Skip to content

Migrating from v8

Breaking changes

  • Removed deprecated props
    • Removed
      • auto-range
      • emit-timezone
      • partial-range
      • min-range
      • max-range
      • fixed-start
      • fixed-end
      • multi-dates-limit
      • show-last-in-range
      • no-disabled-range
      • disable-time-range-validation
      • input-class-name
      • menu-class-name
      • calendar-class-name
      • calendar-cell-class-name
  • boolean value true in text-input configuration is replaced with string `'open' | 'toggle'
  • dp__clear_icon class is changed to dp--clear-btn and now wraps the icon
  • Removed calendarWrap and calendarDays from aria-labels due to accessibility violations
  • When using the component with web components, it must be enabled explicitly via the config.shadowDom property

range props

Following props are moved to the range configuration object

auto-range

js
<template>
+    
Skip to content

Migrating from v8

Breaking changes

  • Removed deprecated props
    • Removed
      • auto-range
      • emit-timezone
      • partial-range
      • min-range
      • max-range
      • fixed-start
      • fixed-end
      • multi-dates-limit
      • show-last-in-range
      • no-disabled-range
      • disable-time-range-validation
      • input-class-name
      • menu-class-name
      • calendar-class-name
      • calendar-cell-class-name
  • boolean value true in text-input configuration is replaced with string `'open' | 'toggle'
  • dp__clear_icon class is changed to dp--clear-btn and now wraps the icon
  • Removed calendarWrap and calendarDays from aria-labels due to accessibility violations
  • When using the component with web components, it must be enabled explicitly via the config.shadowDom property

range props

Following props are moved to the range configuration object

auto-range

js
<template>
   <VueDatePicker
     range
     :auto-range="5"
diff --git a/docs/migration/from-v9.html b/docs/migration/from-v9.html
index ce5c8af7..63850d1c 100644
--- a/docs/migration/from-v9.html
+++ b/docs/migration/from-v9.html
@@ -8,12 +8,12 @@
     
     
     
-    
-    
+    
+    
     
-    
-    
-    
+    
+    
+    
     
     
     
@@ -22,7 +22,7 @@
     
   
   
-    
Skip to content

Migrating from v9

Breaking changes

  • date-fns library is updated to version 4
  • data-test attribute is renamed to data-test-id
  • alt-position now accepts any returned style and won't do any conversion

date-fns update

If you are using date-fns in your project, please refer to date-fns v4 changelog for any potential changes or conflicts. Otherwise, no need for any action

data-test-id

This attribute is used internally for unit testing, however it is exposed for convenience if you need to do any further unit/integration testing

js
document.querySelector('[data-test="dp-input"]'); 
+    
Skip to content

Migrating from v9

Breaking changes

  • date-fns library is updated to version 4
  • data-test attribute is renamed to data-test-id
  • alt-position now accepts any returned style and won't do any conversion

date-fns update

If you are using date-fns in your project, please refer to date-fns v4 changelog for any potential changes or conflicts. Otherwise, no need for any action

data-test-id

This attribute is used internally for unit testing, however it is exposed for convenience if you need to do any further unit/integration testing

js
document.querySelector('[data-test="dp-input"]'); 
 document.querySelector('[data-test-id="dp-input"]'); 

alt-position

The custom function passed via prop can return any value and won't do any custom parsing

ts
const myAltPositioning = (el: HTMLElement) => {
   return {
     top: 10, 
diff --git a/docs/props/calendar-configuration/index.html b/docs/props/calendar-configuration/index.html
index 970aef9e..b1db87d7 100644
--- a/docs/props/calendar-configuration/index.html
+++ b/docs/props/calendar-configuration/index.html
@@ -8,12 +8,12 @@
     
     
     
-    
-    
+    
+    
     
-    
-    
-    
+    
+    
+    
     
     
     
@@ -22,7 +22,7 @@
     
   
   
-    
Skip to content

Calendar configuration

Configure calendar options such as behavior or available dates

Info

  • When checking the examples, for boolean prop types, the example will show the behavior opposite of what is set for the default value
  • If you use the component in the browser <script> tag, make sure to pass multi-word props with -, for example, weekNumbers as week-numbers and so on

calendar

Customize the calendar view, filter out weeks, add or remove custom classes

Important

Do not modify date values

  • Type: (weeks: CalendarWeek[]) => CalendarWeek[];
  • Default: null
ts
interface CalendarWeek {
+    
Skip to content

Calendar configuration

Configure calendar options such as behavior or available dates

Info

  • When checking the examples, for boolean prop types, the example will show the behavior opposite of what is set for the default value
  • If you use the component in the browser <script> tag, make sure to pass multi-word props with -, for example, weekNumbers as week-numbers and so on

calendar

Customize the calendar view, filter out weeks, add or remove custom classes

Important

Do not modify date values

  • Type: (weeks: CalendarWeek[]) => CalendarWeek[];
  • Default: null
ts
interface CalendarWeek {
   days: {
     text: number | string; // Value displayed in the calendar day box
     value: Date; // Date that is going to be selected, do not modify
diff --git a/docs/props/formatting/index.html b/docs/props/formatting/index.html
index 091d7b17..4d2f1584 100644
--- a/docs/props/formatting/index.html
+++ b/docs/props/formatting/index.html
@@ -8,12 +8,12 @@
     
     
     
-    
-    
+    
+    
     
-    
-    
-    
+    
+    
+    
     
     
     
@@ -22,7 +22,7 @@
     
   
   
-    
Skip to content

Formatting

Format options for the value displayed in the input or preview

Info

  • If you use the component in the browser <script> tag, make sure to pass multi-word props with -, for example, previewFormat as preview-format and so on

format

Format the value of the date(s) in the input field. Formatting is done automatically via provided string format. However, you can override the default format by providing a custom formatter function

  • Type: string | ((date: Date) => string) | ((dates: Date[]) => string);
  • Default:
    • Single picker: 'MM/dd/yyyy HH:mm'
    • Range picker: 'MM/dd/yyyy HH:mm - MM/dd/yyyy HH:mm'
    • Month picker: 'MM/yyyy'
    • Time picker: 'HH:mm'
    • Time picker range: 'HH:mm - HH:mm'
    • Week picker 'RR-yyyy' | 'ww-yyyy' (depends on week numbering)

Info

If is-24 prop is set to false, hours format will be changed to 'hh:mm aa'

For additional information on how to pass custom string format you can check Unicode tokens

Code Example
vue
<template>
+    
Skip to content

Formatting

Format options for the value displayed in the input or preview

Info

  • If you use the component in the browser <script> tag, make sure to pass multi-word props with -, for example, previewFormat as preview-format and so on

format

Format the value of the date(s) in the input field. Formatting is done automatically via provided string format. However, you can override the default format by providing a custom formatter function

  • Type: string | ((date: Date) => string) | ((dates: Date[]) => string);
  • Default:
    • Single picker: 'MM/dd/yyyy HH:mm'
    • Range picker: 'MM/dd/yyyy HH:mm - MM/dd/yyyy HH:mm'
    • Month picker: 'MM/yyyy'
    • Time picker: 'HH:mm'
    • Time picker range: 'HH:mm - HH:mm'
    • Week picker 'RR-yyyy' | 'ww-yyyy' (depends on week numbering)

Info

If is-24 prop is set to false, hours format will be changed to 'hh:mm aa'

For additional information on how to pass custom string format you can check Unicode tokens

Code Example
vue
<template>
     <VueDatePicker v-model="date" :format="format" />
 </template>
 
diff --git a/docs/props/general-configuration/index.html b/docs/props/general-configuration/index.html
index f75c44d8..df1e3e30 100644
--- a/docs/props/general-configuration/index.html
+++ b/docs/props/general-configuration/index.html
@@ -8,12 +8,12 @@
     
     
     
-    
-    
+    
+    
     
-    
-    
-    
+    
+    
+    
     
     
     
@@ -22,7 +22,7 @@
     
   
   
-    
Skip to content

General configuration

General behavior props configuration

Info

  • When checking the examples, for boolean prop types, the example will show the behavior opposite of what is set for the default value
  • If you use the component in the browser <script> tag, make sure to pass multi-word props with -, for example, monthChangeOnScroll as month-change-on-scroll and so on

uid

Pass an id to the input and menu elements. If provided, you can select menu id as dp-menu-${uid} and input id as dp-input-${uid}

  • Type: string
  • Default: null
Code Example
vue
<template>
+    
Skip to content

General configuration

General behavior props configuration

Info

  • When checking the examples, for boolean prop types, the example will show the behavior opposite of what is set for the default value
  • If you use the component in the browser <script> tag, make sure to pass multi-word props with -, for example, monthChangeOnScroll as month-change-on-scroll and so on

uid

Pass an id to the input and menu elements. If provided, you can select menu id as dp-menu-${uid} and input id as dp-input-${uid}

  • Type: string
  • Default: null
Code Example
vue
<template>
     <VueDatePicker v-model="date" uid="demo" />
 </template>
 
diff --git a/docs/props/keyboard/index.html b/docs/props/keyboard/index.html
index f074f799..0c81285a 100644
--- a/docs/props/keyboard/index.html
+++ b/docs/props/keyboard/index.html
@@ -8,12 +8,12 @@
     
     
     
-    
-    
+    
+    
     
-    
-    
-    
+    
+    
+    
     
     
     
@@ -22,7 +22,7 @@
     
   
   
-    
Skip to content

Keyboard

Configure keyboard actions

Info

  • When checking the examples, for boolean prop types, the example will show the behavior opposite of what is set for the default value
  • If you use the component in the browser <script> tag, make sure to pass multi-word props with -, for example, escClose as esc-close and so on

Info

You can press tab key in the menu, and it will autofocus elements, pressing enter will do a click action like open overlay or select a date.

All keyboard events are enabled by default

esc-close

Esc key closes the menu

  • Type: boolean
  • Default: true
Code Example
vue
<template>
+    
Skip to content

Keyboard

Configure keyboard actions

Info

  • When checking the examples, for boolean prop types, the example will show the behavior opposite of what is set for the default value
  • If you use the component in the browser <script> tag, make sure to pass multi-word props with -, for example, escClose as esc-close and so on

Info

You can press tab key in the menu, and it will autofocus elements, pressing enter will do a click action like open overlay or select a date.

All keyboard events are enabled by default

esc-close

Esc key closes the menu

  • Type: boolean
  • Default: true
Code Example
vue
<template>
     <VueDatePicker v-model="date" :esc-close="false" />
 </template>
 
diff --git a/docs/props/localization/index.html b/docs/props/localization/index.html
index f2c4fec4..3df125fc 100644
--- a/docs/props/localization/index.html
+++ b/docs/props/localization/index.html
@@ -8,12 +8,12 @@
     
     
     
-    
-    
+    
+    
     
-    
-    
-    
+    
+    
+    
     
     
     
@@ -22,7 +22,7 @@
     
   
   
-    
Skip to content

Localization

Localization options and label props

Info

  • If you use the component in the browser <script> tag, make sure to pass multi-word props with -, for example, formatLocale as format-locale and so on

locale

Set datepicker locale. Datepicker will use built in javascript locale formatter to extract month and weekday names

  • Type: string
  • Default: 'en-US'
Code Example
vue
<template>
+    
Skip to content

Localization

Localization options and label props

Info

  • If you use the component in the browser <script> tag, make sure to pass multi-word props with -, for example, formatLocale as format-locale and so on

locale

Set datepicker locale. Datepicker will use built in javascript locale formatter to extract month and weekday names

  • Type: string
  • Default: 'en-US'
Code Example
vue
<template>
     <VueDatePicker v-model="date" locale="de" cancelText="abbrechen" selectText="auswählen" />
 </template>
 
diff --git a/docs/props/look-and-feel/index.html b/docs/props/look-and-feel/index.html
index 0ddb12f6..525f0361 100644
--- a/docs/props/look-and-feel/index.html
+++ b/docs/props/look-and-feel/index.html
@@ -8,12 +8,12 @@
     
     
     
-    
-    
+    
+    
     
-    
-    
-    
+    
+    
+    
     
     
     
@@ -22,7 +22,7 @@
     
   
   
-    
Skip to content

Look and feel

Customization options

Info

  • When checking the examples, for boolean prop types, the example will show the behavior opposite of what is set for the default value
  • If you use the component in the browser <script> tag, make sure to pass multi-word props with -, for example, sixWeeks as six-weeks and so on

transitions

Control transitions inside the menu. You can define your own or disable them. Datepicker uses Vue built in transitions component for transitions control. To configure you own, please check the Vue documentation and provide a transition name in the prop

  • Type: Transitions | boolean
  • Default: true
ts
interface Transitions {
+    
Skip to content

Look and feel

Customization options

Info

  • When checking the examples, for boolean prop types, the example will show the behavior opposite of what is set for the default value
  • If you use the component in the browser <script> tag, make sure to pass multi-word props with -, for example, sixWeeks as six-weeks and so on

transitions

Control transitions inside the menu. You can define your own or disable them. Datepicker uses Vue built in transitions component for transitions control. To configure you own, please check the Vue documentation and provide a transition name in the prop

  • Type: Transitions | boolean
  • Default: true
ts
interface Transitions {
     open?: string; 
     close?: string; 
     next?: string; 
diff --git a/docs/props/modes-configuration/index.html b/docs/props/modes-configuration/index.html
index 8e0d4eae..75bc549b 100644
--- a/docs/props/modes-configuration/index.html
+++ b/docs/props/modes-configuration/index.html
@@ -8,12 +8,12 @@
     
     
     
-    
-    
+    
+    
     
-    
-    
-    
+    
+    
+    
     
     
     
@@ -22,7 +22,7 @@
     
   
   
-    
Skip to content

Modes configuration

Props for configuring and extending the datepicker when using a specific mode

Info

  • If you use the component in the browser <script> tag, make sure to pass multi-word props with -, for example, textInput as text-input and so on

range configuration

Providing configuration object will automatically enable range picker

ts
interface RangeConfig {
+    
Skip to content

Modes configuration

Props for configuring and extending the datepicker when using a specific mode

Info

  • If you use the component in the browser <script> tag, make sure to pass multi-word props with -, for example, textInput as text-input and so on

range configuration

Providing configuration object will automatically enable range picker

ts
interface RangeConfig {
     noDisabledRange?: boolean;
     showLastInRange?: boolean;
     minMaxRawRange?: boolean;
diff --git a/docs/props/modes/index.html b/docs/props/modes/index.html
index 3ee2b344..bb4ee73a 100644
--- a/docs/props/modes/index.html
+++ b/docs/props/modes/index.html
@@ -8,12 +8,12 @@
     
     
     
-    
-    
+    
+    
     
-    
-    
-    
+    
+    
+    
     
     
     
@@ -22,7 +22,7 @@
     
   
   
-    
Skip to content

Modes

Set the default mode for the datepicker

Info

  • When checking the examples, for boolean prop types, the example will show the behavior opposite of what is set for the default value
  • If you use the component in the browser <script> tag, make sure to pass multi-word props with -, for example, multiCalendars as multi-calendars and so on

Info

Depending on the mode, v-model might be different, so make sure to use the proper configuration

range

Range picker mode

  • Type: boolean | RangeConfig
  • Default: false

Info

If the RangeConfig object is provided, range is auto enabled.

For more info about range configuration properties, please refer to range configuration section

Code Example
vue
<template>
+    
Skip to content

Modes

Set the default mode for the datepicker

Info

  • When checking the examples, for boolean prop types, the example will show the behavior opposite of what is set for the default value
  • If you use the component in the browser <script> tag, make sure to pass multi-word props with -, for example, multiCalendars as multi-calendars and so on

Info

Depending on the mode, v-model might be different, so make sure to use the proper configuration

range

Range picker mode

  • Type: boolean | RangeConfig
  • Default: false

Info

If the RangeConfig object is provided, range is auto enabled.

For more info about range configuration properties, please refer to range configuration section

Code Example
vue
<template>
     <VueDatePicker v-model="date" range />
 </template>
 
diff --git a/docs/props/positioning/index.html b/docs/props/positioning/index.html
index 47a6ffc5..57c0c8c1 100644
--- a/docs/props/positioning/index.html
+++ b/docs/props/positioning/index.html
@@ -8,12 +8,12 @@
     
     
     
-    
-    
+    
+    
     
-    
-    
-    
+    
+    
+    
     
     
     
@@ -22,7 +22,7 @@
     
   
   
-    
Skip to content

Positioning

Configure datepicker menu positioning

Info

  • When checking the examples, for boolean prop types, the example will show the behavior opposite of what is set for the default value
  • If you use the component in the browser <script> tag, make sure to pass multi-word props with -, for example, autoPosition as auto-position and so on

position

Datepicker menu position

  • Type: 'left' | 'center' | 'right'
  • Default: 'center'
Code Example
vue
<template>
+    
Skip to content

Positioning

Configure datepicker menu positioning

Info

  • When checking the examples, for boolean prop types, the example will show the behavior opposite of what is set for the default value
  • If you use the component in the browser <script> tag, make sure to pass multi-word props with -, for example, autoPosition as auto-position and so on

position

Datepicker menu position

  • Type: 'left' | 'center' | 'right'
  • Default: 'center'
Code Example
vue
<template>
     <VueDatePicker v-model="date" position="left" />
 </template>
 
diff --git a/docs/props/time-picker-configuration/index.html b/docs/props/time-picker-configuration/index.html
index d795fec1..52c58083 100644
--- a/docs/props/time-picker-configuration/index.html
+++ b/docs/props/time-picker-configuration/index.html
@@ -8,12 +8,12 @@
     
     
     
-    
-    
+    
+    
     
-    
-    
-    
+    
+    
+    
     
     
     
@@ -22,7 +22,7 @@
     
   
   
-    
Skip to content

Time picker configuration

Configuration properties for the time picker, applicable whether it is used standalone or with the datepicker.

Info

  • When checking the examples, for boolean prop types, the example will show the behavior opposite of what is set for the default value
  • If you use the component in the browser <script> tag, make sure to pass multi-word props with -, for example, enableTimePicker as enable-time-picker and so on

time-picker-inline

Configures the time picker to display under the calendar rather than opening it as an overlay.

  • Type: boolean
  • Default: false
Code Example
vue
<template>
+    
Skip to content

Time picker configuration

Configuration properties for the time picker, applicable whether it is used standalone or with the datepicker.

Info

  • When checking the examples, for boolean prop types, the example will show the behavior opposite of what is set for the default value
  • If you use the component in the browser <script> tag, make sure to pass multi-word props with -, for example, enableTimePicker as enable-time-picker and so on

time-picker-inline

Configures the time picker to display under the calendar rather than opening it as an overlay.

  • Type: boolean
  • Default: false
Code Example
vue
<template>
     <VueDatePicker v-model="date" time-picker-inline />
 </template>
 
diff --git a/docs/slots/components/index.html b/docs/slots/components/index.html
index 33bcc6a8..3d7eea6d 100644
--- a/docs/slots/components/index.html
+++ b/docs/slots/components/index.html
@@ -8,12 +8,12 @@
     
     
     
-    
-    
+    
+    
     
-    
-    
-    
+    
+    
+    
     
     
     
@@ -22,7 +22,7 @@
     
   
   
-    
Skip to content

Component slots

Replace the built-in components with custom implementation

month-year

Create and use a custom component implementation in the header for month/year select

Info

When using this slot, the overlays will not be available, it is up to you to create them if you want

Warning

Depending on the used mode, slot will provide a different set of props

Exposed props:

Date picker

ts
interface DefaultSelect {
+    
Skip to content

Component slots

Replace the built-in components with custom implementation

month-year

Create and use a custom component implementation in the header for month/year select

Info

When using this slot, the overlays will not be available, it is up to you to create them if you want

Warning

Depending on the used mode, slot will provide a different set of props

Exposed props:

Date picker

ts
interface DefaultSelect {
   value: number;
   text: string;
   className?: Record<string, boolean>;
diff --git a/docs/slots/content/index.html b/docs/slots/content/index.html
index 5dfe78ab..1be4dfad 100644
--- a/docs/slots/content/index.html
+++ b/docs/slots/content/index.html
@@ -8,12 +8,12 @@
     
     
     
-    
-    
+    
+    
     
-    
-    
-    
+    
+    
+    
     
     
     
@@ -22,7 +22,7 @@
     
   
   
-    
Skip to content

Content

Customize parts in the datepicker menu

calendar-header

Replace the content in the calendar header cells

Available props are:

  • day: Displayed value in the header cell
  • index: Column index it is rendered by
Code Example
vue
<template>
+    
Skip to content

Content

Customize parts in the datepicker menu

calendar-header

Replace the content in the calendar header cells

Available props are:

  • day: Displayed value in the header cell
  • index: Column index it is rendered by
Code Example
vue
<template>
     <VueDatePicker v-model="date">
       <template #calendar-header="{ index, day }">
         <div :class="index === 5 || index === 6 ? 'red-color' : ''">
diff --git a/docs/slots/icons/index.html b/docs/slots/icons/index.html
index dc2137d8..19199aa3 100644
--- a/docs/slots/icons/index.html
+++ b/docs/slots/icons/index.html
@@ -8,12 +8,12 @@
     
     
     
-    
-    
+    
+    
     
-    
-    
-    
+    
+    
+    
     
     
     
@@ -22,7 +22,7 @@
     
   
   
-    
Skip to content

Icons

Change datepicker icons

input-icon

This slot replaces the calendar icon in the input element with your custom element

logo
Code Example
vue
<template>
+    
Skip to content

Icons

Change datepicker icons

input-icon

This slot replaces the calendar icon in the input element with your custom element

logo
Code Example
vue
<template>
     <VueDatePicker v-model="date">
         <template #input-icon>
             <img class="input-slot-image" src="/logo.png"/>
diff --git a/docs/slots/overlay/index.html b/docs/slots/overlay/index.html
index 221d8f5e..72caa14c 100644
--- a/docs/slots/overlay/index.html
+++ b/docs/slots/overlay/index.html
@@ -8,12 +8,12 @@
     
     
     
-    
-    
+    
+    
     
-    
-    
-    
+    
+    
+    
     
     
     
@@ -22,7 +22,7 @@
     
   
   
-    
Skip to content

Overlay

Customize overlay and overlay triggers

time-picker-overlay

This slot replaces the full overlay in the timepicker

Several props are available:

  • range: Value passed from general props
  • hours: Selected hours value
  • minutes: Selected minutes value
  • seconds: Selected seconds value
  • setHours: Function to call to set hours, (hours: number | number[]) => void
  • setMinutes: Function to call to set minutes, (minutes: number | number[]) => void
  • setSeconds: Function to call to set seconds, (seconds: number | number[]) => void

Info

If you are using range mode, make sure to pass number arrays in functions

Code Example
vue
<template>
+    
Skip to content

Overlay

Customize overlay and overlay triggers

time-picker-overlay

This slot replaces the full overlay in the timepicker

Several props are available:

  • range: Value passed from general props
  • hours: Selected hours value
  • minutes: Selected minutes value
  • seconds: Selected seconds value
  • setHours: Function to call to set hours, (hours: number | number[]) => void
  • setMinutes: Function to call to set minutes, (minutes: number | number[]) => void
  • setSeconds: Function to call to set seconds, (seconds: number | number[]) => void

Info

If you are using range mode, make sure to pass number arrays in functions

Code Example
vue
<template>
     <VueDatePicker v-model="date">
       <template #time-picker-overlay="{ hours, minutes, setHours, setMinutes }">
         <div class="time-picker-overlay">
diff --git a/docs/slots/trigger-and-input/index.html b/docs/slots/trigger-and-input/index.html
index 475aa69c..2daee72c 100644
--- a/docs/slots/trigger-and-input/index.html
+++ b/docs/slots/trigger-and-input/index.html
@@ -8,12 +8,12 @@
     
     
     
-    
-    
+    
+    
     
-    
-    
-    
+    
+    
+    
     
     
     
@@ -22,7 +22,7 @@
     
   
   
-    
Skip to content

Trigger and input

Use custom input or trigger element

trigger

This slot replaces the input element with your custom element

This is some custom clickable text that will open datepicker

Code Example
vue
<template>
+    
Skip to content

Trigger and input

Use custom input or trigger element

trigger

This slot replaces the input element with your custom element

This is some custom clickable text that will open datepicker

Code Example
vue
<template>
     <VueDatePicker v-model="date">
         <template #trigger>
             <p class="clickable-text">This is some custom clickable text that will open the datepicker</p>