Plugin Directory

Changeset 2715435


Ignore:
Timestamp:
04/27/2022 12:19:40 PM (4 years ago)
Author:
percebeeduca
Message:

Release v0.15.0

Location:
iande
Files:
9 edited
1 moved

Legend:

Unmodified
Added
Removed
  • iande/trunk/README.txt

    r2698000 r2715435  
    55Tested up to: 5.9.2
    66Requires PHP: 7.2
    7 Stable tag: 0.14.0
     7Stable tag: 0.15.0
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    4949
    5050== Changelog ==
     51
     52= 0.15.0 =
     53* Torna nome da visita campo obrigatório
     54* Melhoria na descrição de quantidade de grupos durante agendamento
    5155
    5256= 0.14.0 =
  • iande/trunk/assets/js/components/GroupDate.vue

    r2633558 r2715435  
    1515                <SlotPicker :id="`${id}_hour`" ref="slots" :day="date" v-model="hour" :v="v.hour"/>
    1616                <div class="iande-form-message" :class="{ '-error': availability.visitors === 0 }" v-if="availability">
    17                     {{ sprintf(__('Vagas disponíveis: %s', 'iande'), availability.visitors) }}
     17                    {{ sprintf(__('Total de vagas disponíveis: %s', 'iande'), availability.visitors) }}
    1818                </div>
    1919            </div>
  • iande/trunk/assets/js/components/SelectExhibition.vue

    r2633558 r2715435  
    1414        </div>
    1515        <div>
    16             <Label for="name" :side="__('(opcional)', 'iande')">{{ __('Dê um nome à visita', 'iande') }}</Label>
     16            <Label for="name">{{ __('Dê um nome à visita', 'iande') }}</Label>
    1717            <Input id="name" type="text" :placeholder="__('Ex: Nome da instituição', 'iande')" v-model="name" :v="$v.name"/>
    1818        </div>
     
    2727            <Label for="numPeople">{{ __('Quantidade prevista de pessoas', 'iande') }}</Label>
    2828            <Input id="numPeople" type="number" :min="minPeople" :placeholder="sprintf(__('Mínimo de %s pessoas', 'iande'), minPeople)" :disabled="groupsCreated" v-model.number="numPeople" :v="$v.numPeople"/>
    29             <p class="text-sm">{{ __('Caso seu grupo seja maior do que a capacidade de atendimento do museu, mais grupos serão criados automaticamente', 'iande') }}</p>
     29            <template v-if="exhibition">
     30                <p class="text-sm" v-if="groupSlot > 1">{{ sprintf(__('A exposição atende até %s grupos com %s visitantes cada por horário', 'iande'), groupSlot, maxPeople) }}</p>
     31                <p class="text-sm" v-else>{{ sprintf(__('A exposição atende até %s visitantes por horário', 'iande'), maxPeople) }}</p>
     32            </template>
    3033        </div>
    3134    </div>
     
    6770                return this.groups.length > 0
    6871            },
     72            groupSlot () {
     73                return this.exhibition?.group_slot ? Number(this.exhibition.group_slot) : 1
     74            },
     75            maxPeople () {
     76                return this.exhibition?.group_size ? Number(this.exhibition.group_size) : 100
     77            },
    6978            minPeople () {
    7079                return this.exhibition?.min_group_size ? Number(this.exhibition.min_group_size) : 5
     
    8291            return {
    8392                exhibitionId: { required },
    84                 name: { },
     93                name: { required },
    8594                numPeople: { integer, minValue: minValue(this.minPeople), required },
    8695                purpose: { required },
  • iande/trunk/dist/create-appointment-page.js

    r2698000 r2715435  
    1 "use strict";(self.webpackChunkiande_plugin=self.webpackChunkiande_plugin||[]).push([[657],{3498:(t,e,n)=>{n.d(e,{Z:()=>u});var r;var i=/^[~!&]*/,s=/\W+/,a={"!":"capture","~":"once","&":"passive"};function o(t){var e=t.match(i)[0];return(null==r?r=/msie|trident/.test(window.navigator.userAgent.toLowerCase()):r)?e.indexOf("!")>-1:e.split("").reduce((function(t,e){return t[a[e]]=!0,t}),{})}const c={name:"Modal",components:{GlobalEvents:{name:"GlobalEvents",props:{target:{type:String,default:"document"},filter:{type:Function,default:function(t){return!0}}},data:function(){return{isActive:!0}},activated:function(){this.isActive=!0},deactivated:function(){this.isActive=!1},render:function(t){return t()},mounted:function(){var t=this;this._listeners=Object.create(null),Object.keys(this.$listeners).forEach((function(e){var n=t.$listeners[e],r=function(r){t.isActive&&t.filter(r,n,e)&&n(r)};window[t.target].addEventListener(e.replace(s,""),r,o(e)),t._listeners[e]=r}))},beforeDestroy:function(){var t=this;for(var e in t._listeners)window[t.target].removeEventListener(e.replace(s,""),t._listeners[e],o(e))}}},props:{label:{type:String,required:!0},narrow:{type:Boolean,default:!1}},data:function(){return{isOpen:!1}},methods:{close:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.isOpen=!1,t&&this.$emit("close")},open:function(){var t=this;this.isOpen=!0,this.$nextTick((function(){t.$refs.button.focus()}))}}};const u=(0,n(1900).Z)(c,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.isOpen?n("div",{staticClass:"iande-modal__wrapper"},[n("GlobalEvents",{on:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"esc",27,e.key,["Esc","Escape"])?null:t.close.apply(null,arguments)}}}),t._v(" "),n("div",{staticClass:"iande-modal",class:{narrow:t.narrow},attrs:{role:"dialog","aria-modal":"true","aria-label":t.label,tabindex:"-1"}},[n("div",{staticClass:"iande-modal__header"},[n("div",{ref:"button",staticClass:"iande-modal__close",attrs:{role:"button",tabindex:"0","aria-label":t.__("Fechar","iande")},on:{click:t.close,keypress:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.close.apply(null,arguments)}}},[n("Icon",{attrs:{icon:"xmark"}})],1)]),t._v(" "),n("div",{staticClass:"iande-modal__body"},[t._t("default")],2)])],1):n("div")}),[],!1,null,null,null).exports},9894:(t,e,n)=>{n.r(e),n.d(e,{default:()=>g});var r=n(7757),i=n.n(r),s=n(7033);const a={name:"AppointmentSuccessModal",components:{Modal:n(3498).Z},methods:{close:function(){this.$refs.modal.isOpen&&this.$refs.modal.close(),window.location.assign(this.$iandeUrl("appointment/list"))},open:function(){this.$refs.modal.open()}}};var o=n(1900);const c=(0,o.Z)(a,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("Modal",{ref:"modal",attrs:{label:t.__("Sucesso!","iande"),narrow:""},on:{close:t.close}},[n("div",{staticClass:"iande-stack"},[n("h1",[t._v(t._s(t.__("Agendamento enviado com sucesso!","iande")))]),t._v(" "),n("p",[t._v(t._s(t.__("Os dados do seu agendamento foram enviados para o museu. Assim que a sua visita for confirmada, você receberá um email com todos os detalhes.","iande")))]),t._v(" "),n("button",{staticClass:"iande-button solid",on:{click:t.close}},[t._v("\n            "+t._s(t.__("Voltar aos agendamentos","iande"))+"\n        ")])])])}),[],!1,null,null,null).exports;const u={name:"Progress",props:{max:{type:Number,required:!0},min:{type:Number,default:0},title:{type:String,required:!0},value:{type:Number,required:!0}},computed:{percentage:function(){return"".concat(100*(this.value-this.min)/(this.max-this.min),"%")}}};const p=(0,o.Z)(u,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"iande-progress",attrs:{"aria-valuemax":t.max,"aria-valuemin":t.min,"aria-valuenow":t.value,role:"progressbar",title:t.title}},t._l(t.max-t.min,(function(e){return n("div",{key:e,class:{active:e<=t.value-t.min}})})),0)}),[],!1,null,null,null).exports;var l=n(1870);function d(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function f(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?d(Object(n),!0).forEach((function(e){m(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function m(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function v(t,e,n,r,i,s,a){try{var o=t[s](a),c=o.value}catch(t){return void n(t)}o.done?e(c):Promise.resolve(c).then(r,i)}function h(t){return function(){var e=this,n=arguments;return new Promise((function(r,i){var s=t.apply(e,n);function a(t){v(s,r,i,a,o,"next",t)}function o(t){v(s,r,i,a,o,"throw",t)}a(void 0)}))}}var _={1:{component:function(){return n.e(736).then(n.bind(n,1918))},action:"saveAppointment",next:2},2:{component:function(){return n.e(689).then(n.bind(n,8256))},action:"saveAppointment",previous:1,next:3,validatePrevious:!0},3:{component:function(){return n.e(267).then(n.bind(n,6320))},action:"saveAppointment",previous:2,next:4,validatePrevious:!0},4:{component:function(){return n.e(938).then(n.bind(n,8462))},action:"saveAppointment",previous:3,next:6,validatePrevious:!0},5:{component:function(){return n.e(264).then(n.bind(n,3821))},action:"saveInstitution",previous:4,next:4,validatePrevious:!1},6:{component:function(){return n.e(296).then(n.bind(n,1929))},action:"confirmAppointment",previous:4,validatePrevious:!0}};const b={name:"CreateAppointmentPage",components:{AppointmentSuccessModal:c,Progress:p},data:function(){return{formError:"",screen:1}},computed:{appointment:(0,s.Z_)("appointments/current"),appointmentId:(0,s.Z_)("appointments/current@ID"),appointmentInstitution:(0,s.Z_)("appointments/current@institution_id"),fields:(0,s.U2)("appointments/filteredFields"),institution:(0,s.Z_)("institutions/current"),institutions:(0,s.Z_)("institutions/list"),page:function(){return this.screen<5?this.screen:this.screen-1},route:function(){return _[this.screen]}},beforeMount:function(){var t=this;return h(i().mark((function e(){var n;return i().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(l.qs.has("screen")&&(t.screen=Number(l.qs.get("screen"))),!l.qs.has("ID")){e.next=12;break}return e.prev=2,e.next=5,l.hi.get("appointment/get",{ID:Number(l.qs.get("ID"))});case 5:n=e.sent,t.appointment=f(f({},t.appointment),n),e.next=12;break;case 9:e.prev=9,e.t0=e.catch(2),t.formError=e.t0;case 12:case"end":return e.stop()}}),e,null,[[2,9]])})))()},methods:{confirmAppointment:function(){var t=this;return h(i().mark((function e(){return i().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.saveAppointment();case 3:if(!e.sent){e.next=9;break}return e.next=6,t.finishAppointment();case 6:return e.abrupt("return",!0);case 9:return e.abrupt("return",!1);case 10:e.next=16;break;case 12:return e.prev=12,e.t0=e.catch(0),t.formError=e.t0,e.abrupt("return",!1);case 16:case"end":return e.stop()}}),e,null,[[0,12]])})))()},finishAppointment:function(){var t=this;return h(i().mark((function e(){return i().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,l.hi.post("appointment/set_status",{ID:t.appointment.ID,post_status:"pending"});case 2:t.$refs.modal.open();case 3:case"end":return e.stop()}}),e)})))()},isFormValid:function(){var t=this.$refs.form;return t.$v.$touch(),!t.$v.$invalid},nextStep:function(){var t=this;return h(i().mark((function e(){return i().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t.formError="",!t.isFormValid()){e.next=6;break}return e.next=4,t[t.route.action]();case 4:e.sent&&t.route.next&&t.setScreen(t.route.next);case 6:case"end":return e.stop()}}),e)})))()},previousStep:function(){this.formError="",this.route.validatePrevious&&!this.isFormValid()||this.setScreen(this.route.previous)},resetAppointment:(0,s.RE)("appointments/reset"),resetInstitution:(0,s.RE)("institutions/reset"),saveAppointment:function(){var t=this;return h(i().mark((function e(){var n,r;return i().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,n=t.fields.ID?"update":"create",e.next=4,l.hi.post("appointment/".concat(n),t.fields);case 4:return r=e.sent,t.appointment=f(f({},t.appointment),r),t.appointmentId=r.ID,e.abrupt("return",!0);case 10:return e.prev=10,e.t0=e.catch(0),t.formError=e.t0,e.abrupt("return",!1);case 14:case"end":return e.stop()}}),e,null,[[0,10]])})))()},saveInstitution:function(){var t=this;return h(i().mark((function e(){var n;return i().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,l.hi.post("institution/create",t.institution);case 3:return n=e.sent,t.appointmentInstitution=n.ID,e.abrupt("return",!0);case 8:return e.prev=8,e.t0=e.catch(0),t.formError=e.t0,e.abrupt("return",!1);case 12:case"end":return e.stop()}}),e,null,[[0,8]])})))()},setScreen:function(t){this.screen=t}}};const g=(0,o.Z)(b,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("article",{staticClass:"mt-lg"},[n("div",{staticClass:"iande-container narrow mt-lg"},[n("Progress",{attrs:{title:t.sprintf(t.__("Página %s de %s","iande"),t.page,5),value:t.page,max:5}})],1),t._v(" "),n("div",{staticClass:"iande-container narrow iande-stack stack-lg mt-lg"},[n("form",{staticClass:"iande-form iande-stack stack-lg",on:{submit:function(e){return e.preventDefault(),t.nextStep.apply(null,arguments)}}},[n(t.route.component,{ref:"form",tag:"component",on:{"add-institution":function(e){return t.setScreen(5)}}}),t._v(" "),t.formError?n("div",{staticClass:"iande-form-error"},[n("span",[t._v(t._s(t.__(t.formError,"iande")))])]):t._e(),t._v(" "),n("div",{staticClass:"iande-form-grid"},[t.route.previous?n("button",{staticClass:"iande-button solid",attrs:{type:"button"},on:{click:t.previousStep}},[n("Icon",{attrs:{icon:"angle-left"}}),t._v("\n                    "+t._s(t.__("Voltar","iande"))+"\n                ")],1):n("div"),t._v(" "),n("button",{staticClass:"iande-button primary",attrs:{type:"submit"}},[t._v("\n                    "+t._s(t.__("Avançar","iande"))+"\n                    "),n("Icon",{attrs:{icon:"angle-right"}})],1)])],1)]),t._v(" "),n("AppointmentSuccessModal",{ref:"modal"})],1)}),[],!1,null,null,null).exports}}]);
     1"use strict";(self.webpackChunkiande_plugin=self.webpackChunkiande_plugin||[]).push([[657],{3498:(t,e,n)=>{n.d(e,{Z:()=>u});var r;var i=/^[~!&]*/,s=/\W+/,a={"!":"capture","~":"once","&":"passive"};function o(t){var e=t.match(i)[0];return(null==r?r=/msie|trident/.test(window.navigator.userAgent.toLowerCase()):r)?e.indexOf("!")>-1:e.split("").reduce((function(t,e){return t[a[e]]=!0,t}),{})}const c={name:"Modal",components:{GlobalEvents:{name:"GlobalEvents",props:{target:{type:String,default:"document"},filter:{type:Function,default:function(t){return!0}}},data:function(){return{isActive:!0}},activated:function(){this.isActive=!0},deactivated:function(){this.isActive=!1},render:function(t){return t()},mounted:function(){var t=this;this._listeners=Object.create(null),Object.keys(this.$listeners).forEach((function(e){var n=t.$listeners[e],r=function(r){t.isActive&&t.filter(r,n,e)&&n(r)};window[t.target].addEventListener(e.replace(s,""),r,o(e)),t._listeners[e]=r}))},beforeDestroy:function(){var t=this;for(var e in t._listeners)window[t.target].removeEventListener(e.replace(s,""),t._listeners[e],o(e))}}},props:{label:{type:String,required:!0},narrow:{type:Boolean,default:!1}},data:function(){return{isOpen:!1}},methods:{close:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.isOpen=!1,t&&this.$emit("close")},open:function(){var t=this;this.isOpen=!0,this.$nextTick((function(){t.$refs.button.focus()}))}}};const u=(0,n(1900).Z)(c,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.isOpen?n("div",{staticClass:"iande-modal__wrapper"},[n("GlobalEvents",{on:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"esc",27,e.key,["Esc","Escape"])?null:t.close.apply(null,arguments)}}}),t._v(" "),n("div",{staticClass:"iande-modal",class:{narrow:t.narrow},attrs:{role:"dialog","aria-modal":"true","aria-label":t.label,tabindex:"-1"}},[n("div",{staticClass:"iande-modal__header"},[n("div",{ref:"button",staticClass:"iande-modal__close",attrs:{role:"button",tabindex:"0","aria-label":t.__("Fechar","iande")},on:{click:t.close,keypress:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.close.apply(null,arguments)}}},[n("Icon",{attrs:{icon:"xmark"}})],1)]),t._v(" "),n("div",{staticClass:"iande-modal__body"},[t._t("default")],2)])],1):n("div")}),[],!1,null,null,null).exports},9894:(t,e,n)=>{n.r(e),n.d(e,{default:()=>g});var r=n(7757),i=n.n(r),s=n(7033);const a={name:"AppointmentSuccessModal",components:{Modal:n(3498).Z},methods:{close:function(){this.$refs.modal.isOpen&&this.$refs.modal.close(),window.location.assign(this.$iandeUrl("appointment/list"))},open:function(){this.$refs.modal.open()}}};var o=n(1900);const c=(0,o.Z)(a,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("Modal",{ref:"modal",attrs:{label:t.__("Sucesso!","iande"),narrow:""},on:{close:t.close}},[n("div",{staticClass:"iande-stack"},[n("h1",[t._v(t._s(t.__("Agendamento enviado com sucesso!","iande")))]),t._v(" "),n("p",[t._v(t._s(t.__("Os dados do seu agendamento foram enviados para o museu. Assim que a sua visita for confirmada, você receberá um email com todos os detalhes.","iande")))]),t._v(" "),n("button",{staticClass:"iande-button solid",on:{click:t.close}},[t._v("\n            "+t._s(t.__("Voltar aos agendamentos","iande"))+"\n        ")])])])}),[],!1,null,null,null).exports;const u={name:"Progress",props:{max:{type:Number,required:!0},min:{type:Number,default:0},title:{type:String,required:!0},value:{type:Number,required:!0}},computed:{percentage:function(){return"".concat(100*(this.value-this.min)/(this.max-this.min),"%")}}};const p=(0,o.Z)(u,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"iande-progress",attrs:{"aria-valuemax":t.max,"aria-valuemin":t.min,"aria-valuenow":t.value,role:"progressbar",title:t.title}},t._l(t.max-t.min,(function(e){return n("div",{key:e,class:{active:e<=t.value-t.min}})})),0)}),[],!1,null,null,null).exports;var l=n(1870);function d(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function f(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?d(Object(n),!0).forEach((function(e){m(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function m(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function v(t,e,n,r,i,s,a){try{var o=t[s](a),c=o.value}catch(t){return void n(t)}o.done?e(c):Promise.resolve(c).then(r,i)}function h(t){return function(){var e=this,n=arguments;return new Promise((function(r,i){var s=t.apply(e,n);function a(t){v(s,r,i,a,o,"next",t)}function o(t){v(s,r,i,a,o,"throw",t)}a(void 0)}))}}var _={1:{component:function(){return n.e(736).then(n.bind(n,1922))},action:"saveAppointment",next:2},2:{component:function(){return n.e(689).then(n.bind(n,9779))},action:"saveAppointment",previous:1,next:3,validatePrevious:!0},3:{component:function(){return n.e(267).then(n.bind(n,6320))},action:"saveAppointment",previous:2,next:4,validatePrevious:!0},4:{component:function(){return n.e(938).then(n.bind(n,8462))},action:"saveAppointment",previous:3,next:6,validatePrevious:!0},5:{component:function(){return n.e(264).then(n.bind(n,3821))},action:"saveInstitution",previous:4,next:4,validatePrevious:!1},6:{component:function(){return n.e(296).then(n.bind(n,1929))},action:"confirmAppointment",previous:4,validatePrevious:!0}};const b={name:"CreateAppointmentPage",components:{AppointmentSuccessModal:c,Progress:p},data:function(){return{formError:"",screen:1}},computed:{appointment:(0,s.Z_)("appointments/current"),appointmentId:(0,s.Z_)("appointments/current@ID"),appointmentInstitution:(0,s.Z_)("appointments/current@institution_id"),fields:(0,s.U2)("appointments/filteredFields"),institution:(0,s.Z_)("institutions/current"),institutions:(0,s.Z_)("institutions/list"),page:function(){return this.screen<5?this.screen:this.screen-1},route:function(){return _[this.screen]}},beforeMount:function(){var t=this;return h(i().mark((function e(){var n;return i().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(l.qs.has("screen")&&(t.screen=Number(l.qs.get("screen"))),!l.qs.has("ID")){e.next=12;break}return e.prev=2,e.next=5,l.hi.get("appointment/get",{ID:Number(l.qs.get("ID"))});case 5:n=e.sent,t.appointment=f(f({},t.appointment),n),e.next=12;break;case 9:e.prev=9,e.t0=e.catch(2),t.formError=e.t0;case 12:case"end":return e.stop()}}),e,null,[[2,9]])})))()},methods:{confirmAppointment:function(){var t=this;return h(i().mark((function e(){return i().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.saveAppointment();case 3:if(!e.sent){e.next=9;break}return e.next=6,t.finishAppointment();case 6:return e.abrupt("return",!0);case 9:return e.abrupt("return",!1);case 10:e.next=16;break;case 12:return e.prev=12,e.t0=e.catch(0),t.formError=e.t0,e.abrupt("return",!1);case 16:case"end":return e.stop()}}),e,null,[[0,12]])})))()},finishAppointment:function(){var t=this;return h(i().mark((function e(){return i().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,l.hi.post("appointment/set_status",{ID:t.appointment.ID,post_status:"pending"});case 2:t.$refs.modal.open();case 3:case"end":return e.stop()}}),e)})))()},isFormValid:function(){var t=this.$refs.form;return t.$v.$touch(),!t.$v.$invalid},nextStep:function(){var t=this;return h(i().mark((function e(){return i().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t.formError="",!t.isFormValid()){e.next=6;break}return e.next=4,t[t.route.action]();case 4:e.sent&&t.route.next&&t.setScreen(t.route.next);case 6:case"end":return e.stop()}}),e)})))()},previousStep:function(){this.formError="",this.route.validatePrevious&&!this.isFormValid()||this.setScreen(this.route.previous)},resetAppointment:(0,s.RE)("appointments/reset"),resetInstitution:(0,s.RE)("institutions/reset"),saveAppointment:function(){var t=this;return h(i().mark((function e(){var n,r;return i().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,n=t.fields.ID?"update":"create",e.next=4,l.hi.post("appointment/".concat(n),t.fields);case 4:return r=e.sent,t.appointment=f(f({},t.appointment),r),t.appointmentId=r.ID,e.abrupt("return",!0);case 10:return e.prev=10,e.t0=e.catch(0),t.formError=e.t0,e.abrupt("return",!1);case 14:case"end":return e.stop()}}),e,null,[[0,10]])})))()},saveInstitution:function(){var t=this;return h(i().mark((function e(){var n;return i().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,l.hi.post("institution/create",t.institution);case 3:return n=e.sent,t.appointmentInstitution=n.ID,e.abrupt("return",!0);case 8:return e.prev=8,e.t0=e.catch(0),t.formError=e.t0,e.abrupt("return",!1);case 12:case"end":return e.stop()}}),e,null,[[0,8]])})))()},setScreen:function(t){this.screen=t}}};const g=(0,o.Z)(b,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("article",{staticClass:"mt-lg"},[n("div",{staticClass:"iande-container narrow mt-lg"},[n("Progress",{attrs:{title:t.sprintf(t.__("Página %s de %s","iande"),t.page,5),value:t.page,max:5}})],1),t._v(" "),n("div",{staticClass:"iande-container narrow iande-stack stack-lg mt-lg"},[n("form",{staticClass:"iande-form iande-stack stack-lg",on:{submit:function(e){return e.preventDefault(),t.nextStep.apply(null,arguments)}}},[n(t.route.component,{ref:"form",tag:"component",on:{"add-institution":function(e){return t.setScreen(5)}}}),t._v(" "),t.formError?n("div",{staticClass:"iande-form-error"},[n("span",[t._v(t._s(t.__(t.formError,"iande")))])]):t._e(),t._v(" "),n("div",{staticClass:"iande-form-grid"},[t.route.previous?n("button",{staticClass:"iande-button solid",attrs:{type:"button"},on:{click:t.previousStep}},[n("Icon",{attrs:{icon:"angle-left"}}),t._v("\n                    "+t._s(t.__("Voltar","iande"))+"\n                ")],1):n("div"),t._v(" "),n("button",{staticClass:"iande-button primary",attrs:{type:"submit"}},[t._v("\n                    "+t._s(t.__("Avançar","iande"))+"\n                    "),n("Icon",{attrs:{icon:"angle-right"}})],1)])],1)]),t._v(" "),n("AppointmentSuccessModal",{ref:"modal"})],1)}),[],!1,null,null,null).exports}}]);
  • iande/trunk/dist/edit-appointment-page.js

    r2698000 r2715435  
    1 "use strict";(self.webpackChunkiande_plugin=self.webpackChunkiande_plugin||[]).push([[365],{883:(e,t,n)=>{n.r(t),n.d(t,{default:()=>d});var r=n(7757),i=n.n(r),o=n(7033),a=n(1870);function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function c(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s(Object(n),!0).forEach((function(t){u(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function u(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function p(e,t,n,r,i,o,a){try{var s=e[o](a),c=s.value}catch(e){return void n(e)}s.done?t(c):Promise.resolve(c).then(r,i)}function f(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var o=e.apply(t,n);function a(e){p(o,r,i,a,s,"next",e)}function s(e){p(o,r,i,a,s,"throw",e)}a(void 0)}))}}const l={name:"EditAppointmentPage",components:{AdditionalData:function(){return n.e(296).then(n.bind(n,1929))},GroupsAdditionalInfo:function(){return n.e(267).then(n.bind(n,6320))},GroupsDate:function(){return n.e(689).then(n.bind(n,8256))},SelectExhibition:function(){return n.e(736).then(n.bind(n,1918))},SelectInstitution:function(){return n.e(938).then(n.bind(n,8462))}},data:function(){return{formError:"",screen:1}},computed:{appointment:(0,o.Z_)("appointments/current"),fields:(0,o.U2)("appointments/filteredFields")},beforeMount:function(){var e=this;return f(i().mark((function t(){var n;return i().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(a.qs.has("screen")&&(e.screen=Number(a.qs.get("screen"))),!a.qs.has("ID")){t.next=12;break}return t.prev=2,t.next=5,a.hi.get("appointment/get",{ID:Number(a.qs.get("ID"))});case 5:n=t.sent,e.appointment=c(c({},e.appointment),n),t.next=12;break;case 9:t.prev=9,t.t0=t.catch(2),e.formError=t.t0;case 12:case"end":return t.stop()}}),t,null,[[2,9]])})))()},methods:{isFormValid:function(){var e=this.$refs.form;return e.$v.$touch(),!e.$v.$invalid},resetAppointment:(0,o.RE)("appointments/reset"),updateAppointment:function(){var e=this;return f(i().mark((function t(){return i().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e.formError="",!e.isFormValid()){t.next=14;break}return t.prev=2,t.next=5,a.hi.post("appointment/update",e.fields);case 5:return t.sent,t.next=8,e.resetAppointment();case 8:window.location.assign(e.$iandeUrl("appointment/list")),t.next=14;break;case 11:t.prev=11,t.t0=t.catch(2),e.formError=t.t0;case 14:case"end":return t.stop()}}),t,null,[[2,11]])})))()}}};const d=(0,n(1900).Z)(l,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("article",{staticClass:"mt-lg"},[n("div",{staticClass:"iande-container narrow iande-stack stack-lg"},[n("form",{staticClass:"iande-form iande-stack stack-lg",on:{submit:function(t){return t.preventDefault(),e.updateAppointment.apply(null,arguments)}}},[1===e.screen?n("SelectExhibition",{ref:"form"}):2===e.screen?n("GroupsDate",{ref:"form"}):3===e.screen?n("GroupsAdditionalInfo",{ref:"form"}):4===e.screen?n("SelectInstitution",{ref:"form",attrs:{canAddInstitution:!1}}):6===e.screen?n("AdditionalData",{ref:"form"}):e._e(),e._v(" "),e.formError?n("div",{staticClass:"iande-form-error"},[n("span",[e._v(e._s(e.__(e.formError,"iande")))])]):e._e(),e._v(" "),n("button",{staticClass:"iande-button primary",attrs:{type:"submit"}},[e._v("\n                "+e._s(e.__("Salvar","iande"))+"\n            ")])],1)])])}),[],!1,null,null,null).exports}}]);
     1"use strict";(self.webpackChunkiande_plugin=self.webpackChunkiande_plugin||[]).push([[365],{883:(e,t,n)=>{n.r(t),n.d(t,{default:()=>d});var r=n(7757),i=n.n(r),o=n(7033),a=n(1870);function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function c(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s(Object(n),!0).forEach((function(t){u(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function u(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function p(e,t,n,r,i,o,a){try{var s=e[o](a),c=s.value}catch(e){return void n(e)}s.done?t(c):Promise.resolve(c).then(r,i)}function f(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var o=e.apply(t,n);function a(e){p(o,r,i,a,s,"next",e)}function s(e){p(o,r,i,a,s,"throw",e)}a(void 0)}))}}const l={name:"EditAppointmentPage",components:{AdditionalData:function(){return n.e(296).then(n.bind(n,1929))},GroupsAdditionalInfo:function(){return n.e(267).then(n.bind(n,6320))},GroupsDate:function(){return n.e(689).then(n.bind(n,9779))},SelectExhibition:function(){return n.e(736).then(n.bind(n,1922))},SelectInstitution:function(){return n.e(938).then(n.bind(n,8462))}},data:function(){return{formError:"",screen:1}},computed:{appointment:(0,o.Z_)("appointments/current"),fields:(0,o.U2)("appointments/filteredFields")},beforeMount:function(){var e=this;return f(i().mark((function t(){var n;return i().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(a.qs.has("screen")&&(e.screen=Number(a.qs.get("screen"))),!a.qs.has("ID")){t.next=12;break}return t.prev=2,t.next=5,a.hi.get("appointment/get",{ID:Number(a.qs.get("ID"))});case 5:n=t.sent,e.appointment=c(c({},e.appointment),n),t.next=12;break;case 9:t.prev=9,t.t0=t.catch(2),e.formError=t.t0;case 12:case"end":return t.stop()}}),t,null,[[2,9]])})))()},methods:{isFormValid:function(){var e=this.$refs.form;return e.$v.$touch(),!e.$v.$invalid},resetAppointment:(0,o.RE)("appointments/reset"),updateAppointment:function(){var e=this;return f(i().mark((function t(){return i().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e.formError="",!e.isFormValid()){t.next=14;break}return t.prev=2,t.next=5,a.hi.post("appointment/update",e.fields);case 5:return t.sent,t.next=8,e.resetAppointment();case 8:window.location.assign(e.$iandeUrl("appointment/list")),t.next=14;break;case 11:t.prev=11,t.t0=t.catch(2),e.formError=t.t0;case 14:case"end":return t.stop()}}),t,null,[[2,11]])})))()}}};const d=(0,n(1900).Z)(l,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("article",{staticClass:"mt-lg"},[n("div",{staticClass:"iande-container narrow iande-stack stack-lg"},[n("form",{staticClass:"iande-form iande-stack stack-lg",on:{submit:function(t){return t.preventDefault(),e.updateAppointment.apply(null,arguments)}}},[1===e.screen?n("SelectExhibition",{ref:"form"}):2===e.screen?n("GroupsDate",{ref:"form"}):3===e.screen?n("GroupsAdditionalInfo",{ref:"form"}):4===e.screen?n("SelectInstitution",{ref:"form",attrs:{canAddInstitution:!1}}):6===e.screen?n("AdditionalData",{ref:"form"}):e._e(),e._v(" "),e.formError?n("div",{staticClass:"iande-form-error"},[n("span",[e._v(e._s(e.__(e.formError,"iande")))])]):e._e(),e._v(" "),n("button",{staticClass:"iande-button primary",attrs:{type:"submit"}},[e._v("\n                "+e._s(e.__("Salvar","iande"))+"\n            ")])],1)])])}),[],!1,null,null,null).exports}}]);
  • iande/trunk/dist/groups-date-step.js

    r2698000 r2715435  
    1 (self.webpackChunkiande_plugin=self.webpackChunkiande_plugin||[]).push([[689],{7750:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});const r={name:"Label",props:{for:{type:String,required:!0},side:{type:String,default:""}}}},1234:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});const r={components:{FormError:n(1968).Z},model:{prop:"value",event:"updateValue"},props:{fieldClass:{type:String,default:null},id:{type:String,required:!0},v:{type:Object,required:!0},value:{type:null,required:!0}},computed:{errorId:function(){return"".concat(this.id,"__error")},modelValue:{get:function(){return this.value},set:function(e){this.$emit("updateValue",e)}}}}},2974:(e,t,n)=>{"use strict";n.d(t,{FJ:()=>h,S4:()=>c,ZS:()=>d});var r=n(9490),i=n(1870);function a(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return o(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,s=!0,u=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return s=e.done,e},e:function(e){u=!0,a=e},f:function(){try{s||null==n.return||n.return()}finally{if(u)throw a}}}}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var s=["sunday","monday","tuesday","wednesday","thursday","friday","saturday","sunday"];function u(e){return e&&e.from&&e.to&&e.from<e.to}function l(e){return e instanceof r.ou?e:e instanceof Date?r.ou.fromJSDate(e):r.ou.fromFormat(e,"HH:mm")}function c(e,t){var n,o=function(e){return e instanceof r.ou?e:e instanceof Date?r.ou.fromJSDate(e):r.ou.fromISO(e)}(t),l=o.toISODate(),c=a((0,i.qo)(e.exception));try{for(c.s();!(n=c.n()).done;){var d=n.value;if(l>=d.date_from&&(!d.date_to||l<=d.date_to))return((0,i.qo)(d.exceptions)||[]).filter(u)}}catch(e){c.e(e)}finally{c.f()}return l>=e.date_from&&(!e.date_to||l<=e.date_to)?((0,i.qo)(e[s[o.weekday]])||[]).filter(u):[]}function d(e,t){var n=l(t);return r.Xp.fromDateTimes(n,n.plus({minutes:e.duration}))}function h(e,t){var n={minutes:e.duration};return c(e,t).flatMap((function(t){var i=l(t.from),a=l(t.to);return r.Xp.fromDateTimes(i,a).splitBy({minutes:e.grid}).map((function(e){return e.set({end:e.start.plus(n)})})).filter((function(e){return e.end<=a}))}))}},2050:(e,t,n)=>{"use strict";n.d(t,{XV:()=>d,hT:()=>s,k:()=>u,m7:()=>l,s3:()=>o,x$:()=>a});var r=n(9490),i=n(379),a=i.BM.regex("cep",/^\d{8}$/),o=i.BM.regex("cnpj",/^\d{14}$/);function s(e){return!e||"string"==typeof e&&r.ou.fromISO(e).isValid}function u(e){return!e}var l=i.BM.regex("phone",/^\d{10,11}$/),c=/^([01][0-9]|2[0-3]):[0-5][0-9]$/;function d(e){return!e||"string"==typeof e&&Boolean(e.match(c))}},9490:(e,t)=>{"use strict";function n(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function r(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}function i(){return i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i.apply(this,arguments)}function a(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,s(e,t)}function o(e){return o=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},o(e)}function s(e,t){return s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},s(e,t)}function u(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function l(e,t,n){return l=u()?Reflect.construct:function(e,t,n){var r=[null];r.push.apply(r,t);var i=new(Function.bind.apply(e,r));return n&&s(i,n.prototype),i},l.apply(null,arguments)}function c(e){var t="function"==typeof Map?new Map:void 0;return c=function(e){if(null===e||(n=e,-1===Function.toString.call(n).indexOf("[native code]")))return e;var n;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,r)}function r(){return l(e,arguments,o(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),s(r,e)},c(e)}function d(e,t){if(null==e)return{};var n,r,i={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}function h(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function f(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return h(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?h(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var m=function(e){function t(){return e.apply(this,arguments)||this}return a(t,e),t}(c(Error)),p=function(e){function t(t){return e.call(this,"Invalid DateTime: "+t.toMessage())||this}return a(t,e),t}(m),v=function(e){function t(t){return e.call(this,"Invalid Interval: "+t.toMessage())||this}return a(t,e),t}(m),y=function(e){function t(t){return e.call(this,"Invalid Duration: "+t.toMessage())||this}return a(t,e),t}(m),g=function(e){function t(){return e.apply(this,arguments)||this}return a(t,e),t}(m),b=function(e){function t(t){return e.call(this,"Invalid unit "+t)||this}return a(t,e),t}(m),w=function(e){function t(){return e.apply(this,arguments)||this}return a(t,e),t}(m),D=function(e){function t(){return e.call(this,"Zone is an abstract class")||this}return a(t,e),t}(m),_="numeric",k="short",A="long",S={year:_,month:_,day:_},C={year:_,month:k,day:_},O={year:_,month:k,day:_,weekday:k},M={year:_,month:A,day:_},T={year:_,month:A,day:_,weekday:A},x={hour:_,minute:_},E={hour:_,minute:_,second:_},N={hour:_,minute:_,second:_,timeZoneName:k},V={hour:_,minute:_,second:_,timeZoneName:A},j={hour:_,minute:_,hourCycle:"h23"},I={hour:_,minute:_,second:_,hourCycle:"h23"},B={hour:_,minute:_,second:_,hourCycle:"h23",timeZoneName:k},F={hour:_,minute:_,second:_,hourCycle:"h23",timeZoneName:A},P={year:_,month:_,day:_,hour:_,minute:_},Y={year:_,month:_,day:_,hour:_,minute:_,second:_},Z={year:_,month:k,day:_,hour:_,minute:_},L={year:_,month:k,day:_,hour:_,minute:_,second:_},U={year:_,month:k,day:_,weekday:k,hour:_,minute:_},q={year:_,month:A,day:_,hour:_,minute:_,timeZoneName:k},z={year:_,month:A,day:_,hour:_,minute:_,second:_,timeZoneName:k},$={year:_,month:A,day:_,weekday:A,hour:_,minute:_,timeZoneName:A},R={year:_,month:A,day:_,weekday:A,hour:_,minute:_,second:_,timeZoneName:A};function H(e){return void 0===e}function W(e){return"number"==typeof e}function J(e){return"number"==typeof e&&e%1==0}function G(){try{return"undefined"!=typeof Intl&&!!Intl.RelativeTimeFormat}catch(e){return!1}}function X(e,t,n){if(0!==e.length)return e.reduce((function(e,r){var i=[t(r),r];return e&&n(e[0],i[0])===e[0]?e:i}),null)[1]}function Q(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function K(e,t,n){return J(e)&&e>=t&&e<=n}function ee(e,t){return void 0===t&&(t=2),e<0?"-"+(""+-e).padStart(t,"0"):(""+e).padStart(t,"0")}function te(e){return H(e)||null===e||""===e?void 0:parseInt(e,10)}function ne(e){return H(e)||null===e||""===e?void 0:parseFloat(e)}function re(e){if(!H(e)&&null!==e&&""!==e){var t=1e3*parseFloat("0."+e);return Math.floor(t)}}function ie(e,t,n){void 0===n&&(n=!1);var r=Math.pow(10,t);return(n?Math.trunc:Math.round)(e*r)/r}function ae(e){return e%4==0&&(e%100!=0||e%400==0)}function oe(e){return ae(e)?366:365}function se(e,t){var n=function(e,t){return e-t*Math.floor(e/t)}(t-1,12)+1;return 2===n?ae(e+(t-n)/12)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][n-1]}function ue(e){var t=Date.UTC(e.year,e.month-1,e.day,e.hour,e.minute,e.second,e.millisecond);return e.year<100&&e.year>=0&&(t=new Date(t)).setUTCFullYear(t.getUTCFullYear()-1900),+t}function le(e){var t=(e+Math.floor(e/4)-Math.floor(e/100)+Math.floor(e/400))%7,n=e-1,r=(n+Math.floor(n/4)-Math.floor(n/100)+Math.floor(n/400))%7;return 4===t||3===r?53:52}function ce(e){return e>99?e:e>60?1900+e:2e3+e}function de(e,t,n,r){void 0===r&&(r=null);var a=new Date(e),o={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};r&&(o.timeZone=r);var s=i({timeZoneName:t},o),u=new Intl.DateTimeFormat(n,s).formatToParts(a).find((function(e){return"timezonename"===e.type.toLowerCase()}));return u?u.value:null}function he(e,t){var n=parseInt(e,10);Number.isNaN(n)&&(n=0);var r=parseInt(t,10)||0;return 60*n+(n<0||Object.is(n,-0)?-r:r)}function fe(e){var t=Number(e);if("boolean"==typeof e||""===e||Number.isNaN(t))throw new w("Invalid unit value "+e);return t}function me(e,t){var n={};for(var r in e)if(Q(e,r)){var i=e[r];if(null==i)continue;n[t(r)]=fe(i)}return n}function pe(e,t){var n=Math.trunc(Math.abs(e/60)),r=Math.trunc(Math.abs(e%60)),i=e>=0?"+":"-";switch(t){case"short":return""+i+ee(n,2)+":"+ee(r,2);case"narrow":return""+i+n+(r>0?":"+r:"");case"techie":return""+i+ee(n,2)+ee(r,2);default:throw new RangeError("Value format "+t+" is out of range for property format")}}function ve(e){return function(e,t){return t.reduce((function(t,n){return t[n]=e[n],t}),{})}(e,["hour","minute","second","millisecond"])}var ye=/[A-Za-z_+-]{1,256}(:?\/[A-Za-z0-9_+-]{1,256}(\/[A-Za-z0-9_+-]{1,256})?)?/,ge=["January","February","March","April","May","June","July","August","September","October","November","December"],be=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],we=["J","F","M","A","M","J","J","A","S","O","N","D"];function De(e){switch(e){case"narrow":return[].concat(we);case"short":return[].concat(be);case"long":return[].concat(ge);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}}var _e=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],ke=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],Ae=["M","T","W","T","F","S","S"];function Se(e){switch(e){case"narrow":return[].concat(Ae);case"short":return[].concat(ke);case"long":return[].concat(_e);case"numeric":return["1","2","3","4","5","6","7"];default:return null}}var Ce=["AM","PM"],Oe=["Before Christ","Anno Domini"],Me=["BC","AD"],Te=["B","A"];function xe(e){switch(e){case"narrow":return[].concat(Te);case"short":return[].concat(Me);case"long":return[].concat(Oe);default:return null}}function Ee(e,t){for(var n,r="",i=f(e);!(n=i()).done;){var a=n.value;a.literal?r+=a.val:r+=t(a.val)}return r}var Ne={D:S,DD:C,DDD:M,DDDD:T,t:x,tt:E,ttt:N,tttt:V,T:j,TT:I,TTT:B,TTTT:F,f:P,ff:Z,fff:q,ffff:$,F:Y,FF:L,FFF:z,FFFF:R},Ve=function(){function e(e,t){this.opts=t,this.loc=e,this.systemLoc=null}e.create=function(t,n){return void 0===n&&(n={}),new e(t,n)},e.parseFormat=function(e){for(var t=null,n="",r=!1,i=[],a=0;a<e.length;a++){var o=e.charAt(a);"'"===o?(n.length>0&&i.push({literal:r,val:n}),t=null,n="",r=!r):r||o===t?n+=o:(n.length>0&&i.push({literal:!1,val:n}),n=o,t=o)}return n.length>0&&i.push({literal:r,val:n}),i},e.macroTokenToFormatOpts=function(e){return Ne[e]};var t=e.prototype;return t.formatWithSystemDefault=function(e,t){return null===this.systemLoc&&(this.systemLoc=this.loc.redefaultToSystem()),this.systemLoc.dtFormatter(e,i({},this.opts,t)).format()},t.formatDateTime=function(e,t){return void 0===t&&(t={}),this.loc.dtFormatter(e,i({},this.opts,t)).format()},t.formatDateTimeParts=function(e,t){return void 0===t&&(t={}),this.loc.dtFormatter(e,i({},this.opts,t)).formatToParts()},t.resolvedOptions=function(e,t){return void 0===t&&(t={}),this.loc.dtFormatter(e,i({},this.opts,t)).resolvedOptions()},t.num=function(e,t){if(void 0===t&&(t=0),this.opts.forceSimple)return ee(e,t);var n=i({},this.opts);return t>0&&(n.padTo=t),this.loc.numberFormatter(n).format(e)},t.formatDateTimeFromString=function(t,n){var r=this,i="en"===this.loc.listingMode(),a=this.loc.outputCalendar&&"gregory"!==this.loc.outputCalendar,o=function(e,n){return r.loc.extract(t,e,n)},s=function(e){return t.isOffsetFixed&&0===t.offset&&e.allowZ?"Z":t.isValid?t.zone.formatOffset(t.ts,e.format):""},u=function(){return i?function(e){return Ce[e.hour<12?0:1]}(t):o({hour:"numeric",hourCycle:"h12"},"dayperiod")},l=function(e,n){return i?function(e,t){return De(t)[e.month-1]}(t,e):o(n?{month:e}:{month:e,day:"numeric"},"month")},c=function(e,n){return i?function(e,t){return Se(t)[e.weekday-1]}(t,e):o(n?{weekday:e}:{weekday:e,month:"long",day:"numeric"},"weekday")},d=function(e){return i?function(e,t){return xe(t)[e.year<0?0:1]}(t,e):o({era:e},"era")};return Ee(e.parseFormat(n),(function(n){switch(n){case"S":return r.num(t.millisecond);case"u":case"SSS":return r.num(t.millisecond,3);case"s":return r.num(t.second);case"ss":return r.num(t.second,2);case"uu":return r.num(Math.floor(t.millisecond/10),2);case"uuu":return r.num(Math.floor(t.millisecond/100));case"m":return r.num(t.minute);case"mm":return r.num(t.minute,2);case"h":return r.num(t.hour%12==0?12:t.hour%12);case"hh":return r.num(t.hour%12==0?12:t.hour%12,2);case"H":return r.num(t.hour);case"HH":return r.num(t.hour,2);case"Z":return s({format:"narrow",allowZ:r.opts.allowZ});case"ZZ":return s({format:"short",allowZ:r.opts.allowZ});case"ZZZ":return s({format:"techie",allowZ:r.opts.allowZ});case"ZZZZ":return t.zone.offsetName(t.ts,{format:"short",locale:r.loc.locale});case"ZZZZZ":return t.zone.offsetName(t.ts,{format:"long",locale:r.loc.locale});case"z":return t.zoneName;case"a":return u();case"d":return a?o({day:"numeric"},"day"):r.num(t.day);case"dd":return a?o({day:"2-digit"},"day"):r.num(t.day,2);case"c":case"E":return r.num(t.weekday);case"ccc":return c("short",!0);case"cccc":return c("long",!0);case"ccccc":return c("narrow",!0);case"EEE":return c("short",!1);case"EEEE":return c("long",!1);case"EEEEE":return c("narrow",!1);case"L":return a?o({month:"numeric",day:"numeric"},"month"):r.num(t.month);case"LL":return a?o({month:"2-digit",day:"numeric"},"month"):r.num(t.month,2);case"LLL":return l("short",!0);case"LLLL":return l("long",!0);case"LLLLL":return l("narrow",!0);case"M":return a?o({month:"numeric"},"month"):r.num(t.month);case"MM":return a?o({month:"2-digit"},"month"):r.num(t.month,2);case"MMM":return l("short",!1);case"MMMM":return l("long",!1);case"MMMMM":return l("narrow",!1);case"y":return a?o({year:"numeric"},"year"):r.num(t.year);case"yy":return a?o({year:"2-digit"},"year"):r.num(t.year.toString().slice(-2),2);case"yyyy":return a?o({year:"numeric"},"year"):r.num(t.year,4);case"yyyyyy":return a?o({year:"numeric"},"year"):r.num(t.year,6);case"G":return d("short");case"GG":return d("long");case"GGGGG":return d("narrow");case"kk":return r.num(t.weekYear.toString().slice(-2),2);case"kkkk":return r.num(t.weekYear,4);case"W":return r.num(t.weekNumber);case"WW":return r.num(t.weekNumber,2);case"o":return r.num(t.ordinal);case"ooo":return r.num(t.ordinal,3);case"q":return r.num(t.quarter);case"qq":return r.num(t.quarter,2);case"X":return r.num(Math.floor(t.ts/1e3));case"x":return r.num(t.ts);default:return function(n){var i=e.macroTokenToFormatOpts(n);return i?r.formatWithSystemDefault(t,i):n}(n)}}))},t.formatDurationFromString=function(t,n){var r,i=this,a=function(e){switch(e[0]){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":return"hour";case"d":return"day";case"M":return"month";case"y":return"year";default:return null}},o=e.parseFormat(n),s=o.reduce((function(e,t){var n=t.literal,r=t.val;return n?e:e.concat(r)}),[]),u=t.shiftTo.apply(t,s.map(a).filter((function(e){return e})));return Ee(o,(r=u,function(e){var t=a(e);return t?i.num(r.get(t),e.length):e}))},e}(),je=function(){function e(e,t){this.reason=e,this.explanation=t}return e.prototype.toMessage=function(){return this.explanation?this.reason+": "+this.explanation:this.reason},e}(),Ie=function(){function e(){}var t=e.prototype;return t.offsetName=function(e,t){throw new D},t.formatOffset=function(e,t){throw new D},t.offset=function(e){throw new D},t.equals=function(e){throw new D},r(e,[{key:"type",get:function(){throw new D}},{key:"name",get:function(){throw new D}},{key:"isUniversal",get:function(){throw new D}},{key:"isValid",get:function(){throw new D}}]),e}(),Be=null,Fe=function(e){function t(){return e.apply(this,arguments)||this}a(t,e);var n=t.prototype;return n.offsetName=function(e,t){return de(e,t.format,t.locale)},n.formatOffset=function(e,t){return pe(this.offset(e),t)},n.offset=function(e){return-new Date(e).getTimezoneOffset()},n.equals=function(e){return"system"===e.type},r(t,[{key:"type",get:function(){return"system"}},{key:"name",get:function(){return(new Intl.DateTimeFormat).resolvedOptions().timeZone}},{key:"isUniversal",get:function(){return!1}},{key:"isValid",get:function(){return!0}}],[{key:"instance",get:function(){return null===Be&&(Be=new t),Be}}]),t}(Ie);RegExp("^"+ye.source+"$");var Pe={};var Ye={year:0,month:1,day:2,hour:3,minute:4,second:5};var Ze={},Le=function(e){function t(n){var r;return(r=e.call(this)||this).zoneName=n,r.valid=t.isValidZone(n),r}a(t,e),t.create=function(e){return Ze[e]||(Ze[e]=new t(e)),Ze[e]},t.resetCache=function(){Ze={},Pe={}},t.isValidSpecifier=function(e){return this.isValidZone(e)},t.isValidZone=function(e){if(!e)return!1;try{return new Intl.DateTimeFormat("en-US",{timeZone:e}).format(),!0}catch(e){return!1}};var n=t.prototype;return n.offsetName=function(e,t){return de(e,t.format,t.locale,this.name)},n.formatOffset=function(e,t){return pe(this.offset(e),t)},n.offset=function(e){var t=new Date(e);if(isNaN(t))return NaN;var n,r=(n=this.name,Pe[n]||(Pe[n]=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:n,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"})),Pe[n]),i=r.formatToParts?function(e,t){for(var n=e.formatToParts(t),r=[],i=0;i<n.length;i++){var a=n[i],o=a.type,s=a.value,u=Ye[o];H(u)||(r[u]=parseInt(s,10))}return r}(r,t):function(e,t){var n=e.format(t).replace(/\u200E/g,""),r=/(\d+)\/(\d+)\/(\d+),? (\d+):(\d+):(\d+)/.exec(n),i=r[1],a=r[2];return[r[3],i,a,r[4],r[5],r[6]]}(r,t),a=i[0],o=i[1],s=i[2],u=i[3],l=+t,c=l%1e3;return(ue({year:a,month:o,day:s,hour:24===u?0:u,minute:i[4],second:i[5],millisecond:0})-(l-=c>=0?c:1e3+c))/6e4},n.equals=function(e){return"iana"===e.type&&e.name===this.name},r(t,[{key:"type",get:function(){return"iana"}},{key:"name",get:function(){return this.zoneName}},{key:"isUniversal",get:function(){return!1}},{key:"isValid",get:function(){return this.valid}}]),t}(Ie),Ue=null,qe=function(e){function t(t){var n;return(n=e.call(this)||this).fixed=t,n}a(t,e),t.instance=function(e){return 0===e?t.utcInstance:new t(e)},t.parseSpecifier=function(e){if(e){var n=e.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(n)return new t(he(n[1],n[2]))}return null};var n=t.prototype;return n.offsetName=function(){return this.name},n.formatOffset=function(e,t){return pe(this.fixed,t)},n.offset=function(){return this.fixed},n.equals=function(e){return"fixed"===e.type&&e.fixed===this.fixed},r(t,[{key:"type",get:function(){return"fixed"}},{key:"name",get:function(){return 0===this.fixed?"UTC":"UTC"+pe(this.fixed,"narrow")}},{key:"isUniversal",get:function(){return!0}},{key:"isValid",get:function(){return!0}}],[{key:"utcInstance",get:function(){return null===Ue&&(Ue=new t(0)),Ue}}]),t}(Ie),ze=function(e){function t(t){var n;return(n=e.call(this)||this).zoneName=t,n}a(t,e);var n=t.prototype;return n.offsetName=function(){return null},n.formatOffset=function(){return""},n.offset=function(){return NaN},n.equals=function(){return!1},r(t,[{key:"type",get:function(){return"invalid"}},{key:"name",get:function(){return this.zoneName}},{key:"isUniversal",get:function(){return!1}},{key:"isValid",get:function(){return!1}}]),t}(Ie);function $e(e,t){if(H(e)||null===e)return t;if(e instanceof Ie)return e;if("string"==typeof e){var n=e.toLowerCase();return"local"===n||"system"===n?t:"utc"===n||"gmt"===n?qe.utcInstance:qe.parseSpecifier(n)||Le.create(e)}return W(e)?qe.instance(e):"object"==typeof e&&e.offset&&"number"==typeof e.offset?e:new ze(e)}var Re,He=function(){return Date.now()},We="system",Je=null,Ge=null,Xe=null,Qe=function(){function e(){}return e.resetCaches=function(){dt.resetCache(),Le.resetCache()},r(e,null,[{key:"now",get:function(){return He},set:function(e){He=e}},{key:"defaultZone",get:function(){return $e(We,Fe.instance)},set:function(e){We=e}},{key:"defaultLocale",get:function(){return Je},set:function(e){Je=e}},{key:"defaultNumberingSystem",get:function(){return Ge},set:function(e){Ge=e}},{key:"defaultOutputCalendar",get:function(){return Xe},set:function(e){Xe=e}},{key:"throwOnInvalid",get:function(){return Re},set:function(e){Re=e}}]),e}(),Ke=["base"],et=["padTo","floor"],tt={};var nt={};function rt(e,t){void 0===t&&(t={});var n=JSON.stringify([e,t]),r=nt[n];return r||(r=new Intl.DateTimeFormat(e,t),nt[n]=r),r}var it={};var at={};var ot=null;function st(e,t,n,r,i){var a=e.listingMode(n);return"error"===a?null:"en"===a?r(t):i(t)}var ut=function(){function e(e,t,n){this.padTo=n.padTo||0,this.floor=n.floor||!1,n.padTo,n.floor;var r=d(n,et);if(!t||Object.keys(r).length>0){var a=i({useGrouping:!1},n);n.padTo>0&&(a.minimumIntegerDigits=n.padTo),this.inf=function(e,t){void 0===t&&(t={});var n=JSON.stringify([e,t]),r=it[n];return r||(r=new Intl.NumberFormat(e,t),it[n]=r),r}(e,a)}}return e.prototype.format=function(e){if(this.inf){var t=this.floor?Math.floor(e):e;return this.inf.format(t)}return ee(this.floor?Math.floor(e):ie(e,3),this.padTo)},e}(),lt=function(){function e(e,t,n){var r;if(this.opts=n,e.zone.isUniversal){var a=e.offset/60*-1,o=a>=0?"Etc/GMT+"+a:"Etc/GMT"+a;0!==e.offset&&Le.create(o).valid?(r=o,this.dt=e):(r="UTC",n.timeZoneName?this.dt=e:this.dt=0===e.offset?e:mr.fromMillis(e.ts+60*e.offset*1e3))}else"system"===e.zone.type?this.dt=e:(this.dt=e,r=e.zone.name);var s=i({},this.opts);r&&(s.timeZone=r),this.dtf=rt(t,s)}var t=e.prototype;return t.format=function(){return this.dtf.format(this.dt.toJSDate())},t.formatToParts=function(){return this.dtf.formatToParts(this.dt.toJSDate())},t.resolvedOptions=function(){return this.dtf.resolvedOptions()},e}(),ct=function(){function e(e,t,n){this.opts=i({style:"long"},n),!t&&G()&&(this.rtf=function(e,t){void 0===t&&(t={});var n=t;n.base;var r=d(n,Ke),i=JSON.stringify([e,r]),a=at[i];return a||(a=new Intl.RelativeTimeFormat(e,t),at[i]=a),a}(e,n))}var t=e.prototype;return t.format=function(e,t){return this.rtf?this.rtf.format(e,t):function(e,t,n,r){void 0===n&&(n="always"),void 0===r&&(r=!1);var i={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."]},a=-1===["hours","minutes","seconds"].indexOf(e);if("auto"===n&&a){var o="days"===e;switch(t){case 1:return o?"tomorrow":"next "+i[e][0];case-1:return o?"yesterday":"last "+i[e][0];case 0:return o?"today":"this "+i[e][0]}}var s=Object.is(t,-0)||t<0,u=Math.abs(t),l=1===u,c=i[e],d=r?l?c[1]:c[2]||c[1]:l?i[e][0]:e;return s?u+" "+d+" ago":"in "+u+" "+d}(t,e,this.opts.numeric,"long"!==this.opts.style)},t.formatToParts=function(e,t){return this.rtf?this.rtf.formatToParts(e,t):[]},e}(),dt=function(){function e(e,t,n,r){var i=function(e){var t=e.indexOf("-u-");if(-1===t)return[e];var n,r=e.substring(0,t);try{n=rt(e).resolvedOptions()}catch(e){n=rt(r).resolvedOptions()}var i=n;return[r,i.numberingSystem,i.calendar]}(e),a=i[0],o=i[1],s=i[2];this.locale=a,this.numberingSystem=t||o||null,this.outputCalendar=n||s||null,this.intl=function(e,t,n){return n||t?(e+="-u",n&&(e+="-ca-"+n),t&&(e+="-nu-"+t),e):e}(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=r,this.fastNumbersCached=null}e.fromOpts=function(t){return e.create(t.locale,t.numberingSystem,t.outputCalendar,t.defaultToEN)},e.create=function(t,n,r,i){void 0===i&&(i=!1);var a=t||Qe.defaultLocale;return new e(a||(i?"en-US":ot||(ot=(new Intl.DateTimeFormat).resolvedOptions().locale)),n||Qe.defaultNumberingSystem,r||Qe.defaultOutputCalendar,a)},e.resetCache=function(){ot=null,nt={},it={},at={}},e.fromObject=function(t){var n=void 0===t?{}:t,r=n.locale,i=n.numberingSystem,a=n.outputCalendar;return e.create(r,i,a)};var t=e.prototype;return t.listingMode=function(){var e=this.isEnglish(),t=!(null!==this.numberingSystem&&"latn"!==this.numberingSystem||null!==this.outputCalendar&&"gregory"!==this.outputCalendar);return e&&t?"en":"intl"},t.clone=function(t){return t&&0!==Object.getOwnPropertyNames(t).length?e.create(t.locale||this.specifiedLocale,t.numberingSystem||this.numberingSystem,t.outputCalendar||this.outputCalendar,t.defaultToEN||!1):this},t.redefaultToEN=function(e){return void 0===e&&(e={}),this.clone(i({},e,{defaultToEN:!0}))},t.redefaultToSystem=function(e){return void 0===e&&(e={}),this.clone(i({},e,{defaultToEN:!1}))},t.months=function(e,t,n){var r=this;return void 0===t&&(t=!1),void 0===n&&(n=!0),st(this,e,n,De,(function(){var n=t?{month:e,day:"numeric"}:{month:e},i=t?"format":"standalone";return r.monthsCache[i][e]||(r.monthsCache[i][e]=function(e){for(var t=[],n=1;n<=12;n++){var r=mr.utc(2016,n,1);t.push(e(r))}return t}((function(e){return r.extract(e,n,"month")}))),r.monthsCache[i][e]}))},t.weekdays=function(e,t,n){var r=this;return void 0===t&&(t=!1),void 0===n&&(n=!0),st(this,e,n,Se,(function(){var n=t?{weekday:e,year:"numeric",month:"long",day:"numeric"}:{weekday:e},i=t?"format":"standalone";return r.weekdaysCache[i][e]||(r.weekdaysCache[i][e]=function(e){for(var t=[],n=1;n<=7;n++){var r=mr.utc(2016,11,13+n);t.push(e(r))}return t}((function(e){return r.extract(e,n,"weekday")}))),r.weekdaysCache[i][e]}))},t.meridiems=function(e){var t=this;return void 0===e&&(e=!0),st(this,void 0,e,(function(){return Ce}),(function(){if(!t.meridiemCache){var e={hour:"numeric",hourCycle:"h12"};t.meridiemCache=[mr.utc(2016,11,13,9),mr.utc(2016,11,13,19)].map((function(n){return t.extract(n,e,"dayperiod")}))}return t.meridiemCache}))},t.eras=function(e,t){var n=this;return void 0===t&&(t=!0),st(this,e,t,xe,(function(){var t={era:e};return n.eraCache[e]||(n.eraCache[e]=[mr.utc(-40,1,1),mr.utc(2017,1,1)].map((function(e){return n.extract(e,t,"era")}))),n.eraCache[e]}))},t.extract=function(e,t,n){var r=this.dtFormatter(e,t).formatToParts().find((function(e){return e.type.toLowerCase()===n}));return r?r.value:null},t.numberFormatter=function(e){return void 0===e&&(e={}),new ut(this.intl,e.forceSimple||this.fastNumbers,e)},t.dtFormatter=function(e,t){return void 0===t&&(t={}),new lt(e,this.intl,t)},t.relFormatter=function(e){return void 0===e&&(e={}),new ct(this.intl,this.isEnglish(),e)},t.listFormatter=function(e){return void 0===e&&(e={}),function(e,t){void 0===t&&(t={});var n=JSON.stringify([e,t]),r=tt[n];return r||(r=new Intl.ListFormat(e,t),tt[n]=r),r}(this.intl,e)},t.isEnglish=function(){return"en"===this.locale||"en-us"===this.locale.toLowerCase()||new Intl.DateTimeFormat(this.intl).resolvedOptions().locale.startsWith("en-us")},t.equals=function(e){return this.locale===e.locale&&this.numberingSystem===e.numberingSystem&&this.outputCalendar===e.outputCalendar},r(e,[{key:"fastNumbers",get:function(){var e;return null==this.fastNumbersCached&&(this.fastNumbersCached=(!(e=this).numberingSystem||"latn"===e.numberingSystem)&&("latn"===e.numberingSystem||!e.locale||e.locale.startsWith("en")||"latn"===new Intl.DateTimeFormat(e.intl).resolvedOptions().numberingSystem)),this.fastNumbersCached}}]),e}();function ht(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=t.reduce((function(e,t){return e+t.source}),"");return RegExp("^"+r+"$")}function ft(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){return t.reduce((function(t,n){var r=t[0],a=t[1],o=t[2],s=n(e,o),u=s[0],l=s[1],c=s[2];return[i({},r,u),a||l,c]}),[{},null,1]).slice(0,2)}}function mt(e){if(null==e)return[null,null];for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];for(var i=0,a=n;i<a.length;i++){var o=a[i],s=o[0],u=o[1],l=s.exec(e);if(l)return u(l)}return[null,null]}function pt(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e,n){var r,i={};for(r=0;r<t.length;r++)i[t[r]]=te(e[n+r]);return[i,null,n+r]}}var vt=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,yt=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,gt=RegExp(""+yt.source+vt.source+"?"),bt=RegExp("(?:T"+gt.source+")?"),wt=pt("weekYear","weekNumber","weekDay"),Dt=pt("year","ordinal"),_t=RegExp(yt.source+" ?(?:"+vt.source+"|("+ye.source+"))?"),kt=RegExp("(?: "+_t.source+")?");function At(e,t,n){var r=e[t];return H(r)?n:te(r)}function St(e,t){return[{year:At(e,t),month:At(e,t+1,1),day:At(e,t+2,1)},null,t+3]}function Ct(e,t){return[{hours:At(e,t,0),minutes:At(e,t+1,0),seconds:At(e,t+2,0),milliseconds:re(e[t+3])},null,t+4]}function Ot(e,t){var n=!e[t]&&!e[t+1],r=he(e[t+1],e[t+2]);return[{},n?null:qe.instance(r),t+3]}function Mt(e,t){return[{},e[t]?Le.create(e[t]):null,t+1]}var Tt=RegExp("^T?"+yt.source+"$"),xt=/^-?P(?:(?:(-?\d{1,9}(?:\.\d{1,9})?)Y)?(?:(-?\d{1,9}(?:\.\d{1,9})?)M)?(?:(-?\d{1,9}(?:\.\d{1,9})?)W)?(?:(-?\d{1,9}(?:\.\d{1,9})?)D)?(?:T(?:(-?\d{1,9}(?:\.\d{1,9})?)H)?(?:(-?\d{1,9}(?:\.\d{1,9})?)M)?(?:(-?\d{1,20})(?:[.,](-?\d{1,9}))?S)?)?)$/;function Et(e){var t=e[0],n=e[1],r=e[2],i=e[3],a=e[4],o=e[5],s=e[6],u=e[7],l=e[8],c="-"===t[0],d=u&&"-"===u[0],h=function(e,t){return void 0===t&&(t=!1),void 0!==e&&(t||e&&c)?-e:e};return[{years:h(ne(n)),months:h(ne(r)),weeks:h(ne(i)),days:h(ne(a)),hours:h(ne(o)),minutes:h(ne(s)),seconds:h(ne(u),"-0"===u),milliseconds:h(re(l),d)}]}var Nt={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Vt(e,t,n,r,i,a,o){var s={year:2===t.length?ce(te(t)):te(t),month:be.indexOf(n)+1,day:te(r),hour:te(i),minute:te(a)};return o&&(s.second=te(o)),e&&(s.weekday=e.length>3?_e.indexOf(e)+1:ke.indexOf(e)+1),s}var jt=/^(?:(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 It(e){var t,n=e[1],r=e[2],i=e[3],a=e[4],o=e[5],s=e[6],u=e[7],l=e[8],c=e[9],d=e[10],h=e[11],f=Vt(n,a,i,r,o,s,u);return t=l?Nt[l]:c?0:he(d,h),[f,new qe(t)]}var Bt=/^(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$/,Ft=/^(Monday|Tuesday|Wedsday|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$/,Pt=/^(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 Yt(e){var t=e[1],n=e[2],r=e[3];return[Vt(t,e[4],r,n,e[5],e[6],e[7]),qe.utcInstance]}function Zt(e){var t=e[1],n=e[2],r=e[3],i=e[4],a=e[5],o=e[6];return[Vt(t,e[7],n,r,i,a,o),qe.utcInstance]}var Lt=ht(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,bt),Ut=ht(/(\d{4})-?W(\d\d)(?:-?(\d))?/,bt),qt=ht(/(\d{4})-?(\d{3})/,bt),zt=ht(gt),$t=ft(St,Ct,Ot),Rt=ft(wt,Ct,Ot),Ht=ft(Dt,Ct,Ot),Wt=ft(Ct,Ot);var Jt=ft(Ct);var Gt=ht(/(\d{4})-(\d\d)-(\d\d)/,kt),Xt=ht(_t),Qt=ft(St,Ct,Ot,Mt),Kt=ft(Ct,Ot,Mt);var en={weeks:{days:7,hours:168,minutes:10080,seconds:604800,milliseconds:6048e5},days:{hours:24,minutes:1440,seconds:86400,milliseconds:864e5},hours:{minutes:60,seconds:3600,milliseconds:36e5},minutes:{seconds:60,milliseconds:6e4},seconds:{milliseconds:1e3}},tn=i({years:{quarters:4,months:12,weeks:52,days:365,hours:8760,minutes:525600,seconds:31536e3,milliseconds:31536e6},quarters:{months:3,weeks:13,days:91,hours:2184,minutes:131040,seconds:7862400,milliseconds:78624e5},months:{weeks:4,days:30,hours:720,minutes:43200,seconds:2592e3,milliseconds:2592e6}},en),nn=365.2425,rn=30.436875,an=i({years:{quarters:4,months:12,weeks:52.1775,days:nn,hours:8765.82,minutes:525949.2,seconds:525949.2*60,milliseconds:525949.2*60*1e3},quarters:{months:3,weeks:13.044375,days:91.310625,hours:2191.455,minutes:131487.3,seconds:525949.2*60/4,milliseconds:7889237999.999999},months:{weeks:4.3481250000000005,days:rn,hours:730.485,minutes:43829.1,seconds:2629746,milliseconds:2629746e3}},en),on=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],sn=on.slice(0).reverse();function un(e,t,n){void 0===n&&(n=!1);var r={values:n?t.values:i({},e.values,t.values||{}),loc:e.loc.clone(t.loc),conversionAccuracy:t.conversionAccuracy||e.conversionAccuracy};return new cn(r)}function ln(e,t,n,r,i){var a=e[i][n],o=t[n]/a,s=!(Math.sign(o)===Math.sign(r[i]))&&0!==r[i]&&Math.abs(o)<=1?function(e){return e<0?Math.floor(e):Math.ceil(e)}(o):Math.trunc(o);r[i]+=s,t[n]-=s*a}var cn=function(){function e(e){var t="longterm"===e.conversionAccuracy||!1;this.values=e.values,this.loc=e.loc||dt.create(),this.conversionAccuracy=t?"longterm":"casual",this.invalid=e.invalid||null,this.matrix=t?an:tn,this.isLuxonDuration=!0}e.fromMillis=function(t,n){return e.fromObject({milliseconds:t},n)},e.fromObject=function(t,n){if(void 0===n&&(n={}),null==t||"object"!=typeof t)throw new w("Duration.fromObject: argument expected to be an object, got "+(null===t?"null":typeof t));return new e({values:me(t,e.normalizeUnit),loc:dt.fromObject(n),conversionAccuracy:n.conversionAccuracy})},e.fromDurationLike=function(t){if(W(t))return e.fromMillis(t);if(e.isDuration(t))return t;if("object"==typeof t)return e.fromObject(t);throw new w("Unknown duration argument "+t+" of type "+typeof t)},e.fromISO=function(t,n){var r=function(e){return mt(e,[xt,Et])}(t),i=r[0];return i?e.fromObject(i,n):e.invalid("unparsable",'the input "'+t+"\" can't be parsed as ISO 8601")},e.fromISOTime=function(t,n){var r=function(e){return mt(e,[Tt,Jt])}(t),i=r[0];return i?e.fromObject(i,n):e.invalid("unparsable",'the input "'+t+"\" can't be parsed as ISO 8601")},e.invalid=function(t,n){if(void 0===n&&(n=null),!t)throw new w("need to specify a reason the Duration is invalid");var r=t instanceof je?t:new je(t,n);if(Qe.throwOnInvalid)throw new y(r);return new e({invalid:r})},e.normalizeUnit=function(e){var t={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():e];if(!t)throw new b(e);return t},e.isDuration=function(e){return e&&e.isLuxonDuration||!1};var t=e.prototype;return t.toFormat=function(e,t){void 0===t&&(t={});var n=i({},t,{floor:!1!==t.round&&!1!==t.floor});return this.isValid?Ve.create(this.loc,n).formatDurationFromString(this,e):"Invalid Duration"},t.toHuman=function(e){var t=this;void 0===e&&(e={});var n=on.map((function(n){var r=t.values[n];return H(r)?null:t.loc.numberFormatter(i({style:"unit",unitDisplay:"long"},e,{unit:n.slice(0,-1)})).format(r)})).filter((function(e){return e}));return this.loc.listFormatter(i({type:"conjunction",style:e.listStyle||"narrow"},e)).format(n)},t.toObject=function(){return this.isValid?i({},this.values):{}},t.toISO=function(){if(!this.isValid)return null;var e="P";return 0!==this.years&&(e+=this.years+"Y"),0===this.months&&0===this.quarters||(e+=this.months+3*this.quarters+"M"),0!==this.weeks&&(e+=this.weeks+"W"),0!==this.days&&(e+=this.days+"D"),0===this.hours&&0===this.minutes&&0===this.seconds&&0===this.milliseconds||(e+="T"),0!==this.hours&&(e+=this.hours+"H"),0!==this.minutes&&(e+=this.minutes+"M"),0===this.seconds&&0===this.milliseconds||(e+=ie(this.seconds+this.milliseconds/1e3,3)+"S"),"P"===e&&(e+="T0S"),e},t.toISOTime=function(e){if(void 0===e&&(e={}),!this.isValid)return null;var t=this.toMillis();if(t<0||t>=864e5)return null;e=i({suppressMilliseconds:!1,suppressSeconds:!1,includePrefix:!1,format:"extended"},e);var n=this.shiftTo("hours","minutes","seconds","milliseconds"),r="basic"===e.format?"hhmm":"hh:mm";e.suppressSeconds&&0===n.seconds&&0===n.milliseconds||(r+="basic"===e.format?"ss":":ss",e.suppressMilliseconds&&0===n.milliseconds||(r+=".SSS"));var a=n.toFormat(r);return e.includePrefix&&(a="T"+a),a},t.toJSON=function(){return this.toISO()},t.toString=function(){return this.toISO()},t.toMillis=function(){return this.as("milliseconds")},t.valueOf=function(){return this.toMillis()},t.plus=function(t){if(!this.isValid)return this;for(var n,r=e.fromDurationLike(t),i={},a=f(on);!(n=a()).done;){var o=n.value;(Q(r.values,o)||Q(this.values,o))&&(i[o]=r.get(o)+this.get(o))}return un(this,{values:i},!0)},t.minus=function(t){if(!this.isValid)return this;var n=e.fromDurationLike(t);return this.plus(n.negate())},t.mapUnits=function(e){if(!this.isValid)return this;for(var t={},n=0,r=Object.keys(this.values);n<r.length;n++){var i=r[n];t[i]=fe(e(this.values[i],i))}return un(this,{values:t},!0)},t.get=function(t){return this[e.normalizeUnit(t)]},t.set=function(t){return this.isValid?un(this,{values:i({},this.values,me(t,e.normalizeUnit))}):this},t.reconfigure=function(e){var t=void 0===e?{}:e,n=t.locale,r=t.numberingSystem,i=t.conversionAccuracy,a={loc:this.loc.clone({locale:n,numberingSystem:r})};return i&&(a.conversionAccuracy=i),un(this,a)},t.as=function(e){return this.isValid?this.shiftTo(e).get(e):NaN},t.normalize=function(){if(!this.isValid)return this;var e=this.toObject();return function(e,t){sn.reduce((function(n,r){return H(t[r])?n:(n&&ln(e,t,n,t,r),r)}),null)}(this.matrix,e),un(this,{values:e},!0)},t.shiftTo=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];if(!this.isValid)return this;if(0===n.length)return this;n=n.map((function(t){return e.normalizeUnit(t)}));for(var i,a,o={},s={},u=this.toObject(),l=f(on);!(a=l()).done;){var c=a.value;if(n.indexOf(c)>=0){i=c;var d=0;for(var h in s)d+=this.matrix[h][c]*s[h],s[h]=0;W(u[c])&&(d+=u[c]);var m=Math.trunc(d);for(var p in o[c]=m,s[c]=(1e3*d-1e3*m)/1e3,u)on.indexOf(p)>on.indexOf(c)&&ln(this.matrix,u,p,o,c)}else W(u[c])&&(s[c]=u[c])}for(var v in s)0!==s[v]&&(o[i]+=v===i?s[v]:s[v]/this.matrix[i][v]);return un(this,{values:o},!0).normalize()},t.negate=function(){if(!this.isValid)return this;for(var e={},t=0,n=Object.keys(this.values);t<n.length;t++){var r=n[t];e[r]=0===this.values[r]?0:-this.values[r]}return un(this,{values:e},!0)},t.equals=function(e){if(!this.isValid||!e.isValid)return!1;if(!this.loc.equals(e.loc))return!1;for(var t,n=f(on);!(t=n()).done;){var r=t.value;if(i=this.values[r],a=e.values[r],!(void 0===i||0===i?void 0===a||0===a:i===a))return!1}var i,a;return!0},r(e,[{key:"locale",get:function(){return this.isValid?this.loc.locale:null}},{key:"numberingSystem",get:function(){return this.isValid?this.loc.numberingSystem:null}},{key:"years",get:function(){return this.isValid?this.values.years||0:NaN}},{key:"quarters",get:function(){return this.isValid?this.values.quarters||0:NaN}},{key:"months",get:function(){return this.isValid?this.values.months||0:NaN}},{key:"weeks",get:function(){return this.isValid?this.values.weeks||0:NaN}},{key:"days",get:function(){return this.isValid?this.values.days||0:NaN}},{key:"hours",get:function(){return this.isValid?this.values.hours||0:NaN}},{key:"minutes",get:function(){return this.isValid?this.values.minutes||0:NaN}},{key:"seconds",get:function(){return this.isValid?this.values.seconds||0:NaN}},{key:"milliseconds",get:function(){return this.isValid?this.values.milliseconds||0:NaN}},{key:"isValid",get:function(){return null===this.invalid}},{key:"invalidReason",get:function(){return this.invalid?this.invalid.reason:null}},{key:"invalidExplanation",get:function(){return this.invalid?this.invalid.explanation:null}}]),e}(),dn="Invalid Interval";function hn(e,t){return e&&e.isValid?t&&t.isValid?t<e?fn.invalid("end before start","The end of an interval must be after its start, but you had start="+e.toISO()+" and end="+t.toISO()):null:fn.invalid("missing or invalid end"):fn.invalid("missing or invalid start")}var fn=function(){function e(e){this.s=e.start,this.e=e.end,this.invalid=e.invalid||null,this.isLuxonInterval=!0}e.invalid=function(t,n){if(void 0===n&&(n=null),!t)throw new w("need to specify a reason the Interval is invalid");var r=t instanceof je?t:new je(t,n);if(Qe.throwOnInvalid)throw new v(r);return new e({invalid:r})},e.fromDateTimes=function(t,n){var r=pr(t),i=pr(n),a=hn(r,i);return null==a?new e({start:r,end:i}):a},e.after=function(t,n){var r=cn.fromDurationLike(n),i=pr(t);return e.fromDateTimes(i,i.plus(r))},e.before=function(t,n){var r=cn.fromDurationLike(n),i=pr(t);return e.fromDateTimes(i.minus(r),i)},e.fromISO=function(t,n){var r=(t||"").split("/",2),i=r[0],a=r[1];if(i&&a){var o,s,u,l;try{s=(o=mr.fromISO(i,n)).isValid}catch(a){s=!1}try{l=(u=mr.fromISO(a,n)).isValid}catch(a){l=!1}if(s&&l)return e.fromDateTimes(o,u);if(s){var c=cn.fromISO(a,n);if(c.isValid)return e.after(o,c)}else if(l){var d=cn.fromISO(i,n);if(d.isValid)return e.before(u,d)}}return e.invalid("unparsable",'the input "'+t+"\" can't be parsed as ISO 8601")},e.isInterval=function(e){return e&&e.isLuxonInterval||!1};var t=e.prototype;return t.length=function(e){return void 0===e&&(e="milliseconds"),this.isValid?this.toDuration.apply(this,[e]).get(e):NaN},t.count=function(e){if(void 0===e&&(e="milliseconds"),!this.isValid)return NaN;var t=this.start.startOf(e),n=this.end.startOf(e);return Math.floor(n.diff(t,e).get(e))+1},t.hasSame=function(e){return!!this.isValid&&(this.isEmpty()||this.e.minus(1).hasSame(this.s,e))},t.isEmpty=function(){return this.s.valueOf()===this.e.valueOf()},t.isAfter=function(e){return!!this.isValid&&this.s>e},t.isBefore=function(e){return!!this.isValid&&this.e<=e},t.contains=function(e){return!!this.isValid&&(this.s<=e&&this.e>e)},t.set=function(t){var n=void 0===t?{}:t,r=n.start,i=n.end;return this.isValid?e.fromDateTimes(r||this.s,i||this.e):this},t.splitAt=function(){var t=this;if(!this.isValid)return[];for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];for(var a=r.map(pr).filter((function(e){return t.contains(e)})).sort(),o=[],s=this.s,u=0;s<this.e;){var l=a[u]||this.e,c=+l>+this.e?this.e:l;o.push(e.fromDateTimes(s,c)),s=c,u+=1}return o},t.splitBy=function(t){var n=cn.fromDurationLike(t);if(!this.isValid||!n.isValid||0===n.as("milliseconds"))return[];for(var r,i=this.s,a=1,o=[];i<this.e;){var s=this.start.plus(n.mapUnits((function(e){return e*a})));r=+s>+this.e?this.e:s,o.push(e.fromDateTimes(i,r)),i=r,a+=1}return o},t.divideEqually=function(e){return this.isValid?this.splitBy(this.length()/e).slice(0,e):[]},t.overlaps=function(e){return this.e>e.s&&this.s<e.e},t.abutsStart=function(e){return!!this.isValid&&+this.e==+e.s},t.abutsEnd=function(e){return!!this.isValid&&+e.e==+this.s},t.engulfs=function(e){return!!this.isValid&&(this.s<=e.s&&this.e>=e.e)},t.equals=function(e){return!(!this.isValid||!e.isValid)&&(this.s.equals(e.s)&&this.e.equals(e.e))},t.intersection=function(t){if(!this.isValid)return this;var n=this.s>t.s?this.s:t.s,r=this.e<t.e?this.e:t.e;return n>=r?null:e.fromDateTimes(n,r)},t.union=function(t){if(!this.isValid)return this;var n=this.s<t.s?this.s:t.s,r=this.e>t.e?this.e:t.e;return e.fromDateTimes(n,r)},e.merge=function(e){var t=e.sort((function(e,t){return e.s-t.s})).reduce((function(e,t){var n=e[0],r=e[1];return r?r.overlaps(t)||r.abutsStart(t)?[n,r.union(t)]:[n.concat([r]),t]:[n,t]}),[[],null]),n=t[0],r=t[1];return r&&n.push(r),n},e.xor=function(t){for(var n,r,i=null,a=0,o=[],s=t.map((function(e){return[{time:e.s,type:"s"},{time:e.e,type:"e"}]})),u=f((n=Array.prototype).concat.apply(n,s).sort((function(e,t){return e.time-t.time})));!(r=u()).done;){var l=r.value;1===(a+="s"===l.type?1:-1)?i=l.time:(i&&+i!=+l.time&&o.push(e.fromDateTimes(i,l.time)),i=null)}return e.merge(o)},t.difference=function(){for(var t=this,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return e.xor([this].concat(r)).map((function(e){return t.intersection(e)})).filter((function(e){return e&&!e.isEmpty()}))},t.toString=function(){return this.isValid?"["+this.s.toISO()+" – "+this.e.toISO()+")":dn},t.toISO=function(e){return this.isValid?this.s.toISO(e)+"/"+this.e.toISO(e):dn},t.toISODate=function(){return this.isValid?this.s.toISODate()+"/"+this.e.toISODate():dn},t.toISOTime=function(e){return this.isValid?this.s.toISOTime(e)+"/"+this.e.toISOTime(e):dn},t.toFormat=function(e,t){var n=(void 0===t?{}:t).separator,r=void 0===n?" – ":n;return this.isValid?""+this.s.toFormat(e)+r+this.e.toFormat(e):dn},t.toDuration=function(e,t){return this.isValid?this.e.diff(this.s,e,t):cn.invalid(this.invalidReason)},t.mapEndpoints=function(t){return e.fromDateTimes(t(this.s),t(this.e))},r(e,[{key:"start",get:function(){return this.isValid?this.s:null}},{key:"end",get:function(){return this.isValid?this.e:null}},{key:"isValid",get:function(){return null===this.invalidReason}},{key:"invalidReason",get:function(){return this.invalid?this.invalid.reason:null}},{key:"invalidExplanation",get:function(){return this.invalid?this.invalid.explanation:null}}]),e}(),mn=function(){function e(){}return e.hasDST=function(e){void 0===e&&(e=Qe.defaultZone);var t=mr.now().setZone(e).set({month:12});return!e.isUniversal&&t.offset!==t.set({month:6}).offset},e.isValidIANAZone=function(e){return Le.isValidZone(e)},e.normalizeZone=function(e){return $e(e,Qe.defaultZone)},e.months=function(e,t){void 0===e&&(e="long");var n=void 0===t?{}:t,r=n.locale,i=void 0===r?null:r,a=n.numberingSystem,o=void 0===a?null:a,s=n.locObj,u=void 0===s?null:s,l=n.outputCalendar,c=void 0===l?"gregory":l;return(u||dt.create(i,o,c)).months(e)},e.monthsFormat=function(e,t){void 0===e&&(e="long");var n=void 0===t?{}:t,r=n.locale,i=void 0===r?null:r,a=n.numberingSystem,o=void 0===a?null:a,s=n.locObj,u=void 0===s?null:s,l=n.outputCalendar,c=void 0===l?"gregory":l;return(u||dt.create(i,o,c)).months(e,!0)},e.weekdays=function(e,t){void 0===e&&(e="long");var n=void 0===t?{}:t,r=n.locale,i=void 0===r?null:r,a=n.numberingSystem,o=void 0===a?null:a,s=n.locObj;return((void 0===s?null:s)||dt.create(i,o,null)).weekdays(e)},e.weekdaysFormat=function(e,t){void 0===e&&(e="long");var n=void 0===t?{}:t,r=n.locale,i=void 0===r?null:r,a=n.numberingSystem,o=void 0===a?null:a,s=n.locObj;return((void 0===s?null:s)||dt.create(i,o,null)).weekdays(e,!0)},e.meridiems=function(e){var t=(void 0===e?{}:e).locale,n=void 0===t?null:t;return dt.create(n).meridiems()},e.eras=function(e,t){void 0===e&&(e="short");var n=(void 0===t?{}:t).locale,r=void 0===n?null:n;return dt.create(r,null,"gregory").eras(e)},e.features=function(){return{relative:G()}},e}();function pn(e,t){var n=function(e){return e.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf()},r=n(t)-n(e);return Math.floor(cn.fromMillis(r).as("days"))}function vn(e,t,n,r){var i=function(e,t,n){for(var r,i,a={},o=0,s=[["years",function(e,t){return t.year-e.year}],["quarters",function(e,t){return t.quarter-e.quarter}],["months",function(e,t){return t.month-e.month+12*(t.year-e.year)}],["weeks",function(e,t){var n=pn(e,t);return(n-n%7)/7}],["days",pn]];o<s.length;o++){var u=s[o],l=u[0],c=u[1];if(n.indexOf(l)>=0){var d;r=l;var h,f=c(e,t);(i=e.plus(((d={})[l]=f,d)))>t?(e=e.plus(((h={})[l]=f-1,h)),f-=1):e=i,a[l]=f}}return[e,a,i,r]}(e,t,n),a=i[0],o=i[1],s=i[2],u=i[3],l=t-a,c=n.filter((function(e){return["hours","minutes","seconds","milliseconds"].indexOf(e)>=0}));if(0===c.length){var d;if(s<t)s=a.plus(((d={})[u]=1,d));s!==a&&(o[u]=(o[u]||0)+l/(s-a))}var h,f=cn.fromObject(o,r);return c.length>0?(h=cn.fromMillis(l,r)).shiftTo.apply(h,c).plus(f):f}var yn={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},gn={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]},bn=yn.hanidec.replace(/[\[|\]]/g,"").split("");function wn(e,t){var n=e.numberingSystem;return void 0===t&&(t=""),new RegExp(""+yn[n||"latn"]+t)}function Dn(e,t){return void 0===t&&(t=function(e){return e}),{regex:e,deser:function(e){var n=e[0];return t(function(e){var t=parseInt(e,10);if(isNaN(t)){t="";for(var n=0;n<e.length;n++){var r=e.charCodeAt(n);if(-1!==e[n].search(yn.hanidec))t+=bn.indexOf(e[n]);else for(var i in gn){var a=gn[i],o=a[0],s=a[1];r>=o&&r<=s&&(t+=r-o)}}return parseInt(t,10)}return t}(n))}}}var _n="( |"+String.fromCharCode(160)+")",kn=new RegExp(_n,"g");function An(e){return e.replace(/\./g,"\\.?").replace(kn,_n)}function Sn(e){return e.replace(/\./g,"").replace(kn," ").toLowerCase()}function Cn(e,t){return null===e?null:{regex:RegExp(e.map(An).join("|")),deser:function(n){var r=n[0];return e.findIndex((function(e){return Sn(r)===Sn(e)}))+t}}}function On(e,t){return{regex:e,deser:function(e){return he(e[1],e[2])},groups:t}}function Mn(e){return{regex:e,deser:function(e){return e[0]}}}var Tn={year:{"2-digit":"yy",numeric:"yyyyy"},month:{numeric:"M","2-digit":"MM",short:"MMM",long:"MMMM"},day:{numeric:"d","2-digit":"dd"},weekday:{short:"EEE",long:"EEEE"},dayperiod:"a",dayPeriod:"a",hour:{numeric:"h","2-digit":"hh"},minute:{numeric:"m","2-digit":"mm"},second:{numeric:"s","2-digit":"ss"}};var xn=null;function En(e,t){if(e.literal)return e;var n=Ve.macroTokenToFormatOpts(e.val);if(!n)return e;var r=Ve.create(t,n).formatDateTimeParts((xn||(xn=mr.fromMillis(1555555555555)),xn)).map((function(e){return function(e,t,n){var r=e.type,i=e.value;if("literal"===r)return{literal:!0,val:i};var a=n[r],o=Tn[r];return"object"==typeof o&&(o=o[a]),o?{literal:!1,val:o}:void 0}(e,0,n)}));return r.includes(void 0)?e:r}function Nn(e,t,n){var r=function(e,t){var n;return(n=Array.prototype).concat.apply(n,e.map((function(e){return En(e,t)})))}(Ve.parseFormat(n),e),i=r.map((function(t){return n=t,i=wn(r=e),a=wn(r,"{2}"),o=wn(r,"{3}"),s=wn(r,"{4}"),u=wn(r,"{6}"),l=wn(r,"{1,2}"),c=wn(r,"{1,3}"),d=wn(r,"{1,6}"),h=wn(r,"{1,9}"),f=wn(r,"{2,4}"),m=wn(r,"{4,6}"),p=function(e){return{regex:RegExp((t=e.val,t.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&"))),deser:function(e){return e[0]},literal:!0};var t},v=function(e){if(n.literal)return p(e);switch(e.val){case"G":return Cn(r.eras("short",!1),0);case"GG":return Cn(r.eras("long",!1),0);case"y":return Dn(d);case"yy":case"kk":return Dn(f,ce);case"yyyy":case"kkkk":return Dn(s);case"yyyyy":return Dn(m);case"yyyyyy":return Dn(u);case"M":case"L":case"d":case"H":case"h":case"m":case"q":case"s":case"W":return Dn(l);case"MM":case"LL":case"dd":case"HH":case"hh":case"mm":case"qq":case"ss":case"WW":return Dn(a);case"MMM":return Cn(r.months("short",!0,!1),1);case"MMMM":return Cn(r.months("long",!0,!1),1);case"LLL":return Cn(r.months("short",!1,!1),1);case"LLLL":return Cn(r.months("long",!1,!1),1);case"o":case"S":return Dn(c);case"ooo":case"SSS":return Dn(o);case"u":return Mn(h);case"uu":return Mn(l);case"uuu":case"E":case"c":return Dn(i);case"a":return Cn(r.meridiems(),0);case"EEE":return Cn(r.weekdays("short",!1,!1),1);case"EEEE":return Cn(r.weekdays("long",!1,!1),1);case"ccc":return Cn(r.weekdays("short",!0,!1),1);case"cccc":return Cn(r.weekdays("long",!0,!1),1);case"Z":case"ZZ":return On(new RegExp("([+-]"+l.source+")(?::("+a.source+"))?"),2);case"ZZZ":return On(new RegExp("([+-]"+l.source+")("+a.source+")?"),2);case"z":return Mn(/[a-z_+-/]{1,256}?/i);default:return p(e)}}(n)||{invalidReason:"missing Intl.DateTimeFormat.formatToParts support"},v.token=n,v;var n,r,i,a,o,s,u,l,c,d,h,f,m,p,v})),a=i.find((function(e){return e.invalidReason}));if(a)return{input:t,tokens:r,invalidReason:a.invalidReason};var o=function(e){return["^"+e.map((function(e){return e.regex})).reduce((function(e,t){return e+"("+t.source+")"}),"")+"$",e]}(i),s=o[0],u=o[1],l=RegExp(s,"i"),c=function(e,t,n){var r=e.match(t);if(r){var i={},a=1;for(var o in n)if(Q(n,o)){var s=n[o],u=s.groups?s.groups+1:1;!s.literal&&s.token&&(i[s.token.val[0]]=s.deser(r.slice(a,a+u))),a+=u}return[r,i]}return[r,{}]}(t,l,u),d=c[0],h=c[1],f=h?function(e){var t,n=null;return H(e.z)||(n=Le.create(e.z)),H(e.Z)||(n||(n=new qe(e.Z)),t=e.Z),H(e.q)||(e.M=3*(e.q-1)+1),H(e.h)||(e.h<12&&1===e.a?e.h+=12:12===e.h&&0===e.a&&(e.h=0)),0===e.G&&e.y&&(e.y=-e.y),H(e.u)||(e.S=re(e.u)),[Object.keys(e).reduce((function(t,n){var r=function(e){switch(e){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}}(n);return r&&(t[r]=e[n]),t}),{}),n,t]}(h):[null,null,void 0],m=f[0],p=f[1],v=f[2];if(Q(h,"a")&&Q(h,"H"))throw new g("Can't include meridiem when specifying 24-hour format");return{input:t,tokens:r,regex:l,rawMatches:d,matches:h,result:m,zone:p,specificOffset:v}}var Vn=[0,31,59,90,120,151,181,212,243,273,304,334],jn=[0,31,60,91,121,152,182,213,244,274,305,335];function In(e,t){return new je("unit out of range","you specified "+t+" (of type "+typeof t+") as a "+e+", which is invalid")}function Bn(e,t,n){var r=new Date(Date.UTC(e,t-1,n)).getUTCDay();return 0===r?7:r}function Fn(e,t,n){return n+(ae(e)?jn:Vn)[t-1]}function Pn(e,t){var n=ae(e)?jn:Vn,r=n.findIndex((function(e){return e<t}));return{month:r+1,day:t-n[r]}}function Yn(e){var t,n=e.year,r=e.month,a=e.day,o=Fn(n,r,a),s=Bn(n,r,a),u=Math.floor((o-s+10)/7);return u<1?u=le(t=n-1):u>le(n)?(t=n+1,u=1):t=n,i({weekYear:t,weekNumber:u,weekday:s},ve(e))}function Zn(e){var t,n=e.weekYear,r=e.weekNumber,a=e.weekday,o=Bn(n,1,4),s=oe(n),u=7*r+a-o-3;u<1?u+=oe(t=n-1):u>s?(t=n+1,u-=oe(n)):t=n;var l=Pn(t,u);return i({year:t,month:l.month,day:l.day},ve(e))}function Ln(e){var t=e.year;return i({year:t,ordinal:Fn(t,e.month,e.day)},ve(e))}function Un(e){var t=e.year,n=Pn(t,e.ordinal);return i({year:t,month:n.month,day:n.day},ve(e))}function qn(e){var t=J(e.year),n=K(e.month,1,12),r=K(e.day,1,se(e.year,e.month));return t?n?!r&&In("day",e.day):In("month",e.month):In("year",e.year)}function zn(e){var t=e.hour,n=e.minute,r=e.second,i=e.millisecond,a=K(t,0,23)||24===t&&0===n&&0===r&&0===i,o=K(n,0,59),s=K(r,0,59),u=K(i,0,999);return a?o?s?!u&&In("millisecond",i):In("second",r):In("minute",n):In("hour",t)}var $n="Invalid DateTime",Rn=864e13;function Hn(e){return new je("unsupported zone",'the zone "'+e.name+'" is not supported')}function Wn(e){return null===e.weekData&&(e.weekData=Yn(e.c)),e.weekData}function Jn(e,t){var n={ts:e.ts,zone:e.zone,c:e.c,o:e.o,loc:e.loc,invalid:e.invalid};return new mr(i({},n,t,{old:n}))}function Gn(e,t,n){var r=e-60*t*1e3,i=n.offset(r);if(t===i)return[r,t];r-=60*(i-t)*1e3;var a=n.offset(r);return i===a?[r,i]:[e-60*Math.min(i,a)*1e3,Math.max(i,a)]}function Xn(e,t){var n=new Date(e+=60*t*1e3);return{year:n.getUTCFullYear(),month:n.getUTCMonth()+1,day:n.getUTCDate(),hour:n.getUTCHours(),minute:n.getUTCMinutes(),second:n.getUTCSeconds(),millisecond:n.getUTCMilliseconds()}}function Qn(e,t,n){return Gn(ue(e),t,n)}function Kn(e,t){var n=e.o,r=e.c.year+Math.trunc(t.years),a=e.c.month+Math.trunc(t.months)+3*Math.trunc(t.quarters),o=i({},e.c,{year:r,month:a,day:Math.min(e.c.day,se(r,a))+Math.trunc(t.days)+7*Math.trunc(t.weeks)}),s=cn.fromObject({years:t.years-Math.trunc(t.years),quarters:t.quarters-Math.trunc(t.quarters),months:t.months-Math.trunc(t.months),weeks:t.weeks-Math.trunc(t.weeks),days:t.days-Math.trunc(t.days),hours:t.hours,minutes:t.minutes,seconds:t.seconds,milliseconds:t.milliseconds}).as("milliseconds"),u=Gn(ue(o),n,e.zone),l=u[0],c=u[1];return 0!==s&&(l+=s,c=e.zone.offset(l)),{ts:l,o:c}}function er(e,t,n,r,a,o){var s=n.setZone,u=n.zone;if(e&&0!==Object.keys(e).length){var l=t||u,c=mr.fromObject(e,i({},n,{zone:l,specificOffset:o}));return s?c:c.setZone(u)}return mr.invalid(new je("unparsable",'the input "'+a+"\" can't be parsed as "+r))}function tr(e,t,n){return void 0===n&&(n=!0),e.isValid?Ve.create(dt.create("en-US"),{allowZ:n,forceSimple:!0}).formatDateTimeFromString(e,t):null}function nr(e,t){var n=e.c.year>9999||e.c.year<0,r="";return n&&e.c.year>=0&&(r+="+"),r+=ee(e.c.year,n?6:4),t?(r+="-",r+=ee(e.c.month),r+="-",r+=ee(e.c.day)):(r+=ee(e.c.month),r+=ee(e.c.day)),r}function rr(e,t,n,r,i){var a=ee(e.c.hour);return t?(a+=":",a+=ee(e.c.minute),0===e.c.second&&n||(a+=":")):a+=ee(e.c.minute),0===e.c.second&&n||(a+=ee(e.c.second),0===e.c.millisecond&&r||(a+=".",a+=ee(e.c.millisecond,3))),i&&(e.isOffsetFixed&&0===e.offset?a+="Z":e.o<0?(a+="-",a+=ee(Math.trunc(-e.o/60)),a+=":",a+=ee(Math.trunc(-e.o%60))):(a+="+",a+=ee(Math.trunc(e.o/60)),a+=":",a+=ee(Math.trunc(e.o%60)))),a}var ir={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},ar={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},or={ordinal:1,hour:0,minute:0,second:0,millisecond:0},sr=["year","month","day","hour","minute","second","millisecond"],ur=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],lr=["year","ordinal","hour","minute","second","millisecond"];function cr(e){var t={year:"year",years:"year",month:"month",months:"month",day:"day",days:"day",hour:"hour",hours:"hour",minute:"minute",minutes:"minute",quarter:"quarter",quarters:"quarter",second:"second",seconds:"second",millisecond:"millisecond",milliseconds:"millisecond",weekday:"weekday",weekdays:"weekday",weeknumber:"weekNumber",weeksnumber:"weekNumber",weeknumbers:"weekNumber",weekyear:"weekYear",weekyears:"weekYear",ordinal:"ordinal"}[e.toLowerCase()];if(!t)throw new b(e);return t}function dr(e,t){var n,r,i=$e(t.zone,Qe.defaultZone),a=dt.fromObject(t),o=Qe.now();if(H(e.year))n=o;else{for(var s,u=f(sr);!(s=u()).done;){var l=s.value;H(e[l])&&(e[l]=ir[l])}var c=qn(e)||zn(e);if(c)return mr.invalid(c);var d=Qn(e,i.offset(o),i);n=d[0],r=d[1]}return new mr({ts:n,zone:i,loc:a,o:r})}function hr(e,t,n){var r=!!H(n.round)||n.round,i=function(e,i){return e=ie(e,r||n.calendary?0:2,!0),t.loc.clone(n).relFormatter(n).format(e,i)},a=function(r){return n.calendary?t.hasSame(e,r)?0:t.startOf(r).diff(e.startOf(r),r).get(r):t.diff(e,r).get(r)};if(n.unit)return i(a(n.unit),n.unit);for(var o,s=f(n.units);!(o=s()).done;){var u=o.value,l=a(u);if(Math.abs(l)>=1)return i(l,u)}return i(e>t?-0:0,n.units[n.units.length-1])}function fr(e){var t,n={};return e.length>0&&"object"==typeof e[e.length-1]?(n=e[e.length-1],t=Array.from(e).slice(0,e.length-1)):t=Array.from(e),[n,t]}var mr=function(){function e(e){var t=e.zone||Qe.defaultZone,n=e.invalid||(Number.isNaN(e.ts)?new je("invalid input"):null)||(t.isValid?null:Hn(t));this.ts=H(e.ts)?Qe.now():e.ts;var r=null,i=null;if(!n)if(e.old&&e.old.ts===this.ts&&e.old.zone.equals(t)){var a=[e.old.c,e.old.o];r=a[0],i=a[1]}else{var o=t.offset(this.ts);r=Xn(this.ts,o),r=(n=Number.isNaN(r.year)?new je("invalid input"):null)?null:r,i=n?null:o}this._zone=t,this.loc=e.loc||dt.create(),this.invalid=n,this.weekData=null,this.c=r,this.o=i,this.isLuxonDateTime=!0}e.now=function(){return new e({})},e.local=function(){var e=fr(arguments),t=e[0],n=e[1],r=n[0],i=n[1],a=n[2],o=n[3],s=n[4],u=n[5],l=n[6];return dr({year:r,month:i,day:a,hour:o,minute:s,second:u,millisecond:l},t)},e.utc=function(){var e=fr(arguments),t=e[0],n=e[1],r=n[0],i=n[1],a=n[2],o=n[3],s=n[4],u=n[5],l=n[6];return t.zone=qe.utcInstance,dr({year:r,month:i,day:a,hour:o,minute:s,second:u,millisecond:l},t)},e.fromJSDate=function(t,n){void 0===n&&(n={});var r,i=(r=t,"[object Date]"===Object.prototype.toString.call(r)?t.valueOf():NaN);if(Number.isNaN(i))return e.invalid("invalid input");var a=$e(n.zone,Qe.defaultZone);return a.isValid?new e({ts:i,zone:a,loc:dt.fromObject(n)}):e.invalid(Hn(a))},e.fromMillis=function(t,n){if(void 0===n&&(n={}),W(t))return t<-Rn||t>Rn?e.invalid("Timestamp out of range"):new e({ts:t,zone:$e(n.zone,Qe.defaultZone),loc:dt.fromObject(n)});throw new w("fromMillis requires a numerical input, but received a "+typeof t+" with value "+t)},e.fromSeconds=function(t,n){if(void 0===n&&(n={}),W(t))return new e({ts:1e3*t,zone:$e(n.zone,Qe.defaultZone),loc:dt.fromObject(n)});throw new w("fromSeconds requires a numerical input")},e.fromObject=function(t,n){void 0===n&&(n={}),t=t||{};var r=$e(n.zone,Qe.defaultZone);if(!r.isValid)return e.invalid(Hn(r));var i=Qe.now(),a=H(n.specificOffset)?r.offset(i):n.specificOffset,o=me(t,cr),s=!H(o.ordinal),u=!H(o.year),l=!H(o.month)||!H(o.day),c=u||l,d=o.weekYear||o.weekNumber,h=dt.fromObject(n);if((c||s)&&d)throw new g("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(l&&s)throw new g("Can't mix ordinal dates with month/day");var m,p,v=d||o.weekday&&!c,y=Xn(i,a);v?(m=ur,p=ar,y=Yn(y)):s?(m=lr,p=or,y=Ln(y)):(m=sr,p=ir);for(var b,w=!1,D=f(m);!(b=D()).done;){var _=b.value;H(o[_])?o[_]=w?p[_]:y[_]:w=!0}var k=v?function(e){var t=J(e.weekYear),n=K(e.weekNumber,1,le(e.weekYear)),r=K(e.weekday,1,7);return t?n?!r&&In("weekday",e.weekday):In("week",e.week):In("weekYear",e.weekYear)}(o):s?function(e){var t=J(e.year),n=K(e.ordinal,1,oe(e.year));return t?!n&&In("ordinal",e.ordinal):In("year",e.year)}(o):qn(o),A=k||zn(o);if(A)return e.invalid(A);var S=Qn(v?Zn(o):s?Un(o):o,a,r),C=new e({ts:S[0],zone:r,o:S[1],loc:h});return o.weekday&&c&&t.weekday!==C.weekday?e.invalid("mismatched weekday","you can't specify both a weekday of "+o.weekday+" and a date of "+C.toISO()):C},e.fromISO=function(e,t){void 0===t&&(t={});var n=function(e){return mt(e,[Lt,$t],[Ut,Rt],[qt,Ht],[zt,Wt])}(e);return er(n[0],n[1],t,"ISO 8601",e)},e.fromRFC2822=function(e,t){void 0===t&&(t={});var n=function(e){return mt(function(e){return e.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}(e),[jt,It])}(e);return er(n[0],n[1],t,"RFC 2822",e)},e.fromHTTP=function(e,t){void 0===t&&(t={});var n=function(e){return mt(e,[Bt,Yt],[Ft,Yt],[Pt,Zt])}(e);return er(n[0],n[1],t,"HTTP",t)},e.fromFormat=function(t,n,r){if(void 0===r&&(r={}),H(t)||H(n))throw new w("fromFormat requires an input string and a format");var i=r,a=i.locale,o=void 0===a?null:a,s=i.numberingSystem,u=void 0===s?null:s,l=function(e,t,n){var r=Nn(e,t,n);return[r.result,r.zone,r.specificOffset,r.invalidReason]}(dt.fromOpts({locale:o,numberingSystem:u,defaultToEN:!0}),t,n),c=l[0],d=l[1],h=l[2],f=l[3];return f?e.invalid(f):er(c,d,r,"format "+n,t,h)},e.fromString=function(t,n,r){return void 0===r&&(r={}),e.fromFormat(t,n,r)},e.fromSQL=function(e,t){void 0===t&&(t={});var n=function(e){return mt(e,[Gt,Qt],[Xt,Kt])}(e);return er(n[0],n[1],t,"SQL",e)},e.invalid=function(t,n){if(void 0===n&&(n=null),!t)throw new w("need to specify a reason the DateTime is invalid");var r=t instanceof je?t:new je(t,n);if(Qe.throwOnInvalid)throw new p(r);return new e({invalid:r})},e.isDateTime=function(e){return e&&e.isLuxonDateTime||!1};var t=e.prototype;return t.get=function(e){return this[e]},t.resolvedLocaleOptions=function(e){void 0===e&&(e={});var t=Ve.create(this.loc.clone(e),e).resolvedOptions(this);return{locale:t.locale,numberingSystem:t.numberingSystem,outputCalendar:t.calendar}},t.toUTC=function(e,t){return void 0===e&&(e=0),void 0===t&&(t={}),this.setZone(qe.instance(e),t)},t.toLocal=function(){return this.setZone(Qe.defaultZone)},t.setZone=function(t,n){var r=void 0===n?{}:n,i=r.keepLocalTime,a=void 0!==i&&i,o=r.keepCalendarTime,s=void 0!==o&&o;if((t=$e(t,Qe.defaultZone)).equals(this.zone))return this;if(t.isValid){var u=this.ts;if(a||s){var l=t.offset(this.ts);u=Qn(this.toObject(),l,t)[0]}return Jn(this,{ts:u,zone:t})}return e.invalid(Hn(t))},t.reconfigure=function(e){var t=void 0===e?{}:e,n=t.locale,r=t.numberingSystem,i=t.outputCalendar;return Jn(this,{loc:this.loc.clone({locale:n,numberingSystem:r,outputCalendar:i})})},t.setLocale=function(e){return this.reconfigure({locale:e})},t.set=function(e){if(!this.isValid)return this;var t,n=me(e,cr),r=!H(n.weekYear)||!H(n.weekNumber)||!H(n.weekday),a=!H(n.ordinal),o=!H(n.year),s=!H(n.month)||!H(n.day),u=o||s,l=n.weekYear||n.weekNumber;if((u||a)&&l)throw new g("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(s&&a)throw new g("Can't mix ordinal dates with month/day");r?t=Zn(i({},Yn(this.c),n)):H(n.ordinal)?(t=i({},this.toObject(),n),H(n.day)&&(t.day=Math.min(se(t.year,t.month),t.day))):t=Un(i({},Ln(this.c),n));var c=Qn(t,this.o,this.zone);return Jn(this,{ts:c[0],o:c[1]})},t.plus=function(e){return this.isValid?Jn(this,Kn(this,cn.fromDurationLike(e))):this},t.minus=function(e){return this.isValid?Jn(this,Kn(this,cn.fromDurationLike(e).negate())):this},t.startOf=function(e){if(!this.isValid)return this;var t={},n=cn.normalizeUnit(e);switch(n){case"years":t.month=1;case"quarters":case"months":t.day=1;case"weeks":case"days":t.hour=0;case"hours":t.minute=0;case"minutes":t.second=0;case"seconds":t.millisecond=0}if("weeks"===n&&(t.weekday=1),"quarters"===n){var r=Math.ceil(this.month/3);t.month=3*(r-1)+1}return this.set(t)},t.endOf=function(e){var t;return this.isValid?this.plus((t={},t[e]=1,t)).startOf(e).minus(1):this},t.toFormat=function(e,t){return void 0===t&&(t={}),this.isValid?Ve.create(this.loc.redefaultToEN(t)).formatDateTimeFromString(this,e):$n},t.toLocaleString=function(e,t){return void 0===e&&(e=S),void 0===t&&(t={}),this.isValid?Ve.create(this.loc.clone(t),e).formatDateTime(this):$n},t.toLocaleParts=function(e){return void 0===e&&(e={}),this.isValid?Ve.create(this.loc.clone(e),e).formatDateTimeParts(this):[]},t.toISO=function(e){var t=void 0===e?{}:e,n=t.format,r=void 0===n?"extended":n,i=t.suppressSeconds,a=void 0!==i&&i,o=t.suppressMilliseconds,s=void 0!==o&&o,u=t.includeOffset,l=void 0===u||u;if(!this.isValid)return null;var c="extended"===r,d=nr(this,c);return d+="T",d+=rr(this,c,a,s,l)},t.toISODate=function(e){var t=(void 0===e?{}:e).format,n=void 0===t?"extended":t;return this.isValid?nr(this,"extended"===n):null},t.toISOWeekDate=function(){return tr(this,"kkkk-'W'WW-c")},t.toISOTime=function(e){var t=void 0===e?{}:e,n=t.suppressMilliseconds,r=void 0!==n&&n,i=t.suppressSeconds,a=void 0!==i&&i,o=t.includeOffset,s=void 0===o||o,u=t.includePrefix,l=void 0!==u&&u,c=t.format,d=void 0===c?"extended":c;return this.isValid?(l?"T":"")+rr(this,"extended"===d,a,r,s):null},t.toRFC2822=function(){return tr(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)},t.toHTTP=function(){return tr(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")},t.toSQLDate=function(){return this.isValid?nr(this,!0):null},t.toSQLTime=function(e){var t=void 0===e?{}:e,n=t.includeOffset,r=void 0===n||n,i=t.includeZone,a=void 0!==i&&i,o=t.includeOffsetSpace,s="HH:mm:ss.SSS";return(a||r)&&((void 0===o||o)&&(s+=" "),a?s+="z":r&&(s+="ZZ")),tr(this,s,!0)},t.toSQL=function(e){return void 0===e&&(e={}),this.isValid?this.toSQLDate()+" "+this.toSQLTime(e):null},t.toString=function(){return this.isValid?this.toISO():$n},t.valueOf=function(){return this.toMillis()},t.toMillis=function(){return this.isValid?this.ts:NaN},t.toSeconds=function(){return this.isValid?this.ts/1e3:NaN},t.toUnixInteger=function(){return this.isValid?Math.floor(this.ts/1e3):NaN},t.toJSON=function(){return this.toISO()},t.toBSON=function(){return this.toJSDate()},t.toObject=function(e){if(void 0===e&&(e={}),!this.isValid)return{};var t=i({},this.c);return e.includeConfig&&(t.outputCalendar=this.outputCalendar,t.numberingSystem=this.loc.numberingSystem,t.locale=this.loc.locale),t},t.toJSDate=function(){return new Date(this.isValid?this.ts:NaN)},t.diff=function(e,t,n){if(void 0===t&&(t="milliseconds"),void 0===n&&(n={}),!this.isValid||!e.isValid)return cn.invalid("created by diffing an invalid DateTime");var r,a=i({locale:this.locale,numberingSystem:this.numberingSystem},n),o=(r=t,Array.isArray(r)?r:[r]).map(cn.normalizeUnit),s=e.valueOf()>this.valueOf(),u=vn(s?this:e,s?e:this,o,a);return s?u.negate():u},t.diffNow=function(t,n){return void 0===t&&(t="milliseconds"),void 0===n&&(n={}),this.diff(e.now(),t,n)},t.until=function(e){return this.isValid?fn.fromDateTimes(this,e):this},t.hasSame=function(e,t){if(!this.isValid)return!1;var n=e.valueOf(),r=this.setZone(e.zone,{keepLocalTime:!0});return r.startOf(t)<=n&&n<=r.endOf(t)},t.equals=function(e){return this.isValid&&e.isValid&&this.valueOf()===e.valueOf()&&this.zone.equals(e.zone)&&this.loc.equals(e.loc)},t.toRelative=function(t){if(void 0===t&&(t={}),!this.isValid)return null;var n=t.base||e.fromObject({},{zone:this.zone}),r=t.padding?this<n?-t.padding:t.padding:0,a=["years","months","days","hours","minutes","seconds"],o=t.unit;return Array.isArray(t.unit)&&(a=t.unit,o=void 0),hr(n,this.plus(r),i({},t,{numeric:"always",units:a,unit:o}))},t.toRelativeCalendar=function(t){return void 0===t&&(t={}),this.isValid?hr(t.base||e.fromObject({},{zone:this.zone}),this,i({},t,{numeric:"auto",units:["years","months","days"],calendary:!0})):null},e.min=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];if(!n.every(e.isDateTime))throw new w("min requires all arguments be DateTimes");return X(n,(function(e){return e.valueOf()}),Math.min)},e.max=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];if(!n.every(e.isDateTime))throw new w("max requires all arguments be DateTimes");return X(n,(function(e){return e.valueOf()}),Math.max)},e.fromFormatExplain=function(e,t,n){void 0===n&&(n={});var r=n,i=r.locale,a=void 0===i?null:i,o=r.numberingSystem,s=void 0===o?null:o;return Nn(dt.fromOpts({locale:a,numberingSystem:s,defaultToEN:!0}),e,t)},e.fromStringExplain=function(t,n,r){return void 0===r&&(r={}),e.fromFormatExplain(t,n,r)},r(e,[{key:"isValid",get:function(){return null===this.invalid}},{key:"invalidReason",get:function(){return this.invalid?this.invalid.reason:null}},{key:"invalidExplanation",get:function(){return this.invalid?this.invalid.explanation:null}},{key:"locale",get:function(){return this.isValid?this.loc.locale:null}},{key:"numberingSystem",get:function(){return this.isValid?this.loc.numberingSystem:null}},{key:"outputCalendar",get:function(){return this.isValid?this.loc.outputCalendar:null}},{key:"zone",get:function(){return this._zone}},{key:"zoneName",get:function(){return this.isValid?this.zone.name:null}},{key:"year",get:function(){return this.isValid?this.c.year:NaN}},{key:"quarter",get:function(){return this.isValid?Math.ceil(this.c.month/3):NaN}},{key:"month",get:function(){return this.isValid?this.c.month:NaN}},{key:"day",get:function(){return this.isValid?this.c.day:NaN}},{key:"hour",get:function(){return this.isValid?this.c.hour:NaN}},{key:"minute",get:function(){return this.isValid?this.c.minute:NaN}},{key:"second",get:function(){return this.isValid?this.c.second:NaN}},{key:"millisecond",get:function(){return this.isValid?this.c.millisecond:NaN}},{key:"weekYear",get:function(){return this.isValid?Wn(this).weekYear:NaN}},{key:"weekNumber",get:function(){return this.isValid?Wn(this).weekNumber:NaN}},{key:"weekday",get:function(){return this.isValid?Wn(this).weekday:NaN}},{key:"ordinal",get:function(){return this.isValid?Ln(this.c).ordinal:NaN}},{key:"monthShort",get:function(){return this.isValid?mn.months("short",{locObj:this.loc})[this.month-1]:null}},{key:"monthLong",get:function(){return this.isValid?mn.months("long",{locObj:this.loc})[this.month-1]:null}},{key:"weekdayShort",get:function(){return this.isValid?mn.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}},{key:"weekdayLong",get:function(){return this.isValid?mn.weekdays("long",{locObj:this.loc})[this.weekday-1]:null}},{key:"offset",get:function(){return this.isValid?+this.o:NaN}},{key:"offsetNameShort",get:function(){return this.isValid?this.zone.offsetName(this.ts,{format:"short",locale:this.locale}):null}},{key:"offsetNameLong",get:function(){return this.isValid?this.zone.offsetName(this.ts,{format:"long",locale:this.locale}):null}},{key:"isOffsetFixed",get:function(){return this.isValid?this.zone.isUniversal:null}},{key:"isInDST",get:function(){return!this.isOffsetFixed&&(this.offset>this.set({month:1}).offset||this.offset>this.set({month:5}).offset)}},{key:"isInLeapYear",get:function(){return ae(this.year)}},{key:"daysInMonth",get:function(){return se(this.year,this.month)}},{key:"daysInYear",get:function(){return this.isValid?oe(this.year):NaN}},{key:"weeksInWeekYear",get:function(){return this.isValid?le(this.weekYear):NaN}}],[{key:"DATE_SHORT",get:function(){return S}},{key:"DATE_MED",get:function(){return C}},{key:"DATE_MED_WITH_WEEKDAY",get:function(){return O}},{key:"DATE_FULL",get:function(){return M}},{key:"DATE_HUGE",get:function(){return T}},{key:"TIME_SIMPLE",get:function(){return x}},{key:"TIME_WITH_SECONDS",get:function(){return E}},{key:"TIME_WITH_SHORT_OFFSET",get:function(){return N}},{key:"TIME_WITH_LONG_OFFSET",get:function(){return V}},{key:"TIME_24_SIMPLE",get:function(){return j}},{key:"TIME_24_WITH_SECONDS",get:function(){return I}},{key:"TIME_24_WITH_SHORT_OFFSET",get:function(){return B}},{key:"TIME_24_WITH_LONG_OFFSET",get:function(){return F}},{key:"DATETIME_SHORT",get:function(){return P}},{key:"DATETIME_SHORT_WITH_SECONDS",get:function(){return Y}},{key:"DATETIME_MED",get:function(){return Z}},{key:"DATETIME_MED_WITH_SECONDS",get:function(){return L}},{key:"DATETIME_MED_WITH_WEEKDAY",get:function(){return U}},{key:"DATETIME_FULL",get:function(){return q}},{key:"DATETIME_FULL_WITH_SECONDS",get:function(){return z}},{key:"DATETIME_HUGE",get:function(){return $}},{key:"DATETIME_HUGE_WITH_SECONDS",get:function(){return R}}]),e}();function pr(e){if(mr.isDateTime(e))return e;if(e&&e.valueOf&&W(e.valueOf()))return mr.fromJSDate(e);if(e&&"object"==typeof e)return mr.fromObject(e);throw new w("Unknown datetime argument: "+e+", of type "+typeof e)}t.ou=mr,t.Xp=fn},4155:e=>{var t,n,r=e.exports={};function i(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function o(e){if(t===setTimeout)return setTimeout(e,0);if((t===i||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(n){try{return t.call(null,e,0)}catch(n){return t.call(this,e,0)}}}!function(){try{t="function"==typeof setTimeout?setTimeout:i}catch(e){t=i}try{n="function"==typeof clearTimeout?clearTimeout:a}catch(e){n=a}}();var s,u=[],l=!1,c=-1;function d(){l&&s&&(l=!1,s.length?u=s.concat(u):c=-1,u.length&&h())}function h(){if(!l){var e=o(d);l=!0;for(var t=u.length;t;){for(s=u,u=[];++c<t;)s&&s[c].run();c=-1,t=u.length}s=null,l=!1,function(e){if(n===clearTimeout)return clearTimeout(e);if((n===a||!n)&&clearTimeout)return n=clearTimeout,clearTimeout(e);try{n(e)}catch(t){try{return n.call(null,e)}catch(t){return n.call(this,e)}}}(e)}}function f(e,t){this.fun=e,this.array=t}function m(){}r.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];u.push(new f(e,t)),1!==u.length||l||o(h)},f.prototype.run=function(){this.fun.apply(null,this.array)},r.title="browser",r.browser=!0,r.env={},r.argv=[],r.version="",r.versions={},r.on=m,r.addListener=m,r.once=m,r.off=m,r.removeListener=m,r.removeAllListeners=m,r.emit=m,r.prependListener=m,r.prependOnceListener=m,r.listeners=function(e){return[]},r.binding=function(e){throw new Error("process.binding is not supported")},r.cwd=function(){return"/"},r.chdir=function(e){throw new Error("process.chdir is not supported")},r.umask=function(){return 0}},1968:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});const r={name:"FormError",props:{id:{type:String,required:!0},v:{type:Object,required:!0}}};const i=(0,n(1900).Z)(r,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.v.$error?n("div",{staticClass:"iande-form-error",attrs:{id:e.id}},[!1===e.v.required?n("span",[e._v(e._s(e.__("Campo obrigatório","iande")))]):!1===e.v.samePassword?n("span",[e._v(e._s(e.__("Senhas não batem","iande")))]):!1===e.v.cep?n("span",[e._v(e._s(e.__("CEP inválido","iande")))]):!1===e.v.cnpj?n("span",[e._v(e._s(e.__("CNPJ inválido","iande")))]):!1===e.v.date?n("span",[e._v(e._s(e.__("Data inválida","iande")))]):!1===e.v.email?n("span",[e._v(e._s(e.__("E-mail inválido","iande")))]):!1===e.v.phone?n("span",[e._v(e._s(e.__("Telefone inválido","iande")))]):!1===e.v.time?n("span",[e._v(e._s(e.__("Horário inválido","iande")))]):!1===e.v.integer?n("span",[e._v(e._s(e.__("Valor não é número inteiro","iande")))]):!1===e.v.maxLength?n("span",[e._v(e._s(e.sprintf(e.__("Selecione até %s opções","iande"),e.v.$params.maxLength.max)))]):!1===e.v.maxValue?n("span",[e._v(e._s(e.sprintf(e.__("Valor máximo é %s","iande"),e.v.$params.maxValue.max)))]):!1===e.v.minValue?n("span",[e._v(e._s(e.sprintf(e.__("Valor mínimo é %s","iande"),e.v.$params.minValue.min)))]):!1===e.v.minChar?n("span",[e._v(e._s(e.sprintf(e.__("Campo tem que ter pelo menos %s caracteres","iande"),e.v.$params.minChar.min)))]):!1===e.v.minGroups?n("span",[e._v(e._s(e.__("É necessário pelo menos um grupo","iande")))]):e._e()]):e._e()}),[],!1,null,null,null).exports},8256:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>se});var r=n(379),i=n(7033),a=n(1968),o=n(7757),s=n.n(o),u=n(9490);function l(e){return l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},l(e)}function c(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function d(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function h(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){d(e,t,n[t])}))}return e}var f=new(function(){function e(t,n,r,i){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.language=t,this.months=n,this.monthsAbbr=r,this.days=i,this.rtl=!1,this.ymd=!1,this.yearSuffix=""}var t,n,r;return t=e,(n=[{key:"language",get:function(){return this._language},set:function(e){if("string"!=typeof e)throw new TypeError("Language must be a string");this._language=e}},{key:"months",get:function(){return this._months},set:function(e){if(12!==e.length)throw new RangeError("There must be 12 months for ".concat(this.language," language"));this._months=e}},{key:"monthsAbbr",get:function(){return this._monthsAbbr},set:function(e){if(12!==e.length)throw new RangeError("There must be 12 abbreviated months for ".concat(this.language," language"));this._monthsAbbr=e}},{key:"days",get:function(){return this._days},set:function(e){if(7!==e.length)throw new RangeError("There must be 7 days for ".concat(this.language," language"));this._days=e}}])&&c(t.prototype,n),r&&c(t,r),e}())("English",["January","February","March","April","May","June","July","August","September","October","November","December"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]),m={useUtc:!1,getFullYear:function(e){return this.useUtc?e.getUTCFullYear():e.getFullYear()},getMonth:function(e){return this.useUtc?e.getUTCMonth():e.getMonth()},getDate:function(e){return this.useUtc?e.getUTCDate():e.getDate()},getDay:function(e){return this.useUtc?e.getUTCDay():e.getDay()},getHours:function(e){return this.useUtc?e.getUTCHours():e.getHours()},getMinutes:function(e){return this.useUtc?e.getUTCMinutes():e.getMinutes()},setFullYear:function(e,t,n){return this.useUtc?e.setUTCFullYear(t):e.setFullYear(t)},setMonth:function(e,t,n){return this.useUtc?e.setUTCMonth(t):e.setMonth(t)},setDate:function(e,t,n){return this.useUtc?e.setUTCDate(t):e.setDate(t)},compareDates:function(e,t){var n=new Date(e.getTime()),r=new Date(t.getTime());return this.useUtc?(n.setUTCHours(0,0,0,0),r.setUTCHours(0,0,0,0)):(n.setHours(0,0,0,0),r.setHours(0,0,0,0)),n.getTime()===r.getTime()},isValidDate:function(e){return"[object Date]"===Object.prototype.toString.call(e)&&!isNaN(e.getTime())},getDayNameAbbr:function(e,t){if("object"!==l(e))throw TypeError("Invalid Type");return t[this.getDay(e)]},getMonthName:function(e,t){if(!t)throw Error("missing 2nd parameter Months array");if("object"===l(e))return t[this.getMonth(e)];if("number"==typeof e)return t[e];throw TypeError("Invalid type")},getMonthNameAbbr:function(e,t){if(!t)throw Error("missing 2nd paramter Months array");if("object"===l(e))return t[this.getMonth(e)];if("number"==typeof e)return t[e];throw TypeError("Invalid type")},daysInMonth:function(e,t){return/8|3|5|10/.test(t)?30:1===t?(e%4||!(e%100))&&e%400?28:29:31},getNthSuffix:function(e){switch(e){case 1:case 21:case 31:return"st";case 2:case 22:return"nd";case 3:case 23:return"rd";default:return"th"}},formatDate:function(e,t,n){n=n||f;var r=this.getFullYear(e),i=this.getMonth(e)+1,a=this.getDate(e);return t.replace(/dd/,("0"+a).slice(-2)).replace(/d/,a).replace(/yyyy/,r).replace(/yy/,String(r).slice(2)).replace(/MMMM/,this.getMonthName(this.getMonth(e),n.months)).replace(/MMM/,this.getMonthNameAbbr(this.getMonth(e),n.monthsAbbr)).replace(/MM/,("0"+i).slice(-2)).replace(/M(?!a|ä|e)/,i).replace(/su/,this.getNthSuffix(this.getDate(e))).replace(/D(?!e|é|i)/,this.getDayNameAbbr(e,n.days))},createDateArray:function(e,t){for(var n=[];e<=t;)n.push(new Date(e)),e=this.setDate(new Date(e),this.getDate(new Date(e))+1);return n},validateDateInput:function(e){return null===e||e instanceof Date||"string"==typeof e||"number"==typeof e}},p=function(e){return h({},m,{useUtc:e})},v=h({},m);var y=function(e,t,n,r,i,a,o,s,u,l){"boolean"!=typeof o&&(u=s,s=o,o=!1);var c,d="function"==typeof n?n.options:n;if(e&&e.render&&(d.render=e.render,d.staticRenderFns=e.staticRenderFns,d._compiled=!0,i&&(d.functional=!0)),r&&(d._scopeId=r),a?(c=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),t&&t.call(this,u(e)),e&&e._registeredComponents&&e._registeredComponents.add(a)},d._ssrRegister=c):t&&(c=o?function(){t.call(this,l(this.$root.$options.shadowRoot))}:function(e){t.call(this,s(e))}),c)if(d.functional){var h=d.render;d.render=function(e,t){return c.call(t),h(e,t)}}else{var f=d.beforeCreate;d.beforeCreate=f?[].concat(f,c):[c]}return n};const g={props:{selectedDate:Date,resetTypedDate:[Date],format:[String,Function],translation:Object,inline:Boolean,id:String,name:String,refName:String,openDate:Date,placeholder:String,inputClass:[String,Object,Array],clearButton:Boolean,clearButtonIcon:String,calendarButton:Boolean,calendarButtonIcon:String,calendarButtonIconContent:String,disabled:Boolean,required:Boolean,typeable:Boolean,bootstrapStyling:Boolean,useUtc:Boolean},data:function(){return{input:null,typedDate:!1,utils:p(this.useUtc)}},computed:{formattedValue:function(){return this.selectedDate?this.typedDate?this.typedDate:"function"==typeof this.format?this.format(this.selectedDate):this.utils.formatDate(new Date(this.selectedDate),this.format,this.translation):null},computedInputClass:function(){return this.bootstrapStyling?"string"==typeof this.inputClass?[this.inputClass,"form-control"].join(" "):h({"form-control":!0},this.inputClass):this.inputClass}},watch:{resetTypedDate:function(){this.typedDate=!1}},methods:{showCalendar:function(){this.$emit("showCalendar")},parseTypedDate:function(e){if([27,13].includes(e.keyCode)&&this.input.blur(),this.typeable){var t=Date.parse(this.input.value);isNaN(t)||(this.typedDate=this.input.value,this.$emit("typedDate",new Date(this.typedDate)))}},inputBlurred:function(){this.typeable&&isNaN(Date.parse(this.input.value))&&(this.clearDate(),this.input.value=null,this.typedDate=null),this.$emit("closeCalendar")},clearDate:function(){this.$emit("clearDate")}},mounted:function(){this.input=this.$el.querySelector("input")}};var b=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{class:{"input-group":e.bootstrapStyling}},[e.calendarButton?n("span",{staticClass:"vdp-datepicker__calendar-button",class:{"input-group-prepend":e.bootstrapStyling},style:{"cursor:not-allowed;":e.disabled},on:{click:e.showCalendar}},[n("span",{class:{"input-group-text":e.bootstrapStyling}},[n("i",{class:e.calendarButtonIcon},[e._v("\n        "+e._s(e.calendarButtonIconContent)+"\n        "),e.calendarButtonIcon?e._e():n("span",[e._v("…")])])])]):e._e(),e._v(" "),n("input",{ref:e.refName,class:e.computedInputClass,attrs:{type:e.inline?"hidden":"text",name:e.name,id:e.id,"open-date":e.openDate,placeholder:e.placeholder,"clear-button":e.clearButton,disabled:e.disabled,required:e.required,readonly:!e.typeable,autocomplete:"off"},domProps:{value:e.formattedValue},on:{click:e.showCalendar,keyup:e.parseTypedDate,blur:e.inputBlurred}}),e._v(" "),e.clearButton&&e.selectedDate?n("span",{staticClass:"vdp-datepicker__clear-button",class:{"input-group-append":e.bootstrapStyling},on:{click:function(t){return e.clearDate()}}},[n("span",{class:{"input-group-text":e.bootstrapStyling}},[n("i",{class:e.clearButtonIcon},[e.clearButtonIcon?e._e():n("span",[e._v("×")])])])]):e._e(),e._v(" "),e._t("afterDateInput")],2)};b._withStripped=!0;var w=y({render:b,staticRenderFns:[]},undefined,g,undefined,!1,undefined,void 0,void 0);const D={props:{showDayView:Boolean,selectedDate:Date,pageDate:Date,pageTimestamp:Number,fullMonthName:Boolean,allowedToShowView:Function,dayCellContent:{type:Function,default:function(e){return e.date}},disabledDates:Object,highlighted:Object,calendarClass:[String,Object,Array],calendarStyle:Object,translation:Object,isRtl:Boolean,mondayFirst:Boolean,useUtc:Boolean},data:function(){return{utils:p(this.useUtc)}},computed:{daysOfWeek:function(){if(this.mondayFirst){var e=this.translation.days.slice();return e.push(e.shift()),e}return this.translation.days},blankDays:function(){var e=this.pageDate,t=this.useUtc?new Date(Date.UTC(e.getUTCFullYear(),e.getUTCMonth(),1)):new Date(e.getFullYear(),e.getMonth(),1,e.getHours(),e.getMinutes());return this.mondayFirst?this.utils.getDay(t)>0?this.utils.getDay(t)-1:6:this.utils.getDay(t)},days:function(){for(var e=this.pageDate,t=[],n=this.useUtc?new Date(Date.UTC(e.getUTCFullYear(),e.getUTCMonth(),1)):new Date(e.getFullYear(),e.getMonth(),1,e.getHours(),e.getMinutes()),r=this.utils.daysInMonth(this.utils.getFullYear(n),this.utils.getMonth(n)),i=0;i<r;i++)t.push({date:this.utils.getDate(n),timestamp:n.getTime(),isSelected:this.isSelectedDate(n),isDisabled:this.isDisabledDate(n),isHighlighted:this.isHighlightedDate(n),isHighlightStart:this.isHighlightStart(n),isHighlightEnd:this.isHighlightEnd(n),isToday:this.utils.compareDates(n,new Date),isWeekend:0===this.utils.getDay(n)||6===this.utils.getDay(n),isSaturday:6===this.utils.getDay(n),isSunday:0===this.utils.getDay(n)}),this.utils.setDate(n,this.utils.getDate(n)+1);return t},currMonthName:function(){var e=this.fullMonthName?this.translation.months:this.translation.monthsAbbr;return this.utils.getMonthNameAbbr(this.utils.getMonth(this.pageDate),e)},currYearName:function(){var e=this.translation.yearSuffix;return"".concat(this.utils.getFullYear(this.pageDate)).concat(e)},isYmd:function(){return this.translation.ymd&&!0===this.translation.ymd},isLeftNavDisabled:function(){return this.isRtl?this.isNextMonthDisabled(this.pageTimestamp):this.isPreviousMonthDisabled(this.pageTimestamp)},isRightNavDisabled:function(){return this.isRtl?this.isPreviousMonthDisabled(this.pageTimestamp):this.isNextMonthDisabled(this.pageTimestamp)}},methods:{selectDate:function(e){if(e.isDisabled)return this.$emit("selectedDisabled",e),!1;this.$emit("selectDate",e)},getPageMonth:function(){return this.utils.getMonth(this.pageDate)},showMonthCalendar:function(){this.$emit("showMonthCalendar")},changeMonth:function(e){var t=this.pageDate;this.utils.setMonth(t,this.utils.getMonth(t)+e),this.$emit("changedMonth",t)},previousMonth:function(){this.isPreviousMonthDisabled()||this.changeMonth(-1)},isPreviousMonthDisabled:function(){if(!this.disabledDates||!this.disabledDates.to)return!1;var e=this.pageDate;return this.utils.getMonth(this.disabledDates.to)>=this.utils.getMonth(e)&&this.utils.getFullYear(this.disabledDates.to)>=this.utils.getFullYear(e)},nextMonth:function(){this.isNextMonthDisabled()||this.changeMonth(1)},isNextMonthDisabled:function(){if(!this.disabledDates||!this.disabledDates.from)return!1;var e=this.pageDate;return this.utils.getMonth(this.disabledDates.from)<=this.utils.getMonth(e)&&this.utils.getFullYear(this.disabledDates.from)<=this.utils.getFullYear(e)},isSelectedDate:function(e){return this.selectedDate&&this.utils.compareDates(this.selectedDate,e)},isDisabledDate:function(e){var t=this,n=!1;return void 0!==this.disabledDates&&(void 0!==this.disabledDates.dates&&this.disabledDates.dates.forEach((function(r){if(t.utils.compareDates(e,r))return n=!0,!0})),void 0!==this.disabledDates.to&&this.disabledDates.to&&e<this.disabledDates.to&&(n=!0),void 0!==this.disabledDates.from&&this.disabledDates.from&&e>this.disabledDates.from&&(n=!0),void 0!==this.disabledDates.ranges&&this.disabledDates.ranges.forEach((function(t){if(void 0!==t.from&&t.from&&void 0!==t.to&&t.to&&e<t.to&&e>t.from)return n=!0,!0})),void 0!==this.disabledDates.days&&-1!==this.disabledDates.days.indexOf(this.utils.getDay(e))&&(n=!0),void 0!==this.disabledDates.daysOfMonth&&-1!==this.disabledDates.daysOfMonth.indexOf(this.utils.getDate(e))&&(n=!0),"function"==typeof this.disabledDates.customPredictor&&this.disabledDates.customPredictor(e)&&(n=!0),n)},isHighlightedDate:function(e){var t=this;if((!this.highlighted||!this.highlighted.includeDisabled)&&this.isDisabledDate(e))return!1;var n=!1;return void 0!==this.highlighted&&(void 0!==this.highlighted.dates&&this.highlighted.dates.forEach((function(r){if(t.utils.compareDates(e,r))return n=!0,!0})),this.isDefined(this.highlighted.from)&&this.isDefined(this.highlighted.to)&&(n=e>=this.highlighted.from&&e<=this.highlighted.to),void 0!==this.highlighted.days&&-1!==this.highlighted.days.indexOf(this.utils.getDay(e))&&(n=!0),void 0!==this.highlighted.daysOfMonth&&-1!==this.highlighted.daysOfMonth.indexOf(this.utils.getDate(e))&&(n=!0),"function"==typeof this.highlighted.customPredictor&&this.highlighted.customPredictor(e)&&(n=!0),n)},dayClasses:function(e){return{selected:e.isSelected,disabled:e.isDisabled,highlighted:e.isHighlighted,today:e.isToday,weekend:e.isWeekend,sat:e.isSaturday,sun:e.isSunday,"highlight-start":e.isHighlightStart,"highlight-end":e.isHighlightEnd}},isHighlightStart:function(e){return this.isHighlightedDate(e)&&this.highlighted.from instanceof Date&&this.utils.getFullYear(this.highlighted.from)===this.utils.getFullYear(e)&&this.utils.getMonth(this.highlighted.from)===this.utils.getMonth(e)&&this.utils.getDate(this.highlighted.from)===this.utils.getDate(e)},isHighlightEnd:function(e){return this.isHighlightedDate(e)&&this.highlighted.to instanceof Date&&this.utils.getFullYear(this.highlighted.to)===this.utils.getFullYear(e)&&this.utils.getMonth(this.highlighted.to)===this.utils.getMonth(e)&&this.utils.getDate(this.highlighted.to)===this.utils.getDate(e)},isDefined:function(e){return void 0!==e&&e}}};var _=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{directives:[{name:"show",rawName:"v-show",value:e.showDayView,expression:"showDayView"}],class:[e.calendarClass,"vdp-datepicker__calendar"],style:e.calendarStyle,on:{mousedown:function(e){e.preventDefault()}}},[e._t("beforeCalendarHeader"),e._v(" "),n("header",[n("span",{staticClass:"prev",class:{disabled:e.isLeftNavDisabled},on:{click:function(t){e.isRtl?e.nextMonth():e.previousMonth()}}},[e._v("<")]),e._v(" "),n("span",{staticClass:"day__month_btn",class:e.allowedToShowView("month")?"up":"",on:{click:e.showMonthCalendar}},[e._v(e._s(e.isYmd?e.currYearName:e.currMonthName)+" "+e._s(e.isYmd?e.currMonthName:e.currYearName))]),e._v(" "),n("span",{staticClass:"next",class:{disabled:e.isRightNavDisabled},on:{click:function(t){e.isRtl?e.previousMonth():e.nextMonth()}}},[e._v(">")])]),e._v(" "),n("div",{class:e.isRtl?"flex-rtl":""},[e._l(e.daysOfWeek,(function(t){return n("span",{key:t.timestamp,staticClass:"cell day-header"},[e._v(e._s(t))])})),e._v(" "),e.blankDays>0?e._l(e.blankDays,(function(e){return n("span",{key:e.timestamp,staticClass:"cell day blank"})})):e._e(),e._l(e.days,(function(t){return n("span",{key:t.timestamp,staticClass:"cell day",class:e.dayClasses(t),domProps:{innerHTML:e._s(e.dayCellContent(t))},on:{click:function(n){return e.selectDate(t)}}})}))],2)],2)};_._withStripped=!0;var k=y({render:_,staticRenderFns:[]},undefined,D,undefined,!1,undefined,void 0,void 0);const A={props:{showMonthView:Boolean,selectedDate:Date,pageDate:Date,pageTimestamp:Number,disabledDates:Object,calendarClass:[String,Object,Array],calendarStyle:Object,translation:Object,isRtl:Boolean,allowedToShowView:Function,useUtc:Boolean},data:function(){return{utils:p(this.useUtc)}},computed:{months:function(){for(var e=this.pageDate,t=[],n=this.useUtc?new Date(Date.UTC(e.getUTCFullYear(),0,e.getUTCDate())):new Date(e.getFullYear(),0,e.getDate(),e.getHours(),e.getMinutes()),r=0;r<12;r++)t.push({month:this.utils.getMonthName(r,this.translation.months),timestamp:n.getTime(),isSelected:this.isSelectedMonth(n),isDisabled:this.isDisabledMonth(n)}),this.utils.setMonth(n,this.utils.getMonth(n)+1);return t},pageYearName:function(){var e=this.translation.yearSuffix;return"".concat(this.utils.getFullYear(this.pageDate)).concat(e)},isLeftNavDisabled:function(){return this.isRtl?this.isNextYearDisabled(this.pageTimestamp):this.isPreviousYearDisabled(this.pageTimestamp)},isRightNavDisabled:function(){return this.isRtl?this.isPreviousYearDisabled(this.pageTimestamp):this.isNextYearDisabled(this.pageTimestamp)}},methods:{selectMonth:function(e){if(e.isDisabled)return!1;this.$emit("selectMonth",e)},changeYear:function(e){var t=this.pageDate;this.utils.setFullYear(t,this.utils.getFullYear(t)+e),this.$emit("changedYear",t)},previousYear:function(){this.isPreviousYearDisabled()||this.changeYear(-1)},isPreviousYearDisabled:function(){return!(!this.disabledDates||!this.disabledDates.to)&&this.utils.getFullYear(this.disabledDates.to)>=this.utils.getFullYear(this.pageDate)},nextYear:function(){this.isNextYearDisabled()||this.changeYear(1)},isNextYearDisabled:function(){return!(!this.disabledDates||!this.disabledDates.from)&&this.utils.getFullYear(this.disabledDates.from)<=this.utils.getFullYear(this.pageDate)},showYearCalendar:function(){this.$emit("showYearCalendar")},isSelectedMonth:function(e){return this.selectedDate&&this.utils.getFullYear(this.selectedDate)===this.utils.getFullYear(e)&&this.utils.getMonth(this.selectedDate)===this.utils.getMonth(e)},isDisabledMonth:function(e){var t=!1;return void 0!==this.disabledDates&&(void 0!==this.disabledDates.to&&this.disabledDates.to&&(this.utils.getMonth(e)<this.utils.getMonth(this.disabledDates.to)&&this.utils.getFullYear(e)<=this.utils.getFullYear(this.disabledDates.to)||this.utils.getFullYear(e)<this.utils.getFullYear(this.disabledDates.to))&&(t=!0),void 0!==this.disabledDates.from&&this.disabledDates.from&&(this.utils.getMonth(e)>this.utils.getMonth(this.disabledDates.from)&&this.utils.getFullYear(e)>=this.utils.getFullYear(this.disabledDates.from)||this.utils.getFullYear(e)>this.utils.getFullYear(this.disabledDates.from))&&(t=!0),"function"==typeof this.disabledDates.customPredictor&&this.disabledDates.customPredictor(e)&&(t=!0),t)}}};var S=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{directives:[{name:"show",rawName:"v-show",value:e.showMonthView,expression:"showMonthView"}],class:[e.calendarClass,"vdp-datepicker__calendar"],style:e.calendarStyle,on:{mousedown:function(e){e.preventDefault()}}},[e._t("beforeCalendarHeader"),e._v(" "),n("header",[n("span",{staticClass:"prev",class:{disabled:e.isLeftNavDisabled},on:{click:function(t){e.isRtl?e.nextYear():e.previousYear()}}},[e._v("<")]),e._v(" "),n("span",{staticClass:"month__year_btn",class:e.allowedToShowView("year")?"up":"",on:{click:e.showYearCalendar}},[e._v(e._s(e.pageYearName))]),e._v(" "),n("span",{staticClass:"next",class:{disabled:e.isRightNavDisabled},on:{click:function(t){e.isRtl?e.previousYear():e.nextYear()}}},[e._v(">")])]),e._v(" "),e._l(e.months,(function(t){return n("span",{key:t.timestamp,staticClass:"cell month",class:{selected:t.isSelected,disabled:t.isDisabled},on:{click:function(n){return n.stopPropagation(),e.selectMonth(t)}}},[e._v(e._s(t.month))])}))],2)};S._withStripped=!0;var C=y({render:S,staticRenderFns:[]},undefined,A,undefined,!1,undefined,void 0,void 0);const O={props:{showYearView:Boolean,selectedDate:Date,pageDate:Date,pageTimestamp:Number,disabledDates:Object,highlighted:Object,calendarClass:[String,Object,Array],calendarStyle:Object,translation:Object,isRtl:Boolean,allowedToShowView:Function,useUtc:Boolean},computed:{years:function(){for(var e=this.pageDate,t=[],n=this.useUtc?new Date(Date.UTC(10*Math.floor(e.getUTCFullYear()/10),e.getUTCMonth(),e.getUTCDate())):new Date(10*Math.floor(e.getFullYear()/10),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes()),r=0;r<10;r++)t.push({year:this.utils.getFullYear(n),timestamp:n.getTime(),isSelected:this.isSelectedYear(n),isDisabled:this.isDisabledYear(n)}),this.utils.setFullYear(n,this.utils.getFullYear(n)+1);return t},getPageDecade:function(){var e=10*Math.floor(this.utils.getFullYear(this.pageDate)/10),t=e+9,n=this.translation.yearSuffix;return"".concat(e," - ").concat(t).concat(n)},isLeftNavDisabled:function(){return this.isRtl?this.isNextDecadeDisabled(this.pageTimestamp):this.isPreviousDecadeDisabled(this.pageTimestamp)},isRightNavDisabled:function(){return this.isRtl?this.isPreviousDecadeDisabled(this.pageTimestamp):this.isNextDecadeDisabled(this.pageTimestamp)}},data:function(){return{utils:p(this.useUtc)}},methods:{selectYear:function(e){if(e.isDisabled)return!1;this.$emit("selectYear",e)},changeYear:function(e){var t=this.pageDate;this.utils.setFullYear(t,this.utils.getFullYear(t)+e),this.$emit("changedDecade",t)},previousDecade:function(){if(this.isPreviousDecadeDisabled())return!1;this.changeYear(-10)},isPreviousDecadeDisabled:function(){return!(!this.disabledDates||!this.disabledDates.to)&&this.utils.getFullYear(this.disabledDates.to)>10*Math.floor(this.utils.getFullYear(this.pageDate)/10)-1},nextDecade:function(){if(this.isNextDecadeDisabled())return!1;this.changeYear(10)},isNextDecadeDisabled:function(){return!(!this.disabledDates||!this.disabledDates.from)&&this.utils.getFullYear(this.disabledDates.from)<10*Math.ceil(this.utils.getFullYear(this.pageDate)/10)},isSelectedYear:function(e){return this.selectedDate&&this.utils.getFullYear(this.selectedDate)===this.utils.getFullYear(e)},isDisabledYear:function(e){var t=!1;return!(void 0===this.disabledDates||!this.disabledDates)&&(void 0!==this.disabledDates.to&&this.disabledDates.to&&this.utils.getFullYear(e)<this.utils.getFullYear(this.disabledDates.to)&&(t=!0),void 0!==this.disabledDates.from&&this.disabledDates.from&&this.utils.getFullYear(e)>this.utils.getFullYear(this.disabledDates.from)&&(t=!0),"function"==typeof this.disabledDates.customPredictor&&this.disabledDates.customPredictor(e)&&(t=!0),t)}}};var M=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{directives:[{name:"show",rawName:"v-show",value:e.showYearView,expression:"showYearView"}],class:[e.calendarClass,"vdp-datepicker__calendar"],style:e.calendarStyle,on:{mousedown:function(e){e.preventDefault()}}},[e._t("beforeCalendarHeader"),e._v(" "),n("header",[n("span",{staticClass:"prev",class:{disabled:e.isLeftNavDisabled},on:{click:function(t){e.isRtl?e.nextDecade():e.previousDecade()}}},[e._v("<")]),e._v(" "),n("span",[e._v(e._s(e.getPageDecade))]),e._v(" "),n("span",{staticClass:"next",class:{disabled:e.isRightNavDisabled},on:{click:function(t){e.isRtl?e.previousDecade():e.nextDecade()}}},[e._v(">")])]),e._v(" "),e._l(e.years,(function(t){return n("span",{key:t.timestamp,staticClass:"cell year",class:{selected:t.isSelected,disabled:t.isDisabled},on:{click:function(n){return n.stopPropagation(),e.selectYear(t)}}},[e._v(e._s(t.year))])}))],2)};M._withStripped=!0;var T={components:{DateInput:w,PickerDay:k,PickerMonth:C,PickerYear:y({render:M,staticRenderFns:[]},undefined,O,undefined,!1,undefined,void 0,void 0)},props:{value:{validator:function(e){return v.validateDateInput(e)}},name:String,refName:String,id:String,format:{type:[String,Function],default:"dd MMM yyyy"},language:{type:Object,default:function(){return f}},openDate:{validator:function(e){return v.validateDateInput(e)}},dayCellContent:Function,fullMonthName:Boolean,disabledDates:Object,highlighted:Object,placeholder:String,inline:Boolean,calendarClass:[String,Object,Array],inputClass:[String,Object,Array],wrapperClass:[String,Object,Array],mondayFirst:Boolean,clearButton:Boolean,clearButtonIcon:String,calendarButton:Boolean,calendarButtonIcon:String,calendarButtonIconContent:String,bootstrapStyling:Boolean,initialView:String,disabled:Boolean,required:Boolean,typeable:Boolean,useUtc:Boolean,minimumView:{type:String,default:"day"},maximumView:{type:String,default:"year"}},data:function(){var e=this.openDate?new Date(this.openDate):new Date,t=p(this.useUtc);return{pageTimestamp:t.setDate(e,1),selectedDate:null,showDayView:!1,showMonthView:!1,showYearView:!1,calendarHeight:0,resetTypedDate:new Date,utils:t}},watch:{value:function(e){this.setValue(e)},openDate:function(){this.setPageDate()},initialView:function(){this.setInitialView()}},computed:{computedInitialView:function(){return this.initialView?this.initialView:this.minimumView},pageDate:function(){return new Date(this.pageTimestamp)},translation:function(){return this.language},calendarStyle:function(){return{position:this.isInline?"static":void 0}},isOpen:function(){return this.showDayView||this.showMonthView||this.showYearView},isInline:function(){return!!this.inline},isRtl:function(){return!0===this.translation.rtl}},methods:{resetDefaultPageDate:function(){null!==this.selectedDate?this.setPageDate(this.selectedDate):this.setPageDate()},showCalendar:function(){return!this.disabled&&!this.isInline&&(this.isOpen?this.close(!0):void this.setInitialView())},setInitialView:function(){var e=this.computedInitialView;if(!this.allowedToShowView(e))throw new Error("initialView '".concat(this.initialView,"' cannot be rendered based on minimum '").concat(this.minimumView,"' and maximum '").concat(this.maximumView,"'"));switch(e){case"year":this.showYearCalendar();break;case"month":this.showMonthCalendar();break;default:this.showDayCalendar()}},allowedToShowView:function(e){var t=["day","month","year"],n=t.indexOf(this.minimumView),r=t.indexOf(this.maximumView),i=t.indexOf(e);return i>=n&&i<=r},showDayCalendar:function(){return!!this.allowedToShowView("day")&&(this.close(),this.showDayView=!0,!0)},showMonthCalendar:function(){return!!this.allowedToShowView("month")&&(this.close(),this.showMonthView=!0,!0)},showYearCalendar:function(){return!!this.allowedToShowView("year")&&(this.close(),this.showYearView=!0,!0)},setDate:function(e){var t=new Date(e);this.selectedDate=t,this.setPageDate(t),this.$emit("selected",t),this.$emit("input",t)},clearDate:function(){this.selectedDate=null,this.setPageDate(),this.$emit("selected",null),this.$emit("input",null),this.$emit("cleared")},selectDate:function(e){this.setDate(e.timestamp),this.isInline||this.close(!0),this.resetTypedDate=new Date},selectDisabledDate:function(e){this.$emit("selectedDisabled",e)},selectMonth:function(e){var t=new Date(e.timestamp);this.allowedToShowView("day")?(this.setPageDate(t),this.$emit("changedMonth",e),this.showDayCalendar()):this.selectDate(e)},selectYear:function(e){var t=new Date(e.timestamp);this.allowedToShowView("month")?(this.setPageDate(t),this.$emit("changedYear",e),this.showMonthCalendar()):this.selectDate(e)},setValue:function(e){if("string"==typeof e||"number"==typeof e){var t=new Date(e);e=isNaN(t.valueOf())?null:t}if(!e)return this.setPageDate(),void(this.selectedDate=null);this.selectedDate=e,this.setPageDate(e)},setPageDate:function(e){e||(e=this.openDate?new Date(this.openDate):new Date),this.pageTimestamp=this.utils.setDate(new Date(e),1)},handleChangedMonthFromDayPicker:function(e){this.setPageDate(e),this.$emit("changedMonth",e)},setTypedDate:function(e){this.setDate(e.getTime())},close:function(e){this.showDayView=this.showMonthView=this.showYearView=!1,this.isInline||(e&&this.$emit("closed"),document.removeEventListener("click",this.clickOutside,!1))},init:function(){this.value&&this.setValue(this.value),this.isInline&&this.setInitialView()}},mounted:function(){this.init()}},x="undefined"!=typeof navigator&&/msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());var E=document.head||document.getElementsByTagName("head")[0],N={};var V=function(e){return function(e,t){return function(e,t){var n=x?t.media||"default":e,r=N[n]||(N[n]={ids:new Set,styles:[]});if(!r.ids.has(e)){r.ids.add(e);var i=t.source;if(t.map&&(i+="\n/*# sourceURL="+t.map.sources[0]+" */",i+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(t.map))))+" */"),r.element||(r.element=document.createElement("style"),r.element.type="text/css",t.media&&r.element.setAttribute("media",t.media),E.appendChild(r.element)),"styleSheet"in r.element)r.styles.push(i),r.element.styleSheet.cssText=r.styles.filter(Boolean).join("\n");else{var a=r.ids.size-1,o=document.createTextNode(i),s=r.element.childNodes;s[a]&&r.element.removeChild(s[a]),s.length?r.element.insertBefore(o,s[a]):r.element.appendChild(o)}}}(e,t)}};const j=T;var I=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"vdp-datepicker",class:[e.wrapperClass,e.isRtl?"rtl":""]},[n("date-input",{attrs:{selectedDate:e.selectedDate,resetTypedDate:e.resetTypedDate,format:e.format,translation:e.translation,inline:e.inline,id:e.id,name:e.name,refName:e.refName,openDate:e.openDate,placeholder:e.placeholder,inputClass:e.inputClass,typeable:e.typeable,clearButton:e.clearButton,clearButtonIcon:e.clearButtonIcon,calendarButton:e.calendarButton,calendarButtonIcon:e.calendarButtonIcon,calendarButtonIconContent:e.calendarButtonIconContent,disabled:e.disabled,required:e.required,bootstrapStyling:e.bootstrapStyling,"use-utc":e.useUtc},on:{showCalendar:e.showCalendar,closeCalendar:e.close,typedDate:e.setTypedDate,clearDate:e.clearDate}},[e._t("afterDateInput",null,{slot:"afterDateInput"})],2),e._v(" "),e.allowedToShowView("day")?n("picker-day",{attrs:{pageDate:e.pageDate,selectedDate:e.selectedDate,showDayView:e.showDayView,fullMonthName:e.fullMonthName,allowedToShowView:e.allowedToShowView,disabledDates:e.disabledDates,highlighted:e.highlighted,calendarClass:e.calendarClass,calendarStyle:e.calendarStyle,translation:e.translation,pageTimestamp:e.pageTimestamp,isRtl:e.isRtl,mondayFirst:e.mondayFirst,dayCellContent:e.dayCellContent,"use-utc":e.useUtc},on:{changedMonth:e.handleChangedMonthFromDayPicker,selectDate:e.selectDate,showMonthCalendar:e.showMonthCalendar,selectedDisabled:e.selectDisabledDate}},[e._t("beforeCalendarHeader",null,{slot:"beforeCalendarHeader"})],2):e._e(),e._v(" "),e.allowedToShowView("month")?n("picker-month",{attrs:{pageDate:e.pageDate,selectedDate:e.selectedDate,showMonthView:e.showMonthView,allowedToShowView:e.allowedToShowView,disabledDates:e.disabledDates,calendarClass:e.calendarClass,calendarStyle:e.calendarStyle,translation:e.translation,isRtl:e.isRtl,"use-utc":e.useUtc},on:{selectMonth:e.selectMonth,showYearCalendar:e.showYearCalendar,changedYear:e.setPageDate}},[e._t("beforeCalendarHeader",null,{slot:"beforeCalendarHeader"})],2):e._e(),e._v(" "),e.allowedToShowView("year")?n("picker-year",{attrs:{pageDate:e.pageDate,selectedDate:e.selectedDate,showYearView:e.showYearView,allowedToShowView:e.allowedToShowView,disabledDates:e.disabledDates,calendarClass:e.calendarClass,calendarStyle:e.calendarStyle,translation:e.translation,isRtl:e.isRtl,"use-utc":e.useUtc},on:{selectYear:e.selectYear,changedDecade:e.setPageDate}},[e._t("beforeCalendarHeader",null,{slot:"beforeCalendarHeader"})],2):e._e()],1)};I._withStripped=!0;const B=y({render:I,staticRenderFns:[]},(function(e){e&&e("data-v-64ca2bb5_0",{source:".rtl {\n  direction: rtl;\n}\n.vdp-datepicker {\n  position: relative;\n  text-align: left;\n}\n.vdp-datepicker * {\n  box-sizing: border-box;\n}\n.vdp-datepicker__calendar {\n  position: absolute;\n  z-index: 100;\n  background: #fff;\n  width: 300px;\n  border: 1px solid #ccc;\n}\n.vdp-datepicker__calendar header {\n  display: block;\n  line-height: 40px;\n}\n.vdp-datepicker__calendar header span {\n  display: inline-block;\n  text-align: center;\n  width: 71.42857142857143%;\n  float: left;\n}\n.vdp-datepicker__calendar header .prev,\n.vdp-datepicker__calendar header .next {\n  width: 14.285714285714286%;\n  float: left;\n  text-indent: -10000px;\n  position: relative;\n}\n.vdp-datepicker__calendar header .prev:after,\n.vdp-datepicker__calendar header .next:after {\n  content: '';\n  position: absolute;\n  left: 50%;\n  top: 50%;\n  transform: translateX(-50%) translateY(-50%);\n  border: 6px solid transparent;\n}\n.vdp-datepicker__calendar header .prev:after {\n  border-right: 10px solid #000;\n  margin-left: -5px;\n}\n.vdp-datepicker__calendar header .prev.disabled:after {\n  border-right: 10px solid #ddd;\n}\n.vdp-datepicker__calendar header .next:after {\n  border-left: 10px solid #000;\n  margin-left: 5px;\n}\n.vdp-datepicker__calendar header .next.disabled:after {\n  border-left: 10px solid #ddd;\n}\n.vdp-datepicker__calendar header .prev:not(.disabled),\n.vdp-datepicker__calendar header .next:not(.disabled),\n.vdp-datepicker__calendar header .up:not(.disabled) {\n  cursor: pointer;\n}\n.vdp-datepicker__calendar header .prev:not(.disabled):hover,\n.vdp-datepicker__calendar header .next:not(.disabled):hover,\n.vdp-datepicker__calendar header .up:not(.disabled):hover {\n  background: #eee;\n}\n.vdp-datepicker__calendar .disabled {\n  color: #ddd;\n  cursor: default;\n}\n.vdp-datepicker__calendar .flex-rtl {\n  display: flex;\n  width: inherit;\n  flex-wrap: wrap;\n}\n.vdp-datepicker__calendar .cell {\n  display: inline-block;\n  padding: 0 5px;\n  width: 14.285714285714286%;\n  height: 40px;\n  line-height: 40px;\n  text-align: center;\n  vertical-align: middle;\n  border: 1px solid transparent;\n}\n.vdp-datepicker__calendar .cell:not(.blank):not(.disabled).day,\n.vdp-datepicker__calendar .cell:not(.blank):not(.disabled).month,\n.vdp-datepicker__calendar .cell:not(.blank):not(.disabled).year {\n  cursor: pointer;\n}\n.vdp-datepicker__calendar .cell:not(.blank):not(.disabled).day:hover,\n.vdp-datepicker__calendar .cell:not(.blank):not(.disabled).month:hover,\n.vdp-datepicker__calendar .cell:not(.blank):not(.disabled).year:hover {\n  border: 1px solid #4bd;\n}\n.vdp-datepicker__calendar .cell.selected {\n  background: #4bd;\n}\n.vdp-datepicker__calendar .cell.selected:hover {\n  background: #4bd;\n}\n.vdp-datepicker__calendar .cell.selected.highlighted {\n  background: #4bd;\n}\n.vdp-datepicker__calendar .cell.highlighted {\n  background: #cae5ed;\n}\n.vdp-datepicker__calendar .cell.highlighted.disabled {\n  color: #a3a3a3;\n}\n.vdp-datepicker__calendar .cell.grey {\n  color: #888;\n}\n.vdp-datepicker__calendar .cell.grey:hover {\n  background: inherit;\n}\n.vdp-datepicker__calendar .cell.day-header {\n  font-size: 75%;\n  white-space: nowrap;\n  cursor: inherit;\n}\n.vdp-datepicker__calendar .cell.day-header:hover {\n  background: inherit;\n}\n.vdp-datepicker__calendar .month,\n.vdp-datepicker__calendar .year {\n  width: 33.333%;\n}\n.vdp-datepicker__clear-button,\n.vdp-datepicker__calendar-button {\n  cursor: pointer;\n  font-style: normal;\n}\n.vdp-datepicker__clear-button.disabled,\n.vdp-datepicker__calendar-button.disabled {\n  color: #999;\n  cursor: default;\n}\n",map:{version:3,sources:["Datepicker.vue"],names:[],mappings:"AAAA;EACE,cAAc;AAChB;AACA;EACE,kBAAkB;EAClB,gBAAgB;AAClB;AACA;EACE,sBAAsB;AACxB;AACA;EACE,kBAAkB;EAClB,YAAY;EACZ,gBAAgB;EAChB,YAAY;EACZ,sBAAsB;AACxB;AACA;EACE,cAAc;EACd,iBAAiB;AACnB;AACA;EACE,qBAAqB;EACrB,kBAAkB;EAClB,yBAAyB;EACzB,WAAW;AACb;AACA;;EAEE,0BAA0B;EAC1B,WAAW;EACX,qBAAqB;EACrB,kBAAkB;AACpB;AACA;;EAEE,WAAW;EACX,kBAAkB;EAClB,SAAS;EACT,QAAQ;EACR,4CAA4C;EAC5C,6BAA6B;AAC/B;AACA;EACE,6BAA6B;EAC7B,iBAAiB;AACnB;AACA;EACE,6BAA6B;AAC/B;AACA;EACE,4BAA4B;EAC5B,gBAAgB;AAClB;AACA;EACE,4BAA4B;AAC9B;AACA;;;EAGE,eAAe;AACjB;AACA;;;EAGE,gBAAgB;AAClB;AACA;EACE,WAAW;EACX,eAAe;AACjB;AACA;EACE,aAAa;EACb,cAAc;EACd,eAAe;AACjB;AACA;EACE,qBAAqB;EACrB,cAAc;EACd,0BAA0B;EAC1B,YAAY;EACZ,iBAAiB;EACjB,kBAAkB;EAClB,sBAAsB;EACtB,6BAA6B;AAC/B;AACA;;;EAGE,eAAe;AACjB;AACA;;;EAGE,sBAAsB;AACxB;AACA;EACE,gBAAgB;AAClB;AACA;EACE,gBAAgB;AAClB;AACA;EACE,gBAAgB;AAClB;AACA;EACE,mBAAmB;AACrB;AACA;EACE,cAAc;AAChB;AACA;EACE,WAAW;AACb;AACA;EACE,mBAAmB;AACrB;AACA;EACE,cAAc;EACd,mBAAmB;EACnB,eAAe;AACjB;AACA;EACE,mBAAmB;AACrB;AACA;;EAEE,cAAc;AAChB;AACA;;EAEE,eAAe;EACf,kBAAkB;AACpB;AACA;;EAEE,WAAW;EACX,eAAe;AACjB",file:"Datepicker.vue",sourcesContent:[".rtl {\n  direction: rtl;\n}\n.vdp-datepicker {\n  position: relative;\n  text-align: left;\n}\n.vdp-datepicker * {\n  box-sizing: border-box;\n}\n.vdp-datepicker__calendar {\n  position: absolute;\n  z-index: 100;\n  background: #fff;\n  width: 300px;\n  border: 1px solid #ccc;\n}\n.vdp-datepicker__calendar header {\n  display: block;\n  line-height: 40px;\n}\n.vdp-datepicker__calendar header span {\n  display: inline-block;\n  text-align: center;\n  width: 71.42857142857143%;\n  float: left;\n}\n.vdp-datepicker__calendar header .prev,\n.vdp-datepicker__calendar header .next {\n  width: 14.285714285714286%;\n  float: left;\n  text-indent: -10000px;\n  position: relative;\n}\n.vdp-datepicker__calendar header .prev:after,\n.vdp-datepicker__calendar header .next:after {\n  content: '';\n  position: absolute;\n  left: 50%;\n  top: 50%;\n  transform: translateX(-50%) translateY(-50%);\n  border: 6px solid transparent;\n}\n.vdp-datepicker__calendar header .prev:after {\n  border-right: 10px solid #000;\n  margin-left: -5px;\n}\n.vdp-datepicker__calendar header .prev.disabled:after {\n  border-right: 10px solid #ddd;\n}\n.vdp-datepicker__calendar header .next:after {\n  border-left: 10px solid #000;\n  margin-left: 5px;\n}\n.vdp-datepicker__calendar header .next.disabled:after {\n  border-left: 10px solid #ddd;\n}\n.vdp-datepicker__calendar header .prev:not(.disabled),\n.vdp-datepicker__calendar header .next:not(.disabled),\n.vdp-datepicker__calendar header .up:not(.disabled) {\n  cursor: pointer;\n}\n.vdp-datepicker__calendar header .prev:not(.disabled):hover,\n.vdp-datepicker__calendar header .next:not(.disabled):hover,\n.vdp-datepicker__calendar header .up:not(.disabled):hover {\n  background: #eee;\n}\n.vdp-datepicker__calendar .disabled {\n  color: #ddd;\n  cursor: default;\n}\n.vdp-datepicker__calendar .flex-rtl {\n  display: flex;\n  width: inherit;\n  flex-wrap: wrap;\n}\n.vdp-datepicker__calendar .cell {\n  display: inline-block;\n  padding: 0 5px;\n  width: 14.285714285714286%;\n  height: 40px;\n  line-height: 40px;\n  text-align: center;\n  vertical-align: middle;\n  border: 1px solid transparent;\n}\n.vdp-datepicker__calendar .cell:not(.blank):not(.disabled).day,\n.vdp-datepicker__calendar .cell:not(.blank):not(.disabled).month,\n.vdp-datepicker__calendar .cell:not(.blank):not(.disabled).year {\n  cursor: pointer;\n}\n.vdp-datepicker__calendar .cell:not(.blank):not(.disabled).day:hover,\n.vdp-datepicker__calendar .cell:not(.blank):not(.disabled).month:hover,\n.vdp-datepicker__calendar .cell:not(.blank):not(.disabled).year:hover {\n  border: 1px solid #4bd;\n}\n.vdp-datepicker__calendar .cell.selected {\n  background: #4bd;\n}\n.vdp-datepicker__calendar .cell.selected:hover {\n  background: #4bd;\n}\n.vdp-datepicker__calendar .cell.selected.highlighted {\n  background: #4bd;\n}\n.vdp-datepicker__calendar .cell.highlighted {\n  background: #cae5ed;\n}\n.vdp-datepicker__calendar .cell.highlighted.disabled {\n  color: #a3a3a3;\n}\n.vdp-datepicker__calendar .cell.grey {\n  color: #888;\n}\n.vdp-datepicker__calendar .cell.grey:hover {\n  background: inherit;\n}\n.vdp-datepicker__calendar .cell.day-header {\n  font-size: 75%;\n  white-space: nowrap;\n  cursor: inherit;\n}\n.vdp-datepicker__calendar .cell.day-header:hover {\n  background: inherit;\n}\n.vdp-datepicker__calendar .month,\n.vdp-datepicker__calendar .year {\n  width: 33.333%;\n}\n.vdp-datepicker__clear-button,\n.vdp-datepicker__calendar-button {\n  cursor: pointer;\n  font-style: normal;\n}\n.vdp-datepicker__clear-button.disabled,\n.vdp-datepicker__calendar-button.disabled {\n  color: #999;\n  cursor: default;\n}\n"]},media:void 0})}),j,undefined,!1,undefined,V,void 0);var F=n(1234),P=n(2974);function Y(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Z(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Y(Object(n),!0).forEach((function(t){L(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Y(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function L(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const U={name:"DatePicker",components:{Datepicker:B},mixins:[F.Z],inheritAttrs:!1,computed:{disabledDatesPredictor:function(){var e=this;return this.exhibition?function(t){return 0===(0,P.S4)(e.exhibition,t).length}:function(){return!0}},disabledDates:function(){var e={customPredictor:this.disabledDatesPredictor};if(this.exhibition){var t=this.exhibition.days_advance?Number(this.exhibition.days_advance):1,n=u.ou.fromObject({hour:0,minute:0,second:0,millisecond:0}).plus({days:t}).toJSDate(),r=u.ou.fromISO(this.exhibition.date_from).toJSDate();if(e.to=r>n?r:n,this.exhibition.date_to){var i=u.ou.fromISO(this.exhibition.date_to).endOf("day").toJSDate();e.from=i}}return e},dateValue:{get:function(){return this.value?u.ou.fromISO(this.value).toJSDate():null},set:function(e){this.modelValue=u.ou.fromJSDate(e).toISODate()}},exhibition:(0,i.U2)("appointments/exhibition"),inputClasses:function(){return["iande-input",this.fieldClass,this.v.$error&&"invalid"]},inputAttrs:function(){return Z(Z({},this.$attrs),{},{"aria-describedby":this.errorId,id:this.id,name:this.id})}}};var q=n(1900);const z=(0,q.Z)(U,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"iande-field"},[n("Datepicker",e._b({attrs:{disabledDates:e.disabledDates,format:e._x("dd/MM/yyyy","vuejs-datepicker","iande"),inputClass:e.inputClasses},model:{value:e.dateValue,callback:function(t){e.dateValue=t},expression:"dateValue"}},"Datepicker",e.inputAttrs,!1)),e._v(" "),e.v.$error?n("FormError",{attrs:{id:e.errorId,v:e.v}}):e._e()],1)}),[],!1,null,null,null).exports;var $=n(6571),R=n(6229),H=n(8461),W=n(424);const J={name:"SlotPicker",components:{Select:H.Z},mixins:[F.Z],props:{day:{type:String,required:!0}},computed:{availableSlots:function(){return this.day?(0,P.FJ)(this.exhibition,this.day):[]},emptyMessage:function(){return this.day?(0,W.__)("Nenhum horário disponível","iande"):(0,W.__)("Selecione um dia primeiro","iande")},exhibition:(0,i.U2)("appointments/exhibition"),hours:function(){return this.availableSlots.map((function(e){return e.start.toFormat("HH:mm")}))},options:function(){var e=this.availableSlots.map((function(e){var t=e.start.toFormat((0,W.__)("HH:mm","iande")),n=e.end.toFormat((0,W.__)("HH:mm","iande"));return[(0,W.gB)((0,W.__)("%s a %s","iande"),t,n),t]}));return Object.fromEntries(e)}}};const G=(0,q.Z)(J,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"iande-field"},[n("Select",{attrs:{id:e.id,placeholder:e.__("Selecione um dos horários disponíveis","iande"),empty:e.emptyMessage,v:e.v,options:e.options},model:{value:e.modelValue,callback:function(t){e.modelValue=t},expression:"modelValue"}})],1)}),[],!1,null,null,null).exports;var X=n(1870);function Q(e,t,n,r,i,a,o){try{var s=e[a](o),u=s.value}catch(e){return void n(e)}s.done?t(u):Promise.resolve(u).then(r,i)}function K(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var a=e.apply(t,n);function o(e){Q(a,r,i,o,s,"next",e)}function s(e){Q(a,r,i,o,s,"throw",e)}o(void 0)}))}}const ee={name:"GroupDate",components:{DatePicker:z,Input:$.Z,Label:R.Z,SlotPicker:G},mixins:[F.Z],data:function(){return{availability:null}},computed:{date:(0,X.fM)("date"),exhibition:(0,i.U2)("appointments/exhibition"),hour:(0,X.fM)("hour"),n:function(){return Number(this.id.split("_").pop())+1},name:(0,X.fM)("name")},watch:{date:function(){var e=this;this.checkAvailability(),this.$nextTick((function(){e.$refs.slots&&!e.$refs.slots.hours.includes(e.hour)&&(e.hour="")}))},hour:function(){var e=this;return K(s().mark((function t(){return s().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:e.checkAvailability();case 1:case"end":return t.stop()}}),t)})))()}},beforeMount:function(){var e=this;return K(s().mark((function t(){return s().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.checkAvailability();case 2:case"end":return t.stop()}}),t)})))()},methods:{checkAvailability:function(){var e=this;return K(s().mark((function t(){var n,r,i,a;return s().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(n=e.date,r=e.exhibition,i=e.hour,!n||!i){t.next=8;break}return t.next=4,X.hi.post("exhibition/check_availability",{date:n,hour:i,ID:r.ID});case 4:a=t.sent,e.availability=a,t.next=9;break;case 8:e.availability=null;case 9:case"end":return t.stop()}}),t)})))()}}};const te=(0,q.Z)(ee,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("section",{staticClass:"iande-stack stack-lg"},[n("h2",{staticClass:"iande-group-title"},[e._v(e._s(e.sprintf(e.__("Grupo %s:","iande"),e.n)))]),e._v(" "),n("div",[n("Label",{attrs:{for:e.id+"_name"}},[e._v(e._s(e.__("Nome do grupo","iande")))]),e._v(" "),n("Input",{attrs:{id:e.id+"_name",type:"text",placeholder:e.__("Ex.: 1° ano G - Prof. Marta","iande"),v:e.v.name},model:{value:e.name,callback:function(t){e.name=t},expression:"name"}})],1),e._v(" "),e.exhibition?[n("div",[n("Label",{attrs:{for:e.id+"_date"}},[e._v(e._s(e.__("Data da visitação","iande")))]),e._v(" "),n("DatePicker",{attrs:{id:e.id+"_date",placeholder:e.__("Selecione uma data","iande"),format:"dd/MM/yyyy",v:e.v.date},model:{value:e.date,callback:function(t){e.date=t},expression:"date"}})],1),e._v(" "),e.date?n("div",[n("Label",{attrs:{for:e.id+"_hour"}},[e._v(e._s(e.__("Horário","iande")))]),e._v(" "),n("SlotPicker",{ref:"slots",attrs:{id:e.id+"_hour",day:e.date,v:e.v.hour},model:{value:e.hour,callback:function(t){e.hour=t},expression:"hour"}}),e._v(" "),e.availability?n("div",{staticClass:"iande-form-message",class:{"-error":0===e.availability.visitors}},[e._v("\n                "+e._s(e.sprintf(e.__("Vagas disponíveis: %s","iande"),e.availability.visitors))+"\n            ")]):e._e()],1):e._e()]:e._e()],2)}),[],!1,null,null,null).exports;var ne=n(8910),re=n(2050);function ie(e){return function(e){if(Array.isArray(e))return ae(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return ae(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ae(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ae(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}const oe={name:"GroupsDate",components:{FormError:a.Z,GroupDate:te,Repeater:ne.Z},computed:{exhibition:(0,i.U2)("appointments/exhibition"),groups:(0,i.Z_)("appointments/current@groups"),numPeople:(0,i.U2)("appointments/current@num_people")},validations:{groups:{minGroups:(0,r.Ei)(1),$each:{date:{required:r.C1,date:re.hT},hour:{required:r.C1,time:re.XV},name:{required:r.C1}}}},created:function(){if(0===this.groups.length){var e,t=null!==(e=this.exhibition)&&void 0!==e&&e.group_size?Number(this.exhibition.group_size):100,n=Math.ceil(this.numPeople/t);this.groups=ie(new Array(n)).map(this.newGroup)}},methods:{newGroup:function(){return{age_range:"",date:null,disabilities:[],hour:null,languages:[],name:"",num_people:5,num_responsible:1,scholarity:""}}}};const se=(0,q.Z)(oe,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("article",{staticClass:"iande-stack stack-lg"},[n("h1",[e._v(e._s(e.__("Reserve dia e horário","iande")))]),e._v(" "),n("Repeater",{staticClass:"iande-groups",attrs:{id:"groups",factory:e.newGroup,resizable:!1,v:e.$v.groups},scopedSlots:e._u([{key:"item",fn:function(e){var t=e.id,r=e.onUpdate,i=e.v,a=e.value;return[n("GroupDate",{key:t,attrs:{id:t,value:a,v:i},on:{updateValue:r}})]}}]),model:{value:e.groups,callback:function(t){e.groups=t},expression:"groups"}}),e._v(" "),e.$v.groups.$error?n("FormError",{attrs:{id:"groups__error",v:e.$v.groups}}):e._e()],1)}),[],!1,null,null,null).exports},6571:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function i(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(Object(n),!0).forEach((function(t){a(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const o={name:"Input",mixins:[n(1234).Z],inheritAttrs:!1,computed:{inputAttrs:function(){return i(i({},this.$attrs),{},{"aria-describedby":this.errorId,class:["iande-input",this.fieldClass,this.v.$error&&"invalid"],id:this.id,name:this.id})}}};const s=(0,n(1900).Z)(o,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"iande-field"},["checkbox"===e.inputAttrs.type?n("input",e._b({directives:[{name:"model",rawName:"v-model",value:e.modelValue,expression:"modelValue"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.modelValue)?e._i(e.modelValue,null)>-1:e.modelValue},on:{change:function(t){var n=e.modelValue,r=t.target,i=!!r.checked;if(Array.isArray(n)){var a=e._i(n,null);r.checked?a<0&&(e.modelValue=n.concat([null])):a>-1&&(e.modelValue=n.slice(0,a).concat(n.slice(a+1)))}else e.modelValue=i}}},"input",e.inputAttrs,!1)):"radio"===e.inputAttrs.type?n("input",e._b({directives:[{name:"model",rawName:"v-model",value:e.modelValue,expression:"modelValue"}],attrs:{type:"radio"},domProps:{checked:e._q(e.modelValue,null)},on:{change:function(t){e.modelValue=null}}},"input",e.inputAttrs,!1)):n("input",e._b({directives:[{name:"model",rawName:"v-model",value:e.modelValue,expression:"modelValue"}],attrs:{type:e.inputAttrs.type},domProps:{value:e.modelValue},on:{input:function(t){t.target.composing||(e.modelValue=t.target.value)}}},"input",e.inputAttrs,!1)),e._v(" "),e.v.$error?n("FormError",{attrs:{id:e.errorId,v:e.v}}):e._e()],1)}),[],!1,null,null,null).exports},6229:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var r=n(8806),i=n(1338);const a=(0,n(1900).Z)(i.Z,r.s,r.x,!1,null,null,null).exports},8910:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function i(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(Object(n),!0).forEach((function(t){a(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e){return function(e){if(Array.isArray(e))return s(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return s(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return s(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}const u={name:"Repeater",mixins:[n(1234).Z],props:{factory:{type:Function,required:!0},resizable:{type:Boolean,default:!0}},watch:{modelValue:{handler:function(){0===this.modelValue.length&&(this.modelValue=[this.factory()])},immediate:!0}},methods:{addItem:function(){this.modelValue=[].concat(o(this.modelValue),[this.factory()])},removeItem:function(e){var t=this.modelValue.slice();this.modelValue=[].concat(o(t.slice(0,e)),o(t.slice(e+1))).map((function(e,t){return null!=e.id?i(i({},e),{},{id:t+1}):e}))},updateItem:function(e){var t=this;return function(n){var r=t.modelValue.slice();r[e]=n,t.modelValue=r}}}};const l=(0,n(1900).Z)(u,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"iande-field iande-stack stack-lg"},[e._l(e.value,(function(t,r){return n("div",{key:r,staticClass:"iande-repetition",class:e.fieldClass},[e.resizable&&e.value.length>1?n("div",{staticClass:"iande-repetition__remove",attrs:{"aria-label":e.__("Remover item","iande"),role:"button",tabindex:"0"},on:{click:function(t){return e.removeItem(r)}}},[n("Icon",{attrs:{icon:"xmark"}})],1):e._e(),e._v(" "),e._t("item",null,{id:e.id+"_"+r,onUpdate:e.updateItem(r),value:t,v:e.v.$each[r]})],2)})),e._v(" "),e.resizable?e._t("addItem",null,{action:e.addItem}):e._e()],2)}),[],!1,null,null,null).exports},8461:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(1234),i=n(424);const a={name:"Select",mixins:[r.Z],props:{options:{type:[Array,Object],required:!0},placeholder:{type:String,default:(0,i.__)("Selecione uma das opções","iande")}},computed:{classes:function(){return["iande-input",this.fieldClass,this.v.$error&&"invalid"]},normalizedOptions:function(){return Array.isArray(this.options)?Object.fromEntries(this.options.map((function(e){return[e,e]}))):this.options},nullValue:function(){return this.value||null===this.value?null:this.value},optionsLength:function(){return Array.isArray(this.options)?this.options.length:Object.keys(this.options).length}}};const o=(0,n(1900).Z)(a,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"iande-field"},[n("select",{directives:[{name:"model",rawName:"v-model",value:e.modelValue,expression:"modelValue"}],class:e.classes,attrs:{id:e.id,"aria-describedby":e.errorId},on:{change:function(t){var n=Array.prototype.filter.call(t.target.options,(function(e){return e.selected})).map((function(e){return"_value"in e?e._value:e.value}));e.modelValue=t.target.multiple?n:n[0]}}},[e.value===e.nullValue?n("option",{attrs:{disabled:""},domProps:{value:e.nullValue}},[e._v(e._s(e.placeholder))]):e._e(),e._v(" "),e._l(e.normalizedOptions,(function(t,r){return n("option",{key:r,domProps:{value:t}},[e._v("\n            "+e._s(e.__(r,"iande"))+"\n        ")])}))],2),e._v(" "),e.v.$error?n("FormError",{attrs:{id:e.errorId,v:e.v}}):e._e()],1)}),[],!1,null,null,null).exports},1338:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});const r=n(7750).Z},8806:(e,t,n)=>{"use strict";n.d(t,{s:()=>r,x:()=>i});var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("label",{staticClass:"iande-label"},[e._t("default"),e.side?n("span",{staticClass:"iande-label__optional"},[e._v(e._s(e.side))]):e._e()],2)},i=[]},6408:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=(0,n(6681).regex)("alpha",/^[a-zA-Z]*$/);t.default=r},6195:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=(0,n(6681).regex)("alphaNum",/^[a-zA-Z0-9]*$/);t.default=r},5573:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(6681);t.default=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return(0,r.withParams)({type:"and"},(function(){for(var e=this,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return t.length>0&&t.reduce((function(t,n){return t&&n.apply(e,r)}),!0)}))}},7884:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(6681);t.default=function(e,t){return(0,r.withParams)({type:"between",min:e,max:t},(function(n){return!(0,r.req)(n)||(!/\s/.test(n)||n instanceof Date)&&+e<=+n&&+t>=+n}))}},6681:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.req=t.regex=t.ref=t.len=void 0,Object.defineProperty(t,"withParams",{enumerable:!0,get:function(){return i.default}});var r,i=(r=n(8085))&&r.__esModule?r:{default:r};function a(e){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}var o=function(e){if(Array.isArray(e))return!!e.length;if(null==e)return!1;if(!1===e)return!0;if(e instanceof Date)return!isNaN(e.getTime());if("object"===a(e)){for(var t in e)return!0;return!1}return!!String(e).length};t.req=o;t.len=function(e){return Array.isArray(e)?e.length:"object"===a(e)?Object.keys(e).length:String(e).length};t.ref=function(e,t,n){return"function"==typeof e?e.call(t,n):n[e]};t.regex=function(e,t){return(0,i.default)({type:e},(function(e){return!o(e)||t.test(e)}))}},4078:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=(0,n(6681).regex)("decimal",/^[-]?\d*(\.\d+)?$/);t.default=r},8107:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=(0,n(6681).regex)("email",/^(?:[A-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[A-z0-9!#$%&'*+/=?^_`{|}~-]+)*|"(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21\x23-\x5b\x5d-\x7f]|[\x01-\x09\x0b\x0c\x0e-\x7f])*")@(?:(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9]{2,}(?:[a-z0-9-]*[a-z0-9])?|\[(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?|[a-z0-9-]*[a-z0-9]:(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21-\x5a\x53-\x7f]|\\[\x01-\x09\x0b\x0c\x0e-\x7f])+)\])$/i);t.default=r},379:(e,t,n)=>{"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}Object.defineProperty(t,"Do",{enumerable:!0,get:function(){return u.default}}),t.BM=void 0,Object.defineProperty(t,"_L",{enumerable:!0,get:function(){return k.default}}),Object.defineProperty(t,"BS",{enumerable:!0,get:function(){return d.default}}),Object.defineProperty(t,"PW",{enumerable:!0,get:function(){return _.default}}),Object.defineProperty(t,"Ei",{enumerable:!0,get:function(){return h.default}}),Object.defineProperty(t,"uv",{enumerable:!0,get:function(){return D.default}}),Object.defineProperty(t,"uR",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"C1",{enumerable:!0,get:function(){return f.default}}),Object.defineProperty(t,"CF",{enumerable:!0,get:function(){return m.default}}),Object.defineProperty(t,"Nf",{enumerable:!0,get:function(){return p.default}}),Object.defineProperty(t,"sH",{enumerable:!0,get:function(){return v.default}});var i=O(n(6408)),a=O(n(6195)),o=O(n(5669)),s=O(n(7884)),u=O(n(8107)),l=O(n(9103)),c=O(n(7340)),d=O(n(5287)),h=O(n(3091)),f=O(n(2419)),m=O(n(2941)),p=O(n(8300)),v=O(n(918)),y=O(n(3213)),g=O(n(5832)),b=O(n(5573)),w=O(n(2500)),D=O(n(2628)),_=O(n(301)),k=O(n(6673)),A=O(n(4078)),S=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!=typeof e)return{default:e};var n=C(t);if(n&&n.has(e))return n.get(e);var i={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var s=a?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(i,o,s):i[o]=e[o]}i.default=e,n&&n.set(e,i);return i}(n(6681));function C(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(C=function(e){return e?n:t})(e)}function O(e){return e&&e.__esModule?e:{default:e}}t.BM=S},6673:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=(0,n(6681).regex)("integer",/(^[0-9]*$)|(^-[0-9]+$)/);t.default=r},9103:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(6681),i=(0,r.withParams)({type:"ipAddress"},(function(e){if(!(0,r.req)(e))return!0;if("string"!=typeof e)return!1;var t=e.split(".");return 4===t.length&&t.every(a)}));t.default=i;var a=function(e){if(e.length>3||0===e.length)return!1;if("0"===e[0]&&"0"!==e)return!1;if(!e.match(/^\d+$/))return!1;var t=0|+e;return t>=0&&t<=255}},7340:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(6681);t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:":";return(0,r.withParams)({type:"macAddress"},(function(t){if(!(0,r.req)(t))return!0;if("string"!=typeof t)return!1;var n="string"==typeof e&&""!==e?t.split(e):12===t.length||16===t.length?t.match(/.{2}/g):null;return null!==n&&(6===n.length||8===n.length)&&n.every(i)}))};var i=function(e){return e.toLowerCase().match(/^[0-9a-f]{2}$/)}},5287:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(6681);t.default=function(e){return(0,r.withParams)({type:"maxLength",max:e},(function(t){return!(0,r.req)(t)||(0,r.len)(t)<=e}))}},301:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(6681);t.default=function(e){return(0,r.withParams)({type:"maxValue",max:e},(function(t){return!(0,r.req)(t)||(!/\s/.test(t)||t instanceof Date)&&+t<=+e}))}},3091:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(6681);t.default=function(e){return(0,r.withParams)({type:"minLength",min:e},(function(t){return!(0,r.req)(t)||(0,r.len)(t)>=e}))}},2628:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(6681);t.default=function(e){return(0,r.withParams)({type:"minValue",min:e},(function(t){return!(0,r.req)(t)||(!/\s/.test(t)||t instanceof Date)&&+t>=+e}))}},2500:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(6681);t.default=function(e){return(0,r.withParams)({type:"not"},(function(t,n){return!(0,r.req)(t)||!e.call(this,t,n)}))}},5669:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=(0,n(6681).regex)("numeric",/^[0-9]*$/);t.default=r},5832:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(6681);t.default=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return(0,r.withParams)({type:"or"},(function(){for(var e=this,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return t.length>0&&t.reduce((function(t,n){return t||n.apply(e,r)}),!1)}))}},2419:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(6681),i=(0,r.withParams)({type:"required"},(function(e){return"string"==typeof e?(0,r.req)(e.trim()):(0,r.req)(e)}));t.default=i},2941:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(6681);t.default=function(e){return(0,r.withParams)({type:"requiredIf",prop:e},(function(t,n){return!(0,r.ref)(e,this,n)||(0,r.req)(t)}))}},8300:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(6681);t.default=function(e){return(0,r.withParams)({type:"requiredUnless",prop:e},(function(t,n){return!!(0,r.ref)(e,this,n)||(0,r.req)(t)}))}},918:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(6681);t.default=function(e){return(0,r.withParams)({type:"sameAs",eq:e},(function(t,n){return t===(0,r.ref)(e,this,n)}))}},3213:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=(0,n(6681).regex)("url",/^(?:(?:(?:https?|ftp):)?\/\/)(?:\S+(?::\S*)?@)?(?:(?!(?:10|127)(?:\.\d{1,3}){3})(?!(?:169\.254|192\.168)(?:\.\d{1,3}){2})(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-z0-9\u00a1-\uffff][a-z0-9\u00a1-\uffff_-]{0,62})?[a-z0-9\u00a1-\uffff]\.)+(?:[a-z\u00a1-\uffff]{2,}\.?))(?::\d{2,5})?(?:[/?#]\S*)?$/i);t.default=r},8085:(e,t,n)=>{"use strict";var r=n(4155);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i="web"===r.env.BUILD?n(16).R:n(8413).withParams;t.default=i},16:(e,t,n)=>{"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}t.R=void 0;var i="undefined"!=typeof window?window:void 0!==n.g?n.g:{},a=i.vuelidate?i.vuelidate.withParams:function(e,t){return"object"===r(e)&&void 0!==t?t:e((function(){}))};t.R=a}}]);
     1(self.webpackChunkiande_plugin=self.webpackChunkiande_plugin||[]).push([[689],{7750:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});const r={name:"Label",props:{for:{type:String,required:!0},side:{type:String,default:""}}}},1234:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});const r={components:{FormError:n(1968).Z},model:{prop:"value",event:"updateValue"},props:{fieldClass:{type:String,default:null},id:{type:String,required:!0},v:{type:Object,required:!0},value:{type:null,required:!0}},computed:{errorId:function(){return"".concat(this.id,"__error")},modelValue:{get:function(){return this.value},set:function(e){this.$emit("updateValue",e)}}}}},2974:(e,t,n)=>{"use strict";n.d(t,{FJ:()=>h,S4:()=>c,ZS:()=>d});var r=n(9490),i=n(1870);function a(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return o(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,s=!0,u=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return s=e.done,e},e:function(e){u=!0,a=e},f:function(){try{s||null==n.return||n.return()}finally{if(u)throw a}}}}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var s=["sunday","monday","tuesday","wednesday","thursday","friday","saturday","sunday"];function u(e){return e&&e.from&&e.to&&e.from<e.to}function l(e){return e instanceof r.ou?e:e instanceof Date?r.ou.fromJSDate(e):r.ou.fromFormat(e,"HH:mm")}function c(e,t){var n,o=function(e){return e instanceof r.ou?e:e instanceof Date?r.ou.fromJSDate(e):r.ou.fromISO(e)}(t),l=o.toISODate(),c=a((0,i.qo)(e.exception));try{for(c.s();!(n=c.n()).done;){var d=n.value;if(l>=d.date_from&&(!d.date_to||l<=d.date_to))return((0,i.qo)(d.exceptions)||[]).filter(u)}}catch(e){c.e(e)}finally{c.f()}return l>=e.date_from&&(!e.date_to||l<=e.date_to)?((0,i.qo)(e[s[o.weekday]])||[]).filter(u):[]}function d(e,t){var n=l(t);return r.Xp.fromDateTimes(n,n.plus({minutes:e.duration}))}function h(e,t){var n={minutes:e.duration};return c(e,t).flatMap((function(t){var i=l(t.from),a=l(t.to);return r.Xp.fromDateTimes(i,a).splitBy({minutes:e.grid}).map((function(e){return e.set({end:e.start.plus(n)})})).filter((function(e){return e.end<=a}))}))}},2050:(e,t,n)=>{"use strict";n.d(t,{XV:()=>d,hT:()=>s,k:()=>u,m7:()=>l,s3:()=>o,x$:()=>a});var r=n(9490),i=n(379),a=i.BM.regex("cep",/^\d{8}$/),o=i.BM.regex("cnpj",/^\d{14}$/);function s(e){return!e||"string"==typeof e&&r.ou.fromISO(e).isValid}function u(e){return!e}var l=i.BM.regex("phone",/^\d{10,11}$/),c=/^([01][0-9]|2[0-3]):[0-5][0-9]$/;function d(e){return!e||"string"==typeof e&&Boolean(e.match(c))}},9490:(e,t)=>{"use strict";function n(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function r(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}function i(){return i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i.apply(this,arguments)}function a(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,s(e,t)}function o(e){return o=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},o(e)}function s(e,t){return s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},s(e,t)}function u(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function l(e,t,n){return l=u()?Reflect.construct:function(e,t,n){var r=[null];r.push.apply(r,t);var i=new(Function.bind.apply(e,r));return n&&s(i,n.prototype),i},l.apply(null,arguments)}function c(e){var t="function"==typeof Map?new Map:void 0;return c=function(e){if(null===e||(n=e,-1===Function.toString.call(n).indexOf("[native code]")))return e;var n;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,r)}function r(){return l(e,arguments,o(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),s(r,e)},c(e)}function d(e,t){if(null==e)return{};var n,r,i={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}function h(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function f(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return h(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?h(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var m=function(e){function t(){return e.apply(this,arguments)||this}return a(t,e),t}(c(Error)),p=function(e){function t(t){return e.call(this,"Invalid DateTime: "+t.toMessage())||this}return a(t,e),t}(m),v=function(e){function t(t){return e.call(this,"Invalid Interval: "+t.toMessage())||this}return a(t,e),t}(m),y=function(e){function t(t){return e.call(this,"Invalid Duration: "+t.toMessage())||this}return a(t,e),t}(m),g=function(e){function t(){return e.apply(this,arguments)||this}return a(t,e),t}(m),b=function(e){function t(t){return e.call(this,"Invalid unit "+t)||this}return a(t,e),t}(m),w=function(e){function t(){return e.apply(this,arguments)||this}return a(t,e),t}(m),D=function(e){function t(){return e.call(this,"Zone is an abstract class")||this}return a(t,e),t}(m),_="numeric",k="short",A="long",S={year:_,month:_,day:_},C={year:_,month:k,day:_},O={year:_,month:k,day:_,weekday:k},M={year:_,month:A,day:_},T={year:_,month:A,day:_,weekday:A},x={hour:_,minute:_},E={hour:_,minute:_,second:_},N={hour:_,minute:_,second:_,timeZoneName:k},V={hour:_,minute:_,second:_,timeZoneName:A},j={hour:_,minute:_,hourCycle:"h23"},I={hour:_,minute:_,second:_,hourCycle:"h23"},B={hour:_,minute:_,second:_,hourCycle:"h23",timeZoneName:k},F={hour:_,minute:_,second:_,hourCycle:"h23",timeZoneName:A},P={year:_,month:_,day:_,hour:_,minute:_},Y={year:_,month:_,day:_,hour:_,minute:_,second:_},Z={year:_,month:k,day:_,hour:_,minute:_},L={year:_,month:k,day:_,hour:_,minute:_,second:_},U={year:_,month:k,day:_,weekday:k,hour:_,minute:_},q={year:_,month:A,day:_,hour:_,minute:_,timeZoneName:k},z={year:_,month:A,day:_,hour:_,minute:_,second:_,timeZoneName:k},$={year:_,month:A,day:_,weekday:A,hour:_,minute:_,timeZoneName:A},R={year:_,month:A,day:_,weekday:A,hour:_,minute:_,second:_,timeZoneName:A};function H(e){return void 0===e}function W(e){return"number"==typeof e}function J(e){return"number"==typeof e&&e%1==0}function G(){try{return"undefined"!=typeof Intl&&!!Intl.RelativeTimeFormat}catch(e){return!1}}function X(e,t,n){if(0!==e.length)return e.reduce((function(e,r){var i=[t(r),r];return e&&n(e[0],i[0])===e[0]?e:i}),null)[1]}function Q(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function K(e,t,n){return J(e)&&e>=t&&e<=n}function ee(e,t){return void 0===t&&(t=2),e<0?"-"+(""+-e).padStart(t,"0"):(""+e).padStart(t,"0")}function te(e){return H(e)||null===e||""===e?void 0:parseInt(e,10)}function ne(e){return H(e)||null===e||""===e?void 0:parseFloat(e)}function re(e){if(!H(e)&&null!==e&&""!==e){var t=1e3*parseFloat("0."+e);return Math.floor(t)}}function ie(e,t,n){void 0===n&&(n=!1);var r=Math.pow(10,t);return(n?Math.trunc:Math.round)(e*r)/r}function ae(e){return e%4==0&&(e%100!=0||e%400==0)}function oe(e){return ae(e)?366:365}function se(e,t){var n=function(e,t){return e-t*Math.floor(e/t)}(t-1,12)+1;return 2===n?ae(e+(t-n)/12)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][n-1]}function ue(e){var t=Date.UTC(e.year,e.month-1,e.day,e.hour,e.minute,e.second,e.millisecond);return e.year<100&&e.year>=0&&(t=new Date(t)).setUTCFullYear(t.getUTCFullYear()-1900),+t}function le(e){var t=(e+Math.floor(e/4)-Math.floor(e/100)+Math.floor(e/400))%7,n=e-1,r=(n+Math.floor(n/4)-Math.floor(n/100)+Math.floor(n/400))%7;return 4===t||3===r?53:52}function ce(e){return e>99?e:e>60?1900+e:2e3+e}function de(e,t,n,r){void 0===r&&(r=null);var a=new Date(e),o={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};r&&(o.timeZone=r);var s=i({timeZoneName:t},o),u=new Intl.DateTimeFormat(n,s).formatToParts(a).find((function(e){return"timezonename"===e.type.toLowerCase()}));return u?u.value:null}function he(e,t){var n=parseInt(e,10);Number.isNaN(n)&&(n=0);var r=parseInt(t,10)||0;return 60*n+(n<0||Object.is(n,-0)?-r:r)}function fe(e){var t=Number(e);if("boolean"==typeof e||""===e||Number.isNaN(t))throw new w("Invalid unit value "+e);return t}function me(e,t){var n={};for(var r in e)if(Q(e,r)){var i=e[r];if(null==i)continue;n[t(r)]=fe(i)}return n}function pe(e,t){var n=Math.trunc(Math.abs(e/60)),r=Math.trunc(Math.abs(e%60)),i=e>=0?"+":"-";switch(t){case"short":return""+i+ee(n,2)+":"+ee(r,2);case"narrow":return""+i+n+(r>0?":"+r:"");case"techie":return""+i+ee(n,2)+ee(r,2);default:throw new RangeError("Value format "+t+" is out of range for property format")}}function ve(e){return function(e,t){return t.reduce((function(t,n){return t[n]=e[n],t}),{})}(e,["hour","minute","second","millisecond"])}var ye=/[A-Za-z_+-]{1,256}(:?\/[A-Za-z0-9_+-]{1,256}(\/[A-Za-z0-9_+-]{1,256})?)?/,ge=["January","February","March","April","May","June","July","August","September","October","November","December"],be=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],we=["J","F","M","A","M","J","J","A","S","O","N","D"];function De(e){switch(e){case"narrow":return[].concat(we);case"short":return[].concat(be);case"long":return[].concat(ge);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}}var _e=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],ke=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],Ae=["M","T","W","T","F","S","S"];function Se(e){switch(e){case"narrow":return[].concat(Ae);case"short":return[].concat(ke);case"long":return[].concat(_e);case"numeric":return["1","2","3","4","5","6","7"];default:return null}}var Ce=["AM","PM"],Oe=["Before Christ","Anno Domini"],Me=["BC","AD"],Te=["B","A"];function xe(e){switch(e){case"narrow":return[].concat(Te);case"short":return[].concat(Me);case"long":return[].concat(Oe);default:return null}}function Ee(e,t){for(var n,r="",i=f(e);!(n=i()).done;){var a=n.value;a.literal?r+=a.val:r+=t(a.val)}return r}var Ne={D:S,DD:C,DDD:M,DDDD:T,t:x,tt:E,ttt:N,tttt:V,T:j,TT:I,TTT:B,TTTT:F,f:P,ff:Z,fff:q,ffff:$,F:Y,FF:L,FFF:z,FFFF:R},Ve=function(){function e(e,t){this.opts=t,this.loc=e,this.systemLoc=null}e.create=function(t,n){return void 0===n&&(n={}),new e(t,n)},e.parseFormat=function(e){for(var t=null,n="",r=!1,i=[],a=0;a<e.length;a++){var o=e.charAt(a);"'"===o?(n.length>0&&i.push({literal:r,val:n}),t=null,n="",r=!r):r||o===t?n+=o:(n.length>0&&i.push({literal:!1,val:n}),n=o,t=o)}return n.length>0&&i.push({literal:r,val:n}),i},e.macroTokenToFormatOpts=function(e){return Ne[e]};var t=e.prototype;return t.formatWithSystemDefault=function(e,t){return null===this.systemLoc&&(this.systemLoc=this.loc.redefaultToSystem()),this.systemLoc.dtFormatter(e,i({},this.opts,t)).format()},t.formatDateTime=function(e,t){return void 0===t&&(t={}),this.loc.dtFormatter(e,i({},this.opts,t)).format()},t.formatDateTimeParts=function(e,t){return void 0===t&&(t={}),this.loc.dtFormatter(e,i({},this.opts,t)).formatToParts()},t.resolvedOptions=function(e,t){return void 0===t&&(t={}),this.loc.dtFormatter(e,i({},this.opts,t)).resolvedOptions()},t.num=function(e,t){if(void 0===t&&(t=0),this.opts.forceSimple)return ee(e,t);var n=i({},this.opts);return t>0&&(n.padTo=t),this.loc.numberFormatter(n).format(e)},t.formatDateTimeFromString=function(t,n){var r=this,i="en"===this.loc.listingMode(),a=this.loc.outputCalendar&&"gregory"!==this.loc.outputCalendar,o=function(e,n){return r.loc.extract(t,e,n)},s=function(e){return t.isOffsetFixed&&0===t.offset&&e.allowZ?"Z":t.isValid?t.zone.formatOffset(t.ts,e.format):""},u=function(){return i?function(e){return Ce[e.hour<12?0:1]}(t):o({hour:"numeric",hourCycle:"h12"},"dayperiod")},l=function(e,n){return i?function(e,t){return De(t)[e.month-1]}(t,e):o(n?{month:e}:{month:e,day:"numeric"},"month")},c=function(e,n){return i?function(e,t){return Se(t)[e.weekday-1]}(t,e):o(n?{weekday:e}:{weekday:e,month:"long",day:"numeric"},"weekday")},d=function(e){return i?function(e,t){return xe(t)[e.year<0?0:1]}(t,e):o({era:e},"era")};return Ee(e.parseFormat(n),(function(n){switch(n){case"S":return r.num(t.millisecond);case"u":case"SSS":return r.num(t.millisecond,3);case"s":return r.num(t.second);case"ss":return r.num(t.second,2);case"uu":return r.num(Math.floor(t.millisecond/10),2);case"uuu":return r.num(Math.floor(t.millisecond/100));case"m":return r.num(t.minute);case"mm":return r.num(t.minute,2);case"h":return r.num(t.hour%12==0?12:t.hour%12);case"hh":return r.num(t.hour%12==0?12:t.hour%12,2);case"H":return r.num(t.hour);case"HH":return r.num(t.hour,2);case"Z":return s({format:"narrow",allowZ:r.opts.allowZ});case"ZZ":return s({format:"short",allowZ:r.opts.allowZ});case"ZZZ":return s({format:"techie",allowZ:r.opts.allowZ});case"ZZZZ":return t.zone.offsetName(t.ts,{format:"short",locale:r.loc.locale});case"ZZZZZ":return t.zone.offsetName(t.ts,{format:"long",locale:r.loc.locale});case"z":return t.zoneName;case"a":return u();case"d":return a?o({day:"numeric"},"day"):r.num(t.day);case"dd":return a?o({day:"2-digit"},"day"):r.num(t.day,2);case"c":case"E":return r.num(t.weekday);case"ccc":return c("short",!0);case"cccc":return c("long",!0);case"ccccc":return c("narrow",!0);case"EEE":return c("short",!1);case"EEEE":return c("long",!1);case"EEEEE":return c("narrow",!1);case"L":return a?o({month:"numeric",day:"numeric"},"month"):r.num(t.month);case"LL":return a?o({month:"2-digit",day:"numeric"},"month"):r.num(t.month,2);case"LLL":return l("short",!0);case"LLLL":return l("long",!0);case"LLLLL":return l("narrow",!0);case"M":return a?o({month:"numeric"},"month"):r.num(t.month);case"MM":return a?o({month:"2-digit"},"month"):r.num(t.month,2);case"MMM":return l("short",!1);case"MMMM":return l("long",!1);case"MMMMM":return l("narrow",!1);case"y":return a?o({year:"numeric"},"year"):r.num(t.year);case"yy":return a?o({year:"2-digit"},"year"):r.num(t.year.toString().slice(-2),2);case"yyyy":return a?o({year:"numeric"},"year"):r.num(t.year,4);case"yyyyyy":return a?o({year:"numeric"},"year"):r.num(t.year,6);case"G":return d("short");case"GG":return d("long");case"GGGGG":return d("narrow");case"kk":return r.num(t.weekYear.toString().slice(-2),2);case"kkkk":return r.num(t.weekYear,4);case"W":return r.num(t.weekNumber);case"WW":return r.num(t.weekNumber,2);case"o":return r.num(t.ordinal);case"ooo":return r.num(t.ordinal,3);case"q":return r.num(t.quarter);case"qq":return r.num(t.quarter,2);case"X":return r.num(Math.floor(t.ts/1e3));case"x":return r.num(t.ts);default:return function(n){var i=e.macroTokenToFormatOpts(n);return i?r.formatWithSystemDefault(t,i):n}(n)}}))},t.formatDurationFromString=function(t,n){var r,i=this,a=function(e){switch(e[0]){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":return"hour";case"d":return"day";case"M":return"month";case"y":return"year";default:return null}},o=e.parseFormat(n),s=o.reduce((function(e,t){var n=t.literal,r=t.val;return n?e:e.concat(r)}),[]),u=t.shiftTo.apply(t,s.map(a).filter((function(e){return e})));return Ee(o,(r=u,function(e){var t=a(e);return t?i.num(r.get(t),e.length):e}))},e}(),je=function(){function e(e,t){this.reason=e,this.explanation=t}return e.prototype.toMessage=function(){return this.explanation?this.reason+": "+this.explanation:this.reason},e}(),Ie=function(){function e(){}var t=e.prototype;return t.offsetName=function(e,t){throw new D},t.formatOffset=function(e,t){throw new D},t.offset=function(e){throw new D},t.equals=function(e){throw new D},r(e,[{key:"type",get:function(){throw new D}},{key:"name",get:function(){throw new D}},{key:"isUniversal",get:function(){throw new D}},{key:"isValid",get:function(){throw new D}}]),e}(),Be=null,Fe=function(e){function t(){return e.apply(this,arguments)||this}a(t,e);var n=t.prototype;return n.offsetName=function(e,t){return de(e,t.format,t.locale)},n.formatOffset=function(e,t){return pe(this.offset(e),t)},n.offset=function(e){return-new Date(e).getTimezoneOffset()},n.equals=function(e){return"system"===e.type},r(t,[{key:"type",get:function(){return"system"}},{key:"name",get:function(){return(new Intl.DateTimeFormat).resolvedOptions().timeZone}},{key:"isUniversal",get:function(){return!1}},{key:"isValid",get:function(){return!0}}],[{key:"instance",get:function(){return null===Be&&(Be=new t),Be}}]),t}(Ie);RegExp("^"+ye.source+"$");var Pe={};var Ye={year:0,month:1,day:2,hour:3,minute:4,second:5};var Ze={},Le=function(e){function t(n){var r;return(r=e.call(this)||this).zoneName=n,r.valid=t.isValidZone(n),r}a(t,e),t.create=function(e){return Ze[e]||(Ze[e]=new t(e)),Ze[e]},t.resetCache=function(){Ze={},Pe={}},t.isValidSpecifier=function(e){return this.isValidZone(e)},t.isValidZone=function(e){if(!e)return!1;try{return new Intl.DateTimeFormat("en-US",{timeZone:e}).format(),!0}catch(e){return!1}};var n=t.prototype;return n.offsetName=function(e,t){return de(e,t.format,t.locale,this.name)},n.formatOffset=function(e,t){return pe(this.offset(e),t)},n.offset=function(e){var t=new Date(e);if(isNaN(t))return NaN;var n,r=(n=this.name,Pe[n]||(Pe[n]=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:n,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"})),Pe[n]),i=r.formatToParts?function(e,t){for(var n=e.formatToParts(t),r=[],i=0;i<n.length;i++){var a=n[i],o=a.type,s=a.value,u=Ye[o];H(u)||(r[u]=parseInt(s,10))}return r}(r,t):function(e,t){var n=e.format(t).replace(/\u200E/g,""),r=/(\d+)\/(\d+)\/(\d+),? (\d+):(\d+):(\d+)/.exec(n),i=r[1],a=r[2];return[r[3],i,a,r[4],r[5],r[6]]}(r,t),a=i[0],o=i[1],s=i[2],u=i[3],l=+t,c=l%1e3;return(ue({year:a,month:o,day:s,hour:24===u?0:u,minute:i[4],second:i[5],millisecond:0})-(l-=c>=0?c:1e3+c))/6e4},n.equals=function(e){return"iana"===e.type&&e.name===this.name},r(t,[{key:"type",get:function(){return"iana"}},{key:"name",get:function(){return this.zoneName}},{key:"isUniversal",get:function(){return!1}},{key:"isValid",get:function(){return this.valid}}]),t}(Ie),Ue=null,qe=function(e){function t(t){var n;return(n=e.call(this)||this).fixed=t,n}a(t,e),t.instance=function(e){return 0===e?t.utcInstance:new t(e)},t.parseSpecifier=function(e){if(e){var n=e.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(n)return new t(he(n[1],n[2]))}return null};var n=t.prototype;return n.offsetName=function(){return this.name},n.formatOffset=function(e,t){return pe(this.fixed,t)},n.offset=function(){return this.fixed},n.equals=function(e){return"fixed"===e.type&&e.fixed===this.fixed},r(t,[{key:"type",get:function(){return"fixed"}},{key:"name",get:function(){return 0===this.fixed?"UTC":"UTC"+pe(this.fixed,"narrow")}},{key:"isUniversal",get:function(){return!0}},{key:"isValid",get:function(){return!0}}],[{key:"utcInstance",get:function(){return null===Ue&&(Ue=new t(0)),Ue}}]),t}(Ie),ze=function(e){function t(t){var n;return(n=e.call(this)||this).zoneName=t,n}a(t,e);var n=t.prototype;return n.offsetName=function(){return null},n.formatOffset=function(){return""},n.offset=function(){return NaN},n.equals=function(){return!1},r(t,[{key:"type",get:function(){return"invalid"}},{key:"name",get:function(){return this.zoneName}},{key:"isUniversal",get:function(){return!1}},{key:"isValid",get:function(){return!1}}]),t}(Ie);function $e(e,t){if(H(e)||null===e)return t;if(e instanceof Ie)return e;if("string"==typeof e){var n=e.toLowerCase();return"local"===n||"system"===n?t:"utc"===n||"gmt"===n?qe.utcInstance:qe.parseSpecifier(n)||Le.create(e)}return W(e)?qe.instance(e):"object"==typeof e&&e.offset&&"number"==typeof e.offset?e:new ze(e)}var Re,He=function(){return Date.now()},We="system",Je=null,Ge=null,Xe=null,Qe=function(){function e(){}return e.resetCaches=function(){dt.resetCache(),Le.resetCache()},r(e,null,[{key:"now",get:function(){return He},set:function(e){He=e}},{key:"defaultZone",get:function(){return $e(We,Fe.instance)},set:function(e){We=e}},{key:"defaultLocale",get:function(){return Je},set:function(e){Je=e}},{key:"defaultNumberingSystem",get:function(){return Ge},set:function(e){Ge=e}},{key:"defaultOutputCalendar",get:function(){return Xe},set:function(e){Xe=e}},{key:"throwOnInvalid",get:function(){return Re},set:function(e){Re=e}}]),e}(),Ke=["base"],et=["padTo","floor"],tt={};var nt={};function rt(e,t){void 0===t&&(t={});var n=JSON.stringify([e,t]),r=nt[n];return r||(r=new Intl.DateTimeFormat(e,t),nt[n]=r),r}var it={};var at={};var ot=null;function st(e,t,n,r,i){var a=e.listingMode(n);return"error"===a?null:"en"===a?r(t):i(t)}var ut=function(){function e(e,t,n){this.padTo=n.padTo||0,this.floor=n.floor||!1,n.padTo,n.floor;var r=d(n,et);if(!t||Object.keys(r).length>0){var a=i({useGrouping:!1},n);n.padTo>0&&(a.minimumIntegerDigits=n.padTo),this.inf=function(e,t){void 0===t&&(t={});var n=JSON.stringify([e,t]),r=it[n];return r||(r=new Intl.NumberFormat(e,t),it[n]=r),r}(e,a)}}return e.prototype.format=function(e){if(this.inf){var t=this.floor?Math.floor(e):e;return this.inf.format(t)}return ee(this.floor?Math.floor(e):ie(e,3),this.padTo)},e}(),lt=function(){function e(e,t,n){var r;if(this.opts=n,e.zone.isUniversal){var a=e.offset/60*-1,o=a>=0?"Etc/GMT+"+a:"Etc/GMT"+a;0!==e.offset&&Le.create(o).valid?(r=o,this.dt=e):(r="UTC",n.timeZoneName?this.dt=e:this.dt=0===e.offset?e:mr.fromMillis(e.ts+60*e.offset*1e3))}else"system"===e.zone.type?this.dt=e:(this.dt=e,r=e.zone.name);var s=i({},this.opts);r&&(s.timeZone=r),this.dtf=rt(t,s)}var t=e.prototype;return t.format=function(){return this.dtf.format(this.dt.toJSDate())},t.formatToParts=function(){return this.dtf.formatToParts(this.dt.toJSDate())},t.resolvedOptions=function(){return this.dtf.resolvedOptions()},e}(),ct=function(){function e(e,t,n){this.opts=i({style:"long"},n),!t&&G()&&(this.rtf=function(e,t){void 0===t&&(t={});var n=t;n.base;var r=d(n,Ke),i=JSON.stringify([e,r]),a=at[i];return a||(a=new Intl.RelativeTimeFormat(e,t),at[i]=a),a}(e,n))}var t=e.prototype;return t.format=function(e,t){return this.rtf?this.rtf.format(e,t):function(e,t,n,r){void 0===n&&(n="always"),void 0===r&&(r=!1);var i={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."]},a=-1===["hours","minutes","seconds"].indexOf(e);if("auto"===n&&a){var o="days"===e;switch(t){case 1:return o?"tomorrow":"next "+i[e][0];case-1:return o?"yesterday":"last "+i[e][0];case 0:return o?"today":"this "+i[e][0]}}var s=Object.is(t,-0)||t<0,u=Math.abs(t),l=1===u,c=i[e],d=r?l?c[1]:c[2]||c[1]:l?i[e][0]:e;return s?u+" "+d+" ago":"in "+u+" "+d}(t,e,this.opts.numeric,"long"!==this.opts.style)},t.formatToParts=function(e,t){return this.rtf?this.rtf.formatToParts(e,t):[]},e}(),dt=function(){function e(e,t,n,r){var i=function(e){var t=e.indexOf("-u-");if(-1===t)return[e];var n,r=e.substring(0,t);try{n=rt(e).resolvedOptions()}catch(e){n=rt(r).resolvedOptions()}var i=n;return[r,i.numberingSystem,i.calendar]}(e),a=i[0],o=i[1],s=i[2];this.locale=a,this.numberingSystem=t||o||null,this.outputCalendar=n||s||null,this.intl=function(e,t,n){return n||t?(e+="-u",n&&(e+="-ca-"+n),t&&(e+="-nu-"+t),e):e}(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=r,this.fastNumbersCached=null}e.fromOpts=function(t){return e.create(t.locale,t.numberingSystem,t.outputCalendar,t.defaultToEN)},e.create=function(t,n,r,i){void 0===i&&(i=!1);var a=t||Qe.defaultLocale;return new e(a||(i?"en-US":ot||(ot=(new Intl.DateTimeFormat).resolvedOptions().locale)),n||Qe.defaultNumberingSystem,r||Qe.defaultOutputCalendar,a)},e.resetCache=function(){ot=null,nt={},it={},at={}},e.fromObject=function(t){var n=void 0===t?{}:t,r=n.locale,i=n.numberingSystem,a=n.outputCalendar;return e.create(r,i,a)};var t=e.prototype;return t.listingMode=function(){var e=this.isEnglish(),t=!(null!==this.numberingSystem&&"latn"!==this.numberingSystem||null!==this.outputCalendar&&"gregory"!==this.outputCalendar);return e&&t?"en":"intl"},t.clone=function(t){return t&&0!==Object.getOwnPropertyNames(t).length?e.create(t.locale||this.specifiedLocale,t.numberingSystem||this.numberingSystem,t.outputCalendar||this.outputCalendar,t.defaultToEN||!1):this},t.redefaultToEN=function(e){return void 0===e&&(e={}),this.clone(i({},e,{defaultToEN:!0}))},t.redefaultToSystem=function(e){return void 0===e&&(e={}),this.clone(i({},e,{defaultToEN:!1}))},t.months=function(e,t,n){var r=this;return void 0===t&&(t=!1),void 0===n&&(n=!0),st(this,e,n,De,(function(){var n=t?{month:e,day:"numeric"}:{month:e},i=t?"format":"standalone";return r.monthsCache[i][e]||(r.monthsCache[i][e]=function(e){for(var t=[],n=1;n<=12;n++){var r=mr.utc(2016,n,1);t.push(e(r))}return t}((function(e){return r.extract(e,n,"month")}))),r.monthsCache[i][e]}))},t.weekdays=function(e,t,n){var r=this;return void 0===t&&(t=!1),void 0===n&&(n=!0),st(this,e,n,Se,(function(){var n=t?{weekday:e,year:"numeric",month:"long",day:"numeric"}:{weekday:e},i=t?"format":"standalone";return r.weekdaysCache[i][e]||(r.weekdaysCache[i][e]=function(e){for(var t=[],n=1;n<=7;n++){var r=mr.utc(2016,11,13+n);t.push(e(r))}return t}((function(e){return r.extract(e,n,"weekday")}))),r.weekdaysCache[i][e]}))},t.meridiems=function(e){var t=this;return void 0===e&&(e=!0),st(this,void 0,e,(function(){return Ce}),(function(){if(!t.meridiemCache){var e={hour:"numeric",hourCycle:"h12"};t.meridiemCache=[mr.utc(2016,11,13,9),mr.utc(2016,11,13,19)].map((function(n){return t.extract(n,e,"dayperiod")}))}return t.meridiemCache}))},t.eras=function(e,t){var n=this;return void 0===t&&(t=!0),st(this,e,t,xe,(function(){var t={era:e};return n.eraCache[e]||(n.eraCache[e]=[mr.utc(-40,1,1),mr.utc(2017,1,1)].map((function(e){return n.extract(e,t,"era")}))),n.eraCache[e]}))},t.extract=function(e,t,n){var r=this.dtFormatter(e,t).formatToParts().find((function(e){return e.type.toLowerCase()===n}));return r?r.value:null},t.numberFormatter=function(e){return void 0===e&&(e={}),new ut(this.intl,e.forceSimple||this.fastNumbers,e)},t.dtFormatter=function(e,t){return void 0===t&&(t={}),new lt(e,this.intl,t)},t.relFormatter=function(e){return void 0===e&&(e={}),new ct(this.intl,this.isEnglish(),e)},t.listFormatter=function(e){return void 0===e&&(e={}),function(e,t){void 0===t&&(t={});var n=JSON.stringify([e,t]),r=tt[n];return r||(r=new Intl.ListFormat(e,t),tt[n]=r),r}(this.intl,e)},t.isEnglish=function(){return"en"===this.locale||"en-us"===this.locale.toLowerCase()||new Intl.DateTimeFormat(this.intl).resolvedOptions().locale.startsWith("en-us")},t.equals=function(e){return this.locale===e.locale&&this.numberingSystem===e.numberingSystem&&this.outputCalendar===e.outputCalendar},r(e,[{key:"fastNumbers",get:function(){var e;return null==this.fastNumbersCached&&(this.fastNumbersCached=(!(e=this).numberingSystem||"latn"===e.numberingSystem)&&("latn"===e.numberingSystem||!e.locale||e.locale.startsWith("en")||"latn"===new Intl.DateTimeFormat(e.intl).resolvedOptions().numberingSystem)),this.fastNumbersCached}}]),e}();function ht(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=t.reduce((function(e,t){return e+t.source}),"");return RegExp("^"+r+"$")}function ft(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){return t.reduce((function(t,n){var r=t[0],a=t[1],o=t[2],s=n(e,o),u=s[0],l=s[1],c=s[2];return[i({},r,u),a||l,c]}),[{},null,1]).slice(0,2)}}function mt(e){if(null==e)return[null,null];for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];for(var i=0,a=n;i<a.length;i++){var o=a[i],s=o[0],u=o[1],l=s.exec(e);if(l)return u(l)}return[null,null]}function pt(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e,n){var r,i={};for(r=0;r<t.length;r++)i[t[r]]=te(e[n+r]);return[i,null,n+r]}}var vt=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,yt=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,gt=RegExp(""+yt.source+vt.source+"?"),bt=RegExp("(?:T"+gt.source+")?"),wt=pt("weekYear","weekNumber","weekDay"),Dt=pt("year","ordinal"),_t=RegExp(yt.source+" ?(?:"+vt.source+"|("+ye.source+"))?"),kt=RegExp("(?: "+_t.source+")?");function At(e,t,n){var r=e[t];return H(r)?n:te(r)}function St(e,t){return[{year:At(e,t),month:At(e,t+1,1),day:At(e,t+2,1)},null,t+3]}function Ct(e,t){return[{hours:At(e,t,0),minutes:At(e,t+1,0),seconds:At(e,t+2,0),milliseconds:re(e[t+3])},null,t+4]}function Ot(e,t){var n=!e[t]&&!e[t+1],r=he(e[t+1],e[t+2]);return[{},n?null:qe.instance(r),t+3]}function Mt(e,t){return[{},e[t]?Le.create(e[t]):null,t+1]}var Tt=RegExp("^T?"+yt.source+"$"),xt=/^-?P(?:(?:(-?\d{1,9}(?:\.\d{1,9})?)Y)?(?:(-?\d{1,9}(?:\.\d{1,9})?)M)?(?:(-?\d{1,9}(?:\.\d{1,9})?)W)?(?:(-?\d{1,9}(?:\.\d{1,9})?)D)?(?:T(?:(-?\d{1,9}(?:\.\d{1,9})?)H)?(?:(-?\d{1,9}(?:\.\d{1,9})?)M)?(?:(-?\d{1,20})(?:[.,](-?\d{1,9}))?S)?)?)$/;function Et(e){var t=e[0],n=e[1],r=e[2],i=e[3],a=e[4],o=e[5],s=e[6],u=e[7],l=e[8],c="-"===t[0],d=u&&"-"===u[0],h=function(e,t){return void 0===t&&(t=!1),void 0!==e&&(t||e&&c)?-e:e};return[{years:h(ne(n)),months:h(ne(r)),weeks:h(ne(i)),days:h(ne(a)),hours:h(ne(o)),minutes:h(ne(s)),seconds:h(ne(u),"-0"===u),milliseconds:h(re(l),d)}]}var Nt={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Vt(e,t,n,r,i,a,o){var s={year:2===t.length?ce(te(t)):te(t),month:be.indexOf(n)+1,day:te(r),hour:te(i),minute:te(a)};return o&&(s.second=te(o)),e&&(s.weekday=e.length>3?_e.indexOf(e)+1:ke.indexOf(e)+1),s}var jt=/^(?:(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 It(e){var t,n=e[1],r=e[2],i=e[3],a=e[4],o=e[5],s=e[6],u=e[7],l=e[8],c=e[9],d=e[10],h=e[11],f=Vt(n,a,i,r,o,s,u);return t=l?Nt[l]:c?0:he(d,h),[f,new qe(t)]}var Bt=/^(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$/,Ft=/^(Monday|Tuesday|Wedsday|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$/,Pt=/^(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 Yt(e){var t=e[1],n=e[2],r=e[3];return[Vt(t,e[4],r,n,e[5],e[6],e[7]),qe.utcInstance]}function Zt(e){var t=e[1],n=e[2],r=e[3],i=e[4],a=e[5],o=e[6];return[Vt(t,e[7],n,r,i,a,o),qe.utcInstance]}var Lt=ht(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,bt),Ut=ht(/(\d{4})-?W(\d\d)(?:-?(\d))?/,bt),qt=ht(/(\d{4})-?(\d{3})/,bt),zt=ht(gt),$t=ft(St,Ct,Ot),Rt=ft(wt,Ct,Ot),Ht=ft(Dt,Ct,Ot),Wt=ft(Ct,Ot);var Jt=ft(Ct);var Gt=ht(/(\d{4})-(\d\d)-(\d\d)/,kt),Xt=ht(_t),Qt=ft(St,Ct,Ot,Mt),Kt=ft(Ct,Ot,Mt);var en={weeks:{days:7,hours:168,minutes:10080,seconds:604800,milliseconds:6048e5},days:{hours:24,minutes:1440,seconds:86400,milliseconds:864e5},hours:{minutes:60,seconds:3600,milliseconds:36e5},minutes:{seconds:60,milliseconds:6e4},seconds:{milliseconds:1e3}},tn=i({years:{quarters:4,months:12,weeks:52,days:365,hours:8760,minutes:525600,seconds:31536e3,milliseconds:31536e6},quarters:{months:3,weeks:13,days:91,hours:2184,minutes:131040,seconds:7862400,milliseconds:78624e5},months:{weeks:4,days:30,hours:720,minutes:43200,seconds:2592e3,milliseconds:2592e6}},en),nn=365.2425,rn=30.436875,an=i({years:{quarters:4,months:12,weeks:52.1775,days:nn,hours:8765.82,minutes:525949.2,seconds:525949.2*60,milliseconds:525949.2*60*1e3},quarters:{months:3,weeks:13.044375,days:91.310625,hours:2191.455,minutes:131487.3,seconds:525949.2*60/4,milliseconds:7889237999.999999},months:{weeks:4.3481250000000005,days:rn,hours:730.485,minutes:43829.1,seconds:2629746,milliseconds:2629746e3}},en),on=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],sn=on.slice(0).reverse();function un(e,t,n){void 0===n&&(n=!1);var r={values:n?t.values:i({},e.values,t.values||{}),loc:e.loc.clone(t.loc),conversionAccuracy:t.conversionAccuracy||e.conversionAccuracy};return new cn(r)}function ln(e,t,n,r,i){var a=e[i][n],o=t[n]/a,s=!(Math.sign(o)===Math.sign(r[i]))&&0!==r[i]&&Math.abs(o)<=1?function(e){return e<0?Math.floor(e):Math.ceil(e)}(o):Math.trunc(o);r[i]+=s,t[n]-=s*a}var cn=function(){function e(e){var t="longterm"===e.conversionAccuracy||!1;this.values=e.values,this.loc=e.loc||dt.create(),this.conversionAccuracy=t?"longterm":"casual",this.invalid=e.invalid||null,this.matrix=t?an:tn,this.isLuxonDuration=!0}e.fromMillis=function(t,n){return e.fromObject({milliseconds:t},n)},e.fromObject=function(t,n){if(void 0===n&&(n={}),null==t||"object"!=typeof t)throw new w("Duration.fromObject: argument expected to be an object, got "+(null===t?"null":typeof t));return new e({values:me(t,e.normalizeUnit),loc:dt.fromObject(n),conversionAccuracy:n.conversionAccuracy})},e.fromDurationLike=function(t){if(W(t))return e.fromMillis(t);if(e.isDuration(t))return t;if("object"==typeof t)return e.fromObject(t);throw new w("Unknown duration argument "+t+" of type "+typeof t)},e.fromISO=function(t,n){var r=function(e){return mt(e,[xt,Et])}(t),i=r[0];return i?e.fromObject(i,n):e.invalid("unparsable",'the input "'+t+"\" can't be parsed as ISO 8601")},e.fromISOTime=function(t,n){var r=function(e){return mt(e,[Tt,Jt])}(t),i=r[0];return i?e.fromObject(i,n):e.invalid("unparsable",'the input "'+t+"\" can't be parsed as ISO 8601")},e.invalid=function(t,n){if(void 0===n&&(n=null),!t)throw new w("need to specify a reason the Duration is invalid");var r=t instanceof je?t:new je(t,n);if(Qe.throwOnInvalid)throw new y(r);return new e({invalid:r})},e.normalizeUnit=function(e){var t={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():e];if(!t)throw new b(e);return t},e.isDuration=function(e){return e&&e.isLuxonDuration||!1};var t=e.prototype;return t.toFormat=function(e,t){void 0===t&&(t={});var n=i({},t,{floor:!1!==t.round&&!1!==t.floor});return this.isValid?Ve.create(this.loc,n).formatDurationFromString(this,e):"Invalid Duration"},t.toHuman=function(e){var t=this;void 0===e&&(e={});var n=on.map((function(n){var r=t.values[n];return H(r)?null:t.loc.numberFormatter(i({style:"unit",unitDisplay:"long"},e,{unit:n.slice(0,-1)})).format(r)})).filter((function(e){return e}));return this.loc.listFormatter(i({type:"conjunction",style:e.listStyle||"narrow"},e)).format(n)},t.toObject=function(){return this.isValid?i({},this.values):{}},t.toISO=function(){if(!this.isValid)return null;var e="P";return 0!==this.years&&(e+=this.years+"Y"),0===this.months&&0===this.quarters||(e+=this.months+3*this.quarters+"M"),0!==this.weeks&&(e+=this.weeks+"W"),0!==this.days&&(e+=this.days+"D"),0===this.hours&&0===this.minutes&&0===this.seconds&&0===this.milliseconds||(e+="T"),0!==this.hours&&(e+=this.hours+"H"),0!==this.minutes&&(e+=this.minutes+"M"),0===this.seconds&&0===this.milliseconds||(e+=ie(this.seconds+this.milliseconds/1e3,3)+"S"),"P"===e&&(e+="T0S"),e},t.toISOTime=function(e){if(void 0===e&&(e={}),!this.isValid)return null;var t=this.toMillis();if(t<0||t>=864e5)return null;e=i({suppressMilliseconds:!1,suppressSeconds:!1,includePrefix:!1,format:"extended"},e);var n=this.shiftTo("hours","minutes","seconds","milliseconds"),r="basic"===e.format?"hhmm":"hh:mm";e.suppressSeconds&&0===n.seconds&&0===n.milliseconds||(r+="basic"===e.format?"ss":":ss",e.suppressMilliseconds&&0===n.milliseconds||(r+=".SSS"));var a=n.toFormat(r);return e.includePrefix&&(a="T"+a),a},t.toJSON=function(){return this.toISO()},t.toString=function(){return this.toISO()},t.toMillis=function(){return this.as("milliseconds")},t.valueOf=function(){return this.toMillis()},t.plus=function(t){if(!this.isValid)return this;for(var n,r=e.fromDurationLike(t),i={},a=f(on);!(n=a()).done;){var o=n.value;(Q(r.values,o)||Q(this.values,o))&&(i[o]=r.get(o)+this.get(o))}return un(this,{values:i},!0)},t.minus=function(t){if(!this.isValid)return this;var n=e.fromDurationLike(t);return this.plus(n.negate())},t.mapUnits=function(e){if(!this.isValid)return this;for(var t={},n=0,r=Object.keys(this.values);n<r.length;n++){var i=r[n];t[i]=fe(e(this.values[i],i))}return un(this,{values:t},!0)},t.get=function(t){return this[e.normalizeUnit(t)]},t.set=function(t){return this.isValid?un(this,{values:i({},this.values,me(t,e.normalizeUnit))}):this},t.reconfigure=function(e){var t=void 0===e?{}:e,n=t.locale,r=t.numberingSystem,i=t.conversionAccuracy,a={loc:this.loc.clone({locale:n,numberingSystem:r})};return i&&(a.conversionAccuracy=i),un(this,a)},t.as=function(e){return this.isValid?this.shiftTo(e).get(e):NaN},t.normalize=function(){if(!this.isValid)return this;var e=this.toObject();return function(e,t){sn.reduce((function(n,r){return H(t[r])?n:(n&&ln(e,t,n,t,r),r)}),null)}(this.matrix,e),un(this,{values:e},!0)},t.shiftTo=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];if(!this.isValid)return this;if(0===n.length)return this;n=n.map((function(t){return e.normalizeUnit(t)}));for(var i,a,o={},s={},u=this.toObject(),l=f(on);!(a=l()).done;){var c=a.value;if(n.indexOf(c)>=0){i=c;var d=0;for(var h in s)d+=this.matrix[h][c]*s[h],s[h]=0;W(u[c])&&(d+=u[c]);var m=Math.trunc(d);for(var p in o[c]=m,s[c]=(1e3*d-1e3*m)/1e3,u)on.indexOf(p)>on.indexOf(c)&&ln(this.matrix,u,p,o,c)}else W(u[c])&&(s[c]=u[c])}for(var v in s)0!==s[v]&&(o[i]+=v===i?s[v]:s[v]/this.matrix[i][v]);return un(this,{values:o},!0).normalize()},t.negate=function(){if(!this.isValid)return this;for(var e={},t=0,n=Object.keys(this.values);t<n.length;t++){var r=n[t];e[r]=0===this.values[r]?0:-this.values[r]}return un(this,{values:e},!0)},t.equals=function(e){if(!this.isValid||!e.isValid)return!1;if(!this.loc.equals(e.loc))return!1;for(var t,n=f(on);!(t=n()).done;){var r=t.value;if(i=this.values[r],a=e.values[r],!(void 0===i||0===i?void 0===a||0===a:i===a))return!1}var i,a;return!0},r(e,[{key:"locale",get:function(){return this.isValid?this.loc.locale:null}},{key:"numberingSystem",get:function(){return this.isValid?this.loc.numberingSystem:null}},{key:"years",get:function(){return this.isValid?this.values.years||0:NaN}},{key:"quarters",get:function(){return this.isValid?this.values.quarters||0:NaN}},{key:"months",get:function(){return this.isValid?this.values.months||0:NaN}},{key:"weeks",get:function(){return this.isValid?this.values.weeks||0:NaN}},{key:"days",get:function(){return this.isValid?this.values.days||0:NaN}},{key:"hours",get:function(){return this.isValid?this.values.hours||0:NaN}},{key:"minutes",get:function(){return this.isValid?this.values.minutes||0:NaN}},{key:"seconds",get:function(){return this.isValid?this.values.seconds||0:NaN}},{key:"milliseconds",get:function(){return this.isValid?this.values.milliseconds||0:NaN}},{key:"isValid",get:function(){return null===this.invalid}},{key:"invalidReason",get:function(){return this.invalid?this.invalid.reason:null}},{key:"invalidExplanation",get:function(){return this.invalid?this.invalid.explanation:null}}]),e}(),dn="Invalid Interval";function hn(e,t){return e&&e.isValid?t&&t.isValid?t<e?fn.invalid("end before start","The end of an interval must be after its start, but you had start="+e.toISO()+" and end="+t.toISO()):null:fn.invalid("missing or invalid end"):fn.invalid("missing or invalid start")}var fn=function(){function e(e){this.s=e.start,this.e=e.end,this.invalid=e.invalid||null,this.isLuxonInterval=!0}e.invalid=function(t,n){if(void 0===n&&(n=null),!t)throw new w("need to specify a reason the Interval is invalid");var r=t instanceof je?t:new je(t,n);if(Qe.throwOnInvalid)throw new v(r);return new e({invalid:r})},e.fromDateTimes=function(t,n){var r=pr(t),i=pr(n),a=hn(r,i);return null==a?new e({start:r,end:i}):a},e.after=function(t,n){var r=cn.fromDurationLike(n),i=pr(t);return e.fromDateTimes(i,i.plus(r))},e.before=function(t,n){var r=cn.fromDurationLike(n),i=pr(t);return e.fromDateTimes(i.minus(r),i)},e.fromISO=function(t,n){var r=(t||"").split("/",2),i=r[0],a=r[1];if(i&&a){var o,s,u,l;try{s=(o=mr.fromISO(i,n)).isValid}catch(a){s=!1}try{l=(u=mr.fromISO(a,n)).isValid}catch(a){l=!1}if(s&&l)return e.fromDateTimes(o,u);if(s){var c=cn.fromISO(a,n);if(c.isValid)return e.after(o,c)}else if(l){var d=cn.fromISO(i,n);if(d.isValid)return e.before(u,d)}}return e.invalid("unparsable",'the input "'+t+"\" can't be parsed as ISO 8601")},e.isInterval=function(e){return e&&e.isLuxonInterval||!1};var t=e.prototype;return t.length=function(e){return void 0===e&&(e="milliseconds"),this.isValid?this.toDuration.apply(this,[e]).get(e):NaN},t.count=function(e){if(void 0===e&&(e="milliseconds"),!this.isValid)return NaN;var t=this.start.startOf(e),n=this.end.startOf(e);return Math.floor(n.diff(t,e).get(e))+1},t.hasSame=function(e){return!!this.isValid&&(this.isEmpty()||this.e.minus(1).hasSame(this.s,e))},t.isEmpty=function(){return this.s.valueOf()===this.e.valueOf()},t.isAfter=function(e){return!!this.isValid&&this.s>e},t.isBefore=function(e){return!!this.isValid&&this.e<=e},t.contains=function(e){return!!this.isValid&&(this.s<=e&&this.e>e)},t.set=function(t){var n=void 0===t?{}:t,r=n.start,i=n.end;return this.isValid?e.fromDateTimes(r||this.s,i||this.e):this},t.splitAt=function(){var t=this;if(!this.isValid)return[];for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];for(var a=r.map(pr).filter((function(e){return t.contains(e)})).sort(),o=[],s=this.s,u=0;s<this.e;){var l=a[u]||this.e,c=+l>+this.e?this.e:l;o.push(e.fromDateTimes(s,c)),s=c,u+=1}return o},t.splitBy=function(t){var n=cn.fromDurationLike(t);if(!this.isValid||!n.isValid||0===n.as("milliseconds"))return[];for(var r,i=this.s,a=1,o=[];i<this.e;){var s=this.start.plus(n.mapUnits((function(e){return e*a})));r=+s>+this.e?this.e:s,o.push(e.fromDateTimes(i,r)),i=r,a+=1}return o},t.divideEqually=function(e){return this.isValid?this.splitBy(this.length()/e).slice(0,e):[]},t.overlaps=function(e){return this.e>e.s&&this.s<e.e},t.abutsStart=function(e){return!!this.isValid&&+this.e==+e.s},t.abutsEnd=function(e){return!!this.isValid&&+e.e==+this.s},t.engulfs=function(e){return!!this.isValid&&(this.s<=e.s&&this.e>=e.e)},t.equals=function(e){return!(!this.isValid||!e.isValid)&&(this.s.equals(e.s)&&this.e.equals(e.e))},t.intersection=function(t){if(!this.isValid)return this;var n=this.s>t.s?this.s:t.s,r=this.e<t.e?this.e:t.e;return n>=r?null:e.fromDateTimes(n,r)},t.union=function(t){if(!this.isValid)return this;var n=this.s<t.s?this.s:t.s,r=this.e>t.e?this.e:t.e;return e.fromDateTimes(n,r)},e.merge=function(e){var t=e.sort((function(e,t){return e.s-t.s})).reduce((function(e,t){var n=e[0],r=e[1];return r?r.overlaps(t)||r.abutsStart(t)?[n,r.union(t)]:[n.concat([r]),t]:[n,t]}),[[],null]),n=t[0],r=t[1];return r&&n.push(r),n},e.xor=function(t){for(var n,r,i=null,a=0,o=[],s=t.map((function(e){return[{time:e.s,type:"s"},{time:e.e,type:"e"}]})),u=f((n=Array.prototype).concat.apply(n,s).sort((function(e,t){return e.time-t.time})));!(r=u()).done;){var l=r.value;1===(a+="s"===l.type?1:-1)?i=l.time:(i&&+i!=+l.time&&o.push(e.fromDateTimes(i,l.time)),i=null)}return e.merge(o)},t.difference=function(){for(var t=this,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return e.xor([this].concat(r)).map((function(e){return t.intersection(e)})).filter((function(e){return e&&!e.isEmpty()}))},t.toString=function(){return this.isValid?"["+this.s.toISO()+" – "+this.e.toISO()+")":dn},t.toISO=function(e){return this.isValid?this.s.toISO(e)+"/"+this.e.toISO(e):dn},t.toISODate=function(){return this.isValid?this.s.toISODate()+"/"+this.e.toISODate():dn},t.toISOTime=function(e){return this.isValid?this.s.toISOTime(e)+"/"+this.e.toISOTime(e):dn},t.toFormat=function(e,t){var n=(void 0===t?{}:t).separator,r=void 0===n?" – ":n;return this.isValid?""+this.s.toFormat(e)+r+this.e.toFormat(e):dn},t.toDuration=function(e,t){return this.isValid?this.e.diff(this.s,e,t):cn.invalid(this.invalidReason)},t.mapEndpoints=function(t){return e.fromDateTimes(t(this.s),t(this.e))},r(e,[{key:"start",get:function(){return this.isValid?this.s:null}},{key:"end",get:function(){return this.isValid?this.e:null}},{key:"isValid",get:function(){return null===this.invalidReason}},{key:"invalidReason",get:function(){return this.invalid?this.invalid.reason:null}},{key:"invalidExplanation",get:function(){return this.invalid?this.invalid.explanation:null}}]),e}(),mn=function(){function e(){}return e.hasDST=function(e){void 0===e&&(e=Qe.defaultZone);var t=mr.now().setZone(e).set({month:12});return!e.isUniversal&&t.offset!==t.set({month:6}).offset},e.isValidIANAZone=function(e){return Le.isValidZone(e)},e.normalizeZone=function(e){return $e(e,Qe.defaultZone)},e.months=function(e,t){void 0===e&&(e="long");var n=void 0===t?{}:t,r=n.locale,i=void 0===r?null:r,a=n.numberingSystem,o=void 0===a?null:a,s=n.locObj,u=void 0===s?null:s,l=n.outputCalendar,c=void 0===l?"gregory":l;return(u||dt.create(i,o,c)).months(e)},e.monthsFormat=function(e,t){void 0===e&&(e="long");var n=void 0===t?{}:t,r=n.locale,i=void 0===r?null:r,a=n.numberingSystem,o=void 0===a?null:a,s=n.locObj,u=void 0===s?null:s,l=n.outputCalendar,c=void 0===l?"gregory":l;return(u||dt.create(i,o,c)).months(e,!0)},e.weekdays=function(e,t){void 0===e&&(e="long");var n=void 0===t?{}:t,r=n.locale,i=void 0===r?null:r,a=n.numberingSystem,o=void 0===a?null:a,s=n.locObj;return((void 0===s?null:s)||dt.create(i,o,null)).weekdays(e)},e.weekdaysFormat=function(e,t){void 0===e&&(e="long");var n=void 0===t?{}:t,r=n.locale,i=void 0===r?null:r,a=n.numberingSystem,o=void 0===a?null:a,s=n.locObj;return((void 0===s?null:s)||dt.create(i,o,null)).weekdays(e,!0)},e.meridiems=function(e){var t=(void 0===e?{}:e).locale,n=void 0===t?null:t;return dt.create(n).meridiems()},e.eras=function(e,t){void 0===e&&(e="short");var n=(void 0===t?{}:t).locale,r=void 0===n?null:n;return dt.create(r,null,"gregory").eras(e)},e.features=function(){return{relative:G()}},e}();function pn(e,t){var n=function(e){return e.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf()},r=n(t)-n(e);return Math.floor(cn.fromMillis(r).as("days"))}function vn(e,t,n,r){var i=function(e,t,n){for(var r,i,a={},o=0,s=[["years",function(e,t){return t.year-e.year}],["quarters",function(e,t){return t.quarter-e.quarter}],["months",function(e,t){return t.month-e.month+12*(t.year-e.year)}],["weeks",function(e,t){var n=pn(e,t);return(n-n%7)/7}],["days",pn]];o<s.length;o++){var u=s[o],l=u[0],c=u[1];if(n.indexOf(l)>=0){var d;r=l;var h,f=c(e,t);(i=e.plus(((d={})[l]=f,d)))>t?(e=e.plus(((h={})[l]=f-1,h)),f-=1):e=i,a[l]=f}}return[e,a,i,r]}(e,t,n),a=i[0],o=i[1],s=i[2],u=i[3],l=t-a,c=n.filter((function(e){return["hours","minutes","seconds","milliseconds"].indexOf(e)>=0}));if(0===c.length){var d;if(s<t)s=a.plus(((d={})[u]=1,d));s!==a&&(o[u]=(o[u]||0)+l/(s-a))}var h,f=cn.fromObject(o,r);return c.length>0?(h=cn.fromMillis(l,r)).shiftTo.apply(h,c).plus(f):f}var yn={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},gn={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]},bn=yn.hanidec.replace(/[\[|\]]/g,"").split("");function wn(e,t){var n=e.numberingSystem;return void 0===t&&(t=""),new RegExp(""+yn[n||"latn"]+t)}function Dn(e,t){return void 0===t&&(t=function(e){return e}),{regex:e,deser:function(e){var n=e[0];return t(function(e){var t=parseInt(e,10);if(isNaN(t)){t="";for(var n=0;n<e.length;n++){var r=e.charCodeAt(n);if(-1!==e[n].search(yn.hanidec))t+=bn.indexOf(e[n]);else for(var i in gn){var a=gn[i],o=a[0],s=a[1];r>=o&&r<=s&&(t+=r-o)}}return parseInt(t,10)}return t}(n))}}}var _n="( |"+String.fromCharCode(160)+")",kn=new RegExp(_n,"g");function An(e){return e.replace(/\./g,"\\.?").replace(kn,_n)}function Sn(e){return e.replace(/\./g,"").replace(kn," ").toLowerCase()}function Cn(e,t){return null===e?null:{regex:RegExp(e.map(An).join("|")),deser:function(n){var r=n[0];return e.findIndex((function(e){return Sn(r)===Sn(e)}))+t}}}function On(e,t){return{regex:e,deser:function(e){return he(e[1],e[2])},groups:t}}function Mn(e){return{regex:e,deser:function(e){return e[0]}}}var Tn={year:{"2-digit":"yy",numeric:"yyyyy"},month:{numeric:"M","2-digit":"MM",short:"MMM",long:"MMMM"},day:{numeric:"d","2-digit":"dd"},weekday:{short:"EEE",long:"EEEE"},dayperiod:"a",dayPeriod:"a",hour:{numeric:"h","2-digit":"hh"},minute:{numeric:"m","2-digit":"mm"},second:{numeric:"s","2-digit":"ss"}};var xn=null;function En(e,t){if(e.literal)return e;var n=Ve.macroTokenToFormatOpts(e.val);if(!n)return e;var r=Ve.create(t,n).formatDateTimeParts((xn||(xn=mr.fromMillis(1555555555555)),xn)).map((function(e){return function(e,t,n){var r=e.type,i=e.value;if("literal"===r)return{literal:!0,val:i};var a=n[r],o=Tn[r];return"object"==typeof o&&(o=o[a]),o?{literal:!1,val:o}:void 0}(e,0,n)}));return r.includes(void 0)?e:r}function Nn(e,t,n){var r=function(e,t){var n;return(n=Array.prototype).concat.apply(n,e.map((function(e){return En(e,t)})))}(Ve.parseFormat(n),e),i=r.map((function(t){return n=t,i=wn(r=e),a=wn(r,"{2}"),o=wn(r,"{3}"),s=wn(r,"{4}"),u=wn(r,"{6}"),l=wn(r,"{1,2}"),c=wn(r,"{1,3}"),d=wn(r,"{1,6}"),h=wn(r,"{1,9}"),f=wn(r,"{2,4}"),m=wn(r,"{4,6}"),p=function(e){return{regex:RegExp((t=e.val,t.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&"))),deser:function(e){return e[0]},literal:!0};var t},v=function(e){if(n.literal)return p(e);switch(e.val){case"G":return Cn(r.eras("short",!1),0);case"GG":return Cn(r.eras("long",!1),0);case"y":return Dn(d);case"yy":case"kk":return Dn(f,ce);case"yyyy":case"kkkk":return Dn(s);case"yyyyy":return Dn(m);case"yyyyyy":return Dn(u);case"M":case"L":case"d":case"H":case"h":case"m":case"q":case"s":case"W":return Dn(l);case"MM":case"LL":case"dd":case"HH":case"hh":case"mm":case"qq":case"ss":case"WW":return Dn(a);case"MMM":return Cn(r.months("short",!0,!1),1);case"MMMM":return Cn(r.months("long",!0,!1),1);case"LLL":return Cn(r.months("short",!1,!1),1);case"LLLL":return Cn(r.months("long",!1,!1),1);case"o":case"S":return Dn(c);case"ooo":case"SSS":return Dn(o);case"u":return Mn(h);case"uu":return Mn(l);case"uuu":case"E":case"c":return Dn(i);case"a":return Cn(r.meridiems(),0);case"EEE":return Cn(r.weekdays("short",!1,!1),1);case"EEEE":return Cn(r.weekdays("long",!1,!1),1);case"ccc":return Cn(r.weekdays("short",!0,!1),1);case"cccc":return Cn(r.weekdays("long",!0,!1),1);case"Z":case"ZZ":return On(new RegExp("([+-]"+l.source+")(?::("+a.source+"))?"),2);case"ZZZ":return On(new RegExp("([+-]"+l.source+")("+a.source+")?"),2);case"z":return Mn(/[a-z_+-/]{1,256}?/i);default:return p(e)}}(n)||{invalidReason:"missing Intl.DateTimeFormat.formatToParts support"},v.token=n,v;var n,r,i,a,o,s,u,l,c,d,h,f,m,p,v})),a=i.find((function(e){return e.invalidReason}));if(a)return{input:t,tokens:r,invalidReason:a.invalidReason};var o=function(e){return["^"+e.map((function(e){return e.regex})).reduce((function(e,t){return e+"("+t.source+")"}),"")+"$",e]}(i),s=o[0],u=o[1],l=RegExp(s,"i"),c=function(e,t,n){var r=e.match(t);if(r){var i={},a=1;for(var o in n)if(Q(n,o)){var s=n[o],u=s.groups?s.groups+1:1;!s.literal&&s.token&&(i[s.token.val[0]]=s.deser(r.slice(a,a+u))),a+=u}return[r,i]}return[r,{}]}(t,l,u),d=c[0],h=c[1],f=h?function(e){var t,n=null;return H(e.z)||(n=Le.create(e.z)),H(e.Z)||(n||(n=new qe(e.Z)),t=e.Z),H(e.q)||(e.M=3*(e.q-1)+1),H(e.h)||(e.h<12&&1===e.a?e.h+=12:12===e.h&&0===e.a&&(e.h=0)),0===e.G&&e.y&&(e.y=-e.y),H(e.u)||(e.S=re(e.u)),[Object.keys(e).reduce((function(t,n){var r=function(e){switch(e){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}}(n);return r&&(t[r]=e[n]),t}),{}),n,t]}(h):[null,null,void 0],m=f[0],p=f[1],v=f[2];if(Q(h,"a")&&Q(h,"H"))throw new g("Can't include meridiem when specifying 24-hour format");return{input:t,tokens:r,regex:l,rawMatches:d,matches:h,result:m,zone:p,specificOffset:v}}var Vn=[0,31,59,90,120,151,181,212,243,273,304,334],jn=[0,31,60,91,121,152,182,213,244,274,305,335];function In(e,t){return new je("unit out of range","you specified "+t+" (of type "+typeof t+") as a "+e+", which is invalid")}function Bn(e,t,n){var r=new Date(Date.UTC(e,t-1,n)).getUTCDay();return 0===r?7:r}function Fn(e,t,n){return n+(ae(e)?jn:Vn)[t-1]}function Pn(e,t){var n=ae(e)?jn:Vn,r=n.findIndex((function(e){return e<t}));return{month:r+1,day:t-n[r]}}function Yn(e){var t,n=e.year,r=e.month,a=e.day,o=Fn(n,r,a),s=Bn(n,r,a),u=Math.floor((o-s+10)/7);return u<1?u=le(t=n-1):u>le(n)?(t=n+1,u=1):t=n,i({weekYear:t,weekNumber:u,weekday:s},ve(e))}function Zn(e){var t,n=e.weekYear,r=e.weekNumber,a=e.weekday,o=Bn(n,1,4),s=oe(n),u=7*r+a-o-3;u<1?u+=oe(t=n-1):u>s?(t=n+1,u-=oe(n)):t=n;var l=Pn(t,u);return i({year:t,month:l.month,day:l.day},ve(e))}function Ln(e){var t=e.year;return i({year:t,ordinal:Fn(t,e.month,e.day)},ve(e))}function Un(e){var t=e.year,n=Pn(t,e.ordinal);return i({year:t,month:n.month,day:n.day},ve(e))}function qn(e){var t=J(e.year),n=K(e.month,1,12),r=K(e.day,1,se(e.year,e.month));return t?n?!r&&In("day",e.day):In("month",e.month):In("year",e.year)}function zn(e){var t=e.hour,n=e.minute,r=e.second,i=e.millisecond,a=K(t,0,23)||24===t&&0===n&&0===r&&0===i,o=K(n,0,59),s=K(r,0,59),u=K(i,0,999);return a?o?s?!u&&In("millisecond",i):In("second",r):In("minute",n):In("hour",t)}var $n="Invalid DateTime",Rn=864e13;function Hn(e){return new je("unsupported zone",'the zone "'+e.name+'" is not supported')}function Wn(e){return null===e.weekData&&(e.weekData=Yn(e.c)),e.weekData}function Jn(e,t){var n={ts:e.ts,zone:e.zone,c:e.c,o:e.o,loc:e.loc,invalid:e.invalid};return new mr(i({},n,t,{old:n}))}function Gn(e,t,n){var r=e-60*t*1e3,i=n.offset(r);if(t===i)return[r,t];r-=60*(i-t)*1e3;var a=n.offset(r);return i===a?[r,i]:[e-60*Math.min(i,a)*1e3,Math.max(i,a)]}function Xn(e,t){var n=new Date(e+=60*t*1e3);return{year:n.getUTCFullYear(),month:n.getUTCMonth()+1,day:n.getUTCDate(),hour:n.getUTCHours(),minute:n.getUTCMinutes(),second:n.getUTCSeconds(),millisecond:n.getUTCMilliseconds()}}function Qn(e,t,n){return Gn(ue(e),t,n)}function Kn(e,t){var n=e.o,r=e.c.year+Math.trunc(t.years),a=e.c.month+Math.trunc(t.months)+3*Math.trunc(t.quarters),o=i({},e.c,{year:r,month:a,day:Math.min(e.c.day,se(r,a))+Math.trunc(t.days)+7*Math.trunc(t.weeks)}),s=cn.fromObject({years:t.years-Math.trunc(t.years),quarters:t.quarters-Math.trunc(t.quarters),months:t.months-Math.trunc(t.months),weeks:t.weeks-Math.trunc(t.weeks),days:t.days-Math.trunc(t.days),hours:t.hours,minutes:t.minutes,seconds:t.seconds,milliseconds:t.milliseconds}).as("milliseconds"),u=Gn(ue(o),n,e.zone),l=u[0],c=u[1];return 0!==s&&(l+=s,c=e.zone.offset(l)),{ts:l,o:c}}function er(e,t,n,r,a,o){var s=n.setZone,u=n.zone;if(e&&0!==Object.keys(e).length){var l=t||u,c=mr.fromObject(e,i({},n,{zone:l,specificOffset:o}));return s?c:c.setZone(u)}return mr.invalid(new je("unparsable",'the input "'+a+"\" can't be parsed as "+r))}function tr(e,t,n){return void 0===n&&(n=!0),e.isValid?Ve.create(dt.create("en-US"),{allowZ:n,forceSimple:!0}).formatDateTimeFromString(e,t):null}function nr(e,t){var n=e.c.year>9999||e.c.year<0,r="";return n&&e.c.year>=0&&(r+="+"),r+=ee(e.c.year,n?6:4),t?(r+="-",r+=ee(e.c.month),r+="-",r+=ee(e.c.day)):(r+=ee(e.c.month),r+=ee(e.c.day)),r}function rr(e,t,n,r,i){var a=ee(e.c.hour);return t?(a+=":",a+=ee(e.c.minute),0===e.c.second&&n||(a+=":")):a+=ee(e.c.minute),0===e.c.second&&n||(a+=ee(e.c.second),0===e.c.millisecond&&r||(a+=".",a+=ee(e.c.millisecond,3))),i&&(e.isOffsetFixed&&0===e.offset?a+="Z":e.o<0?(a+="-",a+=ee(Math.trunc(-e.o/60)),a+=":",a+=ee(Math.trunc(-e.o%60))):(a+="+",a+=ee(Math.trunc(e.o/60)),a+=":",a+=ee(Math.trunc(e.o%60)))),a}var ir={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},ar={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},or={ordinal:1,hour:0,minute:0,second:0,millisecond:0},sr=["year","month","day","hour","minute","second","millisecond"],ur=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],lr=["year","ordinal","hour","minute","second","millisecond"];function cr(e){var t={year:"year",years:"year",month:"month",months:"month",day:"day",days:"day",hour:"hour",hours:"hour",minute:"minute",minutes:"minute",quarter:"quarter",quarters:"quarter",second:"second",seconds:"second",millisecond:"millisecond",milliseconds:"millisecond",weekday:"weekday",weekdays:"weekday",weeknumber:"weekNumber",weeksnumber:"weekNumber",weeknumbers:"weekNumber",weekyear:"weekYear",weekyears:"weekYear",ordinal:"ordinal"}[e.toLowerCase()];if(!t)throw new b(e);return t}function dr(e,t){var n,r,i=$e(t.zone,Qe.defaultZone),a=dt.fromObject(t),o=Qe.now();if(H(e.year))n=o;else{for(var s,u=f(sr);!(s=u()).done;){var l=s.value;H(e[l])&&(e[l]=ir[l])}var c=qn(e)||zn(e);if(c)return mr.invalid(c);var d=Qn(e,i.offset(o),i);n=d[0],r=d[1]}return new mr({ts:n,zone:i,loc:a,o:r})}function hr(e,t,n){var r=!!H(n.round)||n.round,i=function(e,i){return e=ie(e,r||n.calendary?0:2,!0),t.loc.clone(n).relFormatter(n).format(e,i)},a=function(r){return n.calendary?t.hasSame(e,r)?0:t.startOf(r).diff(e.startOf(r),r).get(r):t.diff(e,r).get(r)};if(n.unit)return i(a(n.unit),n.unit);for(var o,s=f(n.units);!(o=s()).done;){var u=o.value,l=a(u);if(Math.abs(l)>=1)return i(l,u)}return i(e>t?-0:0,n.units[n.units.length-1])}function fr(e){var t,n={};return e.length>0&&"object"==typeof e[e.length-1]?(n=e[e.length-1],t=Array.from(e).slice(0,e.length-1)):t=Array.from(e),[n,t]}var mr=function(){function e(e){var t=e.zone||Qe.defaultZone,n=e.invalid||(Number.isNaN(e.ts)?new je("invalid input"):null)||(t.isValid?null:Hn(t));this.ts=H(e.ts)?Qe.now():e.ts;var r=null,i=null;if(!n)if(e.old&&e.old.ts===this.ts&&e.old.zone.equals(t)){var a=[e.old.c,e.old.o];r=a[0],i=a[1]}else{var o=t.offset(this.ts);r=Xn(this.ts,o),r=(n=Number.isNaN(r.year)?new je("invalid input"):null)?null:r,i=n?null:o}this._zone=t,this.loc=e.loc||dt.create(),this.invalid=n,this.weekData=null,this.c=r,this.o=i,this.isLuxonDateTime=!0}e.now=function(){return new e({})},e.local=function(){var e=fr(arguments),t=e[0],n=e[1],r=n[0],i=n[1],a=n[2],o=n[3],s=n[4],u=n[5],l=n[6];return dr({year:r,month:i,day:a,hour:o,minute:s,second:u,millisecond:l},t)},e.utc=function(){var e=fr(arguments),t=e[0],n=e[1],r=n[0],i=n[1],a=n[2],o=n[3],s=n[4],u=n[5],l=n[6];return t.zone=qe.utcInstance,dr({year:r,month:i,day:a,hour:o,minute:s,second:u,millisecond:l},t)},e.fromJSDate=function(t,n){void 0===n&&(n={});var r,i=(r=t,"[object Date]"===Object.prototype.toString.call(r)?t.valueOf():NaN);if(Number.isNaN(i))return e.invalid("invalid input");var a=$e(n.zone,Qe.defaultZone);return a.isValid?new e({ts:i,zone:a,loc:dt.fromObject(n)}):e.invalid(Hn(a))},e.fromMillis=function(t,n){if(void 0===n&&(n={}),W(t))return t<-Rn||t>Rn?e.invalid("Timestamp out of range"):new e({ts:t,zone:$e(n.zone,Qe.defaultZone),loc:dt.fromObject(n)});throw new w("fromMillis requires a numerical input, but received a "+typeof t+" with value "+t)},e.fromSeconds=function(t,n){if(void 0===n&&(n={}),W(t))return new e({ts:1e3*t,zone:$e(n.zone,Qe.defaultZone),loc:dt.fromObject(n)});throw new w("fromSeconds requires a numerical input")},e.fromObject=function(t,n){void 0===n&&(n={}),t=t||{};var r=$e(n.zone,Qe.defaultZone);if(!r.isValid)return e.invalid(Hn(r));var i=Qe.now(),a=H(n.specificOffset)?r.offset(i):n.specificOffset,o=me(t,cr),s=!H(o.ordinal),u=!H(o.year),l=!H(o.month)||!H(o.day),c=u||l,d=o.weekYear||o.weekNumber,h=dt.fromObject(n);if((c||s)&&d)throw new g("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(l&&s)throw new g("Can't mix ordinal dates with month/day");var m,p,v=d||o.weekday&&!c,y=Xn(i,a);v?(m=ur,p=ar,y=Yn(y)):s?(m=lr,p=or,y=Ln(y)):(m=sr,p=ir);for(var b,w=!1,D=f(m);!(b=D()).done;){var _=b.value;H(o[_])?o[_]=w?p[_]:y[_]:w=!0}var k=v?function(e){var t=J(e.weekYear),n=K(e.weekNumber,1,le(e.weekYear)),r=K(e.weekday,1,7);return t?n?!r&&In("weekday",e.weekday):In("week",e.week):In("weekYear",e.weekYear)}(o):s?function(e){var t=J(e.year),n=K(e.ordinal,1,oe(e.year));return t?!n&&In("ordinal",e.ordinal):In("year",e.year)}(o):qn(o),A=k||zn(o);if(A)return e.invalid(A);var S=Qn(v?Zn(o):s?Un(o):o,a,r),C=new e({ts:S[0],zone:r,o:S[1],loc:h});return o.weekday&&c&&t.weekday!==C.weekday?e.invalid("mismatched weekday","you can't specify both a weekday of "+o.weekday+" and a date of "+C.toISO()):C},e.fromISO=function(e,t){void 0===t&&(t={});var n=function(e){return mt(e,[Lt,$t],[Ut,Rt],[qt,Ht],[zt,Wt])}(e);return er(n[0],n[1],t,"ISO 8601",e)},e.fromRFC2822=function(e,t){void 0===t&&(t={});var n=function(e){return mt(function(e){return e.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}(e),[jt,It])}(e);return er(n[0],n[1],t,"RFC 2822",e)},e.fromHTTP=function(e,t){void 0===t&&(t={});var n=function(e){return mt(e,[Bt,Yt],[Ft,Yt],[Pt,Zt])}(e);return er(n[0],n[1],t,"HTTP",t)},e.fromFormat=function(t,n,r){if(void 0===r&&(r={}),H(t)||H(n))throw new w("fromFormat requires an input string and a format");var i=r,a=i.locale,o=void 0===a?null:a,s=i.numberingSystem,u=void 0===s?null:s,l=function(e,t,n){var r=Nn(e,t,n);return[r.result,r.zone,r.specificOffset,r.invalidReason]}(dt.fromOpts({locale:o,numberingSystem:u,defaultToEN:!0}),t,n),c=l[0],d=l[1],h=l[2],f=l[3];return f?e.invalid(f):er(c,d,r,"format "+n,t,h)},e.fromString=function(t,n,r){return void 0===r&&(r={}),e.fromFormat(t,n,r)},e.fromSQL=function(e,t){void 0===t&&(t={});var n=function(e){return mt(e,[Gt,Qt],[Xt,Kt])}(e);return er(n[0],n[1],t,"SQL",e)},e.invalid=function(t,n){if(void 0===n&&(n=null),!t)throw new w("need to specify a reason the DateTime is invalid");var r=t instanceof je?t:new je(t,n);if(Qe.throwOnInvalid)throw new p(r);return new e({invalid:r})},e.isDateTime=function(e){return e&&e.isLuxonDateTime||!1};var t=e.prototype;return t.get=function(e){return this[e]},t.resolvedLocaleOptions=function(e){void 0===e&&(e={});var t=Ve.create(this.loc.clone(e),e).resolvedOptions(this);return{locale:t.locale,numberingSystem:t.numberingSystem,outputCalendar:t.calendar}},t.toUTC=function(e,t){return void 0===e&&(e=0),void 0===t&&(t={}),this.setZone(qe.instance(e),t)},t.toLocal=function(){return this.setZone(Qe.defaultZone)},t.setZone=function(t,n){var r=void 0===n?{}:n,i=r.keepLocalTime,a=void 0!==i&&i,o=r.keepCalendarTime,s=void 0!==o&&o;if((t=$e(t,Qe.defaultZone)).equals(this.zone))return this;if(t.isValid){var u=this.ts;if(a||s){var l=t.offset(this.ts);u=Qn(this.toObject(),l,t)[0]}return Jn(this,{ts:u,zone:t})}return e.invalid(Hn(t))},t.reconfigure=function(e){var t=void 0===e?{}:e,n=t.locale,r=t.numberingSystem,i=t.outputCalendar;return Jn(this,{loc:this.loc.clone({locale:n,numberingSystem:r,outputCalendar:i})})},t.setLocale=function(e){return this.reconfigure({locale:e})},t.set=function(e){if(!this.isValid)return this;var t,n=me(e,cr),r=!H(n.weekYear)||!H(n.weekNumber)||!H(n.weekday),a=!H(n.ordinal),o=!H(n.year),s=!H(n.month)||!H(n.day),u=o||s,l=n.weekYear||n.weekNumber;if((u||a)&&l)throw new g("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(s&&a)throw new g("Can't mix ordinal dates with month/day");r?t=Zn(i({},Yn(this.c),n)):H(n.ordinal)?(t=i({},this.toObject(),n),H(n.day)&&(t.day=Math.min(se(t.year,t.month),t.day))):t=Un(i({},Ln(this.c),n));var c=Qn(t,this.o,this.zone);return Jn(this,{ts:c[0],o:c[1]})},t.plus=function(e){return this.isValid?Jn(this,Kn(this,cn.fromDurationLike(e))):this},t.minus=function(e){return this.isValid?Jn(this,Kn(this,cn.fromDurationLike(e).negate())):this},t.startOf=function(e){if(!this.isValid)return this;var t={},n=cn.normalizeUnit(e);switch(n){case"years":t.month=1;case"quarters":case"months":t.day=1;case"weeks":case"days":t.hour=0;case"hours":t.minute=0;case"minutes":t.second=0;case"seconds":t.millisecond=0}if("weeks"===n&&(t.weekday=1),"quarters"===n){var r=Math.ceil(this.month/3);t.month=3*(r-1)+1}return this.set(t)},t.endOf=function(e){var t;return this.isValid?this.plus((t={},t[e]=1,t)).startOf(e).minus(1):this},t.toFormat=function(e,t){return void 0===t&&(t={}),this.isValid?Ve.create(this.loc.redefaultToEN(t)).formatDateTimeFromString(this,e):$n},t.toLocaleString=function(e,t){return void 0===e&&(e=S),void 0===t&&(t={}),this.isValid?Ve.create(this.loc.clone(t),e).formatDateTime(this):$n},t.toLocaleParts=function(e){return void 0===e&&(e={}),this.isValid?Ve.create(this.loc.clone(e),e).formatDateTimeParts(this):[]},t.toISO=function(e){var t=void 0===e?{}:e,n=t.format,r=void 0===n?"extended":n,i=t.suppressSeconds,a=void 0!==i&&i,o=t.suppressMilliseconds,s=void 0!==o&&o,u=t.includeOffset,l=void 0===u||u;if(!this.isValid)return null;var c="extended"===r,d=nr(this,c);return d+="T",d+=rr(this,c,a,s,l)},t.toISODate=function(e){var t=(void 0===e?{}:e).format,n=void 0===t?"extended":t;return this.isValid?nr(this,"extended"===n):null},t.toISOWeekDate=function(){return tr(this,"kkkk-'W'WW-c")},t.toISOTime=function(e){var t=void 0===e?{}:e,n=t.suppressMilliseconds,r=void 0!==n&&n,i=t.suppressSeconds,a=void 0!==i&&i,o=t.includeOffset,s=void 0===o||o,u=t.includePrefix,l=void 0!==u&&u,c=t.format,d=void 0===c?"extended":c;return this.isValid?(l?"T":"")+rr(this,"extended"===d,a,r,s):null},t.toRFC2822=function(){return tr(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)},t.toHTTP=function(){return tr(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")},t.toSQLDate=function(){return this.isValid?nr(this,!0):null},t.toSQLTime=function(e){var t=void 0===e?{}:e,n=t.includeOffset,r=void 0===n||n,i=t.includeZone,a=void 0!==i&&i,o=t.includeOffsetSpace,s="HH:mm:ss.SSS";return(a||r)&&((void 0===o||o)&&(s+=" "),a?s+="z":r&&(s+="ZZ")),tr(this,s,!0)},t.toSQL=function(e){return void 0===e&&(e={}),this.isValid?this.toSQLDate()+" "+this.toSQLTime(e):null},t.toString=function(){return this.isValid?this.toISO():$n},t.valueOf=function(){return this.toMillis()},t.toMillis=function(){return this.isValid?this.ts:NaN},t.toSeconds=function(){return this.isValid?this.ts/1e3:NaN},t.toUnixInteger=function(){return this.isValid?Math.floor(this.ts/1e3):NaN},t.toJSON=function(){return this.toISO()},t.toBSON=function(){return this.toJSDate()},t.toObject=function(e){if(void 0===e&&(e={}),!this.isValid)return{};var t=i({},this.c);return e.includeConfig&&(t.outputCalendar=this.outputCalendar,t.numberingSystem=this.loc.numberingSystem,t.locale=this.loc.locale),t},t.toJSDate=function(){return new Date(this.isValid?this.ts:NaN)},t.diff=function(e,t,n){if(void 0===t&&(t="milliseconds"),void 0===n&&(n={}),!this.isValid||!e.isValid)return cn.invalid("created by diffing an invalid DateTime");var r,a=i({locale:this.locale,numberingSystem:this.numberingSystem},n),o=(r=t,Array.isArray(r)?r:[r]).map(cn.normalizeUnit),s=e.valueOf()>this.valueOf(),u=vn(s?this:e,s?e:this,o,a);return s?u.negate():u},t.diffNow=function(t,n){return void 0===t&&(t="milliseconds"),void 0===n&&(n={}),this.diff(e.now(),t,n)},t.until=function(e){return this.isValid?fn.fromDateTimes(this,e):this},t.hasSame=function(e,t){if(!this.isValid)return!1;var n=e.valueOf(),r=this.setZone(e.zone,{keepLocalTime:!0});return r.startOf(t)<=n&&n<=r.endOf(t)},t.equals=function(e){return this.isValid&&e.isValid&&this.valueOf()===e.valueOf()&&this.zone.equals(e.zone)&&this.loc.equals(e.loc)},t.toRelative=function(t){if(void 0===t&&(t={}),!this.isValid)return null;var n=t.base||e.fromObject({},{zone:this.zone}),r=t.padding?this<n?-t.padding:t.padding:0,a=["years","months","days","hours","minutes","seconds"],o=t.unit;return Array.isArray(t.unit)&&(a=t.unit,o=void 0),hr(n,this.plus(r),i({},t,{numeric:"always",units:a,unit:o}))},t.toRelativeCalendar=function(t){return void 0===t&&(t={}),this.isValid?hr(t.base||e.fromObject({},{zone:this.zone}),this,i({},t,{numeric:"auto",units:["years","months","days"],calendary:!0})):null},e.min=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];if(!n.every(e.isDateTime))throw new w("min requires all arguments be DateTimes");return X(n,(function(e){return e.valueOf()}),Math.min)},e.max=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];if(!n.every(e.isDateTime))throw new w("max requires all arguments be DateTimes");return X(n,(function(e){return e.valueOf()}),Math.max)},e.fromFormatExplain=function(e,t,n){void 0===n&&(n={});var r=n,i=r.locale,a=void 0===i?null:i,o=r.numberingSystem,s=void 0===o?null:o;return Nn(dt.fromOpts({locale:a,numberingSystem:s,defaultToEN:!0}),e,t)},e.fromStringExplain=function(t,n,r){return void 0===r&&(r={}),e.fromFormatExplain(t,n,r)},r(e,[{key:"isValid",get:function(){return null===this.invalid}},{key:"invalidReason",get:function(){return this.invalid?this.invalid.reason:null}},{key:"invalidExplanation",get:function(){return this.invalid?this.invalid.explanation:null}},{key:"locale",get:function(){return this.isValid?this.loc.locale:null}},{key:"numberingSystem",get:function(){return this.isValid?this.loc.numberingSystem:null}},{key:"outputCalendar",get:function(){return this.isValid?this.loc.outputCalendar:null}},{key:"zone",get:function(){return this._zone}},{key:"zoneName",get:function(){return this.isValid?this.zone.name:null}},{key:"year",get:function(){return this.isValid?this.c.year:NaN}},{key:"quarter",get:function(){return this.isValid?Math.ceil(this.c.month/3):NaN}},{key:"month",get:function(){return this.isValid?this.c.month:NaN}},{key:"day",get:function(){return this.isValid?this.c.day:NaN}},{key:"hour",get:function(){return this.isValid?this.c.hour:NaN}},{key:"minute",get:function(){return this.isValid?this.c.minute:NaN}},{key:"second",get:function(){return this.isValid?this.c.second:NaN}},{key:"millisecond",get:function(){return this.isValid?this.c.millisecond:NaN}},{key:"weekYear",get:function(){return this.isValid?Wn(this).weekYear:NaN}},{key:"weekNumber",get:function(){return this.isValid?Wn(this).weekNumber:NaN}},{key:"weekday",get:function(){return this.isValid?Wn(this).weekday:NaN}},{key:"ordinal",get:function(){return this.isValid?Ln(this.c).ordinal:NaN}},{key:"monthShort",get:function(){return this.isValid?mn.months("short",{locObj:this.loc})[this.month-1]:null}},{key:"monthLong",get:function(){return this.isValid?mn.months("long",{locObj:this.loc})[this.month-1]:null}},{key:"weekdayShort",get:function(){return this.isValid?mn.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}},{key:"weekdayLong",get:function(){return this.isValid?mn.weekdays("long",{locObj:this.loc})[this.weekday-1]:null}},{key:"offset",get:function(){return this.isValid?+this.o:NaN}},{key:"offsetNameShort",get:function(){return this.isValid?this.zone.offsetName(this.ts,{format:"short",locale:this.locale}):null}},{key:"offsetNameLong",get:function(){return this.isValid?this.zone.offsetName(this.ts,{format:"long",locale:this.locale}):null}},{key:"isOffsetFixed",get:function(){return this.isValid?this.zone.isUniversal:null}},{key:"isInDST",get:function(){return!this.isOffsetFixed&&(this.offset>this.set({month:1}).offset||this.offset>this.set({month:5}).offset)}},{key:"isInLeapYear",get:function(){return ae(this.year)}},{key:"daysInMonth",get:function(){return se(this.year,this.month)}},{key:"daysInYear",get:function(){return this.isValid?oe(this.year):NaN}},{key:"weeksInWeekYear",get:function(){return this.isValid?le(this.weekYear):NaN}}],[{key:"DATE_SHORT",get:function(){return S}},{key:"DATE_MED",get:function(){return C}},{key:"DATE_MED_WITH_WEEKDAY",get:function(){return O}},{key:"DATE_FULL",get:function(){return M}},{key:"DATE_HUGE",get:function(){return T}},{key:"TIME_SIMPLE",get:function(){return x}},{key:"TIME_WITH_SECONDS",get:function(){return E}},{key:"TIME_WITH_SHORT_OFFSET",get:function(){return N}},{key:"TIME_WITH_LONG_OFFSET",get:function(){return V}},{key:"TIME_24_SIMPLE",get:function(){return j}},{key:"TIME_24_WITH_SECONDS",get:function(){return I}},{key:"TIME_24_WITH_SHORT_OFFSET",get:function(){return B}},{key:"TIME_24_WITH_LONG_OFFSET",get:function(){return F}},{key:"DATETIME_SHORT",get:function(){return P}},{key:"DATETIME_SHORT_WITH_SECONDS",get:function(){return Y}},{key:"DATETIME_MED",get:function(){return Z}},{key:"DATETIME_MED_WITH_SECONDS",get:function(){return L}},{key:"DATETIME_MED_WITH_WEEKDAY",get:function(){return U}},{key:"DATETIME_FULL",get:function(){return q}},{key:"DATETIME_FULL_WITH_SECONDS",get:function(){return z}},{key:"DATETIME_HUGE",get:function(){return $}},{key:"DATETIME_HUGE_WITH_SECONDS",get:function(){return R}}]),e}();function pr(e){if(mr.isDateTime(e))return e;if(e&&e.valueOf&&W(e.valueOf()))return mr.fromJSDate(e);if(e&&"object"==typeof e)return mr.fromObject(e);throw new w("Unknown datetime argument: "+e+", of type "+typeof e)}t.ou=mr,t.Xp=fn},4155:e=>{var t,n,r=e.exports={};function i(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function o(e){if(t===setTimeout)return setTimeout(e,0);if((t===i||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(n){try{return t.call(null,e,0)}catch(n){return t.call(this,e,0)}}}!function(){try{t="function"==typeof setTimeout?setTimeout:i}catch(e){t=i}try{n="function"==typeof clearTimeout?clearTimeout:a}catch(e){n=a}}();var s,u=[],l=!1,c=-1;function d(){l&&s&&(l=!1,s.length?u=s.concat(u):c=-1,u.length&&h())}function h(){if(!l){var e=o(d);l=!0;for(var t=u.length;t;){for(s=u,u=[];++c<t;)s&&s[c].run();c=-1,t=u.length}s=null,l=!1,function(e){if(n===clearTimeout)return clearTimeout(e);if((n===a||!n)&&clearTimeout)return n=clearTimeout,clearTimeout(e);try{n(e)}catch(t){try{return n.call(null,e)}catch(t){return n.call(this,e)}}}(e)}}function f(e,t){this.fun=e,this.array=t}function m(){}r.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];u.push(new f(e,t)),1!==u.length||l||o(h)},f.prototype.run=function(){this.fun.apply(null,this.array)},r.title="browser",r.browser=!0,r.env={},r.argv=[],r.version="",r.versions={},r.on=m,r.addListener=m,r.once=m,r.off=m,r.removeListener=m,r.removeAllListeners=m,r.emit=m,r.prependListener=m,r.prependOnceListener=m,r.listeners=function(e){return[]},r.binding=function(e){throw new Error("process.binding is not supported")},r.cwd=function(){return"/"},r.chdir=function(e){throw new Error("process.chdir is not supported")},r.umask=function(){return 0}},1968:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});const r={name:"FormError",props:{id:{type:String,required:!0},v:{type:Object,required:!0}}};const i=(0,n(1900).Z)(r,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.v.$error?n("div",{staticClass:"iande-form-error",attrs:{id:e.id}},[!1===e.v.required?n("span",[e._v(e._s(e.__("Campo obrigatório","iande")))]):!1===e.v.samePassword?n("span",[e._v(e._s(e.__("Senhas não batem","iande")))]):!1===e.v.cep?n("span",[e._v(e._s(e.__("CEP inválido","iande")))]):!1===e.v.cnpj?n("span",[e._v(e._s(e.__("CNPJ inválido","iande")))]):!1===e.v.date?n("span",[e._v(e._s(e.__("Data inválida","iande")))]):!1===e.v.email?n("span",[e._v(e._s(e.__("E-mail inválido","iande")))]):!1===e.v.phone?n("span",[e._v(e._s(e.__("Telefone inválido","iande")))]):!1===e.v.time?n("span",[e._v(e._s(e.__("Horário inválido","iande")))]):!1===e.v.integer?n("span",[e._v(e._s(e.__("Valor não é número inteiro","iande")))]):!1===e.v.maxLength?n("span",[e._v(e._s(e.sprintf(e.__("Selecione até %s opções","iande"),e.v.$params.maxLength.max)))]):!1===e.v.maxValue?n("span",[e._v(e._s(e.sprintf(e.__("Valor máximo é %s","iande"),e.v.$params.maxValue.max)))]):!1===e.v.minValue?n("span",[e._v(e._s(e.sprintf(e.__("Valor mínimo é %s","iande"),e.v.$params.minValue.min)))]):!1===e.v.minChar?n("span",[e._v(e._s(e.sprintf(e.__("Campo tem que ter pelo menos %s caracteres","iande"),e.v.$params.minChar.min)))]):!1===e.v.minGroups?n("span",[e._v(e._s(e.__("É necessário pelo menos um grupo","iande")))]):e._e()]):e._e()}),[],!1,null,null,null).exports},9779:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>se});var r=n(379),i=n(7033),a=n(1968),o=n(7757),s=n.n(o),u=n(9490);function l(e){return l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},l(e)}function c(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function d(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function h(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){d(e,t,n[t])}))}return e}var f=new(function(){function e(t,n,r,i){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.language=t,this.months=n,this.monthsAbbr=r,this.days=i,this.rtl=!1,this.ymd=!1,this.yearSuffix=""}var t,n,r;return t=e,(n=[{key:"language",get:function(){return this._language},set:function(e){if("string"!=typeof e)throw new TypeError("Language must be a string");this._language=e}},{key:"months",get:function(){return this._months},set:function(e){if(12!==e.length)throw new RangeError("There must be 12 months for ".concat(this.language," language"));this._months=e}},{key:"monthsAbbr",get:function(){return this._monthsAbbr},set:function(e){if(12!==e.length)throw new RangeError("There must be 12 abbreviated months for ".concat(this.language," language"));this._monthsAbbr=e}},{key:"days",get:function(){return this._days},set:function(e){if(7!==e.length)throw new RangeError("There must be 7 days for ".concat(this.language," language"));this._days=e}}])&&c(t.prototype,n),r&&c(t,r),e}())("English",["January","February","March","April","May","June","July","August","September","October","November","December"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]),m={useUtc:!1,getFullYear:function(e){return this.useUtc?e.getUTCFullYear():e.getFullYear()},getMonth:function(e){return this.useUtc?e.getUTCMonth():e.getMonth()},getDate:function(e){return this.useUtc?e.getUTCDate():e.getDate()},getDay:function(e){return this.useUtc?e.getUTCDay():e.getDay()},getHours:function(e){return this.useUtc?e.getUTCHours():e.getHours()},getMinutes:function(e){return this.useUtc?e.getUTCMinutes():e.getMinutes()},setFullYear:function(e,t,n){return this.useUtc?e.setUTCFullYear(t):e.setFullYear(t)},setMonth:function(e,t,n){return this.useUtc?e.setUTCMonth(t):e.setMonth(t)},setDate:function(e,t,n){return this.useUtc?e.setUTCDate(t):e.setDate(t)},compareDates:function(e,t){var n=new Date(e.getTime()),r=new Date(t.getTime());return this.useUtc?(n.setUTCHours(0,0,0,0),r.setUTCHours(0,0,0,0)):(n.setHours(0,0,0,0),r.setHours(0,0,0,0)),n.getTime()===r.getTime()},isValidDate:function(e){return"[object Date]"===Object.prototype.toString.call(e)&&!isNaN(e.getTime())},getDayNameAbbr:function(e,t){if("object"!==l(e))throw TypeError("Invalid Type");return t[this.getDay(e)]},getMonthName:function(e,t){if(!t)throw Error("missing 2nd parameter Months array");if("object"===l(e))return t[this.getMonth(e)];if("number"==typeof e)return t[e];throw TypeError("Invalid type")},getMonthNameAbbr:function(e,t){if(!t)throw Error("missing 2nd paramter Months array");if("object"===l(e))return t[this.getMonth(e)];if("number"==typeof e)return t[e];throw TypeError("Invalid type")},daysInMonth:function(e,t){return/8|3|5|10/.test(t)?30:1===t?(e%4||!(e%100))&&e%400?28:29:31},getNthSuffix:function(e){switch(e){case 1:case 21:case 31:return"st";case 2:case 22:return"nd";case 3:case 23:return"rd";default:return"th"}},formatDate:function(e,t,n){n=n||f;var r=this.getFullYear(e),i=this.getMonth(e)+1,a=this.getDate(e);return t.replace(/dd/,("0"+a).slice(-2)).replace(/d/,a).replace(/yyyy/,r).replace(/yy/,String(r).slice(2)).replace(/MMMM/,this.getMonthName(this.getMonth(e),n.months)).replace(/MMM/,this.getMonthNameAbbr(this.getMonth(e),n.monthsAbbr)).replace(/MM/,("0"+i).slice(-2)).replace(/M(?!a|ä|e)/,i).replace(/su/,this.getNthSuffix(this.getDate(e))).replace(/D(?!e|é|i)/,this.getDayNameAbbr(e,n.days))},createDateArray:function(e,t){for(var n=[];e<=t;)n.push(new Date(e)),e=this.setDate(new Date(e),this.getDate(new Date(e))+1);return n},validateDateInput:function(e){return null===e||e instanceof Date||"string"==typeof e||"number"==typeof e}},p=function(e){return h({},m,{useUtc:e})},v=h({},m);var y=function(e,t,n,r,i,a,o,s,u,l){"boolean"!=typeof o&&(u=s,s=o,o=!1);var c,d="function"==typeof n?n.options:n;if(e&&e.render&&(d.render=e.render,d.staticRenderFns=e.staticRenderFns,d._compiled=!0,i&&(d.functional=!0)),r&&(d._scopeId=r),a?(c=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),t&&t.call(this,u(e)),e&&e._registeredComponents&&e._registeredComponents.add(a)},d._ssrRegister=c):t&&(c=o?function(){t.call(this,l(this.$root.$options.shadowRoot))}:function(e){t.call(this,s(e))}),c)if(d.functional){var h=d.render;d.render=function(e,t){return c.call(t),h(e,t)}}else{var f=d.beforeCreate;d.beforeCreate=f?[].concat(f,c):[c]}return n};const g={props:{selectedDate:Date,resetTypedDate:[Date],format:[String,Function],translation:Object,inline:Boolean,id:String,name:String,refName:String,openDate:Date,placeholder:String,inputClass:[String,Object,Array],clearButton:Boolean,clearButtonIcon:String,calendarButton:Boolean,calendarButtonIcon:String,calendarButtonIconContent:String,disabled:Boolean,required:Boolean,typeable:Boolean,bootstrapStyling:Boolean,useUtc:Boolean},data:function(){return{input:null,typedDate:!1,utils:p(this.useUtc)}},computed:{formattedValue:function(){return this.selectedDate?this.typedDate?this.typedDate:"function"==typeof this.format?this.format(this.selectedDate):this.utils.formatDate(new Date(this.selectedDate),this.format,this.translation):null},computedInputClass:function(){return this.bootstrapStyling?"string"==typeof this.inputClass?[this.inputClass,"form-control"].join(" "):h({"form-control":!0},this.inputClass):this.inputClass}},watch:{resetTypedDate:function(){this.typedDate=!1}},methods:{showCalendar:function(){this.$emit("showCalendar")},parseTypedDate:function(e){if([27,13].includes(e.keyCode)&&this.input.blur(),this.typeable){var t=Date.parse(this.input.value);isNaN(t)||(this.typedDate=this.input.value,this.$emit("typedDate",new Date(this.typedDate)))}},inputBlurred:function(){this.typeable&&isNaN(Date.parse(this.input.value))&&(this.clearDate(),this.input.value=null,this.typedDate=null),this.$emit("closeCalendar")},clearDate:function(){this.$emit("clearDate")}},mounted:function(){this.input=this.$el.querySelector("input")}};var b=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{class:{"input-group":e.bootstrapStyling}},[e.calendarButton?n("span",{staticClass:"vdp-datepicker__calendar-button",class:{"input-group-prepend":e.bootstrapStyling},style:{"cursor:not-allowed;":e.disabled},on:{click:e.showCalendar}},[n("span",{class:{"input-group-text":e.bootstrapStyling}},[n("i",{class:e.calendarButtonIcon},[e._v("\n        "+e._s(e.calendarButtonIconContent)+"\n        "),e.calendarButtonIcon?e._e():n("span",[e._v("…")])])])]):e._e(),e._v(" "),n("input",{ref:e.refName,class:e.computedInputClass,attrs:{type:e.inline?"hidden":"text",name:e.name,id:e.id,"open-date":e.openDate,placeholder:e.placeholder,"clear-button":e.clearButton,disabled:e.disabled,required:e.required,readonly:!e.typeable,autocomplete:"off"},domProps:{value:e.formattedValue},on:{click:e.showCalendar,keyup:e.parseTypedDate,blur:e.inputBlurred}}),e._v(" "),e.clearButton&&e.selectedDate?n("span",{staticClass:"vdp-datepicker__clear-button",class:{"input-group-append":e.bootstrapStyling},on:{click:function(t){return e.clearDate()}}},[n("span",{class:{"input-group-text":e.bootstrapStyling}},[n("i",{class:e.clearButtonIcon},[e.clearButtonIcon?e._e():n("span",[e._v("×")])])])]):e._e(),e._v(" "),e._t("afterDateInput")],2)};b._withStripped=!0;var w=y({render:b,staticRenderFns:[]},undefined,g,undefined,!1,undefined,void 0,void 0);const D={props:{showDayView:Boolean,selectedDate:Date,pageDate:Date,pageTimestamp:Number,fullMonthName:Boolean,allowedToShowView:Function,dayCellContent:{type:Function,default:function(e){return e.date}},disabledDates:Object,highlighted:Object,calendarClass:[String,Object,Array],calendarStyle:Object,translation:Object,isRtl:Boolean,mondayFirst:Boolean,useUtc:Boolean},data:function(){return{utils:p(this.useUtc)}},computed:{daysOfWeek:function(){if(this.mondayFirst){var e=this.translation.days.slice();return e.push(e.shift()),e}return this.translation.days},blankDays:function(){var e=this.pageDate,t=this.useUtc?new Date(Date.UTC(e.getUTCFullYear(),e.getUTCMonth(),1)):new Date(e.getFullYear(),e.getMonth(),1,e.getHours(),e.getMinutes());return this.mondayFirst?this.utils.getDay(t)>0?this.utils.getDay(t)-1:6:this.utils.getDay(t)},days:function(){for(var e=this.pageDate,t=[],n=this.useUtc?new Date(Date.UTC(e.getUTCFullYear(),e.getUTCMonth(),1)):new Date(e.getFullYear(),e.getMonth(),1,e.getHours(),e.getMinutes()),r=this.utils.daysInMonth(this.utils.getFullYear(n),this.utils.getMonth(n)),i=0;i<r;i++)t.push({date:this.utils.getDate(n),timestamp:n.getTime(),isSelected:this.isSelectedDate(n),isDisabled:this.isDisabledDate(n),isHighlighted:this.isHighlightedDate(n),isHighlightStart:this.isHighlightStart(n),isHighlightEnd:this.isHighlightEnd(n),isToday:this.utils.compareDates(n,new Date),isWeekend:0===this.utils.getDay(n)||6===this.utils.getDay(n),isSaturday:6===this.utils.getDay(n),isSunday:0===this.utils.getDay(n)}),this.utils.setDate(n,this.utils.getDate(n)+1);return t},currMonthName:function(){var e=this.fullMonthName?this.translation.months:this.translation.monthsAbbr;return this.utils.getMonthNameAbbr(this.utils.getMonth(this.pageDate),e)},currYearName:function(){var e=this.translation.yearSuffix;return"".concat(this.utils.getFullYear(this.pageDate)).concat(e)},isYmd:function(){return this.translation.ymd&&!0===this.translation.ymd},isLeftNavDisabled:function(){return this.isRtl?this.isNextMonthDisabled(this.pageTimestamp):this.isPreviousMonthDisabled(this.pageTimestamp)},isRightNavDisabled:function(){return this.isRtl?this.isPreviousMonthDisabled(this.pageTimestamp):this.isNextMonthDisabled(this.pageTimestamp)}},methods:{selectDate:function(e){if(e.isDisabled)return this.$emit("selectedDisabled",e),!1;this.$emit("selectDate",e)},getPageMonth:function(){return this.utils.getMonth(this.pageDate)},showMonthCalendar:function(){this.$emit("showMonthCalendar")},changeMonth:function(e){var t=this.pageDate;this.utils.setMonth(t,this.utils.getMonth(t)+e),this.$emit("changedMonth",t)},previousMonth:function(){this.isPreviousMonthDisabled()||this.changeMonth(-1)},isPreviousMonthDisabled:function(){if(!this.disabledDates||!this.disabledDates.to)return!1;var e=this.pageDate;return this.utils.getMonth(this.disabledDates.to)>=this.utils.getMonth(e)&&this.utils.getFullYear(this.disabledDates.to)>=this.utils.getFullYear(e)},nextMonth:function(){this.isNextMonthDisabled()||this.changeMonth(1)},isNextMonthDisabled:function(){if(!this.disabledDates||!this.disabledDates.from)return!1;var e=this.pageDate;return this.utils.getMonth(this.disabledDates.from)<=this.utils.getMonth(e)&&this.utils.getFullYear(this.disabledDates.from)<=this.utils.getFullYear(e)},isSelectedDate:function(e){return this.selectedDate&&this.utils.compareDates(this.selectedDate,e)},isDisabledDate:function(e){var t=this,n=!1;return void 0!==this.disabledDates&&(void 0!==this.disabledDates.dates&&this.disabledDates.dates.forEach((function(r){if(t.utils.compareDates(e,r))return n=!0,!0})),void 0!==this.disabledDates.to&&this.disabledDates.to&&e<this.disabledDates.to&&(n=!0),void 0!==this.disabledDates.from&&this.disabledDates.from&&e>this.disabledDates.from&&(n=!0),void 0!==this.disabledDates.ranges&&this.disabledDates.ranges.forEach((function(t){if(void 0!==t.from&&t.from&&void 0!==t.to&&t.to&&e<t.to&&e>t.from)return n=!0,!0})),void 0!==this.disabledDates.days&&-1!==this.disabledDates.days.indexOf(this.utils.getDay(e))&&(n=!0),void 0!==this.disabledDates.daysOfMonth&&-1!==this.disabledDates.daysOfMonth.indexOf(this.utils.getDate(e))&&(n=!0),"function"==typeof this.disabledDates.customPredictor&&this.disabledDates.customPredictor(e)&&(n=!0),n)},isHighlightedDate:function(e){var t=this;if((!this.highlighted||!this.highlighted.includeDisabled)&&this.isDisabledDate(e))return!1;var n=!1;return void 0!==this.highlighted&&(void 0!==this.highlighted.dates&&this.highlighted.dates.forEach((function(r){if(t.utils.compareDates(e,r))return n=!0,!0})),this.isDefined(this.highlighted.from)&&this.isDefined(this.highlighted.to)&&(n=e>=this.highlighted.from&&e<=this.highlighted.to),void 0!==this.highlighted.days&&-1!==this.highlighted.days.indexOf(this.utils.getDay(e))&&(n=!0),void 0!==this.highlighted.daysOfMonth&&-1!==this.highlighted.daysOfMonth.indexOf(this.utils.getDate(e))&&(n=!0),"function"==typeof this.highlighted.customPredictor&&this.highlighted.customPredictor(e)&&(n=!0),n)},dayClasses:function(e){return{selected:e.isSelected,disabled:e.isDisabled,highlighted:e.isHighlighted,today:e.isToday,weekend:e.isWeekend,sat:e.isSaturday,sun:e.isSunday,"highlight-start":e.isHighlightStart,"highlight-end":e.isHighlightEnd}},isHighlightStart:function(e){return this.isHighlightedDate(e)&&this.highlighted.from instanceof Date&&this.utils.getFullYear(this.highlighted.from)===this.utils.getFullYear(e)&&this.utils.getMonth(this.highlighted.from)===this.utils.getMonth(e)&&this.utils.getDate(this.highlighted.from)===this.utils.getDate(e)},isHighlightEnd:function(e){return this.isHighlightedDate(e)&&this.highlighted.to instanceof Date&&this.utils.getFullYear(this.highlighted.to)===this.utils.getFullYear(e)&&this.utils.getMonth(this.highlighted.to)===this.utils.getMonth(e)&&this.utils.getDate(this.highlighted.to)===this.utils.getDate(e)},isDefined:function(e){return void 0!==e&&e}}};var _=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{directives:[{name:"show",rawName:"v-show",value:e.showDayView,expression:"showDayView"}],class:[e.calendarClass,"vdp-datepicker__calendar"],style:e.calendarStyle,on:{mousedown:function(e){e.preventDefault()}}},[e._t("beforeCalendarHeader"),e._v(" "),n("header",[n("span",{staticClass:"prev",class:{disabled:e.isLeftNavDisabled},on:{click:function(t){e.isRtl?e.nextMonth():e.previousMonth()}}},[e._v("<")]),e._v(" "),n("span",{staticClass:"day__month_btn",class:e.allowedToShowView("month")?"up":"",on:{click:e.showMonthCalendar}},[e._v(e._s(e.isYmd?e.currYearName:e.currMonthName)+" "+e._s(e.isYmd?e.currMonthName:e.currYearName))]),e._v(" "),n("span",{staticClass:"next",class:{disabled:e.isRightNavDisabled},on:{click:function(t){e.isRtl?e.previousMonth():e.nextMonth()}}},[e._v(">")])]),e._v(" "),n("div",{class:e.isRtl?"flex-rtl":""},[e._l(e.daysOfWeek,(function(t){return n("span",{key:t.timestamp,staticClass:"cell day-header"},[e._v(e._s(t))])})),e._v(" "),e.blankDays>0?e._l(e.blankDays,(function(e){return n("span",{key:e.timestamp,staticClass:"cell day blank"})})):e._e(),e._l(e.days,(function(t){return n("span",{key:t.timestamp,staticClass:"cell day",class:e.dayClasses(t),domProps:{innerHTML:e._s(e.dayCellContent(t))},on:{click:function(n){return e.selectDate(t)}}})}))],2)],2)};_._withStripped=!0;var k=y({render:_,staticRenderFns:[]},undefined,D,undefined,!1,undefined,void 0,void 0);const A={props:{showMonthView:Boolean,selectedDate:Date,pageDate:Date,pageTimestamp:Number,disabledDates:Object,calendarClass:[String,Object,Array],calendarStyle:Object,translation:Object,isRtl:Boolean,allowedToShowView:Function,useUtc:Boolean},data:function(){return{utils:p(this.useUtc)}},computed:{months:function(){for(var e=this.pageDate,t=[],n=this.useUtc?new Date(Date.UTC(e.getUTCFullYear(),0,e.getUTCDate())):new Date(e.getFullYear(),0,e.getDate(),e.getHours(),e.getMinutes()),r=0;r<12;r++)t.push({month:this.utils.getMonthName(r,this.translation.months),timestamp:n.getTime(),isSelected:this.isSelectedMonth(n),isDisabled:this.isDisabledMonth(n)}),this.utils.setMonth(n,this.utils.getMonth(n)+1);return t},pageYearName:function(){var e=this.translation.yearSuffix;return"".concat(this.utils.getFullYear(this.pageDate)).concat(e)},isLeftNavDisabled:function(){return this.isRtl?this.isNextYearDisabled(this.pageTimestamp):this.isPreviousYearDisabled(this.pageTimestamp)},isRightNavDisabled:function(){return this.isRtl?this.isPreviousYearDisabled(this.pageTimestamp):this.isNextYearDisabled(this.pageTimestamp)}},methods:{selectMonth:function(e){if(e.isDisabled)return!1;this.$emit("selectMonth",e)},changeYear:function(e){var t=this.pageDate;this.utils.setFullYear(t,this.utils.getFullYear(t)+e),this.$emit("changedYear",t)},previousYear:function(){this.isPreviousYearDisabled()||this.changeYear(-1)},isPreviousYearDisabled:function(){return!(!this.disabledDates||!this.disabledDates.to)&&this.utils.getFullYear(this.disabledDates.to)>=this.utils.getFullYear(this.pageDate)},nextYear:function(){this.isNextYearDisabled()||this.changeYear(1)},isNextYearDisabled:function(){return!(!this.disabledDates||!this.disabledDates.from)&&this.utils.getFullYear(this.disabledDates.from)<=this.utils.getFullYear(this.pageDate)},showYearCalendar:function(){this.$emit("showYearCalendar")},isSelectedMonth:function(e){return this.selectedDate&&this.utils.getFullYear(this.selectedDate)===this.utils.getFullYear(e)&&this.utils.getMonth(this.selectedDate)===this.utils.getMonth(e)},isDisabledMonth:function(e){var t=!1;return void 0!==this.disabledDates&&(void 0!==this.disabledDates.to&&this.disabledDates.to&&(this.utils.getMonth(e)<this.utils.getMonth(this.disabledDates.to)&&this.utils.getFullYear(e)<=this.utils.getFullYear(this.disabledDates.to)||this.utils.getFullYear(e)<this.utils.getFullYear(this.disabledDates.to))&&(t=!0),void 0!==this.disabledDates.from&&this.disabledDates.from&&(this.utils.getMonth(e)>this.utils.getMonth(this.disabledDates.from)&&this.utils.getFullYear(e)>=this.utils.getFullYear(this.disabledDates.from)||this.utils.getFullYear(e)>this.utils.getFullYear(this.disabledDates.from))&&(t=!0),"function"==typeof this.disabledDates.customPredictor&&this.disabledDates.customPredictor(e)&&(t=!0),t)}}};var S=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{directives:[{name:"show",rawName:"v-show",value:e.showMonthView,expression:"showMonthView"}],class:[e.calendarClass,"vdp-datepicker__calendar"],style:e.calendarStyle,on:{mousedown:function(e){e.preventDefault()}}},[e._t("beforeCalendarHeader"),e._v(" "),n("header",[n("span",{staticClass:"prev",class:{disabled:e.isLeftNavDisabled},on:{click:function(t){e.isRtl?e.nextYear():e.previousYear()}}},[e._v("<")]),e._v(" "),n("span",{staticClass:"month__year_btn",class:e.allowedToShowView("year")?"up":"",on:{click:e.showYearCalendar}},[e._v(e._s(e.pageYearName))]),e._v(" "),n("span",{staticClass:"next",class:{disabled:e.isRightNavDisabled},on:{click:function(t){e.isRtl?e.previousYear():e.nextYear()}}},[e._v(">")])]),e._v(" "),e._l(e.months,(function(t){return n("span",{key:t.timestamp,staticClass:"cell month",class:{selected:t.isSelected,disabled:t.isDisabled},on:{click:function(n){return n.stopPropagation(),e.selectMonth(t)}}},[e._v(e._s(t.month))])}))],2)};S._withStripped=!0;var C=y({render:S,staticRenderFns:[]},undefined,A,undefined,!1,undefined,void 0,void 0);const O={props:{showYearView:Boolean,selectedDate:Date,pageDate:Date,pageTimestamp:Number,disabledDates:Object,highlighted:Object,calendarClass:[String,Object,Array],calendarStyle:Object,translation:Object,isRtl:Boolean,allowedToShowView:Function,useUtc:Boolean},computed:{years:function(){for(var e=this.pageDate,t=[],n=this.useUtc?new Date(Date.UTC(10*Math.floor(e.getUTCFullYear()/10),e.getUTCMonth(),e.getUTCDate())):new Date(10*Math.floor(e.getFullYear()/10),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes()),r=0;r<10;r++)t.push({year:this.utils.getFullYear(n),timestamp:n.getTime(),isSelected:this.isSelectedYear(n),isDisabled:this.isDisabledYear(n)}),this.utils.setFullYear(n,this.utils.getFullYear(n)+1);return t},getPageDecade:function(){var e=10*Math.floor(this.utils.getFullYear(this.pageDate)/10),t=e+9,n=this.translation.yearSuffix;return"".concat(e," - ").concat(t).concat(n)},isLeftNavDisabled:function(){return this.isRtl?this.isNextDecadeDisabled(this.pageTimestamp):this.isPreviousDecadeDisabled(this.pageTimestamp)},isRightNavDisabled:function(){return this.isRtl?this.isPreviousDecadeDisabled(this.pageTimestamp):this.isNextDecadeDisabled(this.pageTimestamp)}},data:function(){return{utils:p(this.useUtc)}},methods:{selectYear:function(e){if(e.isDisabled)return!1;this.$emit("selectYear",e)},changeYear:function(e){var t=this.pageDate;this.utils.setFullYear(t,this.utils.getFullYear(t)+e),this.$emit("changedDecade",t)},previousDecade:function(){if(this.isPreviousDecadeDisabled())return!1;this.changeYear(-10)},isPreviousDecadeDisabled:function(){return!(!this.disabledDates||!this.disabledDates.to)&&this.utils.getFullYear(this.disabledDates.to)>10*Math.floor(this.utils.getFullYear(this.pageDate)/10)-1},nextDecade:function(){if(this.isNextDecadeDisabled())return!1;this.changeYear(10)},isNextDecadeDisabled:function(){return!(!this.disabledDates||!this.disabledDates.from)&&this.utils.getFullYear(this.disabledDates.from)<10*Math.ceil(this.utils.getFullYear(this.pageDate)/10)},isSelectedYear:function(e){return this.selectedDate&&this.utils.getFullYear(this.selectedDate)===this.utils.getFullYear(e)},isDisabledYear:function(e){var t=!1;return!(void 0===this.disabledDates||!this.disabledDates)&&(void 0!==this.disabledDates.to&&this.disabledDates.to&&this.utils.getFullYear(e)<this.utils.getFullYear(this.disabledDates.to)&&(t=!0),void 0!==this.disabledDates.from&&this.disabledDates.from&&this.utils.getFullYear(e)>this.utils.getFullYear(this.disabledDates.from)&&(t=!0),"function"==typeof this.disabledDates.customPredictor&&this.disabledDates.customPredictor(e)&&(t=!0),t)}}};var M=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{directives:[{name:"show",rawName:"v-show",value:e.showYearView,expression:"showYearView"}],class:[e.calendarClass,"vdp-datepicker__calendar"],style:e.calendarStyle,on:{mousedown:function(e){e.preventDefault()}}},[e._t("beforeCalendarHeader"),e._v(" "),n("header",[n("span",{staticClass:"prev",class:{disabled:e.isLeftNavDisabled},on:{click:function(t){e.isRtl?e.nextDecade():e.previousDecade()}}},[e._v("<")]),e._v(" "),n("span",[e._v(e._s(e.getPageDecade))]),e._v(" "),n("span",{staticClass:"next",class:{disabled:e.isRightNavDisabled},on:{click:function(t){e.isRtl?e.previousDecade():e.nextDecade()}}},[e._v(">")])]),e._v(" "),e._l(e.years,(function(t){return n("span",{key:t.timestamp,staticClass:"cell year",class:{selected:t.isSelected,disabled:t.isDisabled},on:{click:function(n){return n.stopPropagation(),e.selectYear(t)}}},[e._v(e._s(t.year))])}))],2)};M._withStripped=!0;var T={components:{DateInput:w,PickerDay:k,PickerMonth:C,PickerYear:y({render:M,staticRenderFns:[]},undefined,O,undefined,!1,undefined,void 0,void 0)},props:{value:{validator:function(e){return v.validateDateInput(e)}},name:String,refName:String,id:String,format:{type:[String,Function],default:"dd MMM yyyy"},language:{type:Object,default:function(){return f}},openDate:{validator:function(e){return v.validateDateInput(e)}},dayCellContent:Function,fullMonthName:Boolean,disabledDates:Object,highlighted:Object,placeholder:String,inline:Boolean,calendarClass:[String,Object,Array],inputClass:[String,Object,Array],wrapperClass:[String,Object,Array],mondayFirst:Boolean,clearButton:Boolean,clearButtonIcon:String,calendarButton:Boolean,calendarButtonIcon:String,calendarButtonIconContent:String,bootstrapStyling:Boolean,initialView:String,disabled:Boolean,required:Boolean,typeable:Boolean,useUtc:Boolean,minimumView:{type:String,default:"day"},maximumView:{type:String,default:"year"}},data:function(){var e=this.openDate?new Date(this.openDate):new Date,t=p(this.useUtc);return{pageTimestamp:t.setDate(e,1),selectedDate:null,showDayView:!1,showMonthView:!1,showYearView:!1,calendarHeight:0,resetTypedDate:new Date,utils:t}},watch:{value:function(e){this.setValue(e)},openDate:function(){this.setPageDate()},initialView:function(){this.setInitialView()}},computed:{computedInitialView:function(){return this.initialView?this.initialView:this.minimumView},pageDate:function(){return new Date(this.pageTimestamp)},translation:function(){return this.language},calendarStyle:function(){return{position:this.isInline?"static":void 0}},isOpen:function(){return this.showDayView||this.showMonthView||this.showYearView},isInline:function(){return!!this.inline},isRtl:function(){return!0===this.translation.rtl}},methods:{resetDefaultPageDate:function(){null!==this.selectedDate?this.setPageDate(this.selectedDate):this.setPageDate()},showCalendar:function(){return!this.disabled&&!this.isInline&&(this.isOpen?this.close(!0):void this.setInitialView())},setInitialView:function(){var e=this.computedInitialView;if(!this.allowedToShowView(e))throw new Error("initialView '".concat(this.initialView,"' cannot be rendered based on minimum '").concat(this.minimumView,"' and maximum '").concat(this.maximumView,"'"));switch(e){case"year":this.showYearCalendar();break;case"month":this.showMonthCalendar();break;default:this.showDayCalendar()}},allowedToShowView:function(e){var t=["day","month","year"],n=t.indexOf(this.minimumView),r=t.indexOf(this.maximumView),i=t.indexOf(e);return i>=n&&i<=r},showDayCalendar:function(){return!!this.allowedToShowView("day")&&(this.close(),this.showDayView=!0,!0)},showMonthCalendar:function(){return!!this.allowedToShowView("month")&&(this.close(),this.showMonthView=!0,!0)},showYearCalendar:function(){return!!this.allowedToShowView("year")&&(this.close(),this.showYearView=!0,!0)},setDate:function(e){var t=new Date(e);this.selectedDate=t,this.setPageDate(t),this.$emit("selected",t),this.$emit("input",t)},clearDate:function(){this.selectedDate=null,this.setPageDate(),this.$emit("selected",null),this.$emit("input",null),this.$emit("cleared")},selectDate:function(e){this.setDate(e.timestamp),this.isInline||this.close(!0),this.resetTypedDate=new Date},selectDisabledDate:function(e){this.$emit("selectedDisabled",e)},selectMonth:function(e){var t=new Date(e.timestamp);this.allowedToShowView("day")?(this.setPageDate(t),this.$emit("changedMonth",e),this.showDayCalendar()):this.selectDate(e)},selectYear:function(e){var t=new Date(e.timestamp);this.allowedToShowView("month")?(this.setPageDate(t),this.$emit("changedYear",e),this.showMonthCalendar()):this.selectDate(e)},setValue:function(e){if("string"==typeof e||"number"==typeof e){var t=new Date(e);e=isNaN(t.valueOf())?null:t}if(!e)return this.setPageDate(),void(this.selectedDate=null);this.selectedDate=e,this.setPageDate(e)},setPageDate:function(e){e||(e=this.openDate?new Date(this.openDate):new Date),this.pageTimestamp=this.utils.setDate(new Date(e),1)},handleChangedMonthFromDayPicker:function(e){this.setPageDate(e),this.$emit("changedMonth",e)},setTypedDate:function(e){this.setDate(e.getTime())},close:function(e){this.showDayView=this.showMonthView=this.showYearView=!1,this.isInline||(e&&this.$emit("closed"),document.removeEventListener("click",this.clickOutside,!1))},init:function(){this.value&&this.setValue(this.value),this.isInline&&this.setInitialView()}},mounted:function(){this.init()}},x="undefined"!=typeof navigator&&/msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());var E=document.head||document.getElementsByTagName("head")[0],N={};var V=function(e){return function(e,t){return function(e,t){var n=x?t.media||"default":e,r=N[n]||(N[n]={ids:new Set,styles:[]});if(!r.ids.has(e)){r.ids.add(e);var i=t.source;if(t.map&&(i+="\n/*# sourceURL="+t.map.sources[0]+" */",i+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(t.map))))+" */"),r.element||(r.element=document.createElement("style"),r.element.type="text/css",t.media&&r.element.setAttribute("media",t.media),E.appendChild(r.element)),"styleSheet"in r.element)r.styles.push(i),r.element.styleSheet.cssText=r.styles.filter(Boolean).join("\n");else{var a=r.ids.size-1,o=document.createTextNode(i),s=r.element.childNodes;s[a]&&r.element.removeChild(s[a]),s.length?r.element.insertBefore(o,s[a]):r.element.appendChild(o)}}}(e,t)}};const j=T;var I=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"vdp-datepicker",class:[e.wrapperClass,e.isRtl?"rtl":""]},[n("date-input",{attrs:{selectedDate:e.selectedDate,resetTypedDate:e.resetTypedDate,format:e.format,translation:e.translation,inline:e.inline,id:e.id,name:e.name,refName:e.refName,openDate:e.openDate,placeholder:e.placeholder,inputClass:e.inputClass,typeable:e.typeable,clearButton:e.clearButton,clearButtonIcon:e.clearButtonIcon,calendarButton:e.calendarButton,calendarButtonIcon:e.calendarButtonIcon,calendarButtonIconContent:e.calendarButtonIconContent,disabled:e.disabled,required:e.required,bootstrapStyling:e.bootstrapStyling,"use-utc":e.useUtc},on:{showCalendar:e.showCalendar,closeCalendar:e.close,typedDate:e.setTypedDate,clearDate:e.clearDate}},[e._t("afterDateInput",null,{slot:"afterDateInput"})],2),e._v(" "),e.allowedToShowView("day")?n("picker-day",{attrs:{pageDate:e.pageDate,selectedDate:e.selectedDate,showDayView:e.showDayView,fullMonthName:e.fullMonthName,allowedToShowView:e.allowedToShowView,disabledDates:e.disabledDates,highlighted:e.highlighted,calendarClass:e.calendarClass,calendarStyle:e.calendarStyle,translation:e.translation,pageTimestamp:e.pageTimestamp,isRtl:e.isRtl,mondayFirst:e.mondayFirst,dayCellContent:e.dayCellContent,"use-utc":e.useUtc},on:{changedMonth:e.handleChangedMonthFromDayPicker,selectDate:e.selectDate,showMonthCalendar:e.showMonthCalendar,selectedDisabled:e.selectDisabledDate}},[e._t("beforeCalendarHeader",null,{slot:"beforeCalendarHeader"})],2):e._e(),e._v(" "),e.allowedToShowView("month")?n("picker-month",{attrs:{pageDate:e.pageDate,selectedDate:e.selectedDate,showMonthView:e.showMonthView,allowedToShowView:e.allowedToShowView,disabledDates:e.disabledDates,calendarClass:e.calendarClass,calendarStyle:e.calendarStyle,translation:e.translation,isRtl:e.isRtl,"use-utc":e.useUtc},on:{selectMonth:e.selectMonth,showYearCalendar:e.showYearCalendar,changedYear:e.setPageDate}},[e._t("beforeCalendarHeader",null,{slot:"beforeCalendarHeader"})],2):e._e(),e._v(" "),e.allowedToShowView("year")?n("picker-year",{attrs:{pageDate:e.pageDate,selectedDate:e.selectedDate,showYearView:e.showYearView,allowedToShowView:e.allowedToShowView,disabledDates:e.disabledDates,calendarClass:e.calendarClass,calendarStyle:e.calendarStyle,translation:e.translation,isRtl:e.isRtl,"use-utc":e.useUtc},on:{selectYear:e.selectYear,changedDecade:e.setPageDate}},[e._t("beforeCalendarHeader",null,{slot:"beforeCalendarHeader"})],2):e._e()],1)};I._withStripped=!0;const B=y({render:I,staticRenderFns:[]},(function(e){e&&e("data-v-64ca2bb5_0",{source:".rtl {\n  direction: rtl;\n}\n.vdp-datepicker {\n  position: relative;\n  text-align: left;\n}\n.vdp-datepicker * {\n  box-sizing: border-box;\n}\n.vdp-datepicker__calendar {\n  position: absolute;\n  z-index: 100;\n  background: #fff;\n  width: 300px;\n  border: 1px solid #ccc;\n}\n.vdp-datepicker__calendar header {\n  display: block;\n  line-height: 40px;\n}\n.vdp-datepicker__calendar header span {\n  display: inline-block;\n  text-align: center;\n  width: 71.42857142857143%;\n  float: left;\n}\n.vdp-datepicker__calendar header .prev,\n.vdp-datepicker__calendar header .next {\n  width: 14.285714285714286%;\n  float: left;\n  text-indent: -10000px;\n  position: relative;\n}\n.vdp-datepicker__calendar header .prev:after,\n.vdp-datepicker__calendar header .next:after {\n  content: '';\n  position: absolute;\n  left: 50%;\n  top: 50%;\n  transform: translateX(-50%) translateY(-50%);\n  border: 6px solid transparent;\n}\n.vdp-datepicker__calendar header .prev:after {\n  border-right: 10px solid #000;\n  margin-left: -5px;\n}\n.vdp-datepicker__calendar header .prev.disabled:after {\n  border-right: 10px solid #ddd;\n}\n.vdp-datepicker__calendar header .next:after {\n  border-left: 10px solid #000;\n  margin-left: 5px;\n}\n.vdp-datepicker__calendar header .next.disabled:after {\n  border-left: 10px solid #ddd;\n}\n.vdp-datepicker__calendar header .prev:not(.disabled),\n.vdp-datepicker__calendar header .next:not(.disabled),\n.vdp-datepicker__calendar header .up:not(.disabled) {\n  cursor: pointer;\n}\n.vdp-datepicker__calendar header .prev:not(.disabled):hover,\n.vdp-datepicker__calendar header .next:not(.disabled):hover,\n.vdp-datepicker__calendar header .up:not(.disabled):hover {\n  background: #eee;\n}\n.vdp-datepicker__calendar .disabled {\n  color: #ddd;\n  cursor: default;\n}\n.vdp-datepicker__calendar .flex-rtl {\n  display: flex;\n  width: inherit;\n  flex-wrap: wrap;\n}\n.vdp-datepicker__calendar .cell {\n  display: inline-block;\n  padding: 0 5px;\n  width: 14.285714285714286%;\n  height: 40px;\n  line-height: 40px;\n  text-align: center;\n  vertical-align: middle;\n  border: 1px solid transparent;\n}\n.vdp-datepicker__calendar .cell:not(.blank):not(.disabled).day,\n.vdp-datepicker__calendar .cell:not(.blank):not(.disabled).month,\n.vdp-datepicker__calendar .cell:not(.blank):not(.disabled).year {\n  cursor: pointer;\n}\n.vdp-datepicker__calendar .cell:not(.blank):not(.disabled).day:hover,\n.vdp-datepicker__calendar .cell:not(.blank):not(.disabled).month:hover,\n.vdp-datepicker__calendar .cell:not(.blank):not(.disabled).year:hover {\n  border: 1px solid #4bd;\n}\n.vdp-datepicker__calendar .cell.selected {\n  background: #4bd;\n}\n.vdp-datepicker__calendar .cell.selected:hover {\n  background: #4bd;\n}\n.vdp-datepicker__calendar .cell.selected.highlighted {\n  background: #4bd;\n}\n.vdp-datepicker__calendar .cell.highlighted {\n  background: #cae5ed;\n}\n.vdp-datepicker__calendar .cell.highlighted.disabled {\n  color: #a3a3a3;\n}\n.vdp-datepicker__calendar .cell.grey {\n  color: #888;\n}\n.vdp-datepicker__calendar .cell.grey:hover {\n  background: inherit;\n}\n.vdp-datepicker__calendar .cell.day-header {\n  font-size: 75%;\n  white-space: nowrap;\n  cursor: inherit;\n}\n.vdp-datepicker__calendar .cell.day-header:hover {\n  background: inherit;\n}\n.vdp-datepicker__calendar .month,\n.vdp-datepicker__calendar .year {\n  width: 33.333%;\n}\n.vdp-datepicker__clear-button,\n.vdp-datepicker__calendar-button {\n  cursor: pointer;\n  font-style: normal;\n}\n.vdp-datepicker__clear-button.disabled,\n.vdp-datepicker__calendar-button.disabled {\n  color: #999;\n  cursor: default;\n}\n",map:{version:3,sources:["Datepicker.vue"],names:[],mappings:"AAAA;EACE,cAAc;AAChB;AACA;EACE,kBAAkB;EAClB,gBAAgB;AAClB;AACA;EACE,sBAAsB;AACxB;AACA;EACE,kBAAkB;EAClB,YAAY;EACZ,gBAAgB;EAChB,YAAY;EACZ,sBAAsB;AACxB;AACA;EACE,cAAc;EACd,iBAAiB;AACnB;AACA;EACE,qBAAqB;EACrB,kBAAkB;EAClB,yBAAyB;EACzB,WAAW;AACb;AACA;;EAEE,0BAA0B;EAC1B,WAAW;EACX,qBAAqB;EACrB,kBAAkB;AACpB;AACA;;EAEE,WAAW;EACX,kBAAkB;EAClB,SAAS;EACT,QAAQ;EACR,4CAA4C;EAC5C,6BAA6B;AAC/B;AACA;EACE,6BAA6B;EAC7B,iBAAiB;AACnB;AACA;EACE,6BAA6B;AAC/B;AACA;EACE,4BAA4B;EAC5B,gBAAgB;AAClB;AACA;EACE,4BAA4B;AAC9B;AACA;;;EAGE,eAAe;AACjB;AACA;;;EAGE,gBAAgB;AAClB;AACA;EACE,WAAW;EACX,eAAe;AACjB;AACA;EACE,aAAa;EACb,cAAc;EACd,eAAe;AACjB;AACA;EACE,qBAAqB;EACrB,cAAc;EACd,0BAA0B;EAC1B,YAAY;EACZ,iBAAiB;EACjB,kBAAkB;EAClB,sBAAsB;EACtB,6BAA6B;AAC/B;AACA;;;EAGE,eAAe;AACjB;AACA;;;EAGE,sBAAsB;AACxB;AACA;EACE,gBAAgB;AAClB;AACA;EACE,gBAAgB;AAClB;AACA;EACE,gBAAgB;AAClB;AACA;EACE,mBAAmB;AACrB;AACA;EACE,cAAc;AAChB;AACA;EACE,WAAW;AACb;AACA;EACE,mBAAmB;AACrB;AACA;EACE,cAAc;EACd,mBAAmB;EACnB,eAAe;AACjB;AACA;EACE,mBAAmB;AACrB;AACA;;EAEE,cAAc;AAChB;AACA;;EAEE,eAAe;EACf,kBAAkB;AACpB;AACA;;EAEE,WAAW;EACX,eAAe;AACjB",file:"Datepicker.vue",sourcesContent:[".rtl {\n  direction: rtl;\n}\n.vdp-datepicker {\n  position: relative;\n  text-align: left;\n}\n.vdp-datepicker * {\n  box-sizing: border-box;\n}\n.vdp-datepicker__calendar {\n  position: absolute;\n  z-index: 100;\n  background: #fff;\n  width: 300px;\n  border: 1px solid #ccc;\n}\n.vdp-datepicker__calendar header {\n  display: block;\n  line-height: 40px;\n}\n.vdp-datepicker__calendar header span {\n  display: inline-block;\n  text-align: center;\n  width: 71.42857142857143%;\n  float: left;\n}\n.vdp-datepicker__calendar header .prev,\n.vdp-datepicker__calendar header .next {\n  width: 14.285714285714286%;\n  float: left;\n  text-indent: -10000px;\n  position: relative;\n}\n.vdp-datepicker__calendar header .prev:after,\n.vdp-datepicker__calendar header .next:after {\n  content: '';\n  position: absolute;\n  left: 50%;\n  top: 50%;\n  transform: translateX(-50%) translateY(-50%);\n  border: 6px solid transparent;\n}\n.vdp-datepicker__calendar header .prev:after {\n  border-right: 10px solid #000;\n  margin-left: -5px;\n}\n.vdp-datepicker__calendar header .prev.disabled:after {\n  border-right: 10px solid #ddd;\n}\n.vdp-datepicker__calendar header .next:after {\n  border-left: 10px solid #000;\n  margin-left: 5px;\n}\n.vdp-datepicker__calendar header .next.disabled:after {\n  border-left: 10px solid #ddd;\n}\n.vdp-datepicker__calendar header .prev:not(.disabled),\n.vdp-datepicker__calendar header .next:not(.disabled),\n.vdp-datepicker__calendar header .up:not(.disabled) {\n  cursor: pointer;\n}\n.vdp-datepicker__calendar header .prev:not(.disabled):hover,\n.vdp-datepicker__calendar header .next:not(.disabled):hover,\n.vdp-datepicker__calendar header .up:not(.disabled):hover {\n  background: #eee;\n}\n.vdp-datepicker__calendar .disabled {\n  color: #ddd;\n  cursor: default;\n}\n.vdp-datepicker__calendar .flex-rtl {\n  display: flex;\n  width: inherit;\n  flex-wrap: wrap;\n}\n.vdp-datepicker__calendar .cell {\n  display: inline-block;\n  padding: 0 5px;\n  width: 14.285714285714286%;\n  height: 40px;\n  line-height: 40px;\n  text-align: center;\n  vertical-align: middle;\n  border: 1px solid transparent;\n}\n.vdp-datepicker__calendar .cell:not(.blank):not(.disabled).day,\n.vdp-datepicker__calendar .cell:not(.blank):not(.disabled).month,\n.vdp-datepicker__calendar .cell:not(.blank):not(.disabled).year {\n  cursor: pointer;\n}\n.vdp-datepicker__calendar .cell:not(.blank):not(.disabled).day:hover,\n.vdp-datepicker__calendar .cell:not(.blank):not(.disabled).month:hover,\n.vdp-datepicker__calendar .cell:not(.blank):not(.disabled).year:hover {\n  border: 1px solid #4bd;\n}\n.vdp-datepicker__calendar .cell.selected {\n  background: #4bd;\n}\n.vdp-datepicker__calendar .cell.selected:hover {\n  background: #4bd;\n}\n.vdp-datepicker__calendar .cell.selected.highlighted {\n  background: #4bd;\n}\n.vdp-datepicker__calendar .cell.highlighted {\n  background: #cae5ed;\n}\n.vdp-datepicker__calendar .cell.highlighted.disabled {\n  color: #a3a3a3;\n}\n.vdp-datepicker__calendar .cell.grey {\n  color: #888;\n}\n.vdp-datepicker__calendar .cell.grey:hover {\n  background: inherit;\n}\n.vdp-datepicker__calendar .cell.day-header {\n  font-size: 75%;\n  white-space: nowrap;\n  cursor: inherit;\n}\n.vdp-datepicker__calendar .cell.day-header:hover {\n  background: inherit;\n}\n.vdp-datepicker__calendar .month,\n.vdp-datepicker__calendar .year {\n  width: 33.333%;\n}\n.vdp-datepicker__clear-button,\n.vdp-datepicker__calendar-button {\n  cursor: pointer;\n  font-style: normal;\n}\n.vdp-datepicker__clear-button.disabled,\n.vdp-datepicker__calendar-button.disabled {\n  color: #999;\n  cursor: default;\n}\n"]},media:void 0})}),j,undefined,!1,undefined,V,void 0);var F=n(1234),P=n(2974);function Y(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Z(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Y(Object(n),!0).forEach((function(t){L(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Y(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function L(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const U={name:"DatePicker",components:{Datepicker:B},mixins:[F.Z],inheritAttrs:!1,computed:{disabledDatesPredictor:function(){var e=this;return this.exhibition?function(t){return 0===(0,P.S4)(e.exhibition,t).length}:function(){return!0}},disabledDates:function(){var e={customPredictor:this.disabledDatesPredictor};if(this.exhibition){var t=this.exhibition.days_advance?Number(this.exhibition.days_advance):1,n=u.ou.fromObject({hour:0,minute:0,second:0,millisecond:0}).plus({days:t}).toJSDate(),r=u.ou.fromISO(this.exhibition.date_from).toJSDate();if(e.to=r>n?r:n,this.exhibition.date_to){var i=u.ou.fromISO(this.exhibition.date_to).endOf("day").toJSDate();e.from=i}}return e},dateValue:{get:function(){return this.value?u.ou.fromISO(this.value).toJSDate():null},set:function(e){this.modelValue=u.ou.fromJSDate(e).toISODate()}},exhibition:(0,i.U2)("appointments/exhibition"),inputClasses:function(){return["iande-input",this.fieldClass,this.v.$error&&"invalid"]},inputAttrs:function(){return Z(Z({},this.$attrs),{},{"aria-describedby":this.errorId,id:this.id,name:this.id})}}};var q=n(1900);const z=(0,q.Z)(U,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"iande-field"},[n("Datepicker",e._b({attrs:{disabledDates:e.disabledDates,format:e._x("dd/MM/yyyy","vuejs-datepicker","iande"),inputClass:e.inputClasses},model:{value:e.dateValue,callback:function(t){e.dateValue=t},expression:"dateValue"}},"Datepicker",e.inputAttrs,!1)),e._v(" "),e.v.$error?n("FormError",{attrs:{id:e.errorId,v:e.v}}):e._e()],1)}),[],!1,null,null,null).exports;var $=n(6571),R=n(6229),H=n(8461),W=n(424);const J={name:"SlotPicker",components:{Select:H.Z},mixins:[F.Z],props:{day:{type:String,required:!0}},computed:{availableSlots:function(){return this.day?(0,P.FJ)(this.exhibition,this.day):[]},emptyMessage:function(){return this.day?(0,W.__)("Nenhum horário disponível","iande"):(0,W.__)("Selecione um dia primeiro","iande")},exhibition:(0,i.U2)("appointments/exhibition"),hours:function(){return this.availableSlots.map((function(e){return e.start.toFormat("HH:mm")}))},options:function(){var e=this.availableSlots.map((function(e){var t=e.start.toFormat((0,W.__)("HH:mm","iande")),n=e.end.toFormat((0,W.__)("HH:mm","iande"));return[(0,W.gB)((0,W.__)("%s a %s","iande"),t,n),t]}));return Object.fromEntries(e)}}};const G=(0,q.Z)(J,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"iande-field"},[n("Select",{attrs:{id:e.id,placeholder:e.__("Selecione um dos horários disponíveis","iande"),empty:e.emptyMessage,v:e.v,options:e.options},model:{value:e.modelValue,callback:function(t){e.modelValue=t},expression:"modelValue"}})],1)}),[],!1,null,null,null).exports;var X=n(1870);function Q(e,t,n,r,i,a,o){try{var s=e[a](o),u=s.value}catch(e){return void n(e)}s.done?t(u):Promise.resolve(u).then(r,i)}function K(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var a=e.apply(t,n);function o(e){Q(a,r,i,o,s,"next",e)}function s(e){Q(a,r,i,o,s,"throw",e)}o(void 0)}))}}const ee={name:"GroupDate",components:{DatePicker:z,Input:$.Z,Label:R.Z,SlotPicker:G},mixins:[F.Z],data:function(){return{availability:null}},computed:{date:(0,X.fM)("date"),exhibition:(0,i.U2)("appointments/exhibition"),hour:(0,X.fM)("hour"),n:function(){return Number(this.id.split("_").pop())+1},name:(0,X.fM)("name")},watch:{date:function(){var e=this;this.checkAvailability(),this.$nextTick((function(){e.$refs.slots&&!e.$refs.slots.hours.includes(e.hour)&&(e.hour="")}))},hour:function(){var e=this;return K(s().mark((function t(){return s().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:e.checkAvailability();case 1:case"end":return t.stop()}}),t)})))()}},beforeMount:function(){var e=this;return K(s().mark((function t(){return s().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.checkAvailability();case 2:case"end":return t.stop()}}),t)})))()},methods:{checkAvailability:function(){var e=this;return K(s().mark((function t(){var n,r,i,a;return s().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(n=e.date,r=e.exhibition,i=e.hour,!n||!i){t.next=8;break}return t.next=4,X.hi.post("exhibition/check_availability",{date:n,hour:i,ID:r.ID});case 4:a=t.sent,e.availability=a,t.next=9;break;case 8:e.availability=null;case 9:case"end":return t.stop()}}),t)})))()}}};const te=(0,q.Z)(ee,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("section",{staticClass:"iande-stack stack-lg"},[n("h2",{staticClass:"iande-group-title"},[e._v(e._s(e.sprintf(e.__("Grupo %s:","iande"),e.n)))]),e._v(" "),n("div",[n("Label",{attrs:{for:e.id+"_name"}},[e._v(e._s(e.__("Nome do grupo","iande")))]),e._v(" "),n("Input",{attrs:{id:e.id+"_name",type:"text",placeholder:e.__("Ex.: 1° ano G - Prof. Marta","iande"),v:e.v.name},model:{value:e.name,callback:function(t){e.name=t},expression:"name"}})],1),e._v(" "),e.exhibition?[n("div",[n("Label",{attrs:{for:e.id+"_date"}},[e._v(e._s(e.__("Data da visitação","iande")))]),e._v(" "),n("DatePicker",{attrs:{id:e.id+"_date",placeholder:e.__("Selecione uma data","iande"),format:"dd/MM/yyyy",v:e.v.date},model:{value:e.date,callback:function(t){e.date=t},expression:"date"}})],1),e._v(" "),e.date?n("div",[n("Label",{attrs:{for:e.id+"_hour"}},[e._v(e._s(e.__("Horário","iande")))]),e._v(" "),n("SlotPicker",{ref:"slots",attrs:{id:e.id+"_hour",day:e.date,v:e.v.hour},model:{value:e.hour,callback:function(t){e.hour=t},expression:"hour"}}),e._v(" "),e.availability?n("div",{staticClass:"iande-form-message",class:{"-error":0===e.availability.visitors}},[e._v("\n                "+e._s(e.sprintf(e.__("Total de vagas disponíveis: %s","iande"),e.availability.visitors))+"\n            ")]):e._e()],1):e._e()]:e._e()],2)}),[],!1,null,null,null).exports;var ne=n(8910),re=n(2050);function ie(e){return function(e){if(Array.isArray(e))return ae(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return ae(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ae(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ae(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}const oe={name:"GroupsDate",components:{FormError:a.Z,GroupDate:te,Repeater:ne.Z},computed:{exhibition:(0,i.U2)("appointments/exhibition"),groups:(0,i.Z_)("appointments/current@groups"),numPeople:(0,i.U2)("appointments/current@num_people")},validations:{groups:{minGroups:(0,r.Ei)(1),$each:{date:{required:r.C1,date:re.hT},hour:{required:r.C1,time:re.XV},name:{required:r.C1}}}},created:function(){if(0===this.groups.length){var e,t=null!==(e=this.exhibition)&&void 0!==e&&e.group_size?Number(this.exhibition.group_size):100,n=Math.ceil(this.numPeople/t);this.groups=ie(new Array(n)).map(this.newGroup)}},methods:{newGroup:function(){return{age_range:"",date:null,disabilities:[],hour:null,languages:[],name:"",num_people:5,num_responsible:1,scholarity:""}}}};const se=(0,q.Z)(oe,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("article",{staticClass:"iande-stack stack-lg"},[n("h1",[e._v(e._s(e.__("Reserve dia e horário","iande")))]),e._v(" "),n("Repeater",{staticClass:"iande-groups",attrs:{id:"groups",factory:e.newGroup,resizable:!1,v:e.$v.groups},scopedSlots:e._u([{key:"item",fn:function(e){var t=e.id,r=e.onUpdate,i=e.v,a=e.value;return[n("GroupDate",{key:t,attrs:{id:t,value:a,v:i},on:{updateValue:r}})]}}]),model:{value:e.groups,callback:function(t){e.groups=t},expression:"groups"}}),e._v(" "),e.$v.groups.$error?n("FormError",{attrs:{id:"groups__error",v:e.$v.groups}}):e._e()],1)}),[],!1,null,null,null).exports},6571:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function i(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(Object(n),!0).forEach((function(t){a(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const o={name:"Input",mixins:[n(1234).Z],inheritAttrs:!1,computed:{inputAttrs:function(){return i(i({},this.$attrs),{},{"aria-describedby":this.errorId,class:["iande-input",this.fieldClass,this.v.$error&&"invalid"],id:this.id,name:this.id})}}};const s=(0,n(1900).Z)(o,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"iande-field"},["checkbox"===e.inputAttrs.type?n("input",e._b({directives:[{name:"model",rawName:"v-model",value:e.modelValue,expression:"modelValue"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.modelValue)?e._i(e.modelValue,null)>-1:e.modelValue},on:{change:function(t){var n=e.modelValue,r=t.target,i=!!r.checked;if(Array.isArray(n)){var a=e._i(n,null);r.checked?a<0&&(e.modelValue=n.concat([null])):a>-1&&(e.modelValue=n.slice(0,a).concat(n.slice(a+1)))}else e.modelValue=i}}},"input",e.inputAttrs,!1)):"radio"===e.inputAttrs.type?n("input",e._b({directives:[{name:"model",rawName:"v-model",value:e.modelValue,expression:"modelValue"}],attrs:{type:"radio"},domProps:{checked:e._q(e.modelValue,null)},on:{change:function(t){e.modelValue=null}}},"input",e.inputAttrs,!1)):n("input",e._b({directives:[{name:"model",rawName:"v-model",value:e.modelValue,expression:"modelValue"}],attrs:{type:e.inputAttrs.type},domProps:{value:e.modelValue},on:{input:function(t){t.target.composing||(e.modelValue=t.target.value)}}},"input",e.inputAttrs,!1)),e._v(" "),e.v.$error?n("FormError",{attrs:{id:e.errorId,v:e.v}}):e._e()],1)}),[],!1,null,null,null).exports},6229:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var r=n(8806),i=n(1338);const a=(0,n(1900).Z)(i.Z,r.s,r.x,!1,null,null,null).exports},8910:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function i(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(Object(n),!0).forEach((function(t){a(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e){return function(e){if(Array.isArray(e))return s(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return s(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return s(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}const u={name:"Repeater",mixins:[n(1234).Z],props:{factory:{type:Function,required:!0},resizable:{type:Boolean,default:!0}},watch:{modelValue:{handler:function(){0===this.modelValue.length&&(this.modelValue=[this.factory()])},immediate:!0}},methods:{addItem:function(){this.modelValue=[].concat(o(this.modelValue),[this.factory()])},removeItem:function(e){var t=this.modelValue.slice();this.modelValue=[].concat(o(t.slice(0,e)),o(t.slice(e+1))).map((function(e,t){return null!=e.id?i(i({},e),{},{id:t+1}):e}))},updateItem:function(e){var t=this;return function(n){var r=t.modelValue.slice();r[e]=n,t.modelValue=r}}}};const l=(0,n(1900).Z)(u,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"iande-field iande-stack stack-lg"},[e._l(e.value,(function(t,r){return n("div",{key:r,staticClass:"iande-repetition",class:e.fieldClass},[e.resizable&&e.value.length>1?n("div",{staticClass:"iande-repetition__remove",attrs:{"aria-label":e.__("Remover item","iande"),role:"button",tabindex:"0"},on:{click:function(t){return e.removeItem(r)}}},[n("Icon",{attrs:{icon:"xmark"}})],1):e._e(),e._v(" "),e._t("item",null,{id:e.id+"_"+r,onUpdate:e.updateItem(r),value:t,v:e.v.$each[r]})],2)})),e._v(" "),e.resizable?e._t("addItem",null,{action:e.addItem}):e._e()],2)}),[],!1,null,null,null).exports},8461:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(1234),i=n(424);const a={name:"Select",mixins:[r.Z],props:{options:{type:[Array,Object],required:!0},placeholder:{type:String,default:(0,i.__)("Selecione uma das opções","iande")}},computed:{classes:function(){return["iande-input",this.fieldClass,this.v.$error&&"invalid"]},normalizedOptions:function(){return Array.isArray(this.options)?Object.fromEntries(this.options.map((function(e){return[e,e]}))):this.options},nullValue:function(){return this.value||null===this.value?null:this.value},optionsLength:function(){return Array.isArray(this.options)?this.options.length:Object.keys(this.options).length}}};const o=(0,n(1900).Z)(a,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"iande-field"},[n("select",{directives:[{name:"model",rawName:"v-model",value:e.modelValue,expression:"modelValue"}],class:e.classes,attrs:{id:e.id,"aria-describedby":e.errorId},on:{change:function(t){var n=Array.prototype.filter.call(t.target.options,(function(e){return e.selected})).map((function(e){return"_value"in e?e._value:e.value}));e.modelValue=t.target.multiple?n:n[0]}}},[e.value===e.nullValue?n("option",{attrs:{disabled:""},domProps:{value:e.nullValue}},[e._v(e._s(e.placeholder))]):e._e(),e._v(" "),e._l(e.normalizedOptions,(function(t,r){return n("option",{key:r,domProps:{value:t}},[e._v("\n            "+e._s(e.__(r,"iande"))+"\n        ")])}))],2),e._v(" "),e.v.$error?n("FormError",{attrs:{id:e.errorId,v:e.v}}):e._e()],1)}),[],!1,null,null,null).exports},1338:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});const r=n(7750).Z},8806:(e,t,n)=>{"use strict";n.d(t,{s:()=>r,x:()=>i});var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("label",{staticClass:"iande-label"},[e._t("default"),e.side?n("span",{staticClass:"iande-label__optional"},[e._v(e._s(e.side))]):e._e()],2)},i=[]},6408:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=(0,n(6681).regex)("alpha",/^[a-zA-Z]*$/);t.default=r},6195:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=(0,n(6681).regex)("alphaNum",/^[a-zA-Z0-9]*$/);t.default=r},5573:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(6681);t.default=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return(0,r.withParams)({type:"and"},(function(){for(var e=this,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return t.length>0&&t.reduce((function(t,n){return t&&n.apply(e,r)}),!0)}))}},7884:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(6681);t.default=function(e,t){return(0,r.withParams)({type:"between",min:e,max:t},(function(n){return!(0,r.req)(n)||(!/\s/.test(n)||n instanceof Date)&&+e<=+n&&+t>=+n}))}},6681:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.req=t.regex=t.ref=t.len=void 0,Object.defineProperty(t,"withParams",{enumerable:!0,get:function(){return i.default}});var r,i=(r=n(8085))&&r.__esModule?r:{default:r};function a(e){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}var o=function(e){if(Array.isArray(e))return!!e.length;if(null==e)return!1;if(!1===e)return!0;if(e instanceof Date)return!isNaN(e.getTime());if("object"===a(e)){for(var t in e)return!0;return!1}return!!String(e).length};t.req=o;t.len=function(e){return Array.isArray(e)?e.length:"object"===a(e)?Object.keys(e).length:String(e).length};t.ref=function(e,t,n){return"function"==typeof e?e.call(t,n):n[e]};t.regex=function(e,t){return(0,i.default)({type:e},(function(e){return!o(e)||t.test(e)}))}},4078:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=(0,n(6681).regex)("decimal",/^[-]?\d*(\.\d+)?$/);t.default=r},8107:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=(0,n(6681).regex)("email",/^(?:[A-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[A-z0-9!#$%&'*+/=?^_`{|}~-]+)*|"(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21\x23-\x5b\x5d-\x7f]|[\x01-\x09\x0b\x0c\x0e-\x7f])*")@(?:(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9]{2,}(?:[a-z0-9-]*[a-z0-9])?|\[(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?|[a-z0-9-]*[a-z0-9]:(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21-\x5a\x53-\x7f]|\\[\x01-\x09\x0b\x0c\x0e-\x7f])+)\])$/i);t.default=r},379:(e,t,n)=>{"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}Object.defineProperty(t,"Do",{enumerable:!0,get:function(){return u.default}}),t.BM=void 0,Object.defineProperty(t,"_L",{enumerable:!0,get:function(){return k.default}}),Object.defineProperty(t,"BS",{enumerable:!0,get:function(){return d.default}}),Object.defineProperty(t,"PW",{enumerable:!0,get:function(){return _.default}}),Object.defineProperty(t,"Ei",{enumerable:!0,get:function(){return h.default}}),Object.defineProperty(t,"uv",{enumerable:!0,get:function(){return D.default}}),Object.defineProperty(t,"uR",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"C1",{enumerable:!0,get:function(){return f.default}}),Object.defineProperty(t,"CF",{enumerable:!0,get:function(){return m.default}}),Object.defineProperty(t,"Nf",{enumerable:!0,get:function(){return p.default}}),Object.defineProperty(t,"sH",{enumerable:!0,get:function(){return v.default}});var i=O(n(6408)),a=O(n(6195)),o=O(n(5669)),s=O(n(7884)),u=O(n(8107)),l=O(n(9103)),c=O(n(7340)),d=O(n(5287)),h=O(n(3091)),f=O(n(2419)),m=O(n(2941)),p=O(n(8300)),v=O(n(918)),y=O(n(3213)),g=O(n(5832)),b=O(n(5573)),w=O(n(2500)),D=O(n(2628)),_=O(n(301)),k=O(n(6673)),A=O(n(4078)),S=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!=typeof e)return{default:e};var n=C(t);if(n&&n.has(e))return n.get(e);var i={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var s=a?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(i,o,s):i[o]=e[o]}i.default=e,n&&n.set(e,i);return i}(n(6681));function C(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(C=function(e){return e?n:t})(e)}function O(e){return e&&e.__esModule?e:{default:e}}t.BM=S},6673:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=(0,n(6681).regex)("integer",/(^[0-9]*$)|(^-[0-9]+$)/);t.default=r},9103:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(6681),i=(0,r.withParams)({type:"ipAddress"},(function(e){if(!(0,r.req)(e))return!0;if("string"!=typeof e)return!1;var t=e.split(".");return 4===t.length&&t.every(a)}));t.default=i;var a=function(e){if(e.length>3||0===e.length)return!1;if("0"===e[0]&&"0"!==e)return!1;if(!e.match(/^\d+$/))return!1;var t=0|+e;return t>=0&&t<=255}},7340:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(6681);t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:":";return(0,r.withParams)({type:"macAddress"},(function(t){if(!(0,r.req)(t))return!0;if("string"!=typeof t)return!1;var n="string"==typeof e&&""!==e?t.split(e):12===t.length||16===t.length?t.match(/.{2}/g):null;return null!==n&&(6===n.length||8===n.length)&&n.every(i)}))};var i=function(e){return e.toLowerCase().match(/^[0-9a-f]{2}$/)}},5287:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(6681);t.default=function(e){return(0,r.withParams)({type:"maxLength",max:e},(function(t){return!(0,r.req)(t)||(0,r.len)(t)<=e}))}},301:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(6681);t.default=function(e){return(0,r.withParams)({type:"maxValue",max:e},(function(t){return!(0,r.req)(t)||(!/\s/.test(t)||t instanceof Date)&&+t<=+e}))}},3091:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(6681);t.default=function(e){return(0,r.withParams)({type:"minLength",min:e},(function(t){return!(0,r.req)(t)||(0,r.len)(t)>=e}))}},2628:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(6681);t.default=function(e){return(0,r.withParams)({type:"minValue",min:e},(function(t){return!(0,r.req)(t)||(!/\s/.test(t)||t instanceof Date)&&+t>=+e}))}},2500:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(6681);t.default=function(e){return(0,r.withParams)({type:"not"},(function(t,n){return!(0,r.req)(t)||!e.call(this,t,n)}))}},5669:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=(0,n(6681).regex)("numeric",/^[0-9]*$/);t.default=r},5832:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(6681);t.default=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return(0,r.withParams)({type:"or"},(function(){for(var e=this,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return t.length>0&&t.reduce((function(t,n){return t||n.apply(e,r)}),!1)}))}},2419:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(6681),i=(0,r.withParams)({type:"required"},(function(e){return"string"==typeof e?(0,r.req)(e.trim()):(0,r.req)(e)}));t.default=i},2941:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(6681);t.default=function(e){return(0,r.withParams)({type:"requiredIf",prop:e},(function(t,n){return!(0,r.ref)(e,this,n)||(0,r.req)(t)}))}},8300:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(6681);t.default=function(e){return(0,r.withParams)({type:"requiredUnless",prop:e},(function(t,n){return!!(0,r.ref)(e,this,n)||(0,r.req)(t)}))}},918:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(6681);t.default=function(e){return(0,r.withParams)({type:"sameAs",eq:e},(function(t,n){return t===(0,r.ref)(e,this,n)}))}},3213:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=(0,n(6681).regex)("url",/^(?:(?:(?:https?|ftp):)?\/\/)(?:\S+(?::\S*)?@)?(?:(?!(?:10|127)(?:\.\d{1,3}){3})(?!(?:169\.254|192\.168)(?:\.\d{1,3}){2})(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-z0-9\u00a1-\uffff][a-z0-9\u00a1-\uffff_-]{0,62})?[a-z0-9\u00a1-\uffff]\.)+(?:[a-z\u00a1-\uffff]{2,}\.?))(?::\d{2,5})?(?:[/?#]\S*)?$/i);t.default=r},8085:(e,t,n)=>{"use strict";var r=n(4155);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i="web"===r.env.BUILD?n(16).R:n(8413).withParams;t.default=i},16:(e,t,n)=>{"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}t.R=void 0;var i="undefined"!=typeof window?window:void 0!==n.g?n.g:{},a=i.vuelidate?i.vuelidate.withParams:function(e,t){return"object"===r(e)&&void 0!==t?t:e((function(){}))};t.R=a}}]);
  • iande/trunk/dist/select-exhibition-step.js

    r2698000 r2715435  
    1 (self.webpackChunkiande_plugin=self.webpackChunkiande_plugin||[]).push([[736],{7750:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});const r={name:"Label",props:{for:{type:String,required:!0},side:{type:String,default:""}}}},1234:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});const r={components:{FormError:n(1968).Z},model:{prop:"value",event:"updateValue"},props:{fieldClass:{type:String,default:null},id:{type:String,required:!0},v:{type:Object,required:!0},value:{type:null,required:!0}},computed:{errorId:function(){return"".concat(this.id,"__error")},modelValue:{get:function(){return this.value},set:function(e){this.$emit("updateValue",e)}}}}},2050:(e,t,n)=>{"use strict";n.d(t,{XV:()=>f,hT:()=>u,k:()=>s,m7:()=>l,s3:()=>a,x$:()=>o});var r=n(9490),i=n(379),o=i.BM.regex("cep",/^\d{8}$/),a=i.BM.regex("cnpj",/^\d{14}$/);function u(e){return!e||"string"==typeof e&&r.ou.fromISO(e).isValid}function s(e){return!e}var l=i.BM.regex("phone",/^\d{10,11}$/),c=/^([01][0-9]|2[0-3]):[0-5][0-9]$/;function f(e){return!e||"string"==typeof e&&Boolean(e.match(c))}},9490:(e,t)=>{"use strict";function n(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function r(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}function i(){return i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i.apply(this,arguments)}function o(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,u(e,t)}function a(e){return a=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},a(e)}function u(e,t){return u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},u(e,t)}function s(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function l(e,t,n){return l=s()?Reflect.construct:function(e,t,n){var r=[null];r.push.apply(r,t);var i=new(Function.bind.apply(e,r));return n&&u(i,n.prototype),i},l.apply(null,arguments)}function c(e){var t="function"==typeof Map?new Map:void 0;return c=function(e){if(null===e||(n=e,-1===Function.toString.call(n).indexOf("[native code]")))return e;var n;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,r)}function r(){return l(e,arguments,a(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),u(r,e)},c(e)}function f(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}function d(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function h(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return d(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?d(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var m=function(e){function t(){return e.apply(this,arguments)||this}return o(t,e),t}(c(Error)),v=function(e){function t(t){return e.call(this,"Invalid DateTime: "+t.toMessage())||this}return o(t,e),t}(m),y=function(e){function t(t){return e.call(this,"Invalid Interval: "+t.toMessage())||this}return o(t,e),t}(m),p=function(e){function t(t){return e.call(this,"Invalid Duration: "+t.toMessage())||this}return o(t,e),t}(m),g=function(e){function t(){return e.apply(this,arguments)||this}return o(t,e),t}(m),b=function(e){function t(t){return e.call(this,"Invalid unit "+t)||this}return o(t,e),t}(m),w=function(e){function t(){return e.apply(this,arguments)||this}return o(t,e),t}(m),k=function(e){function t(){return e.call(this,"Zone is an abstract class")||this}return o(t,e),t}(m),O="numeric",_="short",S="long",T={year:O,month:O,day:O},x={year:O,month:_,day:O},M={year:O,month:_,day:O,weekday:_},N={year:O,month:S,day:O},D={year:O,month:S,day:O,weekday:S},V={hour:O,minute:O},E={hour:O,minute:O,second:O},I={hour:O,minute:O,second:O,timeZoneName:_},j={hour:O,minute:O,second:O,timeZoneName:S},P={hour:O,minute:O,hourCycle:"h23"},C={hour:O,minute:O,second:O,hourCycle:"h23"},L={hour:O,minute:O,second:O,hourCycle:"h23",timeZoneName:_},A={hour:O,minute:O,second:O,hourCycle:"h23",timeZoneName:S},Z={year:O,month:O,day:O,hour:O,minute:O},F={year:O,month:O,day:O,hour:O,minute:O,second:O},q={year:O,month:_,day:O,hour:O,minute:O},z={year:O,month:_,day:O,hour:O,minute:O,second:O},U={year:O,month:_,day:O,weekday:_,hour:O,minute:O},$={year:O,month:S,day:O,hour:O,minute:O,timeZoneName:_},R={year:O,month:S,day:O,hour:O,minute:O,second:O,timeZoneName:_},W={year:O,month:S,day:O,weekday:S,hour:O,minute:O,timeZoneName:S},H={year:O,month:S,day:O,weekday:S,hour:O,minute:O,second:O,timeZoneName:S};function J(e){return void 0===e}function Y(e){return"number"==typeof e}function G(e){return"number"==typeof e&&e%1==0}function B(){try{return"undefined"!=typeof Intl&&!!Intl.RelativeTimeFormat}catch(e){return!1}}function Q(e,t,n){if(0!==e.length)return e.reduce((function(e,r){var i=[t(r),r];return e&&n(e[0],i[0])===e[0]?e:i}),null)[1]}function X(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function K(e,t,n){return G(e)&&e>=t&&e<=n}function ee(e,t){return void 0===t&&(t=2),e<0?"-"+(""+-e).padStart(t,"0"):(""+e).padStart(t,"0")}function te(e){return J(e)||null===e||""===e?void 0:parseInt(e,10)}function ne(e){return J(e)||null===e||""===e?void 0:parseFloat(e)}function re(e){if(!J(e)&&null!==e&&""!==e){var t=1e3*parseFloat("0."+e);return Math.floor(t)}}function ie(e,t,n){void 0===n&&(n=!1);var r=Math.pow(10,t);return(n?Math.trunc:Math.round)(e*r)/r}function oe(e){return e%4==0&&(e%100!=0||e%400==0)}function ae(e){return oe(e)?366:365}function ue(e,t){var n=function(e,t){return e-t*Math.floor(e/t)}(t-1,12)+1;return 2===n?oe(e+(t-n)/12)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][n-1]}function se(e){var t=Date.UTC(e.year,e.month-1,e.day,e.hour,e.minute,e.second,e.millisecond);return e.year<100&&e.year>=0&&(t=new Date(t)).setUTCFullYear(t.getUTCFullYear()-1900),+t}function le(e){var t=(e+Math.floor(e/4)-Math.floor(e/100)+Math.floor(e/400))%7,n=e-1,r=(n+Math.floor(n/4)-Math.floor(n/100)+Math.floor(n/400))%7;return 4===t||3===r?53:52}function ce(e){return e>99?e:e>60?1900+e:2e3+e}function fe(e,t,n,r){void 0===r&&(r=null);var o=new Date(e),a={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};r&&(a.timeZone=r);var u=i({timeZoneName:t},a),s=new Intl.DateTimeFormat(n,u).formatToParts(o).find((function(e){return"timezonename"===e.type.toLowerCase()}));return s?s.value:null}function de(e,t){var n=parseInt(e,10);Number.isNaN(n)&&(n=0);var r=parseInt(t,10)||0;return 60*n+(n<0||Object.is(n,-0)?-r:r)}function he(e){var t=Number(e);if("boolean"==typeof e||""===e||Number.isNaN(t))throw new w("Invalid unit value "+e);return t}function me(e,t){var n={};for(var r in e)if(X(e,r)){var i=e[r];if(null==i)continue;n[t(r)]=he(i)}return n}function ve(e,t){var n=Math.trunc(Math.abs(e/60)),r=Math.trunc(Math.abs(e%60)),i=e>=0?"+":"-";switch(t){case"short":return""+i+ee(n,2)+":"+ee(r,2);case"narrow":return""+i+n+(r>0?":"+r:"");case"techie":return""+i+ee(n,2)+ee(r,2);default:throw new RangeError("Value format "+t+" is out of range for property format")}}function ye(e){return function(e,t){return t.reduce((function(t,n){return t[n]=e[n],t}),{})}(e,["hour","minute","second","millisecond"])}var pe=/[A-Za-z_+-]{1,256}(:?\/[A-Za-z0-9_+-]{1,256}(\/[A-Za-z0-9_+-]{1,256})?)?/,ge=["January","February","March","April","May","June","July","August","September","October","November","December"],be=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],we=["J","F","M","A","M","J","J","A","S","O","N","D"];function ke(e){switch(e){case"narrow":return[].concat(we);case"short":return[].concat(be);case"long":return[].concat(ge);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}}var Oe=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],_e=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],Se=["M","T","W","T","F","S","S"];function Te(e){switch(e){case"narrow":return[].concat(Se);case"short":return[].concat(_e);case"long":return[].concat(Oe);case"numeric":return["1","2","3","4","5","6","7"];default:return null}}var xe=["AM","PM"],Me=["Before Christ","Anno Domini"],Ne=["BC","AD"],De=["B","A"];function Ve(e){switch(e){case"narrow":return[].concat(De);case"short":return[].concat(Ne);case"long":return[].concat(Me);default:return null}}function Ee(e,t){for(var n,r="",i=h(e);!(n=i()).done;){var o=n.value;o.literal?r+=o.val:r+=t(o.val)}return r}var Ie={D:T,DD:x,DDD:N,DDDD:D,t:V,tt:E,ttt:I,tttt:j,T:P,TT:C,TTT:L,TTTT:A,f:Z,ff:q,fff:$,ffff:W,F,FF:z,FFF:R,FFFF:H},je=function(){function e(e,t){this.opts=t,this.loc=e,this.systemLoc=null}e.create=function(t,n){return void 0===n&&(n={}),new e(t,n)},e.parseFormat=function(e){for(var t=null,n="",r=!1,i=[],o=0;o<e.length;o++){var a=e.charAt(o);"'"===a?(n.length>0&&i.push({literal:r,val:n}),t=null,n="",r=!r):r||a===t?n+=a:(n.length>0&&i.push({literal:!1,val:n}),n=a,t=a)}return n.length>0&&i.push({literal:r,val:n}),i},e.macroTokenToFormatOpts=function(e){return Ie[e]};var t=e.prototype;return t.formatWithSystemDefault=function(e,t){return null===this.systemLoc&&(this.systemLoc=this.loc.redefaultToSystem()),this.systemLoc.dtFormatter(e,i({},this.opts,t)).format()},t.formatDateTime=function(e,t){return void 0===t&&(t={}),this.loc.dtFormatter(e,i({},this.opts,t)).format()},t.formatDateTimeParts=function(e,t){return void 0===t&&(t={}),this.loc.dtFormatter(e,i({},this.opts,t)).formatToParts()},t.resolvedOptions=function(e,t){return void 0===t&&(t={}),this.loc.dtFormatter(e,i({},this.opts,t)).resolvedOptions()},t.num=function(e,t){if(void 0===t&&(t=0),this.opts.forceSimple)return ee(e,t);var n=i({},this.opts);return t>0&&(n.padTo=t),this.loc.numberFormatter(n).format(e)},t.formatDateTimeFromString=function(t,n){var r=this,i="en"===this.loc.listingMode(),o=this.loc.outputCalendar&&"gregory"!==this.loc.outputCalendar,a=function(e,n){return r.loc.extract(t,e,n)},u=function(e){return t.isOffsetFixed&&0===t.offset&&e.allowZ?"Z":t.isValid?t.zone.formatOffset(t.ts,e.format):""},s=function(){return i?function(e){return xe[e.hour<12?0:1]}(t):a({hour:"numeric",hourCycle:"h12"},"dayperiod")},l=function(e,n){return i?function(e,t){return ke(t)[e.month-1]}(t,e):a(n?{month:e}:{month:e,day:"numeric"},"month")},c=function(e,n){return i?function(e,t){return Te(t)[e.weekday-1]}(t,e):a(n?{weekday:e}:{weekday:e,month:"long",day:"numeric"},"weekday")},f=function(e){return i?function(e,t){return Ve(t)[e.year<0?0:1]}(t,e):a({era:e},"era")};return Ee(e.parseFormat(n),(function(n){switch(n){case"S":return r.num(t.millisecond);case"u":case"SSS":return r.num(t.millisecond,3);case"s":return r.num(t.second);case"ss":return r.num(t.second,2);case"uu":return r.num(Math.floor(t.millisecond/10),2);case"uuu":return r.num(Math.floor(t.millisecond/100));case"m":return r.num(t.minute);case"mm":return r.num(t.minute,2);case"h":return r.num(t.hour%12==0?12:t.hour%12);case"hh":return r.num(t.hour%12==0?12:t.hour%12,2);case"H":return r.num(t.hour);case"HH":return r.num(t.hour,2);case"Z":return u({format:"narrow",allowZ:r.opts.allowZ});case"ZZ":return u({format:"short",allowZ:r.opts.allowZ});case"ZZZ":return u({format:"techie",allowZ:r.opts.allowZ});case"ZZZZ":return t.zone.offsetName(t.ts,{format:"short",locale:r.loc.locale});case"ZZZZZ":return t.zone.offsetName(t.ts,{format:"long",locale:r.loc.locale});case"z":return t.zoneName;case"a":return s();case"d":return o?a({day:"numeric"},"day"):r.num(t.day);case"dd":return o?a({day:"2-digit"},"day"):r.num(t.day,2);case"c":case"E":return r.num(t.weekday);case"ccc":return c("short",!0);case"cccc":return c("long",!0);case"ccccc":return c("narrow",!0);case"EEE":return c("short",!1);case"EEEE":return c("long",!1);case"EEEEE":return c("narrow",!1);case"L":return o?a({month:"numeric",day:"numeric"},"month"):r.num(t.month);case"LL":return o?a({month:"2-digit",day:"numeric"},"month"):r.num(t.month,2);case"LLL":return l("short",!0);case"LLLL":return l("long",!0);case"LLLLL":return l("narrow",!0);case"M":return o?a({month:"numeric"},"month"):r.num(t.month);case"MM":return o?a({month:"2-digit"},"month"):r.num(t.month,2);case"MMM":return l("short",!1);case"MMMM":return l("long",!1);case"MMMMM":return l("narrow",!1);case"y":return o?a({year:"numeric"},"year"):r.num(t.year);case"yy":return o?a({year:"2-digit"},"year"):r.num(t.year.toString().slice(-2),2);case"yyyy":return o?a({year:"numeric"},"year"):r.num(t.year,4);case"yyyyyy":return o?a({year:"numeric"},"year"):r.num(t.year,6);case"G":return f("short");case"GG":return f("long");case"GGGGG":return f("narrow");case"kk":return r.num(t.weekYear.toString().slice(-2),2);case"kkkk":return r.num(t.weekYear,4);case"W":return r.num(t.weekNumber);case"WW":return r.num(t.weekNumber,2);case"o":return r.num(t.ordinal);case"ooo":return r.num(t.ordinal,3);case"q":return r.num(t.quarter);case"qq":return r.num(t.quarter,2);case"X":return r.num(Math.floor(t.ts/1e3));case"x":return r.num(t.ts);default:return function(n){var i=e.macroTokenToFormatOpts(n);return i?r.formatWithSystemDefault(t,i):n}(n)}}))},t.formatDurationFromString=function(t,n){var r,i=this,o=function(e){switch(e[0]){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":return"hour";case"d":return"day";case"M":return"month";case"y":return"year";default:return null}},a=e.parseFormat(n),u=a.reduce((function(e,t){var n=t.literal,r=t.val;return n?e:e.concat(r)}),[]),s=t.shiftTo.apply(t,u.map(o).filter((function(e){return e})));return Ee(a,(r=s,function(e){var t=o(e);return t?i.num(r.get(t),e.length):e}))},e}(),Pe=function(){function e(e,t){this.reason=e,this.explanation=t}return e.prototype.toMessage=function(){return this.explanation?this.reason+": "+this.explanation:this.reason},e}(),Ce=function(){function e(){}var t=e.prototype;return t.offsetName=function(e,t){throw new k},t.formatOffset=function(e,t){throw new k},t.offset=function(e){throw new k},t.equals=function(e){throw new k},r(e,[{key:"type",get:function(){throw new k}},{key:"name",get:function(){throw new k}},{key:"isUniversal",get:function(){throw new k}},{key:"isValid",get:function(){throw new k}}]),e}(),Le=null,Ae=function(e){function t(){return e.apply(this,arguments)||this}o(t,e);var n=t.prototype;return n.offsetName=function(e,t){return fe(e,t.format,t.locale)},n.formatOffset=function(e,t){return ve(this.offset(e),t)},n.offset=function(e){return-new Date(e).getTimezoneOffset()},n.equals=function(e){return"system"===e.type},r(t,[{key:"type",get:function(){return"system"}},{key:"name",get:function(){return(new Intl.DateTimeFormat).resolvedOptions().timeZone}},{key:"isUniversal",get:function(){return!1}},{key:"isValid",get:function(){return!0}}],[{key:"instance",get:function(){return null===Le&&(Le=new t),Le}}]),t}(Ce);RegExp("^"+pe.source+"$");var Ze={};var Fe={year:0,month:1,day:2,hour:3,minute:4,second:5};var qe={},ze=function(e){function t(n){var r;return(r=e.call(this)||this).zoneName=n,r.valid=t.isValidZone(n),r}o(t,e),t.create=function(e){return qe[e]||(qe[e]=new t(e)),qe[e]},t.resetCache=function(){qe={},Ze={}},t.isValidSpecifier=function(e){return this.isValidZone(e)},t.isValidZone=function(e){if(!e)return!1;try{return new Intl.DateTimeFormat("en-US",{timeZone:e}).format(),!0}catch(e){return!1}};var n=t.prototype;return n.offsetName=function(e,t){return fe(e,t.format,t.locale,this.name)},n.formatOffset=function(e,t){return ve(this.offset(e),t)},n.offset=function(e){var t=new Date(e);if(isNaN(t))return NaN;var n,r=(n=this.name,Ze[n]||(Ze[n]=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:n,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"})),Ze[n]),i=r.formatToParts?function(e,t){for(var n=e.formatToParts(t),r=[],i=0;i<n.length;i++){var o=n[i],a=o.type,u=o.value,s=Fe[a];J(s)||(r[s]=parseInt(u,10))}return r}(r,t):function(e,t){var n=e.format(t).replace(/\u200E/g,""),r=/(\d+)\/(\d+)\/(\d+),? (\d+):(\d+):(\d+)/.exec(n),i=r[1],o=r[2];return[r[3],i,o,r[4],r[5],r[6]]}(r,t),o=i[0],a=i[1],u=i[2],s=i[3],l=+t,c=l%1e3;return(se({year:o,month:a,day:u,hour:24===s?0:s,minute:i[4],second:i[5],millisecond:0})-(l-=c>=0?c:1e3+c))/6e4},n.equals=function(e){return"iana"===e.type&&e.name===this.name},r(t,[{key:"type",get:function(){return"iana"}},{key:"name",get:function(){return this.zoneName}},{key:"isUniversal",get:function(){return!1}},{key:"isValid",get:function(){return this.valid}}]),t}(Ce),Ue=null,$e=function(e){function t(t){var n;return(n=e.call(this)||this).fixed=t,n}o(t,e),t.instance=function(e){return 0===e?t.utcInstance:new t(e)},t.parseSpecifier=function(e){if(e){var n=e.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(n)return new t(de(n[1],n[2]))}return null};var n=t.prototype;return n.offsetName=function(){return this.name},n.formatOffset=function(e,t){return ve(this.fixed,t)},n.offset=function(){return this.fixed},n.equals=function(e){return"fixed"===e.type&&e.fixed===this.fixed},r(t,[{key:"type",get:function(){return"fixed"}},{key:"name",get:function(){return 0===this.fixed?"UTC":"UTC"+ve(this.fixed,"narrow")}},{key:"isUniversal",get:function(){return!0}},{key:"isValid",get:function(){return!0}}],[{key:"utcInstance",get:function(){return null===Ue&&(Ue=new t(0)),Ue}}]),t}(Ce),Re=function(e){function t(t){var n;return(n=e.call(this)||this).zoneName=t,n}o(t,e);var n=t.prototype;return n.offsetName=function(){return null},n.formatOffset=function(){return""},n.offset=function(){return NaN},n.equals=function(){return!1},r(t,[{key:"type",get:function(){return"invalid"}},{key:"name",get:function(){return this.zoneName}},{key:"isUniversal",get:function(){return!1}},{key:"isValid",get:function(){return!1}}]),t}(Ce);function We(e,t){if(J(e)||null===e)return t;if(e instanceof Ce)return e;if("string"==typeof e){var n=e.toLowerCase();return"local"===n||"system"===n?t:"utc"===n||"gmt"===n?$e.utcInstance:$e.parseSpecifier(n)||ze.create(e)}return Y(e)?$e.instance(e):"object"==typeof e&&e.offset&&"number"==typeof e.offset?e:new Re(e)}var He,Je=function(){return Date.now()},Ye="system",Ge=null,Be=null,Qe=null,Xe=function(){function e(){}return e.resetCaches=function(){ft.resetCache(),ze.resetCache()},r(e,null,[{key:"now",get:function(){return Je},set:function(e){Je=e}},{key:"defaultZone",get:function(){return We(Ye,Ae.instance)},set:function(e){Ye=e}},{key:"defaultLocale",get:function(){return Ge},set:function(e){Ge=e}},{key:"defaultNumberingSystem",get:function(){return Be},set:function(e){Be=e}},{key:"defaultOutputCalendar",get:function(){return Qe},set:function(e){Qe=e}},{key:"throwOnInvalid",get:function(){return He},set:function(e){He=e}}]),e}(),Ke=["base"],et=["padTo","floor"],tt={};var nt={};function rt(e,t){void 0===t&&(t={});var n=JSON.stringify([e,t]),r=nt[n];return r||(r=new Intl.DateTimeFormat(e,t),nt[n]=r),r}var it={};var ot={};var at=null;function ut(e,t,n,r,i){var o=e.listingMode(n);return"error"===o?null:"en"===o?r(t):i(t)}var st=function(){function e(e,t,n){this.padTo=n.padTo||0,this.floor=n.floor||!1,n.padTo,n.floor;var r=f(n,et);if(!t||Object.keys(r).length>0){var o=i({useGrouping:!1},n);n.padTo>0&&(o.minimumIntegerDigits=n.padTo),this.inf=function(e,t){void 0===t&&(t={});var n=JSON.stringify([e,t]),r=it[n];return r||(r=new Intl.NumberFormat(e,t),it[n]=r),r}(e,o)}}return e.prototype.format=function(e){if(this.inf){var t=this.floor?Math.floor(e):e;return this.inf.format(t)}return ee(this.floor?Math.floor(e):ie(e,3),this.padTo)},e}(),lt=function(){function e(e,t,n){var r;if(this.opts=n,e.zone.isUniversal){var o=e.offset/60*-1,a=o>=0?"Etc/GMT+"+o:"Etc/GMT"+o;0!==e.offset&&ze.create(a).valid?(r=a,this.dt=e):(r="UTC",n.timeZoneName?this.dt=e:this.dt=0===e.offset?e:mr.fromMillis(e.ts+60*e.offset*1e3))}else"system"===e.zone.type?this.dt=e:(this.dt=e,r=e.zone.name);var u=i({},this.opts);r&&(u.timeZone=r),this.dtf=rt(t,u)}var t=e.prototype;return t.format=function(){return this.dtf.format(this.dt.toJSDate())},t.formatToParts=function(){return this.dtf.formatToParts(this.dt.toJSDate())},t.resolvedOptions=function(){return this.dtf.resolvedOptions()},e}(),ct=function(){function e(e,t,n){this.opts=i({style:"long"},n),!t&&B()&&(this.rtf=function(e,t){void 0===t&&(t={});var n=t;n.base;var r=f(n,Ke),i=JSON.stringify([e,r]),o=ot[i];return o||(o=new Intl.RelativeTimeFormat(e,t),ot[i]=o),o}(e,n))}var t=e.prototype;return t.format=function(e,t){return this.rtf?this.rtf.format(e,t):function(e,t,n,r){void 0===n&&(n="always"),void 0===r&&(r=!1);var i={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."]},o=-1===["hours","minutes","seconds"].indexOf(e);if("auto"===n&&o){var a="days"===e;switch(t){case 1:return a?"tomorrow":"next "+i[e][0];case-1:return a?"yesterday":"last "+i[e][0];case 0:return a?"today":"this "+i[e][0]}}var u=Object.is(t,-0)||t<0,s=Math.abs(t),l=1===s,c=i[e],f=r?l?c[1]:c[2]||c[1]:l?i[e][0]:e;return u?s+" "+f+" ago":"in "+s+" "+f}(t,e,this.opts.numeric,"long"!==this.opts.style)},t.formatToParts=function(e,t){return this.rtf?this.rtf.formatToParts(e,t):[]},e}(),ft=function(){function e(e,t,n,r){var i=function(e){var t=e.indexOf("-u-");if(-1===t)return[e];var n,r=e.substring(0,t);try{n=rt(e).resolvedOptions()}catch(e){n=rt(r).resolvedOptions()}var i=n;return[r,i.numberingSystem,i.calendar]}(e),o=i[0],a=i[1],u=i[2];this.locale=o,this.numberingSystem=t||a||null,this.outputCalendar=n||u||null,this.intl=function(e,t,n){return n||t?(e+="-u",n&&(e+="-ca-"+n),t&&(e+="-nu-"+t),e):e}(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=r,this.fastNumbersCached=null}e.fromOpts=function(t){return e.create(t.locale,t.numberingSystem,t.outputCalendar,t.defaultToEN)},e.create=function(t,n,r,i){void 0===i&&(i=!1);var o=t||Xe.defaultLocale;return new e(o||(i?"en-US":at||(at=(new Intl.DateTimeFormat).resolvedOptions().locale)),n||Xe.defaultNumberingSystem,r||Xe.defaultOutputCalendar,o)},e.resetCache=function(){at=null,nt={},it={},ot={}},e.fromObject=function(t){var n=void 0===t?{}:t,r=n.locale,i=n.numberingSystem,o=n.outputCalendar;return e.create(r,i,o)};var t=e.prototype;return t.listingMode=function(){var e=this.isEnglish(),t=!(null!==this.numberingSystem&&"latn"!==this.numberingSystem||null!==this.outputCalendar&&"gregory"!==this.outputCalendar);return e&&t?"en":"intl"},t.clone=function(t){return t&&0!==Object.getOwnPropertyNames(t).length?e.create(t.locale||this.specifiedLocale,t.numberingSystem||this.numberingSystem,t.outputCalendar||this.outputCalendar,t.defaultToEN||!1):this},t.redefaultToEN=function(e){return void 0===e&&(e={}),this.clone(i({},e,{defaultToEN:!0}))},t.redefaultToSystem=function(e){return void 0===e&&(e={}),this.clone(i({},e,{defaultToEN:!1}))},t.months=function(e,t,n){var r=this;return void 0===t&&(t=!1),void 0===n&&(n=!0),ut(this,e,n,ke,(function(){var n=t?{month:e,day:"numeric"}:{month:e},i=t?"format":"standalone";return r.monthsCache[i][e]||(r.monthsCache[i][e]=function(e){for(var t=[],n=1;n<=12;n++){var r=mr.utc(2016,n,1);t.push(e(r))}return t}((function(e){return r.extract(e,n,"month")}))),r.monthsCache[i][e]}))},t.weekdays=function(e,t,n){var r=this;return void 0===t&&(t=!1),void 0===n&&(n=!0),ut(this,e,n,Te,(function(){var n=t?{weekday:e,year:"numeric",month:"long",day:"numeric"}:{weekday:e},i=t?"format":"standalone";return r.weekdaysCache[i][e]||(r.weekdaysCache[i][e]=function(e){for(var t=[],n=1;n<=7;n++){var r=mr.utc(2016,11,13+n);t.push(e(r))}return t}((function(e){return r.extract(e,n,"weekday")}))),r.weekdaysCache[i][e]}))},t.meridiems=function(e){var t=this;return void 0===e&&(e=!0),ut(this,void 0,e,(function(){return xe}),(function(){if(!t.meridiemCache){var e={hour:"numeric",hourCycle:"h12"};t.meridiemCache=[mr.utc(2016,11,13,9),mr.utc(2016,11,13,19)].map((function(n){return t.extract(n,e,"dayperiod")}))}return t.meridiemCache}))},t.eras=function(e,t){var n=this;return void 0===t&&(t=!0),ut(this,e,t,Ve,(function(){var t={era:e};return n.eraCache[e]||(n.eraCache[e]=[mr.utc(-40,1,1),mr.utc(2017,1,1)].map((function(e){return n.extract(e,t,"era")}))),n.eraCache[e]}))},t.extract=function(e,t,n){var r=this.dtFormatter(e,t).formatToParts().find((function(e){return e.type.toLowerCase()===n}));return r?r.value:null},t.numberFormatter=function(e){return void 0===e&&(e={}),new st(this.intl,e.forceSimple||this.fastNumbers,e)},t.dtFormatter=function(e,t){return void 0===t&&(t={}),new lt(e,this.intl,t)},t.relFormatter=function(e){return void 0===e&&(e={}),new ct(this.intl,this.isEnglish(),e)},t.listFormatter=function(e){return void 0===e&&(e={}),function(e,t){void 0===t&&(t={});var n=JSON.stringify([e,t]),r=tt[n];return r||(r=new Intl.ListFormat(e,t),tt[n]=r),r}(this.intl,e)},t.isEnglish=function(){return"en"===this.locale||"en-us"===this.locale.toLowerCase()||new Intl.DateTimeFormat(this.intl).resolvedOptions().locale.startsWith("en-us")},t.equals=function(e){return this.locale===e.locale&&this.numberingSystem===e.numberingSystem&&this.outputCalendar===e.outputCalendar},r(e,[{key:"fastNumbers",get:function(){var e;return null==this.fastNumbersCached&&(this.fastNumbersCached=(!(e=this).numberingSystem||"latn"===e.numberingSystem)&&("latn"===e.numberingSystem||!e.locale||e.locale.startsWith("en")||"latn"===new Intl.DateTimeFormat(e.intl).resolvedOptions().numberingSystem)),this.fastNumbersCached}}]),e}();function dt(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=t.reduce((function(e,t){return e+t.source}),"");return RegExp("^"+r+"$")}function ht(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){return t.reduce((function(t,n){var r=t[0],o=t[1],a=t[2],u=n(e,a),s=u[0],l=u[1],c=u[2];return[i({},r,s),o||l,c]}),[{},null,1]).slice(0,2)}}function mt(e){if(null==e)return[null,null];for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];for(var i=0,o=n;i<o.length;i++){var a=o[i],u=a[0],s=a[1],l=u.exec(e);if(l)return s(l)}return[null,null]}function vt(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e,n){var r,i={};for(r=0;r<t.length;r++)i[t[r]]=te(e[n+r]);return[i,null,n+r]}}var yt=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,pt=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,gt=RegExp(""+pt.source+yt.source+"?"),bt=RegExp("(?:T"+gt.source+")?"),wt=vt("weekYear","weekNumber","weekDay"),kt=vt("year","ordinal"),Ot=RegExp(pt.source+" ?(?:"+yt.source+"|("+pe.source+"))?"),_t=RegExp("(?: "+Ot.source+")?");function St(e,t,n){var r=e[t];return J(r)?n:te(r)}function Tt(e,t){return[{year:St(e,t),month:St(e,t+1,1),day:St(e,t+2,1)},null,t+3]}function xt(e,t){return[{hours:St(e,t,0),minutes:St(e,t+1,0),seconds:St(e,t+2,0),milliseconds:re(e[t+3])},null,t+4]}function Mt(e,t){var n=!e[t]&&!e[t+1],r=de(e[t+1],e[t+2]);return[{},n?null:$e.instance(r),t+3]}function Nt(e,t){return[{},e[t]?ze.create(e[t]):null,t+1]}var Dt=RegExp("^T?"+pt.source+"$"),Vt=/^-?P(?:(?:(-?\d{1,9}(?:\.\d{1,9})?)Y)?(?:(-?\d{1,9}(?:\.\d{1,9})?)M)?(?:(-?\d{1,9}(?:\.\d{1,9})?)W)?(?:(-?\d{1,9}(?:\.\d{1,9})?)D)?(?:T(?:(-?\d{1,9}(?:\.\d{1,9})?)H)?(?:(-?\d{1,9}(?:\.\d{1,9})?)M)?(?:(-?\d{1,20})(?:[.,](-?\d{1,9}))?S)?)?)$/;function Et(e){var t=e[0],n=e[1],r=e[2],i=e[3],o=e[4],a=e[5],u=e[6],s=e[7],l=e[8],c="-"===t[0],f=s&&"-"===s[0],d=function(e,t){return void 0===t&&(t=!1),void 0!==e&&(t||e&&c)?-e:e};return[{years:d(ne(n)),months:d(ne(r)),weeks:d(ne(i)),days:d(ne(o)),hours:d(ne(a)),minutes:d(ne(u)),seconds:d(ne(s),"-0"===s),milliseconds:d(re(l),f)}]}var It={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function jt(e,t,n,r,i,o,a){var u={year:2===t.length?ce(te(t)):te(t),month:be.indexOf(n)+1,day:te(r),hour:te(i),minute:te(o)};return a&&(u.second=te(a)),e&&(u.weekday=e.length>3?Oe.indexOf(e)+1:_e.indexOf(e)+1),u}var Pt=/^(?:(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 Ct(e){var t,n=e[1],r=e[2],i=e[3],o=e[4],a=e[5],u=e[6],s=e[7],l=e[8],c=e[9],f=e[10],d=e[11],h=jt(n,o,i,r,a,u,s);return t=l?It[l]:c?0:de(f,d),[h,new $e(t)]}var Lt=/^(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$/,At=/^(Monday|Tuesday|Wedsday|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$/,Zt=/^(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 Ft(e){var t=e[1],n=e[2],r=e[3];return[jt(t,e[4],r,n,e[5],e[6],e[7]),$e.utcInstance]}function qt(e){var t=e[1],n=e[2],r=e[3],i=e[4],o=e[5],a=e[6];return[jt(t,e[7],n,r,i,o,a),$e.utcInstance]}var zt=dt(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,bt),Ut=dt(/(\d{4})-?W(\d\d)(?:-?(\d))?/,bt),$t=dt(/(\d{4})-?(\d{3})/,bt),Rt=dt(gt),Wt=ht(Tt,xt,Mt),Ht=ht(wt,xt,Mt),Jt=ht(kt,xt,Mt),Yt=ht(xt,Mt);var Gt=ht(xt);var Bt=dt(/(\d{4})-(\d\d)-(\d\d)/,_t),Qt=dt(Ot),Xt=ht(Tt,xt,Mt,Nt),Kt=ht(xt,Mt,Nt);var en={weeks:{days:7,hours:168,minutes:10080,seconds:604800,milliseconds:6048e5},days:{hours:24,minutes:1440,seconds:86400,milliseconds:864e5},hours:{minutes:60,seconds:3600,milliseconds:36e5},minutes:{seconds:60,milliseconds:6e4},seconds:{milliseconds:1e3}},tn=i({years:{quarters:4,months:12,weeks:52,days:365,hours:8760,minutes:525600,seconds:31536e3,milliseconds:31536e6},quarters:{months:3,weeks:13,days:91,hours:2184,minutes:131040,seconds:7862400,milliseconds:78624e5},months:{weeks:4,days:30,hours:720,minutes:43200,seconds:2592e3,milliseconds:2592e6}},en),nn=365.2425,rn=30.436875,on=i({years:{quarters:4,months:12,weeks:52.1775,days:nn,hours:8765.82,minutes:525949.2,seconds:525949.2*60,milliseconds:525949.2*60*1e3},quarters:{months:3,weeks:13.044375,days:91.310625,hours:2191.455,minutes:131487.3,seconds:525949.2*60/4,milliseconds:7889237999.999999},months:{weeks:4.3481250000000005,days:rn,hours:730.485,minutes:43829.1,seconds:2629746,milliseconds:2629746e3}},en),an=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],un=an.slice(0).reverse();function sn(e,t,n){void 0===n&&(n=!1);var r={values:n?t.values:i({},e.values,t.values||{}),loc:e.loc.clone(t.loc),conversionAccuracy:t.conversionAccuracy||e.conversionAccuracy};return new cn(r)}function ln(e,t,n,r,i){var o=e[i][n],a=t[n]/o,u=!(Math.sign(a)===Math.sign(r[i]))&&0!==r[i]&&Math.abs(a)<=1?function(e){return e<0?Math.floor(e):Math.ceil(e)}(a):Math.trunc(a);r[i]+=u,t[n]-=u*o}var cn=function(){function e(e){var t="longterm"===e.conversionAccuracy||!1;this.values=e.values,this.loc=e.loc||ft.create(),this.conversionAccuracy=t?"longterm":"casual",this.invalid=e.invalid||null,this.matrix=t?on:tn,this.isLuxonDuration=!0}e.fromMillis=function(t,n){return e.fromObject({milliseconds:t},n)},e.fromObject=function(t,n){if(void 0===n&&(n={}),null==t||"object"!=typeof t)throw new w("Duration.fromObject: argument expected to be an object, got "+(null===t?"null":typeof t));return new e({values:me(t,e.normalizeUnit),loc:ft.fromObject(n),conversionAccuracy:n.conversionAccuracy})},e.fromDurationLike=function(t){if(Y(t))return e.fromMillis(t);if(e.isDuration(t))return t;if("object"==typeof t)return e.fromObject(t);throw new w("Unknown duration argument "+t+" of type "+typeof t)},e.fromISO=function(t,n){var r=function(e){return mt(e,[Vt,Et])}(t),i=r[0];return i?e.fromObject(i,n):e.invalid("unparsable",'the input "'+t+"\" can't be parsed as ISO 8601")},e.fromISOTime=function(t,n){var r=function(e){return mt(e,[Dt,Gt])}(t),i=r[0];return i?e.fromObject(i,n):e.invalid("unparsable",'the input "'+t+"\" can't be parsed as ISO 8601")},e.invalid=function(t,n){if(void 0===n&&(n=null),!t)throw new w("need to specify a reason the Duration is invalid");var r=t instanceof Pe?t:new Pe(t,n);if(Xe.throwOnInvalid)throw new p(r);return new e({invalid:r})},e.normalizeUnit=function(e){var t={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():e];if(!t)throw new b(e);return t},e.isDuration=function(e){return e&&e.isLuxonDuration||!1};var t=e.prototype;return t.toFormat=function(e,t){void 0===t&&(t={});var n=i({},t,{floor:!1!==t.round&&!1!==t.floor});return this.isValid?je.create(this.loc,n).formatDurationFromString(this,e):"Invalid Duration"},t.toHuman=function(e){var t=this;void 0===e&&(e={});var n=an.map((function(n){var r=t.values[n];return J(r)?null:t.loc.numberFormatter(i({style:"unit",unitDisplay:"long"},e,{unit:n.slice(0,-1)})).format(r)})).filter((function(e){return e}));return this.loc.listFormatter(i({type:"conjunction",style:e.listStyle||"narrow"},e)).format(n)},t.toObject=function(){return this.isValid?i({},this.values):{}},t.toISO=function(){if(!this.isValid)return null;var e="P";return 0!==this.years&&(e+=this.years+"Y"),0===this.months&&0===this.quarters||(e+=this.months+3*this.quarters+"M"),0!==this.weeks&&(e+=this.weeks+"W"),0!==this.days&&(e+=this.days+"D"),0===this.hours&&0===this.minutes&&0===this.seconds&&0===this.milliseconds||(e+="T"),0!==this.hours&&(e+=this.hours+"H"),0!==this.minutes&&(e+=this.minutes+"M"),0===this.seconds&&0===this.milliseconds||(e+=ie(this.seconds+this.milliseconds/1e3,3)+"S"),"P"===e&&(e+="T0S"),e},t.toISOTime=function(e){if(void 0===e&&(e={}),!this.isValid)return null;var t=this.toMillis();if(t<0||t>=864e5)return null;e=i({suppressMilliseconds:!1,suppressSeconds:!1,includePrefix:!1,format:"extended"},e);var n=this.shiftTo("hours","minutes","seconds","milliseconds"),r="basic"===e.format?"hhmm":"hh:mm";e.suppressSeconds&&0===n.seconds&&0===n.milliseconds||(r+="basic"===e.format?"ss":":ss",e.suppressMilliseconds&&0===n.milliseconds||(r+=".SSS"));var o=n.toFormat(r);return e.includePrefix&&(o="T"+o),o},t.toJSON=function(){return this.toISO()},t.toString=function(){return this.toISO()},t.toMillis=function(){return this.as("milliseconds")},t.valueOf=function(){return this.toMillis()},t.plus=function(t){if(!this.isValid)return this;for(var n,r=e.fromDurationLike(t),i={},o=h(an);!(n=o()).done;){var a=n.value;(X(r.values,a)||X(this.values,a))&&(i[a]=r.get(a)+this.get(a))}return sn(this,{values:i},!0)},t.minus=function(t){if(!this.isValid)return this;var n=e.fromDurationLike(t);return this.plus(n.negate())},t.mapUnits=function(e){if(!this.isValid)return this;for(var t={},n=0,r=Object.keys(this.values);n<r.length;n++){var i=r[n];t[i]=he(e(this.values[i],i))}return sn(this,{values:t},!0)},t.get=function(t){return this[e.normalizeUnit(t)]},t.set=function(t){return this.isValid?sn(this,{values:i({},this.values,me(t,e.normalizeUnit))}):this},t.reconfigure=function(e){var t=void 0===e?{}:e,n=t.locale,r=t.numberingSystem,i=t.conversionAccuracy,o={loc:this.loc.clone({locale:n,numberingSystem:r})};return i&&(o.conversionAccuracy=i),sn(this,o)},t.as=function(e){return this.isValid?this.shiftTo(e).get(e):NaN},t.normalize=function(){if(!this.isValid)return this;var e=this.toObject();return function(e,t){un.reduce((function(n,r){return J(t[r])?n:(n&&ln(e,t,n,t,r),r)}),null)}(this.matrix,e),sn(this,{values:e},!0)},t.shiftTo=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];if(!this.isValid)return this;if(0===n.length)return this;n=n.map((function(t){return e.normalizeUnit(t)}));for(var i,o,a={},u={},s=this.toObject(),l=h(an);!(o=l()).done;){var c=o.value;if(n.indexOf(c)>=0){i=c;var f=0;for(var d in u)f+=this.matrix[d][c]*u[d],u[d]=0;Y(s[c])&&(f+=s[c]);var m=Math.trunc(f);for(var v in a[c]=m,u[c]=(1e3*f-1e3*m)/1e3,s)an.indexOf(v)>an.indexOf(c)&&ln(this.matrix,s,v,a,c)}else Y(s[c])&&(u[c]=s[c])}for(var y in u)0!==u[y]&&(a[i]+=y===i?u[y]:u[y]/this.matrix[i][y]);return sn(this,{values:a},!0).normalize()},t.negate=function(){if(!this.isValid)return this;for(var e={},t=0,n=Object.keys(this.values);t<n.length;t++){var r=n[t];e[r]=0===this.values[r]?0:-this.values[r]}return sn(this,{values:e},!0)},t.equals=function(e){if(!this.isValid||!e.isValid)return!1;if(!this.loc.equals(e.loc))return!1;for(var t,n=h(an);!(t=n()).done;){var r=t.value;if(i=this.values[r],o=e.values[r],!(void 0===i||0===i?void 0===o||0===o:i===o))return!1}var i,o;return!0},r(e,[{key:"locale",get:function(){return this.isValid?this.loc.locale:null}},{key:"numberingSystem",get:function(){return this.isValid?this.loc.numberingSystem:null}},{key:"years",get:function(){return this.isValid?this.values.years||0:NaN}},{key:"quarters",get:function(){return this.isValid?this.values.quarters||0:NaN}},{key:"months",get:function(){return this.isValid?this.values.months||0:NaN}},{key:"weeks",get:function(){return this.isValid?this.values.weeks||0:NaN}},{key:"days",get:function(){return this.isValid?this.values.days||0:NaN}},{key:"hours",get:function(){return this.isValid?this.values.hours||0:NaN}},{key:"minutes",get:function(){return this.isValid?this.values.minutes||0:NaN}},{key:"seconds",get:function(){return this.isValid?this.values.seconds||0:NaN}},{key:"milliseconds",get:function(){return this.isValid?this.values.milliseconds||0:NaN}},{key:"isValid",get:function(){return null===this.invalid}},{key:"invalidReason",get:function(){return this.invalid?this.invalid.reason:null}},{key:"invalidExplanation",get:function(){return this.invalid?this.invalid.explanation:null}}]),e}(),fn="Invalid Interval";function dn(e,t){return e&&e.isValid?t&&t.isValid?t<e?hn.invalid("end before start","The end of an interval must be after its start, but you had start="+e.toISO()+" and end="+t.toISO()):null:hn.invalid("missing or invalid end"):hn.invalid("missing or invalid start")}var hn=function(){function e(e){this.s=e.start,this.e=e.end,this.invalid=e.invalid||null,this.isLuxonInterval=!0}e.invalid=function(t,n){if(void 0===n&&(n=null),!t)throw new w("need to specify a reason the Interval is invalid");var r=t instanceof Pe?t:new Pe(t,n);if(Xe.throwOnInvalid)throw new y(r);return new e({invalid:r})},e.fromDateTimes=function(t,n){var r=vr(t),i=vr(n),o=dn(r,i);return null==o?new e({start:r,end:i}):o},e.after=function(t,n){var r=cn.fromDurationLike(n),i=vr(t);return e.fromDateTimes(i,i.plus(r))},e.before=function(t,n){var r=cn.fromDurationLike(n),i=vr(t);return e.fromDateTimes(i.minus(r),i)},e.fromISO=function(t,n){var r=(t||"").split("/",2),i=r[0],o=r[1];if(i&&o){var a,u,s,l;try{u=(a=mr.fromISO(i,n)).isValid}catch(o){u=!1}try{l=(s=mr.fromISO(o,n)).isValid}catch(o){l=!1}if(u&&l)return e.fromDateTimes(a,s);if(u){var c=cn.fromISO(o,n);if(c.isValid)return e.after(a,c)}else if(l){var f=cn.fromISO(i,n);if(f.isValid)return e.before(s,f)}}return e.invalid("unparsable",'the input "'+t+"\" can't be parsed as ISO 8601")},e.isInterval=function(e){return e&&e.isLuxonInterval||!1};var t=e.prototype;return t.length=function(e){return void 0===e&&(e="milliseconds"),this.isValid?this.toDuration.apply(this,[e]).get(e):NaN},t.count=function(e){if(void 0===e&&(e="milliseconds"),!this.isValid)return NaN;var t=this.start.startOf(e),n=this.end.startOf(e);return Math.floor(n.diff(t,e).get(e))+1},t.hasSame=function(e){return!!this.isValid&&(this.isEmpty()||this.e.minus(1).hasSame(this.s,e))},t.isEmpty=function(){return this.s.valueOf()===this.e.valueOf()},t.isAfter=function(e){return!!this.isValid&&this.s>e},t.isBefore=function(e){return!!this.isValid&&this.e<=e},t.contains=function(e){return!!this.isValid&&(this.s<=e&&this.e>e)},t.set=function(t){var n=void 0===t?{}:t,r=n.start,i=n.end;return this.isValid?e.fromDateTimes(r||this.s,i||this.e):this},t.splitAt=function(){var t=this;if(!this.isValid)return[];for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];for(var o=r.map(vr).filter((function(e){return t.contains(e)})).sort(),a=[],u=this.s,s=0;u<this.e;){var l=o[s]||this.e,c=+l>+this.e?this.e:l;a.push(e.fromDateTimes(u,c)),u=c,s+=1}return a},t.splitBy=function(t){var n=cn.fromDurationLike(t);if(!this.isValid||!n.isValid||0===n.as("milliseconds"))return[];for(var r,i=this.s,o=1,a=[];i<this.e;){var u=this.start.plus(n.mapUnits((function(e){return e*o})));r=+u>+this.e?this.e:u,a.push(e.fromDateTimes(i,r)),i=r,o+=1}return a},t.divideEqually=function(e){return this.isValid?this.splitBy(this.length()/e).slice(0,e):[]},t.overlaps=function(e){return this.e>e.s&&this.s<e.e},t.abutsStart=function(e){return!!this.isValid&&+this.e==+e.s},t.abutsEnd=function(e){return!!this.isValid&&+e.e==+this.s},t.engulfs=function(e){return!!this.isValid&&(this.s<=e.s&&this.e>=e.e)},t.equals=function(e){return!(!this.isValid||!e.isValid)&&(this.s.equals(e.s)&&this.e.equals(e.e))},t.intersection=function(t){if(!this.isValid)return this;var n=this.s>t.s?this.s:t.s,r=this.e<t.e?this.e:t.e;return n>=r?null:e.fromDateTimes(n,r)},t.union=function(t){if(!this.isValid)return this;var n=this.s<t.s?this.s:t.s,r=this.e>t.e?this.e:t.e;return e.fromDateTimes(n,r)},e.merge=function(e){var t=e.sort((function(e,t){return e.s-t.s})).reduce((function(e,t){var n=e[0],r=e[1];return r?r.overlaps(t)||r.abutsStart(t)?[n,r.union(t)]:[n.concat([r]),t]:[n,t]}),[[],null]),n=t[0],r=t[1];return r&&n.push(r),n},e.xor=function(t){for(var n,r,i=null,o=0,a=[],u=t.map((function(e){return[{time:e.s,type:"s"},{time:e.e,type:"e"}]})),s=h((n=Array.prototype).concat.apply(n,u).sort((function(e,t){return e.time-t.time})));!(r=s()).done;){var l=r.value;1===(o+="s"===l.type?1:-1)?i=l.time:(i&&+i!=+l.time&&a.push(e.fromDateTimes(i,l.time)),i=null)}return e.merge(a)},t.difference=function(){for(var t=this,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return e.xor([this].concat(r)).map((function(e){return t.intersection(e)})).filter((function(e){return e&&!e.isEmpty()}))},t.toString=function(){return this.isValid?"["+this.s.toISO()+" – "+this.e.toISO()+")":fn},t.toISO=function(e){return this.isValid?this.s.toISO(e)+"/"+this.e.toISO(e):fn},t.toISODate=function(){return this.isValid?this.s.toISODate()+"/"+this.e.toISODate():fn},t.toISOTime=function(e){return this.isValid?this.s.toISOTime(e)+"/"+this.e.toISOTime(e):fn},t.toFormat=function(e,t){var n=(void 0===t?{}:t).separator,r=void 0===n?" – ":n;return this.isValid?""+this.s.toFormat(e)+r+this.e.toFormat(e):fn},t.toDuration=function(e,t){return this.isValid?this.e.diff(this.s,e,t):cn.invalid(this.invalidReason)},t.mapEndpoints=function(t){return e.fromDateTimes(t(this.s),t(this.e))},r(e,[{key:"start",get:function(){return this.isValid?this.s:null}},{key:"end",get:function(){return this.isValid?this.e:null}},{key:"isValid",get:function(){return null===this.invalidReason}},{key:"invalidReason",get:function(){return this.invalid?this.invalid.reason:null}},{key:"invalidExplanation",get:function(){return this.invalid?this.invalid.explanation:null}}]),e}(),mn=function(){function e(){}return e.hasDST=function(e){void 0===e&&(e=Xe.defaultZone);var t=mr.now().setZone(e).set({month:12});return!e.isUniversal&&t.offset!==t.set({month:6}).offset},e.isValidIANAZone=function(e){return ze.isValidZone(e)},e.normalizeZone=function(e){return We(e,Xe.defaultZone)},e.months=function(e,t){void 0===e&&(e="long");var n=void 0===t?{}:t,r=n.locale,i=void 0===r?null:r,o=n.numberingSystem,a=void 0===o?null:o,u=n.locObj,s=void 0===u?null:u,l=n.outputCalendar,c=void 0===l?"gregory":l;return(s||ft.create(i,a,c)).months(e)},e.monthsFormat=function(e,t){void 0===e&&(e="long");var n=void 0===t?{}:t,r=n.locale,i=void 0===r?null:r,o=n.numberingSystem,a=void 0===o?null:o,u=n.locObj,s=void 0===u?null:u,l=n.outputCalendar,c=void 0===l?"gregory":l;return(s||ft.create(i,a,c)).months(e,!0)},e.weekdays=function(e,t){void 0===e&&(e="long");var n=void 0===t?{}:t,r=n.locale,i=void 0===r?null:r,o=n.numberingSystem,a=void 0===o?null:o,u=n.locObj;return((void 0===u?null:u)||ft.create(i,a,null)).weekdays(e)},e.weekdaysFormat=function(e,t){void 0===e&&(e="long");var n=void 0===t?{}:t,r=n.locale,i=void 0===r?null:r,o=n.numberingSystem,a=void 0===o?null:o,u=n.locObj;return((void 0===u?null:u)||ft.create(i,a,null)).weekdays(e,!0)},e.meridiems=function(e){var t=(void 0===e?{}:e).locale,n=void 0===t?null:t;return ft.create(n).meridiems()},e.eras=function(e,t){void 0===e&&(e="short");var n=(void 0===t?{}:t).locale,r=void 0===n?null:n;return ft.create(r,null,"gregory").eras(e)},e.features=function(){return{relative:B()}},e}();function vn(e,t){var n=function(e){return e.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf()},r=n(t)-n(e);return Math.floor(cn.fromMillis(r).as("days"))}function yn(e,t,n,r){var i=function(e,t,n){for(var r,i,o={},a=0,u=[["years",function(e,t){return t.year-e.year}],["quarters",function(e,t){return t.quarter-e.quarter}],["months",function(e,t){return t.month-e.month+12*(t.year-e.year)}],["weeks",function(e,t){var n=vn(e,t);return(n-n%7)/7}],["days",vn]];a<u.length;a++){var s=u[a],l=s[0],c=s[1];if(n.indexOf(l)>=0){var f;r=l;var d,h=c(e,t);(i=e.plus(((f={})[l]=h,f)))>t?(e=e.plus(((d={})[l]=h-1,d)),h-=1):e=i,o[l]=h}}return[e,o,i,r]}(e,t,n),o=i[0],a=i[1],u=i[2],s=i[3],l=t-o,c=n.filter((function(e){return["hours","minutes","seconds","milliseconds"].indexOf(e)>=0}));if(0===c.length){var f;if(u<t)u=o.plus(((f={})[s]=1,f));u!==o&&(a[s]=(a[s]||0)+l/(u-o))}var d,h=cn.fromObject(a,r);return c.length>0?(d=cn.fromMillis(l,r)).shiftTo.apply(d,c).plus(h):h}var pn={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},gn={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]},bn=pn.hanidec.replace(/[\[|\]]/g,"").split("");function wn(e,t){var n=e.numberingSystem;return void 0===t&&(t=""),new RegExp(""+pn[n||"latn"]+t)}function kn(e,t){return void 0===t&&(t=function(e){return e}),{regex:e,deser:function(e){var n=e[0];return t(function(e){var t=parseInt(e,10);if(isNaN(t)){t="";for(var n=0;n<e.length;n++){var r=e.charCodeAt(n);if(-1!==e[n].search(pn.hanidec))t+=bn.indexOf(e[n]);else for(var i in gn){var o=gn[i],a=o[0],u=o[1];r>=a&&r<=u&&(t+=r-a)}}return parseInt(t,10)}return t}(n))}}}var On="( |"+String.fromCharCode(160)+")",_n=new RegExp(On,"g");function Sn(e){return e.replace(/\./g,"\\.?").replace(_n,On)}function Tn(e){return e.replace(/\./g,"").replace(_n," ").toLowerCase()}function xn(e,t){return null===e?null:{regex:RegExp(e.map(Sn).join("|")),deser:function(n){var r=n[0];return e.findIndex((function(e){return Tn(r)===Tn(e)}))+t}}}function Mn(e,t){return{regex:e,deser:function(e){return de(e[1],e[2])},groups:t}}function Nn(e){return{regex:e,deser:function(e){return e[0]}}}var Dn={year:{"2-digit":"yy",numeric:"yyyyy"},month:{numeric:"M","2-digit":"MM",short:"MMM",long:"MMMM"},day:{numeric:"d","2-digit":"dd"},weekday:{short:"EEE",long:"EEEE"},dayperiod:"a",dayPeriod:"a",hour:{numeric:"h","2-digit":"hh"},minute:{numeric:"m","2-digit":"mm"},second:{numeric:"s","2-digit":"ss"}};var Vn=null;function En(e,t){if(e.literal)return e;var n=je.macroTokenToFormatOpts(e.val);if(!n)return e;var r=je.create(t,n).formatDateTimeParts((Vn||(Vn=mr.fromMillis(1555555555555)),Vn)).map((function(e){return function(e,t,n){var r=e.type,i=e.value;if("literal"===r)return{literal:!0,val:i};var o=n[r],a=Dn[r];return"object"==typeof a&&(a=a[o]),a?{literal:!1,val:a}:void 0}(e,0,n)}));return r.includes(void 0)?e:r}function In(e,t,n){var r=function(e,t){var n;return(n=Array.prototype).concat.apply(n,e.map((function(e){return En(e,t)})))}(je.parseFormat(n),e),i=r.map((function(t){return n=t,i=wn(r=e),o=wn(r,"{2}"),a=wn(r,"{3}"),u=wn(r,"{4}"),s=wn(r,"{6}"),l=wn(r,"{1,2}"),c=wn(r,"{1,3}"),f=wn(r,"{1,6}"),d=wn(r,"{1,9}"),h=wn(r,"{2,4}"),m=wn(r,"{4,6}"),v=function(e){return{regex:RegExp((t=e.val,t.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&"))),deser:function(e){return e[0]},literal:!0};var t},y=function(e){if(n.literal)return v(e);switch(e.val){case"G":return xn(r.eras("short",!1),0);case"GG":return xn(r.eras("long",!1),0);case"y":return kn(f);case"yy":case"kk":return kn(h,ce);case"yyyy":case"kkkk":return kn(u);case"yyyyy":return kn(m);case"yyyyyy":return kn(s);case"M":case"L":case"d":case"H":case"h":case"m":case"q":case"s":case"W":return kn(l);case"MM":case"LL":case"dd":case"HH":case"hh":case"mm":case"qq":case"ss":case"WW":return kn(o);case"MMM":return xn(r.months("short",!0,!1),1);case"MMMM":return xn(r.months("long",!0,!1),1);case"LLL":return xn(r.months("short",!1,!1),1);case"LLLL":return xn(r.months("long",!1,!1),1);case"o":case"S":return kn(c);case"ooo":case"SSS":return kn(a);case"u":return Nn(d);case"uu":return Nn(l);case"uuu":case"E":case"c":return kn(i);case"a":return xn(r.meridiems(),0);case"EEE":return xn(r.weekdays("short",!1,!1),1);case"EEEE":return xn(r.weekdays("long",!1,!1),1);case"ccc":return xn(r.weekdays("short",!0,!1),1);case"cccc":return xn(r.weekdays("long",!0,!1),1);case"Z":case"ZZ":return Mn(new RegExp("([+-]"+l.source+")(?::("+o.source+"))?"),2);case"ZZZ":return Mn(new RegExp("([+-]"+l.source+")("+o.source+")?"),2);case"z":return Nn(/[a-z_+-/]{1,256}?/i);default:return v(e)}}(n)||{invalidReason:"missing Intl.DateTimeFormat.formatToParts support"},y.token=n,y;var n,r,i,o,a,u,s,l,c,f,d,h,m,v,y})),o=i.find((function(e){return e.invalidReason}));if(o)return{input:t,tokens:r,invalidReason:o.invalidReason};var a=function(e){return["^"+e.map((function(e){return e.regex})).reduce((function(e,t){return e+"("+t.source+")"}),"")+"$",e]}(i),u=a[0],s=a[1],l=RegExp(u,"i"),c=function(e,t,n){var r=e.match(t);if(r){var i={},o=1;for(var a in n)if(X(n,a)){var u=n[a],s=u.groups?u.groups+1:1;!u.literal&&u.token&&(i[u.token.val[0]]=u.deser(r.slice(o,o+s))),o+=s}return[r,i]}return[r,{}]}(t,l,s),f=c[0],d=c[1],h=d?function(e){var t,n=null;return J(e.z)||(n=ze.create(e.z)),J(e.Z)||(n||(n=new $e(e.Z)),t=e.Z),J(e.q)||(e.M=3*(e.q-1)+1),J(e.h)||(e.h<12&&1===e.a?e.h+=12:12===e.h&&0===e.a&&(e.h=0)),0===e.G&&e.y&&(e.y=-e.y),J(e.u)||(e.S=re(e.u)),[Object.keys(e).reduce((function(t,n){var r=function(e){switch(e){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}}(n);return r&&(t[r]=e[n]),t}),{}),n,t]}(d):[null,null,void 0],m=h[0],v=h[1],y=h[2];if(X(d,"a")&&X(d,"H"))throw new g("Can't include meridiem when specifying 24-hour format");return{input:t,tokens:r,regex:l,rawMatches:f,matches:d,result:m,zone:v,specificOffset:y}}var jn=[0,31,59,90,120,151,181,212,243,273,304,334],Pn=[0,31,60,91,121,152,182,213,244,274,305,335];function Cn(e,t){return new Pe("unit out of range","you specified "+t+" (of type "+typeof t+") as a "+e+", which is invalid")}function Ln(e,t,n){var r=new Date(Date.UTC(e,t-1,n)).getUTCDay();return 0===r?7:r}function An(e,t,n){return n+(oe(e)?Pn:jn)[t-1]}function Zn(e,t){var n=oe(e)?Pn:jn,r=n.findIndex((function(e){return e<t}));return{month:r+1,day:t-n[r]}}function Fn(e){var t,n=e.year,r=e.month,o=e.day,a=An(n,r,o),u=Ln(n,r,o),s=Math.floor((a-u+10)/7);return s<1?s=le(t=n-1):s>le(n)?(t=n+1,s=1):t=n,i({weekYear:t,weekNumber:s,weekday:u},ye(e))}function qn(e){var t,n=e.weekYear,r=e.weekNumber,o=e.weekday,a=Ln(n,1,4),u=ae(n),s=7*r+o-a-3;s<1?s+=ae(t=n-1):s>u?(t=n+1,s-=ae(n)):t=n;var l=Zn(t,s);return i({year:t,month:l.month,day:l.day},ye(e))}function zn(e){var t=e.year;return i({year:t,ordinal:An(t,e.month,e.day)},ye(e))}function Un(e){var t=e.year,n=Zn(t,e.ordinal);return i({year:t,month:n.month,day:n.day},ye(e))}function $n(e){var t=G(e.year),n=K(e.month,1,12),r=K(e.day,1,ue(e.year,e.month));return t?n?!r&&Cn("day",e.day):Cn("month",e.month):Cn("year",e.year)}function Rn(e){var t=e.hour,n=e.minute,r=e.second,i=e.millisecond,o=K(t,0,23)||24===t&&0===n&&0===r&&0===i,a=K(n,0,59),u=K(r,0,59),s=K(i,0,999);return o?a?u?!s&&Cn("millisecond",i):Cn("second",r):Cn("minute",n):Cn("hour",t)}var Wn="Invalid DateTime",Hn=864e13;function Jn(e){return new Pe("unsupported zone",'the zone "'+e.name+'" is not supported')}function Yn(e){return null===e.weekData&&(e.weekData=Fn(e.c)),e.weekData}function Gn(e,t){var n={ts:e.ts,zone:e.zone,c:e.c,o:e.o,loc:e.loc,invalid:e.invalid};return new mr(i({},n,t,{old:n}))}function Bn(e,t,n){var r=e-60*t*1e3,i=n.offset(r);if(t===i)return[r,t];r-=60*(i-t)*1e3;var o=n.offset(r);return i===o?[r,i]:[e-60*Math.min(i,o)*1e3,Math.max(i,o)]}function Qn(e,t){var n=new Date(e+=60*t*1e3);return{year:n.getUTCFullYear(),month:n.getUTCMonth()+1,day:n.getUTCDate(),hour:n.getUTCHours(),minute:n.getUTCMinutes(),second:n.getUTCSeconds(),millisecond:n.getUTCMilliseconds()}}function Xn(e,t,n){return Bn(se(e),t,n)}function Kn(e,t){var n=e.o,r=e.c.year+Math.trunc(t.years),o=e.c.month+Math.trunc(t.months)+3*Math.trunc(t.quarters),a=i({},e.c,{year:r,month:o,day:Math.min(e.c.day,ue(r,o))+Math.trunc(t.days)+7*Math.trunc(t.weeks)}),u=cn.fromObject({years:t.years-Math.trunc(t.years),quarters:t.quarters-Math.trunc(t.quarters),months:t.months-Math.trunc(t.months),weeks:t.weeks-Math.trunc(t.weeks),days:t.days-Math.trunc(t.days),hours:t.hours,minutes:t.minutes,seconds:t.seconds,milliseconds:t.milliseconds}).as("milliseconds"),s=Bn(se(a),n,e.zone),l=s[0],c=s[1];return 0!==u&&(l+=u,c=e.zone.offset(l)),{ts:l,o:c}}function er(e,t,n,r,o,a){var u=n.setZone,s=n.zone;if(e&&0!==Object.keys(e).length){var l=t||s,c=mr.fromObject(e,i({},n,{zone:l,specificOffset:a}));return u?c:c.setZone(s)}return mr.invalid(new Pe("unparsable",'the input "'+o+"\" can't be parsed as "+r))}function tr(e,t,n){return void 0===n&&(n=!0),e.isValid?je.create(ft.create("en-US"),{allowZ:n,forceSimple:!0}).formatDateTimeFromString(e,t):null}function nr(e,t){var n=e.c.year>9999||e.c.year<0,r="";return n&&e.c.year>=0&&(r+="+"),r+=ee(e.c.year,n?6:4),t?(r+="-",r+=ee(e.c.month),r+="-",r+=ee(e.c.day)):(r+=ee(e.c.month),r+=ee(e.c.day)),r}function rr(e,t,n,r,i){var o=ee(e.c.hour);return t?(o+=":",o+=ee(e.c.minute),0===e.c.second&&n||(o+=":")):o+=ee(e.c.minute),0===e.c.second&&n||(o+=ee(e.c.second),0===e.c.millisecond&&r||(o+=".",o+=ee(e.c.millisecond,3))),i&&(e.isOffsetFixed&&0===e.offset?o+="Z":e.o<0?(o+="-",o+=ee(Math.trunc(-e.o/60)),o+=":",o+=ee(Math.trunc(-e.o%60))):(o+="+",o+=ee(Math.trunc(e.o/60)),o+=":",o+=ee(Math.trunc(e.o%60)))),o}var ir={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},or={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},ar={ordinal:1,hour:0,minute:0,second:0,millisecond:0},ur=["year","month","day","hour","minute","second","millisecond"],sr=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],lr=["year","ordinal","hour","minute","second","millisecond"];function cr(e){var t={year:"year",years:"year",month:"month",months:"month",day:"day",days:"day",hour:"hour",hours:"hour",minute:"minute",minutes:"minute",quarter:"quarter",quarters:"quarter",second:"second",seconds:"second",millisecond:"millisecond",milliseconds:"millisecond",weekday:"weekday",weekdays:"weekday",weeknumber:"weekNumber",weeksnumber:"weekNumber",weeknumbers:"weekNumber",weekyear:"weekYear",weekyears:"weekYear",ordinal:"ordinal"}[e.toLowerCase()];if(!t)throw new b(e);return t}function fr(e,t){var n,r,i=We(t.zone,Xe.defaultZone),o=ft.fromObject(t),a=Xe.now();if(J(e.year))n=a;else{for(var u,s=h(ur);!(u=s()).done;){var l=u.value;J(e[l])&&(e[l]=ir[l])}var c=$n(e)||Rn(e);if(c)return mr.invalid(c);var f=Xn(e,i.offset(a),i);n=f[0],r=f[1]}return new mr({ts:n,zone:i,loc:o,o:r})}function dr(e,t,n){var r=!!J(n.round)||n.round,i=function(e,i){return e=ie(e,r||n.calendary?0:2,!0),t.loc.clone(n).relFormatter(n).format(e,i)},o=function(r){return n.calendary?t.hasSame(e,r)?0:t.startOf(r).diff(e.startOf(r),r).get(r):t.diff(e,r).get(r)};if(n.unit)return i(o(n.unit),n.unit);for(var a,u=h(n.units);!(a=u()).done;){var s=a.value,l=o(s);if(Math.abs(l)>=1)return i(l,s)}return i(e>t?-0:0,n.units[n.units.length-1])}function hr(e){var t,n={};return e.length>0&&"object"==typeof e[e.length-1]?(n=e[e.length-1],t=Array.from(e).slice(0,e.length-1)):t=Array.from(e),[n,t]}var mr=function(){function e(e){var t=e.zone||Xe.defaultZone,n=e.invalid||(Number.isNaN(e.ts)?new Pe("invalid input"):null)||(t.isValid?null:Jn(t));this.ts=J(e.ts)?Xe.now():e.ts;var r=null,i=null;if(!n)if(e.old&&e.old.ts===this.ts&&e.old.zone.equals(t)){var o=[e.old.c,e.old.o];r=o[0],i=o[1]}else{var a=t.offset(this.ts);r=Qn(this.ts,a),r=(n=Number.isNaN(r.year)?new Pe("invalid input"):null)?null:r,i=n?null:a}this._zone=t,this.loc=e.loc||ft.create(),this.invalid=n,this.weekData=null,this.c=r,this.o=i,this.isLuxonDateTime=!0}e.now=function(){return new e({})},e.local=function(){var e=hr(arguments),t=e[0],n=e[1],r=n[0],i=n[1],o=n[2],a=n[3],u=n[4],s=n[5],l=n[6];return fr({year:r,month:i,day:o,hour:a,minute:u,second:s,millisecond:l},t)},e.utc=function(){var e=hr(arguments),t=e[0],n=e[1],r=n[0],i=n[1],o=n[2],a=n[3],u=n[4],s=n[5],l=n[6];return t.zone=$e.utcInstance,fr({year:r,month:i,day:o,hour:a,minute:u,second:s,millisecond:l},t)},e.fromJSDate=function(t,n){void 0===n&&(n={});var r,i=(r=t,"[object Date]"===Object.prototype.toString.call(r)?t.valueOf():NaN);if(Number.isNaN(i))return e.invalid("invalid input");var o=We(n.zone,Xe.defaultZone);return o.isValid?new e({ts:i,zone:o,loc:ft.fromObject(n)}):e.invalid(Jn(o))},e.fromMillis=function(t,n){if(void 0===n&&(n={}),Y(t))return t<-Hn||t>Hn?e.invalid("Timestamp out of range"):new e({ts:t,zone:We(n.zone,Xe.defaultZone),loc:ft.fromObject(n)});throw new w("fromMillis requires a numerical input, but received a "+typeof t+" with value "+t)},e.fromSeconds=function(t,n){if(void 0===n&&(n={}),Y(t))return new e({ts:1e3*t,zone:We(n.zone,Xe.defaultZone),loc:ft.fromObject(n)});throw new w("fromSeconds requires a numerical input")},e.fromObject=function(t,n){void 0===n&&(n={}),t=t||{};var r=We(n.zone,Xe.defaultZone);if(!r.isValid)return e.invalid(Jn(r));var i=Xe.now(),o=J(n.specificOffset)?r.offset(i):n.specificOffset,a=me(t,cr),u=!J(a.ordinal),s=!J(a.year),l=!J(a.month)||!J(a.day),c=s||l,f=a.weekYear||a.weekNumber,d=ft.fromObject(n);if((c||u)&&f)throw new g("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(l&&u)throw new g("Can't mix ordinal dates with month/day");var m,v,y=f||a.weekday&&!c,p=Qn(i,o);y?(m=sr,v=or,p=Fn(p)):u?(m=lr,v=ar,p=zn(p)):(m=ur,v=ir);for(var b,w=!1,k=h(m);!(b=k()).done;){var O=b.value;J(a[O])?a[O]=w?v[O]:p[O]:w=!0}var _=y?function(e){var t=G(e.weekYear),n=K(e.weekNumber,1,le(e.weekYear)),r=K(e.weekday,1,7);return t?n?!r&&Cn("weekday",e.weekday):Cn("week",e.week):Cn("weekYear",e.weekYear)}(a):u?function(e){var t=G(e.year),n=K(e.ordinal,1,ae(e.year));return t?!n&&Cn("ordinal",e.ordinal):Cn("year",e.year)}(a):$n(a),S=_||Rn(a);if(S)return e.invalid(S);var T=Xn(y?qn(a):u?Un(a):a,o,r),x=new e({ts:T[0],zone:r,o:T[1],loc:d});return a.weekday&&c&&t.weekday!==x.weekday?e.invalid("mismatched weekday","you can't specify both a weekday of "+a.weekday+" and a date of "+x.toISO()):x},e.fromISO=function(e,t){void 0===t&&(t={});var n=function(e){return mt(e,[zt,Wt],[Ut,Ht],[$t,Jt],[Rt,Yt])}(e);return er(n[0],n[1],t,"ISO 8601",e)},e.fromRFC2822=function(e,t){void 0===t&&(t={});var n=function(e){return mt(function(e){return e.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}(e),[Pt,Ct])}(e);return er(n[0],n[1],t,"RFC 2822",e)},e.fromHTTP=function(e,t){void 0===t&&(t={});var n=function(e){return mt(e,[Lt,Ft],[At,Ft],[Zt,qt])}(e);return er(n[0],n[1],t,"HTTP",t)},e.fromFormat=function(t,n,r){if(void 0===r&&(r={}),J(t)||J(n))throw new w("fromFormat requires an input string and a format");var i=r,o=i.locale,a=void 0===o?null:o,u=i.numberingSystem,s=void 0===u?null:u,l=function(e,t,n){var r=In(e,t,n);return[r.result,r.zone,r.specificOffset,r.invalidReason]}(ft.fromOpts({locale:a,numberingSystem:s,defaultToEN:!0}),t,n),c=l[0],f=l[1],d=l[2],h=l[3];return h?e.invalid(h):er(c,f,r,"format "+n,t,d)},e.fromString=function(t,n,r){return void 0===r&&(r={}),e.fromFormat(t,n,r)},e.fromSQL=function(e,t){void 0===t&&(t={});var n=function(e){return mt(e,[Bt,Xt],[Qt,Kt])}(e);return er(n[0],n[1],t,"SQL",e)},e.invalid=function(t,n){if(void 0===n&&(n=null),!t)throw new w("need to specify a reason the DateTime is invalid");var r=t instanceof Pe?t:new Pe(t,n);if(Xe.throwOnInvalid)throw new v(r);return new e({invalid:r})},e.isDateTime=function(e){return e&&e.isLuxonDateTime||!1};var t=e.prototype;return t.get=function(e){return this[e]},t.resolvedLocaleOptions=function(e){void 0===e&&(e={});var t=je.create(this.loc.clone(e),e).resolvedOptions(this);return{locale:t.locale,numberingSystem:t.numberingSystem,outputCalendar:t.calendar}},t.toUTC=function(e,t){return void 0===e&&(e=0),void 0===t&&(t={}),this.setZone($e.instance(e),t)},t.toLocal=function(){return this.setZone(Xe.defaultZone)},t.setZone=function(t,n){var r=void 0===n?{}:n,i=r.keepLocalTime,o=void 0!==i&&i,a=r.keepCalendarTime,u=void 0!==a&&a;if((t=We(t,Xe.defaultZone)).equals(this.zone))return this;if(t.isValid){var s=this.ts;if(o||u){var l=t.offset(this.ts);s=Xn(this.toObject(),l,t)[0]}return Gn(this,{ts:s,zone:t})}return e.invalid(Jn(t))},t.reconfigure=function(e){var t=void 0===e?{}:e,n=t.locale,r=t.numberingSystem,i=t.outputCalendar;return Gn(this,{loc:this.loc.clone({locale:n,numberingSystem:r,outputCalendar:i})})},t.setLocale=function(e){return this.reconfigure({locale:e})},t.set=function(e){if(!this.isValid)return this;var t,n=me(e,cr),r=!J(n.weekYear)||!J(n.weekNumber)||!J(n.weekday),o=!J(n.ordinal),a=!J(n.year),u=!J(n.month)||!J(n.day),s=a||u,l=n.weekYear||n.weekNumber;if((s||o)&&l)throw new g("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(u&&o)throw new g("Can't mix ordinal dates with month/day");r?t=qn(i({},Fn(this.c),n)):J(n.ordinal)?(t=i({},this.toObject(),n),J(n.day)&&(t.day=Math.min(ue(t.year,t.month),t.day))):t=Un(i({},zn(this.c),n));var c=Xn(t,this.o,this.zone);return Gn(this,{ts:c[0],o:c[1]})},t.plus=function(e){return this.isValid?Gn(this,Kn(this,cn.fromDurationLike(e))):this},t.minus=function(e){return this.isValid?Gn(this,Kn(this,cn.fromDurationLike(e).negate())):this},t.startOf=function(e){if(!this.isValid)return this;var t={},n=cn.normalizeUnit(e);switch(n){case"years":t.month=1;case"quarters":case"months":t.day=1;case"weeks":case"days":t.hour=0;case"hours":t.minute=0;case"minutes":t.second=0;case"seconds":t.millisecond=0}if("weeks"===n&&(t.weekday=1),"quarters"===n){var r=Math.ceil(this.month/3);t.month=3*(r-1)+1}return this.set(t)},t.endOf=function(e){var t;return this.isValid?this.plus((t={},t[e]=1,t)).startOf(e).minus(1):this},t.toFormat=function(e,t){return void 0===t&&(t={}),this.isValid?je.create(this.loc.redefaultToEN(t)).formatDateTimeFromString(this,e):Wn},t.toLocaleString=function(e,t){return void 0===e&&(e=T),void 0===t&&(t={}),this.isValid?je.create(this.loc.clone(t),e).formatDateTime(this):Wn},t.toLocaleParts=function(e){return void 0===e&&(e={}),this.isValid?je.create(this.loc.clone(e),e).formatDateTimeParts(this):[]},t.toISO=function(e){var t=void 0===e?{}:e,n=t.format,r=void 0===n?"extended":n,i=t.suppressSeconds,o=void 0!==i&&i,a=t.suppressMilliseconds,u=void 0!==a&&a,s=t.includeOffset,l=void 0===s||s;if(!this.isValid)return null;var c="extended"===r,f=nr(this,c);return f+="T",f+=rr(this,c,o,u,l)},t.toISODate=function(e){var t=(void 0===e?{}:e).format,n=void 0===t?"extended":t;return this.isValid?nr(this,"extended"===n):null},t.toISOWeekDate=function(){return tr(this,"kkkk-'W'WW-c")},t.toISOTime=function(e){var t=void 0===e?{}:e,n=t.suppressMilliseconds,r=void 0!==n&&n,i=t.suppressSeconds,o=void 0!==i&&i,a=t.includeOffset,u=void 0===a||a,s=t.includePrefix,l=void 0!==s&&s,c=t.format,f=void 0===c?"extended":c;return this.isValid?(l?"T":"")+rr(this,"extended"===f,o,r,u):null},t.toRFC2822=function(){return tr(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)},t.toHTTP=function(){return tr(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")},t.toSQLDate=function(){return this.isValid?nr(this,!0):null},t.toSQLTime=function(e){var t=void 0===e?{}:e,n=t.includeOffset,r=void 0===n||n,i=t.includeZone,o=void 0!==i&&i,a=t.includeOffsetSpace,u="HH:mm:ss.SSS";return(o||r)&&((void 0===a||a)&&(u+=" "),o?u+="z":r&&(u+="ZZ")),tr(this,u,!0)},t.toSQL=function(e){return void 0===e&&(e={}),this.isValid?this.toSQLDate()+" "+this.toSQLTime(e):null},t.toString=function(){return this.isValid?this.toISO():Wn},t.valueOf=function(){return this.toMillis()},t.toMillis=function(){return this.isValid?this.ts:NaN},t.toSeconds=function(){return this.isValid?this.ts/1e3:NaN},t.toUnixInteger=function(){return this.isValid?Math.floor(this.ts/1e3):NaN},t.toJSON=function(){return this.toISO()},t.toBSON=function(){return this.toJSDate()},t.toObject=function(e){if(void 0===e&&(e={}),!this.isValid)return{};var t=i({},this.c);return e.includeConfig&&(t.outputCalendar=this.outputCalendar,t.numberingSystem=this.loc.numberingSystem,t.locale=this.loc.locale),t},t.toJSDate=function(){return new Date(this.isValid?this.ts:NaN)},t.diff=function(e,t,n){if(void 0===t&&(t="milliseconds"),void 0===n&&(n={}),!this.isValid||!e.isValid)return cn.invalid("created by diffing an invalid DateTime");var r,o=i({locale:this.locale,numberingSystem:this.numberingSystem},n),a=(r=t,Array.isArray(r)?r:[r]).map(cn.normalizeUnit),u=e.valueOf()>this.valueOf(),s=yn(u?this:e,u?e:this,a,o);return u?s.negate():s},t.diffNow=function(t,n){return void 0===t&&(t="milliseconds"),void 0===n&&(n={}),this.diff(e.now(),t,n)},t.until=function(e){return this.isValid?hn.fromDateTimes(this,e):this},t.hasSame=function(e,t){if(!this.isValid)return!1;var n=e.valueOf(),r=this.setZone(e.zone,{keepLocalTime:!0});return r.startOf(t)<=n&&n<=r.endOf(t)},t.equals=function(e){return this.isValid&&e.isValid&&this.valueOf()===e.valueOf()&&this.zone.equals(e.zone)&&this.loc.equals(e.loc)},t.toRelative=function(t){if(void 0===t&&(t={}),!this.isValid)return null;var n=t.base||e.fromObject({},{zone:this.zone}),r=t.padding?this<n?-t.padding:t.padding:0,o=["years","months","days","hours","minutes","seconds"],a=t.unit;return Array.isArray(t.unit)&&(o=t.unit,a=void 0),dr(n,this.plus(r),i({},t,{numeric:"always",units:o,unit:a}))},t.toRelativeCalendar=function(t){return void 0===t&&(t={}),this.isValid?dr(t.base||e.fromObject({},{zone:this.zone}),this,i({},t,{numeric:"auto",units:["years","months","days"],calendary:!0})):null},e.min=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];if(!n.every(e.isDateTime))throw new w("min requires all arguments be DateTimes");return Q(n,(function(e){return e.valueOf()}),Math.min)},e.max=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];if(!n.every(e.isDateTime))throw new w("max requires all arguments be DateTimes");return Q(n,(function(e){return e.valueOf()}),Math.max)},e.fromFormatExplain=function(e,t,n){void 0===n&&(n={});var r=n,i=r.locale,o=void 0===i?null:i,a=r.numberingSystem,u=void 0===a?null:a;return In(ft.fromOpts({locale:o,numberingSystem:u,defaultToEN:!0}),e,t)},e.fromStringExplain=function(t,n,r){return void 0===r&&(r={}),e.fromFormatExplain(t,n,r)},r(e,[{key:"isValid",get:function(){return null===this.invalid}},{key:"invalidReason",get:function(){return this.invalid?this.invalid.reason:null}},{key:"invalidExplanation",get:function(){return this.invalid?this.invalid.explanation:null}},{key:"locale",get:function(){return this.isValid?this.loc.locale:null}},{key:"numberingSystem",get:function(){return this.isValid?this.loc.numberingSystem:null}},{key:"outputCalendar",get:function(){return this.isValid?this.loc.outputCalendar:null}},{key:"zone",get:function(){return this._zone}},{key:"zoneName",get:function(){return this.isValid?this.zone.name:null}},{key:"year",get:function(){return this.isValid?this.c.year:NaN}},{key:"quarter",get:function(){return this.isValid?Math.ceil(this.c.month/3):NaN}},{key:"month",get:function(){return this.isValid?this.c.month:NaN}},{key:"day",get:function(){return this.isValid?this.c.day:NaN}},{key:"hour",get:function(){return this.isValid?this.c.hour:NaN}},{key:"minute",get:function(){return this.isValid?this.c.minute:NaN}},{key:"second",get:function(){return this.isValid?this.c.second:NaN}},{key:"millisecond",get:function(){return this.isValid?this.c.millisecond:NaN}},{key:"weekYear",get:function(){return this.isValid?Yn(this).weekYear:NaN}},{key:"weekNumber",get:function(){return this.isValid?Yn(this).weekNumber:NaN}},{key:"weekday",get:function(){return this.isValid?Yn(this).weekday:NaN}},{key:"ordinal",get:function(){return this.isValid?zn(this.c).ordinal:NaN}},{key:"monthShort",get:function(){return this.isValid?mn.months("short",{locObj:this.loc})[this.month-1]:null}},{key:"monthLong",get:function(){return this.isValid?mn.months("long",{locObj:this.loc})[this.month-1]:null}},{key:"weekdayShort",get:function(){return this.isValid?mn.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}},{key:"weekdayLong",get:function(){return this.isValid?mn.weekdays("long",{locObj:this.loc})[this.weekday-1]:null}},{key:"offset",get:function(){return this.isValid?+this.o:NaN}},{key:"offsetNameShort",get:function(){return this.isValid?this.zone.offsetName(this.ts,{format:"short",locale:this.locale}):null}},{key:"offsetNameLong",get:function(){return this.isValid?this.zone.offsetName(this.ts,{format:"long",locale:this.locale}):null}},{key:"isOffsetFixed",get:function(){return this.isValid?this.zone.isUniversal:null}},{key:"isInDST",get:function(){return!this.isOffsetFixed&&(this.offset>this.set({month:1}).offset||this.offset>this.set({month:5}).offset)}},{key:"isInLeapYear",get:function(){return oe(this.year)}},{key:"daysInMonth",get:function(){return ue(this.year,this.month)}},{key:"daysInYear",get:function(){return this.isValid?ae(this.year):NaN}},{key:"weeksInWeekYear",get:function(){return this.isValid?le(this.weekYear):NaN}}],[{key:"DATE_SHORT",get:function(){return T}},{key:"DATE_MED",get:function(){return x}},{key:"DATE_MED_WITH_WEEKDAY",get:function(){return M}},{key:"DATE_FULL",get:function(){return N}},{key:"DATE_HUGE",get:function(){return D}},{key:"TIME_SIMPLE",get:function(){return V}},{key:"TIME_WITH_SECONDS",get:function(){return E}},{key:"TIME_WITH_SHORT_OFFSET",get:function(){return I}},{key:"TIME_WITH_LONG_OFFSET",get:function(){return j}},{key:"TIME_24_SIMPLE",get:function(){return P}},{key:"TIME_24_WITH_SECONDS",get:function(){return C}},{key:"TIME_24_WITH_SHORT_OFFSET",get:function(){return L}},{key:"TIME_24_WITH_LONG_OFFSET",get:function(){return A}},{key:"DATETIME_SHORT",get:function(){return Z}},{key:"DATETIME_SHORT_WITH_SECONDS",get:function(){return F}},{key:"DATETIME_MED",get:function(){return q}},{key:"DATETIME_MED_WITH_SECONDS",get:function(){return z}},{key:"DATETIME_MED_WITH_WEEKDAY",get:function(){return U}},{key:"DATETIME_FULL",get:function(){return $}},{key:"DATETIME_FULL_WITH_SECONDS",get:function(){return R}},{key:"DATETIME_HUGE",get:function(){return W}},{key:"DATETIME_HUGE_WITH_SECONDS",get:function(){return H}}]),e}();function vr(e){if(mr.isDateTime(e))return e;if(e&&e.valueOf&&Y(e.valueOf()))return mr.fromJSDate(e);if(e&&"object"==typeof e)return mr.fromObject(e);throw new w("Unknown datetime argument: "+e+", of type "+typeof e)}t.ou=mr,t.Xp=hn},4155:e=>{var t,n,r=e.exports={};function i(){throw new Error("setTimeout has not been defined")}function o(){throw new Error("clearTimeout has not been defined")}function a(e){if(t===setTimeout)return setTimeout(e,0);if((t===i||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(n){try{return t.call(null,e,0)}catch(n){return t.call(this,e,0)}}}!function(){try{t="function"==typeof setTimeout?setTimeout:i}catch(e){t=i}try{n="function"==typeof clearTimeout?clearTimeout:o}catch(e){n=o}}();var u,s=[],l=!1,c=-1;function f(){l&&u&&(l=!1,u.length?s=u.concat(s):c=-1,s.length&&d())}function d(){if(!l){var e=a(f);l=!0;for(var t=s.length;t;){for(u=s,s=[];++c<t;)u&&u[c].run();c=-1,t=s.length}u=null,l=!1,function(e){if(n===clearTimeout)return clearTimeout(e);if((n===o||!n)&&clearTimeout)return n=clearTimeout,clearTimeout(e);try{n(e)}catch(t){try{return n.call(null,e)}catch(t){return n.call(this,e)}}}(e)}}function h(e,t){this.fun=e,this.array=t}function m(){}r.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];s.push(new h(e,t)),1!==s.length||l||a(d)},h.prototype.run=function(){this.fun.apply(null,this.array)},r.title="browser",r.browser=!0,r.env={},r.argv=[],r.version="",r.versions={},r.on=m,r.addListener=m,r.once=m,r.off=m,r.removeListener=m,r.removeAllListeners=m,r.emit=m,r.prependListener=m,r.prependOnceListener=m,r.listeners=function(e){return[]},r.binding=function(e){throw new Error("process.binding is not supported")},r.cwd=function(){return"/"},r.chdir=function(e){throw new Error("process.chdir is not supported")},r.umask=function(){return 0}},1968:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});const r={name:"FormError",props:{id:{type:String,required:!0},v:{type:Object,required:!0}}};const i=(0,n(1900).Z)(r,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.v.$error?n("div",{staticClass:"iande-form-error",attrs:{id:e.id}},[!1===e.v.required?n("span",[e._v(e._s(e.__("Campo obrigatório","iande")))]):!1===e.v.samePassword?n("span",[e._v(e._s(e.__("Senhas não batem","iande")))]):!1===e.v.cep?n("span",[e._v(e._s(e.__("CEP inválido","iande")))]):!1===e.v.cnpj?n("span",[e._v(e._s(e.__("CNPJ inválido","iande")))]):!1===e.v.date?n("span",[e._v(e._s(e.__("Data inválida","iande")))]):!1===e.v.email?n("span",[e._v(e._s(e.__("E-mail inválido","iande")))]):!1===e.v.phone?n("span",[e._v(e._s(e.__("Telefone inválido","iande")))]):!1===e.v.time?n("span",[e._v(e._s(e.__("Horário inválido","iande")))]):!1===e.v.integer?n("span",[e._v(e._s(e.__("Valor não é número inteiro","iande")))]):!1===e.v.maxLength?n("span",[e._v(e._s(e.sprintf(e.__("Selecione até %s opções","iande"),e.v.$params.maxLength.max)))]):!1===e.v.maxValue?n("span",[e._v(e._s(e.sprintf(e.__("Valor máximo é %s","iande"),e.v.$params.maxValue.max)))]):!1===e.v.minValue?n("span",[e._v(e._s(e.sprintf(e.__("Valor mínimo é %s","iande"),e.v.$params.minValue.min)))]):!1===e.v.minChar?n("span",[e._v(e._s(e.sprintf(e.__("Campo tem que ter pelo menos %s caracteres","iande"),e.v.$params.minChar.min)))]):!1===e.v.minGroups?n("span",[e._v(e._s(e.__("É necessário pelo menos um grupo","iande")))]):e._e()]):e._e()}),[],!1,null,null,null).exports},6571:(e,t,n)=>{"use strict";n.d(t,{Z:()=>u});function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function i(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(Object(n),!0).forEach((function(t){o(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const a={name:"Input",mixins:[n(1234).Z],inheritAttrs:!1,computed:{inputAttrs:function(){return i(i({},this.$attrs),{},{"aria-describedby":this.errorId,class:["iande-input",this.fieldClass,this.v.$error&&"invalid"],id:this.id,name:this.id})}}};const u=(0,n(1900).Z)(a,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"iande-field"},["checkbox"===e.inputAttrs.type?n("input",e._b({directives:[{name:"model",rawName:"v-model",value:e.modelValue,expression:"modelValue"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.modelValue)?e._i(e.modelValue,null)>-1:e.modelValue},on:{change:function(t){var n=e.modelValue,r=t.target,i=!!r.checked;if(Array.isArray(n)){var o=e._i(n,null);r.checked?o<0&&(e.modelValue=n.concat([null])):o>-1&&(e.modelValue=n.slice(0,o).concat(n.slice(o+1)))}else e.modelValue=i}}},"input",e.inputAttrs,!1)):"radio"===e.inputAttrs.type?n("input",e._b({directives:[{name:"model",rawName:"v-model",value:e.modelValue,expression:"modelValue"}],attrs:{type:"radio"},domProps:{checked:e._q(e.modelValue,null)},on:{change:function(t){e.modelValue=null}}},"input",e.inputAttrs,!1)):n("input",e._b({directives:[{name:"model",rawName:"v-model",value:e.modelValue,expression:"modelValue"}],attrs:{type:e.inputAttrs.type},domProps:{value:e.modelValue},on:{input:function(t){t.target.composing||(e.modelValue=t.target.value)}}},"input",e.inputAttrs,!1)),e._v(" "),e.v.$error?n("FormError",{attrs:{id:e.errorId,v:e.v}}):e._e()],1)}),[],!1,null,null,null).exports},6229:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(8806),i=n(1338);const o=(0,n(1900).Z)(i.Z,r.s,r.x,!1,null,null,null).exports},8461:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var r=n(1234),i=n(424);const o={name:"Select",mixins:[r.Z],props:{options:{type:[Array,Object],required:!0},placeholder:{type:String,default:(0,i.__)("Selecione uma das opções","iande")}},computed:{classes:function(){return["iande-input",this.fieldClass,this.v.$error&&"invalid"]},normalizedOptions:function(){return Array.isArray(this.options)?Object.fromEntries(this.options.map((function(e){return[e,e]}))):this.options},nullValue:function(){return this.value||null===this.value?null:this.value},optionsLength:function(){return Array.isArray(this.options)?this.options.length:Object.keys(this.options).length}}};const a=(0,n(1900).Z)(o,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"iande-field"},[n("select",{directives:[{name:"model",rawName:"v-model",value:e.modelValue,expression:"modelValue"}],class:e.classes,attrs:{id:e.id,"aria-describedby":e.errorId},on:{change:function(t){var n=Array.prototype.filter.call(t.target.options,(function(e){return e.selected})).map((function(e){return"_value"in e?e._value:e.value}));e.modelValue=t.target.multiple?n:n[0]}}},[e.value===e.nullValue?n("option",{attrs:{disabled:""},domProps:{value:e.nullValue}},[e._v(e._s(e.placeholder))]):e._e(),e._v(" "),e._l(e.normalizedOptions,(function(t,r){return n("option",{key:r,domProps:{value:t}},[e._v("\n            "+e._s(e.__(r,"iande"))+"\n        ")])}))],2),e._v(" "),e.v.$error?n("FormError",{attrs:{id:e.errorId,v:e.v}}):e._e()],1)}),[],!1,null,null,null).exports},1918:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>m});var r=n(379),i=n(7033),o=n(6571),a=n(6229),u=n(8461),s=n(1870),l=n(2050);function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function f(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){d(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function d(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const h={name:"SelectExhibition",components:{Input:o.Z,Label:a.Z,Select:u.Z},computed:f(f({},(0,i.Z_)("appointments/current@",{exhibitionId:"exhibition_id",name:"name",numPeople:"num_people",purpose:"purpose",purposeOther:"purpose_other"})),{},{exhibition:(0,i.U2)("appointments/exhibition"),exhibitionOptions:function(){var e=this.exhibitions.map((function(e){return[e.title,e.ID]}));return Object.fromEntries(e)},exhibitions:(0,i.U2)("exhibitions/list"),groups:(0,i.U2)("appointments/current@groups"),groupsCreated:function(){return this.groups.length>0},minPeople:function(){var e;return null!==(e=this.exhibition)&&void 0!==e&&e.min_group_size?Number(this.exhibition.min_group_size):5},user:(0,i.U2)("users/current"),userIncomplete:function(){var e=this.user;return!!e&&!(e.first_name&&e.last_name&&e.user_email&&e.phone)}}),validations:function(){return{exhibitionId:{required:r.C1},name:{},numPeople:{integer:r._L,minValue:(0,r.uv)(this.minPeople),required:r.C1},purpose:{required:r.C1},purposeOther:{},userIncomplete:{falsy:l.k}}},watch:{exhibitions:{handler:function(){1===this.exhibitions.length&&(this.exhibitionId=this.exhibitions[0].ID)},immediate:!0},purpose:(0,s.kE)("purpose","purposeOther")},methods:{isOther:s.po}};const m=(0,n(1900).Z)(h,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"iande-stack stack-lg",attrs:{id:"iande-visit-date"}},[n("h1",[e._v(e._s(e.__("Sobre a visita","iande")))]),e._v(" "),e.userIncomplete?n("div",{staticClass:"iande-form-error"},[e._v("\n        "+e._s(e.__("Seu perfil está incompleto. Para completá-lo,","iande"))+" "),n("a",{attrs:{href:e.$iandeUrl("user/edit")}},[e._v(e._s(e.__("clique aqui","iande")))])]):e._e(),e._v(" "),n("div",[n("Label",{attrs:{for:"purpose"}},[e._v(e._s(e.__("Qual o objetivo da visita?","iande")))]),e._v(" "),n("Select",{attrs:{id:"purpose",v:e.$v.purpose,options:e.$iande.purposes},model:{value:e.purpose,callback:function(t){e.purpose=t},expression:"purpose"}})],1),e._v(" "),e.isOther(e.purpose)?n("div",[n("Label",{attrs:{for:"purposeOther"}},[e._v(e._s(e.__("Especifique o objetivo da visita","iande")))]),e._v(" "),n("Input",{attrs:{id:"purposeOther",type:"text",v:e.$v.purposeOther},model:{value:e.purposeOther,callback:function(t){e.purposeOther=t},expression:"purposeOther"}})],1):e._e(),e._v(" "),n("div",[n("Label",{attrs:{for:"name",side:e.__("(opcional)","iande")}},[e._v(e._s(e.__("Dê um nome à visita","iande")))]),e._v(" "),n("Input",{attrs:{id:"name",type:"text",placeholder:e.__("Ex: Nome da instituição","iande"),v:e.$v.name},model:{value:e.name,callback:function(t){e.name=t},expression:"name"}})],1),e._v(" "),n("div",[n("Label",{attrs:{for:"exhibitionId"}},[e._v(e._s(e.__("Qual exposição será visitada?","iande")))]),e._v(" "),n("Select",{attrs:{id:"exhibitionId",v:e.$v.exhibitionId,options:e.exhibitionOptions},model:{value:e.exhibitionId,callback:function(t){e.exhibitionId=t},expression:"exhibitionId"}}),e._v(" "),e.exhibition&&e.exhibition.description?n("p",{staticClass:"iande-exhibition-description"},[e._v("\n            "+e._s(e.__(e.exhibition.description,"iande"))+"\n        ")]):e._e()],1),e._v(" "),n("div",[n("Label",{attrs:{for:"numPeople"}},[e._v(e._s(e.__("Quantidade prevista de pessoas","iande")))]),e._v(" "),n("Input",{attrs:{id:"numPeople",type:"number",min:e.minPeople,placeholder:e.sprintf(e.__("Mínimo de %s pessoas","iande"),e.minPeople),disabled:e.groupsCreated,v:e.$v.numPeople},model:{value:e.numPeople,callback:function(t){e.numPeople=e._n(t)},expression:"numPeople"}}),e._v(" "),n("p",{staticClass:"text-sm"},[e._v(e._s(e.__("Caso seu grupo seja maior do que a capacidade de atendimento do museu, mais grupos serão criados automaticamente","iande")))])],1)])}),[],!1,null,null,null).exports},1338:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});const r=n(7750).Z},8806:(e,t,n)=>{"use strict";n.d(t,{s:()=>r,x:()=>i});var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("label",{staticClass:"iande-label"},[e._t("default"),e.side?n("span",{staticClass:"iande-label__optional"},[e._v(e._s(e.side))]):e._e()],2)},i=[]},6408:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=(0,n(6681).regex)("alpha",/^[a-zA-Z]*$/);t.default=r},6195:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=(0,n(6681).regex)("alphaNum",/^[a-zA-Z0-9]*$/);t.default=r},5573:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(6681);t.default=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return(0,r.withParams)({type:"and"},(function(){for(var e=this,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return t.length>0&&t.reduce((function(t,n){return t&&n.apply(e,r)}),!0)}))}},7884:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(6681);t.default=function(e,t){return(0,r.withParams)({type:"between",min:e,max:t},(function(n){return!(0,r.req)(n)||(!/\s/.test(n)||n instanceof Date)&&+e<=+n&&+t>=+n}))}},6681:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.req=t.regex=t.ref=t.len=void 0,Object.defineProperty(t,"withParams",{enumerable:!0,get:function(){return i.default}});var r,i=(r=n(8085))&&r.__esModule?r:{default:r};function o(e){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o(e)}var a=function(e){if(Array.isArray(e))return!!e.length;if(null==e)return!1;if(!1===e)return!0;if(e instanceof Date)return!isNaN(e.getTime());if("object"===o(e)){for(var t in e)return!0;return!1}return!!String(e).length};t.req=a;t.len=function(e){return Array.isArray(e)?e.length:"object"===o(e)?Object.keys(e).length:String(e).length};t.ref=function(e,t,n){return"function"==typeof e?e.call(t,n):n[e]};t.regex=function(e,t){return(0,i.default)({type:e},(function(e){return!a(e)||t.test(e)}))}},4078:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=(0,n(6681).regex)("decimal",/^[-]?\d*(\.\d+)?$/);t.default=r},8107:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=(0,n(6681).regex)("email",/^(?:[A-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[A-z0-9!#$%&'*+/=?^_`{|}~-]+)*|"(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21\x23-\x5b\x5d-\x7f]|[\x01-\x09\x0b\x0c\x0e-\x7f])*")@(?:(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9]{2,}(?:[a-z0-9-]*[a-z0-9])?|\[(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?|[a-z0-9-]*[a-z0-9]:(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21-\x5a\x53-\x7f]|\\[\x01-\x09\x0b\x0c\x0e-\x7f])+)\])$/i);t.default=r},379:(e,t,n)=>{"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}Object.defineProperty(t,"Do",{enumerable:!0,get:function(){return s.default}}),t.BM=void 0,Object.defineProperty(t,"_L",{enumerable:!0,get:function(){return _.default}}),Object.defineProperty(t,"BS",{enumerable:!0,get:function(){return f.default}}),Object.defineProperty(t,"PW",{enumerable:!0,get:function(){return O.default}}),Object.defineProperty(t,"Ei",{enumerable:!0,get:function(){return d.default}}),Object.defineProperty(t,"uv",{enumerable:!0,get:function(){return k.default}}),Object.defineProperty(t,"uR",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"C1",{enumerable:!0,get:function(){return h.default}}),Object.defineProperty(t,"CF",{enumerable:!0,get:function(){return m.default}}),Object.defineProperty(t,"Nf",{enumerable:!0,get:function(){return v.default}}),Object.defineProperty(t,"sH",{enumerable:!0,get:function(){return y.default}});var i=M(n(6408)),o=M(n(6195)),a=M(n(5669)),u=M(n(7884)),s=M(n(8107)),l=M(n(9103)),c=M(n(7340)),f=M(n(5287)),d=M(n(3091)),h=M(n(2419)),m=M(n(2941)),v=M(n(8300)),y=M(n(918)),p=M(n(3213)),g=M(n(5832)),b=M(n(5573)),w=M(n(2500)),k=M(n(2628)),O=M(n(301)),_=M(n(6673)),S=M(n(4078)),T=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!=typeof e)return{default:e};var n=x(t);if(n&&n.has(e))return n.get(e);var i={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var u=o?Object.getOwnPropertyDescriptor(e,a):null;u&&(u.get||u.set)?Object.defineProperty(i,a,u):i[a]=e[a]}i.default=e,n&&n.set(e,i);return i}(n(6681));function x(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(x=function(e){return e?n:t})(e)}function M(e){return e&&e.__esModule?e:{default:e}}t.BM=T},6673:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=(0,n(6681).regex)("integer",/(^[0-9]*$)|(^-[0-9]+$)/);t.default=r},9103:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(6681),i=(0,r.withParams)({type:"ipAddress"},(function(e){if(!(0,r.req)(e))return!0;if("string"!=typeof e)return!1;var t=e.split(".");return 4===t.length&&t.every(o)}));t.default=i;var o=function(e){if(e.length>3||0===e.length)return!1;if("0"===e[0]&&"0"!==e)return!1;if(!e.match(/^\d+$/))return!1;var t=0|+e;return t>=0&&t<=255}},7340:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(6681);t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:":";return(0,r.withParams)({type:"macAddress"},(function(t){if(!(0,r.req)(t))return!0;if("string"!=typeof t)return!1;var n="string"==typeof e&&""!==e?t.split(e):12===t.length||16===t.length?t.match(/.{2}/g):null;return null!==n&&(6===n.length||8===n.length)&&n.every(i)}))};var i=function(e){return e.toLowerCase().match(/^[0-9a-f]{2}$/)}},5287:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(6681);t.default=function(e){return(0,r.withParams)({type:"maxLength",max:e},(function(t){return!(0,r.req)(t)||(0,r.len)(t)<=e}))}},301:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(6681);t.default=function(e){return(0,r.withParams)({type:"maxValue",max:e},(function(t){return!(0,r.req)(t)||(!/\s/.test(t)||t instanceof Date)&&+t<=+e}))}},3091:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(6681);t.default=function(e){return(0,r.withParams)({type:"minLength",min:e},(function(t){return!(0,r.req)(t)||(0,r.len)(t)>=e}))}},2628:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(6681);t.default=function(e){return(0,r.withParams)({type:"minValue",min:e},(function(t){return!(0,r.req)(t)||(!/\s/.test(t)||t instanceof Date)&&+t>=+e}))}},2500:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(6681);t.default=function(e){return(0,r.withParams)({type:"not"},(function(t,n){return!(0,r.req)(t)||!e.call(this,t,n)}))}},5669:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=(0,n(6681).regex)("numeric",/^[0-9]*$/);t.default=r},5832:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(6681);t.default=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return(0,r.withParams)({type:"or"},(function(){for(var e=this,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return t.length>0&&t.reduce((function(t,n){return t||n.apply(e,r)}),!1)}))}},2419:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(6681),i=(0,r.withParams)({type:"required"},(function(e){return"string"==typeof e?(0,r.req)(e.trim()):(0,r.req)(e)}));t.default=i},2941:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(6681);t.default=function(e){return(0,r.withParams)({type:"requiredIf",prop:e},(function(t,n){return!(0,r.ref)(e,this,n)||(0,r.req)(t)}))}},8300:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(6681);t.default=function(e){return(0,r.withParams)({type:"requiredUnless",prop:e},(function(t,n){return!!(0,r.ref)(e,this,n)||(0,r.req)(t)}))}},918:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(6681);t.default=function(e){return(0,r.withParams)({type:"sameAs",eq:e},(function(t,n){return t===(0,r.ref)(e,this,n)}))}},3213:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=(0,n(6681).regex)("url",/^(?:(?:(?:https?|ftp):)?\/\/)(?:\S+(?::\S*)?@)?(?:(?!(?:10|127)(?:\.\d{1,3}){3})(?!(?:169\.254|192\.168)(?:\.\d{1,3}){2})(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-z0-9\u00a1-\uffff][a-z0-9\u00a1-\uffff_-]{0,62})?[a-z0-9\u00a1-\uffff]\.)+(?:[a-z\u00a1-\uffff]{2,}\.?))(?::\d{2,5})?(?:[/?#]\S*)?$/i);t.default=r},8085:(e,t,n)=>{"use strict";var r=n(4155);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i="web"===r.env.BUILD?n(16).R:n(8413).withParams;t.default=i},16:(e,t,n)=>{"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}t.R=void 0;var i="undefined"!=typeof window?window:void 0!==n.g?n.g:{},o=i.vuelidate?i.vuelidate.withParams:function(e,t){return"object"===r(e)&&void 0!==t?t:e((function(){}))};t.R=o}}]);
     1(self.webpackChunkiande_plugin=self.webpackChunkiande_plugin||[]).push([[736],{7750:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});const r={name:"Label",props:{for:{type:String,required:!0},side:{type:String,default:""}}}},1234:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});const r={components:{FormError:n(1968).Z},model:{prop:"value",event:"updateValue"},props:{fieldClass:{type:String,default:null},id:{type:String,required:!0},v:{type:Object,required:!0},value:{type:null,required:!0}},computed:{errorId:function(){return"".concat(this.id,"__error")},modelValue:{get:function(){return this.value},set:function(e){this.$emit("updateValue",e)}}}}},2050:(e,t,n)=>{"use strict";n.d(t,{XV:()=>f,hT:()=>u,k:()=>s,m7:()=>l,s3:()=>a,x$:()=>o});var r=n(9490),i=n(379),o=i.BM.regex("cep",/^\d{8}$/),a=i.BM.regex("cnpj",/^\d{14}$/);function u(e){return!e||"string"==typeof e&&r.ou.fromISO(e).isValid}function s(e){return!e}var l=i.BM.regex("phone",/^\d{10,11}$/),c=/^([01][0-9]|2[0-3]):[0-5][0-9]$/;function f(e){return!e||"string"==typeof e&&Boolean(e.match(c))}},9490:(e,t)=>{"use strict";function n(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function r(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}function i(){return i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i.apply(this,arguments)}function o(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,u(e,t)}function a(e){return a=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},a(e)}function u(e,t){return u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},u(e,t)}function s(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function l(e,t,n){return l=s()?Reflect.construct:function(e,t,n){var r=[null];r.push.apply(r,t);var i=new(Function.bind.apply(e,r));return n&&u(i,n.prototype),i},l.apply(null,arguments)}function c(e){var t="function"==typeof Map?new Map:void 0;return c=function(e){if(null===e||(n=e,-1===Function.toString.call(n).indexOf("[native code]")))return e;var n;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,r)}function r(){return l(e,arguments,a(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),u(r,e)},c(e)}function f(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}function d(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function h(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return d(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?d(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var m=function(e){function t(){return e.apply(this,arguments)||this}return o(t,e),t}(c(Error)),v=function(e){function t(t){return e.call(this,"Invalid DateTime: "+t.toMessage())||this}return o(t,e),t}(m),y=function(e){function t(t){return e.call(this,"Invalid Interval: "+t.toMessage())||this}return o(t,e),t}(m),p=function(e){function t(t){return e.call(this,"Invalid Duration: "+t.toMessage())||this}return o(t,e),t}(m),g=function(e){function t(){return e.apply(this,arguments)||this}return o(t,e),t}(m),b=function(e){function t(t){return e.call(this,"Invalid unit "+t)||this}return o(t,e),t}(m),w=function(e){function t(){return e.apply(this,arguments)||this}return o(t,e),t}(m),k=function(e){function t(){return e.call(this,"Zone is an abstract class")||this}return o(t,e),t}(m),O="numeric",_="short",S="long",T={year:O,month:O,day:O},x={year:O,month:_,day:O},M={year:O,month:_,day:O,weekday:_},N={year:O,month:S,day:O},D={year:O,month:S,day:O,weekday:S},V={hour:O,minute:O},E={hour:O,minute:O,second:O},I={hour:O,minute:O,second:O,timeZoneName:_},j={hour:O,minute:O,second:O,timeZoneName:S},P={hour:O,minute:O,hourCycle:"h23"},C={hour:O,minute:O,second:O,hourCycle:"h23"},A={hour:O,minute:O,second:O,hourCycle:"h23",timeZoneName:_},L={hour:O,minute:O,second:O,hourCycle:"h23",timeZoneName:S},Z={year:O,month:O,day:O,hour:O,minute:O},F={year:O,month:O,day:O,hour:O,minute:O,second:O},q={year:O,month:_,day:O,hour:O,minute:O},z={year:O,month:_,day:O,hour:O,minute:O,second:O},U={year:O,month:_,day:O,weekday:_,hour:O,minute:O},$={year:O,month:S,day:O,hour:O,minute:O,timeZoneName:_},R={year:O,month:S,day:O,hour:O,minute:O,second:O,timeZoneName:_},W={year:O,month:S,day:O,weekday:S,hour:O,minute:O,timeZoneName:S},H={year:O,month:S,day:O,weekday:S,hour:O,minute:O,second:O,timeZoneName:S};function J(e){return void 0===e}function Y(e){return"number"==typeof e}function G(e){return"number"==typeof e&&e%1==0}function B(){try{return"undefined"!=typeof Intl&&!!Intl.RelativeTimeFormat}catch(e){return!1}}function Q(e,t,n){if(0!==e.length)return e.reduce((function(e,r){var i=[t(r),r];return e&&n(e[0],i[0])===e[0]?e:i}),null)[1]}function X(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function K(e,t,n){return G(e)&&e>=t&&e<=n}function ee(e,t){return void 0===t&&(t=2),e<0?"-"+(""+-e).padStart(t,"0"):(""+e).padStart(t,"0")}function te(e){return J(e)||null===e||""===e?void 0:parseInt(e,10)}function ne(e){return J(e)||null===e||""===e?void 0:parseFloat(e)}function re(e){if(!J(e)&&null!==e&&""!==e){var t=1e3*parseFloat("0."+e);return Math.floor(t)}}function ie(e,t,n){void 0===n&&(n=!1);var r=Math.pow(10,t);return(n?Math.trunc:Math.round)(e*r)/r}function oe(e){return e%4==0&&(e%100!=0||e%400==0)}function ae(e){return oe(e)?366:365}function ue(e,t){var n=function(e,t){return e-t*Math.floor(e/t)}(t-1,12)+1;return 2===n?oe(e+(t-n)/12)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][n-1]}function se(e){var t=Date.UTC(e.year,e.month-1,e.day,e.hour,e.minute,e.second,e.millisecond);return e.year<100&&e.year>=0&&(t=new Date(t)).setUTCFullYear(t.getUTCFullYear()-1900),+t}function le(e){var t=(e+Math.floor(e/4)-Math.floor(e/100)+Math.floor(e/400))%7,n=e-1,r=(n+Math.floor(n/4)-Math.floor(n/100)+Math.floor(n/400))%7;return 4===t||3===r?53:52}function ce(e){return e>99?e:e>60?1900+e:2e3+e}function fe(e,t,n,r){void 0===r&&(r=null);var o=new Date(e),a={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};r&&(a.timeZone=r);var u=i({timeZoneName:t},a),s=new Intl.DateTimeFormat(n,u).formatToParts(o).find((function(e){return"timezonename"===e.type.toLowerCase()}));return s?s.value:null}function de(e,t){var n=parseInt(e,10);Number.isNaN(n)&&(n=0);var r=parseInt(t,10)||0;return 60*n+(n<0||Object.is(n,-0)?-r:r)}function he(e){var t=Number(e);if("boolean"==typeof e||""===e||Number.isNaN(t))throw new w("Invalid unit value "+e);return t}function me(e,t){var n={};for(var r in e)if(X(e,r)){var i=e[r];if(null==i)continue;n[t(r)]=he(i)}return n}function ve(e,t){var n=Math.trunc(Math.abs(e/60)),r=Math.trunc(Math.abs(e%60)),i=e>=0?"+":"-";switch(t){case"short":return""+i+ee(n,2)+":"+ee(r,2);case"narrow":return""+i+n+(r>0?":"+r:"");case"techie":return""+i+ee(n,2)+ee(r,2);default:throw new RangeError("Value format "+t+" is out of range for property format")}}function ye(e){return function(e,t){return t.reduce((function(t,n){return t[n]=e[n],t}),{})}(e,["hour","minute","second","millisecond"])}var pe=/[A-Za-z_+-]{1,256}(:?\/[A-Za-z0-9_+-]{1,256}(\/[A-Za-z0-9_+-]{1,256})?)?/,ge=["January","February","March","April","May","June","July","August","September","October","November","December"],be=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],we=["J","F","M","A","M","J","J","A","S","O","N","D"];function ke(e){switch(e){case"narrow":return[].concat(we);case"short":return[].concat(be);case"long":return[].concat(ge);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}}var Oe=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],_e=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],Se=["M","T","W","T","F","S","S"];function Te(e){switch(e){case"narrow":return[].concat(Se);case"short":return[].concat(_e);case"long":return[].concat(Oe);case"numeric":return["1","2","3","4","5","6","7"];default:return null}}var xe=["AM","PM"],Me=["Before Christ","Anno Domini"],Ne=["BC","AD"],De=["B","A"];function Ve(e){switch(e){case"narrow":return[].concat(De);case"short":return[].concat(Ne);case"long":return[].concat(Me);default:return null}}function Ee(e,t){for(var n,r="",i=h(e);!(n=i()).done;){var o=n.value;o.literal?r+=o.val:r+=t(o.val)}return r}var Ie={D:T,DD:x,DDD:N,DDDD:D,t:V,tt:E,ttt:I,tttt:j,T:P,TT:C,TTT:A,TTTT:L,f:Z,ff:q,fff:$,ffff:W,F,FF:z,FFF:R,FFFF:H},je=function(){function e(e,t){this.opts=t,this.loc=e,this.systemLoc=null}e.create=function(t,n){return void 0===n&&(n={}),new e(t,n)},e.parseFormat=function(e){for(var t=null,n="",r=!1,i=[],o=0;o<e.length;o++){var a=e.charAt(o);"'"===a?(n.length>0&&i.push({literal:r,val:n}),t=null,n="",r=!r):r||a===t?n+=a:(n.length>0&&i.push({literal:!1,val:n}),n=a,t=a)}return n.length>0&&i.push({literal:r,val:n}),i},e.macroTokenToFormatOpts=function(e){return Ie[e]};var t=e.prototype;return t.formatWithSystemDefault=function(e,t){return null===this.systemLoc&&(this.systemLoc=this.loc.redefaultToSystem()),this.systemLoc.dtFormatter(e,i({},this.opts,t)).format()},t.formatDateTime=function(e,t){return void 0===t&&(t={}),this.loc.dtFormatter(e,i({},this.opts,t)).format()},t.formatDateTimeParts=function(e,t){return void 0===t&&(t={}),this.loc.dtFormatter(e,i({},this.opts,t)).formatToParts()},t.resolvedOptions=function(e,t){return void 0===t&&(t={}),this.loc.dtFormatter(e,i({},this.opts,t)).resolvedOptions()},t.num=function(e,t){if(void 0===t&&(t=0),this.opts.forceSimple)return ee(e,t);var n=i({},this.opts);return t>0&&(n.padTo=t),this.loc.numberFormatter(n).format(e)},t.formatDateTimeFromString=function(t,n){var r=this,i="en"===this.loc.listingMode(),o=this.loc.outputCalendar&&"gregory"!==this.loc.outputCalendar,a=function(e,n){return r.loc.extract(t,e,n)},u=function(e){return t.isOffsetFixed&&0===t.offset&&e.allowZ?"Z":t.isValid?t.zone.formatOffset(t.ts,e.format):""},s=function(){return i?function(e){return xe[e.hour<12?0:1]}(t):a({hour:"numeric",hourCycle:"h12"},"dayperiod")},l=function(e,n){return i?function(e,t){return ke(t)[e.month-1]}(t,e):a(n?{month:e}:{month:e,day:"numeric"},"month")},c=function(e,n){return i?function(e,t){return Te(t)[e.weekday-1]}(t,e):a(n?{weekday:e}:{weekday:e,month:"long",day:"numeric"},"weekday")},f=function(e){return i?function(e,t){return Ve(t)[e.year<0?0:1]}(t,e):a({era:e},"era")};return Ee(e.parseFormat(n),(function(n){switch(n){case"S":return r.num(t.millisecond);case"u":case"SSS":return r.num(t.millisecond,3);case"s":return r.num(t.second);case"ss":return r.num(t.second,2);case"uu":return r.num(Math.floor(t.millisecond/10),2);case"uuu":return r.num(Math.floor(t.millisecond/100));case"m":return r.num(t.minute);case"mm":return r.num(t.minute,2);case"h":return r.num(t.hour%12==0?12:t.hour%12);case"hh":return r.num(t.hour%12==0?12:t.hour%12,2);case"H":return r.num(t.hour);case"HH":return r.num(t.hour,2);case"Z":return u({format:"narrow",allowZ:r.opts.allowZ});case"ZZ":return u({format:"short",allowZ:r.opts.allowZ});case"ZZZ":return u({format:"techie",allowZ:r.opts.allowZ});case"ZZZZ":return t.zone.offsetName(t.ts,{format:"short",locale:r.loc.locale});case"ZZZZZ":return t.zone.offsetName(t.ts,{format:"long",locale:r.loc.locale});case"z":return t.zoneName;case"a":return s();case"d":return o?a({day:"numeric"},"day"):r.num(t.day);case"dd":return o?a({day:"2-digit"},"day"):r.num(t.day,2);case"c":case"E":return r.num(t.weekday);case"ccc":return c("short",!0);case"cccc":return c("long",!0);case"ccccc":return c("narrow",!0);case"EEE":return c("short",!1);case"EEEE":return c("long",!1);case"EEEEE":return c("narrow",!1);case"L":return o?a({month:"numeric",day:"numeric"},"month"):r.num(t.month);case"LL":return o?a({month:"2-digit",day:"numeric"},"month"):r.num(t.month,2);case"LLL":return l("short",!0);case"LLLL":return l("long",!0);case"LLLLL":return l("narrow",!0);case"M":return o?a({month:"numeric"},"month"):r.num(t.month);case"MM":return o?a({month:"2-digit"},"month"):r.num(t.month,2);case"MMM":return l("short",!1);case"MMMM":return l("long",!1);case"MMMMM":return l("narrow",!1);case"y":return o?a({year:"numeric"},"year"):r.num(t.year);case"yy":return o?a({year:"2-digit"},"year"):r.num(t.year.toString().slice(-2),2);case"yyyy":return o?a({year:"numeric"},"year"):r.num(t.year,4);case"yyyyyy":return o?a({year:"numeric"},"year"):r.num(t.year,6);case"G":return f("short");case"GG":return f("long");case"GGGGG":return f("narrow");case"kk":return r.num(t.weekYear.toString().slice(-2),2);case"kkkk":return r.num(t.weekYear,4);case"W":return r.num(t.weekNumber);case"WW":return r.num(t.weekNumber,2);case"o":return r.num(t.ordinal);case"ooo":return r.num(t.ordinal,3);case"q":return r.num(t.quarter);case"qq":return r.num(t.quarter,2);case"X":return r.num(Math.floor(t.ts/1e3));case"x":return r.num(t.ts);default:return function(n){var i=e.macroTokenToFormatOpts(n);return i?r.formatWithSystemDefault(t,i):n}(n)}}))},t.formatDurationFromString=function(t,n){var r,i=this,o=function(e){switch(e[0]){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":return"hour";case"d":return"day";case"M":return"month";case"y":return"year";default:return null}},a=e.parseFormat(n),u=a.reduce((function(e,t){var n=t.literal,r=t.val;return n?e:e.concat(r)}),[]),s=t.shiftTo.apply(t,u.map(o).filter((function(e){return e})));return Ee(a,(r=s,function(e){var t=o(e);return t?i.num(r.get(t),e.length):e}))},e}(),Pe=function(){function e(e,t){this.reason=e,this.explanation=t}return e.prototype.toMessage=function(){return this.explanation?this.reason+": "+this.explanation:this.reason},e}(),Ce=function(){function e(){}var t=e.prototype;return t.offsetName=function(e,t){throw new k},t.formatOffset=function(e,t){throw new k},t.offset=function(e){throw new k},t.equals=function(e){throw new k},r(e,[{key:"type",get:function(){throw new k}},{key:"name",get:function(){throw new k}},{key:"isUniversal",get:function(){throw new k}},{key:"isValid",get:function(){throw new k}}]),e}(),Ae=null,Le=function(e){function t(){return e.apply(this,arguments)||this}o(t,e);var n=t.prototype;return n.offsetName=function(e,t){return fe(e,t.format,t.locale)},n.formatOffset=function(e,t){return ve(this.offset(e),t)},n.offset=function(e){return-new Date(e).getTimezoneOffset()},n.equals=function(e){return"system"===e.type},r(t,[{key:"type",get:function(){return"system"}},{key:"name",get:function(){return(new Intl.DateTimeFormat).resolvedOptions().timeZone}},{key:"isUniversal",get:function(){return!1}},{key:"isValid",get:function(){return!0}}],[{key:"instance",get:function(){return null===Ae&&(Ae=new t),Ae}}]),t}(Ce);RegExp("^"+pe.source+"$");var Ze={};var Fe={year:0,month:1,day:2,hour:3,minute:4,second:5};var qe={},ze=function(e){function t(n){var r;return(r=e.call(this)||this).zoneName=n,r.valid=t.isValidZone(n),r}o(t,e),t.create=function(e){return qe[e]||(qe[e]=new t(e)),qe[e]},t.resetCache=function(){qe={},Ze={}},t.isValidSpecifier=function(e){return this.isValidZone(e)},t.isValidZone=function(e){if(!e)return!1;try{return new Intl.DateTimeFormat("en-US",{timeZone:e}).format(),!0}catch(e){return!1}};var n=t.prototype;return n.offsetName=function(e,t){return fe(e,t.format,t.locale,this.name)},n.formatOffset=function(e,t){return ve(this.offset(e),t)},n.offset=function(e){var t=new Date(e);if(isNaN(t))return NaN;var n,r=(n=this.name,Ze[n]||(Ze[n]=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:n,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"})),Ze[n]),i=r.formatToParts?function(e,t){for(var n=e.formatToParts(t),r=[],i=0;i<n.length;i++){var o=n[i],a=o.type,u=o.value,s=Fe[a];J(s)||(r[s]=parseInt(u,10))}return r}(r,t):function(e,t){var n=e.format(t).replace(/\u200E/g,""),r=/(\d+)\/(\d+)\/(\d+),? (\d+):(\d+):(\d+)/.exec(n),i=r[1],o=r[2];return[r[3],i,o,r[4],r[5],r[6]]}(r,t),o=i[0],a=i[1],u=i[2],s=i[3],l=+t,c=l%1e3;return(se({year:o,month:a,day:u,hour:24===s?0:s,minute:i[4],second:i[5],millisecond:0})-(l-=c>=0?c:1e3+c))/6e4},n.equals=function(e){return"iana"===e.type&&e.name===this.name},r(t,[{key:"type",get:function(){return"iana"}},{key:"name",get:function(){return this.zoneName}},{key:"isUniversal",get:function(){return!1}},{key:"isValid",get:function(){return this.valid}}]),t}(Ce),Ue=null,$e=function(e){function t(t){var n;return(n=e.call(this)||this).fixed=t,n}o(t,e),t.instance=function(e){return 0===e?t.utcInstance:new t(e)},t.parseSpecifier=function(e){if(e){var n=e.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(n)return new t(de(n[1],n[2]))}return null};var n=t.prototype;return n.offsetName=function(){return this.name},n.formatOffset=function(e,t){return ve(this.fixed,t)},n.offset=function(){return this.fixed},n.equals=function(e){return"fixed"===e.type&&e.fixed===this.fixed},r(t,[{key:"type",get:function(){return"fixed"}},{key:"name",get:function(){return 0===this.fixed?"UTC":"UTC"+ve(this.fixed,"narrow")}},{key:"isUniversal",get:function(){return!0}},{key:"isValid",get:function(){return!0}}],[{key:"utcInstance",get:function(){return null===Ue&&(Ue=new t(0)),Ue}}]),t}(Ce),Re=function(e){function t(t){var n;return(n=e.call(this)||this).zoneName=t,n}o(t,e);var n=t.prototype;return n.offsetName=function(){return null},n.formatOffset=function(){return""},n.offset=function(){return NaN},n.equals=function(){return!1},r(t,[{key:"type",get:function(){return"invalid"}},{key:"name",get:function(){return this.zoneName}},{key:"isUniversal",get:function(){return!1}},{key:"isValid",get:function(){return!1}}]),t}(Ce);function We(e,t){if(J(e)||null===e)return t;if(e instanceof Ce)return e;if("string"==typeof e){var n=e.toLowerCase();return"local"===n||"system"===n?t:"utc"===n||"gmt"===n?$e.utcInstance:$e.parseSpecifier(n)||ze.create(e)}return Y(e)?$e.instance(e):"object"==typeof e&&e.offset&&"number"==typeof e.offset?e:new Re(e)}var He,Je=function(){return Date.now()},Ye="system",Ge=null,Be=null,Qe=null,Xe=function(){function e(){}return e.resetCaches=function(){ft.resetCache(),ze.resetCache()},r(e,null,[{key:"now",get:function(){return Je},set:function(e){Je=e}},{key:"defaultZone",get:function(){return We(Ye,Le.instance)},set:function(e){Ye=e}},{key:"defaultLocale",get:function(){return Ge},set:function(e){Ge=e}},{key:"defaultNumberingSystem",get:function(){return Be},set:function(e){Be=e}},{key:"defaultOutputCalendar",get:function(){return Qe},set:function(e){Qe=e}},{key:"throwOnInvalid",get:function(){return He},set:function(e){He=e}}]),e}(),Ke=["base"],et=["padTo","floor"],tt={};var nt={};function rt(e,t){void 0===t&&(t={});var n=JSON.stringify([e,t]),r=nt[n];return r||(r=new Intl.DateTimeFormat(e,t),nt[n]=r),r}var it={};var ot={};var at=null;function ut(e,t,n,r,i){var o=e.listingMode(n);return"error"===o?null:"en"===o?r(t):i(t)}var st=function(){function e(e,t,n){this.padTo=n.padTo||0,this.floor=n.floor||!1,n.padTo,n.floor;var r=f(n,et);if(!t||Object.keys(r).length>0){var o=i({useGrouping:!1},n);n.padTo>0&&(o.minimumIntegerDigits=n.padTo),this.inf=function(e,t){void 0===t&&(t={});var n=JSON.stringify([e,t]),r=it[n];return r||(r=new Intl.NumberFormat(e,t),it[n]=r),r}(e,o)}}return e.prototype.format=function(e){if(this.inf){var t=this.floor?Math.floor(e):e;return this.inf.format(t)}return ee(this.floor?Math.floor(e):ie(e,3),this.padTo)},e}(),lt=function(){function e(e,t,n){var r;if(this.opts=n,e.zone.isUniversal){var o=e.offset/60*-1,a=o>=0?"Etc/GMT+"+o:"Etc/GMT"+o;0!==e.offset&&ze.create(a).valid?(r=a,this.dt=e):(r="UTC",n.timeZoneName?this.dt=e:this.dt=0===e.offset?e:mr.fromMillis(e.ts+60*e.offset*1e3))}else"system"===e.zone.type?this.dt=e:(this.dt=e,r=e.zone.name);var u=i({},this.opts);r&&(u.timeZone=r),this.dtf=rt(t,u)}var t=e.prototype;return t.format=function(){return this.dtf.format(this.dt.toJSDate())},t.formatToParts=function(){return this.dtf.formatToParts(this.dt.toJSDate())},t.resolvedOptions=function(){return this.dtf.resolvedOptions()},e}(),ct=function(){function e(e,t,n){this.opts=i({style:"long"},n),!t&&B()&&(this.rtf=function(e,t){void 0===t&&(t={});var n=t;n.base;var r=f(n,Ke),i=JSON.stringify([e,r]),o=ot[i];return o||(o=new Intl.RelativeTimeFormat(e,t),ot[i]=o),o}(e,n))}var t=e.prototype;return t.format=function(e,t){return this.rtf?this.rtf.format(e,t):function(e,t,n,r){void 0===n&&(n="always"),void 0===r&&(r=!1);var i={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."]},o=-1===["hours","minutes","seconds"].indexOf(e);if("auto"===n&&o){var a="days"===e;switch(t){case 1:return a?"tomorrow":"next "+i[e][0];case-1:return a?"yesterday":"last "+i[e][0];case 0:return a?"today":"this "+i[e][0]}}var u=Object.is(t,-0)||t<0,s=Math.abs(t),l=1===s,c=i[e],f=r?l?c[1]:c[2]||c[1]:l?i[e][0]:e;return u?s+" "+f+" ago":"in "+s+" "+f}(t,e,this.opts.numeric,"long"!==this.opts.style)},t.formatToParts=function(e,t){return this.rtf?this.rtf.formatToParts(e,t):[]},e}(),ft=function(){function e(e,t,n,r){var i=function(e){var t=e.indexOf("-u-");if(-1===t)return[e];var n,r=e.substring(0,t);try{n=rt(e).resolvedOptions()}catch(e){n=rt(r).resolvedOptions()}var i=n;return[r,i.numberingSystem,i.calendar]}(e),o=i[0],a=i[1],u=i[2];this.locale=o,this.numberingSystem=t||a||null,this.outputCalendar=n||u||null,this.intl=function(e,t,n){return n||t?(e+="-u",n&&(e+="-ca-"+n),t&&(e+="-nu-"+t),e):e}(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=r,this.fastNumbersCached=null}e.fromOpts=function(t){return e.create(t.locale,t.numberingSystem,t.outputCalendar,t.defaultToEN)},e.create=function(t,n,r,i){void 0===i&&(i=!1);var o=t||Xe.defaultLocale;return new e(o||(i?"en-US":at||(at=(new Intl.DateTimeFormat).resolvedOptions().locale)),n||Xe.defaultNumberingSystem,r||Xe.defaultOutputCalendar,o)},e.resetCache=function(){at=null,nt={},it={},ot={}},e.fromObject=function(t){var n=void 0===t?{}:t,r=n.locale,i=n.numberingSystem,o=n.outputCalendar;return e.create(r,i,o)};var t=e.prototype;return t.listingMode=function(){var e=this.isEnglish(),t=!(null!==this.numberingSystem&&"latn"!==this.numberingSystem||null!==this.outputCalendar&&"gregory"!==this.outputCalendar);return e&&t?"en":"intl"},t.clone=function(t){return t&&0!==Object.getOwnPropertyNames(t).length?e.create(t.locale||this.specifiedLocale,t.numberingSystem||this.numberingSystem,t.outputCalendar||this.outputCalendar,t.defaultToEN||!1):this},t.redefaultToEN=function(e){return void 0===e&&(e={}),this.clone(i({},e,{defaultToEN:!0}))},t.redefaultToSystem=function(e){return void 0===e&&(e={}),this.clone(i({},e,{defaultToEN:!1}))},t.months=function(e,t,n){var r=this;return void 0===t&&(t=!1),void 0===n&&(n=!0),ut(this,e,n,ke,(function(){var n=t?{month:e,day:"numeric"}:{month:e},i=t?"format":"standalone";return r.monthsCache[i][e]||(r.monthsCache[i][e]=function(e){for(var t=[],n=1;n<=12;n++){var r=mr.utc(2016,n,1);t.push(e(r))}return t}((function(e){return r.extract(e,n,"month")}))),r.monthsCache[i][e]}))},t.weekdays=function(e,t,n){var r=this;return void 0===t&&(t=!1),void 0===n&&(n=!0),ut(this,e,n,Te,(function(){var n=t?{weekday:e,year:"numeric",month:"long",day:"numeric"}:{weekday:e},i=t?"format":"standalone";return r.weekdaysCache[i][e]||(r.weekdaysCache[i][e]=function(e){for(var t=[],n=1;n<=7;n++){var r=mr.utc(2016,11,13+n);t.push(e(r))}return t}((function(e){return r.extract(e,n,"weekday")}))),r.weekdaysCache[i][e]}))},t.meridiems=function(e){var t=this;return void 0===e&&(e=!0),ut(this,void 0,e,(function(){return xe}),(function(){if(!t.meridiemCache){var e={hour:"numeric",hourCycle:"h12"};t.meridiemCache=[mr.utc(2016,11,13,9),mr.utc(2016,11,13,19)].map((function(n){return t.extract(n,e,"dayperiod")}))}return t.meridiemCache}))},t.eras=function(e,t){var n=this;return void 0===t&&(t=!0),ut(this,e,t,Ve,(function(){var t={era:e};return n.eraCache[e]||(n.eraCache[e]=[mr.utc(-40,1,1),mr.utc(2017,1,1)].map((function(e){return n.extract(e,t,"era")}))),n.eraCache[e]}))},t.extract=function(e,t,n){var r=this.dtFormatter(e,t).formatToParts().find((function(e){return e.type.toLowerCase()===n}));return r?r.value:null},t.numberFormatter=function(e){return void 0===e&&(e={}),new st(this.intl,e.forceSimple||this.fastNumbers,e)},t.dtFormatter=function(e,t){return void 0===t&&(t={}),new lt(e,this.intl,t)},t.relFormatter=function(e){return void 0===e&&(e={}),new ct(this.intl,this.isEnglish(),e)},t.listFormatter=function(e){return void 0===e&&(e={}),function(e,t){void 0===t&&(t={});var n=JSON.stringify([e,t]),r=tt[n];return r||(r=new Intl.ListFormat(e,t),tt[n]=r),r}(this.intl,e)},t.isEnglish=function(){return"en"===this.locale||"en-us"===this.locale.toLowerCase()||new Intl.DateTimeFormat(this.intl).resolvedOptions().locale.startsWith("en-us")},t.equals=function(e){return this.locale===e.locale&&this.numberingSystem===e.numberingSystem&&this.outputCalendar===e.outputCalendar},r(e,[{key:"fastNumbers",get:function(){var e;return null==this.fastNumbersCached&&(this.fastNumbersCached=(!(e=this).numberingSystem||"latn"===e.numberingSystem)&&("latn"===e.numberingSystem||!e.locale||e.locale.startsWith("en")||"latn"===new Intl.DateTimeFormat(e.intl).resolvedOptions().numberingSystem)),this.fastNumbersCached}}]),e}();function dt(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=t.reduce((function(e,t){return e+t.source}),"");return RegExp("^"+r+"$")}function ht(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){return t.reduce((function(t,n){var r=t[0],o=t[1],a=t[2],u=n(e,a),s=u[0],l=u[1],c=u[2];return[i({},r,s),o||l,c]}),[{},null,1]).slice(0,2)}}function mt(e){if(null==e)return[null,null];for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];for(var i=0,o=n;i<o.length;i++){var a=o[i],u=a[0],s=a[1],l=u.exec(e);if(l)return s(l)}return[null,null]}function vt(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e,n){var r,i={};for(r=0;r<t.length;r++)i[t[r]]=te(e[n+r]);return[i,null,n+r]}}var yt=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,pt=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,gt=RegExp(""+pt.source+yt.source+"?"),bt=RegExp("(?:T"+gt.source+")?"),wt=vt("weekYear","weekNumber","weekDay"),kt=vt("year","ordinal"),Ot=RegExp(pt.source+" ?(?:"+yt.source+"|("+pe.source+"))?"),_t=RegExp("(?: "+Ot.source+")?");function St(e,t,n){var r=e[t];return J(r)?n:te(r)}function Tt(e,t){return[{year:St(e,t),month:St(e,t+1,1),day:St(e,t+2,1)},null,t+3]}function xt(e,t){return[{hours:St(e,t,0),minutes:St(e,t+1,0),seconds:St(e,t+2,0),milliseconds:re(e[t+3])},null,t+4]}function Mt(e,t){var n=!e[t]&&!e[t+1],r=de(e[t+1],e[t+2]);return[{},n?null:$e.instance(r),t+3]}function Nt(e,t){return[{},e[t]?ze.create(e[t]):null,t+1]}var Dt=RegExp("^T?"+pt.source+"$"),Vt=/^-?P(?:(?:(-?\d{1,9}(?:\.\d{1,9})?)Y)?(?:(-?\d{1,9}(?:\.\d{1,9})?)M)?(?:(-?\d{1,9}(?:\.\d{1,9})?)W)?(?:(-?\d{1,9}(?:\.\d{1,9})?)D)?(?:T(?:(-?\d{1,9}(?:\.\d{1,9})?)H)?(?:(-?\d{1,9}(?:\.\d{1,9})?)M)?(?:(-?\d{1,20})(?:[.,](-?\d{1,9}))?S)?)?)$/;function Et(e){var t=e[0],n=e[1],r=e[2],i=e[3],o=e[4],a=e[5],u=e[6],s=e[7],l=e[8],c="-"===t[0],f=s&&"-"===s[0],d=function(e,t){return void 0===t&&(t=!1),void 0!==e&&(t||e&&c)?-e:e};return[{years:d(ne(n)),months:d(ne(r)),weeks:d(ne(i)),days:d(ne(o)),hours:d(ne(a)),minutes:d(ne(u)),seconds:d(ne(s),"-0"===s),milliseconds:d(re(l),f)}]}var It={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function jt(e,t,n,r,i,o,a){var u={year:2===t.length?ce(te(t)):te(t),month:be.indexOf(n)+1,day:te(r),hour:te(i),minute:te(o)};return a&&(u.second=te(a)),e&&(u.weekday=e.length>3?Oe.indexOf(e)+1:_e.indexOf(e)+1),u}var Pt=/^(?:(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 Ct(e){var t,n=e[1],r=e[2],i=e[3],o=e[4],a=e[5],u=e[6],s=e[7],l=e[8],c=e[9],f=e[10],d=e[11],h=jt(n,o,i,r,a,u,s);return t=l?It[l]:c?0:de(f,d),[h,new $e(t)]}var At=/^(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$/,Lt=/^(Monday|Tuesday|Wedsday|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$/,Zt=/^(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 Ft(e){var t=e[1],n=e[2],r=e[3];return[jt(t,e[4],r,n,e[5],e[6],e[7]),$e.utcInstance]}function qt(e){var t=e[1],n=e[2],r=e[3],i=e[4],o=e[5],a=e[6];return[jt(t,e[7],n,r,i,o,a),$e.utcInstance]}var zt=dt(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,bt),Ut=dt(/(\d{4})-?W(\d\d)(?:-?(\d))?/,bt),$t=dt(/(\d{4})-?(\d{3})/,bt),Rt=dt(gt),Wt=ht(Tt,xt,Mt),Ht=ht(wt,xt,Mt),Jt=ht(kt,xt,Mt),Yt=ht(xt,Mt);var Gt=ht(xt);var Bt=dt(/(\d{4})-(\d\d)-(\d\d)/,_t),Qt=dt(Ot),Xt=ht(Tt,xt,Mt,Nt),Kt=ht(xt,Mt,Nt);var en={weeks:{days:7,hours:168,minutes:10080,seconds:604800,milliseconds:6048e5},days:{hours:24,minutes:1440,seconds:86400,milliseconds:864e5},hours:{minutes:60,seconds:3600,milliseconds:36e5},minutes:{seconds:60,milliseconds:6e4},seconds:{milliseconds:1e3}},tn=i({years:{quarters:4,months:12,weeks:52,days:365,hours:8760,minutes:525600,seconds:31536e3,milliseconds:31536e6},quarters:{months:3,weeks:13,days:91,hours:2184,minutes:131040,seconds:7862400,milliseconds:78624e5},months:{weeks:4,days:30,hours:720,minutes:43200,seconds:2592e3,milliseconds:2592e6}},en),nn=365.2425,rn=30.436875,on=i({years:{quarters:4,months:12,weeks:52.1775,days:nn,hours:8765.82,minutes:525949.2,seconds:525949.2*60,milliseconds:525949.2*60*1e3},quarters:{months:3,weeks:13.044375,days:91.310625,hours:2191.455,minutes:131487.3,seconds:525949.2*60/4,milliseconds:7889237999.999999},months:{weeks:4.3481250000000005,days:rn,hours:730.485,minutes:43829.1,seconds:2629746,milliseconds:2629746e3}},en),an=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],un=an.slice(0).reverse();function sn(e,t,n){void 0===n&&(n=!1);var r={values:n?t.values:i({},e.values,t.values||{}),loc:e.loc.clone(t.loc),conversionAccuracy:t.conversionAccuracy||e.conversionAccuracy};return new cn(r)}function ln(e,t,n,r,i){var o=e[i][n],a=t[n]/o,u=!(Math.sign(a)===Math.sign(r[i]))&&0!==r[i]&&Math.abs(a)<=1?function(e){return e<0?Math.floor(e):Math.ceil(e)}(a):Math.trunc(a);r[i]+=u,t[n]-=u*o}var cn=function(){function e(e){var t="longterm"===e.conversionAccuracy||!1;this.values=e.values,this.loc=e.loc||ft.create(),this.conversionAccuracy=t?"longterm":"casual",this.invalid=e.invalid||null,this.matrix=t?on:tn,this.isLuxonDuration=!0}e.fromMillis=function(t,n){return e.fromObject({milliseconds:t},n)},e.fromObject=function(t,n){if(void 0===n&&(n={}),null==t||"object"!=typeof t)throw new w("Duration.fromObject: argument expected to be an object, got "+(null===t?"null":typeof t));return new e({values:me(t,e.normalizeUnit),loc:ft.fromObject(n),conversionAccuracy:n.conversionAccuracy})},e.fromDurationLike=function(t){if(Y(t))return e.fromMillis(t);if(e.isDuration(t))return t;if("object"==typeof t)return e.fromObject(t);throw new w("Unknown duration argument "+t+" of type "+typeof t)},e.fromISO=function(t,n){var r=function(e){return mt(e,[Vt,Et])}(t),i=r[0];return i?e.fromObject(i,n):e.invalid("unparsable",'the input "'+t+"\" can't be parsed as ISO 8601")},e.fromISOTime=function(t,n){var r=function(e){return mt(e,[Dt,Gt])}(t),i=r[0];return i?e.fromObject(i,n):e.invalid("unparsable",'the input "'+t+"\" can't be parsed as ISO 8601")},e.invalid=function(t,n){if(void 0===n&&(n=null),!t)throw new w("need to specify a reason the Duration is invalid");var r=t instanceof Pe?t:new Pe(t,n);if(Xe.throwOnInvalid)throw new p(r);return new e({invalid:r})},e.normalizeUnit=function(e){var t={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():e];if(!t)throw new b(e);return t},e.isDuration=function(e){return e&&e.isLuxonDuration||!1};var t=e.prototype;return t.toFormat=function(e,t){void 0===t&&(t={});var n=i({},t,{floor:!1!==t.round&&!1!==t.floor});return this.isValid?je.create(this.loc,n).formatDurationFromString(this,e):"Invalid Duration"},t.toHuman=function(e){var t=this;void 0===e&&(e={});var n=an.map((function(n){var r=t.values[n];return J(r)?null:t.loc.numberFormatter(i({style:"unit",unitDisplay:"long"},e,{unit:n.slice(0,-1)})).format(r)})).filter((function(e){return e}));return this.loc.listFormatter(i({type:"conjunction",style:e.listStyle||"narrow"},e)).format(n)},t.toObject=function(){return this.isValid?i({},this.values):{}},t.toISO=function(){if(!this.isValid)return null;var e="P";return 0!==this.years&&(e+=this.years+"Y"),0===this.months&&0===this.quarters||(e+=this.months+3*this.quarters+"M"),0!==this.weeks&&(e+=this.weeks+"W"),0!==this.days&&(e+=this.days+"D"),0===this.hours&&0===this.minutes&&0===this.seconds&&0===this.milliseconds||(e+="T"),0!==this.hours&&(e+=this.hours+"H"),0!==this.minutes&&(e+=this.minutes+"M"),0===this.seconds&&0===this.milliseconds||(e+=ie(this.seconds+this.milliseconds/1e3,3)+"S"),"P"===e&&(e+="T0S"),e},t.toISOTime=function(e){if(void 0===e&&(e={}),!this.isValid)return null;var t=this.toMillis();if(t<0||t>=864e5)return null;e=i({suppressMilliseconds:!1,suppressSeconds:!1,includePrefix:!1,format:"extended"},e);var n=this.shiftTo("hours","minutes","seconds","milliseconds"),r="basic"===e.format?"hhmm":"hh:mm";e.suppressSeconds&&0===n.seconds&&0===n.milliseconds||(r+="basic"===e.format?"ss":":ss",e.suppressMilliseconds&&0===n.milliseconds||(r+=".SSS"));var o=n.toFormat(r);return e.includePrefix&&(o="T"+o),o},t.toJSON=function(){return this.toISO()},t.toString=function(){return this.toISO()},t.toMillis=function(){return this.as("milliseconds")},t.valueOf=function(){return this.toMillis()},t.plus=function(t){if(!this.isValid)return this;for(var n,r=e.fromDurationLike(t),i={},o=h(an);!(n=o()).done;){var a=n.value;(X(r.values,a)||X(this.values,a))&&(i[a]=r.get(a)+this.get(a))}return sn(this,{values:i},!0)},t.minus=function(t){if(!this.isValid)return this;var n=e.fromDurationLike(t);return this.plus(n.negate())},t.mapUnits=function(e){if(!this.isValid)return this;for(var t={},n=0,r=Object.keys(this.values);n<r.length;n++){var i=r[n];t[i]=he(e(this.values[i],i))}return sn(this,{values:t},!0)},t.get=function(t){return this[e.normalizeUnit(t)]},t.set=function(t){return this.isValid?sn(this,{values:i({},this.values,me(t,e.normalizeUnit))}):this},t.reconfigure=function(e){var t=void 0===e?{}:e,n=t.locale,r=t.numberingSystem,i=t.conversionAccuracy,o={loc:this.loc.clone({locale:n,numberingSystem:r})};return i&&(o.conversionAccuracy=i),sn(this,o)},t.as=function(e){return this.isValid?this.shiftTo(e).get(e):NaN},t.normalize=function(){if(!this.isValid)return this;var e=this.toObject();return function(e,t){un.reduce((function(n,r){return J(t[r])?n:(n&&ln(e,t,n,t,r),r)}),null)}(this.matrix,e),sn(this,{values:e},!0)},t.shiftTo=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];if(!this.isValid)return this;if(0===n.length)return this;n=n.map((function(t){return e.normalizeUnit(t)}));for(var i,o,a={},u={},s=this.toObject(),l=h(an);!(o=l()).done;){var c=o.value;if(n.indexOf(c)>=0){i=c;var f=0;for(var d in u)f+=this.matrix[d][c]*u[d],u[d]=0;Y(s[c])&&(f+=s[c]);var m=Math.trunc(f);for(var v in a[c]=m,u[c]=(1e3*f-1e3*m)/1e3,s)an.indexOf(v)>an.indexOf(c)&&ln(this.matrix,s,v,a,c)}else Y(s[c])&&(u[c]=s[c])}for(var y in u)0!==u[y]&&(a[i]+=y===i?u[y]:u[y]/this.matrix[i][y]);return sn(this,{values:a},!0).normalize()},t.negate=function(){if(!this.isValid)return this;for(var e={},t=0,n=Object.keys(this.values);t<n.length;t++){var r=n[t];e[r]=0===this.values[r]?0:-this.values[r]}return sn(this,{values:e},!0)},t.equals=function(e){if(!this.isValid||!e.isValid)return!1;if(!this.loc.equals(e.loc))return!1;for(var t,n=h(an);!(t=n()).done;){var r=t.value;if(i=this.values[r],o=e.values[r],!(void 0===i||0===i?void 0===o||0===o:i===o))return!1}var i,o;return!0},r(e,[{key:"locale",get:function(){return this.isValid?this.loc.locale:null}},{key:"numberingSystem",get:function(){return this.isValid?this.loc.numberingSystem:null}},{key:"years",get:function(){return this.isValid?this.values.years||0:NaN}},{key:"quarters",get:function(){return this.isValid?this.values.quarters||0:NaN}},{key:"months",get:function(){return this.isValid?this.values.months||0:NaN}},{key:"weeks",get:function(){return this.isValid?this.values.weeks||0:NaN}},{key:"days",get:function(){return this.isValid?this.values.days||0:NaN}},{key:"hours",get:function(){return this.isValid?this.values.hours||0:NaN}},{key:"minutes",get:function(){return this.isValid?this.values.minutes||0:NaN}},{key:"seconds",get:function(){return this.isValid?this.values.seconds||0:NaN}},{key:"milliseconds",get:function(){return this.isValid?this.values.milliseconds||0:NaN}},{key:"isValid",get:function(){return null===this.invalid}},{key:"invalidReason",get:function(){return this.invalid?this.invalid.reason:null}},{key:"invalidExplanation",get:function(){return this.invalid?this.invalid.explanation:null}}]),e}(),fn="Invalid Interval";function dn(e,t){return e&&e.isValid?t&&t.isValid?t<e?hn.invalid("end before start","The end of an interval must be after its start, but you had start="+e.toISO()+" and end="+t.toISO()):null:hn.invalid("missing or invalid end"):hn.invalid("missing or invalid start")}var hn=function(){function e(e){this.s=e.start,this.e=e.end,this.invalid=e.invalid||null,this.isLuxonInterval=!0}e.invalid=function(t,n){if(void 0===n&&(n=null),!t)throw new w("need to specify a reason the Interval is invalid");var r=t instanceof Pe?t:new Pe(t,n);if(Xe.throwOnInvalid)throw new y(r);return new e({invalid:r})},e.fromDateTimes=function(t,n){var r=vr(t),i=vr(n),o=dn(r,i);return null==o?new e({start:r,end:i}):o},e.after=function(t,n){var r=cn.fromDurationLike(n),i=vr(t);return e.fromDateTimes(i,i.plus(r))},e.before=function(t,n){var r=cn.fromDurationLike(n),i=vr(t);return e.fromDateTimes(i.minus(r),i)},e.fromISO=function(t,n){var r=(t||"").split("/",2),i=r[0],o=r[1];if(i&&o){var a,u,s,l;try{u=(a=mr.fromISO(i,n)).isValid}catch(o){u=!1}try{l=(s=mr.fromISO(o,n)).isValid}catch(o){l=!1}if(u&&l)return e.fromDateTimes(a,s);if(u){var c=cn.fromISO(o,n);if(c.isValid)return e.after(a,c)}else if(l){var f=cn.fromISO(i,n);if(f.isValid)return e.before(s,f)}}return e.invalid("unparsable",'the input "'+t+"\" can't be parsed as ISO 8601")},e.isInterval=function(e){return e&&e.isLuxonInterval||!1};var t=e.prototype;return t.length=function(e){return void 0===e&&(e="milliseconds"),this.isValid?this.toDuration.apply(this,[e]).get(e):NaN},t.count=function(e){if(void 0===e&&(e="milliseconds"),!this.isValid)return NaN;var t=this.start.startOf(e),n=this.end.startOf(e);return Math.floor(n.diff(t,e).get(e))+1},t.hasSame=function(e){return!!this.isValid&&(this.isEmpty()||this.e.minus(1).hasSame(this.s,e))},t.isEmpty=function(){return this.s.valueOf()===this.e.valueOf()},t.isAfter=function(e){return!!this.isValid&&this.s>e},t.isBefore=function(e){return!!this.isValid&&this.e<=e},t.contains=function(e){return!!this.isValid&&(this.s<=e&&this.e>e)},t.set=function(t){var n=void 0===t?{}:t,r=n.start,i=n.end;return this.isValid?e.fromDateTimes(r||this.s,i||this.e):this},t.splitAt=function(){var t=this;if(!this.isValid)return[];for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];for(var o=r.map(vr).filter((function(e){return t.contains(e)})).sort(),a=[],u=this.s,s=0;u<this.e;){var l=o[s]||this.e,c=+l>+this.e?this.e:l;a.push(e.fromDateTimes(u,c)),u=c,s+=1}return a},t.splitBy=function(t){var n=cn.fromDurationLike(t);if(!this.isValid||!n.isValid||0===n.as("milliseconds"))return[];for(var r,i=this.s,o=1,a=[];i<this.e;){var u=this.start.plus(n.mapUnits((function(e){return e*o})));r=+u>+this.e?this.e:u,a.push(e.fromDateTimes(i,r)),i=r,o+=1}return a},t.divideEqually=function(e){return this.isValid?this.splitBy(this.length()/e).slice(0,e):[]},t.overlaps=function(e){return this.e>e.s&&this.s<e.e},t.abutsStart=function(e){return!!this.isValid&&+this.e==+e.s},t.abutsEnd=function(e){return!!this.isValid&&+e.e==+this.s},t.engulfs=function(e){return!!this.isValid&&(this.s<=e.s&&this.e>=e.e)},t.equals=function(e){return!(!this.isValid||!e.isValid)&&(this.s.equals(e.s)&&this.e.equals(e.e))},t.intersection=function(t){if(!this.isValid)return this;var n=this.s>t.s?this.s:t.s,r=this.e<t.e?this.e:t.e;return n>=r?null:e.fromDateTimes(n,r)},t.union=function(t){if(!this.isValid)return this;var n=this.s<t.s?this.s:t.s,r=this.e>t.e?this.e:t.e;return e.fromDateTimes(n,r)},e.merge=function(e){var t=e.sort((function(e,t){return e.s-t.s})).reduce((function(e,t){var n=e[0],r=e[1];return r?r.overlaps(t)||r.abutsStart(t)?[n,r.union(t)]:[n.concat([r]),t]:[n,t]}),[[],null]),n=t[0],r=t[1];return r&&n.push(r),n},e.xor=function(t){for(var n,r,i=null,o=0,a=[],u=t.map((function(e){return[{time:e.s,type:"s"},{time:e.e,type:"e"}]})),s=h((n=Array.prototype).concat.apply(n,u).sort((function(e,t){return e.time-t.time})));!(r=s()).done;){var l=r.value;1===(o+="s"===l.type?1:-1)?i=l.time:(i&&+i!=+l.time&&a.push(e.fromDateTimes(i,l.time)),i=null)}return e.merge(a)},t.difference=function(){for(var t=this,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return e.xor([this].concat(r)).map((function(e){return t.intersection(e)})).filter((function(e){return e&&!e.isEmpty()}))},t.toString=function(){return this.isValid?"["+this.s.toISO()+" – "+this.e.toISO()+")":fn},t.toISO=function(e){return this.isValid?this.s.toISO(e)+"/"+this.e.toISO(e):fn},t.toISODate=function(){return this.isValid?this.s.toISODate()+"/"+this.e.toISODate():fn},t.toISOTime=function(e){return this.isValid?this.s.toISOTime(e)+"/"+this.e.toISOTime(e):fn},t.toFormat=function(e,t){var n=(void 0===t?{}:t).separator,r=void 0===n?" – ":n;return this.isValid?""+this.s.toFormat(e)+r+this.e.toFormat(e):fn},t.toDuration=function(e,t){return this.isValid?this.e.diff(this.s,e,t):cn.invalid(this.invalidReason)},t.mapEndpoints=function(t){return e.fromDateTimes(t(this.s),t(this.e))},r(e,[{key:"start",get:function(){return this.isValid?this.s:null}},{key:"end",get:function(){return this.isValid?this.e:null}},{key:"isValid",get:function(){return null===this.invalidReason}},{key:"invalidReason",get:function(){return this.invalid?this.invalid.reason:null}},{key:"invalidExplanation",get:function(){return this.invalid?this.invalid.explanation:null}}]),e}(),mn=function(){function e(){}return e.hasDST=function(e){void 0===e&&(e=Xe.defaultZone);var t=mr.now().setZone(e).set({month:12});return!e.isUniversal&&t.offset!==t.set({month:6}).offset},e.isValidIANAZone=function(e){return ze.isValidZone(e)},e.normalizeZone=function(e){return We(e,Xe.defaultZone)},e.months=function(e,t){void 0===e&&(e="long");var n=void 0===t?{}:t,r=n.locale,i=void 0===r?null:r,o=n.numberingSystem,a=void 0===o?null:o,u=n.locObj,s=void 0===u?null:u,l=n.outputCalendar,c=void 0===l?"gregory":l;return(s||ft.create(i,a,c)).months(e)},e.monthsFormat=function(e,t){void 0===e&&(e="long");var n=void 0===t?{}:t,r=n.locale,i=void 0===r?null:r,o=n.numberingSystem,a=void 0===o?null:o,u=n.locObj,s=void 0===u?null:u,l=n.outputCalendar,c=void 0===l?"gregory":l;return(s||ft.create(i,a,c)).months(e,!0)},e.weekdays=function(e,t){void 0===e&&(e="long");var n=void 0===t?{}:t,r=n.locale,i=void 0===r?null:r,o=n.numberingSystem,a=void 0===o?null:o,u=n.locObj;return((void 0===u?null:u)||ft.create(i,a,null)).weekdays(e)},e.weekdaysFormat=function(e,t){void 0===e&&(e="long");var n=void 0===t?{}:t,r=n.locale,i=void 0===r?null:r,o=n.numberingSystem,a=void 0===o?null:o,u=n.locObj;return((void 0===u?null:u)||ft.create(i,a,null)).weekdays(e,!0)},e.meridiems=function(e){var t=(void 0===e?{}:e).locale,n=void 0===t?null:t;return ft.create(n).meridiems()},e.eras=function(e,t){void 0===e&&(e="short");var n=(void 0===t?{}:t).locale,r=void 0===n?null:n;return ft.create(r,null,"gregory").eras(e)},e.features=function(){return{relative:B()}},e}();function vn(e,t){var n=function(e){return e.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf()},r=n(t)-n(e);return Math.floor(cn.fromMillis(r).as("days"))}function yn(e,t,n,r){var i=function(e,t,n){for(var r,i,o={},a=0,u=[["years",function(e,t){return t.year-e.year}],["quarters",function(e,t){return t.quarter-e.quarter}],["months",function(e,t){return t.month-e.month+12*(t.year-e.year)}],["weeks",function(e,t){var n=vn(e,t);return(n-n%7)/7}],["days",vn]];a<u.length;a++){var s=u[a],l=s[0],c=s[1];if(n.indexOf(l)>=0){var f;r=l;var d,h=c(e,t);(i=e.plus(((f={})[l]=h,f)))>t?(e=e.plus(((d={})[l]=h-1,d)),h-=1):e=i,o[l]=h}}return[e,o,i,r]}(e,t,n),o=i[0],a=i[1],u=i[2],s=i[3],l=t-o,c=n.filter((function(e){return["hours","minutes","seconds","milliseconds"].indexOf(e)>=0}));if(0===c.length){var f;if(u<t)u=o.plus(((f={})[s]=1,f));u!==o&&(a[s]=(a[s]||0)+l/(u-o))}var d,h=cn.fromObject(a,r);return c.length>0?(d=cn.fromMillis(l,r)).shiftTo.apply(d,c).plus(h):h}var pn={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},gn={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]},bn=pn.hanidec.replace(/[\[|\]]/g,"").split("");function wn(e,t){var n=e.numberingSystem;return void 0===t&&(t=""),new RegExp(""+pn[n||"latn"]+t)}function kn(e,t){return void 0===t&&(t=function(e){return e}),{regex:e,deser:function(e){var n=e[0];return t(function(e){var t=parseInt(e,10);if(isNaN(t)){t="";for(var n=0;n<e.length;n++){var r=e.charCodeAt(n);if(-1!==e[n].search(pn.hanidec))t+=bn.indexOf(e[n]);else for(var i in gn){var o=gn[i],a=o[0],u=o[1];r>=a&&r<=u&&(t+=r-a)}}return parseInt(t,10)}return t}(n))}}}var On="( |"+String.fromCharCode(160)+")",_n=new RegExp(On,"g");function Sn(e){return e.replace(/\./g,"\\.?").replace(_n,On)}function Tn(e){return e.replace(/\./g,"").replace(_n," ").toLowerCase()}function xn(e,t){return null===e?null:{regex:RegExp(e.map(Sn).join("|")),deser:function(n){var r=n[0];return e.findIndex((function(e){return Tn(r)===Tn(e)}))+t}}}function Mn(e,t){return{regex:e,deser:function(e){return de(e[1],e[2])},groups:t}}function Nn(e){return{regex:e,deser:function(e){return e[0]}}}var Dn={year:{"2-digit":"yy",numeric:"yyyyy"},month:{numeric:"M","2-digit":"MM",short:"MMM",long:"MMMM"},day:{numeric:"d","2-digit":"dd"},weekday:{short:"EEE",long:"EEEE"},dayperiod:"a",dayPeriod:"a",hour:{numeric:"h","2-digit":"hh"},minute:{numeric:"m","2-digit":"mm"},second:{numeric:"s","2-digit":"ss"}};var Vn=null;function En(e,t){if(e.literal)return e;var n=je.macroTokenToFormatOpts(e.val);if(!n)return e;var r=je.create(t,n).formatDateTimeParts((Vn||(Vn=mr.fromMillis(1555555555555)),Vn)).map((function(e){return function(e,t,n){var r=e.type,i=e.value;if("literal"===r)return{literal:!0,val:i};var o=n[r],a=Dn[r];return"object"==typeof a&&(a=a[o]),a?{literal:!1,val:a}:void 0}(e,0,n)}));return r.includes(void 0)?e:r}function In(e,t,n){var r=function(e,t){var n;return(n=Array.prototype).concat.apply(n,e.map((function(e){return En(e,t)})))}(je.parseFormat(n),e),i=r.map((function(t){return n=t,i=wn(r=e),o=wn(r,"{2}"),a=wn(r,"{3}"),u=wn(r,"{4}"),s=wn(r,"{6}"),l=wn(r,"{1,2}"),c=wn(r,"{1,3}"),f=wn(r,"{1,6}"),d=wn(r,"{1,9}"),h=wn(r,"{2,4}"),m=wn(r,"{4,6}"),v=function(e){return{regex:RegExp((t=e.val,t.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&"))),deser:function(e){return e[0]},literal:!0};var t},y=function(e){if(n.literal)return v(e);switch(e.val){case"G":return xn(r.eras("short",!1),0);case"GG":return xn(r.eras("long",!1),0);case"y":return kn(f);case"yy":case"kk":return kn(h,ce);case"yyyy":case"kkkk":return kn(u);case"yyyyy":return kn(m);case"yyyyyy":return kn(s);case"M":case"L":case"d":case"H":case"h":case"m":case"q":case"s":case"W":return kn(l);case"MM":case"LL":case"dd":case"HH":case"hh":case"mm":case"qq":case"ss":case"WW":return kn(o);case"MMM":return xn(r.months("short",!0,!1),1);case"MMMM":return xn(r.months("long",!0,!1),1);case"LLL":return xn(r.months("short",!1,!1),1);case"LLLL":return xn(r.months("long",!1,!1),1);case"o":case"S":return kn(c);case"ooo":case"SSS":return kn(a);case"u":return Nn(d);case"uu":return Nn(l);case"uuu":case"E":case"c":return kn(i);case"a":return xn(r.meridiems(),0);case"EEE":return xn(r.weekdays("short",!1,!1),1);case"EEEE":return xn(r.weekdays("long",!1,!1),1);case"ccc":return xn(r.weekdays("short",!0,!1),1);case"cccc":return xn(r.weekdays("long",!0,!1),1);case"Z":case"ZZ":return Mn(new RegExp("([+-]"+l.source+")(?::("+o.source+"))?"),2);case"ZZZ":return Mn(new RegExp("([+-]"+l.source+")("+o.source+")?"),2);case"z":return Nn(/[a-z_+-/]{1,256}?/i);default:return v(e)}}(n)||{invalidReason:"missing Intl.DateTimeFormat.formatToParts support"},y.token=n,y;var n,r,i,o,a,u,s,l,c,f,d,h,m,v,y})),o=i.find((function(e){return e.invalidReason}));if(o)return{input:t,tokens:r,invalidReason:o.invalidReason};var a=function(e){return["^"+e.map((function(e){return e.regex})).reduce((function(e,t){return e+"("+t.source+")"}),"")+"$",e]}(i),u=a[0],s=a[1],l=RegExp(u,"i"),c=function(e,t,n){var r=e.match(t);if(r){var i={},o=1;for(var a in n)if(X(n,a)){var u=n[a],s=u.groups?u.groups+1:1;!u.literal&&u.token&&(i[u.token.val[0]]=u.deser(r.slice(o,o+s))),o+=s}return[r,i]}return[r,{}]}(t,l,s),f=c[0],d=c[1],h=d?function(e){var t,n=null;return J(e.z)||(n=ze.create(e.z)),J(e.Z)||(n||(n=new $e(e.Z)),t=e.Z),J(e.q)||(e.M=3*(e.q-1)+1),J(e.h)||(e.h<12&&1===e.a?e.h+=12:12===e.h&&0===e.a&&(e.h=0)),0===e.G&&e.y&&(e.y=-e.y),J(e.u)||(e.S=re(e.u)),[Object.keys(e).reduce((function(t,n){var r=function(e){switch(e){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}}(n);return r&&(t[r]=e[n]),t}),{}),n,t]}(d):[null,null,void 0],m=h[0],v=h[1],y=h[2];if(X(d,"a")&&X(d,"H"))throw new g("Can't include meridiem when specifying 24-hour format");return{input:t,tokens:r,regex:l,rawMatches:f,matches:d,result:m,zone:v,specificOffset:y}}var jn=[0,31,59,90,120,151,181,212,243,273,304,334],Pn=[0,31,60,91,121,152,182,213,244,274,305,335];function Cn(e,t){return new Pe("unit out of range","you specified "+t+" (of type "+typeof t+") as a "+e+", which is invalid")}function An(e,t,n){var r=new Date(Date.UTC(e,t-1,n)).getUTCDay();return 0===r?7:r}function Ln(e,t,n){return n+(oe(e)?Pn:jn)[t-1]}function Zn(e,t){var n=oe(e)?Pn:jn,r=n.findIndex((function(e){return e<t}));return{month:r+1,day:t-n[r]}}function Fn(e){var t,n=e.year,r=e.month,o=e.day,a=Ln(n,r,o),u=An(n,r,o),s=Math.floor((a-u+10)/7);return s<1?s=le(t=n-1):s>le(n)?(t=n+1,s=1):t=n,i({weekYear:t,weekNumber:s,weekday:u},ye(e))}function qn(e){var t,n=e.weekYear,r=e.weekNumber,o=e.weekday,a=An(n,1,4),u=ae(n),s=7*r+o-a-3;s<1?s+=ae(t=n-1):s>u?(t=n+1,s-=ae(n)):t=n;var l=Zn(t,s);return i({year:t,month:l.month,day:l.day},ye(e))}function zn(e){var t=e.year;return i({year:t,ordinal:Ln(t,e.month,e.day)},ye(e))}function Un(e){var t=e.year,n=Zn(t,e.ordinal);return i({year:t,month:n.month,day:n.day},ye(e))}function $n(e){var t=G(e.year),n=K(e.month,1,12),r=K(e.day,1,ue(e.year,e.month));return t?n?!r&&Cn("day",e.day):Cn("month",e.month):Cn("year",e.year)}function Rn(e){var t=e.hour,n=e.minute,r=e.second,i=e.millisecond,o=K(t,0,23)||24===t&&0===n&&0===r&&0===i,a=K(n,0,59),u=K(r,0,59),s=K(i,0,999);return o?a?u?!s&&Cn("millisecond",i):Cn("second",r):Cn("minute",n):Cn("hour",t)}var Wn="Invalid DateTime",Hn=864e13;function Jn(e){return new Pe("unsupported zone",'the zone "'+e.name+'" is not supported')}function Yn(e){return null===e.weekData&&(e.weekData=Fn(e.c)),e.weekData}function Gn(e,t){var n={ts:e.ts,zone:e.zone,c:e.c,o:e.o,loc:e.loc,invalid:e.invalid};return new mr(i({},n,t,{old:n}))}function Bn(e,t,n){var r=e-60*t*1e3,i=n.offset(r);if(t===i)return[r,t];r-=60*(i-t)*1e3;var o=n.offset(r);return i===o?[r,i]:[e-60*Math.min(i,o)*1e3,Math.max(i,o)]}function Qn(e,t){var n=new Date(e+=60*t*1e3);return{year:n.getUTCFullYear(),month:n.getUTCMonth()+1,day:n.getUTCDate(),hour:n.getUTCHours(),minute:n.getUTCMinutes(),second:n.getUTCSeconds(),millisecond:n.getUTCMilliseconds()}}function Xn(e,t,n){return Bn(se(e),t,n)}function Kn(e,t){var n=e.o,r=e.c.year+Math.trunc(t.years),o=e.c.month+Math.trunc(t.months)+3*Math.trunc(t.quarters),a=i({},e.c,{year:r,month:o,day:Math.min(e.c.day,ue(r,o))+Math.trunc(t.days)+7*Math.trunc(t.weeks)}),u=cn.fromObject({years:t.years-Math.trunc(t.years),quarters:t.quarters-Math.trunc(t.quarters),months:t.months-Math.trunc(t.months),weeks:t.weeks-Math.trunc(t.weeks),days:t.days-Math.trunc(t.days),hours:t.hours,minutes:t.minutes,seconds:t.seconds,milliseconds:t.milliseconds}).as("milliseconds"),s=Bn(se(a),n,e.zone),l=s[0],c=s[1];return 0!==u&&(l+=u,c=e.zone.offset(l)),{ts:l,o:c}}function er(e,t,n,r,o,a){var u=n.setZone,s=n.zone;if(e&&0!==Object.keys(e).length){var l=t||s,c=mr.fromObject(e,i({},n,{zone:l,specificOffset:a}));return u?c:c.setZone(s)}return mr.invalid(new Pe("unparsable",'the input "'+o+"\" can't be parsed as "+r))}function tr(e,t,n){return void 0===n&&(n=!0),e.isValid?je.create(ft.create("en-US"),{allowZ:n,forceSimple:!0}).formatDateTimeFromString(e,t):null}function nr(e,t){var n=e.c.year>9999||e.c.year<0,r="";return n&&e.c.year>=0&&(r+="+"),r+=ee(e.c.year,n?6:4),t?(r+="-",r+=ee(e.c.month),r+="-",r+=ee(e.c.day)):(r+=ee(e.c.month),r+=ee(e.c.day)),r}function rr(e,t,n,r,i){var o=ee(e.c.hour);return t?(o+=":",o+=ee(e.c.minute),0===e.c.second&&n||(o+=":")):o+=ee(e.c.minute),0===e.c.second&&n||(o+=ee(e.c.second),0===e.c.millisecond&&r||(o+=".",o+=ee(e.c.millisecond,3))),i&&(e.isOffsetFixed&&0===e.offset?o+="Z":e.o<0?(o+="-",o+=ee(Math.trunc(-e.o/60)),o+=":",o+=ee(Math.trunc(-e.o%60))):(o+="+",o+=ee(Math.trunc(e.o/60)),o+=":",o+=ee(Math.trunc(e.o%60)))),o}var ir={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},or={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},ar={ordinal:1,hour:0,minute:0,second:0,millisecond:0},ur=["year","month","day","hour","minute","second","millisecond"],sr=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],lr=["year","ordinal","hour","minute","second","millisecond"];function cr(e){var t={year:"year",years:"year",month:"month",months:"month",day:"day",days:"day",hour:"hour",hours:"hour",minute:"minute",minutes:"minute",quarter:"quarter",quarters:"quarter",second:"second",seconds:"second",millisecond:"millisecond",milliseconds:"millisecond",weekday:"weekday",weekdays:"weekday",weeknumber:"weekNumber",weeksnumber:"weekNumber",weeknumbers:"weekNumber",weekyear:"weekYear",weekyears:"weekYear",ordinal:"ordinal"}[e.toLowerCase()];if(!t)throw new b(e);return t}function fr(e,t){var n,r,i=We(t.zone,Xe.defaultZone),o=ft.fromObject(t),a=Xe.now();if(J(e.year))n=a;else{for(var u,s=h(ur);!(u=s()).done;){var l=u.value;J(e[l])&&(e[l]=ir[l])}var c=$n(e)||Rn(e);if(c)return mr.invalid(c);var f=Xn(e,i.offset(a),i);n=f[0],r=f[1]}return new mr({ts:n,zone:i,loc:o,o:r})}function dr(e,t,n){var r=!!J(n.round)||n.round,i=function(e,i){return e=ie(e,r||n.calendary?0:2,!0),t.loc.clone(n).relFormatter(n).format(e,i)},o=function(r){return n.calendary?t.hasSame(e,r)?0:t.startOf(r).diff(e.startOf(r),r).get(r):t.diff(e,r).get(r)};if(n.unit)return i(o(n.unit),n.unit);for(var a,u=h(n.units);!(a=u()).done;){var s=a.value,l=o(s);if(Math.abs(l)>=1)return i(l,s)}return i(e>t?-0:0,n.units[n.units.length-1])}function hr(e){var t,n={};return e.length>0&&"object"==typeof e[e.length-1]?(n=e[e.length-1],t=Array.from(e).slice(0,e.length-1)):t=Array.from(e),[n,t]}var mr=function(){function e(e){var t=e.zone||Xe.defaultZone,n=e.invalid||(Number.isNaN(e.ts)?new Pe("invalid input"):null)||(t.isValid?null:Jn(t));this.ts=J(e.ts)?Xe.now():e.ts;var r=null,i=null;if(!n)if(e.old&&e.old.ts===this.ts&&e.old.zone.equals(t)){var o=[e.old.c,e.old.o];r=o[0],i=o[1]}else{var a=t.offset(this.ts);r=Qn(this.ts,a),r=(n=Number.isNaN(r.year)?new Pe("invalid input"):null)?null:r,i=n?null:a}this._zone=t,this.loc=e.loc||ft.create(),this.invalid=n,this.weekData=null,this.c=r,this.o=i,this.isLuxonDateTime=!0}e.now=function(){return new e({})},e.local=function(){var e=hr(arguments),t=e[0],n=e[1],r=n[0],i=n[1],o=n[2],a=n[3],u=n[4],s=n[5],l=n[6];return fr({year:r,month:i,day:o,hour:a,minute:u,second:s,millisecond:l},t)},e.utc=function(){var e=hr(arguments),t=e[0],n=e[1],r=n[0],i=n[1],o=n[2],a=n[3],u=n[4],s=n[5],l=n[6];return t.zone=$e.utcInstance,fr({year:r,month:i,day:o,hour:a,minute:u,second:s,millisecond:l},t)},e.fromJSDate=function(t,n){void 0===n&&(n={});var r,i=(r=t,"[object Date]"===Object.prototype.toString.call(r)?t.valueOf():NaN);if(Number.isNaN(i))return e.invalid("invalid input");var o=We(n.zone,Xe.defaultZone);return o.isValid?new e({ts:i,zone:o,loc:ft.fromObject(n)}):e.invalid(Jn(o))},e.fromMillis=function(t,n){if(void 0===n&&(n={}),Y(t))return t<-Hn||t>Hn?e.invalid("Timestamp out of range"):new e({ts:t,zone:We(n.zone,Xe.defaultZone),loc:ft.fromObject(n)});throw new w("fromMillis requires a numerical input, but received a "+typeof t+" with value "+t)},e.fromSeconds=function(t,n){if(void 0===n&&(n={}),Y(t))return new e({ts:1e3*t,zone:We(n.zone,Xe.defaultZone),loc:ft.fromObject(n)});throw new w("fromSeconds requires a numerical input")},e.fromObject=function(t,n){void 0===n&&(n={}),t=t||{};var r=We(n.zone,Xe.defaultZone);if(!r.isValid)return e.invalid(Jn(r));var i=Xe.now(),o=J(n.specificOffset)?r.offset(i):n.specificOffset,a=me(t,cr),u=!J(a.ordinal),s=!J(a.year),l=!J(a.month)||!J(a.day),c=s||l,f=a.weekYear||a.weekNumber,d=ft.fromObject(n);if((c||u)&&f)throw new g("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(l&&u)throw new g("Can't mix ordinal dates with month/day");var m,v,y=f||a.weekday&&!c,p=Qn(i,o);y?(m=sr,v=or,p=Fn(p)):u?(m=lr,v=ar,p=zn(p)):(m=ur,v=ir);for(var b,w=!1,k=h(m);!(b=k()).done;){var O=b.value;J(a[O])?a[O]=w?v[O]:p[O]:w=!0}var _=y?function(e){var t=G(e.weekYear),n=K(e.weekNumber,1,le(e.weekYear)),r=K(e.weekday,1,7);return t?n?!r&&Cn("weekday",e.weekday):Cn("week",e.week):Cn("weekYear",e.weekYear)}(a):u?function(e){var t=G(e.year),n=K(e.ordinal,1,ae(e.year));return t?!n&&Cn("ordinal",e.ordinal):Cn("year",e.year)}(a):$n(a),S=_||Rn(a);if(S)return e.invalid(S);var T=Xn(y?qn(a):u?Un(a):a,o,r),x=new e({ts:T[0],zone:r,o:T[1],loc:d});return a.weekday&&c&&t.weekday!==x.weekday?e.invalid("mismatched weekday","you can't specify both a weekday of "+a.weekday+" and a date of "+x.toISO()):x},e.fromISO=function(e,t){void 0===t&&(t={});var n=function(e){return mt(e,[zt,Wt],[Ut,Ht],[$t,Jt],[Rt,Yt])}(e);return er(n[0],n[1],t,"ISO 8601",e)},e.fromRFC2822=function(e,t){void 0===t&&(t={});var n=function(e){return mt(function(e){return e.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}(e),[Pt,Ct])}(e);return er(n[0],n[1],t,"RFC 2822",e)},e.fromHTTP=function(e,t){void 0===t&&(t={});var n=function(e){return mt(e,[At,Ft],[Lt,Ft],[Zt,qt])}(e);return er(n[0],n[1],t,"HTTP",t)},e.fromFormat=function(t,n,r){if(void 0===r&&(r={}),J(t)||J(n))throw new w("fromFormat requires an input string and a format");var i=r,o=i.locale,a=void 0===o?null:o,u=i.numberingSystem,s=void 0===u?null:u,l=function(e,t,n){var r=In(e,t,n);return[r.result,r.zone,r.specificOffset,r.invalidReason]}(ft.fromOpts({locale:a,numberingSystem:s,defaultToEN:!0}),t,n),c=l[0],f=l[1],d=l[2],h=l[3];return h?e.invalid(h):er(c,f,r,"format "+n,t,d)},e.fromString=function(t,n,r){return void 0===r&&(r={}),e.fromFormat(t,n,r)},e.fromSQL=function(e,t){void 0===t&&(t={});var n=function(e){return mt(e,[Bt,Xt],[Qt,Kt])}(e);return er(n[0],n[1],t,"SQL",e)},e.invalid=function(t,n){if(void 0===n&&(n=null),!t)throw new w("need to specify a reason the DateTime is invalid");var r=t instanceof Pe?t:new Pe(t,n);if(Xe.throwOnInvalid)throw new v(r);return new e({invalid:r})},e.isDateTime=function(e){return e&&e.isLuxonDateTime||!1};var t=e.prototype;return t.get=function(e){return this[e]},t.resolvedLocaleOptions=function(e){void 0===e&&(e={});var t=je.create(this.loc.clone(e),e).resolvedOptions(this);return{locale:t.locale,numberingSystem:t.numberingSystem,outputCalendar:t.calendar}},t.toUTC=function(e,t){return void 0===e&&(e=0),void 0===t&&(t={}),this.setZone($e.instance(e),t)},t.toLocal=function(){return this.setZone(Xe.defaultZone)},t.setZone=function(t,n){var r=void 0===n?{}:n,i=r.keepLocalTime,o=void 0!==i&&i,a=r.keepCalendarTime,u=void 0!==a&&a;if((t=We(t,Xe.defaultZone)).equals(this.zone))return this;if(t.isValid){var s=this.ts;if(o||u){var l=t.offset(this.ts);s=Xn(this.toObject(),l,t)[0]}return Gn(this,{ts:s,zone:t})}return e.invalid(Jn(t))},t.reconfigure=function(e){var t=void 0===e?{}:e,n=t.locale,r=t.numberingSystem,i=t.outputCalendar;return Gn(this,{loc:this.loc.clone({locale:n,numberingSystem:r,outputCalendar:i})})},t.setLocale=function(e){return this.reconfigure({locale:e})},t.set=function(e){if(!this.isValid)return this;var t,n=me(e,cr),r=!J(n.weekYear)||!J(n.weekNumber)||!J(n.weekday),o=!J(n.ordinal),a=!J(n.year),u=!J(n.month)||!J(n.day),s=a||u,l=n.weekYear||n.weekNumber;if((s||o)&&l)throw new g("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(u&&o)throw new g("Can't mix ordinal dates with month/day");r?t=qn(i({},Fn(this.c),n)):J(n.ordinal)?(t=i({},this.toObject(),n),J(n.day)&&(t.day=Math.min(ue(t.year,t.month),t.day))):t=Un(i({},zn(this.c),n));var c=Xn(t,this.o,this.zone);return Gn(this,{ts:c[0],o:c[1]})},t.plus=function(e){return this.isValid?Gn(this,Kn(this,cn.fromDurationLike(e))):this},t.minus=function(e){return this.isValid?Gn(this,Kn(this,cn.fromDurationLike(e).negate())):this},t.startOf=function(e){if(!this.isValid)return this;var t={},n=cn.normalizeUnit(e);switch(n){case"years":t.month=1;case"quarters":case"months":t.day=1;case"weeks":case"days":t.hour=0;case"hours":t.minute=0;case"minutes":t.second=0;case"seconds":t.millisecond=0}if("weeks"===n&&(t.weekday=1),"quarters"===n){var r=Math.ceil(this.month/3);t.month=3*(r-1)+1}return this.set(t)},t.endOf=function(e){var t;return this.isValid?this.plus((t={},t[e]=1,t)).startOf(e).minus(1):this},t.toFormat=function(e,t){return void 0===t&&(t={}),this.isValid?je.create(this.loc.redefaultToEN(t)).formatDateTimeFromString(this,e):Wn},t.toLocaleString=function(e,t){return void 0===e&&(e=T),void 0===t&&(t={}),this.isValid?je.create(this.loc.clone(t),e).formatDateTime(this):Wn},t.toLocaleParts=function(e){return void 0===e&&(e={}),this.isValid?je.create(this.loc.clone(e),e).formatDateTimeParts(this):[]},t.toISO=function(e){var t=void 0===e?{}:e,n=t.format,r=void 0===n?"extended":n,i=t.suppressSeconds,o=void 0!==i&&i,a=t.suppressMilliseconds,u=void 0!==a&&a,s=t.includeOffset,l=void 0===s||s;if(!this.isValid)return null;var c="extended"===r,f=nr(this,c);return f+="T",f+=rr(this,c,o,u,l)},t.toISODate=function(e){var t=(void 0===e?{}:e).format,n=void 0===t?"extended":t;return this.isValid?nr(this,"extended"===n):null},t.toISOWeekDate=function(){return tr(this,"kkkk-'W'WW-c")},t.toISOTime=function(e){var t=void 0===e?{}:e,n=t.suppressMilliseconds,r=void 0!==n&&n,i=t.suppressSeconds,o=void 0!==i&&i,a=t.includeOffset,u=void 0===a||a,s=t.includePrefix,l=void 0!==s&&s,c=t.format,f=void 0===c?"extended":c;return this.isValid?(l?"T":"")+rr(this,"extended"===f,o,r,u):null},t.toRFC2822=function(){return tr(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)},t.toHTTP=function(){return tr(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")},t.toSQLDate=function(){return this.isValid?nr(this,!0):null},t.toSQLTime=function(e){var t=void 0===e?{}:e,n=t.includeOffset,r=void 0===n||n,i=t.includeZone,o=void 0!==i&&i,a=t.includeOffsetSpace,u="HH:mm:ss.SSS";return(o||r)&&((void 0===a||a)&&(u+=" "),o?u+="z":r&&(u+="ZZ")),tr(this,u,!0)},t.toSQL=function(e){return void 0===e&&(e={}),this.isValid?this.toSQLDate()+" "+this.toSQLTime(e):null},t.toString=function(){return this.isValid?this.toISO():Wn},t.valueOf=function(){return this.toMillis()},t.toMillis=function(){return this.isValid?this.ts:NaN},t.toSeconds=function(){return this.isValid?this.ts/1e3:NaN},t.toUnixInteger=function(){return this.isValid?Math.floor(this.ts/1e3):NaN},t.toJSON=function(){return this.toISO()},t.toBSON=function(){return this.toJSDate()},t.toObject=function(e){if(void 0===e&&(e={}),!this.isValid)return{};var t=i({},this.c);return e.includeConfig&&(t.outputCalendar=this.outputCalendar,t.numberingSystem=this.loc.numberingSystem,t.locale=this.loc.locale),t},t.toJSDate=function(){return new Date(this.isValid?this.ts:NaN)},t.diff=function(e,t,n){if(void 0===t&&(t="milliseconds"),void 0===n&&(n={}),!this.isValid||!e.isValid)return cn.invalid("created by diffing an invalid DateTime");var r,o=i({locale:this.locale,numberingSystem:this.numberingSystem},n),a=(r=t,Array.isArray(r)?r:[r]).map(cn.normalizeUnit),u=e.valueOf()>this.valueOf(),s=yn(u?this:e,u?e:this,a,o);return u?s.negate():s},t.diffNow=function(t,n){return void 0===t&&(t="milliseconds"),void 0===n&&(n={}),this.diff(e.now(),t,n)},t.until=function(e){return this.isValid?hn.fromDateTimes(this,e):this},t.hasSame=function(e,t){if(!this.isValid)return!1;var n=e.valueOf(),r=this.setZone(e.zone,{keepLocalTime:!0});return r.startOf(t)<=n&&n<=r.endOf(t)},t.equals=function(e){return this.isValid&&e.isValid&&this.valueOf()===e.valueOf()&&this.zone.equals(e.zone)&&this.loc.equals(e.loc)},t.toRelative=function(t){if(void 0===t&&(t={}),!this.isValid)return null;var n=t.base||e.fromObject({},{zone:this.zone}),r=t.padding?this<n?-t.padding:t.padding:0,o=["years","months","days","hours","minutes","seconds"],a=t.unit;return Array.isArray(t.unit)&&(o=t.unit,a=void 0),dr(n,this.plus(r),i({},t,{numeric:"always",units:o,unit:a}))},t.toRelativeCalendar=function(t){return void 0===t&&(t={}),this.isValid?dr(t.base||e.fromObject({},{zone:this.zone}),this,i({},t,{numeric:"auto",units:["years","months","days"],calendary:!0})):null},e.min=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];if(!n.every(e.isDateTime))throw new w("min requires all arguments be DateTimes");return Q(n,(function(e){return e.valueOf()}),Math.min)},e.max=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];if(!n.every(e.isDateTime))throw new w("max requires all arguments be DateTimes");return Q(n,(function(e){return e.valueOf()}),Math.max)},e.fromFormatExplain=function(e,t,n){void 0===n&&(n={});var r=n,i=r.locale,o=void 0===i?null:i,a=r.numberingSystem,u=void 0===a?null:a;return In(ft.fromOpts({locale:o,numberingSystem:u,defaultToEN:!0}),e,t)},e.fromStringExplain=function(t,n,r){return void 0===r&&(r={}),e.fromFormatExplain(t,n,r)},r(e,[{key:"isValid",get:function(){return null===this.invalid}},{key:"invalidReason",get:function(){return this.invalid?this.invalid.reason:null}},{key:"invalidExplanation",get:function(){return this.invalid?this.invalid.explanation:null}},{key:"locale",get:function(){return this.isValid?this.loc.locale:null}},{key:"numberingSystem",get:function(){return this.isValid?this.loc.numberingSystem:null}},{key:"outputCalendar",get:function(){return this.isValid?this.loc.outputCalendar:null}},{key:"zone",get:function(){return this._zone}},{key:"zoneName",get:function(){return this.isValid?this.zone.name:null}},{key:"year",get:function(){return this.isValid?this.c.year:NaN}},{key:"quarter",get:function(){return this.isValid?Math.ceil(this.c.month/3):NaN}},{key:"month",get:function(){return this.isValid?this.c.month:NaN}},{key:"day",get:function(){return this.isValid?this.c.day:NaN}},{key:"hour",get:function(){return this.isValid?this.c.hour:NaN}},{key:"minute",get:function(){return this.isValid?this.c.minute:NaN}},{key:"second",get:function(){return this.isValid?this.c.second:NaN}},{key:"millisecond",get:function(){return this.isValid?this.c.millisecond:NaN}},{key:"weekYear",get:function(){return this.isValid?Yn(this).weekYear:NaN}},{key:"weekNumber",get:function(){return this.isValid?Yn(this).weekNumber:NaN}},{key:"weekday",get:function(){return this.isValid?Yn(this).weekday:NaN}},{key:"ordinal",get:function(){return this.isValid?zn(this.c).ordinal:NaN}},{key:"monthShort",get:function(){return this.isValid?mn.months("short",{locObj:this.loc})[this.month-1]:null}},{key:"monthLong",get:function(){return this.isValid?mn.months("long",{locObj:this.loc})[this.month-1]:null}},{key:"weekdayShort",get:function(){return this.isValid?mn.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}},{key:"weekdayLong",get:function(){return this.isValid?mn.weekdays("long",{locObj:this.loc})[this.weekday-1]:null}},{key:"offset",get:function(){return this.isValid?+this.o:NaN}},{key:"offsetNameShort",get:function(){return this.isValid?this.zone.offsetName(this.ts,{format:"short",locale:this.locale}):null}},{key:"offsetNameLong",get:function(){return this.isValid?this.zone.offsetName(this.ts,{format:"long",locale:this.locale}):null}},{key:"isOffsetFixed",get:function(){return this.isValid?this.zone.isUniversal:null}},{key:"isInDST",get:function(){return!this.isOffsetFixed&&(this.offset>this.set({month:1}).offset||this.offset>this.set({month:5}).offset)}},{key:"isInLeapYear",get:function(){return oe(this.year)}},{key:"daysInMonth",get:function(){return ue(this.year,this.month)}},{key:"daysInYear",get:function(){return this.isValid?ae(this.year):NaN}},{key:"weeksInWeekYear",get:function(){return this.isValid?le(this.weekYear):NaN}}],[{key:"DATE_SHORT",get:function(){return T}},{key:"DATE_MED",get:function(){return x}},{key:"DATE_MED_WITH_WEEKDAY",get:function(){return M}},{key:"DATE_FULL",get:function(){return N}},{key:"DATE_HUGE",get:function(){return D}},{key:"TIME_SIMPLE",get:function(){return V}},{key:"TIME_WITH_SECONDS",get:function(){return E}},{key:"TIME_WITH_SHORT_OFFSET",get:function(){return I}},{key:"TIME_WITH_LONG_OFFSET",get:function(){return j}},{key:"TIME_24_SIMPLE",get:function(){return P}},{key:"TIME_24_WITH_SECONDS",get:function(){return C}},{key:"TIME_24_WITH_SHORT_OFFSET",get:function(){return A}},{key:"TIME_24_WITH_LONG_OFFSET",get:function(){return L}},{key:"DATETIME_SHORT",get:function(){return Z}},{key:"DATETIME_SHORT_WITH_SECONDS",get:function(){return F}},{key:"DATETIME_MED",get:function(){return q}},{key:"DATETIME_MED_WITH_SECONDS",get:function(){return z}},{key:"DATETIME_MED_WITH_WEEKDAY",get:function(){return U}},{key:"DATETIME_FULL",get:function(){return $}},{key:"DATETIME_FULL_WITH_SECONDS",get:function(){return R}},{key:"DATETIME_HUGE",get:function(){return W}},{key:"DATETIME_HUGE_WITH_SECONDS",get:function(){return H}}]),e}();function vr(e){if(mr.isDateTime(e))return e;if(e&&e.valueOf&&Y(e.valueOf()))return mr.fromJSDate(e);if(e&&"object"==typeof e)return mr.fromObject(e);throw new w("Unknown datetime argument: "+e+", of type "+typeof e)}t.ou=mr,t.Xp=hn},4155:e=>{var t,n,r=e.exports={};function i(){throw new Error("setTimeout has not been defined")}function o(){throw new Error("clearTimeout has not been defined")}function a(e){if(t===setTimeout)return setTimeout(e,0);if((t===i||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(n){try{return t.call(null,e,0)}catch(n){return t.call(this,e,0)}}}!function(){try{t="function"==typeof setTimeout?setTimeout:i}catch(e){t=i}try{n="function"==typeof clearTimeout?clearTimeout:o}catch(e){n=o}}();var u,s=[],l=!1,c=-1;function f(){l&&u&&(l=!1,u.length?s=u.concat(s):c=-1,s.length&&d())}function d(){if(!l){var e=a(f);l=!0;for(var t=s.length;t;){for(u=s,s=[];++c<t;)u&&u[c].run();c=-1,t=s.length}u=null,l=!1,function(e){if(n===clearTimeout)return clearTimeout(e);if((n===o||!n)&&clearTimeout)return n=clearTimeout,clearTimeout(e);try{n(e)}catch(t){try{return n.call(null,e)}catch(t){return n.call(this,e)}}}(e)}}function h(e,t){this.fun=e,this.array=t}function m(){}r.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];s.push(new h(e,t)),1!==s.length||l||a(d)},h.prototype.run=function(){this.fun.apply(null,this.array)},r.title="browser",r.browser=!0,r.env={},r.argv=[],r.version="",r.versions={},r.on=m,r.addListener=m,r.once=m,r.off=m,r.removeListener=m,r.removeAllListeners=m,r.emit=m,r.prependListener=m,r.prependOnceListener=m,r.listeners=function(e){return[]},r.binding=function(e){throw new Error("process.binding is not supported")},r.cwd=function(){return"/"},r.chdir=function(e){throw new Error("process.chdir is not supported")},r.umask=function(){return 0}},1968:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});const r={name:"FormError",props:{id:{type:String,required:!0},v:{type:Object,required:!0}}};const i=(0,n(1900).Z)(r,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.v.$error?n("div",{staticClass:"iande-form-error",attrs:{id:e.id}},[!1===e.v.required?n("span",[e._v(e._s(e.__("Campo obrigatório","iande")))]):!1===e.v.samePassword?n("span",[e._v(e._s(e.__("Senhas não batem","iande")))]):!1===e.v.cep?n("span",[e._v(e._s(e.__("CEP inválido","iande")))]):!1===e.v.cnpj?n("span",[e._v(e._s(e.__("CNPJ inválido","iande")))]):!1===e.v.date?n("span",[e._v(e._s(e.__("Data inválida","iande")))]):!1===e.v.email?n("span",[e._v(e._s(e.__("E-mail inválido","iande")))]):!1===e.v.phone?n("span",[e._v(e._s(e.__("Telefone inválido","iande")))]):!1===e.v.time?n("span",[e._v(e._s(e.__("Horário inválido","iande")))]):!1===e.v.integer?n("span",[e._v(e._s(e.__("Valor não é número inteiro","iande")))]):!1===e.v.maxLength?n("span",[e._v(e._s(e.sprintf(e.__("Selecione até %s opções","iande"),e.v.$params.maxLength.max)))]):!1===e.v.maxValue?n("span",[e._v(e._s(e.sprintf(e.__("Valor máximo é %s","iande"),e.v.$params.maxValue.max)))]):!1===e.v.minValue?n("span",[e._v(e._s(e.sprintf(e.__("Valor mínimo é %s","iande"),e.v.$params.minValue.min)))]):!1===e.v.minChar?n("span",[e._v(e._s(e.sprintf(e.__("Campo tem que ter pelo menos %s caracteres","iande"),e.v.$params.minChar.min)))]):!1===e.v.minGroups?n("span",[e._v(e._s(e.__("É necessário pelo menos um grupo","iande")))]):e._e()]):e._e()}),[],!1,null,null,null).exports},6571:(e,t,n)=>{"use strict";n.d(t,{Z:()=>u});function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function i(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(Object(n),!0).forEach((function(t){o(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const a={name:"Input",mixins:[n(1234).Z],inheritAttrs:!1,computed:{inputAttrs:function(){return i(i({},this.$attrs),{},{"aria-describedby":this.errorId,class:["iande-input",this.fieldClass,this.v.$error&&"invalid"],id:this.id,name:this.id})}}};const u=(0,n(1900).Z)(a,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"iande-field"},["checkbox"===e.inputAttrs.type?n("input",e._b({directives:[{name:"model",rawName:"v-model",value:e.modelValue,expression:"modelValue"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.modelValue)?e._i(e.modelValue,null)>-1:e.modelValue},on:{change:function(t){var n=e.modelValue,r=t.target,i=!!r.checked;if(Array.isArray(n)){var o=e._i(n,null);r.checked?o<0&&(e.modelValue=n.concat([null])):o>-1&&(e.modelValue=n.slice(0,o).concat(n.slice(o+1)))}else e.modelValue=i}}},"input",e.inputAttrs,!1)):"radio"===e.inputAttrs.type?n("input",e._b({directives:[{name:"model",rawName:"v-model",value:e.modelValue,expression:"modelValue"}],attrs:{type:"radio"},domProps:{checked:e._q(e.modelValue,null)},on:{change:function(t){e.modelValue=null}}},"input",e.inputAttrs,!1)):n("input",e._b({directives:[{name:"model",rawName:"v-model",value:e.modelValue,expression:"modelValue"}],attrs:{type:e.inputAttrs.type},domProps:{value:e.modelValue},on:{input:function(t){t.target.composing||(e.modelValue=t.target.value)}}},"input",e.inputAttrs,!1)),e._v(" "),e.v.$error?n("FormError",{attrs:{id:e.errorId,v:e.v}}):e._e()],1)}),[],!1,null,null,null).exports},6229:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(8806),i=n(1338);const o=(0,n(1900).Z)(i.Z,r.s,r.x,!1,null,null,null).exports},8461:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var r=n(1234),i=n(424);const o={name:"Select",mixins:[r.Z],props:{options:{type:[Array,Object],required:!0},placeholder:{type:String,default:(0,i.__)("Selecione uma das opções","iande")}},computed:{classes:function(){return["iande-input",this.fieldClass,this.v.$error&&"invalid"]},normalizedOptions:function(){return Array.isArray(this.options)?Object.fromEntries(this.options.map((function(e){return[e,e]}))):this.options},nullValue:function(){return this.value||null===this.value?null:this.value},optionsLength:function(){return Array.isArray(this.options)?this.options.length:Object.keys(this.options).length}}};const a=(0,n(1900).Z)(o,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"iande-field"},[n("select",{directives:[{name:"model",rawName:"v-model",value:e.modelValue,expression:"modelValue"}],class:e.classes,attrs:{id:e.id,"aria-describedby":e.errorId},on:{change:function(t){var n=Array.prototype.filter.call(t.target.options,(function(e){return e.selected})).map((function(e){return"_value"in e?e._value:e.value}));e.modelValue=t.target.multiple?n:n[0]}}},[e.value===e.nullValue?n("option",{attrs:{disabled:""},domProps:{value:e.nullValue}},[e._v(e._s(e.placeholder))]):e._e(),e._v(" "),e._l(e.normalizedOptions,(function(t,r){return n("option",{key:r,domProps:{value:t}},[e._v("\n            "+e._s(e.__(r,"iande"))+"\n        ")])}))],2),e._v(" "),e.v.$error?n("FormError",{attrs:{id:e.errorId,v:e.v}}):e._e()],1)}),[],!1,null,null,null).exports},1922:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>m});var r=n(379),i=n(7033),o=n(6571),a=n(6229),u=n(8461),s=n(1870),l=n(2050);function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function f(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){d(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function d(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const h={name:"SelectExhibition",components:{Input:o.Z,Label:a.Z,Select:u.Z},computed:f(f({},(0,i.Z_)("appointments/current@",{exhibitionId:"exhibition_id",name:"name",numPeople:"num_people",purpose:"purpose",purposeOther:"purpose_other"})),{},{exhibition:(0,i.U2)("appointments/exhibition"),exhibitionOptions:function(){var e=this.exhibitions.map((function(e){return[e.title,e.ID]}));return Object.fromEntries(e)},exhibitions:(0,i.U2)("exhibitions/list"),groups:(0,i.U2)("appointments/current@groups"),groupsCreated:function(){return this.groups.length>0},groupSlot:function(){var e;return null!==(e=this.exhibition)&&void 0!==e&&e.group_slot?Number(this.exhibition.group_slot):1},maxPeople:function(){var e;return null!==(e=this.exhibition)&&void 0!==e&&e.group_size?Number(this.exhibition.group_size):100},minPeople:function(){var e;return null!==(e=this.exhibition)&&void 0!==e&&e.min_group_size?Number(this.exhibition.min_group_size):5},user:(0,i.U2)("users/current"),userIncomplete:function(){var e=this.user;return!!e&&!(e.first_name&&e.last_name&&e.user_email&&e.phone)}}),validations:function(){return{exhibitionId:{required:r.C1},name:{required:r.C1},numPeople:{integer:r._L,minValue:(0,r.uv)(this.minPeople),required:r.C1},purpose:{required:r.C1},purposeOther:{},userIncomplete:{falsy:l.k}}},watch:{exhibitions:{handler:function(){1===this.exhibitions.length&&(this.exhibitionId=this.exhibitions[0].ID)},immediate:!0},purpose:(0,s.kE)("purpose","purposeOther")},methods:{isOther:s.po}};const m=(0,n(1900).Z)(h,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"iande-stack stack-lg",attrs:{id:"iande-visit-date"}},[n("h1",[e._v(e._s(e.__("Sobre a visita","iande")))]),e._v(" "),e.userIncomplete?n("div",{staticClass:"iande-form-error"},[e._v("\n        "+e._s(e.__("Seu perfil está incompleto. Para completá-lo,","iande"))+" "),n("a",{attrs:{href:e.$iandeUrl("user/edit")}},[e._v(e._s(e.__("clique aqui","iande")))])]):e._e(),e._v(" "),n("div",[n("Label",{attrs:{for:"purpose"}},[e._v(e._s(e.__("Qual o objetivo da visita?","iande")))]),e._v(" "),n("Select",{attrs:{id:"purpose",v:e.$v.purpose,options:e.$iande.purposes},model:{value:e.purpose,callback:function(t){e.purpose=t},expression:"purpose"}})],1),e._v(" "),e.isOther(e.purpose)?n("div",[n("Label",{attrs:{for:"purposeOther"}},[e._v(e._s(e.__("Especifique o objetivo da visita","iande")))]),e._v(" "),n("Input",{attrs:{id:"purposeOther",type:"text",v:e.$v.purposeOther},model:{value:e.purposeOther,callback:function(t){e.purposeOther=t},expression:"purposeOther"}})],1):e._e(),e._v(" "),n("div",[n("Label",{attrs:{for:"name"}},[e._v(e._s(e.__("Dê um nome à visita","iande")))]),e._v(" "),n("Input",{attrs:{id:"name",type:"text",placeholder:e.__("Ex: Nome da instituição","iande"),v:e.$v.name},model:{value:e.name,callback:function(t){e.name=t},expression:"name"}})],1),e._v(" "),n("div",[n("Label",{attrs:{for:"exhibitionId"}},[e._v(e._s(e.__("Qual exposição será visitada?","iande")))]),e._v(" "),n("Select",{attrs:{id:"exhibitionId",v:e.$v.exhibitionId,options:e.exhibitionOptions},model:{value:e.exhibitionId,callback:function(t){e.exhibitionId=t},expression:"exhibitionId"}}),e._v(" "),e.exhibition&&e.exhibition.description?n("p",{staticClass:"iande-exhibition-description"},[e._v("\n            "+e._s(e.__(e.exhibition.description,"iande"))+"\n        ")]):e._e()],1),e._v(" "),n("div",[n("Label",{attrs:{for:"numPeople"}},[e._v(e._s(e.__("Quantidade prevista de pessoas","iande")))]),e._v(" "),n("Input",{attrs:{id:"numPeople",type:"number",min:e.minPeople,placeholder:e.sprintf(e.__("Mínimo de %s pessoas","iande"),e.minPeople),disabled:e.groupsCreated,v:e.$v.numPeople},model:{value:e.numPeople,callback:function(t){e.numPeople=e._n(t)},expression:"numPeople"}}),e._v(" "),e.exhibition?[e.groupSlot>1?n("p",{staticClass:"text-sm"},[e._v(e._s(e.sprintf(e.__("A exposição atende até %s grupos com %s visitantes cada por horário","iande"),e.groupSlot,e.maxPeople)))]):n("p",{staticClass:"text-sm"},[e._v(e._s(e.sprintf(e.__("A exposição atende até %s visitantes por horário","iande"),e.maxPeople)))])]:e._e()],2)])}),[],!1,null,null,null).exports},1338:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});const r=n(7750).Z},8806:(e,t,n)=>{"use strict";n.d(t,{s:()=>r,x:()=>i});var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("label",{staticClass:"iande-label"},[e._t("default"),e.side?n("span",{staticClass:"iande-label__optional"},[e._v(e._s(e.side))]):e._e()],2)},i=[]},6408:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=(0,n(6681).regex)("alpha",/^[a-zA-Z]*$/);t.default=r},6195:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=(0,n(6681).regex)("alphaNum",/^[a-zA-Z0-9]*$/);t.default=r},5573:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(6681);t.default=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return(0,r.withParams)({type:"and"},(function(){for(var e=this,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return t.length>0&&t.reduce((function(t,n){return t&&n.apply(e,r)}),!0)}))}},7884:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(6681);t.default=function(e,t){return(0,r.withParams)({type:"between",min:e,max:t},(function(n){return!(0,r.req)(n)||(!/\s/.test(n)||n instanceof Date)&&+e<=+n&&+t>=+n}))}},6681:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.req=t.regex=t.ref=t.len=void 0,Object.defineProperty(t,"withParams",{enumerable:!0,get:function(){return i.default}});var r,i=(r=n(8085))&&r.__esModule?r:{default:r};function o(e){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o(e)}var a=function(e){if(Array.isArray(e))return!!e.length;if(null==e)return!1;if(!1===e)return!0;if(e instanceof Date)return!isNaN(e.getTime());if("object"===o(e)){for(var t in e)return!0;return!1}return!!String(e).length};t.req=a;t.len=function(e){return Array.isArray(e)?e.length:"object"===o(e)?Object.keys(e).length:String(e).length};t.ref=function(e,t,n){return"function"==typeof e?e.call(t,n):n[e]};t.regex=function(e,t){return(0,i.default)({type:e},(function(e){return!a(e)||t.test(e)}))}},4078:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=(0,n(6681).regex)("decimal",/^[-]?\d*(\.\d+)?$/);t.default=r},8107:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=(0,n(6681).regex)("email",/^(?:[A-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[A-z0-9!#$%&'*+/=?^_`{|}~-]+)*|"(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21\x23-\x5b\x5d-\x7f]|[\x01-\x09\x0b\x0c\x0e-\x7f])*")@(?:(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9]{2,}(?:[a-z0-9-]*[a-z0-9])?|\[(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?|[a-z0-9-]*[a-z0-9]:(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21-\x5a\x53-\x7f]|\\[\x01-\x09\x0b\x0c\x0e-\x7f])+)\])$/i);t.default=r},379:(e,t,n)=>{"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}Object.defineProperty(t,"Do",{enumerable:!0,get:function(){return s.default}}),t.BM=void 0,Object.defineProperty(t,"_L",{enumerable:!0,get:function(){return _.default}}),Object.defineProperty(t,"BS",{enumerable:!0,get:function(){return f.default}}),Object.defineProperty(t,"PW",{enumerable:!0,get:function(){return O.default}}),Object.defineProperty(t,"Ei",{enumerable:!0,get:function(){return d.default}}),Object.defineProperty(t,"uv",{enumerable:!0,get:function(){return k.default}}),Object.defineProperty(t,"uR",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"C1",{enumerable:!0,get:function(){return h.default}}),Object.defineProperty(t,"CF",{enumerable:!0,get:function(){return m.default}}),Object.defineProperty(t,"Nf",{enumerable:!0,get:function(){return v.default}}),Object.defineProperty(t,"sH",{enumerable:!0,get:function(){return y.default}});var i=M(n(6408)),o=M(n(6195)),a=M(n(5669)),u=M(n(7884)),s=M(n(8107)),l=M(n(9103)),c=M(n(7340)),f=M(n(5287)),d=M(n(3091)),h=M(n(2419)),m=M(n(2941)),v=M(n(8300)),y=M(n(918)),p=M(n(3213)),g=M(n(5832)),b=M(n(5573)),w=M(n(2500)),k=M(n(2628)),O=M(n(301)),_=M(n(6673)),S=M(n(4078)),T=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!=typeof e)return{default:e};var n=x(t);if(n&&n.has(e))return n.get(e);var i={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var u=o?Object.getOwnPropertyDescriptor(e,a):null;u&&(u.get||u.set)?Object.defineProperty(i,a,u):i[a]=e[a]}i.default=e,n&&n.set(e,i);return i}(n(6681));function x(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(x=function(e){return e?n:t})(e)}function M(e){return e&&e.__esModule?e:{default:e}}t.BM=T},6673:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=(0,n(6681).regex)("integer",/(^[0-9]*$)|(^-[0-9]+$)/);t.default=r},9103:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(6681),i=(0,r.withParams)({type:"ipAddress"},(function(e){if(!(0,r.req)(e))return!0;if("string"!=typeof e)return!1;var t=e.split(".");return 4===t.length&&t.every(o)}));t.default=i;var o=function(e){if(e.length>3||0===e.length)return!1;if("0"===e[0]&&"0"!==e)return!1;if(!e.match(/^\d+$/))return!1;var t=0|+e;return t>=0&&t<=255}},7340:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(6681);t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:":";return(0,r.withParams)({type:"macAddress"},(function(t){if(!(0,r.req)(t))return!0;if("string"!=typeof t)return!1;var n="string"==typeof e&&""!==e?t.split(e):12===t.length||16===t.length?t.match(/.{2}/g):null;return null!==n&&(6===n.length||8===n.length)&&n.every(i)}))};var i=function(e){return e.toLowerCase().match(/^[0-9a-f]{2}$/)}},5287:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(6681);t.default=function(e){return(0,r.withParams)({type:"maxLength",max:e},(function(t){return!(0,r.req)(t)||(0,r.len)(t)<=e}))}},301:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(6681);t.default=function(e){return(0,r.withParams)({type:"maxValue",max:e},(function(t){return!(0,r.req)(t)||(!/\s/.test(t)||t instanceof Date)&&+t<=+e}))}},3091:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(6681);t.default=function(e){return(0,r.withParams)({type:"minLength",min:e},(function(t){return!(0,r.req)(t)||(0,r.len)(t)>=e}))}},2628:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(6681);t.default=function(e){return(0,r.withParams)({type:"minValue",min:e},(function(t){return!(0,r.req)(t)||(!/\s/.test(t)||t instanceof Date)&&+t>=+e}))}},2500:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(6681);t.default=function(e){return(0,r.withParams)({type:"not"},(function(t,n){return!(0,r.req)(t)||!e.call(this,t,n)}))}},5669:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=(0,n(6681).regex)("numeric",/^[0-9]*$/);t.default=r},5832:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(6681);t.default=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return(0,r.withParams)({type:"or"},(function(){for(var e=this,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return t.length>0&&t.reduce((function(t,n){return t||n.apply(e,r)}),!1)}))}},2419:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(6681),i=(0,r.withParams)({type:"required"},(function(e){return"string"==typeof e?(0,r.req)(e.trim()):(0,r.req)(e)}));t.default=i},2941:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(6681);t.default=function(e){return(0,r.withParams)({type:"requiredIf",prop:e},(function(t,n){return!(0,r.ref)(e,this,n)||(0,r.req)(t)}))}},8300:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(6681);t.default=function(e){return(0,r.withParams)({type:"requiredUnless",prop:e},(function(t,n){return!!(0,r.ref)(e,this,n)||(0,r.req)(t)}))}},918:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(6681);t.default=function(e){return(0,r.withParams)({type:"sameAs",eq:e},(function(t,n){return t===(0,r.ref)(e,this,n)}))}},3213:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=(0,n(6681).regex)("url",/^(?:(?:(?:https?|ftp):)?\/\/)(?:\S+(?::\S*)?@)?(?:(?!(?:10|127)(?:\.\d{1,3}){3})(?!(?:169\.254|192\.168)(?:\.\d{1,3}){2})(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-z0-9\u00a1-\uffff][a-z0-9\u00a1-\uffff_-]{0,62})?[a-z0-9\u00a1-\uffff]\.)+(?:[a-z\u00a1-\uffff]{2,}\.?))(?::\d{2,5})?(?:[/?#]\S*)?$/i);t.default=r},8085:(e,t,n)=>{"use strict";var r=n(4155);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i="web"===r.env.BUILD?n(16).R:n(8413).withParams;t.default=i},16:(e,t,n)=>{"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}t.R=void 0;var i="undefined"!=typeof window?window:void 0!==n.g?n.g:{},o=i.vuelidate?i.vuelidate.withParams:function(e,t){return"object"===r(e)&&void 0!==t?t:e((function(){}))};t.R=o}}]);
  • iande/trunk/iande.php

    r2698000 r2715435  
    88 * Plugin URI:        https://iandecultura.com.br/
    99 * Description:       Agendamento de visitas de grupos para instituições que recebem públicos presencial ou digitalmente.
    10  * Version:           0.14.0
     10 * Version:           0.15.0
    1111 * Author:            Percebe
    1212 * Author URI:        https://percebeeduca.com.br/
     
    2727 * Currently plugin version.
    2828 */
    29 define('IANDE_PLUGIN_VERSION', '0.14.0');
     29define('IANDE_PLUGIN_VERSION', '0.15.0');
    3030
    3131define('IANDE_PLUGIN_BASEPATH', plugin_dir_path(__FILE__));
  • iande/trunk/includes/post-types/appointment.php

    r2698000 r2715435  
    277277        'name' => (object) [
    278278            'type'       => 'string',
    279             'required'   => false,
     279            'required'   => true,
    280280            'validation' => function ($value) {
    281281                if (strlen(trim($value)) >= 2) {
Note: See TracChangeset for help on using the changeset viewer.