From 659eedf2e5d7613d2e5bfb431426c0dcb208e028 Mon Sep 17 00:00:00 2001 From: Serdar Usta Date: Fri, 25 Apr 2025 14:46:14 +0300 Subject: [PATCH] feat: Add delete one message or many messages feature for published and received messages --- .../RouteActionProvider.cs | 44 ++++++++++- .../wwwroot/dist/assets/Nodes.e25008f8.js | 1 - .../wwwroot/dist/assets/Published.5f09cec3.js | 1 - .../dist/assets/Published.e76c2319.css | 1 - .../wwwroot/dist/assets/Received.5f693fdc.js | 1 - .../wwwroot/dist/assets/Received.a9b90f36.css | 1 - .../dist/assets/Subscriber.1c7b3193.js | 1 - .../wwwroot/dist/assets/index.8eb375a0.js | 74 ------------------- .../wwwroot/dist/assets/index.8fb86891.js | 8 -- .../wwwroot/dist/index.html | 2 +- .../wwwroot/src/assets/language/en-us.js | 1 + .../wwwroot/src/assets/language/zh-cn.js | 1 + .../wwwroot/src/pages/Published.vue | 29 +++++++- .../wwwroot/src/pages/Received.vue | 32 +++++++- .../IDataStorage.InMemory.cs | 15 +++- .../IDataStorage.MongoDB.cs | 16 +++- .../IDataStorage.MySql.cs | 28 ++++++- .../IDataStorage.PostgreSql.cs | 30 ++++++-- .../IDataStorage.SqlServer.cs | 30 ++++++-- .../Persistence/IDataStorage.cs | 6 +- 20 files changed, 208 insertions(+), 114 deletions(-) delete mode 100644 src/DotNetCore.CAP.Dashboard/wwwroot/dist/assets/Nodes.e25008f8.js delete mode 100644 src/DotNetCore.CAP.Dashboard/wwwroot/dist/assets/Published.5f09cec3.js delete mode 100644 src/DotNetCore.CAP.Dashboard/wwwroot/dist/assets/Published.e76c2319.css delete mode 100644 src/DotNetCore.CAP.Dashboard/wwwroot/dist/assets/Received.5f693fdc.js delete mode 100644 src/DotNetCore.CAP.Dashboard/wwwroot/dist/assets/Received.a9b90f36.css delete mode 100644 src/DotNetCore.CAP.Dashboard/wwwroot/dist/assets/Subscriber.1c7b3193.js delete mode 100644 src/DotNetCore.CAP.Dashboard/wwwroot/dist/assets/index.8eb375a0.js delete mode 100644 src/DotNetCore.CAP.Dashboard/wwwroot/dist/assets/index.8fb86891.js diff --git a/src/DotNetCore.CAP.Dashboard/RouteActionProvider.cs b/src/DotNetCore.CAP.Dashboard/RouteActionProvider.cs index 387d0eea9..1fb0387ac 100644 --- a/src/DotNetCore.CAP.Dashboard/RouteActionProvider.cs +++ b/src/DotNetCore.CAP.Dashboard/RouteActionProvider.cs @@ -40,7 +40,8 @@ public RouteActionProvider(IEndpointRouteBuilder builder, DashboardOptions optio _agent = _serviceProvider.GetService(); // may be null } - private IMonitoringApi MonitoringApi => _serviceProvider.GetRequiredService().GetMonitoringApi(); + private IDataStorage DataStorage => _serviceProvider.GetRequiredService(); + private IMonitoringApi MonitoringApi => DataStorage.GetMonitoringApi(); public void MapDashboardRoutes() { @@ -54,7 +55,9 @@ public void MapDashboardRoutes() _builder.MapGet(prefixMatch + "/published/message/{id:long}", PublishedMessageDetails).AllowAnonymousIf(_options.AllowAnonymousExplicit, _options.AuthorizationPolicy); _builder.MapGet(prefixMatch + "/received/message/{id:long}", ReceivedMessageDetails).AllowAnonymousIf(_options.AllowAnonymousExplicit, _options.AuthorizationPolicy); _builder.MapPost(prefixMatch + "/published/requeue", PublishedRequeue).AllowAnonymousIf(_options.AllowAnonymousExplicit, _options.AuthorizationPolicy); + _builder.MapPost(prefixMatch + "/published/delete", PublishedDelete).AllowAnonymousIf(_options.AllowAnonymousExplicit, _options.AuthorizationPolicy); _builder.MapPost(prefixMatch + "/received/reexecute", ReceivedRequeue).AllowAnonymousIf(_options.AllowAnonymousExplicit, _options.AuthorizationPolicy); + _builder.MapPost(prefixMatch + "/received/delete", ReceivedDelete).AllowAnonymousIf(_options.AllowAnonymousExplicit, _options.AuthorizationPolicy); _builder.MapGet(prefixMatch + "/published/{status}", PublishedList).AllowAnonymousIf(_options.AllowAnonymousExplicit, _options.AuthorizationPolicy); _builder.MapGet(prefixMatch + "/received/{status}", ReceivedList).AllowAnonymousIf(_options.AllowAnonymousExplicit, _options.AuthorizationPolicy); _builder.MapGet(prefixMatch + "/subscriber", Subscribers).AllowAnonymousIf(_options.AllowAnonymousExplicit, _options.AuthorizationPolicy); @@ -79,7 +82,7 @@ public async Task MetaInfo(HttpContext httpContext) var cap = _serviceProvider.GetService(); var broker = _serviceProvider.GetService(); var storage = _serviceProvider.GetService(); - + await httpContext.Response.WriteAsJsonAsync(new { cap, @@ -215,6 +218,23 @@ public async Task PublishedRequeue(HttpContext httpContext) httpContext.Response.StatusCode = StatusCodes.Status204NoContent; } + public async Task PublishedDelete(HttpContext httpContext) + { + if (_agent != null && await _agent.Invoke(httpContext)) return; + + var messageIds = await httpContext.Request.ReadFromJsonAsync(); + if (messageIds == null || messageIds.Length == 0) + { + httpContext.Response.StatusCode = StatusCodes.Status422UnprocessableEntity; + return; + } + + foreach (var messageId in messageIds) + _ = await DataStorage.DeletePublishedMessageAsync(messageId); + + httpContext.Response.StatusCode = StatusCodes.Status204NoContent; + } + public async Task ReceivedRequeue(HttpContext httpContext) { if (_agent != null && await _agent.Invoke(httpContext)) return; @@ -236,6 +256,24 @@ public async Task ReceivedRequeue(HttpContext httpContext) httpContext.Response.StatusCode = StatusCodes.Status204NoContent; } + public async Task ReceivedDelete(HttpContext httpContext) + { + if (_agent != null && await _agent.Invoke(httpContext)) return; + + var messageIds = await httpContext.Request.ReadFromJsonAsync(); + if (messageIds == null || messageIds.Length == 0) + { + httpContext.Response.StatusCode = StatusCodes.Status422UnprocessableEntity; + return; + } + + foreach (var messageId in messageIds) + _ = await DataStorage.DeleteReceivedMessageAsync(messageId); + + httpContext.Response.StatusCode = StatusCodes.Status204NoContent; + } + + public async Task PublishedList(HttpContext httpContext) { if (_agent != null && await _agent.Invoke(httpContext)) return; @@ -293,7 +331,7 @@ public async Task ReceivedList(HttpContext httpContext) public async Task Subscribers(HttpContext httpContext) { if (_agent != null && await _agent.Invoke(httpContext)) return; - + var cache = _serviceProvider.GetRequiredService(); var subscribers = cache.GetCandidatesMethodsOfGroupNameGrouped(); diff --git a/src/DotNetCore.CAP.Dashboard/wwwroot/dist/assets/Nodes.e25008f8.js b/src/DotNetCore.CAP.Dashboard/wwwroot/dist/assets/Nodes.e25008f8.js deleted file mode 100644 index 4eab8b6b4..000000000 --- a/src/DotNetCore.CAP.Dashboard/wwwroot/dist/assets/Nodes.e25008f8.js +++ /dev/null @@ -1 +0,0 @@ -import{c as i,n as o,B as c,e as d,f as u,b as f}from"./index.8eb375a0.js";var l=i.CancelToken.source();const p={components:{BIconInfoCircleFill:c,BIconSpeedometer2:d,BIconArrowClockwise:u,BIconSearch:f},data(){return{pinging:!1,selected:null,nsList:[],isBusy:!1,items:[]}},computed:{fields(){return[{key:"id",label:this.$t("Id")},{key:"name",label:this.$t("Node Name"),tdClass:"text-left"},{key:"address",label:this.$t("Ip Address"),tdClass:"text-left"},{key:"tags",label:this.$t("Tags"),tdClass:"text-left"},{key:"latency",label:this.$t("Latency"),thClass:"text-center",tdClass:"text-success"},{key:"actions",label:this.$t("Actions"),thClass:"text-center"}]}},mounted(){this.fetchNsOptions(),this.fetchData()},methods:{colWidth(n){switch(n){case"address":return"320px";case"actions":return"80px";case"latency":return"60px";default:return""}},fetchNsOptions(){this.isBusy=!0,i.get("/list-ns").then(e=>{e.data.length>0&&(this.nsList=e.data)}),this.isBusy=!1;var n=this.getCookie("cap.node.ns");n&&(this.selected=n,this.fetchSvcs())},fetchSvcs(){if(!!this.selected){this.isBusy=!0;var n=this.getCookie("cap.node");this.pinging==!0&&(l.cancel(),l=i.CancelToken.source()),i.get("/list-svc/"+this.selected).then(e=>{for(var t of e.data)t.name==n&&(t._rowVariant="dark"),t._ping=!1;this.items=e.data,this.isBusy=!1})}},async pingSvcs(){var t;this.pinging=!0;for(var n of this.items)try{var e=await i.get("/ping",{params:{endpoint:n.address+":"+n.port},timeout:3e3,cancelToken:l.token});n.latency=e.data}catch(s){if(i.isCancel(s))break;n.latency=(t=s.response)==null?void 0:t.data}this.pinging=!1},fetchData(){this.isBusy=!0;var n=this.getCookie("cap.node");i.get("/nodes").then(e=>{for(var t of e.data)t.name==n&&(t._rowVariant="dark");this.items=e.data,this.isBusy=!1})},switchNode(n){n._ping=!0,i.get("/ping",{params:{endpoint:n.address+":"+n.port},timeout:3e3}).then(e=>{n.latency=e.data,document.cookie=`cap.node=${escape(n.name)};`,document.cookie=`cap.node.ns=${this.selected};`,n._ping=!1,location.reload()}).catch(e=>{var t;i.isAxiosError(e)&&(n.latency=(t=e.response)==null?void 0:t.data,this.$bvToast.toast("Switch to ["+n.name+"] failed! Endpoint: "+n.address,{title:"Warning",variant:"danger",autoHideDelay:2e3,appendToast:!0,solid:!0})),n._ping=!1})},getCookie(n){for(var e=n+"=",t=decodeURIComponent(document.cookie),s=t.split(";"),a=0;a0?t("b-row",{staticClass:"mb-3"},[t("b-col",[t("b-form-select",{attrs:{"value-field":"item","text-field":"name",options:e.nsList},on:{change:function(s){return e.fetchSvcs()}},scopedSlots:e._u([{key:"first",fn:function(){return[t("b-form-select-option",{attrs:{value:null,disabled:""}},[e._v(e._s(e.$t("SelectNamespaces")))])]},proxy:!0}],null,!1,213963292),model:{value:e.selected,callback:function(s){e.selected=s},expression:"selected"}})],1),t("b-col",{attrs:{cols:"1"}},[t("b-button",{attrs:{variant:"dark",disabled:e.selected==null||e.pinging,"aria-disabled":"true",id:"latency"},on:{click:function(s){return e.pingSvcs()}}},[e.pinging?e._e():t("b-icon-speedometer2"),e.pinging?t("b-icon-arrow-clockwise",{attrs:{animation:"spin"}}):e._e()],1)],1)],1):e._e(),t("b-table",{attrs:{fields:e.fields,items:e.items,busy:e.isBusy,small:"","head-variant":"light","show-empty":"",striped:"",hover:"",responsive:"","thead-tr-class":"text-left","empty-text":e.nsList.length==0?e.$t("NonDiscovery"):e.$t("EmptyRecords")},scopedSlots:e._u([{key:"table-colgroup",fn:function(s){return e._l(s.fields,function(a){return t("col",{key:a.key,style:{width:e.colWidth(a.key)}})})}},{key:"table-busy",fn:function(){return[t("div",{staticClass:"text-center text-secondary my-2"},[t("b-spinner",{staticClass:"align-middle"}),t("strong",{staticClass:"ml-2"},[e._v(e._s(e.$t("Loading"))+"...")])],1)]},proxy:!0},{key:"empty",fn:function(s){return[t("h5",{staticClass:"alert alert-info",attrs:{role:"alert"}},[t("b-icon-info-circle-fill"),e._v(" "+e._s(s.emptyText)+" ")],1)]}},{key:"cell(id)",fn:function(s){return[t("div",{staticClass:"texts"},[e._v(" "+e._s(s.item.id)+" ")])]}},{key:"cell(address)",fn:function(s){return[e._v(" "+e._s(s.item.address+(s.item.port==80?"":":"+s.item.port))+" ")]}},{key:"cell(tags)",fn:function(s){return[t("b-badge",{attrs:{variant:"info"}},[e._v(e._s(s.item.tags.split(",")[0]))]),s.item.tags!=""?t("b-link",{on:{click:s.toggleDetails}},[t("div",{staticClass:"ml-2",staticStyle:{"font-size":"12px",color:"gray"}},[e._v("Show "+e._s(s.detailsShowing?"Less":"More")+" ")])]):e._e()]}},{key:"row-details",fn:function(s){return e._l(s.item.tags.split(","),function(a){return t("b-badge",{key:a,staticClass:"mb-1 ml-2"},[e._v(e._s(a))])})}},{key:"cell(latency)",fn:function(s){return[s.item.latency==null?t("div"):typeof s.item.latency=="number"?t("b-badge",{attrs:{variant:"success"}},[e._v(" "+e._s(s.item.latency+" ms")+" ")]):t("b-badge",{directives:[{name:"b-popover",rawName:"v-b-popover.hover.left",value:s.item.latency,expression:"data.item.latency",modifiers:{hover:!0,left:!0}}],attrs:{pill:"",href:"#",variant:"danger",size:"sm",title:"Request failed"}},[e._v(" Error ")])]}},{key:"cell(actions)",fn:function(s){return[t("b-button",{attrs:{size:"sm",variant:"dark"},on:{click:function(a){return e.switchNode(s.item)}}},[s.item._ping?t("b-spinner",{attrs:{small:"",variant:"secondary",type:"grow",label:"Spinning"}}):e._e(),e._v(" "+e._s(e.$t("Switch"))+" ")],1)]}}])})],1)},v=[],g=o(p,h,v,!1,null,null,null,null);const m=g.exports;export{m as default}; diff --git a/src/DotNetCore.CAP.Dashboard/wwwroot/dist/assets/Published.5f09cec3.js b/src/DotNetCore.CAP.Dashboard/wwwroot/dist/assets/Published.5f09cec3.js deleted file mode 100644 index 5944fa8d6..000000000 --- a/src/DotNetCore.CAP.Dashboard/wwwroot/dist/assets/Published.5f09cec3.js +++ /dev/null @@ -1 +0,0 @@ -import{n,B as r,a as o,b as c,c as l}from"./index.8eb375a0.js";import{j as d}from"./index.8fb86891.js";const u={currentPage:1,perPage:10,name:"",content:""},m={components:{BIconInfoCircleFill:r,BIconArrowRepeat:o,BIconSearch:c},props:{status:{}},data(){return{subMens:[{variant:"secondary",text:"Succeeded",num:"publishedSucceeded",name:"/published/succeeded"},{variant:"danger",text:"Failed",name:"/published/failed",num:"publishedFailed"},{variant:"warning",text:"Delayed",name:"/published/delayed",num:"publishedDelayed"}],pageOptions:[10,20,50,100,500],selectedItems:[],isBusy:!1,tableValues:[],isSelectedAll:!1,formData:{...u},totals:0,items:[],infoModal:{id:"info-modal",title:"",content:"{}"},expiresTitle:this.$t("Expires"),requeueTitle:this.$t("Requeue")}},computed:{onMetric(){return this.$store.getters.getMetric},fields(){return[{key:"checkbox",label:""},{key:"id",label:this.$t("IdName")},{key:"retries",label:this.$t("Retries")},{key:"added",label:this.$t("Added"),formatter:a=>{if(a!=null)return new Date(a).format("yyyy-MM-dd hh:mm:ss")}},{key:"expiresAt",label:this.expiresTitle,formatter:a=>{if(a!=null)return new Date(a).format("yyyy-MM-dd hh:mm:ss")}}]}},mounted(){this.fetchData(),window.abc=this},watch:{status:function(){this.fetchData()},"formData.currentPage":function(){this.fetchData()}},methods:{fetchData(){this.isBusy=!0,l.get(`/published/${this.status}`,{params:this.formData}).then(a=>{this.items=a.data.items,this.totals=a.data.totals,this.status=="delayed"?(this.expiresTitle=this.$t("DelayedPublishTime"),this.requeueTitle=this.$t("PublishNow")):(this.expiresTitle=this.$t("Expires"),this.requeueTitle=this.$t("Requeue"))}).finally(()=>{this.isBusy=!1})},selectAll(a){a?(this.selectedItems=[...this.items.map(t=>({...t,selected:!0}))],this.items=[...this.selectedItems]):(this.selectedItems=[],this.items=this.items.map(t=>({...t,selected:!1})))},select(a){const{id:t}=a;this.selectedItems.some(e=>e.id==t)?this.selectedItems=this.selectedItems.filter(e=>e.id!=t):this.selectedItems.push(a),this.isSelectedAll=this.selectedItems.length==this.items.length},clearSelected(){this.allSelected=!1,this.selectedItems=[]},info(a,t){this.infoModal.title=a.id.toString(),this.infoModal.content=d.exports({storeAsString:!0}).parse(a.content.trim()),this.$root.$emit("bv::show::modal",this.infoModal.id,t)},pageSizeChange:function(a){this.formData.perPage=a,this.fetchData()},onSearch:function(){this.fetchData()},requeue:function(){const a=this;l.post("/published/requeue",this.selectedItems.map(t=>t.id)).then(()=>{this.selectedItems.map(t=>{a.$bvToast.toast(this.$t("RequeueSuccess")+" "+t.id,{title:"Tips",variant:"secondary",autoHideDelay:1e3,appendToast:!0,solid:!0})}),a.clear()})},clear(){this.items=this.items.map(a=>({...a,selected:!1})),this.selectedItems=[],this.isSelectedAll=!1}}};var f=function(){var t=this,e=t._self._c;return e("div",[e("b-row",[e("b-col",{attrs:{md:"3"}},[e("b-list-group",[e("b-tooltip",{attrs:{target:"tooltip",triggers:"hover",variant:"warning","custom-class":"my-tooltip-class",placement:"bottomright"}},[t._v(" "+t._s(t.$t("DelayedInfo"))+" ")]),t._l(t.subMens,function(s,i){return e("router-link",{key:s.text,staticClass:"list-group-item text-left list-group-item-secondary list-group-item-action",attrs:{"active-class":"active",to:s.name}},[t._v(" "+t._s(t.$t(s.text))+" "),i==t.subMens.length-1?e("b-icon-info-circle-fill",{attrs:{id:"tooltip"}}):t._e(),e("b-badge",{staticClass:"float-right",attrs:{variant:s.variant,pill:""}},[t._v(" "+t._s(t.onMetric[s.num])+" ")])],1)})],2)],1),e("b-col",{attrs:{md:"9"}},[e("h2",{staticClass:"page-line mb-2"},[t._v(t._s(t.$t("Published Message")))]),e("b-form",{staticClass:"d-flex"},[e("div",{staticClass:"col-sm-10"},[e("div",{staticClass:"form-row mb-2"},[e("label",{staticClass:"sr-only",attrs:{for:"form-input-name"}},[t._v(t._s(t.$t("Name")))]),e("b-form-input",{staticClass:"form-control",attrs:{id:"form-input-name",placeholder:t.$t("Name")},model:{value:t.formData.name,callback:function(s){t.$set(t.formData,"name",s)},expression:"formData.name"}})],1),e("div",{staticClass:"form-row"},[e("label",{staticClass:"sr-only",attrs:{for:"inline-form-input-content"}},[t._v(t._s(t.$t("Content")))]),e("b-form-input",{staticClass:"form-control",attrs:{id:"inline-form-input-content",placeholder:t.$t("Content")},model:{value:t.formData.content,callback:function(s){t.$set(t.formData,"content",s)},expression:"formData.content"}})],1)]),e("b-button",{staticClass:"ml-2 align-self-end",attrs:{variant:"dark"},on:{click:t.onSearch}},[e("b-icon-search"),t._v(" "+t._s(t.$t("Search"))+" ")],1)],1)],1)],1),e("b-row",[e("b-col",{attrs:{md:"12"}},[e("b-btn-toolbar",{staticClass:"mt-4"},[e("b-button",{attrs:{size:"sm",variant:"dark",disabled:!t.selectedItems.length},on:{click:t.requeue}},[e("b-icon-arrow-repeat",{attrs:{"aria-hidden":"true"}}),t._v(" "+t._s(t.requeueTitle)+" ")],1),e("div",{staticClass:"pagination"},[e("span",{staticStyle:{"font-size":"14px"}},[t._v(t._s(t.$t("Page Size"))+":")]),e("b-button-group",{staticClass:"ml-2"},t._l(t.pageOptions,function(s){return e("b-button",{key:s,class:{active:t.formData.perPage==s},attrs:{variant:"outline-secondary",size:"sm"},on:{click:function(i){return t.pageSizeChange(s)}}},[t._v(t._s(s)+" ")])}),1)],1)],1),e("b-table",{staticClass:"mt-3",attrs:{id:"datatable",busy:t.isBusy,striped:"","thead-tr-class":"text-left ","head-variant":"light","details-td-class":"align-middle","tbody-tr-class":"text-left",small:"",fields:t.fields,items:t.items,"select-mode":"range"},scopedSlots:t._u([{key:"table-busy",fn:function(){return[e("div",{staticClass:"text-center text-secondary my-2"},[e("b-spinner",{staticClass:"align-middle"}),e("strong",{staticClass:"ml-2"},[t._v(t._s(t.$t("Loading"))+"...")])],1)]},proxy:!0},{key:"head(checkbox)",fn:function(){return[e("b-form-checkbox",{on:{change:t.selectAll},model:{value:t.isSelectedAll,callback:function(s){t.isSelectedAll=s},expression:"isSelectedAll"}})]},proxy:!0},{key:"cell(checkbox)",fn:function(s){return[e("b-form-checkbox",{on:{change:function(i){return t.select(s.item)}},model:{value:s.item.selected,callback:function(i){t.$set(s.item,"selected",i)},expression:"data.item.selected"}})]}},{key:"cell(id)",fn:function(s){return[e("b-link",{on:{click:function(i){return t.info(s.item,i.target)}}},[t._v(" "+t._s(s.item.id)+" ")]),e("br"),t._v(" "+t._s(s.item.name)+" ")]}}])}),e("span",{staticClass:"float-left"},[t._v(" "+t._s(t.$t("Total"))+": "+t._s(t.totals)+" ")]),e("b-pagination",{staticClass:"capPagination",attrs:{"first-text":t.$t("First"),"prev-text":t.$t("Prev"),"next-text":t.$t("Next"),"last-text":t.$t("Last"),"total-rows":t.totals,"per-page":t.formData.perPage,"aria-controls":"datatable"},model:{value:t.formData.currentPage,callback:function(s){t.$set(t.formData,"currentPage",s)},expression:"formData.currentPage"}})],1)],1),e("b-modal",{attrs:{size:"lg",id:t.infoModal.id,title:"Id: "+t.infoModal.title,"ok-only":"","ok-variant":"secondary"}},[e("vue-json-pretty",{key:t.infoModal.id,attrs:{showSelectController:"",data:t.infoModal.content}})],1)],1)},h=[],p=n(m,f,h,!1,null,"bc32cf7c",null,null);const _=p.exports;export{_ as default}; diff --git a/src/DotNetCore.CAP.Dashboard/wwwroot/dist/assets/Published.e76c2319.css b/src/DotNetCore.CAP.Dashboard/wwwroot/dist/assets/Published.e76c2319.css deleted file mode 100644 index 0d2ba6265..000000000 --- a/src/DotNetCore.CAP.Dashboard/wwwroot/dist/assets/Published.e76c2319.css +++ /dev/null @@ -1 +0,0 @@ -.pagination[data-v-bc32cf7c]{flex:1;justify-content:flex-end;align-items:center}.capPagination[data-v-bc32cf7c] .page-link{color:#6c757d;box-shadow:none;border-color:#6c757d}.capPagination[data-v-bc32cf7c] .page-link:hover{color:#fff;background-color:#6c757d;border-color:#6c757d}.capPagination[data-v-bc32cf7c] .active .page-link{color:#fff;background-color:#000}.my-align-middle[data-v-bc32cf7c]{vertical-align:middle} diff --git a/src/DotNetCore.CAP.Dashboard/wwwroot/dist/assets/Received.5f693fdc.js b/src/DotNetCore.CAP.Dashboard/wwwroot/dist/assets/Received.5f693fdc.js deleted file mode 100644 index 9928962ca..000000000 --- a/src/DotNetCore.CAP.Dashboard/wwwroot/dist/assets/Received.5f693fdc.js +++ /dev/null @@ -1 +0,0 @@ -import{n as l,a as r,b as o,c as n}from"./index.8eb375a0.js";import{j as c}from"./index.8fb86891.js";const d={currentPage:1,perPage:10,name:"",group:"",content:""},m={components:{BIconArrowRepeat:r,BIconSearch:o},props:{status:{}},data(){return{subMens:[{variant:"secondary",text:"Succeeded",num:"receivedSucceeded",name:"/received/succeeded"},{variant:"danger",text:"Failed",name:"/received/failed",num:"receivedFailed"}],pageOptions:[10,20,50,100,500],selectedItems:[],isBusy:!1,tableValues:[],isSelectedAll:!1,formData:{...d},totals:0,items:[],infoModal:{id:"info-modal",title:"",content:"{}"}}},computed:{onMetric(){return this.$store.getters.getMetric},fields(){return[{key:"checkbox",label:""},{key:"id",label:this.$t("IdName")},{key:"group",label:this.$t("Group")},{key:"retries",label:this.$t("Retries")},{key:"added",label:this.$t("Added"),formatter:a=>{if(a!=null)return new Date(a).format("yyyy-MM-dd hh:mm:ss")}},{key:"expiresAt",label:this.$t("Expires"),formatter:a=>{if(a!=null)return new Date(a).format("yyyy-MM-dd hh:mm:ss")}}]}},mounted(){this.fetchData()},watch:{status:function(){this.fetchData()},"formData.currentPage":function(){this.fetchData()}},methods:{fetchData(){this.isBusy=!0,n.get(`/received/${this.status}`,{params:this.formData}).then(a=>{this.items=a.data.items,this.totals=a.data.totals}).finally(()=>{this.isBusy=!1})},selectAll(a){a?(this.selectedItems=[...this.items.map(t=>({...t,selected:!0}))],this.items=[...this.selectedItems]):(this.selectedItems=[],this.items=this.items.map(t=>({...t,selected:!1})))},select(a){const{id:t}=a;this.selectedItems.some(e=>e.id==t)?this.selectedItems=this.selectedItems.filter(e=>e.id!=t):this.selectedItems.push(a),this.isSelectedAll=this.selectedItems.length==this.items.length},clearSelected(){this.allSelected=!1,this.selectedItems=[]},info(a,t){this.infoModal.title=a.id.toString(),this.infoModal.content=c.exports({storeAsString:!0}).parse(a.content.trim()),this.$root.$emit("bv::show::modal",this.infoModal.id,t)},pageSizeChange:function(a){this.formData.perPage=a,this.fetchData()},onSearch:function(){this.fetchData()},reexecute:function(){const a=this;n.post("/received/reexecute",this.selectedItems.map(t=>t.id)).then(()=>{this.selectedItems.map(t=>{a.$bvToast.toast(this.$t("ReexecuteSuccess")+" "+t.id,{title:"Tips",variant:"secondary",autoHideDelay:1e3,appendToast:!0,solid:!0})}),a.fetchData(),a.clear()})},clear(){this.items=this.items.map(a=>({...a,selected:!1})),this.selectedItems=[],this.isSelectedAll=!1}}};var f=function(){var t=this,e=t._self._c;return e("div",[e("b-row",[e("b-col",{staticClass:"mt-4",attrs:{md:"3"}},[e("b-list-group",t._l(t.subMens,function(s){return e("router-link",{key:s.text,staticClass:"list-group-item text-left list-group-item-secondary list-group-item-action",attrs:{"active-class":"active",to:s.name}},[t._v(" "+t._s(t.$t(s.text))+" "),e("b-badge",{staticClass:"float-right",attrs:{variant:s.variant,pill:""}},[t._v(" "+t._s(t.onMetric[s.num])+" ")])],1)}),1)],1),e("b-col",{attrs:{md:"9"}},[e("h2",{staticClass:"page-line mb-2"},[t._v(t._s(t.$t("Received Message")))]),e("b-form",{staticClass:"d-flex"},[e("div",{staticClass:"col-sm-10"},[e("div",{staticClass:"form-row mb-2"},[e("label",{staticClass:"sr-only",attrs:{for:"inline-form-input-name"}},[t._v(t._s(t.$t("Name")))]),e("b-form-input",{staticClass:"form-control col mr-4",attrs:{id:"inline-form-input-name",placeholder:t.$t("Name")},model:{value:t.formData.name,callback:function(s){t.$set(t.formData,"name",s)},expression:"formData.name"}}),e("label",{staticClass:"sr-only",attrs:{for:"inline-form-input-name"}},[t._v(t._s(t.$t("Group")))]),e("b-form-input",{staticClass:"form-control col",attrs:{id:"inline-form-input-group",placeholder:t.$t("Group")},model:{value:t.formData.group,callback:function(s){t.$set(t.formData,"group",s)},expression:"formData.group"}})],1),e("div",{staticClass:"form-row"},[e("label",{staticClass:"sr-only",attrs:{for:"inline-form-input-content"}},[t._v(t._s(t.$t("Content")))]),e("b-form-input",{staticClass:"form-control",attrs:{id:"inline-form-input-content",placeholder:t.$t("Content")},model:{value:t.formData.content,callback:function(s){t.$set(t.formData,"content",s)},expression:"formData.content"}})],1)]),e("b-button",{staticClass:"ml-2 align-self-end",attrs:{variant:"dark"},on:{click:t.onSearch}},[e("b-icon-search"),t._v(" "+t._s(t.$t("Search"))+" ")],1)],1)],1)],1),e("b-row",[e("b-col",{attrs:{md:"12"}},[e("b-btn-toolbar",{staticClass:"mt-4"},[e("b-button",{attrs:{size:"sm",variant:"dark",disabled:!t.selectedItems.length},on:{click:t.reexecute}},[e("b-icon-arrow-repeat",{attrs:{"aria-hidden":"true"}}),t._v(" "+t._s(t.$t("Re-execute"))+" ")],1),e("div",{staticClass:"pagination"},[e("span",{staticStyle:{"font-size":"14px"}},[t._v(" "+t._s(t.$t("Page Size"))+":")]),e("b-button-group",{staticClass:"ml-2"},t._l(t.pageOptions,function(s){return e("b-button",{key:s,class:{active:t.formData.perPage==s},attrs:{variant:"outline-secondary",size:"sm"},on:{click:function(i){return t.pageSizeChange(s)}}},[t._v(t._s(s)+" ")])}),1)],1)],1),e("b-table",{staticClass:"mt-3",attrs:{id:"datatable",busy:t.isBusy,striped:"","thead-tr-class":"text-left","head-variant":"light","tbody-tr-class":"text-left",small:"",fields:t.fields,items:t.items,"select-mode":"range"},scopedSlots:t._u([{key:"table-busy",fn:function(){return[e("div",{staticClass:"text-center text-secondary my-2"},[e("b-spinner",{staticClass:"align-middle"}),e("strong",{staticClass:"ml-2"},[t._v(t._s(t.$t("Loading"))+"...")])],1)]},proxy:!0},{key:"head(checkbox)",fn:function(){return[e("b-form-checkbox",{on:{change:t.selectAll},model:{value:t.isSelectedAll,callback:function(s){t.isSelectedAll=s},expression:"isSelectedAll"}})]},proxy:!0},{key:"cell(checkbox)",fn:function(s){return[e("b-form-checkbox",{on:{change:function(i){return t.select(s.item)}},model:{value:s.item.selected,callback:function(i){t.$set(s.item,"selected",i)},expression:"data.item.selected"}})]}},{key:"cell(id)",fn:function(s){return[e("b-link",{on:{click:function(i){return t.info(s.item,i.target)}}},[t._v(" "+t._s(s.item.id)+" ")]),e("br"),t._v(" "+t._s(s.item.name)+" ")]}},{key:"cell(group)",fn:function(s){return[e("span",{staticClass:"text-break"},[t._v(" "+t._s(s.item.group))])]}}])}),e("span",{staticClass:"float-left"},[t._v(" "+t._s(t.$t("Total"))+": "+t._s(t.totals)+" ")]),e("b-pagination",{staticClass:"capPagination",attrs:{"first-text":t.$t("First"),"prev-text":t.$t("Prev"),"next-text":t.$t("Next"),"last-text":t.$t("Last"),"total-rows":t.totals,"per-page":t.formData.perPage,"aria-controls":"datatable"},model:{value:t.formData.currentPage,callback:function(s){t.$set(t.formData,"currentPage",s)},expression:"formData.currentPage"}})],1)],1),e("b-modal",{attrs:{size:"lg",id:t.infoModal.id,title:"Id: "+t.infoModal.title,"ok-only":"","ok-variant":"secondary"}},[e("vue-json-pretty",{key:t.infoModal.id,attrs:{showSelectController:"",data:t.infoModal.content}})],1)],1)},u=[],h=l(m,f,u,!1,null,"2b9b648f",null,null);const v=h.exports;export{v as default}; diff --git a/src/DotNetCore.CAP.Dashboard/wwwroot/dist/assets/Received.a9b90f36.css b/src/DotNetCore.CAP.Dashboard/wwwroot/dist/assets/Received.a9b90f36.css deleted file mode 100644 index 703dff819..000000000 --- a/src/DotNetCore.CAP.Dashboard/wwwroot/dist/assets/Received.a9b90f36.css +++ /dev/null @@ -1 +0,0 @@ -.pagination[data-v-2b9b648f]{flex:1;justify-content:flex-end;align-items:center}.capPagination[data-v-2b9b648f] .page-link{color:#6c757d;box-shadow:none;border-color:#6c757d}.capPagination[data-v-2b9b648f] .page-link:hover{color:#fff;background-color:#6c757d;border-color:#6c757d}.capPagination[data-v-2b9b648f] .active .page-link{color:#fff;background-color:#000} diff --git a/src/DotNetCore.CAP.Dashboard/wwwroot/dist/assets/Subscriber.1c7b3193.js b/src/DotNetCore.CAP.Dashboard/wwwroot/dist/assets/Subscriber.1c7b3193.js deleted file mode 100644 index 878dcc966..000000000 --- a/src/DotNetCore.CAP.Dashboard/wwwroot/dist/assets/Subscriber.1c7b3193.js +++ /dev/null @@ -1 +0,0 @@ -import{n,c as _}from"./index.8eb375a0.js";const l={data(){return{subscribers:{}}},mounted(){_.get("/subscriber").then(r=>{this.subscribers=r.data})}};var o=function(){var t=this,s=t._self._c;return s("b-row",[s("h2",{attrs:{"page-line":"","mb-4":""}},[t._v(t._s(t.$t("Subscriber")))]),s("b-table-simple",{attrs:{"caption-top":"",bordered:"",small:"",responsive:""}},[s("caption",[t._v(t._s(t.$t("SubscriberDescription")))]),s("b-thead",{attrs:{"head-variant":"light"}},[s("b-tr",[s("b-th",{staticClass:"text-left",attrs:{width:"30%"}},[t._v(t._s(t.$t("Group")))]),s("b-th",{staticClass:"text-left"},[t._v(t._s(t.$t("Name")))]),s("b-th",{staticClass:"text-left"},[t._v(t._s(t.$t("Method")))])],1)],1),s("b-tbody",[t._l(t.subscribers,function(e){return t._l(e.values,function(a,i){return s("b-tr",{key:e.group+i},[i==0?s("b-td",{staticClass:"text-left align-middle",attrs:{rowspan:e.childCount}},[t._v(" "+t._s(e.group)+" ")]):t._e(),s("b-td",{staticClass:"text-left align-middle"},[t._v(" "+t._s(a.topic)+" ")]),s("b-td",[s("div",{staticClass:"snippet-code text-left align-middle"},[s("code",[s("pre",[s("span",{staticClass:"type"},[t._v(t._s(a.implName))]),t._v(":"),s("br"),s("span",{domProps:{innerHTML:t._s(a.methodEscaped)}},[t._v(t._s(a.methodEscaped))])])])])])],1)})})],2)],1)],1)},c=[],d=n(l,o,c,!1,null,null,null,null);const b=d.exports;export{b as default}; diff --git a/src/DotNetCore.CAP.Dashboard/wwwroot/dist/assets/index.8eb375a0.js b/src/DotNetCore.CAP.Dashboard/wwwroot/dist/assets/index.8eb375a0.js deleted file mode 100644 index e8f03653c..000000000 --- a/src/DotNetCore.CAP.Dashboard/wwwroot/dist/assets/index.8eb375a0.js +++ /dev/null @@ -1,74 +0,0 @@ -(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))n(i);new MutationObserver(i=>{for(const a of i)if(a.type==="childList")for(const o of a.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&n(o)}).observe(document,{childList:!0,subtree:!0});function r(i){const a={};return i.integrity&&(a.integrity=i.integrity),i.referrerpolicy&&(a.referrerPolicy=i.referrerpolicy),i.crossorigin==="use-credentials"?a.credentials="include":i.crossorigin==="anonymous"?a.credentials="omit":a.credentials="same-origin",a}function n(i){if(i.ep)return;i.ep=!0;const a=r(i);fetch(i.href,a)}})();/*! - * Vue.js v2.7.16 - * (c) 2014-2023 Evan You - * Released under the MIT License. - */var pn=Object.freeze({}),Ne=Array.isArray;function Oe(t){return t==null}function L(t){return t!=null}function _t(t){return t===!0}function vI(t){return t===!1}function ju(t){return typeof t=="string"||typeof t=="number"||typeof t=="symbol"||typeof t=="boolean"}function mt(t){return typeof t=="function"}function gr(t){return t!==null&&typeof t=="object"}var rb=Object.prototype.toString;function On(t){return rb.call(t)==="[object Object]"}function mI(t){return rb.call(t)==="[object RegExp]"}function m$(t){var e=parseFloat(String(t));return e>=0&&Math.floor(e)===e&&isFinite(t)}function pm(t){return L(t)&&typeof t.then=="function"&&typeof t.catch=="function"}function gI(t){return t==null?"":Array.isArray(t)||On(t)&&t.toString===rb?JSON.stringify(t,bI,2):String(t)}function bI(t,e){return e&&e.__v_isRef?e.value:e}function _u(t){var e=parseFloat(t);return isNaN(e)?t:e}function Jn(t,e){for(var r=Object.create(null),n=t.split(","),i=0;i-1)return t.splice(n,1)}}var OI=Object.prototype.hasOwnProperty;function Cr(t,e){return OI.call(t,e)}function No(t){var e=Object.create(null);return function(n){var i=e[n];return i||(e[n]=t(n))}}var _I=/-(\w)/g,Oo=No(function(t){return t.replace(_I,function(e,r){return r?r.toUpperCase():""})}),wI=No(function(t){return t.charAt(0).toUpperCase()+t.slice(1)}),TI=/\B([A-Z])/g,Vu=No(function(t){return t.replace(TI,"-$1").toLowerCase()});function SI(t,e){function r(n){var i=arguments.length;return i?i>1?t.apply(e,arguments):t.call(e,n):t.call(e)}return r._length=t.length,r}function PI(t,e){return t.bind(e)}var g$=Function.prototype.bind?PI:SI;function hm(t,e){e=e||0;for(var r=t.length-e,n=new Array(r);r--;)n[r]=t[r+e];return n}function ut(t,e){for(var r in e)t[r]=e[r];return t}function b$(t){for(var e={},r=0;r0,nb=br&&br.indexOf("edge/")>0;br&&br.indexOf("android")>0;var RI=br&&/iphone|ipad|ipod|ios/.test(br);br&&/chrome\/\d+/.test(br);br&&/phantomjs/.test(br);var MO=br&&br.match(/firefox\/(\d+)/),vm={}.watch,T$=!1;if(wn)try{var NO={};Object.defineProperty(NO,"passive",{get:function(){T$=!0}}),window.addEventListener("test-passive",null,NO)}catch{}var _c,Hu=function(){return _c===void 0&&(!wn&&typeof global<"u"?_c=global.process&&global.process.env.VUE_ENV==="server":_c=!1),_c},Vf=wn&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function Cs(t){return typeof t=="function"&&/native code/.test(t.toString())}var zu=typeof Symbol<"u"&&Cs(Symbol)&&typeof Reflect<"u"&&Cs(Reflect.ownKeys),wu;typeof Set<"u"&&Cs(Set)?wu=Set:wu=function(){function t(){this.set=Object.create(null)}return t.prototype.has=function(e){return this.set[e]===!0},t.prototype.add=function(e){this.set[e]=!0},t.prototype.clear=function(){this.set=Object.create(null)},t}();var As=null;function Sa(t){t===void 0&&(t=null),t||As&&As._scope.off(),As=t,t&&t._scope.on()}var _n=function(){function t(e,r,n,i,a,o,s,l){this.tag=e,this.data=r,this.children=n,this.text=i,this.elm=a,this.ns=void 0,this.context=o,this.fnContext=void 0,this.fnOptions=void 0,this.fnScopeId=void 0,this.key=r&&r.key,this.componentOptions=s,this.componentInstance=void 0,this.parent=void 0,this.raw=!1,this.isStatic=!1,this.isRootInsert=!0,this.isComment=!1,this.isCloned=!1,this.isOnce=!1,this.asyncFactory=l,this.asyncMeta=void 0,this.isAsyncPlaceholder=!1}return Object.defineProperty(t.prototype,"child",{get:function(){return this.componentInstance},enumerable:!1,configurable:!0}),t}(),co=function(t){t===void 0&&(t="");var e=new _n;return e.text=t,e.isComment=!0,e};function ys(t){return new _n(void 0,void 0,void 0,String(t))}function mm(t){var e=new _n(t.tag,t.data,t.children&&t.children.slice(),t.text,t.elm,t.context,t.componentOptions,t.asyncFactory);return e.ns=t.ns,e.isStatic=t.isStatic,e.key=t.key,e.isComment=t.isComment,e.fnContext=t.fnContext,e.fnOptions=t.fnOptions,e.fnScopeId=t.fnScopeId,e.asyncMeta=t.asyncMeta,e.isCloned=!0,e}var xI=0,tf=[],MI=function(){for(var t=0;t0&&(i=D$(i,"".concat(e||"","_").concat(n)),wl(i[0])&&wl(o)&&(r[a]=ys(o.text+i[0].text),i.shift()),r.push.apply(r,i)):ju(i)?wl(o)?r[a]=ys(o.text+i):i!==""&&r.push(ys(i)):wl(i)&&wl(o)?r[a]=ys(o.text+i.text):(_t(t._isVList)&&L(i.tag)&&Oe(i.key)&&L(e)&&(i.key="__vlist".concat(e,"_").concat(n,"__")),r.push(i)));return r}function zI(t,e){var r=null,n,i,a,o;if(Ne(t)||typeof t=="string")for(r=new Array(t.length),n=0,i=t.length;n0,o=e?!!e.$stable:!a,s=e&&e.$key;if(!e)i={};else{if(e._normalized)return e._normalized;if(o&&n&&n!==pn&&s===n.$key&&!a&&!n.$hasNormal)return n;i={};for(var l in e)e[l]&&l[0]!=="$"&&(i[l]=eB(t,r,l,e[l]))}for(var u in r)u in i||(i[u]=tB(r,u));return e&&Object.isExtensible(e)&&(e._normalized=i),ga(i,"$stable",o),ga(i,"$key",s),ga(i,"$hasNormal",a),i}function eB(t,e,r,n){var i=function(){var a=As;Sa(t);var o=arguments.length?n.apply(null,arguments):n({});o=o&&typeof o=="object"&&!Ne(o)?[o]:sb(o);var s=o&&o[0];return Sa(a),o&&(!s||o.length===1&&s.isComment&&!Tu(s))?void 0:o};return n.proxy&&Object.defineProperty(e,r,{get:i,enumerable:!0,configurable:!0}),i}function tB(t,e){return function(){return t[e]}}function rB(t){var e=t.$options,r=e.setup;if(r){var n=t._setupContext=nB(t);Sa(t),Zs();var i=$a(r,null,[t._props||C$({}),n],t,"setup");if(Qs(),Sa(),mt(i))e.render=i;else if(gr(i))if(t._setupState=i,i.__sfc){var o=t._setupProxy={};for(var a in i)a!=="__sfc"&&gm(o,i,a)}else for(var a in i)w$(a)||gm(t,i,a)}}function nB(t){return{get attrs(){if(!t._attrsProxy){var e=t._attrsProxy={};ga(e,"_v_attr_proxy",!0),zf(e,t.$attrs,pn,t,"$attrs")}return t._attrsProxy},get listeners(){if(!t._listenersProxy){var e=t._listenersProxy={};zf(e,t.$listeners,pn,t,"$listeners")}return t._listenersProxy},get slots(){return aB(t)},emit:g$(t.$emit,t),expose:function(e){e&&Object.keys(e).forEach(function(r){return gm(t,e,r)})}}}function zf(t,e,r,n,i){var a=!1;for(var o in e)o in t?e[o]!==r[o]&&(a=!0):(a=!0,iB(t,o,n,i));for(var o in t)o in e||(a=!0,delete t[o]);return a}function iB(t,e,r,n){Object.defineProperty(t,e,{enumerable:!0,configurable:!0,get:function(){return r[n][e]}})}function aB(t){return t._slotsProxy||N$(t._slotsProxy={},t.$scopedSlots),t._slotsProxy}function N$(t,e){for(var r in e)t[r]=e[r];for(var r in t)r in e||delete t[r]}function oB(t){t._vnode=null,t._staticTrees=null;var e=t.$options,r=t.$vnode=e._parentVnode,n=r&&r.context;t.$slots=lb(e._renderChildren,n),t.$scopedSlots=r?uu(t.$parent,r.data.scopedSlots,t.$slots):pn,t._c=function(a,o,s,l){return Uf(t,a,o,s,l,!1)},t.$createElement=function(a,o,s,l){return Uf(t,a,o,s,l,!0)};var i=r&&r.data;wo(t,"$attrs",i&&i.attrs||pn,null,!0),wo(t,"$listeners",e._parentListeners||pn,null,!0)}var nf=null;function sB(t){M$(t.prototype),t.prototype.$nextTick=function(e){return ub(e,this)},t.prototype._render=function(){var e=this,r=e.$options,n=r.render,i=r._parentVnode;i&&e._isMounted&&(e.$scopedSlots=uu(e.$parent,i.data.scopedSlots,e.$slots,e.$scopedSlots),e._slotsProxy&&N$(e._slotsProxy,e.$scopedSlots)),e.$vnode=i;var a=As,o=nf,s;try{Sa(e),nf=e,s=n.call(e._renderProxy,e.$createElement)}catch(l){To(l,e,"render"),s=e._vnode}finally{nf=o,Sa(a)}return Ne(s)&&s.length===1&&(s=s[0]),s instanceof _n||(s=co()),s.parent=i,s}}function Bh(t,e){return(t.__esModule||zu&&t[Symbol.toStringTag]==="Module")&&(t=t.default),gr(t)?e.extend(t):t}function lB(t,e,r,n,i){var a=co();return a.asyncFactory=t,a.asyncMeta={data:e,context:r,children:n,tag:i},a}function uB(t,e){if(_t(t.error)&&L(t.errorComp))return t.errorComp;if(L(t.resolved))return t.resolved;var r=nf;if(r&&L(t.owners)&&t.owners.indexOf(r)===-1&&t.owners.push(r),_t(t.loading)&&L(t.loadingComp))return t.loadingComp;if(r&&!L(t.owners)){var n=t.owners=[r],i=!0,a=null,o=null;r.$on("hook:destroyed",function(){return Ma(n,r)});var s=function(d){for(var p=0,h=n.length;p1?hm(i):i;for(var a=hm(arguments,1),o='event handler for "'.concat(r,'"'),s=0,l=i.length;sdocument.createEvent("Event").timeStamp&&(Tm=function(){return kh.now()})}var $B=function(t,e){if(t.post){if(!e.post)return 1}else if(e.post)return-1;return t.id-e.id};function CB(){H$=Tm(),pb=!0;var t,e;for(Bi.sort($B),Os=0;OsOs&&Bi[r].id>t.id;)r--;Bi.splice(r+1,0,t)}wm||(wm=!0,ub(CB))}}function MB(t){var e=t.$options.provide;if(e){var r=mt(e)?e.call(t):e;if(!gr(r))return;for(var n=jI(t),i=zu?Reflect.ownKeys(r):Object.keys(r),a=0;a-1){if(a&&!Cr(i,"default"))o=!1;else if(o===""||o===Vu(t)){var l=JO(String,i.type);(l<0||s-1)return this;var n=hm(arguments,1);return n.unshift(this),mt(e.install)?e.install.apply(e,n):mt(e)&&e.apply(null,n),r.push(e),this}}function ck(t){t.mixin=function(e){return this.options=So(this.options,e),this}}function fk(t){t.cid=0;var e=1;t.extend=function(r){r=r||{};var n=this,i=n.cid,a=r._Ctor||(r._Ctor={});if(a[i])return a[i];var o=Kf(r)||Kf(n.options),s=function(u){this._init(u)};return s.prototype=Object.create(n.prototype),s.prototype.constructor=s,s.cid=e++,s.options=So(n.options,r),s.super=n,s.options.props&&dk(s),s.options.computed&&pk(s),s.extend=n.extend,s.mixin=n.mixin,s.use=n.use,Qd.forEach(function(l){s[l]=n[l]}),o&&(s.options.components[o]=s),s.superOptions=n.options,s.extendOptions=r,s.sealedOptions=ut({},s.options),a[i]=s,s}}function dk(t){var e=t.options.props;for(var r in e)gb(t.prototype,"_props",r)}function pk(t){var e=t.options.computed;for(var r in e)U$(t.prototype,r,e[r])}function hk(t){Qd.forEach(function(e){t[e]=function(r,n){return n?(e==="component"&&On(n)&&(n.name=n.name||r,n=this.options._base.extend(n)),e==="directive"&&mt(n)&&(n={bind:n,update:n}),this.options[e+"s"][r]=n,n):this.options[e+"s"][r]}})}function e_(t){return t&&(Kf(t.Ctor.options)||t.tag)}function Sc(t,e){return Ne(t)?t.indexOf(e)>-1:typeof t=="string"?t.split(",").indexOf(e)>-1:mI(t)?t.test(e):!1}function t_(t,e){var r=t.cache,n=t.keys,i=t._vnode,a=t.$vnode;for(var o in r){var s=r[o];if(s){var l=s.name;l&&!e(l)&&Em(r,o,n,i)}}a.componentOptions.children=void 0}function Em(t,e,r,n){var i=t[e];i&&(!n||i.tag!==n.tag)&&i.componentInstance.$destroy(),t[e]=null,Ma(r,e)}var r_=[String,RegExp,Array],vk={name:"keep-alive",abstract:!0,props:{include:r_,exclude:r_,max:[String,Number]},methods:{cacheVNode:function(){var t=this,e=t.cache,r=t.keys,n=t.vnodeToCache,i=t.keyToCache;if(n){var a=n.tag,o=n.componentInstance,s=n.componentOptions;e[i]={name:e_(s),tag:a,componentInstance:o},r.push(i),this.max&&r.length>parseInt(this.max)&&Em(e,r[0],r,this._vnode),this.vnodeToCache=null}}},created:function(){this.cache=Object.create(null),this.keys=[]},destroyed:function(){for(var t in this.cache)Em(this.cache,t,this.keys)},mounted:function(){var t=this;this.cacheVNode(),this.$watch("include",function(e){t_(t,function(r){return Sc(e,r)})}),this.$watch("exclude",function(e){t_(t,function(r){return!Sc(e,r)})})},updated:function(){this.cacheVNode()},render:function(){var t=this.$slots.default,e=I$(t),r=e&&e.componentOptions;if(r){var n=e_(r),i=this,a=i.include,o=i.exclude;if(a&&(!n||!Sc(a,n))||o&&n&&Sc(o,n))return e;var s=this,l=s.cache,u=s.keys,f=e.key==null?r.Ctor.cid+(r.tag?"::".concat(r.tag):""):e.key;l[f]?(e.componentInstance=l[f].componentInstance,Ma(u,f),u.push(f)):(this.vnodeToCache=e,this.keyToCache=f),e.data.keepAlive=!0}return e||t&&t[0]}},mk={KeepAlive:vk};function gk(t){var e={};e.get=function(){return Bn},Object.defineProperty(t,"config",e),t.util={warn:jB,extend:ut,mergeOptions:So,defineReactive:wo},t.set=ab,t.delete=E$,t.nextTick=ub,t.observable=function(r){return Gi(r),r},t.options=Object.create(null),Qd.forEach(function(r){t.options[r+"s"]=Object.create(null)}),t.options._base=t,ut(t.options.components,mk),uk(t),ck(t),fk(t),hk(t)}gk(ye);Object.defineProperty(ye.prototype,"$isServer",{get:Hu});Object.defineProperty(ye.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}});Object.defineProperty(ye,"FunctionalRenderContext",{value:hb});ye.version=vB;var bk=Jn("style,class"),yk=Jn("input,textarea,option,select,progress"),Ok=function(t,e,r){return r==="value"&&yk(t)&&e!=="button"||r==="selected"&&t==="option"||r==="checked"&&t==="input"||r==="muted"&&t==="video"},G$=Jn("contenteditable,draggable,spellcheck"),_k=Jn("events,caret,typing,plaintext-only"),wk=function(t,e){return qf(e)||e==="false"?"false":t==="contenteditable"&&_k(e)?e:"true"},Tk=Jn("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,truespeed,typemustmatch,visible"),$m="http://www.w3.org/1999/xlink",yb=function(t){return t.charAt(5)===":"&&t.slice(0,5)==="xlink"},W$=function(t){return yb(t)?t.slice(6,t.length):""},qf=function(t){return t==null||t===!1};function Sk(t){for(var e=t.data,r=t,n=t;L(n.componentInstance);)n=n.componentInstance._vnode,n&&n.data&&(e=n_(n.data,e));for(;L(r=r.parent);)r&&r.data&&(e=n_(e,r.data));return Pk(e.staticClass,e.class)}function n_(t,e){return{staticClass:Ob(t.staticClass,e.staticClass),class:L(t.class)?[t.class,e.class]:e.class}}function Pk(t,e){return L(t)||L(e)?Ob(t,_b(e)):""}function Ob(t,e){return t?e?t+" "+e:t:e||""}function _b(t){return Array.isArray(t)?Ek(t):gr(t)?$k(t):typeof t=="string"?t:""}function Ek(t){for(var e="",r,n=0,i=t.length;n-1?Pc[t]=e.constructor===window.HTMLUnknownElement||e.constructor===window.HTMLElement:Pc[t]=/HTMLUnknownElement/.test(e.toString())}var Cm=Jn("text,number,password,search,email,tel,url");function xk(t){if(typeof t=="string"){var e=document.querySelector(t);return e||document.createElement("div")}else return t}function Mk(t,e){var r=document.createElement(t);return t!=="select"||e.data&&e.data.attrs&&e.data.attrs.multiple!==void 0&&r.setAttribute("multiple","multiple"),r}function Nk(t,e){return document.createElementNS(Ck[t],e)}function Ik(t){return document.createTextNode(t)}function Bk(t){return document.createComment(t)}function kk(t,e,r){t.insertBefore(e,r)}function Lk(t,e){t.removeChild(e)}function Fk(t,e){t.appendChild(e)}function jk(t){return t.parentNode}function Vk(t){return t.nextSibling}function Hk(t){return t.tagName}function zk(t,e){t.textContent=e}function Uk(t,e){t.setAttribute(e,"")}var Gk=Object.freeze({__proto__:null,createElement:Mk,createElementNS:Nk,createTextNode:Ik,createComment:Bk,insertBefore:kk,removeChild:Lk,appendChild:Fk,parentNode:jk,nextSibling:Vk,tagName:Hk,setTextContent:zk,setStyleScope:Uk}),Wk={create:function(t,e){_s(e)},update:function(t,e){t.data.ref!==e.data.ref&&(_s(t,!0),_s(e))},destroy:function(t){_s(t,!0)}};function _s(t,e){var r=t.data.ref;if(!!L(r)){var n=t.context,i=t.componentInstance||t.elm,a=e?null:i,o=e?void 0:i;if(mt(r)){$a(r,n,[a],n,"template ref function");return}var s=t.data.refInFor,l=typeof r=="string"||typeof r=="number",u=hi(r),f=n.$refs;if(l||u){if(s){var d=l?f[r]:r.value;e?Ne(d)&&Ma(d,i):Ne(d)?d.includes(i)||d.push(i):l?(f[r]=[i],i_(n,r,f[r])):r.value=[i]}else if(l){if(e&&f[r]!==i)return;f[r]=o,i_(n,r,a)}else if(u){if(e&&r.value!==i)return;r.value=a}}}}function i_(t,e,r){var n=t._setupState;n&&Cr(n,e)&&(hi(n[e])?n[e].value=r:n[e]=r)}var ha=new _n("",{},[]),Tl=["create","activate","update","remove","destroy"];function Wa(t,e){return t.key===e.key&&t.asyncFactory===e.asyncFactory&&(t.tag===e.tag&&t.isComment===e.isComment&&L(t.data)===L(e.data)&&Kk(t,e)||_t(t.isAsyncPlaceholder)&&Oe(e.asyncFactory.error))}function Kk(t,e){if(t.tag!=="input")return!0;var r,n=L(r=t.data)&&L(r=r.attrs)&&r.type,i=L(r=e.data)&&L(r=r.attrs)&&r.type;return n===i||Cm(n)&&Cm(i)}function Yk(t,e,r){var n,i,a={};for(n=e;n<=r;++n)i=t[n].key,L(i)&&(a[i]=n);return a}function qk(t){var e,r,n={},i=t.modules,a=t.nodeOps;for(e=0;eQ?($t=Oe(w[U+1])?null:w[U+1].elm,R(E,$t,w,X,U,$)):X>U&&B(v,F,Q)}function N(E,v,w,$){for(var M=w;M<$;M++){var F=v[M];if(L(F)&&Wa(E,F))return M}}function G(E,v,w,$,M,F){if(E!==v){L(v.elm)&&L($)&&(v=$[M]=mm(v));var X=v.elm=E.elm;if(_t(E.isAsyncPlaceholder)){L(v.asyncFactory.resolved)?j(E.elm,v,w):v.isAsyncPlaceholder=!0;return}if(_t(v.isStatic)&&_t(E.isStatic)&&v.key===E.key&&(_t(v.isCloned)||_t(v.isOnce))){v.componentInstance=E.componentInstance;return}var Q,q=v.data;L(q)&&L(Q=q.hook)&&L(Q=Q.prepatch)&&Q(E,v);var K=E.children,U=v.children;if(L(q)&&y(v)){for(Q=0;Q-1?l_(t,e,r):Tk(e)?qf(r)?t.removeAttribute(e):(r=e==="allowfullscreen"&&t.tagName==="EMBED"?"true":e,t.setAttribute(e,r)):G$(e)?t.setAttribute(e,wk(e,r)):yb(e)?qf(r)?t.removeAttributeNS($m,W$(e)):t.setAttributeNS($m,e,r):l_(t,e,r)}function l_(t,e,r){if(qf(r))t.removeAttribute(e);else{if(Xs&&!Js&&t.tagName==="TEXTAREA"&&e==="placeholder"&&r!==""&&!t.__ieph){var n=function(i){i.stopImmediatePropagation(),t.removeEventListener("input",n)};t.addEventListener("input",n),t.__ieph=!0}t.setAttribute(e,r)}}var tL={create:o_,update:o_};function u_(t,e){var r=e.elm,n=e.data,i=t.data;if(!(Oe(n.staticClass)&&Oe(n.class)&&(Oe(i)||Oe(i.staticClass)&&Oe(i.class)))){var a=Sk(e),o=r._transitionClasses;L(o)&&(a=Ob(a,_b(o))),a!==r._prevClass&&(r.setAttribute("class",a),r._prevClass=a)}}var rL={create:u_,update:u_},Fh="__r",jh="__c";function nL(t){if(L(t[Fh])){var e=Xs?"change":"input";t[e]=[].concat(t[Fh],t[e]||[]),delete t[Fh]}L(t[jh])&&(t.change=[].concat(t[jh],t.change||[]),delete t[jh])}var Eu;function iL(t,e,r){var n=Eu;return function i(){var a=e.apply(null,arguments);a!==null&&Y$(t,i,r,n)}}var aL=ym&&!(MO&&Number(MO[1])<=53);function oL(t,e,r,n){if(aL){var i=H$,a=e;e=a._wrapper=function(o){if(o.target===o.currentTarget||o.timeStamp>=i||o.timeStamp<=0||o.target.ownerDocument!==document)return a.apply(this,arguments)}}Eu.addEventListener(t,e,T$?{capture:r,passive:n}:r)}function Y$(t,e,r,n){(n||Eu).removeEventListener(t,e._wrapper||e,r)}function Vh(t,e){if(!(Oe(t.data.on)&&Oe(e.data.on))){var r=e.data.on||{},n=t.data.on||{};Eu=e.elm||t.elm,nL(r),A$(r,n,oL,Y$,iL,e.context),Eu=void 0}}var sL={create:Vh,update:Vh,destroy:function(t){return Vh(t,ha)}},Ec;function c_(t,e){if(!(Oe(t.data.domProps)&&Oe(e.data.domProps))){var r,n,i=e.elm,a=t.data.domProps||{},o=e.data.domProps||{};(L(o.__ob__)||_t(o._v_attr_proxy))&&(o=e.data.domProps=ut({},o));for(r in a)r in o||(i[r]="");for(r in o){if(n=o[r],r==="textContent"||r==="innerHTML"){if(e.children&&(e.children.length=0),n===a[r])continue;i.childNodes.length===1&&i.removeChild(i.childNodes[0])}if(r==="value"&&i.tagName!=="PROGRESS"){i._value=n;var s=Oe(n)?"":String(n);lL(i,s)&&(i.value=s)}else if(r==="innerHTML"&&wb(i.tagName)&&Oe(i.innerHTML)){Ec=Ec||document.createElement("div"),Ec.innerHTML="".concat(n,"");for(var l=Ec.firstChild;i.firstChild;)i.removeChild(i.firstChild);for(;l.firstChild;)i.appendChild(l.firstChild)}else if(n!==a[r])try{i[r]=n}catch{}}}}function lL(t,e){return!t.composing&&(t.tagName==="OPTION"||uL(t,e)||cL(t,e))}function uL(t,e){var r=!0;try{r=document.activeElement!==t}catch{}return r&&t.value!==e}function cL(t,e){var r=t.value,n=t._vModifiers;if(L(n)){if(n.number)return _u(r)!==_u(e);if(n.trim)return r.trim()!==e.trim()}return r!==e}var fL={create:c_,update:c_},dL=No(function(t){var e={},r=/;(?![^(]*\))/g,n=/:(.+)/;return t.split(r).forEach(function(i){if(i){var a=i.split(n);a.length>1&&(e[a[0].trim()]=a[1].trim())}}),e});function Hh(t){var e=q$(t.style);return t.staticStyle?ut(t.staticStyle,e):e}function q$(t){return Array.isArray(t)?b$(t):typeof t=="string"?dL(t):t}function pL(t,e){var r={},n;if(e)for(var i=t;i.componentInstance;)i=i.componentInstance._vnode,i&&i.data&&(n=Hh(i.data))&&ut(r,n);(n=Hh(t.data))&&ut(r,n);for(var a=t;a=a.parent;)a.data&&(n=Hh(a.data))&&ut(r,n);return r}var hL=/^--/,f_=/\s*!important$/,d_=function(t,e,r){if(hL.test(e))t.style.setProperty(e,r);else if(f_.test(r))t.style.setProperty(Vu(e),r.replace(f_,""),"important");else{var n=vL(e);if(Array.isArray(r))for(var i=0,a=r.length;i-1?e.split(X$).forEach(function(n){return t.classList.add(n)}):t.classList.add(e);else{var r=" ".concat(t.getAttribute("class")||""," ");r.indexOf(" "+e+" ")<0&&t.setAttribute("class",(r+e).trim())}}function Z$(t,e){if(!(!e||!(e=e.trim())))if(t.classList)e.indexOf(" ")>-1?e.split(X$).forEach(function(i){return t.classList.remove(i)}):t.classList.remove(e),t.classList.length||t.removeAttribute("class");else{for(var r=" ".concat(t.getAttribute("class")||""," "),n=" "+e+" ";r.indexOf(n)>=0;)r=r.replace(n," ");r=r.trim(),r?t.setAttribute("class",r):t.removeAttribute("class")}}function Q$(t){if(!!t){if(typeof t=="object"){var e={};return t.css!==!1&&ut(e,v_(t.name||"v")),ut(e,t),e}else if(typeof t=="string")return v_(t)}}var v_=No(function(t){return{enterClass:"".concat(t,"-enter"),enterToClass:"".concat(t,"-enter-to"),enterActiveClass:"".concat(t,"-enter-active"),leaveClass:"".concat(t,"-leave"),leaveToClass:"".concat(t,"-leave-to"),leaveActiveClass:"".concat(t,"-leave-active")}}),e1=wn&&!Js,hs="transition",zh="animation",of="transition",Xf="transitionend",Am="animation",t1="animationend";e1&&(window.ontransitionend===void 0&&window.onwebkittransitionend!==void 0&&(of="WebkitTransition",Xf="webkitTransitionEnd"),window.onanimationend===void 0&&window.onwebkitanimationend!==void 0&&(Am="WebkitAnimation",t1="webkitAnimationEnd"));var m_=wn?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(t){return t()};function r1(t){m_(function(){m_(t)})}function po(t,e){var r=t._transitionClasses||(t._transitionClasses=[]);r.indexOf(e)<0&&(r.push(e),J$(t,e))}function ki(t,e){t._transitionClasses&&Ma(t._transitionClasses,e),Z$(t,e)}function n1(t,e,r){var n=i1(t,e),i=n.type,a=n.timeout,o=n.propCount;if(!i)return r();var s=i===hs?Xf:t1,l=0,u=function(){t.removeEventListener(s,f),r()},f=function(d){d.target===t&&++l>=o&&u()};setTimeout(function(){l0&&(u=hs,f=a,d=i.length):e===zh?l>0&&(u=zh,f=l,d=s.length):(f=Math.max(a,l),u=f>0?a>l?hs:zh:null,d=u?u===hs?i.length:s.length:0);var p=u===hs&&gL.test(r[of+"Property"]);return{type:u,timeout:f,propCount:d,hasTransform:p}}function g_(t,e){for(;t.length1}function y_(t,e){e.data.show!==!0&&Dm(e)}var bL=wn?{create:y_,activate:y_,remove:function(t,e){t.data.show!==!0?a1(t,e):e()}}:{},yL=[tL,rL,sL,fL,mL,bL],OL=yL.concat(eL),_L=qk({nodeOps:Gk,modules:OL});Js&&document.addEventListener("selectionchange",function(){var t=document.activeElement;t&&t.vmodel&&Sb(t,"input")});var s1={inserted:function(t,e,r,n){r.tag==="select"?(n.elm&&!n.elm._vOptions?pa(r,"postpatch",function(){s1.componentUpdated(t,e,r)}):O_(t,e,r.context),t._vOptions=[].map.call(t.options,Jf)):(r.tag==="textarea"||Cm(t.type))&&(t._vModifiers=e.modifiers,e.modifiers.lazy||(t.addEventListener("compositionstart",wL),t.addEventListener("compositionend",T_),t.addEventListener("change",T_),Js&&(t.vmodel=!0)))},componentUpdated:function(t,e,r){if(r.tag==="select"){O_(t,e,r.context);var n=t._vOptions,i=t._vOptions=[].map.call(t.options,Jf);if(i.some(function(o,s){return!_o(o,n[s])})){var a=t.multiple?e.value.some(function(o){return w_(o,i)}):e.value!==e.oldValue&&w_(e.value,i);a&&Sb(t,"change")}}}};function O_(t,e,r){__(t,e),(Xs||nb)&&setTimeout(function(){__(t,e)},0)}function __(t,e,r){var n=e.value,i=t.multiple;if(!(i&&!Array.isArray(n))){for(var a,o,s=0,l=t.options.length;s-1,o.selected!==a&&(o.selected=a);else if(_o(Jf(o),n)){t.selectedIndex!==s&&(t.selectedIndex=s);return}i||(t.selectedIndex=-1)}}function w_(t,e){return e.every(function(r){return!_o(r,t)})}function Jf(t){return"_value"in t?t._value:t.value}function wL(t){t.target.composing=!0}function T_(t){!t.target.composing||(t.target.composing=!1,Sb(t.target,"input"))}function Sb(t,e){var r=document.createEvent("HTMLEvents");r.initEvent(e,!0,!0),t.dispatchEvent(r)}function Rm(t){return t.componentInstance&&(!t.data||!t.data.transition)?Rm(t.componentInstance._vnode):t}var TL={bind:function(t,e,r){var n=e.value;r=Rm(r);var i=r.data&&r.data.transition,a=t.__vOriginalDisplay=t.style.display==="none"?"":t.style.display;n&&i?(r.data.show=!0,Dm(r,function(){t.style.display=a})):t.style.display=n?a:"none"},update:function(t,e,r){var n=e.value,i=e.oldValue;if(!n!=!i){r=Rm(r);var a=r.data&&r.data.transition;a?(r.data.show=!0,n?Dm(r,function(){t.style.display=t.__vOriginalDisplay}):a1(r,function(){t.style.display="none"})):t.style.display=n?t.__vOriginalDisplay:"none"}},unbind:function(t,e,r,n,i){i||(t.style.display=t.__vOriginalDisplay)}},SL={model:s1,show:TL},l1={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String,duration:[Number,String,Object]};function xm(t){var e=t&&t.componentOptions;return e&&e.Ctor.options.abstract?xm(I$(e.children)):t}function u1(t){var e={},r=t.$options;for(var n in r.propsData)e[n]=t[n];var i=r._parentListeners;for(var n in i)e[Oo(n)]=i[n];return e}function S_(t,e){if(/\d-keep-alive$/.test(e.tag))return t("keep-alive",{props:e.componentOptions.propsData})}function PL(t){for(;t=t.parent;)if(t.data.transition)return!0}function EL(t,e){return e.key===t.key&&e.tag===t.tag}var $L=function(t){return t.tag||Tu(t)},CL=function(t){return t.name==="show"},AL={name:"transition",props:l1,abstract:!0,render:function(t){var e=this,r=this.$slots.default;if(!!r&&(r=r.filter($L),!!r.length)){var n=this.mode,i=r[0];if(PL(this.$vnode))return i;var a=xm(i);if(!a)return i;if(this._leaving)return S_(t,i);var o="__transition-".concat(this._uid,"-");a.key=a.key==null?a.isComment?o+"comment":o+a.tag:ju(a.key)?String(a.key).indexOf(o)===0?a.key:o+a.key:a.key;var s=(a.data||(a.data={})).transition=u1(this),l=this._vnode,u=xm(l);if(a.data.directives&&a.data.directives.some(CL)&&(a.data.show=!0),u&&u.data&&!EL(a,u)&&!Tu(u)&&!(u.componentInstance&&u.componentInstance._vnode.isComment)){var f=u.data.transition=ut({},s);if(n==="out-in")return this._leaving=!0,pa(f,"afterLeave",function(){e._leaving=!1,e.$forceUpdate()}),S_(t,i);if(n==="in-out"){if(Tu(a))return l;var d,p=function(){d()};pa(s,"afterEnter",p),pa(s,"enterCancelled",p),pa(f,"delayLeave",function(h){d=h})}}return i}}},c1=ut({tag:String,moveClass:String},l1);delete c1.mode;var DL={props:c1,beforeMount:function(){var t=this,e=this._update;this._update=function(r,n){var i=F$(t);t.__patch__(t._vnode,t.kept,!1,!0),t._vnode=t.kept,i(),e.call(t,r,n)}},render:function(t){for(var e=this.tag||this.$vnode.data.tag||"span",r=Object.create(null),n=this.prevChildren=this.children,i=this.$slots.default||[],a=this.children=[],o=u1(this),s=0;s=0)&&(!Object.prototype.propertyIsEnumerable.call(t,n)||(r[n]=t[n]))}return r}function FL(t,e){if(t==null)return{};var r={},n=Object.keys(t),i,a;for(a=0;a=0)&&(r[i]=t[i]);return r}function Zf(t){return Zf=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Zf(t)}var ji="_uid",Nr=ye.version.startsWith("3"),Pb=Nr?"ref_for":"refInFor",jL=["class","staticClass","style","attrs","props","domProps","on","nativeOn","directives","scopedSlots","slot","key","ref","refInFor"],I=ye.extend.bind(ye);if(Nr){var VL=ye.extend,HL=["router-link","transition","transition-group"],zL=ye.vModelDynamic.created,UL=ye.vModelDynamic.beforeUpdate;ye.vModelDynamic.created=function(t,e,r){zL.call(this,t,e,r),t._assign||(t._assign=function(){})},ye.vModelDynamic.beforeUpdate=function(t,e,r){UL.call(this,t,e,r),t._assign||(t._assign=function(){})},I=function(e){if(Zf(e)==="object"&&e.render&&!e.__alreadyPatched){var r=e.render;e.__alreadyPatched=!0,e.render=function(n){var i=function(p,h,b){var y=b===void 0?[]:[Array.isArray(b)?b.filter(Boolean):b],P=typeof p=="string"&&!HL.includes(p),C=h&&Zf(h)==="object"&&!Array.isArray(h);if(!C)return n.apply(void 0,[p,h].concat(y));var R=h.attrs,A=h.props,B=LL(h,["attrs","props"]),D=Pl(Pl({},B),{},{attrs:R,props:P?{}:A});return p==="router-link"&&!D.slots&&!D.scopedSlots&&(D.scopedSlots={$hasNormal:function(){}}),n.apply(void 0,[p,D].concat(y))};if(e.functional){var a,o,s=arguments[1],l=Pl({},s);l.data={attrs:Pl({},s.data.attrs||{}),props:Pl({},s.data.props||{})},Object.keys(s.data||{}).forEach(function(d){jL.includes(d)?l.data[d]=s.data[d]:d in s.props?l.data.props[d]=s.data[d]:d.startsWith("on")||(l.data.attrs[d]=s.data[d])});var u=["_ctx"],f=((a=s.children)===null||a===void 0||(o=a.default)===null||o===void 0?void 0:o.call(a))||s.children;return f&&Object.keys(l.children).filter(function(d){return!u.includes(d)}).length===0?delete l.children:l.children=f,l.data.on=s.listeners,r.call(this,i,l)}return r.call(this,i)}}return VL.call(this,e)}.bind(ye)}var Eb=ye.nextTick,el=typeof window<"u",d1=typeof document<"u",p1=typeof navigator<"u",h1=typeof Promise<"u",GL=typeof MutationObserver<"u"||typeof WebKitMutationObserver<"u"||typeof MozMutationObserver<"u",Je=el&&d1&&p1,wt=el?window:{},tl=d1?document:{},v1=p1?navigator:{},m1=(v1.userAgent||"").toLowerCase(),WL=m1.indexOf("jsdom")>0;/msie|trident/.test(m1);var KL=function(){var t=!1;if(Je)try{var e={get passive(){t=!0}};wt.addEventListener("test",e,e),wt.removeEventListener("test",e,e)}catch{t=!1}return t}(),Qf=Je&&("ontouchstart"in tl.documentElement||v1.maxTouchPoints>0),El=Je&&Boolean(wt.PointerEvent||wt.MSPointerEvent),E_=Je&&"IntersectionObserver"in wt&&"IntersectionObserverEntry"in wt&&"intersectionRatio"in wt.IntersectionObserverEntry.prototype,YL="BvConfig",vs="$bvConfig",qL=["xs","sm","md","lg","xl"],XL=/\[(\d+)]/g,JL=/^(BV?)/,g1=/^\d+$/,ZL=/^\..+/,QL=/^#/,eF=/^#[A-Za-z]+[\w\-:.]*$/,tF=/(<([^>]+)>)/gi,rF=/\B([A-Z])/g,nF=/([a-z])([A-Z])/g,iF=/^[0-9]*\.?[0-9]+$/,aF=/\+/g,oF=/[-/\\^$*+?.()|[\]{}]/g,b1=/[\s\uFEFF\xA0]+/g,sf=/\s+/,sF=/\/\*$/,lF=/(\s|^)(\w)/g,uF=/^\s+/,cF=/_/g,fF=/-(\w)/g,dF=/^\d+-\d\d?-\d\d?(?:\s|T|$)/,pF=/-|\s|T/,hF=/^([0-1]?[0-9]|2[0-3]):[0-5]?[0-9](:[0-5]?[0-9])?$/,$_=/^.*(#[^#]+)$/,vF=/%2C/g,mF=/[!'()*]/g,gF=/^(\?|#|&)/,bF=/^\d+(\.\d*)?[/:]\d+(\.\d*)?$/,yF=/[/:]/,OF=/^col-/,_F=/^BIcon/,wF=/-u-.+/;function Mm(t){return Mm=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Mm(t)}function ep(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function tp(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");Object.defineProperty(t,"prototype",{value:Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),writable:!1}),e&&$u(t,e)}function rp(t){var e=y1();return function(){var n=Cu(t),i;if(e){var a=Cu(this).constructor;i=Reflect.construct(n,arguments,a)}else i=n.apply(this,arguments);return TF(this,i)}}function TF(t,e){if(e&&(Mm(e)==="object"||typeof e=="function"))return e;if(e!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return SF(t)}function SF(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ed(t){var e=typeof Map=="function"?new Map:void 0;return ed=function(n){if(n===null||!PF(n))return n;if(typeof n!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e<"u"){if(e.has(n))return e.get(n);e.set(n,i)}function i(){return lf(n,arguments,Cu(this).constructor)}return i.prototype=Object.create(n.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),$u(i,n)},ed(t)}function lf(t,e,r){return y1()?lf=Reflect.construct:lf=function(i,a,o){var s=[null];s.push.apply(s,a);var l=Function.bind.apply(i,s),u=new l;return o&&$u(u,o.prototype),u},lf.apply(null,arguments)}function y1(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function PF(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function $u(t,e){return $u=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},$u(t,e)}function Cu(t){return Cu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Cu(t)}var $b=el?wt.Element:function(t){tp(r,t);var e=rp(r);function r(){return ep(this,r),e.apply(this,arguments)}return r}(ed(Object)),ba=el?wt.HTMLElement:function(t){tp(r,t);var e=rp(r);function r(){return ep(this,r),e.apply(this,arguments)}return r}($b),O1=el?wt.SVGElement:function(t){tp(r,t);var e=rp(r);function r(){return ep(this,r),e.apply(this,arguments)}return r}($b),_1=el?wt.File:function(t){tp(r,t);var e=rp(r);function r(){return ep(this,r),e.apply(this,arguments)}return r}(ed(Object));function td(t){return td=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},td(t)}var np=function(e){return td(e)},EF=function(e){return Object.prototype.toString.call(e).slice(8,-1)},Et=function(e){return e===void 0},nt=function(e){return e===null},Ge=function(e){return Et(e)||nt(e)},se=function(e){return np(e)==="function"},Mn=function(e){return np(e)==="boolean"},De=function(e){return np(e)==="string"},Kn=function(e){return np(e)==="number"},cu=function(e){return iF.test(String(e))},He=function(e){return Array.isArray(e)},St=function(e){return e!==null&&td(e)==="object"},yr=function(e){return Object.prototype.toString.call(e)==="[object Object]"},xs=function(e){return e instanceof Date},Po=function(e){return e instanceof Event},$F=function(e){return e instanceof _1},C_=function(e){return EF(e)==="RegExp"},CF=function(e){return!Ge(e)&&se(e.then)&&se(e.catch)};function A_(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function Eo(t){for(var e=1;et.length)&&(e=t.length);for(var r=0,n=new Array(e);r1&&arguments[1]!==void 0?arguments[1]:e;return He(e)?e.reduce(function(n,i){return[].concat(RF(n),[t(i,i)])},[]):yr(e)?ge(e).reduce(function(n,i){return x_(x_({},n),{},w1({},i,t(e[i],e[i])))},{}):r},pe=function(e){return e},T1=function(e,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:void 0;if(r=He(r)?r.join("."):r,!r||!St(e))return n;if(r in e)return e[r];r=String(r).replace(XL,".$1");var i=r.split(".").filter(pe);return i.length===0?n:i.every(function(a){return St(e)&&a in e&&!Ge(e=e[a])})?e:nt(e)?null:n},ur=function(e,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,i=T1(e,r);return Ge(i)?n:i},M_=function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,n=typeof process<"u"&&process?process.env||{}:{};return e?n[e]||r:n},BF=function(){return M_("BOOTSTRAP_VUE_NO_WARN")||M_("NODE_ENV")==="production"},jt=function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;BF()||console.warn("[BootstrapVue warn]: ".concat(r?"".concat(r," - "):"").concat(e))},rd=function(e){return Je?!1:(jt("".concat(e,": Can not be called during SSR.")),!0)},N_=function(e){return h1?!1:(jt("".concat(e,": Requires Promise support.")),!0)},kF=function(e){return GL?!1:(jt("".concat(e,": Requires MutationObserver support.")),!0)};function LF(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function I_(t,e){for(var r=0;r0&&arguments[0]!==void 0?arguments[0]:{};if(!!yr(n)){var i=D_(n);i.forEach(function(a){var o=n[a];a==="breakpoints"?!He(o)||o.length<2||o.some(function(s){return!De(s)||s.length===0})?jt('"breakpoints" must be an array of at least 2 breakpoint names',YL):r.$_config[a]=Nn(o):yr(o)&&(r.$_config[a]=D_(o).reduce(function(s,l){return Et(o[l])||(s[l]=Nn(o[l])),s},r.$_config[a]||{}))})}}},{key:"resetConfig",value:function(){this.$_config={}}},{key:"getConfig",value:function(){return Nn(this.$_config)}},{key:"getConfigValue",value:function(r){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:void 0;return Nn(T1(this.$_config,r,n))}}]),t}(),VF=function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ye;r.prototype[vs]=ye.prototype[vs]=r.prototype[vs]||ye.prototype[vs]||new jF,r.prototype[vs].setConfig(e)};function B_(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function k_(t){for(var e=1;e0&&arguments[0]!==void 0?arguments[0]:{},r=e.components,n=e.directives,i=e.plugins,a=function o(s){var l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};o.installed||(o.installed=!0,zF(s),VF(l,s),WF(s,r),YF(s,n),UF(s,i))};return a.installed=!1,a},ae=function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return k_(k_({},r),{},{install:S1(e)})},UF=function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};for(var n in r)n&&r[n]&&e.use(r[n])},GF=function(e,r,n){e&&r&&n&&e.component(r,n)},WF=function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};for(var n in r)GF(e,n,r[n])},KF=function(e,r,n){e&&r&&n&&e.directive(r.replace(/^VB/,"B"),n)},YF=function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};for(var n in r)KF(e,n,r[n])},P1="BAlert",E1="BAspect",$1="BAvatar",C1="BAvatarGroup",A1="BBadge",D1="BBreadcrumb",R1="BBreadcrumbItem",x1="BBreadcrumbLink",M1="BButton",N1="BButtonClose",I1="BButtonGroup",B1="BButtonToolbar",k1="BCalendar",Ab="BCard",L1="BCardBody",F1="BCardFooter",j1="BCardGroup",V1="BCardHeader",H1="BCardImg",z1="BCardImgLazy",U1="BCardSubTitle",G1="BCardText",W1="BCardTitle",K1="BCarousel",Y1="BCarouselSlide",q1="BCol",fr="BCollapse",X1="BContainer",Co="BDropdown",J1="BDropdownDivider",Z1="BDropdownForm",Q1="BDropdownGroup",eC="BDropdownHeader",tC="BDropdownItem",rC="BDropdownItemButton",nC="BDropdownText",iC="BEmbed",aC="BForm",oC="BFormCheckbox",sC="BFormCheckboxGroup",lC="BFormDatalist",uC="BFormDatepicker",Db="BFormFile",cC="BFormGroup",fC="BFormInput",dC="BFormInvalidFeedback",pC="BFormRadio",hC="BFormRadioGroup",vC="BFormRating",mC="BFormRow",gC="BFormSelect",bC="BFormSelectOption",yC="BFormSelectOptionGroup",OC="BFormSpinbutton",_C="BFormTag",wC="BFormTags",TC="BFormText",SC="BFormTextarea",PC="BFormTimepicker",EC="BFormValidFeedback",$C="BIcon",qF="BIconBase",CC="BImg",AC="BImgLazy",DC="BInputGroup",RC="BInputGroupAddon",xC="BInputGroupAppend",MC="BInputGroupPrepend",NC="BInputGroupText",IC="BJumbotron",Rb="BLink",BC="BListGroup",kC="BListGroupItem",LC="BMedia",FC="BMediaAside",jC="BMediaBody",Gr="BModal",XF="BMsgBox",VC="BNav",HC="BNavbar",zC="BNavbarBrand",UC="BNavbarNav",GC="BNavbarToggle",WC="BNavForm",KC="BNavItem",YC="BNavItemDropdown",JF="BNavText",qC="BOverlay",ap="BPagination",Im="BPaginationNav",no="BPopover",XC="BProgress",JC="BProgressBar",ZC="BRow",QC="BSidebar",eA="BSkeleton",tA="BSkeletonIcon",rA="BSkeletonImg",nA="BSkeletonTable",iA="BSkeletonWrapper",aA="BSpinner",oA="BTab",Ao="BTable",sA="BTableCell",lA="BTableLite",uA="BTableSimple",cA="BTabs",fA="BTbody",dA="BTfoot",pA="BTh",hA="BThead",vA="BTime",Li="BToast",Ds="BToaster",io="BTooltip",mA="BTr",ZF="BVCollapse",QF="BVFormBtnLabelControl",ej="BVFormRatingStar",tj="BVPopover",rj="BVPopoverTemplate",nj="BVPopper",ij="BVTabButton",aj="BVToastPop",oj="BVTooltip",sj="BVTooltipTemplate",lj="BVTransition",gA="BVTransporter",uj="BVTransporterTarget",cj="activate-tab",bA="blur",fj="cancel",en="change",dj="changed",Ln="click",Bm="close",Ms="context",yA="context-changed",xb="destroyed",km="disable",uf="disabled",pj="dismissed",hj="dismiss-count-down",Lm="enable",cf="enabled",Fm="filtered",OA="first",vj="focus",nd="focusin",id="focusout",fu="head-clicked",Pt="hidden",Xr="hide",mj="img-error",_A="input",wA="last",TA="mouseenter",SA="mouseleave",PA="next",gj="ok",L_="open",EA="page-click",bj="paused",$A="prev",yj="refresh",Kl="refreshed",Oj="remove",ad="row-clicked",_j="row-contextmenu",wj="row-dblclicked",Tj="row-hovered",Sj="row-middle-clicked",Pj="row-selected",Ej="row-unhovered",CA="selected",tr="show",Ar="shown",Gh="sliding-end",$j="sliding-start",Cj="sort-changed",Aj="tag-state",AA="toggle",Dj="unpaused",Rj="update",DA=Nr?"vnodeBeforeUnmount":"hook:beforeDestroy",Au=Nr?"vNodeUnmounted":"hook:destroyed",Ia="update:",RA="bv",xA="::",Yr={passive:!0},Ae={passive:!0,capture:!1},Ns=void 0,Dr=Array,_=Boolean,xj=Date,xr=Function,mr=Number,Mt=Object,Mj=RegExp,g=String,MA=[Dr,xr],Nj=[Dr,Mt],de=[Dr,Mt,g],Or=[Dr,g],Ij=[_,mr],Du=[_,mr,g],_r=[_,g],ho=[xj,g],Bj=[xr,g],re=[mr,g],kj=[mr,Mt,g],Lj=[Mt,xr],NA=[Mt,g],Fj="add-button-text",F_="append",jj="aside",j_="badge",V_="bottom-row",Wi="button-content",H_="custom-foot",Vj="decrement",kt="default",Hj="description",zj="dismiss",Uj="drop-placeholder",Gj="ellipsis-text",IA="empty",Wj="emptyfiltered",z_="file-name",Mb="first",Kj="first-text",jm="footer",Ca="header",Yj="header-close",qj="icon-clear",Xj="icon-empty",Jj="icon-full",Zj="icon-half",Qj="img",e2="increment",t2="invalid-feedback",BA="label",r2="last-text",U_="lead",n2="loading",i2="modal-backdrop",G_="modal-cancel",a2="modal-footer",o2="modal-header",s2="modal-header-close",W_="modal-ok",Wh="modal-title",l2="nav-next-decade",u2="nav-next-month",c2="nav-next-year",f2="nav-prev-decade",d2="nav-prev-month",p2="nav-prev-year",h2="nav-this-month",v2="next-text",m2="overlay",g2="page",b2="placeholder",K_="prepend",y2="prev-text",$l="row-details",Yl="table-busy",Y_="table-caption",q_="table-colgroup",O2="tabs-end",_2="tabs-start",w2="text",T2="thead-top",Wu="title",S2="toast-title",X_="top-row",P2="valid-feedback",Do=function(){return Array.from.apply(Array,arguments)},he=function(e,r){return e.indexOf(r)!==-1},Me=function(){for(var e=arguments.length,r=new Array(e),n=0;n1&&arguments[1]!==void 0?arguments[1]:{},n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return e=Me(e).filter(pe),e.some(function(i){return r[i]||n[i]})},rr=function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};e=Me(e).filter(pe);for(var a,o=0;o0&&arguments[0]!==void 0?arguments[0]:kt,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.$scopedSlots,n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:this.$slots;return Ki(e,r,n)},normalizeSlot:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:kt,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:this.$scopedSlots,i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:this.$slots,a=rr(e,r,n,i);return a&&Me(a)}}}),ee=function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:NaN,n=parseInt(e,10);return isNaN(n)?r:n},Ee=function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:NaN,n=parseFloat(e);return isNaN(n)?r:n},Kh=function(e,r){return Ee(e).toFixed(ee(r,0))},Nb=function(e){return e.replace(rF,"-$1").toLowerCase()},kA=function(e){return e=Nb(e).replace(fF,function(r,n){return n?n.toUpperCase():""}),e.charAt(0).toUpperCase()+e.slice(1)},ff=function(e){return e.replace(cF," ").replace(nF,function(r,n,i){return n+" "+i}).replace(lF,function(r,n,i){return n+i.toUpperCase()})},$2=function(e){return e=De(e)?e.trim():String(e),e.charAt(0).toLowerCase()+e.slice(1)},LA=function(e){return e=De(e)?e.trim():String(e),e.charAt(0).toUpperCase()+e.slice(1)},Ib=function(e){return e.replace(oF,"\\$&")},ce=function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:2;return Ge(e)?"":He(e)||yr(e)&&e.toString===Object.prototype.toString?JSON.stringify(e,null,r):String(e)},C2=function(e){return ce(e).replace(uF,"")},ya=function(e){return ce(e).trim()},od=function(e){return ce(e).toLowerCase()},df=$b.prototype,A2=["button","[href]:not(.disabled)","input","select","textarea","[tabindex]","[contenteditable]"].map(function(t){return"".concat(t,":not(:disabled):not([disabled])")}).join(", "),D2=df.matches||df.msMatchesSelector||df.webkitMatchesSelector,R2=df.closest||function(t){var e=this;do{if(Vi(e,t))return e;e=e.parentElement||e.parentNode}while(!nt(e)&&e.nodeType===Node.ELEMENT_NODE);return null},We=(wt.requestAnimationFrame||wt.webkitRequestAnimationFrame||wt.mozRequestAnimationFrame||wt.msRequestAnimationFrame||wt.oRequestAnimationFrame||function(t){return setTimeout(t,16)}).bind(wt),x2=wt.MutationObserver||wt.WebKitMutationObserver||wt.MozMutationObserver||null,M2=function(e){return e&&e.parentNode&&e.parentNode.removeChild(e)},et=function(e){return!!(e&&e.nodeType===Node.ELEMENT_NODE)},Aa=function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],r=tl.activeElement;return r&&!e.some(function(n){return n===r})?r:null},wi=function(e,r){return ce(e).toLowerCase()===ce(r).toLowerCase()},Bb=function(e){return et(e)&&e===Aa()},Yn=function(e){if(!et(e)||!e.parentNode||!Rt(tl.body,e)||ws(e,"display")==="none")return!1;var r=Ro(e);return!!(r&&r.height>0&&r.width>0)},lo=function(e){return!et(e)||e.disabled||mi(e,"disabled")||Ru(e,"disabled")},kb=function(e){return et(e)&&e.offsetHeight},yn=function(e,r){return Do((et(r)?r:tl).querySelectorAll(e))},gn=function(e,r){return(et(r)?r:tl).querySelector(e)||null},Vi=function(e,r){return et(e)?D2.call(e,r):!1},Jr=function(e,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;if(!et(r))return null;var i=R2.call(r,e);return n?i:i===r?null:i},Rt=function(e,r){return e&&se(e.contains)?e.contains(r):!1},Vm=function(e){return tl.getElementById(/^#/.test(e)?e.slice(1):e)||null},$r=function(e,r){r&&et(e)&&e.classList&&e.classList.add(r)},hr=function(e,r){r&&et(e)&&e.classList&&e.classList.remove(r)},Ru=function(e,r){return r&&et(e)&&e.classList?e.classList.contains(r):!1},st=function(e,r,n){r&&et(e)&&e.setAttribute(r,n)},vi=function(e,r){r&&et(e)&&e.removeAttribute(r)},bn=function(e,r){return r&&et(e)?e.getAttribute(r):null},mi=function(e,r){return r&&et(e)?e.hasAttribute(r):null},lr=function(e,r,n){r&&et(e)&&(e.style[r]=n)},op=function(e,r){r&&et(e)&&(e.style[r]="")},ws=function(e,r){return r&&et(e)&&e.style[r]||null},Ro=function(e){return et(e)?e.getBoundingClientRect():null},hn=function(e){var r=wt.getComputedStyle;return r&&et(e)?r(e):{}},N2=function(){var e=wt.getSelection;return e?wt.getSelection():null},Hm=function(e){var r={top:0,left:0};if(!et(e)||e.getClientRects().length===0)return r;var n=Ro(e);if(n){var i=e.ownerDocument.defaultView;r.top=n.top+i.pageYOffset,r.left=n.left+i.pageXOffset}return r},I2=function(e){var r={top:0,left:0};if(!et(e))return r;var n={top:0,left:0},i=hn(e);if(i.position==="fixed")r=Ro(e)||r;else{r=Hm(e);for(var a=e.ownerDocument,o=e.offsetParent||a.documentElement;o&&(o===a.body||o===a.documentElement)&&hn(o).position==="static";)o=o.parentNode;if(o&&o!==e&&o.nodeType===Node.ELEMENT_NODE){n=Hm(o);var s=hn(o);n.top+=Ee(s.borderTopWidth,0),n.left+=Ee(s.borderLeftWidth,0)}}return{top:r.top-n.top-Ee(i.marginTop,0),left:r.left-n.left-Ee(i.marginLeft,0)}},zm=function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:document;return yn(A2,e).filter(Yn).filter(function(r){return r.tabIndex>-1&&!r.disabled})},we=function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};try{e.focus(r)}catch{}return Bb(e)},rn=function(e){try{e.blur()}catch{}return!Bb(e)},Ku=function(e){var r=va(null);return function(){for(var n=arguments.length,i=new Array(n),a=0;a1&&arguments[1]!==void 0?arguments[1]:void 0,n=B2[vs];return n?n.getConfigValue(e,r):Nn(r)},vn=function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:void 0;return r?Um("".concat(e,".").concat(r),n):Um(e,{})},FA=function(){return Um("breakpoints",qL)},k2=Ku(function(){return FA()}),L2=function(){return Nn(k2())},xu=Ku(function(){var t=L2();return t[0]="",t});function J_(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function vo(t){for(var e=1;e0&&arguments[0]!==void 0?arguments[0]:Ns,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:void 0,n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:void 0,i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:void 0,a=n===!0;return i=a?i:n,vo(vo(vo({},e?{type:e}:{}),a?{required:a}:Et(r)?{}:{default:St(r)?function(){return r}:r}),Et(i)?{}:{validator:i})},lp=function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:pe;if(He(e))return e.map(r);var n={};for(var i in e)$o(e,i)&&(n[r(i)]=St(e[i])?Na(e[i]):e[i]);return n},at=function(e,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:pe;return(He(e)?e.slice():ge(e)).reduce(function(i,a){return i[n(a)]=r[a],i},{})},HA=function(e,r,n){return vo(vo({},Nn(e)),{},{default:function(){var a=vn(n,r,e.default);return se(a)?a():a}})},z=function(e,r){return ge(e).reduce(function(n,i){return vo(vo({},n),{},jA({},i,HA(e[i],i,r)))},{})},F2=HA({},"","").default.name,yi=function(e){return se(e)&&e.name&&e.name!==F2};function j2(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Nt=function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=r.type,i=n===void 0?Ns:n,a=r.defaultValue,o=a===void 0?void 0:a,s=r.validator,l=s===void 0?void 0:s,u=r.event,f=u===void 0?_A:u,d=j2({},e,c(i,o,l)),p=I({model:{prop:e,event:f},props:d});return{mixin:p,props:d,prop:e,event:f}},zA=function(e){return KL?St(e)?e:{capture:!!e||!1}:!!(St(e)?e.capture:e)},it=function(e,r,n,i){e&&e.addEventListener&&e.addEventListener(r,n,zA(i))},ft=function(e,r,n,i){e&&e.removeEventListener&&e.removeEventListener(r,n,zA(i))},qn=function(e){for(var r=e?it:ft,n=arguments.length,i=new Array(n>1?n-1:0),a=1;a1&&arguments[1]!==void 0?arguments[1]:{},n=r.preventDefault,i=n===void 0?!0:n,a=r.propagation,o=a===void 0?!0:a,s=r.immediatePropagation,l=s===void 0?!1:s;i&&e.preventDefault(),o&&e.stopPropagation(),l&&e.stopImmediatePropagation()},UA=function(e){return Nb(e.replace(JL,""))},gt=function(e,r){return[RA,UA(e),r].join(xA)},xt=function(e,r){return[RA,r,UA(e)].join(xA)};function V2(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var H2=z({ariaLabel:c(g,"Close"),content:c(g,"×"),disabled:c(_,!1),textVariant:c(g)},N1),xo=I({name:N1,functional:!0,props:H2,render:function(e,r){var n=r.props,i=r.data,a=r.slots,o=r.scopedSlots,s=a(),l=o||{},u={staticClass:"close",class:V2({},"text-".concat(n.textVariant),n.textVariant),attrs:{type:"button",disabled:n.disabled,"aria-label":n.ariaLabel?String(n.ariaLabel):null},on:{click:function(d){n.disabled&&Po(d)&&_e(d)}}};return Ki(kt,l,s)||(u.domProps={innerHTML:n.content}),e("button",oe(i,u),rr(kt,{},l,s))}});function Z_(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function ao(t){for(var e=1;e0?e:0)},Yh=function(e){return e===""||e===!0?!0:ee(e,0)<1?!1:!!e},Y2=z(ie(ew(ew({},K2),{},{dismissLabel:c(g,"Close"),dismissible:c(_,!1),fade:c(_,!1),variant:c(g,"info")})),P1),q2=I({name:P1,mixins:[W2,ve],props:Y2,data:function(){return{countDown:0,localShow:Yh(this[Dl])}},watch:(Al={},ql(Al,Dl,function(t){this.countDown=rw(t),this.localShow=Yh(t)}),ql(Al,"countDown",function(e){var r=this;this.clearCountDownInterval();var n=this[Dl];cu(n)&&(this.$emit(hj,e),n!==e&&this.$emit(tw,e),e>0?(this.localShow=!0,this.$_countDownTimeout=setTimeout(function(){r.countDown--},1e3)):this.$nextTick(function(){We(function(){r.localShow=!1})}))}),ql(Al,"localShow",function(e){var r=this[Dl];!e&&(this.dismissible||cu(r))&&this.$emit(pj),!cu(r)&&r!==e&&this.$emit(tw,e)}),Al),created:function(){this.$_filterTimer=null;var e=this[Dl];this.countDown=rw(e),this.localShow=Yh(e)},beforeDestroy:function(){this.clearCountDownInterval()},methods:{dismiss:function(){this.clearCountDownInterval(),this.countDown=0,this.localShow=!1},clearCountDownInterval:function(){clearTimeout(this.$_countDownTimeout),this.$_countDownTimeout=null}},render:function(e){var r=e();if(this.localShow){var n=this.dismissible,i=this.variant,a=e();n&&(a=e(xo,{attrs:{"aria-label":this.dismissLabel},on:{click:this.dismiss}},[this.normalizeSlot(zj)])),r=e("div",{staticClass:"alert",class:ql({"alert-dismissible":n},"alert-".concat(i),i),attrs:{role:"alert","aria-live":"polite","aria-atomic":!0},key:this[ji]},[a,this.normalizeSlot()])}return e(Io,{props:{noFade:!this.fade}},[r])}}),X2=ae({components:{BAlert:q2}}),Fi=Math.min,Fe=Math.max,WA=Math.abs,KA=Math.ceil,Mu=Math.floor,YA=Math.pow,Gm=Math.round;function J2(t,e){return tV(t)||eV(t,e)||Q2(t,e)||Z2()}function Z2(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Q2(t,e){if(!!t){if(typeof t=="string")return nw(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if(r==="Object"&&t.constructor&&(r=t.constructor.name),r==="Map"||r==="Set")return Array.from(t);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return nw(t,e)}}function nw(t,e){(e==null||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r0&&arguments[0]!==void 0?arguments[0]:{},r=e.target,n=e.rel;return r==="_blank"&&nt(n)?"noopener":n||null},ZA=function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=e.href,n=e.to,i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:XA,a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"#",o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"/";if(r)return r;if(JA(i))return null;if(De(n))return n||o;if(yr(n)&&(n.path||n.query||n.hash)){var s=ce(n.path),l=aV(n.query),u=ce(n.hash);return u=!u||u.charAt(0)==="#"?u:"#".concat(u),"".concat(s).concat(l).concat(u)||o}return a};function ow(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var lV={viewBox:"0 0 16 16",width:"1em",height:"1em",focusable:"false",role:"img","aria-label":"icon"},uV={width:null,height:null,focusable:null,role:null,"aria-label":null},Lb={animation:c(g),content:c(g),flipH:c(_,!1),flipV:c(_,!1),fontScale:c(re,1),rotate:c(re,0),scale:c(re,1),shiftH:c(re,0),shiftV:c(re,0),stacked:c(_,!1),title:c(g),variant:c(g)},cV=I({name:qF,functional:!0,props:Lb,render:function(e,r){var n,i=r.data,a=r.props,o=r.children,s=a.animation,l=a.content,u=a.flipH,f=a.flipV,d=a.stacked,p=a.title,h=a.variant,b=Fe(Ee(a.fontScale,1),0)||1,y=Fe(Ee(a.scale,1),0)||1,P=Ee(a.rotate,0),C=Ee(a.shiftH,0),R=Ee(a.shiftV,0),A=u||f||y!==1,B=A||P,D=C||R,V=!Ge(l),N=[B?"translate(8 8)":null,A?"scale(".concat((u?-1:1)*y," ").concat((f?-1:1)*y,")"):null,P?"rotate(".concat(P,")"):null,B?"translate(-8 -8)":null].filter(pe),G=e("g",{attrs:{transform:N.join(" ")||null},domProps:V?{innerHTML:l||""}:{}},o);D&&(G=e("g",{attrs:{transform:"translate(".concat(16*C/16," ").concat(-16*R/16,")")}},[G])),d&&(G=e("g",[G]));var H=p?e("title",p):null,W=[H,G].filter(pe);return e("svg",oe({staticClass:"b-icon bi",class:(n={},ow(n,"text-".concat(h),h),ow(n,"b-icon-animation-".concat(s),s),n),attrs:lV,style:d?{}:{fontSize:b===1?null:"".concat(b*100,"%")}},i,d?{attrs:uV}:{},{attrs:{xmlns:d?null:"http://www.w3.org/2000/svg",fill:"currentColor"}}),W)}});function sw(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function lw(t){for(var e=1;e'),EZ=bt("ArrowRepeat",''),pV=bt("Calendar",''),hV=bt("CalendarFill",''),cw=bt("ChevronBarLeft",''),fw=bt("ChevronDoubleLeft",''),vV=bt("ChevronDown",''),dw=bt("ChevronLeft",''),pw=bt("ChevronUp",''),Wm=bt("CircleFill",''),mV=bt("Clock",''),gV=bt("ClockFill",''),bV=bt("Dash",''),yV=bt("Github",''),$Z=bt("InfoCircleFill",''),OV=bt("PersonFill",''),_V=bt("Plus",''),CZ=bt("Search",''),AZ=bt("Speedometer2",''),wV=bt("Star",''),TV=bt("StarFill",''),SV=bt("StarHalf",''),QA=bt("X",'');function hw(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function vw(t){for(var e=1;e1?n-1:0),a=1;at.length)&&(e=t.length);for(var r=0,n=new Array(e);r0&&arguments[0]!==void 0?arguments[0]:"";return String(e).replace(tF,"")},dt=function(e,r){return e?{innerHTML:e}:r?{textContent:r}:{}};function Aw(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function Dw(t){for(var e=1;e-1&&(r=r.slice(0,n).reverse(),we(r[0]))},focusNext:function(e){var r=this.getItems(),n=r.indexOf(e.target);n>-1&&(r=r.slice(n+1),we(r[0]))},focusLast:function(){var e=this.getItems().reverse();we(e[0])},onFocusin:function(e){var r=this.$el;e.target===r&&!Rt(r,e.relatedTarget)&&(_e(e),this.focusFirst(e))},onKeydown:function(e){var r=e.keyCode,n=e.shiftKey;r===Zr||r===Xn?(_e(e),n?this.focusFirst(e):this.focusPrev(e)):(r===Rr||r===Yi)&&(_e(e),n?this.focusLast(e):this.focusNext(e))}},render:function(e){var r=this.keyNav;return e("div",{staticClass:"btn-toolbar",class:{"justify-content-between":this.justify},attrs:{role:"toolbar",tabindex:r?"0":null},on:r?{focusin:this.onFocusin,keydown:this.onKeydown}:{}},[this.normalizeSlot()])}}),pH=ae({components:{BButtonToolbar:Bw,BBtnToolbar:Bw}}),aa="gregory",pu="long",hH="narrow",qm="short",kw="2-digit",dd="numeric";function vH(t,e){return yH(t)||bH(t,e)||gH(t,e)||mH()}function mH(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function gH(t,e){if(!!t){if(typeof t=="string")return Lw(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if(r==="Object"&&t.constructor&&(r=t.constructor.name),r==="Map"||r==="Set")return Array.from(t);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Lw(t,e)}}function Lw(t,e){(e==null||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function Xm(t,e){return Xm=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Xm(t,e)}var Jt=function(){for(var e=arguments.length,r=new Array(e),n=0;n1&&arguments[1]!==void 0?arguments[1]:aa;e=Me(e).filter(pe);var n=new Intl.DateTimeFormat(e,{calendar:r});return n.resolvedOptions().locale},Xl=function(e,r){var n=new Intl.DateTimeFormat(e,r);return n.format},Cc=function(e,r){return rt(e)===rt(r)},Jh=function(e){return e=Jt(e),e.setDate(1),e},Zh=function(e){return e=Jt(e),e.setMonth(e.getMonth()+1),e.setDate(0),e},dp=function(e,r){e=Jt(e);var n=e.getMonth();return e.setFullYear(e.getFullYear()+r),e.getMonth()!==n&&e.setDate(0),e},Qh=function(e){e=Jt(e);var r=e.getMonth();return e.setMonth(r-1),e.getMonth()===r&&e.setDate(0),e},ev=function(e){e=Jt(e);var r=e.getMonth();return e.setMonth(r+1),e.getMonth()===(r+2)%12&&e.setDate(0),e},tv=function(e){return dp(e,-1)},rv=function(e){return dp(e,1)},nv=function(e){return dp(e,-10)},iv=function(e){return dp(e,10)},pd=function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;return e=Dt(e),r=Dt(r)||e,n=Dt(n)||e,e?en?n:e:null},Fw=["ar","az","ckb","fa","he","ks","lrc","mzn","ps","sd","te","ug","ur","yi"].map(function(t){return t.toLowerCase()}),pp=function(e){var r=ce(e).toLowerCase().replace(wF,"").split("-"),n=r.slice(0,2).join("-"),i=r[0];return he(Fw,n)||he(Fw,i)},Ke={id:c(g)},Ze=I({props:Ke,data:function(){return{localId_:null}},computed:{safeId:function(){var e=this.id||this.localId_,r=function(i){return e?(i=String(i||"").replace(/\s+/g,"_"),i?e+"_"+i:e):null};return r}},mounted:function(){var e=this;this.$nextTick(function(){e.localId_="__BVID__".concat(e[ji])})}}),Qo;function jw(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function ui(t){for(var e=1;er}},dateDisabled:function(){var e=this,r=this.dateOutOfRange;return function(n){n=Dt(n);var i=rt(n);return!!(r(n)||e.computedDateDisabledFn(i,n))}},formatDateString:function(){return Xl(this.calendarLocale,ui(ui({year:dd,month:kw,day:kw},this.dateFormatOptions),{},{hour:void 0,minute:void 0,second:void 0,calendar:aa}))},formatYearMonth:function(){return Xl(this.calendarLocale,{year:dd,month:pu,calendar:aa})},formatWeekdayName:function(){return Xl(this.calendarLocale,{weekday:pu,calendar:aa})},formatWeekdayNameShort:function(){return Xl(this.calendarLocale,{weekday:this.weekdayHeaderFormat||qm,calendar:aa})},formatDay:function(){var e=new Intl.NumberFormat([this.computedLocale],{style:"decimal",minimumIntegerDigits:1,minimumFractionDigits:0,maximumFractionDigits:0,notation:"standard"});return function(r){return e.format(r.getDate())}},prevDecadeDisabled:function(){var e=this.computedMin;return this.disabled||e&&Zh(nv(this.activeDate))e},nextYearDisabled:function(){var e=this.computedMax;return this.disabled||e&&Jh(rv(this.activeDate))>e},nextDecadeDisabled:function(){var e=this.computedMax;return this.disabled||e&&Jh(iv(this.activeDate))>e},calendar:function(){for(var e=[],r=this.calendarFirstDay,n=r.getFullYear(),i=r.getMonth(),a=this.calendarDaysInMonth,o=r.getDay(),s=(this.computedWeekStarts>o?7:0)-this.computedWeekStarts,l=0-s-o,u=0;u<6&&l0);i!==this.visible&&(this.visible=i,this.callback(i),this.once&&this.visible&&(this.doneOnce=!0,this.stop()))}},{key:"stop",value:function(){this.observer&&this.observer.disconnect(),this.observer=null}}]),t}(),SD=function(e){var r=e[Is];r&&r.stop&&r.stop(),delete e[Is]},PD=function(e,r){var n=r.value,i=r.modifiers,a={margin:"0px",once:!1,callback:n};ge(i).forEach(function(o){g1.test(o)?a.margin="".concat(o,"px"):o.toLowerCase()==="once"&&(a.once=!0)}),SD(e),e[Is]=new MH(e,a),e[Is]._prevModifiers=Na(i)},NH=function(e,r,n){var i=r.value,a=r.oldValue,o=r.modifiers;o=Na(o),e&&(i!==a||!e[Is]||!je(o,e[Is]._prevModifiers))&&PD(e,{value:i,modifiers:o})},IH=function(e){SD(e)},qb={bind:PD,componentUpdated:NH,unbind:IH},Dc;function Xw(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function hd(t){for(var e=1;e0||l.removedNodes.length>0))&&(o=!0)}o&&r()});return i.observe(e,GH({childList:!0,subtree:!0},n)),i},ts;function eT(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function sv(t){for(var e=1;e0),touchStartX:0,touchDeltaX:0}},computed:{numSlides:function(){return this.slides.length}},watch:(ts={},Zl(ts,lv,function(t,e){t!==e&&this.setSlide(ee(t,0))}),Zl(ts,"interval",function(e,r){e!==r&&(e?(this.pause(!0),this.start(!1)):this.pause(!1))}),Zl(ts,"isPaused",function(e,r){e!==r&&this.$emit(e?bj:Dj)}),Zl(ts,"index",function(e,r){e===r||this.isSliding||this.doSlide(e,r)}),ts),created:function(){this.$_interval=null,this.$_animationTimeout=null,this.$_touchTimeout=null,this.$_observer=null,this.isPaused=!(ee(this.interval,0)>0)},mounted:function(){this.transitionEndEvent=ZH(this.$el)||null,this.updateSlides(),this.setObserver(!0)},beforeDestroy:function(){this.clearInterval(),this.clearAnimationTimeout(),this.clearTouchTimeout(),this.setObserver(!1)},methods:{clearInterval:function(t){function e(){return t.apply(this,arguments)}return e.toString=function(){return t.toString()},e}(function(){clearInterval(this.$_interval),this.$_interval=null}),clearAnimationTimeout:function(){clearTimeout(this.$_animationTimeout),this.$_animationTimeout=null},clearTouchTimeout:function(){clearTimeout(this.$_touchTimeout),this.$_touchTimeout=null},setObserver:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;this.$_observer&&this.$_observer.disconnect(),this.$_observer=null,e&&(this.$_observer=Iu(this.$refs.inner,this.updateSlides.bind(this),{subtree:!1,childList:!0,attributes:!0,attributeFilter:["id"]}))},setSlide:function(e){var r=this,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;if(!(Je&&document.visibilityState&&document.hidden)){var i=this.noWrap,a=this.numSlides;if(e=Mu(e),a!==0){if(this.isSliding){this.$once(Gh,function(){We(function(){return r.setSlide(e,n)})});return}this.direction=n,this.index=e>=a?i?a-1:0:e<0?i?0:a-1:e,i&&this.index!==e&&this.index!==this[lv]&&this.$emit(tT,this.index)}}},prev:function(){this.setSlide(this.index-1,"prev")},next:function(){this.setSlide(this.index+1,"next")},pause:function(e){e||(this.isPaused=!0),this.clearInterval()},start:function(e){e||(this.isPaused=!1),this.clearInterval(),this.interval&&this.numSlides>1&&(this.$_interval=setInterval(this.next,Fe(1e3,this.interval)))},restart:function(){this.$el.contains(Aa())||this.start()},doSlide:function(e,r){var n=this,i=Boolean(this.interval),a=this.calcDirection(this.direction,r,e),o=a.overlayClass,s=a.dirClass,l=this.slides[r],u=this.slides[e];if(!(!l||!u)){if(this.isSliding=!0,i&&this.pause(!1),this.$emit($j,e),this.$emit(tT,this.index),this.noAnimation)$r(u,"active"),hr(l,"active"),this.isSliding=!1,this.$nextTick(function(){return n.$emit(Gh,e)});else{$r(u,o),kb(u),$r(l,s),$r(u,s);var f=!1,d=function h(){if(!f){if(f=!0,n.transitionEndEvent){var b=n.transitionEndEvent.split(/\s+/);b.forEach(function(y){return ft(u,y,h,Ae)})}n.clearAnimationTimeout(),hr(u,s),hr(u,o),$r(u,"active"),hr(l,"active"),hr(l,s),hr(l,o),st(l,"aria-current","false"),st(u,"aria-current","true"),st(l,"aria-hidden","true"),st(u,"aria-hidden","false"),n.isSliding=!1,n.direction=null,n.$nextTick(function(){return n.$emit(Gh,e)})}};if(this.transitionEndEvent){var p=this.transitionEndEvent.split(/\s+/);p.forEach(function(h){return it(u,h,d,Ae)})}this.$_animationTimeout=setTimeout(d,qH)}i&&this.start(!1)}},updateSlides:function(){this.pause(!0),this.slides=yn(".carousel-item",this.$refs.inner);var e=this.slides.length,r=Fe(0,Fi(Mu(this.index),e-1));this.slides.forEach(function(n,i){var a=i+1;i===r?($r(n,"active"),st(n,"aria-current","true")):(hr(n,"active"),st(n,"aria-current","false")),st(n,"aria-posinset",String(a)),st(n,"aria-setsize",String(e))}),this.setSlide(r),this.start(this.isPaused)},calcDirection:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;return e?uv[e]:n>r?uv.next:uv.prev},handleClick:function(e,r){var n=e.keyCode;(e.type==="click"||n===Ti||n===Ji)&&(_e(e),r())},handleSwipe:function(){var e=WA(this.touchDeltaX);if(!(e<=JH)){var r=e/this.touchDeltaX;this.touchDeltaX=0,r>0?this.prev():r<0&&this.next()}},touchStart:function(e){El&&rT[e.pointerType.toUpperCase()]?this.touchStartX=e.clientX:El||(this.touchStartX=e.touches[0].clientX)},touchMove:function(e){e.touches&&e.touches.length>1?this.touchDeltaX=0:this.touchDeltaX=e.touches[0].clientX-this.touchStartX},touchEnd:function(e){El&&rT[e.pointerType.toUpperCase()]&&(this.touchDeltaX=e.clientX-this.touchStartX),this.handleSwipe(),this.pause(!1),this.clearTouchTimeout(),this.$_touchTimeout=setTimeout(this.start,XH+Fe(1e3,this.interval))}},render:function(e){var r=this,n=this.indicators,i=this.background,a=this.noAnimation,o=this.noHoverPause,s=this.noTouch,l=this.index,u=this.isSliding,f=this.pause,d=this.restart,p=this.touchStart,h=this.touchEnd,b=this.safeId("__BV_inner_"),y=e("div",{staticClass:"carousel-inner",attrs:{id:b,role:"list"},ref:"inner"},[this.normalizeSlot()]),P=e();if(this.controls){var C=function(D,V,N){var G=function(W){u?_e(W,{propagation:!1}):r.handleClick(W,N)};return e("a",{staticClass:"carousel-control-".concat(D),attrs:{href:"#",role:"button","aria-controls":b,"aria-disabled":u?"true":null},on:{click:G,keydown:G}},[e("span",{staticClass:"carousel-control-".concat(D,"-icon"),attrs:{"aria-hidden":"true"}}),e("span",{class:"sr-only"},[V])])};P=[C("prev",this.labelPrev,this.prev),C("next",this.labelNext,this.next)]}var R=e("ol",{staticClass:"carousel-indicators",directives:[{name:"show",value:n}],attrs:{id:this.safeId("__BV_indicators_"),"aria-hidden":n?"false":"true","aria-label":this.labelIndicators,"aria-owns":b}},this.slides.map(function(B,D){var V=function(G){r.handleClick(G,function(){r.setSlide(D)})};return e("li",{class:{active:D===l},attrs:{role:"button",id:r.safeId("__BV_indicator_".concat(D+1,"_")),tabindex:n?"0":"-1","aria-current":D===l?"true":"false","aria-label":"".concat(r.labelGotoSlide," ").concat(D+1),"aria-describedby":B.id||null,"aria-controls":b},on:{click:V,keydown:V},key:"slide_".concat(D)})})),A={mouseenter:o?Nu:f,mouseleave:o?Nu:d,focusin:f,focusout:d,keydown:function(D){if(!/input|textarea/i.test(D.target.tagName)){var V=D.keyCode;(V===Xn||V===Yi)&&(_e(D),r[V===Xn?"prev":"next"]())}}};return Qf&&!s&&(El?(A["&pointerdown"]=p,A["&pointerup"]=h):(A["&touchstart"]=p,A["&touchmove"]=this.touchMove,A["&touchend"]=h)),e("div",{staticClass:"carousel",class:{slide:!a,"carousel-fade":!a&&this.fade,"pointer-event":Qf&&El&&!s},style:{background:i},attrs:{role:"region",id:this.safeId(),"aria-busy":u?"true":"false"},on:A},[y,P,R])}});function iT(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function vu(t){for(var e=1;e0?(st(e,eg,i.join(" ")),lr(e,ng,"none")):(vi(e,eg),op(e,ng)),We(function(){C5(e,gi(n,r))}),je(i,e[Bs])||(e[Bs]=i,i.forEach(function(a){Oi(gi(n,r)).$emit(P5,a)}))}},BD={bind:function(e,r,n){e[md]=!1,e[Bs]=[],A5(e,gi(n,r)),dv(e,r,n)},componentUpdated:dv,updated:dv,unbind:function(e,r,n){MD(e),ND(e,gi(n,r)),Mc(e,mu),Mc(e,vd),Mc(e,md),Mc(e,Bs),hr(e,Zm),hr(e,Qm),vi(e,tg),vi(e,eg),vi(e,rg),op(e,ng)}},Xb=ae({directives:{VBToggle:BD}}),kD=ae({components:{BCollapse:_5},plugins:{VBTogglePlugin:Xb}});/**! - * @fileOverview Kickass library to create and place poppers near their reference elements. - * @version 1.16.1 - * @license - * Copyright (c) 2016 Federico Zivolo and contributors - * - * Permission is hereby granted, free of charge, to any person obtaining a copy - * of this software and associated documentation files (the "Software"), to deal - * in the Software without restriction, including without limitation the rights - * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - * copies of the Software, and to permit persons to whom the Software is - * furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included in all - * copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. - */var Ju=typeof window<"u"&&typeof document<"u"&&typeof navigator<"u",D5=function(){for(var t=["Edge","Trident","Firefox"],e=0;e=0)return 1;return 0}();function R5(t){var e=!1;return function(){e||(e=!0,window.Promise.resolve().then(function(){e=!1,t()}))}}function x5(t){var e=!1;return function(){e||(e=!0,setTimeout(function(){e=!1,t()},D5))}}var M5=Ju&&window.Promise,N5=M5?R5:x5;function LD(t){var e={};return t&&e.toString.call(t)==="[object Function]"}function Bo(t,e){if(t.nodeType!==1)return[];var r=t.ownerDocument.defaultView,n=r.getComputedStyle(t,null);return e?n[e]:n}function Jb(t){return t.nodeName==="HTML"?t:t.parentNode||t.host}function Zu(t){if(!t)return document.body;switch(t.nodeName){case"HTML":case"BODY":return t.ownerDocument.body;case"#document":return t.body}var e=Bo(t),r=e.overflow,n=e.overflowX,i=e.overflowY;return/(auto|scroll|overlay)/.test(r+i+n)?t:Zu(Jb(t))}function FD(t){return t&&t.referenceNode?t.referenceNode:t}var lT=Ju&&!!(window.MSInputMethodContext&&document.documentMode),uT=Ju&&/MSIE 10/.test(navigator.userAgent);function rl(t){return t===11?lT:t===10?uT:lT||uT}function ks(t){if(!t)return document.documentElement;for(var e=rl(10)?document.body:null,r=t.offsetParent||null;r===e&&t.nextElementSibling;)r=(t=t.nextElementSibling).offsetParent;var n=r&&r.nodeName;return!n||n==="BODY"||n==="HTML"?t?t.ownerDocument.documentElement:document.documentElement:["TH","TD","TABLE"].indexOf(r.nodeName)!==-1&&Bo(r,"position")==="static"?ks(r):r}function I5(t){var e=t.nodeName;return e==="BODY"?!1:e==="HTML"||ks(t.firstElementChild)===t}function ig(t){return t.parentNode!==null?ig(t.parentNode):t}function gd(t,e){if(!t||!t.nodeType||!e||!e.nodeType)return document.documentElement;var r=t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_FOLLOWING,n=r?t:e,i=r?e:t,a=document.createRange();a.setStart(n,0),a.setEnd(i,0);var o=a.commonAncestorContainer;if(t!==o&&e!==o||n.contains(i))return I5(o)?o:ks(o);var s=ig(t);return s.host?gd(s.host,e):gd(t,ig(e).host)}function Ls(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"top",r=e==="top"?"scrollTop":"scrollLeft",n=t.nodeName;if(n==="BODY"||n==="HTML"){var i=t.ownerDocument.documentElement,a=t.ownerDocument.scrollingElement||i;return a[r]}return t[r]}function B5(t,e){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,n=Ls(e,"top"),i=Ls(e,"left"),a=r?-1:1;return t.top+=n*a,t.bottom+=n*a,t.left+=i*a,t.right+=i*a,t}function cT(t,e){var r=e==="x"?"Left":"Top",n=r==="Left"?"Right":"Bottom";return parseFloat(t["border"+r+"Width"])+parseFloat(t["border"+n+"Width"])}function fT(t,e,r,n){return Math.max(e["offset"+t],e["scroll"+t],r["client"+t],r["offset"+t],r["scroll"+t],rl(10)?parseInt(r["offset"+t])+parseInt(n["margin"+(t==="Height"?"Top":"Left")])+parseInt(n["margin"+(t==="Height"?"Bottom":"Right")]):0)}function jD(t){var e=t.body,r=t.documentElement,n=rl(10)&&getComputedStyle(r);return{height:fT("Height",e,r,n),width:fT("Width",e,r,n)}}var k5=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},L5=function(){function t(e,r){for(var n=0;n2&&arguments[2]!==void 0?arguments[2]:!1,n=rl(10),i=e.nodeName==="HTML",a=ag(t),o=ag(e),s=Zu(t),l=Bo(e),u=parseFloat(l.borderTopWidth),f=parseFloat(l.borderLeftWidth);r&&i&&(o.top=Math.max(o.top,0),o.left=Math.max(o.left,0));var d=xa({top:a.top-o.top-u,left:a.left-o.left-f,width:a.width,height:a.height});if(d.marginTop=0,d.marginLeft=0,!n&&i){var p=parseFloat(l.marginTop),h=parseFloat(l.marginLeft);d.top-=u-p,d.bottom-=u-p,d.left-=f-h,d.right-=f-h,d.marginTop=p,d.marginLeft=h}return(n&&!r?e.contains(s):e===s&&s.nodeName!=="BODY")&&(d=B5(d,e)),d}function F5(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,r=t.ownerDocument.documentElement,n=Zb(t,r),i=Math.max(r.clientWidth,window.innerWidth||0),a=Math.max(r.clientHeight,window.innerHeight||0),o=e?0:Ls(r),s=e?0:Ls(r,"left"),l={top:o-n.top+n.marginTop,left:s-n.left+n.marginLeft,width:i,height:a};return xa(l)}function VD(t){var e=t.nodeName;if(e==="BODY"||e==="HTML")return!1;if(Bo(t,"position")==="fixed")return!0;var r=Jb(t);return r?VD(r):!1}function HD(t){if(!t||!t.parentElement||rl())return document.documentElement;for(var e=t.parentElement;e&&Bo(e,"transform")==="none";)e=e.parentElement;return e||document.documentElement}function Qb(t,e,r,n){var i=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1,a={top:0,left:0},o=i?HD(t):gd(t,FD(e));if(n==="viewport")a=F5(o,i);else{var s=void 0;n==="scrollParent"?(s=Zu(Jb(e)),s.nodeName==="BODY"&&(s=t.ownerDocument.documentElement)):n==="window"?s=t.ownerDocument.documentElement:s=n;var l=Zb(s,o,i);if(s.nodeName==="HTML"&&!VD(o)){var u=jD(t.ownerDocument),f=u.height,d=u.width;a.top+=l.top-l.marginTop,a.bottom=f+l.top,a.left+=l.left-l.marginLeft,a.right=d+l.left}else a=l}r=r||0;var p=typeof r=="number";return a.left+=p?r:r.left||0,a.top+=p?r:r.top||0,a.right-=p?r:r.right||0,a.bottom-=p?r:r.bottom||0,a}function j5(t){var e=t.width,r=t.height;return e*r}function zD(t,e,r,n,i){var a=arguments.length>5&&arguments[5]!==void 0?arguments[5]:0;if(t.indexOf("auto")===-1)return t;var o=Qb(r,n,a,i),s={top:{width:o.width,height:e.top-o.top},right:{width:o.right-e.right,height:o.height},bottom:{width:o.width,height:o.bottom-e.bottom},left:{width:e.left-o.left,height:o.height}},l=Object.keys(s).map(function(p){return In({key:p},s[p],{area:j5(s[p])})}).sort(function(p,h){return h.area-p.area}),u=l.filter(function(p){var h=p.width,b=p.height;return h>=r.clientWidth&&b>=r.clientHeight}),f=u.length>0?u[0].key:l[0].key,d=t.split("-")[1];return f+(d?"-"+d:"")}function UD(t,e,r){var n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null,i=n?HD(e):gd(e,FD(r));return Zb(r,i,n)}function GD(t){var e=t.ownerDocument.defaultView,r=e.getComputedStyle(t),n=parseFloat(r.marginTop||0)+parseFloat(r.marginBottom||0),i=parseFloat(r.marginLeft||0)+parseFloat(r.marginRight||0),a={width:t.offsetWidth+i,height:t.offsetHeight+n};return a}function bd(t){var e={left:"right",right:"left",bottom:"top",top:"bottom"};return t.replace(/left|right|bottom|top/g,function(r){return e[r]})}function WD(t,e,r){r=r.split("-")[0];var n=GD(t),i={width:n.width,height:n.height},a=["right","left"].indexOf(r)!==-1,o=a?"top":"left",s=a?"left":"top",l=a?"height":"width",u=a?"width":"height";return i[o]=e[o]+e[l]/2-n[l]/2,r===s?i[s]=e[s]-n[u]:i[s]=e[bd(s)],i}function Qu(t,e){return Array.prototype.find?t.find(e):t.filter(e)[0]}function V5(t,e,r){if(Array.prototype.findIndex)return t.findIndex(function(i){return i[e]===r});var n=Qu(t,function(i){return i[e]===r});return t.indexOf(n)}function KD(t,e,r){var n=r===void 0?t:t.slice(0,V5(t,"name",r));return n.forEach(function(i){i.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var a=i.function||i.fn;i.enabled&&LD(a)&&(e.offsets.popper=xa(e.offsets.popper),e.offsets.reference=xa(e.offsets.reference),e=a(e,i))}),e}function H5(){if(!this.state.isDestroyed){var t={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};t.offsets.reference=UD(this.state,this.popper,this.reference,this.options.positionFixed),t.placement=zD(this.options.placement,t.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),t.originalPlacement=t.placement,t.positionFixed=this.options.positionFixed,t.offsets.popper=WD(this.popper,t.offsets.reference,t.placement),t.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",t=KD(this.modifiers,t),this.state.isCreated?this.options.onUpdate(t):(this.state.isCreated=!0,this.options.onCreate(t))}}function YD(t,e){return t.some(function(r){var n=r.name,i=r.enabled;return i&&n===e})}function ey(t){for(var e=[!1,"ms","Webkit","Moz","O"],r=t.charAt(0).toUpperCase()+t.slice(1),n=0;no[h]&&(t.offsets.popper[d]+=s[d]+b-o[h]),t.offsets.popper=xa(t.offsets.popper);var y=s[d]+s[u]/2-b/2,P=Bo(t.instance.popper),C=parseFloat(P["margin"+f]),R=parseFloat(P["border"+f+"Width"]),A=y-t.offsets.popper[d]-C-R;return A=Math.max(Math.min(o[u]-b,A),0),t.arrowElement=n,t.offsets.arrow=(r={},Fs(r,d,Math.round(A)),Fs(r,p,""),r),t}function tz(t){return t==="end"?"start":t==="start"?"end":t}var ZD=["auto-start","auto","auto-end","top-start","top","top-end","right-start","right","right-end","bottom-end","bottom","bottom-start","left-end","left","left-start"],pv=ZD.slice(3);function dT(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,r=pv.indexOf(t),n=pv.slice(r+1).concat(pv.slice(0,r));return e?n.reverse():n}var hv={FLIP:"flip",CLOCKWISE:"clockwise",COUNTERCLOCKWISE:"counterclockwise"};function rz(t,e){if(YD(t.instance.modifiers,"inner")||t.flipped&&t.placement===t.originalPlacement)return t;var r=Qb(t.instance.popper,t.instance.reference,e.padding,e.boundariesElement,t.positionFixed),n=t.placement.split("-")[0],i=bd(n),a=t.placement.split("-")[1]||"",o=[];switch(e.behavior){case hv.FLIP:o=[n,i];break;case hv.CLOCKWISE:o=dT(n);break;case hv.COUNTERCLOCKWISE:o=dT(n,!0);break;default:o=e.behavior}return o.forEach(function(s,l){if(n!==s||o.length===l+1)return t;n=t.placement.split("-")[0],i=bd(n);var u=t.offsets.popper,f=t.offsets.reference,d=Math.floor,p=n==="left"&&d(u.right)>d(f.left)||n==="right"&&d(u.left)d(f.top)||n==="bottom"&&d(u.top)d(r.right),y=d(u.top)d(r.bottom),C=n==="left"&&h||n==="right"&&b||n==="top"&&y||n==="bottom"&&P,R=["top","bottom"].indexOf(n)!==-1,A=!!e.flipVariations&&(R&&a==="start"&&h||R&&a==="end"&&b||!R&&a==="start"&&y||!R&&a==="end"&&P),B=!!e.flipVariationsByContent&&(R&&a==="start"&&b||R&&a==="end"&&h||!R&&a==="start"&&P||!R&&a==="end"&&y),D=A||B;(p||C||D)&&(t.flipped=!0,(p||C)&&(n=o[l+1]),D&&(a=tz(a)),t.placement=n+(a?"-"+a:""),t.offsets.popper=In({},t.offsets.popper,WD(t.instance.popper,t.offsets.reference,t.placement)),t=KD(t.instance.modifiers,t,"flip"))}),t}function nz(t){var e=t.offsets,r=e.popper,n=e.reference,i=t.placement.split("-")[0],a=Math.floor,o=["top","bottom"].indexOf(i)!==-1,s=o?"right":"bottom",l=o?"left":"top",u=o?"width":"height";return r[s]a(n[s])&&(t.offsets.popper[l]=a(n[s])),t}function iz(t,e,r,n){var i=t.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),a=+i[1],o=i[2];if(!a)return t;if(o.indexOf("%")===0){var s=void 0;switch(o){case"%p":s=r;break;case"%":case"%r":default:s=n}var l=xa(s);return l[e]/100*a}else if(o==="vh"||o==="vw"){var u=void 0;return o==="vh"?u=Math.max(document.documentElement.clientHeight,window.innerHeight||0):u=Math.max(document.documentElement.clientWidth,window.innerWidth||0),u/100*a}else return a}function az(t,e,r,n){var i=[0,0],a=["right","left"].indexOf(n)!==-1,o=t.split(/(\+|\-)/).map(function(f){return f.trim()}),s=o.indexOf(Qu(o,function(f){return f.search(/,|\s/)!==-1}));o[s]&&o[s].indexOf(",")===-1&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var l=/\s*,\s*|\s+/,u=s!==-1?[o.slice(0,s).concat([o[s].split(l)[0]]),[o[s].split(l)[1]].concat(o.slice(s+1))]:[o];return u=u.map(function(f,d){var p=(d===1?!a:a)?"height":"width",h=!1;return f.reduce(function(b,y){return b[b.length-1]===""&&["+","-"].indexOf(y)!==-1?(b[b.length-1]=y,h=!0,b):h?(b[b.length-1]+=y,h=!1,b):b.concat(y)},[]).map(function(b){return iz(b,p,e,r)})}),u.forEach(function(f,d){f.forEach(function(p,h){ty(p)&&(i[d]+=p*(f[h-1]==="-"?-1:1))})}),i}function oz(t,e){var r=e.offset,n=t.placement,i=t.offsets,a=i.popper,o=i.reference,s=n.split("-")[0],l=void 0;return ty(+r)?l=[+r,0]:l=az(r,a,o,s),s==="left"?(a.top+=l[0],a.left-=l[1]):s==="right"?(a.top+=l[0],a.left+=l[1]):s==="top"?(a.left+=l[0],a.top-=l[1]):s==="bottom"&&(a.left+=l[0],a.top+=l[1]),t.popper=a,t}function sz(t,e){var r=e.boundariesElement||ks(t.instance.popper);t.instance.reference===r&&(r=ks(r));var n=ey("transform"),i=t.instance.popper.style,a=i.top,o=i.left,s=i[n];i.top="",i.left="",i[n]="";var l=Qb(t.instance.popper,t.instance.reference,e.padding,r,t.positionFixed);i.top=a,i.left=o,i[n]=s,e.boundaries=l;var u=e.priority,f=t.offsets.popper,d={primary:function(h){var b=f[h];return f[h]l[h]&&!e.escapeWithReference&&(y=Math.min(f[b],l[h]-(h==="right"?f.width:f.height))),Fs({},b,y)}};return u.forEach(function(p){var h=["left","top"].indexOf(p)!==-1?"primary":"secondary";f=In({},f,d[h](p))}),t.offsets.popper=f,t}function lz(t){var e=t.placement,r=e.split("-")[0],n=e.split("-")[1];if(n){var i=t.offsets,a=i.reference,o=i.popper,s=["bottom","top"].indexOf(r)!==-1,l=s?"left":"top",u=s?"width":"height",f={start:Fs({},l,a[l]),end:Fs({},l,a[l]+a[u]-o[u])};t.offsets.popper=In({},o,f[n])}return t}function uz(t){if(!JD(t.instance.modifiers,"hide","preventOverflow"))return t;var e=t.offsets.reference,r=Qu(t.instance.modifiers,function(n){return n.name==="preventOverflow"}).boundaries;if(e.bottomr.right||e.top>r.bottom||e.right2&&arguments[2]!==void 0?arguments[2]:{};k5(this,t),this.scheduleUpdate=function(){return requestAnimationFrame(n.update)},this.update=N5(this.update.bind(this)),this.options=In({},t.Defaults,i),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=e&&e.jquery?e[0]:e,this.popper=r&&r.jquery?r[0]:r,this.options.modifiers={},Object.keys(In({},t.Defaults.modifiers,i.modifiers)).forEach(function(o){n.options.modifiers[o]=In({},t.Defaults.modifiers[o]||{},i.modifiers?i.modifiers[o]:{})}),this.modifiers=Object.keys(this.options.modifiers).map(function(o){return In({name:o},n.options.modifiers[o])}).sort(function(o,s){return o.order-s.order}),this.modifiers.forEach(function(o){o.enabled&&LD(o.onLoad)&&o.onLoad(n.reference,n.popper,n.options,o,n.state)}),this.update();var a=this.options.eventsEnabled;a&&this.enableEventListeners(),this.state.eventsEnabled=a}return L5(t,[{key:"update",value:function(){return H5.call(this)}},{key:"destroy",value:function(){return z5.call(this)}},{key:"enableEventListeners",value:function(){return G5.call(this)}},{key:"disableEventListeners",value:function(){return K5.call(this)}}]),t}();yp.Utils=(typeof window<"u"?window:global).PopperUtils;yp.placements=ZD;yp.Defaults=dz;const sg=yp;var pz="top-start",hz="top-end",vz="bottom-start",mz="bottom-end",gz="right-start",bz="left-start";function yz(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function pT(t,e){for(var r=0;r1&&arguments[1]!==void 0?arguments[1]:{};if(yz(this,t),!e)throw new TypeError("Failed to construct '".concat(this.constructor.name,"'. 1 argument required, ").concat(arguments.length," given."));Gu(this,t.Defaults,this.constructor.Defaults,r,{type:e}),ip(this,{type:xn(),cancelable:xn(),nativeEvent:xn(),target:xn(),relatedTarget:xn(),vueTarget:xn(),componentId:xn()});var n=!1;this.preventDefault=function(){this.cancelable&&(n=!0)},Cb(this,"defaultPrevented",{enumerable:!0,get:function(){return n}})}return Oz(t,null,[{key:"Defaults",get:function(){return{type:"",cancelable:!0,nativeEvent:null,target:null,relatedTarget:null,vueTarget:null,componentId:null}}}]),t}(),_z=I({data:function(){return{listenForClickOut:!1}},watch:{listenForClickOut:function(e,r){e!==r&&(ft(this.clickOutElement,this.clickOutEventName,this._clickOutHandler,Ae),e&&it(this.clickOutElement,this.clickOutEventName,this._clickOutHandler,Ae))}},beforeCreate:function(){this.clickOutElement=null,this.clickOutEventName=null},mounted:function(){this.clickOutElement||(this.clickOutElement=document),this.clickOutEventName||(this.clickOutEventName="click"),this.listenForClickOut&&it(this.clickOutElement,this.clickOutEventName,this._clickOutHandler,Ae)},beforeDestroy:function(){ft(this.clickOutElement,this.clickOutEventName,this._clickOutHandler,Ae)},methods:{isClickOut:function(e){return!Rt(this.$el,e.target)},_clickOutHandler:function(e){this.clickOutHandler&&this.isClickOut(e)&&this.clickOutHandler(e)}}}),wz=I({data:function(){return{listenForFocusIn:!1}},watch:{listenForFocusIn:function(e,r){e!==r&&(ft(this.focusInElement,"focusin",this._focusInHandler,Ae),e&&it(this.focusInElement,"focusin",this._focusInHandler,Ae))}},beforeCreate:function(){this.focusInElement=null},mounted:function(){this.focusInElement||(this.focusInElement=document),this.listenForFocusIn&&it(this.focusInElement,"focusin",this._focusInHandler,Ae)},beforeDestroy:function(){ft(this.focusInElement,"focusin",this._focusInHandler,Ae)},methods:{_focusInHandler:function(e){this.focusInHandler&&this.focusInHandler(e)}}}),Bu=null;Nr&&(Bu=new WeakMap);var Tz=function(e,r){!Nr||Bu.set(e,r)},Sz=function(e){!Nr||Bu.delete(e)},Pz=function(e){if(!Nr)return e.__vue__;for(var r=e;r;){if(Bu.has(r))return Bu.get(r);r=r.parentNode}return null};function hT(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function vT(t){for(var e=1;e"u")jt("Popper.js not found. Falling back to CSS positioning",Co);else{var r=this.dropup&&this.right||this.split?this.$el:this.$refs.toggle;r=r.$el||r,this.createPopper(r)}this.emitOnRoot(mT,this),this.whileOpenListen(!0),this.$nextTick(function(){e.focusMenu(),e.$emit(Ar)})}},hideMenu:function(){this.whileOpenListen(!1),this.emitOnRoot($z,this),this.$emit(Pt),this.destroyPopper()},createPopper:function(e){this.destroyPopper(),this.$_popper=new sg(e,this.$refs.menu,this.getPopperConfig())},destroyPopper:function(){this.$_popper&&this.$_popper.destroy(),this.$_popper=null},updatePopper:function(){try{this.$_popper.scheduleUpdate()}catch{}},clearHideTimeout:function(){clearTimeout(this.$_hideTimeout),this.$_hideTimeout=null},getPopperConfig:function(){var e=vz;this.dropup?e=this.right?hz:pz:this.dropright?e=gz:this.dropleft?e=bz:this.right&&(e=mz);var r={placement:e,modifiers:{offset:{offset:this.offset||0},flip:{enabled:!this.noFlip}}},n=this.boundary;return n&&(r.modifiers.preventOverflow={boundariesElement:n}),DF(r,this.popperOpts||{})},whileOpenListen:function(e){this.listenForClickOut=e,this.listenForFocusIn=e;var r=e?"listenOnRoot":"listenOffRoot";this[r](mT,this.rootCloseListener)},rootCloseListener:function(e){e!==this&&(this.visible=!1)},show:function(){var e=this;this.disabled||We(function(){e.visible=!0})},hide:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;this.disabled||(this.visible=!1,e&&this.$once(Pt,this.focusToggler))},toggle:function(e){e=e||{};var r=e,n=r.type,i=r.keyCode;if(!(n!=="click"&&!(n==="keydown"&&[Ji,Ti,Rr].indexOf(i)!==-1))){if(this.disabled){this.visible=!1;return}this.$emit(AA,e),_e(e),this.visible?this.hide(!0):this.show()}},onMousedown:function(e){_e(e,{propagation:!1})},onKeydown:function(e){var r=e.keyCode;r===Fb?this.onEsc(e):r===Rr?this.focusNext(e,!1):r===Zr&&this.focusNext(e,!0)},onEsc:function(e){this.visible&&(this.visible=!1,_e(e),this.$once(Pt,this.focusToggler))},onSplitClick:function(e){if(this.disabled){this.visible=!1;return}this.$emit(Ln,e)},hideHandler:function(e){var r=this,n=e.target;this.visible&&!Rt(this.$refs.menu,n)&&!Rt(this.toggler,n)&&(this.clearHideTimeout(),this.$_hideTimeout=setTimeout(function(){return r.hide()},this.hideDelay))},clickOutHandler:function(e){this.hideHandler(e)},focusInHandler:function(e){this.hideHandler(e)},focusNext:function(e,r){var n=this,i=e.target;!this.visible||e&&Jr(Cz,i)||(_e(e),this.$nextTick(function(){var a=n.getItems();if(!(a.length<1)){var o=a.indexOf(i);r&&o>0?o--:!r&&o1&&arguments[1]!==void 0?arguments[1]:null;if(yr(e)){var n=ur(e,this.valueField),i=ur(e,this.textField);return{value:Et(n)?r||i:n,text:Cw(String(Et(i)?r:i)),html:ur(e,this.htmlField),disabled:Boolean(ur(e,this.disabledField))}}return{value:r||e,text:Cw(String(e)),disabled:!1}},normalizeOptions:function(e){var r=this;return He(e)?e.map(function(n){return r.normalizeOption(n)}):yr(e)?(jt(Kz,this.$options.name),ge(e).map(function(n){return r.normalizeOption(e[n]||{},n)})):[]}}});function IT(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function BT(t){for(var e=1;e-1:je(r,e)},isRadio:function(){return!1}},watch:Ss({},Sd,function(t,e){je(t,e)||this.setIndeterminate(t)}),mounted:function(){this.setIndeterminate(this[Sd])},methods:{computedLocalCheckedWatcher:function(e,r){if(!je(e,r)){this.$emit(aR,e);var n=this.$refs.input;n&&this.$emit(vv,n.indeterminate)}},handleChange:function(e){var r=this,n=e.target,i=n.checked,a=n.indeterminate,o=this.value,s=this.uncheckedValue,l=this.computedLocalChecked;if(He(l)){var u=LT(l,o);i&&u<0?l=l.concat(o):!i&&u>-1&&(l=l.slice(0,u).concat(l.slice(u+1)))}else l=i?o:s;this.computedLocalChecked=l,this.$nextTick(function(){r.$emit(en,l),r.isGroup&&r.bvGroup.$emit(en,l),r.$emit(vv,a)})},setIndeterminate:function(e){He(this.computedLocalChecked)&&(e=!1);var r=this.$refs.input;r&&(r.indeterminate=e,this.$emit(vv,e))}}}),a3=z(oy,pC),ug=I({name:pC,mixins:[oR],inject:{getBvGroup:{from:"getBvRadioGroup",default:function(){return function(){return null}}}},props:a3,computed:{bvGroup:function(){return this.getBvGroup()}}}),Bc;function zT(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function li(t){for(var e=1;e0&&(u=[e("div",{staticClass:"b-form-date-controls d-flex flex-wrap",class:{"justify-content-between":u.length>1,"justify-content-end":u.length<2}},u)]);var h=e(gD,{staticClass:"b-form-date-calendar w-100",props:Ni(Ni({},at(fR,o)),{},{hidden:!this.isVisible,value:r,valueAsDate:!1,width:this.calendarWidth}),on:{selected:this.onSelected,input:this.onInput,context:this.onContext},scopedSlots:Zn(s,["nav-prev-decade","nav-prev-year","nav-prev-month","nav-this-month","nav-next-month","nav-next-year","nav-next-decade"]),key:"calendar",ref:"calendar"},u);return e(cR,{staticClass:"b-form-datepicker",props:Ni(Ni({},at(dR,o)),{},{formattedValue:r?this.formattedValue:"",id:this.safeId(),lang:this.computedLang,menuClass:[{"bg-dark":a,"text-light":a},this.menuClass],placeholder:l,rtl:this.isRTL,value:r}),on:{show:this.onShow,shown:this.onShown,hidden:this.onHidden},scopedSlots:Ql({},Wi,s[Wi]||this.defaultButtonFn),ref:"control"},[h])}}),g3=ae({components:{BFormDatepicker:JT,BDatepicker:JT}}),Fc;function ZT(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function Ri(t){for(var e=1;e1&&arguments[1]!==void 0?arguments[1]:!0;return Promise.all(Do(e).filter(function(n){return n.kind==="file"}).map(function(n){var i=pR(n);if(i){if(i.isDirectory&&r)return P3(i.createReader(),"".concat(i.name,"/"));if(i.isFile)return new Promise(function(a){i.file(function(o){o.$path="",a(o)})})}return null}).filter(pe))},P3=function t(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return new Promise(function(n){var i=[],a=function o(){e.readEntries(function(s){s.length===0?n(Promise.all(i).then(function(l){return E2(l)})):(i.push(Promise.all(s.map(function(l){if(l){if(l.isDirectory)return t(l.createReader(),"".concat(r).concat(l.name,"/"));if(l.isFile)return new Promise(function(u){l.file(function(f){f.$path="".concat(r).concat(f.name),u(f)})})}return null}).filter(pe))),o())})};a()})},E3=z(ie(Ri(Ri(Ri(Ri(Ri(Ri(Ri({},Ke),y3),ti),tc),ni),ri),{},{accept:c(g,""),browseText:c(g,"Browse"),capture:c(_,!1),directory:c(_,!1),dropPlaceholder:c(g,"Drop files here"),fileNameFormatter:c(xr),multiple:c(_,!1),noDrop:c(_,!1),noDropPlaceholder:c(g,"Not allowed"),noTraverse:c(_,!1),placeholder:c(g,"No file chosen")})),Db),QT=I({name:Db,mixins:[Vt,Ze,b3,ve,Lo,Si,wp,ve],inheritAttrs:!1,props:E3,data:function(){return{files:[],dragging:!1,dropAllowed:!this.noDrop,hasFocus:!1}},computed:{computedAccept:function(){var e=this.accept;return e=(e||"").trim().split(/[,\s]+/).filter(pe),e.length===0?null:e.map(function(r){var n="name",i="^",a="$";ZL.test(r)?i="":(n="type",sF.test(r)&&(a=".+$",r=r.slice(0,-1))),r=Ib(r);var o=new RegExp("".concat(i).concat(r).concat(a));return{rx:o,prop:n}})},computedCapture:function(){var e=this.capture;return e===!0||e===""?!0:e||null},computedAttrs:function(){var e=this.name,r=this.disabled,n=this.required,i=this.form,a=this.computedCapture,o=this.accept,s=this.multiple,l=this.directory;return Ri(Ri({},this.bvAttrs),{},{type:"file",id:this.safeId(),name:e,disabled:r,required:n,form:i||null,capture:a,accept:o||null,multiple:s,directory:l,webkitdirectory:l,"aria-required":n?"true":null})},computedFileNameFormatter:function(){var e=this.fileNameFormatter;return yi(e)?e:this.defaultFileNameFormatter},clonedFiles:function(){return Nn(this.files)},flattenedFiles:function(){return Cl(this.files)},fileNames:function(){return this.flattenedFiles.map(function(e){return e.name})},labelContent:function(){if(this.dragging&&!this.noDrop)return this.normalizeSlot(Uj,{allowed:this.dropAllowed})||(this.dropAllowed?this.dropPlaceholder:this.$createElement("span",{staticClass:"text-danger"},this.noDropPlaceholder));if(this.files.length===0)return this.normalizeSlot(b2)||this.placeholder;var e=this.flattenedFiles,r=this.clonedFiles,n=this.fileNames,i=this.computedFileNameFormatter;return this.hasNormalizedSlot(z_)?this.normalizeSlot(z_,{files:e,filesTraversed:r,names:n}):i(e,r,n)}},watch:(Fc={},yf(Fc,O3,function(t){(!t||He(t)&&t.length===0)&&this.reset()}),yf(Fc,"files",function(e,r){if(!je(e,r)){var n=this.multiple,i=this.noTraverse,a=!n||i?Cl(e):e;this.$emit(_3,n?a:a[0]||null)}}),Fc),created:function(){this.$_form=null},mounted:function(){var e=Jr("form",this.$el);e&&(it(e,"reset",this.reset,Yr),this.$_form=e)},beforeDestroy:function(){var e=this.$_form;e&&ft(e,"reset",this.reset,Yr)},methods:{isFileValid:function(e){if(!e)return!1;var r=this.computedAccept;return r?r.some(function(n){return n.rx.test(e[n.prop])}):!0},isFilesArrayValid:function(e){var r=this;return He(e)?e.every(function(n){return r.isFileValid(n)}):this.isFileValid(e)},defaultFileNameFormatter:function(e,r,n){return n.join(", ")},setFiles:function(e){this.dropAllowed=!this.noDrop,this.dragging=!1,this.files=this.multiple?this.directory?e:Cl(e):Cl(e).slice(0,1)},setInputFiles:function(e){try{var r=new ClipboardEvent("").clipboardData||new DataTransfer;Cl(Nn(e)).forEach(function(n){delete n.$path,r.items.add(n)}),this.$refs.input.files=r.files}catch{}},reset:function(){try{var e=this.$refs.input;e.value="",e.type="",e.type="file"}catch{}this.files=[]},handleFiles:function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(r){var n=e.filter(this.isFilesArrayValid);n.length>0&&(this.setFiles(n),this.setInputFiles(n))}else this.setFiles(e)},focusHandler:function(e){this.plain||e.type==="focusout"?this.hasFocus=!1:this.hasFocus=!0},onChange:function(e){var r=this,n=e.type,i=e.target,a=e.dataTransfer,o=a===void 0?{}:a,s=n==="drop";this.$emit(en,e);var l=Do(o.items||[]);if(h1&&l.length>0&&!nt(pR(l[0])))S3(l,this.directory).then(function(f){return r.handleFiles(f,s)});else{var u=Do(i.files||o.files||[]).map(function(f){return f.$path=f.webkitRelativePath||"",f});this.handleFiles(u,s)}},onDragenter:function(e){_e(e),this.dragging=!0;var r=e.dataTransfer,n=r===void 0?{}:r;if(this.noDrop||this.disabled||!this.dropAllowed){n.dropEffect="none",this.dropAllowed=!1;return}n.dropEffect="copy"},onDragover:function(e){_e(e),this.dragging=!0;var r=e.dataTransfer,n=r===void 0?{}:r;if(this.noDrop||this.disabled||!this.dropAllowed){n.dropEffect="none",this.dropAllowed=!1;return}n.dropEffect="copy"},onDragleave:function(e){var r=this;_e(e),this.$nextTick(function(){r.dragging=!1,r.dropAllowed=!r.noDrop})},onDrop:function(e){var r=this;if(_e(e),this.dragging=!1,this.noDrop||this.disabled||!this.dropAllowed){this.$nextTick(function(){r.dropAllowed=!r.noDrop});return}this.onChange(e)}},render:function(e){var r=this.custom,n=this.plain,i=this.size,a=this.dragging,o=this.stateClass,s=this.bvAttrs,l=e("input",{class:[{"form-control-file":n,"custom-file-input":r,focus:r&&this.hasFocus},o],style:r?{zIndex:-5}:{},attrs:this.computedAttrs,on:{change:this.onChange,focusin:this.focusHandler,focusout:this.focusHandler,reset:this.reset},ref:"input"});if(n)return l;var u=e("label",{staticClass:"custom-file-label",class:{dragging:a},attrs:{for:this.safeId(),"data-browse":this.browseText||null}},[e("span",{staticClass:"d-block form-file-text",style:{pointerEvents:"none"}},[this.labelContent])]);return e("div",{staticClass:"custom-file b-form-file",class:[yf({},"b-custom-control-".concat(i),i),o,s.class],style:s.style,attrs:{id:this.safeId("_BV_file_outer_")},on:{dragenter:this.onDragenter,dragover:this.onDragover,dragleave:this.onDragleave,drop:this.onDrop}},[l,u])}}),$3=ae({components:{BFormFile:QT,BFile:QT}}),bv=function(e){return"\\"+e},hR=function(e){e=ce(e);var r=e.length,n=e.charCodeAt(0);return e.split("").reduce(function(i,a,o){var s=e.charCodeAt(o);return s===0?i+"\uFFFD":s===127||s>=1&&s<=31||o===0&&s>=48&&s<=57||o===1&&s>=48&&s<=57&&n===45?i+bv("".concat(s.toString(16)," ")):o===0&&s===45&&r===1?i+bv(a):s>=128||s===45||s===95||s>=48&&s<=57||s>=65&&s<=90||s>=97&&s<=122?i+a:i+bv(a)},"")};function eS(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function jc(t){for(var e=1;e0||ge(this.labelColProps).length>0}},watch:{ariaDescribedby:function(e,r){e!==r&&this.updateAriaDescribedby(e,r)}},mounted:function(){var e=this;this.$nextTick(function(){e.updateAriaDescribedby(e.ariaDescribedby)})},methods:{getAlignClasses:function(e,r){return xu().reduce(function(n,i){var a=e[Oa(i,"".concat(r,"Align"))]||null;return a&&n.push(["text",i,a].filter(pe).join("-")),n},[])},getColProps:function(e,r){return xu().reduce(function(n,i){var a=e[Oa(i,"".concat(r,"Cols"))];return a=a===""?!0:a||!1,!Mn(a)&&a!=="auto"&&(a=ee(a,0),a=a>0?a:!1),a&&(n[i||(Mn(a)?"col":"cols")]=a),n},{})},updateAriaDescribedby:function(e,r){var n=this.labelFor;if(Je&&n){var i=gn("#".concat(hR(n)),this.$refs.content);if(i){var a="aria-describedby",o=(e||"").split(sf),s=(r||"").split(sf),l=(bn(i,a)||"").split(sf).filter(function(u){return!he(s,u)}).concat(o).filter(function(u,f,d){return d.indexOf(u)===f}).filter(pe).join(" ").trim();l?st(i,a,l):vi(i,a)}}},onLegendClick:function(e){if(!this.labelFor){var r=e.target,n=r?r.tagName:"";if(N3.indexOf(n)===-1){var i=yn(M3,this.$refs.content).filter(Yn);i.length===1&&we(i[0])}}}},render:function(e){var r=this.computedState,n=this.feedbackAriaLive,i=this.isHorizontal,a=this.labelFor,o=this.normalizeSlot,s=this.safeId,l=this.tooltip,u=s(),f=!a,d=e(),p=o(BA)||this.label,h=p?s("_BV_label_"):null;if(p||i){var b=this.labelSize,y=this.labelColProps,P=f?"legend":"label";this.labelSrOnly?(p&&(d=e(P,{class:"sr-only",attrs:{id:h,for:a||null}},[p])),d=e(i?Of:"div",{props:i?y:{}},[d])):d=e(i?Of:P,{on:f?{click:this.onLegendClick}:{},props:i?Ps(Ps({},y),{},{tag:P}):{},attrs:{id:h,for:a||null,tabindex:f?"-1":null},class:[f?"bv-no-focus-ring":"",i||f?"col-form-label":"",!i&&f?"pt-0":"",!i&&!f?"d-block":"",b?"col-form-label-".concat(b):"",this.labelAlignClasses,this.labelClass]},[p])}var C=e(),R=o(t2)||this.invalidFeedback,A=R?s("_BV_feedback_invalid_"):null;R&&(C=e(wd,{props:{ariaLive:n,id:A,state:r,tooltip:l},attrs:{tabindex:R?"-1":null}},[R]));var B=e(),D=o(P2)||this.validFeedback,V=D?s("_BV_feedback_valid_"):null;D&&(B=e(iR,{props:{ariaLive:n,id:V,state:r,tooltip:l},attrs:{tabindex:D?"-1":null}},[D]));var N=e(),G=o(Hj)||this.description,H=G?s("_BV_description_"):null;G&&(N=e(_d,{attrs:{id:H,tabindex:"-1"}},[G]));var W=this.ariaDescribedby=[H,r===!1?A:null,r===!0?V:null].filter(pe).join(" ")||null,j=e(i?Of:"div",{props:i?this.contentColProps:{},ref:"content"},[o(kt,{ariaDescribedby:W,descriptionId:H,id:u,labelId:h})||e(),C,B,N]);return e(f?"fieldset":i?Td:"div",{staticClass:"form-group",class:[{"was-validated":this.validated},this.stateClass],attrs:{id:u,disabled:f?this.disabled:null,role:f?null:"group","aria-invalid":this.computedAriaInvalid,"aria-labelledby":f&&i?h:null}},i&&f?[e(Td,[d,j])]:[d,j])}},B3=ae({components:{BFormGroup:rS,BFormFieldset:rS}}),mR=I({computed:{selectionStart:{cache:!1,get:function(){return this.$refs.input.selectionStart},set:function(e){this.$refs.input.selectionStart=e}},selectionEnd:{cache:!1,get:function(){return this.$refs.input.selectionEnd},set:function(e){this.$refs.input.selectionEnd=e}},selectionDirection:{cache:!1,get:function(){return this.$refs.input.selectionDirection},set:function(e){this.$refs.input.selectionDirection=e}}},methods:{select:function(){var e;(e=this.$refs.input).select.apply(e,arguments)},setSelectionRange:function(){var e;(e=this.$refs.input).setSelectionRange.apply(e,arguments)},setRangeText:function(){var e;(e=this.$refs.input).setRangeText.apply(e,arguments)}}});function nS(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function iS(t){for(var e=1;e2&&arguments[2]!==void 0?arguments[2]:!1;return e=ce(e),this.hasFormatter&&(!this.lazyFormatter||n)&&(e=this.formatter(e,r)),e},modifyValue:function(e){return e=ce(e),this.trim&&(e=e.trim()),this.number&&(e=Ee(e,e)),e},updateValue:function(e){var r=this,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,i=this.lazy;if(!(i&&!n)){this.clearDebounce();var a=function(){if(e=r.modifyValue(e),e!==r.vModelValue)r.vModelValue=e,r.$emit(F3,e);else if(r.hasFormatter){var l=r.$refs.input;l&&e!==l.value&&(l.value=e)}},o=this.computedDebounce;o>0&&!i&&!n?this.$_inputDebounceTimer=setTimeout(a,o):a()}},onInput:function(e){if(!e.target.composing){var r=e.target.value,n=this.formatValue(r,e);if(n===!1||e.defaultPrevented){_e(e,{propagation:!1});return}this.localValue=n,this.updateValue(n),this.$emit(_A,n)}},onChange:function(e){var r=e.target.value,n=this.formatValue(r,e);if(n===!1||e.defaultPrevented){_e(e,{propagation:!1});return}this.localValue=n,this.updateValue(n,!0),this.$emit(en,n)},onBlur:function(e){var r=e.target.value,n=this.formatValue(r,e,!0);n!==!1&&(this.localValue=ce(this.modifyValue(n)),this.updateValue(n,!0)),this.$emit(bA,e)},focus:function(){this.disabled||we(this.$el)},blur:function(){this.disabled||rn(this.$el)}}}),yR=I({computed:{validity:{cache:!1,get:function(){return this.$refs.input.validity}},validationMessage:{cache:!1,get:function(){return this.$refs.input.validationMessage}},willValidate:{cache:!1,get:function(){return this.$refs.input.willValidate}}},methods:{setCustomValidity:function(){var e;return(e=this.$refs.input).setCustomValidity.apply(e,arguments)},checkValidity:function(){var e;return(e=this.$refs.input).checkValidity.apply(e,arguments)},reportValidity:function(){var e;return(e=this.$refs.input).reportValidity.apply(e,arguments)}}});function oS(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function la(t){for(var e=1;e=n?"full":r>=n-.5?"half":"empty",d={variant:o,disabled:s,readonly:l};return e("span",{staticClass:"b-rating-star",class:{focused:i&&r===n||!ee(r)&&n===u,"b-rating-star-empty":f==="empty","b-rating-star-half":f==="half","b-rating-star-full":f==="full"},attrs:{tabindex:!s&&!l?"-1":null},on:{click:this.onClick}},[e("span",{staticClass:"b-rating-icon"},[this.normalizeSlot(f,d)])])}}),q3=z(ie(Nl(Nl(Nl(Nl(Nl({},Ke),W3),Pe(ti,["required","autofocus"])),ri),{},{color:c(g),iconClear:c(g,"x"),iconEmpty:c(g,"star"),iconFull:c(g,"star-fill"),iconHalf:c(g,"star-half"),inline:c(_,!1),locale:c(Or),noBorder:c(_,!1),precision:c(re),readonly:c(_,!1),showClear:c(_,!1),showValue:c(_,!1),showValueMax:c(_,!1),stars:c(re,wR,function(t){return ee(t)>=_R}),variant:c(g)})),vC),dS=I({name:vC,components:{BIconStar:wV,BIconStarHalf:SV,BIconStarFill:TV,BIconX:QA},mixins:[Ze,G3,Qi],props:q3,data:function(){var e=Ee(this[cS],null),r=fS(this.stars);return{localValue:nt(e)?null:Ka(e,0,r),hasFocus:!1}},computed:{computedStars:function(){return fS(this.stars)},computedRating:function(){var e=Ee(this.localValue,0),r=ee(this.precision,3);return Ka(Ee(e.toFixed(r)),0,this.computedStars)},computedLocale:function(){var e=Me(this.locale).filter(pe),r=new Intl.NumberFormat(e);return r.resolvedOptions().locale},isInteractive:function(){return!this.disabled&&!this.readonly},isRTL:function(){return pp(this.computedLocale)},formattedRating:function(){var e=ee(this.precision),r=this.showValueMax,n=this.computedLocale,i={notation:"standard",minimumFractionDigits:isNaN(e)?0:e,maximumFractionDigits:isNaN(e)?3:e},a=this.computedStars.toLocaleString(n),o=this.localValue;return o=nt(o)?r?"-":"":o.toLocaleString(n,i),r?"".concat(o,"/").concat(a):o}},watch:(Ml={},_f(Ml,cS,function(t,e){if(t!==e){var r=Ee(t,null);this.localValue=nt(r)?null:Ka(r,0,this.computedStars)}}),_f(Ml,"localValue",function(e,r){e!==r&&e!==(this.value||0)&&this.$emit(K3,e||null)}),_f(Ml,"disabled",function(e){e&&(this.hasFocus=!1,this.blur())}),Ml),methods:{focus:function(){this.disabled||we(this.$el)},blur:function(){this.disabled||rn(this.$el)},onKeydown:function(e){var r=e.keyCode;if(this.isInteractive&&he([Xn,Rr,Yi,Zr],r)){_e(e,{propagation:!1});var n=ee(this.localValue,0),i=this.showClear?0:1,a=this.computedStars,o=this.isRTL?-1:1;r===Xn?this.localValue=Ka(n-o,i,a)||null:r===Yi?this.localValue=Ka(n+o,i,a):r===Rr?this.localValue=Ka(n-1,i,a)||null:r===Zr&&(this.localValue=Ka(n+1,i,a))}},onSelected:function(e){this.isInteractive&&(this.localValue=e)},onFocus:function(e){this.hasFocus=this.isInteractive?e.type==="focus":!1},renderIcon:function(e){return this.$createElement(sd,{props:{icon:e,variant:this.disabled||this.color?null:this.variant||null}})},iconEmptyFn:function(){return this.renderIcon(this.iconEmpty)},iconHalfFn:function(){return this.renderIcon(this.iconHalf)},iconFullFn:function(){return this.renderIcon(this.iconFull)},iconClearFn:function(){return this.$createElement(sd,{props:{icon:this.iconClear}})}},render:function(e){var r=this,n=this.disabled,i=this.readonly,a=this.name,o=this.form,s=this.inline,l=this.variant,u=this.color,f=this.noBorder,d=this.hasFocus,p=this.computedRating,h=this.computedStars,b=this.formattedRating,y=this.showClear,P=this.isRTL,C=this.isInteractive,R=this.$scopedSlots,A=[];if(y&&!n&&!i){var B=e("span",{staticClass:"b-rating-icon"},[(R[qj]||this.iconClearFn)()]);A.push(e("span",{staticClass:"b-rating-star b-rating-star-clear flex-grow-1",class:{focused:d&&p===0},attrs:{tabindex:C?"-1":null},on:{click:function(){return r.onSelected(null)}},key:"clear"},[B]))}for(var D=0;D1&&arguments[1]!==void 0?arguments[1]:null;if(yr(e)){var n=ur(e,this.valueField),i=ur(e,this.textField),a=ur(e,this.optionsField,null);return nt(a)?{value:Et(n)?r||i:n,text:String(Et(i)?r:i),html:ur(e,this.htmlField),disabled:Boolean(ur(e,this.disabledField))}:{label:String(ur(e,this.labelField)||i),options:this.normalizeOptions(a)}}return{value:r||e,text:String(e),disabled:!1}}}}),i8=z({disabled:c(_,!1),value:c(Ns,void 0,!0)},bC),Pd=I({name:bC,functional:!0,props:i8,render:function(e,r){var n=r.props,i=r.data,a=r.children,o=n.value,s=n.disabled;return e("option",oe(i,{attrs:{disabled:s},domProps:{value:o}}),a)}});function vS(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function mS(t){for(var e=1;e0?e:ER},computedInterval:function(){var e=ee(this.repeatInterval,0);return e>0?e:$R},computedThreshold:function(){return Fe(ee(this.repeatThreshold,CR),1)},computedStepMultiplier:function(){return Fe(ee(this.repeatStepMultiplier,AR),1)},computedPrecision:function(){var e=this.computedStep;return Mu(e)===e?0:(e.toString().split(".")[1]||"").length},computedMultiplier:function(){return YA(10,this.computedPrecision||0)},valueAsFixed:function(){var e=this.localValue;return nt(e)?"":e.toFixed(this.computedPrecision)},computedLocale:function(){var e=Me(this.locale).filter(pe),r=new Intl.NumberFormat(e);return r.resolvedOptions().locale},computedRTL:function(){return pp(this.computedLocale)},defaultFormatter:function(){var e=this.computedPrecision,r=new Intl.NumberFormat(this.computedLocale,{style:"decimal",useGrouping:!1,minimumIntegerDigits:1,minimumFractionDigits:e,maximumFractionDigits:e,notation:"standard"});return r.format},computedFormatter:function(){var e=this.formatterFn;return yi(e)?e:this.defaultFormatter},computedAttrs:function(){return fi(fi({},this.bvAttrs),{},{role:"group",lang:this.computedLocale,tabindex:this.disabled?null:"-1",title:this.ariaLabel})},computedSpinAttrs:function(){var e=this.spinId,r=this.localValue,n=this.computedRequired,i=this.disabled,a=this.state,o=this.computedFormatter,s=!nt(r);return fi(fi({dir:this.computedRTL?"rtl":"ltr"},this.bvAttrs),{},{id:e,role:"spinbutton",tabindex:i?null:"0","aria-live":"off","aria-label":this.ariaLabel||null,"aria-controls":this.ariaControls||null,"aria-invalid":a===!1||!s&&n?"true":null,"aria-required":n?"true":null,"aria-valuemin":ce(this.computedMin),"aria-valuemax":ce(this.computedMax),"aria-valuenow":s?r:null,"aria-valuetext":s?o(r):null})}},watch:(is={},tu(is,OS,function(t){this.localValue=Ee(t,null)}),tu(is,"localValue",function(e){this.$emit(d8,e)}),tu(is,"disabled",function(e){e&&this.clearRepeat()}),tu(is,"readonly",function(e){e&&this.clearRepeat()}),is),created:function(){this.$_autoDelayTimer=null,this.$_autoRepeatTimer=null,this.$_keyIsDown=!1},beforeDestroy:function(){this.clearRepeat()},deactivated:function(){this.clearRepeat()},methods:{focus:function(){this.disabled||we(this.$refs.spinner)},blur:function(){this.disabled||rn(this.$refs.spinner)},emitChange:function(){this.$emit(en,this.localValue)},stepValue:function(e){var r=this.localValue;if(!this.disabled&&!nt(r)){var n=this.computedStep*e,i=this.computedMin,a=this.computedMax,o=this.computedMultiplier,s=this.wrap;r=Gm((r-i)/n)*n+i+n,r=Gm(r*o)/o,this.localValue=r>a?s?i:a:r0&&arguments[0]!==void 0?arguments[0]:1,r=this.localValue;nt(r)?this.localValue=this.computedMin:this.stepValue(1*e)},stepDown:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:1,r=this.localValue;nt(r)?this.localValue=this.wrap?this.computedMax:this.computedMin:this.stepValue(-1*e)},onKeydown:function(e){var r=e.keyCode,n=e.altKey,i=e.ctrlKey,a=e.metaKey;if(!(this.disabled||this.readonly||n||i||a)&&he(_S,r)){if(_e(e,{propagation:!1}),this.$_keyIsDown)return;this.resetTimers(),he([Zr,Rr],r)?(this.$_keyIsDown=!0,r===Zr?this.handleStepRepeat(e,this.stepUp):r===Rr&&this.handleStepRepeat(e,this.stepDown)):r===ud?this.stepUp(this.computedStepMultiplier):r===ld?this.stepDown(this.computedStepMultiplier):r===Ra?this.localValue=this.computedMin:r===Da&&(this.localValue=this.computedMax)}},onKeyup:function(e){var r=e.keyCode,n=e.altKey,i=e.ctrlKey,a=e.metaKey;this.disabled||this.readonly||n||i||a||he(_S,r)&&(_e(e,{propagation:!1}),this.resetTimers(),this.$_keyIsDown=!1,this.emitChange())},handleStepRepeat:function(e,r){var n=this,i=e||{},a=i.type,o=i.button;if(!this.disabled&&!this.readonly){if(a==="mousedown"&&o)return;this.resetTimers(),r(1);var s=this.computedThreshold,l=this.computedStepMultiplier,u=this.computedDelay,f=this.computedInterval;this.$_autoDelayTimer=setTimeout(function(){var d=0;n.$_autoRepeatTimer=setInterval(function(){r(dt.length)&&(e=t.length);for(var r=0,n=new Array(e);r0&&i.indexOf(r)===n})},$S=function(e){return De(e)?e:Po(e)&&e.target.value||""},Ov=function(){return{all:[],valid:[],invalid:[],duplicate:[]}},P8=z(ie(dn(dn(dn(dn(dn(dn({},Ke),_8),ti),ri),ni),{},{addButtonText:c(g,"Add"),addButtonVariant:c(g,"outline-secondary"),addOnChange:c(_,!1),duplicateTagText:c(g,"Duplicate tag(s)"),feedbackAriaLive:c(g,"assertive"),ignoreInputFocusSelector:c(Or,T8),inputAttrs:c(Mt,{}),inputClass:c(de),inputId:c(g),inputType:c(g,"text",function(t){return he(RR,t)}),invalidTagText:c(g,"Invalid tag(s)"),limit:c(mr),limitTagsText:c(g,"Tag limit reached"),noAddOnEnter:c(_,!1),noOuterFocus:c(_,!1),noTagRemove:c(_,!1),placeholder:c(g,"Add tag..."),removeOnDelete:c(_,!1),separator:c(Or),tagClass:c(de),tagPills:c(_,!1),tagRemoveLabel:c(g,"Remove tag"),tagRemovedLabel:c(g,"Tag removed"),tagValidator:c(xr),tagVariant:c(g,"secondary")})),wC),CS=I({name:wC,mixins:[Zi,Ze,O8,Lo,Qi,Si,ve],props:P8,data:function(){return{hasFocus:!1,newTag:"",tags:[],removedTags:[],tagsState:Ov(),focusState:null}},computed:{computedInputId:function(){return this.inputId||this.safeId("__input__")},computedInputType:function(){return he(RR,this.inputType)?this.inputType:"text"},computedInputAttrs:function(){var e=this.disabled,r=this.form;return dn(dn({},this.inputAttrs),{},{id:this.computedInputId,value:this.newTag,disabled:e,form:r})},computedInputHandlers:function(){return dn(dn({},Pe(this.bvListeners,[nd,id])),{},{blur:this.onInputBlur,change:this.onInputChange,focus:this.onInputFocus,input:this.onInputInput,keydown:this.onInputKeydown,reset:this.reset})},computedSeparator:function(){return Me(this.separator).filter(De).filter(pe).join("")},computedSeparatorRegExp:function(){var e=this.computedSeparator;return e?new RegExp("[".concat(S8(e),"]+")):null},computedJoiner:function(){var e=this.computedSeparator.charAt(0);return e!==" "?"".concat(e," "):e},computeIgnoreInputFocusSelector:function(){return Me(this.ignoreInputFocusSelector).filter(pe).join(",").trim()},disableAddButton:function(){var e=this,r=ya(this.newTag);return r===""||!this.splitTags(r).some(function(n){return!he(e.tags,n)&&e.validateTag(n)})},duplicateTags:function(){return this.tagsState.duplicate},hasDuplicateTags:function(){return this.duplicateTags.length>0},invalidTags:function(){return this.tagsState.invalid},hasInvalidTags:function(){return this.invalidTags.length>0},isLimitReached:function(){var e=this.limit;return Kn(e)&&e>=0&&this.tags.length>=e}},watch:(Il={},wf(Il,yv,function(t){this.tags=ES(t)}),wf(Il,"tags",function(e,r){je(e,this[yv])||this.$emit(w8,e),je(e,r)||(e=Me(e).filter(pe),r=Me(r).filter(pe),this.removedTags=r.filter(function(n){return!he(e,n)}))}),wf(Il,"tagsState",function(e,r){je(e,r)||this.$emit(Aj,e.valid,e.invalid,e.duplicate)}),Il),created:function(){this.tags=ES(this[yv])},mounted:function(){var e=Jr("form",this.$el);e&&it(e,"reset",this.reset,Yr)},beforeDestroy:function(){var e=Jr("form",this.$el);e&&ft(e,"reset",this.reset,Yr)},methods:{addTag:function(e){if(e=De(e)?e:this.newTag,!(this.disabled||ya(e)===""||this.isLimitReached)){var r=this.parseTags(e);if(r.valid.length>0||r.all.length===0)if(Vi(this.getInput(),"select"))this.newTag="";else{var n=[].concat(SS(r.invalid),SS(r.duplicate));this.newTag=r.all.filter(function(i){return he(n,i)}).join(this.computedJoiner).concat(n.length>0?this.computedJoiner.charAt(0):"")}r.valid.length>0&&(this.tags=Me(this.tags,r.valid)),this.tagsState=r,this.focus()}},removeTag:function(e){this.disabled||(this.tags=this.tags.filter(function(r){return r!==e}))},reset:function(){var e=this;this.newTag="",this.tags=[],this.$nextTick(function(){e.removedTags=[],e.tagsState=Ov()})},onInputInput:function(e){if(!(this.disabled||Po(e)&&e.target.composing)){var r=$S(e),n=this.computedSeparatorRegExp;this.newTag!==r&&(this.newTag=r),r=C2(r),n&&n.test(r.slice(-1))?this.addTag():this.tagsState=r===""?Ov():this.parseTags(r)}},onInputChange:function(e){if(!this.disabled&&this.addOnChange){var r=$S(e);this.newTag!==r&&(this.newTag=r),this.addTag()}},onInputKeydown:function(e){if(!(this.disabled||!Po(e))){var r=e.keyCode,n=e.target.value||"";!this.noAddOnEnter&&r===Ji?(_e(e,{propagation:!1}),this.addTag()):this.removeOnDelete&&(r===CV||r===tD)&&n===""&&(_e(e,{propagation:!1}),this.tags=this.tags.slice(0,-1))}},onClick:function(e){var r=this,n=this.computeIgnoreInputFocusSelector;(!n||!Jr(n,e.target,!0))&&this.$nextTick(function(){r.focus()})},onInputFocus:function(e){var r=this;this.focusState!=="out"&&(this.focusState="in",this.$nextTick(function(){We(function(){r.hasFocus&&(r.$emit(vj,e),r.focusState=null)})}))},onInputBlur:function(e){var r=this;this.focusState!=="in"&&(this.focusState="out",this.$nextTick(function(){We(function(){r.hasFocus||(r.$emit(bA,e),r.focusState=null)})}))},onFocusin:function(e){this.hasFocus=!0,this.$emit(nd,e)},onFocusout:function(e){this.hasFocus=!1,this.$emit(id,e)},handleAutofocus:function(){var e=this;this.$nextTick(function(){We(function(){e.autofocus&&e.focus()})})},focus:function(){this.disabled||we(this.getInput())},blur:function(){this.disabled||rn(this.getInput())},splitTags:function(e){e=ce(e);var r=this.computedSeparatorRegExp;return(r?e.split(r):[e]).map(ya).filter(pe)},parseTags:function(e){var r=this,n=this.splitTags(e),i={all:n,valid:[],invalid:[],duplicate:[]};return n.forEach(function(a){he(r.tags,a)||he(i.valid,a)?he(i.duplicate,a)||i.duplicate.push(a):r.validateTag(a)?i.valid.push(a):he(i.invalid,a)||i.invalid.push(a)}),i},validateTag:function(e){var r=this.tagValidator;return yi(r)?r(e):!0},getInput:function(){return gn("#".concat(hR(this.computedInputId)),this.$el)},defaultRender:function(e){var r=e.addButtonText,n=e.addButtonVariant,i=e.addTag,a=e.disableAddButton,o=e.disabled,s=e.duplicateTagText,l=e.inputAttrs,u=e.inputClass,f=e.inputHandlers,d=e.inputType,p=e.invalidTagText,h=e.isDuplicate,b=e.isInvalid,y=e.isLimitReached,P=e.limitTagsText,C=e.noTagRemove,R=e.placeholder,A=e.removeTag,B=e.tagClass,D=e.tagPills,V=e.tagRemoveLabel,N=e.tagVariant,G=e.tags,H=this.$createElement,W=G.map(function(Ie){return Ie=ce(Ie),H(vg,{class:B,props:{disabled:o,noRemove:C,pill:D,removeLabel:V,tag:"li",title:Ie,variant:N},on:{remove:function(){return A(Ie)}},key:"tags_".concat(Ie)},Ie)}),j=p&&b?this.safeId("__invalid_feedback__"):null,E=s&&h?this.safeId("__duplicate_feedback__"):null,v=P&&y?this.safeId("__limit_feedback__"):null,w=[l["aria-describedby"],j,E,v].filter(pe).join(" "),$=H("input",{staticClass:"b-form-tags-input w-100 flex-grow-1 p-0 m-0 bg-transparent border-0",class:u,style:{outline:0,minWidth:"5rem"},attrs:dn(dn({},l),{},{"aria-describedby":w||null,type:d,placeholder:R||null}),domProps:{value:l.value},on:f,directives:[{name:"model",value:l.value}],ref:"input"}),M=H(Qr,{staticClass:"b-form-tags-button py-0",class:{invisible:a},style:{fontSize:"90%"},props:{disabled:a||y,variant:n},on:{click:function(){return i()}},ref:"button"},[this.normalizeSlot(Fj)||r]),F=this.safeId("__tag_list__"),X=H("li",{staticClass:"b-form-tags-field flex-grow-1",attrs:{role:"none","aria-live":"off","aria-controls":F},key:"tags_field"},[H("div",{staticClass:"d-flex",attrs:{role:"group"}},[$,M])]),Q=H("ul",{staticClass:"b-form-tags-list list-unstyled mb-0 d-flex flex-wrap align-items-center",attrs:{id:F},key:"tags_list"},[W,X]),q=H();if(p||s||P){var K=this.feedbackAriaLive,U=this.computedJoiner,le=H();j&&(le=H(wd,{props:{id:j,ariaLive:K,forceShow:!0},key:"tags_invalid_feedback"},[this.invalidTagText,": ",this.invalidTags.join(U)]));var be=H();E&&(be=H(_d,{props:{id:E,ariaLive:K},key:"tags_duplicate_feedback"},[this.duplicateTagText,": ",this.duplicateTags.join(U)]));var me=H();v&&(me=H(_d,{props:{id:v,ariaLive:K},key:"tags_limit_feedback"},[P])),q=H("div",{attrs:{"aria-live":"polite","aria-atomic":"true"},key:"tags_feedback"},[le,be,me])}return[Q,q]}},render:function(e){var r=this.name,n=this.disabled,i=this.required,a=this.form,o=this.tags,s=this.computedInputId,l=this.hasFocus,u=this.noOuterFocus,f=dn({tags:o.slice(),inputAttrs:this.computedInputAttrs,inputType:this.computedInputType,inputHandlers:this.computedInputHandlers,removeTag:this.removeTag,addTag:this.addTag,reset:this.reset,inputId:s,isInvalid:this.hasInvalidTags,invalidTags:this.invalidTags.slice(),isDuplicate:this.hasDuplicateTags,duplicateTags:this.duplicateTags.slice(),isLimitReached:this.isLimitReached,disableAddButton:this.disableAddButton},Zn(this.$props,["addButtonText","addButtonVariant","disabled","duplicateTagText","form","inputClass","invalidTagText","limit","limitTagsText","noTagRemove","placeholder","required","separator","size","state","tagClass","tagPills","tagRemoveLabel","tagVariant"])),d=this.normalizeSlot(kt,f)||this.defaultRender(f),p=e("output",{staticClass:"sr-only",attrs:{id:this.safeId("__selected_tags__"),role:"status",for:s,"aria-live":l?"polite":"off","aria-atomic":"true","aria-relevant":"additions text"}},this.tags.join(", ")),h=e("div",{staticClass:"sr-only",attrs:{id:this.safeId("__removed_tags__"),role:"status","aria-live":l?"assertive":"off","aria-atomic":"true"}},this.removedTags.length>0?"(".concat(this.tagRemovedLabel,") ").concat(this.removedTags.join(", ")):""),b=e();if(r&&!n){var y=o.length>0;b=(y?o:[""]).map(function(P){return e("input",{class:{"sr-only":!y},attrs:{type:y?"hidden":"text",value:P,required:i,name:r,form:a},key:"tag_input_".concat(P)})})}return e("div",{staticClass:"b-form-tags form-control h-auto",class:[{focus:l&&!u&&!n,disabled:n},this.sizeFormClass,this.stateClass],attrs:{id:this.safeId(),role:"group",tabindex:n||u?null:"-1","aria-describedby":this.safeId("__selected_tags__")},on:{click:this.onClick,focusin:this.onFocusin,focusout:this.onFocusout}},[p,h,d,b])}}),E8=ae({components:{BFormTags:CS,BTags:CS,BFormTag:vg,BTag:vg}});function AS(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function ua(t){for(var e=1;ep?l:"".concat(p,"px")}},render:function(e){return e("textarea",{class:this.computedClass,style:this.computedStyle,directives:[{name:"b-visible",value:this.visibleCallback,modifiers:{640:!0}}],attrs:this.computedAttrs,domProps:{value:this.localValue},on:this.computedListeners,ref:"input"})}}),A8=ae({components:{BFormTextarea:DS,BTextarea:DS}}),qa;function RS(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function ru(t){for(var e=1;et.length)&&(e=t.length);for(var r=0,n=new Array(e);r1&&arguments[1]!==void 0?arguments[1]:!1;if(nt(r)||nt(n)||a&&nt(i))return"";var o=[r,n,a?i:0];return o.map(L8).join(":")},xR=z(ie(ru(ru(ru(ru({},Ke),B8),Zn(DR,["labelIncrement","labelDecrement"])),{},{ariaLabelledby:c(g),disabled:c(_,!1),footerTag:c(g,"footer"),headerTag:c(g,"header"),hidden:c(_,!1),hideHeader:c(_,!1),hour12:c(_,null),labelAm:c(g,"AM"),labelAmpm:c(g,"AM/PM"),labelHours:c(g,"Hours"),labelMinutes:c(g,"Minutes"),labelNoTimeSelected:c(g,"No time selected"),labelPm:c(g,"PM"),labelSeconds:c(g,"Seconds"),labelSelected:c(g,"Selected time"),locale:c(Or),minutesStep:c(re,1),readonly:c(_,!1),secondsStep:c(re,1),showSeconds:c(_,!1)})),vA),MR=I({name:vA,mixins:[Ze,I8,ve],props:xR,data:function(){var e=Vc(this[MS]||"");return{modelHours:e.hours,modelMinutes:e.minutes,modelSeconds:e.seconds,modelAmpm:e.ampm,isLive:!1}},computed:{computedHMS:function(){var e=this.modelHours,r=this.modelMinutes,n=this.modelSeconds;return F8({hours:e,minutes:r,seconds:n},this.showSeconds)},resolvedOptions:function(){var e=Me(this.locale).filter(pe),r={hour:as,minute:as,second:as};Ge(this.hour12)||(r.hour12=!!this.hour12);var n=new Intl.DateTimeFormat(e,r),i=n.resolvedOptions(),a=i.hour12||!1,o=i.hourCycle||(a?"h12":"h23");return{locale:i.locale,hour12:a,hourCycle:o}},computedLocale:function(){return this.resolvedOptions.locale},computedLang:function(){return(this.computedLocale||"").replace(/-u-.*$/,"")},computedRTL:function(){return pp(this.computedLang)},computedHourCycle:function(){return this.resolvedOptions.hourCycle},is12Hour:function(){return!!this.resolvedOptions.hour12},context:function(){return{locale:this.computedLocale,isRTL:this.computedRTL,hourCycle:this.computedHourCycle,hour12:this.is12Hour,hours:this.modelHours,minutes:this.modelMinutes,seconds:this.showSeconds?this.modelSeconds:0,value:this.computedHMS,formatted:this.formattedTimeString}},valueId:function(){return this.safeId()||null},computedAriaLabelledby:function(){return[this.ariaLabelledby,this.valueId].filter(pe).join(" ")||null},timeFormatter:function(){var e={hour12:this.is12Hour,hourCycle:this.computedHourCycle,hour:as,minute:as,timeZone:"UTC"};return this.showSeconds&&(e.second=as),Xl(this.computedLocale,e)},numberFormatter:function(){var e=new Intl.NumberFormat(this.computedLocale,{style:"decimal",minimumIntegerDigits:2,minimumFractionDigits:0,maximumFractionDigits:0,notation:"standard"});return e.format},formattedTimeString:function(){var e=this.modelHours,r=this.modelMinutes,n=this.showSeconds&&this.modelSeconds||0;return this.computedHMS?this.timeFormatter(Jt(Date.UTC(0,0,1,e,r,n))):this.labelNoTimeSelected||" "},spinScopedSlots:function(){var e=this.$createElement;return{increment:function(n){var i=n.hasFocus;return e(pw,{props:{scale:i?1.5:1.25},attrs:{"aria-hidden":"true"}})},decrement:function(n){var i=n.hasFocus;return e(pw,{props:{flipV:!0,scale:i?1.5:1.25},attrs:{"aria-hidden":"true"}})}}}},watch:(qa={},to(qa,MS,function(t,e){if(t!==e&&!je(Vc(t),Vc(this.computedHMS))){var r=Vc(t),n=r.hours,i=r.minutes,a=r.seconds,o=r.ampm;this.modelHours=n,this.modelMinutes=i,this.modelSeconds=a,this.modelAmpm=o}}),to(qa,"computedHMS",function(e,r){e!==r&&this.$emit(k8,e)}),to(qa,"context",function(e,r){je(e,r)||this.$emit(Ms,e)}),to(qa,"modelAmpm",function(e,r){var n=this;if(e!==r){var i=nt(this.modelHours)?0:this.modelHours;this.$nextTick(function(){e===0&&i>11?n.modelHours=i-12:e===1&&i<12&&(n.modelHours=i+12)})}}),to(qa,"modelHours",function(e,r){e!==r&&(this.modelAmpm=e>11?1:0)}),qa),created:function(){var e=this;this.$nextTick(function(){e.$emit(Ms,e.context)})},mounted:function(){this.setLive(!0)},activated:function(){this.setLive(!0)},deactivated:function(){this.setLive(!1)},beforeDestroy:function(){this.setLive(!1)},methods:{focus:function(){this.disabled||we(this.$refs.spinners[0])},blur:function(){if(!this.disabled){var e=Aa();Rt(this.$el,e)&&rn(e)}},formatHours:function(e){var r=this.computedHourCycle;return e=this.is12Hour&&e>12?e-12:e,e=e===0&&r==="h12"?12:e===0&&r==="h24"?24:e===12&&r==="h11"?0:e,this.numberFormatter(e)},formatMinutes:function(e){return this.numberFormatter(e)},formatSeconds:function(e){return this.numberFormatter(e)},formatAmpm:function(e){return e===0?this.labelAm:e===1?this.labelPm:""},setHours:function(e){this.modelHours=e},setMinutes:function(e){this.modelMinutes=e},setSeconds:function(e){this.modelSeconds=e},setAmpm:function(e){this.modelAmpm=e},onSpinLeftRight:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=e.type,n=e.keyCode;if(!this.disabled&&r==="keydown"&&(n===Xn||n===Yi)){_e(e);var i=this.$refs.spinners||[],a=i.map(function(o){return!!o.hasFocus}).indexOf(!0);a=a+(n===Xn?-1:1),a=a>=i.length?0:a<0?i.length-1:a,we(i[a])}},setLive:function(e){var r=this;e?this.$nextTick(function(){We(function(){r.isLive=!0})}):this.isLive=!1}},render:function(e){var r=this;if(this.hidden)return e();var n=this.disabled,i=this.readonly,a=this.computedLocale,o=this.computedAriaLabelledby,s=this.labelIncrement,l=this.labelDecrement,u=this.valueId,f=this.focus,d=[],p=function(B,D,V){var N=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},G=r.safeId("_spinbutton_".concat(D,"_"))||null;return d.push(G),e(hg,to({class:V,props:ru({id:G,placeholder:"--",vertical:!0,required:!0,disabled:n,readonly:i,locale:a,labelIncrement:s,labelDecrement:l,wrap:!0,ariaControls:u,min:0},N),scopedSlots:r.spinScopedSlots,on:{change:B},key:D,ref:"spinners"},Pb,!0))},h=function(){return e("div",{staticClass:"d-flex flex-column",class:{"text-muted":n||i},attrs:{"aria-hidden":"true"}},[e(Wm,{props:{shiftV:4,scale:.5}}),e(Wm,{props:{shiftV:-4,scale:.5}})])},b=[];b.push(p(this.setHours,"hours","b-time-hours",{value:this.modelHours,max:23,step:1,formatterFn:this.formatHours,ariaLabel:this.labelHours})),b.push(h()),b.push(p(this.setMinutes,"minutes","b-time-minutes",{value:this.modelMinutes,max:59,step:this.minutesStep||1,formatterFn:this.formatMinutes,ariaLabel:this.labelMinutes})),this.showSeconds&&(b.push(h()),b.push(p(this.setSeconds,"seconds","b-time-seconds",{value:this.modelSeconds,max:59,step:this.secondsStep||1,formatterFn:this.formatSeconds,ariaLabel:this.labelSeconds}))),this.isLive&&this.is12Hour&&b.push(p(this.setAmpm,"ampm","b-time-ampm",{value:this.modelAmpm,max:1,formatterFn:this.formatAmpm,ariaLabel:this.labelAmpm,required:!1})),b=e("div",{staticClass:"d-flex align-items-center justify-content-center mx-auto",attrs:{role:"group",tabindex:n||i?null:"-1","aria-labelledby":o},on:{keydown:this.onSpinLeftRight,click:function(B){B.target===B.currentTarget&&f()}}},b);var y=e("output",{staticClass:"form-control form-control-sm text-center",class:{disabled:n||i},attrs:{id:u,role:"status",for:d.filter(pe).join(" ")||null,tabindex:n?null:"-1","aria-live":this.isLive?"polite":"off","aria-atomic":"true"},on:{click:f,focus:f}},[e("bdi",this.formattedTimeString),this.computedHMS?e("span",{staticClass:"sr-only"}," (".concat(this.labelSelected,") ")):""]),P=e(this.headerTag,{staticClass:"b-time-header",class:{"sr-only":this.hideHeader}},[y]),C=this.normalizeSlot(),R=C?e(this.footerTag,{staticClass:"b-time-footer"},C):e();return e("div",{staticClass:"b-time d-inline-flex flex-column text-center",attrs:{role:"group",lang:this.computedLang||null,"aria-labelledby":o||null,"aria-disabled":n?"true":null,"aria-readonly":i&&!n?"true":null}},[P,b,R])}}),Hc;function NS(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function Ii(t){for(var e=1;e0&&s.push(e("span","\xA0"));var u=this.labelResetButton;s.push(e(Qr,{props:{size:"sm",disabled:n||i,variant:this.resetButtonVariant},attrs:{"aria-label":u||null},on:{click:this.onResetButton},key:"reset-btn"},u))}if(!this.noCloseButton){s.length>0&&s.push(e("span","\xA0"));var f=this.labelCloseButton;s.push(e(Qr,{props:{size:"sm",disabled:n,variant:this.closeButtonVariant},attrs:{"aria-label":f||null},on:{click:this.onCloseButton},key:"close-btn"},f))}s.length>0&&(s=[e("div",{staticClass:"b-form-date-controls d-flex flex-wrap",class:{"justify-content-between":s.length>1,"justify-content-end":s.length<2}},s)]);var d=e(MR,{staticClass:"b-form-time-control",props:Ii(Ii({},at(NR,a)),{},{value:r,hidden:!this.isVisible}),on:{input:this.onInput,context:this.onContext},ref:"time"},s);return e(cR,{staticClass:"b-form-timepicker",props:Ii(Ii({},at(IR,a)),{},{id:this.safeId(),value:r,formattedValue:r?this.formattedValue:"",placeholder:o,rtl:this.isRTL,lang:this.computedLang}),on:{show:this.onShow,shown:this.onShown,hidden:this.onHidden},scopedSlots:Tf({},Wi,this.$scopedSlots[Wi]||this.defaultButtonFn),ref:"control"},[d])}}),U8=ae({components:{BFormTimepicker:BS,BTimepicker:BS}}),G8=ae({components:{BImg:Wb,BImgLazy:CD}}),W8=z({tag:c(g,"div")},NC),Ed=I({name:NC,functional:!0,props:W8,render:function(e,r){var n=r.props,i=r.data,a=r.children;return e(n.tag,oe(i,{staticClass:"input-group-text"}),a)}}),cy=z({append:c(_,!1),id:c(g),isText:c(_,!1),tag:c(g,"div")},RC),fy=I({name:RC,functional:!0,props:cy,render:function(e,r){var n=r.props,i=r.data,a=r.children,o=n.append;return e(n.tag,oe(i,{class:{"input-group-append":o,"input-group-prepend":!o},attrs:{id:n.id}}),n.isText?[e(Ed,a)]:a)}});function kS(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function LS(t){for(var e=1;e1&&arguments[1]!==void 0?arguments[1]:null;return e&&e.$options._scopeId||r};function $U(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var dy=I({mixins:[Ba],computed:{scopedStyleAttrs:function(){var e=js(this.bvParent);return e?$U({},e,""):{}}}});function GS(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function WS(t){for(var e=1;e2&&arguments[2]!==void 0?arguments[2]:{},i=e.$root?e.$root.$options.bvEventRoot||e.$root:null;return new r(WS(WS({},n),{},{parent:e,bvParent:e,bvEventRoot:i}))},AU=I({abstract:!0,name:uj,props:{nodes:c(MA)},data:function(e){return{updatedNodes:e.nodes}},destroyed:function(){M2(this.$el)},render:function(e){var r=this.updatedNodes,n=se(r)?r({}):r;return n=Me(n).filter(pe),n&&n.length>0&&!n[0].text?n[0]:e()}}),HR={container:c([ba,g],"body"),disabled:c(_,!1),tag:c(g,"div")},DU=I({name:gA,mixins:[ve],props:HR,watch:{disabled:{immediate:!0,handler:function(e){e?this.unmountTarget():this.$nextTick(this.mountTarget)}}},created:function(){this.$_defaultFn=null,this.$_target=null},beforeMount:function(){this.mountTarget()},updated:function(){this.updateTarget()},beforeDestroy:function(){this.unmountTarget(),this.$_defaultFn=null},methods:{getContainer:function(){if(Je){var e=this.container;return De(e)?gn(e):e}else return null},mountTarget:function(){if(!this.$_target){var e=this.getContainer();if(e){var r=document.createElement("div");e.appendChild(r),this.$_target=ka(this,AU,{el:r,propsData:{nodes:Me(this.normalizeSlot())}})}}},updateTarget:function(){if(Je&&this.$_target){var e=this.$scopedSlots.default;this.disabled||(e&&this.$_defaultFn!==e?this.$_target.updatedNodes=e:e||(this.$_target.updatedNodes=this.$slots.default)),this.$_defaultFn=e}},unmountTarget:function(){this.$_target&&this.$_target.$destroy(),this.$_target=null}},render:function(e){if(this.disabled){var r=Me(this.normalizeSlot()).filter(pe);if(r.length>0&&!r[0].text)return r[0]}return e()}}),RU=I({name:gA,mixins:[ve],props:HR,render:function(e){if(this.disabled){var r=Me(this.normalizeSlot()).filter(pe);if(r.length>0)return r[0]}return e(ye.Teleport,{to:this.container},this.normalizeSlot())}}),xU=Nr?RU:DU;function gg(t){return gg=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},gg(t)}function KS(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function YS(t){for(var e=1;e"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function Vs(t){return Vs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Vs(t)}var VU=function(t){kU(r,t);var e=LU(r);function r(n){var i,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return NU(this,r),i=e.call(this,n,a),ip(zR(i),{trigger:xn()}),i}return IU(r,null,[{key:"Defaults",get:function(){return YS(YS({},Pf(Vs(r),"Defaults",this)),{},{trigger:null})}}]),r}(ko),XS=1040,HU=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",zU=".sticky-top",UU=".navbar-toggler",GU=I({data:function(){return{modals:[],baseZIndex:null,scrollbarWidth:null,isBodyOverflowing:!1}},computed:{modalCount:function(){return this.modals.length},modalsAreOpen:function(){return this.modalCount>0}},watch:{modalCount:function(e,r){Je&&(this.getScrollbarWidth(),e>0&&r===0?(this.checkScrollbar(),this.setScrollbar(),$r(document.body,"modal-open")):e===0&&r>0&&(this.resetScrollbar(),hr(document.body,"modal-open")),st(document.body,"data-modal-open-count",String(e)))},modals:function(e){var r=this;this.checkScrollbar(),We(function(){r.updateModals(e||[])})}},methods:{registerModal:function(e){e&&this.modals.indexOf(e)===-1&&this.modals.push(e)},unregisterModal:function(e){var r=this.modals.indexOf(e);r>-1&&(this.modals.splice(r,1),!e._isBeingDestroyed&&!e._isDestroyed&&this.resetModal(e))},getBaseZIndex:function(){if(Je&&nt(this.baseZIndex)){var e=document.createElement("div");$r(e,"modal-backdrop"),$r(e,"d-none"),lr(e,"display","none"),document.body.appendChild(e),this.baseZIndex=ee(hn(e).zIndex,XS),document.body.removeChild(e)}return this.baseZIndex||XS},getScrollbarWidth:function(){if(Je&&nt(this.scrollbarWidth)){var e=document.createElement("div");$r(e,"modal-scrollbar-measure"),document.body.appendChild(e),this.scrollbarWidth=Ro(e).width-e.clientWidth,document.body.removeChild(e)}return this.scrollbarWidth||0},updateModals:function(e){var r=this,n=this.getBaseZIndex(),i=this.getScrollbarWidth();e.forEach(function(a,o){a.zIndex=n+o,a.scrollbarWidth=i,a.isTop=o===r.modals.length-1,a.isBodyOverflowing=r.isBodyOverflowing})},resetModal:function(e){e&&(e.zIndex=this.getBaseZIndex(),e.isTop=!0,e.isBodyOverflowing=!1)},checkScrollbar:function(){var e=Ro(document.body),r=e.left,n=e.right;this.isBodyOverflowing=r+n0&&arguments[0]!==void 0?arguments[0]:!1;this.$_observer&&this.$_observer.disconnect(),this.$_observer=null,e&&(this.$_observer=Iu(this.$refs.content,this.checkModalOverflow.bind(this),eG))},updateModel:function(e){e!==this[wv]&&this.$emit(YU,e)},buildEvent:function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return new VU(e,da(da({cancelable:!1,target:this.$refs.modal||this.$el||null,relatedTarget:null,trigger:null},r),{},{vueTarget:this,componentId:this.modalId}))},show:function(){if(!(this.isVisible||this.isOpening)){if(this.isClosing){this.$once(Pt,this.show);return}this.isOpening=!0,this.$_returnFocus=this.$_returnFocus||this.getActiveElement();var e=this.buildEvent(tr,{cancelable:!0});if(this.emitEvent(e),e.defaultPrevented||this.isVisible){this.isOpening=!1,this.updateModel(!1);return}this.doShow()}},hide:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";if(!(!this.isVisible||this.isClosing)){this.isClosing=!0;var r=this.buildEvent(Xr,{cancelable:e!==JU,trigger:e||null});if(e===Cf?this.$emit(gj,r):e===Ef?this.$emit(fj,r):e===$f&&this.$emit(Bm,r),this.emitEvent(r),r.defaultPrevented||!this.isVisible){this.isClosing=!1,this.updateModel(!0);return}this.setObserver(!1),this.isVisible=!1,this.updateModel(!1)}},toggle:function(e){e&&(this.$_returnFocus=e),this.isVisible?this.hide(ZU):this.show()},getActiveElement:function(){var e=Aa(Je?[document.body]:[]);return e&&e.focus?e:null},doShow:function(){var e=this;if(os.modalsAreOpen&&this.noStacking){this.listenOnRootOnce(gt(Gr,Pt),this.doShow);return}os.registerModal(this),this.isHidden=!1,this.$nextTick(function(){e.isVisible=!0,e.isOpening=!1,e.updateModel(!0),e.$nextTick(function(){e.setObserver(!0)})})},onBeforeEnter:function(){this.isTransitioning=!0,this.setResizeEvent(!0)},onEnter:function(){var e=this;this.isBlock=!0,We(function(){We(function(){e.isShow=!0})})},onAfterEnter:function(){var e=this;this.checkModalOverflow(),this.isTransitioning=!1,We(function(){e.emitEvent(e.buildEvent(Ar)),e.setEnforceFocus(!0),e.$nextTick(function(){e.focusFirst()})})},onBeforeLeave:function(){this.isTransitioning=!0,this.setResizeEvent(!1),this.setEnforceFocus(!1)},onLeave:function(){this.isShow=!1},onAfterLeave:function(){var e=this;this.isBlock=!1,this.isTransitioning=!1,this.isModalOverflowing=!1,this.isHidden=!0,this.$nextTick(function(){e.isClosing=!1,os.unregisterModal(e),e.returnFocusTo(),e.emitEvent(e.buildEvent(Pt))})},emitEvent:function(e){var r=e.type;this.emitOnRoot(gt(Gr,r),e,e.componentId),this.$emit(r,e)},onDialogMousedown:function(){var e=this,r=this.$refs.modal,n=function i(a){ft(r,"mouseup",i,Ae),a.target===r&&(e.ignoreBackdropClick=!0)};it(r,"mouseup",n,Ae)},onClickOut:function(e){if(this.ignoreBackdropClick){this.ignoreBackdropClick=!1;return}!this.isVisible||this.noCloseOnBackdrop||!Rt(document.body,e.target)||Rt(this.$refs.content,e.target)||this.hide(qU)},onOk:function(){this.hide(Cf)},onCancel:function(){this.hide(Ef)},onClose:function(){this.hide($f)},onEsc:function(e){e.keyCode===Fb&&this.isVisible&&!this.noCloseOnEsc&&this.hide(XU)},focusHandler:function(e){var r=this.$refs.content,n=e.target;if(!(this.noEnforceFocus||!this.isTop||!this.isVisible||!r||document===n||Rt(r,n)||this.computeIgnoreEnforceFocusSelector&&Jr(this.computeIgnoreEnforceFocusSelector,n,!0))){var i=zm(this.$refs.content),a=this.$refs["bottom-trap"],o=this.$refs["top-trap"];if(a&&n===a){if(we(i[0]))return}else if(o&&n===o&&we(i[i.length-1]))return;we(r,{preventScroll:!0})}},setEnforceFocus:function(e){this.listenDocument(e,"focusin",this.focusHandler)},setResizeEvent:function(e){this.listenWindow(e,"resize",this.checkModalOverflow),this.listenWindow(e,"orientationchange",this.checkModalOverflow)},showHandler:function(e,r){e===this.modalId&&(this.$_returnFocus=r||this.getActiveElement(),this.show())},hideHandler:function(e){e===this.modalId&&this.hide("event")},toggleHandler:function(e,r){e===this.modalId&&this.toggle(r)},modalListener:function(e){this.noStacking&&e.vueTarget!==this&&this.hide()},focusFirst:function(){var e=this;Je&&We(function(){var r=e.$refs.modal,n=e.$refs.content,i=e.getActiveElement();if(r&&n&&!(i&&Rt(n,i))){var a=e.$refs["ok-button"],o=e.$refs["cancel-button"],s=e.$refs["close-button"],l=e.autoFocusButton,u=l===Cf&&a?a.$el||a:l===Ef&&o?o.$el||o:l===$f&&s?s.$el||s:n;we(u),u===n&&e.$nextTick(function(){r.scrollTop=0})}})},returnFocusTo:function(){var e=this.returnFocus||this.$_returnFocus||null;this.$_returnFocus=null,this.$nextTick(function(){e=De(e)?gn(e):e,e&&(e=e.$el||e,we(e))})},checkModalOverflow:function(){if(this.isVisible){var e=this.$refs.modal;this.isModalOverflowing=e.scrollHeight>document.documentElement.clientHeight}},makeModal:function(e){var r=e();if(!this.hideHeader){var n=this.normalizeSlot(o2,this.slotScope);if(!n){var i=e();this.hideHeaderClose||(i=e(xo,{props:{content:this.headerCloseContent,disabled:this.isTransitioning,ariaLabel:this.headerCloseLabel,textVariant:this.headerCloseVariant||this.headerTextVariant},on:{click:this.onClose},ref:"close-button"},[this.normalizeSlot(s2)])),n=[e(this.titleTag,{staticClass:"modal-title",class:this.titleClasses,attrs:{id:this.modalTitleId},domProps:this.hasNormalizedSlot(Wh)?{}:dt(this.titleHtml,this.title)},this.normalizeSlot(Wh,this.slotScope)),i]}r=e(this.headerTag,{staticClass:"modal-header",class:this.headerClasses,attrs:{id:this.modalHeaderId},ref:"header"},[n])}var a=e("div",{staticClass:"modal-body",class:this.bodyClasses,attrs:{id:this.modalBodyId},ref:"body"},this.normalizeSlot(kt,this.slotScope)),o=e();if(!this.hideFooter){var s=this.normalizeSlot(a2,this.slotScope);if(!s){var l=e();this.okOnly||(l=e(Qr,{props:{variant:this.cancelVariant,size:this.buttonSize,disabled:this.cancelDisabled||this.busy||this.isTransitioning},domProps:this.hasNormalizedSlot(G_)?{}:dt(this.cancelTitleHtml,this.cancelTitle),on:{click:this.onCancel},ref:"cancel-button"},this.normalizeSlot(G_)));var u=e(Qr,{props:{variant:this.okVariant,size:this.buttonSize,disabled:this.okDisabled||this.busy||this.isTransitioning},domProps:this.hasNormalizedSlot(W_)?{}:dt(this.okTitleHtml,this.okTitle),on:{click:this.onOk},ref:"ok-button"},this.normalizeSlot(W_));s=[l,u]}o=e(this.footerTag,{staticClass:"modal-footer",class:this.footerClasses,attrs:{id:this.modalFooterId},ref:"footer"},[s])}var f=e("div",{staticClass:"modal-content",class:this.contentClass,attrs:{id:this.modalContentId,tabindex:"-1"},ref:"content"},[r,a,o]),d=e(),p=e();this.isVisible&&!this.noEnforceFocus&&(d=e("span",{attrs:{tabindex:"0"},ref:"top-trap"}),p=e("span",{attrs:{tabindex:"0"},ref:"bottom-trap"}));var h=e("div",{staticClass:"modal-dialog",class:this.dialogClasses,on:{mousedown:this.onDialogMousedown},ref:"dialog"},[d,f,p]),b=e("div",{staticClass:"modal",class:this.modalClasses,style:this.modalStyles,attrs:this.computedModalAttrs,on:{keydown:this.onEsc,click:this.onClickOut},directives:[{name:"show",value:this.isVisible}],ref:"modal"},[h]);b=e("transition",{props:{enterClass:"",enterToClass:"",enterActiveClass:"",leaveClass:"",leaveActiveClass:"",leaveToClass:""},on:{beforeEnter:this.onBeforeEnter,enter:this.onEnter,afterEnter:this.onAfterEnter,beforeLeave:this.onBeforeLeave,leave:this.onLeave,afterLeave:this.onAfterLeave}},[b]);var y=e();return!this.hideBackdrop&&this.isVisible&&(y=e("div",{staticClass:"modal-backdrop",attrs:{id:this.modalBackdropId}},this.normalizeSlot(i2))),y=e(Io,{props:{noFade:this.noFade}},[y]),e("div",{style:this.modalOuterStyle,attrs:this.computedAttrs,key:"modal-outer-".concat(this[ji])},[b,y])}},render:function(e){return this.static?this.lazy&&this.isHidden?e():this.makeModal(e):this.isHidden?e():e(xU,[this.makeModal(e)])}}),tG=xt(Gr,tr),$d="__bv_modal_directive__",WR=function(e){var r=e.modifiers,n=r===void 0?{}:r,i=e.arg,a=e.value;return De(a)?a:De(i)?i:ge(n).reverse()[0]},KR=function(e){return e&&Vi(e,".dropdown-menu > li, li.nav-item")&&gn("a, button",e)||e},YR=function(e){e&&e.tagName!=="BUTTON"&&(mi(e,"role")||st(e,"role","button"),e.tagName!=="A"&&!mi(e,"tabindex")&&st(e,"tabindex","0"))},rG=function(e,r,n){var i=WR(r),a=KR(e);if(i&&a){var o=function(l){var u=l.currentTarget;if(!lo(u)){var f=l.type,d=l.keyCode;(f==="click"||f==="keydown"&&(d===Ji||d===Ti))&&Oi(gi(n,r)).$emit(tG,i,u)}};e[$d]={handler:o,target:i,trigger:a},YR(a),it(a,"click",o,Yr),a.tagName!=="BUTTON"&&bn(a,"role")==="button"&&it(a,"keydown",o,Yr)}},qR=function(e){var r=e[$d]||{},n=r.trigger,i=r.handler;n&&i&&(ft(n,"click",i,Yr),ft(n,"keydown",i,Yr),ft(e,"click",i,Yr),ft(e,"keydown",i,Yr)),delete e[$d]},ZS=function(e,r,n){var i=e[$d]||{},a=WR(r),o=KR(e);(a!==i.target||o!==i.trigger)&&(qR(e),rG(e,r,n)),YR(o)},nG=function(){},XR={inserted:ZS,updated:nG,componentUpdated:ZS,unbind:qR};function iG(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function QS(t,e){for(var r=0;rt.length)&&(e=t.length);for(var r=0,n=new Array(e);r2&&arguments[2]!==void 0?arguments[2]:pG;if(!(rd(Xa)||N_(Xa))){var f=ka(s,r,{propsData:Ci(Ci(Ci({},tP(vn(Gr))),{},{hideHeaderClose:!0,hideHeader:!(l.title||l.titleHtml)},Pe(l,ge(Sv))),{},{lazy:!1,busy:!1,visible:!1,noStacking:!1,noEnforceFocus:!1})});return ge(Sv).forEach(function(d){Et(l[d])||(f.$slots[Sv[d]]=Me(l[d]))}),new Promise(function(d,p){var h=!1;f.$once(Au,function(){h||p(new Error("BootstrapVue MsgBox destroyed before resolve"))}),f.$on(Xr,function(y){if(!y.defaultPrevented){var P=u(y);y.defaultPrevented||(h=!0,d(P))}});var b=document.createElement("div");document.body.appendChild(b),f.$mount(b)})}},i=function(s,l){var u=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},f=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;if(!(!l||N_(Xa)||rd(Xa)||!se(f)))return n(s,Ci(Ci({},tP(u)),{},{msgBoxContent:l}),f)},a=function(){function o(s){iG(this,o),Gu(this,{_vm:s,_root:Oi(s)}),ip(this,{_vm:xn(),_root:xn()})}return aG(o,[{key:"show",value:function(l){if(l&&this._root){for(var u,f=arguments.length,d=new Array(f>1?f-1:0),p=1;p1?f-1:0),p=1;p1&&arguments[1]!==void 0?arguments[1]:{},f=Ci(Ci({},u),{},{okOnly:!0,okDisabled:!1,hideFooter:!1,msgBoxContent:l});return i(this._vm,l,f,function(){return!0})}},{key:"msgBoxConfirm",value:function(l){var u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},f=Ci(Ci({},u),{},{okOnly:!1,okDisabled:!1,cancelDisabled:!1,hideFooter:!1});return i(this._vm,l,f,function(d){var p=d.trigger;return p==="ok"?!0:p==="cancel"?!1:null})}}]),o}();e.mixin({beforeCreate:function(){this[Tv]=new a(this)}}),$o(e.prototype,Xa)||Cb(e.prototype,Xa,{get:function(){return(!this||!this[Tv])&&jt('"'.concat(Xa,'" must be accessed from a Vue instance "this" context.'),Gr),this[Tv]}})},vG=ae({plugins:{plugin:hG}}),mG=ae({components:{BModal:GR},directives:{VBModal:XR},plugins:{BVModalPlugin:vG}});function rP(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var gG=function(e){return e=e==="left"?"start":e==="right"?"end":e,"justify-content-".concat(e)},py=z({align:c(g),cardHeader:c(_,!1),fill:c(_,!1),justified:c(_,!1),pills:c(_,!1),small:c(_,!1),tabs:c(_,!1),tag:c(g,"ul"),vertical:c(_,!1)},VC),JR=I({name:VC,functional:!0,props:py,render:function(e,r){var n,i=r.props,a=r.data,o=r.children,s=i.tabs,l=i.pills,u=i.vertical,f=i.align,d=i.cardHeader;return e(i.tag,oe(a,{staticClass:"nav",class:(n={"nav-tabs":s,"nav-pills":l&&!s,"card-header-tabs":!u&&d&&s,"card-header-pills":!u&&d&&l&&!s,"flex-column":u,"nav-fill":!u&&i.fill,"nav-justified":!u&&i.justified},rP(n,gG(f),!u&&f),rP(n,"small",i.small),n)}),o)}});function nP(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function iP(t){for(var e=1;et.length)&&(e=t.length);for(var r=0,n=new Array(e);r=0&&e<=1}),overlayTag:c(g,"div"),rounded:c(_r,!1),show:c(_,!1),spinnerSmall:c(_,!1),spinnerType:c(g,"border"),spinnerVariant:c(g),variant:c(g,"light"),wrapTag:c(g,"div"),zIndex:c(re,10)},qC),YG=I({name:qC,mixins:[ve],props:KG,computed:{computedRounded:function(){var e=this.rounded;return e===!0||e===""?"rounded":e?"rounded-".concat(e):""},computedVariant:function(){var e=this.variant;return e&&!this.bgColor?"bg-".concat(e):""},slotScope:function(){return{spinnerType:this.spinnerType||null,spinnerVariant:this.spinnerVariant||null,spinnerSmall:this.spinnerSmall}}},methods:{defaultOverlayFn:function(e){var r=e.spinnerType,n=e.spinnerVariant,i=e.spinnerSmall;return this.$createElement(tx,{props:{type:r,variant:n,small:i}})}},render:function(e){var r=this,n=this.show,i=this.fixed,a=this.noFade,o=this.noWrap,s=this.slotScope,l=e();if(n){var u=e("div",{staticClass:"position-absolute",class:[this.computedVariant,this.computedRounded],style:kl(kl({},$v),{},{opacity:this.opacity,backgroundColor:this.bgColor||null,backdropFilter:this.blur?"blur(".concat(this.blur,")"):null})}),f=e("div",{staticClass:"position-absolute",style:this.noCenter?kl({},$v):{top:"50%",left:"50%",transform:"translateX(-50%) translateY(-50%)"}},[this.normalizeSlot(m2,s)||this.defaultOverlayFn(s)]);l=e(this.overlayTag,{staticClass:"b-overlay",class:{"position-absolute":!o||o&&!i,"position-fixed":o&&i},style:kl(kl({},$v),{},{zIndex:this.zIndex||10}),on:{click:function(p){return r.$emit(Ln,p)}},key:"overlay"},[u,f])}return l=e(Io,{props:{noFade:a,appear:!0},on:{"after-enter":function(){return r.$emit(Ar)},"after-leave":function(){return r.$emit(Pt)}}},[l]),o?l:e(this.wrapTag,{staticClass:"b-overlay-wrap position-relative",attrs:{"aria-busy":n?"true":null}},o?[l]:[this.normalizeSlot(),l])}}),qG=ae({components:{BOverlay:YG}}),Ll;function hP(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function vP(t){for(var e=1;er?r:n<1?1:n},bP=function(e){if(e.keyCode===Ti)return _e(e,{immediatePropagation:!0}),e.currentTarget.click(),!1},vy=z(ie(vP(vP({},JG),{},{align:c(g,"left"),ariaLabel:c(g,"Pagination"),disabled:c(_,!1),ellipsisClass:c(de),ellipsisText:c(g,"\u2026"),firstClass:c(de),firstNumber:c(_,!1),firstText:c(g,"\xAB"),hideEllipsis:c(_,!1),hideGotoEndButtons:c(_,!1),labelFirstPage:c(g,"Go to first page"),labelLastPage:c(g,"Go to last page"),labelNextPage:c(g,"Go to next page"),labelPage:c(Bj,"Go to page"),labelPrevPage:c(g,"Go to previous page"),lastClass:c(de),lastNumber:c(_,!1),lastText:c(g,"\xBB"),limit:c(re,hy,function(t){return ee(t,0)<1?(jt('Prop "limit" must be a number greater than "0"',ap),!1):!0}),nextClass:c(de),nextText:c(g,"\u203A"),pageClass:c(de),pills:c(_,!1),prevClass:c(de),prevText:c(g,"\u2039"),size:c(g)})),"pagination"),rx=I({mixins:[XG,ve],props:vy,data:function(){var e=ee(this[_g],0);return e=e>0?e:-1,{currentPage:e,localNumberOfPages:1,localLimit:hy}},computed:{btnSize:function(){var e=this.size;return e?"pagination-".concat(e):""},alignment:function(){var e=this.align;return e==="center"?"justify-content-center":e==="end"||e==="right"?"justify-content-end":e==="fill"?"text-center":""},styleClass:function(){return this.pills?"b-pagination-pills":""},computedCurrentPage:function(){return gP(this.currentPage,this.localNumberOfPages)},paginationParams:function(){var e=this.localLimit,r=this.localNumberOfPages,n=this.computedCurrentPage,i=this.hideEllipsis,a=this.firstNumber,o=this.lastNumber,s=!1,l=!1,u=e,f=1;r<=e?u=r:nUc?((!i||o)&&(l=!0,u=e-(a?0:1)),u=Fi(u,e)):r-n+2Uc?((!i||a)&&(s=!0,u=e-(o?0:1)),f=r-u+1):(e>Uc&&(u=e-(i?0:2),s=!!(!i||a),l=!!(!i||o)),f=n-Mu(u/2)),f<1?(f=1,s=!1):f>r-u&&(f=r-u+1,l=!1),s&&a&&f<4&&(u=u+2,f=1,s=!1);var d=f+u-1;return l&&o&&d>r-3&&(u=u+(d===r-2?2:3),l=!1),e<=Uc&&(a&&f===1?u=Fi(u+1,r,e+1):o&&r===f+u-1&&(f=Fe(f-1,1),u=Fi(r-f+1,r,e+1))),u=Fi(u,r-f+1),{showFirstDots:s,showLastDots:l,numberOfLinks:u,startNumber:f}},pageList:function(){var e=this.paginationParams,r=e.numberOfLinks,n=e.startNumber,i=this.computedCurrentPage,a=QG(n,r);if(a.length>3){var o=i-n,s="bv-d-xs-down-none";if(o===0)for(var l=3;lo+1;d--)a[d].classes=s}}return a}},watch:(Ll={},Af(Ll,_g,function(t,e){t!==e&&(this.currentPage=gP(t,this.localNumberOfPages))}),Af(Ll,"currentPage",function(e,r){e!==r&&this.$emit(ZG,e>0?e:null)}),Af(Ll,"limit",function(e,r){e!==r&&(this.localLimit=mP(e))}),Ll),created:function(){var e=this;this.localLimit=mP(this.limit),this.$nextTick(function(){e.currentPage=e.currentPage>e.localNumberOfPages?e.localNumberOfPages:e.currentPage})},methods:{handleKeyNav:function(e){var r=e.keyCode,n=e.shiftKey;this.isNav||(r===Xn||r===Zr?(_e(e,{propagation:!1}),n?this.focusFirst():this.focusPrev()):(r===Yi||r===Rr)&&(_e(e,{propagation:!1}),n?this.focusLast():this.focusNext()))},getButtons:function(){return yn("button.page-link, a.page-link",this.$el).filter(function(e){return Yn(e)})},focusCurrent:function(){var e=this;this.$nextTick(function(){var r=e.getButtons().find(function(n){return ee(bn(n,"aria-posinset"),0)===e.computedCurrentPage});we(r)||e.focusFirst()})},focusFirst:function(){var e=this;this.$nextTick(function(){var r=e.getButtons().find(function(n){return!lo(n)});we(r)})},focusLast:function(){var e=this;this.$nextTick(function(){var r=e.getButtons().reverse().find(function(n){return!lo(n)});we(r)})},focusPrev:function(){var e=this;this.$nextTick(function(){var r=e.getButtons(),n=r.indexOf(Aa());n>0&&!lo(r[n-1])&&we(r[n-1])})},focusNext:function(){var e=this;this.$nextTick(function(){var r=e.getButtons(),n=r.indexOf(Aa());nl,F=H<1?1:H>l?l:H,X={disabled:M,page:F,index:F-1},Q=r.normalizeSlot(j,X)||ce(E)||e(),q=e(M?"span":s?tn:"button",{staticClass:"page-link",class:{"flex-grow-1":!s&&!M&&b},props:M||!s?{}:r.linkProps(H),attrs:{role:s?null:"menuitem",type:s||M?null:"button",tabindex:M||s?null:"-1","aria-label":W,"aria-controls":Tt(r).ariaControls||null,"aria-disabled":M?"true":null},on:M?{}:{"!click":function(U){r.onClick(U,H)},keydown:bP}},[Q]);return e("li",{key:$,staticClass:"page-item",class:[{disabled:M,"flex-fill":b,"d-flex":b&&!s&&!M},v],attrs:{role:s?null:"presentation","aria-hidden":M?"true":null}},[q])},A=function(H){return e("li",{staticClass:"page-item",class:["disabled","bv-d-xs-down-none",b?"flex-fill":"",r.ellipsisClass],attrs:{role:"separator"},key:"ellipsis-".concat(H?"last":"first")},[e("span",{staticClass:"page-link"},[r.normalizeSlot(Gj)||ce(r.ellipsisText)||e()])])},B=function(H,W){var j=H.number,E=P(j)&&!C,v=i?null:E||C&&W===0?"0":"-1",w={role:s?null:"menuitemradio",type:s||i?null:"button","aria-disabled":i?"true":null,"aria-controls":Tt(r).ariaControls||null,"aria-label":yi(a)?a(j):"".concat(se(a)?a():a," ").concat(j),"aria-checked":s?null:E?"true":"false","aria-current":s&&E?"page":null,"aria-posinset":s?null:j,"aria-setsize":s?null:l,tabindex:s?null:v},$=ce(r.makePage(j)),M={page:j,index:j-1,content:$,active:E,disabled:i},F=e(i?"span":s?tn:"button",{props:i||!s?{}:r.linkProps(j),staticClass:"page-link",class:{"flex-grow-1":!s&&!i&&b},attrs:w,on:i?{}:{"!click":function(Q){r.onClick(Q,j)},keydown:bP}},[r.normalizeSlot(g2,M)||$]);return e("li",{staticClass:"page-item",class:[{disabled:i,active:E,"flex-fill":b,"d-flex":b&&!s&&!i},H.classes,r.pageClass],attrs:{role:s?null:"presentation"},key:"page-".concat(j)},[F])},D=e();!this.firstNumber&&!this.hideGotoEndButtons&&(D=R(1,this.labelFirstPage,Kj,this.firstText,this.firstClass,1,"pagination-goto-first")),y.push(D),y.push(R(u-1,this.labelPrevPage,y2,this.prevText,this.prevClass,1,"pagination-goto-prev")),y.push(this.firstNumber&&f[0]!==1?B({number:1},0):e()),y.push(p?A(!1):e()),this.pageList.forEach(function(G,H){var W=p&&r.firstNumber&&f[0]!==1?1:0;y.push(B(G,H+W))}),y.push(h?A(!0):e()),y.push(this.lastNumber&&f[f.length-1]!==l?B({number:l},-1):e()),y.push(R(u+1,this.labelNextPage,v2,this.nextText,this.nextClass,l,"pagination-goto-next"));var V=e();!this.lastNumber&&!this.hideGotoEndButtons&&(V=R(l,this.labelLastPage,r2,this.lastText,this.lastClass,l,"pagination-goto-last")),y.push(V);var N=e("ul",{staticClass:"pagination",class:["b-pagination",this.btnSize,this.alignment,this.styleClass],attrs:{role:s?null:"menubar","aria-disabled":i?"true":"false","aria-label":s?null:o||null},on:s?{}:{keydown:this.handleKeyNav},ref:"ul"},y);return s?e("nav",{attrs:{"aria-disabled":i?"true":null,"aria-hidden":i?"true":"false","aria-label":s&&o||null}},[N]):N}});function yP(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function OP(t){for(var e=1;ee.numberOfPages&&(this.currentPage=1)),this.localNumberOfPages=e.numberOfPages}},created:function(){var e=this;this.localNumberOfPages=this.numberOfPages;var r=ee(this[_g],0);r>0?this.currentPage=r:this.$nextTick(function(){e.currentPage=0})},methods:{onClick:function(e,r){var n=this;if(r!==this.currentPage){var i=e.target,a=new ko(EA,{cancelable:!0,vueTarget:this,target:i});this.$emit(a.type,a,r),!a.defaultPrevented&&(this.currentPage=r,this.$emit(en,this.currentPage),this.$nextTick(function(){Yn(i)&&n.$el.contains(i)?we(i):n.focusCurrent()}))}},makePage:function(e){return e},linkProps:function(){return{}}}}),n4=ae({components:{BPagination:r4}});function TP(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function Cv(t){for(var e=1;e0?this.localNumberOfPages=this.pages.length:this.localNumberOfPages=a4(this.numberOfPages),this.$nextTick(function(){e.guessCurrentPage()})},onClick:function(e,r){var n=this;if(r!==this.currentPage){var i=e.currentTarget||e.target,a=new ko(EA,{cancelable:!0,vueTarget:this,target:i});this.$emit(a.type,a,r),!a.defaultPrevented&&(We(function(){n.currentPage=r,n.$emit(en,r)}),this.$nextTick(function(){rn(i)}))}},getPageInfo:function(e){if(!He(this.pages)||this.pages.length===0||Et(this.pages[e-1])){var r="".concat(this.baseUrl).concat(e);return{link:this.useRouter?{path:r}:r,text:ce(e)}}var n=this.pages[e-1];if(St(n)){var i=n.link;return{link:St(i)?i:this.useRouter?{path:i}:i,text:ce(n.text||e)}}else return{link:ce(n),text:ce(e)}},makePage:function(e){var r=this.pageGen,n=this.getPageInfo(e);return yi(r)?r(e,n):n.text},makeLink:function(e){var r=this.linkGen,n=this.getPageInfo(e);return yi(r)?r(e,n):n.link},linkProps:function(e){var r=at(ax,this),n=this.makeLink(e);return this.useRouter||St(n)?r.to=n:r.href=n,r},resolveLink:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",r;try{r=document.createElement("a"),r.href=ZA({to:e},"a","/","/"),document.body.appendChild(r);var n=r,i=n.pathname,a=n.hash,o=n.search;return document.body.removeChild(r),{path:i,hash:a,query:aw(o)}}catch{try{r&&r.parentNode&&r.parentNode.removeChild(r)}catch{}return{}}},resolveRoute:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";try{var r=this.$router.resolve(e,this.$route).route;return{path:r.path,hash:r.hash,query:r.query}}catch{return{}}},guessCurrentPage:function(){var e=this.$router,r=this.$route,n=this.computedValue;if(!this.noPageDetect&&!n&&(Je||!Je&&e))for(var i=e&&r?{path:r.path,hash:r.hash,query:r.query}:{},a=Je?window.location||document.location:null,o=a?{path:a.pathname,hash:a.hash,query:aw(a.search)}:{},s=1;!n&&s<=this.localNumberOfPages;s++){var l=this.makeLink(s);e&&(St(l)||this.useRouter)?n=je(this.resolveRoute(l),i)?s:null:Je?n=je(this.resolveLink(l),o)?s:null:n=-1}this.currentPage=n>0?n:0}}}),l4=ae({components:{BPaginationNav:s4}}),u4={AUTO:"auto",TOP:"top",RIGHT:"right",BOTTOM:"bottom",LEFT:"left",TOPLEFT:"top",TOPRIGHT:"top",RIGHTTOP:"right",RIGHTBOTTOM:"right",BOTTOMLEFT:"bottom",BOTTOMRIGHT:"bottom",LEFTTOP:"left",LEFTBOTTOM:"left"},c4={AUTO:0,TOPLEFT:-1,TOP:0,TOPRIGHT:1,RIGHTTOP:-1,RIGHT:0,RIGHTBOTTOM:1,BOTTOMLEFT:-1,BOTTOM:0,BOTTOMRIGHT:1,LEFTTOP:-1,LEFT:0,LEFTBOTTOM:1},f4={arrowPadding:c(re,6),boundary:c([ba,g],"scrollParent"),boundaryPadding:c(re,5),fallbackPlacement:c(Or,"flip"),offset:c(re,0),placement:c(g,"top"),target:c([ba,O1])},d4=I({name:nj,mixins:[Ba],props:f4,data:function(){return{noFade:!1,localShow:!0,attachment:this.getAttachment(this.placement)}},computed:{templateType:function(){return"unknown"},popperConfig:function(){var e=this,r=this.placement;return{placement:this.getAttachment(r),modifiers:{offset:{offset:this.getOffset(r)},flip:{behavior:this.fallbackPlacement},arrow:{element:".arrow"},preventOverflow:{padding:this.boundaryPadding,boundariesElement:this.boundary}},onCreate:function(i){i.originalPlacement!==i.placement&&e.popperPlacementChange(i)},onUpdate:function(i){e.popperPlacementChange(i)}}}},created:function(){var e=this;this.$_popper=null,this.localShow=!0,this.$on(tr,function(n){e.popperCreate(n)});var r=function(){e.$nextTick(function(){We(function(){e.$destroy()})})};this.bvParent.$once(Au,r),this.$once(Pt,r)},beforeMount:function(){this.attachment=this.getAttachment(this.placement)},updated:function(){this.updatePopper()},beforeDestroy:function(){this.destroyPopper()},destroyed:function(){var e=this.$el;e&&e.parentNode&&e.parentNode.removeChild(e)},methods:{hide:function(){this.localShow=!1},getAttachment:function(e){return u4[String(e).toUpperCase()]||"auto"},getOffset:function(e){if(!this.offset){var r=this.$refs.arrow||gn(".arrow",this.$el),n=Ee(hn(r).width,0)+Ee(this.arrowPadding,0);switch(c4[String(e).toUpperCase()]||0){case 1:return"+50%p - ".concat(n,"px");case-1:return"-50%p + ".concat(n,"px");default:return 0}}return this.offset},popperCreate:function(e){this.destroyPopper(),this.$_popper=new sg(this.target,e,this.popperConfig)},destroyPopper:function(){this.$_popper&&this.$_popper.destroy(),this.$_popper=null},updatePopper:function(){this.$_popper&&this.$_popper.scheduleUpdate()},popperPlacementChange:function(e){this.attachment=this.getAttachment(e.placement)},renderTemplate:function(e){return e("div")}},render:function(e){var r=this,n=this.noFade;return e(Io,{props:{appear:!0,noFade:n},on:{beforeEnter:function(a){return r.$emit(tr,a)},afterEnter:function(a){return r.$emit(Ar,a)},beforeLeave:function(a){return r.$emit(Xr,a)},afterLeave:function(a){return r.$emit(Pt,a)}}},[this.localShow?this.renderTemplate(e):e()])}});function SP(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function PP(t){for(var e=1;e0&&arguments[0]!==void 0?arguments[0]:{},n=!1;ge($P).forEach(function(i){!Et(r[i])&&e[i]!==r[i]&&(e[i]=r[i],i==="title"&&(n=!0))}),n&&this.localShow&&this.fixTitle()},createTemplateAndShow:function(){var e=this.getContainer(),r=this.getTemplate(),n=this.$_tip=ka(this,r,{propsData:{id:this.computedId,html:this.html,placement:this.placement,fallbackPlacement:this.fallbackPlacement,target:this.getPlacementTarget(),boundary:this.getBoundary(),offset:ee(this.offset,0),arrowPadding:ee(this.arrowPadding,0),boundaryPadding:ee(this.boundaryPadding,0)}});this.handleTemplateUpdate(),n.$once(tr,this.onTemplateShow),n.$once(Ar,this.onTemplateShown),n.$once(Xr,this.onTemplateHide),n.$once(Pt,this.onTemplateHidden),n.$once(Au,this.destroyTemplate),n.$on(nd,this.handleEvent),n.$on(id,this.handleEvent),n.$on(TA,this.handleEvent),n.$on(SA,this.handleEvent),n.$mount(e.appendChild(document.createElement("div")))},hideTemplate:function(){this.$_tip&&this.$_tip.hide(),this.clearActiveTriggers(),this.$_hoverState=""},destroyTemplate:function(){this.setWhileOpenListeners(!1),this.clearHoverTimeout(),this.$_hoverState="",this.clearActiveTriggers(),this.localPlacementTarget=null;try{this.$_tip.$destroy()}catch{}this.$_tip=null,this.removeAriaDescribedby(),this.restoreTitle(),this.localShow=!1},getTemplateElement:function(){return this.$_tip?this.$_tip.$el:null},handleTemplateUpdate:function(){var e=this,r=this.$_tip;if(r){var n=["title","content","variant","customClass","noFade","interactive"];n.forEach(function(i){r[i]!==e[i]&&(r[i]=e[i])})}},show:function(){var e=this.getTarget();if(!(!e||!Rt(document.body,e)||!Yn(e)||this.dropdownOpen()||(Ge(this.title)||this.title==="")&&(Ge(this.content)||this.content===""))&&!(this.$_tip||this.localShow)){this.localShow=!0;var r=this.buildEvent(tr,{cancelable:!0});if(this.emitEvent(r),r.defaultPrevented){this.destroyTemplate();return}this.fixTitle(),this.addAriaDescribedby(),this.createTemplateAndShow()}},hide:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,r=this.getTemplateElement();if(!r||!this.localShow){this.restoreTitle();return}var n=this.buildEvent(Xr,{cancelable:!e});this.emitEvent(n),!n.defaultPrevented&&this.hideTemplate()},forceHide:function(){var e=this.getTemplateElement();!e||!this.localShow||(this.setWhileOpenListeners(!1),this.clearHoverTimeout(),this.$_hoverState="",this.clearActiveTriggers(),this.$_tip&&(this.$_tip.noFade=!0),this.hide(!0))},enable:function(){this.$_enabled=!0,this.emitEvent(this.buildEvent(cf))},disable:function(){this.$_enabled=!1,this.emitEvent(this.buildEvent(uf))},onTemplateShow:function(){this.setWhileOpenListeners(!0)},onTemplateShown:function(){var e=this.$_hoverState;this.$_hoverState="",e==="out"&&this.leave(null),this.emitEvent(this.buildEvent(Ar))},onTemplateHide:function(){this.setWhileOpenListeners(!1)},onTemplateHidden:function(){this.destroyTemplate(),this.emitEvent(this.buildEvent(Pt))},getTarget:function(){var e=this.target;return De(e)?e=Vm(e.replace(/^#/,"")):se(e)?e=e():e&&(e=e.$el||e),et(e)?e:null},getPlacementTarget:function(){return this.getTarget()},getTargetId:function(){var e=this.getTarget();return e&&e.id?e.id:null},getContainer:function(){var e=this.container?this.container.$el||this.container:!1,r=document.body,n=this.getTarget();return e===!1?Jr(g4,n)||r:De(e)&&Vm(e.replace(/^#/,""))||r},getBoundary:function(){return this.boundary?this.boundary.$el||this.boundary:"scrollParent"},isInModal:function(){var e=this.getTarget();return e&&Jr(sx,e)},isDropdown:function(){var e=this.getTarget();return e&&Ru(e,b4)},dropdownOpen:function(){var e=this.getTarget();return this.isDropdown()&&e&&gn(y4,e)},clearHoverTimeout:function(){clearTimeout(this.$_hoverTimeout),this.$_hoverTimeout=null},clearVisibilityInterval:function(){clearInterval(this.$_visibleInterval),this.$_visibleInterval=null},clearActiveTriggers:function(){for(var e in this.activeTrigger)this.activeTrigger[e]=!1},addAriaDescribedby:function(){var e=this.getTarget(),r=bn(e,"aria-describedby")||"";r=r.split(/\s+/).concat(this.computedId).join(" ").trim(),st(e,"aria-describedby",r)},removeAriaDescribedby:function(){var e=this,r=this.getTarget(),n=bn(r,"aria-describedby")||"";n=n.split(/\s+/).filter(function(i){return i!==e.computedId}).join(" ").trim(),n?st(r,"aria-describedby",n):vi(r,"aria-describedby")},fixTitle:function(){var e=this.getTarget();if(mi(e,"title")){var r=bn(e,"title");st(e,"title",""),r&&st(e,Gc,r)}},restoreTitle:function(){var e=this.getTarget();if(mi(e,Gc)){var r=bn(e,Gc);vi(e,Gc),r&&st(e,"title",r)}},buildEvent:function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return new ko(e,Av({cancelable:!1,target:this.getTarget(),relatedTarget:this.getTemplateElement()||null,componentId:this.computedId,vueTarget:this},r))},emitEvent:function(e){var r=e.type;this.emitOnRoot(gt(this.templateType,r),e),this.$emit(r,e)},listen:function(){var e=this,r=this.getTarget();!r||(this.setRootListener(!0),this.computedTriggers.forEach(function(n){n==="click"?it(r,"click",e.handleEvent,Ae):n==="focus"?(it(r,"focusin",e.handleEvent,Ae),it(r,"focusout",e.handleEvent,Ae)):n==="blur"?it(r,"focusout",e.handleEvent,Ae):n==="hover"&&(it(r,"mouseenter",e.handleEvent,Ae),it(r,"mouseleave",e.handleEvent,Ae))},this))},unListen:function(){var e=this,r=["click","focusin","focusout","mouseenter","mouseleave"],n=this.getTarget();this.setRootListener(!1),r.forEach(function(i){n&&ft(n,i,e.handleEvent,Ae)},this)},setRootListener:function(e){var r=e?"listenOnRoot":"listenOffRoot",n=this.templateType;this[r](xt(n,Xr),this.doHide),this[r](xt(n,tr),this.doShow),this[r](xt(n,km),this.doDisable),this[r](xt(n,Lm),this.doEnable)},setWhileOpenListeners:function(e){this.setModalListener(e),this.setDropdownListener(e),this.visibleCheck(e),this.setOnTouchStartListener(e)},visibleCheck:function(e){var r=this;this.clearVisibilityInterval();var n=this.getTarget();e&&(this.$_visibleInterval=setInterval(function(){var i=r.getTemplateElement();i&&r.localShow&&(!n.parentNode||!Yn(n))&&r.forceHide()},100))},setModalListener:function(e){this.isInModal()&&this[e?"listenOnRoot":"listenOffRoot"](v4,this.forceHide)},setOnTouchStartListener:function(e){var r=this;"ontouchstart"in document.documentElement&&Do(document.body.children).forEach(function(n){qn(e,n,"mouseover",r.$_noop)})},setDropdownListener:function(e){var r=this.getTarget();if(!(!r||!this.bvEventRoot||!this.isDropdown)){var n=Pz(r);n&&n[e?"$on":"$off"](Ar,this.forceHide)}},handleEvent:function(e){var r=this.getTarget();if(!(!r||lo(r)||!this.$_enabled||this.dropdownOpen())){var n=e.type,i=this.computedTriggers;if(n==="click"&&he(i,"click"))this.click(e);else if(n==="mouseenter"&&he(i,"hover"))this.enter(e);else if(n==="focusin"&&he(i,"focus"))this.enter(e);else if(n==="focusout"&&(he(i,"focus")||he(i,"blur"))||n==="mouseleave"&&he(i,"hover")){var a=this.getTemplateElement(),o=e.target,s=e.relatedTarget;if(a&&Rt(a,o)&&Rt(r,s)||a&&Rt(r,o)&&Rt(a,s)||a&&Rt(a,o)&&Rt(a,s)||Rt(r,o)&&Rt(r,s))return;this.leave(e)}}},doHide:function(e){(!e||this.getTargetId()===e||this.computedId===e)&&this.forceHide()},doShow:function(e){(!e||this.getTargetId()===e||this.computedId===e)&&this.show()},doDisable:function(e){(!e||this.getTargetId()===e||this.computedId===e)&&this.disable()},doEnable:function(e){(!e||this.getTargetId()===e||this.computedId===e)&&this.enable()},click:function(e){!this.$_enabled||this.dropdownOpen()||(we(e.currentTarget),this.activeTrigger.click=!this.activeTrigger.click,this.isWithActiveTrigger?this.enter(null):this.leave(null))},toggle:function(){!this.$_enabled||this.dropdownOpen()||(this.localShow?this.leave(null):this.enter(null))},enter:function(){var e=this,r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null;if(r&&(this.activeTrigger[r.type==="focusin"?"focus":"hover"]=!0),this.localShow||this.$_hoverState==="in"){this.$_hoverState="in";return}this.clearHoverTimeout(),this.$_hoverState="in",this.computedDelay.show?(this.fixTitle(),this.$_hoverTimeout=setTimeout(function(){e.$_hoverState==="in"?e.show():e.localShow||e.restoreTitle()},this.computedDelay.show)):this.show()},leave:function(){var e=this,r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null;r&&(this.activeTrigger[r.type==="focusout"?"focus":"hover"]=!1,r.type==="focusout"&&he(this.computedTriggers,"blur")&&(this.activeTrigger.click=!1,this.activeTrigger.hover=!1)),!this.isWithActiveTrigger&&(this.clearHoverTimeout(),this.$_hoverState="out",this.computedDelay.hide?this.$_hoverTimeout=setTimeout(function(){e.$_hoverState==="out"&&e.hide()},this.computedDelay.hide):this.hide())}}}),Vr,Ja;function CP(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function O4(t){for(var e=1;e0&&e[Dn].updateData(u)})}var o={title:i.title,content:i.content,triggers:i.trigger,placement:i.placement,fallbackPlacement:i.fallbackPlacement,variant:i.variant,customClass:i.customClass,container:i.container,boundary:i.boundary,delay:i.delay,offset:i.offset,noFade:!i.animation,id:i.id,disabled:i.disabled,html:i.html},s=e[Dn].__bv_prev_data__;if(e[Dn].__bv_prev_data__=o,!je(o,s)){var l={target:e};ge(o).forEach(function(u){o[u]!==s[u]&&(l[u]=(u==="title"||u==="content")&&se(o[u])?o[u](e):o[u])}),e[Dn].updateData(l)}}},F4=function(e){e[Dn]&&(e[Dn].$destroy(),e[Dn]=null),delete e[Dn]},j4={bind:function(e,r,n){IP(e,r,n)},componentUpdated:function(e,r,n){Eb(function(){IP(e,r,n)})},unbind:function(e){F4(e)}},fx=ae({directives:{VBPopover:j4}}),V4=ae({components:{BPopover:P4},plugins:{VBPopoverPlugin:fx}}),dx=z({animated:c(_,null),label:c(g),labelHtml:c(g),max:c(re,null),precision:c(re,null),showProgress:c(_,null),showValue:c(_,null),striped:c(_,null),value:c(re,0),variant:c(g)},JC),px=I({name:JC,mixins:[ve],inject:{getBvProgress:{default:function(){return function(){return{}}}}},props:dx,computed:{bvProgress:function(){return this.getBvProgress()},progressBarClasses:function(){var e=this.computedAnimated,r=this.computedVariant;return[r?"bg-".concat(r):"",this.computedStriped||e?"progress-bar-striped":"",e?"progress-bar-animated":""]},progressBarStyles:function(){return{width:100*(this.computedValue/this.computedMax)+"%"}},computedValue:function(){return Ee(this.value,0)},computedMax:function(){var e=Ee(this.max)||Ee(this.bvProgress.max,0);return e>0?e:100},computedPrecision:function(){return Fe(ee(this.precision,ee(this.bvProgress.precision,0)),0)},computedProgress:function(){var e=this.computedPrecision,r=YA(10,e);return Kh(100*r*this.computedValue/this.computedMax/r,e)},computedVariant:function(){return this.variant||this.bvProgress.variant},computedStriped:function(){return Mn(this.striped)?this.striped:this.bvProgress.striped||!1},computedAnimated:function(){return Mn(this.animated)?this.animated:this.bvProgress.animated||!1},computedShowProgress:function(){return Mn(this.showProgress)?this.showProgress:this.bvProgress.showProgress||!1},computedShowValue:function(){return Mn(this.showValue)?this.showValue:this.bvProgress.showValue||!1}},render:function(e){var r=this.label,n=this.labelHtml,i=this.computedValue,a=this.computedPrecision,o,s={};return this.hasNormalizedSlot()?o=this.normalizeSlot():r||n?s=dt(n,r):this.computedShowProgress?o=this.computedProgress:this.computedShowValue&&(o=Kh(i,a)),e("div",{staticClass:"progress-bar",class:this.progressBarClasses,style:this.progressBarStyles,attrs:{role:"progressbar","aria-valuemin":"0","aria-valuemax":ce(this.computedMax),"aria-valuenow":Kh(i,a)},domProps:s},o)}});function BP(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function kP(t){for(var e=1;e0&&arguments[0]!==void 0?arguments[0]:{},r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};!this.noCloseOnRouteChange&&e.fullPath!==r.fullPath&&this.hide()}),Fl),created:function(){this.$_returnFocusEl=null},mounted:function(){var e=this;this.listenOnRoot(K4,this.handleToggle),this.listenOnRoot(W4,this.handleSync),this.$nextTick(function(){e.emitState(e.localShow)})},activated:function(){this.emitSync()},beforeDestroy:function(){this.localShow=!1,this.$_returnFocusEl=null},methods:{hide:function(){this.localShow=!1},emitState:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.localShow;this.emitOnRoot(Y4,this.safeId(),e)},emitSync:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.localShow;this.emitOnRoot(q4,this.safeId(),e)},handleToggle:function(e){e&&e===this.safeId()&&(this.localShow=!this.localShow)},handleSync:function(e){var r=this;e&&e===this.safeId()&&this.$nextTick(function(){r.emitSync(r.localShow)})},onKeydown:function(e){var r=e.keyCode;!this.noCloseOnEsc&&r===Fb&&this.localShow&&this.hide()},onBackdropClick:function(){this.localShow&&!this.noCloseOnBackdrop&&this.hide()},onTopTrapFocus:function(){var e=zm(this.$refs.content);this.enforceFocus(e.reverse()[0])},onBottomTrapFocus:function(){var e=zm(this.$refs.content);this.enforceFocus(e[0])},onBeforeEnter:function(){this.$_returnFocusEl=Aa(Je?[document.body]:[]),this.isOpen=!0},onAfterEnter:function(e){Rt(e,Aa())||this.enforceFocus(e),this.$emit(Ar)},onAfterLeave:function(){this.enforceFocus(this.$_returnFocusEl),this.$_returnFocusEl=null,this.isOpen=!1,this.$emit(Pt)},enforceFocus:function(e){this.noEnforceFocus||we(e)}},render:function(e){var r,n=this.bgVariant,i=this.width,a=this.textVariant,o=this.localShow,s=this.shadow===""?!0:this.shadow,l=e(this.tag,{staticClass:ku,class:[(r={shadow:s===!0},xi(r,"shadow-".concat(s),s&&s!==!0),xi(r,"".concat(ku,"-right"),this.right),xi(r,"bg-".concat(n),n),xi(r,"text-".concat(a),a),r),this.sidebarClass],style:{width:i},attrs:this.computedAttrs,directives:[{name:"show",value:o}],ref:"content"},[a6(e,this)]);l=e("transition",{props:this.transitionProps,on:{beforeEnter:this.onBeforeEnter,afterEnter:this.onAfterEnter,afterLeave:this.onAfterLeave}},[l]);var u=e(Io,{props:{noFade:this.noSlide}},[o6(e,this)]),f=e(),d=e();return this.backdrop&&o&&(f=e("div",{attrs:{tabindex:"0"},on:{focus:this.onTopTrapFocus}}),d=e("div",{attrs:{tabindex:"0"},on:{focus:this.onBottomTrapFocus}})),e("div",{staticClass:"b-sidebar-outer",style:{zIndex:this.zIndex},attrs:{tabindex:"-1"},on:{keydown:this.onKeydown}},[f,l,d,u])}}),l6=ae({components:{BSidebar:s6},plugins:{VBTogglePlugin:Xb}});function Dv(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var u6=z({animation:c(g,"wave"),height:c(g),size:c(g),type:c(g,"text"),variant:c(g),width:c(g)},eA),Dd=I({name:eA,functional:!0,props:u6,render:function(e,r){var n,i=r.data,a=r.props,o=a.size,s=a.animation,l=a.variant;return e("div",oe(i,{staticClass:"b-skeleton",style:{width:o||a.width,height:o||a.height},class:(n={},Dv(n,"b-skeleton-".concat(a.type),!0),Dv(n,"b-skeleton-animate-".concat(s),s),Dv(n,"bg-".concat(l),l),n)}))}});function jP(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function VP(t){for(var e=1;e0}}});function HP(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function v6(t){for(var e=1;e0?e:null},KP=function(e){return Ge(e)||Tg(e)>0},gx=z({colspan:c(re,null,KP),rowspan:c(re,null,KP),stackedHeading:c(g),stickyColumn:c(_,!1),variant:c(g)},sA),Hs=I({name:sA,mixins:[Vt,Zi,ve],inject:{getBvTableTr:{default:function(){return function(){return{}}}}},inheritAttrs:!1,props:gx,computed:{bvTableTr:function(){return this.getBvTableTr()},tag:function(){return"td"},inTbody:function(){return this.bvTableTr.inTbody},inThead:function(){return this.bvTableTr.inThead},inTfoot:function(){return this.bvTableTr.inTfoot},isDark:function(){return this.bvTableTr.isDark},isStacked:function(){return this.bvTableTr.isStacked},isStackedCell:function(){return this.inTbody&&this.isStacked},isResponsive:function(){return this.bvTableTr.isResponsive},isStickyHeader:function(){return this.bvTableTr.isStickyHeader},hasStickyHeader:function(){return this.bvTableTr.hasStickyHeader},isStickyColumn:function(){return!this.isStacked&&(this.isResponsive||this.hasStickyHeader)&&this.stickyColumn},rowVariant:function(){return this.bvTableTr.variant},headVariant:function(){return this.bvTableTr.headVariant},footVariant:function(){return this.bvTableTr.footVariant},tableVariant:function(){return this.bvTableTr.tableVariant},computedColspan:function(){return Tg(this.colspan)},computedRowspan:function(){return Tg(this.rowspan)},cellClasses:function(){var e=this.variant,r=this.headVariant,n=this.isStickyColumn;return(!e&&this.isStickyHeader&&!r||!e&&n&&this.inTfoot&&!this.footVariant||!e&&n&&this.inThead&&!r||!e&&n&&this.inTbody)&&(e=this.rowVariant||this.tableVariant||"b-table-default"),[e?"".concat(this.isDark?"bg":"table","-").concat(e):null,n?"b-table-sticky-column":null]},cellAttrs:function(){var e=this.stackedHeading,r=this.inThead||this.inTfoot,n=this.computedColspan,i=this.computedRowspan,a="cell",o=null;return r?(a="columnheader",o=n>0?"colspan":"col"):wi(this.tag,"th")&&(a="rowheader",o=i>0?"rowgroup":"row"),WP(WP({colspan:n,rowspan:i,role:a,scope:o},this.bvAttrs),{},{"data-label":this.isStackedCell&&!Ge(e)?ce(e):null})}},render:function(e){var r=[this.normalizeSlot()];return e(this.tag,{class:this.cellClasses,attrs:this.cellAttrs,on:this.bvListeners},[this.isStackedCell?e("div",[r]):r])}});function O6(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var by="busy",_6=Ia+by,bx=O6({},by,c(_,!1)),w6=I({props:bx,data:function(){return{localBusy:!1}},computed:{computedBusy:function(){return this[by]||this.localBusy}},watch:{localBusy:function(e,r){e!==r&&this.$emit(_6,e)}},methods:{stopIfBusy:function(e){return this.computedBusy?(_e(e),!0):!1},renderBusy:function(){var e=this.tbodyTrClass,r=this.tbodyTrAttr,n=this.$createElement;return this.computedBusy&&this.hasNormalizedSlot(Yl)?n(qi,{staticClass:"b-table-busy-slot",class:[se(e)?e(null,Yl):e],attrs:se(r)?r(null,Yl):r,key:"table-busy-slot"},[n(Hs,{props:{colspan:this.computedFields.length||null}},[this.normalizeSlot(Yl)])]):null}}}),yy={caption:c(g),captionHtml:c(g)},yx=I({props:yy,computed:{captionId:function(){return this.isStacked?this.safeId("_caption_"):null}},methods:{renderCaption:function(){var e=this.caption,r=this.captionHtml,n=this.$createElement,i=n(),a=this.hasNormalizedSlot(Y_);return(a||e||r)&&(i=n("caption",{attrs:{id:this.captionId},domProps:a?{}:dt(r,e),key:"caption",ref:"caption"},this.normalizeSlot(Y_))),i}}}),Ox={},_x=I({methods:{renderColgroup:function(){var e=this.computedFields,r=this.$createElement,n=r();return this.hasNormalizedSlot(q_)&&(n=r("colgroup",{key:"colgroup"},[this.normalizeSlot(q_,{columns:e.length,fields:e})])),n}}}),wx={emptyFilteredHtml:c(g),emptyFilteredText:c(g,"There are no records matching your request"),emptyHtml:c(g),emptyText:c(g,"There are no records to show"),showEmpty:c(_,!1)},T6=I({props:wx,methods:{renderEmpty:function(){var e=Tt(this),r=e.computedItems,n=e.computedBusy,i=this.$createElement,a=i();if(this.showEmpty&&(!r||r.length===0)&&!(n&&this.hasNormalizedSlot(Yl))){var o=this.computedFields,s=this.isFiltered,l=this.emptyText,u=this.emptyHtml,f=this.emptyFilteredText,d=this.emptyFilteredHtml,p=this.tbodyTrClass,h=this.tbodyTrAttr;a=this.normalizeSlot(s?Wj:IA,{emptyFilteredHtml:d,emptyFilteredText:f,emptyHtml:u,emptyText:l,fields:o,items:r}),a||(a=i("div",{class:["text-center","my-2"],domProps:s?dt(d,f):dt(u,l)})),a=i(Hs,{props:{colspan:o.length||null}},[i("div",{attrs:{role:"alert","aria-live":"polite"}},[a])]),a=i(qi,{staticClass:"b-table-empty-row",class:[se(p)?p(null,"row-empty"):p],attrs:se(h)?h(null,"row-empty"):h,key:s?"b-empty-filtered-row":"b-empty-row"},[a])}return a}}}),Sg=function t(e){return Ge(e)?"":St(e)&&!xs(e)?ge(e).sort().map(function(r){return t(e[r])}).filter(function(r){return!!r}).join(" "):ce(e)};function YP(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function qP(t){for(var e=1;e3&&arguments[3]!==void 0?arguments[3]:{},a=ge(i).reduce(function(s,l){var u=i[l],f=u.filterByFormatted,d=se(f)?f:f?u.formatter:null;return se(d)&&(s[l]=d(e[l],l,e)),s},Na(e)),o=ge(a).filter(function(s){return!Sx[s]&&!(He(r)&&r.length>0&&he(r,s))&&!(He(n)&&n.length>0&&!he(n,s))});return Zn(a,o)},P6=function(e,r,n,i){return St(e)?Sg(Eg(e,r,n,i)):""};function E6(t){return D6(t)||A6(t)||C6(t)||$6()}function $6(){throw new TypeError(`Invalid attempt to spread non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function C6(t,e){if(!!t){if(typeof t=="string")return $g(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if(r==="Object"&&t.constructor&&(r=t.constructor.name),r==="Map"||r==="Set")return Array.from(t);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return $g(t,e)}}function A6(t){if(typeof Symbol<"u"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function D6(t){if(Array.isArray(t))return $g(t)}function $g(t,e){(e==null||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r0&&jt(R6,Ao),e},localFiltering:function(){return this.hasProvider?!!this.noProviderFiltering:!0},filteredCheck:function(){var e=this.filteredItems,r=this.localItems,n=this.localFilter;return{filteredItems:e,localItems:r,localFilter:n}},localFilterFn:function(){var e=this.filterFunction;return yi(e)?e:null},filteredItems:function(){var e=this.localItems,r=this.localFilter,n=this.localFiltering?this.filterFnFactory(this.localFilterFn,r)||this.defaultFilterFnFactory(r):null;return n&&e.length>0?e.filter(n):e}},watch:{computedFilterDebounce:function(e){!e&&this.$_filterTimer&&(this.clearFilterTimer(),this.localFilter=this.filterSanitize(this.filter))},filter:{deep:!0,handler:function(e){var r=this,n=this.computedFilterDebounce;this.clearFilterTimer(),n&&n>0?this.$_filterTimer=setTimeout(function(){r.localFilter=r.filterSanitize(e)},n):this.localFilter=this.filterSanitize(e)}},filteredCheck:function(e){var r=e.filteredItems,n=e.localFilter,i=!1;n?je(n,[])||je(n,{})?i=!1:n&&(i=!0):i=!1,i&&this.$emit(Fm,r,r.length),this.isFiltered=i},isFiltered:function(e,r){if(e===!1&&r===!0){var n=this.localItems;this.$emit(Fm,n,n.length)}}},created:function(){var e=this;this.$_filterTimer=null,this.$nextTick(function(){e.isFiltered=Boolean(e.localFilter)})},beforeDestroy:function(){this.clearFilterTimer()},methods:{clearFilterTimer:function(){clearTimeout(this.$_filterTimer),this.$_filterTimer=null},filterSanitize:function(e){return this.localFiltering&&!this.localFilterFn&&!(De(e)||C_(e))?"":Nn(e)},filterFnFactory:function(e,r){if(!e||!se(e)||!r||je(r,[])||je(r,{}))return null;var n=function(a){return e(a,r)};return n},defaultFilterFnFactory:function(e){var r=this;if(!e||!(De(e)||C_(e)))return null;var n=e;if(De(n)){var i=Ib(e).replace(b1,"\\s+");n=new RegExp(".*".concat(i,".*"),"i")}var a=function(s){return n.lastIndex=0,n.test(P6(s,r.computedFilterIgnored,r.computedFilterIncluded,r.computedFieldsObj))};return a}}}),M6=function(e,r){var n=null;return De(r)?n={key:e,label:r}:se(r)?n={key:e,formatter:r}:St(r)?(n=Na(r),n.key=n.key||e):r!==!1&&(n={key:e}),n},N6=function(e,r){var n=[];if(He(e)&&e.filter(pe).forEach(function(o){if(De(o))n.push({key:o,label:ff(o)});else if(St(o)&&o.key&&De(o.key))n.push(Na(o));else if(St(o)&&ge(o).length===1){var s=ge(o)[0],l=M6(s,o[s]);l&&n.push(l)}}),n.length===0&&He(r)&&r.length>0){var i=r[0];ge(i).forEach(function(o){Sx[o]||n.push({key:o,label:ff(o)})})}var a={};return n.filter(function(o){return a[o.key]?!1:(a[o.key]=!0,o.label=De(o.label)?o.label:ff(o.key),!0)})};function XP(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function JP(t){for(var e=1;e0&&e.some(pe)},selectableIsMultiSelect:function(){return this.isSelectable&&he(["range","multi"],this.selectMode)},selectableTableClasses:function(){var e,r=this.isSelectable;return e={"b-table-selectable":r},Wc(e,"b-table-select-".concat(this.selectMode),r),Wc(e,"b-table-selecting",this.selectableHasSelection),Wc(e,"b-table-selectable-no-click",r&&!this.hasSelectableRowClick),e},selectableTableAttrs:function(){if(!this.isSelectable)return{};var e=this.bvAttrs.role||QP;return{role:e,"aria-multiselectable":e===QP?ce(this.selectableIsMultiSelect):null}}},watch:{computedItems:function(e,r){var n=!1;if(this.isSelectable&&this.selectedRows.length>0){n=He(e)&&He(r)&&e.length===r.length;for(var i=0;n&&i=0&&e0&&(this.selectedLastClicked=-1,this.selectedRows=this.selectableIsMultiSelect?du(e,!0):[!0])},isRowSelected:function(e){return!!(Kn(e)&&this.selectedRows[e])},clearSelected:function(){this.selectedLastClicked=-1,this.selectedRows=[]},selectableRowClasses:function(e){if(this.isSelectable&&this.isRowSelected(e)){var r=this.selectedVariant;return Wc({"b-table-row-selected":!0},"".concat(this.dark?"bg":"table","-").concat(r),r)}return{}},selectableRowAttrs:function(e){return{"aria-selected":this.isSelectable?this.isRowSelected(e)?"true":"false":null}},setSelectionHandlers:function(e){var r=e&&!this.noSelectOnClick?"$on":"$off";this[r](ad,this.selectionHandler),this[r](Fm,this.clearSelected),this[r](yA,this.clearSelected)},selectionHandler:function(e,r,n){if(!this.isSelectable||this.noSelectOnClick){this.clearSelected();return}var i=this.selectMode,a=this.selectedLastRow,o=this.selectedRows.slice(),s=!o[r];if(i==="single")o=[];else if(i==="range")if(a>-1&&n.shiftKey){for(var l=Fi(a,r);l<=Fe(a,r);l++)o[l]=!0;s=!0}else n.ctrlKey||n.metaKey||(o=[],s=!0),s&&(this.selectedLastRow=r);o[r]=s,this.selectedRows=o}}}),Rx=function(e,r){return e.map(function(n,i){return[i,n]}).sort(function(n,i){return this(n[1],i[1])||n[0]-i[0]}.bind(r)).map(function(n){return n[1]})},eE=function(e){return Ge(e)?"":cu(e)?Ee(e,e):e},U6=function(e,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},i=n.sortBy,a=i===void 0?null:i,o=n.formatter,s=o===void 0?null:o,l=n.locale,u=l===void 0?void 0:l,f=n.localeOptions,d=f===void 0?{}:f,p=n.nullLast,h=p===void 0?!1:p,b=ur(e,a,null),y=ur(r,a,null);return se(s)&&(b=s(b,a,e),y=s(y,a,r)),b=eE(b),y=eE(y),xs(b)&&xs(y)||Kn(b)&&Kn(y)?by?1:0:h&&b===""&&y!==""?1:h&&b!==""&&y===""?-1:Sg(b).localeCompare(Sg(y),u,d)},si,ss;function tE(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function rE(t){for(var e=1;e0&&!s,[o,{"table-striped":this.striped,"table-hover":r,"table-dark":this.dark,"table-bordered":this.bordered,"table-borderless":this.borderless,"table-sm":this.small,border:this.outlined,"b-table-fixed":this.fixed,"b-table-caption-top":this.captionTop,"b-table-no-border-collapse":this.noBorderCollapse},n?"".concat(this.dark?"bg":"table","-").concat(n):"",a,i]},tableAttrs:function(){var e=Tt(this),r=e.computedItems,n=e.filteredItems,i=e.computedFields,a=e.selectableTableAttrs,o=e.computedBusy,s=this.isTableSimple?{}:{"aria-busy":ce(o),"aria-colcount":ce(i.length),"aria-describedby":this.bvAttrs["aria-describedby"]||this.$refs.caption?this.captionId:null},l=r&&n&&n.length>r.length?ce(n.length):null;return Rv(Rv(Rv({"aria-rowcount":l},this.bvAttrs),{},{id:this.safeId(),role:this.bvAttrs.role||"table"},s),a)}},render:function(e){var r=Tt(this),n=r.wrapperClasses,i=r.renderCaption,a=r.renderColgroup,o=r.renderThead,s=r.renderTbody,l=r.renderTfoot,u=[];this.isTableSimple?u.push(this.normalizeSlot()):(u.push(i?i():null),u.push(a?a():null),u.push(o?o():null),u.push(s?s():null),u.push(l?l():null));var f=e("table",{staticClass:"table b-table",class:this.tableClasses,attrs:this.tableAttrs,key:"b-table"},u.filter(pe));return n.length>0?e("div",{class:n,style:this.wrapperStyles,key:"wrap"},[f]):f}});function iE(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function xv(t){for(var e=1;e0&&arguments[0]!==void 0?arguments[0]:document,r=N2();return r&&r.toString().trim()!==""&&r.containsNode&&et(e)?r.containsNode(e,!0):!1},eW=z(gx,pA),Ty=I({name:pA,extends:Hs,props:eW,computed:{tag:function(){return"th"}}});function aE(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function jl(t){for(var e=1;et.length)&&(e=t.length);for(var r=0,n=new Array(e);r0&&(B=String((l-1)*u+r+1));var D=ce(ur(e,s))||null,V=D||ce(r),N=D?this.safeId("_row_".concat(D)):null,G=Tt(this).selectableRowClasses?this.selectableRowClasses(r):{},H=Tt(this).selectableRowAttrs?this.selectableRowAttrs(r):{},W=se(f)?f(e,"row"):f,j=se(d)?d(e,"row"):d;if(C.push(h(qi,Ix({class:[W,G,y?"b-table-has-details":""],props:{variant:e[Pg]||null},attrs:jl(jl({id:N},j),{},{tabindex:P?"0":null,"data-pk":D||null,"aria-details":R,"aria-owns":R,"aria-rowindex":B},H),on:{mouseenter:this.rowHovered,mouseleave:this.rowUnhovered},key:"__b-table-row-".concat(V,"__"),ref:"item-rows"},Pb,!0),A)),y){var E={item:e,index:r,fields:a,toggleDetails:this.toggleDetailsFactory(b,e)};Tt(this).supportsSelectableRows&&(E.rowSelected=this.isRowSelected(r),E.selectRow=function(){return n.selectRow(r)},E.unselectRow=function(){return n.unselectRow(r)});var v=h(Hs,{props:{colspan:a.length},class:this.detailsTdClass},[this.normalizeSlot($l,E)]);o&&C.push(h("tr",{staticClass:"d-none",attrs:{"aria-hidden":"true",role:"presentation"},key:"__b-table-details-stripe__".concat(V)}));var w=se(this.tbodyTrClass)?this.tbodyTrClass(e,$l):this.tbodyTrClass,$=se(this.tbodyTrAttr)?this.tbodyTrAttr(e,$l):this.tbodyTrAttr;C.push(h(qi,{staticClass:"b-table-details",class:[w],props:{variant:e[Pg]||null},attrs:jl(jl({},$),{},{id:R,tabindex:"-1"}),key:"__b-table-details__".concat(V)},[v]))}else b&&(C.push(h()),o&&C.push(h()));return C}}});function oE(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function Mv(t){for(var e=1;e0&&n&&n.length>0?Do(r.children).filter(function(i){return he(n,i)}):[]},getTbodyTrIndex:function(e){if(!et(e))return-1;var r=e.tagName==="TR"?e:Jr("tr",e,!0);return r?this.getTbodyTrs().indexOf(r):-1},emitTbodyRowEvent:function(e,r){if(e&&this.hasListener(e)&&r&&r.target){var n=this.getTbodyTrIndex(r.target);if(n>-1){var i=this.computedItems[n];this.$emit(e,i,n,r)}}},tbodyRowEventStopped:function(e){return this.stopIfBusy&&this.stopIfBusy(e)},onTbodyRowKeydown:function(e){var r=e.target,n=e.keyCode;if(!(this.tbodyRowEventStopped(e)||r.tagName!=="TR"||!Bb(r)||r.tabIndex!==0)){if(he([Ji,Ti],n))_e(e),this.onTBodyRowClicked(e);else if(he([Zr,Rr,Ra,Da],n)){var i=this.getTbodyTrIndex(r);if(i>-1){_e(e);var a=this.getTbodyTrs(),o=e.shiftKey;n===Ra||o&&n===Zr?we(a[0]):n===Da||o&&n===Rr?we(a[a.length-1]):n===Zr&&i>0?we(a[i-1]):n===Rr&&it.length)&&(e=t.length);for(var r=0,n=new Array(e);r0&&arguments[0]!==void 0?arguments[0]:!1,n=Tt(this),i=n.computedFields,a=n.isSortable,o=n.isSelectable,s=n.headVariant,l=n.footVariant,u=n.headRowVariant,f=n.footRowVariant,d=this.$createElement;if(this.isStackedAlways||i.length===0)return d();var p=a||this.hasListener(fu),h=o?this.selectAllRows:Nu,b=o?this.clearSelected:Nu,y=function(B,D){var V=B.label,N=B.labelHtml,G=B.variant,H=B.stickyColumn,W=B.key,j=null;!B.label.trim()&&!B.headerTitle&&(j=ff(B.key));var E={};p&&(E.click=function(K){e.headClicked(K,B,r)},E.keydown=function(K){var U=K.keyCode;(U===Ji||U===Ti)&&e.headClicked(K,B,r)});var v=a?e.sortTheadThAttrs(W,B,r):{},w=a?e.sortTheadThClasses(W,B,r):null,$=a?e.sortTheadThLabel(W,B,r):null,M={class:[{"position-relative":$},e.fieldClasses(B),w],props:{variant:G,stickyColumn:H},style:B.thStyle||{},attrs:fE(fE({tabindex:p&&B.sortable?"0":null,abbr:B.headerAbbr||null,title:B.headerTitle||null,"aria-colindex":D+1,"aria-label":j},e.getThValues(null,W,B.thAttr,r?"foot":"head",{})),v),on:E,key:W},F=[Iv(W),Iv(W.toLowerCase()),Iv()];r&&(F=[Bv(W),Bv(W.toLowerCase()),Bv()].concat(pW(F)));var X={label:V,column:W,field:B,isFoot:r,selectAllRows:h,clearSelected:b},Q=e.normalizeSlot(F,X)||d("div",{domProps:dt(N,V)}),q=$?d("span",{staticClass:"sr-only"}," (".concat($,")")):null;return d(Ty,M,[Q,q].filter(pe))},P=i.map(y).filter(pe),C=[];if(r)C.push(d(qi,{class:this.tfootTrClass,props:{variant:Ge(f)?u:f}},P));else{var R={columns:i.length,fields:i,selectAllRows:h,clearSelected:b};C.push(this.normalizeSlot(T2,R)||d()),C.push(d(qi,{class:this.theadTrClass,props:{variant:u}},P))}return d(r?Py:Fx,{class:(r?this.tfootClass:this.theadClass)||null,props:r?{footVariant:l||s||null}:{headVariant:s||null},key:r?"bv-tfoot":"bv-thead"},C)}}}),yW={},OW=I({methods:{renderTopRow:function(){var e=this.computedFields,r=this.stacked,n=this.tbodyTrClass,i=this.tbodyTrAttr,a=this.$createElement;return!this.hasNormalizedSlot(X_)||r===!0||r===""?a():a(qi,{staticClass:"b-table-top-row",class:[se(n)?n(null,"row-top"):n],attrs:se(i)?i(null,"row-top"):i,key:"b-top-row"},[this.normalizeSlot(X_,{columns:e.length,fields:e})])}}});function dE(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function Yt(t){for(var e=1;e0},NW=z({animation:c(g),columns:c(mr,5,mE),hideHeader:c(_,!1),rows:c(mr,3,mE),showFooter:c(_,!1),tableProps:c(Mt,{})},nA),IW=I({name:nA,functional:!0,props:NW,render:function(e,r){var n=r.data,i=r.props,a=i.animation,o=i.columns,s=e("th",[e(Dd,{props:{animation:a}})]),l=e("tr",du(o,s)),u=e("td",[e(Dd,{props:{width:"75%",animation:a}})]),f=e("tr",du(o,u)),d=e("tbody",du(i.rows,f)),p=i.hideHeader?e():e("thead",[l]),h=i.showFooter?e("tfoot",[l]):e();return e(Vx,oe(n,{props:xW({},i.tableProps)}),[p,d,h])}}),BW=z({loading:c(_,!1)},iA),kW=I({name:iA,functional:!0,props:BW,render:function(e,r){var n=r.data,i=r.props,a=r.slots,o=r.scopedSlots,s=a(),l=o||{},u={};return i.loading?e("div",oe(n,{attrs:{role:"alert","aria-live":"polite","aria-busy":!0},staticClass:"b-skeleton-wrapper",key:"loading"}),rr(n2,u,l,s)):rr(kt,u,l,s)}}),LW=ae({components:{BSkeleton:Dd,BSkeletonIcon:f6,BSkeletonImg:h6,BSkeletonTable:IW,BSkeletonWrapper:kW}}),FW=ae({components:{BSpinner:tx}}),ls;function gE(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function Es(t){for(var e=1;e0&&arguments[0]!==void 0?arguments[0]:!0;if(this.$_observer&&this.$_observer.disconnect(),this.$_observer=null,r){var n=function(){e.$nextTick(function(){We(function(){e.updateTabs()})})};this.$_observer=Iu(this.$refs.content,n,{childList:!0,subtree:!1,attributes:!0,attributeFilter:["id"]})}},getTabs:function(){var e=this.registeredTabs,r=[];if(Je&&e.length>0){var n=e.map(function(i){return"#".concat(i.safeId())}).join(", ");r=yn(n,this.$el).map(function(i){return i.id}).filter(pe)}return Rx(e,function(i,a){return r.indexOf(i.safeId())-r.indexOf(a.safeId())})},updateTabs:function(){var e=this.getTabs(),r=e.indexOf(e.slice().reverse().find(function(i){return i.localActive&&!i.disabled}));if(r<0){var n=this.currentTab;n>=e.length?r=e.indexOf(e.slice().reverse().find(Za)):e[n]&&!e[n].disabled&&(r=n)}r<0&&(r=e.indexOf(e.find(Za))),e.forEach(function(i,a){i.localActive=a===r}),this.tabs=e,this.currentTab=r},getButtonForTab:function(e){return(this.$refs.buttons||[]).find(function(r){return r.tab===e})},updateButton:function(e){var r=this.getButtonForTab(e);r&&r.$forceUpdate&&r.$forceUpdate()},activateTab:function(e){var r=this.currentTab,n=this.tabs,i=!1;if(e){var a=n.indexOf(e);if(a!==r&&a>-1&&!e.disabled){var o=new ko(cj,{cancelable:!0,vueTarget:this,componentId:this.safeId()});this.$emit(o.type,a,r,o),o.defaultPrevented||(this.currentTab=a,i=!0)}}return!i&&this[Lv]!==r&&this.$emit(bE,r),i},deactivateTab:function(e){return e?this.activateTab(this.tabs.filter(function(r){return r!==e}).find(Za)):!1},focusButton:function(e){var r=this;this.$nextTick(function(){we(r.getButtonForTab(e))})},emitTabClick:function(e,r){Po(r)&&e&&e.$emit&&!e.disabled&&e.$emit(Ln,r)},clickTab:function(e,r){this.activateTab(e),this.emitTabClick(e,r)},firstTab:function(e){var r=this.tabs.find(Za);this.activateTab(r)&&e&&(this.focusButton(r),this.emitTabClick(r,e))},previousTab:function(e){var r=Fe(this.currentTab,0),n=this.tabs.slice(0,r).reverse().find(Za);this.activateTab(n)&&e&&(this.focusButton(n),this.emitTabClick(n,e))},nextTab:function(e){var r=Fe(this.currentTab,-1),n=this.tabs.slice(r+1).find(Za);this.activateTab(n)&&e&&(this.focusButton(n),this.emitTabClick(n,e))},lastTab:function(e){var r=this.tabs.slice().reverse().find(Za);this.activateTab(r)&&e&&(this.focusButton(r),this.emitTabClick(r,e))}},render:function(e){var r=this,n=this.align,i=this.card,a=this.end,o=this.fill,s=this.firstTab,l=this.justified,u=this.lastTab,f=this.nextTab,d=this.noKeyNav,p=this.noNavStyle,h=this.pills,b=this.previousTab,y=this.small,P=this.tabs,C=this.vertical,R=P.find(function(H){return H.localActive&&!H.disabled}),A=P.find(function(H){return!H.disabled}),B=P.map(function(H,W){var j,E=H.safeId,v=null;return d||(v=-1,(H===R||!R&&H===A)&&(v=null)),e(HW,Un({props:{controls:E?E():null,id:H.controlledBy||(E?E("_BV_tab_button_"):null),noKeyNav:d,posInSet:W+1,setSize:P.length,tab:H,tabIndex:v},on:(j={},Un(j,Ln,function(w){r.clickTab(H,w)}),Un(j,OA,s),Un(j,$A,b),Un(j,PA,f),Un(j,wA,u),j),key:H[ji]||W,ref:"buttons"},Pb,!0))}),D=e(JR,{class:this.localNavClass,attrs:{role:"tablist",id:this.safeId("_BV_tab_controls_")},props:{fill:o,justified:l,align:n,tabs:!p&&!h,pills:!p&&h,vertical:C,small:y,cardHeader:i&&!C},ref:"nav"},[this.normalizeSlot(_2)||e(),B,this.normalizeSlot(O2)||e()]);D=e("div",{class:[{"card-header":i&&!C&&!a,"card-footer":i&&!C&&a,"col-auto":C},this.navWrapperClass],key:"bv-tabs-nav"},[D]);var V=this.normalizeSlot()||[],N=e();V.length===0&&(N=e("div",{class:["tab-pane","active",{"card-body":i}],key:"bv-empty-tab"},this.normalizeSlot(IA)));var G=e("div",{staticClass:"tab-content",class:[{col:C},this.contentClass],attrs:{id:this.safeId("_BV_tab_container_")},key:"bv-content",ref:"content"},[V,N]);return e(this.tag,{staticClass:"tabs",class:{row:C,"no-gutters":C&&i},attrs:{id:this.safeId()}},[a?G:e(),D,a?e():G])}}),$n,Vl;function yE(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function OE(t){for(var e=1;e1&&arguments[1]!==void 0?arguments[1]:{};return t.reduce(function(r,n){var i=n.passengers[0],a=typeof i=="function"?i(e):n.passengers;return r.concat(a)},[])}function r7(t,e){return t.map(function(r,n){return[n,r]}).sort(function(r,n){return e(r[1],n[1])||r[0]-n[0]}).map(function(r){return r[1]})}function wE(t,e){return e.reduce(function(r,n){return t.hasOwnProperty(n)&&(r[n]=t[n]),r},{})}var Hx={},n7={},i7={},a7=ye.extend({data:function(){return{transports:Hx,targets:n7,sources:i7,trackInstances:Kc}},methods:{open:function(e){if(!!Kc){var r=e.to,n=e.from,i=e.passengers,a=e.order,o=a===void 0?1/0:a;if(!(!r||!n||!i)){var s={to:r,from:n,passengers:e7(i),order:o},l=Object.keys(this.transports);l.indexOf(r)===-1&&ye.set(this.transports,r,[]);var u=this.$_getTransportIndex(s),f=this.transports[r].slice(0);u===-1?f.push(s):f[u]=s,this.transports[r]=r7(f,function(d,p){return d.order-p.order})}}},close:function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n=e.to,i=e.from;if(!(!n||!i&&r===!1)&&!!this.transports[n])if(r)this.transports[n]=[];else{var a=this.$_getTransportIndex(e);if(a>=0){var o=this.transports[n].slice(0);o.splice(a,1),this.transports[n]=o}}},registerTarget:function(e,r,n){!Kc||(this.trackInstances&&!n&&this.targets[e]&&console.warn("[portal-vue]: Target ".concat(e," already exists")),this.$set(this.targets,e,Object.freeze([r])))},unregisterTarget:function(e){this.$delete(this.targets,e)},registerSource:function(e,r,n){!Kc||(this.trackInstances&&!n&&this.sources[e]&&console.warn("[portal-vue]: source ".concat(e," already exists")),this.$set(this.sources,e,Object.freeze([r])))},unregisterSource:function(e){this.$delete(this.sources,e)},hasTarget:function(e){return!!(this.targets[e]&&this.targets[e][0])},hasSource:function(e){return!!(this.sources[e]&&this.sources[e][0])},hasContentFor:function(e){return!!this.transports[e]&&!!this.transports[e].length},$_getTransportIndex:function(e){var r=e.to,n=e.from;for(var i in this.transports[r])if(this.transports[r][i].from===n)return+i;return-1}}}),mn=new a7(Hx),o7=1,zx=ye.extend({name:"portal",props:{disabled:{type:Boolean},name:{type:String,default:function(){return String(o7++)}},order:{type:Number,default:0},slim:{type:Boolean},slotProps:{type:Object,default:function(){return{}}},tag:{type:String,default:"DIV"},to:{type:String,default:function(){return String(Math.round(Math.random()*1e7))}}},created:function(){var e=this;this.$nextTick(function(){mn.registerSource(e.name,e)})},mounted:function(){this.disabled||this.sendUpdate()},updated:function(){this.disabled?this.clear():this.sendUpdate()},beforeDestroy:function(){mn.unregisterSource(this.name),this.clear()},watch:{to:function(e,r){r&&r!==e&&this.clear(r),this.sendUpdate()}},methods:{clear:function(e){var r={from:this.name,to:e||this.to};mn.close(r)},normalizeSlots:function(){return this.$scopedSlots.default?[this.$scopedSlots.default]:this.$slots.default},normalizeOwnChildren:function(e){return typeof e=="function"?e(this.slotProps):e},sendUpdate:function(){var e=this.normalizeSlots();if(e){var r={from:this.name,to:this.to,passengers:XW(e),order:this.order};mn.open(r)}else this.clear()}},render:function(e){var r=this.$slots.default||this.$scopedSlots.default||[],n=this.tag;return r&&this.disabled?r.length<=1&&this.slim?this.normalizeOwnChildren(r)[0]:e(n,[this.normalizeOwnChildren(r)]):this.slim?e():e(n,{class:{"v-portal":!0},style:{display:"none"},key:"v-portal-placeholder"})}}),Ux=ye.extend({name:"portalTarget",props:{multiple:{type:Boolean,default:!1},name:{type:String,required:!0},slim:{type:Boolean,default:!1},slotProps:{type:Object,default:function(){return{}}},tag:{type:String,default:"div"},transition:{type:[String,Object,Function]}},data:function(){return{transports:mn.transports,firstRender:!0}},created:function(){var e=this;this.$nextTick(function(){mn.registerTarget(e.name,e)})},watch:{ownTransports:function(){this.$emit("change",this.children().length>0)},name:function(e,r){mn.unregisterTarget(r),mn.registerTarget(e,this)}},mounted:function(){var e=this;this.transition&&this.$nextTick(function(){e.firstRender=!1})},beforeDestroy:function(){mn.unregisterTarget(this.name)},computed:{ownTransports:function(){var e=this.transports[this.name]||[];return this.multiple?e:e.length===0?[]:[e[e.length-1]]},passengers:function(){return t7(this.ownTransports,this.slotProps)}},methods:{children:function(){return this.passengers.length!==0?this.passengers:this.$scopedSlots.default?this.$scopedSlots.default(this.slotProps):this.$slots.default||[]},noWrapper:function(){var e=this.slim&&!this.transition;return e&&this.children().length>1&&console.warn("[portal-vue]: PortalTarget with `slim` option received more than one child element."),e}},render:function(e){var r=this.noWrapper(),n=this.children(),i=this.transition||this.tag;return r?n[0]:this.slim&&!i?e():e(i,{props:{tag:this.transition&&this.tag?this.tag:void 0},class:{"vue-portal-target":!0}},n)}}),s7=0,l7=["disabled","name","order","slim","slotProps","tag","to"],u7=["multiple","transition"];ye.extend({name:"MountingPortal",inheritAttrs:!1,props:{append:{type:[Boolean,String]},bail:{type:Boolean},mountTo:{type:String,required:!0},disabled:{type:Boolean},name:{type:String,default:function(){return"mounted_"+String(s7++)}},order:{type:Number,default:0},slim:{type:Boolean},slotProps:{type:Object,default:function(){return{}}},tag:{type:String,default:"DIV"},to:{type:String,default:function(){return String(Math.round(Math.random()*1e7))}},multiple:{type:Boolean,default:!1},targetSlim:{type:Boolean},targetSlotProps:{type:Object,default:function(){return{}}},targetTag:{type:String,default:"div"},transition:{type:[String,Object,Function]}},created:function(){if(!(typeof document>"u")){var e=document.querySelector(this.mountTo);if(!e){console.error("[portal-vue]: Mount Point '".concat(this.mountTo,"' not found in document"));return}var r=this.$props;if(mn.targets[r.name]){r.bail?console.warn("[portal-vue]: Target ".concat(r.name,` is already mounted. - Aborting because 'bail: true' is set`)):this.portalTarget=mn.targets[r.name];return}var n=r.append;if(n){var i=typeof n=="string"?n:"DIV",a=document.createElement(i);e.appendChild(a),e=a}var o=wE(this.$props,u7);o.slim=this.targetSlim,o.tag=this.targetTag,o.slotProps=this.targetSlotProps,o.name=this.to,this.portalTarget=new Ux({el:e,parent:this.$parent||this,propsData:o})}},beforeDestroy:function(){var e=this.portalTarget;if(this.append){var r=e.$el;r.parentNode.removeChild(r)}e.$destroy()},render:function(e){if(!this.portalTarget)return console.warn("[portal-vue] Target wasn't mounted"),e();if(!this.$scopedSlots.manual){var r=wE(this.$props,l7);return e(zx,{props:r,attrs:this.$attrs,on:this.$listeners,scopedSlots:this.$scopedSlots},this.$slots.default)}var n=this.$scopedSlots.manual({to:this.to});return Array.isArray(n)&&(n=n[0]),n||e()}});var c7=I({mixins:[ve],data:function(){return{name:"b-toaster"}},methods:{onAfterEnter:function(e){var r=this;We(function(){hr(e,"".concat(r.name,"-enter-to"))})}},render:function(e){return e("transition-group",{props:{tag:"div",name:this.name},on:{afterEnter:this.onAfterEnter}},this.normalizeSlot())}}),f7=z({ariaAtomic:c(g),ariaLive:c(g),name:c(g,void 0,!0),role:c(g)},Ds),Gx=I({name:Ds,mixins:[Qn],props:f7,data:function(){return{doRender:!1,dead:!1,staticName:this.name}},beforeMount:function(){var e=this.name;this.staticName=e,mn.hasTarget(e)?(jt('A "" with name "'.concat(e,'" already exists in the document.'),Ds),this.dead=!0):this.doRender=!0},beforeDestroy:function(){this.doRender&&this.emitOnRoot(gt(Ds,xb),this.name)},destroyed:function(){var e=this.$el;e&&e.parentNode&&e.parentNode.removeChild(e)},render:function(e){var r=e("div",{class:["d-none",{"b-dead-toaster":this.dead}]});if(this.doRender){var n=e(Ux,{staticClass:"b-toaster-slot",props:{name:this.staticName,multiple:!0,tag:"div",slim:!1,transition:c7}});r=e("div",{staticClass:"b-toaster",class:[this.staticName],attrs:{id:this.staticName,role:this.role||null,"aria-live":this.ariaLive,"aria-atomic":this.ariaAtomic}},[n])}return r}}),us;function TE(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function di(t){for(var e=1;e1&&arguments[1]!==void 0?arguments[1]:{};return new ko(e,di(di({cancelable:!1,target:this.$el||null,relatedTarget:null},r),{},{vueTarget:this,componentId:this.safeId()}))},emitEvent:function(e){var r=e.type;this.emitOnRoot(gt(Li,r),e),this.$emit(r,e)},ensureToaster:function(){if(!this.static){var e=this.computedToaster;if(!mn.hasTarget(e)){var r=document.createElement("div");document.body.appendChild(r);var n=ka(this.bvEventRoot,Gx,{propsData:{name:e}});n.$mount(r)}}},startDismissTimer:function(){this.clearDismissTimer(),this.noAutoHide||(this.$_dismissTimer=setTimeout(this.hide,this.resumeDismiss||this.computedDuration),this.dismissStarted=Date.now(),this.resumeDismiss=0)},clearDismissTimer:function(){clearTimeout(this.$_dismissTimer),this.$_dismissTimer=null},setHoverHandler:function(e){var r=this.$refs["b-toast"];qn(e,r,"mouseenter",this.onPause,Ae),qn(e,r,"mouseleave",this.onUnPause,Ae)},onPause:function(){if(!(this.noAutoHide||this.noHoverPause||!this.$_dismissTimer||this.resumeDismiss)){var e=Date.now()-this.dismissStarted;e>0&&(this.clearDismissTimer(),this.resumeDismiss=Fe(this.computedDuration-e,SE))}},onUnPause:function(){if(this.noAutoHide||this.noHoverPause||!this.resumeDismiss){this.resumeDismiss=this.dismissStarted=0;return}this.startDismissTimer()},onLinkClick:function(){var e=this;this.$nextTick(function(){We(function(){e.hide()})})},onBeforeEnter:function(){this.isTransitioning=!0},onAfterEnter:function(){this.isTransitioning=!1;var e=this.buildEvent(Ar);this.emitEvent(e),this.startDismissTimer(),this.setHoverHandler(!0)},onBeforeLeave:function(){this.isTransitioning=!0},onAfterLeave:function(){this.isTransitioning=!1,this.order=0,this.resumeDismiss=this.dismissStarted=0;var e=this.buildEvent(Pt);this.emitEvent(e),this.doRender=!1},makeToast:function(e){var r=this,n=this.title,i=this.slotScope,a=Yu(this),o=[],s=this.normalizeSlot(S2,i);s?o.push(s):n&&o.push(e("strong",{staticClass:"mr-2"},n)),this.noCloseButton||o.push(e(xo,{staticClass:"ml-auto mb-1",on:{click:function(){r.hide()}}}));var l=e();o.length>0&&(l=e(this.headerTag,{staticClass:"toast-header",class:this.headerClass},o));var u=e(a?tn:"div",{staticClass:"toast-body",class:this.bodyClass,props:a?at(Wx,this):{},on:a?{click:this.onLinkClick}:{}},this.normalizeSlot(kt,i));return e("div",{staticClass:"toast",class:this.toastClass,attrs:this.computedAttrs,key:"toast-".concat(this[ji]),ref:"toast"},[l,u])}},render:function(e){if(!this.doRender||!this.isMounted)return e();var r=this.order,n=this.static,i=this.isHiding,a=this.isStatus,o="b-toast-".concat(this[ji]),s=e("div",{staticClass:"b-toast",class:this.toastClasses,attrs:di(di({},n?{}:this.scopedStyleAttrs),{},{id:this.safeId("_toast_outer"),role:i?null:a?"status":"alert","aria-live":i?null:a?"polite":"assertive","aria-atomic":i?null:"true"}),key:o,ref:"b-toast"},[e(Io,{props:{noFade:this.noFade},on:this.transitionHandlers},[this.localShow?this.makeToast(e):e()])]);return e(zx,{props:{name:o,to:this.computedToaster,order:r,slim:!0,disabled:n}},[s])}});function v7(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function PE(t,e){for(var r=0;rt.length)&&(e=t.length);for(var r=0,n=new Array(e);r1&&arguments[1]!==void 0?arguments[1]:{};!s||rd(zl)||n(Hl(Hl({},$E(l)),{},{toastContent:s}),this._vm)}},{key:"show",value:function(s){s&&this._root.$emit(xt(Li,tr),s)}},{key:"hide",value:function(){var s=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null;this._root.$emit(xt(Li,Xr),s)}}]),a}();e.mixin({beforeCreate:function(){this[jv]=new i(this)}}),$o(e.prototype,zl)||Cb(e.prototype,zl,{get:function(){return(!this||!this[jv])&&jt('"'.concat(zl,'" must be accessed from a Vue instance "this" context.'),Li),this[jv]}})},P7=ae({plugins:{plugin:S7}}),E7=ae({components:{BToast:Yx,BToaster:Gx},plugins:{BVToastPlugin:P7}});function CE(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function AE(t){for(var e=1;e=i){var a=this.$targets[this.$targets.length-1];this.$activeTarget!==a&&this.activate(a);return}if(this.$activeTarget&&r0){this.$activeTarget=null,this.clear();return}for(var o=this.$offsets.length;o--;){var s=this.$activeTarget!==this.$targets[o]&&r>=this.$offsets[o]&&(Et(this.$offsets[o+1])||r0&&this.$root&&this.$root.$emit(rK,r,i)}},{key:"clear",value:function(){var r=this;yn("".concat(this.$selector,", ").concat(Uv),this.$el).filter(function(n){return Ru(n,Hv)}).forEach(function(n){return r.setActiveState(n,!1)})}},{key:"setActiveState",value:function(r,n){!r||(n?$r(r,Hv):hr(r,Hv))}}],[{key:"Name",get:function(){return X7}},{key:"Default",get:function(){return iK}},{key:"DefaultType",get:function(){return aK}}]),t}(),uo="__BV_Scrollspy__",lK=/^\d+$/,uK=/^(auto|position|offset)$/,cK=function(e){var r={};return e.arg&&(r.element="#".concat(e.arg)),ge(e.modifiers).forEach(function(n){lK.test(n)?r.offset=ee(n,0):uK.test(n)&&(r.method=n)}),De(e.value)?r.element=e.value:Kn(e.value)?r.offset=Gm(e.value):St(e.value)&&ge(e.value).filter(function(n){return!!Xx.DefaultType[n]}).forEach(function(n){r[n]=e.value[n]}),r},Yc=function(e,r,n){if(!!Je){var i=cK(r);e[uo]?e[uo].updateConfig(i,Oi(gi(n,r))):e[uo]=new Xx(e,i,Oi(gi(n,r)))}},fK=function(e){e[uo]&&(e[uo].dispose(),e[uo]=null,delete e[uo])},dK={bind:function(e,r,n){Yc(e,r,n)},inserted:function(e,r,n){Yc(e,r,n)},update:function(e,r,n){r.value!==r.oldValue&&Yc(e,r,n)},componentUpdated:function(e,r,n){r.value!==r.oldValue&&Yc(e,r,n)},unbind:function(e){fK(e)}},pK=ae({directives:{VBScrollspy:dK}}),hK=ae({directives:{VBVisible:qb}}),vK=ae({plugins:{VBHoverPlugin:G7,VBModalPlugin:W7,VBPopoverPlugin:fx,VBScrollspyPlugin:pK,VBTogglePlugin:Xb,VBTooltipPlugin:qx,VBVisiblePlugin:hK}});/*! - * BootstrapVue 2.23.1 - * - * @link https://bootstrap-vue.org - * @source https://github.com/bootstrap-vue/bootstrap-vue - * @copyright (c) 2016-2022 BootstrapVue - * @license MIT - * https://github.com/bootstrap-vue/bootstrap-vue/blob/master/LICENSE - */var mK="BootstrapVue",gK=S1({plugins:{componentsPlugin:U7,directivesPlugin:vK}}),bK={install:gK,NAME:mK};const yK=bK;function Up(t,e,r,n,i,a,o,s){var l=typeof t=="function"?t.options:t;e&&(l.render=e,l.staticRenderFns=r,l._compiled=!0),n&&(l.functional=!0),a&&(l._scopeId="data-v-"+a);var u;if(o?(u=function(p){p=p||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,!p&&typeof __VUE_SSR_CONTEXT__<"u"&&(p=__VUE_SSR_CONTEXT__),i&&i.call(this,p),p&&p._registeredComponents&&p._registeredComponents.add(o)},l._ssrRegister=u):i&&(u=s?function(){i.call(this,(l.functional?this.parent:this).$root.$options.shadowRoot)}:i),u)if(l.functional){l._injectStyles=u;var f=l.render;l.render=function(h,b){return u.call(b),f(h,b)}}else{var d=l.beforeCreate;l.beforeCreate=d?[].concat(d,u):[u]}return{exports:t,options:l}}const OK={name:"Navigation",components:{BIconGithub:yV},computed:{onMetric(){return this.$store.getters.getMetric}},methods:{changeLang(t){localStorage.setItem("lang",t),this.$i18n.locale=t},checkCurrentLang(t){return this.$i18n.locale==t}},data(){return{i18nPrefix:"_.Navigation.",brandTitle:"CAP Dashboard",languages:[{name:"English",code:"en-us",active:!0},{name:"\u7B80\u4F53\u4E2D\u6587",code:"zh-cn",active:!1}],menus:[{name:"Published",path:"/published",variant:"danger",badge:"publishedFailed"},{name:"Received",path:"/received",variant:"danger",badge:"receivedFailed"},{name:"Subscriber",path:"/subscriber",variant:"info",badge:"subscribers"},{name:"Nodes",path:"/nodes",variant:"light",badge:"servers"}]}}};var _K=function(){var e=this,r=e._self._c;return r("div",[r("b-navbar",{attrs:{toggleable:"lg",type:"dark",sticky:"",variant:"dark"}},[r("b-container",[r("b-navbar-toggle",{attrs:{target:"nav-collapse"}}),r("b-collapse",{attrs:{id:"nav-collapse","is-nav":""}},[r("b-navbar-brand",{attrs:{to:"/"}},[r("svg",{staticClass:"d-inline-block align-top",attrs:{xmlns:"http://www.w3.org/2000/svg",width:"30",height:"30",viewBox:"0 0 192.13 196.72"}},[r("g",[r("g",[r("path",{attrs:{d:"M166.87 100.62a71.54 71.54 0 0 1-70.81 70.8c-38.86.33-70.48-32.43-70.8-70.8-.14-16.28-25.4-16.3-25.26 0a98 98 0 0 0 26.75 66.51c16.88 18 40.66 28 65.06 29.44 24.86 1.46 49.1-8 67.83-24s29.43-39.31 32.07-63.53c.3-2.8.39-5.63.42-8.44.13-16.3-25.12-16.28-25.26 0z",fill:"#4a5699"}}),r("path",{attrs:{d:"M25.26 96.07a71.54 71.54 0 0 1 70.8-70.81c16.28-.14 16.3-25.4 0-25.26a97.79 97.79 0 0 0-67.45 27.67C10.25 45.46.21 70.65 0 96.07c-.14 16.29 25.12 16.27 25.26 0z",fill:"#c45fa0"}}),r("path",{attrs:{d:"M73.83 118.81c-10.58-14.11-9-30.09 4.14-41.46 12.31-10.62 30.52-6.6 40.93 6.34 4.33 5.37 13.39 4.48 17.86 0 5.26-5.25 4.31-12.5 0-17.86-17.42-21.65-50.71-25.9-73-9.21C40.58 74 34.26 107.87 52 131.56c4.12 5.5 10.82 8.31 17.28 4.53 5.42-3.18 8.66-11.76 4.53-17.28z",fill:"#e5594f"}}),r("path",{attrs:{d:"M118.3 82.91c6 8 7.54 14 6.68 23.29.14-1.14.08-.93-.18.62-.26 1.32-.64 2.62-1 3.91a14.07 14.07 0 0 1-1.9 4.44c-2.34 4.43-4.59 6.68-8.84 10.1-5.38 4.32-4.48 13.39 0 17.86 5.25 5.26 12.5 4.31 17.85 0 21.66-17.42 25.91-50.71 9.22-73-4.12-5.5-10.82-8.31-17.28-4.53-5.43 3.18-8.67 11.76-4.53 17.28z",fill:"#f39a2b"}})])])]),e._v(" "+e._s(e.$t(e.brandTitle))+" ")]),r("b-navbar-nav",e._l(e.menus,function(n){return r("b-nav-item",{key:n.name,attrs:{to:n.path,"active-class":"active"}},[e._v(" "+e._s(e.$t(n.name))+" "),e.onMetric[n.badge]?r("b-badge",{attrs:{variant:n.variant}},[e._v(" "+e._s(e.onMetric[n.badge]))]):e._e()],1)}),1)],1),r("b-navbar-nav",{staticClass:"ml-auto flex-row"},[r("b-nav-item",[r("b-dropdown",{attrs:{size:"sm",id:"dlLang",text:"secondary",variant:"secondary",text:e.$t("LanguageName")}},e._l(e.languages,function(n){return r("b-dropdown-item",{key:n.code,staticClass:"text-secondary drop-active",attrs:{active:e.checkCurrentLang(n.code)},on:{click:function(i){return e.changeLang(n.code)}}},[e._v(e._s(n.name))])}),1)],1),r("b-nav-item",{attrs:{href:"https://github.com/dotnetcore/CAP",target:"_blank",title:"Github"}},[r("b-icon-github",{staticStyle:{width:"24px",height:"24px"}})],1)],1)],1)],1)],1)},wK=[],TK=Up(OK,_K,wK,!1,null,"b874239e",null,null);const SK=TK.exports;var PK=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Jx(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var Zx={exports:{}},Cy={exports:{}},Qx=function(e,r){return function(){return e.apply(r,arguments)}},EK=Qx,Ay=Object.prototype.toString,Dy=function(t){return function(e){var r=Ay.call(e);return t[r]||(t[r]=r.slice(8,-1).toLowerCase())}}(Object.create(null));function La(t){return t=t.toLowerCase(),function(r){return Dy(r)===t}}function Gp(t){return Array.isArray(t)}function Mg(t){return typeof t>"u"}function $K(t){return t!==null&&!Mg(t)&&t.constructor!==null&&!Mg(t.constructor)&&typeof t.constructor.isBuffer=="function"&&t.constructor.isBuffer(t)}var eM=La("ArrayBuffer");function CK(t){var e;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?e=ArrayBuffer.isView(t):e=t&&t.buffer&&eM(t.buffer),e}function AK(t){return typeof t=="string"}function tM(t){return typeof t=="number"}function rM(t){return t!==null&&typeof t=="object"}function xf(t){if(Dy(t)!=="object")return!1;var e=Object.getPrototypeOf(t);return e===null||e===Object.prototype}function DK(t){return t&&Object.keys(t).length===0&&Object.getPrototypeOf(t)===Object.prototype}var RK=La("Date"),xK=La("File"),MK=La("Blob"),NK=La("FileList");function Ry(t){return Ay.call(t)==="[object Function]"}function IK(t){return rM(t)&&Ry(t.pipe)}function BK(t){var e="[object FormData]";return t&&(typeof FormData=="function"&&t instanceof FormData||Ay.call(t)===e||Ry(t.toString)&&t.toString()===e)}var kK=La("URLSearchParams");function LK(t){return t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}function FK(){var t;return typeof navigator<"u"&&((t=navigator.product)==="ReactNative"||t==="NativeScript"||t==="NS")?!1:typeof window<"u"&&typeof document<"u"}function xy(t,e){if(!(t===null||typeof t>"u"))if(typeof t!="object"&&(t=[t]),Gp(t))for(var r=0,n=t.length;r0;)o=i[a],(!n||n(o,t,e))&&!s[o]&&(e[o]=t[o],s[o]=!0);t=r!==!1&&Object.getPrototypeOf(t)}while(t&&(!r||r(t,e))&&t!==Object.prototype);return e}function UK(t,e,r){t=String(t),(r===void 0||r>t.length)&&(r=t.length),r-=e.length;var n=t.indexOf(e,r);return n!==-1&&n===r}function GK(t){if(!t)return null;if(Gp(t))return t;var e=t.length;if(!tM(e))return null;for(var r=new Array(e);e-- >0;)r[e]=t[e];return r}var WK=function(t){return function(e){return t&&e instanceof t}}(typeof Uint8Array<"u"&&Object.getPrototypeOf(Uint8Array));function KK(t,e){for(var r=t&&t[Symbol.iterator],n=r.call(t),i;(i=n.next())&&!i.done;){var a=i.value;e.call(t,a[0],a[1])}}function YK(t,e){for(var r,n=[];(r=t.exec(e))!==null;)n.push(r);return n}var qK=La("HTMLFormElement"),XK=function(e){return function(r,n){return e.call(r,n)}}(Object.prototype.hasOwnProperty),Ht={isArray:Gp,isArrayBuffer:eM,isBuffer:$K,isFormData:BK,isArrayBufferView:CK,isString:AK,isNumber:tM,isObject:rM,isPlainObject:xf,isEmptyObject:DK,isUndefined:Mg,isDate:RK,isFile:xK,isBlob:MK,isFunction:Ry,isStream:IK,isURLSearchParams:kK,isStandardBrowserEnv:FK,forEach:xy,merge:Ng,extend:jK,trim:LK,stripBOM:VK,inherits:HK,toFlatObject:zK,kindOf:Dy,kindOfTest:La,endsWith:UK,toArray:GK,isTypedArray:WK,isFileList:NK,forEachEntry:KK,matchAll:YK,isHTMLForm:qK,hasOwnProperty:XK},nM=Ht;function zs(t,e,r,n,i){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=t,this.name="AxiosError",e&&(this.code=e),r&&(this.config=r),n&&(this.request=n),i&&(this.response=i)}nM.inherits(zs,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}}});var iM=zs.prototype,aM={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(function(t){aM[t]={value:t}});Object.defineProperties(zs,aM);Object.defineProperty(iM,"isAxiosError",{value:!0});zs.from=function(t,e,r,n,i,a){var o=Object.create(iM);return nM.toFlatObject(t,o,function(l){return l!==Error.prototype}),zs.call(o,t.message,e,r,n,i),o.cause=t,o.name=t.name,a&&Object.assign(o,a),o};var Fo=zs,oM={exports:{}},JK=typeof self=="object"?self.FormData:window.FormData;(function(t){t.exports=JK})(oM);var ot=Ht,ZK=Fo,QK=oM.exports;function Ig(t){return ot.isPlainObject(t)||ot.isArray(t)}function sM(t){return ot.endsWith(t,"[]")?t.slice(0,-2):t}function kE(t,e,r){return t?t.concat(e).map(function(i,a){return i=sM(i),!r&&a?"["+i+"]":i}).join(r?".":""):e}function e9(t){return ot.isArray(t)&&!t.some(Ig)}var t9=ot.toFlatObject(ot,{},null,function(e){return/^is[A-Z]/.test(e)});function r9(t){return t&&ot.isFunction(t.append)&&t[Symbol.toStringTag]==="FormData"&&t[Symbol.iterator]}function n9(t,e,r){if(!ot.isObject(t))throw new TypeError("target must be an object");e=e||new(QK||FormData),r=ot.toFlatObject(r,{metaTokens:!0,dots:!1,indexes:!1},!1,function(y,P){return!ot.isUndefined(P[y])});var n=r.metaTokens,i=r.visitor||f,a=r.dots,o=r.indexes,s=r.Blob||typeof Blob<"u"&&Blob,l=s&&r9(e);if(!ot.isFunction(i))throw new TypeError("visitor must be a function");function u(b){if(b===null)return"";if(ot.isDate(b))return b.toISOString();if(!l&&ot.isBlob(b))throw new ZK("Blob is not supported. Use a Buffer instead.");return ot.isArrayBuffer(b)||ot.isTypedArray(b)?l&&typeof Blob=="function"?new Blob([b]):Buffer.from(b):b}function f(b,y,P){var C=b;if(b&&!P&&typeof b=="object"){if(ot.endsWith(y,"{}"))y=n?y:y.slice(0,-2),b=JSON.stringify(b);else if(ot.isArray(b)&&e9(b)||ot.isFileList(b)||ot.endsWith(y,"[]")&&(C=ot.toArray(b)))return y=sM(y),C.forEach(function(A,B){!ot.isUndefined(A)&&e.append(o===!0?kE([y],B,a):o===null?y:y+"[]",u(A))}),!1}return Ig(b)?!0:(e.append(kE(P,y,a),u(b)),!1)}var d=[],p=Object.assign(t9,{defaultVisitor:f,convertValue:u,isVisitable:Ig});function h(b,y){if(!ot.isUndefined(b)){if(d.indexOf(b)!==-1)throw Error("Circular reference detected in "+y.join("."));d.push(b),ot.forEach(b,function(C,R){var A=!ot.isUndefined(C)&&i.call(e,C,ot.isString(R)?R.trim():R,y,p);A===!0&&h(C,y?y.concat(R):[R])}),d.pop()}}if(!ot.isObject(t))throw new TypeError("data must be an object");return h(t),e}var Wp=n9,i9=Wp;function LE(t){var e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(t).replace(/[!'\(\)~]|%20|%00/g,function(n){return e[n]})}function lM(t,e){this._pairs=[],t&&i9(t,this,e)}var uM=lM.prototype;uM.append=function(e,r){this._pairs.push([e,r])};uM.toString=function(e){var r=e?function(n){return e.call(this,n,LE)}:LE;return this._pairs.map(function(i){return r(i[0])+"="+r(i[1])},"").join("&")};var cM=lM,a9=Ht,o9=cM;function s9(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}var fM=function(e,r,n){if(!r)return e;var i=e.indexOf("#");i!==-1&&(e=e.slice(0,i));var a=n&&n.encode||s9,o=n&&n.serialize,s;return o?s=o(r,n):s=a9.isURLSearchParams(r)?r.toString():new o9(r,n).toString(a),s&&(e+=(e.indexOf("?")===-1?"?":"&")+s),e},l9=Ht;function rc(){this.handlers=[]}rc.prototype.use=function(e,r,n){return this.handlers.push({fulfilled:e,rejected:r,synchronous:n?n.synchronous:!1,runWhen:n?n.runWhen:null}),this.handlers.length-1};rc.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)};rc.prototype.clear=function(){this.handlers&&(this.handlers=[])};rc.prototype.forEach=function(e){l9.forEach(this.handlers,function(n){n!==null&&e(n)})};var u9=rc,c9=Ht,dM=function(e,r){c9.forEach(e,function(i,a){a!==r&&a.toUpperCase()===r.toUpperCase()&&(e[r]=i,delete e[a])})},pM={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Kp={exports:{}},f9=cM,d9=typeof URLSearchParams<"u"?URLSearchParams:f9,p9=FormData,h9={isBrowser:!0,classes:{URLSearchParams:d9,FormData:p9,Blob},protocols:["http","https","file","blob","url","data"]};(function(t){t.exports=h9})(Kp);var v9=Ht,m9=Wp,FE=Kp.exports,g9=function(e,r){return m9(e,new FE.classes.URLSearchParams,Object.assign({visitor:function(n,i,a,o){return FE.isNode&&v9.isBuffer(n)?(this.append(i,n.toString("base64")),!1):o.defaultVisitor.apply(this,arguments)}},r))},oa=Ht;function b9(t){return oa.matchAll(/\w+|\[(\w*)]/g,t).map(function(e){return e[0]==="[]"?"":e[1]||e[0]})}function y9(t){var e={},r=Object.keys(t),n,i=r.length,a;for(n=0;n=n.length;if(s=!s&&oa.isArray(a)?a.length:s,u)return oa.hasOwnProperty(a,s)?a[s]=[a[s],i]:a[s]=i,!l;(!a[s]||!oa.isObject(a[s]))&&(a[s]=[]);var f=e(n,i,a[s],o);return f&&oa.isArray(a[s])&&(a[s]=y9(a[s])),!l}if(oa.isFormData(t)&&oa.isFunction(t.entries)){var r={};return oa.forEachEntry(t,function(n,i){e(b9(n),i,r,0)}),r}return null}var hM=O9,Wv,jE;function _9(){if(jE)return Wv;jE=1;var t=Fo;return Wv=function(r,n,i){var a=i.config.validateStatus;!i.status||!a||a(i.status)?r(i):n(new t("Request failed with status code "+i.status,[t.ERR_BAD_REQUEST,t.ERR_BAD_RESPONSE][Math.floor(i.status/100)-4],i.config,i.request,i))},Wv}var Kv,VE;function w9(){if(VE)return Kv;VE=1;var t=Ht;return Kv=t.isStandardBrowserEnv()?function(){return{write:function(n,i,a,o,s,l){var u=[];u.push(n+"="+encodeURIComponent(i)),t.isNumber(a)&&u.push("expires="+new Date(a).toGMTString()),t.isString(o)&&u.push("path="+o),t.isString(s)&&u.push("domain="+s),l===!0&&u.push("secure"),document.cookie=u.join("; ")},read:function(n){var i=document.cookie.match(new RegExp("(^|;\\s*)("+n+")=([^;]*)"));return i?decodeURIComponent(i[3]):null},remove:function(n){this.write(n,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}(),Kv}var T9=function(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)},S9=function(e,r){return r?e.replace(/\/+$/,"")+"/"+r.replace(/^\/+/,""):e},P9=T9,E9=S9,vM=function(e,r){return e&&!P9(r)?E9(e,r):r},Yv,HE;function $9(){if(HE)return Yv;HE=1;var t=Ht,e=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];return Yv=function(n){var i={},a,o,s;return n&&t.forEach(n.split(` -`),function(u){if(s=u.indexOf(":"),a=t.trim(u.slice(0,s)).toLowerCase(),o=t.trim(u.slice(s+1)),a){if(i[a]&&e.indexOf(a)>=0)return;a==="set-cookie"?i[a]=(i[a]?i[a]:[]).concat([o]):i[a]=i[a]?i[a]+", "+o:o}}),i},Yv}var qv,zE;function C9(){if(zE)return qv;zE=1;var t=Ht;return qv=t.isStandardBrowserEnv()?function(){var r=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a"),i;function a(o){var s=o;return r&&(n.setAttribute("href",s),s=n.href),n.setAttribute("href",s),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return i=a(window.location.href),function(s){var l=t.isString(s)?a(s):s;return l.protocol===i.protocol&&l.host===i.host}}():function(){return function(){return!0}}(),qv}var Xv,UE;function Yp(){if(UE)return Xv;UE=1;var t=Fo,e=Ht;function r(n,i,a){t.call(this,n==null?"canceled":n,t.ERR_CANCELED,i,a),this.name="CanceledError"}return e.inherits(r,t,{__CANCEL__:!0}),Xv=r,Xv}var Jv,GE;function A9(){return GE||(GE=1,Jv=function(e){var r=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return r&&r[1]||""}),Jv}var Zv,WE;function KE(){if(WE)return Zv;WE=1;var t=Ht,e=_9(),r=w9(),n=fM,i=vM,a=$9(),o=C9(),s=pM,l=Fo,u=Yp(),f=A9(),d=Kp.exports;return Zv=function(h){return new Promise(function(y,P){var C=h.data,R=h.headers,A=h.responseType,B=h.withXSRFToken,D;function V(){h.cancelToken&&h.cancelToken.unsubscribe(D),h.signal&&h.signal.removeEventListener("abort",D)}t.isFormData(C)&&t.isStandardBrowserEnv()&&delete R["Content-Type"];var N=new XMLHttpRequest;if(h.auth){var G=h.auth.username||"",H=h.auth.password?unescape(encodeURIComponent(h.auth.password)):"";R.Authorization="Basic "+btoa(G+":"+H)}var W=i(h.baseURL,h.url);N.open(h.method.toUpperCase(),n(W,h.params,h.paramsSerializer),!0),N.timeout=h.timeout;function j(){if(!!N){var w="getAllResponseHeaders"in N?a(N.getAllResponseHeaders()):null,$=!A||A==="text"||A==="json"?N.responseText:N.response,M={data:$,status:N.status,statusText:N.statusText,headers:w,config:h,request:N};e(function(X){y(X),V()},function(X){P(X),V()},M),N=null}}if("onloadend"in N?N.onloadend=j:N.onreadystatechange=function(){!N||N.readyState!==4||N.status===0&&!(N.responseURL&&N.responseURL.indexOf("file:")===0)||setTimeout(j)},N.onabort=function(){!N||(P(new l("Request aborted",l.ECONNABORTED,h,N)),N=null)},N.onerror=function(){P(new l("Network Error",l.ERR_NETWORK,h,N)),N=null},N.ontimeout=function(){var $=h.timeout?"timeout of "+h.timeout+"ms exceeded":"timeout exceeded",M=h.transitional||s;h.timeoutErrorMessage&&($=h.timeoutErrorMessage),P(new l($,M.clarifyTimeoutError?l.ETIMEDOUT:l.ECONNABORTED,h,N)),N=null},t.isStandardBrowserEnv()&&(B&&t.isFunction(B)&&(B=B(h)),B||B!==!1&&o(W))){var E=h.xsrfHeaderName&&h.xsrfCookieName&&r.read(h.xsrfCookieName);E&&(R[h.xsrfHeaderName]=E)}"setRequestHeader"in N&&t.forEach(R,function($,M){typeof C>"u"&&M.toLowerCase()==="content-type"?delete R[M]:N.setRequestHeader(M,$)}),t.isUndefined(h.withCredentials)||(N.withCredentials=!!h.withCredentials),A&&A!=="json"&&(N.responseType=h.responseType),typeof h.onDownloadProgress=="function"&&N.addEventListener("progress",h.onDownloadProgress),typeof h.onUploadProgress=="function"&&N.upload&&N.upload.addEventListener("progress",h.onUploadProgress),(h.cancelToken||h.signal)&&(D=function(w){!N||(P(!w||w.type?new u(null,h,N):w),N.abort(),N=null)},h.cancelToken&&h.cancelToken.subscribe(D),h.signal&&(h.signal.aborted?D():h.signal.addEventListener("abort",D))),!C&&C!==!1&&C!==0&&C!==""&&(C=null);var v=f(W);if(v&&d.protocols.indexOf(v)===-1){P(new l("Unsupported protocol "+v+":",l.ERR_BAD_REQUEST,h));return}N.send(C)})},Zv}var Ft=Ht,YE=dM,qE=Fo,D9=pM,R9=Wp,x9=g9,XE=Kp.exports,M9=hM,N9={"Content-Type":"application/x-www-form-urlencoded"};function JE(t,e){!Ft.isUndefined(t)&&Ft.isUndefined(t["Content-Type"])&&(t["Content-Type"]=e)}function I9(){var t;return(typeof XMLHttpRequest<"u"||typeof process<"u"&&Object.prototype.toString.call(process)==="[object process]")&&(t=KE()),t}function B9(t,e,r){if(Ft.isString(t))try{return(e||JSON.parse)(t),Ft.trim(t)}catch(n){if(n.name!=="SyntaxError")throw n}return(r||JSON.stringify)(t)}var qp={transitional:D9,adapter:I9(),transformRequest:[function(e,r){YE(r,"Accept"),YE(r,"Content-Type");var n=r&&r["Content-Type"]||"",i=n.indexOf("application/json")>-1,a=Ft.isObject(e);a&&Ft.isHTMLForm(e)&&(e=new FormData(e));var o=Ft.isFormData(e);if(o)return i?JSON.stringify(M9(e)):e;if(Ft.isArrayBuffer(e)||Ft.isBuffer(e)||Ft.isStream(e)||Ft.isFile(e)||Ft.isBlob(e))return e;if(Ft.isArrayBufferView(e))return e.buffer;if(Ft.isURLSearchParams(e))return JE(r,"application/x-www-form-urlencoded;charset=utf-8"),e.toString();var s;if(a){if(n.indexOf("application/x-www-form-urlencoded")!==-1)return x9(e,this.formSerializer).toString();if((s=Ft.isFileList(e))||n.indexOf("multipart/form-data")>-1){var l=this.env&&this.env.FormData;return R9(s?{"files[]":e}:e,l&&new l,this.formSerializer)}}return a||i?(JE(r,"application/json"),B9(e)):e}],transformResponse:[function(e){var r=this.transitional||qp.transitional,n=r&&r.forcedJSONParsing,i=this.responseType==="json";if(e&&Ft.isString(e)&&(n&&!this.responseType||i)){var a=r&&r.silentJSONParsing,o=!a&&i;try{return JSON.parse(e)}catch(s){if(o)throw s.name==="SyntaxError"?qE.from(s,qE.ERR_BAD_RESPONSE,this,null,this.response):s}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:XE.classes.FormData,Blob:XE.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};Ft.forEach(["delete","get","head"],function(e){qp.headers[e]={}});Ft.forEach(["post","put","patch"],function(e){qp.headers[e]=Ft.merge(N9)});var My=qp,k9=Ht,L9=My,F9=function(e,r,n,i){var a=this||L9;return k9.forEach(i,function(s){e=s.call(a,e,r,n)}),e},Qv,ZE;function mM(){return ZE||(ZE=1,Qv=function(e){return!!(e&&e.__CANCEL__)}),Qv}var QE=Ht,em=F9,j9=mM(),V9=My,H9=Yp(),e0=dM;function tm(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new H9}var z9=function(e){tm(e),e.headers=e.headers||{},e.data=em.call(e,e.data,e.headers,null,e.transformRequest),e0(e.headers,"Accept"),e0(e.headers,"Content-Type"),e.headers=QE.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),QE.forEach(["delete","get","head","post","put","patch","common"],function(i){delete e.headers[i]});var r=e.adapter||V9.adapter;return r(e).then(function(i){return tm(e),i.data=em.call(e,i.data,i.headers,i.status,e.transformResponse),i},function(i){return j9(i)||(tm(e),i&&i.response&&(i.response.data=em.call(e,i.response.data,i.response.headers,i.response.status,e.transformResponse))),Promise.reject(i)})},Sr=Ht,gM=function(e,r){r=r||{};var n={};function i(f,d){return Sr.isPlainObject(f)&&Sr.isPlainObject(d)?Sr.merge(f,d):Sr.isEmptyObject(d)?Sr.merge({},f):Sr.isPlainObject(d)?Sr.merge({},d):Sr.isArray(d)?d.slice():d}function a(f){if(Sr.isUndefined(r[f])){if(!Sr.isUndefined(e[f]))return i(void 0,e[f])}else return i(e[f],r[f])}function o(f){if(!Sr.isUndefined(r[f]))return i(void 0,r[f])}function s(f){if(Sr.isUndefined(r[f])){if(!Sr.isUndefined(e[f]))return i(void 0,e[f])}else return i(void 0,r[f])}function l(f){if(f in r)return i(e[f],r[f]);if(f in e)return i(void 0,e[f])}var u={url:o,method:o,data:o,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,withXSRFToken:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,beforeRedirect:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:l};return Sr.forEach(Object.keys(e).concat(Object.keys(r)),function(d){var p=u[d]||a,h=p(d);Sr.isUndefined(h)&&p!==l||(n[d]=h)}),n},rm,t0;function bM(){return t0||(t0=1,rm={version:"0.28.1"}),rm}var U9=bM().version,ca=Fo,Ny={};["object","boolean","number","function","string","symbol"].forEach(function(t,e){Ny[t]=function(n){return typeof n===t||"a"+(e<1?"n ":" ")+t}});var r0={};Ny.transitional=function(e,r,n){function i(a,o){return"[Axios v"+U9+"] Transitional option '"+a+"'"+o+(n?". "+n:"")}return function(a,o,s){if(e===!1)throw new ca(i(o," has been removed"+(r?" in "+r:"")),ca.ERR_DEPRECATED);return r&&!r0[o]&&(r0[o]=!0,console.warn(i(o," has been deprecated since v"+r+" and will be removed in the near future"))),e?e(a,o,s):!0}};function G9(t,e,r){if(typeof t!="object")throw new ca("options must be an object",ca.ERR_BAD_OPTION_VALUE);for(var n=Object.keys(t),i=n.length;i-- >0;){var a=n[i],o=e[a];if(o){var s=t[a],l=s===void 0||o(s,a,t);if(l!==!0)throw new ca("option "+a+" must be "+l,ca.ERR_BAD_OPTION_VALUE);continue}if(r!==!0)throw new ca("Unknown option "+a,ca.ERR_BAD_OPTION)}}var W9={assertOptions:G9,validators:Ny},Iy=Ht,K9=fM,n0=u9,i0=z9,Xp=gM,Y9=vM,Bg=W9,ia=Bg.validators;function Us(t){this.defaults=t,this.interceptors={request:new n0,response:new n0}}Us.prototype.request=function(e,r){typeof e=="string"?(r=r||{},r.url=e):r=e||{},r=Xp(this.defaults,r),r.method?r.method=r.method.toLowerCase():this.defaults.method?r.method=this.defaults.method.toLowerCase():r.method="get";var n=r.transitional;n!==void 0&&Bg.assertOptions(n,{silentJSONParsing:ia.transitional(ia.boolean),forcedJSONParsing:ia.transitional(ia.boolean),clarifyTimeoutError:ia.transitional(ia.boolean)},!1);var i=r.paramsSerializer;i!==void 0&&Bg.assertOptions(i,{encode:ia.function,serialize:ia.function},!0),Iy.isFunction(i)&&(r.paramsSerializer={serialize:i});var a=[],o=!0;this.interceptors.request.forEach(function(b){typeof b.runWhen=="function"&&b.runWhen(r)===!1||(o=o&&b.synchronous,a.unshift(b.fulfilled,b.rejected))});var s=[];this.interceptors.response.forEach(function(b){s.push(b.fulfilled,b.rejected)});var l;if(!o){var u=[i0,void 0];for(Array.prototype.unshift.apply(u,a),u=u.concat(s),l=Promise.resolve(r);u.length;)l=l.then(u.shift(),u.shift());return l}for(var f=r;a.length;){var d=a.shift(),p=a.shift();try{f=d(f)}catch(h){p(h);break}}try{l=i0(f)}catch(h){return Promise.reject(h)}for(;s.length;)l=l.then(s.shift(),s.shift());return l};Us.prototype.getUri=function(e){e=Xp(this.defaults,e);var r=Y9(e.baseURL,e.url);return K9(r,e.params,e.paramsSerializer)};Iy.forEach(["delete","get","head","options"],function(e){Us.prototype[e]=function(r,n){return this.request(Xp(n||{},{method:e,url:r,data:(n||{}).data}))}});Iy.forEach(["post","put","patch"],function(e){function r(n){return function(a,o,s){return this.request(Xp(s||{},{method:e,headers:n?{"Content-Type":"multipart/form-data"}:{},url:a,data:o}))}}Us.prototype[e]=r(),Us.prototype[e+"Form"]=r(!0)});var q9=Us,nm,a0;function X9(){if(a0)return nm;a0=1;var t=Yp();function e(r){if(typeof r!="function")throw new TypeError("executor must be a function.");var n;this.promise=new Promise(function(o){n=o});var i=this;this.promise.then(function(a){if(!!i._listeners){for(var o=i._listeners.length;o-- >0;)i._listeners[o](a);i._listeners=null}}),this.promise.then=function(a){var o,s=new Promise(function(l){i.subscribe(l),o=l}).then(a);return s.cancel=function(){i.unsubscribe(o)},s},r(function(o,s,l){i.reason||(i.reason=new t(o,s,l),n(i.reason))})}return e.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},e.prototype.subscribe=function(n){if(this.reason){n(this.reason);return}this._listeners?this._listeners.push(n):this._listeners=[n]},e.prototype.unsubscribe=function(n){if(!!this._listeners){var i=this._listeners.indexOf(n);i!==-1&&this._listeners.splice(i,1)}},e.source=function(){var n,i=new e(function(o){n=o});return{token:i,cancel:n}},nm=e,nm}var im,o0;function J9(){return o0||(o0=1,im=function(e){return function(n){return e.apply(null,n)}}),im}var am,s0;function Z9(){if(s0)return am;s0=1;var t=Ht;return am=function(r){return t.isObject(r)&&r.isAxiosError===!0},am}var kg=Ht,Q9=Qx,Mf=q9,eY=gM,tY=My,rY=hM;function yM(t){var e=new Mf(t),r=Q9(Mf.prototype.request,e);return kg.extend(r,Mf.prototype,e),kg.extend(r,e),r.create=function(i){return yM(eY(t,i))},r}var Mr=yM(tY);Mr.Axios=Mf;Mr.CanceledError=Yp();Mr.CancelToken=X9();Mr.isCancel=mM();Mr.VERSION=bM().version;Mr.toFormData=Wp;Mr.AxiosError=Fo;Mr.Cancel=Mr.CanceledError;Mr.all=function(e){return Promise.all(e)};Mr.spread=J9();Mr.isAxiosError=Z9();Mr.formToJSON=function(t){return rY(kg.isHTMLForm(t)?new FormData(t):t)};Cy.exports=Mr;Cy.exports.default=Mr;(function(t){t.exports=Cy.exports})(Zx);const Xi=Jx(Zx.exports);const nY={data(){return{nodeName:"",meta:{}}},async mounted(){this.nodeName=this.getCookie("cap.node"),await Xi.get("/meta").then(t=>{this.meta=t.data})},methods:{getCookie(t){for(var e=t+"=",r=decodeURIComponent(document.cookie),n=r.split(";"),i=0;i{this.$store.dispatch("pollingMertic",t.data),setTimeout(()=>{this.getData()},window.pollingInterval)})}},mounted(){Xi.interceptors.response.use(t=>(t.status===500&&this.$bvToast.toast("request failed",{title:"Request Error",variant:"danger",autoHideDelay:1e3,appendToast:!0,solid:!0}),t)),this.getData()},beforeDestroy(){clearInterval(this.timer)}};Date.prototype.format=function(t){var e={"M+":this.getMonth()+1,"d+":this.getDate(),"h+":this.getHours(),"m+":this.getMinutes(),"s+":this.getSeconds(),"q+":Math.floor((this.getMonth()+3)/3),S:this.getMilliseconds()};/(y+)/.test(t)&&(t=t.replace(RegExp.$1,(this.getFullYear()+"").substr(4-RegExp.$1.length)));for(var r in e)new RegExp("("+r+")").test(t)&&(t=t.replace(RegExp.$1,RegExp.$1.length==1?e[r]:("00"+e[r]).substr((""+e[r]).length)));return t};var uY=function(){var e=this,r=e._self._c;return r("div",{attrs:{id:"app"}},[r("Navigation"),r("b-container",{staticClass:"mt-4"},[r("router-view")],1),r("Footer")],1)},cY=[],fY=Up(lY,uY,cY,!1,null,null,null,null);const dY=fY.exports,pY="modulepreload",hY=function(t,e){return new URL(t,e).href},l0={},qc=function(e,r,n){if(!r||r.length===0)return e();const i=document.getElementsByTagName("link");return Promise.all(r.map(a=>{if(a=hY(a,n),a in l0)return;l0[a]=!0;const o=a.endsWith(".css"),s=o?'[rel="stylesheet"]':"";if(!!n)for(let f=i.length-1;f>=0;f--){const d=i[f];if(d.href===a&&(!o||d.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${a}"]${s}`))return;const u=document.createElement("link");if(u.rel=o?"stylesheet":pY,o||(u.as="script",u.crossOrigin=""),u.href=a,document.head.appendChild(u),o)return new Promise((f,d)=>{u.addEventListener("load",f),u.addEventListener("error",()=>d(new Error(`Unable to preload CSS for ${a}`)))})})).then(()=>e())};/*! - * vue-router v3.6.5 - * (c) 2022 Evan You - * @license MIT - */function Gn(t,e){for(var r in e)t[r]=e[r];return t}var vY=/[!'()*]/g,mY=function(t){return"%"+t.charCodeAt(0).toString(16)},gY=/%2C/g,cs=function(t){return encodeURIComponent(t).replace(vY,mY).replace(gY,",")};function Lg(t){try{return decodeURIComponent(t)}catch{}return t}function bY(t,e,r){e===void 0&&(e={});var n=r||yY,i;try{i=n(t||"")}catch{i={}}for(var a in e){var o=e[a];i[a]=Array.isArray(o)?o.map(u0):u0(o)}return i}var u0=function(t){return t==null||typeof t=="object"?t:String(t)};function yY(t){var e={};return t=t.trim().replace(/^(\?|#|&)/,""),t&&t.split("&").forEach(function(r){var n=r.replace(/\+/g," ").split("="),i=Lg(n.shift()),a=n.length>0?Lg(n.join("=")):null;e[i]===void 0?e[i]=a:Array.isArray(e[i])?e[i].push(a):e[i]=[e[i],a]}),e}function OY(t){var e=t?Object.keys(t).map(function(r){var n=t[r];if(n===void 0)return"";if(n===null)return cs(r);if(Array.isArray(n)){var i=[];return n.forEach(function(a){a!==void 0&&(a===null?i.push(cs(r)):i.push(cs(r)+"="+cs(a)))}),i.join("&")}return cs(r)+"="+cs(n)}).filter(function(r){return r.length>0}).join("&"):null;return e?"?"+e:""}var Bd=/\/?$/;function kd(t,e,r,n){var i=n&&n.options.stringifyQuery,a=e.query||{};try{a=Fg(a)}catch{}var o={name:e.name||t&&t.name,meta:t&&t.meta||{},path:e.path||"/",hash:e.hash||"",query:a,params:e.params||{},fullPath:c0(e,i),matched:t?_Y(t):[]};return r&&(o.redirectedFrom=c0(r,i)),Object.freeze(o)}function Fg(t){if(Array.isArray(t))return t.map(Fg);if(t&&typeof t=="object"){var e={};for(var r in t)e[r]=Fg(t[r]);return e}else return t}var Fa=kd(null,{path:"/"});function _Y(t){for(var e=[];t;)e.unshift(t),t=t.parent;return e}function c0(t,e){var r=t.path,n=t.query;n===void 0&&(n={});var i=t.hash;i===void 0&&(i="");var a=e||OY;return(r||"/")+a(n)+i}function OM(t,e,r){return e===Fa?t===e:e?t.path&&e.path?t.path.replace(Bd,"")===e.path.replace(Bd,"")&&(r||t.hash===e.hash&&Nf(t.query,e.query)):t.name&&e.name?t.name===e.name&&(r||t.hash===e.hash&&Nf(t.query,e.query)&&Nf(t.params,e.params)):!1:!1}function Nf(t,e){if(t===void 0&&(t={}),e===void 0&&(e={}),!t||!e)return t===e;var r=Object.keys(t).sort(),n=Object.keys(e).sort();return r.length!==n.length?!1:r.every(function(i,a){var o=t[i],s=n[a];if(s!==i)return!1;var l=e[i];return o==null||l==null?o===l:typeof o=="object"&&typeof l=="object"?Nf(o,l):String(o)===String(l)})}function wY(t,e){return t.path.replace(Bd,"/").indexOf(e.path.replace(Bd,"/"))===0&&(!e.hash||t.hash===e.hash)&&TY(t.query,e.query)}function TY(t,e){for(var r in e)if(!(r in t))return!1;return!0}function _M(t){for(var e=0;e=0&&(e=t.slice(n),t=t.slice(0,n));var i=t.indexOf("?");return i>=0&&(r=t.slice(i+1),t=t.slice(0,i)),{path:t,query:r,hash:e}}function _a(t){return t.replace(/\/(?:\s*\/)+/g,"/")}var Ld=Array.isArray||function(t){return Object.prototype.toString.call(t)=="[object Array]"},nl=PM,$Y=By,CY=xY,AY=TM,DY=SM,RY=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function By(t,e){for(var r=[],n=0,i=0,a="",o=e&&e.delimiter||"/",s;(s=RY.exec(t))!=null;){var l=s[0],u=s[1],f=s.index;if(a+=t.slice(i,f),i=f+l.length,u){a+=u[1];continue}var d=t[i],p=s[2],h=s[3],b=s[4],y=s[5],P=s[6],C=s[7];a&&(r.push(a),a="");var R=p!=null&&d!=null&&d!==p,A=P==="+"||P==="*",B=P==="?"||P==="*",D=s[2]||o,V=b||y;r.push({name:h||n++,prefix:p||"",delimiter:D,optional:B,repeat:A,partial:R,asterisk:!!C,pattern:V?IY(V):C?".*":"[^"+If(D)+"]+?"})}return i1||!D.length)return D.length===0?e():e("span",{},D)}if(this.tag==="a")B.on=A,B.attrs={href:l,"aria-current":C};else{var V=EM(this.$slots.default);if(V){V.isStatic=!1;var N=V.data=Gn({},V.data);N.on=N.on||{};for(var G in N.on){var H=N.on[G];G in A&&(N.on[G]=Array.isArray(H)?H:[H])}for(var W in A)W in N.on?N.on[W].push(A[W]):N.on[W]=R;var j=V.data.attrs=Gn({},V.data.attrs);j.href=l,j["aria-current"]=C}else B.on=A}return e(this.tag,B,this.$slots.default)}};function h0(t){if(!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)&&!t.defaultPrevented&&!(t.button!==void 0&&t.button!==0)){if(t.currentTarget&&t.currentTarget.getAttribute){var e=t.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(e))return}return t.preventDefault&&t.preventDefault(),!0}}function EM(t){if(t){for(var e,r=0;r-1&&(P.params[B]=b.params[B]);return P.path=Bf(R.path,P.params),p(R,P,y)}else if(P.path){P.params={};for(var D=0;D-1}function Qp(t,e){return Vd(t)&&t._isRouter&&(e==null||t.type===e)}function O0(t,e,r){var n=function(i){i>=t.length?r():t[i]?e(t[i],function(){n(i+1)}):n(i+1)};n(0)}function nq(t){return function(e,r,n){var i=!1,a=0,o=null;MM(t,function(s,l,u,f){if(typeof s=="function"&&s.cid===void 0){i=!0,a++;var d=_0(function(y){aq(y)&&(y=y.default),s.resolved=typeof y=="function"?y:Fd.extend(y),u.components[f]=y,a--,a<=0&&n()}),p=_0(function(y){var P="Failed to resolve async component "+f+": "+y;o||(o=Vd(y)?y:new Error(P),n(o))}),h;try{h=s(d,p)}catch(y){p(y)}if(h)if(typeof h.then=="function")h.then(d,p);else{var b=h.component;b&&typeof b.then=="function"&&b.then(d,p)}}}),i||n()}}function MM(t,e){return NM(t.map(function(r){return Object.keys(r.components).map(function(n){return e(r.components[n],r.instances[n],r,n)})}))}function NM(t){return Array.prototype.concat.apply([],t)}var iq=typeof Symbol=="function"&&typeof Symbol.toStringTag=="symbol";function aq(t){return t.__esModule||iq&&t[Symbol.toStringTag]==="Module"}function _0(t){var e=!1;return function(){for(var r=[],n=arguments.length;n--;)r[n]=arguments[n];if(!e)return e=!0,t.apply(this,r)}}var ii=function(e,r){this.router=e,this.base=oq(r),this.current=Fa,this.pending=null,this.ready=!1,this.readyCbs=[],this.readyErrorCbs=[],this.errorCbs=[],this.listeners=[]};ii.prototype.listen=function(e){this.cb=e};ii.prototype.onReady=function(e,r){this.ready?e():(this.readyCbs.push(e),r&&this.readyErrorCbs.push(r))};ii.prototype.onError=function(e){this.errorCbs.push(e)};ii.prototype.transitionTo=function(e,r,n){var i=this,a;try{a=this.router.match(e,this.current)}catch(s){throw this.errorCbs.forEach(function(l){l(s)}),s}var o=this.current;this.confirmTransition(a,function(){i.updateRoute(a),r&&r(a),i.ensureURL(),i.router.afterHooks.forEach(function(s){s&&s(a,o)}),i.ready||(i.ready=!0,i.readyCbs.forEach(function(s){s(a)}))},function(s){n&&n(s),s&&!i.ready&&(!Qp(s,jo.redirected)||o!==Fa)&&(i.ready=!0,i.readyErrorCbs.forEach(function(l){l(s)}))})};ii.prototype.confirmTransition=function(e,r,n){var i=this,a=this.current;this.pending=e;var o=function(y){!Qp(y)&&Vd(y)&&(i.errorCbs.length?i.errorCbs.forEach(function(P){P(y)}):console.error(y)),n&&n(y)},s=e.matched.length-1,l=a.matched.length-1;if(OM(e,a)&&s===l&&e.matched[s]===a.matched[l])return this.ensureURL(),e.hash&&wa(this.router,a,e,!1),o(QY(a,e));var u=sq(this.current.matched,e.matched),f=u.updated,d=u.deactivated,p=u.activated,h=[].concat(uq(d),this.router.beforeHooks,cq(f),p.map(function(y){return y.beforeEnter}),nq(p)),b=function(y,P){if(i.pending!==e)return o(y0(a,e));try{y(e,a,function(C){C===!1?(i.ensureURL(!0),o(eq(a,e))):Vd(C)?(i.ensureURL(!0),o(C)):typeof C=="string"||typeof C=="object"&&(typeof C.path=="string"||typeof C.name=="string")?(o(ZY(a,e)),typeof C=="object"&&C.replace?i.replace(C):i.push(C)):P(C)})}catch(C){o(C)}};O0(h,b,function(){var y=fq(p),P=y.concat(i.router.resolveHooks);O0(P,b,function(){if(i.pending!==e)return o(y0(a,e));i.pending=null,r(e),i.router.app&&i.router.app.$nextTick(function(){_M(e)})})})};ii.prototype.updateRoute=function(e){this.current=e,this.cb&&this.cb(e)};ii.prototype.setupListeners=function(){};ii.prototype.teardown=function(){this.listeners.forEach(function(e){e()}),this.listeners=[],this.current=Fa,this.pending=null};function oq(t){if(!t)if(nc){var e=document.querySelector("base");t=e&&e.getAttribute("href")||"/",t=t.replace(/^https?:\/\/[^\/]+/,"")}else t="/";return t.charAt(0)!=="/"&&(t="/"+t),t.replace(/\/$/,"")}function sq(t,e){var r,n=Math.max(t.length,e.length);for(r=0;r0)){var i=this.router,a=i.options.scrollBehavior,o=Ta&&a;o&&this.listeners.push(RM());var s=function(){var l=n.current,u=au(n.base);n.current===Fa&&u===n._startLocation||n.transitionTo(u,function(f){o&&wa(i,f,l,!0)})};window.addEventListener("popstate",s),this.listeners.push(function(){window.removeEventListener("popstate",s)})}},e.prototype.go=function(n){window.history.go(n)},e.prototype.push=function(n,i,a){var o=this,s=this,l=s.current;this.transitionTo(n,function(u){jd(_a(o.base+u.fullPath)),wa(o.router,u,l,!1),i&&i(u)},a)},e.prototype.replace=function(n,i,a){var o=this,s=this,l=s.current;this.transitionTo(n,function(u){Hg(_a(o.base+u.fullPath)),wa(o.router,u,l,!1),i&&i(u)},a)},e.prototype.ensureURL=function(n){if(au(this.base)!==this.current.fullPath){var i=_a(this.base+this.current.fullPath);n?jd(i):Hg(i)}},e.prototype.getCurrentLocation=function(){return au(this.base)},e}(ii);function au(t){var e=window.location.pathname,r=e.toLowerCase(),n=t.toLowerCase();return t&&(r===n||r.indexOf(_a(n+"/"))===0)&&(e=e.slice(t.length)),(e||"/")+window.location.search+window.location.hash}var kM=function(t){function e(r,n,i){t.call(this,r,n),!(i&&pq(this.base))&&w0()}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.setupListeners=function(){var n=this;if(!(this.listeners.length>0)){var i=this.router,a=i.options.scrollBehavior,o=Ta&&a;o&&this.listeners.push(RM());var s=function(){var u=n.current;!w0()||n.transitionTo(kf(),function(f){o&&wa(n.router,f,u,!0),Ta||Lf(f.fullPath)})},l=Ta?"popstate":"hashchange";window.addEventListener(l,s),this.listeners.push(function(){window.removeEventListener(l,s)})}},e.prototype.push=function(n,i,a){var o=this,s=this,l=s.current;this.transitionTo(n,function(u){T0(u.fullPath),wa(o.router,u,l,!1),i&&i(u)},a)},e.prototype.replace=function(n,i,a){var o=this,s=this,l=s.current;this.transitionTo(n,function(u){Lf(u.fullPath),wa(o.router,u,l,!1),i&&i(u)},a)},e.prototype.go=function(n){window.history.go(n)},e.prototype.ensureURL=function(n){var i=this.current.fullPath;kf()!==i&&(n?T0(i):Lf(i))},e.prototype.getCurrentLocation=function(){return kf()},e}(ii);function pq(t){var e=au(t);if(!/^\/#/.test(e))return window.location.replace(_a(t+"/#"+e)),!0}function w0(){var t=kf();return t.charAt(0)==="/"?!0:(Lf("/"+t),!1)}function kf(){var t=window.location.href,e=t.indexOf("#");return e<0?"":(t=t.slice(e+1),t)}function zg(t){var e=window.location.href,r=e.indexOf("#"),n=r>=0?e.slice(0,r):e;return n+"#"+t}function T0(t){Ta?jd(zg(t)):window.location.hash=t}function Lf(t){Ta?Hg(zg(t)):window.location.replace(zg(t))}var hq=function(t){function e(r,n){t.call(this,r,n),this.stack=[],this.index=-1}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.push=function(n,i,a){var o=this;this.transitionTo(n,function(s){o.stack=o.stack.slice(0,o.index+1).concat(s),o.index++,i&&i(s)},a)},e.prototype.replace=function(n,i,a){var o=this;this.transitionTo(n,function(s){o.stack=o.stack.slice(0,o.index).concat(s),i&&i(s)},a)},e.prototype.go=function(n){var i=this,a=this.index+n;if(!(a<0||a>=this.stack.length)){var o=this.stack[a];this.confirmTransition(o,function(){var s=i.current;i.index=a,i.updateRoute(o),i.router.afterHooks.forEach(function(l){l&&l(o,s)})},function(s){Qp(s,jo.duplicated)&&(i.index=a)})}},e.prototype.getCurrentLocation=function(){var n=this.stack[this.stack.length-1];return n?n.fullPath:"/"},e.prototype.ensureURL=function(){},e}(ii),pt=function(e){e===void 0&&(e={}),this.app=null,this.apps=[],this.options=e,this.beforeHooks=[],this.resolveHooks=[],this.afterHooks=[],this.matcher=UY(e.routes||[],this);var r=e.mode||"hash";switch(this.fallback=r==="history"&&!Ta&&e.fallback!==!1,this.fallback&&(r="hash"),nc||(r="abstract"),this.mode=r,r){case"history":this.history=new BM(this,e.base);break;case"hash":this.history=new kM(this,e.base,this.fallback);break;case"abstract":this.history=new hq(this,e.base);break}},LM={currentRoute:{configurable:!0}};pt.prototype.match=function(e,r,n){return this.matcher.match(e,r,n)};LM.currentRoute.get=function(){return this.history&&this.history.current};pt.prototype.init=function(e){var r=this;if(this.apps.push(e),e.$once("hook:destroyed",function(){var o=r.apps.indexOf(e);o>-1&&r.apps.splice(o,1),r.app===e&&(r.app=r.apps[0]||null),r.app||r.history.teardown()}),!this.app){this.app=e;var n=this.history;if(n instanceof BM||n instanceof kM){var i=function(o){var s=n.current,l=r.options.scrollBehavior,u=Ta&&l;u&&"fullPath"in o&&wa(r,o,s,!1)},a=function(o){n.setupListeners(),i(o)};n.transitionTo(n.getCurrentLocation(),a,a)}n.listen(function(o){r.apps.forEach(function(s){s._route=o})})}};pt.prototype.beforeEach=function(e){return Vy(this.beforeHooks,e)};pt.prototype.beforeResolve=function(e){return Vy(this.resolveHooks,e)};pt.prototype.afterEach=function(e){return Vy(this.afterHooks,e)};pt.prototype.onReady=function(e,r){this.history.onReady(e,r)};pt.prototype.onError=function(e){this.history.onError(e)};pt.prototype.push=function(e,r,n){var i=this;if(!r&&!n&&typeof Promise<"u")return new Promise(function(a,o){i.history.push(e,a,o)});this.history.push(e,r,n)};pt.prototype.replace=function(e,r,n){var i=this;if(!r&&!n&&typeof Promise<"u")return new Promise(function(a,o){i.history.replace(e,a,o)});this.history.replace(e,r,n)};pt.prototype.go=function(e){this.history.go(e)};pt.prototype.back=function(){this.go(-1)};pt.prototype.forward=function(){this.go(1)};pt.prototype.getMatchedComponents=function(e){var r=e?e.matched?e:this.resolve(e).route:this.currentRoute;return r?[].concat.apply([],r.matched.map(function(n){return Object.keys(n.components).map(function(i){return n.components[i]})})):[]};pt.prototype.resolve=function(e,r,n){r=r||this.history.current;var i=Fy(e,r,n,this),a=this.match(i,r),o=a.redirectedFrom||a.fullPath,s=this.history.base,l=vq(s,o,this.mode);return{location:i,route:a,href:l,normalizedTo:i,resolved:a}};pt.prototype.getRoutes=function(){return this.matcher.getRoutes()};pt.prototype.addRoute=function(e,r){this.matcher.addRoute(e,r),this.history.current!==Fa&&this.history.transitionTo(this.history.getCurrentLocation())};pt.prototype.addRoutes=function(e){this.matcher.addRoutes(e),this.history.current!==Fa&&this.history.transitionTo(this.history.getCurrentLocation())};Object.defineProperties(pt.prototype,LM);var FM=pt;function Vy(t,e){return t.push(e),function(){var r=t.indexOf(e);r>-1&&t.splice(r,1)}}function vq(t,e,r){var n=r==="hash"?"#"+e:e;return t?_a(t+"/"+n):n}pt.install=jg;pt.version="3.6.5";pt.isNavigationFailure=Qp;pt.NavigationFailureType=jo;pt.START_LOCATION=Fa;nc&&window.Vue&&window.Vue.use(pt);const mq=!0,Lt="u-",gq="uplot",bq=Lt+"hz",yq=Lt+"vt",Oq=Lt+"title",_q=Lt+"wrap",wq=Lt+"under",Tq=Lt+"over",Sq=Lt+"axis",oo=Lt+"off",Pq=Lt+"select",Eq=Lt+"cursor-x",$q=Lt+"cursor-y",Cq=Lt+"cursor-pt",Aq=Lt+"legend",Dq=Lt+"live",Rq=Lt+"inline",xq=Lt+"thead",Mq=Lt+"series",Nq=Lt+"marker",S0=Lt+"label",Iq=Lt+"value",ou="width",su="height",Ul="top",P0="bottom",fs="left",om="right",Hy="#000",E0=Hy+"0",$0="mousemove",C0="mousedown",sm="mouseup",A0="mouseenter",D0="mouseleave",R0="dblclick",Bq="resize",kq="scroll",x0="change",Hd="dppxchange",il=typeof window<"u",Ug=il?document:null,Rs=il?window:null,Lq=il?navigator:null;let ze,Jc;function Gg(){let t=devicePixelRatio;ze!=t&&(ze=t,Jc&&Kg(x0,Jc,Gg),Jc=matchMedia(`(min-resolution: ${ze-.001}dppx) and (max-resolution: ${ze+.001}dppx)`),mo(x0,Jc,Gg),Rs.dispatchEvent(new CustomEvent(Hd)))}function cn(t,e){if(e!=null){let r=t.classList;!r.contains(e)&&r.add(e)}}function Wg(t,e){let r=t.classList;r.contains(e)&&r.remove(e)}function vt(t,e,r){t.style[e]=r+"px"}function Di(t,e,r,n){let i=Ug.createElement(t);return e!=null&&cn(i,e),r!=null&&r.insertBefore(i,n),i}function An(t,e){return Di("div",t,e)}const M0=new WeakMap;function ds(t,e,r,n,i){let a="translate("+e+"px,"+r+"px)",o=M0.get(t);a!=o&&(t.style.transform=a,M0.set(t,a),e<0||r<0||e>n||r>i?cn(t,oo):Wg(t,oo))}const N0=new WeakMap;function Fq(t,e,r){let n=e+r,i=N0.get(t);n!=i&&(N0.set(t,n),t.style.background=e,t.style.borderColor=r)}const I0=new WeakMap;function jq(t,e,r,n){let i=e+""+r,a=I0.get(t);i!=a&&(I0.set(t,i),t.style.height=r+"px",t.style.width=e+"px",t.style.marginLeft=n?-e/2+"px":0,t.style.marginTop=n?-r/2+"px":0)}const zy={passive:!0},jM={...zy,capture:!0};function mo(t,e,r,n){e.addEventListener(t,r,n?jM:zy)}function Kg(t,e,r,n){e.removeEventListener(t,r,n?jM:zy)}il&&Gg();function sa(t,e,r,n){let i;r=r||0,n=n||e.length-1;let a=n<=2147483647;for(;n-r>1;)i=a?r+n>>1:kn((r+n)/2),e[i]=e&&i<=r;i+=n)if(t[i]!=null)return i;return-1}function Vq(t,e,r,n){let i=Le,a=-Le;if(n==1)i=t[e],a=t[r];else if(n==-1)i=t[r],a=t[e];else for(let o=e;o<=r;o++)t[o]!=null&&(i=Wr(i,t[o]),a=Zt(a,t[o]));return[i,a]}function Hq(t,e,r){let n=Le,i=-Le;for(let a=e;a<=r;a++)t[a]>0&&(n=Wr(n,t[a]),i=Zt(i,t[a]));return[n==Le?1:n,i==-Le?10:i]}function eh(t,e,r,n){let i=L0(t),a=L0(e),o=r==10?Hi:VM;t==e&&(i==-1?(t*=r,e/=r):(t/=r,e*=r));let s=i==1?kn:Ud,l=a==1?Ud:kn,u=s(o(vr(t))),f=l(o(vr(e))),d=Ks(r,u),p=Ks(r,f);return u<0&&(d=lt(d,-u)),f<0&&(p=lt(p,-f)),n?(t=d*i,e=p*a):(t=zM(t,d),e=go(e,p)),[t,e]}function Uy(t,e,r,n){let i=eh(t,e,r,n);return t==0&&(i[0]=0),e==0&&(i[1]=0),i}const Gy=.1,B0={mode:3,pad:Gy},yu={pad:0,soft:null,mode:0},zq={min:yu,max:yu};function zd(t,e,r,n){return rh(r)?k0(t,e,r):(yu.pad=r,yu.soft=n?0:null,yu.mode=n?3:0,k0(t,e,zq))}function Ue(t,e){return t==null?e:t}function Uq(t,e,r){for(e=Ue(e,0),r=Ue(r,t.length-1);e<=r;){if(t[e]!=null)return!0;e++}return!1}function k0(t,e,r){let n=r.min,i=r.max,a=Ue(n.pad,0),o=Ue(i.pad,0),s=Ue(n.hard,-Le),l=Ue(i.hard,Le),u=Ue(n.soft,Le),f=Ue(i.soft,-Le),d=Ue(n.mode,0),p=Ue(i.mode,0),h=e-t,b=Hi(h),y=Zt(vr(t),vr(e)),P=Hi(y),C=vr(P-b);(h<1e-9||C>10)&&(h=0,(t==0||e==0)&&(h=1e-9,d==2&&u!=Le&&(a=0),p==2&&f!=-Le&&(o=0)));let R=h||y||1e3,A=Hi(R),B=Ks(10,kn(A)),D=R*(h==0?t==0?.1:1:a),V=lt(zM(t-D,B/10),9),N=t>=u&&(d==1||d==3&&V<=u||d==2&&V>=u)?u:Le,G=Zt(s,V=N?N:Wr(N,V)),H=R*(h==0?e==0?.1:1:o),W=lt(go(e+H,B/10),9),j=e<=f&&(p==1||p==3&&W>=f||p==2&&W<=f)?f:-Le,E=Wr(l,W>j&&e<=j?j:Zt(j,W));return G==E&&G==0&&(E=100),[G,E]}const Gq=new Intl.NumberFormat(il?Lq.language:"en-US"),Wy=t=>Gq.format(t),Tn=Math,Ff=Tn.PI,vr=Tn.abs,kn=Tn.floor,qt=Tn.round,Ud=Tn.ceil,Wr=Tn.min,Zt=Tn.max,Ks=Tn.pow,L0=Tn.sign,Hi=Tn.log10,VM=Tn.log2,Wq=(t,e=1)=>Tn.sinh(t)*e,lm=(t,e=1)=>Tn.asinh(t/e),Le=1/0;function F0(t){return(Hi((t^t>>31)-(t>>31))|0)+1}function ro(t,e){return qt(t/e)*e}function j0(t,e,r){return Wr(Zt(t,e),r)}function Ve(t){return typeof t=="function"?t:()=>t}const Kq=()=>{},Yq=t=>t,HM=(t,e)=>e,qq=t=>null,V0=t=>!0,H0=(t,e)=>t==e;function go(t,e){return Ud(t/e)*e}function zM(t,e){return kn(t/e)*e}function lt(t,e=0){if(Jq(t))return t;let r=10**e,n=t*r*(1+Number.EPSILON);return qt(n)/r}const th=new Map;function Xq(t){return((""+t).split(".")[1]||"").length}function Lu(t,e,r,n){let i=[],a=n.map(Xq);for(let o=e;o=0&&o>=0?0:s)+(o>=a[u]?0:a[u]),p=lt(f,d);i.push(p),th.set(p,d)}}return i}const Ou={},UM=[],Ys=[null,null],so=Array.isArray,Jq=Number.isInteger;function z0(t){return typeof t=="string"}function rh(t){let e=!1;if(t!=null){let r=t.constructor;e=r==null||r==Object}return e}function U0(t){return t!=null&&typeof t=="object"}const Zq=Object.getPrototypeOf(Uint8Array);function bo(t,e=rh){let r;if(so(t)){let n=t.find(i=>i!=null);if(so(n)||e(n)){r=Array(t.length);for(let i=0;ia){for(i=o-1;i>=0&&t[i]==null;)t[i--]=null;for(i=o+1;io-s)],i=n[0].length,a=new Map;for(let o=0;o"u"?t=>Promise.resolve().then(t):queueMicrotask,GM=["January","February","March","April","May","June","July","August","September","October","November","December"],WM=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"];function KM(t){return t.slice(0,3)}const aX=WM.map(KM),oX=GM.map(KM),sX={MMMM:GM,MMM:oX,WWWW:WM,WWW:aX};function Gl(t){return(t<10?"0":"")+t}function lX(t){return(t<10?"00":t<100?"0":"")+t}const uX={YYYY:t=>t.getFullYear(),YY:t=>(t.getFullYear()+"").slice(2),MMMM:(t,e)=>e.MMMM[t.getMonth()],MMM:(t,e)=>e.MMM[t.getMonth()],MM:t=>Gl(t.getMonth()+1),M:t=>t.getMonth()+1,DD:t=>Gl(t.getDate()),D:t=>t.getDate(),WWWW:(t,e)=>e.WWWW[t.getDay()],WWW:(t,e)=>e.WWW[t.getDay()],HH:t=>Gl(t.getHours()),H:t=>t.getHours(),h:t=>{let e=t.getHours();return e==0?12:e>12?e-12:e},AA:t=>t.getHours()>=12?"PM":"AM",aa:t=>t.getHours()>=12?"pm":"am",a:t=>t.getHours()>=12?"p":"a",mm:t=>Gl(t.getMinutes()),m:t=>t.getMinutes(),ss:t=>Gl(t.getSeconds()),s:t=>t.getSeconds(),fff:t=>lX(t.getMilliseconds())};function Ky(t,e){e=e||sX;let r=[],n=/\{([a-z]+)\}|[^{]+/gi,i;for(;i=n.exec(t);)r.push(i[0][0]=="{"?uX[i[1]]:i[0]);return a=>{let o="";for(let s=0;st%1==0,Gd=[1,2,2.5,5],dX=Lu(10,-16,0,Gd),qM=Lu(10,0,16,Gd),pX=qM.filter(YM),hX=dX.concat(qM),Yy=` -`,XM="{YYYY}",G0=Yy+XM,JM="{M}/{D}",lu=Yy+JM,Zc=lu+"/{YY}",ZM="{aa}",vX="{h}:{mm}",bs=vX+ZM,W0=Yy+bs,K0=":{ss}",Xe=null;function QM(t){let e=t*1e3,r=e*60,n=r*60,i=n*24,a=i*30,o=i*365,l=(t==1?Lu(10,0,3,Gd).filter(YM):Lu(10,-3,0,Gd)).concat([e,e*5,e*10,e*15,e*30,r,r*5,r*10,r*15,r*30,n,n*2,n*3,n*4,n*6,n*8,n*12,i,i*2,i*3,i*4,i*5,i*6,i*7,i*8,i*9,i*10,i*15,a,a*2,a*3,a*4,a*6,o,o*2,o*5,o*10,o*25,o*50,o*100]);const u=[[o,XM,Xe,Xe,Xe,Xe,Xe,Xe,1],[i*28,"{MMM}",G0,Xe,Xe,Xe,Xe,Xe,1],[i,JM,G0,Xe,Xe,Xe,Xe,Xe,1],[n,"{h}"+ZM,Zc,Xe,lu,Xe,Xe,Xe,1],[r,bs,Zc,Xe,lu,Xe,Xe,Xe,1],[e,K0,Zc+" "+bs,Xe,lu+" "+bs,Xe,W0,Xe,1],[t,K0+".{fff}",Zc+" "+bs,Xe,lu+" "+bs,Xe,W0,Xe,1]];function f(d){return(p,h,b,y,P,C)=>{let R=[],A=P>=o,B=P>=a&&P=i?i:P,W=kn(b)-kn(V),j=G+W+go(V-G,H);R.push(j);let E=d(j),v=E.getHours()+E.getMinutes()/r+E.getSeconds()/n,w=P/n,$=p.axes[h]._space,M=C/$;for(;j=lt(j+P,t==1?0:3),!(j>y);)if(w>1){let F=kn(lt(v+w,6))%24,q=d(j).getHours()-F;q>1&&(q=-1),j-=q*n,v=(v+w)%24;let K=R[R.length-1];lt((j-K)/P,3)*M>=.7&&R.push(j)}else R.push(j)}return R}}return[l,u,f]}const[mX,gX,bX]=QM(1),[yX,OX,_X]=QM(.001);Lu(2,-53,53,[1]);function Y0(t,e){return t.map(r=>r.map((n,i)=>i==0||i==8||n==null?n:e(i==1||r[8]==0?n:r[1]+n)))}function q0(t,e){return(r,n,i,a,o)=>{let s=e.find(b=>o>=b[0])||e[e.length-1],l,u,f,d,p,h;return n.map(b=>{let y=t(b),P=y.getFullYear(),C=y.getMonth(),R=y.getDate(),A=y.getHours(),B=y.getMinutes(),D=y.getSeconds(),V=P!=l&&s[2]||C!=u&&s[3]||R!=f&&s[4]||A!=d&&s[5]||B!=p&&s[6]||D!=h&&s[7]||s[1];return l=P,u=C,f=R,d=A,p=B,h=D,V(y)})}}function wX(t,e){let r=Ky(e);return(n,i,a,o,s)=>i.map(l=>r(t(l)))}function um(t,e,r){return new Date(t,e,r)}function X0(t,e){return e(t)}const TX="{YYYY}-{MM}-{DD} {h}:{mm}{aa}";function J0(t,e){return(r,n)=>e(t(n))}function SX(t,e){let r=t.series[e];return r.width?r.stroke(t,e):r.points.width?r.points.stroke(t,e):null}function PX(t,e){return t.series[e].fill(t,e)}const EX={show:!0,live:!0,isolate:!1,mount:Kq,markers:{show:!0,width:2,stroke:SX,fill:PX,dash:"solid"},idx:null,idxs:null,values:[]};function $X(t,e){let r=t.cursor.points,n=An(),i=r.size(t,e);vt(n,ou,i),vt(n,su,i);let a=i/-2;vt(n,"marginLeft",a),vt(n,"marginTop",a);let o=r.width(t,e,i);return o&&vt(n,"borderWidth",o),n}function CX(t,e){let r=t.series[e].points;return r._fill||r._stroke}function AX(t,e){let r=t.series[e].points;return r._stroke||r._fill}function DX(t,e){let r=t.series[e].points;return iN(r.width,1)}function RX(t,e,r){return r}const cm=[0,0];function xX(t,e,r){return cm[0]=e,cm[1]=r,cm}function Qc(t,e,r){return n=>{n.button==0&&r(n)}}function fm(t,e,r){return r}const MX={show:!0,x:!0,y:!0,lock:!1,move:xX,points:{show:$X,size:DX,width:0,stroke:AX,fill:CX},bind:{mousedown:Qc,mouseup:Qc,click:Qc,dblclick:Qc,mousemove:fm,mouseleave:fm,mouseenter:fm},drag:{setScale:!0,x:!0,y:!1,dist:0,uni:null,_x:!1,_y:!1},focus:{prox:-1},left:-10,top:-10,idx:null,dataIdx:RX,idxs:null},eN={show:!0,stroke:"rgba(0,0,0,0.07)",width:2},qy=Bt({},eN,{filter:HM}),tN=Bt({},qy,{size:10}),rN=Bt({},eN,{show:!1}),Xy='12px system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"',nN="bold "+Xy,NX=1.5,Z0={show:!0,scale:"x",stroke:Hy,space:50,gap:5,size:50,labelGap:0,labelSize:30,labelFont:nN,side:2,grid:qy,ticks:tN,border:rN,font:Xy,rotate:0},IX="Value",BX="Time",Q0={show:!0,scale:"x",auto:!1,sorted:1,min:Le,max:-Le,idxs:[]};function kX(t,e,r,n,i){return e.map(a=>a==null?"":Wy(a))}function LX(t,e,r,n,i,a,o){let s=[],l=th.get(i)||0;r=o?r:lt(go(r,i),l);for(let u=r;u<=n;u=lt(u+i,l))s.push(Object.is(u,-0)?0:u);return s}function Yg(t,e,r,n,i,a,o){const s=[],l=t.scales[t.axes[e].scale].log,u=l==10?Hi:VM,f=kn(u(r));i=Ks(l,f),f<0&&(i=lt(i,-f));let d=r;do s.push(d),d=lt(d+i,th.get(i)),d>=i*l&&(i=d);while(d<=n);return s}function FX(t,e,r,n,i,a,o){let l=t.scales[t.axes[e].scale].asinh,u=n>l?Yg(t,e,Zt(l,r),n,i):[l],f=n>=0&&r<=0?[0]:[];return(r<-l?Yg(t,e,Zt(l,-n),-r,i):[l]).reverse().map(p=>-p).concat(f,u)}const jX=/./,VX=/[12357]/,HX=/[125]/,zX=/1/;function UX(t,e,r,n,i){let a=t.axes[r],o=a.scale,s=t.scales[o];if(s.distr==3&&s.log==2)return e;let l=t.valToPos,u=a._space,f=l(10,o),d=l(9,o)-f>=u?jX:l(7,o)-f>=u?VX:l(5,o)-f>=u?HX:zX;return e.map(p=>s.distr==4&&p==0||d.test(p)?p:null)}function GX(t,e){return e==null?"":Wy(e)}const e$={show:!0,scale:"y",stroke:Hy,space:30,gap:5,size:50,labelGap:0,labelSize:30,labelFont:nN,side:3,grid:qy,ticks:tN,border:rN,font:Xy,rotate:0};function iN(t,e){let r=3+(t||1)*2;return lt(r*e,3)}function WX(t,e){let{scale:r,idxs:n}=t.series[0],i=t._data[0],a=t.valToPos(i[n[0]],r,!0),o=t.valToPos(i[n[1]],r,!0),s=vr(o-a),l=t.series[e],u=s/(l.points.space*ze);return n[1]-n[0]<=u}const t$={scale:null,auto:!0,sorted:0,min:Le,max:-Le},aN=(t,e,r,n,i)=>i,r$={show:!0,auto:!0,sorted:0,gaps:aN,alpha:1,facets:[Bt({},t$,{scale:"x"}),Bt({},t$,{scale:"y"})]},n$={scale:"y",auto:!0,sorted:0,show:!0,spanGaps:!1,gaps:aN,alpha:1,points:{show:WX,filter:null},values:null,min:Le,max:-Le,idxs:[],path:null,clip:null};function KX(t,e,r,n,i){return r/10}const oN={time:mq,auto:!0,distr:1,log:10,asinh:1,min:null,max:null,dir:1,ori:0},YX=Bt({},oN,{time:!1,ori:1}),i$={};function sN(t,e){let r=i$[t];return r||(r={key:t,plots:[],sub(n){r.plots.push(n)},unsub(n){r.plots=r.plots.filter(i=>i!=n)},pub(n,i,a,o,s,l,u){for(let f=0;f{let C=o.pxRound;const R=u.dir*(u.ori==0?1:-1),A=u.ori==0?al:ol;let B,D;R==1?(B=r,D=n):(B=n,D=r);let V=C(d(s[B],u,y,h)),N=C(p(l[B],f,P,b)),G=C(d(s[D],u,y,h)),H=C(p(a==1?f.max:f.min,f,P,b)),W=new Path2D(i);return A(W,G,H),A(W,V,H),A(W,V,N),W})}function ih(t,e,r,n,i,a){let o=null;if(t.length>0){o=new Path2D;const s=e==0?sh:Zy;let l=r;for(let f=0;fd[0]){let p=d[0]-l;p>0&&s(o,l,n,p,n+a),l=d[1]}}let u=r+i-l;u>0&&s(o,l,n,u,n+a)}return o}function XX(t,e,r){let n=t[t.length-1];n&&n[0]==e?n[1]=r:t.push([e,r])}function Jy(t,e,r,n,i,a,o){let s=[];for(let l=i==1?r:n;l>=r&&l<=n;l+=i)if(e[l]===null){let f=l,d=l;if(i==1)for(;++l<=n&&e[l]===null;)d=l;else for(;--l>=r&&e[l]===null;)d=l;let p=a(t[f]),h=d==f?p:a(t[d]);p=o<=0?a(t[f-i]):p,h=o>=0?a(t[d+i]):h,h>=p&&s.push([p,h])}return s}function a$(t){return t==0?Yq:t==1?qt:e=>ro(e,t)}function lN(t){let e=t==0?ah:oh,r=t==0?(i,a,o,s,l,u)=>{i.arcTo(a,o,s,l,u)}:(i,a,o,s,l,u)=>{i.arcTo(o,a,l,s,u)},n=t==0?(i,a,o,s,l)=>{i.rect(a,o,s,l)}:(i,a,o,s,l)=>{i.rect(o,a,l,s)};return(i,a,o,s,l,u=0)=>{u==0?n(i,a,o,s,l):(u=Wr(u,s/2,l/2),e(i,a+u,o),r(i,a+s,o,a+s,o+l,u),r(i,a+s,o+l,a,o+l,u),r(i,a,o+l,a,o,u),r(i,a,o,a+s,o,u),i.closePath())}}const ah=(t,e,r)=>{t.moveTo(e,r)},oh=(t,e,r)=>{t.moveTo(r,e)},al=(t,e,r)=>{t.lineTo(e,r)},ol=(t,e,r)=>{t.lineTo(r,e)},sh=lN(0),Zy=lN(1),uN=(t,e,r,n,i,a)=>{t.arc(e,r,n,i,a)},cN=(t,e,r,n,i,a)=>{t.arc(r,e,n,i,a)},fN=(t,e,r,n,i,a,o)=>{t.bezierCurveTo(e,r,n,i,a,o)},dN=(t,e,r,n,i,a,o)=>{t.bezierCurveTo(r,e,i,n,o,a)};function pN(t){return(e,r,n,i,a)=>Vo(e,r,(o,s,l,u,f,d,p,h,b,y,P)=>{let{pxRound:C,points:R}=o,A,B;u.ori==0?(A=ah,B=uN):(A=oh,B=cN);const D=lt(R.width*ze,3);let V=(R.size-R.width)/2*ze,N=lt(V*2,3),G=new Path2D,H=new Path2D,{left:W,top:j,width:E,height:v}=e.bbox;sh(H,W-N,j-N,E+N*2,v+N*2);const w=$=>{if(l[$]!=null){let M=C(d(s[$],u,y,h)),F=C(p(l[$],f,P,b));A(G,M+V,F),B(G,M,F,V,0,Ff*2)}};if(a)a.forEach(w);else for(let $=n;$<=i;$++)w($);return{stroke:D>0?G:null,fill:G,clip:H,flags:Mo|Wd}})}function hN(t){return(e,r,n,i,a,o)=>{n!=i&&(a!=n&&o!=n&&t(e,r,n),a!=i&&o!=i&&t(e,r,i),t(e,r,o))}}const JX=hN(al),ZX=hN(ol);function vN(t){const e=Ue(t==null?void 0:t.alignGaps,0);return(r,n,i,a)=>Vo(r,n,(o,s,l,u,f,d,p,h,b,y,P)=>{let C=o.pxRound,R=K=>C(d(K,u,y,h)),A=K=>C(p(K,f,P,b)),B,D;u.ori==0?(B=al,D=JX):(B=ol,D=ZX);const V=u.dir*(u.ori==0?1:-1),N={stroke:new Path2D,fill:null,clip:null,band:null,gaps:null,flags:Mo},G=N.stroke;let H=Le,W=-Le,j,E,v,w=R(s[V==1?i:a]),$=Ws(l,i,a,1*V),M=Ws(l,i,a,-1*V),F=R(s[$]),X=R(s[M]);for(let K=V==1?i:a;K>=i&&K<=a;K+=V){let U=R(s[K]);U==w?l[K]!=null&&(E=A(l[K]),H==Le&&(B(G,U,E),j=E),H=Wr(E,H),W=Zt(E,W)):(H!=Le&&(D(G,w,H,W,j,E),v=w),l[K]!=null?(E=A(l[K]),B(G,U,E),H=W=j=E):(H=Le,W=-Le),w=U)}H!=Le&&H!=W&&v!=w&&D(G,w,H,W,j,E);let[Q,q]=nh(r,n);if(o.fill!=null||Q!=0){let K=N.fill=new Path2D(G),U=o.fillTo(r,n,o.min,o.max,Q),le=A(U);B(K,X,le),B(K,F,le)}if(!o.spanGaps){let K=[];K.push(...Jy(s,l,i,a,V,R,e)),N.gaps=K=o.gaps(r,n,i,a,K),N.clip=ih(K,u.ori,h,b,y,P)}return q!=0&&(N.band=q==2?[zi(r,n,i,a,G,-1),zi(r,n,i,a,G,1)]:zi(r,n,i,a,G,q)),N})}function QX(t){const e=Ue(t.align,1),r=Ue(t.ascDesc,!1),n=Ue(t.alignGaps,0),i=Ue(t.extend,!1);return(a,o,s,l)=>Vo(a,o,(u,f,d,p,h,b,y,P,C,R,A)=>{let B=u.pxRound,{left:D,width:V}=a.bbox,N=q=>B(b(q,p,R,P)),G=q=>B(y(q,h,A,C)),H=p.ori==0?al:ol;const W={stroke:new Path2D,fill:null,clip:null,band:null,gaps:null,flags:Mo},j=W.stroke,E=p.dir*(p.ori==0?1:-1);s=Ws(d,s,l,1),l=Ws(d,s,l,-1);let v=G(d[E==1?s:l]),w=N(f[E==1?s:l]),$=w,M=w;i&&e==-1&&(M=D,H(j,M,v)),H(j,w,v);for(let q=E==1?s:l;q>=s&&q<=l;q+=E){let K=d[q];if(K==null)continue;let U=N(f[q]),le=G(K);e==1?H(j,U,v):H(j,$,le),H(j,U,le),v=le,$=U}let F=$;i&&e==1&&(F=D+V,H(j,F,v));let[X,Q]=nh(a,o);if(u.fill!=null||X!=0){let q=W.fill=new Path2D(j),K=u.fillTo(a,o,u.min,u.max,X),U=G(K);H(q,F,U),H(q,M,U)}if(!u.spanGaps){let q=[];q.push(...Jy(f,d,s,l,E,N,n));let K=u.width*ze/2,U=r||e==1?K:-K,le=r||e==-1?-K:K;q.forEach(be=>{be[0]+=U,be[1]+=le}),W.gaps=q=u.gaps(a,o,s,l,q),W.clip=ih(q,p.ori,P,C,R,A)}return Q!=0&&(W.band=Q==2?[zi(a,o,s,l,j,-1),zi(a,o,s,l,j,1)]:zi(a,o,s,l,j,Q)),W})}function eJ(t){t=t||Ou;const e=Ue(t.size,[.6,Le,1]),r=t.align||0,n=(t.gap||0)*ze,i=Ue(t.radius,0),a=1-e[0],o=Ue(e[1],Le)*ze,s=Ue(e[2],1)*ze,l=Ue(t.disp,Ou),u=Ue(t.each,p=>{}),{fill:f,stroke:d}=l;return(p,h,b,y)=>Vo(p,h,(P,C,R,A,B,D,V,N,G,H,W)=>{let j=P.pxRound;const E=A.dir*(A.ori==0?1:-1),v=B.dir*(B.ori==1?1:-1);let w=A.ori==0?sh:Zy,$=A.ori==0?u:(Ye,wr,nn,$e,Be,Ct,zt)=>{u(Ye,wr,nn,Be,$e,zt,Ct)},[M,F]=nh(p,h),X=B.distr==3?M==1?B.max:B.min:0,Q=V(X,B,W,G),q,K,U=j(P.width*ze),le=!1,be=null,me=null,Ie=null,Te=null;f!=null&&(U==0||d!=null)&&(le=!0,be=f.values(p,h,b,y),me=new Map,new Set(be).forEach(Ye=>{Ye!=null&&me.set(Ye,new Path2D)}),U>0&&(Ie=d.values(p,h,b,y),Te=new Map,new Set(Ie).forEach(Ye=>{Ye!=null&&Te.set(Ye,new Path2D)})));let{x0:$t,size:Re}=l;if($t!=null&&Re!=null){C=$t.values(p,h,b,y),$t.unit==2&&(C=C.map(wr=>p.posToVal(N+wr*H,A.key,!0)));let Ye=Re.values(p,h,b,y);Re.unit==2?K=Ye[0]*H:K=D(Ye[0],A,H,N)-D(0,A,H,N),K=j(K-U),q=E==1?-U/2:K+U/2}else{let Ye=H;if(C.length>1){let nn=null;for(let $e=0,Be=1/0;$e=b&&Ye<=y;Ye+=E){let wr=R[Ye];if(wr===void 0)continue;let nn=A.distr!=2||l!=null?C[Ye]:Ye,$e=D(nn,A,H,N),Be=V(Ue(wr,X),B,W,G);En!=null&&wr!=null&&(Q=V(En[Ye],B,W,G));let Ct=j($e-q),zt=j(Zt(Be,Q)),Ut=j(Wr(Be,Q)),Br=zt-Ut,jn=i*K;wr!=null&&(le?(U>0&&Ie[Ye]!=null&&w(Te.get(Ie[Ye]),Ct,Ut+kn(U/2),K,Zt(0,Br-U),jn),be[Ye]!=null&&w(me.get(be[Ye]),Ct,Ut+kn(U/2),K,Zt(0,Br-U),jn)):w(Pn,Ct,Ut+kn(U/2),K,Zt(0,Br-U),jn),$(p,h,Ye,Ct-U/2,Ut,K+U,Br)),F!=0&&(v*F==1?(zt=Ut,Ut=Ir):(Ut=zt,zt=Ir),Br=zt-Ut,w(ul,Ct-U/2,Ut,K+U,Zt(0,Br),0))}return U>0&&(Qe.stroke=le?Te:Pn),Qe.fill=le?me:Pn,Qe})}function tJ(t,e){const r=Ue(e==null?void 0:e.alignGaps,0);return(n,i,a,o)=>Vo(n,i,(s,l,u,f,d,p,h,b,y,P,C)=>{let R=s.pxRound,A=F=>R(p(F,f,P,b)),B=F=>R(h(F,d,C,y)),D,V,N;f.ori==0?(D=ah,N=al,V=fN):(D=oh,N=ol,V=dN);const G=f.dir*(f.ori==0?1:-1);a=Ws(u,a,o,1),o=Ws(u,a,o,-1);let H=A(l[G==1?a:o]),W=H,j=[],E=[];for(let F=G==1?a:o;F>=a&&F<=o;F+=G)if(u[F]!=null){let Q=l[F],q=A(Q);j.push(W=q),E.push(B(u[F]))}const v={stroke:t(j,E,D,N,V,R),fill:null,clip:null,band:null,gaps:null,flags:Mo},w=v.stroke;let[$,M]=nh(n,i);if(s.fill!=null||$!=0){let F=v.fill=new Path2D(w),X=s.fillTo(n,i,s.min,s.max,$),Q=B(X);N(F,W,Q),N(F,H,Q)}if(!s.spanGaps){let F=[];F.push(...Jy(l,u,a,o,G,A,r)),v.gaps=F=s.gaps(n,i,a,o,F),v.clip=ih(F,f.ori,b,y,P,C)}return M!=0&&(v.band=M==2?[zi(n,i,a,o,w,-1),zi(n,i,a,o,w,1)]:zi(n,i,a,o,w,M)),v})}function rJ(t){return tJ(nJ,t)}function nJ(t,e,r,n,i,a){const o=t.length;if(o<2)return null;const s=new Path2D;if(r(s,t[0],e[0]),o==2)n(s,t[1],e[1]);else{let l=Array(o),u=Array(o-1),f=Array(o-1),d=Array(o-1);for(let p=0;p0!=u[p]>0?l[p]=0:(l[p]=3*(d[p-1]+d[p])/((2*d[p]+d[p-1])/u[p-1]+(d[p]+2*d[p-1])/u[p]),isFinite(l[p])||(l[p]=0));l[o-1]=u[o-2];for(let p=0;p{cr.pxRatio=ze}));const iJ=vN(),aJ=pN();function s$(t,e,r,n){return(n?[t[0],t[1]].concat(t.slice(2)):[t[0]].concat(t.slice(1))).map((a,o)=>Xg(a,o,e,r))}function oJ(t,e){return t.map((r,n)=>n==0?null:Bt({},e,r))}function Xg(t,e,r,n){return Bt({},e==0?r:n,t)}function mN(t,e,r){return e==null?Ys:[e,r]}const sJ=mN;function lJ(t,e,r){return e==null?Ys:zd(e,r,Gy,!0)}function gN(t,e,r,n){return e==null?Ys:eh(e,r,t.scales[n].log,!1)}const uJ=gN;function bN(t,e,r,n){return e==null?Ys:Uy(e,r,t.scales[n].log,!1)}const cJ=bN;function fJ(t,e,r,n,i){let a=Zt(F0(t),F0(e)),o=e-t,s=sa(i/n*o,r);do{let l=r[s],u=n*l/o;if(u>=i&&a+(l<5?th.get(l):0)<=17)return[l,u]}while(++s(e=qt((r=+i)*ze))+"px"),[t,e,r]}function dJ(t){t.show&&[t.font,t.labelFont].forEach(e=>{let r=lt(e[2]*ze,1);e[0]=e[0].replace(/[0-9.]+px/,r+"px"),e[1]=r})}function cr(t,e,r){const n={mode:Ue(t.mode,1)},i=n.mode;function a(m,O){return((O.distr==3?Hi(m>0?m:O.clamp(n,m,O.min,O.max,O.key)):O.distr==4?lm(m,O.asinh):m)-O._min)/(O._max-O._min)}function o(m,O,T,S){let x=a(m,O);return S+T*(O.dir==-1?1-x:x)}function s(m,O,T,S){let x=a(m,O);return S+T*(O.dir==-1?x:1-x)}function l(m,O,T,S){return O.ori==0?o(m,O,T,S):s(m,O,T,S)}n.valToPosH=o,n.valToPosV=s;let u=!1;n.status=0;const f=n.root=An(gq);if(t.id!=null&&(f.id=t.id),cn(f,t.class),t.title){let m=An(Oq,f);m.textContent=t.title}const d=Di("canvas"),p=n.ctx=d.getContext("2d"),h=An(_q,f),b=n.under=An(wq,h);h.appendChild(d);const y=n.over=An(Tq,h);t=bo(t);const P=+Ue(t.pxAlign,1),C=a$(P);(t.plugins||[]).forEach(m=>{m.opts&&(t=m.opts(n,t)||t)});const R=t.ms||.001,A=n.series=i==1?s$(t.series||[],Q0,n$,!1):oJ(t.series||[null],r$),B=n.axes=s$(t.axes||[],Z0,e$,!0),D=n.scales={},V=n.bands=t.bands||[];V.forEach(m=>{m.fill=Ve(m.fill||null),m.dir=Ue(m.dir,-1)});const N=i==2?A[1].facets[0].scale:A[0].scale,G={axes:tI,series:XN},H=(t.drawOrder||["axes","series"]).map(m=>G[m]);function W(m){let O=D[m];if(O==null){let T=(t.scales||Ou)[m]||Ou;if(T.from!=null)W(T.from),D[m]=Bt({},D[T.from],T,{key:m});else{O=D[m]=Bt({},m==N?oN:YX,T),O.key=m;let S=O.time,x=O.range,k=so(x);if((m!=N||i==2&&!S)&&(k&&(x[0]==null||x[1]==null)&&(x={min:x[0]==null?B0:{mode:1,hard:x[0],soft:x[0]},max:x[1]==null?B0:{mode:1,hard:x[1],soft:x[1]}},k=!1),!k&&rh(x))){let Y=x;x=(J,te,fe)=>te==null?Ys:zd(te,fe,Y)}O.range=Ve(x||(S?sJ:m==N?O.distr==3?uJ:O.distr==4?cJ:mN:O.distr==3?gN:O.distr==4?bN:lJ)),O.auto=Ve(k?!1:O.auto),O.clamp=Ve(O.clamp||KX),O._min=O._max=null}}}W("x"),W("y"),i==1&&A.forEach(m=>{W(m.scale)}),B.forEach(m=>{W(m.scale)});for(let m in t.scales)W(m);const j=D[N],E=j.distr;let v,w;j.ori==0?(cn(f,bq),v=o,w=s):(cn(f,yq),v=s,w=o);const $={};for(let m in D){let O=D[m];(O.min!=null||O.max!=null)&&($[m]={min:O.min,max:O.max},O.min=O.max=null)}const M=t.tzDate||(m=>new Date(qt(m/R))),F=t.fmtDate||Ky,X=R==1?bX(M):_X(M),Q=q0(M,Y0(R==1?gX:OX,F)),q=J0(M,X0(TX,F)),K=[],U=n.legend=Bt({},EX,t.legend),le=U.show,be=U.markers;U.idxs=K,be.width=Ve(be.width),be.dash=Ve(be.dash),be.stroke=Ve(be.stroke),be.fill=Ve(be.fill);let me,Ie=[],Te=[],$t,Re=!1,Qe={};if(U.live){const m=A[1]?A[1].values:null;Re=m!=null,$t=Re?m(n,1,0):{_:0};for(let O in $t)Qe[O]="--"}if(le)if(me=Di("table",Aq,f),U.mount(n,me),Re){let m=Di("tr",xq,me);Di("th",null,m);for(var Ir in $t)Di("th",S0,m).textContent=Ir}else cn(me,Rq),U.live&&cn(me,Dq);const Pn={show:!0},ul={show:!1};function zo(m,O){if(O==0&&(Re||!U.live||i==2))return Ys;let T=[],S=Di("tr",Mq,me,me.childNodes[O]);cn(S,m.class),m.show||cn(S,oo);let x=Di("th",null,S);if(be.show){let J=An(Nq,x);if(O>0){let te=be.width(n,O);te&&(J.style.border=te+"px "+be.dash(n,O)+" "+be.stroke(n,O)),J.style.background=be.fill(n,O)}}let k=An(S0,x);k.textContent=m.label,O>0&&(be.show||(k.style.color=m.width>0?be.stroke(n,O):be.fill(n,O)),En("click",x,J=>{if(Se._lock)return;let te=A.indexOf(m);if((J.ctrlKey||J.metaKey)!=U.isolate){let fe=A.some((Z,ue)=>ue>0&&ue!=te&&Z.show);A.forEach((Z,ue)=>{ue>0&&oi(ue,fe?ue==te?Pn:ul:Pn,!0,sr.setSeries)})}else oi(te,{show:!m.show},!0,sr.setSeries)}),sc&&En(A0,x,J=>{Se._lock||oi(A.indexOf(m),Yo,!0,sr.setSeries)}));for(var Y in $t){let J=Di("td",Iq,S);J.textContent="--",T.push(J)}return[S,T]}const Pi=new Map;function En(m,O,T){const S=Pi.get(O)||{},x=Se.bind[m](n,O,T);x&&(mo(m,O,S[m]=x),Pi.set(O,S))}function Ye(m,O,T){const S=Pi.get(O)||{};for(let x in S)(m==null||x==m)&&(Kg(x,O,S[x]),delete S[x]);m==null&&Pi.delete(O)}let wr=0,nn=0,$e=0,Be=0,Ct=0,zt=0,Ut=0,Br=0,jn=0,Va=0;n.bbox={};let hh=!1,ac=!1,Uo=!1,Go=!1,vh=!1,Vn=!1;function mh(m,O,T){(T||m!=n.width||O!=n.height)&&iO(m,O),dl(!1),Uo=!0,ac=!0,Se.left>=0&&(Go=Vn=!0),za()}function iO(m,O){n.width=wr=$e=m,n.height=nn=Be=O,Ct=zt=0,HN(),zN();let T=n.bbox;Ut=T.left=ro(Ct*ze,.5),Br=T.top=ro(zt*ze,.5),jn=T.width=ro($e*ze,.5),Va=T.height=ro(Be*ze,.5)}const FN=3;function jN(){let m=!1,O=0;for(;!m;){O++;let T=QN(O),S=eI(O);m=O==FN||T&&S,m||(iO(n.width,n.height),ac=!0)}}function VN({width:m,height:O}){mh(m,O)}n.setSize=VN;function HN(){let m=!1,O=!1,T=!1,S=!1;B.forEach((x,k)=>{if(x.show&&x._show){let{side:Y,_size:J}=x,te=Y%2,fe=x.label!=null?x.labelSize:0,Z=J+fe;Z>0&&(te?($e-=Z,Y==3?(Ct+=Z,S=!0):T=!0):(Be-=Z,Y==0?(zt+=Z,m=!0):O=!0))}}),Ha[0]=m,Ha[1]=T,Ha[2]=O,Ha[3]=S,$e-=ea[1]+ea[3],Ct+=ea[3],Be-=ea[2]+ea[0],zt+=ea[0]}function zN(){let m=Ct+$e,O=zt+Be,T=Ct,S=zt;function x(k,Y){switch(k){case 1:return m+=Y,m-Y;case 2:return O+=Y,O-Y;case 3:return T-=Y,T+Y;case 0:return S-=Y,S+Y}}B.forEach((k,Y)=>{if(k.show&&k._show){let J=k.side;k._pos=x(J,k._size),k.label!=null&&(k._lpos=x(J,k.labelSize))}})}const Se=n.cursor=Bt({},MX,{drag:{y:i==2}},t.cursor);{Se.idxs=K,Se._lock=!1;let m=Se.points;m.show=Ve(m.show),m.size=Ve(m.size),m.stroke=Ve(m.stroke),m.width=Ve(m.width),m.fill=Ve(m.fill)}const oc=n.focus=Bt({},t.focus||{alpha:.3},Se.focus),sc=oc.prox>=0;let kr=[null];function UN(m,O){if(O>0){let T=Se.points.show(n,O);if(T)return cn(T,Cq),cn(T,m.class),ds(T,-10,-10,$e,Be),y.insertBefore(T,kr[O]),T}}function aO(m,O){if(i==1||O>0){let T=i==1&&D[m.scale].time,S=m.value;m.value=T?z0(S)?J0(M,X0(S,F)):S||q:S||GX,m.label=m.label||(T?BX:IX)}if(O>0){m.width=m.width==null?1:m.width,m.paths=m.paths||iJ||qq,m.fillTo=Ve(m.fillTo||qX),m.pxAlign=+Ue(m.pxAlign,P),m.pxRound=a$(m.pxAlign),m.stroke=Ve(m.stroke||null),m.fill=Ve(m.fill||null),m._stroke=m._fill=m._paths=m._focus=null;let T=iN(m.width,1),S=m.points=Bt({},{size:T,width:Zt(1,T*.2),stroke:m.stroke,space:T*2,paths:aJ,_stroke:null,_fill:null},m.points);S.show=Ve(S.show),S.filter=Ve(S.filter),S.fill=Ve(S.fill),S.stroke=Ve(S.stroke),S.paths=Ve(S.paths),S.pxAlign=m.pxAlign}if(le){let T=zo(m,O);Ie.splice(O,0,T[0]),Te.splice(O,0,T[1]),U.values.push(null)}if(Se.show){K.splice(O,0,null);let T=UN(m,O);T&&kr.splice(O,0,T)}or("addSeries",O)}function GN(m,O){O=O==null?A.length:O,m=i==1?Xg(m,O,Q0,n$):Xg(m,O,null,r$),A.splice(O,0,m),aO(A[O],O)}n.addSeries=GN;function WN(m){if(A.splice(m,1),le){U.values.splice(m,1),Te.splice(m,1);let O=Ie.splice(m,1)[0];Ye(null,O.firstChild),O.remove()}Se.show&&(K.splice(m,1),kr.length>1&&kr.splice(m,1)[0].remove()),or("delSeries",m)}n.delSeries=WN;const Ha=[!1,!1,!1,!1];function KN(m,O){if(m._show=m.show,m.show){let T=m.side%2,S=D[m.scale];S==null&&(m.scale=T?A[1].scale:N,S=D[m.scale]);let x=S.time;m.size=Ve(m.size),m.space=Ve(m.space),m.rotate=Ve(m.rotate),m.incrs=Ve(m.incrs||(S.distr==2?pX:x?R==1?mX:yX:hX)),m.splits=Ve(m.splits||(x&&S.distr==1?X:S.distr==3?Yg:S.distr==4?FX:LX)),m.stroke=Ve(m.stroke),m.grid.stroke=Ve(m.grid.stroke),m.ticks.stroke=Ve(m.ticks.stroke),m.border.stroke=Ve(m.border.stroke);let k=m.values;m.values=so(k)&&!so(k[0])?Ve(k):x?so(k)?q0(M,Y0(k,F)):z0(k)?wX(M,k):k||Q:k||kX,m.filter=Ve(m.filter||(S.distr>=3&&S.log==10?UX:HM)),m.font=l$(m.font),m.labelFont=l$(m.labelFont),m._size=m.size(n,null,O,0),m._space=m._rotate=m._incrs=m._found=m._splits=m._values=null,m._size>0&&(Ha[O]=!0,m._el=An(Sq,h))}}function cl(m,O,T,S){let[x,k,Y,J]=T,te=O%2,fe=0;return te==0&&(J||k)&&(fe=O==0&&!x||O==2&&!Y?qt(Z0.size/3):0),te==1&&(x||Y)&&(fe=O==1&&!k||O==3&&!J?qt(e$.size/2):0),fe}const oO=n.padding=(t.padding||[cl,cl,cl,cl]).map(m=>Ve(Ue(m,cl))),ea=n._padding=oO.map((m,O)=>m(n,O,Ha,0));let Gt,ir=null,ar=null;const lc=i==1?A[0].idxs:null;let Hn=null,uc=!1;function sO(m,O){if(e=m==null?[]:bo(m,U0),i==2){Gt=0;for(let T=1;T=0,Vn=!0,za()}}n.setData=sO;function gh(){uc=!0;let m,O;i==1&&(Gt>0?(ir=lc[0]=0,ar=lc[1]=Gt-1,m=e[0][ir],O=e[0][ar],E==2?(m=ir,O=ar):Gt==1&&(E==3?[m,O]=eh(m,m,j.log,!1):E==4?[m,O]=Uy(m,m,j.log,!1):j.time?O=m+qt(86400/R):[m,O]=zd(m,O,Gy,!0))):(ir=lc[0]=m=null,ar=lc[1]=O=null)),Ko(N,m,O)}let cc,Wo,bh,yh,Oh,_h,wh,Th,Sh,fl;function lO(m,O,T,S,x,k){m!=null||(m=E0),T!=null||(T=UM),S!=null||(S="butt"),x!=null||(x=E0),k!=null||(k="round"),m!=cc&&(p.strokeStyle=cc=m),x!=Wo&&(p.fillStyle=Wo=x),O!=bh&&(p.lineWidth=bh=O),k!=Oh&&(p.lineJoin=Oh=k),S!=_h&&(p.lineCap=_h=S),T!=yh&&p.setLineDash(yh=T)}function uO(m,O,T,S){O!=Wo&&(p.fillStyle=Wo=O),m!=wh&&(p.font=wh=m),T!=Th&&(p.textAlign=Th=T),S!=Sh&&(p.textBaseline=Sh=S)}function Ph(m,O,T,S,x=0){if(S.length>0&&m.auto(n,uc)&&(O==null||O.min==null)){let k=Ue(ir,0),Y=Ue(ar,S.length-1),J=T.min==null?m.distr==3?Hq(S,k,Y):Vq(S,k,Y,x):[T.min,T.max];m.min=Wr(m.min,T.min=J[0]),m.max=Zt(m.max,T.max=J[1])}}function YN(){let m=bo(D,U0);for(let S in m){let x=m[S],k=$[S];if(k!=null&&k.min!=null)Bt(x,k),S==N&&dl(!0);else if(S!=N||i==2)if(Gt==0&&x.from==null){let Y=x.range(n,null,null,S);x.min=Y[0],x.max=Y[1]}else x.min=Le,x.max=-Le}if(Gt>0){A.forEach((S,x)=>{if(i==1){let k=S.scale,Y=m[k],J=$[k];if(x==0){let te=Y.range(n,Y.min,Y.max,k);Y.min=te[0],Y.max=te[1],ir=sa(Y.min,e[0]),ar=sa(Y.max,e[0]),e[0][ir]Y.max&&ar--,S.min=Hn[ir],S.max=Hn[ar]}else S.show&&S.auto&&Ph(Y,J,S,e[x],S.sorted);S.idxs[0]=ir,S.idxs[1]=ar}else if(x>0&&S.show&&S.auto){let[k,Y]=S.facets,J=k.scale,te=Y.scale,[fe,Z]=e[x];Ph(m[J],$[J],k,fe,k.sorted),Ph(m[te],$[te],Y,Z,Y.sorted),S.min=Y.min,S.max=Y.max}});for(let S in m){let x=m[S],k=$[S];if(x.from==null&&(k==null||k.min==null)){let Y=x.range(n,x.min==Le?null:x.min,x.max==-Le?null:x.max,S);x.min=Y[0],x.max=Y[1]}}}for(let S in m){let x=m[S];if(x.from!=null){let k=m[x.from];if(k.min==null)x.min=x.max=null;else{let Y=x.range(n,k.min,k.max,S);x.min=Y[0],x.max=Y[1]}}}let O={},T=!1;for(let S in m){let x=m[S],k=D[S];if(k.min!=x.min||k.max!=x.max){k.min=x.min,k.max=x.max;let Y=k.distr;k._min=Y==3?Hi(k.min):Y==4?lm(k.min,k.asinh):k.min,k._max=Y==3?Hi(k.max):Y==4?lm(k.max,k.asinh):k.max,O[S]=T=!0}}if(T){A.forEach((S,x)=>{i==2?x>0&&O.y&&(S._paths=null):O[S.scale]&&(S._paths=null)});for(let S in O)Uo=!0,or("setScale",S);Se.show&&Se.left>=0&&(Go=Vn=!0)}for(let S in $)$[S]=null}function qN(m){let O=j0(ir-1,0,Gt-1),T=j0(ar+1,0,Gt-1);for(;m[O]==null&&O>0;)O--;for(;m[T]==null&&T0&&(A.forEach((m,O)=>{if(O>0&&m.show&&m._paths==null){let T=i==2?[0,e[O][0].length-1]:qN(e[O]);m._paths=m.paths(n,O,T[0],T[1])}}),A.forEach((m,O)=>{if(O>0&&m.show){fl!=m.alpha&&(p.globalAlpha=fl=m.alpha),cO(O,!1),m._paths&&fO(O,!1);{cO(O,!0);let T=m._paths?m._paths.gaps:null,S=m.points.show(n,O,ir,ar,T),x=m.points.filter(n,O,S,T);(S||x)&&(m.points._paths=m.points.paths(n,O,ir,ar,x),fO(O,!0))}fl!=1&&(p.globalAlpha=fl=1),or("drawSeries",O)}}))}function cO(m,O){let T=O?A[m].points:A[m];T._stroke=T.stroke(n,m),T._fill=T.fill(n,m)}function fO(m,O){let T=O?A[m].points:A[m],S=T._stroke,x=T._fill,{stroke:k,fill:Y,clip:J,flags:te}=T._paths,fe=null,Z=lt(T.width*ze,3),ue=Z%2/2;O&&x==null&&(x=Z>0?"#fff":S);let Ce=T.pxAlign==1;if(Ce&&p.translate(ue,ue),!O){let At=Ut,xe=Br,ct=jn,ke=Va,qe=Z*ze/2;T.min==0&&(ke+=qe),T.max==0&&(xe-=qe,ke+=qe),fe=new Path2D,fe.rect(At,xe,ct,ke)}O?Eh(S,Z,T.dash,T.cap,x,k,Y,te,J):JN(m,S,Z,T.dash,T.cap,x,k,Y,te,fe,J),Ce&&p.translate(-ue,-ue)}function JN(m,O,T,S,x,k,Y,J,te,fe,Z){let ue=!1;V.forEach((Ce,At)=>{if(Ce.series[0]==m){let xe=A[Ce.series[1]],ct=e[Ce.series[1]],ke=(xe._paths||Ou).band;so(ke)&&(ke=Ce.dir==1?ke[0]:ke[1]);let qe,It=null;xe.show&&ke&&Uq(ct,ir,ar)?(It=Ce.fill(n,At)||k,qe=xe._paths.clip):ke=null,Eh(O,T,S,x,It,Y,J,te,fe,Z,qe,ke),ue=!0}}),ue||Eh(O,T,S,x,k,Y,J,te,fe,Z)}const dO=Mo|Wd;function Eh(m,O,T,S,x,k,Y,J,te,fe,Z,ue){lO(m,O,T,S,x),(te||fe||ue)&&(p.save(),te&&p.clip(te),fe&&p.clip(fe)),ue?(J&dO)==dO?(p.clip(ue),Z&&p.clip(Z),dc(x,Y),fc(m,k,O)):J&Wd?(dc(x,Y),p.clip(ue),fc(m,k,O)):J&Mo&&(p.save(),p.clip(ue),Z&&p.clip(Z),dc(x,Y),p.restore(),fc(m,k,O)):(dc(x,Y),fc(m,k,O)),(te||fe||ue)&&p.restore()}function fc(m,O,T){T>0&&(O instanceof Map?O.forEach((S,x)=>{p.strokeStyle=cc=x,p.stroke(S)}):O!=null&&m&&p.stroke(O))}function dc(m,O){O instanceof Map?O.forEach((T,S)=>{p.fillStyle=Wo=S,p.fill(T)}):O!=null&&m&&p.fill(O)}function ZN(m,O,T,S){let x=B[m],k;if(S<=0)k=[0,0];else{let Y=x._space=x.space(n,m,O,T,S),J=x._incrs=x.incrs(n,m,O,T,S,Y);k=fJ(O,T,J,S,Y)}return x._found=k}function $h(m,O,T,S,x,k,Y,J,te,fe){let Z=Y%2/2;P==1&&p.translate(Z,Z),lO(J,Y,te,fe,J),p.beginPath();let ue,Ce,At,xe,ct=x+(S==0||S==3?-k:k);T==0?(Ce=x,xe=ct):(ue=x,At=ct);for(let ke=0;ke{if(!T.show)return;let x=D[T.scale];if(x.min==null){T._show&&(O=!1,T._show=!1,dl(!1));return}else T._show||(O=!1,T._show=!0,dl(!1));let k=T.side,Y=k%2,{min:J,max:te}=x,[fe,Z]=ZN(S,J,te,Y==0?$e:Be);if(Z==0)return;let ue=x.distr==2,Ce=T._splits=T.splits(n,S,J,te,fe,Z,ue),At=x.distr==2?Ce.map(qe=>Hn[qe]):Ce,xe=x.distr==2?Hn[Ce[1]]-Hn[Ce[0]]:fe,ct=T._values=T.values(n,T.filter(n,At,S,Z,xe),S,Z,xe);T._rotate=k==2?T.rotate(n,ct,S,Z):0;let ke=T._size;T._size=Ud(T.size(n,ct,S,m)),ke!=null&&T._size!=ke&&(O=!1)}),O}function eI(m){let O=!0;return oO.forEach((T,S)=>{let x=T(n,S,Ha,m);x!=ea[S]&&(O=!1),ea[S]=x}),O}function tI(){for(let m=0;mHn[zn]):xe,ke=Z.distr==2?Hn[xe[1]]-Hn[xe[0]]:te,qe=O.ticks,It=O.border,Fr=qe.show?qt(qe.size*ze):0,ht=O._rotate*-Ff/180,pr=C(O._pos*ze),jr=(Fr+At)*J,Tr=pr+jr;k=S==0?Tr:0,x=S==1?Tr:0;let an=O.font[0],ta=O.align==1?fs:O.align==2?om:ht>0?fs:ht<0?om:S==0?"center":T==3?om:fs,ra=ht||S==1?"middle":T==2?Ul:P0;uO(an,Y,ta,ra);let CO=O.font[1]*NX,yc=xe.map(zn=>C(l(zn,Z,ue,Ce))),AO=O._values;for(let zn=0;zn{T>0&&(O._paths=null,m&&(i==1?(O.min=null,O.max=null):O.facets.forEach(S=>{S.min=null,S.max=null})))})}let Ch=!1;function za(){Ch||(iX(rI),Ch=!0)}function rI(){hh&&(YN(),hh=!1),Uo&&(jN(),Uo=!1),ac&&(vt(b,fs,Ct),vt(b,Ul,zt),vt(b,ou,$e),vt(b,su,Be),vt(y,fs,Ct),vt(y,Ul,zt),vt(y,ou,$e),vt(y,su,Be),vt(h,ou,wr),vt(h,su,nn),d.width=qt(wr*ze),d.height=qt(nn*ze),B.forEach(({_el:m,_show:O,_size:T,_pos:S,side:x})=>{if(m!=null)if(O){let k=x===3||x===0?T:0,Y=x%2==1;vt(m,Y?"left":"top",S-k),vt(m,Y?"width":"height",T),vt(m,Y?"top":"left",Y?zt:Ct),vt(m,Y?"height":"width",Y?Be:$e),Wg(m,oo)}else cn(m,oo)}),cc=Wo=bh=Oh=_h=wh=Th=Sh=yh=null,fl=1,gc(!0),or("setSize"),ac=!1),wr>0&&nn>0&&(p.clearRect(0,0,d.width,d.height),or("drawClear"),H.forEach(m=>m()),or("draw")),Lr.show&&vh&&(vc(Lr),vh=!1),Se.show&&Go&&(Ga(null,!0,!1),Go=!1),u||(u=!0,n.status=1,or("ready")),uc=!1,Ch=!1}n.redraw=(m,O)=>{Uo=O||!1,m!==!1?Ko(N,j.min,j.max):za()};function Ah(m,O){let T=D[m];if(T.from==null){if(Gt==0){let S=T.range(n,O.min,O.max,m);O.min=S[0],O.max=S[1]}if(O.min>O.max){let S=O.min;O.min=O.max,O.max=S}if(Gt>1&&O.min!=null&&O.max!=null&&O.max-O.min<1e-16)return;m==N&&T.distr==2&&Gt>0&&(O.min=sa(O.min,e[0]),O.max=sa(O.max,e[0]),O.min==O.max&&O.max++),$[m]=O,hh=!0,za()}}n.setScale=Ah;let Dh,Rh,pc,hc,pO,hO,pl,hl,vO,mO,yt,Ot,Ua=!1;const dr=Se.drag;let Wt=dr.x,Kt=dr.y;Se.show&&(Se.x&&(Dh=An(Eq,y)),Se.y&&(Rh=An($q,y)),j.ori==0?(pc=Dh,hc=Rh):(pc=Rh,hc=Dh),yt=Se.left,Ot=Se.top);const Lr=n.select=Bt({show:!0,over:!0,left:0,width:0,top:0,height:0},t.select),vl=Lr.show?An(Pq,Lr.over?y:b):null;function vc(m,O){if(Lr.show){for(let T in m)Lr[T]=m[T],T in wO&&vt(vl,T,m[T]);O!==!1&&or("setSelect")}}n.setSelect=vc;function nI(m,O){let T=A[m],S=le?Ie[m]:null;T.show?S&&Wg(S,oo):(S&&cn(S,oo),kr.length>1&&ds(kr[m],-10,-10,$e,Be))}function Ko(m,O,T){Ah(m,{min:O,max:T})}function oi(m,O,T,S){O.focus!=null&&lI(m),O.show!=null&&A.forEach((x,k)=>{k>0&&(m==k||m==null)&&(x.show=O.show,nI(k,O.show),Ko(i==2?x.facets[1].scale:x.scale,null,null),za())}),T!==!1&&or("setSeries",m,O),S&&Ol("setSeries",n,m,O)}n.setSeries=oi;function iI(m,O){Bt(V[m],O)}function aI(m,O){m.fill=Ve(m.fill||null),m.dir=Ue(m.dir,-1),O=O==null?V.length:O,V.splice(O,0,m)}function oI(m){m==null?V.length=0:V.splice(m,1)}n.addBand=aI,n.setBand=iI,n.delBand=oI;function sI(m,O){A[m].alpha=O,Se.show&&kr[m]&&(kr[m].style.opacity=O),le&&Ie[m]&&(Ie[m].style.opacity=O)}let ml,mc,gl;const Yo={focus:!0};function lI(m){if(m!=gl){let O=m==null,T=oc.alpha!=1;A.forEach((S,x)=>{let k=O||x==0||x==m;S._focus=O?null:k,T&&sI(x,k?1:oc.alpha)}),gl=m,T&&za()}}le&&sc&&mo(D0,me,m=>{Se._lock||gl!=null&&oi(null,Yo,!0,sr.setSeries)});function Ei(m,O,T){let S=D[O];T&&(m=m/ze-(S.ori==1?zt:Ct));let x=$e;S.ori==1&&(x=Be,m=x-m),S.dir==-1&&(m=x-m);let k=S._min,Y=S._max,J=m/x,te=k+(Y-k)*J,fe=S.distr;return fe==3?Ks(10,te):fe==4?Wq(te,S.asinh):te}function uI(m,O){let T=Ei(m,N,O);return sa(T,e[0],ir,ar)}n.valToIdx=m=>sa(m,e[0]),n.posToIdx=uI,n.posToVal=Ei,n.valToPos=(m,O,T)=>D[O].ori==0?o(m,D[O],T?jn:$e,T?Ut:0):s(m,D[O],T?Va:Be,T?Br:0);function cI(m){m(n),za()}n.batch=cI,n.setCursor=(m,O,T)=>{yt=m.left,Ot=m.top,Ga(null,O,T)};function gO(m,O){vt(vl,fs,Lr.left=m),vt(vl,ou,Lr.width=O)}function bO(m,O){vt(vl,Ul,Lr.top=m),vt(vl,su,Lr.height=O)}let bl=j.ori==0?gO:bO,yl=j.ori==1?gO:bO;function fI(){if(le&&U.live)for(let m=i==2?1:0;m{(x>0||!Re)&&OO(x,T)})}le&&U.live&&fI(),Vn=!1,O!==!1&&or("setLegend")}n.setLegend=yO;function OO(m,O){let T;if(O==null)T=Qe;else{let S=A[m],x=m==0&&E==2?Hn:e[m];T=Re?S.values(n,m,O):{_:S.value(n,x[O],m,O)}}U.values[m]=T}function Ga(m,O,T){vO=yt,mO=Ot,[yt,Ot]=Se.move(n,yt,Ot),Se.show&&(pc&&ds(pc,qt(yt),0,$e,Be),hc&&ds(hc,0,qt(Ot),$e,Be));let S,x=ir>ar;ml=Le;let k=j.ori==0?$e:Be,Y=j.ori==1?$e:Be;if(yt<0||Gt==0||x){S=null;for(let J=0;J0&&kr.length>1&&ds(kr[J],-10,-10,$e,Be);if(sc&&oi(null,Yo,!0,m==null&&sr.setSeries),U.live){K.fill(null),Vn=!0;for(let J=0;J0&&ue.show){let qe=ct==null?-10:go(w(ct,i==1?D[ue.scale]:D[ue.facets[1].scale],Y,0),.5);if(qe>0&&i==1){let ht=vr(qe-Ot);ht<=ml&&(ml=ht,mc=Z)}let It,Fr;if(j.ori==0?(It=ke,Fr=qe):(It=qe,Fr=ke),Vn&&kr.length>1){Fq(kr[Z],Se.points.fill(n,Z),Se.points.stroke(n,Z));let ht,pr,jr,Tr,an=!0,ta=Se.points.bbox;if(ta!=null){an=!1;let ra=ta(n,Z);jr=ra.left,Tr=ra.top,ht=ra.width,pr=ra.height}else jr=It,Tr=Fr,ht=pr=Se.points.size(n,Z);jq(kr[Z],ht,pr,an),ds(kr[Z],jr,Tr,$e,Be)}}if(U.live){if(!Vn||Z==0&&Re)continue;OO(Z,xe)}}}if(Se.idx=S,Se.left=yt,Se.top=Ot,Vn&&(U.idx=S,yO()),Lr.show&&Ua)if(m!=null){let[J,te]=sr.scales,[fe,Z]=sr.match,[ue,Ce]=m.cursor.sync.scales,At=m.cursor.drag;if(Wt=At._x,Kt=At._y,Wt||Kt){let{left:xe,top:ct,width:ke,height:qe}=m.select,It=m.scales[J].ori,Fr=m.posToVal,ht,pr,jr,Tr,an,ta=J!=null&&fe(J,ue),ra=te!=null&&Z(te,Ce);ta&&Wt?(It==0?(ht=xe,pr=ke):(ht=ct,pr=qe),jr=D[J],Tr=v(Fr(ht,ue),jr,k,0),an=v(Fr(ht+pr,ue),jr,k,0),bl(Wr(Tr,an),vr(an-Tr))):bl(0,k),ra&&Kt?(It==1?(ht=xe,pr=ke):(ht=ct,pr=qe),jr=D[te],Tr=w(Fr(ht,Ce),jr,Y,0),an=w(Fr(ht+pr,Ce),jr,Y,0),yl(Wr(Tr,an),vr(an-Tr))):yl(0,Y)}else Mh()}else{let J=vr(vO-pO),te=vr(mO-hO);if(j.ori==1){let Ce=J;J=te,te=Ce}Wt=dr.x&&J>=dr.dist,Kt=dr.y&&te>=dr.dist;let fe=dr.uni;fe!=null?Wt&&Kt&&(Wt=J>=fe,Kt=te>=fe,!Wt&&!Kt&&(te>J?Kt=!0:Wt=!0)):dr.x&&dr.y&&(Wt||Kt)&&(Wt=Kt=!0);let Z,ue;Wt&&(j.ori==0?(Z=pl,ue=yt):(Z=hl,ue=Ot),bl(Wr(Z,ue),vr(ue-Z)),Kt||yl(0,Y)),Kt&&(j.ori==1?(Z=pl,ue=yt):(Z=hl,ue=Ot),yl(Wr(Z,ue),vr(ue-Z)),Wt||bl(0,k)),!Wt&&!Kt&&(bl(0,0),yl(0,0))}if(dr._x=Wt,dr._y=Kt,m==null){if(T){if($O!=null){let[J,te]=sr.scales;sr.values[0]=J!=null?Ei(j.ori==0?yt:Ot,J):null,sr.values[1]=te!=null?Ei(j.ori==1?yt:Ot,te):null}Ol($0,n,yt,Ot,$e,Be,S)}if(sc){let J=T&&sr.setSeries,te=oc.prox;gl==null?ml<=te&&oi(mc,Yo,!0,J):ml>te?oi(null,Yo,!0,J):mc!=gl&&oi(mc,Yo,!0,J)}}O!==!1&&or("setCursor")}let qo=null;function gc(m){m===!0?qo=null:(qo=y.getBoundingClientRect(),or("syncRect",qo))}function _O(m,O,T,S,x,k,Y){Se._lock||(xh(m,O,T,S,x,k,Y,!1,m!=null),m!=null?Ga(null,!0,!0):Ga(O,!0,!1))}function xh(m,O,T,S,x,k,Y,J,te){if(qo==null&&gc(!1),m!=null)T=m.clientX-qo.left,S=m.clientY-qo.top;else{if(T<0||S<0){yt=-10,Ot=-10;return}let[fe,Z]=sr.scales,ue=O.cursor.sync,[Ce,At]=ue.values,[xe,ct]=ue.scales,[ke,qe]=sr.match,It=O.axes[0].side%2==1,Fr=j.ori==0?$e:Be,ht=j.ori==1?$e:Be,pr=It?k:x,jr=It?x:k,Tr=It?S:T,an=It?T:S;if(xe!=null?T=ke(fe,xe)?l(Ce,D[fe],Fr,0):-10:T=Fr*(Tr/pr),ct!=null?S=qe(Z,ct)?l(At,D[Z],ht,0):-10:S=ht*(an/jr),j.ori==1){let ta=T;T=S,S=ta}}te&&((T<=1||T>=$e-1)&&(T=ro(T,$e)),(S<=1||S>=Be-1)&&(S=ro(S,Be))),J?(pO=T,hO=S,[pl,hl]=Se.move(n,T,S)):(yt=T,Ot=S)}const wO={width:0,height:0,left:0,top:0};function Mh(){vc(wO,!1)}function TO(m,O,T,S,x,k,Y){Ua=!0,Wt=Kt=dr._x=dr._y=!1,xh(m,O,T,S,x,k,Y,!0,!1),m!=null&&(En(sm,Ug,SO),Ol(C0,n,pl,hl,$e,Be,null))}function SO(m,O,T,S,x,k,Y){Ua=dr._x=dr._y=!1,xh(m,O,T,S,x,k,Y,!1,!0);let{left:J,top:te,width:fe,height:Z}=Lr,ue=fe>0||Z>0;if(ue&&vc(Lr),dr.setScale&&ue){let Ce=J,At=fe,xe=te,ct=Z;if(j.ori==1&&(Ce=te,At=Z,xe=J,ct=fe),Wt&&Ko(N,Ei(Ce,N),Ei(Ce+At,N)),Kt)for(let ke in D){let qe=D[ke];ke!=N&&qe.from==null&&qe.min!=Le&&Ko(ke,Ei(xe+ct,ke),Ei(xe,ke))}Mh()}else Se.lock&&(Se._lock=!Se._lock,Se._lock||Ga(null,!0,!1));m!=null&&(Ye(sm,Ug),Ol(sm,n,yt,Ot,$e,Be,null))}function dI(m,O,T,S,x,k,Y){if(!Se._lock){let J=Ua;if(Ua){let te=!0,fe=!0,Z=10,ue,Ce;j.ori==0?(ue=Wt,Ce=Kt):(ue=Kt,Ce=Wt),ue&&Ce&&(te=yt<=Z||yt>=$e-Z,fe=Ot<=Z||Ot>=Be-Z),ue&&te&&(yt=yt{oi(T,S,!0,!1)},Se.show&&(En(C0,y,TO),En($0,y,_O),En(A0,y,gc),En(D0,y,dI),En(R0,y,PO),qg.add(n),n.syncRect=gc);const bc=n.hooks=t.hooks||{};function or(m,O,T){m in bc&&bc[m].forEach(S=>{S.call(null,n,O,T)})}(t.plugins||[]).forEach(m=>{for(let O in m.hooks)bc[O]=(bc[O]||[]).concat(m.hooks[O])});const sr=Bt({key:null,setSeries:!1,filters:{pub:V0,sub:V0},scales:[N,A[1]?A[1].scale:null],match:[H0,H0],values:[null,null]},Se.sync);Se.sync=sr;const $O=sr.key,Nh=sN($O);function Ol(m,O,T,S,x,k,Y){sr.filters.pub(m,O,T,S,x,k,Y)&&Nh.pub(m,O,T,S,x,k,Y)}Nh.sub(n);function pI(m,O,T,S,x,k,Y){sr.filters.sub(m,O,T,S,x,k,Y)&&Xo[m](null,O,T,S,x,k,Y)}n.pub=pI;function hI(){Nh.unsub(n),qg.delete(n),Pi.clear(),Kg(Hd,Rs,EO),f.remove(),me==null||me.remove(),or("destroy")}n.destroy=hI;function Ih(){or("init",t,e),sO(e||t.data,!1),$[N]?Ah(N,$[N]):gh(),vh=Lr.show,Go=Vn=!0,mh(t.width,t.height)}return A.forEach(aO),B.forEach(KN),r?r instanceof HTMLElement?(r.appendChild(f),Ih()):r(n,Ih):Ih(),n}cr.assign=Bt;cr.fmtNum=Wy;cr.rangeNum=zd;cr.rangeLog=eh;cr.rangeAsinh=Uy;cr.orient=Vo;cr.pxRatio=ze;cr.join=nX;cr.fmtDate=Ky,cr.tzDate=fX;cr.sync=sN;{cr.addGap=XX,cr.clipGaps=ih;let t=cr.paths={points:pN};t.linear=vN,t.stepped=QX,t.bars=eJ,t.spline=rJ}const pJ={data(){return{timer:Number}},async mounted(){let e=new Proxy(new URLSearchParams(window.location.search),{get:(l,u)=>l.get(u)}).access_token;e&&localStorage.setItem("token",e);const r={width:960,height:400,cursor:{drag:{setScale:!1}},select:{show:!1},series:[{value:"{YYYY}/{MM}/{DD} {HH}:{mm}:{ss}"},{label:this.$t("Publish TPS"),show:!0,scale:"s",width:2,value:(l,u)=>u==null?"-":u.toFixed(1)+"/s",stroke:"rgba(0,255,0,0.3)"},{label:this.$t("Consume TPS"),show:!0,scale:"s",width:2,value:(l,u)=>u==null?"-":u.toFixed(1)+"/s",stroke:"rgba(255,0,0,0.3)"},{label:this.$t("Subscriber Invoke Time"),scale:"ms",width:1,paths:l=>null,points:{space:0,stroke:"blue"},value:(l,u)=>u==null?"-":u.toFixed(0)+"ms",stroke:"blue"}],axes:[{space:30,values:[[1,"{mm}:{ss}",` -{YY}/{M}/{D}/ {HH}:{mm}`,null,` -{M}/{D} {HH}:{mm}`,null,` -{HH}:{mm}`,null,1]]},{scale:"s",label:this.$t("Rate (TPS)"),ticks:{show:!0,stroke:"#eee",width:10,dash:[5],size:5},values:(l,u)=>u.map(f=>f+"/s"),incrs:[1,5,10,30,50,100]},{side:1,scale:"ms",label:this.$t("Elpsed Time (ms)"),size:60,ticks:{show:!0,stroke:"#eee",width:10,dash:[5],size:5},incrs:[1,10,50,100,300,500,1e3],values:(l,u,f)=>u.map(d=>+d.toFixed(0)+"ms"),grid:{show:!1}}]};var n=[];async function i(){await Xi.get("/metrics-realtime").then(l=>{n=l.data})}await i();let a=new cr(r,n,document.getElementById("realtimeGraph"));this.timer=setInterval(async function(){await i(),a.setData(n)},1e3);var o=[];await Xi.get("/metrics-history").then(l=>{o.push(l.data.dayHour),o.push(l.data.publishSuccessed),o.push(l.data.subscribeSuccessed),o.push(l.data.publishFailed),o.push(l.data.subscribeFailed)});var s={width:960,height:400,cursor:{drag:{setScale:!1}},select:{show:!1},series:[{value:"{YYYY}/{MM}/{DD} {HH}:00"},{label:this.$t("Publish Succeeded"),fill:"rgba(0,255,0,0.3)"},{label:this.$t("Received Succeeded"),fill:"rgba(0,0,255,0.3)"},{label:this.$t("Publish Failed"),fill:"rgba(255,0,0,0.5)"},{label:this.$t("Received Failed"),fill:"rgba(255,255,0,0.5)"}],axes:[{space:30,values:[[60,"{HH}:00",` -{YYYY}/{M}/{D}`,null,` -{M}/{D}`,null,null,null,1]]},{label:this.$t("Aggregation Count")}]};new cr(s,o,document.getElementById("historyGraph"))},destroyed(){window.clearInterval(this.timer)}};var hJ=function(){var e=this,r=e._self._c;return r("b-container",[r("h2",{staticClass:"page-line mb-4"},[e._v(e._s(e.$t("Dashboard")))]),r("b-row",[r("b-col",[r("h3",{staticClass:"mb-4"},[e._v(e._s(e.$t("Realtime Metric Graph")))]),r("div",{attrs:{id:"realtimeGraph"}}),r("p",{staticClass:"text-secondary"},[e._v(e._s(e.$t("SubscriberInvokeMeanTime")))])])],1),r("b-row",[r("b-col",[r("h3",{staticClass:"mt-4"},[e._v(e._s(e.$t("24h History Graph")))]),r("div",{attrs:{id:"historyGraph"}})])],1)],1)},vJ=[],mJ=Up(pJ,hJ,vJ,!1,null,null,null,null);const gJ=mJ.exports;ye.use(FM);const bJ=[{path:"/",name:"Home",component:gJ},{path:"/published/:status",name:"Published",props:!0,component:()=>qc(()=>import("./Published.5f09cec3.js"),["./Published.5f09cec3.js","./index.8fb86891.js","./Published.e76c2319.css"],import.meta.url)},{path:"/published",redirect:"/published/succeeded"},{path:"/received/:status",name:"Received",props:!0,component:()=>qc(()=>import("./Received.5f693fdc.js"),["./Received.5f693fdc.js","./index.8fb86891.js","./Received.a9b90f36.css"],import.meta.url)},{path:"/received",redirect:"/received/succeeded"},{path:"/subscriber",name:"Subscriber",component:()=>qc(()=>import("./Subscriber.1c7b3193.js"),["./Subscriber.1c7b3193.js","./Subscriber.300bed2c.css"],import.meta.url)},{path:"/nodes",name:"Nodes",component:()=>qc(()=>import("./Nodes.e25008f8.js"),["./Nodes.e25008f8.js","./Nodes.40464ac3.css"],import.meta.url)}],yJ=new FM({routes:bJ});var yN={exports:{}};(function(t,e){(function(r,n){t.exports=n()})(PK,function(){return function(){var r={228:function(a){a.exports=function(o,s){(s==null||s>o.length)&&(s=o.length);for(var l=0,u=new Array(s);l"u"||(me=__VUE_SSR_CONTEXT__),F&&F.call(this,me),me&&me._registeredComponents&&me._registeredComponents.add(Q)},U._ssrRegister=K):F&&(K=q?function(){F.call(this,(U.functional?this.parent:this).$root.$options.shadowRoot)}:F),K)if(U.functional){U._injectStyles=K;var le=U.render;U.render=function(me,Ie){return K.call(Ie),le(me,Ie)}}else{var be=U.beforeCreate;U.beforeCreate=be?[].concat(be,K):[K]}return{exports:v,options:U}}var y=b({props:{data:{required:!0,type:String}},methods:{toggleBrackets:function(v){this.$emit("click",v)}}},function(){var v=this,w=v.$createElement;return(v._self._c||w)("span",{staticClass:"vjs-tree-brackets",on:{click:function($){return $.stopPropagation(),v.toggleBrackets($)}}},[v._v(v._s(v.data))])},[],!1,null,null,null).exports,P=b({props:{checked:{type:Boolean,default:!1},isMultiple:Boolean},computed:{uiType:function(){return this.isMultiple?"checkbox":"radio"},model:{get:function(){return this.checked},set:function(v){this.$emit("input",v)}}}},function(){var v=this,w=v.$createElement,$=v._self._c||w;return $("label",{class:["vjs-check-controller",v.checked?"is-checked":""],on:{click:function(M){M.stopPropagation()}}},[$("span",{class:"vjs-check-controller-inner is-"+v.uiType}),$("input",{class:"vjs-check-controller-original is-"+v.uiType,attrs:{type:v.uiType},domProps:{checked:v.model},on:{change:function(M){return v.$emit("change",v.model)}}})])},[],!1,null,null,null).exports,C=b({props:{nodeType:{type:String,required:!0}},computed:{isOpen:function(){return this.nodeType==="objectStart"||this.nodeType==="arrayStart"},isClose:function(){return this.nodeType==="objectCollapsed"||this.nodeType==="arrayCollapsed"}},methods:{handleClick:function(){this.$emit("click")}}},function(){var v=this,w=v.$createElement,$=v._self._c||w;return v.isOpen||v.isClose?$("span",{class:"vjs-carets vjs-carets-"+(v.isOpen?"open":"close"),on:{click:v.handleClick}},[$("svg",{attrs:{viewBox:"0 0 1024 1024",focusable:"false","data-icon":"caret-down",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"}},[$("path",{attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}})])]):v._e()},[],!1,null,null,null).exports,R=s(8),A=s.n(R);function B(v){return Object.prototype.toString.call(v).slice(8,-1).toLowerCase()}function D(v){var w=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"root",$=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,M=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},F=M.key,X=M.index,Q=M.type,q=Q===void 0?"content":Q,K=M.showComma,U=K!==void 0&&K,le=M.length,be=le===void 0?1:le,me=B(v);if(me==="array"){var Ie=V(v.map(function(Re,Qe,Ir){return D(Re,"".concat(w,"[").concat(Qe,"]"),$+1,{index:Qe,showComma:Qe!==Ir.length-1,length:be,type:q})}));return[D("[",w,$,{key:F,length:v.length,type:"arrayStart"})[0]].concat(Ie,D("]",w,$,{showComma:U,length:v.length,type:"arrayEnd"})[0])}if(me==="object"){var Te=Object.keys(v),$t=V(Te.map(function(Re,Qe,Ir){return D(v[Re],/^[a-zA-Z_]\w*$/.test(Re)?"".concat(w,".").concat(Re):"".concat(w,'["').concat(Re,'"]'),$+1,{key:Re,showComma:Qe!==Ir.length-1,length:be,type:q})}));return[D("{",w,$,{key:F,index:X,length:Te.length,type:"objectStart"})[0]].concat($t,D("}",w,$,{showComma:U,length:Te.length,type:"objectEnd"})[0])}return[{content:v,level:$,key:F,index:X,path:w,showComma:U,length:be,type:q}]}function V(v){if(typeof Array.prototype.flat=="function")return v.flat();for(var w=d()(v),$=[];w.length;){var M=w.shift();Array.isArray(M)?w.unshift.apply(w,d()(M)):$.push(M)}return $}function N(v){var w=arguments.length>1&&arguments[1]!==void 0?arguments[1]:new WeakMap;if(v==null)return v;if(v instanceof Date)return new Date(v);if(v instanceof RegExp)return new RegExp(v);if(A()(v)!=="object")return v;if(w.get(v))return w.get(v);if(Array.isArray(v)){var $=v.map(function(X){return N(X,w)});return w.set(v,$),$}var M={};for(var F in v)M[F]=N(v[F],w);return w.set(v,M),M}var G=b({components:{Brackets:y,CheckController:P,Carets:C},props:{node:{required:!0,type:Object},collapsed:Boolean,showDoubleQuotes:Boolean,showLength:Boolean,checked:Boolean,selectableType:{type:String,default:""},showSelectController:{type:Boolean,default:!1},showLine:{type:Boolean,default:!0},showLineNumber:{type:Boolean,default:!1},selectOnClickNode:{type:Boolean,default:!0},nodeSelectable:{type:Function,default:function(){return!0}},highlightSelectedNode:{type:Boolean,default:!0},showIcon:{type:Boolean,default:!1},showKeyValueSpace:{type:Boolean,default:!0},editable:{type:Boolean,default:!1},editableTrigger:{type:String,default:"click"}},data:function(){return{editing:!1}},computed:{valueClass:function(){return"vjs-value vjs-value-".concat(this.dataType)},dataType:function(){return B(this.node.content)},prettyKey:function(){return this.showDoubleQuotes?'"'.concat(this.node.key,'"'):this.node.key},selectable:function(){return this.nodeSelectable(this.node)&&(this.isMultiple||this.isSingle)},isMultiple:function(){return this.selectableType==="multiple"},isSingle:function(){return this.selectableType==="single"},defaultValue:function(){var v,w=(v=this.node)===null||v===void 0?void 0:v.content;return w==null&&(w+=""),this.dataType==="string"?'"'.concat(w,'"'):w}},methods:{handleInputChange:function(v){var w,$,M=($=(w=v.target)===null||w===void 0?void 0:w.value)==="null"?null:$==="undefined"?void 0:$==="true"||$!=="false"&&($[0]+$[$.length-1]==='""'||$[0]+$[$.length-1]==="''"?$.slice(1,-1):typeof Number($)=="number"&&!isNaN(Number($))||$==="NaN"?Number($):$);this.$emit("value-change",M,this.node.path)},handleIconClick:function(){this.$emit("icon-click",!this.collapsed,this.node.path)},handleBracketsClick:function(){this.$emit("brackets-click",!this.collapsed,this.node.path)},handleSelectedChange:function(){this.$emit("selected-change",this.node)},handleNodeClick:function(){this.$emit("node-click",this.node),this.selectable&&this.selectOnClickNode&&this.$emit("selected-change",this.node)},handleValueEdit:function(v){var w=this;if(this.editable&&!this.editing){this.editing=!0;var $=function M(F){var X;F.target!==v.target&&((X=F.target)===null||X===void 0?void 0:X.parentElement)!==v.target&&(w.editing=!1,document.removeEventListener("click",M))};document.removeEventListener("click",$),document.addEventListener("click",$)}}}},function(){var v=this,w=v.$createElement,$=v._self._c||w;return $("div",{class:{"vjs-tree-node":!0,"has-selector":v.showSelectController,"has-carets":v.showIcon,"is-highlight":v.highlightSelectedNode&&v.checked},on:{click:v.handleNodeClick}},[v.showLineNumber?$("span",{staticClass:"vjs-node-index"},[v._v(` - `+v._s(v.node.id+1)+` - `)]):v._e(),v.showSelectController&&v.selectable&&v.node.type!=="objectEnd"&&v.node.type!=="arrayEnd"?$("check-controller",{attrs:{"is-multiple":v.isMultiple,checked:v.checked},on:{change:v.handleSelectedChange}}):v._e(),$("div",{staticClass:"vjs-indent"},[v._l(v.node.level,function(M,F){return $("div",{key:F,class:{"vjs-indent-unit":!0,"has-line":v.showLine}})}),v.showIcon?$("carets",{attrs:{"node-type":v.node.type},on:{click:v.handleIconClick}}):v._e()],2),v.node.key?$("span",{staticClass:"vjs-key"},[v._t("key",[v._v(v._s(v.prettyKey))],{node:v.node,defaultKey:v.prettyKey}),$("span",{staticClass:"vjs-colon"},[v._v(v._s(":"+(v.showKeyValueSpace?" ":"")))])],2):v._e(),$("span",[v.node.type!=="content"?$("brackets",{attrs:{data:v.node.content},on:{click:v.handleBracketsClick}}):$("span",{class:v.valueClass,on:{click:function(M){!v.editable||v.editableTrigger&&v.editableTrigger!=="click"||v.handleValueEdit(M)},dblclick:function(M){v.editable&&v.editableTrigger==="dblclick"&&v.handleValueEdit(M)}}},[v.editable&&v.editing?$("input",{style:{padding:"3px 8px",border:"1px solid #eee",boxShadow:"none",boxSizing:"border-box",borderRadius:5,fontFamily:"inherit"},domProps:{value:v.defaultValue},on:{change:v.handleInputChange}}):v._t("value",[v._v(v._s(v.defaultValue))],{node:v.node,defaultValue:v.defaultValue})],2),v.node.showComma?$("span",[v._v(",")]):v._e(),v.showLength&&v.collapsed?$("span",{staticClass:"vjs-comment"},[v._v(" // "+v._s(v.node.length)+" items ")]):v._e()],1)],1)},[],!1,null,null,null);function H(v,w){var $=Object.keys(v);if(Object.getOwnPropertySymbols){var M=Object.getOwnPropertySymbols(v);w&&(M=M.filter(function(F){return Object.getOwnPropertyDescriptor(v,F).enumerable})),$.push.apply($,M)}return $}function W(v){for(var w=1;w=w||F.length>=$;return F.type!=="objectStart"&&F.type!=="arrayStart"||!X?M:W(W({},M),{},h()({},F.path,1))},{})},updateVisibleData:function(v){if(this.virtual){var w=this.height/this.itemHeight,$=this.$refs.tree&&this.$refs.tree.scrollTop||0,M=Math.floor($/this.itemHeight),F=M<0?0:M+w>v.length?v.length-w:M;F<0&&(F=0);var X=F+w;this.translateY=F*this.itemHeight,this.visibleData=v.filter(function(Q,q){return q>=F&&q=2)t.mixin({beforeCreate:n});else{var r=t.prototype._init;t.prototype._init=function(i){i===void 0&&(i={}),i.init=i.init?[n].concat(i.init):n,r.call(this,i)}}function n(){var i=this.$options;i.store?this.$store=typeof i.store=="function"?i.store():i.store:i.parent&&i.parent.$store&&(this.$store=i.parent.$store)}}var wJ=typeof window<"u"?window:typeof global<"u"?global:{},ps=wJ.__VUE_DEVTOOLS_GLOBAL_HOOK__;function TJ(t){!ps||(t._devtoolHook=ps,ps.emit("vuex:init",t),ps.on("vuex:travel-to-state",function(e){t.replaceState(e)}),t.subscribe(function(e,r){ps.emit("vuex:mutation",e,r)},{prepend:!0}),t.subscribeAction(function(e,r){ps.emit("vuex:action",e,r)},{prepend:!0}))}function SJ(t,e){return t.filter(e)[0]}function Jg(t,e){if(e===void 0&&(e=[]),t===null||typeof t!="object")return t;var r=SJ(e,function(i){return i.original===t});if(r)return r.copy;var n=Array.isArray(t)?[]:{};return e.push({original:t,copy:n}),Object.keys(t).forEach(function(i){n[i]=Jg(t[i],e)}),n}function sl(t,e){Object.keys(t).forEach(function(r){return e(t[r],r)})}function ON(t){return t!==null&&typeof t=="object"}function PJ(t){return t&&typeof t.then=="function"}function EJ(t,e){return function(){return t(e)}}var ai=function(e,r){this.runtime=r,this._children=Object.create(null),this._rawModule=e;var n=e.state;this.state=(typeof n=="function"?n():n)||{}},_N={namespaced:{configurable:!0}};_N.namespaced.get=function(){return!!this._rawModule.namespaced};ai.prototype.addChild=function(e,r){this._children[e]=r};ai.prototype.removeChild=function(e){delete this._children[e]};ai.prototype.getChild=function(e){return this._children[e]};ai.prototype.hasChild=function(e){return e in this._children};ai.prototype.update=function(e){this._rawModule.namespaced=e.namespaced,e.actions&&(this._rawModule.actions=e.actions),e.mutations&&(this._rawModule.mutations=e.mutations),e.getters&&(this._rawModule.getters=e.getters)};ai.prototype.forEachChild=function(e){sl(this._children,e)};ai.prototype.forEachGetter=function(e){this._rawModule.getters&&sl(this._rawModule.getters,e)};ai.prototype.forEachAction=function(e){this._rawModule.actions&&sl(this._rawModule.actions,e)};ai.prototype.forEachMutation=function(e){this._rawModule.mutations&&sl(this._rawModule.mutations,e)};Object.defineProperties(ai.prototype,_N);var Ho=function(e){this.register([],e,!1)};Ho.prototype.get=function(e){return e.reduce(function(r,n){return r.getChild(n)},this.root)};Ho.prototype.getNamespace=function(e){var r=this.root;return e.reduce(function(n,i){return r=r.getChild(i),n+(r.namespaced?i+"/":"")},"")};Ho.prototype.update=function(e){wN([],this.root,e)};Ho.prototype.register=function(e,r,n){var i=this;n===void 0&&(n=!0);var a=new ai(r,n);if(e.length===0)this.root=a;else{var o=this.get(e.slice(0,-1));o.addChild(e[e.length-1],a)}r.modules&&sl(r.modules,function(s,l){i.register(e.concat(l),s,n)})};Ho.prototype.unregister=function(e){var r=this.get(e.slice(0,-1)),n=e[e.length-1],i=r.getChild(n);!i||!i.runtime||r.removeChild(n)};Ho.prototype.isRegistered=function(e){var r=this.get(e.slice(0,-1)),n=e[e.length-1];return r?r.hasChild(n):!1};function wN(t,e,r){if(e.update(r),r.modules)for(var n in r.modules){if(!e.getChild(n))return;wN(t.concat(n),e.getChild(n),r.modules[n])}}var Kr,Sn=function(e){var r=this;e===void 0&&(e={}),!Kr&&typeof window<"u"&&window.Vue&&PN(window.Vue);var n=e.plugins;n===void 0&&(n=[]);var i=e.strict;i===void 0&&(i=!1),this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new Ho(e),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._watcherVM=new Kr,this._makeLocalGettersCache=Object.create(null);var a=this,o=this,s=o.dispatch,l=o.commit;this.dispatch=function(p,h){return s.call(a,p,h)},this.commit=function(p,h,b){return l.call(a,p,h,b)},this.strict=i;var u=this._modules.root.state;lh(this,u,[],this._modules.root),eO(this,u),n.forEach(function(d){return d(r)});var f=e.devtools!==void 0?e.devtools:Kr.config.devtools;f&&TJ(this)},Qy={state:{configurable:!0}};Qy.state.get=function(){return this._vm._data.$$state};Qy.state.set=function(t){};Sn.prototype.commit=function(e,r,n){var i=this,a=Kd(e,r,n),o=a.type,s=a.payload,l={type:o,payload:s},u=this._mutations[o];!u||(this._withCommit(function(){u.forEach(function(d){d(s)})}),this._subscribers.slice().forEach(function(f){return f(l,i.state)}))};Sn.prototype.dispatch=function(e,r){var n=this,i=Kd(e,r),a=i.type,o=i.payload,s={type:a,payload:o},l=this._actions[a];if(!!l){try{this._actionSubscribers.slice().filter(function(f){return f.before}).forEach(function(f){return f.before(s,n.state)})}catch{}var u=l.length>1?Promise.all(l.map(function(f){return f(o)})):l[0](o);return new Promise(function(f,d){u.then(function(p){try{n._actionSubscribers.filter(function(h){return h.after}).forEach(function(h){return h.after(s,n.state)})}catch{}f(p)},function(p){try{n._actionSubscribers.filter(function(h){return h.error}).forEach(function(h){return h.error(s,n.state,p)})}catch{}d(p)})})}};Sn.prototype.subscribe=function(e,r){return TN(e,this._subscribers,r)};Sn.prototype.subscribeAction=function(e,r){var n=typeof e=="function"?{before:e}:e;return TN(n,this._actionSubscribers,r)};Sn.prototype.watch=function(e,r,n){var i=this;return this._watcherVM.$watch(function(){return e(i.state,i.getters)},r,n)};Sn.prototype.replaceState=function(e){var r=this;this._withCommit(function(){r._vm._data.$$state=e})};Sn.prototype.registerModule=function(e,r,n){n===void 0&&(n={}),typeof e=="string"&&(e=[e]),this._modules.register(e,r),lh(this,this.state,e,this._modules.get(e),n.preserveState),eO(this,this.state)};Sn.prototype.unregisterModule=function(e){var r=this;typeof e=="string"&&(e=[e]),this._modules.unregister(e),this._withCommit(function(){var n=tO(r.state,e.slice(0,-1));Kr.delete(n,e[e.length-1])}),SN(this)};Sn.prototype.hasModule=function(e){return typeof e=="string"&&(e=[e]),this._modules.isRegistered(e)};Sn.prototype.hotUpdate=function(e){this._modules.update(e),SN(this,!0)};Sn.prototype._withCommit=function(e){var r=this._committing;this._committing=!0,e(),this._committing=r};Object.defineProperties(Sn.prototype,Qy);function TN(t,e,r){return e.indexOf(t)<0&&(r&&r.prepend?e.unshift(t):e.push(t)),function(){var n=e.indexOf(t);n>-1&&e.splice(n,1)}}function SN(t,e){t._actions=Object.create(null),t._mutations=Object.create(null),t._wrappedGetters=Object.create(null),t._modulesNamespaceMap=Object.create(null);var r=t.state;lh(t,r,[],t._modules.root,!0),eO(t,r,e)}function eO(t,e,r){var n=t._vm;t.getters={},t._makeLocalGettersCache=Object.create(null);var i=t._wrappedGetters,a={};sl(i,function(s,l){a[l]=EJ(s,t),Object.defineProperty(t.getters,l,{get:function(){return t._vm[l]},enumerable:!0})});var o=Kr.config.silent;Kr.config.silent=!0,t._vm=new Kr({data:{$$state:e},computed:a}),Kr.config.silent=o,t.strict&&xJ(t),n&&(r&&t._withCommit(function(){n._data.$$state=null}),Kr.nextTick(function(){return n.$destroy()}))}function lh(t,e,r,n,i){var a=!r.length,o=t._modules.getNamespace(r);if(n.namespaced&&(t._modulesNamespaceMap[o],t._modulesNamespaceMap[o]=n),!a&&!i){var s=tO(e,r.slice(0,-1)),l=r[r.length-1];t._withCommit(function(){Kr.set(s,l,n.state)})}var u=n.context=$J(t,o,r);n.forEachMutation(function(f,d){var p=o+d;AJ(t,p,f,u)}),n.forEachAction(function(f,d){var p=f.root?d:o+d,h=f.handler||f;DJ(t,p,h,u)}),n.forEachGetter(function(f,d){var p=o+d;RJ(t,p,f,u)}),n.forEachChild(function(f,d){lh(t,e,r.concat(d),f,i)})}function $J(t,e,r){var n=e==="",i={dispatch:n?t.dispatch:function(a,o,s){var l=Kd(a,o,s),u=l.payload,f=l.options,d=l.type;return(!f||!f.root)&&(d=e+d),t.dispatch(d,u)},commit:n?t.commit:function(a,o,s){var l=Kd(a,o,s),u=l.payload,f=l.options,d=l.type;(!f||!f.root)&&(d=e+d),t.commit(d,u,f)}};return Object.defineProperties(i,{getters:{get:n?function(){return t.getters}:function(){return CJ(t,e)}},state:{get:function(){return tO(t.state,r)}}}),i}function CJ(t,e){if(!t._makeLocalGettersCache[e]){var r={},n=e.length;Object.keys(t.getters).forEach(function(i){if(i.slice(0,n)===e){var a=i.slice(n);Object.defineProperty(r,a,{get:function(){return t.getters[i]},enumerable:!0})}}),t._makeLocalGettersCache[e]=r}return t._makeLocalGettersCache[e]}function AJ(t,e,r,n){var i=t._mutations[e]||(t._mutations[e]=[]);i.push(function(o){r.call(t,n.state,o)})}function DJ(t,e,r,n){var i=t._actions[e]||(t._actions[e]=[]);i.push(function(o){var s=r.call(t,{dispatch:n.dispatch,commit:n.commit,getters:n.getters,state:n.state,rootGetters:t.getters,rootState:t.state},o);return PJ(s)||(s=Promise.resolve(s)),t._devtoolHook?s.catch(function(l){throw t._devtoolHook.emit("vuex:error",l),l}):s})}function RJ(t,e,r,n){t._wrappedGetters[e]||(t._wrappedGetters[e]=function(a){return r(n.state,n.getters,a.state,a.getters)})}function xJ(t){t._vm.$watch(function(){return this._data.$$state},function(){},{deep:!0,sync:!0})}function tO(t,e){return e.reduce(function(r,n){return r[n]},t)}function Kd(t,e,r){return ON(t)&&t.type&&(r=e,e=t,t=t.type),{type:t,payload:e,options:r}}function PN(t){Kr&&t===Kr||(Kr=t,_J(Kr))}var EN=ch(function(t,e){var r={};return uh(e).forEach(function(n){var i=n.key,a=n.val;r[i]=function(){var s=this.$store.state,l=this.$store.getters;if(t){var u=fh(this.$store,"mapState",t);if(!u)return;s=u.context.state,l=u.context.getters}return typeof a=="function"?a.call(this,s,l):s[a]},r[i].vuex=!0}),r}),$N=ch(function(t,e){var r={};return uh(e).forEach(function(n){var i=n.key,a=n.val;r[i]=function(){for(var s=[],l=arguments.length;l--;)s[l]=arguments[l];var u=this.$store.commit;if(t){var f=fh(this.$store,"mapMutations",t);if(!f)return;u=f.context.commit}return typeof a=="function"?a.apply(this,[u].concat(s)):u.apply(this.$store,[a].concat(s))}}),r}),CN=ch(function(t,e){var r={};return uh(e).forEach(function(n){var i=n.key,a=n.val;a=t+a,r[i]=function(){if(!(t&&!fh(this.$store,"mapGetters",t)))return this.$store.getters[a]},r[i].vuex=!0}),r}),AN=ch(function(t,e){var r={};return uh(e).forEach(function(n){var i=n.key,a=n.val;r[i]=function(){for(var s=[],l=arguments.length;l--;)s[l]=arguments[l];var u=this.$store.dispatch;if(t){var f=fh(this.$store,"mapActions",t);if(!f)return;u=f.context.dispatch}return typeof a=="function"?a.apply(this,[u].concat(s)):u.apply(this.$store,[a].concat(s))}}),r}),MJ=function(t){return{mapState:EN.bind(null,t),mapGetters:CN.bind(null,t),mapMutations:$N.bind(null,t),mapActions:AN.bind(null,t)}};function uh(t){return NJ(t)?Array.isArray(t)?t.map(function(e){return{key:e,val:e}}):Object.keys(t).map(function(e){return{key:e,val:t[e]}}):[]}function NJ(t){return Array.isArray(t)||ON(t)}function ch(t){return function(e,r){return typeof e!="string"?(r=e,e=""):e.charAt(e.length-1)!=="/"&&(e+="/"),t(e,r)}}function fh(t,e,r){var n=t._modulesNamespaceMap[r];return n}function IJ(t){t===void 0&&(t={});var e=t.collapsed;e===void 0&&(e=!0);var r=t.filter;r===void 0&&(r=function(f,d,p){return!0});var n=t.transformer;n===void 0&&(n=function(f){return f});var i=t.mutationTransformer;i===void 0&&(i=function(f){return f});var a=t.actionFilter;a===void 0&&(a=function(f,d){return!0});var o=t.actionTransformer;o===void 0&&(o=function(f){return f});var s=t.logMutations;s===void 0&&(s=!0);var l=t.logActions;l===void 0&&(l=!0);var u=t.logger;return u===void 0&&(u=console),function(f){var d=Jg(f.state);typeof u>"u"||(s&&f.subscribe(function(p,h){var b=Jg(h);if(r(p,d,b)){var y=f$(),P=i(p),C="mutation "+p.type+y;u$(u,C,e),u.log("%c prev state","color: #9E9E9E; font-weight: bold",n(d)),u.log("%c mutation","color: #03A9F4; font-weight: bold",P),u.log("%c next state","color: #4CAF50; font-weight: bold",n(b)),c$(u)}d=b}),l&&f.subscribeAction(function(p,h){if(a(p,h)){var b=f$(),y=o(p),P="action "+p.type+b;u$(u,P,e),u.log("%c action","color: #03A9F4; font-weight: bold",y),c$(u)}}))}}function u$(t,e,r){var n=r?t.groupCollapsed:t.group;try{n.call(t,e)}catch{t.log(e)}}function c$(t){try{t.groupEnd()}catch{t.log("\u2014\u2014 log end \u2014\u2014")}}function f$(){var t=new Date;return" @ "+ef(t.getHours(),2)+":"+ef(t.getMinutes(),2)+":"+ef(t.getSeconds(),2)+"."+ef(t.getMilliseconds(),3)}function BJ(t,e){return new Array(e+1).join(t)}function ef(t,e){return BJ("0",e-t.toString().length)+t}var kJ={Store:Sn,install:PN,version:"3.6.2",mapState:EN,mapMutations:$N,mapGetters:CN,mapActions:AN,createNamespacedHelpers:MJ,createLogger:IJ};const DN=kJ;ye.use(DN);let LJ=new DN.Store({state:{metric:{},info:{}},getters:{getMetric(t){return t.metric}},mutations:{setMertic(t,e){t.metric=e},setInfo(t,e){t.info=e}},actions:{pollingMertic({commit:t},e){t("setMertic",e)},pollingInfo({commit:t},e){t("setInfo",e)}}});/*! - * vue-i18n v8.28.2 - * (c) 2022 kazuya kawaguchi - * Released under the MIT License. - */var RN=["compactDisplay","currency","currencyDisplay","currencySign","localeMatcher","notation","numberingSystem","signDisplay","style","unit","unitDisplay","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits"],FJ=["dateStyle","timeStyle","calendar","localeMatcher","hour12","hourCycle","timeZone","formatMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName"];function qs(t,e){typeof console<"u"&&(console.warn("[vue-i18n] "+t),e&&console.warn(e.stack))}function jJ(t,e){typeof console<"u"&&(console.error("[vue-i18n] "+t),e&&console.error(e.stack))}var _i=Array.isArray;function Fn(t){return t!==null&&typeof t=="object"}function VJ(t){return typeof t=="boolean"}function nr(t){return typeof t=="string"}var HJ=Object.prototype.toString,zJ="[object Object]";function bi(t){return HJ.call(t)===zJ}function qr(t){return t==null}function Zg(t){return typeof t=="function"}function dh(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];var r=null,n=null;return t.length===1?Fn(t[0])||_i(t[0])?n=t[0]:typeof t[0]=="string"&&(r=t[0]):t.length===2&&(typeof t[0]=="string"&&(r=t[0]),(Fn(t[1])||_i(t[1]))&&(n=t[1])),{locale:r,params:n}}function ll(t){return JSON.parse(JSON.stringify(t))}function UJ(t,e){if(t.delete(e))return t}function GJ(t){var e=[];return t.forEach(function(r){return e.push(r)}),e}function ic(t,e){return!!~t.indexOf(e)}var WJ=Object.prototype.hasOwnProperty;function KJ(t,e){return WJ.call(t,e)}function yo(t){for(var e=arguments,r=Object(t),n=1;n/g,">").replace(/"/g,""").replace(/'/g,"'")}function qJ(t){return t!=null&&Object.keys(t).forEach(function(e){typeof t[e]=="string"&&(t[e]=YJ(t[e]))}),t}function XJ(t){t.prototype.hasOwnProperty("$i18n")||Object.defineProperty(t.prototype,"$i18n",{get:function(){return this._i18n}}),t.prototype.$t=function(e){for(var r=[],n=arguments.length-1;n-- >0;)r[n]=arguments[n+1];var i=this.$i18n;return i._t.apply(i,[e,i.locale,i._getMessages(),this].concat(r))},t.prototype.$tc=function(e,r){for(var n=[],i=arguments.length-2;i-- >0;)n[i]=arguments[i+2];var a=this.$i18n;return a._tc.apply(a,[e,a.locale,a._getMessages(),this,r].concat(n))},t.prototype.$te=function(e,r){var n=this.$i18n;return n._te(e,n.locale,n._getMessages(),r)},t.prototype.$d=function(e){for(var r,n=[],i=arguments.length-1;i-- >0;)n[i]=arguments[i+1];return(r=this.$i18n).d.apply(r,[e].concat(n))},t.prototype.$n=function(e){for(var r,n=[],i=arguments.length-1;i-- >0;)n[i]=arguments[i+1];return(r=this.$i18n).n.apply(r,[e].concat(n))}}function JJ(t){t===void 0&&(t=!1);function e(){this!==this.$root&&this.$options.__INTLIFY_META__&&this.$el&&this.$el.setAttribute("data-intlify",this.$options.__INTLIFY_META__)}return t?{mounted:e}:{beforeCreate:function(){var n=this.$options;if(n.i18n=n.i18n||(n.__i18nBridge||n.__i18n?{}:null),n.i18n){if(n.i18n instanceof ne){if(n.__i18nBridge||n.__i18n)try{var i=n.i18n&&n.i18n.messages?n.i18n.messages:{},a=n.__i18nBridge||n.__i18n;a.forEach(function(d){i=yo(i,JSON.parse(d))}),Object.keys(i).forEach(function(d){n.i18n.mergeLocaleMessage(d,i[d])})}catch{}this._i18n=n.i18n,this._i18nWatcher=this._i18n.watchI18nData()}else if(bi(n.i18n)){var o=this.$root&&this.$root.$i18n&&this.$root.$i18n instanceof ne?this.$root.$i18n:null;if(o&&(n.i18n.root=this.$root,n.i18n.formatter=o.formatter,n.i18n.fallbackLocale=o.fallbackLocale,n.i18n.formatFallbackMessages=o.formatFallbackMessages,n.i18n.silentTranslationWarn=o.silentTranslationWarn,n.i18n.silentFallbackWarn=o.silentFallbackWarn,n.i18n.pluralizationRules=o.pluralizationRules,n.i18n.preserveDirectiveContent=o.preserveDirectiveContent),n.__i18nBridge||n.__i18n)try{var s=n.i18n&&n.i18n.messages?n.i18n.messages:{},l=n.__i18nBridge||n.__i18n;l.forEach(function(d){s=yo(s,JSON.parse(d))}),n.i18n.messages=s}catch{}var u=n.i18n,f=u.sharedMessages;f&&bi(f)&&(n.i18n.messages=yo(n.i18n.messages,f)),this._i18n=new ne(n.i18n),this._i18nWatcher=this._i18n.watchI18nData(),(n.i18n.sync===void 0||!!n.i18n.sync)&&(this._localeWatcher=this.$i18n.watchLocale()),o&&o.onComponentInstanceCreated(this._i18n)}}else this.$root&&this.$root.$i18n&&this.$root.$i18n instanceof ne?this._i18n=this.$root.$i18n:n.parent&&n.parent.$i18n&&n.parent.$i18n instanceof ne&&(this._i18n=n.parent.$i18n)},beforeMount:function(){var n=this.$options;n.i18n=n.i18n||(n.__i18nBridge||n.__i18n?{}:null),n.i18n?n.i18n instanceof ne?(this._i18n.subscribeDataChanging(this),this._subscribing=!0):bi(n.i18n)&&(this._i18n.subscribeDataChanging(this),this._subscribing=!0):this.$root&&this.$root.$i18n&&this.$root.$i18n instanceof ne?(this._i18n.subscribeDataChanging(this),this._subscribing=!0):n.parent&&n.parent.$i18n&&n.parent.$i18n instanceof ne&&(this._i18n.subscribeDataChanging(this),this._subscribing=!0)},mounted:e,beforeDestroy:function(){if(!!this._i18n){var n=this;this.$nextTick(function(){n._subscribing&&(n._i18n.unsubscribeDataChanging(n),delete n._subscribing),n._i18nWatcher&&(n._i18nWatcher(),n._i18n.destroyVM(),delete n._i18nWatcher),n._localeWatcher&&(n._localeWatcher(),delete n._localeWatcher)})}}}}var d$={name:"i18n",functional:!0,props:{tag:{type:[String,Boolean,Object],default:"span"},path:{type:String,required:!0},locale:{type:String},places:{type:[Array,Object]}},render:function(e,r){var n=r.data,i=r.parent,a=r.props,o=r.slots,s=i.$i18n;if(!!s){var l=a.path,u=a.locale,f=a.places,d=o(),p=s.i(l,u,ZJ(d)||f?QJ(d.default,f):d),h=!!a.tag&&a.tag!==!0||a.tag===!1?a.tag:"span";return h?e(h,n,p):p}}};function ZJ(t){var e;for(e in t)if(e!=="default")return!1;return Boolean(e)}function QJ(t,e){var r=e?eZ(e):{};if(!t)return r;t=t.filter(function(i){return i.tag||i.text.trim()!==""});var n=t.every(rZ);return t.reduce(n?tZ:xN,r)}function eZ(t){return Array.isArray(t)?t.reduce(xN,{}):Object.assign({},t)}function tZ(t,e){return e.data&&e.data.attrs&&e.data.attrs.place&&(t[e.data.attrs.place]=e),t}function xN(t,e,r){return t[r]=e,t}function rZ(t){return Boolean(t.data&&t.data.attrs&&t.data.attrs.place)}var p$={name:"i18n-n",functional:!0,props:{tag:{type:[String,Boolean,Object],default:"span"},value:{type:Number,required:!0},format:{type:[String,Object]},locale:{type:String}},render:function(e,r){var n=r.props,i=r.parent,a=r.data,o=i.$i18n;if(!o)return null;var s=null,l=null;nr(n.format)?s=n.format:Fn(n.format)&&(n.format.key&&(s=n.format.key),l=Object.keys(n.format).reduce(function(h,b){var y;return ic(RN,b)?Object.assign({},h,(y={},y[b]=n.format[b],y)):h},null));var u=n.locale||o.locale,f=o._ntp(n.value,u,s,l),d=f.map(function(h,b){var y,P=a.scopedSlots&&a.scopedSlots[h.type];return P?P((y={},y[h.type]=h.value,y.index=b,y.parts=f,y)):h.value}),p=!!n.tag&&n.tag!==!0||n.tag===!1?n.tag:"span";return p?e(p,{attrs:a.attrs,class:a.class,staticClass:a.staticClass},d):d}};function nZ(t,e,r){!MN(t,r)||NN(t,e,r)}function iZ(t,e,r,n){if(!!MN(t,r)){var i=r.context.$i18n;oZ(t,r)&&Yd(e.value,e.oldValue)&&Yd(t._localeMessage,i.getLocaleMessage(i.locale))||NN(t,e,r)}}function aZ(t,e,r,n){var i=r.context;if(!i){qs("Vue instance does not exists in VNode context");return}var a=r.context.$i18n||{};!e.modifiers.preserve&&!a.preserveDirectiveContent&&(t.textContent=""),t._vt=void 0,delete t._vt,t._locale=void 0,delete t._locale,t._localeMessage=void 0,delete t._localeMessage}function MN(t,e){var r=e.context;return r?r.$i18n?!0:(qs("VueI18n instance does not exists in Vue instance"),!1):(qs("Vue instance does not exists in VNode context"),!1)}function oZ(t,e){var r=e.context;return t._locale===r.$i18n.locale}function NN(t,e,r){var n,i,a=e.value,o=sZ(a),s=o.path,l=o.locale,u=o.args,f=o.choice;if(!s&&!l&&!u){qs("value type not supported");return}if(!s){qs("`path` is required in v-t directive");return}var d=r.context;f!=null?t._vt=t.textContent=(n=d.$i18n).tc.apply(n,[s,f].concat(h$(l,u))):t._vt=t.textContent=(i=d.$i18n).t.apply(i,[s].concat(h$(l,u))),t._locale=d.$i18n.locale,t._localeMessage=d.$i18n.getLocaleMessage(d.$i18n.locale)}function sZ(t){var e,r,n,i;return nr(t)?e=t:bi(t)&&(e=t.path,r=t.locale,n=t.args,i=t.choice),{path:e,locale:r,args:n,choice:i}}function h$(t,e){var r=[];return t&&r.push(t),e&&(Array.isArray(e)||bi(e))&&r.push(e),r}var Er;function rO(t,e){e===void 0&&(e={bridge:!1}),rO.installed=!0,Er=t,Er.version&&Number(Er.version.split(".")[0]),XJ(Er),Er.mixin(JJ(e.bridge)),Er.directive("t",{bind:nZ,update:iZ,unbind:aZ}),Er.component(d$.name,d$),Er.component(p$.name,p$);var r=Er.config.optionMergeStrategies;r.i18n=function(n,i){return i===void 0?n:i}}var IN=function(){this._caches=Object.create(null)};IN.prototype.interpolate=function(e,r){if(!r)return[e];var n=this._caches[e];return n||(n=cZ(e),this._caches[e]=n),fZ(n,r)};var lZ=/^(?:\d)+/,uZ=/^(?:\w)+/;function cZ(t){for(var e=[],r=0,n="";r0)i--,n=Ui,p[er]();else{if(i=0,o===void 0||(o=mZ(o),o===!1))return!1;p[$s]()}};function h(){var b=t[r+1];if(n===Jd&&b==="'"||n===Zd&&b==='"')return r++,s="\\"+b,p[er](),!0}for(;n!==null;)if(r++,a=t[r],!(a==="\\"&&h())){if(l=vZ(a),d=ja[n],u=d[l]||d.else||Fu,u===Fu||(n=u[0],f=p[u[1]],f&&(s=u[2],s=s===void 0?a:s,f()===!1)))return;if(n===ph)return e}}var nO=function(){this._cache=Object.create(null)};nO.prototype.parsePath=function(e){var r=this._cache[e];return r||(r=gZ(e),r&&(this._cache[e]=r)),r||[]};nO.prototype.getPathValue=function(e,r){if(!Fn(e))return null;var n=this.parsePath(r);if(n.length===0)return null;for(var i=n.length,a=e,o=0;o/,yZ=/(?:@(?:\.[a-zA-Z]+)?:(?:[\w\-_|./]+|\([\w\-_:|./]+\)))/g,OZ=/^@(?:\.([a-zA-Z]+))?:/,_Z=/[()]/g,v$={upper:function(t){return t.toLocaleUpperCase()},lower:function(t){return t.toLocaleLowerCase()},capitalize:function(t){return""+t.charAt(0).toLocaleUpperCase()+t.substr(1)}},eb=new IN,ne=function(e){var r=this;e===void 0&&(e={}),!Er&&typeof window<"u"&&window.Vue&&rO(window.Vue);var n=e.locale||"en-US",i=e.fallbackLocale===!1?!1:e.fallbackLocale||"en-US",a=e.messages||{},o=e.dateTimeFormats||e.datetimeFormats||{},s=e.numberFormats||{};this._vm=null,this._formatter=e.formatter||eb,this._modifiers=e.modifiers||{},this._missing=e.missing||null,this._root=e.root||null,this._sync=e.sync===void 0?!0:!!e.sync,this._fallbackRoot=e.fallbackRoot===void 0?!0:!!e.fallbackRoot,this._fallbackRootWithEmptyString=e.fallbackRootWithEmptyString===void 0?!0:!!e.fallbackRootWithEmptyString,this._formatFallbackMessages=e.formatFallbackMessages===void 0?!1:!!e.formatFallbackMessages,this._silentTranslationWarn=e.silentTranslationWarn===void 0?!1:e.silentTranslationWarn,this._silentFallbackWarn=e.silentFallbackWarn===void 0?!1:!!e.silentFallbackWarn,this._dateTimeFormatters={},this._numberFormatters={},this._path=new nO,this._dataListeners=new Set,this._componentInstanceCreatedListener=e.componentInstanceCreatedListener||null,this._preserveDirectiveContent=e.preserveDirectiveContent===void 0?!1:!!e.preserveDirectiveContent,this.pluralizationRules=e.pluralizationRules||{},this._warnHtmlInMessage=e.warnHtmlInMessage||"off",this._postTranslation=e.postTranslation||null,this._escapeParameterHtml=e.escapeParameterHtml||!1,"__VUE_I18N_BRIDGE__"in e&&(this.__VUE_I18N_BRIDGE__=e.__VUE_I18N_BRIDGE__),this.getChoiceIndex=function(l,u){var f=Object.getPrototypeOf(r);if(f&&f.getChoiceIndex){var d=f.getChoiceIndex;return d.call(r,l,u)}var p=function(h,b){return h=Math.abs(h),b===2?h?h>1?1:0:1:h?Math.min(h,2):0};return r.locale in r.pluralizationRules?r.pluralizationRules[r.locale].apply(r,[l,u]):p(l,u)},this._exist=function(l,u){return!l||!u?!1:!!(!qr(r._path.getPathValue(l,u))||l[u])},(this._warnHtmlInMessage==="warn"||this._warnHtmlInMessage==="error")&&Object.keys(a).forEach(function(l){r._checkLocaleMessage(l,r._warnHtmlInMessage,a[l])}),this._initVM({locale:n,fallbackLocale:i,messages:a,dateTimeFormats:o,numberFormats:s})},tt={vm:{configurable:!0},messages:{configurable:!0},dateTimeFormats:{configurable:!0},numberFormats:{configurable:!0},availableLocales:{configurable:!0},locale:{configurable:!0},fallbackLocale:{configurable:!0},formatFallbackMessages:{configurable:!0},missing:{configurable:!0},formatter:{configurable:!0},silentTranslationWarn:{configurable:!0},silentFallbackWarn:{configurable:!0},preserveDirectiveContent:{configurable:!0},warnHtmlInMessage:{configurable:!0},postTranslation:{configurable:!0},sync:{configurable:!0}};ne.prototype._checkLocaleMessage=function(e,r,n){var i=[],a=function(o,s,l,u){if(bi(l))Object.keys(l).forEach(function(p){var h=l[p];bi(h)?(u.push(p),u.push("."),a(o,s,h,u),u.pop(),u.pop()):(u.push(p),a(o,s,h,u),u.pop())});else if(_i(l))l.forEach(function(p,h){bi(p)?(u.push("["+h+"]"),u.push("."),a(o,s,p,u),u.pop(),u.pop()):(u.push("["+h+"]"),a(o,s,p,u),u.pop())});else if(nr(l)){var f=bZ.test(l);if(f){var d="Detected HTML in message '"+l+"' of keypath '"+u.join("")+"' at '"+s+"'. Consider component interpolation with '' to avoid XSS. See https://bit.ly/2ZqJzkp";o==="warn"?qs(d):o==="error"&&jJ(d)}}};a(r,e,n,i)};ne.prototype._initVM=function(e){var r=Er.config.silent;Er.config.silent=!0,this._vm=new Er({data:e,__VUE18N__INSTANCE__:!0}),Er.config.silent=r};ne.prototype.destroyVM=function(){this._vm.$destroy()};ne.prototype.subscribeDataChanging=function(e){this._dataListeners.add(e)};ne.prototype.unsubscribeDataChanging=function(e){UJ(this._dataListeners,e)};ne.prototype.watchI18nData=function(){var e=this;return this._vm.$watch("$data",function(){for(var r=GJ(e._dataListeners),n=r.length;n--;)Er.nextTick(function(){r[n]&&r[n].$forceUpdate()})},{deep:!0})};ne.prototype.watchLocale=function(e){if(e){if(!this.__VUE_I18N_BRIDGE__)return null;var n=this,i=this._vm;return this.vm.$watch("locale",function(a){i.$set(i,"locale",a),n.__VUE_I18N_BRIDGE__&&e&&(e.locale.value=a),i.$forceUpdate()},{immediate:!0})}else{if(!this._sync||!this._root)return null;var r=this._vm;return this._root.$i18n.vm.$watch("locale",function(a){r.$set(r,"locale",a),r.$forceUpdate()},{immediate:!0})}};ne.prototype.onComponentInstanceCreated=function(e){this._componentInstanceCreatedListener&&this._componentInstanceCreatedListener(e,this)};tt.vm.get=function(){return this._vm};tt.messages.get=function(){return ll(this._getMessages())};tt.dateTimeFormats.get=function(){return ll(this._getDateTimeFormats())};tt.numberFormats.get=function(){return ll(this._getNumberFormats())};tt.availableLocales.get=function(){return Object.keys(this.messages).sort()};tt.locale.get=function(){return this._vm.locale};tt.locale.set=function(t){this._vm.$set(this._vm,"locale",t)};tt.fallbackLocale.get=function(){return this._vm.fallbackLocale};tt.fallbackLocale.set=function(t){this._localeChainCache={},this._vm.$set(this._vm,"fallbackLocale",t)};tt.formatFallbackMessages.get=function(){return this._formatFallbackMessages};tt.formatFallbackMessages.set=function(t){this._formatFallbackMessages=t};tt.missing.get=function(){return this._missing};tt.missing.set=function(t){this._missing=t};tt.formatter.get=function(){return this._formatter};tt.formatter.set=function(t){this._formatter=t};tt.silentTranslationWarn.get=function(){return this._silentTranslationWarn};tt.silentTranslationWarn.set=function(t){this._silentTranslationWarn=t};tt.silentFallbackWarn.get=function(){return this._silentFallbackWarn};tt.silentFallbackWarn.set=function(t){this._silentFallbackWarn=t};tt.preserveDirectiveContent.get=function(){return this._preserveDirectiveContent};tt.preserveDirectiveContent.set=function(t){this._preserveDirectiveContent=t};tt.warnHtmlInMessage.get=function(){return this._warnHtmlInMessage};tt.warnHtmlInMessage.set=function(t){var e=this,r=this._warnHtmlInMessage;if(this._warnHtmlInMessage=t,r!==t&&(t==="warn"||t==="error")){var n=this._getMessages();Object.keys(n).forEach(function(i){e._checkLocaleMessage(i,e._warnHtmlInMessage,n[i])})}};tt.postTranslation.get=function(){return this._postTranslation};tt.postTranslation.set=function(t){this._postTranslation=t};tt.sync.get=function(){return this._sync};tt.sync.set=function(t){this._sync=t};ne.prototype._getMessages=function(){return this._vm.messages};ne.prototype._getDateTimeFormats=function(){return this._vm.dateTimeFormats};ne.prototype._getNumberFormats=function(){return this._vm.numberFormats};ne.prototype._warnDefault=function(e,r,n,i,a,o){if(!qr(n))return n;if(this._missing){var s=this._missing.apply(null,[e,r,i,a]);if(nr(s))return s}if(this._formatFallbackMessages){var l=dh.apply(void 0,a);return this._render(r,o,l.params,r)}else return r};ne.prototype._isFallbackRoot=function(e){return(this._fallbackRootWithEmptyString?!e:qr(e))&&!qr(this._root)&&this._fallbackRoot};ne.prototype._isSilentFallbackWarn=function(e){return this._silentFallbackWarn instanceof RegExp?this._silentFallbackWarn.test(e):this._silentFallbackWarn};ne.prototype._isSilentFallback=function(e,r){return this._isSilentFallbackWarn(r)&&(this._isFallbackRoot()||e!==this.fallbackLocale)};ne.prototype._isSilentTranslationWarn=function(e){return this._silentTranslationWarn instanceof RegExp?this._silentTranslationWarn.test(e):this._silentTranslationWarn};ne.prototype._interpolate=function(e,r,n,i,a,o,s){if(!r)return null;var l=this._path.getPathValue(r,n);if(_i(l)||bi(l))return l;var u;if(qr(l))if(bi(r)){if(u=r[n],!(nr(u)||Zg(u)))return null}else return null;else if(nr(l)||Zg(l))u=l;else return null;return nr(u)&&(u.indexOf("@:")>=0||u.indexOf("@.")>=0)&&(u=this._link(e,r,u,i,"raw",o,s)),this._render(u,a,o,n)};ne.prototype._link=function(e,r,n,i,a,o,s){var l=n,u=l.match(yZ);for(var f in u)if(!!u.hasOwnProperty(f)){var d=u[f],p=d.match(OZ),h=p[0],b=p[1],y=d.replace(h,"").replace(_Z,"");if(ic(s,y))return l;s.push(y);var P=this._interpolate(e,r,y,i,a==="raw"?"string":a,a==="raw"?void 0:o,s);if(this._isFallbackRoot(P)){if(!this._root)throw Error("unexpected error");var C=this._root.$i18n;P=C._translate(C._getMessages(),C.locale,C.fallbackLocale,y,i,a,o)}P=this._warnDefault(e,y,P,i,_i(o)?o:[o],a),this._modifiers.hasOwnProperty(b)?P=this._modifiers[b](P):v$.hasOwnProperty(b)&&(P=v$[b](P)),s.pop(),l=P?l.replace(d,P):l}return l};ne.prototype._createMessageContext=function(e,r,n,i){var a=this,o=_i(e)?e:[],s=Fn(e)?e:{},l=function(p){return o[p]},u=function(p){return s[p]},f=this._getMessages(),d=this.locale;return{list:l,named:u,values:e,formatter:r,path:n,messages:f,locale:d,linked:function(p){return a._interpolate(d,f[d]||{},p,null,i,void 0,[p])}}};ne.prototype._render=function(e,r,n,i){if(Zg(e))return e(this._createMessageContext(n,this._formatter||eb,i,r));var a=this._formatter.interpolate(e,n,i);return a||(a=eb.interpolate(e,n,i)),r==="string"&&!nr(a)?a.join(""):a};ne.prototype._appendItemToChain=function(e,r,n){var i=!1;return ic(e,r)||(i=!0,r&&(i=r[r.length-1]!=="!",r=r.replace(/!/g,""),e.push(r),n&&n[r]&&(i=n[r]))),i};ne.prototype._appendLocaleToChain=function(e,r,n){var i,a=r.split("-");do{var o=a.join("-");i=this._appendItemToChain(e,o,n),a.splice(-1,1)}while(a.length&&i===!0);return i};ne.prototype._appendBlockToChain=function(e,r,n){for(var i=!0,a=0;a0;)o[s]=arguments[s+4];if(!e)return"";var l=dh.apply(void 0,o);this._escapeParameterHtml&&(l.params=qJ(l.params));var u=l.locale||r,f=this._translate(n,u,this.fallbackLocale,e,i,"string",l.params);if(this._isFallbackRoot(f)){if(!this._root)throw Error("unexpected error");return(a=this._root).$t.apply(a,[e].concat(o))}else return f=this._warnDefault(u,e,f,i,o,"string"),this._postTranslation&&f!==null&&f!==void 0&&(f=this._postTranslation(f,e)),f};ne.prototype.t=function(e){for(var r,n=[],i=arguments.length-1;i-- >0;)n[i]=arguments[i+1];return(r=this)._t.apply(r,[e,this.locale,this._getMessages(),null].concat(n))};ne.prototype._i=function(e,r,n,i,a){var o=this._translate(n,r,this.fallbackLocale,e,i,"raw",a);if(this._isFallbackRoot(o)){if(!this._root)throw Error("unexpected error");return this._root.$i18n.i(e,r,a)}else return this._warnDefault(r,e,o,i,[a],"raw")};ne.prototype.i=function(e,r,n){return e?(nr(r)||(r=this.locale),this._i(e,r,this._getMessages(),null,n)):""};ne.prototype._tc=function(e,r,n,i,a){for(var o,s=[],l=arguments.length-5;l-- >0;)s[l]=arguments[l+5];if(!e)return"";a===void 0&&(a=1);var u={count:a,n:a},f=dh.apply(void 0,s);return f.params=Object.assign(u,f.params),s=f.locale===null?[f.params]:[f.locale,f.params],this.fetchChoice((o=this)._t.apply(o,[e,r,n,i].concat(s)),a)};ne.prototype.fetchChoice=function(e,r){if(!e||!nr(e))return null;var n=e.split("|");return r=this.getChoiceIndex(r,n.length),n[r]?n[r].trim():e};ne.prototype.tc=function(e,r){for(var n,i=[],a=arguments.length-2;a-- >0;)i[a]=arguments[a+2];return(n=this)._tc.apply(n,[e,this.locale,this._getMessages(),null,r].concat(i))};ne.prototype._te=function(e,r,n){for(var i=[],a=arguments.length-3;a-- >0;)i[a]=arguments[a+3];var o=dh.apply(void 0,i).locale||r;return this._exist(n[o],e)};ne.prototype.te=function(e,r){return this._te(e,this.locale,this._getMessages(),r)};ne.prototype.getLocaleMessage=function(e){return ll(this._vm.messages[e]||{})};ne.prototype.setLocaleMessage=function(e,r){(this._warnHtmlInMessage==="warn"||this._warnHtmlInMessage==="error")&&this._checkLocaleMessage(e,this._warnHtmlInMessage,r),this._vm.$set(this._vm.messages,e,r)};ne.prototype.mergeLocaleMessage=function(e,r){(this._warnHtmlInMessage==="warn"||this._warnHtmlInMessage==="error")&&this._checkLocaleMessage(e,this._warnHtmlInMessage,r),this._vm.$set(this._vm.messages,e,yo(typeof this._vm.messages[e]<"u"&&Object.keys(this._vm.messages[e]).length?Object.assign({},this._vm.messages[e]):{},r))};ne.prototype.getDateTimeFormat=function(e){return ll(this._vm.dateTimeFormats[e]||{})};ne.prototype.setDateTimeFormat=function(e,r){this._vm.$set(this._vm.dateTimeFormats,e,r),this._clearDateTimeFormat(e,r)};ne.prototype.mergeDateTimeFormat=function(e,r){this._vm.$set(this._vm.dateTimeFormats,e,yo(this._vm.dateTimeFormats[e]||{},r)),this._clearDateTimeFormat(e,r)};ne.prototype._clearDateTimeFormat=function(e,r){for(var n in r){var i=e+"__"+n;!this._dateTimeFormatters.hasOwnProperty(i)||delete this._dateTimeFormatters[i]}};ne.prototype._localizeDateTime=function(e,r,n,i,a,o){for(var s=r,l=i[s],u=this._getLocaleChain(r,n),f=0;f0;)r[n]=arguments[n+1];var i=this.locale,a=null,o=null;return r.length===1?(nr(r[0])?a=r[0]:Fn(r[0])&&(r[0].locale&&(i=r[0].locale),r[0].key&&(a=r[0].key)),o=Object.keys(r[0]).reduce(function(s,l){var u;return ic(FJ,l)?Object.assign({},s,(u={},u[l]=r[0][l],u)):s},null)):r.length===2&&(nr(r[0])&&(a=r[0]),nr(r[1])&&(i=r[1])),this._d(e,i,a,o)};ne.prototype.getNumberFormat=function(e){return ll(this._vm.numberFormats[e]||{})};ne.prototype.setNumberFormat=function(e,r){this._vm.$set(this._vm.numberFormats,e,r),this._clearNumberFormat(e,r)};ne.prototype.mergeNumberFormat=function(e,r){this._vm.$set(this._vm.numberFormats,e,yo(this._vm.numberFormats[e]||{},r)),this._clearNumberFormat(e,r)};ne.prototype._clearNumberFormat=function(e,r){for(var n in r){var i=e+"__"+n;!this._numberFormatters.hasOwnProperty(i)||delete this._numberFormatters[i]}};ne.prototype._getNumberFormatter=function(e,r,n,i,a,o){for(var s=r,l=i[s],u=this._getLocaleChain(r,n),f=0;f0;)r[n]=arguments[n+1];var i=this.locale,a=null,o=null;return r.length===1?nr(r[0])?a=r[0]:Fn(r[0])&&(r[0].locale&&(i=r[0].locale),r[0].key&&(a=r[0].key),o=Object.keys(r[0]).reduce(function(s,l){var u;return ic(RN,l)?Object.assign({},s,(u={},u[l]=r[0][l],u)):s},null)):r.length===2&&(nr(r[0])&&(a=r[0]),nr(r[1])&&(i=r[1])),this._n(e,i,a,o)};ne.prototype._ntp=function(e,r,n,i){if(!ne.availabilities.numberFormat)return[];if(!n){var a=i?new Intl.NumberFormat(r,i):new Intl.NumberFormat(r);return a.formatToParts(e)}var o=this._getNumberFormatter(e,r,this.fallbackLocale,this._getNumberFormats(),n,i),s=o&&o.formatToParts(e);if(this._isFallbackRoot(s)){if(!this._root)throw Error("unexpected error");return this._root.$i18n._ntp(e,r,n,i)}else return s||[]};Object.defineProperties(ne.prototype,tt);var dm;Object.defineProperty(ne,"availabilities",{get:function(){if(!dm){var e=typeof Intl<"u";dm={dateTimeFormat:e&&typeof Intl.DateTimeFormat<"u",numberFormat:e&&typeof Intl.NumberFormat<"u"}}return dm}});ne.install=rO;ne.version="8.28.2";const LN=ne,wZ={LanguageName:"\u7B80\u4F53\u4E2D\u6587",Published:"\u53D1\u5E03",Delayed:"\u5EF6\u8FDF",Received:"\u63A5\u6536",Subscriber:"\u8BA2\u9605\u8005",Nodes:"\u8282\u70B9",Dashboard:"\u4EEA\u8868\u677F","CAP Dashboard":"CAP \u4EEA\u8868\u677F",Loading:"\u52A0\u8F7D\u4E2D",First:"\u9996\u9875",Next:"\u4E0B\u4E00\u9875",Prev:"\u4E0A\u4E00\u9875",Last:"\u5C3E\u9875","Page Size":"\u6BCF\u9875\u6570\u91CF","Realtime Metric Graph":"\u5B9E\u65F6\u5EA6\u91CF\u56FE\u8868",PublishedPerSec:"\u53D1\u5E03\u901F\u7387(\u79D2)",ConsumePerSec:"\u6D88\u8D39\u901F\u7387(\u79D2)",InvokeSubscriberPerSec:"\u8BA2\u9605\u8005\u8C03\u7528\u901F\u7387(\u79D2)","24h History Graph":"24\u5C0F\u65F6\u7EDF\u8BA1\u56FE\u8868","Publish Succeeded":"\u53D1\u5E03\u6210\u529F","Publish Failed":"\u53D1\u5E03\u5931\u8D25","Received Succeeded":"\u6D88\u8D39\u6210\u529F","Received Failed":"\u6D88\u8D39\u5931\u8D25","Published Message":"\u5DF2\u53D1\u5E03\u6D88\u606F","Received Message":"\u63A5\u6536\u7684\u6D88\u606F","Aggregation Count":"\u805A\u5408\u6570\u91CF","Publish TPS":"\u53D1\u5E03\u901F\u7387","Consume TPS":"\u6D88\u8D39\u901F\u7387","Subscriber Invoke Time":"\u8BA2\u9605\u6267\u884C\u65F6\u95F4","Rate (TPS)":"\u901F\u7387 (TPS)",SubscriberInvokeMeanTime:"Y1\u8F74\u8868\u793A\u8BA2\u9605\u5E73\u5747\u65F6\u95F4\uFF08\u8BA2\u9605\u65B9\u6CD5\u5355\u4F4D\u65F6\u95F4\u7684\u5E73\u5747\u6267\u884C\u8017\u65F6\uFF0C\u4E0D\u4EE3\u8868\u6B21\u6570\uFF09","Elpsed Time (ms)":"\u8BA2\u9605\u6267\u884C\u65F6\u95F4\uFF08ms\uFF09",DelayedPublishTime:"\u5EF6\u8FDF\u53D1\u5E03\u65F6\u95F4",Succeeded:"\u6210\u529F",Failed:"\u5931\u8D25",Requeue:"\u91CD\u65B0\u53D1\u5E03",PublishNow:"\u7ACB\u5373\u53D1\u5E03",DelayedInfo:"\u8FD9\u91CC\u53EA\u663E\u793A1\u5206\u949F\u540E\u7684\u5EF6\u8FDF\u6D88\u606F\uFF0C1\u5206\u949F\u5185\u7684\u72B6\u6001\u4E3A Queued \u4F60\u53EF\u4EE5\u5728\u6570\u636E\u5E93\u67E5\u770B",Name:"\u540D\u79F0",Content:"\u5185\u5BB9",Search:"\u641C\u7D22","Re-execute":"\u91CD\u65B0\u6267\u884C",Group:"\u6D88\u606F\u7EC4",IdName:"ID/\u540D\u79F0",Added:"\u6DFB\u52A0\u65F6\u95F4",Retries:"\u91CD\u8BD5\u6B21\u6570",Expires:"\u8FC7\u671F\u65F6\u95F4",Total:"\u5408\u8BA1",SubscriberDescription:"\u8282\u70B9\u4E0B\u7684\u6240\u6709\u8BA2\u9605\u65B9\u6CD5,\u6309\u7167 Group\u4FE1\u606F \u8FDB\u884C\u5206\u7EC4",Method:"\u65B9\u6CD5",Id:"Id",Latency:"\u5EF6\u8FDF","Node Name":"\u8282\u70B9\u540D\u79F0","Ip Address":"\u5730\u5740",Port:"\u7AEF\u53E3",Tags:"\u6807\u7B7E",Actions:"\u52A8\u4F5C",ReexecuteSuccess:"\u{1F600} \u91CD\u65B0\u6267\u884C\u6210\u529F\uFF01",RequeueSuccess:"\u{1F600} \u91CD\u65B0\u53D1\u5E03\u6210\u529F\uFF01",SwitchedNode:"\u5207\u6362\u7684\u8282\u70B9",Storage:"\u5B58\u50A8",Transport:"\u4F20\u8F93",Switch:"\u5207\u6362",SelectNamespaces:"-- \u8BF7\u9009\u62E9\u4E00\u4E2A kubernetes \u547D\u540D\u7A7A\u95F4 --",NonDiscovery:"\u672A\u914D\u7F6EConsul\u6216K8S\u670D\u52A1\u53D1\u73B0 !",EmptyRecords:"\u6CA1\u6709\u8981\u663E\u793A\u7684\u8BB0\u5F55"},TZ={LanguageName:"English",Published:"Published",Delayed:"Delayed",Received:"Received",Subscriber:"Subscriber",Nodes:"Nodes",Dashboard:"Dashboard",Transport:"Transport",Storage:"Storage","CAP Dashboard":"CAP Dashboard",Loading:"Loading",First:"First",Next:"Next",Prev:"Prev",Last:"Last","Page Size":"Page Size","Realtime Metric Graph":"Realtime Metric Graph",PublishedPerSec:"Publish Rate(sec)",ConsumePerSec:"Consume Rate(sec)",InvokeSubscriberPerSec:"Call Subscriber Rate(sec)","24h History Graph":"24h History Graph","Publish Succeeded":"Publish Succeeded","Publish Failed":"Publish Failed","Received Succeeded":"Received Succeeded","Received Failed":"Received Failed","Published Message":"Published Message","Received Message":"Received Message","Aggregation Count":"Aggregation Count","Publish TPS":"Publish TPS","Consume TPS":"Consume TPS","Subscriber Invoke Time":"Subscriber Invoke Time","Rate (TPS)":"Rate (TPS)",SubscriberInvokeMeanTime:"The Y1 axis represents the subscriber invoke mean time (not execute times)","Elpsed Time (ms)":"Elpsed Time (ms)",DelayedPublishTime:"Delayed Publish Time",Succeeded:"Succeeded",Failed:"Failed",Requeue:"Requeue",PublishNow:"Immediately Publish",DelayedInfo:"Only show delay time more than 1 minute messages here, the status of shorter than 1 minute messages name is 'Queued', you can check it in the database",Name:"Name",Content:"Content",Search:"Search","Re-execute":"Re-execute",Group:"Group",IdName:"Id/Name",Added:"Added",Retries:"Retries",Expires:"Expires",Total:"Total",SubscriberDescription:"The subscription methods under the node are grouped by Group",Method:"Method",Id:"Id","Node Name":"Node Name","Ip Address":"Ip Address",Port:"Port",Tags:"Tags",Actions:"Actions",ReexecuteSuccess:"\u{1F600} Reexecute Successful !",RequeueSuccess:"\u{1F600} Requeue Successfull !",SelectNamespaces:"-- Please select a kubernetes namespace --",Latency:"Latency",NonDiscovery:"Unconfigure node discovery !",EmptyRecords:"No records to show"};let tb="";switch("production"){case"development":tb="/cap/api";break;default:tb=window.serverUrl;break}Xi.defaults.baseURL=tb;Xi.defaults.withCredentials=!0;Xi.defaults.headers.post["Content-Type"]="application/json";Xi.interceptors.request.use(t=>{let e=localStorage.getItem("token");return e&&(t.headers=Object.assign({Authorization:`Bearer ${e}`},t.headers)),t},t=>Promise.reject(t));ye.config.productionTip=!1;ye.use(yK);ye.component("vue-json-pretty",OJ);ye.use(LN);const SZ=new LN({locale:function(){return localStorage.getItem("lang")?localStorage.getItem("lang"):"en-us"}(),messages:{"en-us":TZ,"zh-cn":wZ}});new ye({router:yJ,store:LJ,i18n:SZ,render:t=>t(dY)}).$mount("#app");export{$Z as B,EZ as a,CZ as b,Xi as c,PK as d,AZ as e,PZ as f,Up as n}; diff --git a/src/DotNetCore.CAP.Dashboard/wwwroot/dist/assets/index.8fb86891.js b/src/DotNetCore.CAP.Dashboard/wwwroot/dist/assets/index.8fb86891.js deleted file mode 100644 index af5f12267..000000000 --- a/src/DotNetCore.CAP.Dashboard/wwwroot/dist/assets/index.8fb86891.js +++ /dev/null @@ -1,8 +0,0 @@ -import{d as Se}from"./index.8eb375a0.js";var Oe={exports:{}},xe={exports:{}},me={exports:{}};(function(R){(function(L){var q,A=/^-?(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?$/i,$=Math.ceil,T=Math.floor,D="[BigNumber Error] ",v=D+"Number primitive has more than 15 significant digits: ",H=1e14,N=14,C=9007199254740991,X=[1,10,100,1e3,1e4,1e5,1e6,1e7,1e8,1e9,1e10,1e11,1e12,1e13],B=1e7,_=1e9;function K(E){var m,F,j,g=h.prototype={constructor:h,toString:null,valueOf:null},b=new h(1),M=20,U=4,Q=-7,Z=21,ue=-1e7,te=1e7,se=!1,le=1,oe=0,pe={prefix:"",groupSize:3,secondaryGroupSize:0,groupSeparator:",",decimalSeparator:".",fractionGroupSize:0,fractionGroupSeparator:"\xA0",suffix:""},ce="0123456789abcdefghijklmnopqrstuvwxyz",we=!0;function h(e,r){var t,s,i,o,l,n,f,c,u=this;if(!(u instanceof h))return new h(e,r);if(r==null){if(e&&e._isBigNumber===!0){u.s=e.s,!e.c||e.e>te?u.c=u.e=null:e.e=10;l/=10,o++);o>te?u.c=u.e=null:(u.e=o,u.c=[e]);return}c=String(e)}else{if(!A.test(c=String(e)))return j(u,c,n);u.s=c.charCodeAt(0)==45?(c=c.slice(1),-1):1}(o=c.indexOf("."))>-1&&(c=c.replace(".","")),(l=c.search(/e/i))>0?(o<0&&(o=l),o+=+c.slice(l+1),c=c.substring(0,l)):o<0&&(o=c.length)}else{if(w(r,2,ce.length,"Base"),r==10&&we)return u=new h(e),ee(u,M+u.e+1,U);if(c=String(e),n=typeof e=="number"){if(e*0!=0)return j(u,c,n,r);if(u.s=1/e<0?(c=c.slice(1),-1):1,h.DEBUG&&c.replace(/^0\.0*|\./,"").length>15)throw Error(v+e)}else u.s=c.charCodeAt(0)===45?(c=c.slice(1),-1):1;for(t=ce.slice(0,r),o=l=0,f=c.length;lo){o=f;continue}}else if(!i&&(c==c.toUpperCase()&&(c=c.toLowerCase())||c==c.toLowerCase()&&(c=c.toUpperCase()))){i=!0,l=-1,o=0;continue}return j(u,String(e),n,r)}n=!1,c=F(c,r,10,u.s),(o=c.indexOf("."))>-1?c=c.replace(".",""):o=c.length}for(l=0;c.charCodeAt(l)===48;l++);for(f=c.length;c.charCodeAt(--f)===48;);if(c=c.slice(l,++f)){if(f-=l,n&&h.DEBUG&&f>15&&(e>C||e!==T(e)))throw Error(v+u.s*e);if((o=o-l-1)>te)u.c=u.e=null;else if(o=-_&&i<=_&&i===T(i)){if(s[0]===0){if(i===0&&s.length===1)return!0;break e}if(r=(i+1)%N,r<1&&(r+=N),String(s[0]).length==r){for(r=0;r=H||t!==T(t))break e;if(t!==0)return!0}}}else if(s===null&&i===null&&(o===null||o===1||o===-1))return!0;throw Error(D+"Invalid BigNumber: "+e)},h.maximum=h.max=function(){return ve(arguments,-1)},h.minimum=h.min=function(){return ve(arguments,1)},h.random=function(){var e=9007199254740992,r=Math.random()*e&2097151?function(){return T(Math.random()*e)}:function(){return(Math.random()*1073741824|0)*8388608+(Math.random()*8388608|0)};return function(t){var s,i,o,l,n,f=0,c=[],u=new h(b);if(t==null?t=M:w(t,0,_),l=$(t/N),se)if(crypto.getRandomValues){for(s=crypto.getRandomValues(new Uint32Array(l*=2));f>>11),n>=9e15?(i=crypto.getRandomValues(new Uint32Array(2)),s[f]=i[0],s[f+1]=i[1]):(c.push(n%1e14),f+=2);f=l/2}else if(crypto.randomBytes){for(s=crypto.randomBytes(l*=7);f=9e15?crypto.randomBytes(7).copy(s,f):(c.push(n%1e14),f+=7);f=l/7}else throw se=!1,Error(D+"crypto unavailable");if(!se)for(;f=10;n/=10,f++);fi-1&&(n[l+1]==null&&(n[l+1]=0),n[l+1]+=n[l]/i|0,n[l]%=i)}return n.reverse()}return function(t,s,i,o,l){var n,f,c,u,a,p,d,S,k=t.indexOf("."),z=M,y=U;for(k>=0&&(u=oe,oe=0,t=t.replace(".",""),S=new h(s),p=S.pow(t.length-k),oe=u,S.c=r(V(x(p.c),p.e,"0"),10,i,e),S.e=S.c.length),d=r(t,s,i,l?(n=ce,e):(n=e,ce)),c=u=d.length;d[--u]==0;d.pop());if(!d[0])return n.charAt(0);if(k<0?--c:(p.c=d,p.e=c,p.s=o,p=m(p,S,z,y,i),d=p.c,a=p.r,c=p.e),f=c+z+1,k=d[f],u=i/2,a=a||f<0||d[f+1]!=null,a=y<4?(k!=null||a)&&(y==0||y==(p.s<0?3:2)):k>u||k==u&&(y==4||a||y==6&&d[f-1]&1||y==(p.s<0?8:7)),f<1||!d[0])t=a?V(n.charAt(1),-z,n.charAt(0)):n.charAt(0);else{if(d.length=f,a)for(--i;++d[--f]>i;)d[f]=0,f||(++c,d=[1].concat(d));for(u=d.length;!d[--u];);for(k=0,t="";k<=u;t+=n.charAt(d[k++]));t=V(t,c,n.charAt(0))}return t}}(),m=function(){function e(s,i,o){var l,n,f,c,u=0,a=s.length,p=i%B,d=i/B|0;for(s=s.slice();a--;)f=s[a]%B,c=s[a]/B|0,l=d*f+c*p,n=p*f+l%B*B+u,u=(n/o|0)+(l/B|0)+d*c,s[a]=n%o;return u&&(s=[u].concat(s)),s}function r(s,i,o,l){var n,f;if(o!=l)f=o>l?1:-1;else for(n=f=0;ni[n]?1:-1;break}return f}function t(s,i,o,l){for(var n=0;o--;)s[o]-=n,n=s[o]1;s.splice(0,1));}return function(s,i,o,l,n){var f,c,u,a,p,d,S,k,z,y,P,W,he,Ae,Ee,ie,ae,re=s.s==i.s?1:-1,Y=s.c,G=i.c;if(!Y||!Y[0]||!G||!G[0])return new h(!s.s||!i.s||(Y?G&&Y[0]==G[0]:!G)?NaN:Y&&Y[0]==0||!G?re*0:re/0);for(k=new h(re),z=k.c=[],c=s.e-i.e,re=o+c+1,n||(n=H,c=O(s.e/N)-O(i.e/N),re=re/N|0),u=0;G[u]==(Y[u]||0);u++);if(G[u]>(Y[u]||0)&&c--,re<0)z.push(1),a=!0;else{for(Ae=Y.length,ie=G.length,u=0,re+=2,p=T(n/(G[0]+1)),p>1&&(G=e(G,p,n),Y=e(Y,p,n),ie=G.length,Ae=Y.length),he=ie,y=Y.slice(0,ie),P=y.length;P=n/2&&Ee++;do{if(p=0,f=r(G,y,ie,P),f<0){if(W=y[0],ie!=P&&(W=W*n+(y[1]||0)),p=T(W/Ee),p>1)for(p>=n&&(p=n-1),d=e(G,p,n),S=d.length,P=y.length;r(d,y,S,P)==1;)p--,t(d,ie=10;re/=10,u++);ee(k,o+(k.e=u+c*N-1)+1,l,a)}else k.e=c,k.r=+a;return k}}();function de(e,r,t,s){var i,o,l,n,f;if(t==null?t=U:w(t,0,8),!e.c)return e.toString();if(i=e.c[0],l=e.e,r==null)f=x(e.c),f=s==1||s==2&&(l<=Q||l>=Z)?ne(f,l):V(f,l,"0");else if(e=ee(new h(e),r,t),o=e.e,f=x(e.c),n=f.length,s==1||s==2&&(r<=o||o<=Q)){for(;nn){if(--r>0)for(f+=".";r--;f+="0");}else if(r+=o-n,r>0)for(o+1==n&&(f+=".");r--;f+="0");return e.s<0&&i?"-"+f:f}function ve(e,r){for(var t,s,i=1,o=new h(e[0]);i=10;i/=10,s++);return(t=s+t*N-1)>te?e.c=e.e=null:t=10;n/=10,i++);if(o=r-i,o<0)o+=N,l=r,f=a[c=0],u=T(f/p[i-l-1]%10);else if(c=$((o+1)/N),c>=a.length)if(s){for(;a.length<=c;a.push(0));f=u=0,i=1,o%=N,l=o-N+1}else break e;else{for(f=n=a[c],i=1;n>=10;n/=10,i++);o%=N,l=o-N+i,u=l<0?0:T(f/p[i-l-1]%10)}if(s=s||r<0||a[c+1]!=null||(l<0?f:f%p[i-l-1]),s=t<4?(u||s)&&(t==0||t==(e.s<0?3:2)):u>5||u==5&&(t==4||s||t==6&&(o>0?l>0?f/p[i-l]:0:a[c-1])%10&1||t==(e.s<0?8:7)),r<1||!a[0])return a.length=0,s?(r-=e.e+1,a[0]=p[(N-r%N)%N],e.e=-r||0):a[0]=e.e=0,e;if(o==0?(a.length=c,n=1,c--):(a.length=c+1,n=p[N-o],a[c]=l>0?T(f/p[i-l]%p[l])*n:0),s)for(;;)if(c==0){for(o=1,l=a[0];l>=10;l/=10,o++);for(l=a[0]+=n,n=1;l>=10;l/=10,n++);o!=n&&(e.e++,a[0]==H&&(a[0]=1));break}else{if(a[c]+=n,a[c]!=H)break;a[c--]=0,n=1}for(o=a.length;a[--o]===0;a.pop());}e.e>te?e.c=e.e=null:e.e=Z?ne(r,t):V(r,t,"0"),e.s<0?"-"+r:r)}return g.absoluteValue=g.abs=function(){var e=new h(this);return e.s<0&&(e.s=1),e},g.comparedTo=function(e,r){return I(this,new h(e,r))},g.decimalPlaces=g.dp=function(e,r){var t,s,i,o=this;if(e!=null)return w(e,0,_),r==null?r=U:w(r,0,8),ee(new h(o),e+o.e+1,r);if(!(t=o.c))return null;if(s=((i=t.length-1)-O(this.e/N))*N,i=t[i])for(;i%10==0;i/=10,s--);return s<0&&(s=0),s},g.dividedBy=g.div=function(e,r){return m(this,new h(e,r),M,U)},g.dividedToIntegerBy=g.idiv=function(e,r){return m(this,new h(e,r),0,1)},g.exponentiatedBy=g.pow=function(e,r){var t,s,i,o,l,n,f,c,u,a=this;if(e=new h(e),e.c&&!e.isInteger())throw Error(D+"Exponent not an integer: "+fe(e));if(r!=null&&(r=new h(r)),n=e.e>14,!a.c||!a.c[0]||a.c[0]==1&&!a.e&&a.c.length==1||!e.c||!e.c[0])return u=new h(Math.pow(+fe(a),n?e.s*(2-J(e)):+fe(e))),r?u.mod(r):u;if(f=e.s<0,r){if(r.c?!r.c[0]:!r.s)return new h(NaN);s=!f&&a.isInteger()&&r.isInteger(),s&&(a=a.mod(r))}else{if(e.e>9&&(a.e>0||a.e<-1||(a.e==0?a.c[0]>1||n&&a.c[1]>=24e7:a.c[0]<8e13||n&&a.c[0]<=9999975e7)))return o=a.s<0&&J(e)?-0:0,a.e>-1&&(o=1/o),new h(f?1/o:o);oe&&(o=$(oe/N+2))}for(n?(t=new h(.5),f&&(e.s=1),c=J(e)):(i=Math.abs(+fe(e)),c=i%2),u=new h(b);;){if(c){if(u=u.times(a),!u.c)break;o?u.c.length>o&&(u.c.length=o):s&&(u=u.mod(r))}if(i){if(i=T(i/2),i===0)break;c=i%2}else if(e=e.times(t),ee(e,e.e+1,1),e.e>14)c=J(e);else{if(i=+fe(e),i===0)break;c=i%2}a=a.times(a),o?a.c&&a.c.length>o&&(a.c.length=o):s&&(a=a.mod(r))}return s?u:(f&&(u=b.div(u)),r?u.mod(r):o?ee(u,oe,U,l):u)},g.integerValue=function(e){var r=new h(this);return e==null?e=U:w(e,0,8),ee(r,r.e+1,e)},g.isEqualTo=g.eq=function(e,r){return I(this,new h(e,r))===0},g.isFinite=function(){return!!this.c},g.isGreaterThan=g.gt=function(e,r){return I(this,new h(e,r))>0},g.isGreaterThanOrEqualTo=g.gte=function(e,r){return(r=I(this,new h(e,r)))===1||r===0},g.isInteger=function(){return!!this.c&&O(this.e/N)>this.c.length-2},g.isLessThan=g.lt=function(e,r){return I(this,new h(e,r))<0},g.isLessThanOrEqualTo=g.lte=function(e,r){return(r=I(this,new h(e,r)))===-1||r===0},g.isNaN=function(){return!this.s},g.isNegative=function(){return this.s<0},g.isPositive=function(){return this.s>0},g.isZero=function(){return!!this.c&&this.c[0]==0},g.minus=function(e,r){var t,s,i,o,l=this,n=l.s;if(e=new h(e,r),r=e.s,!n||!r)return new h(NaN);if(n!=r)return e.s=-r,l.plus(e);var f=l.e/N,c=e.e/N,u=l.c,a=e.c;if(!f||!c){if(!u||!a)return u?(e.s=-r,e):new h(a?l:NaN);if(!u[0]||!a[0])return a[0]?(e.s=-r,e):new h(u[0]?l:U==3?-0:0)}if(f=O(f),c=O(c),u=u.slice(),n=f-c){for((o=n<0)?(n=-n,i=u):(c=f,i=a),i.reverse(),r=n;r--;i.push(0));i.reverse()}else for(s=(o=(n=u.length)<(r=a.length))?n:r,n=r=0;r0)for(;r--;u[t++]=0);for(r=H-1;s>n;){if(u[--s]=0;){for(t=0,p=W[i]%z,d=W[i]/z|0,l=f,o=i+l;o>i;)c=P[--l]%z,u=P[l]/z|0,n=d*c+u*p,c=p*c+n%z*z+S[o]+t,t=(c/k|0)+(n/z|0)+d*u,S[o--]=c%k;S[o]=t}return t?++s:S.splice(0,1),Ne(e,S,s)},g.negated=function(){var e=new h(this);return e.s=-e.s||null,e},g.plus=function(e,r){var t,s=this,i=s.s;if(e=new h(e,r),r=e.s,!i||!r)return new h(NaN);if(i!=r)return e.s=-r,s.minus(e);var o=s.e/N,l=e.e/N,n=s.c,f=e.c;if(!o||!l){if(!n||!f)return new h(i/0);if(!n[0]||!f[0])return f[0]?e:new h(n[0]?s:i*0)}if(o=O(o),l=O(l),n=n.slice(),i=o-l){for(i>0?(l=o,t=f):(i=-i,t=n),t.reverse();i--;t.push(0));t.reverse()}for(i=n.length,r=f.length,i-r<0&&(t=f,f=n,n=t,r=i),i=0;r;)i=(n[--r]=n[r]+f[r]+i)/H|0,n[r]=H===n[r]?0:n[r]%H;return i&&(n=[i].concat(n),++l),Ne(e,n,l)},g.precision=g.sd=function(e,r){var t,s,i,o=this;if(e!=null&&e!==!!e)return w(e,1,_),r==null?r=U:w(r,0,8),ee(new h(o),e,r);if(!(t=o.c))return null;if(i=t.length-1,s=i*N+1,i=t[i]){for(;i%10==0;i/=10,s--);for(i=t[0];i>=10;i/=10,s++);}return e&&o.e+1>s&&(s=o.e+1),s},g.shiftedBy=function(e){return w(e,-C,C),this.times("1e"+e)},g.squareRoot=g.sqrt=function(){var e,r,t,s,i,o=this,l=o.c,n=o.s,f=o.e,c=M+4,u=new h("0.5");if(n!==1||!l||!l[0])return new h(!n||n<0&&(!l||l[0])?NaN:l?o:1/0);if(n=Math.sqrt(+fe(o)),n==0||n==1/0?(r=x(l),(r.length+f)%2==0&&(r+="0"),n=Math.sqrt(+r),f=O((f+1)/2)-(f<0||f%2),n==1/0?r="5e"+f:(r=n.toExponential(),r=r.slice(0,r.indexOf("e")+1)+f),t=new h(r)):t=new h(n+""),t.c[0]){for(f=t.e,n=f+c,n<3&&(n=0);;)if(i=t,t=u.times(i.plus(m(o,i,c,1))),x(i.c).slice(0,n)===(r=x(t.c)).slice(0,n))if(t.e0&&S>0){for(o=S%n||n,u=d.substr(0,o);o0&&(u+=c+d.slice(o)),p&&(u="-"+u)}s=a?u+(t.decimalSeparator||"")+((f=+t.fractionGroupSize)?a.replace(new RegExp("\\d{"+f+"}\\B","g"),"$&"+(t.fractionGroupSeparator||"")):a):u}return(t.prefix||"")+s+(t.suffix||"")},g.toFraction=function(e){var r,t,s,i,o,l,n,f,c,u,a,p,d=this,S=d.c;if(e!=null&&(n=new h(e),!n.isInteger()&&(n.c||n.s!==1)||n.lt(b)))throw Error(D+"Argument "+(n.isInteger()?"out of range: ":"not an integer: ")+fe(n));if(!S)return new h(d);for(r=new h(b),c=t=new h(b),s=f=new h(b),p=x(S),o=r.e=p.length-d.e-1,r.c[0]=X[(l=o%N)<0?N+l:l],e=!e||n.comparedTo(r)>0?o>0?r:c:n,l=te,te=1/0,n=new h(p),f.c[0]=0;u=m(n,r,0,1),i=t.plus(u.times(s)),i.comparedTo(e)!=1;)t=s,s=i,c=f.plus(u.times(i=c)),f=i,r=n.minus(u.times(i=r)),n=i;return i=m(e.minus(t),s,0,1),f=f.plus(i.times(c)),t=t.plus(i.times(s)),f.s=c.s=d.s,o=o*2,a=m(c,s,o,U).minus(d).abs().comparedTo(m(f,t,o,U).minus(d).abs())<1?[c,s]:[f,t],te=l,a},g.toNumber=function(){return+fe(this)},g.toPrecision=function(e,r){return e!=null&&w(e,1,_),de(this,e,r,2)},g.toString=function(e){var r,t=this,s=t.s,i=t.e;return i===null?s?(r="Infinity",s<0&&(r="-"+r)):r="NaN":(e==null?r=i<=Q||i>=Z?ne(x(t.c),i):V(x(t.c),i,"0"):e===10&&we?(t=ee(new h(t),M+i+1,U),r=V(x(t.c),t.e,"0")):(w(e,2,ce.length,"Base"),r=F(V(x(t.c),i,"0"),10,e,s,!0)),s<0&&t.c[0]&&(r="-"+r)),r},g.valueOf=g.toJSON=function(){return fe(this)},g._isBigNumber=!0,E!=null&&h.set(E),h}function O(E){var m=E|0;return E>0||E===m?m:m-1}function x(E){for(var m,F,j=1,g=E.length,b=E[0]+"";jZ^F?1:-1;for(U=(Q=g.length)<(Z=b.length)?Q:Z,M=0;Mb[M]^F?1:-1;return Q==Z?0:Q>Z^F?1:-1}function w(E,m,F,j){if(EF||E!==T(E))throw Error(D+(j||"Argument")+(typeof E=="number"?EF?" out of range: ":" not an integer: ":" not a primitive number: ")+String(E))}function J(E){var m=E.c.length-1;return O(E.e/N)==m&&E.c[m]%2!=0}function ne(E,m){return(E.length>1?E.charAt(0)+"."+E.slice(1):E)+(m<0?"e":"e+")+m}function V(E,m,F){var j,g;if(m<0){for(g=F+".";++m;g+=F);E=g+E}else if(j=E.length,++m>j){for(g=F,m-=j;--m;g+=F);E+=g}else m="0"&&A<="9";)x+=A,v();if(A===".")for(x+=".";v()&&A>="0"&&A<="9";)x+=A;if(A==="e"||A==="E")for(x+=A,v(),(A==="-"||A==="+")&&(x+=A,v());A>="0"&&A<="9";)x+=A,v();if(O=+x,!isFinite(O))D("Bad number");else return ge==null&&(ge=me.exports),x.length>15?L.storeAsString?x:L.useNativeBigInt?BigInt(x):new ge(x):L.alwaysParseAsBig?L.useNativeBigInt?BigInt(O):new ge(O):O},N=function(){var O,x,I="",w;if(A==='"')for(var J=q;v();){if(A==='"')return q-1>J&&(I+=T.substring(J,q-1)),v(),I;if(A==="\\"){if(q-1>J&&(I+=T.substring(J,q-1)),v(),A==="u"){for(w=0,x=0;x<4&&(O=parseInt(v(),16),!!isFinite(O));x+=1)w=w*16+O;I+=String.fromCharCode(w)}else if(typeof $[A]=="string")I+=$[A];else break;J=q}}D("Bad string")},C=function(){for(;A&&A<=" ";)v()},X=function(){switch(A){case"t":return v("t"),v("r"),v("u"),v("e"),!0;case"f":return v("f"),v("a"),v("l"),v("s"),v("e"),!1;case"n":return v("n"),v("u"),v("l"),v("l"),null}D("Unexpected '"+A+"'")},B,_=function(){var O=[];if(A==="["){if(v("["),C(),A==="]")return v("]"),O;for(;A;){if(O.push(B()),C(),A==="]")return v("]"),O;v(","),C()}}D("Bad array")},K=function(){var O,x=Object.create(null);if(A==="{"){if(v("{"),C(),A==="}")return v("}"),x;for(;A;){if(O=N(),C(),v(":"),L.strict===!0&&Object.hasOwnProperty.call(x,O)&&D('Duplicate key "'+O+'"'),_e.test(O)===!0?L.protoAction==="error"?D("Object contains forbidden prototype property"):L.protoAction==="ignore"?B():x[O]=B():Ie.test(O)===!0?L.constructorAction==="error"?D("Object contains forbidden constructor property"):L.constructorAction==="ignore"?B():x[O]=B():x[O]=B(),C(),A==="}")return v("}"),x;v(","),C()}}D("Bad object")};return B=function(){switch(C(),A){case"{":return K();case"[":return _();case'"':return N();case"-":return H();default:return A>="0"&&A<="9"?H():X()}},function(O,x){var I;return T=O+"",q=0,A=" ",I=B(),C(),A&&D("Syntax error"),typeof x=="function"?function w(J,ne){var V,E=J[ne];return E&&typeof E=="object"&&Object.keys(E).forEach(function(m){V=w(E,m),V!==void 0?E[m]=V:delete E[m]}),x.call(J,ne,E)}({"":I},""):I}},Re=Pe,Be=xe.exports.stringify,ye=Re;Oe.exports=function(R){return{parse:ye(R),stringify:Be}};Oe.exports.parse=ye();Oe.exports.stringify=Be;export{Oe as j}; diff --git a/src/DotNetCore.CAP.Dashboard/wwwroot/dist/index.html b/src/DotNetCore.CAP.Dashboard/wwwroot/dist/index.html index d7c9eed23..7a9a4fbd5 100644 --- a/src/DotNetCore.CAP.Dashboard/wwwroot/dist/index.html +++ b/src/DotNetCore.CAP.Dashboard/wwwroot/dist/index.html @@ -6,7 +6,7 @@ CAP Dashboard - + diff --git a/src/DotNetCore.CAP.Dashboard/wwwroot/src/assets/language/en-us.js b/src/DotNetCore.CAP.Dashboard/wwwroot/src/assets/language/en-us.js index 6f4ba5050..2e8fe5d0e 100644 --- a/src/DotNetCore.CAP.Dashboard/wwwroot/src/assets/language/en-us.js +++ b/src/DotNetCore.CAP.Dashboard/wwwroot/src/assets/language/en-us.js @@ -58,6 +58,7 @@ export default { Tags: "Tags", Actions: "Actions", ReexecuteSuccess: "😀 Reexecute Successful !", + DeleteSuccess: "😀 Delete Successful !", RequeueSuccess: "😀 Requeue Successfull !", SelectNamespaces: "-- Please select a kubernetes namespace --", Latency: "Latency", diff --git a/src/DotNetCore.CAP.Dashboard/wwwroot/src/assets/language/zh-cn.js b/src/DotNetCore.CAP.Dashboard/wwwroot/src/assets/language/zh-cn.js index eac517bc7..7fad3f479 100644 --- a/src/DotNetCore.CAP.Dashboard/wwwroot/src/assets/language/zh-cn.js +++ b/src/DotNetCore.CAP.Dashboard/wwwroot/src/assets/language/zh-cn.js @@ -57,6 +57,7 @@ export default { Tags: "标签", Actions: "动作", ReexecuteSuccess: "😀 重新执行成功!", + DeleteSuccess: "😀 删除成功!", RequeueSuccess: "😀 重新发布成功!", SwitchedNode: "切换的节点", Storage: "存储", diff --git a/src/DotNetCore.CAP.Dashboard/wwwroot/src/pages/Published.vue b/src/DotNetCore.CAP.Dashboard/wwwroot/src/pages/Published.vue index 6646fcea0..1c8487449 100644 --- a/src/DotNetCore.CAP.Dashboard/wwwroot/src/pages/Published.vue +++ b/src/DotNetCore.CAP.Dashboard/wwwroot/src/pages/Published.vue @@ -44,10 +44,14 @@ - + {{ requeueTitle }} + + + {{ $t("Delete") }} +