@sysvale/cuida 3.0.0-beta.57 → 3.0.0-beta.58

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2,7 +2,7 @@
2
2
 
3
3
  `,'Disable the "computeStyles" modifier\'s `adaptive` option to allow',"for smooth transitions, or remove these properties from the CSS","transition declaration on the popper element if only transitioning","opacity or background-color for example.",`
4
4
 
5
- `,"We recommend using the popper element as a wrapper around an inner","element that can have any CSS property transitioned for animations."].join(" "))}var v={placement:ha(t.placement),variation:Os(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,b0(Object.assign({},v,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:c,roundOffsets:f})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,b0(Object.assign({},v,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:f})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}const b4={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:_4,data:{}};var ll={passive:!0};function w4(e){var t=e.state,n=e.instance,i=e.options,o=i.scroll,l=o===void 0?!0:o,c=i.resize,d=c===void 0?!0:c,f=Wn(t.elements.popper),m=[].concat(t.scrollParents.reference,t.scrollParents.popper);return l&&m.forEach(function(v){v.addEventListener("scroll",n.update,ll)}),d&&f.addEventListener("resize",n.update,ll),function(){l&&m.forEach(function(v){v.removeEventListener("scroll",n.update,ll)}),d&&f.removeEventListener("resize",n.update,ll)}}const S4={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:w4,data:{}};var C4={left:"right",right:"left",bottom:"top",top:"bottom"};function cl(e){return e.replace(/left|right|bottom|top/g,function(t){return C4[t]})}var O4={start:"end",end:"start"};function w0(e){return e.replace(/start|end/g,function(t){return O4[t]})}function o1(e){var t=Wn(e),n=t.pageXOffset,i=t.pageYOffset;return{scrollLeft:n,scrollTop:i}}function l1(e){return Cs(fi(e)).left+o1(e).scrollLeft}function k4(e,t){var n=Wn(e),i=fi(e),o=n.visualViewport,l=i.clientWidth,c=i.clientHeight,d=0,f=0;if(o){l=o.width,c=o.height;var m=p0();(m||!m&&t==="fixed")&&(d=o.offsetLeft,f=o.offsetTop)}return{width:l,height:c,x:d+l1(e),y:f}}function x4(e){var t,n=fi(e),i=o1(e),o=(t=e.ownerDocument)==null?void 0:t.body,l=Hi(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),c=Hi(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),d=-i.scrollLeft+l1(e),f=-i.scrollTop;return pa(o||n).direction==="rtl"&&(d+=Hi(n.clientWidth,o?o.clientWidth:0)-l),{width:l,height:c,x:d,y:f}}function c1(e){var t=pa(e),n=t.overflow,i=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+i)}function S0(e){return["html","body","#document"].indexOf(Ia(e))>=0?e.ownerDocument.body:On(e)&&c1(e)?e:S0(ol(e))}function zr(e,t){var n;t===void 0&&(t=[]);var i=S0(e),o=i===((n=e.ownerDocument)==null?void 0:n.body),l=Wn(i),c=o?[l].concat(l.visualViewport||[],c1(i)?i:[]):i,d=t.concat(c);return o?d:d.concat(zr(ol(c)))}function u1(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function M4(e,t){var n=Cs(e,!1,t==="fixed");return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}function C0(e,t,n){return t===u0?u1(k4(e,n)):Ri(t)?M4(t,n):u1(x4(fi(e)))}function E4(e){var t=zr(ol(e)),n=["absolute","fixed"].indexOf(pa(e).position)>=0,i=n&&On(e)?Br(e):e;return Ri(i)?t.filter(function(o){return Ri(o)&&m0(o,i)&&Ia(o)!=="body"}):[]}function D4(e,t,n,i){var o=t==="clippingParents"?E4(e):[].concat(t),l=[].concat(o,[n]),c=l[0],d=l.reduce(function(f,m){var v=C0(e,m,i);return f.top=Hi(v.top,f.top),f.right=rl(v.right,f.right),f.bottom=rl(v.bottom,f.bottom),f.left=Hi(v.left,f.left),f},C0(e,c,i));return d.width=d.right-d.left,d.height=d.bottom-d.top,d.x=d.left,d.y=d.top,d}function O0(e){var t=e.reference,n=e.element,i=e.placement,o=i?ha(i):null,l=i?Os(i):null,c=t.x+t.width/2-n.width/2,d=t.y+t.height/2-n.height/2,f;switch(o){case pn:f={x:c,y:t.y-n.height};break;case Hn:f={x:c,y:t.y+t.height};break;case Yn:f={x:t.x+t.width,y:d};break;case mn:f={x:t.x-n.width,y:d};break;default:f={x:t.x,y:t.y}}var m=o?r1(o):null;if(m!=null){var v=m==="y"?"height":"width";switch(l){case ws:f[m]=f[m]-(t[v]/2-n[v]/2);break;case Vr:f[m]=f[m]+(t[v]/2-n[v]/2);break}}return f}function Pr(e,t){t===void 0&&(t={});var n=t,i=n.placement,o=i===void 0?e.placement:i,l=n.strategy,c=l===void 0?e.strategy:l,d=n.boundary,f=d===void 0?Q3:d,m=n.rootBoundary,v=m===void 0?u0:m,w=n.elementContext,x=w===void 0?Ar:w,C=n.altBoundary,I=C===void 0?!1:C,A=n.padding,T=A===void 0?0:A,R=y0(typeof T!="number"?T:_0(T,Ir)),H=x===Ar?q3:Ar,F=e.rects.popper,S=e.elements[I?H:x],Y=D4(Ri(S)?S:S.contextElement||fi(e.elements.popper),f,v,c),V=Cs(e.elements.reference),X=O0({reference:V,element:F,strategy:"absolute",placement:o}),G=u1(Object.assign({},F,X)),Q=x===Ar?G:V,oe={top:Y.top-Q.top+R.top,bottom:Q.bottom-Y.bottom+R.bottom,left:Y.left-Q.left+R.left,right:Q.right-Y.right+R.right},ae=e.modifiersData.offset;if(x===Ar&&ae){var le=ae[o];Object.keys(oe).forEach(function(ee){var Se=[Yn,Hn].indexOf(ee)>=0?1:-1,xe=[pn,Hn].indexOf(ee)>=0?"y":"x";oe[ee]+=le[xe]*Se})}return oe}function T4(e,t){t===void 0&&(t={});var n=t,i=n.placement,o=n.boundary,l=n.rootBoundary,c=n.padding,d=n.flipVariations,f=n.allowedAutoPlacements,m=f===void 0?f0:f,v=Os(i),w=v?d?d0:d0.filter(function(I){return Os(I)===v}):Ir,x=w.filter(function(I){return m.indexOf(I)>=0});x.length===0&&(x=w,process.env.NODE_ENV!=="production"&&console.error(["Popper: The `allowedAutoPlacements` option did not allow any","placements. Ensure the `placement` option matches the variation","of the allowed placements.",'For example, "auto" cannot be used to allow "bottom-start".','Use "auto-start" instead.'].join(" ")));var C=x.reduce(function(I,A){return I[A]=Pr(e,{placement:A,boundary:o,rootBoundary:l,padding:c})[ha(A)],I},{});return Object.keys(C).sort(function(I,A){return C[I]-C[A]})}function I4(e){if(ha(e)===sl)return[];var t=cl(e);return[w0(e),t,w0(t)]}function V4(e){var t=e.state,n=e.options,i=e.name;if(!t.modifiersData[i]._skip){for(var o=n.mainAxis,l=o===void 0?!0:o,c=n.altAxis,d=c===void 0?!0:c,f=n.fallbackPlacements,m=n.padding,v=n.boundary,w=n.rootBoundary,x=n.altBoundary,C=n.flipVariations,I=C===void 0?!0:C,A=n.allowedAutoPlacements,T=t.options.placement,R=ha(T),H=R===T,F=f||(H||!I?[cl(T)]:I4(T)),S=[T].concat(F).reduce(function(he,K){return he.concat(ha(K)===sl?T4(t,{placement:K,boundary:v,rootBoundary:w,padding:m,flipVariations:I,allowedAutoPlacements:A}):K)},[]),Y=t.rects.reference,V=t.rects.popper,X=new Map,G=!0,Q=S[0],oe=0;oe<S.length;oe++){var ae=S[oe],le=ha(ae),ee=Os(ae)===ws,Se=[pn,Hn].indexOf(le)>=0,xe=Se?"width":"height",Be=Pr(t,{placement:ae,boundary:v,rootBoundary:w,altBoundary:x,padding:m}),we=Se?ee?Yn:mn:ee?Hn:pn;Y[xe]>V[xe]&&(we=cl(we));var ye=cl(we),Re=[];if(l&&Re.push(Be[le]<=0),d&&Re.push(Be[we]<=0,Be[ye]<=0),Re.every(function(he){return he})){Q=ae,G=!1;break}X.set(ae,Re)}if(G)for(var ce=I?3:1,N=function(K){var me=S.find(function(Ce){var ne=X.get(Ce);if(ne)return ne.slice(0,K).every(function(Te){return Te})});if(me)return Q=me,"break"},J=ce;J>0;J--){var ie=N(J);if(ie==="break")break}t.placement!==Q&&(t.modifiersData[i]._skip=!0,t.placement=Q,t.reset=!0)}}const A4={name:"flip",enabled:!0,phase:"main",fn:V4,requiresIfExists:["offset"],data:{_skip:!1}};function k0(e,t,n){return n===void 0&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function x0(e){return[pn,Yn,Hn,mn].some(function(t){return e[t]>=0})}function B4(e){var t=e.state,n=e.name,i=t.rects.reference,o=t.rects.popper,l=t.modifiersData.preventOverflow,c=Pr(t,{elementContext:"reference"}),d=Pr(t,{altBoundary:!0}),f=k0(c,i),m=k0(d,o,l),v=x0(f),w=x0(m);t.modifiersData[n]={referenceClippingOffsets:f,popperEscapeOffsets:m,isReferenceHidden:v,hasPopperEscaped:w},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":v,"data-popper-escaped":w})}const N4={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:B4};function z4(e,t,n){var i=ha(e),o=[mn,pn].indexOf(i)>=0?-1:1,l=typeof n=="function"?n(Object.assign({},t,{placement:e})):n,c=l[0],d=l[1];return c=c||0,d=(d||0)*o,[mn,Yn].indexOf(i)>=0?{x:d,y:c}:{x:c,y:d}}function P4(e){var t=e.state,n=e.options,i=e.name,o=n.offset,l=o===void 0?[0,0]:o,c=f0.reduce(function(v,w){return v[w]=z4(w,t.rects,l),v},{}),d=c[t.placement],f=d.x,m=d.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=f,t.modifiersData.popperOffsets.y+=m),t.modifiersData[i]=c}const L4={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:P4};function F4(e){var t=e.state,n=e.name;t.modifiersData[n]=O0({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}const R4={name:"popperOffsets",enabled:!0,phase:"read",fn:F4,data:{}};function H4(e){return e==="x"?"y":"x"}function Y4(e){var t=e.state,n=e.options,i=e.name,o=n.mainAxis,l=o===void 0?!0:o,c=n.altAxis,d=c===void 0?!1:c,f=n.boundary,m=n.rootBoundary,v=n.altBoundary,w=n.padding,x=n.tether,C=x===void 0?!0:x,I=n.tetherOffset,A=I===void 0?0:I,T=Pr(t,{boundary:f,rootBoundary:m,padding:w,altBoundary:v}),R=ha(t.placement),H=Os(t.placement),F=!H,S=r1(R),Y=H4(S),V=t.modifiersData.popperOffsets,X=t.rects.reference,G=t.rects.popper,Q=typeof A=="function"?A(Object.assign({},t.rects,{placement:t.placement})):A,oe=typeof Q=="number"?{mainAxis:Q,altAxis:Q}:Object.assign({mainAxis:0,altAxis:0},Q),ae=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,le={x:0,y:0};if(!!V){if(l){var ee,Se=S==="y"?pn:mn,xe=S==="y"?Hn:Yn,Be=S==="y"?"height":"width",we=V[S],ye=we+T[Se],Re=we-T[xe],ce=C?-G[Be]/2:0,N=H===ws?X[Be]:G[Be],J=H===ws?-G[Be]:-X[Be],ie=t.elements.arrow,he=C&&ie?s1(ie):{width:0,height:0},K=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:g0(),me=K[Se],Ce=K[xe],ne=Nr(0,X[Be],he[Be]),Te=F?X[Be]/2-ce-ne-me-oe.mainAxis:N-ne-me-oe.mainAxis,Ne=F?-X[Be]/2+ce+ne+Ce+oe.mainAxis:J+ne+Ce+oe.mainAxis,Ie=t.elements.arrow&&Br(t.elements.arrow),Ve=Ie?S==="y"?Ie.clientTop||0:Ie.clientLeft||0:0,He=(ee=ae==null?void 0:ae[S])!=null?ee:0,it=we+Te-He-Ve,ot=we+Ne-He,Xe=Nr(C?rl(ye,it):ye,we,C?Hi(Re,ot):Re);V[S]=Xe,le[S]=Xe-we}if(d){var ke,ft=S==="x"?pn:mn,At=S==="x"?Hn:Yn,_t=V[Y],ht=Y==="y"?"height":"width",Ut=_t+T[ft],Bt=_t-T[At],Nt=[pn,mn].indexOf(R)!==-1,zt=(ke=ae==null?void 0:ae[Y])!=null?ke:0,ea=Nt?Ut:_t-X[ht]-G[ht]-zt+oe.altAxis,Pt=Nt?_t+X[ht]+G[ht]-zt-oe.altAxis:Bt,Z=C&&Nt?f4(ea,_t,Pt):Nr(C?ea:Ut,_t,C?Pt:Bt);V[Y]=Z,le[Y]=Z-_t}t.modifiersData[i]=le}}const W4={name:"preventOverflow",enabled:!0,phase:"main",fn:Y4,requiresIfExists:["offset"]};function U4(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function j4(e){return e===Wn(e)||!On(e)?o1(e):U4(e)}function G4(e){var t=e.getBoundingClientRect(),n=Ss(t.width)/e.offsetWidth||1,i=Ss(t.height)/e.offsetHeight||1;return n!==1||i!==1}function K4(e,t,n){n===void 0&&(n=!1);var i=On(t),o=On(t)&&G4(t),l=fi(t),c=Cs(e,o,n),d={scrollLeft:0,scrollTop:0},f={x:0,y:0};return(i||!i&&!n)&&((Ia(t)!=="body"||c1(l))&&(d=j4(t)),On(t)?(f=Cs(t,!0),f.x+=t.clientLeft,f.y+=t.clientTop):l&&(f.x=l1(l))),{x:c.left+d.scrollLeft-f.x,y:c.top+d.scrollTop-f.y,width:c.width,height:c.height}}function Z4(e){var t=new Map,n=new Set,i=[];e.forEach(function(l){t.set(l.name,l)});function o(l){n.add(l.name);var c=[].concat(l.requires||[],l.requiresIfExists||[]);c.forEach(function(d){if(!n.has(d)){var f=t.get(d);f&&o(f)}}),i.push(l)}return e.forEach(function(l){n.has(l.name)||o(l)}),i}function J4(e){var t=Z4(e);return n1.reduce(function(n,i){return n.concat(t.filter(function(o){return o.phase===i}))},[])}function X4(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}function hi(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];return[].concat(n).reduce(function(o,l){return o.replace(/%s/,l)},e)}var Yi='Popper: modifier "%s" provided an invalid %s property, expected %s but got %s',Q4='Popper: modifier "%s" requires "%s", but "%s" modifier is not available',M0=["name","enabled","phase","fn","effect","requires","options"];function q4(e){e.forEach(function(t){[].concat(Object.keys(t),M0).filter(function(n,i,o){return o.indexOf(n)===i}).forEach(function(n){switch(n){case"name":typeof t.name!="string"&&console.error(hi(Yi,String(t.name),'"name"','"string"','"'+String(t.name)+'"'));break;case"enabled":typeof t.enabled!="boolean"&&console.error(hi(Yi,t.name,'"enabled"','"boolean"','"'+String(t.enabled)+'"'));break;case"phase":n1.indexOf(t.phase)<0&&console.error(hi(Yi,t.name,'"phase"',"either "+n1.join(", "),'"'+String(t.phase)+'"'));break;case"fn":typeof t.fn!="function"&&console.error(hi(Yi,t.name,'"fn"','"function"','"'+String(t.fn)+'"'));break;case"effect":t.effect!=null&&typeof t.effect!="function"&&console.error(hi(Yi,t.name,'"effect"','"function"','"'+String(t.fn)+'"'));break;case"requires":t.requires!=null&&!Array.isArray(t.requires)&&console.error(hi(Yi,t.name,'"requires"','"array"','"'+String(t.requires)+'"'));break;case"requiresIfExists":Array.isArray(t.requiresIfExists)||console.error(hi(Yi,t.name,'"requiresIfExists"','"array"','"'+String(t.requiresIfExists)+'"'));break;case"options":case"data":break;default:console.error('PopperJS: an invalid property has been provided to the "'+t.name+'" modifier, valid properties are '+M0.map(function(i){return'"'+i+'"'}).join(", ")+'; but "'+n+'" was provided.')}t.requires&&t.requires.forEach(function(i){e.find(function(o){return o.name===i})==null&&console.error(hi(Q4,String(t.name),i,i))})})})}function $4(e,t){var n=new Set;return e.filter(function(i){var o=t(i);if(!n.has(o))return n.add(o),!0})}function e5(e){var t=e.reduce(function(n,i){var o=n[i.name];return n[i.name]=o?Object.assign({},o,i,{options:Object.assign({},o.options,i.options),data:Object.assign({},o.data,i.data)}):i,n},{});return Object.keys(t).map(function(n){return t[n]})}var E0="Popper: Invalid reference or popper argument provided. They must be either a DOM element or virtual element.",t5="Popper: An infinite loop in the modifiers cycle has been detected! The cycle has been interrupted to prevent a browser crash.",D0={placement:"bottom",modifiers:[],strategy:"absolute"};function T0(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some(function(i){return!(i&&typeof i.getBoundingClientRect=="function")})}function n5(e){e===void 0&&(e={});var t=e,n=t.defaultModifiers,i=n===void 0?[]:n,o=t.defaultOptions,l=o===void 0?D0:o;return function(d,f,m){m===void 0&&(m=l);var v={placement:"bottom",orderedModifiers:[],options:Object.assign({},D0,l),modifiersData:{},elements:{reference:d,popper:f},attributes:{},styles:{}},w=[],x=!1,C={state:v,setOptions:function(R){var H=typeof R=="function"?R(v.options):R;A(),v.options=Object.assign({},l,v.options,H),v.scrollParents={reference:Ri(d)?zr(d):d.contextElement?zr(d.contextElement):[],popper:zr(f)};var F=J4(e5([].concat(i,v.options.modifiers)));if(v.orderedModifiers=F.filter(function(ae){return ae.enabled}),process.env.NODE_ENV!=="production"){var S=$4([].concat(F,v.options.modifiers),function(ae){var le=ae.name;return le});if(q4(S),ha(v.options.placement)===sl){var Y=v.orderedModifiers.find(function(ae){var le=ae.name;return le==="flip"});Y||console.error(['Popper: "auto" placements require the "flip" modifier be',"present and enabled to work."].join(" "))}var V=pa(f),X=V.marginTop,G=V.marginRight,Q=V.marginBottom,oe=V.marginLeft;[X,G,Q,oe].some(function(ae){return parseFloat(ae)})&&console.warn(['Popper: CSS "margin" styles cannot be used to apply padding',"between the popper and its reference element or boundary.","To replicate margin, use the `offset` modifier, as well as","the `padding` option in the `preventOverflow` and `flip`","modifiers."].join(" "))}return I(),C.update()},forceUpdate:function(){if(!x){var R=v.elements,H=R.reference,F=R.popper;if(!T0(H,F)){process.env.NODE_ENV!=="production"&&console.error(E0);return}v.rects={reference:K4(H,Br(F),v.options.strategy==="fixed"),popper:s1(F)},v.reset=!1,v.placement=v.options.placement,v.orderedModifiers.forEach(function(ae){return v.modifiersData[ae.name]=Object.assign({},ae.data)});for(var S=0,Y=0;Y<v.orderedModifiers.length;Y++){if(process.env.NODE_ENV!=="production"&&(S+=1,S>100)){console.error(t5);break}if(v.reset===!0){v.reset=!1,Y=-1;continue}var V=v.orderedModifiers[Y],X=V.fn,G=V.options,Q=G===void 0?{}:G,oe=V.name;typeof X=="function"&&(v=X({state:v,options:Q,name:oe,instance:C})||v)}}},update:X4(function(){return new Promise(function(T){C.forceUpdate(),T(v)})}),destroy:function(){A(),x=!0}};if(!T0(d,f))return process.env.NODE_ENV!=="production"&&console.error(E0),C;C.setOptions(m).then(function(T){!x&&m.onFirstUpdate&&m.onFirstUpdate(T)});function I(){v.orderedModifiers.forEach(function(T){var R=T.name,H=T.options,F=H===void 0?{}:H,S=T.effect;if(typeof S=="function"){var Y=S({state:v,name:R,instance:C,options:F}),V=function(){};w.push(Y||V)}})}function A(){w.forEach(function(T){return T()}),w=[]}return C}}var a5=[S4,R4,b4,h0,L4,A4,W4,v4,N4],d1=n5({defaultModifiers:a5});const LQ="",f1={components:{CdsScrollable:l0},directives:{"on-click-outside":il.directive},props:{modelValue:{type:Boolean,default:!1},width:{type:[String,Number],default:250},height:{type:[String,Number],default:200},targetId:{type:String,default:""},rightAligned:{type:Boolean,default:!1},verticalFluid:{type:Boolean,default:!1}},data(){return{target:"",popover:"",popperInstance:null}},computed:{variationPlacement(){return this.rightAligned?"end":"start"},popoverWidth(){return`${this.width}px`},popoverHeight(){return this.verticalFluid?"fit-content":`${this.height}px`}},watch:{modelValue(e){e?this.show():this.hide()},targetId(e){this.setPopper(e)}},mounted(){this.setPopper(this.targetId)},methods:{setPopper(e){this.target=document.querySelector(`[id='${e}']`),this.popover=document.querySelector("#cds-popover"),this.popperInstance=d1(this.target,this.popover,{placement:`bottom-${this.variationPlacement}`,modifiers:[{name:"offset",options:{offset:[0,8]}},{name:"flip",options:{fallbackPlacements:[`top-${this.variationPlacement}`]}}]})},show(){this.popover.setAttribute("data-show",""),this.popperInstance.setOptions(e=>({...e,modifiers:[...e.modifiers,{name:"eventListeners",enabled:!0}]})),this.$emit("update:modelValue",!0),this.popperInstance.update()},hide(){this.popover.removeAttribute("data-show"),this.popperInstance.setOptions(e=>({...e,modifiers:[...e.modifiers,{name:"eventListeners",enabled:!1}]})),this.$emit("update:modelValue",!1)}}},I0=()=>{s.useCssVars(e=>({f8b3d3ca:e.popoverHeight,"065b8b5c":e.popoverWidth}))},V0=f1.setup;f1.setup=V0?(e,t)=>(I0(),V0(e,t)):I0;const i5=f1,s5={id:"cds-popover",class:"popover"};function r5(e,t,n,i,o,l){const c=s.resolveComponent("cds-scrollable"),d=s.resolveDirective("on-click-outside");return s.withDirectives((s.openBlock(),s.createElementBlock("div",s5,[n.verticalFluid?s.renderSlot(e.$slots,"default",{key:1},void 0,!0):(s.openBlock(),s.createBlock(c,{key:0,"max-height":`${l.popoverHeight}`},{default:s.withCtx(()=>[s.renderSlot(e.$slots,"default",{},void 0,!0)]),_:3},8,["max-height"]))])),[[d,l.hide]])}const A0=re(i5,[["render",r5],["__scopeId","data-v-9cf65dd6"]]),FQ="",o5={components:{CdsChevron:Tr,CdsClickable:bs,CdsPopover:A0},props:{variant:{type:String,default:"green"},size:{type:String,default:"md"},src:{type:String,default:""},initials:{type:String,default:null},name:{type:String,default:null},clickable:{type:Boolean,default:!1}},data(){return{showPopover:!1}},computed:{computedInitials(){return this.initials?this.initials:this.name?this.name.replace(/(\S+)(\s*)/gi,e=>e[0].toUpperCase()).slice(0,2):"UND"}},methods:{toggleDropdown(){!this.clickable||(this.showPopover=!this.showPopover)}}},l5={class:"avatar__container"},c5=["src","alt"];function u5(e,t,n,i,o,l){const c=s.resolveComponent("cds-chevron"),d=s.resolveComponent("cds-popover"),f=s.resolveComponent("cds-clickable");return s.openBlock(),s.createBlock(f,{id:"avatar-dropdown",clickable:n.clickable,onClick:l.toggleDropdown},{default:s.withCtx(()=>[s.createElementVNode("div",l5,[s.createElementVNode("div",{class:s.normalizeClass(`avatar__container--${n.variant} avatar__container--${n.size}`)},[n.src?(s.openBlock(),s.createElementBlock("img",{key:1,src:n.src,alt:n.name,class:s.normalizeClass(`avatar__image--${n.size}`)},null,10,c5)):(s.openBlock(),s.createElementBlock("span",{key:0,class:s.normalizeClass(`avatar__initials--${n.size}`)},s.toDisplayString(l.computedInitials),3))],2),n.clickable?(s.openBlock(),s.createBlock(c,{key:0,size:"sm",class:"avatar__chevron",direction:"bottom"})):s.createCommentVNode("",!0)]),s.createVNode(d,{modelValue:o.showPopover,"onUpdate:modelValue":t[0]||(t[0]=m=>o.showPopover=m),"target-id":"avatar-dropdown",width:"180","right-aligned":"","vertical-fluid":""},{default:s.withCtx(()=>[s.renderSlot(e.$slots,"dropdown-content")]),_:3},8,["modelValue"])]),_:3},8,["clickable","onClick"])}const B0=re(o5,[["render",u5]]),RQ="",h1={components:{CdsIcon:Dt,CdsAvatar:B0,CdsDivider:al,CdsClickable:bs},props:{hideSettings:{type:Boolean,default:!1},hideHelp:{type:Boolean,default:!1},hideNotification:{type:Boolean,default:!1},hideAppSwitcher:{type:Boolean,default:!1},hideLogout:{type:Boolean,default:!1},sysvaleBrand:{type:Boolean,default:!1},csBrand:{type:Boolean,default:!1},userName:{type:String,default:null},userDescription:{type:String,default:null},clickable:{type:Boolean,default:!1}},computed:{hasAppSlot(){return Object.keys(this.$slots).some(e=>e==="app-info")},hasUserInfoSlot(){return Object.keys(this.$slots).some(e=>e==="user-info")},gridTemplateColumnsResolver(){return this.hasAppSlot?"1fr 1fr 1fr":"1fr 1fr"},gridTemplateAreasResolver(){return this.hasAppSlot?"'app logo icons'":"'logo icons'"},logoAlignmentResolver(){return this.hasAppSlot?"center":"flex-start"}},methods:{handleClick(e){this.$emit(`${e}-click`,!0)}}},N0=()=>{s.useCssVars(e=>({"244900c8":e.gridTemplateAreasResolver,"5097391f":e.gridTemplateColumnsResolver,a82bbc8c:e.logoAlignmentResolver}))},z0=h1.setup;h1.setup=z0?(e,t)=>(N0(),z0(e,t)):N0;const d5=h1,f5={class:"app-bar__container"},h5={key:0,class:"app-bar__logo--cs",src:"https://framerusercontent.com/images/LqVj4DBbWvH0zr04qwYMlSPvEBY.svg",alt:"logo do Cidade Saud\xE1vel"},p5={key:1,class:"app-bar__logo--sv",src:"https://framerusercontent.com/images/djNYjj5IdpsZL50hF8HEDt5Wbg.svg",alt:"logo da Sysvale"},m5={class:"app-bar__icons-grid"},v5={key:4,class:"user-info__avatar-container"},g5={class:"user-info__container"},y5={class:"user-info__name"},_5={class:"user-info__description"},b5={key:5,class:"app-switcher__container"},w5={key:2,class:"app-switcher"};function S5(e,t,n,i,o,l){const c=s.resolveComponent("cds-icon"),d=s.resolveComponent("cds-clickable"),f=s.resolveComponent("cds-avatar"),m=s.resolveComponent("cds-divider");return s.openBlock(),s.createElementBlock("div",f5,[n.csBrand?(s.openBlock(),s.createElementBlock("img",h5)):n.sysvaleBrand?(s.openBlock(),s.createElementBlock("img",p5)):s.createCommentVNode("",!0),s.renderSlot(e.$slots,"brand",{class:"app-bar__logo"}),s.createElementVNode("div",m5,[n.hideNotification?s.createCommentVNode("",!0):(s.openBlock(),s.createBlock(d,{key:0,clickable:"",onClick:t[0]||(t[0]=v=>l.handleClick("notification"))},{default:s.withCtx(()=>[s.createVNode(c,{height:"24",width:"24",light:"",name:"notification-bell-outline"})]),_:1})),n.hideHelp?s.createCommentVNode("",!0):(s.openBlock(),s.createBlock(d,{key:1,clickable:"",onClick:t[1]||(t[1]=v=>l.handleClick("help"))},{default:s.withCtx(()=>[s.createVNode(c,{height:"24",width:"24",light:"",name:"help-outline"})]),_:1})),n.hideSettings?s.createCommentVNode("",!0):(s.openBlock(),s.createBlock(d,{key:2,clickable:"",onClick:t[2]||(t[2]=v=>l.handleClick("settings"))},{default:s.withCtx(()=>[s.createVNode(c,{height:"24",width:"24",light:"",name:"settings-outline"})]),_:1})),l.hasUserInfoSlot?s.renderSlot(e.$slots,"user-info",{key:3,class:"user-info__container"}):(s.openBlock(),s.createElementBlock("div",v5,[s.createElementVNode("div",g5,[s.createElementVNode("span",y5,s.toDisplayString(n.userName),1),s.createElementVNode("span",_5,s.toDisplayString(n.userDescription),1)]),s.createVNode(f,{name:n.userName,variant:"white",size:"md",clickable:n.clickable,onClick:t[3]||(t[3]=v=>l.handleClick("avatar"))},s.createSlots({_:2},[n.clickable?{name:"dropdown-content",fn:s.withCtx(()=>[s.renderSlot(e.$slots,"dropdown-content")])}:void 0]),1032,["name","clickable"])])),n.hideAppSwitcher?s.createCommentVNode("",!0):(s.openBlock(),s.createElementBlock("div",b5,[s.createVNode(m,{vertical:"",width:"30"}),s.createVNode(d,{clickable:"",onClick:t[4]||(t[4]=v=>l.handleClick("app-switcher"))},{default:s.withCtx(()=>[s.createVNode(c,{height:"24",width:"24",light:"",name:"grid-outline"})]),_:1})])),n.hideLogout?s.createCommentVNode("",!0):(s.openBlock(),s.createBlock(d,{key:6,clickable:"",onClick:t[5]||(t[5]=v=>l.handleClick("logout"))},{default:s.withCtx(()=>[s.createVNode(c,{height:"24",width:"24",light:"",name:"logout-outline"})]),_:1}))]),l.hasAppSlot?(s.openBlock(),s.createElementBlock("div",w5,[s.renderSlot(e.$slots,"app-info")])):s.createCommentVNode("",!0)])}const C5=re(d5,[["render",S5]]),HQ="",O5={components:{CdsClickable:bs},props:{variant:{type:String,default:"gray"},size:{type:String,default:"md"},clickable:{type:Boolean,default:!1}},data(){return{predefinedColors:["turquoise","green","blue","indigo","violet","pink","red","orange","amber","gray","white"],predefinedSizes:["sm","md","lg"]}},computed:{predefinedStyle(){let e="";return this.predefinedColors.indexOf(this.variant)>-1&&(e+=`badge--${this.variant}`),this.predefinedSizes.indexOf(this.size)>-1&&(e+=` badge--${this.size}`),e}}};function k5(e,t,n,i,o,l){const c=s.resolveComponent("cds-clickable");return s.openBlock(),s.createElementBlock("div",{class:s.normalizeClass(["badge__container",l.predefinedStyle])},[s.createElementVNode("div",{class:s.normalizeClass({"badge__content--sm":n.size==="sm","badge__content--md":n.size==="md","badge__content--lg":n.size==="lg"})},[n.clickable?(s.openBlock(),s.createBlock(c,{key:0,onClick:t[0]||(t[0]=d=>e.$emit("click",!0))},{default:s.withCtx(()=>[s.renderSlot(e.$slots,"default",{},void 0,!0)]),_:3})):s.renderSlot(e.$slots,"default",{key:1},void 0,!0)],2)],2)}const x5=re(O5,[["render",k5],["__scopeId","data-v-93e05cbd"]]),YQ="",p1={props:{padding:{type:[Number,String],default:0,validator:e=>e>=0&&e<=12},paddingTop:{type:[Number,String],default:0,validator:e=>e>=0&&e<=12},paddingRight:{type:[Number,String],default:0,validator:e=>e>=0&&e<=12},paddingBottom:{type:[Number,String],default:0,validator:e=>e>=0&&e<=12},paddingLeft:{type:[Number,String],default:0,validator:e=>e>=0&&e<=12},margin:{type:[Number,String],default:0,validator:e=>e>=0&&e<=12},marginTop:{type:[Number,String],default:0,validator:e=>e>=0&&e<=12},marginRight:{type:[Number,String],default:0,validator:e=>e>=0&&e<=12},marginBottom:{type:[Number,String],default:0,validator:e=>e>=0&&e<=12},marginLeft:{type:[Number,String],default:0,validator:e=>e>=0&&e<=12}},computed:{paddingTopResolver(){let e=this.paddingTop>12?12:+this.paddingTop;return e=this.padding?this.basePropertyResolver(this.padding):e,`${e*4}px`},paddingRightResolver(){let e=this.paddingRight>12?12:+this.paddingRight;return e=this.padding?this.basePropertyResolver(this.padding):e,`${e*4}px`},paddingBottomResolver(){let e=this.paddingBottom>12?12:+this.paddingBottom;return e=this.padding?this.basePropertyResolver(this.padding):e,`${e*4}px`},paddingLeftResolver(){let e=this.paddingLeft>12?12:+this.paddingLeft;return e=this.padding?this.basePropertyResolver(this.padding):e,`${e*4}px`},marginTopResolver(){let e=this.marginTop>12?12:+this.marginTop;return e=this.margin?this.basePropertyResolver(this.margin):e,`${e*4}px`},marginRightResolver(){let e=this.marginRight>12?12:+this.marginRight;return e=this.margin?this.basePropertyResolver(this.margin):e,`${e*4}px`},marginBottomResolver(){let e=this.marginBottom>12?12:+this.marginBottom;return e=this.margin?this.basePropertyResolver(this.margin):e,`${e*4}px`},marginLeftResolver(){let e=this.marginLeft>12?12:+this.marginLeft;return e=this.margin?this.basePropertyResolver(this.margin):e,`${e*4}px`}},methods:{basePropertyResolver(e){return e>=0&&e<=12?e:e<0?0:12}}},P0=()=>{s.useCssVars(e=>({"6d4c0f4d":e.marginBottomResolver,d6616fae:e.marginLeftResolver,"0baf3274":e.marginRightResolver,"7c666dff":e.marginTopResolver,"561264d4":e.paddingBottomResolver,17295920:e.paddingLeftResolver,e3e47742:e.paddingRightResolver,"9def4450":e.paddingTopResolver}))},L0=p1.setup;p1.setup=L0?(e,t)=>(P0(),L0(e,t)):P0;const M5=p1,E5={class:"spacer"};function D5(e,t,n,i,o,l){return s.openBlock(),s.createElementBlock("div",E5,[s.renderSlot(e.$slots,"default",{},void 0,!0)])}const m1=re(M5,[["render",D5],["__scopeId","data-v-5aebf225"]]);function v1(e,t=24){let n=e/8,i=n%4;return`${n>t?t:n-i+4}px`}const WQ="",g1={components:{CdsSpacer:m1,CdsClickable:bs},props:{elevated:{type:Boolean,default:!1},fluid:{type:Boolean,default:!1},padding:{type:[Number,String],default:4,validator:e=>e<=12},clickable:{type:Boolean,default:!1},variant:{type:String,default:"gray"}},data(){return{width:0}},computed:{widthResolver(){return this.fluid?"100%":"fit-content"},borderRadiusResolver(){return this.rounder(this.width,16)}},mounted(){this.width=this.$refs["cds-box"].getBoundingClientRect().width},methods:{rounder:v1,handleClick(){this.clickable&&this.$emit("boxClick",!0)}}},F0=()=>{s.useCssVars(e=>({"0b43d733":e.widthResolver,"786840dd":e.borderRadiusResolver}))},R0=g1.setup;g1.setup=R0?(e,t)=>(F0(),R0(e,t)):F0;const T5=g1;function I5(e,t,n,i,o,l){const c=s.resolveComponent("cds-spacer"),d=s.resolveComponent("cds-clickable");return s.openBlock(),s.createElementBlock("div",{ref:"cds-box",class:s.normalizeClass(n.elevated?"box--elevated":`box--${n.variant}`)},[s.createVNode(d,{clickable:n.clickable,onClick:l.handleClick},{default:s.withCtx(()=>[s.createVNode(c,{"padding-top":n.padding,"padding-right":n.padding,"padding-bottom":n.padding,"padding-left":n.padding},{default:s.withCtx(()=>[s.renderSlot(e.$slots,"default",{},void 0,!0)]),_:3},8,["padding-top","padding-right","padding-bottom","padding-left"])]),_:3},8,["clickable","onClick"])],2)}const y1=re(T5,[["render",I5],["__scopeId","data-v-9556727b"]]);var _1={exports:{}};(function(e,t){var n=9007199254740991,i="[object Arguments]",o="[object Function]",l="[object GeneratorFunction]",c="[object Map]",d="[object Object]",f="[object Promise]",m="[object Set]",v="[object WeakMap]",w="[object DataView]",x=/[\\^$.*+?()[\]{}|]/g,C=/^\[object .+?Constructor\]$/,I=typeof Ft=="object"&&Ft&&Ft.Object===Object&&Ft,A=typeof self=="object"&&self&&self.Object===Object&&self,T=I||A||Function("return this")(),R=t&&!t.nodeType&&t,H=R&&!0&&e&&!e.nodeType&&e,F=H&&H.exports===R;function S(Z,Le){return Z==null?void 0:Z[Le]}function Y(Z){var Le=!1;if(Z!=null&&typeof Z.toString!="function")try{Le=!!(Z+"")}catch{}return Le}function V(Z,Le){return function(nt){return Z(Le(nt))}}var X=Function.prototype,G=Object.prototype,Q=T["__core-js_shared__"],oe=function(){var Z=/[^.]+$/.exec(Q&&Q.keys&&Q.keys.IE_PROTO||"");return Z?"Symbol(src)_1."+Z:""}(),ae=X.toString,le=G.hasOwnProperty,ee=G.toString,Se=RegExp("^"+ae.call(le).replace(x,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),xe=F?T.Buffer:void 0,Be=G.propertyIsEnumerable,we=xe?xe.isBuffer:void 0,ye=V(Object.keys,Object),Re=Ve(T,"DataView"),ce=Ve(T,"Map"),N=Ve(T,"Promise"),J=Ve(T,"Set"),ie=Ve(T,"WeakMap"),he=!Be.call({valueOf:1},"valueOf"),K=Xe(Re),me=Xe(ce),Ce=Xe(N),ne=Xe(J),Te=Xe(ie);function Ne(Z){return ee.call(Z)}function Ie(Z){if(!zt(Z)||it(Z))return!1;var Le=Bt(Z)||Y(Z)?Se:C;return Le.test(Xe(Z))}function Ve(Z,Le){var nt=S(Z,Le);return Ie(nt)?nt:void 0}var He=Ne;(Re&&He(new Re(new ArrayBuffer(1)))!=w||ce&&He(new ce)!=c||N&&He(N.resolve())!=f||J&&He(new J)!=m||ie&&He(new ie)!=v)&&(He=function(Z){var Le=ee.call(Z),nt=Le==d?Z.constructor:void 0,Vn=nt?Xe(nt):void 0;if(Vn)switch(Vn){case K:return w;case me:return c;case Ce:return f;case ne:return m;case Te:return v}return Le});function it(Z){return!!oe&&oe in Z}function ot(Z){var Le=Z&&Z.constructor,nt=typeof Le=="function"&&Le.prototype||G;return Z===nt}function Xe(Z){if(Z!=null){try{return ae.call(Z)}catch{}try{return Z+""}catch{}}return""}function ke(Z){return _t(Z)&&le.call(Z,"callee")&&(!Be.call(Z,"callee")||ee.call(Z)==i)}var ft=Array.isArray;function At(Z){return Z!=null&&Nt(Z.length)&&!Bt(Z)}function _t(Z){return ea(Z)&&At(Z)}var ht=we||Pt;function Ut(Z){if(At(Z)&&(ft(Z)||typeof Z=="string"||typeof Z.splice=="function"||ht(Z)||ke(Z)))return!Z.length;var Le=He(Z);if(Le==c||Le==m)return!Z.size;if(he||ot(Z))return!ye(Z).length;for(var nt in Z)if(le.call(Z,nt))return!1;return!0}function Bt(Z){var Le=zt(Z)?ee.call(Z):"";return Le==o||Le==l}function Nt(Z){return typeof Z=="number"&&Z>-1&&Z%1==0&&Z<=n}function zt(Z){var Le=typeof Z;return!!Z&&(Le=="object"||Le=="function")}function ea(Z){return!!Z&&typeof Z=="object"}function Pt(){return!1}e.exports=Ut})(_1,_1.exports);const kn=_1.exports,UQ="",V5={components:{CdsIcon:Dt,CdsSpacer:m1,CdsClickable:bs},props:{items:{type:Array,default:()=>[],required:!0}},methods:{resolveRoute({route:e,path:t}){const n=kn(e)?t:e;return n instanceof String?{path:n}:n},routerPushTo(e){return this.resolveRoute(e)?this.resolveRoute(e).path:null}}},A5={class:"breadcrumb"};function B5(e,t,n,i,o,l){const c=s.resolveComponent("cds-icon"),d=s.resolveComponent("cds-spacer"),f=s.resolveComponent("router-link"),m=s.resolveComponent("cds-clickable");return s.openBlock(),s.createElementBlock("nav",null,[s.createElementVNode("ul",A5,[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(n.items,(v,w)=>(s.openBlock(),s.createElementBlock("li",{key:`${w}-${v.name}-item`,role:"presentation"},[w===0?(s.openBlock(),s.createBlock(m,{key:0,clickable:""},{default:s.withCtx(()=>[s.createVNode(f,{to:l.routerPushTo(v),class:"breadcrumb__link"},{default:s.withCtx(()=>[n.items.length<=2?(s.openBlock(),s.createBlock(c,{key:0,height:"16",width:"16",name:"arrow-left-outline"})):(s.openBlock(),s.createBlock(c,{key:1,height:"15",width:"15",name:"home-outline"})),s.createVNode(d,{"margin-left":"2"},{default:s.withCtx(()=>[s.createTextVNode(s.toDisplayString(v.label),1)]),_:2},1024)]),_:2},1032,["to"])]),_:2},1024)):(s.openBlock(),s.createBlock(d,{key:1,class:"breadcrumb__item","margin-right":"1","margin-left":"1"},{default:s.withCtx(()=>[s.createVNode(c,{height:"16",width:"16",name:"caret-right-outline",class:"breadcrumb__separator"}),s.createVNode(f,{to:l.routerPushTo(v),class:"breadcrumb__link"},{default:s.withCtx(()=>[s.createVNode(m,{clickable:""},{default:s.withCtx(()=>[s.createTextVNode(s.toDisplayString(v.label),1)]),_:2},1024)]),_:2},1032,["to"])]),_:2},1024))]))),128))])])}const N5=re(V5,[["render",B5],["__scopeId","data-v-c2046c1c"]]),jQ="",b1={props:{src:{type:String,required:!0},fallbackSrc:{type:String,required:!1},width:{type:[Number,String],default:null},height:{type:[Number,String],default:null},alt:{type:String,default:"Imagem"},opacity:{type:[Number,String],default:1},dimmed:{type:Boolean,default:!1},blackAndWhite:{type:Boolean,default:!1},roundedCorners:{type:Boolean,default:!1}},data(){return{innerSrc:this.src}},computed:{heightResolver(){return this.height?`${this.height}px`:"auto"},widthResolver(){return this.width?`${this.width}px`:"auto"},opacityResolver(){return this.width?`${this.width}px`:"auto"},radiusResolver(){return this.roundedCorners?v1(this.width):"0px"},grayScaleResolver(){return this.blackAndWhite?"grayscale(100%)":this.dimmed?"grayscale(35%)":"grayscale(0%)"}},methods:{rounder:v1,imageSrcResolver(){this.innerSrc=this.fallbackSrc}}},H0=()=>{s.useCssVars(e=>({"21136de6":e.radiusResolver,e10ed842:e.grayScaleResolver,"31ae2d7b":e.heightResolver,"1e7f7c9d":e.opacity,"775376fe":e.widthResolver}))},Y0=b1.setup;b1.setup=Y0?(e,t)=>(H0(),Y0(e,t)):H0;const z5=b1,P5=["src","alt"];function L5(e,t,n,i,o,l){return s.openBlock(),s.createElementBlock("img",s.mergeProps(e.$attrs,{src:o.innerSrc,alt:n.alt,class:"cds__image",onError:t[0]||(t[0]=(...c)=>l.imageSrcResolver&&l.imageSrcResolver(...c))}),null,16,P5)}const W0=re(z5,[["render",L5],["__scopeId","data-v-79754f28"]]),U0=(e,t)=>Object.keys(e).some(n=>n===t),GQ="",w1={components:{CdsBox:y1,CdsImage:W0},props:{title:{type:String,default:""},content:{type:String,default:""},imageSrc:{type:String,default:""},imageAlt:{type:String,default:"imagem do card"},imageWidth:{type:[String,Number],default:300},imageHeight:{type:[String,Number],default:180},bodyWidth:{type:[String,Number],default:300},horizontal:{type:Boolean,default:!1},clickable:{type:Boolean,default:!1}},computed:{imageWidthResolver(){return this.horizontal?"fit-content":`${this.imageWidth}px`},bodyWidthResolver(){return`${this.bodyWidth}px`}},methods:{hasSlot:U0,handleClick(){this.clickable&&this.$emit("cardClick",!0)}}},j0=()=>{s.useCssVars(e=>({"8d304056":e.bodyWidthResolver,"4730bd46":e.imageWidthResolver}))},G0=w1.setup;w1.setup=G0?(e,t)=>(j0(),G0(e,t)):j0;const F5=w1,R5={class:"card__extra-container"},H5={class:"card__extra"},Y5={key:0},W5={key:1,class:"card__image"},U5={key:2,class:"card__icon"},j5={class:"card__spacer"},G5={key:0,class:"card__header"},K5={key:1},Z5={class:"card__header"},J5={key:2,class:"card__body"},X5={key:3},Q5={class:"card__body"},q5={key:4,class:"card__footer"};function $5(e,t,n,i,o,l){const c=s.resolveComponent("cds-image"),d=s.resolveComponent("cds-box");return s.openBlock(),s.createBlock(d,{padding:"0",clickable:n.clickable,onBoxClick:l.handleClick},{default:s.withCtx(()=>[s.createElementVNode("div",R5,[s.createElementVNode("div",H5,[s.renderSlot(e.$slots,"extra",{},void 0,!0)])]),s.createElementVNode("div",{class:s.normalizeClass({"card--horizontal":this.horizontal})},[l.hasSlot(e.$slots,"image")?(s.openBlock(),s.createElementBlock("div",Y5,[s.renderSlot(e.$slots,"image",{},void 0,!0)])):n.imageSrc?(s.openBlock(),s.createElementBlock("div",W5,[s.createVNode(c,{src:n.imageSrc,width:n.imageWidth,height:n.imageHeight,alt:n.imageAlt},null,8,["src","width","height","alt"])])):l.hasSlot(e.$slots,"icon")?(s.openBlock(),s.createElementBlock("div",U5,[s.renderSlot(e.$slots,"icon",{},void 0,!0)])):s.createCommentVNode("",!0),s.createElementVNode("div",j5,[l.hasSlot(e.$slots,"header")?(s.openBlock(),s.createElementBlock("div",G5,[s.renderSlot(e.$slots,"header",{},void 0,!0)])):(s.openBlock(),s.createElementBlock("div",K5,[s.createElementVNode("p",Z5,s.toDisplayString(n.title),1)])),l.hasSlot(e.$slots,"body")?(s.openBlock(),s.createElementBlock("div",J5,[s.renderSlot(e.$slots,"body",{},void 0,!0)])):(s.openBlock(),s.createElementBlock("div",X5,[s.createElementVNode("p",Q5,s.toDisplayString(n.content),1)])),l.hasSlot(e.$slots,"footer")?(s.openBlock(),s.createElementBlock("div",q5,[s.renderSlot(e.$slots,"footer",{},void 0,!0)])):s.createCommentVNode("",!0)])],2)]),_:3},8,["clickable","onBoxClick"])}const e6=re(F5,[["render",$5],["__scopeId","data-v-ef799654"]]),KQ="",t6={components:{CdsButton:Dr},props:{title:{type:String,default:"T\xEDtulo do AlertCard",required:!0},text:{type:String,default:"Subt\xEDtulo do AlertCard"},image:{type:String,default:"",required:!0},imageDescription:{type:String,default:"Imagem de CalloutCard"},actionButtonVariant:{type:String,default:"green"},actionButtonText:{type:String,default:"Ok"},actionButtonSecondary:{type:Boolean,default:!1},actionButtonDisabled:{type:Boolean,default:!1},compact:{type:Boolean,default:!1}},methods:{resolveClass(e){return this.compact?`${e}--compact`:e}}},n6={id:"callout-card"},a6={class:"image__container"},i6=["src","alt"],s6={class:"content__title"},r6={class:"content__text"};function o6(e,t,n,i,o,l){const c=s.resolveComponent("cds-button");return s.openBlock(),s.createElementBlock("span",n6,[s.createElementVNode("div",{class:s.normalizeClass(l.resolveClass("callout-card__container"))},[s.createElementVNode("div",a6,[s.createElementVNode("img",{class:s.normalizeClass(l.resolveClass("image__content")),src:n.image,alt:n.imageDescription},null,10,i6)]),s.createElementVNode("div",{class:s.normalizeClass(l.resolveClass("content__container"))},[s.createElementVNode("div",{class:s.normalizeClass(l.resolveClass("content"))},[s.createElementVNode("p",s6,s.toDisplayString(n.title),1),s.createElementVNode("span",r6,[s.renderSlot(e.$slots,"text",{},()=>[s.createTextVNode(s.toDisplayString(n.text),1)])])],2),s.createElementVNode("div",null,[s.renderSlot(e.$slots,"action",{},()=>[s.createVNode(c,{id:"content-button",variant:n.actionButtonVariant,text:n.actionButtonText,secondary:n.actionButtonSecondary,disabled:n.actionButtonDisabled,onClick:t[0]||(t[0]=d=>e.$emit("action-button-click",!0))},null,8,["variant","text","secondary","disabled"])])])],2)],2)])}const l6=re(t6,[["render",o6]]),ZQ="",c6={props:{propertyName:{type:String,default:"Dados",required:!1},perPage:{type:Number,required:!0},total:{type:Number,required:!0},simple:{type:Boolean,default:!1,required:!1},fluid:{type:Boolean,default:!1,required:!1}},data(){return{currentNumberOfItemsMin:1,currentNumberOfItemsMax:this.perPage}},computed:{numberOfPages(){return Math.ceil(this.total/this.perPage)},disabledForward(){return this.currentNumberOfItemsMax>=this.total||this.simple&&this.currentNumberOfItemsMin>=this.numberOfPages},disabledBack(){return this.currentNumberOfItemsMin===1}},methods:{handleClickBack(){if(!this.disabledBack){if(this.simple&&this.currentNumberOfItemsMin>1){this.currentNumberOfItemsMin-=1,this.$emit("click-back",{min:this.currentNumberOfItemsMin-1,max:this.currentNumberOfItemsMax+1});return}else if(this.simple&&this.currentNumberOfItemsMin===1)return;this.currentNumberOfItemsMin-this.perPage<=0?(this.currentNumberOfItemsMin=1,this.currentNumberOfItemsMax=this.perPage,this.$emit("click-back",{min:this.currentNumberOfItemsMin-1,max:this.currentNumberOfItemsMax+1})):(this.currentNumberOfItemsMax-=this.currentNumberOfItemsMax-this.currentNumberOfItemsMin+1,this.currentNumberOfItemsMin-=this.perPage,this.$emit("click-back",{min:this.currentNumberOfItemsMin-1,max:this.currentNumberOfItemsMax}))}},handleClickForward(){if(!this.disabledForward){if(this.simple&&this.currentNumberOfItemsMin<this.numberOfPages){this.currentNumberOfItemsMin+=1,this.$emit("click-forward",{min:this.currentNumberOfItemsMin-1,max:this.currentNumberOfItemsMax+1});return}else if(this.simple&&this.currentNumberOfItemsMin===this.numberOfPages)return;this.currentNumberOfItemsMax+this.perPage>this.total?(this.currentNumberOfItemsMin=this.currentNumberOfItemsMax+1,this.currentNumberOfItemsMax=this.total,this.$emit("click-forward",{min:this.currentNumberOfItemsMin-1,max:this.currentNumberOfItemsMax+1})):(this.currentNumberOfItemsMin=this.currentNumberOfItemsMax+1,this.currentNumberOfItemsMax+=this.perPage,this.$emit("click-forward",{min:this.currentNumberOfItemsMin-1,max:this.currentNumberOfItemsMax+1}))}}}},u6={key:0,class:"carousel-controller__text"},d6={key:1,class:"carousel-controller__text"},f6={class:"carousel-controller__property"};function h6(e,t,n,i,o,l){return s.openBlock(),s.createElementBlock("div",null,[s.createElementVNode("div",{class:s.normalizeClass(["carousel-controller",{"carousel-controller--fluid":n.fluid}])},[s.createElementVNode("span",{class:s.normalizeClass({"carousel-controller__previous-button--disabled":l.disabledBack,"carousel-controller__previous-button":!l.disabledBack}),onClick:t[0]||(t[0]=(...c)=>l.handleClickBack&&l.handleClickBack(...c))},null,2),s.createElementVNode("div",null,[n.simple?(s.openBlock(),s.createElementBlock("span",d6,s.toDisplayString(o.currentNumberOfItemsMin)+" de "+s.toDisplayString(l.numberOfPages),1)):(s.openBlock(),s.createElementBlock("span",u6,s.toDisplayString(o.currentNumberOfItemsMin)+"-"+s.toDisplayString(o.currentNumberOfItemsMax)+" de "+s.toDisplayString(n.total),1)),s.createElementVNode("span",f6,s.toDisplayString(n.propertyName),1)]),s.createElementVNode("span",{class:s.normalizeClass({"carousel-controller__next-button--disabled":l.disabledForward,"carousel-controller__next-button":!l.disabledForward}),onClick:t[1]||(t[1]=(...c)=>l.handleClickForward&&l.handleClickForward(...c))},null,2)],2)])}const p6=re(c6,[["render",h6],["__scopeId","data-v-fcb19a0a"]]),JQ="",m6={props:{modelValue:{default:null,required:!0},disabled:{type:Boolean,default:!1},label:{type:String,default:"checkbox content"},noText:{type:Boolean,default:!1}},data(){return{isChecked:this.modelValue}},watch:{modelValue:{handler(e,t){e!==t&&(this.isChecked=this.modelValue)},immediate:!0}},methods:{toggleValue(){this.disabled||(this.isChecked=!this.isChecked,this.$emit("update:modelValue",this.isChecked))}}},v6={class:"checkbox__content"},g6=["id","value","name","checked","disabled"],y6=["for"];function _6(e,t,n,i,o,l){return s.openBlock(),s.createElementBlock("span",{id:"cds-checkbox",class:"checkbox__container",onClick:t[2]||(t[2]=(...c)=>l.toggleValue&&l.toggleValue(...c))},[s.createElementVNode("div",v6,[s.createElementVNode("input",{id:e.$attrs.id||"cds-checkbox-option-input",value:n.modelValue,type:"checkbox",name:e.$attrs.name||"cds-checkbox-option",checked:o.isChecked,disabled:n.disabled,onInput:t[0]||(t[0]=(...c)=>l.toggleValue&&l.toggleValue(...c))},null,40,g6),s.createElementVNode("label",{for:e.$attrs.id||"cds-checkbox-option-input",class:s.normalizeClass({"checkbox__content--checked":o.isChecked,"checkbox__content--disabled":n.disabled}),onClick:t[1]||(t[1]=s.withModifiers((...c)=>l.toggleValue&&l.toggleValue(...c),["stop"]))},null,10,y6)]),n.noText?s.createCommentVNode("",!0):(s.openBlock(),s.createElementBlock("div",{key:0,class:s.normalizeClass(["checkbox__label",{"checkbox__label--disabled":n.disabled}])},[s.renderSlot(e.$slots,"default",{},()=>[s.createTextVNode(s.toDisplayString(n.label),1)])],2))])}const b6=re(m6,[["render",_6]]),XQ="",w6={props:{modelValue:{type:Boolean,default:!1,required:!0},title:{type:String,default:"Visualizar mais"}},data(){return{internalValue:this.modelValue}},watch:{internalValue(e){this.$emit("update:modelValue",e)},modelValue(e){this.internalValue=e}},methods:{triggerExpanded(){this.internalValue=!this.internalValue}}},S6={id:"collapsible-container"},C6={class:"collapsible-container__title"},O6={key:0,class:"collapsible-container__content"};function k6(e,t,n,i,o,l){return s.openBlock(),s.createElementBlock("span",S6,[s.createElementVNode("div",{class:"collapsible-container__item",onClick:t[0]||(t[0]=(...c)=>l.triggerExpanded&&l.triggerExpanded(...c))},[s.createElementVNode("span",{class:s.normalizeClass(o.internalValue?"collapsible-container__chevron--opened":"collapsible-container__chevron--closed")},null,2),s.renderSlot(e.$slots,"title",{},()=>[s.createElementVNode("span",C6,s.toDisplayString(n.title),1)])]),o.internalValue?(s.openBlock(),s.createElementBlock("div",O6,[s.renderSlot(e.$slots,"default")])):s.createCommentVNode("",!0)])}const x6=re(w6,[["render",k6]]),QQ="",M6={props:{title:{type:String,default:"",required:!1},description:{type:String,default:"",required:!1},showAction:{type:Boolean,default:!1,required:!1},action:{type:String,default:"Action",required:!1},fluid:{type:Boolean,default:!1}}},E6={class:"dashboard-card"},D6={class:"dashboard-card__header"},T6={key:0,class:"dashboard-card__title"},I6={key:1,class:"dashboard-card__title"},V6={key:0,class:"dashboard-card__description"},A6={key:1,class:"dashboard-card__description"},B6={key:0};function N6(e,t,n,i,o,l){return s.openBlock(),s.createElementBlock("div",E6,[s.createElementVNode("div",null,[s.createElementVNode("div",D6,[n.title.length>0?(s.openBlock(),s.createElementBlock("p",T6,s.toDisplayString(n.title),1)):(s.openBlock(),s.createElementBlock("p",I6,[s.renderSlot(e.$slots,"title-slot",{},void 0,!0)])),s.createElementVNode("div",null,[s.renderSlot(e.$slots,"status-slot",{},void 0,!0)])]),n.description.length>0?(s.openBlock(),s.createElementBlock("p",V6,s.toDisplayString(n.description),1)):(s.openBlock(),s.createElementBlock("p",A6,[s.renderSlot(e.$slots,"description-slot",{},void 0,!0)]))]),s.createElementVNode("div",{class:"dashboard-card__action",onClick:t[0]||(t[0]=c=>e.$emit("action-button-click"))},[s.renderSlot(e.$slots,"action-slot",{},()=>[n.showAction?(s.openBlock(),s.createElementBlock("div",B6,s.toDisplayString(n.action),1)):s.createCommentVNode("",!0)],!0)])])}const z6=re(M6,[["render",N6],["__scopeId","data-v-cd0db219"]]);class Wi extends Error{}class P6 extends Wi{constructor(t){super(`Invalid DateTime: ${t.toMessage()}`)}}class L6 extends Wi{constructor(t){super(`Invalid Interval: ${t.toMessage()}`)}}class F6 extends Wi{constructor(t){super(`Invalid Duration: ${t.toMessage()}`)}}class Lr extends Wi{}class K0 extends Wi{constructor(t){super(`Invalid unit ${t}`)}}class Un extends Wi{}class pi extends Wi{constructor(){super("Zone is an abstract class")}}const q="numeric",ma="short",xn="long",ul={year:q,month:q,day:q},Z0={year:q,month:ma,day:q},R6={year:q,month:ma,day:q,weekday:ma},J0={year:q,month:xn,day:q},X0={year:q,month:xn,day:q,weekday:xn},Q0={hour:q,minute:q},q0={hour:q,minute:q,second:q},$0={hour:q,minute:q,second:q,timeZoneName:ma},ef={hour:q,minute:q,second:q,timeZoneName:xn},tf={hour:q,minute:q,hourCycle:"h23"},nf={hour:q,minute:q,second:q,hourCycle:"h23"},af={hour:q,minute:q,second:q,hourCycle:"h23",timeZoneName:ma},sf={hour:q,minute:q,second:q,hourCycle:"h23",timeZoneName:xn},rf={year:q,month:q,day:q,hour:q,minute:q},of={year:q,month:q,day:q,hour:q,minute:q,second:q},lf={year:q,month:ma,day:q,hour:q,minute:q},cf={year:q,month:ma,day:q,hour:q,minute:q,second:q},H6={year:q,month:ma,day:q,weekday:ma,hour:q,minute:q},uf={year:q,month:xn,day:q,hour:q,minute:q,timeZoneName:ma},df={year:q,month:xn,day:q,hour:q,minute:q,second:q,timeZoneName:ma},ff={year:q,month:xn,day:q,weekday:xn,hour:q,minute:q,timeZoneName:xn},hf={year:q,month:xn,day:q,weekday:xn,hour:q,minute:q,second:q,timeZoneName:xn};class Fr{get type(){throw new pi}get name(){throw new pi}get ianaName(){return this.name}get isUniversal(){throw new pi}offsetName(t,n){throw new pi}formatOffset(t,n){throw new pi}offset(t){throw new pi}equals(t){throw new pi}get isValid(){throw new pi}}let S1=null;class dl extends Fr{static get instance(){return S1===null&&(S1=new dl),S1}get type(){return"system"}get name(){return new Intl.DateTimeFormat().resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(t,{format:n,locale:i}){return Of(t,n,i)}formatOffset(t,n){return Wr(this.offset(t),n)}offset(t){return-new Date(t).getTimezoneOffset()}equals(t){return t.type==="system"}get isValid(){return!0}}let fl={};function Y6(e){return fl[e]||(fl[e]=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:e,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",era:"short"})),fl[e]}const W6={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};function U6(e,t){const n=e.format(t).replace(/\u200E/g,""),i=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(n),[,o,l,c,d,f,m,v]=i;return[c,o,l,d,f,m,v]}function j6(e,t){const n=e.formatToParts(t),i=[];for(let o=0;o<n.length;o++){const{type:l,value:c}=n[o],d=W6[l];l==="era"?i[d]=c:Ze(d)||(i[d]=parseInt(c,10))}return i}let hl={};class Wa extends Fr{static create(t){return hl[t]||(hl[t]=new Wa(t)),hl[t]}static resetCache(){hl={},fl={}}static isValidSpecifier(t){return this.isValidZone(t)}static isValidZone(t){if(!t)return!1;try{return new Intl.DateTimeFormat("en-US",{timeZone:t}).format(),!0}catch{return!1}}constructor(t){super(),this.zoneName=t,this.valid=Wa.isValidZone(t)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(t,{format:n,locale:i}){return Of(t,n,i,this.name)}formatOffset(t,n){return Wr(this.offset(t),n)}offset(t){const n=new Date(t);if(isNaN(n))return NaN;const i=Y6(this.name);let[o,l,c,d,f,m,v]=i.formatToParts?j6(i,n):U6(i,n);d==="BC"&&(o=-Math.abs(o)+1);const x=T1({year:o,month:l,day:c,hour:f===24?0:f,minute:m,second:v,millisecond:0});let C=+n;const I=C%1e3;return C-=I>=0?I:1e3+I,(x-C)/(60*1e3)}equals(t){return t.type==="iana"&&t.name===this.name}get isValid(){return this.valid}}let pf={};function G6(e,t={}){const n=JSON.stringify([e,t]);let i=pf[n];return i||(i=new Intl.ListFormat(e,t),pf[n]=i),i}let C1={};function O1(e,t={}){const n=JSON.stringify([e,t]);let i=C1[n];return i||(i=new Intl.DateTimeFormat(e,t),C1[n]=i),i}let k1={};function K6(e,t={}){const n=JSON.stringify([e,t]);let i=k1[n];return i||(i=new Intl.NumberFormat(e,t),k1[n]=i),i}let x1={};function Z6(e,t={}){const{base:n,...i}=t,o=JSON.stringify([e,i]);let l=x1[o];return l||(l=new Intl.RelativeTimeFormat(e,t),x1[o]=l),l}let Rr=null;function J6(){return Rr||(Rr=new Intl.DateTimeFormat().resolvedOptions().locale,Rr)}function X6(e){const t=e.indexOf("-x-");t!==-1&&(e=e.substring(0,t));const n=e.indexOf("-u-");if(n===-1)return[e];{let i,o;try{i=O1(e).resolvedOptions(),o=e}catch{const f=e.substring(0,n);i=O1(f).resolvedOptions(),o=f}const{numberingSystem:l,calendar:c}=i;return[o,l,c]}}function Q6(e,t,n){return(n||t)&&(e.includes("-u-")||(e+="-u"),n&&(e+=`-ca-${n}`),t&&(e+=`-nu-${t}`)),e}function q6(e){const t=[];for(let n=1;n<=12;n++){const i=ve.utc(2016,n,1);t.push(e(i))}return t}function $6(e){const t=[];for(let n=1;n<=7;n++){const i=ve.utc(2016,11,13+n);t.push(e(i))}return t}function pl(e,t,n,i,o){const l=e.listingMode(n);return l==="error"?null:l==="en"?i(t):o(t)}function e7(e){return e.numberingSystem&&e.numberingSystem!=="latn"?!1:e.numberingSystem==="latn"||!e.locale||e.locale.startsWith("en")||new Intl.DateTimeFormat(e.intl).resolvedOptions().numberingSystem==="latn"}class t7{constructor(t,n,i){this.padTo=i.padTo||0,this.floor=i.floor||!1;const{padTo:o,floor:l,...c}=i;if(!n||Object.keys(c).length>0){const d={useGrouping:!1,...i};i.padTo>0&&(d.minimumIntegerDigits=i.padTo),this.inf=K6(t,d)}}format(t){if(this.inf){const n=this.floor?Math.floor(t):t;return this.inf.format(n)}else{const n=this.floor?Math.floor(t):D1(t,3);return It(n,this.padTo)}}}class n7{constructor(t,n,i){this.opts=i;let o;if(t.zone.isUniversal){const c=-1*(t.offset/60),d=c>=0?`Etc/GMT+${c}`:`Etc/GMT${c}`;t.offset!==0&&Wa.create(d).valid?(o=d,this.dt=t):(o="UTC",i.timeZoneName?this.dt=t:this.dt=t.offset===0?t:ve.fromMillis(t.ts+t.offset*60*1e3))}else t.zone.type==="system"?this.dt=t:(this.dt=t,o=t.zone.name);const l={...this.opts};l.timeZone=l.timeZone||o,this.dtf=O1(n,l)}format(){return this.dtf.format(this.dt.toJSDate())}formatToParts(){return this.dtf.formatToParts(this.dt.toJSDate())}resolvedOptions(){return this.dtf.resolvedOptions()}}class a7{constructor(t,n,i){this.opts={style:"long",...i},!n&&Sf()&&(this.rtf=Z6(t,i))}format(t,n){return this.rtf?this.rtf.format(t,n):b7(n,t,this.opts.numeric,this.opts.style!=="long")}formatToParts(t,n){return this.rtf?this.rtf.formatToParts(t,n):[]}}class gt{static fromOpts(t){return gt.create(t.locale,t.numberingSystem,t.outputCalendar,t.defaultToEN)}static create(t,n,i,o=!1){const l=t||Tt.defaultLocale,c=l||(o?"en-US":J6()),d=n||Tt.defaultNumberingSystem,f=i||Tt.defaultOutputCalendar;return new gt(c,d,f,l)}static resetCache(){Rr=null,C1={},k1={},x1={}}static fromObject({locale:t,numberingSystem:n,outputCalendar:i}={}){return gt.create(t,n,i)}constructor(t,n,i,o){const[l,c,d]=X6(t);this.locale=l,this.numberingSystem=n||c||null,this.outputCalendar=i||d||null,this.intl=Q6(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=o,this.fastNumbersCached=null}get fastNumbers(){return this.fastNumbersCached==null&&(this.fastNumbersCached=e7(this)),this.fastNumbersCached}listingMode(){const t=this.isEnglish(),n=(this.numberingSystem===null||this.numberingSystem==="latn")&&(this.outputCalendar===null||this.outputCalendar==="gregory");return t&&n?"en":"intl"}clone(t){return!t||Object.getOwnPropertyNames(t).length===0?this:gt.create(t.locale||this.specifiedLocale,t.numberingSystem||this.numberingSystem,t.outputCalendar||this.outputCalendar,t.defaultToEN||!1)}redefaultToEN(t={}){return this.clone({...t,defaultToEN:!0})}redefaultToSystem(t={}){return this.clone({...t,defaultToEN:!1})}months(t,n=!1,i=!0){return pl(this,t,i,Mf,()=>{const o=n?{month:t,day:"numeric"}:{month:t},l=n?"format":"standalone";return this.monthsCache[l][t]||(this.monthsCache[l][t]=q6(c=>this.extract(c,o,"month"))),this.monthsCache[l][t]})}weekdays(t,n=!1,i=!0){return pl(this,t,i,Tf,()=>{const o=n?{weekday:t,year:"numeric",month:"long",day:"numeric"}:{weekday:t},l=n?"format":"standalone";return this.weekdaysCache[l][t]||(this.weekdaysCache[l][t]=$6(c=>this.extract(c,o,"weekday"))),this.weekdaysCache[l][t]})}meridiems(t=!0){return pl(this,void 0,t,()=>If,()=>{if(!this.meridiemCache){const n={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[ve.utc(2016,11,13,9),ve.utc(2016,11,13,19)].map(i=>this.extract(i,n,"dayperiod"))}return this.meridiemCache})}eras(t,n=!0){return pl(this,t,n,Vf,()=>{const i={era:t};return this.eraCache[t]||(this.eraCache[t]=[ve.utc(-40,1,1),ve.utc(2017,1,1)].map(o=>this.extract(o,i,"era"))),this.eraCache[t]})}extract(t,n,i){const o=this.dtFormatter(t,n),l=o.formatToParts(),c=l.find(d=>d.type.toLowerCase()===i);return c?c.value:null}numberFormatter(t={}){return new t7(this.intl,t.forceSimple||this.fastNumbers,t)}dtFormatter(t,n={}){return new n7(t,this.intl,n)}relFormatter(t={}){return new a7(this.intl,this.isEnglish(),t)}listFormatter(t={}){return G6(this.intl,t)}isEnglish(){return this.locale==="en"||this.locale.toLowerCase()==="en-us"||new Intl.DateTimeFormat(this.intl).resolvedOptions().locale.startsWith("en-us")}equals(t){return this.locale===t.locale&&this.numberingSystem===t.numberingSystem&&this.outputCalendar===t.outputCalendar}}let M1=null;class an extends Fr{static get utcInstance(){return M1===null&&(M1=new an(0)),M1}static instance(t){return t===0?an.utcInstance:new an(t)}static parseSpecifier(t){if(t){const n=t.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(n)return new an(yl(n[1],n[2]))}return null}constructor(t){super(),this.fixed=t}get type(){return"fixed"}get name(){return this.fixed===0?"UTC":`UTC${Wr(this.fixed,"narrow")}`}get ianaName(){return this.fixed===0?"Etc/UTC":`Etc/GMT${Wr(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(t,n){return Wr(this.fixed,n)}get isUniversal(){return!0}offset(){return this.fixed}equals(t){return t.type==="fixed"&&t.fixed===this.fixed}get isValid(){return!0}}class i7 extends Fr{constructor(t){super(),this.zoneName=t}get type(){return"invalid"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(){return null}formatOffset(){return""}offset(){return NaN}equals(){return!1}get isValid(){return!1}}function mi(e,t){if(Ze(e)||e===null)return t;if(e instanceof Fr)return e;if(s7(e)){const n=e.toLowerCase();return n==="default"?t:n==="local"||n==="system"?dl.instance:n==="utc"||n==="gmt"?an.utcInstance:an.parseSpecifier(n)||Wa.create(e)}else return Ui(e)?an.instance(e):typeof e=="object"&&e.offset&&typeof e.offset=="number"?e:new i7(e)}let mf=()=>Date.now(),vf="system",gf=null,yf=null,_f=null,bf=60,wf;class Tt{static get now(){return mf}static set now(t){mf=t}static set defaultZone(t){vf=t}static get defaultZone(){return mi(vf,dl.instance)}static get defaultLocale(){return gf}static set defaultLocale(t){gf=t}static get defaultNumberingSystem(){return yf}static set defaultNumberingSystem(t){yf=t}static get defaultOutputCalendar(){return _f}static set defaultOutputCalendar(t){_f=t}static get twoDigitCutoffYear(){return bf}static set twoDigitCutoffYear(t){bf=t%100}static get throwOnInvalid(){return wf}static set throwOnInvalid(t){wf=t}static resetCaches(){gt.resetCache(),Wa.resetCache()}}function Ze(e){return typeof e>"u"}function Ui(e){return typeof e=="number"}function ml(e){return typeof e=="number"&&e%1===0}function s7(e){return typeof e=="string"}function r7(e){return Object.prototype.toString.call(e)==="[object Date]"}function Sf(){try{return typeof Intl<"u"&&!!Intl.RelativeTimeFormat}catch{return!1}}function o7(e){return Array.isArray(e)?e:[e]}function Cf(e,t,n){if(e.length!==0)return e.reduce((i,o)=>{const l=[t(o),o];return i&&n(i[0],l[0])===i[0]?i:l},null)[1]}function l7(e,t){return t.reduce((n,i)=>(n[i]=e[i],n),{})}function ks(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function Ua(e,t,n){return ml(e)&&e>=t&&e<=n}function c7(e,t){return e-t*Math.floor(e/t)}function It(e,t=2){const n=e<0;let i;return n?i="-"+(""+-e).padStart(t,"0"):i=(""+e).padStart(t,"0"),i}function vi(e){if(!(Ze(e)||e===null||e===""))return parseInt(e,10)}function ji(e){if(!(Ze(e)||e===null||e===""))return parseFloat(e)}function E1(e){if(!(Ze(e)||e===null||e==="")){const t=parseFloat("0."+e)*1e3;return Math.floor(t)}}function D1(e,t,n=!1){const i=10**t;return(n?Math.trunc:Math.round)(e*i)/i}function Hr(e){return e%4===0&&(e%100!==0||e%400===0)}function Yr(e){return Hr(e)?366:365}function vl(e,t){const n=c7(t-1,12)+1,i=e+(t-n)/12;return n===2?Hr(i)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][n-1]}function T1(e){let t=Date.UTC(e.year,e.month-1,e.day,e.hour,e.minute,e.second,e.millisecond);return e.year<100&&e.year>=0&&(t=new Date(t),t.setUTCFullYear(t.getUTCFullYear()-1900)),+t}function gl(e){const t=(e+Math.floor(e/4)-Math.floor(e/100)+Math.floor(e/400))%7,n=e-1,i=(n+Math.floor(n/4)-Math.floor(n/100)+Math.floor(n/400))%7;return t===4||i===3?53:52}function I1(e){return e>99?e:e>Tt.twoDigitCutoffYear?1900+e:2e3+e}function Of(e,t,n,i=null){const o=new Date(e),l={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};i&&(l.timeZone=i);const c={timeZoneName:t,...l},d=new Intl.DateTimeFormat(n,c).formatToParts(o).find(f=>f.type.toLowerCase()==="timezonename");return d?d.value:null}function yl(e,t){let n=parseInt(e,10);Number.isNaN(n)&&(n=0);const i=parseInt(t,10)||0,o=n<0||Object.is(n,-0)?-i:i;return n*60+o}function kf(e){const t=Number(e);if(typeof e=="boolean"||e===""||Number.isNaN(t))throw new Un(`Invalid unit value ${e}`);return t}function _l(e,t){const n={};for(const i in e)if(ks(e,i)){const o=e[i];if(o==null)continue;n[t(i)]=kf(o)}return n}function Wr(e,t){const n=Math.trunc(Math.abs(e/60)),i=Math.trunc(Math.abs(e%60)),o=e>=0?"+":"-";switch(t){case"short":return`${o}${It(n,2)}:${It(i,2)}`;case"narrow":return`${o}${n}${i>0?`:${i}`:""}`;case"techie":return`${o}${It(n,2)}${It(i,2)}`;default:throw new RangeError(`Value format ${t} is out of range for property format`)}}function bl(e){return l7(e,["hour","minute","second","millisecond"])}const u7=["January","February","March","April","May","June","July","August","September","October","November","December"],xf=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],d7=["J","F","M","A","M","J","J","A","S","O","N","D"];function Mf(e){switch(e){case"narrow":return[...d7];case"short":return[...xf];case"long":return[...u7];case"numeric":return["1","2","3","4","5","6","7","8","9","10","11","12"];case"2-digit":return["01","02","03","04","05","06","07","08","09","10","11","12"];default:return null}}const Ef=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],Df=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],f7=["M","T","W","T","F","S","S"];function Tf(e){switch(e){case"narrow":return[...f7];case"short":return[...Df];case"long":return[...Ef];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const If=["AM","PM"],h7=["Before Christ","Anno Domini"],p7=["BC","AD"],m7=["B","A"];function Vf(e){switch(e){case"narrow":return[...m7];case"short":return[...p7];case"long":return[...h7];default:return null}}function v7(e){return If[e.hour<12?0:1]}function g7(e,t){return Tf(t)[e.weekday-1]}function y7(e,t){return Mf(t)[e.month-1]}function _7(e,t){return Vf(t)[e.year<0?0:1]}function b7(e,t,n="always",i=!1){const o={years:["year","yr."],quarters:["quarter","qtr."],months:["month","mo."],weeks:["week","wk."],days:["day","day","days"],hours:["hour","hr."],minutes:["minute","min."],seconds:["second","sec."]},l=["hours","minutes","seconds"].indexOf(e)===-1;if(n==="auto"&&l){const w=e==="days";switch(t){case 1:return w?"tomorrow":`next ${o[e][0]}`;case-1:return w?"yesterday":`last ${o[e][0]}`;case 0:return w?"today":`this ${o[e][0]}`}}const c=Object.is(t,-0)||t<0,d=Math.abs(t),f=d===1,m=o[e],v=i?f?m[1]:m[2]||m[1]:f?o[e][0]:e;return c?`${d} ${v} ago`:`in ${d} ${v}`}function Af(e,t){let n="";for(const i of e)i.literal?n+=i.val:n+=t(i.val);return n}const w7={D:ul,DD:Z0,DDD:J0,DDDD:X0,t:Q0,tt:q0,ttt:$0,tttt:ef,T:tf,TT:nf,TTT:af,TTTT:sf,f:rf,ff:lf,fff:uf,ffff:ff,F:of,FF:cf,FFF:df,FFFF:hf};class Qt{static create(t,n={}){return new Qt(t,n)}static parseFormat(t){let n=null,i="",o=!1;const l=[];for(let c=0;c<t.length;c++){const d=t.charAt(c);d==="'"?(i.length>0&&l.push({literal:o,val:i}),n=null,i="",o=!o):o||d===n?i+=d:(i.length>0&&l.push({literal:!1,val:i}),i=d,n=d)}return i.length>0&&l.push({literal:o,val:i}),l}static macroTokenToFormatOpts(t){return w7[t]}constructor(t,n){this.opts=n,this.loc=t,this.systemLoc=null}formatWithSystemDefault(t,n){return this.systemLoc===null&&(this.systemLoc=this.loc.redefaultToSystem()),this.systemLoc.dtFormatter(t,{...this.opts,...n}).format()}formatDateTime(t,n={}){return this.loc.dtFormatter(t,{...this.opts,...n}).format()}formatDateTimeParts(t,n={}){return this.loc.dtFormatter(t,{...this.opts,...n}).formatToParts()}formatInterval(t,n={}){return this.loc.dtFormatter(t.start,{...this.opts,...n}).dtf.formatRange(t.start.toJSDate(),t.end.toJSDate())}resolvedOptions(t,n={}){return this.loc.dtFormatter(t,{...this.opts,...n}).resolvedOptions()}num(t,n=0){if(this.opts.forceSimple)return It(t,n);const i={...this.opts};return n>0&&(i.padTo=n),this.loc.numberFormatter(i).format(t)}formatDateTimeFromString(t,n){const i=this.loc.listingMode()==="en",o=this.loc.outputCalendar&&this.loc.outputCalendar!=="gregory",l=(C,I)=>this.loc.extract(t,C,I),c=C=>t.isOffsetFixed&&t.offset===0&&C.allowZ?"Z":t.isValid?t.zone.formatOffset(t.ts,C.format):"",d=()=>i?v7(t):l({hour:"numeric",hourCycle:"h12"},"dayperiod"),f=(C,I)=>i?y7(t,C):l(I?{month:C}:{month:C,day:"numeric"},"month"),m=(C,I)=>i?g7(t,C):l(I?{weekday:C}:{weekday:C,month:"long",day:"numeric"},"weekday"),v=C=>{const I=Qt.macroTokenToFormatOpts(C);return I?this.formatWithSystemDefault(t,I):C},w=C=>i?_7(t,C):l({era:C},"era"),x=C=>{switch(C){case"S":return this.num(t.millisecond);case"u":case"SSS":return this.num(t.millisecond,3);case"s":return this.num(t.second);case"ss":return this.num(t.second,2);case"uu":return this.num(Math.floor(t.millisecond/10),2);case"uuu":return this.num(Math.floor(t.millisecond/100));case"m":return this.num(t.minute);case"mm":return this.num(t.minute,2);case"h":return this.num(t.hour%12===0?12:t.hour%12);case"hh":return this.num(t.hour%12===0?12:t.hour%12,2);case"H":return this.num(t.hour);case"HH":return this.num(t.hour,2);case"Z":return c({format:"narrow",allowZ:this.opts.allowZ});case"ZZ":return c({format:"short",allowZ:this.opts.allowZ});case"ZZZ":return c({format:"techie",allowZ:this.opts.allowZ});case"ZZZZ":return t.zone.offsetName(t.ts,{format:"short",locale:this.loc.locale});case"ZZZZZ":return t.zone.offsetName(t.ts,{format:"long",locale:this.loc.locale});case"z":return t.zoneName;case"a":return d();case"d":return o?l({day:"numeric"},"day"):this.num(t.day);case"dd":return o?l({day:"2-digit"},"day"):this.num(t.day,2);case"c":return this.num(t.weekday);case"ccc":return m("short",!0);case"cccc":return m("long",!0);case"ccccc":return m("narrow",!0);case"E":return this.num(t.weekday);case"EEE":return m("short",!1);case"EEEE":return m("long",!1);case"EEEEE":return m("narrow",!1);case"L":return o?l({month:"numeric",day:"numeric"},"month"):this.num(t.month);case"LL":return o?l({month:"2-digit",day:"numeric"},"month"):this.num(t.month,2);case"LLL":return f("short",!0);case"LLLL":return f("long",!0);case"LLLLL":return f("narrow",!0);case"M":return o?l({month:"numeric"},"month"):this.num(t.month);case"MM":return o?l({month:"2-digit"},"month"):this.num(t.month,2);case"MMM":return f("short",!1);case"MMMM":return f("long",!1);case"MMMMM":return f("narrow",!1);case"y":return o?l({year:"numeric"},"year"):this.num(t.year);case"yy":return o?l({year:"2-digit"},"year"):this.num(t.year.toString().slice(-2),2);case"yyyy":return o?l({year:"numeric"},"year"):this.num(t.year,4);case"yyyyyy":return o?l({year:"numeric"},"year"):this.num(t.year,6);case"G":return w("short");case"GG":return w("long");case"GGGGG":return w("narrow");case"kk":return this.num(t.weekYear.toString().slice(-2),2);case"kkkk":return this.num(t.weekYear,4);case"W":return this.num(t.weekNumber);case"WW":return this.num(t.weekNumber,2);case"o":return this.num(t.ordinal);case"ooo":return this.num(t.ordinal,3);case"q":return this.num(t.quarter);case"qq":return this.num(t.quarter,2);case"X":return this.num(Math.floor(t.ts/1e3));case"x":return this.num(t.ts);default:return v(C)}};return Af(Qt.parseFormat(n),x)}formatDurationFromString(t,n){const i=f=>{switch(f[0]){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":return"hour";case"d":return"day";case"w":return"week";case"M":return"month";case"y":return"year";default:return null}},o=f=>m=>{const v=i(m);return v?this.num(f.get(v),m.length):m},l=Qt.parseFormat(n),c=l.reduce((f,{literal:m,val:v})=>m?f:f.concat(v),[]),d=t.shiftTo(...c.map(i).filter(f=>f));return Af(l,o(d))}}class va{constructor(t,n){this.reason=t,this.explanation=n}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const Bf=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function xs(...e){const t=e.reduce((n,i)=>n+i.source,"");return RegExp(`^${t}$`)}function Ms(...e){return t=>e.reduce(([n,i,o],l)=>{const[c,d,f]=l(t,o);return[{...n,...c},d||i,f]},[{},null,1]).slice(0,2)}function Es(e,...t){if(e==null)return[null,null];for(const[n,i]of t){const o=n.exec(e);if(o)return i(o)}return[null,null]}function Nf(...e){return(t,n)=>{const i={};let o;for(o=0;o<e.length;o++)i[e[o]]=vi(t[n+o]);return[i,null,n+o]}}const zf=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,S7=`(?:${zf.source}?(?:\\[(${Bf.source})\\])?)?`,V1=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,Pf=RegExp(`${V1.source}${S7}`),A1=RegExp(`(?:T${Pf.source})?`),C7=/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,O7=/(\d{4})-?W(\d\d)(?:-?(\d))?/,k7=/(\d{4})-?(\d{3})/,x7=Nf("weekYear","weekNumber","weekDay"),M7=Nf("year","ordinal"),E7=/(\d{4})-(\d\d)-(\d\d)/,Lf=RegExp(`${V1.source} ?(?:${zf.source}|(${Bf.source}))?`),D7=RegExp(`(?: ${Lf.source})?`);function Ds(e,t,n){const i=e[t];return Ze(i)?n:vi(i)}function T7(e,t){return[{year:Ds(e,t),month:Ds(e,t+1,1),day:Ds(e,t+2,1)},null,t+3]}function Ts(e,t){return[{hours:Ds(e,t,0),minutes:Ds(e,t+1,0),seconds:Ds(e,t+2,0),milliseconds:E1(e[t+3])},null,t+4]}function Ur(e,t){const n=!e[t]&&!e[t+1],i=yl(e[t+1],e[t+2]),o=n?null:an.instance(i);return[{},o,t+3]}function jr(e,t){const n=e[t]?Wa.create(e[t]):null;return[{},n,t+1]}const I7=RegExp(`^T?${V1.source}$`),V7=/^-?P(?:(?:(-?\d{1,20}(?:\.\d{1,20})?)Y)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20}(?:\.\d{1,20})?)W)?(?:(-?\d{1,20}(?:\.\d{1,20})?)D)?(?:T(?:(-?\d{1,20}(?:\.\d{1,20})?)H)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20})(?:[.,](-?\d{1,20}))?S)?)?)$/;function A7(e){const[t,n,i,o,l,c,d,f,m]=e,v=t[0]==="-",w=f&&f[0]==="-",x=(C,I=!1)=>C!==void 0&&(I||C&&v)?-C:C;return[{years:x(ji(n)),months:x(ji(i)),weeks:x(ji(o)),days:x(ji(l)),hours:x(ji(c)),minutes:x(ji(d)),seconds:x(ji(f),f==="-0"),milliseconds:x(E1(m),w)}]}const B7={GMT:0,EDT:-4*60,EST:-5*60,CDT:-5*60,CST:-6*60,MDT:-6*60,MST:-7*60,PDT:-7*60,PST:-8*60};function B1(e,t,n,i,o,l,c){const d={year:t.length===2?I1(vi(t)):vi(t),month:xf.indexOf(n)+1,day:vi(i),hour:vi(o),minute:vi(l)};return c&&(d.second=vi(c)),e&&(d.weekday=e.length>3?Ef.indexOf(e)+1:Df.indexOf(e)+1),d}const N7=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|(?:([+-]\d\d)(\d\d)))$/;function z7(e){const[,t,n,i,o,l,c,d,f,m,v,w]=e,x=B1(t,o,i,n,l,c,d);let C;return f?C=B7[f]:m?C=0:C=yl(v,w),[x,new an(C)]}function P7(e){return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}const L7=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d\d) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d\d):(\d\d):(\d\d) GMT$/,F7=/^(Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d\d)-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d\d) (\d\d):(\d\d):(\d\d) GMT$/,R7=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( \d|\d\d) (\d\d):(\d\d):(\d\d) (\d{4})$/;function Ff(e){const[,t,n,i,o,l,c,d]=e;return[B1(t,o,i,n,l,c,d),an.utcInstance]}function H7(e){const[,t,n,i,o,l,c,d]=e;return[B1(t,d,n,i,o,l,c),an.utcInstance]}const Y7=xs(C7,A1),W7=xs(O7,A1),U7=xs(k7,A1),j7=xs(Pf),Rf=Ms(T7,Ts,Ur,jr),G7=Ms(x7,Ts,Ur,jr),K7=Ms(M7,Ts,Ur,jr),Z7=Ms(Ts,Ur,jr);function J7(e){return Es(e,[Y7,Rf],[W7,G7],[U7,K7],[j7,Z7])}function X7(e){return Es(P7(e),[N7,z7])}function Q7(e){return Es(e,[L7,Ff],[F7,Ff],[R7,H7])}function q7(e){return Es(e,[V7,A7])}const $7=Ms(Ts);function e8(e){return Es(e,[I7,$7])}const t8=xs(E7,D7),n8=xs(Lf),a8=Ms(Ts,Ur,jr);function i8(e){return Es(e,[t8,Rf],[n8,a8])}const s8="Invalid Duration",Hf={weeks:{days:7,hours:7*24,minutes:7*24*60,seconds:7*24*60*60,milliseconds:7*24*60*60*1e3},days:{hours:24,minutes:24*60,seconds:24*60*60,milliseconds:24*60*60*1e3},hours:{minutes:60,seconds:60*60,milliseconds:60*60*1e3},minutes:{seconds:60,milliseconds:60*1e3},seconds:{milliseconds:1e3}},r8={years:{quarters:4,months:12,weeks:52,days:365,hours:365*24,minutes:365*24*60,seconds:365*24*60*60,milliseconds:365*24*60*60*1e3},quarters:{months:3,weeks:13,days:91,hours:91*24,minutes:91*24*60,seconds:91*24*60*60,milliseconds:91*24*60*60*1e3},months:{weeks:4,days:30,hours:30*24,minutes:30*24*60,seconds:30*24*60*60,milliseconds:30*24*60*60*1e3},...Hf},jn=146097/400,Is=146097/4800,o8={years:{quarters:4,months:12,weeks:jn/7,days:jn,hours:jn*24,minutes:jn*24*60,seconds:jn*24*60*60,milliseconds:jn*24*60*60*1e3},quarters:{months:3,weeks:jn/28,days:jn/4,hours:jn*24/4,minutes:jn*24*60/4,seconds:jn*24*60*60/4,milliseconds:jn*24*60*60*1e3/4},months:{weeks:Is/7,days:Is,hours:Is*24,minutes:Is*24*60,seconds:Is*24*60*60,milliseconds:Is*24*60*60*1e3},...Hf},Gi=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],l8=Gi.slice(0).reverse();function gi(e,t,n=!1){const i={values:n?t.values:{...e.values,...t.values||{}},loc:e.loc.clone(t.loc),conversionAccuracy:t.conversionAccuracy||e.conversionAccuracy,matrix:t.matrix||e.matrix};return new qe(i)}function c8(e){return e<0?Math.floor(e):Math.ceil(e)}function Yf(e,t,n,i,o){const l=e[o][n],c=t[n]/l,d=Math.sign(c)===Math.sign(i[o]),f=!d&&i[o]!==0&&Math.abs(c)<=1?c8(c):Math.trunc(c);i[o]+=f,t[n]-=f*l}function u8(e,t){l8.reduce((n,i)=>Ze(t[i])?n:(n&&Yf(e,t,n,t,i),i),null)}function d8(e){const t={};for(const[n,i]of Object.entries(e))i!==0&&(t[n]=i);return t}class qe{constructor(t){const n=t.conversionAccuracy==="longterm"||!1;let i=n?o8:r8;t.matrix&&(i=t.matrix),this.values=t.values,this.loc=t.loc||gt.create(),this.conversionAccuracy=n?"longterm":"casual",this.invalid=t.invalid||null,this.matrix=i,this.isLuxonDuration=!0}static fromMillis(t,n){return qe.fromObject({milliseconds:t},n)}static fromObject(t,n={}){if(t==null||typeof t!="object")throw new Un(`Duration.fromObject: argument expected to be an object, got ${t===null?"null":typeof t}`);return new qe({values:_l(t,qe.normalizeUnit),loc:gt.fromObject(n),conversionAccuracy:n.conversionAccuracy,matrix:n.matrix})}static fromDurationLike(t){if(Ui(t))return qe.fromMillis(t);if(qe.isDuration(t))return t;if(typeof t=="object")return qe.fromObject(t);throw new Un(`Unknown duration argument ${t} of type ${typeof t}`)}static fromISO(t,n){const[i]=q7(t);return i?qe.fromObject(i,n):qe.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static fromISOTime(t,n){const[i]=e8(t);return i?qe.fromObject(i,n):qe.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static invalid(t,n=null){if(!t)throw new Un("need to specify a reason the Duration is invalid");const i=t instanceof va?t:new va(t,n);if(Tt.throwOnInvalid)throw new F6(i);return new qe({invalid:i})}static normalizeUnit(t){const n={year:"years",years:"years",quarter:"quarters",quarters:"quarters",month:"months",months:"months",week:"weeks",weeks:"weeks",day:"days",days:"days",hour:"hours",hours:"hours",minute:"minutes",minutes:"minutes",second:"seconds",seconds:"seconds",millisecond:"milliseconds",milliseconds:"milliseconds"}[t&&t.toLowerCase()];if(!n)throw new K0(t);return n}static isDuration(t){return t&&t.isLuxonDuration||!1}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}toFormat(t,n={}){const i={...n,floor:n.round!==!1&&n.floor!==!1};return this.isValid?Qt.create(this.loc,i).formatDurationFromString(this,t):s8}toHuman(t={}){const n=Gi.map(i=>{const o=this.values[i];return Ze(o)?null:this.loc.numberFormatter({style:"unit",unitDisplay:"long",...t,unit:i.slice(0,-1)}).format(o)}).filter(i=>i);return this.loc.listFormatter({type:"conjunction",style:t.listStyle||"narrow",...t}).format(n)}toObject(){return this.isValid?{...this.values}:{}}toISO(){if(!this.isValid)return null;let t="P";return this.years!==0&&(t+=this.years+"Y"),(this.months!==0||this.quarters!==0)&&(t+=this.months+this.quarters*3+"M"),this.weeks!==0&&(t+=this.weeks+"W"),this.days!==0&&(t+=this.days+"D"),(this.hours!==0||this.minutes!==0||this.seconds!==0||this.milliseconds!==0)&&(t+="T"),this.hours!==0&&(t+=this.hours+"H"),this.minutes!==0&&(t+=this.minutes+"M"),(this.seconds!==0||this.milliseconds!==0)&&(t+=D1(this.seconds+this.milliseconds/1e3,3)+"S"),t==="P"&&(t+="T0S"),t}toISOTime(t={}){if(!this.isValid)return null;const n=this.toMillis();if(n<0||n>=864e5)return null;t={suppressMilliseconds:!1,suppressSeconds:!1,includePrefix:!1,format:"extended",...t};const i=this.shiftTo("hours","minutes","seconds","milliseconds");let o=t.format==="basic"?"hhmm":"hh:mm";(!t.suppressSeconds||i.seconds!==0||i.milliseconds!==0)&&(o+=t.format==="basic"?"ss":":ss",(!t.suppressMilliseconds||i.milliseconds!==0)&&(o+=".SSS"));let l=i.toFormat(o);return t.includePrefix&&(l="T"+l),l}toJSON(){return this.toISO()}toString(){return this.toISO()}toMillis(){return this.as("milliseconds")}valueOf(){return this.toMillis()}plus(t){if(!this.isValid)return this;const n=qe.fromDurationLike(t),i={};for(const o of Gi)(ks(n.values,o)||ks(this.values,o))&&(i[o]=n.get(o)+this.get(o));return gi(this,{values:i},!0)}minus(t){if(!this.isValid)return this;const n=qe.fromDurationLike(t);return this.plus(n.negate())}mapUnits(t){if(!this.isValid)return this;const n={};for(const i of Object.keys(this.values))n[i]=kf(t(this.values[i],i));return gi(this,{values:n},!0)}get(t){return this[qe.normalizeUnit(t)]}set(t){if(!this.isValid)return this;const n={...this.values,..._l(t,qe.normalizeUnit)};return gi(this,{values:n})}reconfigure({locale:t,numberingSystem:n,conversionAccuracy:i,matrix:o}={}){const c={loc:this.loc.clone({locale:t,numberingSystem:n}),matrix:o,conversionAccuracy:i};return gi(this,c)}as(t){return this.isValid?this.shiftTo(t).get(t):NaN}normalize(){if(!this.isValid)return this;const t=this.toObject();return u8(this.matrix,t),gi(this,{values:t},!0)}rescale(){if(!this.isValid)return this;const t=d8(this.normalize().shiftToAll().toObject());return gi(this,{values:t},!0)}shiftTo(...t){if(!this.isValid)return this;if(t.length===0)return this;t=t.map(c=>qe.normalizeUnit(c));const n={},i={},o=this.toObject();let l;for(const c of Gi)if(t.indexOf(c)>=0){l=c;let d=0;for(const m in i)d+=this.matrix[m][c]*i[m],i[m]=0;Ui(o[c])&&(d+=o[c]);const f=Math.trunc(d);n[c]=f,i[c]=(d*1e3-f*1e3)/1e3;for(const m in o)Gi.indexOf(m)>Gi.indexOf(c)&&Yf(this.matrix,o,m,n,c)}else Ui(o[c])&&(i[c]=o[c]);for(const c in i)i[c]!==0&&(n[l]+=c===l?i[c]:i[c]/this.matrix[l][c]);return gi(this,{values:n},!0).normalize()}shiftToAll(){return this.isValid?this.shiftTo("years","months","weeks","days","hours","minutes","seconds","milliseconds"):this}negate(){if(!this.isValid)return this;const t={};for(const n of Object.keys(this.values))t[n]=this.values[n]===0?0:-this.values[n];return gi(this,{values:t},!0)}get years(){return this.isValid?this.values.years||0:NaN}get quarters(){return this.isValid?this.values.quarters||0:NaN}get months(){return this.isValid?this.values.months||0:NaN}get weeks(){return this.isValid?this.values.weeks||0:NaN}get days(){return this.isValid?this.values.days||0:NaN}get hours(){return this.isValid?this.values.hours||0:NaN}get minutes(){return this.isValid?this.values.minutes||0:NaN}get seconds(){return this.isValid?this.values.seconds||0:NaN}get milliseconds(){return this.isValid?this.values.milliseconds||0:NaN}get isValid(){return this.invalid===null}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}equals(t){if(!this.isValid||!t.isValid||!this.loc.equals(t.loc))return!1;function n(i,o){return i===void 0||i===0?o===void 0||o===0:i===o}for(const i of Gi)if(!n(this.values[i],t.values[i]))return!1;return!0}}const Vs="Invalid Interval";function f8(e,t){return!e||!e.isValid?St.invalid("missing or invalid start"):!t||!t.isValid?St.invalid("missing or invalid end"):t<e?St.invalid("end before start",`The end of an interval must be after its start, but you had start=${e.toISO()} and end=${t.toISO()}`):null}class St{constructor(t){this.s=t.start,this.e=t.end,this.invalid=t.invalid||null,this.isLuxonInterval=!0}static invalid(t,n=null){if(!t)throw new Un("need to specify a reason the Interval is invalid");const i=t instanceof va?t:new va(t,n);if(Tt.throwOnInvalid)throw new L6(i);return new St({invalid:i})}static fromDateTimes(t,n){const i=Zr(t),o=Zr(n),l=f8(i,o);return l??new St({start:i,end:o})}static after(t,n){const i=qe.fromDurationLike(n),o=Zr(t);return St.fromDateTimes(o,o.plus(i))}static before(t,n){const i=qe.fromDurationLike(n),o=Zr(t);return St.fromDateTimes(o.minus(i),o)}static fromISO(t,n){const[i,o]=(t||"").split("/",2);if(i&&o){let l,c;try{l=ve.fromISO(i,n),c=l.isValid}catch{c=!1}let d,f;try{d=ve.fromISO(o,n),f=d.isValid}catch{f=!1}if(c&&f)return St.fromDateTimes(l,d);if(c){const m=qe.fromISO(o,n);if(m.isValid)return St.after(l,m)}else if(f){const m=qe.fromISO(i,n);if(m.isValid)return St.before(d,m)}}return St.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static isInterval(t){return t&&t.isLuxonInterval||!1}get start(){return this.isValid?this.s:null}get end(){return this.isValid?this.e:null}get isValid(){return this.invalidReason===null}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}length(t="milliseconds"){return this.isValid?this.toDuration(t).get(t):NaN}count(t="milliseconds"){if(!this.isValid)return NaN;const n=this.start.startOf(t),i=this.end.startOf(t);return Math.floor(i.diff(n,t).get(t))+1}hasSame(t){return this.isValid?this.isEmpty()||this.e.minus(1).hasSame(this.s,t):!1}isEmpty(){return this.s.valueOf()===this.e.valueOf()}isAfter(t){return this.isValid?this.s>t:!1}isBefore(t){return this.isValid?this.e<=t:!1}contains(t){return this.isValid?this.s<=t&&this.e>t:!1}set({start:t,end:n}={}){return this.isValid?St.fromDateTimes(t||this.s,n||this.e):this}splitAt(...t){if(!this.isValid)return[];const n=t.map(Zr).filter(c=>this.contains(c)).sort(),i=[];let{s:o}=this,l=0;for(;o<this.e;){const c=n[l]||this.e,d=+c>+this.e?this.e:c;i.push(St.fromDateTimes(o,d)),o=d,l+=1}return i}splitBy(t){const n=qe.fromDurationLike(t);if(!this.isValid||!n.isValid||n.as("milliseconds")===0)return[];let{s:i}=this,o=1,l;const c=[];for(;i<this.e;){const d=this.start.plus(n.mapUnits(f=>f*o));l=+d>+this.e?this.e:d,c.push(St.fromDateTimes(i,l)),i=l,o+=1}return c}divideEqually(t){return this.isValid?this.splitBy(this.length()/t).slice(0,t):[]}overlaps(t){return this.e>t.s&&this.s<t.e}abutsStart(t){return this.isValid?+this.e==+t.s:!1}abutsEnd(t){return this.isValid?+t.e==+this.s:!1}engulfs(t){return this.isValid?this.s<=t.s&&this.e>=t.e:!1}equals(t){return!this.isValid||!t.isValid?!1:this.s.equals(t.s)&&this.e.equals(t.e)}intersection(t){if(!this.isValid)return this;const n=this.s>t.s?this.s:t.s,i=this.e<t.e?this.e:t.e;return n>=i?null:St.fromDateTimes(n,i)}union(t){if(!this.isValid)return this;const n=this.s<t.s?this.s:t.s,i=this.e>t.e?this.e:t.e;return St.fromDateTimes(n,i)}static merge(t){const[n,i]=t.sort((o,l)=>o.s-l.s).reduce(([o,l],c)=>l?l.overlaps(c)||l.abutsStart(c)?[o,l.union(c)]:[o.concat([l]),c]:[o,c],[[],null]);return i&&n.push(i),n}static xor(t){let n=null,i=0;const o=[],l=t.map(f=>[{time:f.s,type:"s"},{time:f.e,type:"e"}]),c=Array.prototype.concat(...l),d=c.sort((f,m)=>f.time-m.time);for(const f of d)i+=f.type==="s"?1:-1,i===1?n=f.time:(n&&+n!=+f.time&&o.push(St.fromDateTimes(n,f.time)),n=null);return St.merge(o)}difference(...t){return St.xor([this].concat(t)).map(n=>this.intersection(n)).filter(n=>n&&!n.isEmpty())}toString(){return this.isValid?`[${this.s.toISO()} \u2013 ${this.e.toISO()})`:Vs}toLocaleString(t=ul,n={}){return this.isValid?Qt.create(this.s.loc.clone(n),t).formatInterval(this):Vs}toISO(t){return this.isValid?`${this.s.toISO(t)}/${this.e.toISO(t)}`:Vs}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:Vs}toISOTime(t){return this.isValid?`${this.s.toISOTime(t)}/${this.e.toISOTime(t)}`:Vs}toFormat(t,{separator:n=" \u2013 "}={}){return this.isValid?`${this.s.toFormat(t)}${n}${this.e.toFormat(t)}`:Vs}toDuration(t,n){return this.isValid?this.e.diff(this.s,t,n):qe.invalid(this.invalidReason)}mapEndpoints(t){return St.fromDateTimes(t(this.s),t(this.e))}}class wl{static hasDST(t=Tt.defaultZone){const n=ve.now().setZone(t).set({month:12});return!t.isUniversal&&n.offset!==n.set({month:6}).offset}static isValidIANAZone(t){return Wa.isValidZone(t)}static normalizeZone(t){return mi(t,Tt.defaultZone)}static months(t="long",{locale:n=null,numberingSystem:i=null,locObj:o=null,outputCalendar:l="gregory"}={}){return(o||gt.create(n,i,l)).months(t)}static monthsFormat(t="long",{locale:n=null,numberingSystem:i=null,locObj:o=null,outputCalendar:l="gregory"}={}){return(o||gt.create(n,i,l)).months(t,!0)}static weekdays(t="long",{locale:n=null,numberingSystem:i=null,locObj:o=null}={}){return(o||gt.create(n,i,null)).weekdays(t)}static weekdaysFormat(t="long",{locale:n=null,numberingSystem:i=null,locObj:o=null}={}){return(o||gt.create(n,i,null)).weekdays(t,!0)}static meridiems({locale:t=null}={}){return gt.create(t).meridiems()}static eras(t="short",{locale:n=null}={}){return gt.create(n,null,"gregory").eras(t)}static features(){return{relative:Sf()}}}function Wf(e,t){const n=o=>o.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),i=n(t)-n(e);return Math.floor(qe.fromMillis(i).as("days"))}function h8(e,t,n){const i=[["years",(f,m)=>m.year-f.year],["quarters",(f,m)=>m.quarter-f.quarter+(m.year-f.year)*4],["months",(f,m)=>m.month-f.month+(m.year-f.year)*12],["weeks",(f,m)=>{const v=Wf(f,m);return(v-v%7)/7}],["days",Wf]],o={},l=e;let c,d;for(const[f,m]of i)n.indexOf(f)>=0&&(c=f,o[f]=m(e,t),d=l.plus(o),d>t?(o[f]--,e=l.plus(o)):e=d);return[e,o,d,c]}function p8(e,t,n,i){let[o,l,c,d]=h8(e,t,n);const f=t-o,m=n.filter(w=>["hours","minutes","seconds","milliseconds"].indexOf(w)>=0);m.length===0&&(c<t&&(c=o.plus({[d]:1})),c!==o&&(l[d]=(l[d]||0)+f/(c-o)));const v=qe.fromObject(l,i);return m.length>0?qe.fromMillis(f,i).shiftTo(...m).plus(v):v}const N1={arab:"[\u0660-\u0669]",arabext:"[\u06F0-\u06F9]",bali:"[\u1B50-\u1B59]",beng:"[\u09E6-\u09EF]",deva:"[\u0966-\u096F]",fullwide:"[\uFF10-\uFF19]",gujr:"[\u0AE6-\u0AEF]",hanidec:"[\u3007|\u4E00|\u4E8C|\u4E09|\u56DB|\u4E94|\u516D|\u4E03|\u516B|\u4E5D]",khmr:"[\u17E0-\u17E9]",knda:"[\u0CE6-\u0CEF]",laoo:"[\u0ED0-\u0ED9]",limb:"[\u1946-\u194F]",mlym:"[\u0D66-\u0D6F]",mong:"[\u1810-\u1819]",mymr:"[\u1040-\u1049]",orya:"[\u0B66-\u0B6F]",tamldec:"[\u0BE6-\u0BEF]",telu:"[\u0C66-\u0C6F]",thai:"[\u0E50-\u0E59]",tibt:"[\u0F20-\u0F29]",latn:"\\d"},Uf={arab:[1632,1641],arabext:[1776,1785],bali:[6992,7001],beng:[2534,2543],deva:[2406,2415],fullwide:[65296,65303],gujr:[2790,2799],khmr:[6112,6121],knda:[3302,3311],laoo:[3792,3801],limb:[6470,6479],mlym:[3430,3439],mong:[6160,6169],mymr:[4160,4169],orya:[2918,2927],tamldec:[3046,3055],telu:[3174,3183],thai:[3664,3673],tibt:[3872,3881]},m8=N1.hanidec.replace(/[\[|\]]/g,"").split("");function v8(e){let t=parseInt(e,10);if(isNaN(t)){t="";for(let n=0;n<e.length;n++){const i=e.charCodeAt(n);if(e[n].search(N1.hanidec)!==-1)t+=m8.indexOf(e[n]);else for(const o in Uf){const[l,c]=Uf[o];i>=l&&i<=c&&(t+=i-l)}}return parseInt(t,10)}else return t}function ga({numberingSystem:e},t=""){return new RegExp(`${N1[e||"latn"]}${t}`)}const g8="missing Intl.DateTimeFormat.formatToParts support";function et(e,t=n=>n){return{regex:e,deser:([n])=>t(v8(n))}}const jf=`[ ${String.fromCharCode(160)}]`,Gf=new RegExp(jf,"g");function y8(e){return e.replace(/\./g,"\\.?").replace(Gf,jf)}function Kf(e){return e.replace(/\./g,"").replace(Gf," ").toLowerCase()}function ya(e,t){return e===null?null:{regex:RegExp(e.map(y8).join("|")),deser:([n])=>e.findIndex(i=>Kf(n)===Kf(i))+t}}function Zf(e,t){return{regex:e,deser:([,n,i])=>yl(n,i),groups:t}}function z1(e){return{regex:e,deser:([t])=>t}}function _8(e){return e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")}function b8(e,t){const n=ga(t),i=ga(t,"{2}"),o=ga(t,"{3}"),l=ga(t,"{4}"),c=ga(t,"{6}"),d=ga(t,"{1,2}"),f=ga(t,"{1,3}"),m=ga(t,"{1,6}"),v=ga(t,"{1,9}"),w=ga(t,"{2,4}"),x=ga(t,"{4,6}"),C=T=>({regex:RegExp(_8(T.val)),deser:([R])=>R,literal:!0}),A=(T=>{if(e.literal)return C(T);switch(T.val){case"G":return ya(t.eras("short",!1),0);case"GG":return ya(t.eras("long",!1),0);case"y":return et(m);case"yy":return et(w,I1);case"yyyy":return et(l);case"yyyyy":return et(x);case"yyyyyy":return et(c);case"M":return et(d);case"MM":return et(i);case"MMM":return ya(t.months("short",!0,!1),1);case"MMMM":return ya(t.months("long",!0,!1),1);case"L":return et(d);case"LL":return et(i);case"LLL":return ya(t.months("short",!1,!1),1);case"LLLL":return ya(t.months("long",!1,!1),1);case"d":return et(d);case"dd":return et(i);case"o":return et(f);case"ooo":return et(o);case"HH":return et(i);case"H":return et(d);case"hh":return et(i);case"h":return et(d);case"mm":return et(i);case"m":return et(d);case"q":return et(d);case"qq":return et(i);case"s":return et(d);case"ss":return et(i);case"S":return et(f);case"SSS":return et(o);case"u":return z1(v);case"uu":return z1(d);case"uuu":return et(n);case"a":return ya(t.meridiems(),0);case"kkkk":return et(l);case"kk":return et(w,I1);case"W":return et(d);case"WW":return et(i);case"E":case"c":return et(n);case"EEE":return ya(t.weekdays("short",!1,!1),1);case"EEEE":return ya(t.weekdays("long",!1,!1),1);case"ccc":return ya(t.weekdays("short",!0,!1),1);case"cccc":return ya(t.weekdays("long",!0,!1),1);case"Z":case"ZZ":return Zf(new RegExp(`([+-]${d.source})(?::(${i.source}))?`),2);case"ZZZ":return Zf(new RegExp(`([+-]${d.source})(${i.source})?`),2);case"z":return z1(/[a-z_+-/]{1,256}?/i);default:return C(T)}})(e)||{invalidReason:g8};return A.token=e,A}const w8={year:{"2-digit":"yy",numeric:"yyyyy"},month:{numeric:"M","2-digit":"MM",short:"MMM",long:"MMMM"},day:{numeric:"d","2-digit":"dd"},weekday:{short:"EEE",long:"EEEE"},dayperiod:"a",dayPeriod:"a",hour:{numeric:"h","2-digit":"hh"},minute:{numeric:"m","2-digit":"mm"},second:{numeric:"s","2-digit":"ss"},timeZoneName:{long:"ZZZZZ",short:"ZZZ"}};function S8(e,t){const{type:n,value:i}=e;if(n==="literal")return{literal:!0,val:i};const o=t[n];let l=w8[n];if(typeof l=="object"&&(l=l[o]),l)return{literal:!1,val:l}}function C8(e){return[`^${e.map(n=>n.regex).reduce((n,i)=>`${n}(${i.source})`,"")}$`,e]}function O8(e,t,n){const i=e.match(t);if(i){const o={};let l=1;for(const c in n)if(ks(n,c)){const d=n[c],f=d.groups?d.groups+1:1;!d.literal&&d.token&&(o[d.token.val[0]]=d.deser(i.slice(l,l+f))),l+=f}return[i,o]}else return[i,{}]}function k8(e){const t=l=>{switch(l){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":case"H":return"hour";case"d":return"day";case"o":return"ordinal";case"L":case"M":return"month";case"y":return"year";case"E":case"c":return"weekday";case"W":return"weekNumber";case"k":return"weekYear";case"q":return"quarter";default:return null}};let n=null,i;return Ze(e.z)||(n=Wa.create(e.z)),Ze(e.Z)||(n||(n=new an(e.Z)),i=e.Z),Ze(e.q)||(e.M=(e.q-1)*3+1),Ze(e.h)||(e.h<12&&e.a===1?e.h+=12:e.h===12&&e.a===0&&(e.h=0)),e.G===0&&e.y&&(e.y=-e.y),Ze(e.u)||(e.S=E1(e.u)),[Object.keys(e).reduce((l,c)=>{const d=t(c);return d&&(l[d]=e[c]),l},{}),n,i]}let P1=null;function x8(){return P1||(P1=ve.fromMillis(1555555555555)),P1}function M8(e,t){if(e.literal)return e;const n=Qt.macroTokenToFormatOpts(e.val),i=Qf(n,t);return i==null||i.includes(void 0)?e:i}function Jf(e,t){return Array.prototype.concat(...e.map(n=>M8(n,t)))}function Xf(e,t,n){const i=Jf(Qt.parseFormat(n),e),o=i.map(c=>b8(c,e)),l=o.find(c=>c.invalidReason);if(l)return{input:t,tokens:i,invalidReason:l.invalidReason};{const[c,d]=C8(o),f=RegExp(c,"i"),[m,v]=O8(t,f,d),[w,x,C]=v?k8(v):[null,null,void 0];if(ks(v,"a")&&ks(v,"H"))throw new Lr("Can't include meridiem when specifying 24-hour format");return{input:t,tokens:i,regex:f,rawMatches:m,matches:v,result:w,zone:x,specificOffset:C}}}function E8(e,t,n){const{result:i,zone:o,specificOffset:l,invalidReason:c}=Xf(e,t,n);return[i,o,l,c]}function Qf(e,t){return e?Qt.create(t,e).formatDateTimeParts(x8()).map(o=>S8(o,e)):null}const qf=[0,31,59,90,120,151,181,212,243,273,304,334],$f=[0,31,60,91,121,152,182,213,244,274,305,335];function Gn(e,t){return new va("unit out of range",`you specified ${t} (of type ${typeof t}) as a ${e}, which is invalid`)}function eh(e,t,n){const i=new Date(Date.UTC(e,t-1,n));e<100&&e>=0&&i.setUTCFullYear(i.getUTCFullYear()-1900);const o=i.getUTCDay();return o===0?7:o}function th(e,t,n){return n+(Hr(e)?$f:qf)[t-1]}function nh(e,t){const n=Hr(e)?$f:qf,i=n.findIndex(l=>l<t),o=t-n[i];return{month:i+1,day:o}}function L1(e){const{year:t,month:n,day:i}=e,o=th(t,n,i),l=eh(t,n,i);let c=Math.floor((o-l+10)/7),d;return c<1?(d=t-1,c=gl(d)):c>gl(t)?(d=t+1,c=1):d=t,{weekYear:d,weekNumber:c,weekday:l,...bl(e)}}function ah(e){const{weekYear:t,weekNumber:n,weekday:i}=e,o=eh(t,1,4),l=Yr(t);let c=n*7+i-o-3,d;c<1?(d=t-1,c+=Yr(d)):c>l?(d=t+1,c-=Yr(t)):d=t;const{month:f,day:m}=nh(d,c);return{year:d,month:f,day:m,...bl(e)}}function F1(e){const{year:t,month:n,day:i}=e,o=th(t,n,i);return{year:t,ordinal:o,...bl(e)}}function ih(e){const{year:t,ordinal:n}=e,{month:i,day:o}=nh(t,n);return{year:t,month:i,day:o,...bl(e)}}function D8(e){const t=ml(e.weekYear),n=Ua(e.weekNumber,1,gl(e.weekYear)),i=Ua(e.weekday,1,7);return t?n?i?!1:Gn("weekday",e.weekday):Gn("week",e.week):Gn("weekYear",e.weekYear)}function T8(e){const t=ml(e.year),n=Ua(e.ordinal,1,Yr(e.year));return t?n?!1:Gn("ordinal",e.ordinal):Gn("year",e.year)}function sh(e){const t=ml(e.year),n=Ua(e.month,1,12),i=Ua(e.day,1,vl(e.year,e.month));return t?n?i?!1:Gn("day",e.day):Gn("month",e.month):Gn("year",e.year)}function rh(e){const{hour:t,minute:n,second:i,millisecond:o}=e,l=Ua(t,0,23)||t===24&&n===0&&i===0&&o===0,c=Ua(n,0,59),d=Ua(i,0,59),f=Ua(o,0,999);return l?c?d?f?!1:Gn("millisecond",o):Gn("second",i):Gn("minute",n):Gn("hour",t)}const R1="Invalid DateTime",oh=864e13;function Sl(e){return new va("unsupported zone",`the zone "${e.name}" is not supported`)}function H1(e){return e.weekData===null&&(e.weekData=L1(e.c)),e.weekData}function Gr(e,t){const n={ts:e.ts,zone:e.zone,c:e.c,o:e.o,loc:e.loc,invalid:e.invalid};return new ve({...n,...t,old:n})}function lh(e,t,n){let i=e-t*60*1e3;const o=n.offset(i);if(t===o)return[i,t];i-=(o-t)*60*1e3;const l=n.offset(i);return o===l?[i,o]:[e-Math.min(o,l)*60*1e3,Math.max(o,l)]}function ch(e,t){e+=t*60*1e3;const n=new Date(e);return{year:n.getUTCFullYear(),month:n.getUTCMonth()+1,day:n.getUTCDate(),hour:n.getUTCHours(),minute:n.getUTCMinutes(),second:n.getUTCSeconds(),millisecond:n.getUTCMilliseconds()}}function Cl(e,t,n){return lh(T1(e),t,n)}function uh(e,t){const n=e.o,i=e.c.year+Math.trunc(t.years),o=e.c.month+Math.trunc(t.months)+Math.trunc(t.quarters)*3,l={...e.c,year:i,month:o,day:Math.min(e.c.day,vl(i,o))+Math.trunc(t.days)+Math.trunc(t.weeks)*7},c=qe.fromObject({years:t.years-Math.trunc(t.years),quarters:t.quarters-Math.trunc(t.quarters),months:t.months-Math.trunc(t.months),weeks:t.weeks-Math.trunc(t.weeks),days:t.days-Math.trunc(t.days),hours:t.hours,minutes:t.minutes,seconds:t.seconds,milliseconds:t.milliseconds}).as("milliseconds"),d=T1(l);let[f,m]=lh(d,n,e.zone);return c!==0&&(f+=c,m=e.zone.offset(f)),{ts:f,o:m}}function Kr(e,t,n,i,o,l){const{setZone:c,zone:d}=n;if(e&&Object.keys(e).length!==0){const f=t||d,m=ve.fromObject(e,{...n,zone:f,specificOffset:l});return c?m:m.setZone(d)}else return ve.invalid(new va("unparsable",`the input "${o}" can't be parsed as ${i}`))}function Ol(e,t,n=!0){return e.isValid?Qt.create(gt.create("en-US"),{allowZ:n,forceSimple:!0}).formatDateTimeFromString(e,t):null}function Y1(e,t){const n=e.c.year>9999||e.c.year<0;let i="";return n&&e.c.year>=0&&(i+="+"),i+=It(e.c.year,n?6:4),t?(i+="-",i+=It(e.c.month),i+="-",i+=It(e.c.day)):(i+=It(e.c.month),i+=It(e.c.day)),i}function dh(e,t,n,i,o,l){let c=It(e.c.hour);return t?(c+=":",c+=It(e.c.minute),(e.c.second!==0||!n)&&(c+=":")):c+=It(e.c.minute),(e.c.second!==0||!n)&&(c+=It(e.c.second),(e.c.millisecond!==0||!i)&&(c+=".",c+=It(e.c.millisecond,3))),o&&(e.isOffsetFixed&&e.offset===0&&!l?c+="Z":e.o<0?(c+="-",c+=It(Math.trunc(-e.o/60)),c+=":",c+=It(Math.trunc(-e.o%60))):(c+="+",c+=It(Math.trunc(e.o/60)),c+=":",c+=It(Math.trunc(e.o%60)))),l&&(c+="["+e.zone.ianaName+"]"),c}const fh={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},I8={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},V8={ordinal:1,hour:0,minute:0,second:0,millisecond:0},hh=["year","month","day","hour","minute","second","millisecond"],A8=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],B8=["year","ordinal","hour","minute","second","millisecond"];function ph(e){const t={year:"year",years:"year",month:"month",months:"month",day:"day",days:"day",hour:"hour",hours:"hour",minute:"minute",minutes:"minute",quarter:"quarter",quarters:"quarter",second:"second",seconds:"second",millisecond:"millisecond",milliseconds:"millisecond",weekday:"weekday",weekdays:"weekday",weeknumber:"weekNumber",weeksnumber:"weekNumber",weeknumbers:"weekNumber",weekyear:"weekYear",weekyears:"weekYear",ordinal:"ordinal"}[e.toLowerCase()];if(!t)throw new K0(e);return t}function mh(e,t){const n=mi(t.zone,Tt.defaultZone),i=gt.fromObject(t),o=Tt.now();let l,c;if(Ze(e.year))l=o;else{for(const m of hh)Ze(e[m])&&(e[m]=fh[m]);const d=sh(e)||rh(e);if(d)return ve.invalid(d);const f=n.offset(o);[l,c]=Cl(e,f,n)}return new ve({ts:l,zone:n,loc:i,o:c})}function vh(e,t,n){const i=Ze(n.round)?!0:n.round,o=(c,d)=>(c=D1(c,i||n.calendary?0:2,!0),t.loc.clone(n).relFormatter(n).format(c,d)),l=c=>n.calendary?t.hasSame(e,c)?0:t.startOf(c).diff(e.startOf(c),c).get(c):t.diff(e,c).get(c);if(n.unit)return o(l(n.unit),n.unit);for(const c of n.units){const d=l(c);if(Math.abs(d)>=1)return o(d,c)}return o(e>t?-0:0,n.units[n.units.length-1])}function gh(e){let t={},n;return e.length>0&&typeof e[e.length-1]=="object"?(t=e[e.length-1],n=Array.from(e).slice(0,e.length-1)):n=Array.from(e),[t,n]}class ve{constructor(t){const n=t.zone||Tt.defaultZone;let i=t.invalid||(Number.isNaN(t.ts)?new va("invalid input"):null)||(n.isValid?null:Sl(n));this.ts=Ze(t.ts)?Tt.now():t.ts;let o=null,l=null;if(!i)if(t.old&&t.old.ts===this.ts&&t.old.zone.equals(n))[o,l]=[t.old.c,t.old.o];else{const d=n.offset(this.ts);o=ch(this.ts,d),i=Number.isNaN(o.year)?new va("invalid input"):null,o=i?null:o,l=i?null:d}this._zone=n,this.loc=t.loc||gt.create(),this.invalid=i,this.weekData=null,this.c=o,this.o=l,this.isLuxonDateTime=!0}static now(){return new ve({})}static local(){const[t,n]=gh(arguments),[i,o,l,c,d,f,m]=n;return mh({year:i,month:o,day:l,hour:c,minute:d,second:f,millisecond:m},t)}static utc(){const[t,n]=gh(arguments),[i,o,l,c,d,f,m]=n;return t.zone=an.utcInstance,mh({year:i,month:o,day:l,hour:c,minute:d,second:f,millisecond:m},t)}static fromJSDate(t,n={}){const i=r7(t)?t.valueOf():NaN;if(Number.isNaN(i))return ve.invalid("invalid input");const o=mi(n.zone,Tt.defaultZone);return o.isValid?new ve({ts:i,zone:o,loc:gt.fromObject(n)}):ve.invalid(Sl(o))}static fromMillis(t,n={}){if(Ui(t))return t<-oh||t>oh?ve.invalid("Timestamp out of range"):new ve({ts:t,zone:mi(n.zone,Tt.defaultZone),loc:gt.fromObject(n)});throw new Un(`fromMillis requires a numerical input, but received a ${typeof t} with value ${t}`)}static fromSeconds(t,n={}){if(Ui(t))return new ve({ts:t*1e3,zone:mi(n.zone,Tt.defaultZone),loc:gt.fromObject(n)});throw new Un("fromSeconds requires a numerical input")}static fromObject(t,n={}){t=t||{};const i=mi(n.zone,Tt.defaultZone);if(!i.isValid)return ve.invalid(Sl(i));const o=Tt.now(),l=Ze(n.specificOffset)?i.offset(o):n.specificOffset,c=_l(t,ph),d=!Ze(c.ordinal),f=!Ze(c.year),m=!Ze(c.month)||!Ze(c.day),v=f||m,w=c.weekYear||c.weekNumber,x=gt.fromObject(n);if((v||d)&&w)throw new Lr("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(m&&d)throw new Lr("Can't mix ordinal dates with month/day");const C=w||c.weekday&&!v;let I,A,T=ch(o,l);C?(I=A8,A=I8,T=L1(T)):d?(I=B8,A=V8,T=F1(T)):(I=hh,A=fh);let R=!1;for(const G of I){const Q=c[G];Ze(Q)?R?c[G]=A[G]:c[G]=T[G]:R=!0}const H=C?D8(c):d?T8(c):sh(c),F=H||rh(c);if(F)return ve.invalid(F);const S=C?ah(c):d?ih(c):c,[Y,V]=Cl(S,l,i),X=new ve({ts:Y,zone:i,o:V,loc:x});return c.weekday&&v&&t.weekday!==X.weekday?ve.invalid("mismatched weekday",`you can't specify both a weekday of ${c.weekday} and a date of ${X.toISO()}`):X}static fromISO(t,n={}){const[i,o]=J7(t);return Kr(i,o,n,"ISO 8601",t)}static fromRFC2822(t,n={}){const[i,o]=X7(t);return Kr(i,o,n,"RFC 2822",t)}static fromHTTP(t,n={}){const[i,o]=Q7(t);return Kr(i,o,n,"HTTP",n)}static fromFormat(t,n,i={}){if(Ze(t)||Ze(n))throw new Un("fromFormat requires an input string and a format");const{locale:o=null,numberingSystem:l=null}=i,c=gt.fromOpts({locale:o,numberingSystem:l,defaultToEN:!0}),[d,f,m,v]=E8(c,t,n);return v?ve.invalid(v):Kr(d,f,i,`format ${n}`,t,m)}static fromString(t,n,i={}){return ve.fromFormat(t,n,i)}static fromSQL(t,n={}){const[i,o]=i8(t);return Kr(i,o,n,"SQL",t)}static invalid(t,n=null){if(!t)throw new Un("need to specify a reason the DateTime is invalid");const i=t instanceof va?t:new va(t,n);if(Tt.throwOnInvalid)throw new P6(i);return new ve({invalid:i})}static isDateTime(t){return t&&t.isLuxonDateTime||!1}static parseFormatForOpts(t,n={}){const i=Qf(t,gt.fromObject(n));return i?i.map(o=>o?o.val:null).join(""):null}static expandFormat(t,n={}){return Jf(Qt.parseFormat(t),gt.fromObject(n)).map(o=>o.val).join("")}get(t){return this[t]}get isValid(){return this.invalid===null}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}get outputCalendar(){return this.isValid?this.loc.outputCalendar:null}get zone(){return this._zone}get zoneName(){return this.isValid?this.zone.name:null}get year(){return this.isValid?this.c.year:NaN}get quarter(){return this.isValid?Math.ceil(this.c.month/3):NaN}get month(){return this.isValid?this.c.month:NaN}get day(){return this.isValid?this.c.day:NaN}get hour(){return this.isValid?this.c.hour:NaN}get minute(){return this.isValid?this.c.minute:NaN}get second(){return this.isValid?this.c.second:NaN}get millisecond(){return this.isValid?this.c.millisecond:NaN}get weekYear(){return this.isValid?H1(this).weekYear:NaN}get weekNumber(){return this.isValid?H1(this).weekNumber:NaN}get weekday(){return this.isValid?H1(this).weekday:NaN}get ordinal(){return this.isValid?F1(this.c).ordinal:NaN}get monthShort(){return this.isValid?wl.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?wl.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?wl.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?wl.weekdays("long",{locObj:this.loc})[this.weekday-1]:null}get offset(){return this.isValid?+this.o:NaN}get offsetNameShort(){return this.isValid?this.zone.offsetName(this.ts,{format:"short",locale:this.locale}):null}get offsetNameLong(){return this.isValid?this.zone.offsetName(this.ts,{format:"long",locale:this.locale}):null}get isOffsetFixed(){return this.isValid?this.zone.isUniversal:null}get isInDST(){return this.isOffsetFixed?!1:this.offset>this.set({month:1,day:1}).offset||this.offset>this.set({month:5}).offset}get isInLeapYear(){return Hr(this.year)}get daysInMonth(){return vl(this.year,this.month)}get daysInYear(){return this.isValid?Yr(this.year):NaN}get weeksInWeekYear(){return this.isValid?gl(this.weekYear):NaN}resolvedLocaleOptions(t={}){const{locale:n,numberingSystem:i,calendar:o}=Qt.create(this.loc.clone(t),t).resolvedOptions(this);return{locale:n,numberingSystem:i,outputCalendar:o}}toUTC(t=0,n={}){return this.setZone(an.instance(t),n)}toLocal(){return this.setZone(Tt.defaultZone)}setZone(t,{keepLocalTime:n=!1,keepCalendarTime:i=!1}={}){if(t=mi(t,Tt.defaultZone),t.equals(this.zone))return this;if(t.isValid){let o=this.ts;if(n||i){const l=t.offset(this.ts),c=this.toObject();[o]=Cl(c,l,t)}return Gr(this,{ts:o,zone:t})}else return ve.invalid(Sl(t))}reconfigure({locale:t,numberingSystem:n,outputCalendar:i}={}){const o=this.loc.clone({locale:t,numberingSystem:n,outputCalendar:i});return Gr(this,{loc:o})}setLocale(t){return this.reconfigure({locale:t})}set(t){if(!this.isValid)return this;const n=_l(t,ph),i=!Ze(n.weekYear)||!Ze(n.weekNumber)||!Ze(n.weekday),o=!Ze(n.ordinal),l=!Ze(n.year),c=!Ze(n.month)||!Ze(n.day),d=l||c,f=n.weekYear||n.weekNumber;if((d||o)&&f)throw new Lr("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(c&&o)throw new Lr("Can't mix ordinal dates with month/day");let m;i?m=ah({...L1(this.c),...n}):Ze(n.ordinal)?(m={...this.toObject(),...n},Ze(n.day)&&(m.day=Math.min(vl(m.year,m.month),m.day))):m=ih({...F1(this.c),...n});const[v,w]=Cl(m,this.o,this.zone);return Gr(this,{ts:v,o:w})}plus(t){if(!this.isValid)return this;const n=qe.fromDurationLike(t);return Gr(this,uh(this,n))}minus(t){if(!this.isValid)return this;const n=qe.fromDurationLike(t).negate();return Gr(this,uh(this,n))}startOf(t){if(!this.isValid)return this;const n={},i=qe.normalizeUnit(t);switch(i){case"years":n.month=1;case"quarters":case"months":n.day=1;case"weeks":case"days":n.hour=0;case"hours":n.minute=0;case"minutes":n.second=0;case"seconds":n.millisecond=0;break}if(i==="weeks"&&(n.weekday=1),i==="quarters"){const o=Math.ceil(this.month/3);n.month=(o-1)*3+1}return this.set(n)}endOf(t){return this.isValid?this.plus({[t]:1}).startOf(t).minus(1):this}toFormat(t,n={}){return this.isValid?Qt.create(this.loc.redefaultToEN(n)).formatDateTimeFromString(this,t):R1}toLocaleString(t=ul,n={}){return this.isValid?Qt.create(this.loc.clone(n),t).formatDateTime(this):R1}toLocaleParts(t={}){return this.isValid?Qt.create(this.loc.clone(t),t).formatDateTimeParts(this):[]}toISO({format:t="extended",suppressSeconds:n=!1,suppressMilliseconds:i=!1,includeOffset:o=!0,extendedZone:l=!1}={}){if(!this.isValid)return null;const c=t==="extended";let d=Y1(this,c);return d+="T",d+=dh(this,c,n,i,o,l),d}toISODate({format:t="extended"}={}){return this.isValid?Y1(this,t==="extended"):null}toISOWeekDate(){return Ol(this,"kkkk-'W'WW-c")}toISOTime({suppressMilliseconds:t=!1,suppressSeconds:n=!1,includeOffset:i=!0,includePrefix:o=!1,extendedZone:l=!1,format:c="extended"}={}){return this.isValid?(o?"T":"")+dh(this,c==="extended",n,t,i,l):null}toRFC2822(){return Ol(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return Ol(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?Y1(this,!0):null}toSQLTime({includeOffset:t=!0,includeZone:n=!1,includeOffsetSpace:i=!0}={}){let o="HH:mm:ss.SSS";return(n||t)&&(i&&(o+=" "),n?o+="z":t&&(o+="ZZ")),Ol(this,o,!0)}toSQL(t={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(t)}`:null}toString(){return this.isValid?this.toISO():R1}valueOf(){return this.toMillis()}toMillis(){return this.isValid?this.ts:NaN}toSeconds(){return this.isValid?this.ts/1e3:NaN}toUnixInteger(){return this.isValid?Math.floor(this.ts/1e3):NaN}toJSON(){return this.toISO()}toBSON(){return this.toJSDate()}toObject(t={}){if(!this.isValid)return{};const n={...this.c};return t.includeConfig&&(n.outputCalendar=this.outputCalendar,n.numberingSystem=this.loc.numberingSystem,n.locale=this.loc.locale),n}toJSDate(){return new Date(this.isValid?this.ts:NaN)}diff(t,n="milliseconds",i={}){if(!this.isValid||!t.isValid)return qe.invalid("created by diffing an invalid DateTime");const o={locale:this.locale,numberingSystem:this.numberingSystem,...i},l=o7(n).map(qe.normalizeUnit),c=t.valueOf()>this.valueOf(),d=c?this:t,f=c?t:this,m=p8(d,f,l,o);return c?m.negate():m}diffNow(t="milliseconds",n={}){return this.diff(ve.now(),t,n)}until(t){return this.isValid?St.fromDateTimes(this,t):this}hasSame(t,n){if(!this.isValid)return!1;const i=t.valueOf(),o=this.setZone(t.zone,{keepLocalTime:!0});return o.startOf(n)<=i&&i<=o.endOf(n)}equals(t){return this.isValid&&t.isValid&&this.valueOf()===t.valueOf()&&this.zone.equals(t.zone)&&this.loc.equals(t.loc)}toRelative(t={}){if(!this.isValid)return null;const n=t.base||ve.fromObject({},{zone:this.zone}),i=t.padding?this<n?-t.padding:t.padding:0;let o=["years","months","days","hours","minutes","seconds"],l=t.unit;return Array.isArray(t.unit)&&(o=t.unit,l=void 0),vh(n,this.plus(i),{...t,numeric:"always",units:o,unit:l})}toRelativeCalendar(t={}){return this.isValid?vh(t.base||ve.fromObject({},{zone:this.zone}),this,{...t,numeric:"auto",units:["years","months","days"],calendary:!0}):null}static min(...t){if(!t.every(ve.isDateTime))throw new Un("min requires all arguments be DateTimes");return Cf(t,n=>n.valueOf(),Math.min)}static max(...t){if(!t.every(ve.isDateTime))throw new Un("max requires all arguments be DateTimes");return Cf(t,n=>n.valueOf(),Math.max)}static fromFormatExplain(t,n,i={}){const{locale:o=null,numberingSystem:l=null}=i,c=gt.fromOpts({locale:o,numberingSystem:l,defaultToEN:!0});return Xf(c,t,n)}static fromStringExplain(t,n,i={}){return ve.fromFormatExplain(t,n,i)}static get DATE_SHORT(){return ul}static get DATE_MED(){return Z0}static get DATE_MED_WITH_WEEKDAY(){return R6}static get DATE_FULL(){return J0}static get DATE_HUGE(){return X0}static get TIME_SIMPLE(){return Q0}static get TIME_WITH_SECONDS(){return q0}static get TIME_WITH_SHORT_OFFSET(){return $0}static get TIME_WITH_LONG_OFFSET(){return ef}static get TIME_24_SIMPLE(){return tf}static get TIME_24_WITH_SECONDS(){return nf}static get TIME_24_WITH_SHORT_OFFSET(){return af}static get TIME_24_WITH_LONG_OFFSET(){return sf}static get DATETIME_SHORT(){return rf}static get DATETIME_SHORT_WITH_SECONDS(){return of}static get DATETIME_MED(){return lf}static get DATETIME_MED_WITH_SECONDS(){return cf}static get DATETIME_MED_WITH_WEEKDAY(){return H6}static get DATETIME_FULL(){return uf}static get DATETIME_FULL_WITH_SECONDS(){return df}static get DATETIME_HUGE(){return ff}static get DATETIME_HUGE_WITH_SECONDS(){return hf}}function Zr(e){if(ve.isDateTime(e))return e;if(e&&e.valueOf&&Ui(e.valueOf()))return ve.fromJSDate(e);if(e&&typeof e=="object")return ve.fromObject(e);throw new Un(`Unknown datetime argument: ${e}, of type ${typeof e}`)}function Jr(e){var t=e.getBoundingClientRect();return{width:t.width,height:t.height,top:t.top,right:t.right,bottom:t.bottom,left:t.left,x:t.left,y:t.top}}function Kn(e){if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t?t.defaultView:window}return e}function W1(e){var t=Kn(e),n=t.pageXOffset,i=t.pageYOffset;return{scrollLeft:n,scrollTop:i}}function Xr(e){var t=Kn(e).Element;return e instanceof t||e instanceof Element}function _a(e){var t=Kn(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function N8(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function z8(e){return e===Kn(e)||!_a(e)?W1(e):N8(e)}function ja(e){return e?(e.nodeName||"").toLowerCase():null}function yi(e){return(Xr(e)?e.ownerDocument:e.document).documentElement}function yh(e){return Jr(yi(e)).left+W1(e).scrollLeft}function Ki(e){return Kn(e).getComputedStyle(e)}function U1(e){var t=Ki(e),n=t.overflow,i=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+i)}function _h(e,t,n){n===void 0&&(n=!1);var i=yi(t),o=Jr(e),l={scrollLeft:0,scrollTop:0},c={x:0,y:0};return n||((ja(t)!=="body"||U1(i))&&(l=z8(t)),_a(t)?(c=Jr(t),c.x+=t.clientLeft,c.y+=t.clientTop):i&&(c.x=yh(i))),{x:o.left+l.scrollLeft-c.x,y:o.top+l.scrollTop-c.y,width:o.width,height:o.height}}function j1(e){return{x:e.offsetLeft,y:e.offsetTop,width:e.offsetWidth,height:e.offsetHeight}}function bh(e){return ja(e)==="html"?e:e.assignedSlot||e.parentNode||e.host||yi(e)}function wh(e){return["html","body","#document"].indexOf(ja(e))>=0?e.ownerDocument.body:_a(e)&&U1(e)?e:wh(bh(e))}function Qr(e,t){t===void 0&&(t=[]);var n=wh(e),i=ja(n)==="body",o=Kn(n),l=i?[o].concat(o.visualViewport||[],U1(n)?n:[]):n,c=t.concat(l);return i?c:c.concat(Qr(bh(l)))}function P8(e){return["table","td","th"].indexOf(ja(e))>=0}function Sh(e){return!_a(e)||Ki(e).position==="fixed"?null:e.offsetParent}function qr(e){for(var t=Kn(e),n=Sh(e);n&&P8(n);)n=Sh(n);return n&&ja(n)==="body"&&Ki(n).position==="static"?t:n||t}var Zn="top",ba="bottom",wa="right",Jn="left",kl="auto",$r=[Zn,ba,wa,Jn],As="start",G1="end",L8="clippingParents",Ch="viewport",eo="popper",F8="reference",Oh=$r.reduce(function(e,t){return e.concat([t+"-"+As,t+"-"+G1])},[]),kh=[].concat($r,[kl]).reduce(function(e,t){return e.concat([t,t+"-"+As,t+"-"+G1])},[]),R8="beforeRead",H8="read",Y8="afterRead",W8="beforeMain",U8="main",j8="afterMain",G8="beforeWrite",K8="write",Z8="afterWrite",K1=[R8,H8,Y8,W8,U8,j8,G8,K8,Z8];function J8(e){var t=new Map,n=new Set,i=[];e.forEach(function(l){t.set(l.name,l)});function o(l){n.add(l.name);var c=[].concat(l.requires||[],l.requiresIfExists||[]);c.forEach(function(d){if(!n.has(d)){var f=t.get(d);f&&o(f)}}),i.push(l)}return e.forEach(function(l){n.has(l.name)||o(l)}),i}function X8(e){var t=J8(e);return K1.reduce(function(n,i){return n.concat(t.filter(function(o){return o.phase===i}))},[])}function Q8(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}function _i(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];return[].concat(n).reduce(function(o,l){return o.replace(/%s/,l)},e)}var Zi='Popper: modifier "%s" provided an invalid %s property, expected %s but got %s',q8='Popper: modifier "%s" requires "%s", but "%s" modifier is not available',$8=["name","enabled","phase","fn","effect","requires","options"];function ey(e){e.forEach(function(t){Object.keys(t).forEach(function(n){switch(n){case"name":typeof t.name!="string"&&console.error(_i(Zi,String(t.name),'"name"','"string"','"'+String(t.name)+'"'));break;case"enabled":typeof t.enabled!="boolean"&&console.error(_i(Zi,t.name,'"enabled"','"boolean"','"'+String(t.enabled)+'"'));case"phase":K1.indexOf(t.phase)<0&&console.error(_i(Zi,t.name,'"phase"',"either "+K1.join(", "),'"'+String(t.phase)+'"'));break;case"fn":typeof t.fn!="function"&&console.error(_i(Zi,t.name,'"fn"','"function"','"'+String(t.fn)+'"'));break;case"effect":typeof t.effect!="function"&&console.error(_i(Zi,t.name,'"effect"','"function"','"'+String(t.fn)+'"'));break;case"requires":Array.isArray(t.requires)||console.error(_i(Zi,t.name,'"requires"','"array"','"'+String(t.requires)+'"'));break;case"requiresIfExists":Array.isArray(t.requiresIfExists)||console.error(_i(Zi,t.name,'"requiresIfExists"','"array"','"'+String(t.requiresIfExists)+'"'));break;case"options":case"data":break;default:console.error('PopperJS: an invalid property has been provided to the "'+t.name+'" modifier, valid properties are '+$8.map(function(i){return'"'+i+'"'}).join(", ")+'; but "'+n+'" was provided.')}t.requires&&t.requires.forEach(function(i){e.find(function(o){return o.name===i})==null&&console.error(_i(q8,String(t.name),i,i))})})})}function ty(e,t){var n=new Set;return e.filter(function(i){var o=t(i);if(!n.has(o))return n.add(o),!0})}function Sa(e){return e.split("-")[0]}function ny(e){var t=e.reduce(function(n,i){var o=n[i.name];return n[i.name]=o?Object.assign({},o,{},i,{options:Object.assign({},o.options,{},i.options),data:Object.assign({},o.data,{},i.data)}):i,n},{});return Object.keys(t).map(function(n){return t[n]})}var xh="Popper: Invalid reference or popper argument provided. They must be either a DOM element or virtual element.",ay="Popper: An infinite loop in the modifiers cycle has been detected! The cycle has been interrupted to prevent a browser crash.",Mh={placement:"bottom",modifiers:[],strategy:"absolute"};function Eh(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some(function(i){return!(i&&typeof i.getBoundingClientRect=="function")})}function iy(e){e===void 0&&(e={});var t=e,n=t.defaultModifiers,i=n===void 0?[]:n,o=t.defaultOptions,l=o===void 0?Mh:o;return function(d,f,m){m===void 0&&(m=l);var v={placement:"bottom",orderedModifiers:[],options:Object.assign({},Mh,{},l),modifiersData:{},elements:{reference:d,popper:f},attributes:{},styles:{}},w=[],x=!1,C={state:v,setOptions:function(R){A(),v.options=Object.assign({},l,{},v.options,{},R),v.scrollParents={reference:Xr(d)?Qr(d):d.contextElement?Qr(d.contextElement):[],popper:Qr(f)};var H=X8(ny([].concat(i,v.options.modifiers)));if(v.orderedModifiers=H.filter(function(oe){return oe.enabled}),process.env.NODE_ENV!=="production"){var F=ty([].concat(H,v.options.modifiers),function(oe){var ae=oe.name;return ae});if(ey(F),Sa(v.options.placement)===kl){var S=v.orderedModifiers.find(function(oe){var ae=oe.name;return ae==="flip"});S||console.error(['Popper: "auto" placements require the "flip" modifier be',"present and enabled to work."].join(" "))}var Y=Ki(f),V=Y.marginTop,X=Y.marginRight,G=Y.marginBottom,Q=Y.marginLeft;[V,X,G,Q].some(function(oe){return parseFloat(oe)})&&console.warn(['Popper: CSS "margin" styles cannot be used to apply padding',"between the popper and its reference element or boundary.","To replicate margin, use the `offset` modifier, as well as","the `padding` option in the `preventOverflow` and `flip`","modifiers."].join(" "))}return I(),C.update()},forceUpdate:function(){if(!x){var R=v.elements,H=R.reference,F=R.popper;if(!Eh(H,F)){process.env.NODE_ENV!=="production"&&console.error(xh);return}v.rects={reference:_h(H,qr(F),v.options.strategy==="fixed"),popper:j1(F)},v.reset=!1,v.placement=v.options.placement,v.orderedModifiers.forEach(function(ae){return v.modifiersData[ae.name]=Object.assign({},ae.data)});for(var S=0,Y=0;Y<v.orderedModifiers.length;Y++){if(process.env.NODE_ENV!=="production"&&(S+=1,S>100)){console.error(ay);break}if(v.reset===!0){v.reset=!1,Y=-1;continue}var V=v.orderedModifiers[Y],X=V.fn,G=V.options,Q=G===void 0?{}:G,oe=V.name;typeof X=="function"&&(v=X({state:v,options:Q,name:oe,instance:C})||v)}}},update:Q8(function(){return new Promise(function(T){C.forceUpdate(),T(v)})}),destroy:function(){A(),x=!0}};if(!Eh(d,f))return process.env.NODE_ENV!=="production"&&console.error(xh),C;C.setOptions(m).then(function(T){!x&&m.onFirstUpdate&&m.onFirstUpdate(T)});function I(){v.orderedModifiers.forEach(function(T){var R=T.name,H=T.options,F=H===void 0?{}:H,S=T.effect;if(typeof S=="function"){var Y=S({state:v,name:R,instance:C,options:F}),V=function(){};w.push(Y||V)}})}function A(){w.forEach(function(T){return T()}),w=[]}return C}}var xl={passive:!0};function sy(e){var t=e.state,n=e.instance,i=e.options,o=i.scroll,l=o===void 0?!0:o,c=i.resize,d=c===void 0?!0:c,f=Kn(t.elements.popper),m=[].concat(t.scrollParents.reference,t.scrollParents.popper);return l&&m.forEach(function(v){v.addEventListener("scroll",n.update,xl)}),d&&f.addEventListener("resize",n.update,xl),function(){l&&m.forEach(function(v){v.removeEventListener("scroll",n.update,xl)}),d&&f.removeEventListener("resize",n.update,xl)}}const ry={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:sy,data:{}};function to(e){return e.split("-")[1]}function Z1(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Dh(e){var t=e.reference,n=e.element,i=e.placement,o=i?Sa(i):null,l=i?to(i):null,c=t.x+t.width/2-n.width/2,d=t.y+t.height/2-n.height/2,f;switch(o){case Zn:f={x:c,y:t.y-n.height};break;case ba:f={x:c,y:t.y+t.height};break;case wa:f={x:t.x+t.width,y:d};break;case Jn:f={x:t.x-n.width,y:d};break;default:f={x:t.x,y:t.y}}var m=o?Z1(o):null;if(m!=null){var v=m==="y"?"height":"width";switch(l){case As:f[m]=Math.floor(f[m])-Math.floor(t[v]/2-n[v]/2);break;case G1:f[m]=Math.floor(f[m])+Math.ceil(t[v]/2-n[v]/2);break}}return f}function oy(e){var t=e.state,n=e.name;t.modifiersData[n]=Dh({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}const ly={name:"popperOffsets",enabled:!0,phase:"read",fn:oy,data:{}};var cy={top:"auto",right:"auto",bottom:"auto",left:"auto"};function uy(e){var t=e.x,n=e.y,i=window,o=i.devicePixelRatio||1;return{x:Math.round(t*o)/o||0,y:Math.round(n*o)/o||0}}function Th(e){var t,n=e.popper,i=e.popperRect,o=e.placement,l=e.offsets,c=e.position,d=e.gpuAcceleration,f=e.adaptive,m=uy(l),v=m.x,w=m.y,x=l.hasOwnProperty("x"),C=l.hasOwnProperty("y"),I=Jn,A=Zn,T=window;if(f){var R=qr(n);R===Kn(n)&&(R=yi(n)),o===Zn&&(A=ba,w-=R.clientHeight-i.height,w*=d?1:-1),o===Jn&&(I=wa,v-=R.clientWidth-i.width,v*=d?1:-1)}var H=Object.assign({position:c},f&&cy);if(d){var F;return Object.assign({},H,(F={},F[A]=C?"0":"",F[I]=x?"0":"",F.transform=(T.devicePixelRatio||1)<2?"translate("+v+"px, "+w+"px)":"translate3d("+v+"px, "+w+"px, 0)",F))}return Object.assign({},H,(t={},t[A]=C?w+"px":"",t[I]=x?v+"px":"",t.transform="",t))}function dy(e){var t=e.state,n=e.options,i=n.gpuAcceleration,o=i===void 0?!0:i,l=n.adaptive,c=l===void 0?!0:l;if(process.env.NODE_ENV!=="production"){var d=Ki(t.elements.popper).transitionProperty||"";c&&["transform","top","right","bottom","left"].some(function(m){return d.indexOf(m)>=0})&&console.warn(["Popper: Detected CSS transitions on at least one of the following",'CSS properties: "transform", "top", "right", "bottom", "left".',`
5
+ `,"We recommend using the popper element as a wrapper around an inner","element that can have any CSS property transitioned for animations."].join(" "))}var v={placement:ha(t.placement),variation:Os(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,b0(Object.assign({},v,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:c,roundOffsets:f})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,b0(Object.assign({},v,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:f})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}const b4={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:_4,data:{}};var ll={passive:!0};function w4(e){var t=e.state,n=e.instance,i=e.options,o=i.scroll,l=o===void 0?!0:o,c=i.resize,d=c===void 0?!0:c,f=Wn(t.elements.popper),m=[].concat(t.scrollParents.reference,t.scrollParents.popper);return l&&m.forEach(function(v){v.addEventListener("scroll",n.update,ll)}),d&&f.addEventListener("resize",n.update,ll),function(){l&&m.forEach(function(v){v.removeEventListener("scroll",n.update,ll)}),d&&f.removeEventListener("resize",n.update,ll)}}const S4={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:w4,data:{}};var C4={left:"right",right:"left",bottom:"top",top:"bottom"};function cl(e){return e.replace(/left|right|bottom|top/g,function(t){return C4[t]})}var O4={start:"end",end:"start"};function w0(e){return e.replace(/start|end/g,function(t){return O4[t]})}function o1(e){var t=Wn(e),n=t.pageXOffset,i=t.pageYOffset;return{scrollLeft:n,scrollTop:i}}function l1(e){return Cs(fi(e)).left+o1(e).scrollLeft}function k4(e,t){var n=Wn(e),i=fi(e),o=n.visualViewport,l=i.clientWidth,c=i.clientHeight,d=0,f=0;if(o){l=o.width,c=o.height;var m=p0();(m||!m&&t==="fixed")&&(d=o.offsetLeft,f=o.offsetTop)}return{width:l,height:c,x:d+l1(e),y:f}}function x4(e){var t,n=fi(e),i=o1(e),o=(t=e.ownerDocument)==null?void 0:t.body,l=Hi(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),c=Hi(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),d=-i.scrollLeft+l1(e),f=-i.scrollTop;return pa(o||n).direction==="rtl"&&(d+=Hi(n.clientWidth,o?o.clientWidth:0)-l),{width:l,height:c,x:d,y:f}}function c1(e){var t=pa(e),n=t.overflow,i=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+i)}function S0(e){return["html","body","#document"].indexOf(Ia(e))>=0?e.ownerDocument.body:On(e)&&c1(e)?e:S0(ol(e))}function zr(e,t){var n;t===void 0&&(t=[]);var i=S0(e),o=i===((n=e.ownerDocument)==null?void 0:n.body),l=Wn(i),c=o?[l].concat(l.visualViewport||[],c1(i)?i:[]):i,d=t.concat(c);return o?d:d.concat(zr(ol(c)))}function u1(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function M4(e,t){var n=Cs(e,!1,t==="fixed");return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}function C0(e,t,n){return t===u0?u1(k4(e,n)):Ri(t)?M4(t,n):u1(x4(fi(e)))}function E4(e){var t=zr(ol(e)),n=["absolute","fixed"].indexOf(pa(e).position)>=0,i=n&&On(e)?Br(e):e;return Ri(i)?t.filter(function(o){return Ri(o)&&m0(o,i)&&Ia(o)!=="body"}):[]}function D4(e,t,n,i){var o=t==="clippingParents"?E4(e):[].concat(t),l=[].concat(o,[n]),c=l[0],d=l.reduce(function(f,m){var v=C0(e,m,i);return f.top=Hi(v.top,f.top),f.right=rl(v.right,f.right),f.bottom=rl(v.bottom,f.bottom),f.left=Hi(v.left,f.left),f},C0(e,c,i));return d.width=d.right-d.left,d.height=d.bottom-d.top,d.x=d.left,d.y=d.top,d}function O0(e){var t=e.reference,n=e.element,i=e.placement,o=i?ha(i):null,l=i?Os(i):null,c=t.x+t.width/2-n.width/2,d=t.y+t.height/2-n.height/2,f;switch(o){case pn:f={x:c,y:t.y-n.height};break;case Hn:f={x:c,y:t.y+t.height};break;case Yn:f={x:t.x+t.width,y:d};break;case mn:f={x:t.x-n.width,y:d};break;default:f={x:t.x,y:t.y}}var m=o?r1(o):null;if(m!=null){var v=m==="y"?"height":"width";switch(l){case ws:f[m]=f[m]-(t[v]/2-n[v]/2);break;case Vr:f[m]=f[m]+(t[v]/2-n[v]/2);break}}return f}function Pr(e,t){t===void 0&&(t={});var n=t,i=n.placement,o=i===void 0?e.placement:i,l=n.strategy,c=l===void 0?e.strategy:l,d=n.boundary,f=d===void 0?Q3:d,m=n.rootBoundary,v=m===void 0?u0:m,w=n.elementContext,x=w===void 0?Ar:w,C=n.altBoundary,I=C===void 0?!1:C,A=n.padding,T=A===void 0?0:A,R=y0(typeof T!="number"?T:_0(T,Ir)),H=x===Ar?q3:Ar,F=e.rects.popper,S=e.elements[I?H:x],Y=D4(Ri(S)?S:S.contextElement||fi(e.elements.popper),f,v,c),V=Cs(e.elements.reference),X=O0({reference:V,element:F,strategy:"absolute",placement:o}),G=u1(Object.assign({},F,X)),Q=x===Ar?G:V,oe={top:Y.top-Q.top+R.top,bottom:Q.bottom-Y.bottom+R.bottom,left:Y.left-Q.left+R.left,right:Q.right-Y.right+R.right},ae=e.modifiersData.offset;if(x===Ar&&ae){var le=ae[o];Object.keys(oe).forEach(function(ee){var Se=[Yn,Hn].indexOf(ee)>=0?1:-1,xe=[pn,Hn].indexOf(ee)>=0?"y":"x";oe[ee]+=le[xe]*Se})}return oe}function T4(e,t){t===void 0&&(t={});var n=t,i=n.placement,o=n.boundary,l=n.rootBoundary,c=n.padding,d=n.flipVariations,f=n.allowedAutoPlacements,m=f===void 0?f0:f,v=Os(i),w=v?d?d0:d0.filter(function(I){return Os(I)===v}):Ir,x=w.filter(function(I){return m.indexOf(I)>=0});x.length===0&&(x=w,process.env.NODE_ENV!=="production"&&console.error(["Popper: The `allowedAutoPlacements` option did not allow any","placements. Ensure the `placement` option matches the variation","of the allowed placements.",'For example, "auto" cannot be used to allow "bottom-start".','Use "auto-start" instead.'].join(" ")));var C=x.reduce(function(I,A){return I[A]=Pr(e,{placement:A,boundary:o,rootBoundary:l,padding:c})[ha(A)],I},{});return Object.keys(C).sort(function(I,A){return C[I]-C[A]})}function I4(e){if(ha(e)===sl)return[];var t=cl(e);return[w0(e),t,w0(t)]}function V4(e){var t=e.state,n=e.options,i=e.name;if(!t.modifiersData[i]._skip){for(var o=n.mainAxis,l=o===void 0?!0:o,c=n.altAxis,d=c===void 0?!0:c,f=n.fallbackPlacements,m=n.padding,v=n.boundary,w=n.rootBoundary,x=n.altBoundary,C=n.flipVariations,I=C===void 0?!0:C,A=n.allowedAutoPlacements,T=t.options.placement,R=ha(T),H=R===T,F=f||(H||!I?[cl(T)]:I4(T)),S=[T].concat(F).reduce(function(he,K){return he.concat(ha(K)===sl?T4(t,{placement:K,boundary:v,rootBoundary:w,padding:m,flipVariations:I,allowedAutoPlacements:A}):K)},[]),Y=t.rects.reference,V=t.rects.popper,X=new Map,G=!0,Q=S[0],oe=0;oe<S.length;oe++){var ae=S[oe],le=ha(ae),ee=Os(ae)===ws,Se=[pn,Hn].indexOf(le)>=0,xe=Se?"width":"height",Be=Pr(t,{placement:ae,boundary:v,rootBoundary:w,altBoundary:x,padding:m}),we=Se?ee?Yn:mn:ee?Hn:pn;Y[xe]>V[xe]&&(we=cl(we));var ye=cl(we),Re=[];if(l&&Re.push(Be[le]<=0),d&&Re.push(Be[we]<=0,Be[ye]<=0),Re.every(function(he){return he})){Q=ae,G=!1;break}X.set(ae,Re)}if(G)for(var ce=I?3:1,N=function(K){var me=S.find(function(Ce){var ne=X.get(Ce);if(ne)return ne.slice(0,K).every(function(Te){return Te})});if(me)return Q=me,"break"},J=ce;J>0;J--){var ie=N(J);if(ie==="break")break}t.placement!==Q&&(t.modifiersData[i]._skip=!0,t.placement=Q,t.reset=!0)}}const A4={name:"flip",enabled:!0,phase:"main",fn:V4,requiresIfExists:["offset"],data:{_skip:!1}};function k0(e,t,n){return n===void 0&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function x0(e){return[pn,Yn,Hn,mn].some(function(t){return e[t]>=0})}function B4(e){var t=e.state,n=e.name,i=t.rects.reference,o=t.rects.popper,l=t.modifiersData.preventOverflow,c=Pr(t,{elementContext:"reference"}),d=Pr(t,{altBoundary:!0}),f=k0(c,i),m=k0(d,o,l),v=x0(f),w=x0(m);t.modifiersData[n]={referenceClippingOffsets:f,popperEscapeOffsets:m,isReferenceHidden:v,hasPopperEscaped:w},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":v,"data-popper-escaped":w})}const N4={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:B4};function z4(e,t,n){var i=ha(e),o=[mn,pn].indexOf(i)>=0?-1:1,l=typeof n=="function"?n(Object.assign({},t,{placement:e})):n,c=l[0],d=l[1];return c=c||0,d=(d||0)*o,[mn,Yn].indexOf(i)>=0?{x:d,y:c}:{x:c,y:d}}function P4(e){var t=e.state,n=e.options,i=e.name,o=n.offset,l=o===void 0?[0,0]:o,c=f0.reduce(function(v,w){return v[w]=z4(w,t.rects,l),v},{}),d=c[t.placement],f=d.x,m=d.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=f,t.modifiersData.popperOffsets.y+=m),t.modifiersData[i]=c}const L4={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:P4};function F4(e){var t=e.state,n=e.name;t.modifiersData[n]=O0({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}const R4={name:"popperOffsets",enabled:!0,phase:"read",fn:F4,data:{}};function H4(e){return e==="x"?"y":"x"}function Y4(e){var t=e.state,n=e.options,i=e.name,o=n.mainAxis,l=o===void 0?!0:o,c=n.altAxis,d=c===void 0?!1:c,f=n.boundary,m=n.rootBoundary,v=n.altBoundary,w=n.padding,x=n.tether,C=x===void 0?!0:x,I=n.tetherOffset,A=I===void 0?0:I,T=Pr(t,{boundary:f,rootBoundary:m,padding:w,altBoundary:v}),R=ha(t.placement),H=Os(t.placement),F=!H,S=r1(R),Y=H4(S),V=t.modifiersData.popperOffsets,X=t.rects.reference,G=t.rects.popper,Q=typeof A=="function"?A(Object.assign({},t.rects,{placement:t.placement})):A,oe=typeof Q=="number"?{mainAxis:Q,altAxis:Q}:Object.assign({mainAxis:0,altAxis:0},Q),ae=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,le={x:0,y:0};if(!!V){if(l){var ee,Se=S==="y"?pn:mn,xe=S==="y"?Hn:Yn,Be=S==="y"?"height":"width",we=V[S],ye=we+T[Se],Re=we-T[xe],ce=C?-G[Be]/2:0,N=H===ws?X[Be]:G[Be],J=H===ws?-G[Be]:-X[Be],ie=t.elements.arrow,he=C&&ie?s1(ie):{width:0,height:0},K=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:g0(),me=K[Se],Ce=K[xe],ne=Nr(0,X[Be],he[Be]),Te=F?X[Be]/2-ce-ne-me-oe.mainAxis:N-ne-me-oe.mainAxis,Ne=F?-X[Be]/2+ce+ne+Ce+oe.mainAxis:J+ne+Ce+oe.mainAxis,Ie=t.elements.arrow&&Br(t.elements.arrow),Ve=Ie?S==="y"?Ie.clientTop||0:Ie.clientLeft||0:0,He=(ee=ae==null?void 0:ae[S])!=null?ee:0,it=we+Te-He-Ve,ot=we+Ne-He,Xe=Nr(C?rl(ye,it):ye,we,C?Hi(Re,ot):Re);V[S]=Xe,le[S]=Xe-we}if(d){var ke,ft=S==="x"?pn:mn,At=S==="x"?Hn:Yn,_t=V[Y],ht=Y==="y"?"height":"width",Ut=_t+T[ft],Bt=_t-T[At],Nt=[pn,mn].indexOf(R)!==-1,zt=(ke=ae==null?void 0:ae[Y])!=null?ke:0,ea=Nt?Ut:_t-X[ht]-G[ht]-zt+oe.altAxis,Pt=Nt?_t+X[ht]+G[ht]-zt-oe.altAxis:Bt,Z=C&&Nt?f4(ea,_t,Pt):Nr(C?ea:Ut,_t,C?Pt:Bt);V[Y]=Z,le[Y]=Z-_t}t.modifiersData[i]=le}}const W4={name:"preventOverflow",enabled:!0,phase:"main",fn:Y4,requiresIfExists:["offset"]};function U4(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function j4(e){return e===Wn(e)||!On(e)?o1(e):U4(e)}function G4(e){var t=e.getBoundingClientRect(),n=Ss(t.width)/e.offsetWidth||1,i=Ss(t.height)/e.offsetHeight||1;return n!==1||i!==1}function K4(e,t,n){n===void 0&&(n=!1);var i=On(t),o=On(t)&&G4(t),l=fi(t),c=Cs(e,o,n),d={scrollLeft:0,scrollTop:0},f={x:0,y:0};return(i||!i&&!n)&&((Ia(t)!=="body"||c1(l))&&(d=j4(t)),On(t)?(f=Cs(t,!0),f.x+=t.clientLeft,f.y+=t.clientTop):l&&(f.x=l1(l))),{x:c.left+d.scrollLeft-f.x,y:c.top+d.scrollTop-f.y,width:c.width,height:c.height}}function Z4(e){var t=new Map,n=new Set,i=[];e.forEach(function(l){t.set(l.name,l)});function o(l){n.add(l.name);var c=[].concat(l.requires||[],l.requiresIfExists||[]);c.forEach(function(d){if(!n.has(d)){var f=t.get(d);f&&o(f)}}),i.push(l)}return e.forEach(function(l){n.has(l.name)||o(l)}),i}function J4(e){var t=Z4(e);return n1.reduce(function(n,i){return n.concat(t.filter(function(o){return o.phase===i}))},[])}function X4(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}function hi(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];return[].concat(n).reduce(function(o,l){return o.replace(/%s/,l)},e)}var Yi='Popper: modifier "%s" provided an invalid %s property, expected %s but got %s',Q4='Popper: modifier "%s" requires "%s", but "%s" modifier is not available',M0=["name","enabled","phase","fn","effect","requires","options"];function q4(e){e.forEach(function(t){[].concat(Object.keys(t),M0).filter(function(n,i,o){return o.indexOf(n)===i}).forEach(function(n){switch(n){case"name":typeof t.name!="string"&&console.error(hi(Yi,String(t.name),'"name"','"string"','"'+String(t.name)+'"'));break;case"enabled":typeof t.enabled!="boolean"&&console.error(hi(Yi,t.name,'"enabled"','"boolean"','"'+String(t.enabled)+'"'));break;case"phase":n1.indexOf(t.phase)<0&&console.error(hi(Yi,t.name,'"phase"',"either "+n1.join(", "),'"'+String(t.phase)+'"'));break;case"fn":typeof t.fn!="function"&&console.error(hi(Yi,t.name,'"fn"','"function"','"'+String(t.fn)+'"'));break;case"effect":t.effect!=null&&typeof t.effect!="function"&&console.error(hi(Yi,t.name,'"effect"','"function"','"'+String(t.fn)+'"'));break;case"requires":t.requires!=null&&!Array.isArray(t.requires)&&console.error(hi(Yi,t.name,'"requires"','"array"','"'+String(t.requires)+'"'));break;case"requiresIfExists":Array.isArray(t.requiresIfExists)||console.error(hi(Yi,t.name,'"requiresIfExists"','"array"','"'+String(t.requiresIfExists)+'"'));break;case"options":case"data":break;default:console.error('PopperJS: an invalid property has been provided to the "'+t.name+'" modifier, valid properties are '+M0.map(function(i){return'"'+i+'"'}).join(", ")+'; but "'+n+'" was provided.')}t.requires&&t.requires.forEach(function(i){e.find(function(o){return o.name===i})==null&&console.error(hi(Q4,String(t.name),i,i))})})})}function $4(e,t){var n=new Set;return e.filter(function(i){var o=t(i);if(!n.has(o))return n.add(o),!0})}function e5(e){var t=e.reduce(function(n,i){var o=n[i.name];return n[i.name]=o?Object.assign({},o,i,{options:Object.assign({},o.options,i.options),data:Object.assign({},o.data,i.data)}):i,n},{});return Object.keys(t).map(function(n){return t[n]})}var E0="Popper: Invalid reference or popper argument provided. They must be either a DOM element or virtual element.",t5="Popper: An infinite loop in the modifiers cycle has been detected! The cycle has been interrupted to prevent a browser crash.",D0={placement:"bottom",modifiers:[],strategy:"absolute"};function T0(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some(function(i){return!(i&&typeof i.getBoundingClientRect=="function")})}function n5(e){e===void 0&&(e={});var t=e,n=t.defaultModifiers,i=n===void 0?[]:n,o=t.defaultOptions,l=o===void 0?D0:o;return function(d,f,m){m===void 0&&(m=l);var v={placement:"bottom",orderedModifiers:[],options:Object.assign({},D0,l),modifiersData:{},elements:{reference:d,popper:f},attributes:{},styles:{}},w=[],x=!1,C={state:v,setOptions:function(R){var H=typeof R=="function"?R(v.options):R;A(),v.options=Object.assign({},l,v.options,H),v.scrollParents={reference:Ri(d)?zr(d):d.contextElement?zr(d.contextElement):[],popper:zr(f)};var F=J4(e5([].concat(i,v.options.modifiers)));if(v.orderedModifiers=F.filter(function(ae){return ae.enabled}),process.env.NODE_ENV!=="production"){var S=$4([].concat(F,v.options.modifiers),function(ae){var le=ae.name;return le});if(q4(S),ha(v.options.placement)===sl){var Y=v.orderedModifiers.find(function(ae){var le=ae.name;return le==="flip"});Y||console.error(['Popper: "auto" placements require the "flip" modifier be',"present and enabled to work."].join(" "))}var V=pa(f),X=V.marginTop,G=V.marginRight,Q=V.marginBottom,oe=V.marginLeft;[X,G,Q,oe].some(function(ae){return parseFloat(ae)})&&console.warn(['Popper: CSS "margin" styles cannot be used to apply padding',"between the popper and its reference element or boundary.","To replicate margin, use the `offset` modifier, as well as","the `padding` option in the `preventOverflow` and `flip`","modifiers."].join(" "))}return I(),C.update()},forceUpdate:function(){if(!x){var R=v.elements,H=R.reference,F=R.popper;if(!T0(H,F)){process.env.NODE_ENV!=="production"&&console.error(E0);return}v.rects={reference:K4(H,Br(F),v.options.strategy==="fixed"),popper:s1(F)},v.reset=!1,v.placement=v.options.placement,v.orderedModifiers.forEach(function(ae){return v.modifiersData[ae.name]=Object.assign({},ae.data)});for(var S=0,Y=0;Y<v.orderedModifiers.length;Y++){if(process.env.NODE_ENV!=="production"&&(S+=1,S>100)){console.error(t5);break}if(v.reset===!0){v.reset=!1,Y=-1;continue}var V=v.orderedModifiers[Y],X=V.fn,G=V.options,Q=G===void 0?{}:G,oe=V.name;typeof X=="function"&&(v=X({state:v,options:Q,name:oe,instance:C})||v)}}},update:X4(function(){return new Promise(function(T){C.forceUpdate(),T(v)})}),destroy:function(){A(),x=!0}};if(!T0(d,f))return process.env.NODE_ENV!=="production"&&console.error(E0),C;C.setOptions(m).then(function(T){!x&&m.onFirstUpdate&&m.onFirstUpdate(T)});function I(){v.orderedModifiers.forEach(function(T){var R=T.name,H=T.options,F=H===void 0?{}:H,S=T.effect;if(typeof S=="function"){var Y=S({state:v,name:R,instance:C,options:F}),V=function(){};w.push(Y||V)}})}function A(){w.forEach(function(T){return T()}),w=[]}return C}}var a5=[S4,R4,b4,h0,L4,A4,W4,v4,N4],d1=n5({defaultModifiers:a5});const LQ="",f1={components:{CdsScrollable:l0},directives:{"on-click-outside":il.directive},props:{modelValue:{type:Boolean,default:!1},width:{type:[String,Number],default:250},height:{type:[String,Number],default:200},targetId:{type:String,default:""},rightAligned:{type:Boolean,default:!1},verticalFluid:{type:Boolean,default:!1}},data(){return{target:"",popover:"",popperInstance:null}},computed:{variationPlacement(){return this.rightAligned?"end":"start"},popoverWidth(){return`${this.width}px`},popoverHeight(){return this.verticalFluid?"fit-content":`${this.height}px`}},watch:{modelValue(e){e?this.show():this.hide()},targetId(e){this.setPopper(e)}},mounted(){this.setPopper(this.targetId)},methods:{setPopper(e){this.target=document.querySelector(`[id='${e}']`),this.popover=document.querySelector("#cds-popover"),this.popperInstance=d1(this.target,this.popover,{placement:`bottom-${this.variationPlacement}`,modifiers:[{name:"offset",options:{offset:[0,8]}},{name:"flip",options:{fallbackPlacements:[`top-${this.variationPlacement}`]}}]})},show(){this.popover.setAttribute("data-show",""),this.popperInstance.setOptions(e=>({...e,modifiers:[...e.modifiers,{name:"eventListeners",enabled:!0}]})),this.$emit("update:modelValue",!0),this.popperInstance.update()},hide(){this.popover.removeAttribute("data-show"),this.popperInstance.setOptions(e=>({...e,modifiers:[...e.modifiers,{name:"eventListeners",enabled:!1}]})),this.$emit("update:modelValue",!1)}}},I0=()=>{s.useCssVars(e=>({f8b3d3ca:e.popoverHeight,"065b8b5c":e.popoverWidth}))},V0=f1.setup;f1.setup=V0?(e,t)=>(I0(),V0(e,t)):I0;const i5=f1,s5={id:"cds-popover",class:"popover"};function r5(e,t,n,i,o,l){const c=s.resolveComponent("cds-scrollable"),d=s.resolveDirective("on-click-outside");return s.withDirectives((s.openBlock(),s.createElementBlock("div",s5,[n.verticalFluid?s.renderSlot(e.$slots,"default",{key:1},void 0,!0):(s.openBlock(),s.createBlock(c,{key:0,"max-height":`${l.popoverHeight}`},{default:s.withCtx(()=>[s.renderSlot(e.$slots,"default",{},void 0,!0)]),_:3},8,["max-height"]))])),[[d,l.hide]])}const A0=re(i5,[["render",r5],["__scopeId","data-v-9cf65dd6"]]),FQ="",o5={components:{CdsChevron:Tr,CdsClickable:bs,CdsPopover:A0},props:{variant:{type:String,default:"green"},size:{type:String,default:"md"},src:{type:String,default:""},initials:{type:String,default:null},name:{type:String,default:null},clickable:{type:Boolean,default:!1}},data(){return{showPopover:!1}},computed:{computedInitials(){return this.initials?this.initials:this.name?this.name.replace(/(\S+)(\s*)/gi,e=>e[0].toUpperCase()).slice(0,2):"UND"}},methods:{toggleDropdown(){!this.clickable||(this.showPopover=!this.showPopover)}}},l5={class:"avatar__container"},c5=["src","alt"];function u5(e,t,n,i,o,l){const c=s.resolveComponent("cds-chevron"),d=s.resolveComponent("cds-popover"),f=s.resolveComponent("cds-clickable");return s.openBlock(),s.createBlock(f,{id:"avatar-dropdown",clickable:n.clickable,onClick:l.toggleDropdown},{default:s.withCtx(()=>[s.createElementVNode("div",l5,[s.createElementVNode("div",{class:s.normalizeClass(`avatar__container--${n.variant} avatar__container--${n.size}`)},[n.src?(s.openBlock(),s.createElementBlock("img",{key:1,src:n.src,alt:n.name,class:s.normalizeClass(`avatar__image--${n.size}`)},null,10,c5)):(s.openBlock(),s.createElementBlock("span",{key:0,class:s.normalizeClass(`avatar__initials--${n.size}`)},s.toDisplayString(l.computedInitials),3))],2),n.clickable?(s.openBlock(),s.createBlock(c,{key:0,size:"sm",class:"avatar__chevron",direction:"bottom"})):s.createCommentVNode("",!0)]),s.createVNode(d,{modelValue:o.showPopover,"onUpdate:modelValue":t[0]||(t[0]=m=>o.showPopover=m),"target-id":"avatar-dropdown",width:"180","right-aligned":"","vertical-fluid":""},{default:s.withCtx(()=>[s.renderSlot(e.$slots,"dropdown-content")]),_:3},8,["modelValue"])]),_:3},8,["clickable","onClick"])}const B0=re(o5,[["render",u5]]),RQ="",h1={components:{CdsIcon:Dt,CdsAvatar:B0,CdsDivider:al,CdsClickable:bs},props:{hideSettings:{type:Boolean,default:!1},hideHelp:{type:Boolean,default:!1},hideNotification:{type:Boolean,default:!1},hideAppSwitcher:{type:Boolean,default:!1},hideLogout:{type:Boolean,default:!1},sysvaleBrand:{type:Boolean,default:!1},csBrand:{type:Boolean,default:!1},userName:{type:String,default:null},userDescription:{type:String,default:null},clickable:{type:Boolean,default:!1}},computed:{hasAppSlot(){return Object.keys(this.$slots).some(e=>e==="app-info")},hasUserInfoSlot(){return Object.keys(this.$slots).some(e=>e==="user-info")},gridTemplateColumnsResolver(){return this.hasAppSlot?"1fr 1fr 1fr":"1fr 1fr"},gridTemplateAreasResolver(){return this.hasAppSlot?"'app logo icons'":"'logo icons'"},logoAlignmentResolver(){return this.hasAppSlot?"center":"flex-start"}},methods:{handleClick(e){this.$emit(`${e}-click`,!0)}}},N0=()=>{s.useCssVars(e=>({"244900c8":e.gridTemplateAreasResolver,"5097391f":e.gridTemplateColumnsResolver,a82bbc8c:e.logoAlignmentResolver}))},z0=h1.setup;h1.setup=z0?(e,t)=>(N0(),z0(e,t)):N0;const d5=h1,f5={class:"app-bar__container"},h5={key:0,class:"app-bar__logo--cs",src:"https://framerusercontent.com/images/LqVj4DBbWvH0zr04qwYMlSPvEBY.svg",alt:"logo do Cidade Saud\xE1vel"},p5={key:1,class:"app-bar__logo--sv",src:"https://framerusercontent.com/images/djNYjj5IdpsZL50hF8HEDt5Wbg.svg",alt:"logo da Sysvale"},m5={class:"app-bar__icons-grid"},v5={key:4,class:"user-info__avatar-container"},g5={class:"user-info__container"},y5={class:"user-info__name"},_5={class:"user-info__description"},b5={key:5,class:"app-switcher__container"},w5={key:2,class:"app-switcher"};function S5(e,t,n,i,o,l){const c=s.resolveComponent("cds-icon"),d=s.resolveComponent("cds-clickable"),f=s.resolveComponent("cds-avatar"),m=s.resolveComponent("cds-divider");return s.openBlock(),s.createElementBlock("div",f5,[n.csBrand?(s.openBlock(),s.createElementBlock("img",h5)):n.sysvaleBrand?(s.openBlock(),s.createElementBlock("img",p5)):s.createCommentVNode("",!0),s.renderSlot(e.$slots,"brand",{class:"app-bar__logo"}),s.createElementVNode("div",m5,[n.hideNotification?s.createCommentVNode("",!0):(s.openBlock(),s.createBlock(d,{key:0,clickable:"",onClick:t[0]||(t[0]=v=>l.handleClick("notification"))},{default:s.withCtx(()=>[s.createVNode(c,{height:"24",width:"24",light:"",name:"notification-bell-outline"})]),_:1})),n.hideHelp?s.createCommentVNode("",!0):(s.openBlock(),s.createBlock(d,{key:1,clickable:"",onClick:t[1]||(t[1]=v=>l.handleClick("help"))},{default:s.withCtx(()=>[s.createVNode(c,{height:"24",width:"24",light:"",name:"help-outline"})]),_:1})),n.hideSettings?s.createCommentVNode("",!0):(s.openBlock(),s.createBlock(d,{key:2,clickable:"",onClick:t[2]||(t[2]=v=>l.handleClick("settings"))},{default:s.withCtx(()=>[s.createVNode(c,{height:"24",width:"24",light:"",name:"settings-outline"})]),_:1})),l.hasUserInfoSlot?s.renderSlot(e.$slots,"user-info",{key:3,class:"user-info__container"}):(s.openBlock(),s.createElementBlock("div",v5,[s.createElementVNode("div",g5,[s.createElementVNode("span",y5,s.toDisplayString(n.userName),1),s.createElementVNode("span",_5,s.toDisplayString(n.userDescription),1)]),s.createVNode(f,{name:n.userName,variant:"white",size:"md",clickable:n.clickable,onClick:t[3]||(t[3]=v=>l.handleClick("avatar"))},s.createSlots({_:2},[n.clickable?{name:"dropdown-content",fn:s.withCtx(()=>[s.renderSlot(e.$slots,"dropdown-content")])}:void 0]),1032,["name","clickable"])])),n.hideAppSwitcher?s.createCommentVNode("",!0):(s.openBlock(),s.createElementBlock("div",b5,[s.createVNode(m,{vertical:"",width:"30"}),s.createVNode(d,{clickable:"",onClick:t[4]||(t[4]=v=>l.handleClick("app-switcher"))},{default:s.withCtx(()=>[s.createVNode(c,{height:"24",width:"24",light:"",name:"grid-outline"})]),_:1})])),n.hideLogout?s.createCommentVNode("",!0):(s.openBlock(),s.createBlock(d,{key:6,clickable:"",onClick:t[5]||(t[5]=v=>l.handleClick("logout"))},{default:s.withCtx(()=>[s.createVNode(c,{height:"24",width:"24",light:"",name:"logout-outline"})]),_:1}))]),l.hasAppSlot?(s.openBlock(),s.createElementBlock("div",w5,[s.renderSlot(e.$slots,"app-info")])):s.createCommentVNode("",!0)])}const C5=re(d5,[["render",S5]]),HQ="",O5={components:{CdsClickable:bs},props:{variant:{type:String,default:"gray"},size:{type:String,default:"md"},clickable:{type:Boolean,default:!1}},data(){return{predefinedColors:["turquoise","green","blue","indigo","violet","pink","red","orange","amber","gray","white"],predefinedSizes:["sm","md","lg"]}},computed:{predefinedStyle(){let e="";return this.predefinedColors.indexOf(this.variant)>-1&&(e+=`badge--${this.variant}`),this.predefinedSizes.indexOf(this.size)>-1&&(e+=` badge--${this.size}`),e}}};function k5(e,t,n,i,o,l){const c=s.resolveComponent("cds-clickable");return s.openBlock(),s.createElementBlock("div",{class:s.normalizeClass(["badge__container",l.predefinedStyle])},[s.createElementVNode("div",{class:s.normalizeClass({"badge__content--sm":n.size==="sm","badge__content--md":n.size==="md","badge__content--lg":n.size==="lg"})},[n.clickable?(s.openBlock(),s.createBlock(c,{key:0,onClick:t[0]||(t[0]=d=>e.$emit("click",!0))},{default:s.withCtx(()=>[s.renderSlot(e.$slots,"default",{},void 0,!0)]),_:3})):s.renderSlot(e.$slots,"default",{key:1},void 0,!0)],2)],2)}const x5=re(O5,[["render",k5],["__scopeId","data-v-93e05cbd"]]),YQ="",p1={props:{padding:{type:[Number,String],default:0,validator:e=>e>=0&&e<=12},paddingTop:{type:[Number,String],default:0,validator:e=>e>=0&&e<=12},paddingRight:{type:[Number,String],default:0,validator:e=>e>=0&&e<=12},paddingBottom:{type:[Number,String],default:0,validator:e=>e>=0&&e<=12},paddingLeft:{type:[Number,String],default:0,validator:e=>e>=0&&e<=12},margin:{type:[Number,String],default:0,validator:e=>e>=0&&e<=12},marginTop:{type:[Number,String],default:0,validator:e=>e>=0&&e<=12},marginRight:{type:[Number,String],default:0,validator:e=>e>=0&&e<=12},marginBottom:{type:[Number,String],default:0,validator:e=>e>=0&&e<=12},marginLeft:{type:[Number,String],default:0,validator:e=>e>=0&&e<=12}},computed:{paddingTopResolver(){let e=this.paddingTop>12?12:+this.paddingTop;return e=this.padding?this.basePropertyResolver(this.padding):e,`${e*4}px`},paddingRightResolver(){let e=this.paddingRight>12?12:+this.paddingRight;return e=this.padding?this.basePropertyResolver(this.padding):e,`${e*4}px`},paddingBottomResolver(){let e=this.paddingBottom>12?12:+this.paddingBottom;return e=this.padding?this.basePropertyResolver(this.padding):e,`${e*4}px`},paddingLeftResolver(){let e=this.paddingLeft>12?12:+this.paddingLeft;return e=this.padding?this.basePropertyResolver(this.padding):e,`${e*4}px`},marginTopResolver(){let e=this.marginTop>12?12:+this.marginTop;return e=this.margin?this.basePropertyResolver(this.margin):e,`${e*4}px`},marginRightResolver(){let e=this.marginRight>12?12:+this.marginRight;return e=this.margin?this.basePropertyResolver(this.margin):e,`${e*4}px`},marginBottomResolver(){let e=this.marginBottom>12?12:+this.marginBottom;return e=this.margin?this.basePropertyResolver(this.margin):e,`${e*4}px`},marginLeftResolver(){let e=this.marginLeft>12?12:+this.marginLeft;return e=this.margin?this.basePropertyResolver(this.margin):e,`${e*4}px`}},methods:{basePropertyResolver(e){return e>=0&&e<=12?e:e<0?0:12}}},P0=()=>{s.useCssVars(e=>({"6d4c0f4d":e.marginBottomResolver,d6616fae:e.marginLeftResolver,"0baf3274":e.marginRightResolver,"7c666dff":e.marginTopResolver,"561264d4":e.paddingBottomResolver,17295920:e.paddingLeftResolver,e3e47742:e.paddingRightResolver,"9def4450":e.paddingTopResolver}))},L0=p1.setup;p1.setup=L0?(e,t)=>(P0(),L0(e,t)):P0;const M5=p1,E5={class:"spacer"};function D5(e,t,n,i,o,l){return s.openBlock(),s.createElementBlock("div",E5,[s.renderSlot(e.$slots,"default",{},void 0,!0)])}const m1=re(M5,[["render",D5],["__scopeId","data-v-5aebf225"]]);function v1(e,t=24){let n=e/8,i=n%4;return`${n>t?t:n-i+4}px`}const WQ="",g1={components:{CdsSpacer:m1,CdsClickable:bs},props:{elevated:{type:Boolean,default:!1},fluid:{type:Boolean,default:!1},padding:{type:[Number,String],default:4,validator:e=>e<=12},clickable:{type:Boolean,default:!1},variant:{type:String,default:"gray"}},data(){return{width:0}},computed:{widthResolver(){return this.fluid?"100%":"fit-content"},borderRadiusResolver(){return this.rounder(this.width,16)}},mounted(){this.width=this.$refs["cds-box"].getBoundingClientRect().width},methods:{rounder:v1,handleClick(){this.clickable&&this.$emit("boxClick",!0)}}},F0=()=>{s.useCssVars(e=>({"69693de4":e.widthResolver,"5125faa2":e.borderRadiusResolver}))},R0=g1.setup;g1.setup=R0?(e,t)=>(F0(),R0(e,t)):F0;const T5=g1;function I5(e,t,n,i,o,l){const c=s.resolveComponent("cds-spacer"),d=s.resolveComponent("cds-clickable");return s.openBlock(),s.createElementBlock("div",{ref:"cds-box",class:s.normalizeClass(n.elevated?"box--elevated":`box--${n.variant}`)},[s.createVNode(d,{class:"box__container",clickable:n.clickable,onClick:l.handleClick},{default:s.withCtx(()=>[s.createVNode(c,{"padding-top":n.padding,"padding-right":n.padding,"padding-bottom":n.padding,"padding-left":n.padding},{default:s.withCtx(()=>[s.renderSlot(e.$slots,"default",{},void 0,!0)]),_:3},8,["padding-top","padding-right","padding-bottom","padding-left"])]),_:3},8,["clickable","onClick"])],2)}const y1=re(T5,[["render",I5],["__scopeId","data-v-17086220"]]);var _1={exports:{}};(function(e,t){var n=9007199254740991,i="[object Arguments]",o="[object Function]",l="[object GeneratorFunction]",c="[object Map]",d="[object Object]",f="[object Promise]",m="[object Set]",v="[object WeakMap]",w="[object DataView]",x=/[\\^$.*+?()[\]{}|]/g,C=/^\[object .+?Constructor\]$/,I=typeof Ft=="object"&&Ft&&Ft.Object===Object&&Ft,A=typeof self=="object"&&self&&self.Object===Object&&self,T=I||A||Function("return this")(),R=t&&!t.nodeType&&t,H=R&&!0&&e&&!e.nodeType&&e,F=H&&H.exports===R;function S(Z,Le){return Z==null?void 0:Z[Le]}function Y(Z){var Le=!1;if(Z!=null&&typeof Z.toString!="function")try{Le=!!(Z+"")}catch{}return Le}function V(Z,Le){return function(nt){return Z(Le(nt))}}var X=Function.prototype,G=Object.prototype,Q=T["__core-js_shared__"],oe=function(){var Z=/[^.]+$/.exec(Q&&Q.keys&&Q.keys.IE_PROTO||"");return Z?"Symbol(src)_1."+Z:""}(),ae=X.toString,le=G.hasOwnProperty,ee=G.toString,Se=RegExp("^"+ae.call(le).replace(x,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),xe=F?T.Buffer:void 0,Be=G.propertyIsEnumerable,we=xe?xe.isBuffer:void 0,ye=V(Object.keys,Object),Re=Ve(T,"DataView"),ce=Ve(T,"Map"),N=Ve(T,"Promise"),J=Ve(T,"Set"),ie=Ve(T,"WeakMap"),he=!Be.call({valueOf:1},"valueOf"),K=Xe(Re),me=Xe(ce),Ce=Xe(N),ne=Xe(J),Te=Xe(ie);function Ne(Z){return ee.call(Z)}function Ie(Z){if(!zt(Z)||it(Z))return!1;var Le=Bt(Z)||Y(Z)?Se:C;return Le.test(Xe(Z))}function Ve(Z,Le){var nt=S(Z,Le);return Ie(nt)?nt:void 0}var He=Ne;(Re&&He(new Re(new ArrayBuffer(1)))!=w||ce&&He(new ce)!=c||N&&He(N.resolve())!=f||J&&He(new J)!=m||ie&&He(new ie)!=v)&&(He=function(Z){var Le=ee.call(Z),nt=Le==d?Z.constructor:void 0,Vn=nt?Xe(nt):void 0;if(Vn)switch(Vn){case K:return w;case me:return c;case Ce:return f;case ne:return m;case Te:return v}return Le});function it(Z){return!!oe&&oe in Z}function ot(Z){var Le=Z&&Z.constructor,nt=typeof Le=="function"&&Le.prototype||G;return Z===nt}function Xe(Z){if(Z!=null){try{return ae.call(Z)}catch{}try{return Z+""}catch{}}return""}function ke(Z){return _t(Z)&&le.call(Z,"callee")&&(!Be.call(Z,"callee")||ee.call(Z)==i)}var ft=Array.isArray;function At(Z){return Z!=null&&Nt(Z.length)&&!Bt(Z)}function _t(Z){return ea(Z)&&At(Z)}var ht=we||Pt;function Ut(Z){if(At(Z)&&(ft(Z)||typeof Z=="string"||typeof Z.splice=="function"||ht(Z)||ke(Z)))return!Z.length;var Le=He(Z);if(Le==c||Le==m)return!Z.size;if(he||ot(Z))return!ye(Z).length;for(var nt in Z)if(le.call(Z,nt))return!1;return!0}function Bt(Z){var Le=zt(Z)?ee.call(Z):"";return Le==o||Le==l}function Nt(Z){return typeof Z=="number"&&Z>-1&&Z%1==0&&Z<=n}function zt(Z){var Le=typeof Z;return!!Z&&(Le=="object"||Le=="function")}function ea(Z){return!!Z&&typeof Z=="object"}function Pt(){return!1}e.exports=Ut})(_1,_1.exports);const kn=_1.exports,UQ="",V5={components:{CdsIcon:Dt,CdsSpacer:m1,CdsClickable:bs},props:{items:{type:Array,default:()=>[],required:!0}},methods:{resolveRoute({route:e,path:t}){const n=kn(e)?t:e;return n instanceof String?{path:n}:n},routerPushTo(e){return this.resolveRoute(e)?this.resolveRoute(e).path:null}}},A5={class:"breadcrumb"};function B5(e,t,n,i,o,l){const c=s.resolveComponent("cds-icon"),d=s.resolveComponent("cds-spacer"),f=s.resolveComponent("router-link"),m=s.resolveComponent("cds-clickable");return s.openBlock(),s.createElementBlock("nav",null,[s.createElementVNode("ul",A5,[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(n.items,(v,w)=>(s.openBlock(),s.createElementBlock("li",{key:`${w}-${v.name}-item`,role:"presentation"},[w===0?(s.openBlock(),s.createBlock(m,{key:0,clickable:""},{default:s.withCtx(()=>[s.createVNode(f,{to:l.routerPushTo(v),class:"breadcrumb__link"},{default:s.withCtx(()=>[n.items.length<=2?(s.openBlock(),s.createBlock(c,{key:0,height:"16",width:"16",name:"arrow-left-outline"})):(s.openBlock(),s.createBlock(c,{key:1,height:"15",width:"15",name:"home-outline"})),s.createVNode(d,{"margin-left":"2"},{default:s.withCtx(()=>[s.createTextVNode(s.toDisplayString(v.label),1)]),_:2},1024)]),_:2},1032,["to"])]),_:2},1024)):(s.openBlock(),s.createBlock(d,{key:1,class:"breadcrumb__item","margin-right":"1","margin-left":"1"},{default:s.withCtx(()=>[s.createVNode(c,{height:"16",width:"16",name:"caret-right-outline",class:"breadcrumb__separator"}),s.createVNode(f,{to:l.routerPushTo(v),class:"breadcrumb__link"},{default:s.withCtx(()=>[s.createVNode(m,{clickable:""},{default:s.withCtx(()=>[s.createTextVNode(s.toDisplayString(v.label),1)]),_:2},1024)]),_:2},1032,["to"])]),_:2},1024))]))),128))])])}const N5=re(V5,[["render",B5],["__scopeId","data-v-c2046c1c"]]),jQ="",b1={props:{src:{type:String,required:!0},fallbackSrc:{type:String,required:!1},width:{type:[Number,String],default:null},height:{type:[Number,String],default:null},alt:{type:String,default:"Imagem"},opacity:{type:[Number,String],default:1},dimmed:{type:Boolean,default:!1},blackAndWhite:{type:Boolean,default:!1},roundedCorners:{type:Boolean,default:!1}},data(){return{innerSrc:this.src}},computed:{heightResolver(){return this.height?`${this.height}px`:"auto"},widthResolver(){return this.width?`${this.width}px`:"auto"},opacityResolver(){return this.width?`${this.width}px`:"auto"},radiusResolver(){return this.roundedCorners?v1(this.width):"0px"},grayScaleResolver(){return this.blackAndWhite?"grayscale(100%)":this.dimmed?"grayscale(35%)":"grayscale(0%)"}},methods:{rounder:v1,imageSrcResolver(){this.innerSrc=this.fallbackSrc}}},H0=()=>{s.useCssVars(e=>({"21136de6":e.radiusResolver,e10ed842:e.grayScaleResolver,"31ae2d7b":e.heightResolver,"1e7f7c9d":e.opacity,"775376fe":e.widthResolver}))},Y0=b1.setup;b1.setup=Y0?(e,t)=>(H0(),Y0(e,t)):H0;const z5=b1,P5=["src","alt"];function L5(e,t,n,i,o,l){return s.openBlock(),s.createElementBlock("img",s.mergeProps(e.$attrs,{src:o.innerSrc,alt:n.alt,class:"cds__image",onError:t[0]||(t[0]=(...c)=>l.imageSrcResolver&&l.imageSrcResolver(...c))}),null,16,P5)}const W0=re(z5,[["render",L5],["__scopeId","data-v-79754f28"]]),U0=(e,t)=>Object.keys(e).some(n=>n===t),GQ="",w1={components:{CdsBox:y1,CdsImage:W0},props:{title:{type:String,default:""},content:{type:String,default:""},imageSrc:{type:String,default:""},imageAlt:{type:String,default:"imagem do card"},imageWidth:{type:[String,Number],default:300},imageHeight:{type:[String,Number],default:180},bodyWidth:{type:[String,Number],default:300},horizontal:{type:Boolean,default:!1},clickable:{type:Boolean,default:!1}},computed:{imageWidthResolver(){return this.horizontal?"fit-content":`${this.imageWidth}px`},bodyWidthResolver(){return`${this.bodyWidth}px`}},methods:{hasSlot:U0,handleClick(){this.clickable&&this.$emit("cardClick",!0)}}},j0=()=>{s.useCssVars(e=>({"8d304056":e.bodyWidthResolver,"4730bd46":e.imageWidthResolver}))},G0=w1.setup;w1.setup=G0?(e,t)=>(j0(),G0(e,t)):j0;const F5=w1,R5={class:"card__extra-container"},H5={class:"card__extra"},Y5={key:0},W5={key:1,class:"card__image"},U5={key:2,class:"card__icon"},j5={class:"card__spacer"},G5={key:0,class:"card__header"},K5={key:1},Z5={class:"card__header"},J5={key:2,class:"card__body"},X5={key:3},Q5={class:"card__body"},q5={key:4,class:"card__footer"};function $5(e,t,n,i,o,l){const c=s.resolveComponent("cds-image"),d=s.resolveComponent("cds-box");return s.openBlock(),s.createBlock(d,{padding:"0",clickable:n.clickable,onBoxClick:l.handleClick},{default:s.withCtx(()=>[s.createElementVNode("div",R5,[s.createElementVNode("div",H5,[s.renderSlot(e.$slots,"extra",{},void 0,!0)])]),s.createElementVNode("div",{class:s.normalizeClass({"card--horizontal":this.horizontal})},[l.hasSlot(e.$slots,"image")?(s.openBlock(),s.createElementBlock("div",Y5,[s.renderSlot(e.$slots,"image",{},void 0,!0)])):n.imageSrc?(s.openBlock(),s.createElementBlock("div",W5,[s.createVNode(c,{src:n.imageSrc,width:n.imageWidth,height:n.imageHeight,alt:n.imageAlt},null,8,["src","width","height","alt"])])):l.hasSlot(e.$slots,"icon")?(s.openBlock(),s.createElementBlock("div",U5,[s.renderSlot(e.$slots,"icon",{},void 0,!0)])):s.createCommentVNode("",!0),s.createElementVNode("div",j5,[l.hasSlot(e.$slots,"header")?(s.openBlock(),s.createElementBlock("div",G5,[s.renderSlot(e.$slots,"header",{},void 0,!0)])):(s.openBlock(),s.createElementBlock("div",K5,[s.createElementVNode("p",Z5,s.toDisplayString(n.title),1)])),l.hasSlot(e.$slots,"body")?(s.openBlock(),s.createElementBlock("div",J5,[s.renderSlot(e.$slots,"body",{},void 0,!0)])):(s.openBlock(),s.createElementBlock("div",X5,[s.createElementVNode("p",Q5,s.toDisplayString(n.content),1)])),l.hasSlot(e.$slots,"footer")?(s.openBlock(),s.createElementBlock("div",q5,[s.renderSlot(e.$slots,"footer",{},void 0,!0)])):s.createCommentVNode("",!0)])],2)]),_:3},8,["clickable","onBoxClick"])}const e6=re(F5,[["render",$5],["__scopeId","data-v-ef799654"]]),KQ="",t6={components:{CdsButton:Dr},props:{title:{type:String,default:"T\xEDtulo do AlertCard",required:!0},text:{type:String,default:"Subt\xEDtulo do AlertCard"},image:{type:String,default:"",required:!0},imageDescription:{type:String,default:"Imagem de CalloutCard"},actionButtonVariant:{type:String,default:"green"},actionButtonText:{type:String,default:"Ok"},actionButtonSecondary:{type:Boolean,default:!1},actionButtonDisabled:{type:Boolean,default:!1},compact:{type:Boolean,default:!1}},methods:{resolveClass(e){return this.compact?`${e}--compact`:e}}},n6={id:"callout-card"},a6={class:"image__container"},i6=["src","alt"],s6={class:"content__title"},r6={class:"content__text"};function o6(e,t,n,i,o,l){const c=s.resolveComponent("cds-button");return s.openBlock(),s.createElementBlock("span",n6,[s.createElementVNode("div",{class:s.normalizeClass(l.resolveClass("callout-card__container"))},[s.createElementVNode("div",a6,[s.createElementVNode("img",{class:s.normalizeClass(l.resolveClass("image__content")),src:n.image,alt:n.imageDescription},null,10,i6)]),s.createElementVNode("div",{class:s.normalizeClass(l.resolveClass("content__container"))},[s.createElementVNode("div",{class:s.normalizeClass(l.resolveClass("content"))},[s.createElementVNode("p",s6,s.toDisplayString(n.title),1),s.createElementVNode("span",r6,[s.renderSlot(e.$slots,"text",{},()=>[s.createTextVNode(s.toDisplayString(n.text),1)])])],2),s.createElementVNode("div",null,[s.renderSlot(e.$slots,"action",{},()=>[s.createVNode(c,{id:"content-button",variant:n.actionButtonVariant,text:n.actionButtonText,secondary:n.actionButtonSecondary,disabled:n.actionButtonDisabled,onClick:t[0]||(t[0]=d=>e.$emit("action-button-click",!0))},null,8,["variant","text","secondary","disabled"])])])],2)],2)])}const l6=re(t6,[["render",o6]]),ZQ="",c6={props:{propertyName:{type:String,default:"Dados",required:!1},perPage:{type:Number,required:!0},total:{type:Number,required:!0},simple:{type:Boolean,default:!1,required:!1},fluid:{type:Boolean,default:!1,required:!1}},data(){return{currentNumberOfItemsMin:1,currentNumberOfItemsMax:this.perPage}},computed:{numberOfPages(){return Math.ceil(this.total/this.perPage)},disabledForward(){return this.currentNumberOfItemsMax>=this.total||this.simple&&this.currentNumberOfItemsMin>=this.numberOfPages},disabledBack(){return this.currentNumberOfItemsMin===1}},methods:{handleClickBack(){if(!this.disabledBack){if(this.simple&&this.currentNumberOfItemsMin>1){this.currentNumberOfItemsMin-=1,this.$emit("click-back",{min:this.currentNumberOfItemsMin-1,max:this.currentNumberOfItemsMax+1});return}else if(this.simple&&this.currentNumberOfItemsMin===1)return;this.currentNumberOfItemsMin-this.perPage<=0?(this.currentNumberOfItemsMin=1,this.currentNumberOfItemsMax=this.perPage,this.$emit("click-back",{min:this.currentNumberOfItemsMin-1,max:this.currentNumberOfItemsMax+1})):(this.currentNumberOfItemsMax-=this.currentNumberOfItemsMax-this.currentNumberOfItemsMin+1,this.currentNumberOfItemsMin-=this.perPage,this.$emit("click-back",{min:this.currentNumberOfItemsMin-1,max:this.currentNumberOfItemsMax}))}},handleClickForward(){if(!this.disabledForward){if(this.simple&&this.currentNumberOfItemsMin<this.numberOfPages){this.currentNumberOfItemsMin+=1,this.$emit("click-forward",{min:this.currentNumberOfItemsMin-1,max:this.currentNumberOfItemsMax+1});return}else if(this.simple&&this.currentNumberOfItemsMin===this.numberOfPages)return;this.currentNumberOfItemsMax+this.perPage>this.total?(this.currentNumberOfItemsMin=this.currentNumberOfItemsMax+1,this.currentNumberOfItemsMax=this.total,this.$emit("click-forward",{min:this.currentNumberOfItemsMin-1,max:this.currentNumberOfItemsMax+1})):(this.currentNumberOfItemsMin=this.currentNumberOfItemsMax+1,this.currentNumberOfItemsMax+=this.perPage,this.$emit("click-forward",{min:this.currentNumberOfItemsMin-1,max:this.currentNumberOfItemsMax+1}))}}}},u6={key:0,class:"carousel-controller__text"},d6={key:1,class:"carousel-controller__text"},f6={class:"carousel-controller__property"};function h6(e,t,n,i,o,l){return s.openBlock(),s.createElementBlock("div",null,[s.createElementVNode("div",{class:s.normalizeClass(["carousel-controller",{"carousel-controller--fluid":n.fluid}])},[s.createElementVNode("span",{class:s.normalizeClass({"carousel-controller__previous-button--disabled":l.disabledBack,"carousel-controller__previous-button":!l.disabledBack}),onClick:t[0]||(t[0]=(...c)=>l.handleClickBack&&l.handleClickBack(...c))},null,2),s.createElementVNode("div",null,[n.simple?(s.openBlock(),s.createElementBlock("span",d6,s.toDisplayString(o.currentNumberOfItemsMin)+" de "+s.toDisplayString(l.numberOfPages),1)):(s.openBlock(),s.createElementBlock("span",u6,s.toDisplayString(o.currentNumberOfItemsMin)+"-"+s.toDisplayString(o.currentNumberOfItemsMax)+" de "+s.toDisplayString(n.total),1)),s.createElementVNode("span",f6,s.toDisplayString(n.propertyName),1)]),s.createElementVNode("span",{class:s.normalizeClass({"carousel-controller__next-button--disabled":l.disabledForward,"carousel-controller__next-button":!l.disabledForward}),onClick:t[1]||(t[1]=(...c)=>l.handleClickForward&&l.handleClickForward(...c))},null,2)],2)])}const p6=re(c6,[["render",h6],["__scopeId","data-v-fcb19a0a"]]),JQ="",m6={props:{modelValue:{default:null,required:!0},disabled:{type:Boolean,default:!1},label:{type:String,default:"checkbox content"},noText:{type:Boolean,default:!1}},data(){return{isChecked:this.modelValue}},watch:{modelValue:{handler(e,t){e!==t&&(this.isChecked=this.modelValue)},immediate:!0}},methods:{toggleValue(){this.disabled||(this.isChecked=!this.isChecked,this.$emit("update:modelValue",this.isChecked))}}},v6={class:"checkbox__content"},g6=["id","value","name","checked","disabled"],y6=["for"];function _6(e,t,n,i,o,l){return s.openBlock(),s.createElementBlock("span",{id:"cds-checkbox",class:"checkbox__container",onClick:t[2]||(t[2]=(...c)=>l.toggleValue&&l.toggleValue(...c))},[s.createElementVNode("div",v6,[s.createElementVNode("input",{id:e.$attrs.id||"cds-checkbox-option-input",value:n.modelValue,type:"checkbox",name:e.$attrs.name||"cds-checkbox-option",checked:o.isChecked,disabled:n.disabled,onInput:t[0]||(t[0]=(...c)=>l.toggleValue&&l.toggleValue(...c))},null,40,g6),s.createElementVNode("label",{for:e.$attrs.id||"cds-checkbox-option-input",class:s.normalizeClass({"checkbox__content--checked":o.isChecked,"checkbox__content--disabled":n.disabled}),onClick:t[1]||(t[1]=s.withModifiers((...c)=>l.toggleValue&&l.toggleValue(...c),["stop"]))},null,10,y6)]),n.noText?s.createCommentVNode("",!0):(s.openBlock(),s.createElementBlock("div",{key:0,class:s.normalizeClass(["checkbox__label",{"checkbox__label--disabled":n.disabled}])},[s.renderSlot(e.$slots,"default",{},()=>[s.createTextVNode(s.toDisplayString(n.label),1)])],2))])}const b6=re(m6,[["render",_6]]),XQ="",w6={props:{modelValue:{type:Boolean,default:!1,required:!0},title:{type:String,default:"Visualizar mais"}},data(){return{internalValue:this.modelValue}},watch:{internalValue(e){this.$emit("update:modelValue",e)},modelValue(e){this.internalValue=e}},methods:{triggerExpanded(){this.internalValue=!this.internalValue}}},S6={id:"collapsible-container"},C6={class:"collapsible-container__title"},O6={key:0,class:"collapsible-container__content"};function k6(e,t,n,i,o,l){return s.openBlock(),s.createElementBlock("span",S6,[s.createElementVNode("div",{class:"collapsible-container__item",onClick:t[0]||(t[0]=(...c)=>l.triggerExpanded&&l.triggerExpanded(...c))},[s.createElementVNode("span",{class:s.normalizeClass(o.internalValue?"collapsible-container__chevron--opened":"collapsible-container__chevron--closed")},null,2),s.renderSlot(e.$slots,"title",{},()=>[s.createElementVNode("span",C6,s.toDisplayString(n.title),1)])]),o.internalValue?(s.openBlock(),s.createElementBlock("div",O6,[s.renderSlot(e.$slots,"default")])):s.createCommentVNode("",!0)])}const x6=re(w6,[["render",k6]]),QQ="",M6={props:{title:{type:String,default:"",required:!1},description:{type:String,default:"",required:!1},showAction:{type:Boolean,default:!1,required:!1},action:{type:String,default:"Action",required:!1},fluid:{type:Boolean,default:!1}}},E6={class:"dashboard-card"},D6={class:"dashboard-card__header"},T6={key:0,class:"dashboard-card__title"},I6={key:1,class:"dashboard-card__title"},V6={key:0,class:"dashboard-card__description"},A6={key:1,class:"dashboard-card__description"},B6={key:0};function N6(e,t,n,i,o,l){return s.openBlock(),s.createElementBlock("div",E6,[s.createElementVNode("div",null,[s.createElementVNode("div",D6,[n.title.length>0?(s.openBlock(),s.createElementBlock("p",T6,s.toDisplayString(n.title),1)):(s.openBlock(),s.createElementBlock("p",I6,[s.renderSlot(e.$slots,"title-slot",{},void 0,!0)])),s.createElementVNode("div",null,[s.renderSlot(e.$slots,"status-slot",{},void 0,!0)])]),n.description.length>0?(s.openBlock(),s.createElementBlock("p",V6,s.toDisplayString(n.description),1)):(s.openBlock(),s.createElementBlock("p",A6,[s.renderSlot(e.$slots,"description-slot",{},void 0,!0)]))]),s.createElementVNode("div",{class:"dashboard-card__action",onClick:t[0]||(t[0]=c=>e.$emit("action-button-click"))},[s.renderSlot(e.$slots,"action-slot",{},()=>[n.showAction?(s.openBlock(),s.createElementBlock("div",B6,s.toDisplayString(n.action),1)):s.createCommentVNode("",!0)],!0)])])}const z6=re(M6,[["render",N6],["__scopeId","data-v-cd0db219"]]);class Wi extends Error{}class P6 extends Wi{constructor(t){super(`Invalid DateTime: ${t.toMessage()}`)}}class L6 extends Wi{constructor(t){super(`Invalid Interval: ${t.toMessage()}`)}}class F6 extends Wi{constructor(t){super(`Invalid Duration: ${t.toMessage()}`)}}class Lr extends Wi{}class K0 extends Wi{constructor(t){super(`Invalid unit ${t}`)}}class Un extends Wi{}class pi extends Wi{constructor(){super("Zone is an abstract class")}}const q="numeric",ma="short",xn="long",ul={year:q,month:q,day:q},Z0={year:q,month:ma,day:q},R6={year:q,month:ma,day:q,weekday:ma},J0={year:q,month:xn,day:q},X0={year:q,month:xn,day:q,weekday:xn},Q0={hour:q,minute:q},q0={hour:q,minute:q,second:q},$0={hour:q,minute:q,second:q,timeZoneName:ma},ef={hour:q,minute:q,second:q,timeZoneName:xn},tf={hour:q,minute:q,hourCycle:"h23"},nf={hour:q,minute:q,second:q,hourCycle:"h23"},af={hour:q,minute:q,second:q,hourCycle:"h23",timeZoneName:ma},sf={hour:q,minute:q,second:q,hourCycle:"h23",timeZoneName:xn},rf={year:q,month:q,day:q,hour:q,minute:q},of={year:q,month:q,day:q,hour:q,minute:q,second:q},lf={year:q,month:ma,day:q,hour:q,minute:q},cf={year:q,month:ma,day:q,hour:q,minute:q,second:q},H6={year:q,month:ma,day:q,weekday:ma,hour:q,minute:q},uf={year:q,month:xn,day:q,hour:q,minute:q,timeZoneName:ma},df={year:q,month:xn,day:q,hour:q,minute:q,second:q,timeZoneName:ma},ff={year:q,month:xn,day:q,weekday:xn,hour:q,minute:q,timeZoneName:xn},hf={year:q,month:xn,day:q,weekday:xn,hour:q,minute:q,second:q,timeZoneName:xn};class Fr{get type(){throw new pi}get name(){throw new pi}get ianaName(){return this.name}get isUniversal(){throw new pi}offsetName(t,n){throw new pi}formatOffset(t,n){throw new pi}offset(t){throw new pi}equals(t){throw new pi}get isValid(){throw new pi}}let S1=null;class dl extends Fr{static get instance(){return S1===null&&(S1=new dl),S1}get type(){return"system"}get name(){return new Intl.DateTimeFormat().resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(t,{format:n,locale:i}){return Of(t,n,i)}formatOffset(t,n){return Wr(this.offset(t),n)}offset(t){return-new Date(t).getTimezoneOffset()}equals(t){return t.type==="system"}get isValid(){return!0}}let fl={};function Y6(e){return fl[e]||(fl[e]=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:e,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",era:"short"})),fl[e]}const W6={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};function U6(e,t){const n=e.format(t).replace(/\u200E/g,""),i=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(n),[,o,l,c,d,f,m,v]=i;return[c,o,l,d,f,m,v]}function j6(e,t){const n=e.formatToParts(t),i=[];for(let o=0;o<n.length;o++){const{type:l,value:c}=n[o],d=W6[l];l==="era"?i[d]=c:Ze(d)||(i[d]=parseInt(c,10))}return i}let hl={};class Wa extends Fr{static create(t){return hl[t]||(hl[t]=new Wa(t)),hl[t]}static resetCache(){hl={},fl={}}static isValidSpecifier(t){return this.isValidZone(t)}static isValidZone(t){if(!t)return!1;try{return new Intl.DateTimeFormat("en-US",{timeZone:t}).format(),!0}catch{return!1}}constructor(t){super(),this.zoneName=t,this.valid=Wa.isValidZone(t)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(t,{format:n,locale:i}){return Of(t,n,i,this.name)}formatOffset(t,n){return Wr(this.offset(t),n)}offset(t){const n=new Date(t);if(isNaN(n))return NaN;const i=Y6(this.name);let[o,l,c,d,f,m,v]=i.formatToParts?j6(i,n):U6(i,n);d==="BC"&&(o=-Math.abs(o)+1);const x=T1({year:o,month:l,day:c,hour:f===24?0:f,minute:m,second:v,millisecond:0});let C=+n;const I=C%1e3;return C-=I>=0?I:1e3+I,(x-C)/(60*1e3)}equals(t){return t.type==="iana"&&t.name===this.name}get isValid(){return this.valid}}let pf={};function G6(e,t={}){const n=JSON.stringify([e,t]);let i=pf[n];return i||(i=new Intl.ListFormat(e,t),pf[n]=i),i}let C1={};function O1(e,t={}){const n=JSON.stringify([e,t]);let i=C1[n];return i||(i=new Intl.DateTimeFormat(e,t),C1[n]=i),i}let k1={};function K6(e,t={}){const n=JSON.stringify([e,t]);let i=k1[n];return i||(i=new Intl.NumberFormat(e,t),k1[n]=i),i}let x1={};function Z6(e,t={}){const{base:n,...i}=t,o=JSON.stringify([e,i]);let l=x1[o];return l||(l=new Intl.RelativeTimeFormat(e,t),x1[o]=l),l}let Rr=null;function J6(){return Rr||(Rr=new Intl.DateTimeFormat().resolvedOptions().locale,Rr)}function X6(e){const t=e.indexOf("-x-");t!==-1&&(e=e.substring(0,t));const n=e.indexOf("-u-");if(n===-1)return[e];{let i,o;try{i=O1(e).resolvedOptions(),o=e}catch{const f=e.substring(0,n);i=O1(f).resolvedOptions(),o=f}const{numberingSystem:l,calendar:c}=i;return[o,l,c]}}function Q6(e,t,n){return(n||t)&&(e.includes("-u-")||(e+="-u"),n&&(e+=`-ca-${n}`),t&&(e+=`-nu-${t}`)),e}function q6(e){const t=[];for(let n=1;n<=12;n++){const i=ve.utc(2016,n,1);t.push(e(i))}return t}function $6(e){const t=[];for(let n=1;n<=7;n++){const i=ve.utc(2016,11,13+n);t.push(e(i))}return t}function pl(e,t,n,i,o){const l=e.listingMode(n);return l==="error"?null:l==="en"?i(t):o(t)}function e7(e){return e.numberingSystem&&e.numberingSystem!=="latn"?!1:e.numberingSystem==="latn"||!e.locale||e.locale.startsWith("en")||new Intl.DateTimeFormat(e.intl).resolvedOptions().numberingSystem==="latn"}class t7{constructor(t,n,i){this.padTo=i.padTo||0,this.floor=i.floor||!1;const{padTo:o,floor:l,...c}=i;if(!n||Object.keys(c).length>0){const d={useGrouping:!1,...i};i.padTo>0&&(d.minimumIntegerDigits=i.padTo),this.inf=K6(t,d)}}format(t){if(this.inf){const n=this.floor?Math.floor(t):t;return this.inf.format(n)}else{const n=this.floor?Math.floor(t):D1(t,3);return It(n,this.padTo)}}}class n7{constructor(t,n,i){this.opts=i;let o;if(t.zone.isUniversal){const c=-1*(t.offset/60),d=c>=0?`Etc/GMT+${c}`:`Etc/GMT${c}`;t.offset!==0&&Wa.create(d).valid?(o=d,this.dt=t):(o="UTC",i.timeZoneName?this.dt=t:this.dt=t.offset===0?t:ve.fromMillis(t.ts+t.offset*60*1e3))}else t.zone.type==="system"?this.dt=t:(this.dt=t,o=t.zone.name);const l={...this.opts};l.timeZone=l.timeZone||o,this.dtf=O1(n,l)}format(){return this.dtf.format(this.dt.toJSDate())}formatToParts(){return this.dtf.formatToParts(this.dt.toJSDate())}resolvedOptions(){return this.dtf.resolvedOptions()}}class a7{constructor(t,n,i){this.opts={style:"long",...i},!n&&Sf()&&(this.rtf=Z6(t,i))}format(t,n){return this.rtf?this.rtf.format(t,n):b7(n,t,this.opts.numeric,this.opts.style!=="long")}formatToParts(t,n){return this.rtf?this.rtf.formatToParts(t,n):[]}}class gt{static fromOpts(t){return gt.create(t.locale,t.numberingSystem,t.outputCalendar,t.defaultToEN)}static create(t,n,i,o=!1){const l=t||Tt.defaultLocale,c=l||(o?"en-US":J6()),d=n||Tt.defaultNumberingSystem,f=i||Tt.defaultOutputCalendar;return new gt(c,d,f,l)}static resetCache(){Rr=null,C1={},k1={},x1={}}static fromObject({locale:t,numberingSystem:n,outputCalendar:i}={}){return gt.create(t,n,i)}constructor(t,n,i,o){const[l,c,d]=X6(t);this.locale=l,this.numberingSystem=n||c||null,this.outputCalendar=i||d||null,this.intl=Q6(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=o,this.fastNumbersCached=null}get fastNumbers(){return this.fastNumbersCached==null&&(this.fastNumbersCached=e7(this)),this.fastNumbersCached}listingMode(){const t=this.isEnglish(),n=(this.numberingSystem===null||this.numberingSystem==="latn")&&(this.outputCalendar===null||this.outputCalendar==="gregory");return t&&n?"en":"intl"}clone(t){return!t||Object.getOwnPropertyNames(t).length===0?this:gt.create(t.locale||this.specifiedLocale,t.numberingSystem||this.numberingSystem,t.outputCalendar||this.outputCalendar,t.defaultToEN||!1)}redefaultToEN(t={}){return this.clone({...t,defaultToEN:!0})}redefaultToSystem(t={}){return this.clone({...t,defaultToEN:!1})}months(t,n=!1,i=!0){return pl(this,t,i,Mf,()=>{const o=n?{month:t,day:"numeric"}:{month:t},l=n?"format":"standalone";return this.monthsCache[l][t]||(this.monthsCache[l][t]=q6(c=>this.extract(c,o,"month"))),this.monthsCache[l][t]})}weekdays(t,n=!1,i=!0){return pl(this,t,i,Tf,()=>{const o=n?{weekday:t,year:"numeric",month:"long",day:"numeric"}:{weekday:t},l=n?"format":"standalone";return this.weekdaysCache[l][t]||(this.weekdaysCache[l][t]=$6(c=>this.extract(c,o,"weekday"))),this.weekdaysCache[l][t]})}meridiems(t=!0){return pl(this,void 0,t,()=>If,()=>{if(!this.meridiemCache){const n={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[ve.utc(2016,11,13,9),ve.utc(2016,11,13,19)].map(i=>this.extract(i,n,"dayperiod"))}return this.meridiemCache})}eras(t,n=!0){return pl(this,t,n,Vf,()=>{const i={era:t};return this.eraCache[t]||(this.eraCache[t]=[ve.utc(-40,1,1),ve.utc(2017,1,1)].map(o=>this.extract(o,i,"era"))),this.eraCache[t]})}extract(t,n,i){const o=this.dtFormatter(t,n),l=o.formatToParts(),c=l.find(d=>d.type.toLowerCase()===i);return c?c.value:null}numberFormatter(t={}){return new t7(this.intl,t.forceSimple||this.fastNumbers,t)}dtFormatter(t,n={}){return new n7(t,this.intl,n)}relFormatter(t={}){return new a7(this.intl,this.isEnglish(),t)}listFormatter(t={}){return G6(this.intl,t)}isEnglish(){return this.locale==="en"||this.locale.toLowerCase()==="en-us"||new Intl.DateTimeFormat(this.intl).resolvedOptions().locale.startsWith("en-us")}equals(t){return this.locale===t.locale&&this.numberingSystem===t.numberingSystem&&this.outputCalendar===t.outputCalendar}}let M1=null;class an extends Fr{static get utcInstance(){return M1===null&&(M1=new an(0)),M1}static instance(t){return t===0?an.utcInstance:new an(t)}static parseSpecifier(t){if(t){const n=t.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(n)return new an(yl(n[1],n[2]))}return null}constructor(t){super(),this.fixed=t}get type(){return"fixed"}get name(){return this.fixed===0?"UTC":`UTC${Wr(this.fixed,"narrow")}`}get ianaName(){return this.fixed===0?"Etc/UTC":`Etc/GMT${Wr(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(t,n){return Wr(this.fixed,n)}get isUniversal(){return!0}offset(){return this.fixed}equals(t){return t.type==="fixed"&&t.fixed===this.fixed}get isValid(){return!0}}class i7 extends Fr{constructor(t){super(),this.zoneName=t}get type(){return"invalid"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(){return null}formatOffset(){return""}offset(){return NaN}equals(){return!1}get isValid(){return!1}}function mi(e,t){if(Ze(e)||e===null)return t;if(e instanceof Fr)return e;if(s7(e)){const n=e.toLowerCase();return n==="default"?t:n==="local"||n==="system"?dl.instance:n==="utc"||n==="gmt"?an.utcInstance:an.parseSpecifier(n)||Wa.create(e)}else return Ui(e)?an.instance(e):typeof e=="object"&&e.offset&&typeof e.offset=="number"?e:new i7(e)}let mf=()=>Date.now(),vf="system",gf=null,yf=null,_f=null,bf=60,wf;class Tt{static get now(){return mf}static set now(t){mf=t}static set defaultZone(t){vf=t}static get defaultZone(){return mi(vf,dl.instance)}static get defaultLocale(){return gf}static set defaultLocale(t){gf=t}static get defaultNumberingSystem(){return yf}static set defaultNumberingSystem(t){yf=t}static get defaultOutputCalendar(){return _f}static set defaultOutputCalendar(t){_f=t}static get twoDigitCutoffYear(){return bf}static set twoDigitCutoffYear(t){bf=t%100}static get throwOnInvalid(){return wf}static set throwOnInvalid(t){wf=t}static resetCaches(){gt.resetCache(),Wa.resetCache()}}function Ze(e){return typeof e>"u"}function Ui(e){return typeof e=="number"}function ml(e){return typeof e=="number"&&e%1===0}function s7(e){return typeof e=="string"}function r7(e){return Object.prototype.toString.call(e)==="[object Date]"}function Sf(){try{return typeof Intl<"u"&&!!Intl.RelativeTimeFormat}catch{return!1}}function o7(e){return Array.isArray(e)?e:[e]}function Cf(e,t,n){if(e.length!==0)return e.reduce((i,o)=>{const l=[t(o),o];return i&&n(i[0],l[0])===i[0]?i:l},null)[1]}function l7(e,t){return t.reduce((n,i)=>(n[i]=e[i],n),{})}function ks(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function Ua(e,t,n){return ml(e)&&e>=t&&e<=n}function c7(e,t){return e-t*Math.floor(e/t)}function It(e,t=2){const n=e<0;let i;return n?i="-"+(""+-e).padStart(t,"0"):i=(""+e).padStart(t,"0"),i}function vi(e){if(!(Ze(e)||e===null||e===""))return parseInt(e,10)}function ji(e){if(!(Ze(e)||e===null||e===""))return parseFloat(e)}function E1(e){if(!(Ze(e)||e===null||e==="")){const t=parseFloat("0."+e)*1e3;return Math.floor(t)}}function D1(e,t,n=!1){const i=10**t;return(n?Math.trunc:Math.round)(e*i)/i}function Hr(e){return e%4===0&&(e%100!==0||e%400===0)}function Yr(e){return Hr(e)?366:365}function vl(e,t){const n=c7(t-1,12)+1,i=e+(t-n)/12;return n===2?Hr(i)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][n-1]}function T1(e){let t=Date.UTC(e.year,e.month-1,e.day,e.hour,e.minute,e.second,e.millisecond);return e.year<100&&e.year>=0&&(t=new Date(t),t.setUTCFullYear(t.getUTCFullYear()-1900)),+t}function gl(e){const t=(e+Math.floor(e/4)-Math.floor(e/100)+Math.floor(e/400))%7,n=e-1,i=(n+Math.floor(n/4)-Math.floor(n/100)+Math.floor(n/400))%7;return t===4||i===3?53:52}function I1(e){return e>99?e:e>Tt.twoDigitCutoffYear?1900+e:2e3+e}function Of(e,t,n,i=null){const o=new Date(e),l={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};i&&(l.timeZone=i);const c={timeZoneName:t,...l},d=new Intl.DateTimeFormat(n,c).formatToParts(o).find(f=>f.type.toLowerCase()==="timezonename");return d?d.value:null}function yl(e,t){let n=parseInt(e,10);Number.isNaN(n)&&(n=0);const i=parseInt(t,10)||0,o=n<0||Object.is(n,-0)?-i:i;return n*60+o}function kf(e){const t=Number(e);if(typeof e=="boolean"||e===""||Number.isNaN(t))throw new Un(`Invalid unit value ${e}`);return t}function _l(e,t){const n={};for(const i in e)if(ks(e,i)){const o=e[i];if(o==null)continue;n[t(i)]=kf(o)}return n}function Wr(e,t){const n=Math.trunc(Math.abs(e/60)),i=Math.trunc(Math.abs(e%60)),o=e>=0?"+":"-";switch(t){case"short":return`${o}${It(n,2)}:${It(i,2)}`;case"narrow":return`${o}${n}${i>0?`:${i}`:""}`;case"techie":return`${o}${It(n,2)}${It(i,2)}`;default:throw new RangeError(`Value format ${t} is out of range for property format`)}}function bl(e){return l7(e,["hour","minute","second","millisecond"])}const u7=["January","February","March","April","May","June","July","August","September","October","November","December"],xf=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],d7=["J","F","M","A","M","J","J","A","S","O","N","D"];function Mf(e){switch(e){case"narrow":return[...d7];case"short":return[...xf];case"long":return[...u7];case"numeric":return["1","2","3","4","5","6","7","8","9","10","11","12"];case"2-digit":return["01","02","03","04","05","06","07","08","09","10","11","12"];default:return null}}const Ef=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],Df=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],f7=["M","T","W","T","F","S","S"];function Tf(e){switch(e){case"narrow":return[...f7];case"short":return[...Df];case"long":return[...Ef];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const If=["AM","PM"],h7=["Before Christ","Anno Domini"],p7=["BC","AD"],m7=["B","A"];function Vf(e){switch(e){case"narrow":return[...m7];case"short":return[...p7];case"long":return[...h7];default:return null}}function v7(e){return If[e.hour<12?0:1]}function g7(e,t){return Tf(t)[e.weekday-1]}function y7(e,t){return Mf(t)[e.month-1]}function _7(e,t){return Vf(t)[e.year<0?0:1]}function b7(e,t,n="always",i=!1){const o={years:["year","yr."],quarters:["quarter","qtr."],months:["month","mo."],weeks:["week","wk."],days:["day","day","days"],hours:["hour","hr."],minutes:["minute","min."],seconds:["second","sec."]},l=["hours","minutes","seconds"].indexOf(e)===-1;if(n==="auto"&&l){const w=e==="days";switch(t){case 1:return w?"tomorrow":`next ${o[e][0]}`;case-1:return w?"yesterday":`last ${o[e][0]}`;case 0:return w?"today":`this ${o[e][0]}`}}const c=Object.is(t,-0)||t<0,d=Math.abs(t),f=d===1,m=o[e],v=i?f?m[1]:m[2]||m[1]:f?o[e][0]:e;return c?`${d} ${v} ago`:`in ${d} ${v}`}function Af(e,t){let n="";for(const i of e)i.literal?n+=i.val:n+=t(i.val);return n}const w7={D:ul,DD:Z0,DDD:J0,DDDD:X0,t:Q0,tt:q0,ttt:$0,tttt:ef,T:tf,TT:nf,TTT:af,TTTT:sf,f:rf,ff:lf,fff:uf,ffff:ff,F:of,FF:cf,FFF:df,FFFF:hf};class Qt{static create(t,n={}){return new Qt(t,n)}static parseFormat(t){let n=null,i="",o=!1;const l=[];for(let c=0;c<t.length;c++){const d=t.charAt(c);d==="'"?(i.length>0&&l.push({literal:o,val:i}),n=null,i="",o=!o):o||d===n?i+=d:(i.length>0&&l.push({literal:!1,val:i}),i=d,n=d)}return i.length>0&&l.push({literal:o,val:i}),l}static macroTokenToFormatOpts(t){return w7[t]}constructor(t,n){this.opts=n,this.loc=t,this.systemLoc=null}formatWithSystemDefault(t,n){return this.systemLoc===null&&(this.systemLoc=this.loc.redefaultToSystem()),this.systemLoc.dtFormatter(t,{...this.opts,...n}).format()}formatDateTime(t,n={}){return this.loc.dtFormatter(t,{...this.opts,...n}).format()}formatDateTimeParts(t,n={}){return this.loc.dtFormatter(t,{...this.opts,...n}).formatToParts()}formatInterval(t,n={}){return this.loc.dtFormatter(t.start,{...this.opts,...n}).dtf.formatRange(t.start.toJSDate(),t.end.toJSDate())}resolvedOptions(t,n={}){return this.loc.dtFormatter(t,{...this.opts,...n}).resolvedOptions()}num(t,n=0){if(this.opts.forceSimple)return It(t,n);const i={...this.opts};return n>0&&(i.padTo=n),this.loc.numberFormatter(i).format(t)}formatDateTimeFromString(t,n){const i=this.loc.listingMode()==="en",o=this.loc.outputCalendar&&this.loc.outputCalendar!=="gregory",l=(C,I)=>this.loc.extract(t,C,I),c=C=>t.isOffsetFixed&&t.offset===0&&C.allowZ?"Z":t.isValid?t.zone.formatOffset(t.ts,C.format):"",d=()=>i?v7(t):l({hour:"numeric",hourCycle:"h12"},"dayperiod"),f=(C,I)=>i?y7(t,C):l(I?{month:C}:{month:C,day:"numeric"},"month"),m=(C,I)=>i?g7(t,C):l(I?{weekday:C}:{weekday:C,month:"long",day:"numeric"},"weekday"),v=C=>{const I=Qt.macroTokenToFormatOpts(C);return I?this.formatWithSystemDefault(t,I):C},w=C=>i?_7(t,C):l({era:C},"era"),x=C=>{switch(C){case"S":return this.num(t.millisecond);case"u":case"SSS":return this.num(t.millisecond,3);case"s":return this.num(t.second);case"ss":return this.num(t.second,2);case"uu":return this.num(Math.floor(t.millisecond/10),2);case"uuu":return this.num(Math.floor(t.millisecond/100));case"m":return this.num(t.minute);case"mm":return this.num(t.minute,2);case"h":return this.num(t.hour%12===0?12:t.hour%12);case"hh":return this.num(t.hour%12===0?12:t.hour%12,2);case"H":return this.num(t.hour);case"HH":return this.num(t.hour,2);case"Z":return c({format:"narrow",allowZ:this.opts.allowZ});case"ZZ":return c({format:"short",allowZ:this.opts.allowZ});case"ZZZ":return c({format:"techie",allowZ:this.opts.allowZ});case"ZZZZ":return t.zone.offsetName(t.ts,{format:"short",locale:this.loc.locale});case"ZZZZZ":return t.zone.offsetName(t.ts,{format:"long",locale:this.loc.locale});case"z":return t.zoneName;case"a":return d();case"d":return o?l({day:"numeric"},"day"):this.num(t.day);case"dd":return o?l({day:"2-digit"},"day"):this.num(t.day,2);case"c":return this.num(t.weekday);case"ccc":return m("short",!0);case"cccc":return m("long",!0);case"ccccc":return m("narrow",!0);case"E":return this.num(t.weekday);case"EEE":return m("short",!1);case"EEEE":return m("long",!1);case"EEEEE":return m("narrow",!1);case"L":return o?l({month:"numeric",day:"numeric"},"month"):this.num(t.month);case"LL":return o?l({month:"2-digit",day:"numeric"},"month"):this.num(t.month,2);case"LLL":return f("short",!0);case"LLLL":return f("long",!0);case"LLLLL":return f("narrow",!0);case"M":return o?l({month:"numeric"},"month"):this.num(t.month);case"MM":return o?l({month:"2-digit"},"month"):this.num(t.month,2);case"MMM":return f("short",!1);case"MMMM":return f("long",!1);case"MMMMM":return f("narrow",!1);case"y":return o?l({year:"numeric"},"year"):this.num(t.year);case"yy":return o?l({year:"2-digit"},"year"):this.num(t.year.toString().slice(-2),2);case"yyyy":return o?l({year:"numeric"},"year"):this.num(t.year,4);case"yyyyyy":return o?l({year:"numeric"},"year"):this.num(t.year,6);case"G":return w("short");case"GG":return w("long");case"GGGGG":return w("narrow");case"kk":return this.num(t.weekYear.toString().slice(-2),2);case"kkkk":return this.num(t.weekYear,4);case"W":return this.num(t.weekNumber);case"WW":return this.num(t.weekNumber,2);case"o":return this.num(t.ordinal);case"ooo":return this.num(t.ordinal,3);case"q":return this.num(t.quarter);case"qq":return this.num(t.quarter,2);case"X":return this.num(Math.floor(t.ts/1e3));case"x":return this.num(t.ts);default:return v(C)}};return Af(Qt.parseFormat(n),x)}formatDurationFromString(t,n){const i=f=>{switch(f[0]){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":return"hour";case"d":return"day";case"w":return"week";case"M":return"month";case"y":return"year";default:return null}},o=f=>m=>{const v=i(m);return v?this.num(f.get(v),m.length):m},l=Qt.parseFormat(n),c=l.reduce((f,{literal:m,val:v})=>m?f:f.concat(v),[]),d=t.shiftTo(...c.map(i).filter(f=>f));return Af(l,o(d))}}class va{constructor(t,n){this.reason=t,this.explanation=n}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const Bf=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function xs(...e){const t=e.reduce((n,i)=>n+i.source,"");return RegExp(`^${t}$`)}function Ms(...e){return t=>e.reduce(([n,i,o],l)=>{const[c,d,f]=l(t,o);return[{...n,...c},d||i,f]},[{},null,1]).slice(0,2)}function Es(e,...t){if(e==null)return[null,null];for(const[n,i]of t){const o=n.exec(e);if(o)return i(o)}return[null,null]}function Nf(...e){return(t,n)=>{const i={};let o;for(o=0;o<e.length;o++)i[e[o]]=vi(t[n+o]);return[i,null,n+o]}}const zf=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,S7=`(?:${zf.source}?(?:\\[(${Bf.source})\\])?)?`,V1=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,Pf=RegExp(`${V1.source}${S7}`),A1=RegExp(`(?:T${Pf.source})?`),C7=/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,O7=/(\d{4})-?W(\d\d)(?:-?(\d))?/,k7=/(\d{4})-?(\d{3})/,x7=Nf("weekYear","weekNumber","weekDay"),M7=Nf("year","ordinal"),E7=/(\d{4})-(\d\d)-(\d\d)/,Lf=RegExp(`${V1.source} ?(?:${zf.source}|(${Bf.source}))?`),D7=RegExp(`(?: ${Lf.source})?`);function Ds(e,t,n){const i=e[t];return Ze(i)?n:vi(i)}function T7(e,t){return[{year:Ds(e,t),month:Ds(e,t+1,1),day:Ds(e,t+2,1)},null,t+3]}function Ts(e,t){return[{hours:Ds(e,t,0),minutes:Ds(e,t+1,0),seconds:Ds(e,t+2,0),milliseconds:E1(e[t+3])},null,t+4]}function Ur(e,t){const n=!e[t]&&!e[t+1],i=yl(e[t+1],e[t+2]),o=n?null:an.instance(i);return[{},o,t+3]}function jr(e,t){const n=e[t]?Wa.create(e[t]):null;return[{},n,t+1]}const I7=RegExp(`^T?${V1.source}$`),V7=/^-?P(?:(?:(-?\d{1,20}(?:\.\d{1,20})?)Y)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20}(?:\.\d{1,20})?)W)?(?:(-?\d{1,20}(?:\.\d{1,20})?)D)?(?:T(?:(-?\d{1,20}(?:\.\d{1,20})?)H)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20})(?:[.,](-?\d{1,20}))?S)?)?)$/;function A7(e){const[t,n,i,o,l,c,d,f,m]=e,v=t[0]==="-",w=f&&f[0]==="-",x=(C,I=!1)=>C!==void 0&&(I||C&&v)?-C:C;return[{years:x(ji(n)),months:x(ji(i)),weeks:x(ji(o)),days:x(ji(l)),hours:x(ji(c)),minutes:x(ji(d)),seconds:x(ji(f),f==="-0"),milliseconds:x(E1(m),w)}]}const B7={GMT:0,EDT:-4*60,EST:-5*60,CDT:-5*60,CST:-6*60,MDT:-6*60,MST:-7*60,PDT:-7*60,PST:-8*60};function B1(e,t,n,i,o,l,c){const d={year:t.length===2?I1(vi(t)):vi(t),month:xf.indexOf(n)+1,day:vi(i),hour:vi(o),minute:vi(l)};return c&&(d.second=vi(c)),e&&(d.weekday=e.length>3?Ef.indexOf(e)+1:Df.indexOf(e)+1),d}const N7=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|(?:([+-]\d\d)(\d\d)))$/;function z7(e){const[,t,n,i,o,l,c,d,f,m,v,w]=e,x=B1(t,o,i,n,l,c,d);let C;return f?C=B7[f]:m?C=0:C=yl(v,w),[x,new an(C)]}function P7(e){return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}const L7=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d\d) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d\d):(\d\d):(\d\d) GMT$/,F7=/^(Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d\d)-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d\d) (\d\d):(\d\d):(\d\d) GMT$/,R7=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( \d|\d\d) (\d\d):(\d\d):(\d\d) (\d{4})$/;function Ff(e){const[,t,n,i,o,l,c,d]=e;return[B1(t,o,i,n,l,c,d),an.utcInstance]}function H7(e){const[,t,n,i,o,l,c,d]=e;return[B1(t,d,n,i,o,l,c),an.utcInstance]}const Y7=xs(C7,A1),W7=xs(O7,A1),U7=xs(k7,A1),j7=xs(Pf),Rf=Ms(T7,Ts,Ur,jr),G7=Ms(x7,Ts,Ur,jr),K7=Ms(M7,Ts,Ur,jr),Z7=Ms(Ts,Ur,jr);function J7(e){return Es(e,[Y7,Rf],[W7,G7],[U7,K7],[j7,Z7])}function X7(e){return Es(P7(e),[N7,z7])}function Q7(e){return Es(e,[L7,Ff],[F7,Ff],[R7,H7])}function q7(e){return Es(e,[V7,A7])}const $7=Ms(Ts);function e8(e){return Es(e,[I7,$7])}const t8=xs(E7,D7),n8=xs(Lf),a8=Ms(Ts,Ur,jr);function i8(e){return Es(e,[t8,Rf],[n8,a8])}const s8="Invalid Duration",Hf={weeks:{days:7,hours:7*24,minutes:7*24*60,seconds:7*24*60*60,milliseconds:7*24*60*60*1e3},days:{hours:24,minutes:24*60,seconds:24*60*60,milliseconds:24*60*60*1e3},hours:{minutes:60,seconds:60*60,milliseconds:60*60*1e3},minutes:{seconds:60,milliseconds:60*1e3},seconds:{milliseconds:1e3}},r8={years:{quarters:4,months:12,weeks:52,days:365,hours:365*24,minutes:365*24*60,seconds:365*24*60*60,milliseconds:365*24*60*60*1e3},quarters:{months:3,weeks:13,days:91,hours:91*24,minutes:91*24*60,seconds:91*24*60*60,milliseconds:91*24*60*60*1e3},months:{weeks:4,days:30,hours:30*24,minutes:30*24*60,seconds:30*24*60*60,milliseconds:30*24*60*60*1e3},...Hf},jn=146097/400,Is=146097/4800,o8={years:{quarters:4,months:12,weeks:jn/7,days:jn,hours:jn*24,minutes:jn*24*60,seconds:jn*24*60*60,milliseconds:jn*24*60*60*1e3},quarters:{months:3,weeks:jn/28,days:jn/4,hours:jn*24/4,minutes:jn*24*60/4,seconds:jn*24*60*60/4,milliseconds:jn*24*60*60*1e3/4},months:{weeks:Is/7,days:Is,hours:Is*24,minutes:Is*24*60,seconds:Is*24*60*60,milliseconds:Is*24*60*60*1e3},...Hf},Gi=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],l8=Gi.slice(0).reverse();function gi(e,t,n=!1){const i={values:n?t.values:{...e.values,...t.values||{}},loc:e.loc.clone(t.loc),conversionAccuracy:t.conversionAccuracy||e.conversionAccuracy,matrix:t.matrix||e.matrix};return new qe(i)}function c8(e){return e<0?Math.floor(e):Math.ceil(e)}function Yf(e,t,n,i,o){const l=e[o][n],c=t[n]/l,d=Math.sign(c)===Math.sign(i[o]),f=!d&&i[o]!==0&&Math.abs(c)<=1?c8(c):Math.trunc(c);i[o]+=f,t[n]-=f*l}function u8(e,t){l8.reduce((n,i)=>Ze(t[i])?n:(n&&Yf(e,t,n,t,i),i),null)}function d8(e){const t={};for(const[n,i]of Object.entries(e))i!==0&&(t[n]=i);return t}class qe{constructor(t){const n=t.conversionAccuracy==="longterm"||!1;let i=n?o8:r8;t.matrix&&(i=t.matrix),this.values=t.values,this.loc=t.loc||gt.create(),this.conversionAccuracy=n?"longterm":"casual",this.invalid=t.invalid||null,this.matrix=i,this.isLuxonDuration=!0}static fromMillis(t,n){return qe.fromObject({milliseconds:t},n)}static fromObject(t,n={}){if(t==null||typeof t!="object")throw new Un(`Duration.fromObject: argument expected to be an object, got ${t===null?"null":typeof t}`);return new qe({values:_l(t,qe.normalizeUnit),loc:gt.fromObject(n),conversionAccuracy:n.conversionAccuracy,matrix:n.matrix})}static fromDurationLike(t){if(Ui(t))return qe.fromMillis(t);if(qe.isDuration(t))return t;if(typeof t=="object")return qe.fromObject(t);throw new Un(`Unknown duration argument ${t} of type ${typeof t}`)}static fromISO(t,n){const[i]=q7(t);return i?qe.fromObject(i,n):qe.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static fromISOTime(t,n){const[i]=e8(t);return i?qe.fromObject(i,n):qe.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static invalid(t,n=null){if(!t)throw new Un("need to specify a reason the Duration is invalid");const i=t instanceof va?t:new va(t,n);if(Tt.throwOnInvalid)throw new F6(i);return new qe({invalid:i})}static normalizeUnit(t){const n={year:"years",years:"years",quarter:"quarters",quarters:"quarters",month:"months",months:"months",week:"weeks",weeks:"weeks",day:"days",days:"days",hour:"hours",hours:"hours",minute:"minutes",minutes:"minutes",second:"seconds",seconds:"seconds",millisecond:"milliseconds",milliseconds:"milliseconds"}[t&&t.toLowerCase()];if(!n)throw new K0(t);return n}static isDuration(t){return t&&t.isLuxonDuration||!1}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}toFormat(t,n={}){const i={...n,floor:n.round!==!1&&n.floor!==!1};return this.isValid?Qt.create(this.loc,i).formatDurationFromString(this,t):s8}toHuman(t={}){const n=Gi.map(i=>{const o=this.values[i];return Ze(o)?null:this.loc.numberFormatter({style:"unit",unitDisplay:"long",...t,unit:i.slice(0,-1)}).format(o)}).filter(i=>i);return this.loc.listFormatter({type:"conjunction",style:t.listStyle||"narrow",...t}).format(n)}toObject(){return this.isValid?{...this.values}:{}}toISO(){if(!this.isValid)return null;let t="P";return this.years!==0&&(t+=this.years+"Y"),(this.months!==0||this.quarters!==0)&&(t+=this.months+this.quarters*3+"M"),this.weeks!==0&&(t+=this.weeks+"W"),this.days!==0&&(t+=this.days+"D"),(this.hours!==0||this.minutes!==0||this.seconds!==0||this.milliseconds!==0)&&(t+="T"),this.hours!==0&&(t+=this.hours+"H"),this.minutes!==0&&(t+=this.minutes+"M"),(this.seconds!==0||this.milliseconds!==0)&&(t+=D1(this.seconds+this.milliseconds/1e3,3)+"S"),t==="P"&&(t+="T0S"),t}toISOTime(t={}){if(!this.isValid)return null;const n=this.toMillis();if(n<0||n>=864e5)return null;t={suppressMilliseconds:!1,suppressSeconds:!1,includePrefix:!1,format:"extended",...t};const i=this.shiftTo("hours","minutes","seconds","milliseconds");let o=t.format==="basic"?"hhmm":"hh:mm";(!t.suppressSeconds||i.seconds!==0||i.milliseconds!==0)&&(o+=t.format==="basic"?"ss":":ss",(!t.suppressMilliseconds||i.milliseconds!==0)&&(o+=".SSS"));let l=i.toFormat(o);return t.includePrefix&&(l="T"+l),l}toJSON(){return this.toISO()}toString(){return this.toISO()}toMillis(){return this.as("milliseconds")}valueOf(){return this.toMillis()}plus(t){if(!this.isValid)return this;const n=qe.fromDurationLike(t),i={};for(const o of Gi)(ks(n.values,o)||ks(this.values,o))&&(i[o]=n.get(o)+this.get(o));return gi(this,{values:i},!0)}minus(t){if(!this.isValid)return this;const n=qe.fromDurationLike(t);return this.plus(n.negate())}mapUnits(t){if(!this.isValid)return this;const n={};for(const i of Object.keys(this.values))n[i]=kf(t(this.values[i],i));return gi(this,{values:n},!0)}get(t){return this[qe.normalizeUnit(t)]}set(t){if(!this.isValid)return this;const n={...this.values,..._l(t,qe.normalizeUnit)};return gi(this,{values:n})}reconfigure({locale:t,numberingSystem:n,conversionAccuracy:i,matrix:o}={}){const c={loc:this.loc.clone({locale:t,numberingSystem:n}),matrix:o,conversionAccuracy:i};return gi(this,c)}as(t){return this.isValid?this.shiftTo(t).get(t):NaN}normalize(){if(!this.isValid)return this;const t=this.toObject();return u8(this.matrix,t),gi(this,{values:t},!0)}rescale(){if(!this.isValid)return this;const t=d8(this.normalize().shiftToAll().toObject());return gi(this,{values:t},!0)}shiftTo(...t){if(!this.isValid)return this;if(t.length===0)return this;t=t.map(c=>qe.normalizeUnit(c));const n={},i={},o=this.toObject();let l;for(const c of Gi)if(t.indexOf(c)>=0){l=c;let d=0;for(const m in i)d+=this.matrix[m][c]*i[m],i[m]=0;Ui(o[c])&&(d+=o[c]);const f=Math.trunc(d);n[c]=f,i[c]=(d*1e3-f*1e3)/1e3;for(const m in o)Gi.indexOf(m)>Gi.indexOf(c)&&Yf(this.matrix,o,m,n,c)}else Ui(o[c])&&(i[c]=o[c]);for(const c in i)i[c]!==0&&(n[l]+=c===l?i[c]:i[c]/this.matrix[l][c]);return gi(this,{values:n},!0).normalize()}shiftToAll(){return this.isValid?this.shiftTo("years","months","weeks","days","hours","minutes","seconds","milliseconds"):this}negate(){if(!this.isValid)return this;const t={};for(const n of Object.keys(this.values))t[n]=this.values[n]===0?0:-this.values[n];return gi(this,{values:t},!0)}get years(){return this.isValid?this.values.years||0:NaN}get quarters(){return this.isValid?this.values.quarters||0:NaN}get months(){return this.isValid?this.values.months||0:NaN}get weeks(){return this.isValid?this.values.weeks||0:NaN}get days(){return this.isValid?this.values.days||0:NaN}get hours(){return this.isValid?this.values.hours||0:NaN}get minutes(){return this.isValid?this.values.minutes||0:NaN}get seconds(){return this.isValid?this.values.seconds||0:NaN}get milliseconds(){return this.isValid?this.values.milliseconds||0:NaN}get isValid(){return this.invalid===null}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}equals(t){if(!this.isValid||!t.isValid||!this.loc.equals(t.loc))return!1;function n(i,o){return i===void 0||i===0?o===void 0||o===0:i===o}for(const i of Gi)if(!n(this.values[i],t.values[i]))return!1;return!0}}const Vs="Invalid Interval";function f8(e,t){return!e||!e.isValid?St.invalid("missing or invalid start"):!t||!t.isValid?St.invalid("missing or invalid end"):t<e?St.invalid("end before start",`The end of an interval must be after its start, but you had start=${e.toISO()} and end=${t.toISO()}`):null}class St{constructor(t){this.s=t.start,this.e=t.end,this.invalid=t.invalid||null,this.isLuxonInterval=!0}static invalid(t,n=null){if(!t)throw new Un("need to specify a reason the Interval is invalid");const i=t instanceof va?t:new va(t,n);if(Tt.throwOnInvalid)throw new L6(i);return new St({invalid:i})}static fromDateTimes(t,n){const i=Zr(t),o=Zr(n),l=f8(i,o);return l??new St({start:i,end:o})}static after(t,n){const i=qe.fromDurationLike(n),o=Zr(t);return St.fromDateTimes(o,o.plus(i))}static before(t,n){const i=qe.fromDurationLike(n),o=Zr(t);return St.fromDateTimes(o.minus(i),o)}static fromISO(t,n){const[i,o]=(t||"").split("/",2);if(i&&o){let l,c;try{l=ve.fromISO(i,n),c=l.isValid}catch{c=!1}let d,f;try{d=ve.fromISO(o,n),f=d.isValid}catch{f=!1}if(c&&f)return St.fromDateTimes(l,d);if(c){const m=qe.fromISO(o,n);if(m.isValid)return St.after(l,m)}else if(f){const m=qe.fromISO(i,n);if(m.isValid)return St.before(d,m)}}return St.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static isInterval(t){return t&&t.isLuxonInterval||!1}get start(){return this.isValid?this.s:null}get end(){return this.isValid?this.e:null}get isValid(){return this.invalidReason===null}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}length(t="milliseconds"){return this.isValid?this.toDuration(t).get(t):NaN}count(t="milliseconds"){if(!this.isValid)return NaN;const n=this.start.startOf(t),i=this.end.startOf(t);return Math.floor(i.diff(n,t).get(t))+1}hasSame(t){return this.isValid?this.isEmpty()||this.e.minus(1).hasSame(this.s,t):!1}isEmpty(){return this.s.valueOf()===this.e.valueOf()}isAfter(t){return this.isValid?this.s>t:!1}isBefore(t){return this.isValid?this.e<=t:!1}contains(t){return this.isValid?this.s<=t&&this.e>t:!1}set({start:t,end:n}={}){return this.isValid?St.fromDateTimes(t||this.s,n||this.e):this}splitAt(...t){if(!this.isValid)return[];const n=t.map(Zr).filter(c=>this.contains(c)).sort(),i=[];let{s:o}=this,l=0;for(;o<this.e;){const c=n[l]||this.e,d=+c>+this.e?this.e:c;i.push(St.fromDateTimes(o,d)),o=d,l+=1}return i}splitBy(t){const n=qe.fromDurationLike(t);if(!this.isValid||!n.isValid||n.as("milliseconds")===0)return[];let{s:i}=this,o=1,l;const c=[];for(;i<this.e;){const d=this.start.plus(n.mapUnits(f=>f*o));l=+d>+this.e?this.e:d,c.push(St.fromDateTimes(i,l)),i=l,o+=1}return c}divideEqually(t){return this.isValid?this.splitBy(this.length()/t).slice(0,t):[]}overlaps(t){return this.e>t.s&&this.s<t.e}abutsStart(t){return this.isValid?+this.e==+t.s:!1}abutsEnd(t){return this.isValid?+t.e==+this.s:!1}engulfs(t){return this.isValid?this.s<=t.s&&this.e>=t.e:!1}equals(t){return!this.isValid||!t.isValid?!1:this.s.equals(t.s)&&this.e.equals(t.e)}intersection(t){if(!this.isValid)return this;const n=this.s>t.s?this.s:t.s,i=this.e<t.e?this.e:t.e;return n>=i?null:St.fromDateTimes(n,i)}union(t){if(!this.isValid)return this;const n=this.s<t.s?this.s:t.s,i=this.e>t.e?this.e:t.e;return St.fromDateTimes(n,i)}static merge(t){const[n,i]=t.sort((o,l)=>o.s-l.s).reduce(([o,l],c)=>l?l.overlaps(c)||l.abutsStart(c)?[o,l.union(c)]:[o.concat([l]),c]:[o,c],[[],null]);return i&&n.push(i),n}static xor(t){let n=null,i=0;const o=[],l=t.map(f=>[{time:f.s,type:"s"},{time:f.e,type:"e"}]),c=Array.prototype.concat(...l),d=c.sort((f,m)=>f.time-m.time);for(const f of d)i+=f.type==="s"?1:-1,i===1?n=f.time:(n&&+n!=+f.time&&o.push(St.fromDateTimes(n,f.time)),n=null);return St.merge(o)}difference(...t){return St.xor([this].concat(t)).map(n=>this.intersection(n)).filter(n=>n&&!n.isEmpty())}toString(){return this.isValid?`[${this.s.toISO()} \u2013 ${this.e.toISO()})`:Vs}toLocaleString(t=ul,n={}){return this.isValid?Qt.create(this.s.loc.clone(n),t).formatInterval(this):Vs}toISO(t){return this.isValid?`${this.s.toISO(t)}/${this.e.toISO(t)}`:Vs}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:Vs}toISOTime(t){return this.isValid?`${this.s.toISOTime(t)}/${this.e.toISOTime(t)}`:Vs}toFormat(t,{separator:n=" \u2013 "}={}){return this.isValid?`${this.s.toFormat(t)}${n}${this.e.toFormat(t)}`:Vs}toDuration(t,n){return this.isValid?this.e.diff(this.s,t,n):qe.invalid(this.invalidReason)}mapEndpoints(t){return St.fromDateTimes(t(this.s),t(this.e))}}class wl{static hasDST(t=Tt.defaultZone){const n=ve.now().setZone(t).set({month:12});return!t.isUniversal&&n.offset!==n.set({month:6}).offset}static isValidIANAZone(t){return Wa.isValidZone(t)}static normalizeZone(t){return mi(t,Tt.defaultZone)}static months(t="long",{locale:n=null,numberingSystem:i=null,locObj:o=null,outputCalendar:l="gregory"}={}){return(o||gt.create(n,i,l)).months(t)}static monthsFormat(t="long",{locale:n=null,numberingSystem:i=null,locObj:o=null,outputCalendar:l="gregory"}={}){return(o||gt.create(n,i,l)).months(t,!0)}static weekdays(t="long",{locale:n=null,numberingSystem:i=null,locObj:o=null}={}){return(o||gt.create(n,i,null)).weekdays(t)}static weekdaysFormat(t="long",{locale:n=null,numberingSystem:i=null,locObj:o=null}={}){return(o||gt.create(n,i,null)).weekdays(t,!0)}static meridiems({locale:t=null}={}){return gt.create(t).meridiems()}static eras(t="short",{locale:n=null}={}){return gt.create(n,null,"gregory").eras(t)}static features(){return{relative:Sf()}}}function Wf(e,t){const n=o=>o.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),i=n(t)-n(e);return Math.floor(qe.fromMillis(i).as("days"))}function h8(e,t,n){const i=[["years",(f,m)=>m.year-f.year],["quarters",(f,m)=>m.quarter-f.quarter+(m.year-f.year)*4],["months",(f,m)=>m.month-f.month+(m.year-f.year)*12],["weeks",(f,m)=>{const v=Wf(f,m);return(v-v%7)/7}],["days",Wf]],o={},l=e;let c,d;for(const[f,m]of i)n.indexOf(f)>=0&&(c=f,o[f]=m(e,t),d=l.plus(o),d>t?(o[f]--,e=l.plus(o)):e=d);return[e,o,d,c]}function p8(e,t,n,i){let[o,l,c,d]=h8(e,t,n);const f=t-o,m=n.filter(w=>["hours","minutes","seconds","milliseconds"].indexOf(w)>=0);m.length===0&&(c<t&&(c=o.plus({[d]:1})),c!==o&&(l[d]=(l[d]||0)+f/(c-o)));const v=qe.fromObject(l,i);return m.length>0?qe.fromMillis(f,i).shiftTo(...m).plus(v):v}const N1={arab:"[\u0660-\u0669]",arabext:"[\u06F0-\u06F9]",bali:"[\u1B50-\u1B59]",beng:"[\u09E6-\u09EF]",deva:"[\u0966-\u096F]",fullwide:"[\uFF10-\uFF19]",gujr:"[\u0AE6-\u0AEF]",hanidec:"[\u3007|\u4E00|\u4E8C|\u4E09|\u56DB|\u4E94|\u516D|\u4E03|\u516B|\u4E5D]",khmr:"[\u17E0-\u17E9]",knda:"[\u0CE6-\u0CEF]",laoo:"[\u0ED0-\u0ED9]",limb:"[\u1946-\u194F]",mlym:"[\u0D66-\u0D6F]",mong:"[\u1810-\u1819]",mymr:"[\u1040-\u1049]",orya:"[\u0B66-\u0B6F]",tamldec:"[\u0BE6-\u0BEF]",telu:"[\u0C66-\u0C6F]",thai:"[\u0E50-\u0E59]",tibt:"[\u0F20-\u0F29]",latn:"\\d"},Uf={arab:[1632,1641],arabext:[1776,1785],bali:[6992,7001],beng:[2534,2543],deva:[2406,2415],fullwide:[65296,65303],gujr:[2790,2799],khmr:[6112,6121],knda:[3302,3311],laoo:[3792,3801],limb:[6470,6479],mlym:[3430,3439],mong:[6160,6169],mymr:[4160,4169],orya:[2918,2927],tamldec:[3046,3055],telu:[3174,3183],thai:[3664,3673],tibt:[3872,3881]},m8=N1.hanidec.replace(/[\[|\]]/g,"").split("");function v8(e){let t=parseInt(e,10);if(isNaN(t)){t="";for(let n=0;n<e.length;n++){const i=e.charCodeAt(n);if(e[n].search(N1.hanidec)!==-1)t+=m8.indexOf(e[n]);else for(const o in Uf){const[l,c]=Uf[o];i>=l&&i<=c&&(t+=i-l)}}return parseInt(t,10)}else return t}function ga({numberingSystem:e},t=""){return new RegExp(`${N1[e||"latn"]}${t}`)}const g8="missing Intl.DateTimeFormat.formatToParts support";function et(e,t=n=>n){return{regex:e,deser:([n])=>t(v8(n))}}const jf=`[ ${String.fromCharCode(160)}]`,Gf=new RegExp(jf,"g");function y8(e){return e.replace(/\./g,"\\.?").replace(Gf,jf)}function Kf(e){return e.replace(/\./g,"").replace(Gf," ").toLowerCase()}function ya(e,t){return e===null?null:{regex:RegExp(e.map(y8).join("|")),deser:([n])=>e.findIndex(i=>Kf(n)===Kf(i))+t}}function Zf(e,t){return{regex:e,deser:([,n,i])=>yl(n,i),groups:t}}function z1(e){return{regex:e,deser:([t])=>t}}function _8(e){return e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")}function b8(e,t){const n=ga(t),i=ga(t,"{2}"),o=ga(t,"{3}"),l=ga(t,"{4}"),c=ga(t,"{6}"),d=ga(t,"{1,2}"),f=ga(t,"{1,3}"),m=ga(t,"{1,6}"),v=ga(t,"{1,9}"),w=ga(t,"{2,4}"),x=ga(t,"{4,6}"),C=T=>({regex:RegExp(_8(T.val)),deser:([R])=>R,literal:!0}),A=(T=>{if(e.literal)return C(T);switch(T.val){case"G":return ya(t.eras("short",!1),0);case"GG":return ya(t.eras("long",!1),0);case"y":return et(m);case"yy":return et(w,I1);case"yyyy":return et(l);case"yyyyy":return et(x);case"yyyyyy":return et(c);case"M":return et(d);case"MM":return et(i);case"MMM":return ya(t.months("short",!0,!1),1);case"MMMM":return ya(t.months("long",!0,!1),1);case"L":return et(d);case"LL":return et(i);case"LLL":return ya(t.months("short",!1,!1),1);case"LLLL":return ya(t.months("long",!1,!1),1);case"d":return et(d);case"dd":return et(i);case"o":return et(f);case"ooo":return et(o);case"HH":return et(i);case"H":return et(d);case"hh":return et(i);case"h":return et(d);case"mm":return et(i);case"m":return et(d);case"q":return et(d);case"qq":return et(i);case"s":return et(d);case"ss":return et(i);case"S":return et(f);case"SSS":return et(o);case"u":return z1(v);case"uu":return z1(d);case"uuu":return et(n);case"a":return ya(t.meridiems(),0);case"kkkk":return et(l);case"kk":return et(w,I1);case"W":return et(d);case"WW":return et(i);case"E":case"c":return et(n);case"EEE":return ya(t.weekdays("short",!1,!1),1);case"EEEE":return ya(t.weekdays("long",!1,!1),1);case"ccc":return ya(t.weekdays("short",!0,!1),1);case"cccc":return ya(t.weekdays("long",!0,!1),1);case"Z":case"ZZ":return Zf(new RegExp(`([+-]${d.source})(?::(${i.source}))?`),2);case"ZZZ":return Zf(new RegExp(`([+-]${d.source})(${i.source})?`),2);case"z":return z1(/[a-z_+-/]{1,256}?/i);default:return C(T)}})(e)||{invalidReason:g8};return A.token=e,A}const w8={year:{"2-digit":"yy",numeric:"yyyyy"},month:{numeric:"M","2-digit":"MM",short:"MMM",long:"MMMM"},day:{numeric:"d","2-digit":"dd"},weekday:{short:"EEE",long:"EEEE"},dayperiod:"a",dayPeriod:"a",hour:{numeric:"h","2-digit":"hh"},minute:{numeric:"m","2-digit":"mm"},second:{numeric:"s","2-digit":"ss"},timeZoneName:{long:"ZZZZZ",short:"ZZZ"}};function S8(e,t){const{type:n,value:i}=e;if(n==="literal")return{literal:!0,val:i};const o=t[n];let l=w8[n];if(typeof l=="object"&&(l=l[o]),l)return{literal:!1,val:l}}function C8(e){return[`^${e.map(n=>n.regex).reduce((n,i)=>`${n}(${i.source})`,"")}$`,e]}function O8(e,t,n){const i=e.match(t);if(i){const o={};let l=1;for(const c in n)if(ks(n,c)){const d=n[c],f=d.groups?d.groups+1:1;!d.literal&&d.token&&(o[d.token.val[0]]=d.deser(i.slice(l,l+f))),l+=f}return[i,o]}else return[i,{}]}function k8(e){const t=l=>{switch(l){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":case"H":return"hour";case"d":return"day";case"o":return"ordinal";case"L":case"M":return"month";case"y":return"year";case"E":case"c":return"weekday";case"W":return"weekNumber";case"k":return"weekYear";case"q":return"quarter";default:return null}};let n=null,i;return Ze(e.z)||(n=Wa.create(e.z)),Ze(e.Z)||(n||(n=new an(e.Z)),i=e.Z),Ze(e.q)||(e.M=(e.q-1)*3+1),Ze(e.h)||(e.h<12&&e.a===1?e.h+=12:e.h===12&&e.a===0&&(e.h=0)),e.G===0&&e.y&&(e.y=-e.y),Ze(e.u)||(e.S=E1(e.u)),[Object.keys(e).reduce((l,c)=>{const d=t(c);return d&&(l[d]=e[c]),l},{}),n,i]}let P1=null;function x8(){return P1||(P1=ve.fromMillis(1555555555555)),P1}function M8(e,t){if(e.literal)return e;const n=Qt.macroTokenToFormatOpts(e.val),i=Qf(n,t);return i==null||i.includes(void 0)?e:i}function Jf(e,t){return Array.prototype.concat(...e.map(n=>M8(n,t)))}function Xf(e,t,n){const i=Jf(Qt.parseFormat(n),e),o=i.map(c=>b8(c,e)),l=o.find(c=>c.invalidReason);if(l)return{input:t,tokens:i,invalidReason:l.invalidReason};{const[c,d]=C8(o),f=RegExp(c,"i"),[m,v]=O8(t,f,d),[w,x,C]=v?k8(v):[null,null,void 0];if(ks(v,"a")&&ks(v,"H"))throw new Lr("Can't include meridiem when specifying 24-hour format");return{input:t,tokens:i,regex:f,rawMatches:m,matches:v,result:w,zone:x,specificOffset:C}}}function E8(e,t,n){const{result:i,zone:o,specificOffset:l,invalidReason:c}=Xf(e,t,n);return[i,o,l,c]}function Qf(e,t){return e?Qt.create(t,e).formatDateTimeParts(x8()).map(o=>S8(o,e)):null}const qf=[0,31,59,90,120,151,181,212,243,273,304,334],$f=[0,31,60,91,121,152,182,213,244,274,305,335];function Gn(e,t){return new va("unit out of range",`you specified ${t} (of type ${typeof t}) as a ${e}, which is invalid`)}function eh(e,t,n){const i=new Date(Date.UTC(e,t-1,n));e<100&&e>=0&&i.setUTCFullYear(i.getUTCFullYear()-1900);const o=i.getUTCDay();return o===0?7:o}function th(e,t,n){return n+(Hr(e)?$f:qf)[t-1]}function nh(e,t){const n=Hr(e)?$f:qf,i=n.findIndex(l=>l<t),o=t-n[i];return{month:i+1,day:o}}function L1(e){const{year:t,month:n,day:i}=e,o=th(t,n,i),l=eh(t,n,i);let c=Math.floor((o-l+10)/7),d;return c<1?(d=t-1,c=gl(d)):c>gl(t)?(d=t+1,c=1):d=t,{weekYear:d,weekNumber:c,weekday:l,...bl(e)}}function ah(e){const{weekYear:t,weekNumber:n,weekday:i}=e,o=eh(t,1,4),l=Yr(t);let c=n*7+i-o-3,d;c<1?(d=t-1,c+=Yr(d)):c>l?(d=t+1,c-=Yr(t)):d=t;const{month:f,day:m}=nh(d,c);return{year:d,month:f,day:m,...bl(e)}}function F1(e){const{year:t,month:n,day:i}=e,o=th(t,n,i);return{year:t,ordinal:o,...bl(e)}}function ih(e){const{year:t,ordinal:n}=e,{month:i,day:o}=nh(t,n);return{year:t,month:i,day:o,...bl(e)}}function D8(e){const t=ml(e.weekYear),n=Ua(e.weekNumber,1,gl(e.weekYear)),i=Ua(e.weekday,1,7);return t?n?i?!1:Gn("weekday",e.weekday):Gn("week",e.week):Gn("weekYear",e.weekYear)}function T8(e){const t=ml(e.year),n=Ua(e.ordinal,1,Yr(e.year));return t?n?!1:Gn("ordinal",e.ordinal):Gn("year",e.year)}function sh(e){const t=ml(e.year),n=Ua(e.month,1,12),i=Ua(e.day,1,vl(e.year,e.month));return t?n?i?!1:Gn("day",e.day):Gn("month",e.month):Gn("year",e.year)}function rh(e){const{hour:t,minute:n,second:i,millisecond:o}=e,l=Ua(t,0,23)||t===24&&n===0&&i===0&&o===0,c=Ua(n,0,59),d=Ua(i,0,59),f=Ua(o,0,999);return l?c?d?f?!1:Gn("millisecond",o):Gn("second",i):Gn("minute",n):Gn("hour",t)}const R1="Invalid DateTime",oh=864e13;function Sl(e){return new va("unsupported zone",`the zone "${e.name}" is not supported`)}function H1(e){return e.weekData===null&&(e.weekData=L1(e.c)),e.weekData}function Gr(e,t){const n={ts:e.ts,zone:e.zone,c:e.c,o:e.o,loc:e.loc,invalid:e.invalid};return new ve({...n,...t,old:n})}function lh(e,t,n){let i=e-t*60*1e3;const o=n.offset(i);if(t===o)return[i,t];i-=(o-t)*60*1e3;const l=n.offset(i);return o===l?[i,o]:[e-Math.min(o,l)*60*1e3,Math.max(o,l)]}function ch(e,t){e+=t*60*1e3;const n=new Date(e);return{year:n.getUTCFullYear(),month:n.getUTCMonth()+1,day:n.getUTCDate(),hour:n.getUTCHours(),minute:n.getUTCMinutes(),second:n.getUTCSeconds(),millisecond:n.getUTCMilliseconds()}}function Cl(e,t,n){return lh(T1(e),t,n)}function uh(e,t){const n=e.o,i=e.c.year+Math.trunc(t.years),o=e.c.month+Math.trunc(t.months)+Math.trunc(t.quarters)*3,l={...e.c,year:i,month:o,day:Math.min(e.c.day,vl(i,o))+Math.trunc(t.days)+Math.trunc(t.weeks)*7},c=qe.fromObject({years:t.years-Math.trunc(t.years),quarters:t.quarters-Math.trunc(t.quarters),months:t.months-Math.trunc(t.months),weeks:t.weeks-Math.trunc(t.weeks),days:t.days-Math.trunc(t.days),hours:t.hours,minutes:t.minutes,seconds:t.seconds,milliseconds:t.milliseconds}).as("milliseconds"),d=T1(l);let[f,m]=lh(d,n,e.zone);return c!==0&&(f+=c,m=e.zone.offset(f)),{ts:f,o:m}}function Kr(e,t,n,i,o,l){const{setZone:c,zone:d}=n;if(e&&Object.keys(e).length!==0){const f=t||d,m=ve.fromObject(e,{...n,zone:f,specificOffset:l});return c?m:m.setZone(d)}else return ve.invalid(new va("unparsable",`the input "${o}" can't be parsed as ${i}`))}function Ol(e,t,n=!0){return e.isValid?Qt.create(gt.create("en-US"),{allowZ:n,forceSimple:!0}).formatDateTimeFromString(e,t):null}function Y1(e,t){const n=e.c.year>9999||e.c.year<0;let i="";return n&&e.c.year>=0&&(i+="+"),i+=It(e.c.year,n?6:4),t?(i+="-",i+=It(e.c.month),i+="-",i+=It(e.c.day)):(i+=It(e.c.month),i+=It(e.c.day)),i}function dh(e,t,n,i,o,l){let c=It(e.c.hour);return t?(c+=":",c+=It(e.c.minute),(e.c.second!==0||!n)&&(c+=":")):c+=It(e.c.minute),(e.c.second!==0||!n)&&(c+=It(e.c.second),(e.c.millisecond!==0||!i)&&(c+=".",c+=It(e.c.millisecond,3))),o&&(e.isOffsetFixed&&e.offset===0&&!l?c+="Z":e.o<0?(c+="-",c+=It(Math.trunc(-e.o/60)),c+=":",c+=It(Math.trunc(-e.o%60))):(c+="+",c+=It(Math.trunc(e.o/60)),c+=":",c+=It(Math.trunc(e.o%60)))),l&&(c+="["+e.zone.ianaName+"]"),c}const fh={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},I8={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},V8={ordinal:1,hour:0,minute:0,second:0,millisecond:0},hh=["year","month","day","hour","minute","second","millisecond"],A8=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],B8=["year","ordinal","hour","minute","second","millisecond"];function ph(e){const t={year:"year",years:"year",month:"month",months:"month",day:"day",days:"day",hour:"hour",hours:"hour",minute:"minute",minutes:"minute",quarter:"quarter",quarters:"quarter",second:"second",seconds:"second",millisecond:"millisecond",milliseconds:"millisecond",weekday:"weekday",weekdays:"weekday",weeknumber:"weekNumber",weeksnumber:"weekNumber",weeknumbers:"weekNumber",weekyear:"weekYear",weekyears:"weekYear",ordinal:"ordinal"}[e.toLowerCase()];if(!t)throw new K0(e);return t}function mh(e,t){const n=mi(t.zone,Tt.defaultZone),i=gt.fromObject(t),o=Tt.now();let l,c;if(Ze(e.year))l=o;else{for(const m of hh)Ze(e[m])&&(e[m]=fh[m]);const d=sh(e)||rh(e);if(d)return ve.invalid(d);const f=n.offset(o);[l,c]=Cl(e,f,n)}return new ve({ts:l,zone:n,loc:i,o:c})}function vh(e,t,n){const i=Ze(n.round)?!0:n.round,o=(c,d)=>(c=D1(c,i||n.calendary?0:2,!0),t.loc.clone(n).relFormatter(n).format(c,d)),l=c=>n.calendary?t.hasSame(e,c)?0:t.startOf(c).diff(e.startOf(c),c).get(c):t.diff(e,c).get(c);if(n.unit)return o(l(n.unit),n.unit);for(const c of n.units){const d=l(c);if(Math.abs(d)>=1)return o(d,c)}return o(e>t?-0:0,n.units[n.units.length-1])}function gh(e){let t={},n;return e.length>0&&typeof e[e.length-1]=="object"?(t=e[e.length-1],n=Array.from(e).slice(0,e.length-1)):n=Array.from(e),[t,n]}class ve{constructor(t){const n=t.zone||Tt.defaultZone;let i=t.invalid||(Number.isNaN(t.ts)?new va("invalid input"):null)||(n.isValid?null:Sl(n));this.ts=Ze(t.ts)?Tt.now():t.ts;let o=null,l=null;if(!i)if(t.old&&t.old.ts===this.ts&&t.old.zone.equals(n))[o,l]=[t.old.c,t.old.o];else{const d=n.offset(this.ts);o=ch(this.ts,d),i=Number.isNaN(o.year)?new va("invalid input"):null,o=i?null:o,l=i?null:d}this._zone=n,this.loc=t.loc||gt.create(),this.invalid=i,this.weekData=null,this.c=o,this.o=l,this.isLuxonDateTime=!0}static now(){return new ve({})}static local(){const[t,n]=gh(arguments),[i,o,l,c,d,f,m]=n;return mh({year:i,month:o,day:l,hour:c,minute:d,second:f,millisecond:m},t)}static utc(){const[t,n]=gh(arguments),[i,o,l,c,d,f,m]=n;return t.zone=an.utcInstance,mh({year:i,month:o,day:l,hour:c,minute:d,second:f,millisecond:m},t)}static fromJSDate(t,n={}){const i=r7(t)?t.valueOf():NaN;if(Number.isNaN(i))return ve.invalid("invalid input");const o=mi(n.zone,Tt.defaultZone);return o.isValid?new ve({ts:i,zone:o,loc:gt.fromObject(n)}):ve.invalid(Sl(o))}static fromMillis(t,n={}){if(Ui(t))return t<-oh||t>oh?ve.invalid("Timestamp out of range"):new ve({ts:t,zone:mi(n.zone,Tt.defaultZone),loc:gt.fromObject(n)});throw new Un(`fromMillis requires a numerical input, but received a ${typeof t} with value ${t}`)}static fromSeconds(t,n={}){if(Ui(t))return new ve({ts:t*1e3,zone:mi(n.zone,Tt.defaultZone),loc:gt.fromObject(n)});throw new Un("fromSeconds requires a numerical input")}static fromObject(t,n={}){t=t||{};const i=mi(n.zone,Tt.defaultZone);if(!i.isValid)return ve.invalid(Sl(i));const o=Tt.now(),l=Ze(n.specificOffset)?i.offset(o):n.specificOffset,c=_l(t,ph),d=!Ze(c.ordinal),f=!Ze(c.year),m=!Ze(c.month)||!Ze(c.day),v=f||m,w=c.weekYear||c.weekNumber,x=gt.fromObject(n);if((v||d)&&w)throw new Lr("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(m&&d)throw new Lr("Can't mix ordinal dates with month/day");const C=w||c.weekday&&!v;let I,A,T=ch(o,l);C?(I=A8,A=I8,T=L1(T)):d?(I=B8,A=V8,T=F1(T)):(I=hh,A=fh);let R=!1;for(const G of I){const Q=c[G];Ze(Q)?R?c[G]=A[G]:c[G]=T[G]:R=!0}const H=C?D8(c):d?T8(c):sh(c),F=H||rh(c);if(F)return ve.invalid(F);const S=C?ah(c):d?ih(c):c,[Y,V]=Cl(S,l,i),X=new ve({ts:Y,zone:i,o:V,loc:x});return c.weekday&&v&&t.weekday!==X.weekday?ve.invalid("mismatched weekday",`you can't specify both a weekday of ${c.weekday} and a date of ${X.toISO()}`):X}static fromISO(t,n={}){const[i,o]=J7(t);return Kr(i,o,n,"ISO 8601",t)}static fromRFC2822(t,n={}){const[i,o]=X7(t);return Kr(i,o,n,"RFC 2822",t)}static fromHTTP(t,n={}){const[i,o]=Q7(t);return Kr(i,o,n,"HTTP",n)}static fromFormat(t,n,i={}){if(Ze(t)||Ze(n))throw new Un("fromFormat requires an input string and a format");const{locale:o=null,numberingSystem:l=null}=i,c=gt.fromOpts({locale:o,numberingSystem:l,defaultToEN:!0}),[d,f,m,v]=E8(c,t,n);return v?ve.invalid(v):Kr(d,f,i,`format ${n}`,t,m)}static fromString(t,n,i={}){return ve.fromFormat(t,n,i)}static fromSQL(t,n={}){const[i,o]=i8(t);return Kr(i,o,n,"SQL",t)}static invalid(t,n=null){if(!t)throw new Un("need to specify a reason the DateTime is invalid");const i=t instanceof va?t:new va(t,n);if(Tt.throwOnInvalid)throw new P6(i);return new ve({invalid:i})}static isDateTime(t){return t&&t.isLuxonDateTime||!1}static parseFormatForOpts(t,n={}){const i=Qf(t,gt.fromObject(n));return i?i.map(o=>o?o.val:null).join(""):null}static expandFormat(t,n={}){return Jf(Qt.parseFormat(t),gt.fromObject(n)).map(o=>o.val).join("")}get(t){return this[t]}get isValid(){return this.invalid===null}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}get outputCalendar(){return this.isValid?this.loc.outputCalendar:null}get zone(){return this._zone}get zoneName(){return this.isValid?this.zone.name:null}get year(){return this.isValid?this.c.year:NaN}get quarter(){return this.isValid?Math.ceil(this.c.month/3):NaN}get month(){return this.isValid?this.c.month:NaN}get day(){return this.isValid?this.c.day:NaN}get hour(){return this.isValid?this.c.hour:NaN}get minute(){return this.isValid?this.c.minute:NaN}get second(){return this.isValid?this.c.second:NaN}get millisecond(){return this.isValid?this.c.millisecond:NaN}get weekYear(){return this.isValid?H1(this).weekYear:NaN}get weekNumber(){return this.isValid?H1(this).weekNumber:NaN}get weekday(){return this.isValid?H1(this).weekday:NaN}get ordinal(){return this.isValid?F1(this.c).ordinal:NaN}get monthShort(){return this.isValid?wl.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?wl.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?wl.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?wl.weekdays("long",{locObj:this.loc})[this.weekday-1]:null}get offset(){return this.isValid?+this.o:NaN}get offsetNameShort(){return this.isValid?this.zone.offsetName(this.ts,{format:"short",locale:this.locale}):null}get offsetNameLong(){return this.isValid?this.zone.offsetName(this.ts,{format:"long",locale:this.locale}):null}get isOffsetFixed(){return this.isValid?this.zone.isUniversal:null}get isInDST(){return this.isOffsetFixed?!1:this.offset>this.set({month:1,day:1}).offset||this.offset>this.set({month:5}).offset}get isInLeapYear(){return Hr(this.year)}get daysInMonth(){return vl(this.year,this.month)}get daysInYear(){return this.isValid?Yr(this.year):NaN}get weeksInWeekYear(){return this.isValid?gl(this.weekYear):NaN}resolvedLocaleOptions(t={}){const{locale:n,numberingSystem:i,calendar:o}=Qt.create(this.loc.clone(t),t).resolvedOptions(this);return{locale:n,numberingSystem:i,outputCalendar:o}}toUTC(t=0,n={}){return this.setZone(an.instance(t),n)}toLocal(){return this.setZone(Tt.defaultZone)}setZone(t,{keepLocalTime:n=!1,keepCalendarTime:i=!1}={}){if(t=mi(t,Tt.defaultZone),t.equals(this.zone))return this;if(t.isValid){let o=this.ts;if(n||i){const l=t.offset(this.ts),c=this.toObject();[o]=Cl(c,l,t)}return Gr(this,{ts:o,zone:t})}else return ve.invalid(Sl(t))}reconfigure({locale:t,numberingSystem:n,outputCalendar:i}={}){const o=this.loc.clone({locale:t,numberingSystem:n,outputCalendar:i});return Gr(this,{loc:o})}setLocale(t){return this.reconfigure({locale:t})}set(t){if(!this.isValid)return this;const n=_l(t,ph),i=!Ze(n.weekYear)||!Ze(n.weekNumber)||!Ze(n.weekday),o=!Ze(n.ordinal),l=!Ze(n.year),c=!Ze(n.month)||!Ze(n.day),d=l||c,f=n.weekYear||n.weekNumber;if((d||o)&&f)throw new Lr("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(c&&o)throw new Lr("Can't mix ordinal dates with month/day");let m;i?m=ah({...L1(this.c),...n}):Ze(n.ordinal)?(m={...this.toObject(),...n},Ze(n.day)&&(m.day=Math.min(vl(m.year,m.month),m.day))):m=ih({...F1(this.c),...n});const[v,w]=Cl(m,this.o,this.zone);return Gr(this,{ts:v,o:w})}plus(t){if(!this.isValid)return this;const n=qe.fromDurationLike(t);return Gr(this,uh(this,n))}minus(t){if(!this.isValid)return this;const n=qe.fromDurationLike(t).negate();return Gr(this,uh(this,n))}startOf(t){if(!this.isValid)return this;const n={},i=qe.normalizeUnit(t);switch(i){case"years":n.month=1;case"quarters":case"months":n.day=1;case"weeks":case"days":n.hour=0;case"hours":n.minute=0;case"minutes":n.second=0;case"seconds":n.millisecond=0;break}if(i==="weeks"&&(n.weekday=1),i==="quarters"){const o=Math.ceil(this.month/3);n.month=(o-1)*3+1}return this.set(n)}endOf(t){return this.isValid?this.plus({[t]:1}).startOf(t).minus(1):this}toFormat(t,n={}){return this.isValid?Qt.create(this.loc.redefaultToEN(n)).formatDateTimeFromString(this,t):R1}toLocaleString(t=ul,n={}){return this.isValid?Qt.create(this.loc.clone(n),t).formatDateTime(this):R1}toLocaleParts(t={}){return this.isValid?Qt.create(this.loc.clone(t),t).formatDateTimeParts(this):[]}toISO({format:t="extended",suppressSeconds:n=!1,suppressMilliseconds:i=!1,includeOffset:o=!0,extendedZone:l=!1}={}){if(!this.isValid)return null;const c=t==="extended";let d=Y1(this,c);return d+="T",d+=dh(this,c,n,i,o,l),d}toISODate({format:t="extended"}={}){return this.isValid?Y1(this,t==="extended"):null}toISOWeekDate(){return Ol(this,"kkkk-'W'WW-c")}toISOTime({suppressMilliseconds:t=!1,suppressSeconds:n=!1,includeOffset:i=!0,includePrefix:o=!1,extendedZone:l=!1,format:c="extended"}={}){return this.isValid?(o?"T":"")+dh(this,c==="extended",n,t,i,l):null}toRFC2822(){return Ol(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return Ol(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?Y1(this,!0):null}toSQLTime({includeOffset:t=!0,includeZone:n=!1,includeOffsetSpace:i=!0}={}){let o="HH:mm:ss.SSS";return(n||t)&&(i&&(o+=" "),n?o+="z":t&&(o+="ZZ")),Ol(this,o,!0)}toSQL(t={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(t)}`:null}toString(){return this.isValid?this.toISO():R1}valueOf(){return this.toMillis()}toMillis(){return this.isValid?this.ts:NaN}toSeconds(){return this.isValid?this.ts/1e3:NaN}toUnixInteger(){return this.isValid?Math.floor(this.ts/1e3):NaN}toJSON(){return this.toISO()}toBSON(){return this.toJSDate()}toObject(t={}){if(!this.isValid)return{};const n={...this.c};return t.includeConfig&&(n.outputCalendar=this.outputCalendar,n.numberingSystem=this.loc.numberingSystem,n.locale=this.loc.locale),n}toJSDate(){return new Date(this.isValid?this.ts:NaN)}diff(t,n="milliseconds",i={}){if(!this.isValid||!t.isValid)return qe.invalid("created by diffing an invalid DateTime");const o={locale:this.locale,numberingSystem:this.numberingSystem,...i},l=o7(n).map(qe.normalizeUnit),c=t.valueOf()>this.valueOf(),d=c?this:t,f=c?t:this,m=p8(d,f,l,o);return c?m.negate():m}diffNow(t="milliseconds",n={}){return this.diff(ve.now(),t,n)}until(t){return this.isValid?St.fromDateTimes(this,t):this}hasSame(t,n){if(!this.isValid)return!1;const i=t.valueOf(),o=this.setZone(t.zone,{keepLocalTime:!0});return o.startOf(n)<=i&&i<=o.endOf(n)}equals(t){return this.isValid&&t.isValid&&this.valueOf()===t.valueOf()&&this.zone.equals(t.zone)&&this.loc.equals(t.loc)}toRelative(t={}){if(!this.isValid)return null;const n=t.base||ve.fromObject({},{zone:this.zone}),i=t.padding?this<n?-t.padding:t.padding:0;let o=["years","months","days","hours","minutes","seconds"],l=t.unit;return Array.isArray(t.unit)&&(o=t.unit,l=void 0),vh(n,this.plus(i),{...t,numeric:"always",units:o,unit:l})}toRelativeCalendar(t={}){return this.isValid?vh(t.base||ve.fromObject({},{zone:this.zone}),this,{...t,numeric:"auto",units:["years","months","days"],calendary:!0}):null}static min(...t){if(!t.every(ve.isDateTime))throw new Un("min requires all arguments be DateTimes");return Cf(t,n=>n.valueOf(),Math.min)}static max(...t){if(!t.every(ve.isDateTime))throw new Un("max requires all arguments be DateTimes");return Cf(t,n=>n.valueOf(),Math.max)}static fromFormatExplain(t,n,i={}){const{locale:o=null,numberingSystem:l=null}=i,c=gt.fromOpts({locale:o,numberingSystem:l,defaultToEN:!0});return Xf(c,t,n)}static fromStringExplain(t,n,i={}){return ve.fromFormatExplain(t,n,i)}static get DATE_SHORT(){return ul}static get DATE_MED(){return Z0}static get DATE_MED_WITH_WEEKDAY(){return R6}static get DATE_FULL(){return J0}static get DATE_HUGE(){return X0}static get TIME_SIMPLE(){return Q0}static get TIME_WITH_SECONDS(){return q0}static get TIME_WITH_SHORT_OFFSET(){return $0}static get TIME_WITH_LONG_OFFSET(){return ef}static get TIME_24_SIMPLE(){return tf}static get TIME_24_WITH_SECONDS(){return nf}static get TIME_24_WITH_SHORT_OFFSET(){return af}static get TIME_24_WITH_LONG_OFFSET(){return sf}static get DATETIME_SHORT(){return rf}static get DATETIME_SHORT_WITH_SECONDS(){return of}static get DATETIME_MED(){return lf}static get DATETIME_MED_WITH_SECONDS(){return cf}static get DATETIME_MED_WITH_WEEKDAY(){return H6}static get DATETIME_FULL(){return uf}static get DATETIME_FULL_WITH_SECONDS(){return df}static get DATETIME_HUGE(){return ff}static get DATETIME_HUGE_WITH_SECONDS(){return hf}}function Zr(e){if(ve.isDateTime(e))return e;if(e&&e.valueOf&&Ui(e.valueOf()))return ve.fromJSDate(e);if(e&&typeof e=="object")return ve.fromObject(e);throw new Un(`Unknown datetime argument: ${e}, of type ${typeof e}`)}function Jr(e){var t=e.getBoundingClientRect();return{width:t.width,height:t.height,top:t.top,right:t.right,bottom:t.bottom,left:t.left,x:t.left,y:t.top}}function Kn(e){if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t?t.defaultView:window}return e}function W1(e){var t=Kn(e),n=t.pageXOffset,i=t.pageYOffset;return{scrollLeft:n,scrollTop:i}}function Xr(e){var t=Kn(e).Element;return e instanceof t||e instanceof Element}function _a(e){var t=Kn(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function N8(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function z8(e){return e===Kn(e)||!_a(e)?W1(e):N8(e)}function ja(e){return e?(e.nodeName||"").toLowerCase():null}function yi(e){return(Xr(e)?e.ownerDocument:e.document).documentElement}function yh(e){return Jr(yi(e)).left+W1(e).scrollLeft}function Ki(e){return Kn(e).getComputedStyle(e)}function U1(e){var t=Ki(e),n=t.overflow,i=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+i)}function _h(e,t,n){n===void 0&&(n=!1);var i=yi(t),o=Jr(e),l={scrollLeft:0,scrollTop:0},c={x:0,y:0};return n||((ja(t)!=="body"||U1(i))&&(l=z8(t)),_a(t)?(c=Jr(t),c.x+=t.clientLeft,c.y+=t.clientTop):i&&(c.x=yh(i))),{x:o.left+l.scrollLeft-c.x,y:o.top+l.scrollTop-c.y,width:o.width,height:o.height}}function j1(e){return{x:e.offsetLeft,y:e.offsetTop,width:e.offsetWidth,height:e.offsetHeight}}function bh(e){return ja(e)==="html"?e:e.assignedSlot||e.parentNode||e.host||yi(e)}function wh(e){return["html","body","#document"].indexOf(ja(e))>=0?e.ownerDocument.body:_a(e)&&U1(e)?e:wh(bh(e))}function Qr(e,t){t===void 0&&(t=[]);var n=wh(e),i=ja(n)==="body",o=Kn(n),l=i?[o].concat(o.visualViewport||[],U1(n)?n:[]):n,c=t.concat(l);return i?c:c.concat(Qr(bh(l)))}function P8(e){return["table","td","th"].indexOf(ja(e))>=0}function Sh(e){return!_a(e)||Ki(e).position==="fixed"?null:e.offsetParent}function qr(e){for(var t=Kn(e),n=Sh(e);n&&P8(n);)n=Sh(n);return n&&ja(n)==="body"&&Ki(n).position==="static"?t:n||t}var Zn="top",ba="bottom",wa="right",Jn="left",kl="auto",$r=[Zn,ba,wa,Jn],As="start",G1="end",L8="clippingParents",Ch="viewport",eo="popper",F8="reference",Oh=$r.reduce(function(e,t){return e.concat([t+"-"+As,t+"-"+G1])},[]),kh=[].concat($r,[kl]).reduce(function(e,t){return e.concat([t,t+"-"+As,t+"-"+G1])},[]),R8="beforeRead",H8="read",Y8="afterRead",W8="beforeMain",U8="main",j8="afterMain",G8="beforeWrite",K8="write",Z8="afterWrite",K1=[R8,H8,Y8,W8,U8,j8,G8,K8,Z8];function J8(e){var t=new Map,n=new Set,i=[];e.forEach(function(l){t.set(l.name,l)});function o(l){n.add(l.name);var c=[].concat(l.requires||[],l.requiresIfExists||[]);c.forEach(function(d){if(!n.has(d)){var f=t.get(d);f&&o(f)}}),i.push(l)}return e.forEach(function(l){n.has(l.name)||o(l)}),i}function X8(e){var t=J8(e);return K1.reduce(function(n,i){return n.concat(t.filter(function(o){return o.phase===i}))},[])}function Q8(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}function _i(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];return[].concat(n).reduce(function(o,l){return o.replace(/%s/,l)},e)}var Zi='Popper: modifier "%s" provided an invalid %s property, expected %s but got %s',q8='Popper: modifier "%s" requires "%s", but "%s" modifier is not available',$8=["name","enabled","phase","fn","effect","requires","options"];function ey(e){e.forEach(function(t){Object.keys(t).forEach(function(n){switch(n){case"name":typeof t.name!="string"&&console.error(_i(Zi,String(t.name),'"name"','"string"','"'+String(t.name)+'"'));break;case"enabled":typeof t.enabled!="boolean"&&console.error(_i(Zi,t.name,'"enabled"','"boolean"','"'+String(t.enabled)+'"'));case"phase":K1.indexOf(t.phase)<0&&console.error(_i(Zi,t.name,'"phase"',"either "+K1.join(", "),'"'+String(t.phase)+'"'));break;case"fn":typeof t.fn!="function"&&console.error(_i(Zi,t.name,'"fn"','"function"','"'+String(t.fn)+'"'));break;case"effect":typeof t.effect!="function"&&console.error(_i(Zi,t.name,'"effect"','"function"','"'+String(t.fn)+'"'));break;case"requires":Array.isArray(t.requires)||console.error(_i(Zi,t.name,'"requires"','"array"','"'+String(t.requires)+'"'));break;case"requiresIfExists":Array.isArray(t.requiresIfExists)||console.error(_i(Zi,t.name,'"requiresIfExists"','"array"','"'+String(t.requiresIfExists)+'"'));break;case"options":case"data":break;default:console.error('PopperJS: an invalid property has been provided to the "'+t.name+'" modifier, valid properties are '+$8.map(function(i){return'"'+i+'"'}).join(", ")+'; but "'+n+'" was provided.')}t.requires&&t.requires.forEach(function(i){e.find(function(o){return o.name===i})==null&&console.error(_i(q8,String(t.name),i,i))})})})}function ty(e,t){var n=new Set;return e.filter(function(i){var o=t(i);if(!n.has(o))return n.add(o),!0})}function Sa(e){return e.split("-")[0]}function ny(e){var t=e.reduce(function(n,i){var o=n[i.name];return n[i.name]=o?Object.assign({},o,{},i,{options:Object.assign({},o.options,{},i.options),data:Object.assign({},o.data,{},i.data)}):i,n},{});return Object.keys(t).map(function(n){return t[n]})}var xh="Popper: Invalid reference or popper argument provided. They must be either a DOM element or virtual element.",ay="Popper: An infinite loop in the modifiers cycle has been detected! The cycle has been interrupted to prevent a browser crash.",Mh={placement:"bottom",modifiers:[],strategy:"absolute"};function Eh(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some(function(i){return!(i&&typeof i.getBoundingClientRect=="function")})}function iy(e){e===void 0&&(e={});var t=e,n=t.defaultModifiers,i=n===void 0?[]:n,o=t.defaultOptions,l=o===void 0?Mh:o;return function(d,f,m){m===void 0&&(m=l);var v={placement:"bottom",orderedModifiers:[],options:Object.assign({},Mh,{},l),modifiersData:{},elements:{reference:d,popper:f},attributes:{},styles:{}},w=[],x=!1,C={state:v,setOptions:function(R){A(),v.options=Object.assign({},l,{},v.options,{},R),v.scrollParents={reference:Xr(d)?Qr(d):d.contextElement?Qr(d.contextElement):[],popper:Qr(f)};var H=X8(ny([].concat(i,v.options.modifiers)));if(v.orderedModifiers=H.filter(function(oe){return oe.enabled}),process.env.NODE_ENV!=="production"){var F=ty([].concat(H,v.options.modifiers),function(oe){var ae=oe.name;return ae});if(ey(F),Sa(v.options.placement)===kl){var S=v.orderedModifiers.find(function(oe){var ae=oe.name;return ae==="flip"});S||console.error(['Popper: "auto" placements require the "flip" modifier be',"present and enabled to work."].join(" "))}var Y=Ki(f),V=Y.marginTop,X=Y.marginRight,G=Y.marginBottom,Q=Y.marginLeft;[V,X,G,Q].some(function(oe){return parseFloat(oe)})&&console.warn(['Popper: CSS "margin" styles cannot be used to apply padding',"between the popper and its reference element or boundary.","To replicate margin, use the `offset` modifier, as well as","the `padding` option in the `preventOverflow` and `flip`","modifiers."].join(" "))}return I(),C.update()},forceUpdate:function(){if(!x){var R=v.elements,H=R.reference,F=R.popper;if(!Eh(H,F)){process.env.NODE_ENV!=="production"&&console.error(xh);return}v.rects={reference:_h(H,qr(F),v.options.strategy==="fixed"),popper:j1(F)},v.reset=!1,v.placement=v.options.placement,v.orderedModifiers.forEach(function(ae){return v.modifiersData[ae.name]=Object.assign({},ae.data)});for(var S=0,Y=0;Y<v.orderedModifiers.length;Y++){if(process.env.NODE_ENV!=="production"&&(S+=1,S>100)){console.error(ay);break}if(v.reset===!0){v.reset=!1,Y=-1;continue}var V=v.orderedModifiers[Y],X=V.fn,G=V.options,Q=G===void 0?{}:G,oe=V.name;typeof X=="function"&&(v=X({state:v,options:Q,name:oe,instance:C})||v)}}},update:Q8(function(){return new Promise(function(T){C.forceUpdate(),T(v)})}),destroy:function(){A(),x=!0}};if(!Eh(d,f))return process.env.NODE_ENV!=="production"&&console.error(xh),C;C.setOptions(m).then(function(T){!x&&m.onFirstUpdate&&m.onFirstUpdate(T)});function I(){v.orderedModifiers.forEach(function(T){var R=T.name,H=T.options,F=H===void 0?{}:H,S=T.effect;if(typeof S=="function"){var Y=S({state:v,name:R,instance:C,options:F}),V=function(){};w.push(Y||V)}})}function A(){w.forEach(function(T){return T()}),w=[]}return C}}var xl={passive:!0};function sy(e){var t=e.state,n=e.instance,i=e.options,o=i.scroll,l=o===void 0?!0:o,c=i.resize,d=c===void 0?!0:c,f=Kn(t.elements.popper),m=[].concat(t.scrollParents.reference,t.scrollParents.popper);return l&&m.forEach(function(v){v.addEventListener("scroll",n.update,xl)}),d&&f.addEventListener("resize",n.update,xl),function(){l&&m.forEach(function(v){v.removeEventListener("scroll",n.update,xl)}),d&&f.removeEventListener("resize",n.update,xl)}}const ry={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:sy,data:{}};function to(e){return e.split("-")[1]}function Z1(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Dh(e){var t=e.reference,n=e.element,i=e.placement,o=i?Sa(i):null,l=i?to(i):null,c=t.x+t.width/2-n.width/2,d=t.y+t.height/2-n.height/2,f;switch(o){case Zn:f={x:c,y:t.y-n.height};break;case ba:f={x:c,y:t.y+t.height};break;case wa:f={x:t.x+t.width,y:d};break;case Jn:f={x:t.x-n.width,y:d};break;default:f={x:t.x,y:t.y}}var m=o?Z1(o):null;if(m!=null){var v=m==="y"?"height":"width";switch(l){case As:f[m]=Math.floor(f[m])-Math.floor(t[v]/2-n[v]/2);break;case G1:f[m]=Math.floor(f[m])+Math.ceil(t[v]/2-n[v]/2);break}}return f}function oy(e){var t=e.state,n=e.name;t.modifiersData[n]=Dh({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}const ly={name:"popperOffsets",enabled:!0,phase:"read",fn:oy,data:{}};var cy={top:"auto",right:"auto",bottom:"auto",left:"auto"};function uy(e){var t=e.x,n=e.y,i=window,o=i.devicePixelRatio||1;return{x:Math.round(t*o)/o||0,y:Math.round(n*o)/o||0}}function Th(e){var t,n=e.popper,i=e.popperRect,o=e.placement,l=e.offsets,c=e.position,d=e.gpuAcceleration,f=e.adaptive,m=uy(l),v=m.x,w=m.y,x=l.hasOwnProperty("x"),C=l.hasOwnProperty("y"),I=Jn,A=Zn,T=window;if(f){var R=qr(n);R===Kn(n)&&(R=yi(n)),o===Zn&&(A=ba,w-=R.clientHeight-i.height,w*=d?1:-1),o===Jn&&(I=wa,v-=R.clientWidth-i.width,v*=d?1:-1)}var H=Object.assign({position:c},f&&cy);if(d){var F;return Object.assign({},H,(F={},F[A]=C?"0":"",F[I]=x?"0":"",F.transform=(T.devicePixelRatio||1)<2?"translate("+v+"px, "+w+"px)":"translate3d("+v+"px, "+w+"px, 0)",F))}return Object.assign({},H,(t={},t[A]=C?w+"px":"",t[I]=x?v+"px":"",t.transform="",t))}function dy(e){var t=e.state,n=e.options,i=n.gpuAcceleration,o=i===void 0?!0:i,l=n.adaptive,c=l===void 0?!0:l;if(process.env.NODE_ENV!=="production"){var d=Ki(t.elements.popper).transitionProperty||"";c&&["transform","top","right","bottom","left"].some(function(m){return d.indexOf(m)>=0})&&console.warn(["Popper: Detected CSS transitions on at least one of the following",'CSS properties: "transform", "top", "right", "bottom", "left".',`
6
6
 
7
7
  `,'Disable the "computeStyles" modifier\'s `adaptive` option to allow',"for smooth transitions, or remove these properties from the CSS","transition declaration on the popper element if only transitioning","opacity or background-color for example.",`
8
8
 
@@ -26,7 +26,7 @@
26
26
  `,"Instead, pass the .innerHTML of the element, or use a function that","returns a cloned version of the element instead.",`
27
27
 
28
28
  `,`1) content: element.innerHTML
29
- `,"2) content: () => element.cloneNode(true)"].join(" "))}var d=o.reduce(function(f,m){var v=m&&CL(m,i);return v&&f.push(v),f},[]);return go(e)?d[0]:d}_o.defaultProps=In,_o.setDefaultProps=_L,_o.currentInput=za,Object.assign({},h0,{effect:function(t){var n=t.state,i={popper:{position:n.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};Object.assign(n.elements.popper.style,i.popper),n.styles=i,n.elements.arrow&&Object.assign(n.elements.arrow.style,i.arrow)}}),_o.setDefaultProps({render:$m});const Fq="",Rq="",fc=(e,t)=>{setTimeout(()=>{const n=()=>{const l=()=>Math.floor((1+Math.random())*65536).toString(16).substring(1);return`${l()}-${l()}`};if(t.value===null||t.value===void 0)return;const i=n();e.setAttribute("data-tippy",i);const o=`${e.tagName.toLowerCase()}[data-tippy="${i}"]`;_o(o,{content:t.value,arrow:!1,animation:"shift-away-subtle",delay:100})},500)},Hq="",OL={directives:{money:JP,cdstip:fc,facade:cc.exports.facade},components:{CdsLink:Hu,CdsIcon:Dt,CdsSpinner:_s},props:{modelValue:{type:[Number,String],default:0},unmaskedValue:{type:[Number,String],default:0},label:{type:String,default:"Label"},disabled:{type:Boolean,default:!1},state:{type:String,default:"default"},required:{type:Boolean,default:!1},placeholder:{type:String,default:"Digite aqui a informa\xE7\xE3o"},errorMessage:{type:String,default:"Valor inv\xE1lido"},fluid:{type:Boolean,default:!1,required:!1},tooltip:{type:String,default:null},tooltipIcon:{type:String,default:"info-outline"},money:{type:Boolean,default:!1},linkText:{type:String,default:null},linkUrl:{type:String,default:"https://cuida.framer.wiki/"}},data(){return{internalValue:"",isBeingFocused:!1,moneyDirectiveConfig:{decimal:",",thousands:".",prefix:"R$ ",precision:2,masked:!1}}},computed:{hasSlots(){return!!Object.keys(this.$slots).length},stepperInputDynamicClass(){let e=this.fluid?"text-input--fluid":"text-input";return this.isBeingFocused?this.disabled||(this.state==="default"?e+=" text-input--focused":this.state==="valid"?e+=" text-input--focused-valid":this.state==="invalid"?e+=" text-input--focused-invalid":this.state==="loading"&&(e+=" text-input--focused-loading")):this.disabled?e+=" text-input--disabled":this.state==="valid"?e+=" text-input--valid":this.state==="invalid"&&(e+=" text-input--invalid"),e},labelDynamicClass(){return this.fluid?"text-input__label--fluid":"text-input__label"},validState(){return this.state==="valid"},errorState(){return this.state==="invalid"},loadingState(){return this.state==="loading"},inputClass(){return this.fluid?"text-input__field--fluid":"text-input__field"}},watch:{modelValue:{handler(e,t){e!==t&&(this.internalValue=e)},immediate:!0},internalValue(e){let t=String(e);if(this.money){let n=t.replace("R$ ","");n=n.replaceAll(".",","),n=n.replace(/(.*),(\d{2})/g,"$1.$2"),n=n.replaceAll(",",""),this.$emit("update:unmaskedValue",+n),this.$emit("update:modelValue",t)}else t.length>15?this.internalValue=+t.slice(0,15):(this.$emit("update:modelValue",+t),this.$emit("update:unmaskedValue",+t))}}},kL={key:0},xL={class:"label__content",for:"cds-text-input"},ML={key:0,class:"label__required-indicator"},EL=["placeholder","disabled"],DL=["placeholder","disabled"],TL={class:"text-input__icon-container"},IL={key:0,class:"text-input__error-message"};function VL(e,t,n,i,o,l){const c=s.resolveComponent("cds-icon"),d=s.resolveComponent("cds-link"),f=s.resolveComponent("cds-spinner"),m=s.resolveDirective("cdstip"),v=s.resolveDirective("money");return s.openBlock(),s.createElementBlock("div",null,[s.createElementVNode("span",null,[l.hasSlots?(s.openBlock(),s.createElementBlock("span",kL,[s.renderSlot(e.$slots,"label")])):(s.openBlock(),s.createElementBlock("label",{key:1,class:s.normalizeClass(l.labelDynamicClass)},[s.createElementVNode("div",xL,[s.createElementVNode("span",null,s.toDisplayString(n.label),1),n.required?(s.openBlock(),s.createElementBlock("span",ML," * ")):s.createCommentVNode("",!0),n.tooltip?s.withDirectives((s.openBlock(),s.createBlock(c,{key:1,name:n.tooltipIcon,height:"20",width:"20",class:"label__icon"},null,8,["name"])),[[m,n.tooltip]]):s.createCommentVNode("",!0)]),n.linkText?(s.openBlock(),s.createBlock(d,{key:0,class:"label__link",href:n.linkUrl,text:n.linkText,"new-tab":""},null,8,["href","text"])):s.createCommentVNode("",!0)],2))]),s.createElementVNode("div",{class:s.normalizeClass(l.stepperInputDynamicClass)},[n.money?s.withDirectives((s.openBlock(),s.createElementBlock("input",{key:0,id:"cds-text-input","onUpdate:modelValue":t[0]||(t[0]=w=>o.internalValue=w),placeholder:n.placeholder,disabled:n.disabled,class:s.normalizeClass(l.inputClass),onFocus:t[1]||(t[1]=w=>o.isBeingFocused=!0),onBlur:t[2]||(t[2]=w=>o.isBeingFocused=!1)},null,42,EL)),[[s.vModelText,o.internalValue,void 0,{lazy:!0}],[v,o.moneyDirectiveConfig]]):s.withDirectives((s.openBlock(),s.createElementBlock("input",{key:1,id:"cds-text-input","onUpdate:modelValue":t[3]||(t[3]=w=>o.internalValue=w),placeholder:n.placeholder,disabled:n.disabled,class:s.normalizeClass(l.inputClass),type:"number",onFocus:t[4]||(t[4]=w=>o.isBeingFocused=!0),onBlur:t[5]||(t[5]=w=>o.isBeingFocused=!1)},null,42,DL)),[[s.vModelText,o.internalValue]]),s.createElementVNode("div",TL,[l.validState&&!n.disabled?(s.openBlock(),s.createBlock(c,{key:0,height:"20",width:"20",name:"check-outline",class:"text-input__icon--check-icon"})):s.createCommentVNode("",!0),l.errorState&&!n.disabled?(s.openBlock(),s.createBlock(c,{key:1,height:"20",width:"20",name:"alert-outline",class:"text-input__icon--alert-circle-icon"})):s.createCommentVNode("",!0),l.loadingState&&!n.disabled?(s.openBlock(),s.createBlock(f,{key:2,size:"sm",variant:"blue",class:"text-input__icon--spinner-icon"})):s.createCommentVNode("",!0)])],2),l.errorState&&!n.disabled?(s.openBlock(),s.createElementBlock("div",IL,s.toDisplayString(n.errorMessage),1)):s.createCommentVNode("",!0)])}const AL=re(OL,[["render",VL]]),Yq="",BL={props:{title:{type:String,required:!0},subtitle:{type:String,default:null},compact:{type:Boolean,default:!1}}},NL={class:"page-header__text"},zL={class:"page-header__title"},PL={class:"page-header__subtitle"},LL={class:"page-header__aside-slot"};function FL(e,t,n,i,o,l){return s.openBlock(),s.createElementBlock("header",{class:s.normalizeClass(n.compact?"page-header__container--compact":"page-header__container")},[s.createElementVNode("div",NL,[s.createElementVNode("p",zL,s.toDisplayString(n.title),1),s.createElementVNode("p",PL,s.toDisplayString(n.subtitle),1)]),s.createElementVNode("div",LL,[s.renderSlot(e.$slots,"aside")])],2)}const RL=re(BL,[["render",FL]]);class gn{constructor(t,n,i,o=null){this.index=t,this.value=n,this.selected=i,this.text=o||n}}function HL(e,t){return`${e}--${t}`}const Wq="",YL={components:{CdsChevron:Tr},props:{modelValue:{type:[Number,String],default:1},total:{type:Number,default:1,validator:e=>e>=1},perPage:{type:Number,default:1,validator:e=>e>=1},fluid:{type:Boolean,default:!1},variant:{type:String,default:"green"}},data(){return{selectedPage:new gn(null,parseInt(this.modelValue,10),!0),pages:[]}},computed:{pageCount(){return this.total/this.perPage<1?1:Math.ceil(this.total/this.perPage)},computedContainerClass(){return this.fluid?"pagination__container--fluid":"pagination__container"}},watch:{modelValue(e,t){e===t||e===this.selectedPage.value||(this.selectedPage=new gn(null,parseInt(e,10),!0),this.resolvePages())}},beforeMount(){this.resolvePages()},methods:{resolveButtonClass(e){switch(e.index){case 0:return this.selectedPage.value===1?"pagination__button--first pagination__button--disabled":"pagination__button--first";case 1:return this.selectedPage.value===1?"pagination__button pagination__button--disabled":"pagination__button";case 7:return this.selectedPage.value===this.pageCount?"pagination__button pagination__button--disabled":"pagination__button";case 8:return this.selectedPage.value===this.pageCount?"pagination__button--last pagination__button--disabled":"pagination__button--last";default:return e.selected?HL("pagination__button--active",this.variant):"pagination__button"}},resolvePages(){this.pages=[new gn(0,"first",!1,"<<"),new gn(1,"back",!1,"<"),...this.mountPagesArray(),new gn(7,"forward",!1,">"),new gn(8,"last",!1,">>")]},mountPagesArray(){const e=this.pageCount<5?this.pageCount+2:7,t=[];if(this.selectedPage.value<=3||this.pageCount<=5){this.selectedPage.index=this.selectedPage.value;for(let n=2;n<e;n++)t[n-2]=new gn(n,n-1,this.selectedPage.value===n-1);return t}if(this.selectedPage.value<=this.pageCount-2){for(let n=2;n<e;n++){const i=this.selectedPage.value-4+n;t[n-2]=new gn(n+1,i,this.selectedPage.value===i)}return t}for(let n=2;n<e;n++){const i=this.pageCount-6+n;t[n-2]=new gn(n,i,this.selectedPage.value===i)}return t},handlePageClick(e){switch(e.value){case this.selectedPage.value:return;case"first":if(this.selectedPage.index===1)return;this.selectedPage=new gn(null,1,!0),this.$emit("update:modelValue",1),this.resolvePages();return;case"last":if(this.selectedPage.index===this.pageCount)return;this.selectedPage=new gn(null,this.pageCount,!0),this.$emit("update:modelValue",this.pageCount),this.resolvePages();return;case"back":if(this.selectedPage.index===1)return;this.$emit("update:modelValue",this.selectedPage.value-1),this.selectedPage=new gn(null,this.selectedPage.value-1,!0),this.resolvePages();return;case"forward":if(this.selectedPage.value===this.pageCount)return;this.$emit("update:modelValue",this.selectedPage.value+1),this.selectedPage=new gn(null,this.selectedPage.value+1,!0),this.resolvePages();return;default:this.selectedPage=new gn(null,e.value,!0),this.$emit("update:modelValue",e.value),this.resolvePages();break}}}},WL=["onClick"],UL={key:3};function jL(e,t,n,i,o,l){const c=s.resolveComponent("cds-chevron");return s.openBlock(),s.createElementBlock("div",{class:s.normalizeClass(l.computedContainerClass)},[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(o.pages,(d,f)=>(s.openBlock(),s.createElementBlock("div",{key:f,class:s.normalizeClass(l.resolveButtonClass(d)),onClick:m=>l.handlePageClick(d)},[f===0?(s.openBlock(),s.createBlock(c,{key:0,direction:"left",class:"pagination__double-chevron--left"})):s.createCommentVNode("",!0),f===0?(s.openBlock(),s.createBlock(c,{key:1,direction:"left",class:"pagination__double-chevron--left"})):s.createCommentVNode("",!0),f===1?(s.openBlock(),s.createBlock(c,{key:2,direction:"left"})):s.createCommentVNode("",!0),f>=2&&f<=o.pages.length-3?(s.openBlock(),s.createElementBlock("span",UL,s.toDisplayString(d.text),1)):s.createCommentVNode("",!0),f===o.pages.length-2?(s.openBlock(),s.createBlock(c,{key:4,direction:"right"})):s.createCommentVNode("",!0),f===o.pages.length-1?(s.openBlock(),s.createBlock(c,{key:5,direction:"right",class:"pagination__double-chevron--right"})):s.createCommentVNode("",!0),f===o.pages.length-1?(s.openBlock(),s.createBlock(c,{key:6,direction:"right",class:"pagination__double-chevron--right"})):s.createCommentVNode("",!0)],10,WL))),128))],2)}const GL=re(YL,[["render",jL],["__scopeId","data-v-1bf4b6c4"]]),Uq="",KL={components:{CdsBox:y1,CdsDivider:al},props:{title:{type:String,default:"T\xEDtulo",required:!0},subtitle:{type:String,default:"Subt\xEDtulo",required:!0},noContentPadding:{type:Boolean,default:!1}},computed:{contentClass(){return this.noContentPadding?"panel-card__content--no-pading":"panel-card__content"}}},ZL=e=>(s.pushScopeId("data-v-c953678c"),e=e(),s.popScopeId(),e),JL={class:"panel-card__header"},XL={class:"panel-card__title"},QL=ZL(()=>s.createElementVNode("br",null,null,-1)),qL={class:"panel-card__subtitle"};function $L(e,t,n,i,o,l){const c=s.resolveComponent("cds-divider"),d=s.resolveComponent("cds-box");return s.openBlock(),s.createBlock(d,{class:"panel-card",padding:"0"},{default:s.withCtx(()=>[s.createElementVNode("div",JL,[s.createElementVNode("div",null,[s.createElementVNode("span",XL,s.toDisplayString(n.title),1),QL,s.createElementVNode("span",qL,s.toDisplayString(n.subtitle),1)]),s.createElementVNode("div",null,[s.renderSlot(e.$slots,"panel-actions",{},void 0,!0)])]),s.createVNode(c,{dimmed:""}),s.createElementVNode("div",{class:s.normalizeClass(l.contentClass)},[s.renderSlot(e.$slots,"default",{},void 0,!0)],2)]),_:3})}const eF=re(KL,[["render",$L],["__scopeId","data-v-c953678c"]]),jq="",tF={props:{modelValue:{type:String,default:""},length:{type:Number,default:4},state:{type:String,default:"default"},visible:{type:Boolean,default:!1}},data(){return{innerValue:this.modelValue.split("")}},computed:{computedClass(){switch(this.state){case"valid":return"pin-input--valid";case"invalid":return"pin-input--invalid";default:return"pin-input"}}},watch:{modelValue(e){this.innerValue=e.split("")}},methods:{handleInput(e,t){let n=this.innerValue.join("");t<this.length&&e.inputType!=="deleteContentBackward"&&this.$refs[`pin-input${t+1}`][0].focus(),n.length===this.length&&this.$emit("update:modelValue",n)},handleBack(e){if(e>1){this.innerValue[e-1]="";let t=this.$refs[`pin-input${e-1}`][0];setTimeout(()=>{t.focus()},150)}},fixCursorPosition(e){let t=this.$refs[`pin-input${e}`][0];setTimeout(()=>{t.setSelectionRange(1,1)},3)},changeInputContent(e,t){this.$refs[`pin-input${t}`][0].value=e.key,t<this.length&&this.$refs[`pin-input${t+1}`][0].focus()}}},nF={class:"pin-input__container"},aF=["id","onUpdate:modelValue","type","onKeydown","onKeypress","onInput","onFocus"];function iF(e,t,n,i,o,l){return s.openBlock(),s.createElementBlock("div",nF,[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(n.length,(c,d)=>s.withDirectives((s.openBlock(),s.createElementBlock("input",{id:`pin-input${c}`,key:d,ref_for:!0,ref:`pin-input${c}`,"onUpdate:modelValue":f=>o.innerValue[c-1]=f,type:n.visible?"text":"password",maxlength:"1",class:s.normalizeClass(["pin-input",l.computedClass]),autocomplete:"off",onKeydown:s.withKeys(s.withModifiers(f=>l.handleBack(c),["stop"]),["delete"]),onKeypress:f=>l.changeInputContent(f,c),onInput:f=>l.handleInput(f,c),onFocus:f=>l.fixCursorPosition(c)},null,42,aF)),[[s.vModelDynamic,o.innerValue[c-1]]])),128))])}const sF=re(tF,[["render",iF],["__scopeId","data-v-d11b9fb6"]]),Gq="",$u={props:{variant:{type:String,default:"green"},value:{type:Number,default:0,required:!0},showText:{type:Boolean,default:!1,required:!1},textAside:{type:Boolean,default:!1}},computed:{formatedvalue(){return`${parseInt(this.value*100,10)}%`},progressIndicatorStyle(){return{"--width":this.formatedvalue,"--indicatorColor":this.colorHexCode(this.variant),"--leftMargin":this.textAside?"3":"10","--bottomMargin":this.textAside?"10":"2"}},textDirection(){return this.textAside?"row-reverse":"column"}},methods:{colorHexCode:mo}},ev=()=>{s.useCssVars(e=>({"13ca248a":e.textDirection}))},tv=$u.setup;$u.setup=tv?(e,t)=>(ev(),tv(e,t)):ev;const rF=$u,oF={id:"progressBar"},lF={class:"bar"},cF={class:"bar__content"};function uF(e,t,n,i,o,l){return s.openBlock(),s.createElementBlock("span",oF,[s.createElementVNode("div",lF,[n.showText?(s.openBlock(),s.createElementBlock("span",{key:0,class:s.normalizeClass(n.textAside?"bar__text--aside":"bar__text")},s.toDisplayString(l.formatedvalue),3)):s.createCommentVNode("",!0),s.createElementVNode("div",cF,[s.createElementVNode("div",{class:"bar__indicator",style:s.normalizeStyle(l.progressIndicatorStyle)},null,4)])])])}const dF=re(rF,[["render",uF]]),Kq="",fF={props:{variant:{type:String,default:"green"},size:{type:String,default:"md",required:!1},value:{type:Number,default:0,required:!0},maxValue:{type:Number,default:100,required:!1},slim:{type:Boolean,default:!1},thick:{type:Boolean,default:!1},noLabel:{type:Boolean,default:!1}},computed:{label(){return this.maxValue>=100?`${Math.round(100*this.value/this.maxValue)}%`:`${this.value}/${this.maxValue}`},normalizedDashArray(){return`${100*this.value/this.maxValue}, 100`},stroke(){return this.slim?1.5:this.thick?4.5:3.5},labelClass(){return`progress-circular__label${this.maxValue>=100?"--reduced":""}`},circleIndicatorStyle(){return{"--indicatorColor":this.colorHexCode(this.variant)}}},methods:{colorHexCode:mo}},hF=["stroke","stroke-width"],pF=["stroke-dasharray","stroke-width"];function mF(e,t,n,i,o,l){return s.openBlock(),s.createElementBlock("svg",{class:s.normalizeClass(["progress-circular",{"progress-circular--sm":n.size==="sm","progress-circular--md":n.size==="md","progress-circular--lg":n.size==="lg"}]),viewBox:"0 0 36 36"},[s.createElementVNode("path",{class:"progress-circular__ring-background",stroke:e.backgroundColor,"stroke-width":l.stroke,d:`M18 2.0845
29
+ `,"2) content: () => element.cloneNode(true)"].join(" "))}var d=o.reduce(function(f,m){var v=m&&CL(m,i);return v&&f.push(v),f},[]);return go(e)?d[0]:d}_o.defaultProps=In,_o.setDefaultProps=_L,_o.currentInput=za,Object.assign({},h0,{effect:function(t){var n=t.state,i={popper:{position:n.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};Object.assign(n.elements.popper.style,i.popper),n.styles=i,n.elements.arrow&&Object.assign(n.elements.arrow.style,i.arrow)}}),_o.setDefaultProps({render:$m});const Fq="",Rq="",fc=(e,t)=>{setTimeout(()=>{const n=()=>{const l=()=>Math.floor((1+Math.random())*65536).toString(16).substring(1);return`${l()}-${l()}`};if(t.value===null||t.value===void 0)return;const i=n();e.setAttribute("data-tippy",i);const o=`${e.tagName.toLowerCase()}[data-tippy="${i}"]`;_o(o,{content:t.value,arrow:!1,animation:"shift-away-subtle",delay:100})},500)},Hq="",OL={directives:{money:JP,cdstip:fc,facade:cc.exports.facade},components:{CdsLink:Hu,CdsIcon:Dt,CdsSpinner:_s},props:{modelValue:{type:[Number,String],default:0},unmaskedValue:{type:[Number,String],default:0},label:{type:String,default:"Label"},disabled:{type:Boolean,default:!1},state:{type:String,default:"default"},required:{type:Boolean,default:!1},placeholder:{type:String,default:"Digite aqui a informa\xE7\xE3o"},errorMessage:{type:String,default:"Valor inv\xE1lido"},fluid:{type:Boolean,default:!1,required:!1},tooltip:{type:String,default:null},tooltipIcon:{type:String,default:"info-outline"},money:{type:Boolean,default:!1},linkText:{type:String,default:null},linkUrl:{type:String,default:"https://cuida.framer.wiki/"}},data(){return{internalValue:"",isBeingFocused:!1,moneyDirectiveConfig:{decimal:",",thousands:".",prefix:"R$ ",precision:2,masked:!1}}},computed:{hasSlots(){return!!Object.keys(this.$slots).length},stepperInputDynamicClass(){let e=this.fluid?"text-input--fluid":"text-input";return this.isBeingFocused?this.disabled||(this.state==="default"?e+=" text-input--focused":this.state==="valid"?e+=" text-input--focused-valid":this.state==="invalid"?e+=" text-input--focused-invalid":this.state==="loading"&&(e+=" text-input--focused-loading")):this.disabled?e+=" text-input--disabled":this.state==="valid"?e+=" text-input--valid":this.state==="invalid"&&(e+=" text-input--invalid"),e},labelDynamicClass(){return this.fluid?"text-input__label--fluid":"text-input__label"},validState(){return this.state==="valid"},errorState(){return this.state==="invalid"},loadingState(){return this.state==="loading"},inputClass(){return this.fluid?"text-input__field--fluid":"text-input__field"}},watch:{modelValue:{handler(e,t){e!==t&&(this.internalValue=e)},immediate:!0},internalValue(e){let t=String(e);if(this.money){let n=t.replace("R$ ","");n=n.replaceAll(".",","),n=n.replace(/(.*),(\d{2})/g,"$1.$2"),n=n.replaceAll(",",""),this.$emit("update:unmaskedValue",+n),this.$emit("update:modelValue",t)}else t.length>15?this.internalValue=+t.slice(0,15):(this.$emit("update:modelValue",+t),this.$emit("update:unmaskedValue",+t))}}},kL={key:0},xL={class:"label__content",for:"cds-text-input"},ML={key:0,class:"label__required-indicator"},EL=["placeholder","disabled"],DL=["placeholder","disabled"],TL={class:"text-input__icon-container"},IL={key:0,class:"text-input__error-message"};function VL(e,t,n,i,o,l){const c=s.resolveComponent("cds-icon"),d=s.resolveComponent("cds-link"),f=s.resolveComponent("cds-spinner"),m=s.resolveDirective("cdstip"),v=s.resolveDirective("money");return s.openBlock(),s.createElementBlock("div",null,[s.createElementVNode("span",null,[l.hasSlots?(s.openBlock(),s.createElementBlock("span",kL,[s.renderSlot(e.$slots,"label")])):(s.openBlock(),s.createElementBlock("label",{key:1,class:s.normalizeClass(l.labelDynamicClass)},[s.createElementVNode("div",xL,[s.createElementVNode("span",null,s.toDisplayString(n.label),1),n.required?(s.openBlock(),s.createElementBlock("span",ML," * ")):s.createCommentVNode("",!0),n.tooltip?s.withDirectives((s.openBlock(),s.createBlock(c,{key:1,name:n.tooltipIcon,height:"20",width:"20",class:"label__icon"},null,8,["name"])),[[m,n.tooltip]]):s.createCommentVNode("",!0)]),n.linkText?(s.openBlock(),s.createBlock(d,{key:0,class:"label__link",href:n.linkUrl,text:n.linkText,"new-tab":""},null,8,["href","text"])):s.createCommentVNode("",!0)],2))]),s.createElementVNode("div",{class:s.normalizeClass(l.stepperInputDynamicClass)},[n.money?s.withDirectives((s.openBlock(),s.createElementBlock("input",{key:0,id:"cds-text-input","onUpdate:modelValue":t[0]||(t[0]=w=>o.internalValue=w),placeholder:n.placeholder,disabled:n.disabled,class:s.normalizeClass(l.inputClass),onFocus:t[1]||(t[1]=w=>o.isBeingFocused=!0),onBlur:t[2]||(t[2]=w=>o.isBeingFocused=!1)},null,42,EL)),[[s.vModelText,o.internalValue,void 0,{lazy:!0}],[v,o.moneyDirectiveConfig]]):s.withDirectives((s.openBlock(),s.createElementBlock("input",{key:1,id:"cds-text-input","onUpdate:modelValue":t[3]||(t[3]=w=>o.internalValue=w),placeholder:n.placeholder,disabled:n.disabled,class:s.normalizeClass(l.inputClass),type:"number",onFocus:t[4]||(t[4]=w=>o.isBeingFocused=!0),onBlur:t[5]||(t[5]=w=>o.isBeingFocused=!1)},null,42,DL)),[[s.vModelText,o.internalValue]]),s.createElementVNode("div",TL,[l.validState&&!n.disabled?(s.openBlock(),s.createBlock(c,{key:0,height:"20",width:"20",name:"check-outline",class:"text-input__icon--check-icon"})):s.createCommentVNode("",!0),l.errorState&&!n.disabled?(s.openBlock(),s.createBlock(c,{key:1,height:"20",width:"20",name:"alert-outline",class:"text-input__icon--alert-circle-icon"})):s.createCommentVNode("",!0),l.loadingState&&!n.disabled?(s.openBlock(),s.createBlock(f,{key:2,size:"sm",variant:"blue",class:"text-input__icon--spinner-icon"})):s.createCommentVNode("",!0)])],2),l.errorState&&!n.disabled?(s.openBlock(),s.createElementBlock("div",IL,s.toDisplayString(n.errorMessage),1)):s.createCommentVNode("",!0)])}const AL=re(OL,[["render",VL]]),Yq="",BL={props:{title:{type:String,required:!0},subtitle:{type:String,default:null},compact:{type:Boolean,default:!1}}},NL={class:"page-header__text"},zL={class:"page-header__title"},PL={class:"page-header__subtitle"},LL={class:"page-header__aside-slot"};function FL(e,t,n,i,o,l){return s.openBlock(),s.createElementBlock("header",{class:s.normalizeClass(n.compact?"page-header__container--compact":"page-header__container")},[s.createElementVNode("div",NL,[s.createElementVNode("p",zL,s.toDisplayString(n.title),1),s.createElementVNode("p",PL,s.toDisplayString(n.subtitle),1)]),s.createElementVNode("div",LL,[s.renderSlot(e.$slots,"aside")])],2)}const RL=re(BL,[["render",FL]]);class gn{constructor(t,n,i,o=null){this.index=t,this.value=n,this.selected=i,this.text=o||n}}function HL(e,t){return`${e}--${t}`}const Wq="",YL={components:{CdsChevron:Tr},props:{modelValue:{type:[Number,String],default:1},total:{type:Number,default:1,validator:e=>e>=1},perPage:{type:Number,default:1,validator:e=>e>=1},fluid:{type:Boolean,default:!1},variant:{type:String,default:"green"}},data(){return{selectedPage:new gn(null,parseInt(this.modelValue,10),!0),pages:[]}},computed:{pageCount(){return this.total/this.perPage<1?1:Math.ceil(this.total/this.perPage)},computedContainerClass(){return this.fluid?"pagination__container--fluid":"pagination__container"}},watch:{modelValue(e,t){e===t||e===this.selectedPage.value||(this.selectedPage=new gn(null,parseInt(e,10),!0),this.resolvePages())}},beforeMount(){this.resolvePages()},methods:{resolveButtonClass(e){switch(e.index){case 0:return this.selectedPage.value===1?"pagination__button--first pagination__button--disabled":"pagination__button--first";case 1:return this.selectedPage.value===1?"pagination__button pagination__button--disabled":"pagination__button";case 7:return this.selectedPage.value===this.pageCount?"pagination__button pagination__button--disabled":"pagination__button";case 8:return this.selectedPage.value===this.pageCount?"pagination__button--last pagination__button--disabled":"pagination__button--last";default:return e.selected?HL("pagination__button--active",this.variant):"pagination__button"}},resolvePages(){this.pages=[new gn(0,"first",!1,"<<"),new gn(1,"back",!1,"<"),...this.mountPagesArray(),new gn(7,"forward",!1,">"),new gn(8,"last",!1,">>")]},mountPagesArray(){const e=this.pageCount<5?this.pageCount+2:7,t=[];if(this.selectedPage.value<=3||this.pageCount<=5){this.selectedPage.index=this.selectedPage.value;for(let n=2;n<e;n++)t[n-2]=new gn(n,n-1,this.selectedPage.value===n-1);return t}if(this.selectedPage.value<=this.pageCount-2){for(let n=2;n<e;n++){const i=this.selectedPage.value-4+n;t[n-2]=new gn(n+1,i,this.selectedPage.value===i)}return t}for(let n=2;n<e;n++){const i=this.pageCount-6+n;t[n-2]=new gn(n,i,this.selectedPage.value===i)}return t},handlePageClick(e){switch(e.value){case this.selectedPage.value:return;case"first":if(this.selectedPage.index===1)return;this.selectedPage=new gn(null,1,!0),this.$emit("update:modelValue",1),this.resolvePages();return;case"last":if(this.selectedPage.index===this.pageCount)return;this.selectedPage=new gn(null,this.pageCount,!0),this.$emit("update:modelValue",this.pageCount),this.resolvePages();return;case"back":if(this.selectedPage.index===1)return;this.$emit("update:modelValue",this.selectedPage.value-1),this.selectedPage=new gn(null,this.selectedPage.value-1,!0),this.resolvePages();return;case"forward":if(this.selectedPage.value===this.pageCount)return;this.$emit("update:modelValue",this.selectedPage.value+1),this.selectedPage=new gn(null,this.selectedPage.value+1,!0),this.resolvePages();return;default:this.selectedPage=new gn(null,e.value,!0),this.$emit("update:modelValue",e.value),this.resolvePages();break}}}},WL=["onClick"],UL={key:3};function jL(e,t,n,i,o,l){const c=s.resolveComponent("cds-chevron");return s.openBlock(),s.createElementBlock("div",{class:s.normalizeClass(l.computedContainerClass)},[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(o.pages,(d,f)=>(s.openBlock(),s.createElementBlock("div",{key:f,class:s.normalizeClass(l.resolveButtonClass(d)),onClick:m=>l.handlePageClick(d)},[f===0?(s.openBlock(),s.createBlock(c,{key:0,direction:"left",class:"pagination__double-chevron--left"})):s.createCommentVNode("",!0),f===0?(s.openBlock(),s.createBlock(c,{key:1,direction:"left",class:"pagination__double-chevron--left"})):s.createCommentVNode("",!0),f===1?(s.openBlock(),s.createBlock(c,{key:2,direction:"left"})):s.createCommentVNode("",!0),f>=2&&f<=o.pages.length-3?(s.openBlock(),s.createElementBlock("span",UL,s.toDisplayString(d.text),1)):s.createCommentVNode("",!0),f===o.pages.length-2?(s.openBlock(),s.createBlock(c,{key:4,direction:"right"})):s.createCommentVNode("",!0),f===o.pages.length-1?(s.openBlock(),s.createBlock(c,{key:5,direction:"right",class:"pagination__double-chevron--right"})):s.createCommentVNode("",!0),f===o.pages.length-1?(s.openBlock(),s.createBlock(c,{key:6,direction:"right",class:"pagination__double-chevron--right"})):s.createCommentVNode("",!0)],10,WL))),128))],2)}const GL=re(YL,[["render",jL],["__scopeId","data-v-1bf4b6c4"]]),Uq="",KL={components:{CdsBox:y1,CdsDivider:al},props:{title:{type:String,default:"T\xEDtulo",required:!0},subtitle:{type:String,default:"Subt\xEDtulo",required:!0},noContentPadding:{type:Boolean,default:!1}},computed:{contentClass(){return this.noContentPadding?"panel-card__content--no-pading":"panel-card__content"}}},ZL=e=>(s.pushScopeId("data-v-e1c5a182"),e=e(),s.popScopeId(),e),JL={class:"panel-card__header"},XL={class:"panel-card__title"},QL=ZL(()=>s.createElementVNode("br",null,null,-1)),qL={class:"panel-card__subtitle"};function $L(e,t,n,i,o,l){const c=s.resolveComponent("cds-divider"),d=s.resolveComponent("cds-box");return s.openBlock(),s.createBlock(d,{class:"panel-card",padding:"0",fluid:""},{default:s.withCtx(()=>[s.createElementVNode("div",JL,[s.createElementVNode("div",null,[s.createElementVNode("span",XL,s.toDisplayString(n.title),1),QL,s.createElementVNode("span",qL,s.toDisplayString(n.subtitle),1)]),s.createElementVNode("div",null,[s.renderSlot(e.$slots,"panel-actions",{},void 0,!0)])]),s.createVNode(c,{dimmed:""}),s.createElementVNode("div",{class:s.normalizeClass(l.contentClass)},[s.renderSlot(e.$slots,"default",{},void 0,!0)],2)]),_:3})}const eF=re(KL,[["render",$L],["__scopeId","data-v-e1c5a182"]]),jq="",tF={props:{modelValue:{type:String,default:""},length:{type:Number,default:4},state:{type:String,default:"default"},visible:{type:Boolean,default:!1}},data(){return{innerValue:this.modelValue.split("")}},computed:{computedClass(){switch(this.state){case"valid":return"pin-input--valid";case"invalid":return"pin-input--invalid";default:return"pin-input"}}},watch:{modelValue(e){this.innerValue=e.split("")}},methods:{handleInput(e,t){let n=this.innerValue.join("");t<this.length&&e.inputType!=="deleteContentBackward"&&this.$refs[`pin-input${t+1}`][0].focus(),n.length===this.length&&this.$emit("update:modelValue",n)},handleBack(e){if(e>1){this.innerValue[e-1]="";let t=this.$refs[`pin-input${e-1}`][0];setTimeout(()=>{t.focus()},150)}},fixCursorPosition(e){let t=this.$refs[`pin-input${e}`][0];setTimeout(()=>{t.setSelectionRange(1,1)},3)},changeInputContent(e,t){this.$refs[`pin-input${t}`][0].value=e.key,t<this.length&&this.$refs[`pin-input${t+1}`][0].focus()}}},nF={class:"pin-input__container"},aF=["id","onUpdate:modelValue","type","onKeydown","onKeypress","onInput","onFocus"];function iF(e,t,n,i,o,l){return s.openBlock(),s.createElementBlock("div",nF,[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(n.length,(c,d)=>s.withDirectives((s.openBlock(),s.createElementBlock("input",{id:`pin-input${c}`,key:d,ref_for:!0,ref:`pin-input${c}`,"onUpdate:modelValue":f=>o.innerValue[c-1]=f,type:n.visible?"text":"password",maxlength:"1",class:s.normalizeClass(["pin-input",l.computedClass]),autocomplete:"off",onKeydown:s.withKeys(s.withModifiers(f=>l.handleBack(c),["stop"]),["delete"]),onKeypress:f=>l.changeInputContent(f,c),onInput:f=>l.handleInput(f,c),onFocus:f=>l.fixCursorPosition(c)},null,42,aF)),[[s.vModelDynamic,o.innerValue[c-1]]])),128))])}const sF=re(tF,[["render",iF],["__scopeId","data-v-d11b9fb6"]]),Gq="",$u={props:{variant:{type:String,default:"green"},value:{type:Number,default:0,required:!0},showText:{type:Boolean,default:!1,required:!1},textAside:{type:Boolean,default:!1}},computed:{formatedvalue(){return`${parseInt(this.value*100,10)}%`},progressIndicatorStyle(){return{"--width":this.formatedvalue,"--indicatorColor":this.colorHexCode(this.variant),"--leftMargin":this.textAside?"3":"10","--bottomMargin":this.textAside?"10":"2"}},textDirection(){return this.textAside?"row-reverse":"column"}},methods:{colorHexCode:mo}},ev=()=>{s.useCssVars(e=>({"13ca248a":e.textDirection}))},tv=$u.setup;$u.setup=tv?(e,t)=>(ev(),tv(e,t)):ev;const rF=$u,oF={id:"progressBar"},lF={class:"bar"},cF={class:"bar__content"};function uF(e,t,n,i,o,l){return s.openBlock(),s.createElementBlock("span",oF,[s.createElementVNode("div",lF,[n.showText?(s.openBlock(),s.createElementBlock("span",{key:0,class:s.normalizeClass(n.textAside?"bar__text--aside":"bar__text")},s.toDisplayString(l.formatedvalue),3)):s.createCommentVNode("",!0),s.createElementVNode("div",cF,[s.createElementVNode("div",{class:"bar__indicator",style:s.normalizeStyle(l.progressIndicatorStyle)},null,4)])])])}const dF=re(rF,[["render",uF]]),Kq="",fF={props:{variant:{type:String,default:"green"},size:{type:String,default:"md",required:!1},value:{type:Number,default:0,required:!0},maxValue:{type:Number,default:100,required:!1},slim:{type:Boolean,default:!1},thick:{type:Boolean,default:!1},noLabel:{type:Boolean,default:!1}},computed:{label(){return this.maxValue>=100?`${Math.round(100*this.value/this.maxValue)}%`:`${this.value}/${this.maxValue}`},normalizedDashArray(){return`${100*this.value/this.maxValue}, 100`},stroke(){return this.slim?1.5:this.thick?4.5:3.5},labelClass(){return`progress-circular__label${this.maxValue>=100?"--reduced":""}`},circleIndicatorStyle(){return{"--indicatorColor":this.colorHexCode(this.variant)}}},methods:{colorHexCode:mo}},hF=["stroke","stroke-width"],pF=["stroke-dasharray","stroke-width"];function mF(e,t,n,i,o,l){return s.openBlock(),s.createElementBlock("svg",{class:s.normalizeClass(["progress-circular",{"progress-circular--sm":n.size==="sm","progress-circular--md":n.size==="md","progress-circular--lg":n.size==="lg"}]),viewBox:"0 0 36 36"},[s.createElementVNode("path",{class:"progress-circular__ring-background",stroke:e.backgroundColor,"stroke-width":l.stroke,d:`M18 2.0845
30
30
  a 15.9155 15.9155 0 0 1 0 31.831
31
31
  a 15.9155 15.9155 0 0 1 0 -31.831`},null,8,hF),s.createElementVNode("path",{class:"progress-circular__ring-progress","stroke-dasharray":l.normalizedDashArray,"stroke-width":l.stroke-1,style:s.normalizeStyle(l.circleIndicatorStyle),d:`M18 2.0845
32
32
  a 15.9155 15.9155 0 0 1 0 31.831