fge-auth-component 1.4.5 → 1.4.6

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.
@@ -18690,7 +18690,8 @@ function H9(t) {
18690
18690
  header: "Ciudadanía Digital",
18691
18691
  message: `No se pueden gestionar servicios de Ciudadania Digital debido a
18692
18692
  inconvenientes en la plataforma de los servicios de la AGETIC`,
18693
- htmlContent: '<a href="https://www.facebook.com/share/p/V1dqJr9AvVJEdL9Q/?mibextid=xfxF2i" target="_blank" class="text-center fge-auth-message-dialog text-base auth-custom-link">Más información</a>',
18693
+ // htmlContent:
18694
+ // '<a href="https://www.facebook.com/share/p/V1dqJr9AvVJEdL9Q/?mibextid=xfxF2i" target="_blank" class="text-center fge-auth-message-dialog text-base auth-custom-link">Más información</a>',
18694
18695
  group: "auth_dialog",
18695
18696
  accept: () => {
18696
18697
  },
@@ -738,7 +738,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
738
738
  }
739
739
  `,Cf={root:function(e){var n=e.props;return{position:n.appendTo==="self"?"relative":void 0}}},Sf={root:function(e){var n=e.instance,r=e.props;return["p-password p-component p-inputwrapper",{"p-inputwrapper-filled":n.filled,"p-inputwrapper-focus":n.focused,"p-input-icon-right":r.toggleMask}]},input:function(e){var n=e.props;return["p-password-input",{"p-disabled":n.disabled}]},panel:function(e){var n=e.instance;return["p-password-panel p-component",{"p-input-filled":n.$primevue.config.inputStyle==="filled","p-ripple-disabled":n.$primevue.config.ripple===!1}]},meter:"p-password-meter",meterLabel:function(e){var n=e.instance;return"p-password-strength ".concat(n.meter?n.meter.strength:"")},info:"p-password-info"},Ef=Ee(kf,{name:"password",manual:!0}),Tf=Ef.load,Of={name:"BasePassword",extends:ye,props:{modelValue:String,promptLabel:{type:String,default:null},mediumRegex:{type:String,default:"^(((?=.*[a-z])(?=.*[A-Z]))|((?=.*[a-z])(?=.*[0-9]))|((?=.*[A-Z])(?=.*[0-9])))(?=.{6,})"},strongRegex:{type:String,default:"^(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.{8,})"},weakLabel:{type:String,default:null},mediumLabel:{type:String,default:null},strongLabel:{type:String,default:null},feedback:{type:Boolean,default:!0},appendTo:{type:String,default:"body"},toggleMask:{type:Boolean,default:!1},hideIcon:{type:String,default:void 0},showIcon:{type:String,default:void 0},disabled:{type:Boolean,default:!1},placeholder:{type:String,default:null},required:{type:Boolean,default:!1},inputId:{type:String,default:null},inputClass:{type:[String,Object],default:null},inputStyle:{type:Object,default:null},inputProps:{type:null,default:null},panelId:{type:String,default:null},panelClass:{type:[String,Object],default:null},panelStyle:{type:Object,default:null},panelProps:{type:null,default:null},"aria-labelledby":{type:String,default:null},"aria-label":{type:String,default:null}},css:{classes:Sf,inlineStyles:Cf,loadStyle:Tf},provide:function(){return{$parentInstance:this}}},et={name:"Password",extends:Of,emits:["update:modelValue","change","focus","blur","invalid"],data:function(){return{overlayVisible:!1,meter:null,infoText:null,focused:!1,unmasked:!1}},mediumCheckRegExp:null,strongCheckRegExp:null,resizeListener:null,scrollHandler:null,overlay:null,mounted:function(){this.infoText=this.promptText,this.mediumCheckRegExp=new RegExp(this.mediumRegex),this.strongCheckRegExp=new RegExp(this.strongRegex)},beforeUnmount:function(){this.unbindResizeListener(),this.scrollHandler&&(this.scrollHandler.destroy(),this.scrollHandler=null),this.overlay&&(te.clear(this.overlay),this.overlay=null)},methods:{onOverlayEnter:function(e){te.set("overlay",e,this.$primevue.config.zIndex.overlay),v.addStyles(e,{position:"absolute",top:"0",left:"0"}),this.alignOverlay(),this.bindScrollListener(),this.bindResizeListener()},onOverlayLeave:function(){this.unbindScrollListener(),this.unbindResizeListener(),this.overlay=null},onOverlayAfterLeave:function(e){te.clear(e)},alignOverlay:function(){this.appendTo==="self"?v.relativePosition(this.overlay,this.$refs.input.$el):(this.overlay.style.minWidth=v.getOuterWidth(this.$refs.input.$el)+"px",v.absolutePosition(this.overlay,this.$refs.input.$el))},testStrength:function(e){var n=0;return this.strongCheckRegExp.test(e)?n=3:this.mediumCheckRegExp.test(e)?n=2:e.length&&(n=1),n},onInput:function(e){this.$emit("update:modelValue",e.target.value),this.$emit("change",e)},onFocus:function(e){this.focused=!0,this.feedback&&(this.setPasswordMeter(this.modelValue),this.overlayVisible=!0),this.$emit("focus",e)},onBlur:function(e){this.focused=!1,this.feedback&&(this.overlayVisible=!1),this.$emit("blur",e)},onKeyUp:function(e){if(this.feedback){var n=e.target.value,r=this.checkPasswordStrength(n),a=r.meter,i=r.label;if(this.meter=a,this.infoText=i,e.code==="Escape"){this.overlayVisible&&(this.overlayVisible=!1);return}this.overlayVisible||(this.overlayVisible=!0)}},setPasswordMeter:function(){if(this.modelValue){var e=this.checkPasswordStrength(this.modelValue),n=e.meter,r=e.label;this.meter=n,this.infoText=r,this.overlayVisible||(this.overlayVisible=!0)}},checkPasswordStrength:function(e){var n=null,r=null;switch(this.testStrength(e)){case 1:n=this.weakText,r={strength:"weak",width:"33.33%"};break;case 2:n=this.mediumText,r={strength:"medium",width:"66.66%"};break;case 3:n=this.strongText,r={strength:"strong",width:"100%"};break;default:n=this.promptText,r=null;break}return{label:n,meter:r}},onInvalid:function(e){this.$emit("invalid",e)},bindScrollListener:function(){var e=this;this.scrollHandler||(this.scrollHandler=new An(this.$refs.input.$el,function(){e.overlayVisible&&(e.overlayVisible=!1)})),this.scrollHandler.bindScrollListener()},unbindScrollListener:function(){this.scrollHandler&&this.scrollHandler.unbindScrollListener()},bindResizeListener:function(){var e=this;this.resizeListener||(this.resizeListener=function(){e.overlayVisible&&!v.isTouchDevice()&&(e.overlayVisible=!1)},window.addEventListener("resize",this.resizeListener))},unbindResizeListener:function(){this.resizeListener&&(window.removeEventListener("resize",this.resizeListener),this.resizeListener=null)},overlayRef:function(e){this.overlay=e},onMaskToggle:function(){this.unmasked=!this.unmasked},onOverlayClick:function(e){jo.emit("overlay-click",{originalEvent:e,target:this.$el})}},computed:{inputType:function(){return this.unmasked?"text":"password"},filled:function(){return this.modelValue!=null&&this.modelValue.toString().length>0},weakText:function(){return this.weakLabel||this.$primevue.config.locale.weak},mediumText:function(){return this.mediumLabel||this.$primevue.config.locale.medium},strongText:function(){return this.strongLabel||this.$primevue.config.locale.strong},promptText:function(){return this.promptLabel||this.$primevue.config.locale.passwordPrompt},panelUniqueId:function(){return oe()+"_panel"}},components:{PInputText:be,Portal:gt,EyeSlashIcon:Ls,EyeIcon:Zs}};function pn(t){"@babel/helpers - typeof";return pn=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},pn(t)}function Rs(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(t,a).enumerable})),n.push.apply(n,r)}return n}function gr(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{};e%2?Rs(Object(n),!0).forEach(function(r){xf(t,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Rs(Object(n)).forEach(function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(n,r))})}return t}function xf(t,e,n){return e=If(e),e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function If(t){var e=Vf(t,"string");return pn(e)==="symbol"?e:String(e)}function Vf(t,e){if(pn(t)!=="object"||t===null)return t;var n=t[Symbol.toPrimitive];if(n!==void 0){var r=n.call(t,e||"default");if(pn(r)!=="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}var Pf=["id"];function Nf(t,e,n,r,a,i){var s=o.resolveComponent("PInputText"),l=o.resolveComponent("Portal");return o.openBlock(),o.createElementBlock("div",o.mergeProps({class:t.cx("root"),style:t.sx("root")},t.ptm("root"),{"data-pc-name":"password"}),[o.createVNode(s,o.mergeProps({ref:"input",id:t.inputId,type:i.inputType,class:[t.cx("input"),t.inputClass],style:t.inputStyle,value:t.modelValue,"aria-labelledby":t.ariaLabelledby,"aria-label":t.ariaLabel,"aria-controls":t.panelProps&&t.panelProps.id||t.panelId||i.panelUniqueId,"aria-expanded":a.overlayVisible,"aria-haspopup":!0,placeholder:t.placeholder,required:t.required,disabled:t.disabled,onInput:i.onInput,onFocus:i.onFocus,onBlur:i.onBlur,onKeyup:i.onKeyUp,onInvalid:i.onInvalid},gr(gr({},t.inputProps),t.ptm("input")),{unstyled:t.unstyled}),null,16,["id","type","class","style","value","aria-labelledby","aria-label","aria-controls","aria-expanded","placeholder","required","disabled","onInput","onFocus","onBlur","onKeyup","onInvalid","unstyled"]),t.toggleMask&&a.unmasked?o.renderSlot(t.$slots,"hideicon",{key:0,onClick:i.onMaskToggle},function(){return[(o.openBlock(),o.createBlock(o.resolveDynamicComponent(t.hideIcon?"i":"EyeSlashIcon"),o.mergeProps({class:t.hideIcon,onClick:i.onMaskToggle},t.ptm("hideIcon")),null,16,["class","onClick"]))]}):o.createCommentVNode("",!0),t.toggleMask&&!a.unmasked?o.renderSlot(t.$slots,"showicon",{key:1,onClick:i.onMaskToggle},function(){return[(o.openBlock(),o.createBlock(o.resolveDynamicComponent(t.showIcon?"i":"EyeIcon"),o.mergeProps({class:t.showIcon,onClick:i.onMaskToggle},t.ptm("showIcon")),null,16,["class","onClick"]))]}):o.createCommentVNode("",!0),o.createElementVNode("span",o.mergeProps({class:"p-hidden-accessible","aria-live":"polite"},t.ptm("hiddenAccesible"),{"data-p-hidden-accessible":!0}),o.toDisplayString(a.infoText),17),o.createVNode(l,{appendTo:t.appendTo},{default:o.withCtx(function(){return[o.createVNode(o.Transition,o.mergeProps({name:"p-connected-overlay",onEnter:i.onOverlayEnter,onLeave:i.onOverlayLeave,onAfterLeave:i.onOverlayAfterLeave},t.ptm("transition")),{default:o.withCtx(function(){return[a.overlayVisible?(o.openBlock(),o.createElementBlock("div",o.mergeProps({key:0,ref:i.overlayRef,id:t.panelId||i.panelUniqueId,class:[t.cx("panel"),t.panelClass],style:t.panelStyle,onClick:e[0]||(e[0]=function(){return i.onOverlayClick&&i.onOverlayClick.apply(i,arguments)})},gr(gr({},t.panelProps),t.ptm("panel"))),[o.renderSlot(t.$slots,"header"),o.renderSlot(t.$slots,"content",{},function(){return[o.createElementVNode("div",o.mergeProps({class:t.cx("meter")},t.ptm("meter")),[o.createElementVNode("div",o.mergeProps({class:t.cx("meterLabel"),style:{width:a.meter?a.meter.width:""}},t.ptm("meterLabel")),null,16)],16),o.createElementVNode("div",o.mergeProps({class:t.cx("info")},t.ptm("info")),o.toDisplayString(a.infoText),17)]}),o.renderSlot(t.$slots,"footer")],16,Pf)):o.createCommentVNode("",!0)]}),_:3},16,["onEnter","onLeave","onAfterLeave"])]}),_:3},8,["appendTo"])],16)}et.render=Nf;var _f={root:function(e){var n=e.instance;return["p-inputmask p-inputtext p-component",{"p-filled":n.filled}]}},Bf={name:"BaseInputMask",extends:ye,props:{modelValue:null,slotChar:{type:String,default:"_"},mask:{type:String,default:null},autoClear:{type:Boolean,default:!0},unmask:{type:Boolean,default:!1},readonly:{type:Boolean,default:!1}},css:{classes:_f}},Fs={name:"InputMask",extends:Bf,emits:["update:modelValue","focus","blur","keydown","complete","keypress","paste"],watch:{mask:function(e,n){n!==e&&this.initMask()}},mounted:function(){this.initMask()},updated:function(){this.isValueUpdated()&&this.updateValue()},methods:{onInput:function(e){this.androidChrome?this.handleAndroidInput(e):this.handleInputChange(e),this.$emit("update:modelValue",e.target.value)},onFocus:function(e){var n=this;if(!this.readonly){this.focus=!0,clearTimeout(this.caretTimeoutId);var r;this.focusText=this.$el.value,r=this.checkVal(),this.caretTimeoutId=setTimeout(function(){n.$el===document.activeElement&&(n.writeBuffer(),r===n.mask.replace("?","").length?n.caret(0,r):n.caret(r))},10),this.$emit("focus",e)}},onBlur:function(e){if(this.focus=!1,this.checkVal(),this.updateModel(e),this.$el.value!==this.focusText){var n=document.createEvent("HTMLEvents");n.initEvent("change",!0,!1),this.$el.dispatchEvent(n)}this.$emit("blur",e)},onKeyDown:function(e){if(!this.readonly){var n=e.which||e.keyCode,r,a,i,s=/iphone/i.test(v.getUserAgent());this.oldVal=this.$el.value,n===8||n===46||s&&n===127?(r=this.caret(),a=r.begin,i=r.end,i-a===0&&(a=n!==46?this.seekPrev(a):i=this.seekNext(a-1),i=n===46?this.seekNext(i):i),this.clearBuffer(a,i),this.shiftL(a,i-1),this.updateModel(e),e.preventDefault()):n===13?(this.$el.blur(),this.updateModel(e)):n===27&&(this.$el.value=this.focusText,this.caret(0,this.checkVal()),this.updateModel(e),e.preventDefault()),this.$emit("keydown",e)}},onKeyPress:function(e){var n=this;if(!this.readonly){var r=e.which||e.keyCode,a=this.caret(),i,s,l,c;if(!(e.ctrlKey||e.altKey||e.metaKey||r<32)){if(r&&r!==13){if(a.end-a.begin!==0&&(this.clearBuffer(a.begin,a.end),this.shiftL(a.begin,a.end-1)),i=this.seekNext(a.begin-1),i<this.len&&(s=String.fromCharCode(r),this.tests[i].test(s))){if(this.shiftR(i),this.buffer[i]=s,this.writeBuffer(),l=this.seekNext(i),/android/i.test(v.getUserAgent())){var u=function(){n.caret(l)};setTimeout(u,0)}else this.caret(l);a.begin<=this.lastRequiredNonMaskPos&&(c=this.isCompleted())}e.preventDefault()}this.updateModel(e),c&&this.$emit("complete",e),this.$emit("keypress",e)}}},onPaste:function(e){this.handleInputChange(e),this.$emit("paste",e)},caret:function(e,n){var r,a,i;if(!(!this.$el.offsetParent||this.$el!==document.activeElement))if(typeof e=="number")a=e,i=typeof n=="number"?n:a,this.$el.setSelectionRange?this.$el.setSelectionRange(a,i):this.$el.createTextRange&&(r=this.$el.createTextRange(),r.collapse(!0),r.moveEnd("character",i),r.moveStart("character",a),r.select());else return this.$el.setSelectionRange?(a=this.$el.selectionStart,i=this.$el.selectionEnd):document.selection&&document.selection.createRange&&(r=document.selection.createRange(),a=0-r.duplicate().moveStart("character",-1e5),i=a+r.text.length),{begin:a,end:i}},isCompleted:function(){for(var e=this.firstNonMaskPos;e<=this.lastRequiredNonMaskPos;e++)if(this.tests[e]&&this.buffer[e]===this.getPlaceholder(e))return!1;return!0},getPlaceholder:function(e){return e<this.slotChar.length?this.slotChar.charAt(e):this.slotChar.charAt(0)},seekNext:function(e){for(;++e<this.len&&!this.tests[e];);return e},seekPrev:function(e){for(;--e>=0&&!this.tests[e];);return e},shiftL:function(e,n){var r,a;if(!(e<0)){for(r=e,a=this.seekNext(n);r<this.len;r++)if(this.tests[r]){if(a<this.len&&this.tests[r].test(this.buffer[a]))this.buffer[r]=this.buffer[a],this.buffer[a]=this.getPlaceholder(a);else break;a=this.seekNext(a)}this.writeBuffer(),this.caret(Math.max(this.firstNonMaskPos,e))}},shiftR:function(e){var n,r,a,i;for(n=e,r=this.getPlaceholder(e);n<this.len;n++)if(this.tests[n])if(a=this.seekNext(n),i=this.buffer[n],this.buffer[n]=r,a<this.len&&this.tests[a].test(i))r=i;else break},handleAndroidInput:function(e){var n=this.$el.value,r=this.caret();if(this.oldVal&&this.oldVal.length&&this.oldVal.length>n.length){for(this.checkVal(!0);r.begin>0&&!this.tests[r.begin-1];)r.begin--;if(r.begin===0)for(;r.begin<this.firstNonMaskPos&&!this.tests[r.begin];)r.begin++;this.caret(r.begin,r.begin)}else{for(this.checkVal(!0);r.begin<this.len&&!this.tests[r.begin];)r.begin++;this.caret(r.begin,r.begin)}this.isCompleted()&&this.$emit("complete",e)},clearBuffer:function(e,n){var r;for(r=e;r<n&&r<this.len;r++)this.tests[r]&&(this.buffer[r]=this.getPlaceholder(r))},writeBuffer:function(){this.$el.value=this.buffer.join("")},checkVal:function(e){this.isValueChecked=!0;var n=this.$el.value,r=-1,a,i,s;for(a=0,s=0;a<this.len;a++)if(this.tests[a]){for(this.buffer[a]=this.getPlaceholder(a);s++<n.length;)if(i=n.charAt(s-1),this.tests[a].test(i)){this.buffer[a]=i,r=a;break}if(s>n.length){this.clearBuffer(a+1,this.len);break}}else this.buffer[a]===n.charAt(s)&&s++,a<this.partialPosition&&(r=a);return e?this.writeBuffer():r+1<this.partialPosition?this.autoClear||this.buffer.join("")===this.defaultBuffer?(this.$el.value&&(this.$el.value=""),this.clearBuffer(0,this.len)):this.writeBuffer():(this.writeBuffer(),this.$el.value=this.$el.value.substring(0,r+1)),this.partialPosition?a:this.firstNonMaskPos},handleInputChange:function(e){var n=e.type==="paste";if(!(this.readonly||n)){var r=this.checkVal(!0);this.caret(r),this.updateModel(e),this.isCompleted()&&this.$emit("complete",e)}},getUnmaskedValue:function(){for(var e=[],n=0;n<this.buffer.length;n++){var r=this.buffer[n];this.tests[n]&&r!==this.getPlaceholder(n)&&e.push(r)}return e.join("")},updateModel:function(e){var n=this.unmask?this.getUnmaskedValue():e.target.value;this.$emit("update:modelValue",this.defaultBuffer!==n?n:"")},updateValue:function(){var e=this,n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;this.$el&&(this.modelValue==null?(this.$el.value="",n&&this.$emit("update:modelValue","")):(this.$el.value=this.modelValue,this.checkVal(),setTimeout(function(){if(e.$el&&(e.writeBuffer(),e.checkVal(),n)){var r=e.unmask?e.getUnmaskedValue():e.$el.value;e.$emit("update:modelValue",e.defaultBuffer!==r?r:"")}},10)),this.focusText=this.$el.value)},initMask:function(){this.tests=[],this.partialPosition=this.mask.length,this.len=this.mask.length,this.firstNonMaskPos=null,this.defs={9:"[0-9]",a:"[A-Za-z]","*":"[A-Za-z0-9]"};var e=v.getUserAgent();this.androidChrome=/chrome/i.test(e)&&/android/i.test(e);for(var n=this.mask.split(""),r=0;r<n.length;r++){var a=n[r];a==="?"?(this.len--,this.partialPosition=r):this.defs[a]?(this.tests.push(new RegExp(this.defs[a])),this.firstNonMaskPos===null&&(this.firstNonMaskPos=this.tests.length-1),r<this.partialPosition&&(this.lastRequiredNonMaskPos=this.tests.length-1)):this.tests.push(null)}this.buffer=[];for(var i=0;i<n.length;i++){var s=n[i];s!=="?"&&(this.defs[s]?this.buffer.push(this.getPlaceholder(i)):this.buffer.push(s))}this.defaultBuffer=this.buffer.join(""),this.updateValue(!1)},isValueUpdated:function(){return this.unmask?this.modelValue!=this.getUnmaskedValue():this.defaultBuffer!==this.$el.value&&this.$el.value!==this.modelValue}},computed:{filled:function(){return this.modelValue!=null&&this.modelValue.toString().length>0},ptmParams:function(){return{context:{filled:this.filled,disabled:this.$attrs.disabled||this.$attrs.disabled===""}}}}},Mf=["readonly"];function Df(t,e,n,r,a,i){return o.openBlock(),o.createElementBlock("input",o.mergeProps({class:t.cx("root"),readonly:t.readonly,onInput:e[0]||(e[0]=function(){return i.onInput&&i.onInput.apply(i,arguments)}),onFocus:e[1]||(e[1]=function(){return i.onFocus&&i.onFocus.apply(i,arguments)}),onBlur:e[2]||(e[2]=function(){return i.onBlur&&i.onBlur.apply(i,arguments)}),onKeydown:e[3]||(e[3]=function(){return i.onKeyDown&&i.onKeyDown.apply(i,arguments)}),onKeypress:e[4]||(e[4]=function(){return i.onKeyPress&&i.onKeyPress.apply(i,arguments)}),onPaste:e[5]||(e[5]=function(){return i.onPaste&&i.onPaste.apply(i,arguments)})},t.ptm("root",i.ptmParams),{"data-pc-name":"inputmask"}),null,16,Mf)}Fs.render=Df;class bt extends Error{}class $f extends bt{constructor(e){super(`Invalid DateTime: ${e.toMessage()}`)}}class Af extends bt{constructor(e){super(`Invalid Interval: ${e.toMessage()}`)}}class Zf extends bt{constructor(e){super(`Invalid Duration: ${e.toMessage()}`)}}class $t extends bt{}class js extends bt{constructor(e){super(`Invalid unit ${e}`)}}class Ce extends bt{}class lt extends bt{constructor(){super("Zone is an abstract class")}}const N="numeric",De="short",Te="long",yr={year:N,month:N,day:N},Hs={year:N,month:De,day:N},Lf={year:N,month:De,day:N,weekday:De},Us={year:N,month:Te,day:N},zs={year:N,month:Te,day:N,weekday:Te},Ws={hour:N,minute:N},qs={hour:N,minute:N,second:N},Ks={hour:N,minute:N,second:N,timeZoneName:De},Ys={hour:N,minute:N,second:N,timeZoneName:Te},Gs={hour:N,minute:N,hourCycle:"h23"},Js={hour:N,minute:N,second:N,hourCycle:"h23"},Xs={hour:N,minute:N,second:N,hourCycle:"h23",timeZoneName:De},Qs={hour:N,minute:N,second:N,hourCycle:"h23",timeZoneName:Te},el={year:N,month:N,day:N,hour:N,minute:N},tl={year:N,month:N,day:N,hour:N,minute:N,second:N},nl={year:N,month:De,day:N,hour:N,minute:N},rl={year:N,month:De,day:N,hour:N,minute:N,second:N},Rf={year:N,month:De,day:N,weekday:De,hour:N,minute:N},ol={year:N,month:Te,day:N,hour:N,minute:N,timeZoneName:De},il={year:N,month:Te,day:N,hour:N,minute:N,second:N,timeZoneName:De},al={year:N,month:Te,day:N,weekday:Te,hour:N,minute:N,timeZoneName:Te},sl={year:N,month:Te,day:N,weekday:Te,hour:N,minute:N,second:N,timeZoneName:Te};class gn{get type(){throw new lt}get name(){throw new lt}get ianaName(){return this.name}get isUniversal(){throw new lt}offsetName(e,n){throw new lt}formatOffset(e,n){throw new lt}offset(e){throw new lt}equals(e){throw new lt}get isValid(){throw new lt}}let qo=null;class br extends gn{static get instance(){return qo===null&&(qo=new br),qo}get type(){return"system"}get name(){return new Intl.DateTimeFormat().resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(e,{format:n,locale:r}){return Nl(e,n,r)}formatOffset(e,n){return wn(this.offset(e),n)}offset(e){return-new Date(e).getTimezoneOffset()}equals(e){return e.type==="system"}get isValid(){return!0}}let vr={};function Ff(t){return vr[t]||(vr[t]=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:t,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",era:"short"})),vr[t]}const jf={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};function Hf(t,e){const n=t.format(e).replace(/\u200E/g,""),r=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(n),[,a,i,s,l,c,u,d]=r;return[s,a,i,l,c,u,d]}function Uf(t,e){const n=t.formatToParts(e),r=[];for(let a=0;a<n.length;a++){const{type:i,value:s}=n[a],l=jf[i];i==="era"?r[l]=s:L(l)||(r[l]=parseInt(s,10))}return r}let wr={};class tt extends gn{static create(e){return wr[e]||(wr[e]=new tt(e)),wr[e]}static resetCache(){wr={},vr={}}static isValidSpecifier(e){return this.isValidZone(e)}static isValidZone(e){if(!e)return!1;try{return new Intl.DateTimeFormat("en-US",{timeZone:e}).format(),!0}catch{return!1}}constructor(e){super(),this.zoneName=e,this.valid=tt.isValidZone(e)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(e,{format:n,locale:r}){return Nl(e,n,r,this.name)}formatOffset(e,n){return wn(this.offset(e),n)}offset(e){const n=new Date(e);if(isNaN(n))return NaN;const r=Ff(this.name);let[a,i,s,l,c,u,d]=r.formatToParts?Uf(r,n):Hf(r,n);l==="BC"&&(a=-Math.abs(a)+1);const h=Tr({year:a,month:i,day:s,hour:c===24?0:c,minute:u,second:d,millisecond:0});let m=+n;const g=m%1e3;return m-=g>=0?g:1e3+g,(h-m)/(60*1e3)}equals(e){return e.type==="iana"&&e.name===this.name}get isValid(){return this.valid}}let ll={};function zf(t,e={}){const n=JSON.stringify([t,e]);let r=ll[n];return r||(r=new Intl.ListFormat(t,e),ll[n]=r),r}let Ko={};function Yo(t,e={}){const n=JSON.stringify([t,e]);let r=Ko[n];return r||(r=new Intl.DateTimeFormat(t,e),Ko[n]=r),r}let Go={};function Wf(t,e={}){const n=JSON.stringify([t,e]);let r=Go[n];return r||(r=new Intl.NumberFormat(t,e),Go[n]=r),r}let Jo={};function qf(t,e={}){const{base:n,...r}=e,a=JSON.stringify([t,r]);let i=Jo[a];return i||(i=new Intl.RelativeTimeFormat(t,e),Jo[a]=i),i}let yn=null;function Kf(){return yn||(yn=new Intl.DateTimeFormat().resolvedOptions().locale,yn)}let cl={};function Yf(t){let e=cl[t];if(!e){const n=new Intl.Locale(t);e="getWeekInfo"in n?n.getWeekInfo():n.weekInfo,cl[t]=e}return e}function Gf(t){const e=t.indexOf("-x-");e!==-1&&(t=t.substring(0,e));const n=t.indexOf("-u-");if(n===-1)return[t];{let r,a;try{r=Yo(t).resolvedOptions(),a=t}catch{const c=t.substring(0,n);r=Yo(c).resolvedOptions(),a=c}const{numberingSystem:i,calendar:s}=r;return[a,i,s]}}function Jf(t,e,n){return(n||e)&&(t.includes("-u-")||(t+="-u"),n&&(t+=`-ca-${n}`),e&&(t+=`-nu-${e}`)),t}function Xf(t){const e=[];for(let n=1;n<=12;n++){const r=Z.utc(2009,n,1);e.push(t(r))}return e}function Qf(t){const e=[];for(let n=1;n<=7;n++){const r=Z.utc(2016,11,13+n);e.push(t(r))}return e}function kr(t,e,n,r){const a=t.listingMode();return a==="error"?null:a==="en"?n(e):r(e)}function e4(t){return t.numberingSystem&&t.numberingSystem!=="latn"?!1:t.numberingSystem==="latn"||!t.locale||t.locale.startsWith("en")||new Intl.DateTimeFormat(t.intl).resolvedOptions().numberingSystem==="latn"}class t4{constructor(e,n,r){this.padTo=r.padTo||0,this.floor=r.floor||!1;const{padTo:a,floor:i,...s}=r;if(!n||Object.keys(s).length>0){const l={useGrouping:!1,...r};r.padTo>0&&(l.minimumIntegerDigits=r.padTo),this.inf=Wf(e,l)}}format(e){if(this.inf){const n=this.floor?Math.floor(e):e;return this.inf.format(n)}else{const n=this.floor?Math.floor(e):oi(e,3);return re(n,this.padTo)}}}class n4{constructor(e,n,r){this.opts=r,this.originalZone=void 0;let a;if(this.opts.timeZone)this.dt=e;else if(e.zone.type==="fixed"){const s=-1*(e.offset/60),l=s>=0?`Etc/GMT+${s}`:`Etc/GMT${s}`;e.offset!==0&&tt.create(l).valid?(a=l,this.dt=e):(a="UTC",this.dt=e.offset===0?e:e.setZone("UTC").plus({minutes:e.offset}),this.originalZone=e.zone)}else e.zone.type==="system"?this.dt=e:e.zone.type==="iana"?(this.dt=e,a=e.zone.name):(a="UTC",this.dt=e.setZone("UTC").plus({minutes:e.offset}),this.originalZone=e.zone);const i={...this.opts};i.timeZone=i.timeZone||a,this.dtf=Yo(n,i)}format(){return this.originalZone?this.formatToParts().map(({value:e})=>e).join(""):this.dtf.format(this.dt.toJSDate())}formatToParts(){const e=this.dtf.formatToParts(this.dt.toJSDate());return this.originalZone?e.map(n=>{if(n.type==="timeZoneName"){const r=this.originalZone.offsetName(this.dt.ts,{locale:this.dt.locale,format:this.opts.timeZoneName});return{...n,value:r}}else return n}):e}resolvedOptions(){return this.dtf.resolvedOptions()}}class r4{constructor(e,n,r){this.opts={style:"long",...r},!n&&xl()&&(this.rtf=qf(e,r))}format(e,n){return this.rtf?this.rtf.format(e,n):S4(n,e,this.opts.numeric,this.opts.style!=="long")}formatToParts(e,n){return this.rtf?this.rtf.formatToParts(e,n):[]}}const o4={firstDay:1,minimalDays:4,weekend:[6,7]};class K{static fromOpts(e){return K.create(e.locale,e.numberingSystem,e.outputCalendar,e.weekSettings,e.defaultToEN)}static create(e,n,r,a,i=!1){const s=e||ne.defaultLocale,l=s||(i?"en-US":Kf()),c=n||ne.defaultNumberingSystem,u=r||ne.defaultOutputCalendar,d=ni(a)||ne.defaultWeekSettings;return new K(l,c,u,d,s)}static resetCache(){yn=null,Ko={},Go={},Jo={}}static fromObject({locale:e,numberingSystem:n,outputCalendar:r,weekSettings:a}={}){return K.create(e,n,r,a)}constructor(e,n,r,a,i){const[s,l,c]=Gf(e);this.locale=s,this.numberingSystem=n||l||null,this.outputCalendar=r||c||null,this.weekSettings=a,this.intl=Jf(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=i,this.fastNumbersCached=null}get fastNumbers(){return this.fastNumbersCached==null&&(this.fastNumbersCached=e4(this)),this.fastNumbersCached}listingMode(){const e=this.isEnglish(),n=(this.numberingSystem===null||this.numberingSystem==="latn")&&(this.outputCalendar===null||this.outputCalendar==="gregory");return e&&n?"en":"intl"}clone(e){return!e||Object.getOwnPropertyNames(e).length===0?this:K.create(e.locale||this.specifiedLocale,e.numberingSystem||this.numberingSystem,e.outputCalendar||this.outputCalendar,ni(e.weekSettings)||this.weekSettings,e.defaultToEN||!1)}redefaultToEN(e={}){return this.clone({...e,defaultToEN:!0})}redefaultToSystem(e={}){return this.clone({...e,defaultToEN:!1})}months(e,n=!1){return kr(this,e,Ml,()=>{const r=n?{month:e,day:"numeric"}:{month:e},a=n?"format":"standalone";return this.monthsCache[a][e]||(this.monthsCache[a][e]=Xf(i=>this.extract(i,r,"month"))),this.monthsCache[a][e]})}weekdays(e,n=!1){return kr(this,e,Al,()=>{const r=n?{weekday:e,year:"numeric",month:"long",day:"numeric"}:{weekday:e},a=n?"format":"standalone";return this.weekdaysCache[a][e]||(this.weekdaysCache[a][e]=Qf(i=>this.extract(i,r,"weekday"))),this.weekdaysCache[a][e]})}meridiems(){return kr(this,void 0,()=>Zl,()=>{if(!this.meridiemCache){const e={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[Z.utc(2016,11,13,9),Z.utc(2016,11,13,19)].map(n=>this.extract(n,e,"dayperiod"))}return this.meridiemCache})}eras(e){return kr(this,e,Ll,()=>{const n={era:e};return this.eraCache[e]||(this.eraCache[e]=[Z.utc(-40,1,1),Z.utc(2017,1,1)].map(r=>this.extract(r,n,"era"))),this.eraCache[e]})}extract(e,n,r){const a=this.dtFormatter(e,n),i=a.formatToParts(),s=i.find(l=>l.type.toLowerCase()===r);return s?s.value:null}numberFormatter(e={}){return new t4(this.intl,e.forceSimple||this.fastNumbers,e)}dtFormatter(e,n={}){return new n4(e,this.intl,n)}relFormatter(e={}){return new r4(this.intl,this.isEnglish(),e)}listFormatter(e={}){return zf(this.intl,e)}isEnglish(){return this.locale==="en"||this.locale.toLowerCase()==="en-us"||new Intl.DateTimeFormat(this.intl).resolvedOptions().locale.startsWith("en-us")}getWeekSettings(){return this.weekSettings?this.weekSettings:Il()?Yf(this.locale):o4}getStartOfWeek(){return this.getWeekSettings().firstDay}getMinDaysInFirstWeek(){return this.getWeekSettings().minimalDays}getWeekendDays(){return this.getWeekSettings().weekend}equals(e){return this.locale===e.locale&&this.numberingSystem===e.numberingSystem&&this.outputCalendar===e.outputCalendar}}let Xo=null;class we extends gn{static get utcInstance(){return Xo===null&&(Xo=new we(0)),Xo}static instance(e){return e===0?we.utcInstance:new we(e)}static parseSpecifier(e){if(e){const n=e.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(n)return new we(Or(n[1],n[2]))}return null}constructor(e){super(),this.fixed=e}get type(){return"fixed"}get name(){return this.fixed===0?"UTC":`UTC${wn(this.fixed,"narrow")}`}get ianaName(){return this.fixed===0?"Etc/UTC":`Etc/GMT${wn(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(e,n){return wn(this.fixed,n)}get isUniversal(){return!0}offset(){return this.fixed}equals(e){return e.type==="fixed"&&e.fixed===this.fixed}get isValid(){return!0}}class i4 extends gn{constructor(e){super(),this.zoneName=e}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 ct(t,e){if(L(t)||t===null)return e;if(t instanceof gn)return t;if(l4(t)){const n=t.toLowerCase();return n==="default"?e:n==="local"||n==="system"?br.instance:n==="utc"||n==="gmt"?we.utcInstance:we.parseSpecifier(n)||tt.create(t)}else return vt(t)?we.instance(t):typeof t=="object"&&"offset"in t&&typeof t.offset=="function"?t:new i4(t)}let ul=()=>Date.now(),dl="system",fl=null,ml=null,hl=null,pl=60,gl,yl=null;class ne{static get now(){return ul}static set now(e){ul=e}static set defaultZone(e){dl=e}static get defaultZone(){return ct(dl,br.instance)}static get defaultLocale(){return fl}static set defaultLocale(e){fl=e}static get defaultNumberingSystem(){return ml}static set defaultNumberingSystem(e){ml=e}static get defaultOutputCalendar(){return hl}static set defaultOutputCalendar(e){hl=e}static get defaultWeekSettings(){return yl}static set defaultWeekSettings(e){yl=ni(e)}static get twoDigitCutoffYear(){return pl}static set twoDigitCutoffYear(e){pl=e%100}static get throwOnInvalid(){return gl}static set throwOnInvalid(e){gl=e}static resetCaches(){K.resetCache(),tt.resetCache()}}class $e{constructor(e,n){this.reason=e,this.explanation=n}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const bl=[0,31,59,90,120,151,181,212,243,273,304,334],vl=[0,31,60,91,121,152,182,213,244,274,305,335];function Pe(t,e){return new $e("unit out of range",`you specified ${e} (of type ${typeof e}) as a ${t}, which is invalid`)}function Qo(t,e,n){const r=new Date(Date.UTC(t,e-1,n));t<100&&t>=0&&r.setUTCFullYear(r.getUTCFullYear()-1900);const a=r.getUTCDay();return a===0?7:a}function wl(t,e,n){return n+(bn(t)?vl:bl)[e-1]}function kl(t,e){const n=bn(t)?vl:bl,r=n.findIndex(i=>i<e),a=e-n[r];return{month:r+1,day:a}}function ei(t,e){return(t-e+7)%7+1}function Cr(t,e=4,n=1){const{year:r,month:a,day:i}=t,s=wl(r,a,i),l=ei(Qo(r,a,i),n);let c=Math.floor((s-l+14-e)/7),u;return c<1?(u=r-1,c=vn(u,e,n)):c>vn(r,e,n)?(u=r+1,c=1):u=r,{weekYear:u,weekNumber:c,weekday:l,...Ir(t)}}function Cl(t,e=4,n=1){const{weekYear:r,weekNumber:a,weekday:i}=t,s=ei(Qo(r,1,e),n),l=Zt(r);let c=a*7+i-s-7+e,u;c<1?(u=r-1,c+=Zt(u)):c>l?(u=r+1,c-=Zt(r)):u=r;const{month:d,day:f}=kl(u,c);return{year:u,month:d,day:f,...Ir(t)}}function ti(t){const{year:e,month:n,day:r}=t,a=wl(e,n,r);return{year:e,ordinal:a,...Ir(t)}}function Sl(t){const{year:e,ordinal:n}=t,{month:r,day:a}=kl(e,n);return{year:e,month:r,day:a,...Ir(t)}}function El(t,e){if(!L(t.localWeekday)||!L(t.localWeekNumber)||!L(t.localWeekYear)){if(!L(t.weekday)||!L(t.weekNumber)||!L(t.weekYear))throw new $t("Cannot mix locale-based week fields with ISO-based week fields");return L(t.localWeekday)||(t.weekday=t.localWeekday),L(t.localWeekNumber)||(t.weekNumber=t.localWeekNumber),L(t.localWeekYear)||(t.weekYear=t.localWeekYear),delete t.localWeekday,delete t.localWeekNumber,delete t.localWeekYear,{minDaysInFirstWeek:e.getMinDaysInFirstWeek(),startOfWeek:e.getStartOfWeek()}}else return{minDaysInFirstWeek:4,startOfWeek:1}}function a4(t,e=4,n=1){const r=Sr(t.weekYear),a=Ne(t.weekNumber,1,vn(t.weekYear,e,n)),i=Ne(t.weekday,1,7);return r?a?i?!1:Pe("weekday",t.weekday):Pe("week",t.weekNumber):Pe("weekYear",t.weekYear)}function s4(t){const e=Sr(t.year),n=Ne(t.ordinal,1,Zt(t.year));return e?n?!1:Pe("ordinal",t.ordinal):Pe("year",t.year)}function Tl(t){const e=Sr(t.year),n=Ne(t.month,1,12),r=Ne(t.day,1,Er(t.year,t.month));return e?n?r?!1:Pe("day",t.day):Pe("month",t.month):Pe("year",t.year)}function Ol(t){const{hour:e,minute:n,second:r,millisecond:a}=t,i=Ne(e,0,23)||e===24&&n===0&&r===0&&a===0,s=Ne(n,0,59),l=Ne(r,0,59),c=Ne(a,0,999);return i?s?l?c?!1:Pe("millisecond",a):Pe("second",r):Pe("minute",n):Pe("hour",e)}function L(t){return typeof t>"u"}function vt(t){return typeof t=="number"}function Sr(t){return typeof t=="number"&&t%1===0}function l4(t){return typeof t=="string"}function c4(t){return Object.prototype.toString.call(t)==="[object Date]"}function xl(){try{return typeof Intl<"u"&&!!Intl.RelativeTimeFormat}catch{return!1}}function Il(){try{return typeof Intl<"u"&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch{return!1}}function u4(t){return Array.isArray(t)?t:[t]}function Vl(t,e,n){if(t.length!==0)return t.reduce((r,a)=>{const i=[e(a),a];return r&&n(r[0],i[0])===r[0]?r:i},null)[1]}function d4(t,e){return e.reduce((n,r)=>(n[r]=t[r],n),{})}function At(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function ni(t){if(t==null)return null;if(typeof t!="object")throw new Ce("Week settings must be an object");if(!Ne(t.firstDay,1,7)||!Ne(t.minimalDays,1,7)||!Array.isArray(t.weekend)||t.weekend.some(e=>!Ne(e,1,7)))throw new Ce("Invalid week settings");return{firstDay:t.firstDay,minimalDays:t.minimalDays,weekend:Array.from(t.weekend)}}function Ne(t,e,n){return Sr(t)&&t>=e&&t<=n}function f4(t,e){return t-e*Math.floor(t/e)}function re(t,e=2){const n=t<0;let r;return n?r="-"+(""+-t).padStart(e,"0"):r=(""+t).padStart(e,"0"),r}function ut(t){if(!(L(t)||t===null||t===""))return parseInt(t,10)}function wt(t){if(!(L(t)||t===null||t===""))return parseFloat(t)}function ri(t){if(!(L(t)||t===null||t==="")){const e=parseFloat("0."+t)*1e3;return Math.floor(e)}}function oi(t,e,n=!1){const r=10**e;return(n?Math.trunc:Math.round)(t*r)/r}function bn(t){return t%4===0&&(t%100!==0||t%400===0)}function Zt(t){return bn(t)?366:365}function Er(t,e){const n=f4(e-1,12)+1,r=t+(e-n)/12;return n===2?bn(r)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][n-1]}function Tr(t){let e=Date.UTC(t.year,t.month-1,t.day,t.hour,t.minute,t.second,t.millisecond);return t.year<100&&t.year>=0&&(e=new Date(e),e.setUTCFullYear(t.year,t.month-1,t.day)),+e}function Pl(t,e,n){return-ei(Qo(t,1,e),n)+e-1}function vn(t,e=4,n=1){const r=Pl(t,e,n),a=Pl(t+1,e,n);return(Zt(t)-r+a)/7}function ii(t){return t>99?t:t>ne.twoDigitCutoffYear?1900+t:2e3+t}function Nl(t,e,n,r=null){const a=new Date(t),i={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};r&&(i.timeZone=r);const s={timeZoneName:e,...i},l=new Intl.DateTimeFormat(n,s).formatToParts(a).find(c=>c.type.toLowerCase()==="timezonename");return l?l.value:null}function Or(t,e){let n=parseInt(t,10);Number.isNaN(n)&&(n=0);const r=parseInt(e,10)||0,a=n<0||Object.is(n,-0)?-r:r;return n*60+a}function _l(t){const e=Number(t);if(typeof t=="boolean"||t===""||Number.isNaN(e))throw new Ce(`Invalid unit value ${t}`);return e}function xr(t,e){const n={};for(const r in t)if(At(t,r)){const a=t[r];if(a==null)continue;n[e(r)]=_l(a)}return n}function wn(t,e){const n=Math.trunc(Math.abs(t/60)),r=Math.trunc(Math.abs(t%60)),a=t>=0?"+":"-";switch(e){case"short":return`${a}${re(n,2)}:${re(r,2)}`;case"narrow":return`${a}${n}${r>0?`:${r}`:""}`;case"techie":return`${a}${re(n,2)}${re(r,2)}`;default:throw new RangeError(`Value format ${e} is out of range for property format`)}}function Ir(t){return d4(t,["hour","minute","second","millisecond"])}const m4=["January","February","March","April","May","June","July","August","September","October","November","December"],Bl=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],h4=["J","F","M","A","M","J","J","A","S","O","N","D"];function Ml(t){switch(t){case"narrow":return[...h4];case"short":return[...Bl];case"long":return[...m4];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 Dl=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],$l=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],p4=["M","T","W","T","F","S","S"];function Al(t){switch(t){case"narrow":return[...p4];case"short":return[...$l];case"long":return[...Dl];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const Zl=["AM","PM"],g4=["Before Christ","Anno Domini"],y4=["BC","AD"],b4=["B","A"];function Ll(t){switch(t){case"narrow":return[...b4];case"short":return[...y4];case"long":return[...g4];default:return null}}function v4(t){return Zl[t.hour<12?0:1]}function w4(t,e){return Al(e)[t.weekday-1]}function k4(t,e){return Ml(e)[t.month-1]}function C4(t,e){return Ll(e)[t.year<0?0:1]}function S4(t,e,n="always",r=!1){const a={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."]},i=["hours","minutes","seconds"].indexOf(t)===-1;if(n==="auto"&&i){const f=t==="days";switch(e){case 1:return f?"tomorrow":`next ${a[t][0]}`;case-1:return f?"yesterday":`last ${a[t][0]}`;case 0:return f?"today":`this ${a[t][0]}`}}const s=Object.is(e,-0)||e<0,l=Math.abs(e),c=l===1,u=a[t],d=r?c?u[1]:u[2]||u[1]:c?a[t][0]:t;return s?`${l} ${d} ago`:`in ${l} ${d}`}function Rl(t,e){let n="";for(const r of t)r.literal?n+=r.val:n+=e(r.val);return n}const E4={D:yr,DD:Hs,DDD:Us,DDDD:zs,t:Ws,tt:qs,ttt:Ks,tttt:Ys,T:Gs,TT:Js,TTT:Xs,TTTT:Qs,f:el,ff:nl,fff:ol,ffff:al,F:tl,FF:rl,FFF:il,FFFF:sl};class he{static create(e,n={}){return new he(e,n)}static parseFormat(e){let n=null,r="",a=!1;const i=[];for(let s=0;s<e.length;s++){const l=e.charAt(s);l==="'"?(r.length>0&&i.push({literal:a||/^\s+$/.test(r),val:r}),n=null,r="",a=!a):a||l===n?r+=l:(r.length>0&&i.push({literal:/^\s+$/.test(r),val:r}),r=l,n=l)}return r.length>0&&i.push({literal:a||/^\s+$/.test(r),val:r}),i}static macroTokenToFormatOpts(e){return E4[e]}constructor(e,n){this.opts=n,this.loc=e,this.systemLoc=null}formatWithSystemDefault(e,n){return this.systemLoc===null&&(this.systemLoc=this.loc.redefaultToSystem()),this.systemLoc.dtFormatter(e,{...this.opts,...n}).format()}dtFormatter(e,n={}){return this.loc.dtFormatter(e,{...this.opts,...n})}formatDateTime(e,n){return this.dtFormatter(e,n).format()}formatDateTimeParts(e,n){return this.dtFormatter(e,n).formatToParts()}formatInterval(e,n){return this.dtFormatter(e.start,n).dtf.formatRange(e.start.toJSDate(),e.end.toJSDate())}resolvedOptions(e,n){return this.dtFormatter(e,n).resolvedOptions()}num(e,n=0){if(this.opts.forceSimple)return re(e,n);const r={...this.opts};return n>0&&(r.padTo=n),this.loc.numberFormatter(r).format(e)}formatDateTimeFromString(e,n){const r=this.loc.listingMode()==="en",a=this.loc.outputCalendar&&this.loc.outputCalendar!=="gregory",i=(m,g)=>this.loc.extract(e,m,g),s=m=>e.isOffsetFixed&&e.offset===0&&m.allowZ?"Z":e.isValid?e.zone.formatOffset(e.ts,m.format):"",l=()=>r?v4(e):i({hour:"numeric",hourCycle:"h12"},"dayperiod"),c=(m,g)=>r?k4(e,m):i(g?{month:m}:{month:m,day:"numeric"},"month"),u=(m,g)=>r?w4(e,m):i(g?{weekday:m}:{weekday:m,month:"long",day:"numeric"},"weekday"),d=m=>{const g=he.macroTokenToFormatOpts(m);return g?this.formatWithSystemDefault(e,g):m},f=m=>r?C4(e,m):i({era:m},"era"),h=m=>{switch(m){case"S":return this.num(e.millisecond);case"u":case"SSS":return this.num(e.millisecond,3);case"s":return this.num(e.second);case"ss":return this.num(e.second,2);case"uu":return this.num(Math.floor(e.millisecond/10),2);case"uuu":return this.num(Math.floor(e.millisecond/100));case"m":return this.num(e.minute);case"mm":return this.num(e.minute,2);case"h":return this.num(e.hour%12===0?12:e.hour%12);case"hh":return this.num(e.hour%12===0?12:e.hour%12,2);case"H":return this.num(e.hour);case"HH":return this.num(e.hour,2);case"Z":return s({format:"narrow",allowZ:this.opts.allowZ});case"ZZ":return s({format:"short",allowZ:this.opts.allowZ});case"ZZZ":return s({format:"techie",allowZ:this.opts.allowZ});case"ZZZZ":return e.zone.offsetName(e.ts,{format:"short",locale:this.loc.locale});case"ZZZZZ":return e.zone.offsetName(e.ts,{format:"long",locale:this.loc.locale});case"z":return e.zoneName;case"a":return l();case"d":return a?i({day:"numeric"},"day"):this.num(e.day);case"dd":return a?i({day:"2-digit"},"day"):this.num(e.day,2);case"c":return this.num(e.weekday);case"ccc":return u("short",!0);case"cccc":return u("long",!0);case"ccccc":return u("narrow",!0);case"E":return this.num(e.weekday);case"EEE":return u("short",!1);case"EEEE":return u("long",!1);case"EEEEE":return u("narrow",!1);case"L":return a?i({month:"numeric",day:"numeric"},"month"):this.num(e.month);case"LL":return a?i({month:"2-digit",day:"numeric"},"month"):this.num(e.month,2);case"LLL":return c("short",!0);case"LLLL":return c("long",!0);case"LLLLL":return c("narrow",!0);case"M":return a?i({month:"numeric"},"month"):this.num(e.month);case"MM":return a?i({month:"2-digit"},"month"):this.num(e.month,2);case"MMM":return c("short",!1);case"MMMM":return c("long",!1);case"MMMMM":return c("narrow",!1);case"y":return a?i({year:"numeric"},"year"):this.num(e.year);case"yy":return a?i({year:"2-digit"},"year"):this.num(e.year.toString().slice(-2),2);case"yyyy":return a?i({year:"numeric"},"year"):this.num(e.year,4);case"yyyyyy":return a?i({year:"numeric"},"year"):this.num(e.year,6);case"G":return f("short");case"GG":return f("long");case"GGGGG":return f("narrow");case"kk":return this.num(e.weekYear.toString().slice(-2),2);case"kkkk":return this.num(e.weekYear,4);case"W":return this.num(e.weekNumber);case"WW":return this.num(e.weekNumber,2);case"n":return this.num(e.localWeekNumber);case"nn":return this.num(e.localWeekNumber,2);case"ii":return this.num(e.localWeekYear.toString().slice(-2),2);case"iiii":return this.num(e.localWeekYear,4);case"o":return this.num(e.ordinal);case"ooo":return this.num(e.ordinal,3);case"q":return this.num(e.quarter);case"qq":return this.num(e.quarter,2);case"X":return this.num(Math.floor(e.ts/1e3));case"x":return this.num(e.ts);default:return d(m)}};return Rl(he.parseFormat(n),h)}formatDurationFromString(e,n){const r=c=>{switch(c[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}},a=c=>u=>{const d=r(u);return d?this.num(c.get(d),u.length):u},i=he.parseFormat(n),s=i.reduce((c,{literal:u,val:d})=>u?c:c.concat(d),[]),l=e.shiftTo(...s.map(r).filter(c=>c));return Rl(i,a(l))}}const Fl=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function Lt(...t){const e=t.reduce((n,r)=>n+r.source,"");return RegExp(`^${e}$`)}function Rt(...t){return e=>t.reduce(([n,r,a],i)=>{const[s,l,c]=i(e,a);return[{...n,...s},l||r,c]},[{},null,1]).slice(0,2)}function Ft(t,...e){if(t==null)return[null,null];for(const[n,r]of e){const a=n.exec(t);if(a)return r(a)}return[null,null]}function jl(...t){return(e,n)=>{const r={};let a;for(a=0;a<t.length;a++)r[t[a]]=ut(e[n+a]);return[r,null,n+a]}}const Hl=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,T4=`(?:${Hl.source}?(?:\\[(${Fl.source})\\])?)?`,ai=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,Ul=RegExp(`${ai.source}${T4}`),si=RegExp(`(?:T${Ul.source})?`),O4=/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,x4=/(\d{4})-?W(\d\d)(?:-?(\d))?/,I4=/(\d{4})-?(\d{3})/,V4=jl("weekYear","weekNumber","weekDay"),P4=jl("year","ordinal"),N4=/(\d{4})-(\d\d)-(\d\d)/,zl=RegExp(`${ai.source} ?(?:${Hl.source}|(${Fl.source}))?`),_4=RegExp(`(?: ${zl.source})?`);function jt(t,e,n){const r=t[e];return L(r)?n:ut(r)}function B4(t,e){return[{year:jt(t,e),month:jt(t,e+1,1),day:jt(t,e+2,1)},null,e+3]}function Ht(t,e){return[{hours:jt(t,e,0),minutes:jt(t,e+1,0),seconds:jt(t,e+2,0),milliseconds:ri(t[e+3])},null,e+4]}function kn(t,e){const n=!t[e]&&!t[e+1],r=Or(t[e+1],t[e+2]),a=n?null:we.instance(r);return[{},a,e+3]}function Cn(t,e){const n=t[e]?tt.create(t[e]):null;return[{},n,e+1]}const M4=RegExp(`^T?${ai.source}$`),D4=/^-?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 $4(t){const[e,n,r,a,i,s,l,c,u]=t,d=e[0]==="-",f=c&&c[0]==="-",h=(m,g=!1)=>m!==void 0&&(g||m&&d)?-m:m;return[{years:h(wt(n)),months:h(wt(r)),weeks:h(wt(a)),days:h(wt(i)),hours:h(wt(s)),minutes:h(wt(l)),seconds:h(wt(c),c==="-0"),milliseconds:h(ri(u),f)}]}const A4={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 li(t,e,n,r,a,i,s){const l={year:e.length===2?ii(ut(e)):ut(e),month:Bl.indexOf(n)+1,day:ut(r),hour:ut(a),minute:ut(i)};return s&&(l.second=ut(s)),t&&(l.weekday=t.length>3?Dl.indexOf(t)+1:$l.indexOf(t)+1),l}const Z4=/^(?:(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 L4(t){const[,e,n,r,a,i,s,l,c,u,d,f]=t,h=li(e,a,r,n,i,s,l);let m;return c?m=A4[c]:u?m=0:m=Or(d,f),[h,new we(m)]}function R4(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}const F4=/^(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$/,j4=/^(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$/,H4=/^(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 Wl(t){const[,e,n,r,a,i,s,l]=t;return[li(e,a,r,n,i,s,l),we.utcInstance]}function U4(t){const[,e,n,r,a,i,s,l]=t;return[li(e,l,n,r,a,i,s),we.utcInstance]}const z4=Lt(O4,si),W4=Lt(x4,si),q4=Lt(I4,si),K4=Lt(Ul),ql=Rt(B4,Ht,kn,Cn),Y4=Rt(V4,Ht,kn,Cn),G4=Rt(P4,Ht,kn,Cn),J4=Rt(Ht,kn,Cn);function X4(t){return Ft(t,[z4,ql],[W4,Y4],[q4,G4],[K4,J4])}function Q4(t){return Ft(R4(t),[Z4,L4])}function e5(t){return Ft(t,[F4,Wl],[j4,Wl],[H4,U4])}function t5(t){return Ft(t,[D4,$4])}const n5=Rt(Ht);function r5(t){return Ft(t,[M4,n5])}const o5=Lt(N4,_4),i5=Lt(zl),a5=Rt(Ht,kn,Cn);function s5(t){return Ft(t,[o5,ql],[i5,a5])}const Kl="Invalid Duration",Yl={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}},l5={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},...Yl},_e=146097/400,Ut=146097/4800,c5={years:{quarters:4,months:12,weeks:_e/7,days:_e,hours:_e*24,minutes:_e*24*60,seconds:_e*24*60*60,milliseconds:_e*24*60*60*1e3},quarters:{months:3,weeks:_e/28,days:_e/4,hours:_e*24/4,minutes:_e*24*60/4,seconds:_e*24*60*60/4,milliseconds:_e*24*60*60*1e3/4},months:{weeks:Ut/7,days:Ut,hours:Ut*24,minutes:Ut*24*60,seconds:Ut*24*60*60,milliseconds:Ut*24*60*60*1e3},...Yl},kt=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],u5=kt.slice(0).reverse();function dt(t,e,n=!1){const r={values:n?e.values:{...t.values,...e.values||{}},loc:t.loc.clone(e.loc),conversionAccuracy:e.conversionAccuracy||t.conversionAccuracy,matrix:e.matrix||t.matrix};return new U(r)}function Gl(t,e){let n=e.milliseconds??0;for(const r of u5.slice(1))e[r]&&(n+=e[r]*t[r].milliseconds);return n}function Jl(t,e){const n=Gl(t,e)<0?-1:1;kt.reduceRight((r,a)=>{if(L(e[a]))return r;if(r){const i=e[r]*n,s=t[a][r],l=Math.floor(i/s);e[a]+=l*n,e[r]-=l*s*n}return a},null),kt.reduce((r,a)=>{if(L(e[a]))return r;if(r){const i=e[r]%1;e[r]-=i,e[a]+=i*t[r][a]}return a},null)}function d5(t){const e={};for(const[n,r]of Object.entries(t))r!==0&&(e[n]=r);return e}class U{constructor(e){const n=e.conversionAccuracy==="longterm"||!1;let r=n?c5:l5;e.matrix&&(r=e.matrix),this.values=e.values,this.loc=e.loc||K.create(),this.conversionAccuracy=n?"longterm":"casual",this.invalid=e.invalid||null,this.matrix=r,this.isLuxonDuration=!0}static fromMillis(e,n){return U.fromObject({milliseconds:e},n)}static fromObject(e,n={}){if(e==null||typeof e!="object")throw new Ce(`Duration.fromObject: argument expected to be an object, got ${e===null?"null":typeof e}`);return new U({values:xr(e,U.normalizeUnit),loc:K.fromObject(n),conversionAccuracy:n.conversionAccuracy,matrix:n.matrix})}static fromDurationLike(e){if(vt(e))return U.fromMillis(e);if(U.isDuration(e))return e;if(typeof e=="object")return U.fromObject(e);throw new Ce(`Unknown duration argument ${e} of type ${typeof e}`)}static fromISO(e,n){const[r]=t5(e);return r?U.fromObject(r,n):U.invalid("unparsable",`the input "${e}" can't be parsed as ISO 8601`)}static fromISOTime(e,n){const[r]=r5(e);return r?U.fromObject(r,n):U.invalid("unparsable",`the input "${e}" can't be parsed as ISO 8601`)}static invalid(e,n=null){if(!e)throw new Ce("need to specify a reason the Duration is invalid");const r=e instanceof $e?e:new $e(e,n);if(ne.throwOnInvalid)throw new Zf(r);return new U({invalid:r})}static normalizeUnit(e){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"}[e&&e.toLowerCase()];if(!n)throw new js(e);return n}static isDuration(e){return e&&e.isLuxonDuration||!1}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}toFormat(e,n={}){const r={...n,floor:n.round!==!1&&n.floor!==!1};return this.isValid?he.create(this.loc,r).formatDurationFromString(this,e):Kl}toHuman(e={}){if(!this.isValid)return Kl;const n=kt.map(r=>{const a=this.values[r];return L(a)?null:this.loc.numberFormatter({style:"unit",unitDisplay:"long",...e,unit:r.slice(0,-1)}).format(a)}).filter(r=>r);return this.loc.listFormatter({type:"conjunction",style:e.listStyle||"narrow",...e}).format(n)}toObject(){return this.isValid?{...this.values}:{}}toISO(){if(!this.isValid)return null;let e="P";return this.years!==0&&(e+=this.years+"Y"),(this.months!==0||this.quarters!==0)&&(e+=this.months+this.quarters*3+"M"),this.weeks!==0&&(e+=this.weeks+"W"),this.days!==0&&(e+=this.days+"D"),(this.hours!==0||this.minutes!==0||this.seconds!==0||this.milliseconds!==0)&&(e+="T"),this.hours!==0&&(e+=this.hours+"H"),this.minutes!==0&&(e+=this.minutes+"M"),(this.seconds!==0||this.milliseconds!==0)&&(e+=oi(this.seconds+this.milliseconds/1e3,3)+"S"),e==="P"&&(e+="T0S"),e}toISOTime(e={}){if(!this.isValid)return null;const n=this.toMillis();return n<0||n>=864e5?null:(e={suppressMilliseconds:!1,suppressSeconds:!1,includePrefix:!1,format:"extended",...e,includeOffset:!1},Z.fromMillis(n,{zone:"UTC"}).toISOTime(e))}toJSON(){return this.toISO()}toString(){return this.toISO()}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Duration { values: ${JSON.stringify(this.values)} }`:`Duration { Invalid, reason: ${this.invalidReason} }`}toMillis(){return this.isValid?Gl(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(e){if(!this.isValid)return this;const n=U.fromDurationLike(e),r={};for(const a of kt)(At(n.values,a)||At(this.values,a))&&(r[a]=n.get(a)+this.get(a));return dt(this,{values:r},!0)}minus(e){if(!this.isValid)return this;const n=U.fromDurationLike(e);return this.plus(n.negate())}mapUnits(e){if(!this.isValid)return this;const n={};for(const r of Object.keys(this.values))n[r]=_l(e(this.values[r],r));return dt(this,{values:n},!0)}get(e){return this[U.normalizeUnit(e)]}set(e){if(!this.isValid)return this;const n={...this.values,...xr(e,U.normalizeUnit)};return dt(this,{values:n})}reconfigure({locale:e,numberingSystem:n,conversionAccuracy:r,matrix:a}={}){const s={loc:this.loc.clone({locale:e,numberingSystem:n}),matrix:a,conversionAccuracy:r};return dt(this,s)}as(e){return this.isValid?this.shiftTo(e).get(e):NaN}normalize(){if(!this.isValid)return this;const e=this.toObject();return Jl(this.matrix,e),dt(this,{values:e},!0)}rescale(){if(!this.isValid)return this;const e=d5(this.normalize().shiftToAll().toObject());return dt(this,{values:e},!0)}shiftTo(...e){if(!this.isValid)return this;if(e.length===0)return this;e=e.map(s=>U.normalizeUnit(s));const n={},r={},a=this.toObject();let i;for(const s of kt)if(e.indexOf(s)>=0){i=s;let l=0;for(const u in r)l+=this.matrix[u][s]*r[u],r[u]=0;vt(a[s])&&(l+=a[s]);const c=Math.trunc(l);n[s]=c,r[s]=(l*1e3-c*1e3)/1e3}else vt(a[s])&&(r[s]=a[s]);for(const s in r)r[s]!==0&&(n[i]+=s===i?r[s]:r[s]/this.matrix[i][s]);return Jl(this.matrix,n),dt(this,{values:n},!0)}shiftToAll(){return this.isValid?this.shiftTo("years","months","weeks","days","hours","minutes","seconds","milliseconds"):this}negate(){if(!this.isValid)return this;const e={};for(const n of Object.keys(this.values))e[n]=this.values[n]===0?0:-this.values[n];return dt(this,{values:e},!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(e){if(!this.isValid||!e.isValid||!this.loc.equals(e.loc))return!1;function n(r,a){return r===void 0||r===0?a===void 0||a===0:r===a}for(const r of kt)if(!n(this.values[r],e.values[r]))return!1;return!0}}const zt="Invalid Interval";function f5(t,e){return!t||!t.isValid?Q.invalid("missing or invalid start"):!e||!e.isValid?Q.invalid("missing or invalid end"):e<t?Q.invalid("end before start",`The end of an interval must be after its start, but you had start=${t.toISO()} and end=${e.toISO()}`):null}class Q{constructor(e){this.s=e.start,this.e=e.end,this.invalid=e.invalid||null,this.isLuxonInterval=!0}static invalid(e,n=null){if(!e)throw new Ce("need to specify a reason the Interval is invalid");const r=e instanceof $e?e:new $e(e,n);if(ne.throwOnInvalid)throw new Af(r);return new Q({invalid:r})}static fromDateTimes(e,n){const r=En(e),a=En(n),i=f5(r,a);return i??new Q({start:r,end:a})}static after(e,n){const r=U.fromDurationLike(n),a=En(e);return Q.fromDateTimes(a,a.plus(r))}static before(e,n){const r=U.fromDurationLike(n),a=En(e);return Q.fromDateTimes(a.minus(r),a)}static fromISO(e,n){const[r,a]=(e||"").split("/",2);if(r&&a){let i,s;try{i=Z.fromISO(r,n),s=i.isValid}catch{s=!1}let l,c;try{l=Z.fromISO(a,n),c=l.isValid}catch{c=!1}if(s&&c)return Q.fromDateTimes(i,l);if(s){const u=U.fromISO(a,n);if(u.isValid)return Q.after(i,u)}else if(c){const u=U.fromISO(r,n);if(u.isValid)return Q.before(l,u)}}return Q.invalid("unparsable",`the input "${e}" can't be parsed as ISO 8601`)}static isInterval(e){return e&&e.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(e="milliseconds"){return this.isValid?this.toDuration(e).get(e):NaN}count(e="milliseconds",n){if(!this.isValid)return NaN;const r=this.start.startOf(e,n);let a;return n!=null&&n.useLocaleWeeks?a=this.end.reconfigure({locale:r.locale}):a=this.end,a=a.startOf(e,n),Math.floor(a.diff(r,e).get(e))+(a.valueOf()!==this.end.valueOf())}hasSame(e){return this.isValid?this.isEmpty()||this.e.minus(1).hasSame(this.s,e):!1}isEmpty(){return this.s.valueOf()===this.e.valueOf()}isAfter(e){return this.isValid?this.s>e:!1}isBefore(e){return this.isValid?this.e<=e:!1}contains(e){return this.isValid?this.s<=e&&this.e>e:!1}set({start:e,end:n}={}){return this.isValid?Q.fromDateTimes(e||this.s,n||this.e):this}splitAt(...e){if(!this.isValid)return[];const n=e.map(En).filter(s=>this.contains(s)).sort((s,l)=>s.toMillis()-l.toMillis()),r=[];let{s:a}=this,i=0;for(;a<this.e;){const s=n[i]||this.e,l=+s>+this.e?this.e:s;r.push(Q.fromDateTimes(a,l)),a=l,i+=1}return r}splitBy(e){const n=U.fromDurationLike(e);if(!this.isValid||!n.isValid||n.as("milliseconds")===0)return[];let{s:r}=this,a=1,i;const s=[];for(;r<this.e;){const l=this.start.plus(n.mapUnits(c=>c*a));i=+l>+this.e?this.e:l,s.push(Q.fromDateTimes(r,i)),r=i,a+=1}return s}divideEqually(e){return this.isValid?this.splitBy(this.length()/e).slice(0,e):[]}overlaps(e){return this.e>e.s&&this.s<e.e}abutsStart(e){return this.isValid?+this.e==+e.s:!1}abutsEnd(e){return this.isValid?+e.e==+this.s:!1}engulfs(e){return this.isValid?this.s<=e.s&&this.e>=e.e:!1}equals(e){return!this.isValid||!e.isValid?!1:this.s.equals(e.s)&&this.e.equals(e.e)}intersection(e){if(!this.isValid)return this;const n=this.s>e.s?this.s:e.s,r=this.e<e.e?this.e:e.e;return n>=r?null:Q.fromDateTimes(n,r)}union(e){if(!this.isValid)return this;const n=this.s<e.s?this.s:e.s,r=this.e>e.e?this.e:e.e;return Q.fromDateTimes(n,r)}static merge(e){const[n,r]=e.sort((a,i)=>a.s-i.s).reduce(([a,i],s)=>i?i.overlaps(s)||i.abutsStart(s)?[a,i.union(s)]:[a.concat([i]),s]:[a,s],[[],null]);return r&&n.push(r),n}static xor(e){let n=null,r=0;const a=[],i=e.map(c=>[{time:c.s,type:"s"},{time:c.e,type:"e"}]),s=Array.prototype.concat(...i),l=s.sort((c,u)=>c.time-u.time);for(const c of l)r+=c.type==="s"?1:-1,r===1?n=c.time:(n&&+n!=+c.time&&a.push(Q.fromDateTimes(n,c.time)),n=null);return Q.merge(a)}difference(...e){return Q.xor([this].concat(e)).map(n=>this.intersection(n)).filter(n=>n&&!n.isEmpty())}toString(){return this.isValid?`[${this.s.toISO()} – ${this.e.toISO()})`:zt}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Interval { start: ${this.s.toISO()}, end: ${this.e.toISO()} }`:`Interval { Invalid, reason: ${this.invalidReason} }`}toLocaleString(e=yr,n={}){return this.isValid?he.create(this.s.loc.clone(n),e).formatInterval(this):zt}toISO(e){return this.isValid?`${this.s.toISO(e)}/${this.e.toISO(e)}`:zt}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:zt}toISOTime(e){return this.isValid?`${this.s.toISOTime(e)}/${this.e.toISOTime(e)}`:zt}toFormat(e,{separator:n=" – "}={}){return this.isValid?`${this.s.toFormat(e)}${n}${this.e.toFormat(e)}`:zt}toDuration(e,n){return this.isValid?this.e.diff(this.s,e,n):U.invalid(this.invalidReason)}mapEndpoints(e){return Q.fromDateTimes(e(this.s),e(this.e))}}class Vr{static hasDST(e=ne.defaultZone){const n=Z.now().setZone(e).set({month:12});return!e.isUniversal&&n.offset!==n.set({month:6}).offset}static isValidIANAZone(e){return tt.isValidZone(e)}static normalizeZone(e){return ct(e,ne.defaultZone)}static getStartOfWeek({locale:e=null,locObj:n=null}={}){return(n||K.create(e)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:e=null,locObj:n=null}={}){return(n||K.create(e)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:e=null,locObj:n=null}={}){return(n||K.create(e)).getWeekendDays().slice()}static months(e="long",{locale:n=null,numberingSystem:r=null,locObj:a=null,outputCalendar:i="gregory"}={}){return(a||K.create(n,r,i)).months(e)}static monthsFormat(e="long",{locale:n=null,numberingSystem:r=null,locObj:a=null,outputCalendar:i="gregory"}={}){return(a||K.create(n,r,i)).months(e,!0)}static weekdays(e="long",{locale:n=null,numberingSystem:r=null,locObj:a=null}={}){return(a||K.create(n,r,null)).weekdays(e)}static weekdaysFormat(e="long",{locale:n=null,numberingSystem:r=null,locObj:a=null}={}){return(a||K.create(n,r,null)).weekdays(e,!0)}static meridiems({locale:e=null}={}){return K.create(e).meridiems()}static eras(e="short",{locale:n=null}={}){return K.create(n,null,"gregory").eras(e)}static features(){return{relative:xl(),localeWeek:Il()}}}function Xl(t,e){const n=a=>a.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),r=n(e)-n(t);return Math.floor(U.fromMillis(r).as("days"))}function m5(t,e,n){const r=[["years",(c,u)=>u.year-c.year],["quarters",(c,u)=>u.quarter-c.quarter+(u.year-c.year)*4],["months",(c,u)=>u.month-c.month+(u.year-c.year)*12],["weeks",(c,u)=>{const d=Xl(c,u);return(d-d%7)/7}],["days",Xl]],a={},i=t;let s,l;for(const[c,u]of r)n.indexOf(c)>=0&&(s=c,a[c]=u(t,e),l=i.plus(a),l>e?(a[c]--,t=i.plus(a),t>e&&(l=t,a[c]--,t=i.plus(a))):t=l);return[t,a,l,s]}function h5(t,e,n,r){let[a,i,s,l]=m5(t,e,n);const c=e-a,u=n.filter(f=>["hours","minutes","seconds","milliseconds"].indexOf(f)>=0);u.length===0&&(s<e&&(s=a.plus({[l]:1})),s!==a&&(i[l]=(i[l]||0)+c/(s-a)));const d=U.fromObject(i,r);return u.length>0?U.fromMillis(c,r).shiftTo(...u).plus(d):d}const ci={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},Ql={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]},p5=ci.hanidec.replace(/[\[|\]]/g,"").split("");function g5(t){let e=parseInt(t,10);if(isNaN(e)){e="";for(let n=0;n<t.length;n++){const r=t.charCodeAt(n);if(t[n].search(ci.hanidec)!==-1)e+=p5.indexOf(t[n]);else for(const a in Ql){const[i,s]=Ql[a];r>=i&&r<=s&&(e+=r-i)}}return parseInt(e,10)}else return e}function Ae({numberingSystem:t},e=""){return new RegExp(`${ci[t||"latn"]}${e}`)}const y5="missing Intl.DateTimeFormat.formatToParts support";function q(t,e=n=>n){return{regex:t,deser:([n])=>e(g5(n))}}const e1="[  ]",t1=new RegExp(e1,"g");function b5(t){return t.replace(/\./g,"\\.?").replace(t1,e1)}function n1(t){return t.replace(/\./g,"").replace(t1," ").toLowerCase()}function Ze(t,e){return t===null?null:{regex:RegExp(t.map(b5).join("|")),deser:([n])=>t.findIndex(r=>n1(n)===n1(r))+e}}function r1(t,e){return{regex:t,deser:([,n,r])=>Or(n,r),groups:e}}function Pr(t){return{regex:t,deser:([e])=>e}}function v5(t){return t.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")}function w5(t,e){const n=Ae(e),r=Ae(e,"{2}"),a=Ae(e,"{3}"),i=Ae(e,"{4}"),s=Ae(e,"{6}"),l=Ae(e,"{1,2}"),c=Ae(e,"{1,3}"),u=Ae(e,"{1,6}"),d=Ae(e,"{1,9}"),f=Ae(e,"{2,4}"),h=Ae(e,"{4,6}"),m=O=>({regex:RegExp(v5(O.val)),deser:([k])=>k,literal:!0}),b=(O=>{if(t.literal)return m(O);switch(O.val){case"G":return Ze(e.eras("short"),0);case"GG":return Ze(e.eras("long"),0);case"y":return q(u);case"yy":return q(f,ii);case"yyyy":return q(i);case"yyyyy":return q(h);case"yyyyyy":return q(s);case"M":return q(l);case"MM":return q(r);case"MMM":return Ze(e.months("short",!0),1);case"MMMM":return Ze(e.months("long",!0),1);case"L":return q(l);case"LL":return q(r);case"LLL":return Ze(e.months("short",!1),1);case"LLLL":return Ze(e.months("long",!1),1);case"d":return q(l);case"dd":return q(r);case"o":return q(c);case"ooo":return q(a);case"HH":return q(r);case"H":return q(l);case"hh":return q(r);case"h":return q(l);case"mm":return q(r);case"m":return q(l);case"q":return q(l);case"qq":return q(r);case"s":return q(l);case"ss":return q(r);case"S":return q(c);case"SSS":return q(a);case"u":return Pr(d);case"uu":return Pr(l);case"uuu":return q(n);case"a":return Ze(e.meridiems(),0);case"kkkk":return q(i);case"kk":return q(f,ii);case"W":return q(l);case"WW":return q(r);case"E":case"c":return q(n);case"EEE":return Ze(e.weekdays("short",!1),1);case"EEEE":return Ze(e.weekdays("long",!1),1);case"ccc":return Ze(e.weekdays("short",!0),1);case"cccc":return Ze(e.weekdays("long",!0),1);case"Z":case"ZZ":return r1(new RegExp(`([+-]${l.source})(?::(${r.source}))?`),2);case"ZZZ":return r1(new RegExp(`([+-]${l.source})(${r.source})?`),2);case"z":return Pr(/[a-z_+-/]{1,256}?/i);case" ":return Pr(/[^\S\n\r]/);default:return m(O)}})(t)||{invalidReason:y5};return b.token=t,b}const k5={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",hour12:{numeric:"h","2-digit":"hh"},hour24:{numeric:"H","2-digit":"HH"},minute:{numeric:"m","2-digit":"mm"},second:{numeric:"s","2-digit":"ss"},timeZoneName:{long:"ZZZZZ",short:"ZZZ"}};function C5(t,e,n){const{type:r,value:a}=t;if(r==="literal"){const c=/^\s+$/.test(a);return{literal:!c,val:c?" ":a}}const i=e[r];let s=r;r==="hour"&&(e.hour12!=null?s=e.hour12?"hour12":"hour24":e.hourCycle!=null?e.hourCycle==="h11"||e.hourCycle==="h12"?s="hour12":s="hour24":s=n.hour12?"hour12":"hour24");let l=k5[s];if(typeof l=="object"&&(l=l[i]),l)return{literal:!1,val:l}}function S5(t){return[`^${t.map(n=>n.regex).reduce((n,r)=>`${n}(${r.source})`,"")}$`,t]}function E5(t,e,n){const r=t.match(e);if(r){const a={};let i=1;for(const s in n)if(At(n,s)){const l=n[s],c=l.groups?l.groups+1:1;!l.literal&&l.token&&(a[l.token.val[0]]=l.deser(r.slice(i,i+c))),i+=c}return[r,a]}else return[r,{}]}function T5(t){const e=i=>{switch(i){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,r;return L(t.z)||(n=tt.create(t.z)),L(t.Z)||(n||(n=new we(t.Z)),r=t.Z),L(t.q)||(t.M=(t.q-1)*3+1),L(t.h)||(t.h<12&&t.a===1?t.h+=12:t.h===12&&t.a===0&&(t.h=0)),t.G===0&&t.y&&(t.y=-t.y),L(t.u)||(t.S=ri(t.u)),[Object.keys(t).reduce((i,s)=>{const l=e(s);return l&&(i[l]=t[s]),i},{}),n,r]}let ui=null;function O5(){return ui||(ui=Z.fromMillis(1555555555555)),ui}function x5(t,e){if(t.literal)return t;const n=he.macroTokenToFormatOpts(t.val),r=a1(n,e);return r==null||r.includes(void 0)?t:r}function o1(t,e){return Array.prototype.concat(...t.map(n=>x5(n,e)))}function i1(t,e,n){const r=o1(he.parseFormat(n),t),a=r.map(s=>w5(s,t)),i=a.find(s=>s.invalidReason);if(i)return{input:e,tokens:r,invalidReason:i.invalidReason};{const[s,l]=S5(a),c=RegExp(s,"i"),[u,d]=E5(e,c,l),[f,h,m]=d?T5(d):[null,null,void 0];if(At(d,"a")&&At(d,"H"))throw new $t("Can't include meridiem when specifying 24-hour format");return{input:e,tokens:r,regex:c,rawMatches:u,matches:d,result:f,zone:h,specificOffset:m}}}function I5(t,e,n){const{result:r,zone:a,specificOffset:i,invalidReason:s}=i1(t,e,n);return[r,a,i,s]}function a1(t,e){if(!t)return null;const r=he.create(e,t).dtFormatter(O5()),a=r.formatToParts(),i=r.resolvedOptions();return a.map(s=>C5(s,t,i))}const di="Invalid DateTime",s1=864e13;function Nr(t){return new $e("unsupported zone",`the zone "${t.name}" is not supported`)}function fi(t){return t.weekData===null&&(t.weekData=Cr(t.c)),t.weekData}function mi(t){return t.localWeekData===null&&(t.localWeekData=Cr(t.c,t.loc.getMinDaysInFirstWeek(),t.loc.getStartOfWeek())),t.localWeekData}function Ct(t,e){const n={ts:t.ts,zone:t.zone,c:t.c,o:t.o,loc:t.loc,invalid:t.invalid};return new Z({...n,...e,old:n})}function l1(t,e,n){let r=t-e*60*1e3;const a=n.offset(r);if(e===a)return[r,e];r-=(a-e)*60*1e3;const i=n.offset(r);return a===i?[r,a]:[t-Math.min(a,i)*60*1e3,Math.max(a,i)]}function _r(t,e){t+=e*60*1e3;const n=new Date(t);return{year:n.getUTCFullYear(),month:n.getUTCMonth()+1,day:n.getUTCDate(),hour:n.getUTCHours(),minute:n.getUTCMinutes(),second:n.getUTCSeconds(),millisecond:n.getUTCMilliseconds()}}function Br(t,e,n){return l1(Tr(t),e,n)}function c1(t,e){const n=t.o,r=t.c.year+Math.trunc(e.years),a=t.c.month+Math.trunc(e.months)+Math.trunc(e.quarters)*3,i={...t.c,year:r,month:a,day:Math.min(t.c.day,Er(r,a))+Math.trunc(e.days)+Math.trunc(e.weeks)*7},s=U.fromObject({years:e.years-Math.trunc(e.years),quarters:e.quarters-Math.trunc(e.quarters),months:e.months-Math.trunc(e.months),weeks:e.weeks-Math.trunc(e.weeks),days:e.days-Math.trunc(e.days),hours:e.hours,minutes:e.minutes,seconds:e.seconds,milliseconds:e.milliseconds}).as("milliseconds"),l=Tr(i);let[c,u]=l1(l,n,t.zone);return s!==0&&(c+=s,u=t.zone.offset(c)),{ts:c,o:u}}function Sn(t,e,n,r,a,i){const{setZone:s,zone:l}=n;if(t&&Object.keys(t).length!==0||e){const c=e||l,u=Z.fromObject(t,{...n,zone:c,specificOffset:i});return s?u:u.setZone(l)}else return Z.invalid(new $e("unparsable",`the input "${a}" can't be parsed as ${r}`))}function Mr(t,e,n=!0){return t.isValid?he.create(K.create("en-US"),{allowZ:n,forceSimple:!0}).formatDateTimeFromString(t,e):null}function hi(t,e){const n=t.c.year>9999||t.c.year<0;let r="";return n&&t.c.year>=0&&(r+="+"),r+=re(t.c.year,n?6:4),e?(r+="-",r+=re(t.c.month),r+="-",r+=re(t.c.day)):(r+=re(t.c.month),r+=re(t.c.day)),r}function u1(t,e,n,r,a,i){let s=re(t.c.hour);return e?(s+=":",s+=re(t.c.minute),(t.c.millisecond!==0||t.c.second!==0||!n)&&(s+=":")):s+=re(t.c.minute),(t.c.millisecond!==0||t.c.second!==0||!n)&&(s+=re(t.c.second),(t.c.millisecond!==0||!r)&&(s+=".",s+=re(t.c.millisecond,3))),a&&(t.isOffsetFixed&&t.offset===0&&!i?s+="Z":t.o<0?(s+="-",s+=re(Math.trunc(-t.o/60)),s+=":",s+=re(Math.trunc(-t.o%60))):(s+="+",s+=re(Math.trunc(t.o/60)),s+=":",s+=re(Math.trunc(t.o%60)))),i&&(s+="["+t.zone.ianaName+"]"),s}const d1={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},V5={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},P5={ordinal:1,hour:0,minute:0,second:0,millisecond:0},f1=["year","month","day","hour","minute","second","millisecond"],N5=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],_5=["year","ordinal","hour","minute","second","millisecond"];function B5(t){const e={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"}[t.toLowerCase()];if(!e)throw new js(t);return e}function m1(t){switch(t.toLowerCase()){case"localweekday":case"localweekdays":return"localWeekday";case"localweeknumber":case"localweeknumbers":return"localWeekNumber";case"localweekyear":case"localweekyears":return"localWeekYear";default:return B5(t)}}function h1(t,e){const n=ct(e.zone,ne.defaultZone),r=K.fromObject(e),a=ne.now();let i,s;if(L(t.year))i=a;else{for(const u of f1)L(t[u])&&(t[u]=d1[u]);const l=Tl(t)||Ol(t);if(l)return Z.invalid(l);const c=n.offset(a);[i,s]=Br(t,c,n)}return new Z({ts:i,zone:n,loc:r,o:s})}function p1(t,e,n){const r=L(n.round)?!0:n.round,a=(s,l)=>(s=oi(s,r||n.calendary?0:2,!0),e.loc.clone(n).relFormatter(n).format(s,l)),i=s=>n.calendary?e.hasSame(t,s)?0:e.startOf(s).diff(t.startOf(s),s).get(s):e.diff(t,s).get(s);if(n.unit)return a(i(n.unit),n.unit);for(const s of n.units){const l=i(s);if(Math.abs(l)>=1)return a(l,s)}return a(t>e?-0:0,n.units[n.units.length-1])}function g1(t){let e={},n;return t.length>0&&typeof t[t.length-1]=="object"?(e=t[t.length-1],n=Array.from(t).slice(0,t.length-1)):n=Array.from(t),[e,n]}class Z{constructor(e){const n=e.zone||ne.defaultZone;let r=e.invalid||(Number.isNaN(e.ts)?new $e("invalid input"):null)||(n.isValid?null:Nr(n));this.ts=L(e.ts)?ne.now():e.ts;let a=null,i=null;if(!r)if(e.old&&e.old.ts===this.ts&&e.old.zone.equals(n))[a,i]=[e.old.c,e.old.o];else{const l=n.offset(this.ts);a=_r(this.ts,l),r=Number.isNaN(a.year)?new $e("invalid input"):null,a=r?null:a,i=r?null:l}this._zone=n,this.loc=e.loc||K.create(),this.invalid=r,this.weekData=null,this.localWeekData=null,this.c=a,this.o=i,this.isLuxonDateTime=!0}static now(){return new Z({})}static local(){const[e,n]=g1(arguments),[r,a,i,s,l,c,u]=n;return h1({year:r,month:a,day:i,hour:s,minute:l,second:c,millisecond:u},e)}static utc(){const[e,n]=g1(arguments),[r,a,i,s,l,c,u]=n;return e.zone=we.utcInstance,h1({year:r,month:a,day:i,hour:s,minute:l,second:c,millisecond:u},e)}static fromJSDate(e,n={}){const r=c4(e)?e.valueOf():NaN;if(Number.isNaN(r))return Z.invalid("invalid input");const a=ct(n.zone,ne.defaultZone);return a.isValid?new Z({ts:r,zone:a,loc:K.fromObject(n)}):Z.invalid(Nr(a))}static fromMillis(e,n={}){if(vt(e))return e<-s1||e>s1?Z.invalid("Timestamp out of range"):new Z({ts:e,zone:ct(n.zone,ne.defaultZone),loc:K.fromObject(n)});throw new Ce(`fromMillis requires a numerical input, but received a ${typeof e} with value ${e}`)}static fromSeconds(e,n={}){if(vt(e))return new Z({ts:e*1e3,zone:ct(n.zone,ne.defaultZone),loc:K.fromObject(n)});throw new Ce("fromSeconds requires a numerical input")}static fromObject(e,n={}){e=e||{};const r=ct(n.zone,ne.defaultZone);if(!r.isValid)return Z.invalid(Nr(r));const a=K.fromObject(n),i=xr(e,m1),{minDaysInFirstWeek:s,startOfWeek:l}=El(i,a),c=ne.now(),u=L(n.specificOffset)?r.offset(c):n.specificOffset,d=!L(i.ordinal),f=!L(i.year),h=!L(i.month)||!L(i.day),m=f||h,g=i.weekYear||i.weekNumber;if((m||d)&&g)throw new $t("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(h&&d)throw new $t("Can't mix ordinal dates with month/day");const b=g||i.weekday&&!m;let O,k,p=_r(c,u);b?(O=N5,k=V5,p=Cr(p,s,l)):d?(O=_5,k=P5,p=ti(p)):(O=f1,k=d1);let y=!1;for(const I of O){const V=i[I];L(V)?y?i[I]=k[I]:i[I]=p[I]:y=!0}const C=b?a4(i,s,l):d?s4(i):Tl(i),x=C||Ol(i);if(x)return Z.invalid(x);const P=b?Cl(i,s,l):d?Sl(i):i,[w,_]=Br(P,u,r),T=new Z({ts:w,zone:r,o:_,loc:a});return i.weekday&&m&&e.weekday!==T.weekday?Z.invalid("mismatched weekday",`you can't specify both a weekday of ${i.weekday} and a date of ${T.toISO()}`):T}static fromISO(e,n={}){const[r,a]=X4(e);return Sn(r,a,n,"ISO 8601",e)}static fromRFC2822(e,n={}){const[r,a]=Q4(e);return Sn(r,a,n,"RFC 2822",e)}static fromHTTP(e,n={}){const[r,a]=e5(e);return Sn(r,a,n,"HTTP",n)}static fromFormat(e,n,r={}){if(L(e)||L(n))throw new Ce("fromFormat requires an input string and a format");const{locale:a=null,numberingSystem:i=null}=r,s=K.fromOpts({locale:a,numberingSystem:i,defaultToEN:!0}),[l,c,u,d]=I5(s,e,n);return d?Z.invalid(d):Sn(l,c,r,`format ${n}`,e,u)}static fromString(e,n,r={}){return Z.fromFormat(e,n,r)}static fromSQL(e,n={}){const[r,a]=s5(e);return Sn(r,a,n,"SQL",e)}static invalid(e,n=null){if(!e)throw new Ce("need to specify a reason the DateTime is invalid");const r=e instanceof $e?e:new $e(e,n);if(ne.throwOnInvalid)throw new $f(r);return new Z({invalid:r})}static isDateTime(e){return e&&e.isLuxonDateTime||!1}static parseFormatForOpts(e,n={}){const r=a1(e,K.fromObject(n));return r?r.map(a=>a?a.val:null).join(""):null}static expandFormat(e,n={}){return o1(he.parseFormat(e),K.fromObject(n)).map(a=>a.val).join("")}get(e){return this[e]}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?fi(this).weekYear:NaN}get weekNumber(){return this.isValid?fi(this).weekNumber:NaN}get weekday(){return this.isValid?fi(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?mi(this).weekday:NaN}get localWeekNumber(){return this.isValid?mi(this).weekNumber:NaN}get localWeekYear(){return this.isValid?mi(this).weekYear:NaN}get ordinal(){return this.isValid?ti(this.c).ordinal:NaN}get monthShort(){return this.isValid?Vr.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?Vr.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?Vr.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?Vr.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}getPossibleOffsets(){if(!this.isValid||this.isOffsetFixed)return[this];const e=864e5,n=6e4,r=Tr(this.c),a=this.zone.offset(r-e),i=this.zone.offset(r+e),s=this.zone.offset(r-a*n),l=this.zone.offset(r-i*n);if(s===l)return[this];const c=r-s*n,u=r-l*n,d=_r(c,s),f=_r(u,l);return d.hour===f.hour&&d.minute===f.minute&&d.second===f.second&&d.millisecond===f.millisecond?[Ct(this,{ts:c}),Ct(this,{ts:u})]:[this]}get isInLeapYear(){return bn(this.year)}get daysInMonth(){return Er(this.year,this.month)}get daysInYear(){return this.isValid?Zt(this.year):NaN}get weeksInWeekYear(){return this.isValid?vn(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?vn(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(e={}){const{locale:n,numberingSystem:r,calendar:a}=he.create(this.loc.clone(e),e).resolvedOptions(this);return{locale:n,numberingSystem:r,outputCalendar:a}}toUTC(e=0,n={}){return this.setZone(we.instance(e),n)}toLocal(){return this.setZone(ne.defaultZone)}setZone(e,{keepLocalTime:n=!1,keepCalendarTime:r=!1}={}){if(e=ct(e,ne.defaultZone),e.equals(this.zone))return this;if(e.isValid){let a=this.ts;if(n||r){const i=e.offset(this.ts),s=this.toObject();[a]=Br(s,i,e)}return Ct(this,{ts:a,zone:e})}else return Z.invalid(Nr(e))}reconfigure({locale:e,numberingSystem:n,outputCalendar:r}={}){const a=this.loc.clone({locale:e,numberingSystem:n,outputCalendar:r});return Ct(this,{loc:a})}setLocale(e){return this.reconfigure({locale:e})}set(e){if(!this.isValid)return this;const n=xr(e,m1),{minDaysInFirstWeek:r,startOfWeek:a}=El(n,this.loc),i=!L(n.weekYear)||!L(n.weekNumber)||!L(n.weekday),s=!L(n.ordinal),l=!L(n.year),c=!L(n.month)||!L(n.day),u=l||c,d=n.weekYear||n.weekNumber;if((u||s)&&d)throw new $t("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(c&&s)throw new $t("Can't mix ordinal dates with month/day");let f;i?f=Cl({...Cr(this.c,r,a),...n},r,a):L(n.ordinal)?(f={...this.toObject(),...n},L(n.day)&&(f.day=Math.min(Er(f.year,f.month),f.day))):f=Sl({...ti(this.c),...n});const[h,m]=Br(f,this.o,this.zone);return Ct(this,{ts:h,o:m})}plus(e){if(!this.isValid)return this;const n=U.fromDurationLike(e);return Ct(this,c1(this,n))}minus(e){if(!this.isValid)return this;const n=U.fromDurationLike(e).negate();return Ct(this,c1(this,n))}startOf(e,{useLocaleWeeks:n=!1}={}){if(!this.isValid)return this;const r={},a=U.normalizeUnit(e);switch(a){case"years":r.month=1;case"quarters":case"months":r.day=1;case"weeks":case"days":r.hour=0;case"hours":r.minute=0;case"minutes":r.second=0;case"seconds":r.millisecond=0;break}if(a==="weeks")if(n){const i=this.loc.getStartOfWeek(),{weekday:s}=this;s<i&&(r.weekNumber=this.weekNumber-1),r.weekday=i}else r.weekday=1;if(a==="quarters"){const i=Math.ceil(this.month/3);r.month=(i-1)*3+1}return this.set(r)}endOf(e,n){return this.isValid?this.plus({[e]:1}).startOf(e,n).minus(1):this}toFormat(e,n={}){return this.isValid?he.create(this.loc.redefaultToEN(n)).formatDateTimeFromString(this,e):di}toLocaleString(e=yr,n={}){return this.isValid?he.create(this.loc.clone(n),e).formatDateTime(this):di}toLocaleParts(e={}){return this.isValid?he.create(this.loc.clone(e),e).formatDateTimeParts(this):[]}toISO({format:e="extended",suppressSeconds:n=!1,suppressMilliseconds:r=!1,includeOffset:a=!0,extendedZone:i=!1}={}){if(!this.isValid)return null;const s=e==="extended";let l=hi(this,s);return l+="T",l+=u1(this,s,n,r,a,i),l}toISODate({format:e="extended"}={}){return this.isValid?hi(this,e==="extended"):null}toISOWeekDate(){return Mr(this,"kkkk-'W'WW-c")}toISOTime({suppressMilliseconds:e=!1,suppressSeconds:n=!1,includeOffset:r=!0,includePrefix:a=!1,extendedZone:i=!1,format:s="extended"}={}){return this.isValid?(a?"T":"")+u1(this,s==="extended",n,e,r,i):null}toRFC2822(){return Mr(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return Mr(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?hi(this,!0):null}toSQLTime({includeOffset:e=!0,includeZone:n=!1,includeOffsetSpace:r=!0}={}){let a="HH:mm:ss.SSS";return(n||e)&&(r&&(a+=" "),n?a+="z":e&&(a+="ZZ")),Mr(this,a,!0)}toSQL(e={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(e)}`:null}toString(){return this.isValid?this.toISO():di}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`DateTime { ts: ${this.toISO()}, zone: ${this.zone.name}, locale: ${this.locale} }`:`DateTime { Invalid, reason: ${this.invalidReason} }`}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(e={}){if(!this.isValid)return{};const n={...this.c};return e.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(e,n="milliseconds",r={}){if(!this.isValid||!e.isValid)return U.invalid("created by diffing an invalid DateTime");const a={locale:this.locale,numberingSystem:this.numberingSystem,...r},i=u4(n).map(U.normalizeUnit),s=e.valueOf()>this.valueOf(),l=s?this:e,c=s?e:this,u=h5(l,c,i,a);return s?u.negate():u}diffNow(e="milliseconds",n={}){return this.diff(Z.now(),e,n)}until(e){return this.isValid?Q.fromDateTimes(this,e):this}hasSame(e,n,r){if(!this.isValid)return!1;const a=e.valueOf(),i=this.setZone(e.zone,{keepLocalTime:!0});return i.startOf(n,r)<=a&&a<=i.endOf(n,r)}equals(e){return this.isValid&&e.isValid&&this.valueOf()===e.valueOf()&&this.zone.equals(e.zone)&&this.loc.equals(e.loc)}toRelative(e={}){if(!this.isValid)return null;const n=e.base||Z.fromObject({},{zone:this.zone}),r=e.padding?this<n?-e.padding:e.padding:0;let a=["years","months","days","hours","minutes","seconds"],i=e.unit;return Array.isArray(e.unit)&&(a=e.unit,i=void 0),p1(n,this.plus(r),{...e,numeric:"always",units:a,unit:i})}toRelativeCalendar(e={}){return this.isValid?p1(e.base||Z.fromObject({},{zone:this.zone}),this,{...e,numeric:"auto",units:["years","months","days"],calendary:!0}):null}static min(...e){if(!e.every(Z.isDateTime))throw new Ce("min requires all arguments be DateTimes");return Vl(e,n=>n.valueOf(),Math.min)}static max(...e){if(!e.every(Z.isDateTime))throw new Ce("max requires all arguments be DateTimes");return Vl(e,n=>n.valueOf(),Math.max)}static fromFormatExplain(e,n,r={}){const{locale:a=null,numberingSystem:i=null}=r,s=K.fromOpts({locale:a,numberingSystem:i,defaultToEN:!0});return i1(s,e,n)}static fromStringExplain(e,n,r={}){return Z.fromFormatExplain(e,n,r)}static get DATE_SHORT(){return yr}static get DATE_MED(){return Hs}static get DATE_MED_WITH_WEEKDAY(){return Lf}static get DATE_FULL(){return Us}static get DATE_HUGE(){return zs}static get TIME_SIMPLE(){return Ws}static get TIME_WITH_SECONDS(){return qs}static get TIME_WITH_SHORT_OFFSET(){return Ks}static get TIME_WITH_LONG_OFFSET(){return Ys}static get TIME_24_SIMPLE(){return Gs}static get TIME_24_WITH_SECONDS(){return Js}static get TIME_24_WITH_SHORT_OFFSET(){return Xs}static get TIME_24_WITH_LONG_OFFSET(){return Qs}static get DATETIME_SHORT(){return el}static get DATETIME_SHORT_WITH_SECONDS(){return tl}static get DATETIME_MED(){return nl}static get DATETIME_MED_WITH_SECONDS(){return rl}static get DATETIME_MED_WITH_WEEKDAY(){return Rf}static get DATETIME_FULL(){return ol}static get DATETIME_FULL_WITH_SECONDS(){return il}static get DATETIME_HUGE(){return al}static get DATETIME_HUGE_WITH_SECONDS(){return sl}}function En(t){if(Z.isDateTime(t))return t;if(t&&t.valueOf&&vt(t.valueOf()))return Z.fromJSDate(t);if(t&&typeof t=="object")return Z.fromObject(t);throw new Ce(`Unknown datetime argument: ${t}, of type ${typeof t}`)}const M5=[o.createElementVNode("path",{d:"m3.56 7.28 2.47 2.47 8.66-8.66a.4.4 0 0 1 .68.28v4.86c0 .11-.04.21-.12.28l-9.03 9.03a.4.4 0 0 1-.57 0L.48 10.18a.4.4 0 0 1 0-.56l2.53-2.36a.4.4 0 0 1 .55 0v.02Z"},null,-1)],y1=o.defineComponent({__name:"CheckMarkIcon",props:{color:{type:String,default:"black"}},setup(t){return(e,n)=>(o.openBlock(),o.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",style:o.normalizeStyle({fill:t.color}),viewBox:"0 0 16 16"},M5,4))}}),D5={class:"fge-step-progress"},$5={class:"fge-step-item-counter"},A5={class:"fge-step-content"},Z5=o.defineComponent({__name:"FgeStepComponent",props:{showHeader:{type:Boolean,default:!0},currentStep:{type:Number,default:1},steps:{type:Array,default:()=>[]},stepPrimaryColor:{type:String,default:"#f28b0c"},stepIconColor:{type:String,default:"#fff"},containerClass:{type:String,default:""},headerClass:{type:String,default:""}},setup(t){const e=t,n=o.computed(()=>({"--stepPrimaryColor":e.stepPrimaryColor,"--stepIconColor":e.stepIconColor})),r=o.computed(()=>100/(e.steps.length-1)*(e.currentStep===0,e.currentStep)+"%");return(a,i)=>(o.openBlock(),o.createElementBlock("div",{class:o.normalizeClass(t.containerClass),style:o.normalizeStyle(n.value)},[t.showHeader?(o.openBlock(),o.createElementBlock("div",{key:0,class:o.normalizeClass(["fge-step",t.headerClass])},[o.createElementVNode("div",D5,[o.createElementVNode("div",{class:"fge-step-progress-bar",style:o.normalizeStyle("width:"+r.value)},null,4)]),(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(e.steps,(s,l)=>(o.openBlock(),o.createElementBlock("div",{class:o.normalizeClass(["fge-step-item",{current:e.currentStep>=l,success:e.currentStep>=l}]),key:l},[o.createElementVNode("div",$5,[o.createVNode(y1,{class:"icon-success",color:t.stepIconColor,alt:"Check Mark"},null,8,["color"])])],2))),128))],2)):o.createCommentVNode("",!0),o.createElementVNode("div",A5,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(t.steps,(s,l)=>(o.openBlock(),o.createElementBlock("div",{key:l},[t.currentStep===l?o.renderSlot(a.$slots,s.name,{key:0},void 0,!0):o.createCommentVNode("",!0)]))),128))])],6))}}),nt=(t,e)=>{const n=t.__vccOpts||t;for(const[r,a]of e)n[r]=a;return n},Dr=nt(Z5,[["__scopeId","data-v-f96ce043"]]),Le=({error:t,setErrors:e,toast:n})=>{var a;const r=(a=t==null?void 0:t.response)==null?void 0:a.validationErrors;if(t.message&&n.add({severity:"error",summary:"Error",detail:t.message,life:5e3,group:"auth_toast"}),r){let i={};for(const[s,l]of Object.entries(r))i={...i,[s]:l[0]};e(i);return}},$r=new RegExp(/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[^A-Za-z0-9])(?=.{8,15})/),Tn=new RegExp(/^[0-9]+$/),L5=new RegExp(/^[a-zA-Z0-9.!#$%&’*+/=?^_`{|}~-]+@[a-zA-Z0-9-]+(?:\.[a-zA-Z0-9-]+)*$/),pi=new RegExp(/^[a-zA-Z0-9]+$/),On=Qi("STATE_STORE",()=>{const t=o.ref("STATE_STORE"),e=o.ref(!1);return{id:t,isLoading:e,setLoading:r=>{e.value=r}}}),R5=()=>/iPhone|iPad|iPod|Android|webOS|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent);function Ar(t="fge"){const e=o.ref({whatsapp:null,telegram:null,email:null}),n=me(),r=o.ref(),a=o.ref(),i=o.ref(),s=Zn(),l=Et();o.onMounted(()=>{const h=Eo(t+"-estados");h&&(e.value={...JSON.parse(h)})});const c=(h,m=!0)=>(e.value[h]===null||typeof e.value[h]=="number"&&e.value[h]<Date.now())&&m?(e.value[h]=Z.now().plus({minutes:2}).toMillis(),To({name:t+"-estados",value:JSON.stringify(e.value),seconds:120}),!0):!1,u=async({callbackApi:h,code:m,counterTime:g=120,abrirTelegramDialog:b=!0})=>{const O={contacto:a.value,medio:i.value,code:m};if(c(i.value)){try{await h(O)}catch(k){l.add({severity:"error",summary:"Error!",detail:k.message,life:5e3,group:"auth_toast"})}o.nextTick(()=>{var k;(k=r.value)==null||k.reInit(g)})}else o.nextTick(()=>{o.nextTick(()=>{d(i.value)})});i.value==="telegram"&&b&&f()},d=h=>{var m;if(typeof e.value[h]=="number"&&e.value[h]>Date.now()){const g=Math.round(Math.abs(e.value[h]-Date.now())/1e3);(m=r.value)==null||m.reInit(g)}},f=()=>{s.require({header:"Confirmación vía Telegram",question:"Siga los siguientes pasos:",group:"auth_dialog",instructions:['Haz clic en el botón "Abrir" para abrir la página de Telegram.',"1. Inicia sesión en tu cuenta de Telegram.",'2. Presiona el botón "Comenzar" o "Start".','Ingrese "/start" en el chat si no encuentra el botón',"3. Copia el código en el formulario para completar el proceso de confirmación."],accept:()=>{if(R5()){const h=document.createElement("a");h.href=`tg://resolve?domain=${n.tgBot}`,h.target="_blank",h.onclick=function(){setTimeout(function(){if(document.visibilityState==="visible"){const m=window.open(`https://web.telegram.org/k/#@${n.tgBot}`,"_blank");m==null||m.focus()}h.remove()},1e3)},h.click()}else window.open(`https://web.telegram.org/k/#@${n.tgBot}`,"_blank")},acceptClass:"auth-btn-sm fge-button fge-auth-primary-button",acceptLabel:"Aceptar",acceptIcon:"hidden",rejectIcon:"hidden",rejectClass:"fge-button fge-secondary-button auth-btn-sm",rejectLabel:"Cerrar"})};return{refCounter:r,currentContacto:a,currentMedio:i,sePuedeReenviarMensaje:c,enviarMensaje:u}}function F5(){const{apiLoginInstance:t}=hr();return{onVerificarDatosRegistroApi:async i=>await t.post("/v1/validar/usuario",i).then(s=>s).catch(s=>{var l;throw(l=s.response)!=null&&l.data?s.response.data:s}),onRegistrarUsuarioApi:async i=>await t.post("/v1/registrar/usuario",i).then(s=>s).catch(s=>{var l;throw(l=s.response)!=null&&l.data?s.response.data:s}),onSolicitarCodigoVerificacionApi:async i=>await t.post("/v1/enviar/codigo/verificacion",i).then(s=>s).catch(s=>{var l;throw(l=s.response)!=null&&l.data?s.response.data:s}),onConfirmarCodigoVerificacionApi:async i=>await t.post("/v1/confirmar/codigo/verificacion",i).then(s=>s).catch(s=>{var l;throw(l=s.response)!=null&&l.data?s.response.data:s})}}function j5(){const t=[$.object().shape({ci:$.string().required().label("Cédula de identidad"),nombres:$.string().required().label("Nombre"),paterno:$.string().when("materno",([M])=>M?$.string().notRequired():$.string().required().label("Apellido paterno o materno")),materno:$.string().when("paterno",([M])=>M?$.string().notRequired():$.string().required().label("Apellido paterno o materno")),fechaNacimiento:$.mixed().required().label("Fecha de nacimiento")},[["materno","paterno"]]),$.object().shape({celular:$.string().required().matches(Tn).min(8).max(8).label("Celular"),email:$.string().email().notRequired().label("E-mail"),direccion:$.string().required().label("Dirección"),password:$.string().required().matches($r).min(8).max(15).label("Contraseña"),repetirPassword:$.string().required().oneOf([$.ref("password")]).label("Confirmación de la contraseña")}),$.object().shape({codigoContacto:$.string().required().matches(pi).max(10).label("Código")})],e=Et(),n=me(),r=On(),{onVerificarDatosRegistroApi:a,onSolicitarCodigoVerificacionApi:i,onConfirmarCodigoVerificacionApi:s,onRegistrarUsuarioApi:l}=F5(),c=o.ref([{name:"step1"},{name:"step2"},{name:"step3"}]),u=o.ref(0),d=o.computed(()=>t[u.value]),{refCounter:f,currentContacto:h,currentMedio:m,enviarMensaje:g}=Ar("registro"),b=o.reactive({verificadoEmail:!1,verificadoTelegram:!1,verificadoWhatsapp:!1}),{values:O,handleSubmit:k,errors:p,setErrors:y,validateField:C,resetForm:x,setFieldValue:P,setFieldError:w}=z.useForm({validationSchema:d,keepValuesOnUnmount:!0}),{value:_}=z.useField("fechaNacimiento"),T=o.ref();o.watch(()=>O.celular,()=>{(b.verificadoTelegram||b.verificadoWhatsapp)&&(b.verificadoTelegram=!1,b.verificadoWhatsapp=!1)}),o.watch(()=>O.email,()=>{b.verificadoEmail&&(b.verificadoEmail=!1)});const I=k(async M=>{var ke,qe,pe;r.setLoading(!0);try{const D={ci:M.ci,nombres:(ke=M.nombres)==null?void 0:ke.trim(),paterno:(qe=M.paterno)==null?void 0:qe.trim(),materno:(pe=M.materno)==null?void 0:pe.trim(),fechaNacimiento:M.fechaNacimiento,aplicacion:n.aplicacion},F=await a(D);u.value=u.value+1,P("codigoRegistro",F.response.codigo)}catch(D){if(D.response&&Array.isArray(D.response)){Le({error:D.response,setErrors:y,toast:e});return}D.message&&e.add({severity:"error",summary:"Error",detail:D.message,life:5e3,group:"auth_toast"})}finally{r.setLoading(!1)}}),V=async({medio:M,contacto:ke})=>{if(M==="email"){if(!O.email){w("email","Email es requerido para verificar");return}const{valid:F}=await C("email");if(!F||b.verificadoEmail)return}const pe=M==="telegram",D=M==="whatsapp";if(pe||D){if(pe&&b.verificadoTelegram||D&&b.verificadoWhatsapp)return;const{valid:F}=await C("celular");if(!F)return}try{m.value=M,h.value=ke,B(pe),u.value=2}catch(F){e.add({severity:"error",summary:"Error",detail:F.message,life:5e3,group:"auth_toast"})}},R=async()=>{try{const{valid:M}=await C("codigoContacto");if(!M)return;const ke=await s({code_confirmacion:O.codigoContacto,code:O.codigoRegistro});e.add({severity:"success",summary:"Operación exitosa",detail:ke.message,life:5e3,group:"auth_toast"}),m.value==="email"?b.verificadoEmail=!0:m.value==="whatsapp"?b.verificadoWhatsapp=!0:m.value==="telegram"&&(b.verificadoTelegram=!0),u.value=u.value-1,P("codigoContacto",void 0),m.value=void 0,h.value=null}catch(M){e.add({severity:"error",summary:"Error",detail:M.message,life:5e3,group:"auth_toast"})}},B=async(M=!1)=>{g({callbackApi:i,code:O.codigoRegistro,abrirTelegramDialog:M,counterTime:120}),e.add({severity:"success",summary:"Operación realizada",detail:"Mensaje enviado!",life:5e3,group:"auth_toast"})},G=()=>{u.value=1,P("codigoContacto",void 0)},se=()=>{u.value=0,x()},Oe=k(async M=>{var ke,qe;r.setLoading(!0);try{const pe={...M,email:(ke=M.email)==null?void 0:ke.trim(),direccion:(qe=M.direccion)==null?void 0:qe.trim(),aplicacion:n.aplicacion},D=await l(pe);e.add({severity:"success",summary:"Operación realizada",detail:D.message,life:5e3,group:"auth_toast"}),r.setLoading(!1),n.goLoginPage()}catch(pe){if(pe.response&&Array.isArray(pe.response)){Le({error:pe.response,setErrors:y,toast:e});return}pe.message&&e.add({severity:"error",summary:"Error",detail:pe.message,life:5e3,group:"auth_toast"})}finally{r.setLoading(!1)}});return{refCounter:f,currentContacto:h,values:O,steps:c,currentStep:u,mediosVerificados:b,fechaNacimiento:_,calendarRef:T,errors:p,onValidarDatosUsuario:I,onRegistrarUsuario:Oe,onEnviarMensaje:B,onEnviarCodigoAlUsuario:V,onEnviarCodigoVerificacion:R,onCancelarVerificacion:G,onCancelarRegistro:se,clickCalendarBtn:()=>{var M;(M=T.value)==null||M.onButtonClick()}}}const H5={key:0,class:"fge-auth-error"},ee=o.defineComponent({__name:"FgeErrorMessage",props:{error:{required:!0}},setup(t){return(e,n)=>t.error?(o.openBlock(),o.createElementBlock("p",H5,o.toDisplayString(t.error),1)):o.createCommentVNode("",!0)}}),U5={key:0,class:"fge-gray-label"},z5=o.defineComponent({__name:"FgeButtonCounter",props:{reenviarMensaje:{type:Function,required:!0}},setup(t,{expose:e}){const n=t,r=o.ref(0),a=o.ref(),i=(l=5)=>{r.value=l,clearTimeout(a.value),s()},s=()=>{r.value>0&&(a.value=setTimeout(()=>{r.value-=1,s()},1e3))};return e({reInit:i}),(l,c)=>r.value?(o.openBlock(),o.createElementBlock("span",U5,"Reenviar código en "+o.toDisplayString(r.value)+" segundo(s)",1)):(o.openBlock(),o.createBlock(o.unref(W),{key:1,class:"fge-button fge-link-secondary-button",text:"",outlined:"",label:"Reenviar código",onClick:n.reenviarMensaje},null,8,["onClick"]))}}),W5={class:"flex flex-column"},q5={class:"formgrid grid grid-nogutter mb-40"},K5={class:"field col-12 text-left m-0"},Y5={class:"text-center mb-4"},G5={class:"fge-form-label text-center m-0"},J5=o.createElementVNode("label",{for:"codigo",class:"fge-form-label"},"Código:",-1),X5={key:0,class:"text-center mt-1"},Q5={class:"formgrid grid grid-nogutter"},e6={class:"field col-12 flex justify-content-between gap-6 m-0"},Zr=o.defineComponent({__name:"FgeEnviarCodigo",props:{fieldName:{type:String,required:!0},currentContacto:{type:null,default:null,required:!0},error:{type:null,required:!0},cancelarText:{type:String,default:"Anterior"},aceptarText:{type:String,default:"Aceptar"},cancelarFunction:{type:Function,required:!1},aceptarFunction:{type:Function,required:!1},reenviarMensaje:{type:Function,required:!1},refCounter:{required:!0}},emits:["update:codigo","update:refCounter"],setup(t,{emit:e}){const n=e,r=o.ref();return o.watch(r,a=>{n("update:refCounter",a)}),(a,i)=>(o.openBlock(),o.createElementBlock("div",W5,[o.createElementVNode("div",q5,[o.createElementVNode("div",K5,[o.createElementVNode("div",Y5,[o.createElementVNode("p",G5,"Se envió un código a "+o.toDisplayString(t.currentContacto),1)]),J5,o.createVNode(o.unref(z.Field),{name:t.fieldName,id:"code",class:o.normalizeClass(["w-full fge-auth-input",{"fge-auth-input-invalid":t.error}]),as:o.unref(be)},null,8,["name","class","as"]),o.createVNode(ee,{error:t.error},null,8,["error"]),t.reenviarMensaje?(o.openBlock(),o.createElementBlock("div",X5,[o.createVNode(z5,{ref_key:"refBtnCounter",ref:r,reenviarMensaje:t.reenviarMensaje},null,8,["reenviarMensaje"])])):o.createCommentVNode("",!0)]),o.renderSlot(a.$slots,"inputs")]),o.createElementVNode("div",Q5,[o.createElementVNode("div",e6,[t.cancelarFunction?(o.openBlock(),o.createBlock(o.unref(W),{key:0,title:"Volver",onClick:i[0]||(i[0]=()=>{var s;return(s=t.cancelarFunction)==null?void 0:s.call(t)}),label:t.cancelarText,class:"w-full fge-button fge-secondary-button"},null,8,["label"])):o.createCommentVNode("",!0),t.aceptarFunction?(o.openBlock(),o.createBlock(o.unref(W),{key:1,title:"Enviar código",label:t.aceptarText,onClick:i[1]||(i[1]=()=>{var s;return(s=t.aceptarFunction)==null?void 0:s.call(t)}),class:"w-full fge-button fge-auth-primary-button"},null,8,["label"])):o.createCommentVNode("",!0)])])]))}}),t6={},n6={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 231 222"},r6=[o.createStaticVNode('<path fill="#999" d="m1.46 213.06 3.16 7.56 3.17-7.56h.96v8.56h-.72v-3.73l.06-3.82-3.19 7.55h-.56l-3.18-7.52.06 3.77v3.75H.5v-8.56h.96ZM13.61 221.62h-.72v-8.56h.72v8.56ZM24.12 221.62h-.72l-4.92-7.33v7.33h-.73v-8.56h.73l4.93 7.33v-7.33h.72v8.56h-.01ZM28.98 221.62h-.72v-8.56h.72v8.56ZM37.96 219.52c0-.48-.17-.85-.5-1.13-.33-.28-.94-.54-1.83-.79-.89-.25-1.53-.52-1.94-.81-.58-.42-.87-.96-.87-1.64 0-.68.27-1.19.81-1.6.54-.41 1.23-.61 2.07-.61.57 0 1.08.11 1.53.33.45.22.8.53 1.04.92.25.39.37.83.37 1.31h-.73c0-.59-.2-1.06-.6-1.41-.4-.36-.94-.53-1.61-.53-.67 0-1.18.15-1.56.44-.39.29-.58.67-.58 1.15 0 .43.17.79.52 1.07s.91.52 1.67.73c.77.21 1.35.43 1.75.65.4.22.69.49.89.81.2.32.3.68.3 1.11 0 .68-.27 1.22-.81 1.62-.54.4-1.25.61-2.13.61-.6 0-1.16-.11-1.66-.32-.5-.21-.88-.52-1.15-.91-.27-.39-.39-.83-.39-1.33h.72c0 .6.23 1.08.68 1.43.45.35 1.05.52 1.8.52.67 0 1.2-.15 1.61-.44.4-.29.61-.68.61-1.17l-.01-.01ZM47.86 213.67h-2.93v7.95h-.72v-7.95h-2.93v-.61h6.59v.61h-.01ZM55.78 217.52h-4.01v3.5h4.61v.61h-5.33v-8.56h5.3v.61h-4.58v3.23h4.01v.61ZM62.91 218.06h-2.49v3.57h-.73v-8.56h2.78c.91 0 1.63.22 2.14.67.51.44.77 1.06.77 1.85 0 .55-.16 1.03-.48 1.45-.32.42-.75.71-1.29.87l2.14 3.65v.08h-.77l-2.07-3.57v-.01Zm-2.49-.61h2.22c.61 0 1.1-.18 1.46-.52.37-.34.55-.79.55-1.34 0-.6-.19-1.07-.58-1.41-.38-.33-.92-.5-1.62-.5h-2.04v3.77h.01ZM70.04 221.62h-.72v-8.56h.72v8.56ZM80.5 217.81c0 .79-.14 1.48-.41 2.08-.27.6-.66 1.05-1.17 1.37-.5.32-1.09.48-1.75.48-1 0-1.81-.36-2.42-1.07-.62-.72-.92-1.68-.92-2.9v-.88c0-.78.14-1.47.41-2.07.28-.6.67-1.07 1.17-1.39.5-.33 1.09-.49 1.75-.49.66 0 1.24.16 1.74.48.5.32.89.77 1.17 1.35.28.58.42 1.25.43 2.02v1.02Zm-.72-.93c0-1.03-.23-1.84-.7-2.42-.47-.58-1.1-.88-1.92-.88-.82 0-1.43.29-1.9.88-.47.59-.71 1.4-.71 2.46v.89c0 1.02.24 1.82.71 2.41.47.59 1.11.89 1.92.89.81 0 1.46-.29 1.92-.88.46-.59.69-1.4.69-2.45v-.91l-.01.01ZM89.59 218.14v3.49h-.72v-8.56h2.92c.89 0 1.59.23 2.11.68.52.45.77 1.08.77 1.88 0 .8-.25 1.42-.75 1.86-.5.44-1.21.66-2.15.66h-2.18v-.01Zm0-.61h2.19c.7 0 1.24-.17 1.6-.5.37-.33.55-.8.55-1.4 0-.6-.18-1.06-.55-1.41-.37-.35-.89-.53-1.56-.54h-2.24v3.85h.01ZM103.99 213.06v5.84c0 .58-.13 1.08-.38 1.51-.25.43-.6.75-1.06.98-.46.23-.98.34-1.57.34-.9 0-1.62-.25-2.17-.74-.54-.49-.82-1.17-.84-2.04v-5.9h.72v5.79c0 .72.21 1.28.62 1.68.41.4.97.6 1.68.6s1.26-.2 1.67-.6c.41-.4.61-.96.61-1.67v-5.8h.73l-.01.01Zm-2.26-2.32h.85l-1.36 1.65h-.62l1.12-1.65h.01ZM107.81 221.62v-8.56h2.53c.92 0 1.61.19 2.09.57.48.38.71.94.71 1.67 0 .44-.12.83-.36 1.16-.24.33-.57.56-.99.7.5.11.9.35 1.2.73.3.38.46.82.46 1.32 0 .75-.24 1.35-.73 1.77-.49.43-1.17.64-2.04.64H107.81Zm.72-4.72h1.98c.6-.01 1.07-.15 1.4-.42.33-.27.5-.67.5-1.19 0-.55-.17-.96-.51-1.22-.34-.26-.86-.39-1.56-.39h-1.81v3.23-.01Zm0 .61v3.5h2.17c.62 0 1.11-.16 1.47-.48.36-.31.54-.75.54-1.31 0-.53-.17-.94-.52-1.25-.35-.31-.83-.46-1.44-.46h-2.23.01ZM117.73 221.01h4.23v.61H117v-8.56h.73v7.95ZM126.03 221.62h-.72v-8.56h.72v8.56ZM136.23 218.95c-.1.9-.42 1.59-.97 2.07-.55.48-1.28.72-2.18.72-.64 0-1.2-.16-1.69-.48-.49-.31-.87-.77-1.13-1.35-.27-.58-.4-1.25-.41-2v-1.11c0-.76.13-1.44.4-2.03.27-.59.65-1.04 1.15-1.36.5-.32 1.07-.48 1.73-.48.92 0 1.64.25 2.17.74s.84 1.18.93 2.05h-.73c-.18-1.46-.97-2.18-2.37-2.18-.78 0-1.39.29-1.85.87-.46.58-.69 1.38-.69 2.41v1.05c0 .99.22 1.78.67 2.37.45.59 1.06.88 1.82.88s1.33-.18 1.71-.54c.38-.36.62-.91.71-1.63h.73ZM146.12 217.81c0 .79-.14 1.48-.41 2.08-.27.6-.66 1.05-1.17 1.37-.5.32-1.09.48-1.75.48-1 0-1.81-.36-2.42-1.07-.62-.72-.92-1.68-.92-2.9v-.88c0-.78.14-1.47.41-2.07.28-.6.67-1.07 1.17-1.39.5-.33 1.09-.49 1.75-.49.66 0 1.24.16 1.74.48.5.32.89.77 1.17 1.35.28.58.42 1.25.43 2.02v1.02Zm-.72-.93c0-1.03-.23-1.84-.7-2.42-.47-.58-1.1-.88-1.92-.88-.82 0-1.43.29-1.9.88-.47.59-.71 1.4-.71 2.46v.89c0 1.02.24 1.82.71 2.41.47.59 1.11.89 1.92.89.81 0 1.46-.29 1.92-.88.46-.59.69-1.4.69-2.45v-.91l-.01.01ZM154.49 221.62v-8.56h2.39c.7 0 1.33.16 1.89.48.56.32.99.78 1.3 1.37.31.59.47 1.27.47 2.03v.79c0 .77-.15 1.44-.46 2.04a3.33 3.33 0 0 1-1.31 1.37c-.56.32-1.21.48-1.94.48h-2.34Zm.72-7.95v7.34h1.62c.9 0 1.63-.3 2.17-.9.54-.6.82-1.41.82-2.43v-.75c0-.99-.27-1.78-.81-2.37-.54-.59-1.25-.89-2.12-.89h-1.68ZM168.91 217.52h-4.01v3.5h4.61v.61h-5.33v-8.56h5.3v.61h-4.58v3.23h4.01v.61ZM177.57 221.62v-8.56h2.53c.92 0 1.61.19 2.09.57.48.38.71.94.71 1.67 0 .44-.12.83-.36 1.16-.24.33-.57.56-.99.7.5.11.9.35 1.2.73.3.38.46.82.46 1.32 0 .75-.24 1.35-.73 1.77-.49.43-1.17.64-2.04.64H177.57Zm.72-4.72h1.98c.6-.01 1.07-.15 1.4-.42.33-.27.5-.67.5-1.19 0-.55-.17-.96-.51-1.22-.34-.26-.86-.39-1.56-.39h-1.81v3.23-.01Zm0 .61v3.5h2.17c.62 0 1.11-.16 1.47-.48.36-.32.54-.75.54-1.31 0-.53-.17-.94-.52-1.25-.35-.31-.83-.46-1.44-.46h-2.23.01ZM193.09 217.81c0 .79-.14 1.48-.41 2.08-.27.6-.66 1.05-1.17 1.37-.5.32-1.09.48-1.75.48-1 0-1.81-.36-2.42-1.07-.62-.72-.92-1.68-.92-2.9v-.88c0-.78.14-1.47.41-2.07.28-.6.67-1.07 1.17-1.39.5-.33 1.09-.49 1.75-.49.66 0 1.24.16 1.74.48.5.32.89.77 1.17 1.35.28.58.42 1.25.43 2.02v1.02Zm-.72-.93c0-1.03-.23-1.84-.7-2.42-.47-.58-1.1-.88-1.92-.88-.82 0-1.43.29-1.9.88-.47.59-.71 1.4-.71 2.46v.89c0 1.02.24 1.82.71 2.41.47.59 1.11.89 1.92.89.81 0 1.46-.29 1.92-.88.46-.59.69-1.4.69-2.45v-.91l-.01.01ZM197.45 221.01h4.23v.61h-4.96v-8.56h.73v7.95ZM205.75 221.62h-.72v-8.56h.72v8.56ZM212.47 220.56l.05.18.05-.18 2.69-7.5h.79l-3.19 8.56h-.69l-3.19-8.56h.79l2.69 7.5h.01ZM220 221.62h-.72v-8.56h.72v8.56ZM228.86 219.22h-3.89l-.88 2.41h-.76l3.24-8.56h.69l3.24 8.56h-.75l-.89-2.41Zm-3.66-.61h3.43l-1.72-4.67-1.72 4.67h.01Z"></path><path fill="#F29512" d="M14.27 169.66h-8.7v7.33H15.8v4.04H.5v-25.9h15.26v4.04H5.57v6.46h8.7v4.04-.01ZM34.67 172.69l.05.11c.02 2.85-.65 4.99-2.03 6.44-1.38 1.45-3.4 2.17-6.08 2.17s-4.82-.82-6.42-2.46c-1.6-1.64-2.4-3.97-2.4-6.98v-7.74c0-3 .77-5.33 2.32-6.98 1.55-1.65 3.62-2.48 6.22-2.48 2.75 0 4.83.74 6.23 2.21 1.4 1.47 2.13 3.65 2.18 6.53l-.05.11h-4.87c.07-1.7-.16-2.93-.69-3.68-.53-.75-1.46-1.13-2.79-1.13-1.14 0-2.01.44-2.61 1.34-.6.89-.91 2.24-.91 4.04v7.78c0 1.83.32 3.19.97 4.08.65.89 1.59 1.33 2.84 1.33 1.25 0 2.07-.35 2.55-1.06.48-.71.69-1.91.63-3.62h4.87l-.01-.01ZM55.23 171.73c0 3.04-.82 5.41-2.47 7.12-1.65 1.71-3.84 2.56-6.58 2.56s-4.93-.85-6.56-2.56-2.45-4.08-2.45-7.12v-7.26c0-3.02.82-5.4 2.45-7.12 1.63-1.72 3.82-2.59 6.55-2.59s4.92.86 6.58 2.59c1.66 1.73 2.49 4.1 2.49 7.12v7.26h-.01Zm-5.03-7.31c0-1.86-.34-3.26-1.03-4.2-.69-.95-1.69-1.42-3.01-1.42-1.32 0-2.32.47-2.99 1.41-.67.94-1 2.34-1 4.21v7.31c0 1.88.34 3.29 1.01 4.23.67.94 1.67 1.41 2.99 1.41 1.32 0 2.3-.47 2.99-1.41.69-.94 1.03-2.35 1.03-4.23v-7.31h.01ZM70.03 174.27c0-1.01-.26-1.81-.78-2.39-.52-.58-1.44-1.17-2.76-1.73-2.69-.94-4.71-2-6.06-3.19-1.35-1.19-2.02-2.86-2.02-5.01s.78-3.85 2.35-5.19c1.57-1.34 3.56-2 5.99-2s4.47.74 6.01 2.23 2.29 3.36 2.24 5.63l-.04.11h-4.91c0-1.19-.3-2.15-.89-2.88-.59-.73-1.43-1.1-2.51-1.1-1.01 0-1.79.31-2.36.92-.57.61-.84 1.38-.84 2.3 0 .85.31 1.56.94 2.11.63.55 1.72 1.17 3.27 1.84 2.45.83 4.3 1.88 5.54 3.16 1.24 1.28 1.86 3 1.86 5.17s-.75 4-2.24 5.27c-1.49 1.27-3.48 1.9-5.96 1.9s-4.6-.72-6.41-2.16c-1.81-1.44-2.68-3.51-2.62-6.2l.04-.11h4.93c0 1.6.34 2.75 1.01 3.45.67.7 1.7 1.05 3.06 1.05 1.07 0 1.86-.28 2.37-.85s.77-1.34.77-2.31l.02-.02ZM83.55 181.03h-5.03v-25.9h5.03v25.9ZM99.26 174.27c0-1.01-.26-1.81-.78-2.39-.52-.58-1.44-1.17-2.76-1.73-2.69-.94-4.71-2-6.06-3.19-1.35-1.19-2.02-2.86-2.02-5.01s.78-3.85 2.35-5.19c1.57-1.34 3.56-2 5.99-2s4.47.74 6.01 2.23 2.29 3.36 2.24 5.63l-.04.11h-4.91c0-1.19-.3-2.15-.89-2.88-.59-.73-1.43-1.1-2.51-1.1-1.01 0-1.79.31-2.36.92-.57.61-.84 1.38-.84 2.3 0 .85.31 1.56.94 2.11.63.55 1.72 1.17 3.27 1.84 2.45.83 4.3 1.88 5.54 3.16 1.24 1.28 1.86 3 1.86 5.17s-.75 4-2.24 5.27c-1.49 1.27-3.48 1.9-5.96 1.9s-4.6-.72-6.41-2.16c-1.81-1.44-2.68-3.51-2.62-6.2l.04-.11h4.93c0 1.6.34 2.75 1.01 3.45.67.7 1.7 1.05 3.06 1.05 1.07 0 1.86-.28 2.37-.85s.77-1.34.77-2.31l.02-.02ZM122.72 159.17h-5.83v21.86h-5.05v-21.86h-5.8v-4.04h16.69v4.04h-.01ZM138.93 169.66h-8.7v7.33h10.23v4.04h-15.3v-25.9h15.26v4.04h-10.19v6.46h8.7v4.04-.01ZM149.56 155.13l4.64 19.02h.11l4.7-19.02h6.6v25.9h-5.03v-7.52l.43-10.07-.11-.02-4.95 17.61h-3.36l-4.89-17.47-.11.02.44 9.93v7.52H143v-25.9h6.56ZM181.4 175.5h-6.83l-1.39 5.53h-5.11l7.29-25.9h5.27l7.28 25.9h-5.11l-1.41-5.53h.01Zm-5.8-4.04h4.77l-2.33-9.16h-.11l-2.33 9.16Z"></path><path fill="gray" d="M207.04 155.13h5.03v18c0 2.54-.71 4.55-2.14 6.04-1.43 1.49-3.23 2.23-5.4 2.23-2.35 0-4.21-.66-5.58-1.99s-2.03-3.28-1.98-5.87l.05-.11h4.93c0 1.36.24 2.36.72 2.99.48.63 1.1.94 1.86.94.69 0 1.28-.37 1.77-1.12.49-.75.74-1.78.74-3.11v-18ZM221.04 176.99h9.46v4.04h-14.53v-25.9h5.07v21.86ZM7.95 189.19h1.98v10.57c0 1.43-.43 2.55-1.29 3.35-.86.81-2 1.21-3.43 1.21-1.43 0-2.64-.38-3.47-1.14-.83-.76-1.24-1.82-1.24-3.19h1.97c0 .85.23 1.52.7 2s1.15.72 2.04.72c.81 0 1.47-.26 1.97-.77s.76-1.23.76-2.15v-10.6h.01ZM30.09 189.19v10.15c0 1.41-.45 2.56-1.33 3.46-.88.9-2.07 1.4-3.57 1.51l-.52.02c-1.63 0-2.94-.44-3.91-1.32-.97-.88-1.46-2.1-1.48-3.64V189.2h1.95v10.11c0 1.08.3 1.92.89 2.52.59.6 1.44.9 2.54.9s1.97-.3 2.56-.89c.59-.59.89-1.43.89-2.51v-10.12h1.98v-.02ZM43.9 197.47c-1.69-.49-2.92-1.08-3.69-1.79s-1.15-1.58-1.15-2.62c0-1.18.47-2.15 1.41-2.92s2.16-1.15 3.67-1.15c1.03 0 1.94.2 2.74.59.8.4 1.42.94 1.87 1.64.44.7.66 1.46.66 2.29h-1.98c0-.91-.29-1.62-.86-2.14-.57-.52-1.38-.78-2.43-.78-.97 0-1.73.21-2.27.64-.54.43-.81 1.02-.81 1.78 0 .61.26 1.13.77 1.55.51.42 1.39.81 2.64 1.16 1.24.35 2.21.73 2.91 1.15.7.42 1.22.91 1.56 1.47.34.56.51 1.22.51 1.98 0 1.21-.47 2.18-1.42 2.91s-2.21 1.09-3.78 1.09c-1.03 0-1.98-.2-2.87-.59-.89-.39-1.57-.93-2.06-1.62-.48-.68-.72-1.46-.72-2.33h1.98c0 .9.33 1.62 1 2.14.67.52 1.56.78 2.67.78 1.04 0 1.84-.21 2.39-.64.55-.43.83-1 .83-1.73s-.26-1.3-.77-1.7c-.51-.4-1.44-.79-2.79-1.18l-.01.02ZM68.58 190.8h-4.8v13.32h-1.96V190.8h-4.79v-1.61h11.55v1.61ZM79.21 204.12h-1.97v-14.93h1.97v14.93ZM100.09 199.38c-.18 1.58-.77 2.8-1.75 3.66-.98.86-2.29 1.29-3.91 1.29-1.76 0-3.18-.63-4.24-1.9-1.06-1.26-1.6-2.96-1.6-5.08v-1.44c0-1.39.25-2.61.74-3.66.49-1.05 1.2-1.86 2.11-2.43.91-.57 1.96-.85 3.16-.85 1.59 0 2.86.44 3.82 1.33.96.89 1.51 2.11 1.67 3.68h-1.98c-.17-1.19-.54-2.06-1.11-2.59-.57-.54-1.37-.8-2.4-.8-1.26 0-2.24.47-2.96 1.4-.72.93-1.07 2.25-1.07 3.97v1.45c0 1.62.34 2.91 1.02 3.87.68.96 1.62 1.44 2.84 1.44 1.09 0 1.93-.25 2.52-.74.59-.5.97-1.36 1.16-2.59h1.98v-.01ZM111.2 204.12h-1.97v-14.93h1.97v14.93ZM129.53 200.22h-6.26l-1.41 3.91h-2.03l5.7-14.93h1.72l5.71 14.93h-2.02l-1.43-3.91h.02Zm-5.66-1.61h5.08l-2.54-6.98-2.53 6.98h-.01ZM154.76 202.51h7.08v1.61h-9.06v-14.93h1.98v13.32ZM172.5 204.12h-1.97v-14.93h1.97v14.93ZM182.4 204.12v-14.93h4.88c1.62 0 2.84.34 3.66 1.01.82.67 1.23 1.66 1.23 2.97 0 .7-.2 1.31-.59 1.85-.39.54-.94.95-1.62 1.25.81.23 1.44.65 1.91 1.29s.7 1.39.7 2.26c0 1.34-.43 2.39-1.3 3.16-.87.77-2.1 1.15-3.68 1.15h-5.18l-.01-.01Zm1.97-8.56h2.97c.86 0 1.55-.22 2.07-.65.52-.43.77-1.02.77-1.76 0-.82-.24-1.42-.72-1.79-.48-.37-1.21-.56-2.18-.56h-2.91v4.76Zm0 1.58v5.37h3.25c.92 0 1.64-.24 2.17-.71s.8-1.13.8-1.96c0-1.8-.98-2.7-2.93-2.7H184.37ZM207.26 198.08h-3.51v6.04h-1.98v-14.93h4.94c1.68 0 2.98.38 3.88 1.15.91.77 1.36 1.88 1.36 3.34 0 .93-.25 1.74-.75 2.43-.5.69-1.2 1.21-2.1 1.55l3.51 6.34v.12h-2.11l-3.24-6.04Zm-3.51-1.61h3.03c.98 0 1.76-.25 2.33-.76.58-.51.87-1.18.87-2.03 0-.92-.28-1.63-.83-2.13-.55-.5-1.34-.74-2.38-.75h-3.02v5.67ZM229.45 197.22h-6.47v5.29h7.52v1.61h-9.49v-14.93h9.38v1.61h-7.41v4.81h6.47v1.61Z"></path><path fill="#F29512" d="M115.5.26c-35.29 0-63.89 28.6-63.89 63.89 0 10.88 2.72 21.13 7.52 30.1 1.54 1.2 3.12 2.34 4.75 3.42 12.78 8.46 27.88 13.06 43.32 13.06 5.93 0 11.91-.68 17.83-2.08 1.67-.39 3.33-.84 4.98-1.35 1.18-.36 2.36-.75 3.53-1.17 1.33-.48 2.66-1 3.98-1.55.56-.24 1.12-.48 1.67-.73a3.11 3.11 0 0 1-.12-.81c0-1.76 1.43-3.19 3.19-3.19s3.19 1.43 3.19 3.19-1.43 3.19-3.19 3.19c-.73 0-1.4-.26-1.94-.67l.04.09c-1.15.52-2.31 1.01-3.47 1.48a80.35 80.35 0 0 1-14.66 4.3l-.78.15a80.14 80.14 0 0 1-14.27 1.29c-15.87 0-31.37-4.73-44.5-13.42-.29-.19-.57-.4-.86-.59 11.38 17.57 31.16 29.19 53.65 29.19 35.29 0 63.89-28.6 63.89-63.89S150.76.27 115.47.27l.03-.01Zm3.4 14.79c4.9 0 8.86 3.97 8.86 8.86 0 4.9-3.97 8.86-8.86 8.86-4.9 0-8.86-3.97-8.86-8.86 0-4.9 3.97-8.86 8.86-8.86ZM90.85 89.53c-2.53-.82-4.87-2.12-6.81-3.89a16.944 16.944 0 0 1-4.43-6.48c-.96-2.47-1.38-5.14-1.38-7.91 0-3.03 2.46-5.48 5.48-5.48 3.02 0 5.49 2.46 5.49 5.48 0 1.68.25 2.97.63 3.94.39.98.87 1.68 1.58 2.33.73.66 1.6 1.18 2.82 1.58 1.21.39 2.78.65 4.73.64 2.11 0 3.78-.42 5.3-1.21 1.5-.79 2.47-1.72 3.28-3.06.77-1.33 1.18-2.77 1.19-4.74V40.37c0-3.03 2.46-5.48 5.48-5.48 3.02 0 5.48 2.46 5.48 5.48v30.36c.01 3.66-.88 7.24-2.72 10.33-1.8 3.07-4.48 5.57-7.66 7.21-3.16 1.65-6.71 2.45-10.35 2.44-2.87 0-5.58-.36-8.12-1.18h.01Zm61.49-2.17c-.28.66-.68 1.25-1.17 1.74-.5.5-1.09.9-1.74 1.18-.33.14-.67.24-1.03.32-.36.07-.73.11-1.11.11h-43.6.07c3.64 0 7.2-.79 10.35-2.44 3.18-1.64 5.86-4.14 7.66-7.21 1.84-3.09 2.73-6.67 2.72-10.33V40.37c0-2.09-1.18-3.88-2.9-4.81.77-.42 1.64-.68 2.59-.68 3.03 0 5.48 2.46 5.48 5.48v30.81c.07 1.74.46 3.07 1.17 4.29.81 1.34 1.78 2.27 3.28 3.06 1.31.68 2.74 1.06 4.45 1.16v.05h8.73a5.492 5.492 0 0 1 5.49 5.49c0 .76-.15 1.48-.43 2.13l-.01.01Z"></path><path fill="#F29512" d="M118.9 29.94c1.67 0 3.17-.67 4.26-1.76a5.991 5.991 0 0 0 1.76-4.26c0-1.67-.67-3.17-1.76-4.26a5.991 5.991 0 0 0-4.26-1.76c-1.67 0-3.17.67-4.26 1.76a5.991 5.991 0 0 0-1.76 4.26c0 1.67.67 3.17 1.76 4.26a5.991 5.991 0 0 0 4.26 1.76Z"></path>',5)];function o6(t,e){return o.openBlock(),o.createElementBlock("svg",n6,r6)}const i6=nt(t6,[["render",o6]]),a6={class:"fge-logo-container"},gi=nt(o.defineComponent({__name:"FgeHeader",setup(t){return(e,n)=>(o.openBlock(),o.createElementBlock("div",a6,[o.createVNode(i6)]))}}),[["__scopeId","data-v-9acac71f"]]),s6={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 35 35"},l6=[o.createElementVNode("path",{stroke:"currentColor","stroke-width":"2",d:"M34 17.5C34 26.613 26.613 34 17.5 34S1 26.613 1 17.5 8.387 1 17.5 1 34 8.387 34 17.5Z",class:"stroke-content"},null,-1),o.createElementVNode("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M26 15.57v7.41a2 2 0 0 1-2 2H10a2 2 0 0 1-2-2V12.5c0-.83.67-1.5 1.5-1.5H26l-.62.605",class:"stroke-content"},null,-1),o.createElementVNode("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"m25.38 11.646-8.38 6.8-8.345-6.8",class:"stroke-content"},null,-1)];function c6(t,e){return o.openBlock(),o.createElementBlock("svg",s6,[...l6])}const b1={render:c6},u6={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 33 32"},d6=[o.createElementVNode("path",{stroke:"currentColor","stroke-miterlimit":"10","stroke-width":"2",d:"M16.95 31a15 15 0 1 0 0-30 15 15 0 0 0 0 30Z",class:"stroke-content"},null,-1),o.createElementVNode("path",{fill:"currentColor",d:"M24.25 9.91c-.06-.17-.13-.21-.23-.25-.23-.09-.63.04-.63.04S9.37 14.74 8.57 15.3c-.17.12-.23.19-.26.27-.14.4.29.57.29.57l3.61 1.18s.13.02.18-.01c.82-.52 8.27-5.22 8.7-5.38.07-.02.12 0 .1.05-.17.6-6.64 6.35-6.64 6.35l-.04.07-.34 3.58s-.14 1.1.96 0c.77-.77 1.52-1.42 1.9-1.74 1.24.86 2.58 1.81 3.16 2.3.29.25.53.29.73.28.55-.02.7-.62.7-.62s2.55-10.28 2.64-11.66l.02-.31c0-.13-.01-.26-.03-.32Z",class:"fill-content"},null,-1)];function f6(t,e){return o.openBlock(),o.createElementBlock("svg",u6,[...d6])}const v1={render:f6},m6={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 33 32"},h6=[o.createElementVNode("path",{stroke:"currentColor","stroke-miterlimit":"10","stroke-width":"2",d:"M16.38 31a15 15 0 1 0 0-30 15 15 0 0 0 0 30Z",class:"stroke-content"},null,-1),o.createElementVNode("path",{stroke:"currentColor",d:"M23.59 8.97A9.54 9.54 0 0 0 8.61 20.45l-1.35 4.93 5.04-1.32A9.54 9.54 0 0 0 23.59 8.98v-.01Zm-6.73 14.64a7.92 7.92 0 0 1-4.03-1.1l-.29-.17-2.99.78.8-2.92-.19-.3a7.9 7.9 0 1 1 6.69 3.7l.01.01Zm4.34-5.92c-.24-.12-1.41-.69-1.62-.77-.22-.08-.38-.12-.53.12-.16.24-.61.77-.75.93-.14.16-.28.18-.52.06s-1-.37-1.91-1.18a7.02 7.02 0 0 1-1.32-1.65c-.14-.24-.01-.37.1-.49.11-.11.24-.28.36-.42.12-.14.16-.24.24-.4.08-.16.04-.3-.02-.42l-.73-1.76c-.19-.46-.39-.4-.53-.41h-.46a.85.85 0 0 0-.63.3c-.22.24-.83.81-.83 1.98s.85 2.3.97 2.46c.12.16 1.68 2.56 4.06 3.59.57.24 1.01.39 1.36.5.57.18 1.09.16 1.5.09.46-.07 1.41-.58 1.6-1.13.2-.56.2-1.03.14-1.13-.06-.1-.22-.16-.46-.28l-.02.01Z",class:"stroke-content","clip-rule":"evenodd"},null,-1)];function p6(t,e){return o.openBlock(),o.createElementBlock("svg",m6,[...h6])}const w1={render:p6},g6={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 26 27"},y6=[o.createElementVNode("path",{stroke:"#F29512","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M17.879 1.109V6.63M8.109 1.11V6.63m13.357-1.705h1.068c1.056 0 1.909.93 1.909 2.087V23.83c0 1.157-.853 2.086-1.909 2.086H3.452c-1.056 0-1.908-.929-1.908-2.086V7.012c0-1.158.852-2.087 1.908-2.087h14.02"},null,-1),o.createElementVNode("path",{stroke:"#F29512","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"3",d:"M8.108 12.953v-.026m0 4.987v-.025m4.898-4.936-.025-.026m.025 4.987-.025-.025m4.898-4.936v-.026m0 4.987v-.025"},null,-1)];function b6(t,e){return o.openBlock(),o.createElementBlock("svg",g6,[...y6])}const v6={render:b6},Be=t=>(o.pushScopeId("data-v-20bd75a1"),t=t(),o.popScopeId(),t),w6={class:"fge-right-container"},k6={class:"formgrid grid grid-nogutter"},C6={class:"field col-12 text-left"},S6=Be(()=>o.createElementVNode("label",{for:"nombres",class:"fge-form-label"},"Nombres:",-1)),E6={class:"field col-12 text-left"},T6=Be(()=>o.createElementVNode("label",{for:"paterno",class:"fge-form-label"},"Primer Apellido:",-1)),O6={class:"field col-12 text-left"},x6=Be(()=>o.createElementVNode("label",{for:"materno",class:"fge-form-label"},"Segundo Apellido:",-1)),I6={class:"field col-12 text-left"},V6=Be(()=>o.createElementVNode("label",{for:"fechaNacimiento",class:"fge-form-label"},"Fecha de Nacimiento:",-1)),P6={class:"relative fixed-height"},N6={class:"field col-12 text-left mb-0"},_6=Be(()=>o.createElementVNode("label",{for:"ci",class:"fge-form-label"},"Cédula de Identidad:",-1)),B6={class:"flex flex-column fge-btn-section"},M6=Be(()=>o.createElementVNode("div",{class:"px-1"},[o.createElementVNode("i",{class:"fge-horizontal-line"})],-1)),D6={class:"formgrid grid grid-nogutter"},$6={class:"field col-12 flex justify-content-between gap-6 mb-0"},A6={class:"formgrid grid grid-nogutter"},Z6={class:"field col-12 text-left"},L6=Be(()=>o.createElementVNode("label",{for:"celular",class:"fge-form-label"},"Celular:",-1)),R6={class:"relative"},F6={class:"field col-12 text-left"},j6=Be(()=>o.createElementVNode("label",{for:"email",class:"fge-form-label"},"E-mail:",-1)),H6={class:"relative"},U6={class:"field col-12 text-left"},z6=Be(()=>o.createElementVNode("label",{for:"fge_dr",class:"fge-form-label"},"Dirección:",-1)),W6={class:"field col-12 text-left"},q6=Be(()=>o.createElementVNode("label",{for:"fge_new_password",class:"fge-form-label"},"Co­ntra­seña:",-1)),K6={class:"field col-12 text-left mb-0"},Y6=Be(()=>o.createElementVNode("label",{for:"fge_contra_rep",class:"fge-form-label"},"Repetir con­t­ras­eña:",-1)),G6={class:"flex flex-column fge-btn-section"},J6=Be(()=>o.createElementVNode("div",{class:"px-1"},[o.createElementVNode("i",{class:"fge-horizontal-line"})],-1)),X6={class:"formgrid grid grid-nogutter"},Q6={class:"field col-12 flex justify-content-between gap-6 mb-0"},em=nt(o.defineComponent({__name:"FgeRegistrarPage",setup(t){const{values:e,refCounter:n,currentContacto:r,fechaNacimiento:a,steps:i,currentStep:s,mediosVerificados:l,calendarRef:c,errors:u,onValidarDatosUsuario:d,onCancelarRegistro:f,onRegistrarUsuario:h,onEnviarMensaje:m,onEnviarCodigoAlUsuario:g,onEnviarCodigoVerificacion:b,onCancelarVerificacion:O,clickCalendarBtn:k}=j5(),p=me(),y=P=>{var w;P&&(w=P.target)!=null&&w.value&&(x(P.target.value)||(P.target.value="dd/mm/yyyy",a.value=void 0))},C=o.computed({get(){return Z.fromJSDate(a.value).toFormat("dd/MM/yyyy")},set(P){x(P)}}),x=P=>{const w=Z.fromFormat(P,"dd/MM/yyyy");return w.isValid&&(a.value=w.toJSDate()),w.isValid};return(P,w)=>{const _=o.resolveDirective("tooltip");return o.openBlock(),o.createElementBlock(o.Fragment,null,[o.createVNode(gi),o.createElementVNode("div",w6,[o.createVNode(Dr,{currentStep:o.unref(s),steps:o.unref(i),showHeader:!1},{step1:o.withCtx(()=>[o.createElementVNode("div",k6,[o.createElementVNode("div",C6,[S6,o.createVNode(o.unref(z.Field),{name:"nombres",id:"nombres",class:o.normalizeClass(["w-full fge-auth-input uppercase",{"fge-auth-input-invalid":o.unref(u).nombres}]),as:o.unref(be)},null,8,["class","as"]),o.createVNode(ee,{error:o.unref(u).nombres},null,8,["error"])]),o.createElementVNode("div",E6,[T6,o.createVNode(o.unref(z.Field),{name:"paterno",id:"paterno",class:o.normalizeClass(["w-full fge-auth-input uppercase",{"fge-auth-input-invalid":o.unref(u).paterno}]),as:o.unref(be)},null,8,["class","as"]),o.createVNode(ee,{error:o.unref(u).paterno},null,8,["error"])]),o.createElementVNode("div",O6,[x6,o.createVNode(o.unref(z.Field),{name:"materno",id:"materno",class:o.normalizeClass(["w-full fge-auth-input uppercase",{"fge-auth-input-invalid":o.unref(u).materno}]),as:o.unref(be)},null,8,["class","as"]),o.createVNode(ee,{error:o.unref(u).materno},null,8,["error"])]),o.createElementVNode("div",I6,[V6,o.createElementVNode("div",P6,[o.createVNode(o.unref(Fs),{modelValue:C.value,"onUpdate:modelValue":w[0]||(w[0]=T=>C.value=T),placeholder:"dd/mm/yyyy",mask:"99/99/9999",slotChar:"dd/mm/yyyy",onBlur:y,onKeydown:o.withKeys(y,["enter"]),class:o.normalizeClass(["w-full fge-auth-input text-center",{"fge-auth-input-invalid":o.unref(u).fechaNacimiento}])},null,8,["modelValue","class"]),o.createVNode(o.unref(W),{class:"auth-calendar-btn",onClick:o.unref(k),text:"",rounded:""},{default:o.withCtx(()=>[o.createVNode(o.unref(v6))]),_:1},8,["onClick"]),o.createVNode(o.unref($s),{dateFormat:"dd/mm/yy",class:"w-full hide-calendar",maxDate:new Date,modelValue:o.unref(a),"onUpdate:modelValue":w[1]||(w[1]=T=>o.isRef(a)?a.value=T:null),showOnFocus:!1,ref_key:"calendarRef",ref:c,onHide:w[2]||(w[2]=T=>y(o.unref(a)))},null,8,["maxDate","modelValue"])]),o.createVNode(ee,{error:o.unref(u).fechaNacimiento},null,8,["error"])]),o.createElementVNode("div",N6,[_6,o.createVNode(o.unref(z.Field),{name:"ci",id:"ci",class:o.normalizeClass(["w-full fge-auth-input",{"fge-auth-input-invalid":o.unref(u).ci}]),as:o.unref(be)},null,8,["class","as"]),o.createVNode(ee,{error:o.unref(u).ci},null,8,["error"])])]),o.createElementVNode("div",B6,[M6,o.createElementVNode("div",D6,[o.createElementVNode("div",$6,[o.createVNode(o.unref(W),{title:"Ir al login",label:"Ir al login",onClick:o.unref(p).goLoginPage,class:"w-full fge-button fge-secondary-button"},null,8,["onClick"]),o.createVNode(o.unref(W),{title:"Siguiente paso",label:"Siguiente",onClick:o.unref(d),class:"w-full fge-button fge-auth-primary-button"},null,8,["onClick"])])])])]),step2:o.withCtx(()=>[o.createElementVNode("div",A6,[o.createElementVNode("div",Z6,[L6,o.createElementVNode("div",R6,[o.createVNode(o.unref(z.Field),{name:"celular",id:"celular",class:o.normalizeClass(["w-full fge-auth-input pr-7",{"fge-auth-input-invalid":o.unref(u).celular}]),as:o.unref(be)},null,8,["class","as"]),o.withDirectives((o.openBlock(),o.createBlock(o.unref(W),{title:"Verificar whatsapp",class:"p-2 fge-button absolute btn-absolute",onClick:w[3]||(w[3]=T=>o.unref(g)({medio:"whatsapp",contacto:o.unref(e).celular})),text:"",rounded:"",outlined:""},{default:o.withCtx(()=>[o.createVNode(o.unref(w1),{class:o.normalizeClass({"svg-primary":o.unref(l).verificadoWhatsapp,"svg-gray":!o.unref(l).verificadoWhatsapp})},null,8,["class"])]),_:1})),[[_,o.unref(l).verificadoWhatsapp?"Verificado":"Verificar",void 0,{left:!0}]]),o.withDirectives((o.openBlock(),o.createBlock(o.unref(W),{title:"Verificar telegram",class:"p-2 fge-button absolute btn-absolute-2",onClick:w[4]||(w[4]=T=>o.unref(g)({medio:"telegram",contacto:o.unref(e).celular})),text:"",rounded:"",outlined:""},{default:o.withCtx(()=>[o.createVNode(o.unref(v1),{class:o.normalizeClass({"svg-primary":o.unref(l).verificadoTelegram,"svg-gray":!o.unref(l).verificadoTelegram})},null,8,["class"])]),_:1})),[[_,o.unref(l).verificadoTelegram?"Verificado":"Verificar",void 0,{left:!0}]])]),o.createVNode(ee,{error:o.unref(u).celular},null,8,["error"])]),o.createElementVNode("div",F6,[j6,o.createElementVNode("div",H6,[o.createVNode(o.unref(z.Field),{name:"email",id:"email",class:o.normalizeClass(["w-full fge-auth-input pr-5",{"fge-auth-input-invalid":o.unref(u).email}]),as:o.unref(be)},null,8,["class","as"]),o.withDirectives((o.openBlock(),o.createBlock(o.unref(W),{title:"Verificar email",onClick:w[5]||(w[5]=T=>o.unref(g)({medio:"email",contacto:o.unref(e).email})),class:"p-2 fge-button absolute btn-absolute",text:"",rounded:"",outlined:""},{default:o.withCtx(()=>[o.createVNode(o.unref(b1),{class:o.normalizeClass({"svg-primary":o.unref(l).verificadoEmail,"svg-gray":!o.unref(l).verificadoEmail})},null,8,["class"])]),_:1})),[[_,o.unref(l).verificadoEmail?"Verificado":"Verificar",void 0,{left:!0}]])]),o.createVNode(ee,{error:o.unref(u).email},null,8,["error"])]),o.createElementVNode("div",U6,[z6,o.createVNode(o.unref(z.Field),{name:"direccion",id:"fge_dr",class:o.normalizeClass(["w-full fge-auth-input",{"fge-auth-input-invalid":o.unref(u).direccion}]),as:o.unref(be)},null,8,["class","as"]),o.createVNode(ee,{error:o.unref(u).direccion},null,8,["error"])]),o.createElementVNode("div",W6,[q6,o.createVNode(o.unref(z.Field),{name:"password"},{default:o.withCtx(({field:T})=>[o.createVNode(o.unref(et),o.mergeProps({id:"fge_new_password",class:"w-full fge-orange-icon",inputClass:{"fge-auth-input-invalid":o.unref(u).password,"fge-auth-input":!0},feedback:!1,onKeyup:o.withKeys(o.unref(h),["enter"]),toggleMask:""},T,{modelValue:T.value}),null,16,["inputClass","onKeyup","modelValue"])]),_:1}),o.createVNode(ee,{error:o.unref(u).password},null,8,["error"])]),o.createElementVNode("div",K6,[Y6,o.createVNode(o.unref(z.Field),{name:"repetirPassword"},{default:o.withCtx(({field:T})=>[o.createVNode(o.unref(et),o.mergeProps({id:"fge_contra_rep",class:"w-full fge-orange-icon",inputClass:{"fge-auth-input-invalid":o.unref(u).repetirPassword,"fge-auth-input":!0},feedback:!1,onKeyup:o.withKeys(o.unref(h),["enter"]),toggleMask:""},T,{modelValue:T.value}),null,16,["inputClass","onKeyup","modelValue"])]),_:1}),o.createVNode(ee,{error:o.unref(u).repetirPassword},null,8,["error"])])]),o.createElementVNode("div",G6,[J6,o.createElementVNode("div",X6,[o.createElementVNode("div",Q6,[o.createVNode(o.unref(W),{title:"Ir atras",label:"Anterior",onClick:o.unref(f),class:"w-full fge-button fge-secondary-button"},null,8,["onClick"]),o.createVNode(o.unref(W),{title:"Registrar usuario",label:"Registrar",onClick:o.unref(h),class:"w-full fge-button fge-auth-primary-button"},null,8,["onClick"])])])])]),step3:o.withCtx(()=>[o.createVNode(Zr,{fieldName:"codigoContacto",refCounter:o.unref(n),"onUpdate:refCounter":w[6]||(w[6]=T=>o.isRef(n)?n.value=T:null),error:o.unref(u).codigoContacto,currentContacto:o.unref(r),cancelarFunction:o.unref(O),aceptarFunction:o.unref(b),reenviarMensaje:()=>o.unref(m)()},null,8,["refCounter","error","currentContacto","cancelarFunction","aceptarFunction","reenviarMensaje"])]),_:1},8,["currentStep","steps"])])],64)}}}),[["__scopeId","data-v-20bd75a1"]]),tm={class:"footer"},nm={class:"fge-version-label"},rm=nt(o.defineComponent({__name:"FgeFooter",setup(t){const e=me();return(n,r)=>(o.openBlock(),o.createElementBlock("div",tm,[o.createElementVNode("p",nm,"Copyright Mp. Version "+o.toDisplayString(o.unref(e).systemVer),1)]))}}),[["__scopeId","data-v-526e8b52"]]);var Lr={name:"CheckIcon",extends:ve},om=o.createElementVNode("path",{d:"M4.86199 11.5948C4.78717 11.5923 4.71366 11.5745 4.64596 11.5426C4.57826 11.5107 4.51779 11.4652 4.46827 11.4091L0.753985 7.69483C0.683167 7.64891 0.623706 7.58751 0.580092 7.51525C0.536478 7.44299 0.509851 7.36177 0.502221 7.27771C0.49459 7.19366 0.506156 7.10897 0.536046 7.03004C0.565935 6.95111 0.613367 6.88 0.674759 6.82208C0.736151 6.76416 0.8099 6.72095 0.890436 6.69571C0.970973 6.67046 1.05619 6.66385 1.13966 6.67635C1.22313 6.68886 1.30266 6.72017 1.37226 6.76792C1.44186 6.81567 1.4997 6.8786 1.54141 6.95197L4.86199 10.2503L12.6397 2.49483C12.7444 2.42694 12.8689 2.39617 12.9932 2.40745C13.1174 2.41873 13.2343 2.47141 13.3251 2.55705C13.4159 2.64268 13.4753 2.75632 13.4938 2.87973C13.5123 3.00315 13.4888 3.1292 13.4271 3.23768L5.2557 11.4091C5.20618 11.4652 5.14571 11.5107 5.07801 11.5426C5.01031 11.5745 4.9368 11.5923 4.86199 11.5948Z",fill:"currentColor"},null,-1),im=[om];function am(t,e,n,r,a,i){return o.openBlock(),o.createElementBlock("svg",o.mergeProps({width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t.pti()),im,16)}Lr.render=am;var sm={root:function(e){var n=e.instance,r=e.props;return["p-checkbox p-component",{"p-checkbox-checked":n.checked,"p-checkbox-disabled":r.disabled,"p-checkbox-focused":n.focused}]},input:function(e){var n=e.instance,r=e.props;return["p-checkbox-box",{"p-highlight":n.checked,"p-disabled":r.disabled,"p-focus":n.focused}]},icon:"p-checkbox-icon"},lm={name:"BaseCheckbox",extends:ye,props:{value:null,modelValue:null,binary:Boolean,name:{type:String,default:null},trueValue:{type:null,default:!0},falseValue:{type:null,default:!1},disabled:{type:Boolean,default:!1},readonly:{type:Boolean,default:!1},required:{type:Boolean,default:!1},tabindex:{type:Number,default:null},inputId:{type:String,default:null},inputClass:{type:[String,Object],default:null},inputStyle:{type:Object,default:null},inputProps:{type:null,default:null},"aria-labelledby":{type:String,default:null},"aria-label":{type:String,default:null}},css:{classes:sm},provide:function(){return{$parentInstance:this}}};function cm(t){return mm(t)||fm(t)||dm(t)||um()}function um(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
740
740
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function dm(t,e){if(t){if(typeof t=="string")return yi(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(t);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return yi(t,e)}}function fm(t){if(typeof Symbol<"u"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function mm(t){if(Array.isArray(t))return yi(t)}function yi(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}var k1={name:"Checkbox",extends:lm,emits:["click","update:modelValue","change","input","focus","blur"],data:function(){return{focused:!1}},methods:{getPTOptions:function(e){return this.ptm(e,{context:{checked:this.checked,focused:this.focused,disabled:this.disabled}})},onClick:function(e){var n=this;if(!this.disabled&&!this.readonly){var r;this.binary?r=this.checked?this.falseValue:this.trueValue:this.checked?r=this.modelValue.filter(function(a){return!A.equals(a,n.value)}):r=this.modelValue?[].concat(cm(this.modelValue),[this.value]):[this.value],this.$emit("click",e),this.$emit("update:modelValue",r),this.$emit("change",e),this.$emit("input",r),this.$refs.input.focus()}},onFocus:function(e){this.focused=!0,this.$emit("focus",e)},onBlur:function(e){this.focused=!1,this.$emit("blur",e)}},computed:{checked:function(){return this.binary?this.modelValue===this.trueValue:A.contains(this.value,this.modelValue)}},components:{CheckIcon:Lr}};function xn(t){"@babel/helpers - typeof";return xn=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},xn(t)}function C1(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(t,a).enumerable})),n.push.apply(n,r)}return n}function S1(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{};e%2?C1(Object(n),!0).forEach(function(r){hm(t,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):C1(Object(n)).forEach(function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(n,r))})}return t}function hm(t,e,n){return e=pm(e),e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function pm(t){var e=gm(t,"string");return xn(e)==="symbol"?e:String(e)}function gm(t,e){if(xn(t)!=="object"||t===null)return t;var n=t[Symbol.toPrimitive];if(n!==void 0){var r=n.call(t,e||"default");if(xn(r)!=="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}var ym=["id","value","name","checked","tabindex","disabled","readonly","required","aria-labelledby","aria-label"],bm=["data-p-highlight","data-p-disabled","data-p-focused"];function vm(t,e,n,r,a,i){var s=o.resolveComponent("CheckIcon");return o.openBlock(),o.createElementBlock("div",o.mergeProps({class:t.cx("root"),onClick:e[2]||(e[2]=function(l){return i.onClick(l)})},i.getPTOptions("root"),{"data-pc-name":"checkbox"}),[o.createElementVNode("div",o.mergeProps({class:"p-hidden-accessible"},t.ptm("hiddenInputWrapper"),{"data-p-hidden-accessible":!0}),[o.createElementVNode("input",o.mergeProps({ref:"input",id:t.inputId,type:"checkbox",value:t.value,name:t.name,checked:i.checked,tabindex:t.tabindex,disabled:t.disabled,readonly:t.readonly,required:t.required,"aria-labelledby":t.ariaLabelledby,"aria-label":t.ariaLabel,onFocus:e[0]||(e[0]=function(l){return i.onFocus(l)}),onBlur:e[1]||(e[1]=function(l){return i.onBlur(l)})},t.ptm("hiddenInput")),null,16,ym)],16),o.createElementVNode("div",o.mergeProps({ref:"box",class:[t.cx("input"),t.inputClass],style:t.inputStyle},S1(S1({},t.inputProps),i.getPTOptions("input")),{"data-p-highlight":i.checked,"data-p-disabled":t.disabled,"data-p-focused":a.focused}),[o.renderSlot(t.$slots,"icon",{checked:i.checked,class:o.normalizeClass(t.cx("icon"))},function(){return[i.checked?(o.openBlock(),o.createBlock(s,o.mergeProps({key:0,class:t.cx("icon")},i.getPTOptions("icon")),null,16,["class"])):o.createCommentVNode("",!0)]})],16,bm)],16)}k1.render=vm;function wm(){const t=me(),e=Et();o.onMounted(()=>{r()});const n=async()=>await Lu({openWindows:!1,verifyFunctionary:t.verificarFunc}),r=()=>{const s=new URLSearchParams(window.location.search).get("agetic");if(!s)return;const l=JSON.parse(decodeURI(s));a(l)},a=async i=>{var s;if(!i.error)if(i.response.binnacleId){const l={ci:i.response.ciudadanoDigital.documento_identidad.numero_documento,binnacleId:i.response.binnacleId,appTag:t.aplicacion};await t.onLoginCiudadania(l),new URLSearchParams(window.location.search).delete("agetic"),window.history.replaceState({},"",`${window.location.pathname}`)}else e.add({severity:"error",summary:"Error",detail:(s=i.response)==null?void 0:s.message,life:5e3,group:"auth_toast"})};return{redirectCD:n}}function km(t){const e=me(),n=On(),{redirectCD:r}=wm(),a=Et(),i=Zn(),{refCounter:s,currentContacto:l}=Ar("2auth"),c=o.markRaw([{name:"step1"},{name:"step2"}]),u=[$.object().shape({usuario:$.string().required("Cédula de identidad es requerida").label("Cédula de identidad"),password:$.string().required("Contraseña es requerida").label("Contraseña")}),$.object().shape({code:$.string().matches(Tn).required().label("Código")})],d=o.ref(0),f=o.computed(()=>u[d.value]),{handleSubmit:h,values:m,errors:g,setErrors:b,resetForm:O}=z.useForm({validationSchema:f,keepValuesOnUnmount:!0}),{value:k}=z.useField("usuarioId"),p=h(async _=>{n.setLoading(!0);try{const T=await e.onLogin({..._});T!=null&&T.usuarioId?(d.value=d.value+1,l.value=T.contacto,k.value=T.usuarioId,o.nextTick(()=>{var I;(I=s.value)==null||I.reInit(60)})):t("onLogin")}catch(T){Le({error:T,toast:a,setErrors:b}),t("onError")}finally{n.setLoading(!1)}}),y=h(async _=>{try{n.setLoading(!0),await e.on2AuthLogin({..._,usuarioId:k.value,code:Number(_.code)}),t("onLogin")}catch(T){Le({error:T,toast:a,setErrors:b})}finally{n.setLoading(!1)}}),C=()=>{d.value=0,O()},x=async()=>{var _;await e.onLogin({...m}),(_=s.value)==null||_.reInit(60)},P=o.computed(()=>window.getComputedStyle(document.documentElement).getPropertyValue("--fge-primary-button-text-color"));return{schemas:u,refCounter:s,currentContacto:l,steps:c,currentStep:d,usuarioId:k,errors:g,iconColor:P,onLogin:p,on2AuthLogin:y,goLoginPage:C,onEnviarMensaje:x,loginCiudadania:async()=>{if(e.disableAgeticLogin){i.require({header:"Ciudadanía Digital",message:`No se pueden gestionar servicios de Ciudadania Digital debido a
741
- inconvenientes en la plataforma de los servicios de la AGETIC`,htmlContent:'<a href="https://www.facebook.com/share/p/V1dqJr9AvVJEdL9Q/?mibextid=xfxF2i" target="_blank" class="text-center fge-auth-message-dialog text-base auth-custom-link">Más información</a>',group:"auth_dialog",accept:()=>{},acceptClass:"auth-btn-sm fge-button fge-auth-primary-button",acceptLabel:"Aceptar",acceptIcon:"hidden",rejectIcon:"hidden",rejectClass:"fge-button fge-secondary-button auth-btn-sm hidden",rejectLabel:"Cerrar"});return}n.setLoading(!0);try{const _=await r();_&&(await e.onLoginCiudadania(_),t("onLogin"))}catch(_){a.add({severity:"error",summary:"Error",detail:_==null?void 0:_.message,life:5e3,group:"auth_toast"})}n.setLoading(!1)}}}const Cm={class:"fge-right-container"},Sm={class:"formgrid grid grid-nogutter"},Em={class:"field col-12 text-left"},Tm=o.createElementVNode("label",{for:"usuario",class:"fge-form-label"},"Cédula de Identidad:",-1),Om={class:"field col-12 text-left mb-0"},xm=o.createElementVNode("label",{for:"password",class:"fge-form-label"},"Cont­raseña:",-1),Im={class:"flex flex-column fge-btn-section"},Vm={class:""},Pm={class:"flex justify-content-between"},Nm=o.createElementVNode("div",{class:"text-center overflow-hidden"},[o.createElementVNode("span",{class:"fge-gray-label fge-lines"},"O puede ingresar con")],-1),_m={class:""},Bm={class:"field col-12 m-0 mt-4"},Mm={class:"flex align-items-center justify-content-center"},Dm=o.createElementVNode("label",{for:"confDevice",class:"ml-2 mt-1 fge-gray-label text-sm"}," Dispositivo de confianza ",-1),$m=o.defineComponent({__name:"FgeLogin",emits:["onLogin","onError"],setup(t,{emit:e}){const n=me(),r=e,{refCounter:a,currentContacto:i,steps:s,currentStep:l,errors:c,iconColor:u,onLogin:d,on2AuthLogin:f,goLoginPage:h,onEnviarMensaje:m,loginCiudadania:g}=km(r);return(b,O)=>(o.openBlock(),o.createElementBlock(o.Fragment,null,[o.createVNode(gi),o.createElementVNode("div",Cm,[o.createVNode(Dr,{currentStep:o.unref(l),steps:o.unref(s),showHeader:!1},{step1:o.withCtx(()=>[o.createElementVNode("div",Sm,[o.createElementVNode("div",Em,[Tm,o.createVNode(o.unref(z.Field),{name:"usuario",id:"usuario",class:o.normalizeClass(["w-full fge-auth-input",{"fge-auth-input-invalid":o.unref(c).usuario}]),as:o.unref(be)},null,8,["class","as"]),o.createVNode(ee,{error:o.unref(c).usuario},null,8,["error"])]),o.createElementVNode("div",Om,[xm,o.createVNode(o.unref(z.Field),{name:"password"},{default:o.withCtx(({field:k})=>[o.createVNode(o.unref(et),o.mergeProps({id:"psw",class:"w-full fge-orange-icon",inputClass:{"fge-auth-input-invalid":o.unref(c).password,"fge-auth-input":!0},feedback:!1,toggleMask:""},k,{onKeyup:o.withKeys(o.unref(d),["enter"]),modelValue:k.value}),null,16,["inputClass","onKeyup","modelValue"])]),_:1}),o.createVNode(ee,{error:o.unref(c).password},null,8,["error"])])]),o.createElementVNode("div",Im,[o.createElementVNode("div",Vm,[o.createVNode(o.unref(W),{title:"Iniciar sesión",label:"Ingresar",onClick:o.unref(d),class:"w-full fge-button fge-auth-primary-button"},null,8,["onClick"])]),o.createElementVNode("div",Pm,[o.createVNode(o.unref(W),{class:"fge-button fge-link-secondary-button",title:"Recuperar contraseña",label:"¿Ha olvidado su contraseña?",link:"",onClick:o.unref(n).goRecuperarCont},null,8,["onClick"]),o.createVNode(o.unref(W),{class:"fge-button fge-link-primary-button",title:"Registrarse",label:"Registrarse",link:"",onClick:o.unref(n).goRegistrarPage},null,8,["onClick"])]),Nm,o.createElementVNode("div",_m,[o.createVNode(o.unref(W),{title:"Iniciar sesión con ciudadanía digital",label:"Ciudadanía Digital",onClick:o.unref(g),class:"w-full fge-button fge-secondary-button"},null,8,["onClick"])])])]),step2:o.withCtx(()=>[o.createVNode(Zr,{fieldName:"code",error:o.unref(c).code,currentContacto:o.unref(i),cancelarFunction:o.unref(h),aceptarFunction:o.unref(f),"reenviar-mensaje":o.unref(m),refCounter:o.unref(a),"onUpdate:refCounter":O[0]||(O[0]=k=>o.isRef(a)?a.value=k:null)},{inputs:o.withCtx(()=>[o.createElementVNode("div",Bm,[o.createElementVNode("div",Mm,[o.createVNode(o.unref(z.Field),{name:"esDispositivoConfianza"},{default:o.withCtx(({field:k})=>[o.createVNode(o.unref(k1),o.mergeProps({modelValue:k.value},k,{class:"fge-auth-checkbox",inputId:"confDevice",binary:!0}),{icon:o.withCtx(()=>[o.createVNode(y1,{color:o.unref(u),alt:"Check Mark"},null,8,["color"])]),_:2},1040,["modelValue"])]),_:1}),Dm])])]),_:1},8,["error","currentContacto","cancelarFunction","aceptarFunction","reenviar-mensaje","refCounter"])]),_:1},8,["currentStep","steps"])])],64))}});var bi={name:"ExclamationTriangleIcon",extends:ve,computed:{pathId:function(){return"pv_icon_clip_".concat(oe())}}},Am=["clipPath"],Zm=o.createElementVNode("path",{d:"M13.4018 13.1893H0.598161C0.49329 13.189 0.390283 13.1615 0.299143 13.1097C0.208003 13.0578 0.131826 12.9832 0.0780112 12.8932C0.0268539 12.8015 0 12.6982 0 12.5931C0 12.4881 0.0268539 12.3848 0.0780112 12.293L6.47985 1.08982C6.53679 1.00399 6.61408 0.933574 6.70484 0.884867C6.7956 0.836159 6.897 0.810669 7 0.810669C7.103 0.810669 7.2044 0.836159 7.29516 0.884867C7.38592 0.933574 7.46321 1.00399 7.52015 1.08982L13.922 12.293C13.9731 12.3848 14 12.4881 14 12.5931C14 12.6982 13.9731 12.8015 13.922 12.8932C13.8682 12.9832 13.792 13.0578 13.7009 13.1097C13.6097 13.1615 13.5067 13.189 13.4018 13.1893ZM1.63046 11.989H12.3695L7 2.59425L1.63046 11.989Z",fill:"currentColor"},null,-1),Lm=o.createElementVNode("path",{d:"M6.99996 8.78801C6.84143 8.78594 6.68997 8.72204 6.57787 8.60993C6.46576 8.49782 6.40186 8.34637 6.39979 8.18784V5.38703C6.39979 5.22786 6.46302 5.0752 6.57557 4.96265C6.68813 4.85009 6.84078 4.78686 6.99996 4.78686C7.15914 4.78686 7.31179 4.85009 7.42435 4.96265C7.5369 5.0752 7.60013 5.22786 7.60013 5.38703V8.18784C7.59806 8.34637 7.53416 8.49782 7.42205 8.60993C7.30995 8.72204 7.15849 8.78594 6.99996 8.78801Z",fill:"currentColor"},null,-1),Rm=o.createElementVNode("path",{d:"M6.99996 11.1887C6.84143 11.1866 6.68997 11.1227 6.57787 11.0106C6.46576 10.8985 6.40186 10.7471 6.39979 10.5885V10.1884C6.39979 10.0292 6.46302 9.87658 6.57557 9.76403C6.68813 9.65147 6.84078 9.58824 6.99996 9.58824C7.15914 9.58824 7.31179 9.65147 7.42435 9.76403C7.5369 9.87658 7.60013 10.0292 7.60013 10.1884V10.5885C7.59806 10.7471 7.53416 10.8985 7.42205 11.0106C7.30995 11.1227 7.15849 11.1866 6.99996 11.1887Z",fill:"currentColor"},null,-1),Fm=[Zm,Lm,Rm],jm=["id"],Hm=o.createElementVNode("rect",{width:"14",height:"14",fill:"white"},null,-1),Um=[Hm];function zm(t,e,n,r,a,i){return o.openBlock(),o.createElementBlock("svg",o.mergeProps({width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t.pti()),[o.createElementVNode("g",{clipPath:"url(#".concat(i.pathId,")")},Fm,8,Am),o.createElementVNode("defs",null,[o.createElementVNode("clipPath",{id:"".concat(i.pathId)},Um,8,jm)])],16)}bi.render=zm;var vi={name:"InfoCircleIcon",extends:ve,computed:{pathId:function(){return"pv_icon_clip_".concat(oe())}}},Wm=["clipPath"],qm=o.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M3.11101 12.8203C4.26215 13.5895 5.61553 14 7 14C8.85652 14 10.637 13.2625 11.9497 11.9497C13.2625 10.637 14 8.85652 14 7C14 5.61553 13.5895 4.26215 12.8203 3.11101C12.0511 1.95987 10.9579 1.06266 9.67879 0.532846C8.3997 0.00303296 6.99224 -0.13559 5.63437 0.134506C4.2765 0.404603 3.02922 1.07129 2.05026 2.05026C1.07129 3.02922 0.404603 4.2765 0.134506 5.63437C-0.13559 6.99224 0.00303296 8.3997 0.532846 9.67879C1.06266 10.9579 1.95987 12.0511 3.11101 12.8203ZM3.75918 2.14976C4.71846 1.50879 5.84628 1.16667 7 1.16667C8.5471 1.16667 10.0308 1.78125 11.1248 2.87521C12.2188 3.96918 12.8333 5.45291 12.8333 7C12.8333 8.15373 12.4912 9.28154 11.8502 10.2408C11.2093 11.2001 10.2982 11.9478 9.23232 12.3893C8.16642 12.8308 6.99353 12.9463 5.86198 12.7212C4.73042 12.4962 3.69102 11.9406 2.87521 11.1248C2.05941 10.309 1.50384 9.26958 1.27876 8.13803C1.05367 7.00647 1.16919 5.83358 1.61071 4.76768C2.05222 3.70178 2.79989 2.79074 3.75918 2.14976ZM7.00002 4.8611C6.84594 4.85908 6.69873 4.79698 6.58977 4.68801C6.48081 4.57905 6.4187 4.43185 6.41669 4.27776V3.88888C6.41669 3.73417 6.47815 3.58579 6.58754 3.4764C6.69694 3.367 6.84531 3.30554 7.00002 3.30554C7.15473 3.30554 7.3031 3.367 7.4125 3.4764C7.52189 3.58579 7.58335 3.73417 7.58335 3.88888V4.27776C7.58134 4.43185 7.51923 4.57905 7.41027 4.68801C7.30131 4.79698 7.1541 4.85908 7.00002 4.8611ZM7.00002 10.6945C6.84594 10.6925 6.69873 10.6304 6.58977 10.5214C6.48081 10.4124 6.4187 10.2652 6.41669 10.1111V6.22225C6.41669 6.06754 6.47815 5.91917 6.58754 5.80977C6.69694 5.70037 6.84531 5.63892 7.00002 5.63892C7.15473 5.63892 7.3031 5.70037 7.4125 5.80977C7.52189 5.91917 7.58335 6.06754 7.58335 6.22225V10.1111C7.58134 10.2652 7.51923 10.4124 7.41027 10.5214C7.30131 10.6304 7.1541 10.6925 7.00002 10.6945Z",fill:"currentColor"},null,-1),Km=[qm],Ym=["id"],Gm=o.createElementVNode("rect",{width:"14",height:"14",fill:"white"},null,-1),Jm=[Gm];function Xm(t,e,n,r,a,i){return o.openBlock(),o.createElementBlock("svg",o.mergeProps({width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t.pti()),[o.createElementVNode("g",{clipPath:"url(#".concat(i.pathId,")")},Km,8,Wm),o.createElementVNode("defs",null,[o.createElementVNode("clipPath",{id:"".concat(i.pathId)},Jm,8,Ym)])],16)}vi.render=Xm;var wi={name:"TimesIcon",extends:ve},Qm=o.createElementVNode("path",{d:"M8.01186 7.00933L12.27 2.75116C12.341 2.68501 12.398 2.60524 12.4375 2.51661C12.4769 2.42798 12.4982 2.3323 12.4999 2.23529C12.5016 2.13827 12.4838 2.0419 12.4474 1.95194C12.4111 1.86197 12.357 1.78024 12.2884 1.71163C12.2198 1.64302 12.138 1.58893 12.0481 1.55259C11.9581 1.51625 11.8617 1.4984 11.7647 1.50011C11.6677 1.50182 11.572 1.52306 11.4834 1.56255C11.3948 1.60204 11.315 1.65898 11.2488 1.72997L6.99067 5.98814L2.7325 1.72997C2.59553 1.60234 2.41437 1.53286 2.22718 1.53616C2.03999 1.53946 1.8614 1.61529 1.72901 1.74767C1.59663 1.88006 1.5208 2.05865 1.5175 2.24584C1.5142 2.43303 1.58368 2.61419 1.71131 2.75116L5.96948 7.00933L1.71131 11.2675C1.576 11.403 1.5 11.5866 1.5 11.7781C1.5 11.9696 1.576 12.1532 1.71131 12.2887C1.84679 12.424 2.03043 12.5 2.2219 12.5C2.41338 12.5 2.59702 12.424 2.7325 12.2887L6.99067 8.03052L11.2488 12.2887C11.3843 12.424 11.568 12.5 11.7594 12.5C11.9509 12.5 12.1346 12.424 12.27 12.2887C12.4053 12.1532 12.4813 11.9696 12.4813 11.7781C12.4813 11.5866 12.4053 11.403 12.27 11.2675L8.01186 7.00933Z",fill:"currentColor"},null,-1),eh=[Qm];function th(t,e,n,r,a,i){return o.openBlock(),o.createElementBlock("svg",o.mergeProps({width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t.pti()),eh,16)}wi.render=th;var ki={name:"TimesCircleIcon",extends:ve,computed:{pathId:function(){return"pv_icon_clip_".concat(oe())}}},nh=["clipPath"],rh=o.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M7 14C5.61553 14 4.26215 13.5895 3.11101 12.8203C1.95987 12.0511 1.06266 10.9579 0.532846 9.67879C0.00303296 8.3997 -0.13559 6.99224 0.134506 5.63437C0.404603 4.2765 1.07129 3.02922 2.05026 2.05026C3.02922 1.07129 4.2765 0.404603 5.63437 0.134506C6.99224 -0.13559 8.3997 0.00303296 9.67879 0.532846C10.9579 1.06266 12.0511 1.95987 12.8203 3.11101C13.5895 4.26215 14 5.61553 14 7C14 8.85652 13.2625 10.637 11.9497 11.9497C10.637 13.2625 8.85652 14 7 14ZM7 1.16667C5.84628 1.16667 4.71846 1.50879 3.75918 2.14976C2.79989 2.79074 2.05222 3.70178 1.61071 4.76768C1.16919 5.83358 1.05367 7.00647 1.27876 8.13803C1.50384 9.26958 2.05941 10.309 2.87521 11.1248C3.69102 11.9406 4.73042 12.4962 5.86198 12.7212C6.99353 12.9463 8.16642 12.8308 9.23232 12.3893C10.2982 11.9478 11.2093 11.2001 11.8502 10.2408C12.4912 9.28154 12.8333 8.15373 12.8333 7C12.8333 5.45291 12.2188 3.96918 11.1248 2.87521C10.0308 1.78125 8.5471 1.16667 7 1.16667ZM4.66662 9.91668C4.58998 9.91704 4.51404 9.90209 4.44325 9.87271C4.37246 9.84333 4.30826 9.8001 4.2544 9.74557C4.14516 9.6362 4.0838 9.48793 4.0838 9.33335C4.0838 9.17876 4.14516 9.0305 4.2544 8.92113L6.17553 7L4.25443 5.07891C4.15139 4.96832 4.09529 4.82207 4.09796 4.67094C4.10063 4.51982 4.16185 4.37563 4.26872 4.26876C4.3756 4.16188 4.51979 4.10066 4.67091 4.09799C4.82204 4.09532 4.96829 4.15142 5.07887 4.25446L6.99997 6.17556L8.92106 4.25446C9.03164 4.15142 9.1779 4.09532 9.32903 4.09799C9.48015 4.10066 9.62434 4.16188 9.73121 4.26876C9.83809 4.37563 9.89931 4.51982 9.90198 4.67094C9.90464 4.82207 9.84855 4.96832 9.74551 5.07891L7.82441 7L9.74554 8.92113C9.85478 9.0305 9.91614 9.17876 9.91614 9.33335C9.91614 9.48793 9.85478 9.6362 9.74554 9.74557C9.69168 9.8001 9.62748 9.84333 9.55669 9.87271C9.4859 9.90209 9.40996 9.91704 9.33332 9.91668C9.25668 9.91704 9.18073 9.90209 9.10995 9.87271C9.03916 9.84333 8.97495 9.8001 8.9211 9.74557L6.99997 7.82444L5.07884 9.74557C5.02499 9.8001 4.96078 9.84333 4.88999 9.87271C4.81921 9.90209 4.74326 9.91704 4.66662 9.91668Z",fill:"currentColor"},null,-1),oh=[rh],ih=["id"],ah=o.createElementVNode("rect",{width:"14",height:"14",fill:"white"},null,-1),sh=[ah];function lh(t,e,n,r,a,i){return o.openBlock(),o.createElementBlock("svg",o.mergeProps({width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t.pti()),[o.createElementVNode("g",{clipPath:"url(#".concat(i.pathId,")")},oh,8,nh),o.createElementVNode("defs",null,[o.createElementVNode("clipPath",{id:"".concat(i.pathId)},sh,8,ih)])],16)}ki.render=lh;function In(t){"@babel/helpers - typeof";return In=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},In(t)}function Rr(t,e,n){return e=ch(e),e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ch(t){var e=uh(t,"string");return In(e)==="symbol"?e:String(e)}function uh(t,e){if(In(t)!=="object"||t===null)return t;var n=t[Symbol.toPrimitive];if(n!==void 0){var r=n.call(t,e||"default");if(In(r)!=="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}var dh=`
741
+ inconvenientes en la plataforma de los servicios de la AGETIC`,group:"auth_dialog",accept:()=>{},acceptClass:"auth-btn-sm fge-button fge-auth-primary-button",acceptLabel:"Aceptar",acceptIcon:"hidden",rejectIcon:"hidden",rejectClass:"fge-button fge-secondary-button auth-btn-sm hidden",rejectLabel:"Cerrar"});return}n.setLoading(!0);try{const _=await r();_&&(await e.onLoginCiudadania(_),t("onLogin"))}catch(_){a.add({severity:"error",summary:"Error",detail:_==null?void 0:_.message,life:5e3,group:"auth_toast"})}n.setLoading(!1)}}}const Cm={class:"fge-right-container"},Sm={class:"formgrid grid grid-nogutter"},Em={class:"field col-12 text-left"},Tm=o.createElementVNode("label",{for:"usuario",class:"fge-form-label"},"Cédula de Identidad:",-1),Om={class:"field col-12 text-left mb-0"},xm=o.createElementVNode("label",{for:"password",class:"fge-form-label"},"Cont­raseña:",-1),Im={class:"flex flex-column fge-btn-section"},Vm={class:""},Pm={class:"flex justify-content-between"},Nm=o.createElementVNode("div",{class:"text-center overflow-hidden"},[o.createElementVNode("span",{class:"fge-gray-label fge-lines"},"O puede ingresar con")],-1),_m={class:""},Bm={class:"field col-12 m-0 mt-4"},Mm={class:"flex align-items-center justify-content-center"},Dm=o.createElementVNode("label",{for:"confDevice",class:"ml-2 mt-1 fge-gray-label text-sm"}," Dispositivo de confianza ",-1),$m=o.defineComponent({__name:"FgeLogin",emits:["onLogin","onError"],setup(t,{emit:e}){const n=me(),r=e,{refCounter:a,currentContacto:i,steps:s,currentStep:l,errors:c,iconColor:u,onLogin:d,on2AuthLogin:f,goLoginPage:h,onEnviarMensaje:m,loginCiudadania:g}=km(r);return(b,O)=>(o.openBlock(),o.createElementBlock(o.Fragment,null,[o.createVNode(gi),o.createElementVNode("div",Cm,[o.createVNode(Dr,{currentStep:o.unref(l),steps:o.unref(s),showHeader:!1},{step1:o.withCtx(()=>[o.createElementVNode("div",Sm,[o.createElementVNode("div",Em,[Tm,o.createVNode(o.unref(z.Field),{name:"usuario",id:"usuario",class:o.normalizeClass(["w-full fge-auth-input",{"fge-auth-input-invalid":o.unref(c).usuario}]),as:o.unref(be)},null,8,["class","as"]),o.createVNode(ee,{error:o.unref(c).usuario},null,8,["error"])]),o.createElementVNode("div",Om,[xm,o.createVNode(o.unref(z.Field),{name:"password"},{default:o.withCtx(({field:k})=>[o.createVNode(o.unref(et),o.mergeProps({id:"psw",class:"w-full fge-orange-icon",inputClass:{"fge-auth-input-invalid":o.unref(c).password,"fge-auth-input":!0},feedback:!1,toggleMask:""},k,{onKeyup:o.withKeys(o.unref(d),["enter"]),modelValue:k.value}),null,16,["inputClass","onKeyup","modelValue"])]),_:1}),o.createVNode(ee,{error:o.unref(c).password},null,8,["error"])])]),o.createElementVNode("div",Im,[o.createElementVNode("div",Vm,[o.createVNode(o.unref(W),{title:"Iniciar sesión",label:"Ingresar",onClick:o.unref(d),class:"w-full fge-button fge-auth-primary-button"},null,8,["onClick"])]),o.createElementVNode("div",Pm,[o.createVNode(o.unref(W),{class:"fge-button fge-link-secondary-button",title:"Recuperar contraseña",label:"¿Ha olvidado su contraseña?",link:"",onClick:o.unref(n).goRecuperarCont},null,8,["onClick"]),o.createVNode(o.unref(W),{class:"fge-button fge-link-primary-button",title:"Registrarse",label:"Registrarse",link:"",onClick:o.unref(n).goRegistrarPage},null,8,["onClick"])]),Nm,o.createElementVNode("div",_m,[o.createVNode(o.unref(W),{title:"Iniciar sesión con ciudadanía digital",label:"Ciudadanía Digital",onClick:o.unref(g),class:"w-full fge-button fge-secondary-button"},null,8,["onClick"])])])]),step2:o.withCtx(()=>[o.createVNode(Zr,{fieldName:"code",error:o.unref(c).code,currentContacto:o.unref(i),cancelarFunction:o.unref(h),aceptarFunction:o.unref(f),"reenviar-mensaje":o.unref(m),refCounter:o.unref(a),"onUpdate:refCounter":O[0]||(O[0]=k=>o.isRef(a)?a.value=k:null)},{inputs:o.withCtx(()=>[o.createElementVNode("div",Bm,[o.createElementVNode("div",Mm,[o.createVNode(o.unref(z.Field),{name:"esDispositivoConfianza"},{default:o.withCtx(({field:k})=>[o.createVNode(o.unref(k1),o.mergeProps({modelValue:k.value},k,{class:"fge-auth-checkbox",inputId:"confDevice",binary:!0}),{icon:o.withCtx(()=>[o.createVNode(y1,{color:o.unref(u),alt:"Check Mark"},null,8,["color"])]),_:2},1040,["modelValue"])]),_:1}),Dm])])]),_:1},8,["error","currentContacto","cancelarFunction","aceptarFunction","reenviar-mensaje","refCounter"])]),_:1},8,["currentStep","steps"])])],64))}});var bi={name:"ExclamationTriangleIcon",extends:ve,computed:{pathId:function(){return"pv_icon_clip_".concat(oe())}}},Am=["clipPath"],Zm=o.createElementVNode("path",{d:"M13.4018 13.1893H0.598161C0.49329 13.189 0.390283 13.1615 0.299143 13.1097C0.208003 13.0578 0.131826 12.9832 0.0780112 12.8932C0.0268539 12.8015 0 12.6982 0 12.5931C0 12.4881 0.0268539 12.3848 0.0780112 12.293L6.47985 1.08982C6.53679 1.00399 6.61408 0.933574 6.70484 0.884867C6.7956 0.836159 6.897 0.810669 7 0.810669C7.103 0.810669 7.2044 0.836159 7.29516 0.884867C7.38592 0.933574 7.46321 1.00399 7.52015 1.08982L13.922 12.293C13.9731 12.3848 14 12.4881 14 12.5931C14 12.6982 13.9731 12.8015 13.922 12.8932C13.8682 12.9832 13.792 13.0578 13.7009 13.1097C13.6097 13.1615 13.5067 13.189 13.4018 13.1893ZM1.63046 11.989H12.3695L7 2.59425L1.63046 11.989Z",fill:"currentColor"},null,-1),Lm=o.createElementVNode("path",{d:"M6.99996 8.78801C6.84143 8.78594 6.68997 8.72204 6.57787 8.60993C6.46576 8.49782 6.40186 8.34637 6.39979 8.18784V5.38703C6.39979 5.22786 6.46302 5.0752 6.57557 4.96265C6.68813 4.85009 6.84078 4.78686 6.99996 4.78686C7.15914 4.78686 7.31179 4.85009 7.42435 4.96265C7.5369 5.0752 7.60013 5.22786 7.60013 5.38703V8.18784C7.59806 8.34637 7.53416 8.49782 7.42205 8.60993C7.30995 8.72204 7.15849 8.78594 6.99996 8.78801Z",fill:"currentColor"},null,-1),Rm=o.createElementVNode("path",{d:"M6.99996 11.1887C6.84143 11.1866 6.68997 11.1227 6.57787 11.0106C6.46576 10.8985 6.40186 10.7471 6.39979 10.5885V10.1884C6.39979 10.0292 6.46302 9.87658 6.57557 9.76403C6.68813 9.65147 6.84078 9.58824 6.99996 9.58824C7.15914 9.58824 7.31179 9.65147 7.42435 9.76403C7.5369 9.87658 7.60013 10.0292 7.60013 10.1884V10.5885C7.59806 10.7471 7.53416 10.8985 7.42205 11.0106C7.30995 11.1227 7.15849 11.1866 6.99996 11.1887Z",fill:"currentColor"},null,-1),Fm=[Zm,Lm,Rm],jm=["id"],Hm=o.createElementVNode("rect",{width:"14",height:"14",fill:"white"},null,-1),Um=[Hm];function zm(t,e,n,r,a,i){return o.openBlock(),o.createElementBlock("svg",o.mergeProps({width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t.pti()),[o.createElementVNode("g",{clipPath:"url(#".concat(i.pathId,")")},Fm,8,Am),o.createElementVNode("defs",null,[o.createElementVNode("clipPath",{id:"".concat(i.pathId)},Um,8,jm)])],16)}bi.render=zm;var vi={name:"InfoCircleIcon",extends:ve,computed:{pathId:function(){return"pv_icon_clip_".concat(oe())}}},Wm=["clipPath"],qm=o.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M3.11101 12.8203C4.26215 13.5895 5.61553 14 7 14C8.85652 14 10.637 13.2625 11.9497 11.9497C13.2625 10.637 14 8.85652 14 7C14 5.61553 13.5895 4.26215 12.8203 3.11101C12.0511 1.95987 10.9579 1.06266 9.67879 0.532846C8.3997 0.00303296 6.99224 -0.13559 5.63437 0.134506C4.2765 0.404603 3.02922 1.07129 2.05026 2.05026C1.07129 3.02922 0.404603 4.2765 0.134506 5.63437C-0.13559 6.99224 0.00303296 8.3997 0.532846 9.67879C1.06266 10.9579 1.95987 12.0511 3.11101 12.8203ZM3.75918 2.14976C4.71846 1.50879 5.84628 1.16667 7 1.16667C8.5471 1.16667 10.0308 1.78125 11.1248 2.87521C12.2188 3.96918 12.8333 5.45291 12.8333 7C12.8333 8.15373 12.4912 9.28154 11.8502 10.2408C11.2093 11.2001 10.2982 11.9478 9.23232 12.3893C8.16642 12.8308 6.99353 12.9463 5.86198 12.7212C4.73042 12.4962 3.69102 11.9406 2.87521 11.1248C2.05941 10.309 1.50384 9.26958 1.27876 8.13803C1.05367 7.00647 1.16919 5.83358 1.61071 4.76768C2.05222 3.70178 2.79989 2.79074 3.75918 2.14976ZM7.00002 4.8611C6.84594 4.85908 6.69873 4.79698 6.58977 4.68801C6.48081 4.57905 6.4187 4.43185 6.41669 4.27776V3.88888C6.41669 3.73417 6.47815 3.58579 6.58754 3.4764C6.69694 3.367 6.84531 3.30554 7.00002 3.30554C7.15473 3.30554 7.3031 3.367 7.4125 3.4764C7.52189 3.58579 7.58335 3.73417 7.58335 3.88888V4.27776C7.58134 4.43185 7.51923 4.57905 7.41027 4.68801C7.30131 4.79698 7.1541 4.85908 7.00002 4.8611ZM7.00002 10.6945C6.84594 10.6925 6.69873 10.6304 6.58977 10.5214C6.48081 10.4124 6.4187 10.2652 6.41669 10.1111V6.22225C6.41669 6.06754 6.47815 5.91917 6.58754 5.80977C6.69694 5.70037 6.84531 5.63892 7.00002 5.63892C7.15473 5.63892 7.3031 5.70037 7.4125 5.80977C7.52189 5.91917 7.58335 6.06754 7.58335 6.22225V10.1111C7.58134 10.2652 7.51923 10.4124 7.41027 10.5214C7.30131 10.6304 7.1541 10.6925 7.00002 10.6945Z",fill:"currentColor"},null,-1),Km=[qm],Ym=["id"],Gm=o.createElementVNode("rect",{width:"14",height:"14",fill:"white"},null,-1),Jm=[Gm];function Xm(t,e,n,r,a,i){return o.openBlock(),o.createElementBlock("svg",o.mergeProps({width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t.pti()),[o.createElementVNode("g",{clipPath:"url(#".concat(i.pathId,")")},Km,8,Wm),o.createElementVNode("defs",null,[o.createElementVNode("clipPath",{id:"".concat(i.pathId)},Jm,8,Ym)])],16)}vi.render=Xm;var wi={name:"TimesIcon",extends:ve},Qm=o.createElementVNode("path",{d:"M8.01186 7.00933L12.27 2.75116C12.341 2.68501 12.398 2.60524 12.4375 2.51661C12.4769 2.42798 12.4982 2.3323 12.4999 2.23529C12.5016 2.13827 12.4838 2.0419 12.4474 1.95194C12.4111 1.86197 12.357 1.78024 12.2884 1.71163C12.2198 1.64302 12.138 1.58893 12.0481 1.55259C11.9581 1.51625 11.8617 1.4984 11.7647 1.50011C11.6677 1.50182 11.572 1.52306 11.4834 1.56255C11.3948 1.60204 11.315 1.65898 11.2488 1.72997L6.99067 5.98814L2.7325 1.72997C2.59553 1.60234 2.41437 1.53286 2.22718 1.53616C2.03999 1.53946 1.8614 1.61529 1.72901 1.74767C1.59663 1.88006 1.5208 2.05865 1.5175 2.24584C1.5142 2.43303 1.58368 2.61419 1.71131 2.75116L5.96948 7.00933L1.71131 11.2675C1.576 11.403 1.5 11.5866 1.5 11.7781C1.5 11.9696 1.576 12.1532 1.71131 12.2887C1.84679 12.424 2.03043 12.5 2.2219 12.5C2.41338 12.5 2.59702 12.424 2.7325 12.2887L6.99067 8.03052L11.2488 12.2887C11.3843 12.424 11.568 12.5 11.7594 12.5C11.9509 12.5 12.1346 12.424 12.27 12.2887C12.4053 12.1532 12.4813 11.9696 12.4813 11.7781C12.4813 11.5866 12.4053 11.403 12.27 11.2675L8.01186 7.00933Z",fill:"currentColor"},null,-1),eh=[Qm];function th(t,e,n,r,a,i){return o.openBlock(),o.createElementBlock("svg",o.mergeProps({width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t.pti()),eh,16)}wi.render=th;var ki={name:"TimesCircleIcon",extends:ve,computed:{pathId:function(){return"pv_icon_clip_".concat(oe())}}},nh=["clipPath"],rh=o.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M7 14C5.61553 14 4.26215 13.5895 3.11101 12.8203C1.95987 12.0511 1.06266 10.9579 0.532846 9.67879C0.00303296 8.3997 -0.13559 6.99224 0.134506 5.63437C0.404603 4.2765 1.07129 3.02922 2.05026 2.05026C3.02922 1.07129 4.2765 0.404603 5.63437 0.134506C6.99224 -0.13559 8.3997 0.00303296 9.67879 0.532846C10.9579 1.06266 12.0511 1.95987 12.8203 3.11101C13.5895 4.26215 14 5.61553 14 7C14 8.85652 13.2625 10.637 11.9497 11.9497C10.637 13.2625 8.85652 14 7 14ZM7 1.16667C5.84628 1.16667 4.71846 1.50879 3.75918 2.14976C2.79989 2.79074 2.05222 3.70178 1.61071 4.76768C1.16919 5.83358 1.05367 7.00647 1.27876 8.13803C1.50384 9.26958 2.05941 10.309 2.87521 11.1248C3.69102 11.9406 4.73042 12.4962 5.86198 12.7212C6.99353 12.9463 8.16642 12.8308 9.23232 12.3893C10.2982 11.9478 11.2093 11.2001 11.8502 10.2408C12.4912 9.28154 12.8333 8.15373 12.8333 7C12.8333 5.45291 12.2188 3.96918 11.1248 2.87521C10.0308 1.78125 8.5471 1.16667 7 1.16667ZM4.66662 9.91668C4.58998 9.91704 4.51404 9.90209 4.44325 9.87271C4.37246 9.84333 4.30826 9.8001 4.2544 9.74557C4.14516 9.6362 4.0838 9.48793 4.0838 9.33335C4.0838 9.17876 4.14516 9.0305 4.2544 8.92113L6.17553 7L4.25443 5.07891C4.15139 4.96832 4.09529 4.82207 4.09796 4.67094C4.10063 4.51982 4.16185 4.37563 4.26872 4.26876C4.3756 4.16188 4.51979 4.10066 4.67091 4.09799C4.82204 4.09532 4.96829 4.15142 5.07887 4.25446L6.99997 6.17556L8.92106 4.25446C9.03164 4.15142 9.1779 4.09532 9.32903 4.09799C9.48015 4.10066 9.62434 4.16188 9.73121 4.26876C9.83809 4.37563 9.89931 4.51982 9.90198 4.67094C9.90464 4.82207 9.84855 4.96832 9.74551 5.07891L7.82441 7L9.74554 8.92113C9.85478 9.0305 9.91614 9.17876 9.91614 9.33335C9.91614 9.48793 9.85478 9.6362 9.74554 9.74557C9.69168 9.8001 9.62748 9.84333 9.55669 9.87271C9.4859 9.90209 9.40996 9.91704 9.33332 9.91668C9.25668 9.91704 9.18073 9.90209 9.10995 9.87271C9.03916 9.84333 8.97495 9.8001 8.9211 9.74557L6.99997 7.82444L5.07884 9.74557C5.02499 9.8001 4.96078 9.84333 4.88999 9.87271C4.81921 9.90209 4.74326 9.91704 4.66662 9.91668Z",fill:"currentColor"},null,-1),oh=[rh],ih=["id"],ah=o.createElementVNode("rect",{width:"14",height:"14",fill:"white"},null,-1),sh=[ah];function lh(t,e,n,r,a,i){return o.openBlock(),o.createElementBlock("svg",o.mergeProps({width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t.pti()),[o.createElementVNode("g",{clipPath:"url(#".concat(i.pathId,")")},oh,8,nh),o.createElementVNode("defs",null,[o.createElementVNode("clipPath",{id:"".concat(i.pathId)},sh,8,ih)])],16)}ki.render=lh;function In(t){"@babel/helpers - typeof";return In=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},In(t)}function Rr(t,e,n){return e=ch(e),e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ch(t){var e=uh(t,"string");return In(e)==="symbol"?e:String(e)}function uh(t,e){if(In(t)!=="object"||t===null)return t;var n=t[Symbol.toPrimitive];if(n!==void 0){var r=n.call(t,e||"default");if(In(r)!=="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}var dh=`
742
742
  .p-toast {
743
743
  width: 25rem;
744
744
  white-space: pre-line;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "fge-auth-component",
3
3
  "private": false,
4
- "version": "1.4.5",
4
+ "version": "1.4.6",
5
5
  "type": "module",
6
6
  "files": [
7
7
  "dist"