diff --git a/README.md b/README.md index c592c21b..4ab20920 100644 --- a/README.md +++ b/README.md @@ -13,10 +13,10 @@ - + - + @@ -31,13 +31,13 @@


- +

Dashboard Screenshots

- - + +

diff --git a/web/dist/css/629.6df746cc.css b/web/dist/css/974.6df746cc.css similarity index 100% rename from web/dist/css/629.6df746cc.css rename to web/dist/css/974.6df746cc.css diff --git a/web/dist/index.html b/web/dist/index.html index 3bb70649..a9809bcf 100644 --- a/web/dist/index.html +++ b/web/dist/index.html @@ -1 +1 @@ -Walrus
\ No newline at end of file +Walrus
\ No newline at end of file diff --git a/web/dist/js/180.b6903465.js b/web/dist/js/180.b6903465.js new file mode 100644 index 00000000..ab333060 --- /dev/null +++ b/web/dist/js/180.b6903465.js @@ -0,0 +1,2 @@ +"use strict";(self["webpackChunkweb"]=self["webpackChunkweb"]||[]).push([[180],{180:function(s,e,t){t.r(e),t.d(e,{default:function(){return u}});var a=function(){var s=this,e=s._self._c;return e("div",{staticClass:"columns is-desktop is-centered"},[e("div",{staticClass:"column is-4"},[s.setup?[e("div",{staticClass:"field"},[e("p",{staticClass:"control has-icons-left has-icons-right"},[e("input",{directives:[{name:"model",rawName:"v-model",value:s.form.user_name,expression:"form.user_name"}],staticClass:"input",attrs:{type:"text",placeholder:"Name",required:""},domProps:{value:s.form.user_name},on:{input:function(e){e.target.composing||s.$set(s.form,"user_name",e.target.value)}}}),s._m(0)])])]:s._e(),e("div",{staticClass:"field"},[e("p",{staticClass:"control has-icons-left has-icons-right"},[e("input",{directives:[{name:"model",rawName:"v-model",value:s.form.user_email,expression:"form.user_email"}],staticClass:"input",attrs:{type:"email",placeholder:"Email",required:""},domProps:{value:s.form.user_email},on:{input:function(e){e.target.composing||s.$set(s.form,"user_email",e.target.value)}}}),s._m(1)])]),e("div",{staticClass:"field"},[e("p",{staticClass:"control has-icons-left"},[e("input",{directives:[{name:"model",rawName:"v-model",value:s.form.user_password,expression:"form.user_password"}],staticClass:"input",attrs:{type:"password",placeholder:"Password",required:""},domProps:{value:s.form.user_password},on:{input:function(e){e.target.composing||s.$set(s.form,"user_password",e.target.value)}}}),s._m(2)])]),e("div",{staticClass:"field"},[e("p",{staticClass:"control"},[s.setup?[e("b-button",{attrs:{type:"is-danger is-light",disabled:s.form.button_disabled},on:{click:s.setupEvent}},[s._v("Install Walrus")])]:[e("b-button",{attrs:{type:"submit is-danger is-light",disabled:s.form.button_disabled},on:{click:s.loginEvent}},[s._v("Login")])]],2)])],2)])},i=[function(){var s=this,e=s._self._c;return e("span",{staticClass:"icon is-small is-left"},[e("i",{staticClass:"fas fa-user"})])},function(){var s=this,e=s._self._c;return e("span",{staticClass:"icon is-small is-left"},[e("i",{staticClass:"fas fa-envelope"})])},function(){var s=this,e=s._self._c;return e("span",{staticClass:"icon is-small is-left"},[e("i",{staticClass:"fas fa-lock"})])}],r=(t(7658),{name:"LoginPage",data(){return{setup:!1,form:{user_password:"",user_email:"",user_name:"",button_disabled:!1},loader:{isFullPage:!0,ref:null}}},methods:{loading(){this.loader.ref=this.$buefy.loading.open({container:this.loader.isFullPage?null:this.$refs.element.$el})},loginEvent(){this.form.button_disabled=!0,this.$store.dispatch("auth/authAction",{email:this.form.user_email,password:this.form.user_password}).then((s=>{this.$buefy.toast.open({message:"User logged in successfully",type:"is-success"}),localStorage.setItem("user_api_key",s.data.apiKey),localStorage.setItem("user_email",s.data.email),localStorage.setItem("user_id",s.data.id),localStorage.setItem("user_name",s.data.name),this.$router.push("/")}),(s=>{s.response.data.errorMessage?this.$buefy.toast.open({message:s.response.data.errorMessage,type:"is-danger"}):this.$buefy.toast.open({message:"Error status code: "+s.response.status,type:"is-danger"}),this.form.button_disabled=!1}))},setupEvent(){this.form.button_disabled=!0,this.$store.dispatch("auth/setupAction",{name:this.form.user_name,email:this.form.user_email,password:this.form.user_password}).then((()=>{this.$buefy.toast.open({message:"Walrus installed successfully",type:"is-success"}),this.$router.push("/")}),(s=>{s.response.data.errorMessage?this.$buefy.toast.open({message:s.response.data.errorMessage,type:"is-danger is-light"}):this.$buefy.toast.open({message:"Error status code: "+s.response.status,type:"is-danger is-light"}),this.form.button_disabled=!1}))}},mounted(){this.loading(),this.$store.dispatch("auth/fetchInfo").then((()=>{let s=this.$store.getters["auth/getTowerInfo"];s.setupStatus||(this.setup=!0,this.$buefy.toast.open({message:"Walrus not installed yet, Please setup the application!",type:"is-info is-light"})),this.loader.ref.close()}),(s=>{this.$buefy.toast.open({message:s.response.data.errorMessage,type:"is-danger is-light"}),this.loader.ref.close()}))}}),o=r,l=t(1001),n=(0,l.Z)(o,a,i,!1,null,null,null),u=n.exports}}]); +//# sourceMappingURL=180.b6903465.js.map \ No newline at end of file diff --git a/web/dist/js/180.b6903465.js.map b/web/dist/js/180.b6903465.js.map new file mode 100644 index 00000000..23686c5a --- /dev/null +++ b/web/dist/js/180.b6903465.js.map @@ -0,0 +1 @@ +{"version":3,"file":"js/180.b6903465.js","mappings":"iJAAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,MAAM,CAACE,YAAY,kCAAkC,CAACF,EAAG,MAAM,CAACE,YAAY,eAAe,CAAEJ,EAAIK,MAAO,CAACH,EAAG,MAAM,CAACE,YAAY,SAAS,CAACF,EAAG,IAAI,CAACE,YAAY,0CAA0C,CAACF,EAAG,QAAQ,CAACI,WAAW,CAAC,CAACC,KAAK,QAAQC,QAAQ,UAAUC,MAAOT,EAAIU,KAAKC,UAAWC,WAAW,mBAAmBR,YAAY,QAAQS,MAAM,CAAC,KAAO,OAAO,YAAc,OAAO,SAAW,IAAIC,SAAS,CAAC,MAASd,EAAIU,KAAKC,WAAYI,GAAG,CAAC,MAAQ,SAASC,GAAWA,EAAOC,OAAOC,WAAiBlB,EAAImB,KAAKnB,EAAIU,KAAM,YAAaM,EAAOC,OAAOR,MAAM,KAAKT,EAAIoB,GAAG,QAAQpB,EAAIqB,KAAKnB,EAAG,MAAM,CAACE,YAAY,SAAS,CAACF,EAAG,IAA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AA,KAAAA,WACAC,SAAAA,KAAAA,KAAAA,gBAEAC,MACA,KACA,wBACAE,QAAAA,gCACAC,KAAAA,eAGA,0BAEAE,IACA,6BACA,wBACAH,QAAAA,EAAAA,SAAAA,KAAAA,aACAC,KAAAA,uBAGA,wBACAD,QAAAA,sBAAAA,EAAAA,SAAAA,OACAC,KAAAA,uBAGA,+BAGA,GAGAG,UACA,eAEA,6CACA,KACA,+CAEA,gBACA,cAEA,wBACAJ,QAAAA,0DACAC,KAAAA,sBAIA,2BAEAE,IACA,wBACAH,QAAAA,EAAAA,SAAAA,KAAAA,aACAC,KAAAA,uBAGA,0BAGA,IC5MqP,I,UCOjPI,GAAY,OACd,EACA/C,EACA6B,GACA,EACA,KACA,KACA,MAIF,EAAekB,EAAiB,O","sources":["webpack://web/./src/views/Login.vue","webpack://web/src/views/Login.vue","webpack://web/./src/views/Login.vue?7d1c","webpack://web/./src/views/Login.vue?a6ee"],"sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"columns is-desktop is-centered\"},[_c('div',{staticClass:\"column is-4\"},[(_vm.setup)?[_c('div',{staticClass:\"field\"},[_c('p',{staticClass:\"control has-icons-left has-icons-right\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.form.user_name),expression:\"form.user_name\"}],staticClass:\"input\",attrs:{\"type\":\"text\",\"placeholder\":\"Name\",\"required\":\"\"},domProps:{\"value\":(_vm.form.user_name)},on:{\"input\":function($event){if($event.target.composing)return;_vm.$set(_vm.form, \"user_name\", $event.target.value)}}}),_vm._m(0)])])]:_vm._e(),_c('div',{staticClass:\"field\"},[_c('p',{staticClass:\"control has-icons-left has-icons-right\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.form.user_email),expression:\"form.user_email\"}],staticClass:\"input\",attrs:{\"type\":\"email\",\"placeholder\":\"Email\",\"required\":\"\"},domProps:{\"value\":(_vm.form.user_email)},on:{\"input\":function($event){if($event.target.composing)return;_vm.$set(_vm.form, \"user_email\", $event.target.value)}}}),_vm._m(1)])]),_c('div',{staticClass:\"field\"},[_c('p',{staticClass:\"control has-icons-left\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.form.user_password),expression:\"form.user_password\"}],staticClass:\"input\",attrs:{\"type\":\"password\",\"placeholder\":\"Password\",\"required\":\"\"},domProps:{\"value\":(_vm.form.user_password)},on:{\"input\":function($event){if($event.target.composing)return;_vm.$set(_vm.form, \"user_password\", $event.target.value)}}}),_vm._m(2)])]),_c('div',{staticClass:\"field\"},[_c('p',{staticClass:\"control\"},[(!_vm.setup)?[_c('b-button',{attrs:{\"type\":\"submit is-danger is-light\",\"disabled\":_vm.form.button_disabled},on:{\"click\":_vm.loginEvent}},[_vm._v(\"Login\")])]:[_c('b-button',{attrs:{\"type\":\"is-danger is-light\",\"disabled\":_vm.form.button_disabled},on:{\"click\":_vm.setupEvent}},[_vm._v(\"Install Walrus\")])]],2)])],2)])\n}\nvar staticRenderFns = [function (){var _vm=this,_c=_vm._self._c;return _c('span',{staticClass:\"icon is-small is-left\"},[_c('i',{staticClass:\"fas fa-user\"})])\n},function (){var _vm=this,_c=_vm._self._c;return _c('span',{staticClass:\"icon is-small is-left\"},[_c('i',{staticClass:\"fas fa-envelope\"})])\n},function (){var _vm=this,_c=_vm._self._c;return _c('span',{staticClass:\"icon is-small is-left\"},[_c('i',{staticClass:\"fas fa-lock\"})])\n}]\n\nexport { render, staticRenderFns }","\n\n\n\n\n","import mod from \"-!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Login.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Login.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Login.vue?vue&type=template&id=50916d32&\"\nimport script from \"./Login.vue?vue&type=script&lang=js&\"\nexport * from \"./Login.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports"],"names":["render","_vm","this","_c","_self","staticClass","setup","directives","name","rawName","value","form","user_name","expression","attrs","domProps","on","$event","target","composing","$set","_m","_e","user_email","user_password","button_disabled","setupEvent","_v","loginEvent","staticRenderFns","data","loader","isFullPage","ref","methods","loading","container","dispatch","email","password","then","response","message","type","localStorage","err","mounted","component"],"sourceRoot":""} \ No newline at end of file diff --git a/web/dist/js/281.34255600.js b/web/dist/js/281.34255600.js deleted file mode 100644 index 87521da4..00000000 --- a/web/dist/js/281.34255600.js +++ /dev/null @@ -1,2 +0,0 @@ -"use strict";(self["webpackChunkweb"]=self["webpackChunkweb"]||[]).push([[281],{281:function(e,t,s){s.r(t),s.d(t,{default:function(){return c}});var a=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"columns is-desktop is-centered"},[s("div",{staticClass:"column is-4"},[s("br"),s("br"),s("section",[s("b-field",{attrs:{label:"S3 Key"}},[s("b-input",{attrs:{type:"text"},model:{value:e.form.backup_s3_key,callback:function(t){e.$set(e.form,"backup_s3_key",t)},expression:"form.backup_s3_key"}})],1),s("b-field",{attrs:{label:"S3 Secret"}},[s("b-input",{attrs:{type:"text"},model:{value:e.form.backup_s3_secret,callback:function(t){e.$set(e.form,"backup_s3_secret",t)},expression:"form.backup_s3_secret"}})],1),s("b-field",{attrs:{label:"S3 Endpoint"}},[s("b-input",{attrs:{type:"text"},model:{value:e.form.backup_s3_endpoint,callback:function(t){e.$set(e.form,"backup_s3_endpoint",t)},expression:"form.backup_s3_endpoint"}})],1),s("b-field",{attrs:{label:"S3 Region"}},[s("b-input",{attrs:{type:"text"},model:{value:e.form.backup_s3_region,callback:function(t){e.$set(e.form,"backup_s3_region",t)},expression:"form.backup_s3_region"}})],1),s("b-field",{attrs:{label:"S3 Bucket"}},[s("b-input",{attrs:{type:"text"},model:{value:e.form.backup_s3_bucket,callback:function(t){e.$set(e.form,"backup_s3_bucket",t)},expression:"form.backup_s3_bucket"}})],1),s("br"),s("div",{staticClass:"field"},[s("p",{staticClass:"control"},[s("b-button",{attrs:{type:"is-danger is-light",disabled:e.form.button_disabled},on:{click:e.updateEvent}},[e._v("Update")])],1)])],1)])])},i=[],o={name:"SettingsPage",data(){return{form:{button_disabled:!1,backup_s3_key:"",backup_s3_secret:"",backup_s3_endpoint:"",backup_s3_region:"",backup_s3_bucket:""},loader:{isFullPage:!0,ref:null}}},methods:{loading(){this.loader.ref=this.$buefy.loading.open({container:this.loader.isFullPage?null:this.$refs.element.$el})},updateEvent(){this.form.button_disabled=!0,this.$store.dispatch("settings/updateSettingsAction",{s3Key:this.form.backup_s3_key,s3Secret:this.form.backup_s3_secret,s3Endpoint:this.form.backup_s3_endpoint,s3Region:this.form.backup_s3_region,s3Bucket:this.form.backup_s3_bucket}).then((()=>{this.$buefy.toast.open({message:"Settings updated successfully",type:"is-success"}),this.form.button_disabled=!1}),(e=>{e.response.data.errorMessage?this.$buefy.toast.open({message:e.response.data.errorMessage,type:"is-danger is-light"}):this.$buefy.toast.open({message:"Error status code: "+e.response.status,type:"is-danger is-light"}),this.form.button_disabled=!1}))}},mounted(){this.loading(),this.$store.dispatch("settings/getSettingsAction").then((()=>{let e=this.$store.getters["settings/getSettingsResult"];this.form.backup_s3_key=e.s3Key,this.form.backup_s3_secret=e.s3Secret,this.form.backup_s3_endpoint=e.s3Endpoint,this.form.backup_s3_region=e.s3Region,this.form.backup_s3_bucket=e.s3Bucket,this.loader.ref.close()}),(e=>{this.$buefy.toast.open({message:e.response.data.errorMessage,type:"is-danger is-light"}),this.loader.ref.close()}))}},r=o,n=s(1),u=(0,n.Z)(r,a,i,!1,null,null,null),c=u.exports}}]); -//# sourceMappingURL=281.34255600.js.map \ No newline at end of file diff --git a/web/dist/js/281.34255600.js.map b/web/dist/js/281.34255600.js.map deleted file mode 100644 index 50f09d3c..00000000 --- a/web/dist/js/281.34255600.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"js/281.34255600.js","mappings":"iJAAA,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,MAAM,CAACE,YAAY,kCAAkC,CAACF,EAAG,MAAM,CAACE,YAAY,eAAe,CAACF,EAAG,MAAMA,EAAG,MAAMA,EAAG,UAAU,CAACA,EAAG,UAAU,CAACG,MAAM,CAAC,MAAQ,WAAW,CAACH,EAAG,UAAU,CAACG,MAAM,CAAC,KAAO,QAAQC,MAAM,CAACC,MAAOT,EAAIU,KAAkB,cAAEC,SAAS,SAAUC,GAAMZ,EAAIa,KAAKb,EAAIU,KAAM,gBAAiBE,EAAI,EAAEE,WAAW,yBAAyB,GAAGV,EAAG,UAAU,CAACG,MAAM,CAAC,MAAQ,cAAc,CAACH,EAAG,UAAU,CAACG,MAAM,CAAC,KAAO,QAAQC,MAAM,CAACC,MAAOT,EAAIU,KAAqB,iBAAEC,SAAS,SAAUC,GAAMZ,EAAIa,KAAKb,EAAIU,KAAM,mBAAoBE,EAAI,EAAEE,WAAW,4BAA4B,GAAGV,EAAG,UAAU,CAACG,MAAM,CAAC,MAAQ,gBAAgB,CAACH,EAAG,UAAU,CAACG,MAAM,CAAC,KAAO,QAAQC,MAAM,CAACC,MAAOT,EAAIU,KAAuB,mBAAEC,SAAS,SAAUC,GAAMZ,EAAIa,KAAKb,EAAIU,KAAM,qBAAsBE,EAAI,EAAEE,WAAW,8BAA8B,GAAGV,EAAG,UAAU,CAACG,MAAM,CAAC,MAAQ,cAAc,CAACH,EAAG,UAAU,CAACG,MAAM,CAAC,KAAO,QA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,EAAAA,SAAAA,OACAC,KAAAA,uBAGA,+BAGA,GAGAE,UACA,eAEA,yDACA,KACA,wDAEA,gCACA,sCACA,0CACA,sCACA,sCAEA,2BAEAD,IACA,wBACAF,QAAAA,EAAAA,SAAAA,KAAAA,aACAC,KAAAA,uBAGA,0BAGA,GCnIoQ,I,OCOhQG,GAAY,OACd,EACA7C,EACAoB,GACA,EACA,KACA,KACA,MAIF,EAAeyB,EAAiB,O","sources":["webpack://web/./src/views/Settings.vue?5e60","webpack://web/src/views/Settings.vue","webpack://web/./src/views/Settings.vue?f7c9","webpack://web/./src/views/Settings.vue"],"sourcesContent":["var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"columns is-desktop is-centered\"},[_c('div',{staticClass:\"column is-4\"},[_c('br'),_c('br'),_c('section',[_c('b-field',{attrs:{\"label\":\"S3 Key\"}},[_c('b-input',{attrs:{\"type\":\"text\"},model:{value:(_vm.form.backup_s3_key),callback:function ($$v) {_vm.$set(_vm.form, \"backup_s3_key\", $$v)},expression:\"form.backup_s3_key\"}})],1),_c('b-field',{attrs:{\"label\":\"S3 Secret\"}},[_c('b-input',{attrs:{\"type\":\"text\"},model:{value:(_vm.form.backup_s3_secret),callback:function ($$v) {_vm.$set(_vm.form, \"backup_s3_secret\", $$v)},expression:\"form.backup_s3_secret\"}})],1),_c('b-field',{attrs:{\"label\":\"S3 Endpoint\"}},[_c('b-input',{attrs:{\"type\":\"text\"},model:{value:(_vm.form.backup_s3_endpoint),callback:function ($$v) {_vm.$set(_vm.form, \"backup_s3_endpoint\", $$v)},expression:\"form.backup_s3_endpoint\"}})],1),_c('b-field',{attrs:{\"label\":\"S3 Region\"}},[_c('b-input',{attrs:{\"type\":\"text\"},model:{value:(_vm.form.backup_s3_region),callback:function ($$v) {_vm.$set(_vm.form, \"backup_s3_region\", $$v)},expression:\"form.backup_s3_region\"}})],1),_c('b-field',{attrs:{\"label\":\"S3 Bucket\"}},[_c('b-input',{attrs:{\"type\":\"text\"},model:{value:(_vm.form.backup_s3_bucket),callback:function ($$v) {_vm.$set(_vm.form, \"backup_s3_bucket\", $$v)},expression:\"form.backup_s3_bucket\"}})],1),_c('br'),_c('div',{staticClass:\"field\"},[_c('p',{staticClass:\"control\"},[_c('b-button',{attrs:{\"type\":\"is-danger is-light\",\"disabled\":_vm.form.button_disabled},on:{\"click\":_vm.updateEvent}},[_vm._v(\"Update\")])],1)])],1)])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n","import mod from \"-!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40[0].rules[0].use[1]!../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Settings.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40[0].rules[0].use[1]!../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Settings.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Settings.vue?vue&type=template&id=46d2c329&\"\nimport script from \"./Settings.vue?vue&type=script&lang=js&\"\nexport * from \"./Settings.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports"],"names":["render","_vm","this","_h","$createElement","_c","_self","staticClass","attrs","model","value","form","callback","$$v","$set","expression","button_disabled","on","updateEvent","_v","staticRenderFns","name","data","backup_s3_key","backup_s3_secret","backup_s3_endpoint","backup_s3_region","backup_s3_bucket","loader","isFullPage","ref","methods","loading","container","dispatch","s3Key","s3Secret","s3Endpoint","s3Region","s3Bucket","then","message","type","err","mounted","component"],"sourceRoot":""} \ No newline at end of file diff --git a/web/dist/js/405.d3b391e4.js b/web/dist/js/405.d3b391e4.js deleted file mode 100644 index d2e6c4e6..00000000 --- a/web/dist/js/405.d3b391e4.js +++ /dev/null @@ -1,2 +0,0 @@ -"use strict";(self["webpackChunkweb"]=self["webpackChunkweb"]||[]).push([[405],{405:function(s,e,t){t.r(e),t.d(e,{default:function(){return u}});var a=function(){var s=this,e=s.$createElement,t=s._self._c||e;return t("div",{staticClass:"columns is-desktop is-centered"},[t("div",{staticClass:"column is-4"},[s.setup?[t("div",{staticClass:"field"},[t("p",{staticClass:"control has-icons-left has-icons-right"},[t("input",{directives:[{name:"model",rawName:"v-model",value:s.form.user_name,expression:"form.user_name"}],staticClass:"input",attrs:{type:"text",placeholder:"Name",required:""},domProps:{value:s.form.user_name},on:{input:function(e){e.target.composing||s.$set(s.form,"user_name",e.target.value)}}}),s._m(0)])])]:s._e(),t("div",{staticClass:"field"},[t("p",{staticClass:"control has-icons-left has-icons-right"},[t("input",{directives:[{name:"model",rawName:"v-model",value:s.form.user_email,expression:"form.user_email"}],staticClass:"input",attrs:{type:"email",placeholder:"Email",required:""},domProps:{value:s.form.user_email},on:{input:function(e){e.target.composing||s.$set(s.form,"user_email",e.target.value)}}}),s._m(1)])]),t("div",{staticClass:"field"},[t("p",{staticClass:"control has-icons-left"},[t("input",{directives:[{name:"model",rawName:"v-model",value:s.form.user_password,expression:"form.user_password"}],staticClass:"input",attrs:{type:"password",placeholder:"Password",required:""},domProps:{value:s.form.user_password},on:{input:function(e){e.target.composing||s.$set(s.form,"user_password",e.target.value)}}}),s._m(2)])]),t("div",{staticClass:"field"},[t("p",{staticClass:"control"},[s.setup?[t("b-button",{attrs:{type:"is-danger is-light",disabled:s.form.button_disabled},on:{click:s.setupEvent}},[s._v("Install Walrus")])]:[t("b-button",{attrs:{type:"submit is-danger is-light",disabled:s.form.button_disabled},on:{click:s.loginEvent}},[s._v("Login")])]],2)])],2)])},i=[function(){var s=this,e=s.$createElement,t=s._self._c||e;return t("span",{staticClass:"icon is-small is-left"},[t("i",{staticClass:"fas fa-user"})])},function(){var s=this,e=s.$createElement,t=s._self._c||e;return t("span",{staticClass:"icon is-small is-left"},[t("i",{staticClass:"fas fa-envelope"})])},function(){var s=this,e=s.$createElement,t=s._self._c||e;return t("span",{staticClass:"icon is-small is-left"},[t("i",{staticClass:"fas fa-lock"})])}],r={name:"LoginPage",data(){return{setup:!1,form:{user_password:"",user_email:"",user_name:"",button_disabled:!1},loader:{isFullPage:!0,ref:null}}},methods:{loading(){this.loader.ref=this.$buefy.loading.open({container:this.loader.isFullPage?null:this.$refs.element.$el})},loginEvent(){this.form.button_disabled=!0,this.$store.dispatch("auth/authAction",{email:this.form.user_email,password:this.form.user_password}).then((s=>{this.$buefy.toast.open({message:"User logged in successfully",type:"is-success"}),localStorage.setItem("user_api_key",s.data.apiKey),localStorage.setItem("user_email",s.data.email),localStorage.setItem("user_id",s.data.id),localStorage.setItem("user_name",s.data.name),this.$router.push("/")}),(s=>{s.response.data.errorMessage?this.$buefy.toast.open({message:s.response.data.errorMessage,type:"is-danger"}):this.$buefy.toast.open({message:"Error status code: "+s.response.status,type:"is-danger"}),this.form.button_disabled=!1}))},setupEvent(){this.form.button_disabled=!0,this.$store.dispatch("auth/setupAction",{name:this.form.user_name,email:this.form.user_email,password:this.form.user_password}).then((()=>{this.$buefy.toast.open({message:"Walrus installed successfully",type:"is-success"}),this.$router.push("/")}),(s=>{s.response.data.errorMessage?this.$buefy.toast.open({message:s.response.data.errorMessage,type:"is-danger is-light"}):this.$buefy.toast.open({message:"Error status code: "+s.response.status,type:"is-danger is-light"}),this.form.button_disabled=!1}))}},mounted(){this.loading(),this.$store.dispatch("auth/fetchInfo").then((()=>{let s=this.$store.getters["auth/getTowerInfo"];s.setupStatus||(this.setup=!0,this.$buefy.toast.open({message:"Walrus not installed yet, Please setup the application!",type:"is-info is-light"})),this.loader.ref.close()}),(s=>{this.$buefy.toast.open({message:s.response.data.errorMessage,type:"is-danger is-light"}),this.loader.ref.close()}))}},o=r,l=t(1),n=(0,l.Z)(o,a,i,!1,null,null,null),u=n.exports}}]); -//# sourceMappingURL=405.d3b391e4.js.map \ No newline at end of file diff --git a/web/dist/js/405.d3b391e4.js.map b/web/dist/js/405.d3b391e4.js.map deleted file mode 100644 index dfa5b046..00000000 --- a/web/dist/js/405.d3b391e4.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"js/405.d3b391e4.js","mappings":"iJAAA,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,MAAM,CAACE,YAAY,kCAAkC,CAACF,EAAG,MAAM,CAACE,YAAY,eAAe,CAAEN,EAAS,MAAE,CAACI,EAAG,MAAM,CAACE,YAAY,SAAS,CAACF,EAAG,IAAI,CAACE,YAAY,0CAA0C,CAACF,EAAG,QAAQ,CAACG,WAAW,CAAC,CAACC,KAAK,QAAQC,QAAQ,UAAUC,MAAOV,EAAIW,KAAc,UAAEC,WAAW,mBAAmBN,YAAY,QAAQO,MAAM,CAAC,KAAO,OAAO,YAAc,OAAO,SAAW,IAAIC,SAAS,CAAC,MAASd,EAAIW,KAAc,WAAGI,GAAG,CAAC,MAAQ,SAASC,GAAWA,EAAOC,OAAOC,WAAqBlB,EAAImB,KAAKnB,EAAIW,KAAM,YAAaK,EAAOC,OAAOP,MAAM,KAAKV,EAAIoB,GAAG,QAAQpB,EAAIqB,KAAKjB,EAAG,MAAM,CAACE,YAAY,SAAS,CAACF,EAAG,IAAI,CAACE,YAAY,0CAA0C,CAACF,EAAG,QAAQ,CAACG,WAAW,CAAC,CAACC,KAAK,QAAQC,QAAQ,UAAUC,MAAOV,EAAIW,KAAe,WAAEC,WAAW,oBAAoBN,YAAY,QAAQO,MAAM,CAAC,KAAO,QAAQ,YAAc,QAAQ,SAAW,IAAIC,SAAS,CAAC,MAASd,EAAIW,KAAe,YAAGI,GAAG,CAAC,MAAQ,SAASC,GAAWA,EAAOC,OAAOC,WAAqBlB,EAAIm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AGA,+BAGA,GAGAG,UACA,eAEA,6CACA,KACA,+CAEA,gBACA,cAEA,wBACAJ,QAAAA,0DACAC,KAAAA,sBAIA,2BAEAE,IACA,wBACAH,QAAAA,EAAAA,SAAAA,KAAAA,aACAC,KAAAA,uBAGA,0BAGA,GC5MiQ,I,OCO7PI,GAAY,OACd,EACAjD,EACA4B,GACA,EACA,KACA,KACA,MAIF,EAAeqB,EAAiB,O","sources":["webpack://web/./src/views/Login.vue?1e7d","webpack://web/src/views/Login.vue","webpack://web/./src/views/Login.vue?3c97","webpack://web/./src/views/Login.vue"],"sourcesContent":["var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"columns is-desktop is-centered\"},[_c('div',{staticClass:\"column is-4\"},[(_vm.setup)?[_c('div',{staticClass:\"field\"},[_c('p',{staticClass:\"control has-icons-left has-icons-right\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.form.user_name),expression:\"form.user_name\"}],staticClass:\"input\",attrs:{\"type\":\"text\",\"placeholder\":\"Name\",\"required\":\"\"},domProps:{\"value\":(_vm.form.user_name)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.form, \"user_name\", $event.target.value)}}}),_vm._m(0)])])]:_vm._e(),_c('div',{staticClass:\"field\"},[_c('p',{staticClass:\"control has-icons-left has-icons-right\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.form.user_email),expression:\"form.user_email\"}],staticClass:\"input\",attrs:{\"type\":\"email\",\"placeholder\":\"Email\",\"required\":\"\"},domProps:{\"value\":(_vm.form.user_email)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.form, \"user_email\", $event.target.value)}}}),_vm._m(1)])]),_c('div',{staticClass:\"field\"},[_c('p',{staticClass:\"control has-icons-left\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.form.user_password),expression:\"form.user_password\"}],staticClass:\"input\",attrs:{\"type\":\"password\",\"placeholder\":\"Password\",\"required\":\"\"},domProps:{\"value\":(_vm.form.user_password)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.form, \"user_password\", $event.target.value)}}}),_vm._m(2)])]),_c('div',{staticClass:\"field\"},[_c('p',{staticClass:\"control\"},[(!_vm.setup)?[_c('b-button',{attrs:{\"type\":\"submit is-danger is-light\",\"disabled\":_vm.form.button_disabled},on:{\"click\":_vm.loginEvent}},[_vm._v(\"Login\")])]:[_c('b-button',{attrs:{\"type\":\"is-danger is-light\",\"disabled\":_vm.form.button_disabled},on:{\"click\":_vm.setupEvent}},[_vm._v(\"Install Walrus\")])]],2)])],2)])}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('span',{staticClass:\"icon is-small is-left\"},[_c('i',{staticClass:\"fas fa-user\"})])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('span',{staticClass:\"icon is-small is-left\"},[_c('i',{staticClass:\"fas fa-envelope\"})])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('span',{staticClass:\"icon is-small is-left\"},[_c('i',{staticClass:\"fas fa-lock\"})])}]\n\nexport { render, staticRenderFns }","\n\n\n\n\n","import mod from \"-!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40[0].rules[0].use[1]!../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Login.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40[0].rules[0].use[1]!../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Login.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Login.vue?vue&type=template&id=50916d32&\"\nimport script from \"./Login.vue?vue&type=script&lang=js&\"\nexport * from \"./Login.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports"],"names":["render","_vm","this","_h","$createElement","_c","_self","staticClass","directives","name","rawName","value","form","expression","attrs","domProps","on","$event","target","composing","$set","_m","_e","setup","button_disabled","setupEvent","_v","loginEvent","staticRenderFns","data","user_password","user_email","user_name","loader","isFullPage","ref","methods","loading","container","dispatch","email","password","then","response","message","type","localStorage","err","mounted","component"],"sourceRoot":""} \ No newline at end of file diff --git a/web/dist/js/41.2e69457c.js b/web/dist/js/41.2e69457c.js deleted file mode 100644 index 35ca24e3..00000000 --- a/web/dist/js/41.2e69457c.js +++ /dev/null @@ -1,2 +0,0 @@ -"use strict";(self["webpackChunkweb"]=self["webpackChunkweb"]||[]).push([[41],{41:function(t,e,s){s.r(e),s.d(e,{default:function(){return m}});var o=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"columns is-desktop is-centered"},[s("div",{staticClass:"column is-9"},[s("section",[s("b-table",{attrs:{data:t.crons.data,paginated:t.crons.isPaginated,"per-page":t.crons.perPage,"current-page":t.crons.currentPage,"pagination-simple":t.crons.isPaginationSimple,"pagination-position":t.crons.paginationPosition,"pagination-rounded":t.crons.isPaginationRounded,"default-sort":"name","aria-next-label":"Next page","aria-previous-label":"Previous page","aria-page-label":"Page","aria-current-label":"Current page"},on:{"update:currentPage":function(e){return t.$set(t.crons,"currentPage",e)},"update:current-page":function(e){return t.$set(t.crons,"currentPage",e)}}},[s("b-table-column",{attrs:{field:"id",label:"Backup Cron ID",centered:""},scopedSlots:t._u([{key:"default",fn:function(e){return[s("span",{staticClass:"tag is-light"},[t._v(" "+t._s(e.row.id)+" ")])]}}])}),s("b-table-column",{attrs:{field:"name",label:"Name",centered:""},scopedSlots:t._u([{key:"default",fn:function(e){return[s("span",{staticClass:"tag is-light"},[t._v(" "+t._s(e.row.name)+" ")])]}}])}),s("b-table-column",{attrs:{field:"jobs",label:"Jobs",centered:""},scopedSlots:t._u([{key:"default",fn:function(e){return[s("span",{staticClass:"tag is-warning is-light"},[t._v(" Pending: "+t._s(e.row.pendingJobs)+" ")]),t._v(" - "),s("span",{staticClass:"tag is-success is-light"},[t._v(" Success: "+t._s(e.row.successJobs)+" ")]),t._v(" - "),s("span",{staticClass:"tag is-danger is-light"},[t._v(" Failed: "+t._s(e.row.failedJobs)+" ")])]}}])}),s("b-table-column",{attrs:{field:"status",label:"Last Run",centered:""},scopedSlots:t._u([{key:"default",fn:function(e){return[s("span",{staticClass:"tag is-success is-light"},[t._v(" "+t._s(new Date(e.row.lastRun).toLocaleString())+" ")])]}}])}),s("b-table-column",{attrs:{field:"createdAt",label:"Creation Date",centered:""},scopedSlots:t._u([{key:"default",fn:function(e){return[s("span",{staticClass:"tag is-info is-light"},[t._v(" "+t._s(new Date(e.row.createdAt).toLocaleDateString())+" ")])]}}])}),s("b-table-column",{attrs:{label:"Actions",centered:""},scopedSlots:t._u([{key:"default",fn:function(e){return[s("b-button",{attrs:{size:"is-small",type:"is-link is-warning is-light"},on:{click:function(s){return t.editHostCronAction(t.$route.params.hostId,e.row.id)}}},[t._v("Edit")]),t._v(" - "),s("b-button",{attrs:{size:"is-small",type:"is-link is-danger is-light"},on:{click:function(s){return t.deleteHostCronAction(t.$route.params.hostId,e.row.id)}}},[t._v("Delete")])]}}])}),s("td",{attrs:{slot:"empty",colspan:"6"},slot:"empty"},[t._v("No records found.")])],1)],1),s("hr"),s("b-button",{attrs:{type:"is-success is-light",size:"is-small"},on:{click:function(e){return t.newHostCronAction(t.$route.params.hostId)}}},[t._v("New Backup Cron")]),t._v(" - "),s("b-button",{attrs:{type:"is-danger is-light",size:"is-small"},on:{click:function(e){return t.deleteHostAction(t.$route.params.hostId)}}},[t._v("Delete Host")]),s("b-modal",{attrs:{active:t.form.isActive,"has-modal-card":""},on:{"update:active":function(e){return t.$set(t.form,"isActive",e)}}},[s("div",{staticClass:"modal-card",staticStyle:{width:"auto"}},[s("header",{staticClass:"modal-card-head"},[s("p",{staticClass:"modal-card-title"},[t._v(t._s(t.form.title))])]),s("section",{staticClass:"modal-card-body"},[s("b-field",{attrs:{label:"Backup Name"}},[s("b-input",{attrs:{type:"text",placeholder:"Application Database",required:""},model:{value:t.form.name,callback:function(e){t.$set(t.form,"name",e)},expression:"form.name"}})],1),s("b-field",{attrs:{label:"Backup Type"}},[s("b-select",{attrs:{placeholder:"Select a type",expanded:""},model:{value:t.form.type,callback:function(e){t.$set(t.form,"type",e)},expression:"form.type"}},[s("option",{attrs:{value:"@BackupDirectory"}},[t._v("Directory")]),s("option",{attrs:{value:"@BackupMySQL"}},[t._v("MySQL")]),s("option",{attrs:{value:"@BackupSQLite"}},[t._v("SQLite")])])],1),s("b-field",{attrs:{label:"Run Script Before"}},[s("b-input",{attrs:{type:"text",placeholder:"/usr/bin/innobackupex --incremental"},model:{value:t.form.beforeScript,callback:function(e){t.$set(t.form,"beforeScript",e)},expression:"form.beforeScript"}})],1),"@BackupDirectory"==t.form.type?[s("b-field",{attrs:{label:"Directory Path"}},[s("b-input",{attrs:{type:"text",placeholder:"/etc/backups/app_database",required:""},model:{value:t.form.directory,callback:function(e){t.$set(t.form,"directory",e)},expression:"form.directory"}})],1)]:t._e(),"@BackupSQLite"==t.form.type?[s("b-field",{attrs:{label:"SQLite Path"}},[s("b-input",{attrs:{type:"text",placeholder:"/etc/apps/db.sqlite3",required:""},model:{value:t.form.sqlitePath,callback:function(e){t.$set(t.form,"sqlitePath",e)},expression:"form.sqlitePath"}})],1)]:t._e(),"@BackupMySQL"==t.form.type?[s("b-field",{attrs:{label:"MySQL Host"}},[s("b-input",{attrs:{type:"text",placeholder:"127.0.0.1",required:""},model:{value:t.form.mysqlHost,callback:function(e){t.$set(t.form,"mysqlHost",e)},expression:"form.mysqlHost"}})],1),s("b-field",{attrs:{label:"MySQL Port"}},[s("b-input",{attrs:{type:"text",placeholder:"3306",required:""},model:{value:t.form.mysqlPort,callback:function(e){t.$set(t.form,"mysqlPort",e)},expression:"form.mysqlPort"}})],1),s("b-field",{attrs:{label:"MySQL Username"}},[s("b-input",{attrs:{type:"text",placeholder:"root",required:""},model:{value:t.form.mysqlUsername,callback:function(e){t.$set(t.form,"mysqlUsername",e)},expression:"form.mysqlUsername"}})],1),s("b-field",{attrs:{label:"MySQL Password"}},[s("b-input",{attrs:{type:"text",placeholder:"root",required:""},model:{value:t.form.mysqlPassword,callback:function(e){t.$set(t.form,"mysqlPassword",e)},expression:"form.mysqlPassword"}})],1),s("b-field",{attrs:{label:"MySQL Database Name"}},[s("b-input",{attrs:{type:"text",placeholder:"",required:""},model:{value:t.form.mysqlDatabase,callback:function(e){t.$set(t.form,"mysqlDatabase",e)},expression:"form.mysqlDatabase"}})],1),s("b-field",{attrs:{label:"MySQL Table Name"}},[s("b-input",{attrs:{type:"text",placeholder:"",required:""},model:{value:t.form.mysqlTable,callback:function(e){t.$set(t.form,"mysqlTable",e)},expression:"form.mysqlTable"}})],1),s("b-field",{attrs:{label:"Backup All Databases"}},[s("b-select",{attrs:{placeholder:"Select to backup all",expanded:""},model:{value:t.form.mysqlAllDatabases,callback:function(e){t.$set(t.form,"mysqlAllDatabases",e)},expression:"form.mysqlAllDatabases"}},[s("option",{attrs:{value:"false"}},[t._v("No")]),s("option",{attrs:{value:"true"}},[t._v("Yes")])])],1),s("b-field",{attrs:{label:"MySQL Dump Options"}},[s("b-input",{attrs:{type:"text",placeholder:"--single-transaction,--quick,--lock-tables=false",required:""},model:{value:t.form.mysqlOptions,callback:function(e){t.$set(t.form,"mysqlOptions",e)},expression:"form.mysqlOptions"}})],1)]:t._e(),s("b-field",{attrs:{label:"Backup Interval Type"}},[s("b-select",{attrs:{placeholder:"Select a type",expanded:""},model:{value:t.form.intervalType,callback:function(e){t.$set(t.form,"intervalType",e)},expression:"form.intervalType"}},[s("option",{attrs:{value:"@second"}},[t._v("Second")]),s("option",{attrs:{value:"@minute"}},[t._v("Minute")]),s("option",{attrs:{value:"@hour"}},[t._v("Hour")]),s("option",{attrs:{value:"@day"}},[t._v("Day")]),s("option",{attrs:{value:"@month"}},[t._v("Month")])])],1),s("b-field",{attrs:{label:"Backup Interval"}},[s("b-input",{attrs:{type:"number",placeholder:"30",required:""},model:{value:t.form.interval,callback:function(e){t.$set(t.form,"interval",e)},expression:"form.interval"}})],1),s("b-field",{attrs:{label:"Retention Days"}},[s("b-input",{attrs:{type:"number",placeholder:"10",required:""},model:{value:t.form.retention,callback:function(e){t.$set(t.form,"retention",e)},expression:"form.retention"}})],1)],2),s("footer",{staticClass:"modal-card-foot"},[s("button",{staticClass:"button",attrs:{type:"button"},on:{click:function(e){return t.closeFormAction()}}},[t._v(" Close ")]),s("button",{staticClass:"button is-primary",on:{click:t.submitForm}},[t._v(" Submit ")])])])])],1)])},r=[],a={name:"HostPage",data(){return{crons:{data:[],isPaginated:!0,isPaginationSimple:!1,isPaginationRounded:!0,paginationPosition:"bottom",currentPage:1,perPage:15},form:{isActive:!1,title:"",name:"",interval:30,retention:10,beforeScript:"",directory:"",mysqlHost:"127.0.0.1",mysqlPort:"3306",mysqlUsername:"root",mysqlPassword:"root",mysqlAllDatabases:"false",mysqlDatabase:"",mysqlTable:"",mysqlOptions:"--single-transaction,--quick,--lock-tables=false",intervalType:"@minute",type:"@BackupDirectory",hostId:"",cronId:"",sqlitePath:"/etc/apps/db.sqlite3"},loader:{isFullPage:!0,ref:null}}},methods:{loading(){this.loader.ref=this.$buefy.loading.open({container:this.loader.isFullPage?null:this.$refs.element.$el})},deleteHostAction(t){this.$buefy.dialog.confirm({message:"Are you sure?",onConfirm:()=>{this.$store.dispatch("host/deleteHostAction",{hostname:t}).then((()=>{this.$buefy.toast.open({message:"Host deleted successfully",type:"is-success"}),this.$router.push("/hosts")}),(t=>{t.response.data.errorMessage?this.$buefy.toast.open({message:t.response.data.errorMessage,type:"is-danger is-light"}):this.$buefy.toast.open({message:"Error status code: "+t.response.status,type:"is-danger is-light"})}))}})},deleteHostCronAction(t,e){this.$buefy.dialog.confirm({message:"Are you sure?",onConfirm:()=>{this.$store.dispatch("host/deleteHostCronAction",{hostname:t,cronId:e}).then((()=>{this.$buefy.toast.open({message:"Host cron deleted successfully",type:"is-success"}),this.loadInitialState()}),(t=>{t.response.data.errorMessage?this.$buefy.toast.open({message:t.response.data.errorMessage,type:"is-danger is-light"}):this.$buefy.toast.open({message:"Error status code: "+t.response.status,type:"is-danger is-light"})}))}})},editHostCronAction(t,e){this.form.title="Edit Host Backup Cron",this.form.isActive=!0,this.form.name="",this.form.interval=30,this.form.retention=10,this.form.directory="",this.form.beforeScript="",this.form.intervalType="@minute",this.form.type="@BackupDirectory",this.form.hostId=t,this.form.cronId=e,this.form.sqlitePath="/etc/apps/db.sqlite3",this.$store.dispatch("host/getHostCronAction",{hostname:t,cronId:e}).then((()=>{let t=this.$store.getters["host/getHostCronResult"];t&&(this.form.name=t.name,this.form.interval=t.interval,this.form.retention=t.request.retentionDays,this.form.beforeScript=t.request.beforeScript,this.form.directory=t.request.directory,this.form.mysqlHost=t.request.mysqlHost,this.form.mysqlPort=t.request.mysqlPort,this.form.mysqlUsername=t.request.mysqlUsername,this.form.mysqlPassword=t.request.mysqlPassword,this.form.mysqlAllDatabases=t.request.mysqlAllDatabases,this.form.mysqlDatabase=t.request.mysqlDatabase,this.form.mysqlTable=t.request.mysqlTable,this.form.mysqlOptions=t.request.mysqlOptions,this.form.sqlitePath=t.request.sqlitePath,this.form.intervalType=t.intervalType,this.form.type=t.request.type)}),(t=>{t.response.data.errorMessage?this.$buefy.toast.open({message:t.response.data.errorMessage,type:"is-danger is-light"}):this.$buefy.toast.open({message:"Error status code: "+t.response.status,type:"is-danger is-light"})}))},newHostCronAction(t){this.form.title="New Host Backup Cron",this.form.isActive=!0,this.form.name="",this.form.interval=30,this.form.retention=10,this.form.directory="",this.form.beforeScript="",this.form.intervalType="@minute",this.form.type="@BackupDirectory",this.form.hostId=t,this.form.cronId="",this.form.mysqlHost="127.0.0.1",this.form.mysqlPort="3306",this.form.mysqlUsername="root",this.form.mysqlPassword="root",this.form.mysqlAllDatabases="false",this.form.mysqlDatabase="",this.form.mysqlTable="",this.form.mysqlOptions="--single-transaction,--quick,--lock-tables=false",this.form.sqlitePath="/etc/apps/db.sqlite3"},closeFormAction(){this.form.isActive=!1,this.form.title="",this.form.name="",this.form.interval=30,this.form.retention=10,this.form.directory="",this.form.beforeScript="",this.form.intervalType="@minute",this.form.type="@BackupDirectory",this.form.hostId="",this.form.cronId="",this.form.mysqlHost="127.0.0.1",this.form.mysqlPort="3306",this.form.mysqlUsername="root",this.form.mysqlPassword="root",this.form.mysqlAllDatabases="false",this.form.mysqlDatabase="",this.form.mysqlTable="",this.form.mysqlOptions="--single-transaction,--quick,--lock-tables=false",this.form.sqlitePath="/etc/apps/db.sqlite3"},submitForm(){let t="host/createHostCronAction";""!=this.form.cronId&&(t="host/updateHostCronAction"),this.$store.dispatch(t,{hostname:this.form.hostId,cronId:this.form.cronId,name:this.form.name,interval:this.form.interval.toString(),retention:this.form.retention.toString(),beforeScript:this.form.beforeScript,directory:this.form.directory,intervalType:this.form.intervalType,mysqlHost:this.form.mysqlHost,mysqlPort:this.form.mysqlPort,mysqlUsername:this.form.mysqlUsername,mysqlPassword:this.form.mysqlPassword,mysqlAllDatabases:this.form.mysqlAllDatabases,mysqlDatabase:this.form.mysqlDatabase,mysqlTable:this.form.mysqlTable,mysqlOptions:this.form.mysqlOptions,sqlitePath:this.form.sqlitePath,type:this.form.type}).then((()=>{this.$buefy.toast.open({message:"Backup cron submitted successfully",type:"is-success"}),this.form.isActive=!1,this.loadInitialState()}),(t=>{t.response.data.errorMessage?this.$buefy.toast.open({message:t.response.data.errorMessage,type:"is-danger is-light"}):this.$buefy.toast.open({message:"Error status code: "+t.response.status,type:"is-danger is-light"}),this.form.isActive=!1}))},loadInitialState(){this.loading(),this.$store.dispatch("host/getHostCronsAction",{hostname:this.$route.params.hostId}).then((()=>{let t=this.$store.getters["host/getHostCronsResult"];t.crons?this.crons.data=t.crons:this.crons.data=[],this.loader.ref.close()}),(t=>{this.$buefy.toast.open({message:t.response.data.errorMessage,type:"is-danger is-light"}),this.loader.ref.close()}))}},mounted(){this.loadInitialState()}},i=a,l=s(1),n=(0,l.Z)(i,o,r,!1,null,null,null),m=n.exports}}]); -//# sourceMappingURL=41.2e69457c.js.map \ No newline at end of file diff --git a/web/dist/js/41.2e69457c.js.map b/web/dist/js/41.2e69457c.js.map deleted file mode 100644 index a26dd1af..00000000 --- a/web/dist/js/41.2e69457c.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"js/41.2e69457c.js","mappings":"+IAAA,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,MAAM,CAACE,YAAY,kCAAkC,CAACF,EAAG,MAAM,CAACE,YAAY,eAAe,CAACF,EAAG,UAAU,CAACA,EAAG,UAAU,CAACG,MAAM,CAAC,KAAOP,EAAIQ,MAAMC,KAAK,UAAYT,EAAIQ,MAAME,YAAY,WAAWV,EAAIQ,MAAMG,QAAQ,eAAeX,EAAIQ,MAAMI,YAAY,oBAAoBZ,EAAIQ,MAAMK,mBAAmB,sBAAsBb,EAAIQ,MAAMM,mBAAmB,qBAAqBd,EAAIQ,MAAMO,oBAAoB,eAAe,OAAO,kBAAkB,YAAY,sBAAsB,gBAAgB,kBAAkB,OAAO,qBAAqB,gBAAgBC,GAAG,CAAC,qBAAqB,SAASC,GAAQ,OAAOjB,EAAIkB,KAAKlB,EAAIQ,MAAO,cAAeS,EAAO,EAAE,sBAAsB,SAASA,GAAQ,OAAOjB,EAAIkB,KAAKlB,EAAIQ,MAAO,cAAeS,EAAO,IAAI,CAACb,EAAG,iBAAiB,CAACG,MAAM,CAAC,MAAQ,KAAK,MAAQ,iBAAiB,SAAW,IAAIY,YAAYnB,EAAIoB,GAAG,CAAC,CAACC,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,eAEA,YACAL,SAAAA,0BAAAA,CACAC,SAAAA,KAAAA,OAAAA,OAAAA,SAEAC,MACA,KACA,qDAEA,QACA,wBAEA,mBAGA,2BAEAC,IACA,wBACAL,QAAAA,EAAAA,SAAAA,KAAAA,aACA1B,KAAAA,uBAGA,0BAGA,GAGAkC,UACA,uBACA,GC3mBgQ,I,OCO5PC,GAAY,OACd,EACA1F,EACA2D,GACA,EACA,KACA,KACA,MAIF,EAAe+B,EAAiB,O","sources":["webpack://web/./src/views/Host.vue?7f2d","webpack://web/src/views/Host.vue","webpack://web/./src/views/Host.vue?c070","webpack://web/./src/views/Host.vue"],"sourcesContent":["var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"columns is-desktop is-centered\"},[_c('div',{staticClass:\"column is-9\"},[_c('section',[_c('b-table',{attrs:{\"data\":_vm.crons.data,\"paginated\":_vm.crons.isPaginated,\"per-page\":_vm.crons.perPage,\"current-page\":_vm.crons.currentPage,\"pagination-simple\":_vm.crons.isPaginationSimple,\"pagination-position\":_vm.crons.paginationPosition,\"pagination-rounded\":_vm.crons.isPaginationRounded,\"default-sort\":\"name\",\"aria-next-label\":\"Next page\",\"aria-previous-label\":\"Previous page\",\"aria-page-label\":\"Page\",\"aria-current-label\":\"Current page\"},on:{\"update:currentPage\":function($event){return _vm.$set(_vm.crons, \"currentPage\", $event)},\"update:current-page\":function($event){return _vm.$set(_vm.crons, \"currentPage\", $event)}}},[_c('b-table-column',{attrs:{\"field\":\"id\",\"label\":\"Backup Cron ID\",\"centered\":\"\"},scopedSlots:_vm._u([{key:\"default\",fn:function(props){return [_c('span',{staticClass:\"tag is-light\"},[_vm._v(\" \"+_vm._s(props.row.id)+\" \")])]}}])}),_c('b-table-column',{attrs:{\"field\":\"name\",\"label\":\"Name\",\"centered\":\"\"},scopedSlots:_vm._u([{key:\"default\",fn:function(props){return [_c('span',{staticClass:\"tag is-light\"},[_vm._v(\" \"+_vm._s(props.row.name)+\" \")])]}}])}),_c('b-table-column',{attrs:{\"field\":\"jobs\",\"label\":\"Jobs\",\"centered\":\"\"},scopedSlots:_vm._u([{key:\"default\",fn:function(props){return [_c('span',{staticClass:\"tag is-warning is-light\"},[_vm._v(\" Pending: \"+_vm._s(props.row.pendingJobs)+\" \")]),_vm._v(\" - \"),_c('span',{staticClass:\"tag is-success is-light\"},[_vm._v(\" Success: \"+_vm._s(props.row.successJobs)+\" \")]),_vm._v(\" - \"),_c('span',{staticClass:\"tag is-danger is-light\"},[_vm._v(\" Failed: \"+_vm._s(props.row.failedJobs)+\" \")])]}}])}),_c('b-table-column',{attrs:{\"field\":\"status\",\"label\":\"Last Run\",\"centered\":\"\"},scopedSlots:_vm._u([{key:\"default\",fn:function(props){return [_c('span',{staticClass:\"tag is-success is-light\"},[_vm._v(\" \"+_vm._s(new Date(props.row.lastRun).toLocaleString())+\" \")])]}}])}),_c('b-table-column',{attrs:{\"field\":\"createdAt\",\"label\":\"Creation Date\",\"centered\":\"\"},scopedSlots:_vm._u([{key:\"default\",fn:function(props){return [_c('span',{staticClass:\"tag is-info is-light\"},[_vm._v(\" \"+_vm._s(new Date(props.row.createdAt).toLocaleDateString())+\" \")])]}}])}),_c('b-table-column',{attrs:{\"label\":\"Actions\",\"centered\":\"\"},scopedSlots:_vm._u([{key:\"default\",fn:function(props){return [_c('b-button',{attrs:{\"size\":\"is-small\",\"type\":\"is-link is-warning is-light\"},on:{\"click\":function($event){return _vm.editHostCronAction(_vm.$route.params.hostId, props.row.id)}}},[_vm._v(\"Edit\")]),_vm._v(\" - \"),_c('b-button',{attrs:{\"size\":\"is-small\",\"type\":\"is-link is-danger is-light\"},on:{\"click\":function($event){return _vm.deleteHostCronAction(_vm.$route.params.hostId, props.row.id)}}},[_vm._v(\"Delete\")])]}}])}),_c('td',{attrs:{\"slot\":\"empty\",\"colspan\":\"6\"},slot:\"empty\"},[_vm._v(\"No records found.\")])],1)],1),_c('hr'),_c('b-button',{attrs:{\"type\":\"is-success is-light\",\"size\":\"is-small\"},on:{\"click\":function($event){return _vm.newHostCronAction(_vm.$route.params.hostId)}}},[_vm._v(\"New Backup Cron\")]),_vm._v(\" - \"),_c('b-button',{attrs:{\"type\":\"is-danger is-light\",\"size\":\"is-small\"},on:{\"click\":function($event){return _vm.deleteHostAction(_vm.$route.params.hostId)}}},[_vm._v(\"Delete Host\")]),_c('b-modal',{attrs:{\"active\":_vm.form.isActive,\"has-modal-card\":\"\"},on:{\"update:active\":function($event){return _vm.$set(_vm.form, \"isActive\", $event)}}},[_c('div',{staticClass:\"modal-card\",staticStyle:{\"width\":\"auto\"}},[_c('header',{staticClass:\"modal-card-head\"},[_c('p',{staticClass:\"modal-card-title\"},[_vm._v(_vm._s(_vm.form.title))])]),_c('section',{staticClass:\"modal-card-body\"},[_c('b-field',{attrs:{\"label\":\"Backup Name\"}},[_c('b-input',{attrs:{\"type\":\"text\",\"placeholder\":\"Application Database\",\"required\":\"\"},model:{value:(_vm.form.name),callback:function ($$v) {_vm.$set(_vm.form, \"name\", $$v)},expression:\"form.name\"}})],1),_c('b-field',{attrs:{\"label\":\"Backup Type\"}},[_c('b-select',{attrs:{\"placeholder\":\"Select a type\",\"expanded\":\"\"},model:{value:(_vm.form.type),callback:function ($$v) {_vm.$set(_vm.form, \"type\", $$v)},expression:\"form.type\"}},[_c('option',{attrs:{\"value\":\"@BackupDirectory\"}},[_vm._v(\"Directory\")]),_c('option',{attrs:{\"value\":\"@BackupMySQL\"}},[_vm._v(\"MySQL\")]),_c('option',{attrs:{\"value\":\"@BackupSQLite\"}},[_vm._v(\"SQLite\")])])],1),_c('b-field',{attrs:{\"label\":\"Run Script Before\"}},[_c('b-input',{attrs:{\"type\":\"text\",\"placeholder\":\"/usr/bin/innobackupex --incremental\"},model:{value:(_vm.form.beforeScript),callback:function ($$v) {_vm.$set(_vm.form, \"beforeScript\", $$v)},expression:\"form.beforeScript\"}})],1),(_vm.form.type == '@BackupDirectory')?[_c('b-field',{attrs:{\"label\":\"Directory Path\"}},[_c('b-input',{attrs:{\"type\":\"text\",\"placeholder\":\"/etc/backups/app_database\",\"required\":\"\"},model:{value:(_vm.form.directory),callback:function ($$v) {_vm.$set(_vm.form, \"directory\", $$v)},expression:\"form.directory\"}})],1)]:_vm._e(),(_vm.form.type == '@BackupSQLite')?[_c('b-field',{attrs:{\"label\":\"SQLite Path\"}},[_c('b-input',{attrs:{\"type\":\"text\",\"placeholder\":\"/etc/apps/db.sqlite3\",\"required\":\"\"},model:{value:(_vm.form.sqlitePath),callback:function ($$v) {_vm.$set(_vm.form, \"sqlitePath\", $$v)},expression:\"form.sqlitePath\"}})],1)]:_vm._e(),(_vm.form.type == '@BackupMySQL')?[_c('b-field',{attrs:{\"label\":\"MySQL Host\"}},[_c('b-input',{attrs:{\"type\":\"text\",\"placeholder\":\"127.0.0.1\",\"required\":\"\"},model:{value:(_vm.form.mysqlHost),callback:function ($$v) {_vm.$set(_vm.form, \"mysqlHost\", $$v)},expression:\"form.mysqlHost\"}})],1),_c('b-field',{attrs:{\"label\":\"MySQL Port\"}},[_c('b-input',{attrs:{\"type\":\"text\",\"placeholder\":\"3306\",\"required\":\"\"},model:{value:(_vm.form.mysqlPort),callback:function ($$v) {_vm.$set(_vm.form, \"mysqlPort\", $$v)},expression:\"form.mysqlPort\"}})],1),_c('b-field',{attrs:{\"label\":\"MySQL Username\"}},[_c('b-input',{attrs:{\"type\":\"text\",\"placeholder\":\"root\",\"required\":\"\"},model:{value:(_vm.form.mysqlUsername),callback:function ($$v) {_vm.$set(_vm.form, \"mysqlUsername\", $$v)},expression:\"form.mysqlUsername\"}})],1),_c('b-field',{attrs:{\"label\":\"MySQL Password\"}},[_c('b-input',{attrs:{\"type\":\"text\",\"placeholder\":\"root\",\"required\":\"\"},model:{value:(_vm.form.mysqlPassword),callback:function ($$v) {_vm.$set(_vm.form, \"mysqlPassword\", $$v)},expression:\"form.mysqlPassword\"}})],1),_c('b-field',{attrs:{\"label\":\"MySQL Database Name\"}},[_c('b-input',{attrs:{\"type\":\"text\",\"placeholder\":\"\",\"required\":\"\"},model:{value:(_vm.form.mysqlDatabase),callback:function ($$v) {_vm.$set(_vm.form, \"mysqlDatabase\", $$v)},expression:\"form.mysqlDatabase\"}})],1),_c('b-field',{attrs:{\"label\":\"MySQL Table Name\"}},[_c('b-input',{attrs:{\"type\":\"text\",\"placeholder\":\"\",\"required\":\"\"},model:{value:(_vm.form.mysqlTable),callback:function ($$v) {_vm.$set(_vm.form, \"mysqlTable\", $$v)},expression:\"form.mysqlTable\"}})],1),_c('b-field',{attrs:{\"label\":\"Backup All Databases\"}},[_c('b-select',{attrs:{\"placeholder\":\"Select to backup all\",\"expanded\":\"\"},model:{value:(_vm.form.mysqlAllDatabases),callback:function ($$v) {_vm.$set(_vm.form, \"mysqlAllDatabases\", $$v)},expression:\"form.mysqlAllDatabases\"}},[_c('option',{attrs:{\"value\":\"false\"}},[_vm._v(\"No\")]),_c('option',{attrs:{\"value\":\"true\"}},[_vm._v(\"Yes\")])])],1),_c('b-field',{attrs:{\"label\":\"MySQL Dump Options\"}},[_c('b-input',{attrs:{\"type\":\"text\",\"placeholder\":\"--single-transaction,--quick,--lock-tables=false\",\"required\":\"\"},model:{value:(_vm.form.mysqlOptions),callback:function ($$v) {_vm.$set(_vm.form, \"mysqlOptions\", $$v)},expression:\"form.mysqlOptions\"}})],1)]:_vm._e(),_c('b-field',{attrs:{\"label\":\"Backup Interval Type\"}},[_c('b-select',{attrs:{\"placeholder\":\"Select a type\",\"expanded\":\"\"},model:{value:(_vm.form.intervalType),callback:function ($$v) {_vm.$set(_vm.form, \"intervalType\", $$v)},expression:\"form.intervalType\"}},[_c('option',{attrs:{\"value\":\"@second\"}},[_vm._v(\"Second\")]),_c('option',{attrs:{\"value\":\"@minute\"}},[_vm._v(\"Minute\")]),_c('option',{attrs:{\"value\":\"@hour\"}},[_vm._v(\"Hour\")]),_c('option',{attrs:{\"value\":\"@day\"}},[_vm._v(\"Day\")]),_c('option',{attrs:{\"value\":\"@month\"}},[_vm._v(\"Month\")])])],1),_c('b-field',{attrs:{\"label\":\"Backup Interval\"}},[_c('b-input',{attrs:{\"type\":\"number\",\"placeholder\":\"30\",\"required\":\"\"},model:{value:(_vm.form.interval),callback:function ($$v) {_vm.$set(_vm.form, \"interval\", $$v)},expression:\"form.interval\"}})],1),_c('b-field',{attrs:{\"label\":\"Retention Days\"}},[_c('b-input',{attrs:{\"type\":\"number\",\"placeholder\":\"10\",\"required\":\"\"},model:{value:(_vm.form.retention),callback:function ($$v) {_vm.$set(_vm.form, \"retention\", $$v)},expression:\"form.retention\"}})],1)],2),_c('footer',{staticClass:\"modal-card-foot\"},[_c('button',{staticClass:\"button\",attrs:{\"type\":\"button\"},on:{\"click\":function($event){return _vm.closeFormAction()}}},[_vm._v(\" Close \")]),_c('button',{staticClass:\"button is-primary\",on:{\"click\":_vm.submitForm}},[_vm._v(\" Submit \")])])])])],1)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n","import mod from \"-!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40[0].rules[0].use[1]!../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Host.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40[0].rules[0].use[1]!../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Host.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Host.vue?vue&type=template&id=696d5f68&\"\nimport script from \"./Host.vue?vue&type=script&lang=js&\"\nexport * from \"./Host.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports"],"names":["render","_vm","this","_h","$createElement","_c","_self","staticClass","attrs","crons","data","isPaginated","perPage","currentPage","isPaginationSimple","paginationPosition","isPaginationRounded","on","$event","$set","scopedSlots","_u","key","fn","props","_v","_s","row","id","name","pendingJobs","successJobs","failedJobs","Date","lastRun","toLocaleString","createdAt","toLocaleDateString","editHostCronAction","$route","params","hostId","deleteHostCronAction","slot","newHostCronAction","deleteHostAction","form","isActive","staticStyle","title","model","value","callback","$$v","expression","type","_e","closeFormAction","submitForm","staticRenderFns","interval","retention","beforeScript","directory","mysqlHost","mysqlPort","mysqlUsername","mysqlPassword","mysqlAllDatabases","mysqlDatabase","mysqlTable","mysqlOptions","intervalType","cronId","sqlitePath","loader","isFullPage","ref","methods","loading","container","message","onConfirm","dispatch","hostname","then","err","action","loadInitialState","mounted","component"],"sourceRoot":""} \ No newline at end of file diff --git a/web/dist/js/557.1f9d86b5.js b/web/dist/js/557.1f9d86b5.js new file mode 100644 index 00000000..8d44099b --- /dev/null +++ b/web/dist/js/557.1f9d86b5.js @@ -0,0 +1,2 @@ +"use strict";(self["webpackChunkweb"]=self["webpackChunkweb"]||[]).push([[557],{8557:function(e,t,a){a.r(t),a.d(t,{default:function(){return u}});var s=function(){var e=this,t=e._self._c;return t("div",{staticClass:"columns is-desktop is-centered"},[t("div",{staticClass:"column is-9"},[t("section",[t("b-table",{attrs:{data:e.data,paginated:e.isPaginated,"per-page":e.perPage,"current-page":e.currentPage,"pagination-simple":e.isPaginationSimple,"pagination-position":e.paginationPosition,"pagination-rounded":e.isPaginationRounded,"default-sort":"hostname","aria-next-label":"Next page","aria-previous-label":"Previous page","aria-page-label":"Page","aria-current-label":"Current page"},on:{"update:currentPage":function(t){e.currentPage=t},"update:current-page":function(t){e.currentPage=t}}},[t("b-table-column",{attrs:{field:"hostname",label:"Host",centered:""},scopedSlots:e._u([{key:"default",fn:function(a){return[t("span",{staticClass:"tag is-light"},[e._v(" "+e._s(a.row.hostname)+" ")])]}}])}),t("b-table-column",{attrs:{field:"onlineAgents",label:"Online Agents",centered:""},scopedSlots:e._u([{key:"default",fn:function(a){return[t("span",{staticClass:"tag is-success is-light"},[e._v(" "+e._s(a.row.onlineAgents)+" ")])]}}])}),t("b-table-column",{attrs:{field:"createdAt",label:"Creation Date",centered:""},scopedSlots:e._u([{key:"default",fn:function(a){return[t("span",{staticClass:"tag is-warning is-light"},[e._v(" "+e._s(new Date(a.row.createdAt).toLocaleString())+" ")])]}}])}),t("b-table-column",{attrs:{label:"Actions",centered:""},scopedSlots:e._u([{key:"default",fn:function(a){return[t("b-button",{attrs:{tag:"router-link",size:"is-small",to:"/hosts/"+a.row.hostname,type:"is-link is-danger is-light"}},[e._v("View")])]}}])}),t("td",{attrs:{slot:"empty",colspan:"4"},slot:"empty"},[e._v("No records found.")])],1)],1)])])},n=[],i={name:"HostsPage",data(){return{data:[],isPaginated:!0,isPaginationSimple:!1,isPaginationRounded:!0,paginationPosition:"bottom",currentPage:1,perPage:15,loader:{isFullPage:!0,ref:null}}},methods:{loading(){this.loader.ref=this.$buefy.loading.open({container:this.loader.isFullPage?null:this.$refs.element.$el})}},mounted(){this.loading(),this.$store.dispatch("host/getHostsAction").then((()=>{let e=this.$store.getters["host/getHostsResult"].hosts;this.data=e||[],this.loader.ref.close()}),(e=>{this.$buefy.toast.open({message:e.response.data.errorMessage,type:"is-danger is-light"}),this.loader.ref.close()}))}},o=i,l=a(1001),r=(0,l.Z)(o,s,n,!1,null,null,null),u=r.exports}}]); +//# sourceMappingURL=557.1f9d86b5.js.map \ No newline at end of file diff --git a/web/dist/js/557.1f9d86b5.js.map b/web/dist/js/557.1f9d86b5.js.map new file mode 100644 index 00000000..c3aed94e --- /dev/null +++ b/web/dist/js/557.1f9d86b5.js.map @@ -0,0 +1 @@ +{"version":3,"file":"js/557.1f9d86b5.js","mappings":"kJAAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,MAAM,CAACE,YAAY,kCAAkC,CAACF,EAAG,MAAM,CA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OzB,EAAG,iBAAiB,CAACG,MAAM,CAAC,MAAQ,UAAU,SAAW,IAAIU,YAAYf,EAAIgB,GAAG,CAAC,CAACC,IAAI,UAAUC,GAAG,SAASC,GAAO,MAAO,CAACjB,EAAG,WAAW,CAACG,MAAM,CAAC,IAAM,cAAc,KAAO,WAAW,GAAK,UAAYc,EAAMG,IAAIC,SAAS,KAAO,+BAA+B,CAACvB,EAAIoB,GAAG,UAAU,OAAOlB,EAAG,KAAK,CAACG,MAAM,CAAC,KAAO,QAAQ,QAAU,KAAKuB,KAAK,SAAS,CAAC5B,EAAIoB,GAAG,wBAAwB,IAAI,MACx0D,EACIS,EAAkB,GC+DtB,GACAC,KAAAA,YAEAxB,OACA,OACAA,KAAAA,GACAC,aAAAA,EACAG,oBAAAA,EACAE,qBAAAA,EACAD,mBAAAA,SACAF,YAAAA,EACAD,QAAAA,GAGAuB,OAAAA,CACAC,YAAAA,EACAC,IAAAA,MAGA,EAEAC,QAAAA,CACAC,UACA,0CACAC,UAAAA,KAAAA,OAAAA,WAAAA,KAAAA,KAAAA,MAAAA,QAAAA,KAEA,GAGAC,UACA,eAEA,kDACA,KACA,uDAGA,UADA,GAGA,GAGA,2BAEAC,IACA,wBACAC,QAAAA,EAAAA,SAAAA,KAAAA,aACAC,KAAAA,uBAGA,0BAGA,GCtHqP,I,UCOjPC,GAAY,OACd,EACA1C,EACA8B,GACA,EACA,KACA,KACA,MAIF,EAAeY,EAAiB,O","sources":["webpack://web/./src/views/Hosts.vue","webpack://web/src/views/Hosts.vue","webpack://web/./src/views/Hosts.vue?327b","webpack://web/./src/views/Hosts.vue?2044"],"sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"columns is-desktop is-centered\"},[_c('div',{staticClass:\"column is-9\"},[_c('section',[_c('b-table',{attrs:{\"data\":_vm.data,\"paginated\":_vm.isPaginated,\"per-page\":_vm.perPage,\"current-page\":_vm.currentPage,\"pagination-simple\":_vm.isPaginationSimple,\"pagination-position\":_vm.paginationPosition,\"pagination-rounded\":_vm.isPaginationRounded,\"default-sort\":\"hostname\",\"aria-next-label\":\"Next page\",\"aria-previous-label\":\"Previous page\",\"aria-page-label\":\"Page\",\"aria-current-label\":\"Current page\"},on:{\"update:currentPage\":function($event){_vm.currentPage=$event},\"update:current-page\":function($event){_vm.currentPage=$event}}},[_c('b-table-column',{attrs:{\"field\":\"hostname\",\"label\":\"Host\",\"centered\":\"\"},scopedSlots:_vm._u([{key:\"default\",fn:function(props){return [_c('span',{staticClass:\"tag is-light\"},[_vm._v(\" \"+_vm._s(props.row.hostname)+\" \")])]}}])}),_c('b-table-column',{attrs:{\"field\":\"onlineAgents\",\"label\":\"Online Agents\",\"centered\":\"\"},scopedSlots:_vm._u([{key:\"default\",fn:function(props){return [_c('span',{staticClass:\"tag is-success is-light\"},[_vm._v(\" \"+_vm._s(props.row.onlineAgents)+\" \")])]}}])}),_c('b-table-column',{attrs:{\"field\":\"createdAt\",\"label\":\"Creation Date\",\"centered\":\"\"},scopedSlots:_vm._u([{key:\"default\",fn:function(props){return [_c('span',{staticClass:\"tag is-warning is-light\"},[_vm._v(\" \"+_vm._s(new Date(props.row.createdAt).toLocaleString())+\" \")])]}}])}),_c('b-table-column',{attrs:{\"label\":\"Actions\",\"centered\":\"\"},scopedSlots:_vm._u([{key:\"default\",fn:function(props){return [_c('b-button',{attrs:{\"tag\":\"router-link\",\"size\":\"is-small\",\"to\":'/hosts/' + props.row.hostname,\"type\":\"is-link is-danger is-light\"}},[_vm._v(\"View\")])]}}])}),_c('td',{attrs:{\"slot\":\"empty\",\"colspan\":\"4\"},slot:\"empty\"},[_vm._v(\"No records found.\")])],1)],1)])])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n","import mod from \"-!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Hosts.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Hosts.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Hosts.vue?vue&type=template&id=a61eff1c&\"\nimport script from \"./Hosts.vue?vue&type=script&lang=js&\"\nexport * from \"./Hosts.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports"],"names":["render","_vm","this","_c","_self","staticClass","attrs","data","isPaginated","perPage","currentPage","isPaginationSimple","paginationPosition","isPaginationRounded","on","$event","scopedSlots","_u","key","fn","props","_v","_s","row","hostname","onlineAgents","Date","createdAt","toLocaleString","slot","staticRenderFns","name","loader","isFullPage","ref","methods","loading","container","mounted","err","message","type","component"],"sourceRoot":""} \ No newline at end of file diff --git a/web/dist/js/595.10b3febc.js b/web/dist/js/595.10b3febc.js new file mode 100644 index 00000000..369f35c5 --- /dev/null +++ b/web/dist/js/595.10b3febc.js @@ -0,0 +1,2 @@ +"use strict";(self["webpackChunkweb"]=self["webpackChunkweb"]||[]).push([[595],{8595:function(e,t,s){s.r(t),s.d(t,{default:function(){return c}});var a=function(){var e=this,t=e._self._c;return t("div",{staticClass:"columns is-desktop is-centered"},[t("div",{staticClass:"column is-4"},[t("br"),t("br"),t("section",[t("b-field",{attrs:{label:"S3 Key"}},[t("b-input",{attrs:{type:"text"},model:{value:e.form.backup_s3_key,callback:function(t){e.$set(e.form,"backup_s3_key",t)},expression:"form.backup_s3_key"}})],1),t("b-field",{attrs:{label:"S3 Secret"}},[t("b-input",{attrs:{type:"text"},model:{value:e.form.backup_s3_secret,callback:function(t){e.$set(e.form,"backup_s3_secret",t)},expression:"form.backup_s3_secret"}})],1),t("b-field",{attrs:{label:"S3 Endpoint"}},[t("b-input",{attrs:{type:"text"},model:{value:e.form.backup_s3_endpoint,callback:function(t){e.$set(e.form,"backup_s3_endpoint",t)},expression:"form.backup_s3_endpoint"}})],1),t("b-field",{attrs:{label:"S3 Region"}},[t("b-input",{attrs:{type:"text"},model:{value:e.form.backup_s3_region,callback:function(t){e.$set(e.form,"backup_s3_region",t)},expression:"form.backup_s3_region"}})],1),t("b-field",{attrs:{label:"S3 Bucket"}},[t("b-input",{attrs:{type:"text"},model:{value:e.form.backup_s3_bucket,callback:function(t){e.$set(e.form,"backup_s3_bucket",t)},expression:"form.backup_s3_bucket"}})],1),t("br"),t("div",{staticClass:"field"},[t("p",{staticClass:"control"},[t("b-button",{attrs:{type:"is-danger is-light",disabled:e.form.button_disabled},on:{click:e.updateEvent}},[e._v("Update")])],1)])],1)])])},i=[],o={name:"SettingsPage",data(){return{form:{button_disabled:!1,backup_s3_key:"",backup_s3_secret:"",backup_s3_endpoint:"",backup_s3_region:"",backup_s3_bucket:""},loader:{isFullPage:!0,ref:null}}},methods:{loading(){this.loader.ref=this.$buefy.loading.open({container:this.loader.isFullPage?null:this.$refs.element.$el})},updateEvent(){this.form.button_disabled=!0,this.$store.dispatch("settings/updateSettingsAction",{s3Key:this.form.backup_s3_key,s3Secret:this.form.backup_s3_secret,s3Endpoint:this.form.backup_s3_endpoint,s3Region:this.form.backup_s3_region,s3Bucket:this.form.backup_s3_bucket}).then((()=>{this.$buefy.toast.open({message:"Settings updated successfully",type:"is-success"}),this.form.button_disabled=!1}),(e=>{e.response.data.errorMessage?this.$buefy.toast.open({message:e.response.data.errorMessage,type:"is-danger is-light"}):this.$buefy.toast.open({message:"Error status code: "+e.response.status,type:"is-danger is-light"}),this.form.button_disabled=!1}))}},mounted(){this.loading(),this.$store.dispatch("settings/getSettingsAction").then((()=>{let e=this.$store.getters["settings/getSettingsResult"];this.form.backup_s3_key=e.s3Key,this.form.backup_s3_secret=e.s3Secret,this.form.backup_s3_endpoint=e.s3Endpoint,this.form.backup_s3_region=e.s3Region,this.form.backup_s3_bucket=e.s3Bucket,this.loader.ref.close()}),(e=>{this.$buefy.toast.open({message:e.response.data.errorMessage,type:"is-danger is-light"}),this.loader.ref.close()}))}},r=o,n=s(1001),u=(0,n.Z)(r,a,i,!1,null,null,null),c=u.exports}}]); +//# sourceMappingURL=595.10b3febc.js.map \ No newline at end of file diff --git a/web/dist/js/595.10b3febc.js.map b/web/dist/js/595.10b3febc.js.map new file mode 100644 index 00000000..346532fd --- /dev/null +++ b/web/dist/js/595.10b3febc.js.map @@ -0,0 +1 @@ +{"version":3,"file":"js/595.10b3febc.js","mappings":"kJAAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,MAAM,CAACE,YAAY,kCAAkC,CAACF,EAAG,MAAM,CAACE,YAAY,eAAe,CAACF,EAAG,MAAMA,EAAG,MAAMA,EAAG,UAAU,CAACA,EAAG,UAAU,CAACG,MAAM,CAAC,MAAQ,WAAW,CAACH,EAAG,UAAU,CAACG,MAAM,CAAC,KAAO,QAAQC,MAAM,CAACC,MAAOP,EAAIQ,KAAKC,cAAeC,SAAS,SAAUC,GAAMX,EAAIY,KAAKZ,EAAIQ,KAAM,gBAAiBG,EAAI,EAAEE,WAAW,yBAAyB,GAAGX,EAAG,UAAU,CAACG,MAAM,CAAC,MAAQ,cAAc,CAACH,EAAG,UAAU,CAACG,MAAM,CAAC,KAAO,QAAQC,MAAM,CAACC,MAAOP,EAAIQ,KAAKM,iBAAkBJ,SAAS,SAAUC,GAAMX,EAAIY,KAAKZ,EAAIQ,KAAM,mBAAoBG,EAAI,EAAEE,WAAW,4BAA4B,GAAGX,EAAG,UAAU,CAACG,MAAM,CAAC,MAAQ,gBAAgB,CAACH,EAAG,UAAU,CAACG,MAAM,CAAC,KAAO,QAAQC,MAAM,CAACC,MAAOP,EAAIQ,KAAKO,mBAAoBL,SAAS,S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AAAA,iBACAC,SAAAA,KAAAA,KAAAA,mBAEAC,MACA,KACA,wBACAC,QAAAA,gCACAC,KAAAA,eAGA,gCAEAC,IACA,6BACA,wBACAF,QAAAA,EAAAA,SAAAA,KAAAA,aACAC,KAAAA,uBAGA,wBACAD,QAAAA,sBAAAA,EAAAA,SAAAA,OACAC,KAAAA,uBAGA,+BAGA,GAGAE,UACA,eAEA,yDACA,KACA,wDAEA,gCACA,sCACA,0CACA,sCACA,sCAEA,2BAEAD,IACA,wBACAF,QAAAA,EAAAA,SAAAA,KAAAA,aACAC,KAAAA,uBAGA,0BAGA,GCnIwP,I,UCOpPG,GAAY,OACd,EACA3C,EACAuB,GACA,EACA,KACA,KACA,MAIF,EAAeoB,EAAiB,O","sources":["webpack://web/./src/views/Settings.vue","webpack://web/src/views/Settings.vue","webpack://web/./src/views/Settings.vue?f3ac","webpack://web/./src/views/Settings.vue?eb1e"],"sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"columns is-desktop is-centered\"},[_c('div',{staticClass:\"column is-4\"},[_c('br'),_c('br'),_c('section',[_c('b-field',{attrs:{\"label\":\"S3 Key\"}},[_c('b-input',{attrs:{\"type\":\"text\"},model:{value:(_vm.form.backup_s3_key),callback:function ($$v) {_vm.$set(_vm.form, \"backup_s3_key\", $$v)},expression:\"form.backup_s3_key\"}})],1),_c('b-field',{attrs:{\"label\":\"S3 Secret\"}},[_c('b-input',{attrs:{\"type\":\"text\"},model:{value:(_vm.form.backup_s3_secret),callback:function ($$v) {_vm.$set(_vm.form, \"backup_s3_secret\", $$v)},expression:\"form.backup_s3_secret\"}})],1),_c('b-field',{attrs:{\"label\":\"S3 Endpoint\"}},[_c('b-input',{attrs:{\"type\":\"text\"},model:{value:(_vm.form.backup_s3_endpoint),callback:function ($$v) {_vm.$set(_vm.form, \"backup_s3_endpoint\", $$v)},expression:\"form.backup_s3_endpoint\"}})],1),_c('b-field',{attrs:{\"label\":\"S3 Region\"}},[_c('b-input',{attrs:{\"type\":\"text\"},model:{value:(_vm.form.backup_s3_region),callback:function ($$v) {_vm.$set(_vm.form, \"backup_s3_region\", $$v)},expression:\"form.backup_s3_region\"}})],1),_c('b-field',{attrs:{\"label\":\"S3 Bucket\"}},[_c('b-input',{attrs:{\"type\":\"text\"},model:{value:(_vm.form.backup_s3_bucket),callback:function ($$v) {_vm.$set(_vm.form, \"backup_s3_bucket\", $$v)},expression:\"form.backup_s3_bucket\"}})],1),_c('br'),_c('div',{staticClass:\"field\"},[_c('p',{staticClass:\"control\"},[_c('b-button',{attrs:{\"type\":\"is-danger is-light\",\"disabled\":_vm.form.button_disabled},on:{\"click\":_vm.updateEvent}},[_vm._v(\"Update\")])],1)])],1)])])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n","import mod from \"-!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Settings.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Settings.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Settings.vue?vue&type=template&id=46d2c329&\"\nimport script from \"./Settings.vue?vue&type=script&lang=js&\"\nexport * from \"./Settings.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports"],"names":["render","_vm","this","_c","_self","staticClass","attrs","model","value","form","backup_s3_key","callback","$$v","$set","expression","backup_s3_secret","backup_s3_endpoint","backup_s3_region","backup_s3_bucket","button_disabled","on","updateEvent","_v","staticRenderFns","name","data","loader","isFullPage","ref","methods","loading","container","dispatch","s3Key","s3Secret","s3Endpoint","s3Region","s3Bucket","then","message","type","err","mounted","component"],"sourceRoot":""} \ No newline at end of file diff --git a/web/dist/js/629.2147bb52.js b/web/dist/js/629.2147bb52.js deleted file mode 100644 index c8f3856f..00000000 --- a/web/dist/js/629.2147bb52.js +++ /dev/null @@ -1,2 +0,0 @@ -"use strict";(self["webpackChunkweb"]=self["webpackChunkweb"]||[]).push([[629],{133:function(e,t,s){s.r(t),s.d(t,{default:function(){return u}});var r=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"home"},[r("br"),r("img",{attrs:{alt:"logo",src:s(949),width:"250"}}),r("div",{staticClass:"hello"},[r("br"),r("strong",[e._v("Welcome to Walrus")]),e._m(0),r("br"),r("small",[r("b-icon",{attrs:{pack:"fas",icon:"broadcast-tower",size:"is-small"}}),r("strong",{class:{"has-text-info":"down"!=e.tower_status,"has-text-danger":"down"==e.tower_status}},[e._v(" Tower is "+e._s(e.tower_status))]),r("br"),e._v(" Made with "),e._m(1),e._v(" by "),r("a",{attrs:{href:"https://github.com/clivern",target:"_blank",rel:"noopener"}},[e._v("Clivern")]),r("br")],1)])])},a=[function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("p",[e._v(" If you have any suggestions, bug reports, or annoyances "),s("br"),e._v("please report them to our "),s("a",{attrs:{href:"https://github.com/clivern/walrus/issues",target:"_blank",rel:"noopener"}},[e._v("issue tracker")]),e._v(". ")])},function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("span",{staticClass:"icon has-text-danger"},[s("i",{staticClass:"fas fa-heart"})])}],o={name:"HomePage",data(){return{tower_status:"down",loader:{isFullPage:!0,ref:null}}},methods:{loading(){this.loader.ref=this.$buefy.loading.open({container:this.loader.isFullPage?null:this.$refs.element.$el})}},mounted(){this.$emit("refresh-state"),this.loading(),this.$store.dispatch("tower/fetchTowerReadiness").then((()=>{this.tower_status=this.$store.getters["tower/getTowerReadiness"].status,this.loader.ref.close()}),(e=>{this.$buefy.toast.open({message:e,type:"is-danger is-light"}),this.loader.ref.close()}))}},n=o,i=s(1),l=(0,i.Z)(n,r,a,!1,null,"413d95cb",null),u=l.exports},949:function(e,t,s){e.exports=s.p+"img/logo.b6c1e82e.png"}}]); -//# sourceMappingURL=629.2147bb52.js.map \ No newline at end of file diff --git a/web/dist/js/629.2147bb52.js.map b/web/dist/js/629.2147bb52.js.map deleted file mode 100644 index 92b6f78b..00000000 --- a/web/dist/js/629.2147bb52.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"js/629.2147bb52.js","mappings":"iJAAA,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,MAAM,CAACE,YAAY,QAAQ,CAACF,EAAG,MAAMA,EAAG,MAAM,CAACG,MAAM,CAAC,IAAM,OAAO,IAAM,EAAQ,KAAsB,MAAQ,SAASH,EAAG,MAAM,CAACE,YAAY,SAAS,CAACF,EAAG,MAAMA,EAAG,SAAS,CAACJ,EAAIQ,GAAG,uBAAuBR,EAAIS,GAAG,GAAGL,EAAG,MAAMA,EAAG,QAAQ,CAACA,EAAG,SAAS,CAACG,MAAM,CAAC,KAAO,MAAM,KAAO,kBAAkB,KAAO,cAAcH,EAAG,SAAS,CAACM,MAAM,CAC3a,gBAAqC,QAApBV,EAAIW,aACrB,kBAAuC,QAApBX,EAAIW,eACrB,CAACX,EAAIQ,GAAG,aAAaR,EAAIY,GAAGZ,EAAIW,iBAAiBP,EAAG,MAAMJ,EAAIQ,GAAG,eAAeR,EAAIS,GAAG,GAAGT,EAAIQ,GAAG,QAAQJ,EAAG,IAAI,CAACG,MAAM,CAAC,KAAO,6BAA6B,OAAS,SAAS,IAAM,aAAa,CAACP,EAAIQ,GAAG,aAAaJ,EAAG,OAAO,MAAM,EACzOS,EAAkB,CAAC,WAAa,IAAIb,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,IAAI,CAACJ,EAAIQ,GAAG,6DAA6DJ,EAAG,MAAMJ,EAAIQ,GAAG,8BAA8BJ,EAAG,IAAI,CAACG,MAAM,CAAC,KAAO,2CAA2C,OAAS,SAAS,IAAM,aAAa,CAACP,EAAIQ,GAAG,mBAAmBR,EAAIQ,GAAG,OAAO,EAAE,WAAa,IAAIR,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,OAAO,CAACE,YAAY,wBAAwB,CAACF,EAAG,IAAI,CAACE,YAAY,kBAAkB,GC6C9hB,GACAQ,KAAAA,WAEAC,OACA,OACAJ,aAAAA,OAGAK,OAAAA,CACAC,YAAAA,EACAC,IAAAA,MAGA,EAEAC,QAAAA,CACAC,UACA,0CACAC,UAAAA,KAAAA,OAAAA,WAAAA,KAAAA,KAAAA,MAAAA,QAAAA,KAEA,GAGAC,UACA,4BAEA,eAEA,wDACA,KACA,sCACA,2BACA,OAEA,2BAEAC,IACA,wBACAC,QAAAA,EACAC,KAAAA,uBAGA,0BAGA,GC9FgQ,I,OCQ5PC,GAAY,OACd,EACA3B,EACAc,GACA,EACA,KACA,WACA,MAIF,EAAea,EAAiB,O","sources":["webpack://web/./src/views/Home.vue?e651","webpack://web/src/views/Home.vue","webpack://web/./src/views/Home.vue?a806","webpack://web/./src/views/Home.vue"],"sourcesContent":["var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"home\"},[_c('br'),_c('img',{attrs:{\"alt\":\"logo\",\"src\":require(\"../assets/logo.png\"),\"width\":\"250\"}}),_c('div',{staticClass:\"hello\"},[_c('br'),_c('strong',[_vm._v(\"Welcome to Walrus\")]),_vm._m(0),_c('br'),_c('small',[_c('b-icon',{attrs:{\"pack\":\"fas\",\"icon\":\"broadcast-tower\",\"size\":\"is-small\"}}),_c('strong',{class:{\n\t\t\t\t\t'has-text-info': _vm.tower_status != 'down',\n\t\t\t\t\t'has-text-danger': _vm.tower_status == 'down',\n\t\t\t\t}},[_vm._v(\" Tower is \"+_vm._s(_vm.tower_status))]),_c('br'),_vm._v(\" Made with \"),_vm._m(1),_vm._v(\" by \"),_c('a',{attrs:{\"href\":\"https://github.com/clivern\",\"target\":\"_blank\",\"rel\":\"noopener\"}},[_vm._v(\"Clivern\")]),_c('br')],1)])])}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('p',[_vm._v(\" If you have any suggestions, bug reports, or annoyances \"),_c('br'),_vm._v(\"please report them to our \"),_c('a',{attrs:{\"href\":\"https://github.com/clivern/walrus/issues\",\"target\":\"_blank\",\"rel\":\"noopener\"}},[_vm._v(\"issue tracker\")]),_vm._v(\". \")])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('span',{staticClass:\"icon has-text-danger\"},[_c('i',{staticClass:\"fas fa-heart\"})])}]\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n","import mod from \"-!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40[0].rules[0].use[1]!../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Home.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40[0].rules[0].use[1]!../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Home.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Home.vue?vue&type=template&id=413d95cb&scoped=true&\"\nimport script from \"./Home.vue?vue&type=script&lang=js&\"\nexport * from \"./Home.vue?vue&type=script&lang=js&\"\nimport style0 from \"./Home.vue?vue&type=style&index=0&id=413d95cb&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"413d95cb\",\n null\n \n)\n\nexport default component.exports"],"names":["render","_vm","this","_h","$createElement","_c","_self","staticClass","attrs","_v","_m","class","tower_status","_s","staticRenderFns","name","data","loader","isFullPage","ref","methods","loading","container","mounted","err","message","type","component"],"sourceRoot":""} \ No newline at end of file diff --git a/web/dist/js/741.e4596c42.js b/web/dist/js/741.e4596c42.js deleted file mode 100644 index c8170838..00000000 --- a/web/dist/js/741.e4596c42.js +++ /dev/null @@ -1,2 +0,0 @@ -"use strict";(self["webpackChunkweb"]=self["webpackChunkweb"]||[]).push([[741],{741:function(e,t,a){a.r(t),a.d(t,{default:function(){return u}});var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"columns is-desktop is-centered"},[a("div",{staticClass:"column is-9"},[a("section",[a("b-table",{attrs:{data:e.data,paginated:e.isPaginated,"per-page":e.perPage,"current-page":e.currentPage,"pagination-simple":e.isPaginationSimple,"pagination-position":e.paginationPosition,"pagination-rounded":e.isPaginationRounded,"default-sort":"hostname","aria-next-label":"Next page","aria-previous-label":"Previous page","aria-page-label":"Page","aria-current-label":"Current page"},on:{"update:currentPage":function(t){e.currentPage=t},"update:current-page":function(t){e.currentPage=t}}},[a("b-table-column",{attrs:{field:"hostname",label:"Host",centered:""},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",{staticClass:"tag is-light"},[e._v(" "+e._s(t.row.hostname)+" ")])]}}])}),a("b-table-column",{attrs:{field:"onlineAgents",label:"Online Agents",centered:""},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",{staticClass:"tag is-success is-light"},[e._v(" "+e._s(t.row.onlineAgents)+" ")])]}}])}),a("b-table-column",{attrs:{field:"createdAt",label:"Creation Date",centered:""},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",{staticClass:"tag is-warning is-light"},[e._v(" "+e._s(new Date(t.row.createdAt).toLocaleString())+" ")])]}}])}),a("b-table-column",{attrs:{label:"Actions",centered:""},scopedSlots:e._u([{key:"default",fn:function(t){return[a("b-button",{attrs:{tag:"router-link",size:"is-small",to:"/hosts/"+t.row.hostname,type:"is-link is-danger is-light"}},[e._v("View")])]}}])}),a("td",{attrs:{slot:"empty",colspan:"4"},slot:"empty"},[e._v("No records found.")])],1)],1)])])},n=[],i={name:"HostsPage",data(){return{data:[],isPaginated:!0,isPaginationSimple:!1,isPaginationRounded:!0,paginationPosition:"bottom",currentPage:1,perPage:15,loader:{isFullPage:!0,ref:null}}},methods:{loading(){this.loader.ref=this.$buefy.loading.open({container:this.loader.isFullPage?null:this.$refs.element.$el})}},mounted(){this.loading(),this.$store.dispatch("host/getHostsAction").then((()=>{let e=this.$store.getters["host/getHostsResult"].hosts;this.data=e||[],this.loader.ref.close()}),(e=>{this.$buefy.toast.open({message:e.response.data.errorMessage,type:"is-danger is-light"}),this.loader.ref.close()}))}},o=i,l=a(1),r=(0,l.Z)(o,s,n,!1,null,null,null),u=r.exports}}]); -//# sourceMappingURL=741.e4596c42.js.map \ No newline at end of file diff --git a/web/dist/js/741.e4596c42.js.map b/web/dist/js/741.e4596c42.js.map deleted file mode 100644 index 0d35ea37..00000000 --- a/web/dist/js/741.e4596c42.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"js/741.e4596c42.js","mappings":"iJAAA,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,MAAM,CAACE,YAAY,kCAAkC,CAACF,EAAG,MAAM,CAACE,YAAY,eAAe,CAACF,EAAG,UAAU,CAACA,EAAG,UAAU,CAACG,MAAM,CAAC,KAAOP,EAAIQ,KAAK,UAAYR,EAAIS,YAAY,WAAWT,EAAIU,QAAQ,eAAeV,EAAIW,YAAY,oBAAoBX,EAAIY,mBAAmB,sBAAsBZ,EAAIa,mBAAmB,qBAAqBb,EAAIc,oBAA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AS,KAAO,+BAA+B,CAACzB,EAAIsB,GAAG,UAAU,OAAOlB,EAAG,KAAK,CAACG,MAAM,CAAC,KAAO,QAAQ,QAAU,KAAKuB,KAAK,SAAS,CAAC9B,EAAIsB,GAAG,wBAAwB,IAAI,MAAM,EACv2DS,EAAkB,GCgEtB,GACAC,KAAAA,YAEAxB,OACA,OACAA,KAAAA,GACAC,aAAAA,EACAG,oBAAAA,EACAE,qBAAAA,EACAD,mBAAAA,SACAF,YAAAA,EACAD,QAAAA,GAGAuB,OAAAA,CACAC,YAAAA,EACAC,IAAAA,MAGA,EAEAC,QAAAA,CACAC,UACA,0CACAC,UAAAA,KAAAA,OAAAA,WAAAA,KAAAA,KAAAA,MAAAA,QAAAA,KAEA,GAGAC,UACA,eAEA,kDACA,KACA,uDAGA,UADA,GAGA,GAGA,2BAEAC,IACA,wBACAC,QAAAA,EAAAA,SAAAA,KAAAA,aACAC,KAAAA,uBAGA,0BAGA,GCtHiQ,I,OCO7PC,GAAY,OACd,EACA5C,EACAgC,GACA,EACA,KACA,KACA,MAIF,EAAeY,EAAiB,O","sources":["webpack://web/./src/views/Hosts.vue?6af8","webpack://web/src/views/Hosts.vue","webpack://web/./src/views/Hosts.vue?ca0a","webpack://web/./src/views/Hosts.vue"],"sourcesContent":["var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"columns is-desktop is-centered\"},[_c('div',{staticClass:\"column is-9\"},[_c('section',[_c('b-table',{attrs:{\"data\":_vm.data,\"paginated\":_vm.isPaginated,\"per-page\":_vm.perPage,\"current-page\":_vm.currentPage,\"pagination-simple\":_vm.isPaginationSimple,\"pagination-position\":_vm.paginationPosition,\"pagination-rounded\":_vm.isPaginationRounded,\"default-sort\":\"hostname\",\"aria-next-label\":\"Next page\",\"aria-previous-label\":\"Previous page\",\"aria-page-label\":\"Page\",\"aria-current-label\":\"Current page\"},on:{\"update:currentPage\":function($event){_vm.currentPage=$event},\"update:current-page\":function($event){_vm.currentPage=$event}}},[_c('b-table-column',{attrs:{\"field\":\"hostname\",\"label\":\"Host\",\"centered\":\"\"},scopedSlots:_vm._u([{key:\"default\",fn:function(props){return [_c('span',{staticClass:\"tag is-light\"},[_vm._v(\" \"+_vm._s(props.row.hostname)+\" \")])]}}])}),_c('b-table-column',{attrs:{\"field\":\"onlineAgents\",\"label\":\"Online Agents\",\"centered\":\"\"},scopedSlots:_vm._u([{key:\"default\",fn:function(props){return [_c('span',{staticClass:\"tag is-success is-light\"},[_vm._v(\" \"+_vm._s(props.row.onlineAgents)+\" \")])]}}])}),_c('b-table-column',{attrs:{\"field\":\"createdAt\",\"label\":\"Creation Date\",\"centered\":\"\"},scopedSlots:_vm._u([{key:\"default\",fn:function(props){return [_c('span',{staticClass:\"tag is-warning is-light\"},[_vm._v(\" \"+_vm._s(new Date(props.row.createdAt).toLocaleString())+\" \")])]}}])}),_c('b-table-column',{attrs:{\"label\":\"Actions\",\"centered\":\"\"},scopedSlots:_vm._u([{key:\"default\",fn:function(props){return [_c('b-button',{attrs:{\"tag\":\"router-link\",\"size\":\"is-small\",\"to\":'/hosts/' + props.row.hostname,\"type\":\"is-link is-danger is-light\"}},[_vm._v(\"View\")])]}}])}),_c('td',{attrs:{\"slot\":\"empty\",\"colspan\":\"4\"},slot:\"empty\"},[_vm._v(\"No records found.\")])],1)],1)])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n","import mod from \"-!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40[0].rules[0].use[1]!../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Hosts.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40[0].rules[0].use[1]!../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Hosts.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Hosts.vue?vue&type=template&id=a61eff1c&\"\nimport script from \"./Hosts.vue?vue&type=script&lang=js&\"\nexport * from \"./Hosts.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports"],"names":["render","_vm","this","_h","$createElement","_c","_self","staticClass","attrs","data","isPaginated","perPage","currentPage","isPaginationSimple","paginationPosition","isPaginationRounded","on","$event","scopedSlots","_u","key","fn","props","_v","_s","row","hostname","onlineAgents","Date","createdAt","toLocaleString","slot","staticRenderFns","name","loader","isFullPage","ref","methods","loading","container","mounted","err","message","type","component"],"sourceRoot":""} \ No newline at end of file diff --git a/web/dist/js/751.af155490.js b/web/dist/js/751.af155490.js new file mode 100644 index 00000000..c4280cb9 --- /dev/null +++ b/web/dist/js/751.af155490.js @@ -0,0 +1,2 @@ +"use strict";(self["webpackChunkweb"]=self["webpackChunkweb"]||[]).push([[751],{751:function(t,e,s){s.r(e),s.d(e,{default:function(){return m}});var o=function(){var t=this,e=t._self._c;return e("div",{staticClass:"columns is-desktop is-centered"},[e("div",{staticClass:"column is-9"},[e("section",[e("b-table",{attrs:{data:t.crons.data,paginated:t.crons.isPaginated,"per-page":t.crons.perPage,"current-page":t.crons.currentPage,"pagination-simple":t.crons.isPaginationSimple,"pagination-position":t.crons.paginationPosition,"pagination-rounded":t.crons.isPaginationRounded,"default-sort":"name","aria-next-label":"Next page","aria-previous-label":"Previous page","aria-page-label":"Page","aria-current-label":"Current page"},on:{"update:currentPage":function(e){return t.$set(t.crons,"currentPage",e)},"update:current-page":function(e){return t.$set(t.crons,"currentPage",e)}}},[e("b-table-column",{attrs:{field:"id",label:"Backup Cron ID",centered:""},scopedSlots:t._u([{key:"default",fn:function(s){return[e("span",{staticClass:"tag is-light"},[t._v(" "+t._s(s.row.id)+" ")])]}}])}),e("b-table-column",{attrs:{field:"name",label:"Name",centered:""},scopedSlots:t._u([{key:"default",fn:function(s){return[e("span",{staticClass:"tag is-light"},[t._v(" "+t._s(s.row.name)+" ")])]}}])}),e("b-table-column",{attrs:{field:"jobs",label:"Jobs",centered:""},scopedSlots:t._u([{key:"default",fn:function(s){return[e("span",{staticClass:"tag is-warning is-light"},[t._v(" Pending: "+t._s(s.row.pendingJobs)+" ")]),t._v(" - "),e("span",{staticClass:"tag is-success is-light"},[t._v(" Success: "+t._s(s.row.successJobs)+" ")]),t._v(" - "),e("span",{staticClass:"tag is-danger is-light"},[t._v(" Failed: "+t._s(s.row.failedJobs)+" ")])]}}])}),e("b-table-column",{attrs:{field:"status",label:"Last Run",centered:""},scopedSlots:t._u([{key:"default",fn:function(s){return[e("span",{staticClass:"tag is-success is-light"},[t._v(" "+t._s(new Date(s.row.lastRun).toLocaleString())+" ")])]}}])}),e("b-table-column",{attrs:{field:"createdAt",label:"Creation Date",centered:""},scopedSlots:t._u([{key:"default",fn:function(s){return[e("span",{staticClass:"tag is-info is-light"},[t._v(" "+t._s(new Date(s.row.createdAt).toLocaleDateString())+" ")])]}}])}),e("b-table-column",{attrs:{label:"Actions",centered:""},scopedSlots:t._u([{key:"default",fn:function(s){return[e("b-button",{attrs:{size:"is-small",type:"is-link is-warning is-light"},on:{click:function(e){return t.editHostCronAction(t.$route.params.hostId,s.row.id)}}},[t._v("Edit")]),t._v(" - "),e("b-button",{attrs:{size:"is-small",type:"is-link is-danger is-light"},on:{click:function(e){return t.deleteHostCronAction(t.$route.params.hostId,s.row.id)}}},[t._v("Delete")])]}}])}),e("td",{attrs:{slot:"empty",colspan:"6"},slot:"empty"},[t._v("No records found.")])],1)],1),e("hr"),e("b-button",{attrs:{type:"is-success is-light",size:"is-small"},on:{click:function(e){return t.newHostCronAction(t.$route.params.hostId)}}},[t._v("New Backup Cron")]),t._v(" - "),e("b-button",{attrs:{type:"is-danger is-light",size:"is-small"},on:{click:function(e){return t.deleteHostAction(t.$route.params.hostId)}}},[t._v("Delete Host")]),e("b-modal",{attrs:{active:t.form.isActive,"has-modal-card":""},on:{"update:active":function(e){return t.$set(t.form,"isActive",e)}}},[e("div",{staticClass:"modal-card",staticStyle:{width:"auto"}},[e("header",{staticClass:"modal-card-head"},[e("p",{staticClass:"modal-card-title"},[t._v(t._s(t.form.title))])]),e("section",{staticClass:"modal-card-body"},[e("b-field",{attrs:{label:"Backup Name"}},[e("b-input",{attrs:{type:"text",placeholder:"Application Database",required:""},model:{value:t.form.name,callback:function(e){t.$set(t.form,"name",e)},expression:"form.name"}})],1),e("b-field",{attrs:{label:"Backup Type"}},[e("b-select",{attrs:{placeholder:"Select a type",expanded:""},model:{value:t.form.type,callback:function(e){t.$set(t.form,"type",e)},expression:"form.type"}},[e("option",{attrs:{value:"@BackupDirectory"}},[t._v("Directory")]),e("option",{attrs:{value:"@BackupMySQL"}},[t._v("MySQL")]),e("option",{attrs:{value:"@BackupSQLite"}},[t._v("SQLite")])])],1),e("b-field",{attrs:{label:"Run Script Before"}},[e("b-input",{attrs:{type:"text",placeholder:"/usr/bin/innobackupex --incremental"},model:{value:t.form.beforeScript,callback:function(e){t.$set(t.form,"beforeScript",e)},expression:"form.beforeScript"}})],1),"@BackupDirectory"==t.form.type?[e("b-field",{attrs:{label:"Directory Path"}},[e("b-input",{attrs:{type:"text",placeholder:"/etc/backups/app_database",required:""},model:{value:t.form.directory,callback:function(e){t.$set(t.form,"directory",e)},expression:"form.directory"}})],1)]:t._e(),"@BackupSQLite"==t.form.type?[e("b-field",{attrs:{label:"SQLite Path"}},[e("b-input",{attrs:{type:"text",placeholder:"/etc/apps/db.sqlite3",required:""},model:{value:t.form.sqlitePath,callback:function(e){t.$set(t.form,"sqlitePath",e)},expression:"form.sqlitePath"}})],1)]:t._e(),"@BackupMySQL"==t.form.type?[e("b-field",{attrs:{label:"MySQL Host"}},[e("b-input",{attrs:{type:"text",placeholder:"127.0.0.1",required:""},model:{value:t.form.mysqlHost,callback:function(e){t.$set(t.form,"mysqlHost",e)},expression:"form.mysqlHost"}})],1),e("b-field",{attrs:{label:"MySQL Port"}},[e("b-input",{attrs:{type:"text",placeholder:"3306",required:""},model:{value:t.form.mysqlPort,callback:function(e){t.$set(t.form,"mysqlPort",e)},expression:"form.mysqlPort"}})],1),e("b-field",{attrs:{label:"MySQL Username"}},[e("b-input",{attrs:{type:"text",placeholder:"root",required:""},model:{value:t.form.mysqlUsername,callback:function(e){t.$set(t.form,"mysqlUsername",e)},expression:"form.mysqlUsername"}})],1),e("b-field",{attrs:{label:"MySQL Password"}},[e("b-input",{attrs:{type:"text",placeholder:"root",required:""},model:{value:t.form.mysqlPassword,callback:function(e){t.$set(t.form,"mysqlPassword",e)},expression:"form.mysqlPassword"}})],1),e("b-field",{attrs:{label:"MySQL Database Name"}},[e("b-input",{attrs:{type:"text",placeholder:"",required:""},model:{value:t.form.mysqlDatabase,callback:function(e){t.$set(t.form,"mysqlDatabase",e)},expression:"form.mysqlDatabase"}})],1),e("b-field",{attrs:{label:"MySQL Table Name"}},[e("b-input",{attrs:{type:"text",placeholder:"",required:""},model:{value:t.form.mysqlTable,callback:function(e){t.$set(t.form,"mysqlTable",e)},expression:"form.mysqlTable"}})],1),e("b-field",{attrs:{label:"Backup All Databases"}},[e("b-select",{attrs:{placeholder:"Select to backup all",expanded:""},model:{value:t.form.mysqlAllDatabases,callback:function(e){t.$set(t.form,"mysqlAllDatabases",e)},expression:"form.mysqlAllDatabases"}},[e("option",{attrs:{value:"false"}},[t._v("No")]),e("option",{attrs:{value:"true"}},[t._v("Yes")])])],1),e("b-field",{attrs:{label:"MySQL Dump Options"}},[e("b-input",{attrs:{type:"text",placeholder:"--single-transaction,--quick,--lock-tables=false",required:""},model:{value:t.form.mysqlOptions,callback:function(e){t.$set(t.form,"mysqlOptions",e)},expression:"form.mysqlOptions"}})],1)]:t._e(),e("b-field",{attrs:{label:"Backup Interval Type"}},[e("b-select",{attrs:{placeholder:"Select a type",expanded:""},model:{value:t.form.intervalType,callback:function(e){t.$set(t.form,"intervalType",e)},expression:"form.intervalType"}},[e("option",{attrs:{value:"@second"}},[t._v("Second")]),e("option",{attrs:{value:"@minute"}},[t._v("Minute")]),e("option",{attrs:{value:"@hour"}},[t._v("Hour")]),e("option",{attrs:{value:"@day"}},[t._v("Day")]),e("option",{attrs:{value:"@month"}},[t._v("Month")])])],1),e("b-field",{attrs:{label:"Backup Interval"}},[e("b-input",{attrs:{type:"number",placeholder:"30",required:""},model:{value:t.form.interval,callback:function(e){t.$set(t.form,"interval",e)},expression:"form.interval"}})],1),e("b-field",{attrs:{label:"Retention Days"}},[e("b-input",{attrs:{type:"number",placeholder:"10",required:""},model:{value:t.form.retention,callback:function(e){t.$set(t.form,"retention",e)},expression:"form.retention"}})],1)],2),e("footer",{staticClass:"modal-card-foot"},[e("button",{staticClass:"button",attrs:{type:"button"},on:{click:function(e){return t.closeFormAction()}}},[t._v(" Close ")]),e("button",{staticClass:"button is-primary",on:{click:t.submitForm}},[t._v(" Submit ")])])])])],1)])},r=[],a=(s(7658),{name:"HostPage",data(){return{crons:{data:[],isPaginated:!0,isPaginationSimple:!1,isPaginationRounded:!0,paginationPosition:"bottom",currentPage:1,perPage:15},form:{isActive:!1,title:"",name:"",interval:30,retention:10,beforeScript:"",directory:"",mysqlHost:"127.0.0.1",mysqlPort:"3306",mysqlUsername:"root",mysqlPassword:"root",mysqlAllDatabases:"false",mysqlDatabase:"",mysqlTable:"",mysqlOptions:"--single-transaction,--quick,--lock-tables=false",intervalType:"@minute",type:"@BackupDirectory",hostId:"",cronId:"",sqlitePath:"/etc/apps/db.sqlite3"},loader:{isFullPage:!0,ref:null}}},methods:{loading(){this.loader.ref=this.$buefy.loading.open({container:this.loader.isFullPage?null:this.$refs.element.$el})},deleteHostAction(t){this.$buefy.dialog.confirm({message:"Are you sure?",onConfirm:()=>{this.$store.dispatch("host/deleteHostAction",{hostname:t}).then((()=>{this.$buefy.toast.open({message:"Host deleted successfully",type:"is-success"}),this.$router.push("/hosts")}),(t=>{t.response.data.errorMessage?this.$buefy.toast.open({message:t.response.data.errorMessage,type:"is-danger is-light"}):this.$buefy.toast.open({message:"Error status code: "+t.response.status,type:"is-danger is-light"})}))}})},deleteHostCronAction(t,e){this.$buefy.dialog.confirm({message:"Are you sure?",onConfirm:()=>{this.$store.dispatch("host/deleteHostCronAction",{hostname:t,cronId:e}).then((()=>{this.$buefy.toast.open({message:"Host cron deleted successfully",type:"is-success"}),this.loadInitialState()}),(t=>{t.response.data.errorMessage?this.$buefy.toast.open({message:t.response.data.errorMessage,type:"is-danger is-light"}):this.$buefy.toast.open({message:"Error status code: "+t.response.status,type:"is-danger is-light"})}))}})},editHostCronAction(t,e){this.form.title="Edit Host Backup Cron",this.form.isActive=!0,this.form.name="",this.form.interval=30,this.form.retention=10,this.form.directory="",this.form.beforeScript="",this.form.intervalType="@minute",this.form.type="@BackupDirectory",this.form.hostId=t,this.form.cronId=e,this.form.sqlitePath="/etc/apps/db.sqlite3",this.$store.dispatch("host/getHostCronAction",{hostname:t,cronId:e}).then((()=>{let t=this.$store.getters["host/getHostCronResult"];t&&(this.form.name=t.name,this.form.interval=t.interval,this.form.retention=t.request.retentionDays,this.form.beforeScript=t.request.beforeScript,this.form.directory=t.request.directory,this.form.mysqlHost=t.request.mysqlHost,this.form.mysqlPort=t.request.mysqlPort,this.form.mysqlUsername=t.request.mysqlUsername,this.form.mysqlPassword=t.request.mysqlPassword,this.form.mysqlAllDatabases=t.request.mysqlAllDatabases,this.form.mysqlDatabase=t.request.mysqlDatabase,this.form.mysqlTable=t.request.mysqlTable,this.form.mysqlOptions=t.request.mysqlOptions,this.form.sqlitePath=t.request.sqlitePath,this.form.intervalType=t.intervalType,this.form.type=t.request.type)}),(t=>{t.response.data.errorMessage?this.$buefy.toast.open({message:t.response.data.errorMessage,type:"is-danger is-light"}):this.$buefy.toast.open({message:"Error status code: "+t.response.status,type:"is-danger is-light"})}))},newHostCronAction(t){this.form.title="New Host Backup Cron",this.form.isActive=!0,this.form.name="",this.form.interval=30,this.form.retention=10,this.form.directory="",this.form.beforeScript="",this.form.intervalType="@minute",this.form.type="@BackupDirectory",this.form.hostId=t,this.form.cronId="",this.form.mysqlHost="127.0.0.1",this.form.mysqlPort="3306",this.form.mysqlUsername="root",this.form.mysqlPassword="root",this.form.mysqlAllDatabases="false",this.form.mysqlDatabase="",this.form.mysqlTable="",this.form.mysqlOptions="--single-transaction,--quick,--lock-tables=false",this.form.sqlitePath="/etc/apps/db.sqlite3"},closeFormAction(){this.form.isActive=!1,this.form.title="",this.form.name="",this.form.interval=30,this.form.retention=10,this.form.directory="",this.form.beforeScript="",this.form.intervalType="@minute",this.form.type="@BackupDirectory",this.form.hostId="",this.form.cronId="",this.form.mysqlHost="127.0.0.1",this.form.mysqlPort="3306",this.form.mysqlUsername="root",this.form.mysqlPassword="root",this.form.mysqlAllDatabases="false",this.form.mysqlDatabase="",this.form.mysqlTable="",this.form.mysqlOptions="--single-transaction,--quick,--lock-tables=false",this.form.sqlitePath="/etc/apps/db.sqlite3"},submitForm(){let t="host/createHostCronAction";""!=this.form.cronId&&(t="host/updateHostCronAction"),this.$store.dispatch(t,{hostname:this.form.hostId,cronId:this.form.cronId,name:this.form.name,interval:this.form.interval.toString(),retention:this.form.retention.toString(),beforeScript:this.form.beforeScript,directory:this.form.directory,intervalType:this.form.intervalType,mysqlHost:this.form.mysqlHost,mysqlPort:this.form.mysqlPort,mysqlUsername:this.form.mysqlUsername,mysqlPassword:this.form.mysqlPassword,mysqlAllDatabases:this.form.mysqlAllDatabases,mysqlDatabase:this.form.mysqlDatabase,mysqlTable:this.form.mysqlTable,mysqlOptions:this.form.mysqlOptions,sqlitePath:this.form.sqlitePath,type:this.form.type}).then((()=>{this.$buefy.toast.open({message:"Backup cron submitted successfully",type:"is-success"}),this.form.isActive=!1,this.loadInitialState()}),(t=>{t.response.data.errorMessage?this.$buefy.toast.open({message:t.response.data.errorMessage,type:"is-danger is-light"}):this.$buefy.toast.open({message:"Error status code: "+t.response.status,type:"is-danger is-light"}),this.form.isActive=!1}))},loadInitialState(){this.loading(),this.$store.dispatch("host/getHostCronsAction",{hostname:this.$route.params.hostId}).then((()=>{let t=this.$store.getters["host/getHostCronsResult"];t.crons?this.crons.data=t.crons:this.crons.data=[],this.loader.ref.close()}),(t=>{this.$buefy.toast.open({message:t.response.data.errorMessage,type:"is-danger is-light"}),this.loader.ref.close()}))}},mounted(){this.loadInitialState()}}),i=a,l=s(1001),n=(0,l.Z)(i,o,r,!1,null,null,null),m=n.exports}}]); +//# sourceMappingURL=751.af155490.js.map \ No newline at end of file diff --git a/web/dist/js/751.af155490.js.map b/web/dist/js/751.af155490.js.map new file mode 100644 index 00000000..239f45d4 --- /dev/null +++ b/web/dist/js/751.af155490.js.map @@ -0,0 +1 @@ +{"version":3,"file":"js/751.af155490.js","mappings":"iJAAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,MAAM,CAACE,YAAY,kCAAkC,CAACF,EAAG,MAAM,CAACE,YAAY,eAAe,CAACF,EAAG,UAAU,CAACA,EAAG,UAAU,CAACG,MAAM,CAAC,KAAOL,EAAIM,MAAMC,KAAK,UAAYP,EAAIM,MAAME,YAAY,WAAWR,EAAIM,MAAMG,QAAQ,eAAeT,EAAIM,MAAMI,YAAY,oBAAoBV,EAAIM,MAAMK,mBAAmB,sBAAsBX,EAAIM,MAAMM,mBAAmB,qBAAqBZ,EAAIM,MAAMO,oBAAoB,eAAe,OAAO,kBAAkB,YAAY,sBAAsB,gBAAgB,kBAAkB,OAAO,qBAAqB,gBAAgBC,GAAG,CAAC,qBAAqB,SAASC,GAAQ,OAAOf,EAAIgB,KAAKhB,EAAIM,MAAO,cAAeS,EAAO,EAAE,sBAAsB,SAASA,GAAQ,OAAOf,EAAIgB,KAAKhB,EAAIM,MAAO,cAAeS,EAAO,IAAI,CAACb,EAAG,iBAAiB,CAACG,MAAM,CAAC,MAAQ,KAAK,MA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GA,wBACA0B,QAAAA,sBAAAA,EAAAA,SAAAA,OACA1B,KAAAA,uBAGA,wBAGA,EAEAiC,mBACA,eAEA,YACAL,SAAAA,0BAAAA,CACAC,SAAAA,KAAAA,OAAAA,OAAAA,SAEAC,MACA,KACA,qDAEA,QACA,wBAEA,mBAGA,2BAEAC,IACA,wBACAL,QAAAA,EAAAA,SAAAA,KAAAA,aACA1B,KAAAA,uBAGA,0BAGA,GAGAkC,UACA,uBACA,IC3mBoP,I,UCOhPC,GAAY,OACd,EACAxF,EACAuE,GACA,EACA,KACA,KACA,MAIF,EAAeiB,EAAiB,O","sources":["webpack://web/./src/views/Host.vue","webpack://web/src/views/Host.vue","webpack://web/./src/views/Host.vue?9f1d","webpack://web/./src/views/Host.vue?079f"],"sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"columns is-desktop is-centered\"},[_c('div',{staticClass:\"column is-9\"},[_c('section',[_c('b-table',{attrs:{\"data\":_vm.crons.data,\"paginated\":_vm.crons.isPaginated,\"per-page\":_vm.crons.perPage,\"current-page\":_vm.crons.currentPage,\"pagination-simple\":_vm.crons.isPaginationSimple,\"pagination-position\":_vm.crons.paginationPosition,\"pagination-rounded\":_vm.crons.isPaginationRounded,\"default-sort\":\"name\",\"aria-next-label\":\"Next page\",\"aria-previous-label\":\"Previous page\",\"aria-page-label\":\"Page\",\"aria-current-label\":\"Current page\"},on:{\"update:currentPage\":function($event){return _vm.$set(_vm.crons, \"currentPage\", $event)},\"update:current-page\":function($event){return _vm.$set(_vm.crons, \"currentPage\", $event)}}},[_c('b-table-column',{attrs:{\"field\":\"id\",\"label\":\"Backup Cron ID\",\"centered\":\"\"},scopedSlots:_vm._u([{key:\"default\",fn:function(props){return [_c('span',{staticClass:\"tag is-light\"},[_vm._v(\" \"+_vm._s(props.row.id)+\" \")])]}}])}),_c('b-table-column',{attrs:{\"field\":\"name\",\"label\":\"Name\",\"centered\":\"\"},scopedSlots:_vm._u([{key:\"default\",fn:function(props){return [_c('span',{staticClass:\"tag is-light\"},[_vm._v(\" \"+_vm._s(props.row.name)+\" \")])]}}])}),_c('b-table-column',{attrs:{\"field\":\"jobs\",\"label\":\"Jobs\",\"centered\":\"\"},scopedSlots:_vm._u([{key:\"default\",fn:function(props){return [_c('span',{staticClass:\"tag is-warning is-light\"},[_vm._v(\" Pending: \"+_vm._s(props.row.pendingJobs)+\" \")]),_vm._v(\" - \"),_c('span',{staticClass:\"tag is-success is-light\"},[_vm._v(\" Success: \"+_vm._s(props.row.successJobs)+\" \")]),_vm._v(\" - \"),_c('span',{staticClass:\"tag is-danger is-light\"},[_vm._v(\" Failed: \"+_vm._s(props.row.failedJobs)+\" \")])]}}])}),_c('b-table-column',{attrs:{\"field\":\"status\",\"label\":\"Last Run\",\"centered\":\"\"},scopedSlots:_vm._u([{key:\"default\",fn:function(props){return [_c('span',{staticClass:\"tag is-success is-light\"},[_vm._v(\" \"+_vm._s(new Date(props.row.lastRun).toLocaleString())+\" \")])]}}])}),_c('b-table-column',{attrs:{\"field\":\"createdAt\",\"label\":\"Creation Date\",\"centered\":\"\"},scopedSlots:_vm._u([{key:\"default\",fn:function(props){return [_c('span',{staticClass:\"tag is-info is-light\"},[_vm._v(\" \"+_vm._s(new Date(props.row.createdAt).toLocaleDateString())+\" \")])]}}])}),_c('b-table-column',{attrs:{\"label\":\"Actions\",\"centered\":\"\"},scopedSlots:_vm._u([{key:\"default\",fn:function(props){return [_c('b-button',{attrs:{\"size\":\"is-small\",\"type\":\"is-link is-warning is-light\"},on:{\"click\":function($event){return _vm.editHostCronAction(_vm.$route.params.hostId, props.row.id)}}},[_vm._v(\"Edit\")]),_vm._v(\" - \"),_c('b-button',{attrs:{\"size\":\"is-small\",\"type\":\"is-link is-danger is-light\"},on:{\"click\":function($event){return _vm.deleteHostCronAction(_vm.$route.params.hostId, props.row.id)}}},[_vm._v(\"Delete\")])]}}])}),_c('td',{attrs:{\"slot\":\"empty\",\"colspan\":\"6\"},slot:\"empty\"},[_vm._v(\"No records found.\")])],1)],1),_c('hr'),_c('b-button',{attrs:{\"type\":\"is-success is-light\",\"size\":\"is-small\"},on:{\"click\":function($event){return _vm.newHostCronAction(_vm.$route.params.hostId)}}},[_vm._v(\"New Backup Cron\")]),_vm._v(\" - \"),_c('b-button',{attrs:{\"type\":\"is-danger is-light\",\"size\":\"is-small\"},on:{\"click\":function($event){return _vm.deleteHostAction(_vm.$route.params.hostId)}}},[_vm._v(\"Delete Host\")]),_c('b-modal',{attrs:{\"active\":_vm.form.isActive,\"has-modal-card\":\"\"},on:{\"update:active\":function($event){return _vm.$set(_vm.form, \"isActive\", $event)}}},[_c('div',{staticClass:\"modal-card\",staticStyle:{\"width\":\"auto\"}},[_c('header',{staticClass:\"modal-card-head\"},[_c('p',{staticClass:\"modal-card-title\"},[_vm._v(_vm._s(_vm.form.title))])]),_c('section',{staticClass:\"modal-card-body\"},[_c('b-field',{attrs:{\"label\":\"Backup Name\"}},[_c('b-input',{attrs:{\"type\":\"text\",\"placeholder\":\"Application Database\",\"required\":\"\"},model:{value:(_vm.form.name),callback:function ($$v) {_vm.$set(_vm.form, \"name\", $$v)},expression:\"form.name\"}})],1),_c('b-field',{attrs:{\"label\":\"Backup Type\"}},[_c('b-select',{attrs:{\"placeholder\":\"Select a type\",\"expanded\":\"\"},model:{value:(_vm.form.type),callback:function ($$v) {_vm.$set(_vm.form, \"type\", $$v)},expression:\"form.type\"}},[_c('option',{attrs:{\"value\":\"@BackupDirectory\"}},[_vm._v(\"Directory\")]),_c('option',{attrs:{\"value\":\"@BackupMySQL\"}},[_vm._v(\"MySQL\")]),_c('option',{attrs:{\"value\":\"@BackupSQLite\"}},[_vm._v(\"SQLite\")])])],1),_c('b-field',{attrs:{\"label\":\"Run Script Before\"}},[_c('b-input',{attrs:{\"type\":\"text\",\"placeholder\":\"/usr/bin/innobackupex --incremental\"},model:{value:(_vm.form.beforeScript),callback:function ($$v) {_vm.$set(_vm.form, \"beforeScript\", $$v)},expression:\"form.beforeScript\"}})],1),(_vm.form.type == '@BackupDirectory')?[_c('b-field',{attrs:{\"label\":\"Directory Path\"}},[_c('b-input',{attrs:{\"type\":\"text\",\"placeholder\":\"/etc/backups/app_database\",\"required\":\"\"},model:{value:(_vm.form.directory),callback:function ($$v) {_vm.$set(_vm.form, \"directory\", $$v)},expression:\"form.directory\"}})],1)]:_vm._e(),(_vm.form.type == '@BackupSQLite')?[_c('b-field',{attrs:{\"label\":\"SQLite Path\"}},[_c('b-input',{attrs:{\"type\":\"text\",\"placeholder\":\"/etc/apps/db.sqlite3\",\"required\":\"\"},model:{value:(_vm.form.sqlitePath),callback:function ($$v) {_vm.$set(_vm.form, \"sqlitePath\", $$v)},expression:\"form.sqlitePath\"}})],1)]:_vm._e(),(_vm.form.type == '@BackupMySQL')?[_c('b-field',{attrs:{\"label\":\"MySQL Host\"}},[_c('b-input',{attrs:{\"type\":\"text\",\"placeholder\":\"127.0.0.1\",\"required\":\"\"},model:{value:(_vm.form.mysqlHost),callback:function ($$v) {_vm.$set(_vm.form, \"mysqlHost\", $$v)},expression:\"form.mysqlHost\"}})],1),_c('b-field',{attrs:{\"label\":\"MySQL Port\"}},[_c('b-input',{attrs:{\"type\":\"text\",\"placeholder\":\"3306\",\"required\":\"\"},model:{value:(_vm.form.mysqlPort),callback:function ($$v) {_vm.$set(_vm.form, \"mysqlPort\", $$v)},expression:\"form.mysqlPort\"}})],1),_c('b-field',{attrs:{\"label\":\"MySQL Username\"}},[_c('b-input',{attrs:{\"type\":\"text\",\"placeholder\":\"root\",\"required\":\"\"},model:{value:(_vm.form.mysqlUsername),callback:function ($$v) {_vm.$set(_vm.form, \"mysqlUsername\", $$v)},expression:\"form.mysqlUsername\"}})],1),_c('b-field',{attrs:{\"label\":\"MySQL Password\"}},[_c('b-input',{attrs:{\"type\":\"text\",\"placeholder\":\"root\",\"required\":\"\"},model:{value:(_vm.form.mysqlPassword),callback:function ($$v) {_vm.$set(_vm.form, \"mysqlPassword\", $$v)},expression:\"form.mysqlPassword\"}})],1),_c('b-field',{attrs:{\"label\":\"MySQL Database Name\"}},[_c('b-input',{attrs:{\"type\":\"text\",\"placeholder\":\"\",\"required\":\"\"},model:{value:(_vm.form.mysqlDatabase),callback:function ($$v) {_vm.$set(_vm.form, \"mysqlDatabase\", $$v)},expression:\"form.mysqlDatabase\"}})],1),_c('b-field',{attrs:{\"label\":\"MySQL Table Name\"}},[_c('b-input',{attrs:{\"type\":\"text\",\"placeholder\":\"\",\"required\":\"\"},model:{value:(_vm.form.mysqlTable),callback:function ($$v) {_vm.$set(_vm.form, \"mysqlTable\", $$v)},expression:\"form.mysqlTable\"}})],1),_c('b-field',{attrs:{\"label\":\"Backup All Databases\"}},[_c('b-select',{attrs:{\"placeholder\":\"Select to backup all\",\"expanded\":\"\"},model:{value:(_vm.form.mysqlAllDatabases),callback:function ($$v) {_vm.$set(_vm.form, \"mysqlAllDatabases\", $$v)},expression:\"form.mysqlAllDatabases\"}},[_c('option',{attrs:{\"value\":\"false\"}},[_vm._v(\"No\")]),_c('option',{attrs:{\"value\":\"true\"}},[_vm._v(\"Yes\")])])],1),_c('b-field',{attrs:{\"label\":\"MySQL Dump Options\"}},[_c('b-input',{attrs:{\"type\":\"text\",\"placeholder\":\"--single-transaction,--quick,--lock-tables=false\",\"required\":\"\"},model:{value:(_vm.form.mysqlOptions),callback:function ($$v) {_vm.$set(_vm.form, \"mysqlOptions\", $$v)},expression:\"form.mysqlOptions\"}})],1)]:_vm._e(),_c('b-field',{attrs:{\"label\":\"Backup Interval Type\"}},[_c('b-select',{attrs:{\"placeholder\":\"Select a type\",\"expanded\":\"\"},model:{value:(_vm.form.intervalType),callback:function ($$v) {_vm.$set(_vm.form, \"intervalType\", $$v)},expression:\"form.intervalType\"}},[_c('option',{attrs:{\"value\":\"@second\"}},[_vm._v(\"Second\")]),_c('option',{attrs:{\"value\":\"@minute\"}},[_vm._v(\"Minute\")]),_c('option',{attrs:{\"value\":\"@hour\"}},[_vm._v(\"Hour\")]),_c('option',{attrs:{\"value\":\"@day\"}},[_vm._v(\"Day\")]),_c('option',{attrs:{\"value\":\"@month\"}},[_vm._v(\"Month\")])])],1),_c('b-field',{attrs:{\"label\":\"Backup Interval\"}},[_c('b-input',{attrs:{\"type\":\"number\",\"placeholder\":\"30\",\"required\":\"\"},model:{value:(_vm.form.interval),callback:function ($$v) {_vm.$set(_vm.form, \"interval\", $$v)},expression:\"form.interval\"}})],1),_c('b-field',{attrs:{\"label\":\"Retention Days\"}},[_c('b-input',{attrs:{\"type\":\"number\",\"placeholder\":\"10\",\"required\":\"\"},model:{value:(_vm.form.retention),callback:function ($$v) {_vm.$set(_vm.form, \"retention\", $$v)},expression:\"form.retention\"}})],1)],2),_c('footer',{staticClass:\"modal-card-foot\"},[_c('button',{staticClass:\"button\",attrs:{\"type\":\"button\"},on:{\"click\":function($event){return _vm.closeFormAction()}}},[_vm._v(\" Close \")]),_c('button',{staticClass:\"button is-primary\",on:{\"click\":_vm.submitForm}},[_vm._v(\" Submit \")])])])])],1)])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n","import mod from \"-!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Host.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Host.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Host.vue?vue&type=template&id=696d5f68&\"\nimport script from \"./Host.vue?vue&type=script&lang=js&\"\nexport * from \"./Host.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports"],"names":["render","_vm","this","_c","_self","staticClass","attrs","crons","data","isPaginated","perPage","currentPage","isPaginationSimple","paginationPosition","isPaginationRounded","on","$event","$set","scopedSlots","_u","key","fn","props","_v","_s","row","id","name","pendingJobs","successJobs","failedJobs","Date","lastRun","toLocaleString","createdAt","toLocaleDateString","editHostCronAction","$route","params","hostId","deleteHostCronAction","slot","newHostCronAction","deleteHostAction","form","isActive","staticStyle","title","model","value","callback","$$v","expression","type","beforeScript","directory","_e","sqlitePath","mysqlHost","mysqlPort","mysqlUsername","mysqlPassword","mysqlDatabase","mysqlTable","mysqlAllDatabases","mysqlOptions","intervalType","interval","retention","closeFormAction","submitForm","staticRenderFns","cronId","loader","isFullPage","ref","methods","loading","container","message","onConfirm","dispatch","hostname","then","err","action","loadInitialState","mounted","component"],"sourceRoot":""} \ No newline at end of file diff --git a/web/dist/js/757.e4dfe4e7.js b/web/dist/js/757.e4dfe4e7.js new file mode 100644 index 00000000..56e90fed --- /dev/null +++ b/web/dist/js/757.e4dfe4e7.js @@ -0,0 +1,2 @@ +"use strict";(self["webpackChunkweb"]=self["webpackChunkweb"]||[]).push([[757],{5757:function(n,t,u){u.r(t),u.d(t,{default:function(){return f}});var e=function(){var n=this;n._self._c;return n._m(0)},s=[function(){var n=this,t=n._self._c;return t("div",{staticClass:"not_found"},[t("h2",[n._v("404 Page Not Found")])])}],l=u(1001),r={},c=(0,l.Z)(r,e,s,!1,null,null,null),f=c.exports}}]); +//# sourceMappingURL=757.e4dfe4e7.js.map \ No newline at end of file diff --git a/web/dist/js/757.e4dfe4e7.js.map b/web/dist/js/757.e4dfe4e7.js.map new file mode 100644 index 00000000..5c997d54 --- /dev/null +++ b/web/dist/js/757.e4dfe4e7.js.map @@ -0,0 +1 @@ +{"version":3,"file":"js/757.e4dfe4e7.js","mappings":"kJAAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAQD,EAAIE,MAAMC,GAAG,OAAOH,EAAII,GAAG,EAC1E,EACIC,EAAkB,CAAC,WAAY,IAAIL,EAAIC,KAAKE,EAAGH,EAAIE,MAAMC,GAAG,OAAOA,EAAG,MAAM,CAACG,YAAY,aAAa,CAACH,EAAG,KAAK,CAACH,EAAIO,GAAG,yBAC3H,G,UCFIC,EAAS,CAAC,EAKVC,GAAY,OACdD,EACAT,EACAM,GACA,EACA,KACA,KACA,MAIF,EAAeI,EAAiB,O","sources":["webpack://web/./src/views/NotFound.vue","webpack://web/./src/views/NotFound.vue?9931"],"sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c;return _vm._m(0)\n}\nvar staticRenderFns = [function (){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"not_found\"},[_c('h2',[_vm._v(\"404 Page Not Found\")])])\n}]\n\nexport { render, staticRenderFns }","import { render, staticRenderFns } from \"./NotFound.vue?vue&type=template&id=14c9d593&\"\nvar script = {}\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports"],"names":["render","_vm","this","_self","_c","_m","staticRenderFns","staticClass","_v","script","component"],"sourceRoot":""} \ No newline at end of file diff --git a/web/dist/js/972.91ddac00.js b/web/dist/js/972.91ddac00.js deleted file mode 100644 index 6553bf6c..00000000 --- a/web/dist/js/972.91ddac00.js +++ /dev/null @@ -1,2 +0,0 @@ -"use strict";(self["webpackChunkweb"]=self["webpackChunkweb"]||[]).push([[972],{852:function(e,n,t){t.r(n),t.d(n,{default:function(){return a}});var u=function(){var e=this,n=e.$createElement;e._self._c;return e._m(0)},l=[function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("div",{staticClass:"not_found"},[t("h2",[e._v("404 Page Not Found")])])}],r=t(1),s={},c=(0,r.Z)(s,u,l,!1,null,null,null),a=c.exports}}]); -//# sourceMappingURL=972.91ddac00.js.map \ No newline at end of file diff --git a/web/dist/js/972.91ddac00.js.map b/web/dist/js/972.91ddac00.js.map deleted file mode 100644 index 313b1887..00000000 --- a/web/dist/js/972.91ddac00.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"js/972.91ddac00.js","mappings":"iJAAA,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAsBH,EAAII,MAAMC,GAAO,OAAOL,EAAIM,GAAG,EAAE,EACrGC,EAAkB,CAAC,WAAa,IAAIP,EAAIC,KAASC,EAAGF,EAAIG,eAAmBE,EAAGL,EAAII,MAAMC,IAAIH,EAAG,OAAOG,EAAG,MAAM,CAACG,YAAY,aAAa,CAACH,EAAG,KAAK,CAACL,EAAIS,GAAG,yBAAyB,G,OCAnLC,EAAS,CAAC,EAKVC,GAAY,OACdD,EACAX,EACAQ,GACA,EACA,KACA,KACA,MAIF,EAAeI,EAAiB,O","sources":["webpack://web/./src/views/NotFound.vue?384e","webpack://web/./src/views/NotFound.vue"],"sourcesContent":["var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _vm._m(0)}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"not_found\"},[_c('h2',[_vm._v(\"404 Page Not Found\")])])}]\n\nexport { render, staticRenderFns }","import { render, staticRenderFns } from \"./NotFound.vue?vue&type=template&id=14c9d593&\"\nvar script = {}\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports"],"names":["render","_vm","this","_h","$createElement","_self","_c","_m","staticRenderFns","staticClass","_v","script","component"],"sourceRoot":""} \ No newline at end of file diff --git a/web/dist/js/974.65a91436.js b/web/dist/js/974.65a91436.js new file mode 100644 index 00000000..b0aec143 --- /dev/null +++ b/web/dist/js/974.65a91436.js @@ -0,0 +1,2 @@ +"use strict";(self["webpackChunkweb"]=self["webpackChunkweb"]||[]).push([[974],{1974:function(t,e,s){s.r(e),s.d(e,{default:function(){return u}});var r=function(){var t=this,e=t._self._c;return e("div",{staticClass:"home"},[e("br"),e("img",{attrs:{alt:"logo",src:s(6949),width:"250"}}),e("div",{staticClass:"hello"},[e("br"),e("strong",[t._v("Welcome to Walrus")]),t._m(0),e("br"),e("small",[e("b-icon",{attrs:{pack:"fas",icon:"broadcast-tower",size:"is-small"}}),e("strong",{class:{"has-text-info":"down"!=t.tower_status,"has-text-danger":"down"==t.tower_status}},[t._v(" Tower is "+t._s(t.tower_status))]),e("br"),t._v(" Made with "),t._m(1),t._v(" by "),e("a",{attrs:{href:"https://github.com/clivern",target:"_blank",rel:"noopener"}},[t._v("Clivern")]),e("br")],1)])])},a=[function(){var t=this,e=t._self._c;return e("p",[t._v(" If you have any suggestions, bug reports, or annoyances "),e("br"),t._v("please report them to our "),e("a",{attrs:{href:"https://github.com/clivern/walrus/issues",target:"_blank",rel:"noopener"}},[t._v("issue tracker")]),t._v(". ")])},function(){var t=this,e=t._self._c;return e("span",{staticClass:"icon has-text-danger"},[e("i",{staticClass:"fas fa-heart"})])}],o={name:"HomePage",data(){return{tower_status:"down",loader:{isFullPage:!0,ref:null}}},methods:{loading(){this.loader.ref=this.$buefy.loading.open({container:this.loader.isFullPage?null:this.$refs.element.$el})}},mounted(){this.$emit("refresh-state"),this.loading(),this.$store.dispatch("tower/fetchTowerReadiness").then((()=>{this.tower_status=this.$store.getters["tower/getTowerReadiness"].status,this.loader.ref.close()}),(t=>{this.$buefy.toast.open({message:t,type:"is-danger is-light"}),this.loader.ref.close()}))}},n=o,i=s(1001),l=(0,i.Z)(n,r,a,!1,null,"413d95cb",null),u=l.exports},6949:function(t,e,s){t.exports=s.p+"img/logo.b6c1e82e.png"}}]); +//# sourceMappingURL=974.65a91436.js.map \ No newline at end of file diff --git a/web/dist/js/974.65a91436.js.map b/web/dist/js/974.65a91436.js.map new file mode 100644 index 00000000..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CAACF,EAAG,IAAI,CAACE,YAAY,kBACtH,GC0CA,GACAS,KAAAA,WAEAC,OACA,OACAJ,aAAAA,OAGAK,OAAAA,CACAC,YAAAA,EACAC,IAAAA,MAGA,EAEAC,QAAAA,CACAC,UACA,0CACAC,UAAAA,KAAAA,OAAAA,WAAAA,KAAAA,KAAAA,MAAAA,QAAAA,KAEA,GAGAC,UACA,4BAEA,eAEA,wDACA,KACA,sCACA,2BACA,OAEA,2BAEAC,IACA,wBACAC,QAAAA,EACAC,KAAAA,uBAGA,0BAGA,GC9FoP,I,UCQhPC,GAAY,OACd,EACA1B,EACAa,GACA,EACA,KACA,WACA,MAIF,EAAea,EAAiB,O","sources":["webpack://web/./src/views/Home.vue","webpack://web/src/views/Home.vue","webpack://web/./src/views/Home.vue?65f5","webpack://web/./src/views/Home.vue?8611"],"sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"home\"},[_c('br'),_c('img',{attrs:{\"alt\":\"logo\",\"src\":require(\"../assets/logo.png\"),\"width\":\"250\"}}),_c('div',{staticClass:\"hello\"},[_c('br'),_c('strong',[_vm._v(\"Welcome to Walrus\")]),_vm._m(0),_c('br'),_c('small',[_c('b-icon',{attrs:{\"pack\":\"fas\",\"icon\":\"broadcast-tower\",\"size\":\"is-small\"}}),_c('strong',{class:{\n\t\t\t\t\t'has-text-info': _vm.tower_status != 'down',\n\t\t\t\t\t'has-text-danger': _vm.tower_status == 'down',\n\t\t\t\t}},[_vm._v(\" Tower is \"+_vm._s(_vm.tower_status))]),_c('br'),_vm._v(\" Made with \"),_vm._m(1),_vm._v(\" by \"),_c('a',{attrs:{\"href\":\"https://github.com/clivern\",\"target\":\"_blank\",\"rel\":\"noopener\"}},[_vm._v(\"Clivern\")]),_c('br')],1)])])\n}\nvar staticRenderFns = [function (){var _vm=this,_c=_vm._self._c;return _c('p',[_vm._v(\" If you have any suggestions, bug reports, or annoyances \"),_c('br'),_vm._v(\"please report them to our \"),_c('a',{attrs:{\"href\":\"https://github.com/clivern/walrus/issues\",\"target\":\"_blank\",\"rel\":\"noopener\"}},[_vm._v(\"issue tracker\")]),_vm._v(\". \")])\n},function (){var _vm=this,_c=_vm._self._c;return _c('span',{staticClass:\"icon has-text-danger\"},[_c('i',{staticClass:\"fas fa-heart\"})])\n}]\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n","import mod from \"-!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Home.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Home.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Home.vue?vue&type=template&id=413d95cb&scoped=true&\"\nimport script from \"./Home.vue?vue&type=script&lang=js&\"\nexport * from \"./Home.vue?vue&type=script&lang=js&\"\nimport style0 from \"./Home.vue?vue&type=style&index=0&id=413d95cb&prod&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"413d95cb\",\n null\n \n)\n\nexport default component.exports"],"names":["render","_vm","this","_c","_self","staticClass","attrs","require","_v","_m","class","tower_status","_s","staticRenderFns","name","data","loader","isFullPage","ref","methods","loading","container","mounted","err","message","type","component"],"sourceRoot":""} \ No newline at end of file diff --git a/web/dist/js/app.09cef8b6.js b/web/dist/js/app.09cef8b6.js new file mode 100644 index 00000000..c3ad360a --- /dev/null +++ b/web/dist/js/app.09cef8b6.js @@ -0,0 +1,2 @@ +(function(){"use strict";var t={5386:function(t,e,o){var n=o(144),s=function(){var t=this,e=t._self._c;return e("div",{attrs:{id:"app"}},[e("div",{attrs:{id:"nav"}},[e("router-link",{attrs:{to:"/"}},[e("b-icon",{attrs:{pack:"fas",icon:"home",size:"is-small"}}),t._v(" Home")],1),t.logged?[t._v(" | "),e("router-link",{attrs:{to:"/hosts"}},[e("b-icon",{attrs:{pack:"fas",icon:"server",size:"is-small"}}),t._v(" Hosts")],1),t._v(" | "),e("router-link",{attrs:{to:"/settings"}},[e("b-icon",{attrs:{pack:"fas",icon:"cog",size:"is-small"}}),t._v(" Settings")],1),t._v(" | "),e("a",{attrs:{href:"#"},on:{click:t.logout}},[e("b-icon",{attrs:{pack:"fas",icon:"sign-out-alt",size:"is-small"}}),t._v(" Logout")],1)]:[t._v(" | "),e("router-link",{attrs:{to:"/login"}},[e("b-icon",{attrs:{pack:"fas",icon:"sign-in-alt",size:"is-small"}}),t._v(" Login")],1)]],2),e("router-view",{on:{"refresh-state":t.refreshState}})],1)},a=[],r=(o(7658),{data(){return{logged:null!=localStorage.getItem("user_api_key")&&null!=localStorage.getItem("user_email")}},methods:{logout(){this.logged=!1,localStorage.removeItem("user_api_key"),localStorage.removeItem("user_email"),localStorage.removeItem("user_id"),localStorage.removeItem("user_name"),this.$router.push("/login")},refreshState(){this.logged=null!=localStorage.getItem("user_api_key")&&null!=localStorage.getItem("user_email")}},mounted(){this.logged=null!=localStorage.getItem("user_api_key")&&null!=localStorage.getItem("user_email")}}),i=r,u=o(1001),l=(0,u.Z)(i,s,a,!1,null,null,null),c=l.exports,g=o(8345);n.ZP.use(g.ZP);const _=[{path:"/",name:"Home",component:()=>o.e(974).then(o.bind(o,1974)),meta:{requiresAuth:!1}},{path:"/login",name:"Login",component:()=>o.e(180).then(o.bind(o,180)),meta:{requiresAuth:!1}},{path:"/hosts",name:"Hosts",component:()=>o.e(557).then(o.bind(o,8557)),meta:{requiresAuth:!0}},{path:"/hosts/:hostId",name:"Host",component:()=>o.e(751).then(o.bind(o,751)),meta:{requiresAuth:!0}},{path:"/settings",name:"Settings",component:()=>o.e(595).then(o.bind(o,8595)),meta:{requiresAuth:!0}},{path:"/404",name:"NotFound",component:()=>o.e(757).then(o.bind(o,5757))},{path:"*",redirect:"/404"}],d=new g.ZP({routes:_});d.beforeEach(((t,e,o)=>{t.matched.some((t=>t.meta.requiresAuth))?null==localStorage.getItem("user_api_key")&&o({path:"/login",params:{nextUrl:t.fullPath}}):"Login"==t.name&&localStorage.removeItem("user_api_key"),o()}));var T=d,E=o(9669),S=o.n(E),m=o(7500),R=(o(387),o(629));const p={getURL(t){let e="";return{NODE_ENV:"production",BASE_URL:"/"}.VUE_APP_TOWER_URL&&(e={NODE_ENV:"production",BASE_URL:"/"}.VUE_APP_TOWER_URL.replace(/\/$/,"")),e+t},getHeaders(){let t="",e="",o="";return null!=localStorage.getItem("user_api_key")&&(t=localStorage.getItem("user_api_key")),null!=localStorage.getItem("user_email")&&(e=localStorage.getItem("user_email")),null!=localStorage.getItem("user_id")&&(o=localStorage.getItem("user_id")),{crossdomain:!0,headers:{"X-API-Key":t,"X-User-Email":e,"X-User-ID":o,"X-Client-ID":"dashboard","X-Requested-With":"XMLHttpRequest","Content-Type":"application/json"}}},get(t){return S().get(this.getURL(t),this.getHeaders())},delete(t){return S()["delete"](this.getURL(t),this.getHeaders())},post(t,e={}){return S().post(this.getURL(t),e,this.getHeaders())},put(t,e={}){return S().put(this.getURL(t),e,this.getHeaders())}};var h=p;const f=()=>h.get("/_ready"),H=()=>h.get("/_health"),v=()=>({readiness:{},health:{}}),b={getTowerReadiness:t=>t.readiness,getTowerHealth:t=>t.health},A={async fetchTowerReadiness({commit:t}){const e=await f();return t("SET_TOWER_READINESS",e.data),e},async fetchTowerHealth({commit:t}){const e=await H();return t("SET_TOWER_HEALTH",e.data),e}},O={SET_TOWER_READINESS(t,e){t.readiness=e},SET_TOWER_HEALTH(t,e){t.health=e}};var L={namespaced:!0,state:v,getters:b,actions:A,mutations:O};const U=t=>h.post("/action/setup",t),y=t=>h.post("/action/auth",t),w=()=>h.get("/action/info"),C=()=>({authResult:{},setupResult:{},towerInfo:{}}),I={getAuthResult:t=>t.authResult,getSetupResult:t=>t.setupResult,getTowerInfo:t=>t.towerInfo},N={async authAction(t,e){const o=await y(e);return t.commit("SET_AUTH_RESULT",o.data),o},async setupAction(t,e){const o=await U(e);return t.commit("SET_SETUP_RESULT",o.data),o},async fetchInfo(t){const e=await w();return t.commit("SET_TOWER_INFO",e.data),e}},P={SET_AUTH_RESULT(t,e){t.authResult=e},SET_SETUP_RESULT(t,e){t.setupResult=e},SET_TOWER_INFO(t,e){t.towerInfo=e}};var k={namespaced:!0,state:C,getters:I,actions:N,mutations:P};const G=t=>h.put("/api/v1/settings",t),J=()=>h.get("/api/v1/settings"),D=()=>({getSettingsResult:{},updateSettingsResult:{}}),j={getSettingsResult:t=>t.getSettingsResult,getUpdateSettingsResult:t=>t.updateSettingsResult},B={async getSettingsAction(t){const e=await J();return t.commit("SET_GET_SETTINGS_RESULT",e.data),e},async updateSettingsAction(t,e){const o=await G(e);return t.commit("SET_UPDATE_SETTINGS_RESULT",o.data),o}},Z={SET_GET_SETTINGS_RESULT(t,e){t.getSettingsResult=e},SET_UPDATE_SETTINGS_RESULT(t,e){t.updateSettingsResult=e}};var q={namespaced:!0,state:D,getters:j,actions:B,mutations:Z};const W=()=>h.get("/api/v1/host"),x=t=>h.get("/api/v1/host/"+t["hostname"]),F=t=>h["delete"]("/api/v1/host/"+t["hostname"]),X=t=>h.post("/api/v1/host/"+t["hostname"]+"/cron",t),z=t=>h.get("/api/v1/host/"+t["hostname"]+"/cron"),M=t=>h.get("/api/v1/host/"+t["hostname"]+"/cron/"+t["cronId"]),V=t=>h.put("/api/v1/host/"+t["hostname"]+"/cron/"+t["cronId"],t),$=t=>h["delete"]("/api/v1/host/"+t["hostname"]+"/cron/"+t["cronId"]),K=t=>h.get("/api/v1/host/"+t["hostname"]+"/job"),Q=t=>h.get("/api/v1/host/"+t["hostname"]+"/job/"+t["jobId"]),Y=t=>h.put("/api/v1/host/"+t["hostname"]+"/job/"+t["jobId"],t),tt=t=>h["delete"]("/api/v1/host/"+t["hostname"]+"/job/"+t["jobId"]),et=t=>h.get("/api/v1/host/"+t["hostname"]+"/agent"),ot=t=>h.get("/api/v1/host/"+t["hostname"]+"/agent/"+t["agentId"]),nt=t=>h["delete"]("/api/v1/host/"+t["hostname"]+"/agent/"+t["agentId"]),st=()=>({getHostsResult:{},getHostResult:{},getHostCronsResult:{},getHostCronResult:{},getHostJobsResult:{},getHostJobResult:{},getAgentsResult:{},getAgentResult:{},deleteHostResult:{},deleteHostCronResult:{},deleteHostJobResult:{},deleteAgentResult:{},createHostCronResult:{},updateHostCronResult:{},updateHostJobResult:{}}),at={getHostsResult:t=>t.getHostsResult,getHostResult:t=>t.getHostResult,getHostCronsResult:t=>t.getHostCronsResult,getHostCronResult:t=>t.getHostCronResult,getHostJobsResult:t=>t.getHostJobsResult,getHostJobResult:t=>t.getHostJobResult,getAgentsResult:t=>t.getAgentsResult,getAgentResult:t=>t.getAgentResult,getDeleteHostResult:t=>t.deleteHostResult,getDeleteHostCronResult:t=>t.deleteHostCronResult,getDeleteHostJobResult:t=>t.deleteHostJobResult,getDeleteAgentResult:t=>t.deleteAgentResult,getCreateHostCronResult:t=>t.createHostCronResult,getUpdateHostCronResult:t=>t.updateHostCronResult,getUpdateHostJobResult:t=>t.updateHostJobResult},rt={async getHostsAction(t){const e=await W();return t.commit("SET_GET_HOSTS_RESULT",e.data),e},async getHostAction(t,e){const o=await x(e);return t.commit("SET_GET_HOST_RESULT",o.data),o},async getHostCronsAction(t,e){const o=await z(e);return t.commit("SET_GET_HOST_CRONS_RESULT",o.data),o},async getHostCronAction(t,e){const o=await M(e);return t.commit("SET_GET_HOST_CRON_RESULT",o.data),o},async getHostJobsAction(t,e){const o=await K(e);return t.commit("SET_GET_HOST_JOBS_RESULT",o.data),o},async getHostJobAction(t,e){const o=await Q(e);return t.commit("SET_GET_HOST_JOB_RESULT",o.data),o},async getAgentsAction(t,e){const o=await et(e);return t.commit("SET_GET_AGENTS_RESULT",o.data),o},async getAgentAction(t,e){const o=await ot(e);return t.commit("SET_GET_AGENT_RESULT",o.data),o},async deleteHostAction(t,e){const o=await F(e);return t.commit("SET_DELETE_HOST_RESULT",o.data),o},async deleteHostCronAction(t,e){const o=await $(e);return t.commit("SET_DELETE_HOST_CRON_RESULT",o.data),o},async deleteHostJobAction(t,e){const o=await tt(e);return t.commit("SET_DELETE_HOST_JOB_RESULT",o.data),o},async deleteAgentAction(t,e){const o=await nt(e);return t.commit("SET_DELETE_AGENT_RESULT",o.data),o},async createHostCronAction(t,e){const o=await X(e);return t.commit("SET_CREATE_HOST_CRON_RESULT",o.data),o},async updateHostCronAction(t,e){const o=await V(e);return t.commit("SET_UPDATE_HOST_CRON_RESULT",o.data),o},async updateHostJobAction(t,e){const o=await Y(e);return t.commit("SET_UPDATE_HOST_JOB_RESULT",o.data),o}},it={SET_GET_HOSTS_RESULT(t,e){t.getHostsResult=e},SET_GET_HOST_RESULT(t,e){t.getHostResult=e},SET_GET_HOST_CRONS_RESULT(t,e){t.getHostCronsResult=e},SET_GET_HOST_CRON_RESULT(t,e){t.getHostCronResult=e},SET_GET_HOST_JOBS_RESULT(t,e){t.getHostJobsResult=e},SET_GET_HOST_JOB_RESULT(t,e){t.getHostJobResult=e},SET_GET_AGENTS_RESULT(t,e){t.getAgentsResult=e},SET_GET_AGENT_RESULT(t,e){t.getAgentResult=e},SET_DELETE_HOST_RESULT(t,e){t.deleteHostResult=e},SET_DELETE_HOST_CRON_RESULT(t,e){t.deleteHostCronResult=e},SET_DELETE_HOST_JOB_RESULT(t,e){t.deleteHostJobResult=e},SET_DELETE_AGENT_RESULT(t,e){t.deleteAgentResult=e},SET_CREATE_HOST_CRON_RESULT(t,e){t.createHostCronResult=e},SET_UPDATE_HOST_CRON_RESULT(t,e){t.updateHostCronResult=e},SET_UPDATE_HOST_JOB_RESULT(t,e){t.updateHostJobResult=e}};var ut={namespaced:!0,state:st,getters:at,actions:rt,mutations:it};n.ZP.use(R.ZP);var lt=new R.ZP.Store({modules:{tower:L,auth:k,settings:q,host:ut}});n.ZP.use(R.ZP),n.ZP.use(m.ZP,{defaultIconPack:"fas"}),n.ZP.config.productionTip=!1,n.ZP.prototype.$http=S(),new n.ZP({store:lt,router:T,render:t=>t(c)}).$mount("#app")}},e={};function o(n){var s=e[n];if(void 0!==s)return s.exports;var a=e[n]={exports:{}};return t[n](a,a.exports,o),a.exports}o.m=t,function(){var t=[];o.O=function(e,n,s,a){if(!n){var r=1/0;for(c=0;c=a)&&Object.keys(o.O).every((function(t){return o.O[t](n[u])}))?n.splice(u--,1):(i=!1,a0&&t[c-1][2]>a;c--)t[c]=t[c-1];t[c]=[n,s,a]}}(),function(){o.n=function(t){var e=t&&t.__esModule?function(){return t["default"]}:function(){return t};return o.d(e,{a:e}),e}}(),function(){o.d=function(t,e){for(var n in e)o.o(e,n)&&!o.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})}}(),function(){o.f={},o.e=function(t){return Promise.all(Object.keys(o.f).reduce((function(e,n){return o.f[n](t,e),e}),[]))}}(),function(){o.u=function(t){return"js/"+t+"."+{180:"b6903465",557:"1f9d86b5",595:"10b3febc",751:"af155490",757:"e4dfe4e7",974:"65a91436"}[t]+".js"}}(),function(){o.miniCssF=function(t){return"css/"+t+".6df746cc.css"}}(),function(){o.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"===typeof window)return window}}()}(),function(){o.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)}}(),function(){var t={},e="web:";o.l=function(n,s,a,r){if(t[n])t[n].push(s);else{var i,u;if(void 0!==a)for(var l=document.getElementsByTagName("script"),c=0;c\n\n\n\n\n\n\n","import mod from \"-!../node_modules/thread-loader/dist/cjs.js!../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./App.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../node_modules/thread-loader/dist/cjs.js!../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./App.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./App.vue?vue&type=template&id=bac43db4&\"\nimport script from \"./App.vue?vue&type=script&lang=js&\"\nexport * from \"./App.vue?vue&type=script&lang=js&\"\nimport style0 from \"./App.vue?vue&type=style&index=0&id=bac43db4&prod&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","/** @format */\n\nimport Vue from \"vue\";\nimport VueRouter from \"vue-router\";\n\nVue.use(VueRouter);\n\nconst routes = [\n\t{\n\t\tpath: \"/\",\n\t\tname: \"Home\",\n\t\tcomponent: () => import(\"../views/Home.vue\"),\n\t\tmeta: {\n\t\t\trequiresAuth: false,\n\t\t},\n\t},\n\t{\n\t\tpath: \"/login\",\n\t\tname: \"Login\",\n\t\tcomponent: () => import(\"../views/Login.vue\"),\n\t\tmeta: {\n\t\t\trequiresAuth: false,\n\t\t},\n\t},\n\t{\n\t\tpath: \"/hosts\",\n\t\tname: \"Hosts\",\n\t\tcomponent: () => import(\"../views/Hosts.vue\"),\n\t\tmeta: {\n\t\t\trequiresAuth: true,\n\t\t},\n\t},\n\t{\n\t\tpath: \"/hosts/:hostId\",\n\t\tname: \"Host\",\n\t\tcomponent: () => import(\"../views/Host.vue\"),\n\t\tmeta: {\n\t\t\trequiresAuth: true,\n\t\t},\n\t},\n\t{\n\t\tpath: \"/settings\",\n\t\tname: \"Settings\",\n\t\tcomponent: () => import(\"../views/Settings.vue\"),\n\t\tmeta: {\n\t\t\trequiresAuth: true,\n\t\t},\n\t},\n\t{\n\t\tpath: \"/404\",\n\t\tname: \"NotFound\",\n\t\tcomponent: () => import(\"../views/NotFound.vue\"),\n\t},\n\t{\n\t\tpath: \"*\",\n\t\tredirect: \"/404\",\n\t},\n];\n\nconst router = new VueRouter({\n\troutes,\n});\n\n// Auth Middleware\nrouter.beforeEach((to, from, next) => {\n\tif (to.matched.some((record) => record.meta.requiresAuth)) {\n\t\tif (localStorage.getItem(\"user_api_key\") == null) {\n\t\t\tnext({\n\t\t\t\tpath: \"/login\",\n\t\t\t\tparams: { nextUrl: to.fullPath },\n\t\t\t});\n\t\t}\n\t} else if (to.name == \"Login\") {\n\t\tlocalStorage.removeItem(\"user_api_key\");\n\t}\n\tnext();\n});\n\nexport default router;\n","/** @format */\n\nimport axios from \"axios\";\n\nconst ApiService = {\n\tgetURL(endpoint) {\n\t\tlet apiURL = \"\";\n\n\t\tif (process.env.VUE_APP_TOWER_URL) {\n\t\t\tapiURL = process.env.VUE_APP_TOWER_URL.replace(/\\/$/, \"\");\n\t\t}\n\n\t\treturn apiURL + endpoint;\n\t},\n\n\tgetHeaders() {\n\t\tlet apiKey = \"\";\n\t\tlet email = \"\";\n\t\tlet id = \"\";\n\n\t\tif (localStorage.getItem(\"user_api_key\") != null) {\n\t\t\tapiKey = localStorage.getItem(\"user_api_key\");\n\t\t}\n\n\t\tif (localStorage.getItem(\"user_email\") != null) {\n\t\t\temail = localStorage.getItem(\"user_email\");\n\t\t}\n\n\t\tif (localStorage.getItem(\"user_id\") != null) {\n\t\t\tid = localStorage.getItem(\"user_id\");\n\t\t}\n\n\t\treturn {\n\t\t\tcrossdomain: true,\n\t\t\theaders: {\n\t\t\t\t\"X-API-Key\": apiKey,\n\t\t\t\t\"X-User-Email\": email,\n\t\t\t\t\"X-User-ID\": id,\n\t\t\t\t\"X-Client-ID\": \"dashboard\",\n\t\t\t\t\"X-Requested-With\": \"XMLHttpRequest\",\n\t\t\t\t\"Content-Type\": \"application/json\",\n\t\t\t},\n\t\t};\n\t},\n\n\tget(endpoint) {\n\t\treturn axios.get(this.getURL(endpoint), this.getHeaders());\n\t},\n\n\tdelete(endpoint) {\n\t\treturn axios.delete(this.getURL(endpoint), this.getHeaders());\n\t},\n\n\tpost(endpoint, data = {}) {\n\t\treturn axios.post(this.getURL(endpoint), data, this.getHeaders());\n\t},\n\n\tput(endpoint, data = {}) {\n\t\treturn axios.put(this.getURL(endpoint), data, this.getHeaders());\n\t},\n};\n\nexport default ApiService;\n","/** @format */\n\nimport ApiService from \"./api.service.js\";\n\nconst getTowerReadiness = () => {\n\treturn ApiService.get(\"/_ready\");\n};\n\nconst getTowerHealth = () => {\n\treturn ApiService.get(\"/_health\");\n};\n\nexport { getTowerReadiness, getTowerHealth };\n","/** @format */\n\nimport { getTowerReadiness, getTowerHealth } from \"@/common/tower.api\";\n\nconst state = () => ({\n\treadiness: {},\n\thealth: {},\n});\n\nconst getters = {\n\tgetTowerReadiness: (state) => {\n\t\treturn state.readiness;\n\t},\n\tgetTowerHealth: (state) => {\n\t\treturn state.health;\n\t},\n};\n\nconst actions = {\n\tasync fetchTowerReadiness({ commit }) {\n\t\tconst result = await getTowerReadiness();\n\t\tcommit(\"SET_TOWER_READINESS\", result.data);\n\t\treturn result;\n\t},\n\n\tasync fetchTowerHealth({ commit }) {\n\t\tconst result = await getTowerHealth();\n\t\tcommit(\"SET_TOWER_HEALTH\", result.data);\n\t\treturn result;\n\t},\n};\n\nconst mutations = {\n\tSET_TOWER_READINESS(state, readiness) {\n\t\tstate.readiness = readiness;\n\t},\n\tSET_TOWER_HEALTH(state, health) {\n\t\tstate.health = health;\n\t},\n};\n\nexport default {\n\tnamespaced: true,\n\tstate,\n\tgetters,\n\tactions,\n\tmutations,\n};\n","/** @format */\n\nimport ApiService from \"./api.service.js\";\n\nconst setupAction = (payload) => {\n\treturn ApiService.post(\"/action/setup\", payload);\n};\n\nconst authAction = (payload) => {\n\treturn ApiService.post(\"/action/auth\", payload);\n};\n\nconst fetchInfo = () => {\n\treturn ApiService.get(\"/action/info\");\n};\n\nexport { setupAction, authAction, fetchInfo };\n","/** @format */\n\nimport { setupAction, authAction, fetchInfo } from \"@/common/auth.api\";\n\nconst state = () => ({\n\tauthResult: {},\n\tsetupResult: {},\n\ttowerInfo: {},\n});\n\nconst getters = {\n\tgetAuthResult: (state) => {\n\t\treturn state.authResult;\n\t},\n\tgetSetupResult: (state) => {\n\t\treturn state.setupResult;\n\t},\n\tgetTowerInfo: (state) => {\n\t\treturn state.towerInfo;\n\t},\n};\n\nconst actions = {\n\tasync authAction(context, payload) {\n\t\tconst result = await authAction(payload);\n\t\tcontext.commit(\"SET_AUTH_RESULT\", result.data);\n\t\treturn result;\n\t},\n\n\tasync setupAction(context, payload) {\n\t\tconst result = await setupAction(payload);\n\t\tcontext.commit(\"SET_SETUP_RESULT\", result.data);\n\t\treturn result;\n\t},\n\n\tasync fetchInfo(context) {\n\t\tconst result = await fetchInfo();\n\t\tcontext.commit(\"SET_TOWER_INFO\", result.data);\n\t\treturn result;\n\t},\n};\n\nconst mutations = {\n\tSET_AUTH_RESULT(state, authResult) {\n\t\tstate.authResult = authResult;\n\t},\n\tSET_SETUP_RESULT(state, setupResult) {\n\t\tstate.setupResult = setupResult;\n\t},\n\tSET_TOWER_INFO(state, towerInfo) {\n\t\tstate.towerInfo = towerInfo;\n\t},\n};\n\nexport default {\n\tnamespaced: true,\n\tstate,\n\tgetters,\n\tactions,\n\tmutations,\n};\n","/** @format */\n\nimport ApiService from \"./api.service.js\";\n\nconst updateSettings = (payload) => {\n\treturn ApiService.put(\"/api/v1/settings\", payload);\n};\n\nconst getSettings = () => {\n\treturn ApiService.get(\"/api/v1/settings\");\n};\n\nexport { updateSettings, getSettings };\n","/** @format */\n\nimport { updateSettings, getSettings } from \"@/common/settings.api\";\n\nconst state = () => ({\n\tgetSettingsResult: {},\n\tupdateSettingsResult: {},\n});\n\nconst getters = {\n\tgetSettingsResult: (state) => {\n\t\treturn state.getSettingsResult;\n\t},\n\tgetUpdateSettingsResult: (state) => {\n\t\treturn state.updateSettingsResult;\n\t},\n};\n\nconst actions = {\n\tasync getSettingsAction(context) {\n\t\tconst result = await getSettings();\n\t\tcontext.commit(\"SET_GET_SETTINGS_RESULT\", result.data);\n\t\treturn result;\n\t},\n\n\tasync updateSettingsAction(context, payload) {\n\t\tconst result = await updateSettings(payload);\n\t\tcontext.commit(\"SET_UPDATE_SETTINGS_RESULT\", result.data);\n\t\treturn result;\n\t},\n};\n\nconst mutations = {\n\tSET_GET_SETTINGS_RESULT(state, getSettingsResult) {\n\t\tstate.getSettingsResult = getSettingsResult;\n\t},\n\tSET_UPDATE_SETTINGS_RESULT(state, updateSettingsResult) {\n\t\tstate.updateSettingsResult = updateSettingsResult;\n\t},\n};\n\nexport default {\n\tnamespaced: true,\n\tstate,\n\tgetters,\n\tactions,\n\tmutations,\n};\n","/** @format */\n\nimport ApiService from \"./api.service.js\";\n\nconst getHosts = () => {\n\treturn ApiService.get(\"/api/v1/host\");\n};\n\nconst getHost = (payload) => {\n\treturn ApiService.get(\"/api/v1/host/\" + payload[\"hostname\"]);\n};\n\nconst deleteHost = (payload) => {\n\treturn ApiService.delete(\"/api/v1/host/\" + payload[\"hostname\"]);\n};\n\nconst createHostCron = (payload) => {\n\treturn ApiService.post(\n\t\t\"/api/v1/host/\" + payload[\"hostname\"] + \"/cron\",\n\t\tpayload\n\t);\n};\n\nconst getHostCrons = (payload) => {\n\treturn ApiService.get(\"/api/v1/host/\" + payload[\"hostname\"] + \"/cron\");\n};\n\nconst getHostCron = (payload) => {\n\treturn ApiService.get(\n\t\t\"/api/v1/host/\" + payload[\"hostname\"] + \"/cron/\" + payload[\"cronId\"]\n\t);\n};\n\nconst updateHostCron = (payload) => {\n\treturn ApiService.put(\n\t\t\"/api/v1/host/\" + payload[\"hostname\"] + \"/cron/\" + payload[\"cronId\"],\n\t\tpayload\n\t);\n};\n\nconst deleteHostCron = (payload) => {\n\treturn ApiService.delete(\n\t\t\"/api/v1/host/\" + payload[\"hostname\"] + \"/cron/\" + payload[\"cronId\"]\n\t);\n};\n\nconst getHostJobs = (payload) => {\n\treturn ApiService.get(\"/api/v1/host/\" + payload[\"hostname\"] + \"/job\");\n};\n\nconst getHostJob = (payload) => {\n\treturn ApiService.get(\n\t\t\"/api/v1/host/\" + payload[\"hostname\"] + \"/job/\" + payload[\"jobId\"]\n\t);\n};\n\nconst updateHostJob = (payload) => {\n\treturn ApiService.put(\n\t\t\"/api/v1/host/\" + payload[\"hostname\"] + \"/job/\" + payload[\"jobId\"],\n\t\tpayload\n\t);\n};\n\nconst deleteHostJob = (payload) => {\n\treturn ApiService.delete(\n\t\t\"/api/v1/host/\" + payload[\"hostname\"] + \"/job/\" + payload[\"jobId\"]\n\t);\n};\n\nconst getAgents = (payload) => {\n\treturn ApiService.get(\"/api/v1/host/\" + payload[\"hostname\"] + \"/agent\");\n};\n\nconst getAgent = (payload) => {\n\treturn ApiService.get(\n\t\t\"/api/v1/host/\" + payload[\"hostname\"] + \"/agent/\" + payload[\"agentId\"]\n\t);\n};\n\nconst deleteAgent = (payload) => {\n\treturn ApiService.delete(\n\t\t\"/api/v1/host/\" + payload[\"hostname\"] + \"/agent/\" + payload[\"agentId\"]\n\t);\n};\n\nexport {\n\tgetHosts,\n\tgetHost,\n\tdeleteHost,\n\tcreateHostCron,\n\tgetHostCrons,\n\tgetHostCron,\n\tupdateHostCron,\n\tdeleteHostCron,\n\tgetHostJobs,\n\tgetHostJob,\n\tupdateHostJob,\n\tdeleteHostJob,\n\tgetAgents,\n\tgetAgent,\n\tdeleteAgent,\n};\n","/** @format */\n\nimport {\n\tgetHosts,\n\tgetHost,\n\tgetHostCrons,\n\tgetHostCron,\n\tgetHostJobs,\n\tgetHostJob,\n\tgetAgents,\n\tgetAgent,\n\tdeleteHost,\n\tdeleteHostCron,\n\tdeleteHostJob,\n\tdeleteAgent,\n\tcreateHostCron,\n\tupdateHostCron,\n\tupdateHostJob,\n} from \"@/common/host.api\";\n\nconst state = () => ({\n\tgetHostsResult: {},\n\tgetHostResult: {},\n\tgetHostCronsResult: {},\n\tgetHostCronResult: {},\n\tgetHostJobsResult: {},\n\tgetHostJobResult: {},\n\tgetAgentsResult: {},\n\tgetAgentResult: {},\n\tdeleteHostResult: {},\n\tdeleteHostCronResult: {},\n\tdeleteHostJobResult: {},\n\tdeleteAgentResult: {},\n\tcreateHostCronResult: {},\n\tupdateHostCronResult: {},\n\tupdateHostJobResult: {},\n});\n\nconst getters = {\n\tgetHostsResult: (state) => {\n\t\treturn state.getHostsResult;\n\t},\n\tgetHostResult: (state) => {\n\t\treturn state.getHostResult;\n\t},\n\tgetHostCronsResult: (state) => {\n\t\treturn state.getHostCronsResult;\n\t},\n\tgetHostCronResult: (state) => {\n\t\treturn state.getHostCronResult;\n\t},\n\tgetHostJobsResult: (state) => {\n\t\treturn state.getHostJobsResult;\n\t},\n\tgetHostJobResult: (state) => {\n\t\treturn state.getHostJobResult;\n\t},\n\tgetAgentsResult: (state) => {\n\t\treturn state.getAgentsResult;\n\t},\n\tgetAgentResult: (state) => {\n\t\treturn state.getAgentResult;\n\t},\n\tgetDeleteHostResult: (state) => {\n\t\treturn state.deleteHostResult;\n\t},\n\tgetDeleteHostCronResult: (state) => {\n\t\treturn state.deleteHostCronResult;\n\t},\n\tgetDeleteHostJobResult: (state) => {\n\t\treturn state.deleteHostJobResult;\n\t},\n\tgetDeleteAgentResult: (state) => {\n\t\treturn state.deleteAgentResult;\n\t},\n\tgetCreateHostCronResult: (state) => {\n\t\treturn state.createHostCronResult;\n\t},\n\tgetUpdateHostCronResult: (state) => {\n\t\treturn state.updateHostCronResult;\n\t},\n\tgetUpdateHostJobResult: (state) => {\n\t\treturn state.updateHostJobResult;\n\t},\n};\n\nconst actions = {\n\tasync getHostsAction(context) {\n\t\tconst result = await getHosts();\n\t\tcontext.commit(\"SET_GET_HOSTS_RESULT\", result.data);\n\t\treturn result;\n\t},\n\tasync getHostAction(context, payload) {\n\t\tconst result = await getHost(payload);\n\t\tcontext.commit(\"SET_GET_HOST_RESULT\", result.data);\n\t\treturn result;\n\t},\n\tasync getHostCronsAction(context, payload) {\n\t\tconst result = await getHostCrons(payload);\n\t\tcontext.commit(\"SET_GET_HOST_CRONS_RESULT\", result.data);\n\t\treturn result;\n\t},\n\tasync getHostCronAction(context, payload) {\n\t\tconst result = await getHostCron(payload);\n\t\tcontext.commit(\"SET_GET_HOST_CRON_RESULT\", result.data);\n\t\treturn result;\n\t},\n\tasync getHostJobsAction(context, payload) {\n\t\tconst result = await getHostJobs(payload);\n\t\tcontext.commit(\"SET_GET_HOST_JOBS_RESULT\", result.data);\n\t\treturn result;\n\t},\n\tasync getHostJobAction(context, payload) {\n\t\tconst result = await getHostJob(payload);\n\t\tcontext.commit(\"SET_GET_HOST_JOB_RESULT\", result.data);\n\t\treturn result;\n\t},\n\tasync getAgentsAction(context, payload) {\n\t\tconst result = await getAgents(payload);\n\t\tcontext.commit(\"SET_GET_AGENTS_RESULT\", result.data);\n\t\treturn result;\n\t},\n\tasync getAgentAction(context, payload) {\n\t\tconst result = await getAgent(payload);\n\t\tcontext.commit(\"SET_GET_AGENT_RESULT\", result.data);\n\t\treturn result;\n\t},\n\tasync deleteHostAction(context, payload) {\n\t\tconst result = await deleteHost(payload);\n\t\tcontext.commit(\"SET_DELETE_HOST_RESULT\", result.data);\n\t\treturn result;\n\t},\n\tasync deleteHostCronAction(context, payload) {\n\t\tconst result = await deleteHostCron(payload);\n\t\tcontext.commit(\"SET_DELETE_HOST_CRON_RESULT\", result.data);\n\t\treturn result;\n\t},\n\tasync deleteHostJobAction(context, payload) {\n\t\tconst result = await deleteHostJob(payload);\n\t\tcontext.commit(\"SET_DELETE_HOST_JOB_RESULT\", result.data);\n\t\treturn result;\n\t},\n\tasync deleteAgentAction(context, payload) {\n\t\tconst result = await deleteAgent(payload);\n\t\tcontext.commit(\"SET_DELETE_AGENT_RESULT\", result.data);\n\t\treturn result;\n\t},\n\tasync createHostCronAction(context, payload) {\n\t\tconst result = await createHostCron(payload);\n\t\tcontext.commit(\"SET_CREATE_HOST_CRON_RESULT\", result.data);\n\t\treturn result;\n\t},\n\tasync updateHostCronAction(context, payload) {\n\t\tconst result = await updateHostCron(payload);\n\t\tcontext.commit(\"SET_UPDATE_HOST_CRON_RESULT\", result.data);\n\t\treturn result;\n\t},\n\tasync updateHostJobAction(context, payload) {\n\t\tconst result = await updateHostJob(payload);\n\t\tcontext.commit(\"SET_UPDATE_HOST_JOB_RESULT\", result.data);\n\t\treturn result;\n\t},\n};\n\nconst mutations = {\n\tSET_GET_HOSTS_RESULT(state, getHostsResult) {\n\t\tstate.getHostsResult = getHostsResult;\n\t},\n\tSET_GET_HOST_RESULT(state, getHostResult) {\n\t\tstate.getHostResult = getHostResult;\n\t},\n\tSET_GET_HOST_CRONS_RESULT(state, getHostCronsResult) {\n\t\tstate.getHostCronsResult = getHostCronsResult;\n\t},\n\tSET_GET_HOST_CRON_RESULT(state, getHostCronResult) {\n\t\tstate.getHostCronResult = getHostCronResult;\n\t},\n\tSET_GET_HOST_JOBS_RESULT(state, getHostJobsResult) {\n\t\tstate.getHostJobsResult = getHostJobsResult;\n\t},\n\tSET_GET_HOST_JOB_RESULT(state, getHostJobResult) {\n\t\tstate.getHostJobResult = getHostJobResult;\n\t},\n\tSET_GET_AGENTS_RESULT(state, getAgentsResult) {\n\t\tstate.getAgentsResult = getAgentsResult;\n\t},\n\tSET_GET_AGENT_RESULT(state, getAgentResult) {\n\t\tstate.getAgentResult = getAgentResult;\n\t},\n\tSET_DELETE_HOST_RESULT(state, deleteHostResult) {\n\t\tstate.deleteHostResult = deleteHostResult;\n\t},\n\tSET_DELETE_HOST_CRON_RESULT(state, deleteHostCronResult) {\n\t\tstate.deleteHostCronResult = deleteHostCronResult;\n\t},\n\tSET_DELETE_HOST_JOB_RESULT(state, deleteHostJobResult) {\n\t\tstate.deleteHostJobResult = deleteHostJobResult;\n\t},\n\tSET_DELETE_AGENT_RESULT(state, deleteAgentResult) {\n\t\tstate.deleteAgentResult = deleteAgentResult;\n\t},\n\tSET_CREATE_HOST_CRON_RESULT(state, createHostCronResult) {\n\t\tstate.createHostCronResult = createHostCronResult;\n\t},\n\tSET_UPDATE_HOST_CRON_RESULT(state, updateHostCronResult) {\n\t\tstate.updateHostCronResult = updateHostCronResult;\n\t},\n\tSET_UPDATE_HOST_JOB_RESULT(state, updateHostJobResult) {\n\t\tstate.updateHostJobResult = updateHostJobResult;\n\t},\n};\n\nexport default {\n\tnamespaced: true,\n\tstate,\n\tgetters,\n\tactions,\n\tmutations,\n};\n","/** @format */\n\nimport Vue from \"vue\";\nimport Vuex from \"vuex\";\nimport tower from \"./tower.module\";\nimport auth from \"./auth.module\";\nimport settings from \"./settings.module\";\nimport host from \"./host.module\";\n\nVue.use(Vuex);\n\nexport default new Vuex.Store({\n\tmodules: {\n\t\ttower,\n\t\tauth,\n\t\tsettings,\n\t\thost,\n\t},\n});\n","/** @format */\n\nimport Vue from \"vue\";\nimport App from \"./App.vue\";\nimport router from \"./router\";\nimport axios from \"axios\";\nimport Buefy from \"buefy\";\nimport \"buefy/dist/buefy.css\";\nimport Vuex from \"vuex\";\nimport store from \"./store\";\n\nVue.use(Vuex);\n\nVue.use(Buefy, { defaultIconPack: \"fas\" });\n\nVue.config.productionTip = false;\n\nVue.prototype.$http = axios;\n\nnew Vue({\n\tstore: store,\n\trouter,\n\trender: (h) => h(App),\n}).$mount(\"#app\");\n","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n// expose the modules object (__webpack_modules__)\n__webpack_require__.m = __webpack_modules__;\n\n","var deferred = [];\n__webpack_require__.O = function(result, chunkIds, fn, priority) {\n\tif(chunkIds) {\n\t\tpriority = priority || 0;\n\t\tfor(var i = deferred.length; i > 0 && deferred[i - 1][2] > priority; i--) deferred[i] = deferred[i - 1];\n\t\tdeferred[i] = [chunkIds, fn, priority];\n\t\treturn;\n\t}\n\tvar notFulfilled = Infinity;\n\tfor (var i = 0; i < deferred.length; i++) {\n\t\tvar chunkIds = deferred[i][0];\n\t\tvar fn = deferred[i][1];\n\t\tvar priority = deferred[i][2];\n\t\tvar fulfilled = true;\n\t\tfor (var j = 0; j < chunkIds.length; j++) {\n\t\t\tif ((priority & 1 === 0 || notFulfilled >= priority) && Object.keys(__webpack_require__.O).every(function(key) { return __webpack_require__.O[key](chunkIds[j]); })) {\n\t\t\t\tchunkIds.splice(j--, 1);\n\t\t\t} else {\n\t\t\t\tfulfilled = false;\n\t\t\t\tif(priority < notFulfilled) notFulfilled = priority;\n\t\t\t}\n\t\t}\n\t\tif(fulfilled) {\n\t\t\tdeferred.splice(i--, 1)\n\t\t\tvar r = fn();\n\t\t\tif (r !== undefined) result = r;\n\t\t}\n\t}\n\treturn result;\n};","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = function(module) {\n\tvar getter = module && module.__esModule ?\n\t\tfunction() { return module['default']; } :\n\t\tfunction() { return module; };\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = function(exports, definition) {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.f = {};\n// This file contains only the entry chunk.\n// The chunk loading function for additional chunks\n__webpack_require__.e = function(chunkId) {\n\treturn Promise.all(Object.keys(__webpack_require__.f).reduce(function(promises, key) {\n\t\t__webpack_require__.f[key](chunkId, promises);\n\t\treturn promises;\n\t}, []));\n};","// This function allow to reference async chunks\n__webpack_require__.u = function(chunkId) {\n\t// return url for filenames based on template\n\treturn \"js/\" + chunkId + \".\" + {\"180\":\"b6903465\",\"557\":\"1f9d86b5\",\"595\":\"10b3febc\",\"751\":\"af155490\",\"757\":\"e4dfe4e7\",\"974\":\"65a91436\"}[chunkId] + \".js\";\n};","// This function allow to reference async chunks\n__webpack_require__.miniCssF = function(chunkId) {\n\t// return url for filenames based on template\n\treturn \"css/\" + chunkId + \".\" + \"6df746cc\" + \".css\";\n};","__webpack_require__.g = (function() {\n\tif (typeof globalThis === 'object') return globalThis;\n\ttry {\n\t\treturn this || new Function('return this')();\n\t} catch (e) {\n\t\tif (typeof window === 'object') return window;\n\t}\n})();","__webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }","var inProgress = {};\nvar dataWebpackPrefix = \"web:\";\n// loadScript function to load a script via script tag\n__webpack_require__.l = function(url, done, key, chunkId) {\n\tif(inProgress[url]) { inProgress[url].push(done); return; }\n\tvar script, needAttach;\n\tif(key !== undefined) {\n\t\tvar scripts = document.getElementsByTagName(\"script\");\n\t\tfor(var i = 0; i < scripts.length; i++) {\n\t\t\tvar s = scripts[i];\n\t\t\tif(s.getAttribute(\"src\") == url || s.getAttribute(\"data-webpack\") == dataWebpackPrefix + key) { script = s; break; }\n\t\t}\n\t}\n\tif(!script) {\n\t\tneedAttach = true;\n\t\tscript = document.createElement('script');\n\n\t\tscript.charset = 'utf-8';\n\t\tscript.timeout = 120;\n\t\tif (__webpack_require__.nc) {\n\t\t\tscript.setAttribute(\"nonce\", __webpack_require__.nc);\n\t\t}\n\t\tscript.setAttribute(\"data-webpack\", dataWebpackPrefix + key);\n\t\tscript.src = url;\n\t}\n\tinProgress[url] = [done];\n\tvar onScriptComplete = function(prev, event) {\n\t\t// avoid mem leaks in IE.\n\t\tscript.onerror = script.onload = null;\n\t\tclearTimeout(timeout);\n\t\tvar doneFns = inProgress[url];\n\t\tdelete inProgress[url];\n\t\tscript.parentNode && script.parentNode.removeChild(script);\n\t\tdoneFns && doneFns.forEach(function(fn) { return fn(event); });\n\t\tif(prev) return prev(event);\n\t};\n\tvar timeout = setTimeout(onScriptComplete.bind(null, undefined, { type: 'timeout', target: script }), 120000);\n\tscript.onerror = onScriptComplete.bind(null, script.onerror);\n\tscript.onload = onScriptComplete.bind(null, script.onload);\n\tneedAttach && document.head.appendChild(script);\n};","// define __esModule on exports\n__webpack_require__.r = function(exports) {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","__webpack_require__.p = \"/\";","if (typeof document === \"undefined\") return;\nvar createStylesheet = function(chunkId, fullhref, oldTag, resolve, reject) {\n\tvar linkTag = document.createElement(\"link\");\n\n\tlinkTag.rel = \"stylesheet\";\n\tlinkTag.type = \"text/css\";\n\tvar onLinkComplete = function(event) {\n\t\t// avoid mem leaks.\n\t\tlinkTag.onerror = linkTag.onload = null;\n\t\tif (event.type === 'load') {\n\t\t\tresolve();\n\t\t} else {\n\t\t\tvar errorType = event && (event.type === 'load' ? 'missing' : event.type);\n\t\t\tvar realHref = event && event.target && event.target.href || fullhref;\n\t\t\tvar err = new Error(\"Loading CSS chunk \" + chunkId + \" failed.\\n(\" + realHref + \")\");\n\t\t\terr.code = \"CSS_CHUNK_LOAD_FAILED\";\n\t\t\terr.type = errorType;\n\t\t\terr.request = realHref;\n\t\t\tlinkTag.parentNode.removeChild(linkTag)\n\t\t\treject(err);\n\t\t}\n\t}\n\tlinkTag.onerror = linkTag.onload = onLinkComplete;\n\tlinkTag.href = fullhref;\n\n\tif (oldTag) {\n\t\toldTag.parentNode.insertBefore(linkTag, oldTag.nextSibling);\n\t} else {\n\t\tdocument.head.appendChild(linkTag);\n\t}\n\treturn linkTag;\n};\nvar findStylesheet = function(href, fullhref) {\n\tvar existingLinkTags = document.getElementsByTagName(\"link\");\n\tfor(var i = 0; i < existingLinkTags.length; i++) {\n\t\tvar tag = existingLinkTags[i];\n\t\tvar dataHref = tag.getAttribute(\"data-href\") || tag.getAttribute(\"href\");\n\t\tif(tag.rel === \"stylesheet\" && (dataHref === href || dataHref === fullhref)) return tag;\n\t}\n\tvar existingStyleTags = document.getElementsByTagName(\"style\");\n\tfor(var i = 0; i < existingStyleTags.length; i++) {\n\t\tvar tag = existingStyleTags[i];\n\t\tvar dataHref = tag.getAttribute(\"data-href\");\n\t\tif(dataHref === href || dataHref === fullhref) return tag;\n\t}\n};\nvar loadStylesheet = function(chunkId) {\n\treturn new Promise(function(resolve, reject) {\n\t\tvar href = __webpack_require__.miniCssF(chunkId);\n\t\tvar fullhref = __webpack_require__.p + href;\n\t\tif(findStylesheet(href, fullhref)) return resolve();\n\t\tcreateStylesheet(chunkId, fullhref, null, resolve, reject);\n\t});\n}\n// object to store loaded CSS chunks\nvar installedCssChunks = {\n\t143: 0\n};\n\n__webpack_require__.f.miniCss = function(chunkId, promises) {\n\tvar cssChunks = {\"974\":1};\n\tif(installedCssChunks[chunkId]) promises.push(installedCssChunks[chunkId]);\n\telse if(installedCssChunks[chunkId] !== 0 && cssChunks[chunkId]) {\n\t\tpromises.push(installedCssChunks[chunkId] = loadStylesheet(chunkId).then(function() {\n\t\t\tinstalledCssChunks[chunkId] = 0;\n\t\t}, function(e) {\n\t\t\tdelete installedCssChunks[chunkId];\n\t\t\tthrow e;\n\t\t}));\n\t}\n};\n\n// no hmr","// no baseURI\n\n// object to store loaded and loading chunks\n// undefined = chunk not loaded, null = chunk preloaded/prefetched\n// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded\nvar installedChunks = {\n\t143: 0\n};\n\n__webpack_require__.f.j = function(chunkId, promises) {\n\t\t// JSONP chunk loading for javascript\n\t\tvar installedChunkData = __webpack_require__.o(installedChunks, chunkId) ? installedChunks[chunkId] : undefined;\n\t\tif(installedChunkData !== 0) { // 0 means \"already installed\".\n\n\t\t\t// a Promise means \"currently loading\".\n\t\t\tif(installedChunkData) {\n\t\t\t\tpromises.push(installedChunkData[2]);\n\t\t\t} else {\n\t\t\t\tif(true) { // all chunks have JS\n\t\t\t\t\t// setup Promise in chunk cache\n\t\t\t\t\tvar promise = new Promise(function(resolve, reject) { installedChunkData = installedChunks[chunkId] = [resolve, reject]; });\n\t\t\t\t\tpromises.push(installedChunkData[2] = promise);\n\n\t\t\t\t\t// start chunk loading\n\t\t\t\t\tvar url = __webpack_require__.p + __webpack_require__.u(chunkId);\n\t\t\t\t\t// create error before stack unwound to get useful stacktrace later\n\t\t\t\t\tvar error = new Error();\n\t\t\t\t\tvar loadingEnded = function(event) {\n\t\t\t\t\t\tif(__webpack_require__.o(installedChunks, chunkId)) {\n\t\t\t\t\t\t\tinstalledChunkData = installedChunks[chunkId];\n\t\t\t\t\t\t\tif(installedChunkData !== 0) installedChunks[chunkId] = undefined;\n\t\t\t\t\t\t\tif(installedChunkData) {\n\t\t\t\t\t\t\t\tvar errorType = event && (event.type === 'load' ? 'missing' : event.type);\n\t\t\t\t\t\t\t\tvar realSrc = event && event.target && event.target.src;\n\t\t\t\t\t\t\t\terror.message = 'Loading chunk ' + chunkId + ' failed.\\n(' + errorType + ': ' + realSrc + ')';\n\t\t\t\t\t\t\t\terror.name = 'ChunkLoadError';\n\t\t\t\t\t\t\t\terror.type = errorType;\n\t\t\t\t\t\t\t\terror.request = realSrc;\n\t\t\t\t\t\t\t\tinstalledChunkData[1](error);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\t__webpack_require__.l(url, loadingEnded, \"chunk-\" + chunkId, chunkId);\n\t\t\t\t} else installedChunks[chunkId] = 0;\n\t\t\t}\n\t\t}\n};\n\n// no prefetching\n\n// no preloaded\n\n// no HMR\n\n// no HMR manifest\n\n__webpack_require__.O.j = function(chunkId) { return installedChunks[chunkId] === 0; };\n\n// install a JSONP callback for chunk loading\nvar webpackJsonpCallback = function(parentChunkLoadingFunction, data) {\n\tvar chunkIds = data[0];\n\tvar moreModules = data[1];\n\tvar runtime = data[2];\n\t// add \"moreModules\" to the modules object,\n\t// then flag all \"chunkIds\" as loaded and fire callback\n\tvar moduleId, chunkId, i = 0;\n\tif(chunkIds.some(function(id) { return installedChunks[id] !== 0; })) {\n\t\tfor(moduleId in moreModules) {\n\t\t\tif(__webpack_require__.o(moreModules, moduleId)) {\n\t\t\t\t__webpack_require__.m[moduleId] = moreModules[moduleId];\n\t\t\t}\n\t\t}\n\t\tif(runtime) var result = runtime(__webpack_require__);\n\t}\n\tif(parentChunkLoadingFunction) parentChunkLoadingFunction(data);\n\tfor(;i < chunkIds.length; i++) {\n\t\tchunkId = chunkIds[i];\n\t\tif(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {\n\t\t\tinstalledChunks[chunkId][0]();\n\t\t}\n\t\tinstalledChunks[chunkId] = 0;\n\t}\n\treturn __webpack_require__.O(result);\n}\n\nvar chunkLoadingGlobal = self[\"webpackChunkweb\"] = self[\"webpackChunkweb\"] || [];\nchunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));\nchunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));","// startup\n// Load entry module and return exports\n// This entry module depends on other loaded chunks and execution need to be delayed\nvar __webpack_exports__ = __webpack_require__.O(undefined, [998], function() { return __webpack_require__(5386); })\n__webpack_exports__ = __webpack_require__.O(__webpack_exports__);\n"],"names":["render","_vm","this","_c","_self","attrs","_v","logged","on","logout","refreshState","staticRenderFns","data","localStorage","methods","mounted","component","Vue","VueRouter","routes","path","name","meta","requiresAuth","redirect","router","beforeEach","to","from","next","matched","some","record","getItem","params","nextUrl","fullPath","removeItem","ApiService","getURL","endpoint","apiURL","process","VUE_APP_TOWER_URL","replace","getHeaders","apiKey","email","id","crossdomain","headers","get","axios","delete","post","put","getTowerReadiness","getTowerHealth","state","readiness","health","getters","actions","async","commit","result","mutations","SET_TOWER_READINESS","SET_TOWER_HEALTH","namespaced","setupAction","payload","authAction","fetchInfo","authResult","setupResult","towerInfo","getAuthResult","getSetupResult","getTowerInfo","context","SET_AUTH_RESULT","SET_SETUP_RESULT","SET_TOWER_INFO","updateSettings","getSettings","getSettingsResult","updateSettingsResult","getUpdateSettingsResult","SET_GET_SETTINGS_RESULT","SET_UPDATE_SETTINGS_RESULT","getHosts","getHost","deleteHost","createHostCron","getHostCrons","getHostCron","updateHostCron","deleteHostCron","getHostJobs","getHostJob","updateHostJob","deleteHostJob","getAgents","getAgent","deleteAgent","getHostsResult","getHostResult","getHostCronsResult","getHostCronResult","getHostJobsResult","getHostJobResult","getAgentsResult","getAgentResult","deleteHostResult","deleteHostCronResult","deleteHostJobResult","deleteAgentResult","createHostCronResult","updateHostCronResult","updateHostJobResult","getDeleteHostResult","getDeleteHostCronResult","getDeleteHostJobResult","getDeleteAgentResult","getCreateHostCronResult","getUpdateHostCronResult","getUpdateHostJobResult","SET_GET_HOSTS_RESULT","SET_GET_HOST_RESULT","SET_GET_HOST_CRONS_RESULT","SET_GET_HOST_CRON_RESULT","SET_GET_HOST_JOBS_RESULT","SET_GET_HOST_JOB_RESULT","SET_GET_AGENTS_RESULT","SET_GET_AGENT_RESULT","SET_DELETE_HOST_RESULT","SET_DELETE_HOST_CRON_RESULT","SET_DELETE_HOST_JOB_RESULT","SET_DELETE_AGENT_RESULT","SET_CREATE_HOST_CRON_RESULT","SET_UPDATE_HOST_CRON_RESULT","SET_UPDATE_HOST_JOB_RESULT","Vuex","modules","tower","auth","settings","host","Buefy","defaultIconPack","store","h","App","$mount","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","undefined","exports","module","__webpack_modules__","m","deferred","O","chunkIds","fn","priority","notFulfilled","Infinity","i","length","fulfilled","j","Object","keys","every","key","splice","r","n","getter","__esModule","d","a","definition","o","defineProperty","enumerable","f","e","chunkId","Promise","all","reduce","promises","u","miniCssF","g","globalThis","Function","window","obj","prop","prototype","hasOwnProperty","call","inProgress","dataWebpackPrefix","l","url","done","push","script","needAttach","scripts","document","getElementsByTagName","s","getAttribute","createElement","charset","timeout","nc","setAttribute","src","onScriptComplete","prev","event","onerror","onload","clearTimeout","doneFns","parentNode","removeChild","forEach","setTimeout","bind","type","target","head","appendChild","Symbol","toStringTag","value","p","createStylesheet","fullhref","oldTag","resolve","reject","linkTag","rel","onLinkComplete","errorType","realHref","href","err","Error","code","request","insertBefore","nextSibling","findStylesheet","existingLinkTags","tag","dataHref","existingStyleTags","loadStylesheet","installedCssChunks","miniCss","cssChunks","then","installedChunks","installedChunkData","promise","error","loadingEnded","realSrc","message","webpackJsonpCallback","parentChunkLoadingFunction","moreModules","runtime","chunkLoadingGlobal","self","__webpack_exports__"],"sourceRoot":""} \ No newline at end of file diff --git a/web/dist/js/app.308e549f.js b/web/dist/js/app.308e549f.js deleted file mode 100644 index e30d23c6..00000000 --- a/web/dist/js/app.308e549f.js +++ /dev/null @@ -1,2 +0,0 @@ -(function(){"use strict";var t={848:function(t,e,o){var n=o(144),s=function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("div",{attrs:{id:"app"}},[o("div",{attrs:{id:"nav"}},[o("router-link",{attrs:{to:"/"}},[o("b-icon",{attrs:{pack:"fas",icon:"home",size:"is-small"}}),t._v(" Home")],1),t.logged?[t._v(" | "),o("router-link",{attrs:{to:"/hosts"}},[o("b-icon",{attrs:{pack:"fas",icon:"server",size:"is-small"}}),t._v(" Hosts")],1),t._v(" | "),o("router-link",{attrs:{to:"/settings"}},[o("b-icon",{attrs:{pack:"fas",icon:"cog",size:"is-small"}}),t._v(" Settings")],1),t._v(" | "),o("a",{attrs:{href:"#"},on:{click:t.logout}},[o("b-icon",{attrs:{pack:"fas",icon:"sign-out-alt",size:"is-small"}}),t._v(" Logout")],1)]:[t._v(" | "),o("router-link",{attrs:{to:"/login"}},[o("b-icon",{attrs:{pack:"fas",icon:"sign-in-alt",size:"is-small"}}),t._v(" Login")],1)]],2),o("router-view",{on:{"refresh-state":t.refreshState}})],1)},a=[],r={data(){return{logged:null!=localStorage.getItem("user_api_key")&&null!=localStorage.getItem("user_email")}},methods:{logout(){this.logged=!1,localStorage.removeItem("user_api_key"),localStorage.removeItem("user_email"),localStorage.removeItem("user_id"),localStorage.removeItem("user_name"),this.$router.push("/login")},refreshState(){this.logged=null!=localStorage.getItem("user_api_key")&&null!=localStorage.getItem("user_email")}},mounted(){this.logged=null!=localStorage.getItem("user_api_key")&&null!=localStorage.getItem("user_email")}},i=r,u=o(1),l=(0,u.Z)(i,s,a,!1,null,null,null),c=l.exports,g=o(345);n.ZP.use(g.ZP);const _=[{path:"/",name:"Home",component:()=>o.e(629).then(o.bind(o,133)),meta:{requiresAuth:!1}},{path:"/login",name:"Login",component:()=>o.e(405).then(o.bind(o,405)),meta:{requiresAuth:!1}},{path:"/hosts",name:"Hosts",component:()=>o.e(741).then(o.bind(o,741)),meta:{requiresAuth:!0}},{path:"/hosts/:hostId",name:"Host",component:()=>o.e(41).then(o.bind(o,41)),meta:{requiresAuth:!0}},{path:"/settings",name:"Settings",component:()=>o.e(281).then(o.bind(o,281)),meta:{requiresAuth:!0}},{path:"/404",name:"NotFound",component:()=>o.e(972).then(o.bind(o,852))},{path:"*",redirect:"/404"}],d=new g.ZP({routes:_});d.beforeEach(((t,e,o)=>{t.matched.some((t=>t.meta.requiresAuth))?null==localStorage.getItem("user_api_key")&&o({path:"/login",params:{nextUrl:t.fullPath}}):"Login"==t.name&&localStorage.removeItem("user_api_key"),o()}));var T=d,E=o(669),S=o.n(E),m=o(500),R=(o(588),o(629));const h={getURL(t){let e="";return{NODE_ENV:"production",BASE_URL:"/"}.VUE_APP_TOWER_URL&&(e={NODE_ENV:"production",BASE_URL:"/"}.VUE_APP_TOWER_URL.replace(/\/$/,"")),e+t},getHeaders(){let t="",e="",o="";return null!=localStorage.getItem("user_api_key")&&(t=localStorage.getItem("user_api_key")),null!=localStorage.getItem("user_email")&&(e=localStorage.getItem("user_email")),null!=localStorage.getItem("user_id")&&(o=localStorage.getItem("user_id")),{crossdomain:!0,headers:{"X-API-Key":t,"X-User-Email":e,"X-User-ID":o,"X-Client-ID":"dashboard","X-Requested-With":"XMLHttpRequest","Content-Type":"application/json"}}},get(t){return S().get(this.getURL(t),this.getHeaders())},delete(t){return S()["delete"](this.getURL(t),this.getHeaders())},post(t,e={}){return S().post(this.getURL(t),e,this.getHeaders())},put(t,e={}){return S().put(this.getURL(t),e,this.getHeaders())}};var p=h;const f=()=>p.get("/_ready"),H=()=>p.get("/_health"),v=()=>({readiness:{},health:{}}),b={getTowerReadiness:t=>t.readiness,getTowerHealth:t=>t.health},A={async fetchTowerReadiness({commit:t}){const e=await f();return t("SET_TOWER_READINESS",e.data),e},async fetchTowerHealth({commit:t}){const e=await H();return t("SET_TOWER_HEALTH",e.data),e}},O={SET_TOWER_READINESS(t,e){t.readiness=e},SET_TOWER_HEALTH(t,e){t.health=e}};var L={namespaced:!0,state:v,getters:b,actions:A,mutations:O};const U=t=>p.post("/action/setup",t),y=t=>p.post("/action/auth",t),w=()=>p.get("/action/info"),C=()=>({authResult:{},setupResult:{},towerInfo:{}}),I={getAuthResult:t=>t.authResult,getSetupResult:t=>t.setupResult,getTowerInfo:t=>t.towerInfo},N={async authAction(t,e){const o=await y(e);return t.commit("SET_AUTH_RESULT",o.data),o},async setupAction(t,e){const o=await U(e);return t.commit("SET_SETUP_RESULT",o.data),o},async fetchInfo(t){const e=await w();return t.commit("SET_TOWER_INFO",e.data),e}},P={SET_AUTH_RESULT(t,e){t.authResult=e},SET_SETUP_RESULT(t,e){t.setupResult=e},SET_TOWER_INFO(t,e){t.towerInfo=e}};var k={namespaced:!0,state:C,getters:I,actions:N,mutations:P};const G=t=>p.put("/api/v1/settings",t),J=()=>p.get("/api/v1/settings"),D=()=>({getSettingsResult:{},updateSettingsResult:{}}),j={getSettingsResult:t=>t.getSettingsResult,getUpdateSettingsResult:t=>t.updateSettingsResult},Z={async getSettingsAction(t){const e=await J();return t.commit("SET_GET_SETTINGS_RESULT",e.data),e},async updateSettingsAction(t,e){const o=await G(e);return t.commit("SET_UPDATE_SETTINGS_RESULT",o.data),o}},B={SET_GET_SETTINGS_RESULT(t,e){t.getSettingsResult=e},SET_UPDATE_SETTINGS_RESULT(t,e){t.updateSettingsResult=e}};var q={namespaced:!0,state:D,getters:j,actions:Z,mutations:B};const W=()=>p.get("/api/v1/host"),x=t=>p.get("/api/v1/host/"+t["hostname"]),F=t=>p["delete"]("/api/v1/host/"+t["hostname"]),X=t=>p.post("/api/v1/host/"+t["hostname"]+"/cron",t),z=t=>p.get("/api/v1/host/"+t["hostname"]+"/cron"),$=t=>p.get("/api/v1/host/"+t["hostname"]+"/cron/"+t["cronId"]),M=t=>p.put("/api/v1/host/"+t["hostname"]+"/cron/"+t["cronId"],t),V=t=>p["delete"]("/api/v1/host/"+t["hostname"]+"/cron/"+t["cronId"]),K=t=>p.get("/api/v1/host/"+t["hostname"]+"/job"),Q=t=>p.get("/api/v1/host/"+t["hostname"]+"/job/"+t["jobId"]),Y=t=>p.put("/api/v1/host/"+t["hostname"]+"/job/"+t["jobId"],t),tt=t=>p["delete"]("/api/v1/host/"+t["hostname"]+"/job/"+t["jobId"]),et=t=>p.get("/api/v1/host/"+t["hostname"]+"/agent"),ot=t=>p.get("/api/v1/host/"+t["hostname"]+"/agent/"+t["agentId"]),nt=t=>p["delete"]("/api/v1/host/"+t["hostname"]+"/agent/"+t["agentId"]),st=()=>({getHostsResult:{},getHostResult:{},getHostCronsResult:{},getHostCronResult:{},getHostJobsResult:{},getHostJobResult:{},getAgentsResult:{},getAgentResult:{},deleteHostResult:{},deleteHostCronResult:{},deleteHostJobResult:{},deleteAgentResult:{},createHostCronResult:{},updateHostCronResult:{},updateHostJobResult:{}}),at={getHostsResult:t=>t.getHostsResult,getHostResult:t=>t.getHostResult,getHostCronsResult:t=>t.getHostCronsResult,getHostCronResult:t=>t.getHostCronResult,getHostJobsResult:t=>t.getHostJobsResult,getHostJobResult:t=>t.getHostJobResult,getAgentsResult:t=>t.getAgentsResult,getAgentResult:t=>t.getAgentResult,getDeleteHostResult:t=>t.deleteHostResult,getDeleteHostCronResult:t=>t.deleteHostCronResult,getDeleteHostJobResult:t=>t.deleteHostJobResult,getDeleteAgentResult:t=>t.deleteAgentResult,getCreateHostCronResult:t=>t.createHostCronResult,getUpdateHostCronResult:t=>t.updateHostCronResult,getUpdateHostJobResult:t=>t.updateHostJobResult},rt={async getHostsAction(t){const e=await W();return t.commit("SET_GET_HOSTS_RESULT",e.data),e},async getHostAction(t,e){const o=await x(e);return t.commit("SET_GET_HOST_RESULT",o.data),o},async getHostCronsAction(t,e){const o=await z(e);return t.commit("SET_GET_HOST_CRONS_RESULT",o.data),o},async getHostCronAction(t,e){const o=await $(e);return t.commit("SET_GET_HOST_CRON_RESULT",o.data),o},async getHostJobsAction(t,e){const o=await K(e);return t.commit("SET_GET_HOST_JOBS_RESULT",o.data),o},async getHostJobAction(t,e){const o=await Q(e);return t.commit("SET_GET_HOST_JOB_RESULT",o.data),o},async getAgentsAction(t,e){const o=await et(e);return t.commit("SET_GET_AGENTS_RESULT",o.data),o},async getAgentAction(t,e){const o=await ot(e);return t.commit("SET_GET_AGENT_RESULT",o.data),o},async deleteHostAction(t,e){const o=await F(e);return t.commit("SET_DELETE_HOST_RESULT",o.data),o},async deleteHostCronAction(t,e){const o=await V(e);return t.commit("SET_DELETE_HOST_CRON_RESULT",o.data),o},async deleteHostJobAction(t,e){const o=await tt(e);return t.commit("SET_DELETE_HOST_JOB_RESULT",o.data),o},async deleteAgentAction(t,e){const o=await nt(e);return t.commit("SET_DELETE_AGENT_RESULT",o.data),o},async createHostCronAction(t,e){const o=await X(e);return t.commit("SET_CREATE_HOST_CRON_RESULT",o.data),o},async updateHostCronAction(t,e){const o=await M(e);return t.commit("SET_UPDATE_HOST_CRON_RESULT",o.data),o},async updateHostJobAction(t,e){const o=await Y(e);return t.commit("SET_UPDATE_HOST_JOB_RESULT",o.data),o}},it={SET_GET_HOSTS_RESULT(t,e){t.getHostsResult=e},SET_GET_HOST_RESULT(t,e){t.getHostResult=e},SET_GET_HOST_CRONS_RESULT(t,e){t.getHostCronsResult=e},SET_GET_HOST_CRON_RESULT(t,e){t.getHostCronResult=e},SET_GET_HOST_JOBS_RESULT(t,e){t.getHostJobsResult=e},SET_GET_HOST_JOB_RESULT(t,e){t.getHostJobResult=e},SET_GET_AGENTS_RESULT(t,e){t.getAgentsResult=e},SET_GET_AGENT_RESULT(t,e){t.getAgentResult=e},SET_DELETE_HOST_RESULT(t,e){t.deleteHostResult=e},SET_DELETE_HOST_CRON_RESULT(t,e){t.deleteHostCronResult=e},SET_DELETE_HOST_JOB_RESULT(t,e){t.deleteHostJobResult=e},SET_DELETE_AGENT_RESULT(t,e){t.deleteAgentResult=e},SET_CREATE_HOST_CRON_RESULT(t,e){t.createHostCronResult=e},SET_UPDATE_HOST_CRON_RESULT(t,e){t.updateHostCronResult=e},SET_UPDATE_HOST_JOB_RESULT(t,e){t.updateHostJobResult=e}};var ut={namespaced:!0,state:st,getters:at,actions:rt,mutations:it};n.ZP.use(R.ZP);var lt=new R.ZP.Store({modules:{tower:L,auth:k,settings:q,host:ut}});n.ZP.use(R.ZP),n.ZP.use(m.ZP,{defaultIconPack:"fas"}),n.ZP.config.productionTip=!1,n.ZP.prototype.$http=S(),new n.ZP({store:lt,router:T,render:t=>t(c)}).$mount("#app")}},e={};function o(n){var s=e[n];if(void 0!==s)return s.exports;var a=e[n]={exports:{}};return t[n](a,a.exports,o),a.exports}o.m=t,function(){var t=[];o.O=function(e,n,s,a){if(!n){var r=1/0;for(c=0;c=a)&&Object.keys(o.O).every((function(t){return o.O[t](n[u])}))?n.splice(u--,1):(i=!1,a0&&t[c-1][2]>a;c--)t[c]=t[c-1];t[c]=[n,s,a]}}(),function(){o.n=function(t){var e=t&&t.__esModule?function(){return t["default"]}:function(){return t};return o.d(e,{a:e}),e}}(),function(){o.d=function(t,e){for(var n in e)o.o(e,n)&&!o.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})}}(),function(){o.f={},o.e=function(t){return Promise.all(Object.keys(o.f).reduce((function(e,n){return o.f[n](t,e),e}),[]))}}(),function(){o.u=function(t){return"js/"+t+"."+{41:"2e69457c",281:"34255600",405:"d3b391e4",629:"2147bb52",741:"e4596c42",972:"91ddac00"}[t]+".js"}}(),function(){o.miniCssF=function(t){return"css/"+t+".6df746cc.css"}}(),function(){o.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"===typeof window)return window}}()}(),function(){o.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)}}(),function(){var t={},e="web:";o.l=function(n,s,a,r){if(t[n])t[n].push(s);else{var i,u;if(void 0!==a)for(var l=document.getElementsByTagName("script"),c=0;c\n\n\n\n\n\n\n","import mod from \"-!../node_modules/thread-loader/dist/cjs.js!../node_modules/babel-loader/lib/index.js??clonedRuleSet-40[0].rules[0].use[1]!../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./App.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../node_modules/thread-loader/dist/cjs.js!../node_modules/babel-loader/lib/index.js??clonedRuleSet-40[0].rules[0].use[1]!../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./App.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./App.vue?vue&type=template&id=bac43db4&\"\nimport script from \"./App.vue?vue&type=script&lang=js&\"\nexport * from \"./App.vue?vue&type=script&lang=js&\"\nimport style0 from \"./App.vue?vue&type=style&index=0&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","/** @format */\n\nimport Vue from \"vue\";\nimport VueRouter from \"vue-router\";\n\nVue.use(VueRouter);\n\nconst routes = [\n\t{\n\t\tpath: \"/\",\n\t\tname: \"Home\",\n\t\tcomponent: () => import(\"../views/Home.vue\"),\n\t\tmeta: {\n\t\t\trequiresAuth: false,\n\t\t},\n\t},\n\t{\n\t\tpath: \"/login\",\n\t\tname: \"Login\",\n\t\tcomponent: () => import(\"../views/Login.vue\"),\n\t\tmeta: {\n\t\t\trequiresAuth: false,\n\t\t},\n\t},\n\t{\n\t\tpath: \"/hosts\",\n\t\tname: \"Hosts\",\n\t\tcomponent: () => import(\"../views/Hosts.vue\"),\n\t\tmeta: {\n\t\t\trequiresAuth: true,\n\t\t},\n\t},\n\t{\n\t\tpath: \"/hosts/:hostId\",\n\t\tname: \"Host\",\n\t\tcomponent: () => import(\"../views/Host.vue\"),\n\t\tmeta: {\n\t\t\trequiresAuth: true,\n\t\t},\n\t},\n\t{\n\t\tpath: \"/settings\",\n\t\tname: \"Settings\",\n\t\tcomponent: () => import(\"../views/Settings.vue\"),\n\t\tmeta: {\n\t\t\trequiresAuth: true,\n\t\t},\n\t},\n\t{\n\t\tpath: \"/404\",\n\t\tname: \"NotFound\",\n\t\tcomponent: () => import(\"../views/NotFound.vue\"),\n\t},\n\t{\n\t\tpath: \"*\",\n\t\tredirect: \"/404\",\n\t},\n];\n\nconst router = new VueRouter({\n\troutes,\n});\n\n// Auth Middleware\nrouter.beforeEach((to, from, next) => {\n\tif (to.matched.some((record) => record.meta.requiresAuth)) {\n\t\tif (localStorage.getItem(\"user_api_key\") == null) {\n\t\t\tnext({\n\t\t\t\tpath: \"/login\",\n\t\t\t\tparams: { nextUrl: to.fullPath },\n\t\t\t});\n\t\t}\n\t} else if (to.name == \"Login\") {\n\t\tlocalStorage.removeItem(\"user_api_key\");\n\t}\n\tnext();\n});\n\nexport default router;\n","/** @format */\n\nimport axios from \"axios\";\n\nconst ApiService = {\n\tgetURL(endpoint) {\n\t\tlet apiURL = \"\";\n\n\t\tif (process.env.VUE_APP_TOWER_URL) {\n\t\t\tapiURL = process.env.VUE_APP_TOWER_URL.replace(/\\/$/, \"\");\n\t\t}\n\n\t\treturn apiURL + endpoint;\n\t},\n\n\tgetHeaders() {\n\t\tlet apiKey = \"\";\n\t\tlet email = \"\";\n\t\tlet id = \"\";\n\n\t\tif (localStorage.getItem(\"user_api_key\") != null) {\n\t\t\tapiKey = localStorage.getItem(\"user_api_key\");\n\t\t}\n\n\t\tif (localStorage.getItem(\"user_email\") != null) {\n\t\t\temail = localStorage.getItem(\"user_email\");\n\t\t}\n\n\t\tif (localStorage.getItem(\"user_id\") != null) {\n\t\t\tid = localStorage.getItem(\"user_id\");\n\t\t}\n\n\t\treturn {\n\t\t\tcrossdomain: true,\n\t\t\theaders: {\n\t\t\t\t\"X-API-Key\": apiKey,\n\t\t\t\t\"X-User-Email\": email,\n\t\t\t\t\"X-User-ID\": id,\n\t\t\t\t\"X-Client-ID\": \"dashboard\",\n\t\t\t\t\"X-Requested-With\": \"XMLHttpRequest\",\n\t\t\t\t\"Content-Type\": \"application/json\",\n\t\t\t},\n\t\t};\n\t},\n\n\tget(endpoint) {\n\t\treturn axios.get(this.getURL(endpoint), this.getHeaders());\n\t},\n\n\tdelete(endpoint) {\n\t\treturn axios.delete(this.getURL(endpoint), this.getHeaders());\n\t},\n\n\tpost(endpoint, data = {}) {\n\t\treturn axios.post(this.getURL(endpoint), data, this.getHeaders());\n\t},\n\n\tput(endpoint, data = {}) {\n\t\treturn axios.put(this.getURL(endpoint), data, this.getHeaders());\n\t},\n};\n\nexport default ApiService;\n","/** @format */\n\nimport ApiService from \"./api.service.js\";\n\nconst getTowerReadiness = () => {\n\treturn ApiService.get(\"/_ready\");\n};\n\nconst getTowerHealth = () => {\n\treturn ApiService.get(\"/_health\");\n};\n\nexport { getTowerReadiness, getTowerHealth };\n","/** @format */\n\nimport { getTowerReadiness, getTowerHealth } from \"@/common/tower.api\";\n\nconst state = () => ({\n\treadiness: {},\n\thealth: {},\n});\n\nconst getters = {\n\tgetTowerReadiness: (state) => {\n\t\treturn state.readiness;\n\t},\n\tgetTowerHealth: (state) => {\n\t\treturn state.health;\n\t},\n};\n\nconst actions = {\n\tasync fetchTowerReadiness({ commit }) {\n\t\tconst result = await getTowerReadiness();\n\t\tcommit(\"SET_TOWER_READINESS\", result.data);\n\t\treturn result;\n\t},\n\n\tasync fetchTowerHealth({ commit }) {\n\t\tconst result = await getTowerHealth();\n\t\tcommit(\"SET_TOWER_HEALTH\", result.data);\n\t\treturn result;\n\t},\n};\n\nconst mutations = {\n\tSET_TOWER_READINESS(state, readiness) {\n\t\tstate.readiness = readiness;\n\t},\n\tSET_TOWER_HEALTH(state, health) {\n\t\tstate.health = health;\n\t},\n};\n\nexport default {\n\tnamespaced: true,\n\tstate,\n\tgetters,\n\tactions,\n\tmutations,\n};\n","/** @format */\n\nimport ApiService from \"./api.service.js\";\n\nconst setupAction = (payload) => {\n\treturn ApiService.post(\"/action/setup\", payload);\n};\n\nconst authAction = (payload) => {\n\treturn ApiService.post(\"/action/auth\", payload);\n};\n\nconst fetchInfo = () => {\n\treturn ApiService.get(\"/action/info\");\n};\n\nexport { setupAction, authAction, fetchInfo };\n","/** @format */\n\nimport { setupAction, authAction, fetchInfo } from \"@/common/auth.api\";\n\nconst state = () => ({\n\tauthResult: {},\n\tsetupResult: {},\n\ttowerInfo: {},\n});\n\nconst getters = {\n\tgetAuthResult: (state) => {\n\t\treturn state.authResult;\n\t},\n\tgetSetupResult: (state) => {\n\t\treturn state.setupResult;\n\t},\n\tgetTowerInfo: (state) => {\n\t\treturn state.towerInfo;\n\t},\n};\n\nconst actions = {\n\tasync authAction(context, payload) {\n\t\tconst result = await authAction(payload);\n\t\tcontext.commit(\"SET_AUTH_RESULT\", result.data);\n\t\treturn result;\n\t},\n\n\tasync setupAction(context, payload) {\n\t\tconst result = await setupAction(payload);\n\t\tcontext.commit(\"SET_SETUP_RESULT\", result.data);\n\t\treturn result;\n\t},\n\n\tasync fetchInfo(context) {\n\t\tconst result = await fetchInfo();\n\t\tcontext.commit(\"SET_TOWER_INFO\", result.data);\n\t\treturn result;\n\t},\n};\n\nconst mutations = {\n\tSET_AUTH_RESULT(state, authResult) {\n\t\tstate.authResult = authResult;\n\t},\n\tSET_SETUP_RESULT(state, setupResult) {\n\t\tstate.setupResult = setupResult;\n\t},\n\tSET_TOWER_INFO(state, towerInfo) {\n\t\tstate.towerInfo = towerInfo;\n\t},\n};\n\nexport default {\n\tnamespaced: true,\n\tstate,\n\tgetters,\n\tactions,\n\tmutations,\n};\n","/** @format */\n\nimport ApiService from \"./api.service.js\";\n\nconst updateSettings = (payload) => {\n\treturn ApiService.put(\"/api/v1/settings\", payload);\n};\n\nconst getSettings = () => {\n\treturn ApiService.get(\"/api/v1/settings\");\n};\n\nexport { updateSettings, getSettings };\n","/** @format */\n\nimport { updateSettings, getSettings } from \"@/common/settings.api\";\n\nconst state = () => ({\n\tgetSettingsResult: {},\n\tupdateSettingsResult: {},\n});\n\nconst getters = {\n\tgetSettingsResult: (state) => {\n\t\treturn state.getSettingsResult;\n\t},\n\tgetUpdateSettingsResult: (state) => {\n\t\treturn state.updateSettingsResult;\n\t},\n};\n\nconst actions = {\n\tasync getSettingsAction(context) {\n\t\tconst result = await getSettings();\n\t\tcontext.commit(\"SET_GET_SETTINGS_RESULT\", result.data);\n\t\treturn result;\n\t},\n\n\tasync updateSettingsAction(context, payload) {\n\t\tconst result = await updateSettings(payload);\n\t\tcontext.commit(\"SET_UPDATE_SETTINGS_RESULT\", result.data);\n\t\treturn result;\n\t},\n};\n\nconst mutations = {\n\tSET_GET_SETTINGS_RESULT(state, getSettingsResult) {\n\t\tstate.getSettingsResult = getSettingsResult;\n\t},\n\tSET_UPDATE_SETTINGS_RESULT(state, updateSettingsResult) {\n\t\tstate.updateSettingsResult = updateSettingsResult;\n\t},\n};\n\nexport default {\n\tnamespaced: true,\n\tstate,\n\tgetters,\n\tactions,\n\tmutations,\n};\n","/** @format */\n\nimport ApiService from \"./api.service.js\";\n\nconst getHosts = () => {\n\treturn ApiService.get(\"/api/v1/host\");\n};\n\nconst getHost = (payload) => {\n\treturn ApiService.get(\"/api/v1/host/\" + payload[\"hostname\"]);\n};\n\nconst deleteHost = (payload) => {\n\treturn ApiService.delete(\"/api/v1/host/\" + payload[\"hostname\"]);\n};\n\nconst createHostCron = (payload) => {\n\treturn ApiService.post(\n\t\t\"/api/v1/host/\" + payload[\"hostname\"] + \"/cron\",\n\t\tpayload\n\t);\n};\n\nconst getHostCrons = (payload) => {\n\treturn ApiService.get(\"/api/v1/host/\" + payload[\"hostname\"] + \"/cron\");\n};\n\nconst getHostCron = (payload) => {\n\treturn ApiService.get(\n\t\t\"/api/v1/host/\" + payload[\"hostname\"] + \"/cron/\" + payload[\"cronId\"]\n\t);\n};\n\nconst updateHostCron = (payload) => {\n\treturn ApiService.put(\n\t\t\"/api/v1/host/\" + payload[\"hostname\"] + \"/cron/\" + payload[\"cronId\"],\n\t\tpayload\n\t);\n};\n\nconst deleteHostCron = (payload) => {\n\treturn ApiService.delete(\n\t\t\"/api/v1/host/\" + payload[\"hostname\"] + \"/cron/\" + payload[\"cronId\"]\n\t);\n};\n\nconst getHostJobs = (payload) => {\n\treturn ApiService.get(\"/api/v1/host/\" + payload[\"hostname\"] + \"/job\");\n};\n\nconst getHostJob = (payload) => {\n\treturn ApiService.get(\n\t\t\"/api/v1/host/\" + payload[\"hostname\"] + \"/job/\" + payload[\"jobId\"]\n\t);\n};\n\nconst updateHostJob = (payload) => {\n\treturn ApiService.put(\n\t\t\"/api/v1/host/\" + payload[\"hostname\"] + \"/job/\" + payload[\"jobId\"],\n\t\tpayload\n\t);\n};\n\nconst deleteHostJob = (payload) => {\n\treturn ApiService.delete(\n\t\t\"/api/v1/host/\" + payload[\"hostname\"] + \"/job/\" + payload[\"jobId\"]\n\t);\n};\n\nconst getAgents = (payload) => {\n\treturn ApiService.get(\"/api/v1/host/\" + payload[\"hostname\"] + \"/agent\");\n};\n\nconst getAgent = (payload) => {\n\treturn ApiService.get(\n\t\t\"/api/v1/host/\" + payload[\"hostname\"] + \"/agent/\" + payload[\"agentId\"]\n\t);\n};\n\nconst deleteAgent = (payload) => {\n\treturn ApiService.delete(\n\t\t\"/api/v1/host/\" + payload[\"hostname\"] + \"/agent/\" + payload[\"agentId\"]\n\t);\n};\n\nexport {\n\tgetHosts,\n\tgetHost,\n\tdeleteHost,\n\tcreateHostCron,\n\tgetHostCrons,\n\tgetHostCron,\n\tupdateHostCron,\n\tdeleteHostCron,\n\tgetHostJobs,\n\tgetHostJob,\n\tupdateHostJob,\n\tdeleteHostJob,\n\tgetAgents,\n\tgetAgent,\n\tdeleteAgent,\n};\n","/** @format */\n\nimport {\n\tgetHosts,\n\tgetHost,\n\tgetHostCrons,\n\tgetHostCron,\n\tgetHostJobs,\n\tgetHostJob,\n\tgetAgents,\n\tgetAgent,\n\tdeleteHost,\n\tdeleteHostCron,\n\tdeleteHostJob,\n\tdeleteAgent,\n\tcreateHostCron,\n\tupdateHostCron,\n\tupdateHostJob,\n} from \"@/common/host.api\";\n\nconst state = () => ({\n\tgetHostsResult: {},\n\tgetHostResult: {},\n\tgetHostCronsResult: {},\n\tgetHostCronResult: {},\n\tgetHostJobsResult: {},\n\tgetHostJobResult: {},\n\tgetAgentsResult: {},\n\tgetAgentResult: {},\n\tdeleteHostResult: {},\n\tdeleteHostCronResult: {},\n\tdeleteHostJobResult: {},\n\tdeleteAgentResult: {},\n\tcreateHostCronResult: {},\n\tupdateHostCronResult: {},\n\tupdateHostJobResult: {},\n});\n\nconst getters = {\n\tgetHostsResult: (state) => {\n\t\treturn state.getHostsResult;\n\t},\n\tgetHostResult: (state) => {\n\t\treturn state.getHostResult;\n\t},\n\tgetHostCronsResult: (state) => {\n\t\treturn state.getHostCronsResult;\n\t},\n\tgetHostCronResult: (state) => {\n\t\treturn state.getHostCronResult;\n\t},\n\tgetHostJobsResult: (state) => {\n\t\treturn state.getHostJobsResult;\n\t},\n\tgetHostJobResult: (state) => {\n\t\treturn state.getHostJobResult;\n\t},\n\tgetAgentsResult: (state) => {\n\t\treturn state.getAgentsResult;\n\t},\n\tgetAgentResult: (state) => {\n\t\treturn state.getAgentResult;\n\t},\n\tgetDeleteHostResult: (state) => {\n\t\treturn state.deleteHostResult;\n\t},\n\tgetDeleteHostCronResult: (state) => {\n\t\treturn state.deleteHostCronResult;\n\t},\n\tgetDeleteHostJobResult: (state) => {\n\t\treturn state.deleteHostJobResult;\n\t},\n\tgetDeleteAgentResult: (state) => {\n\t\treturn state.deleteAgentResult;\n\t},\n\tgetCreateHostCronResult: (state) => {\n\t\treturn state.createHostCronResult;\n\t},\n\tgetUpdateHostCronResult: (state) => {\n\t\treturn state.updateHostCronResult;\n\t},\n\tgetUpdateHostJobResult: (state) => {\n\t\treturn state.updateHostJobResult;\n\t},\n};\n\nconst actions = {\n\tasync getHostsAction(context) {\n\t\tconst result = await getHosts();\n\t\tcontext.commit(\"SET_GET_HOSTS_RESULT\", result.data);\n\t\treturn result;\n\t},\n\tasync getHostAction(context, payload) {\n\t\tconst result = await getHost(payload);\n\t\tcontext.commit(\"SET_GET_HOST_RESULT\", result.data);\n\t\treturn result;\n\t},\n\tasync getHostCronsAction(context, payload) {\n\t\tconst result = await getHostCrons(payload);\n\t\tcontext.commit(\"SET_GET_HOST_CRONS_RESULT\", result.data);\n\t\treturn result;\n\t},\n\tasync getHostCronAction(context, payload) {\n\t\tconst result = await getHostCron(payload);\n\t\tcontext.commit(\"SET_GET_HOST_CRON_RESULT\", result.data);\n\t\treturn result;\n\t},\n\tasync getHostJobsAction(context, payload) {\n\t\tconst result = await getHostJobs(payload);\n\t\tcontext.commit(\"SET_GET_HOST_JOBS_RESULT\", result.data);\n\t\treturn result;\n\t},\n\tasync getHostJobAction(context, payload) {\n\t\tconst result = await getHostJob(payload);\n\t\tcontext.commit(\"SET_GET_HOST_JOB_RESULT\", result.data);\n\t\treturn result;\n\t},\n\tasync getAgentsAction(context, payload) {\n\t\tconst result = await getAgents(payload);\n\t\tcontext.commit(\"SET_GET_AGENTS_RESULT\", result.data);\n\t\treturn result;\n\t},\n\tasync getAgentAction(context, payload) {\n\t\tconst result = await getAgent(payload);\n\t\tcontext.commit(\"SET_GET_AGENT_RESULT\", result.data);\n\t\treturn result;\n\t},\n\tasync deleteHostAction(context, payload) {\n\t\tconst result = await deleteHost(payload);\n\t\tcontext.commit(\"SET_DELETE_HOST_RESULT\", result.data);\n\t\treturn result;\n\t},\n\tasync deleteHostCronAction(context, payload) {\n\t\tconst result = await deleteHostCron(payload);\n\t\tcontext.commit(\"SET_DELETE_HOST_CRON_RESULT\", result.data);\n\t\treturn result;\n\t},\n\tasync deleteHostJobAction(context, payload) {\n\t\tconst result = await deleteHostJob(payload);\n\t\tcontext.commit(\"SET_DELETE_HOST_JOB_RESULT\", result.data);\n\t\treturn result;\n\t},\n\tasync deleteAgentAction(context, payload) {\n\t\tconst result = await deleteAgent(payload);\n\t\tcontext.commit(\"SET_DELETE_AGENT_RESULT\", result.data);\n\t\treturn result;\n\t},\n\tasync createHostCronAction(context, payload) {\n\t\tconst result = await createHostCron(payload);\n\t\tcontext.commit(\"SET_CREATE_HOST_CRON_RESULT\", result.data);\n\t\treturn result;\n\t},\n\tasync updateHostCronAction(context, payload) {\n\t\tconst result = await updateHostCron(payload);\n\t\tcontext.commit(\"SET_UPDATE_HOST_CRON_RESULT\", result.data);\n\t\treturn result;\n\t},\n\tasync updateHostJobAction(context, payload) {\n\t\tconst result = await updateHostJob(payload);\n\t\tcontext.commit(\"SET_UPDATE_HOST_JOB_RESULT\", result.data);\n\t\treturn result;\n\t},\n};\n\nconst mutations = {\n\tSET_GET_HOSTS_RESULT(state, getHostsResult) {\n\t\tstate.getHostsResult = getHostsResult;\n\t},\n\tSET_GET_HOST_RESULT(state, getHostResult) {\n\t\tstate.getHostResult = getHostResult;\n\t},\n\tSET_GET_HOST_CRONS_RESULT(state, getHostCronsResult) {\n\t\tstate.getHostCronsResult = getHostCronsResult;\n\t},\n\tSET_GET_HOST_CRON_RESULT(state, getHostCronResult) {\n\t\tstate.getHostCronResult = getHostCronResult;\n\t},\n\tSET_GET_HOST_JOBS_RESULT(state, getHostJobsResult) {\n\t\tstate.getHostJobsResult = getHostJobsResult;\n\t},\n\tSET_GET_HOST_JOB_RESULT(state, getHostJobResult) {\n\t\tstate.getHostJobResult = getHostJobResult;\n\t},\n\tSET_GET_AGENTS_RESULT(state, getAgentsResult) {\n\t\tstate.getAgentsResult = getAgentsResult;\n\t},\n\tSET_GET_AGENT_RESULT(state, getAgentResult) {\n\t\tstate.getAgentResult = getAgentResult;\n\t},\n\tSET_DELETE_HOST_RESULT(state, deleteHostResult) {\n\t\tstate.deleteHostResult = deleteHostResult;\n\t},\n\tSET_DELETE_HOST_CRON_RESULT(state, deleteHostCronResult) {\n\t\tstate.deleteHostCronResult = deleteHostCronResult;\n\t},\n\tSET_DELETE_HOST_JOB_RESULT(state, deleteHostJobResult) {\n\t\tstate.deleteHostJobResult = deleteHostJobResult;\n\t},\n\tSET_DELETE_AGENT_RESULT(state, deleteAgentResult) {\n\t\tstate.deleteAgentResult = deleteAgentResult;\n\t},\n\tSET_CREATE_HOST_CRON_RESULT(state, createHostCronResult) {\n\t\tstate.createHostCronResult = createHostCronResult;\n\t},\n\tSET_UPDATE_HOST_CRON_RESULT(state, updateHostCronResult) {\n\t\tstate.updateHostCronResult = updateHostCronResult;\n\t},\n\tSET_UPDATE_HOST_JOB_RESULT(state, updateHostJobResult) {\n\t\tstate.updateHostJobResult = updateHostJobResult;\n\t},\n};\n\nexport default {\n\tnamespaced: true,\n\tstate,\n\tgetters,\n\tactions,\n\tmutations,\n};\n","/** @format */\n\nimport Vue from \"vue\";\nimport Vuex from \"vuex\";\nimport tower from \"./tower.module\";\nimport auth from \"./auth.module\";\nimport settings from \"./settings.module\";\nimport host from \"./host.module\";\n\nVue.use(Vuex);\n\nexport default new Vuex.Store({\n\tmodules: {\n\t\ttower,\n\t\tauth,\n\t\tsettings,\n\t\thost,\n\t},\n});\n","/** @format */\n\nimport Vue from \"vue\";\nimport App from \"./App.vue\";\nimport router from \"./router\";\nimport axios from \"axios\";\nimport Buefy from \"buefy\";\nimport \"buefy/dist/buefy.css\";\nimport Vuex from \"vuex\";\nimport store from \"./store\";\n\nVue.use(Vuex);\n\nVue.use(Buefy, { defaultIconPack: \"fas\" });\n\nVue.config.productionTip = false;\n\nVue.prototype.$http = axios;\n\nnew Vue({\n\tstore: store,\n\trouter,\n\trender: (h) => h(App),\n}).$mount(\"#app\");\n","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n// expose the modules object (__webpack_modules__)\n__webpack_require__.m = __webpack_modules__;\n\n","var deferred = [];\n__webpack_require__.O = function(result, chunkIds, fn, priority) {\n\tif(chunkIds) {\n\t\tpriority = priority || 0;\n\t\tfor(var i = deferred.length; i > 0 && deferred[i - 1][2] > priority; i--) deferred[i] = deferred[i - 1];\n\t\tdeferred[i] = [chunkIds, fn, priority];\n\t\treturn;\n\t}\n\tvar notFulfilled = Infinity;\n\tfor (var i = 0; i < deferred.length; i++) {\n\t\tvar chunkIds = deferred[i][0];\n\t\tvar fn = deferred[i][1];\n\t\tvar priority = deferred[i][2];\n\t\tvar fulfilled = true;\n\t\tfor (var j = 0; j < chunkIds.length; j++) {\n\t\t\tif ((priority & 1 === 0 || notFulfilled >= priority) && Object.keys(__webpack_require__.O).every(function(key) { return __webpack_require__.O[key](chunkIds[j]); })) {\n\t\t\t\tchunkIds.splice(j--, 1);\n\t\t\t} else {\n\t\t\t\tfulfilled = false;\n\t\t\t\tif(priority < notFulfilled) notFulfilled = priority;\n\t\t\t}\n\t\t}\n\t\tif(fulfilled) {\n\t\t\tdeferred.splice(i--, 1)\n\t\t\tvar r = fn();\n\t\t\tif (r !== undefined) result = r;\n\t\t}\n\t}\n\treturn result;\n};","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = function(module) {\n\tvar getter = module && module.__esModule ?\n\t\tfunction() { return module['default']; } :\n\t\tfunction() { return module; };\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = function(exports, definition) {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.f = {};\n// This file contains only the entry chunk.\n// The chunk loading function for additional chunks\n__webpack_require__.e = function(chunkId) {\n\treturn Promise.all(Object.keys(__webpack_require__.f).reduce(function(promises, key) {\n\t\t__webpack_require__.f[key](chunkId, promises);\n\t\treturn promises;\n\t}, []));\n};","// This function allow to reference async chunks\n__webpack_require__.u = function(chunkId) {\n\t// return url for filenames based on template\n\treturn \"js/\" + chunkId + \".\" + {\"41\":\"2e69457c\",\"281\":\"34255600\",\"405\":\"d3b391e4\",\"629\":\"2147bb52\",\"741\":\"e4596c42\",\"972\":\"91ddac00\"}[chunkId] + \".js\";\n};","// This function allow to reference async chunks\n__webpack_require__.miniCssF = function(chunkId) {\n\t// return url for filenames based on template\n\treturn \"css/\" + chunkId + \".\" + \"6df746cc\" + \".css\";\n};","__webpack_require__.g = (function() {\n\tif (typeof globalThis === 'object') return globalThis;\n\ttry {\n\t\treturn this || new Function('return this')();\n\t} catch (e) {\n\t\tif (typeof window === 'object') return window;\n\t}\n})();","__webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }","var inProgress = {};\nvar dataWebpackPrefix = \"web:\";\n// loadScript function to load a script via script tag\n__webpack_require__.l = function(url, done, key, chunkId) {\n\tif(inProgress[url]) { inProgress[url].push(done); return; }\n\tvar script, needAttach;\n\tif(key !== undefined) {\n\t\tvar scripts = document.getElementsByTagName(\"script\");\n\t\tfor(var i = 0; i < scripts.length; i++) {\n\t\t\tvar s = scripts[i];\n\t\t\tif(s.getAttribute(\"src\") == url || s.getAttribute(\"data-webpack\") == dataWebpackPrefix + key) { script = s; break; }\n\t\t}\n\t}\n\tif(!script) {\n\t\tneedAttach = true;\n\t\tscript = document.createElement('script');\n\n\t\tscript.charset = 'utf-8';\n\t\tscript.timeout = 120;\n\t\tif (__webpack_require__.nc) {\n\t\t\tscript.setAttribute(\"nonce\", __webpack_require__.nc);\n\t\t}\n\t\tscript.setAttribute(\"data-webpack\", dataWebpackPrefix + key);\n\t\tscript.src = url;\n\t}\n\tinProgress[url] = [done];\n\tvar onScriptComplete = function(prev, event) {\n\t\t// avoid mem leaks in IE.\n\t\tscript.onerror = script.onload = null;\n\t\tclearTimeout(timeout);\n\t\tvar doneFns = inProgress[url];\n\t\tdelete inProgress[url];\n\t\tscript.parentNode && script.parentNode.removeChild(script);\n\t\tdoneFns && doneFns.forEach(function(fn) { return fn(event); });\n\t\tif(prev) return prev(event);\n\t}\n\t;\n\tvar timeout = setTimeout(onScriptComplete.bind(null, undefined, { type: 'timeout', target: script }), 120000);\n\tscript.onerror = onScriptComplete.bind(null, script.onerror);\n\tscript.onload = onScriptComplete.bind(null, script.onload);\n\tneedAttach && document.head.appendChild(script);\n};","// define __esModule on exports\n__webpack_require__.r = function(exports) {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","__webpack_require__.p = \"/\";","var createStylesheet = function(chunkId, fullhref, resolve, reject) {\n\tvar linkTag = document.createElement(\"link\");\n\n\tlinkTag.rel = \"stylesheet\";\n\tlinkTag.type = \"text/css\";\n\tvar onLinkComplete = function(event) {\n\t\t// avoid mem leaks.\n\t\tlinkTag.onerror = linkTag.onload = null;\n\t\tif (event.type === 'load') {\n\t\t\tresolve();\n\t\t} else {\n\t\t\tvar errorType = event && (event.type === 'load' ? 'missing' : event.type);\n\t\t\tvar realHref = event && event.target && event.target.href || fullhref;\n\t\t\tvar err = new Error(\"Loading CSS chunk \" + chunkId + \" failed.\\n(\" + realHref + \")\");\n\t\t\terr.code = \"CSS_CHUNK_LOAD_FAILED\";\n\t\t\terr.type = errorType;\n\t\t\terr.request = realHref;\n\t\t\tlinkTag.parentNode.removeChild(linkTag)\n\t\t\treject(err);\n\t\t}\n\t}\n\tlinkTag.onerror = linkTag.onload = onLinkComplete;\n\tlinkTag.href = fullhref;\n\n\tdocument.head.appendChild(linkTag);\n\treturn linkTag;\n};\nvar findStylesheet = function(href, fullhref) {\n\tvar existingLinkTags = document.getElementsByTagName(\"link\");\n\tfor(var i = 0; i < existingLinkTags.length; i++) {\n\t\tvar tag = existingLinkTags[i];\n\t\tvar dataHref = tag.getAttribute(\"data-href\") || tag.getAttribute(\"href\");\n\t\tif(tag.rel === \"stylesheet\" && (dataHref === href || dataHref === fullhref)) return tag;\n\t}\n\tvar existingStyleTags = document.getElementsByTagName(\"style\");\n\tfor(var i = 0; i < existingStyleTags.length; i++) {\n\t\tvar tag = existingStyleTags[i];\n\t\tvar dataHref = tag.getAttribute(\"data-href\");\n\t\tif(dataHref === href || dataHref === fullhref) return tag;\n\t}\n};\nvar loadStylesheet = function(chunkId) {\n\treturn new Promise(function(resolve, reject) {\n\t\tvar href = __webpack_require__.miniCssF(chunkId);\n\t\tvar fullhref = __webpack_require__.p + href;\n\t\tif(findStylesheet(href, fullhref)) return resolve();\n\t\tcreateStylesheet(chunkId, fullhref, resolve, reject);\n\t});\n}\n// object to store loaded CSS chunks\nvar installedCssChunks = {\n\t143: 0\n};\n\n__webpack_require__.f.miniCss = function(chunkId, promises) {\n\tvar cssChunks = {\"629\":1};\n\tif(installedCssChunks[chunkId]) promises.push(installedCssChunks[chunkId]);\n\telse if(installedCssChunks[chunkId] !== 0 && cssChunks[chunkId]) {\n\t\tpromises.push(installedCssChunks[chunkId] = loadStylesheet(chunkId).then(function() {\n\t\t\tinstalledCssChunks[chunkId] = 0;\n\t\t}, function(e) {\n\t\t\tdelete installedCssChunks[chunkId];\n\t\t\tthrow e;\n\t\t}));\n\t}\n};\n\n// no hmr","// no baseURI\n\n// object to store loaded and loading chunks\n// undefined = chunk not loaded, null = chunk preloaded/prefetched\n// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded\nvar installedChunks = {\n\t143: 0\n};\n\n__webpack_require__.f.j = function(chunkId, promises) {\n\t\t// JSONP chunk loading for javascript\n\t\tvar installedChunkData = __webpack_require__.o(installedChunks, chunkId) ? installedChunks[chunkId] : undefined;\n\t\tif(installedChunkData !== 0) { // 0 means \"already installed\".\n\n\t\t\t// a Promise means \"currently loading\".\n\t\t\tif(installedChunkData) {\n\t\t\t\tpromises.push(installedChunkData[2]);\n\t\t\t} else {\n\t\t\t\tif(true) { // all chunks have JS\n\t\t\t\t\t// setup Promise in chunk cache\n\t\t\t\t\tvar promise = new Promise(function(resolve, reject) { installedChunkData = installedChunks[chunkId] = [resolve, reject]; });\n\t\t\t\t\tpromises.push(installedChunkData[2] = promise);\n\n\t\t\t\t\t// start chunk loading\n\t\t\t\t\tvar url = __webpack_require__.p + __webpack_require__.u(chunkId);\n\t\t\t\t\t// create error before stack unwound to get useful stacktrace later\n\t\t\t\t\tvar error = new Error();\n\t\t\t\t\tvar loadingEnded = function(event) {\n\t\t\t\t\t\tif(__webpack_require__.o(installedChunks, chunkId)) {\n\t\t\t\t\t\t\tinstalledChunkData = installedChunks[chunkId];\n\t\t\t\t\t\t\tif(installedChunkData !== 0) installedChunks[chunkId] = undefined;\n\t\t\t\t\t\t\tif(installedChunkData) {\n\t\t\t\t\t\t\t\tvar errorType = event && (event.type === 'load' ? 'missing' : event.type);\n\t\t\t\t\t\t\t\tvar realSrc = event && event.target && event.target.src;\n\t\t\t\t\t\t\t\terror.message = 'Loading chunk ' + chunkId + ' failed.\\n(' + errorType + ': ' + realSrc + ')';\n\t\t\t\t\t\t\t\terror.name = 'ChunkLoadError';\n\t\t\t\t\t\t\t\terror.type = errorType;\n\t\t\t\t\t\t\t\terror.request = realSrc;\n\t\t\t\t\t\t\t\tinstalledChunkData[1](error);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\t__webpack_require__.l(url, loadingEnded, \"chunk-\" + chunkId, chunkId);\n\t\t\t\t} else installedChunks[chunkId] = 0;\n\t\t\t}\n\t\t}\n};\n\n// no prefetching\n\n// no preloaded\n\n// no HMR\n\n// no HMR manifest\n\n__webpack_require__.O.j = function(chunkId) { return installedChunks[chunkId] === 0; };\n\n// install a JSONP callback for chunk loading\nvar webpackJsonpCallback = function(parentChunkLoadingFunction, data) {\n\tvar chunkIds = data[0];\n\tvar moreModules = data[1];\n\tvar runtime = data[2];\n\t// add \"moreModules\" to the modules object,\n\t// then flag all \"chunkIds\" as loaded and fire callback\n\tvar moduleId, chunkId, i = 0;\n\tif(chunkIds.some(function(id) { return installedChunks[id] !== 0; })) {\n\t\tfor(moduleId in moreModules) {\n\t\t\tif(__webpack_require__.o(moreModules, moduleId)) {\n\t\t\t\t__webpack_require__.m[moduleId] = moreModules[moduleId];\n\t\t\t}\n\t\t}\n\t\tif(runtime) var result = runtime(__webpack_require__);\n\t}\n\tif(parentChunkLoadingFunction) parentChunkLoadingFunction(data);\n\tfor(;i < chunkIds.length; i++) {\n\t\tchunkId = chunkIds[i];\n\t\tif(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {\n\t\t\tinstalledChunks[chunkId][0]();\n\t\t}\n\t\tinstalledChunks[chunkId] = 0;\n\t}\n\treturn __webpack_require__.O(result);\n}\n\nvar chunkLoadingGlobal = self[\"webpackChunkweb\"] = self[\"webpackChunkweb\"] || [];\nchunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));\nchunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));","// startup\n// Load entry module and return exports\n// This entry module depends on other loaded chunks and execution need to be delayed\nvar __webpack_exports__ = __webpack_require__.O(undefined, [998], function() { return __webpack_require__(848); })\n__webpack_exports__ = __webpack_require__.O(__webpack_exports__);\n"],"names":["render","_vm","this","_h","$createElement","_c","_self","attrs","_v","on","logout","refreshState","staticRenderFns","data","logged","localStorage","methods","mounted","component","Vue","VueRouter","routes","path","name","meta","requiresAuth","redirect","router","beforeEach","to","from","next","matched","some","record","getItem","params","nextUrl","fullPath","removeItem","ApiService","getURL","endpoint","apiURL","process","VUE_APP_TOWER_URL","replace","getHeaders","apiKey","email","id","crossdomain","headers","get","axios","delete","post","put","getTowerReadiness","getTowerHealth","state","readiness","health","getters","actions","async","commit","result","mutations","SET_TOWER_READINESS","SET_TOWER_HEALTH","namespaced","setupAction","payload","authAction","fetchInfo","authResult","setupResult","towerInfo","getAuthResult","getSetupResult","getTowerInfo","context","SET_AUTH_RESULT","SET_SETUP_RESULT","SET_TOWER_INFO","updateSettings","getSettings","getSettingsResult","updateSettingsResult","getUpdateSettingsResult","SET_GET_SETTINGS_RESULT","SET_UPDATE_SETTINGS_RESULT","getHosts","getHost","deleteHost","createHostCron","getHostCrons","getHostCron","updateHostCron","deleteHostCron","getHostJobs","getHostJob","updateHostJob","deleteHostJob","getAgents","getAgent","deleteAgent","getHostsResult","getHostResult","getHostCronsResult","getHostCronResult","getHostJobsResult","getHostJobResult","getAgentsResult","getAgentResult","deleteHostResult","deleteHostCronResult","deleteHostJobResult","deleteAgentResult","createHostCronResult","updateHostCronResult","updateHostJobResult","getDeleteHostResult","getDeleteHostCronResult","getDeleteHostJobResult","getDeleteAgentResult","getCreateHostCronResult","getUpdateHostCronResult","getUpdateHostJobResult","SET_GET_HOSTS_RESULT","SET_GET_HOST_RESULT","SET_GET_HOST_CRONS_RESULT","SET_GET_HOST_CRON_RESULT","SET_GET_HOST_JOBS_RESULT","SET_GET_HOST_JOB_RESULT","SET_GET_AGENTS_RESULT","SET_GET_AGENT_RESULT","SET_DELETE_HOST_RESULT","SET_DELETE_HOST_CRON_RESULT","SET_DELETE_HOST_JOB_RESULT","SET_DELETE_AGENT_RESULT","SET_CREATE_HOST_CRON_RESULT","SET_UPDATE_HOST_CRON_RESULT","SET_UPDATE_HOST_JOB_RESULT","Vuex","modules","tower","auth","settings","host","Buefy","defaultIconPack","store","h","App","$mount","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","undefined","exports","module","__webpack_modules__","m","deferred","O","chunkIds","fn","priority","notFulfilled","Infinity","i","length","fulfilled","j","Object","keys","every","key","splice","r","n","getter","__esModule","d","a","definition","o","defineProperty","enumerable","f","e","chunkId","Promise","all","reduce","promises","u","miniCssF","g","globalThis","Function","window","obj","prop","prototype","hasOwnProperty","call","inProgress","dataWebpackPrefix","l","url","done","push","script","needAttach","scripts","document","getElementsByTagName","s","getAttribute","createElement","charset","timeout","nc","setAttribute","src","onScriptComplete","prev","event","onerror","onload","clearTimeout","doneFns","parentNode","removeChild","forEach","setTimeout","bind","type","target","head","appendChild","Symbol","toStringTag","value","p","createStylesheet","fullhref","resolve","reject","linkTag","rel","onLinkComplete","errorType","realHref","href","err","Error","code","request","findStylesheet","existingLinkTags","tag","dataHref","existingStyleTags","loadStylesheet","installedCssChunks","miniCss","cssChunks","then","installedChunks","installedChunkData","promise","error","loadingEnded","realSrc","message","webpackJsonpCallback","parentChunkLoadingFunction","moreModules","runtime","chunkLoadingGlobal","self","__webpack_exports__"],"sourceRoot":""} \ No newline at end of file diff --git a/web/dist/js/chunk-vendors.4d3080e8.js b/web/dist/js/chunk-vendors.4d3080e8.js deleted file mode 100644 index ad1d7d9f..00000000 --- a/web/dist/js/chunk-vendors.4d3080e8.js +++ /dev/null @@ -1,13 +0,0 @@ -(self["webpackChunkweb"]=self["webpackChunkweb"]||[]).push([[998],{1:function(e,t,n){"use strict";function i(e,t,n,i,a,r,o,s){var l,c="function"===typeof e?e.options:e;if(t&&(c.render=t,c.staticRenderFns=n,c._compiled=!0),i&&(c.functional=!0),r&&(c._scopeId="data-v-"+r),o?(l=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),a&&a.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(o)},c._ssrRegister=l):a&&(l=s?function(){a.call(this,(c.functional?this.parent:this).$root.$options.shadowRoot)}:a),l)if(c.functional){c._injectStyles=l;var u=c.render;c.render=function(e,t){return l.call(t),u(e,t)}}else{var d=c.beforeCreate;c.beforeCreate=d?[].concat(d,l):[l]}return{exports:e,options:c}}n.d(t,{Z:function(){return i}})},669:function(e,t,n){e.exports=n(609)},448:function(e,t,n){"use strict";var i=n(867),a=n(26),r=n(372),o=n(327),s=n(97),l=n(109),c=n(985),u=n(874),d=n(648),h=n(644),f=n(205);e.exports=function(e){return new Promise((function(t,n){var p,v=e.data,m=e.headers,g=e.responseType;function y(){e.cancelToken&&e.cancelToken.unsubscribe(p),e.signal&&e.signal.removeEventListener("abort",p)}i.isFormData(v)&&i.isStandardBrowserEnv()&&delete m["Content-Type"];var b=new XMLHttpRequest;if(e.auth){var w=e.auth.username||"",k=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";m.Authorization="Basic "+btoa(w+":"+k)}var C=s(e.baseURL,e.url);function S(){if(b){var i="getAllResponseHeaders"in b?l(b.getAllResponseHeaders()):null,r=g&&"text"!==g&&"json"!==g?b.response:b.responseText,o={data:r,status:b.status,statusText:b.statusText,headers:i,config:e,request:b};a((function(e){t(e),y()}),(function(e){n(e),y()}),o),b=null}}if(b.open(e.method.toUpperCase(),o(C,e.params,e.paramsSerializer),!0),b.timeout=e.timeout,"onloadend"in b?b.onloadend=S:b.onreadystatechange=function(){b&&4===b.readyState&&(0!==b.status||b.responseURL&&0===b.responseURL.indexOf("file:"))&&setTimeout(S)},b.onabort=function(){b&&(n(new d("Request aborted",d.ECONNABORTED,e,b)),b=null)},b.onerror=function(){n(new d("Network Error",d.ERR_NETWORK,e,b,b)),b=null},b.ontimeout=function(){var t=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded",i=e.transitional||u;e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),n(new d(t,i.clarifyTimeoutError?d.ETIMEDOUT:d.ECONNABORTED,e,b)),b=null},i.isStandardBrowserEnv()){var _=(e.withCredentials||c(C))&&e.xsrfCookieName?r.read(e.xsrfCookieName):void 0;_&&(m[e.xsrfHeaderName]=_)}"setRequestHeader"in b&&i.forEach(m,(function(e,t){"undefined"===typeof v&&"content-type"===t.toLowerCase()?delete m[t]:b.setRequestHeader(t,e)})),i.isUndefined(e.withCredentials)||(b.withCredentials=!!e.withCredentials),g&&"json"!==g&&(b.responseType=e.responseType),"function"===typeof e.onDownloadProgress&&b.addEventListener("progress",e.onDownloadProgress),"function"===typeof e.onUploadProgress&&b.upload&&b.upload.addEventListener("progress",e.onUploadProgress),(e.cancelToken||e.signal)&&(p=function(e){b&&(n(!e||e&&e.type?new h:e),b.abort(),b=null)},e.cancelToken&&e.cancelToken.subscribe(p),e.signal&&(e.signal.aborted?p():e.signal.addEventListener("abort",p))),v||(v=null);var x=f(C);x&&-1===["http","https","file"].indexOf(x)?n(new d("Unsupported protocol "+x+":",d.ERR_BAD_REQUEST,e)):b.send(v)}))}},609:function(e,t,n){"use strict";var i=n(867),a=n(849),r=n(321),o=n(185),s=n(546);function l(e){var t=new r(e),n=a(r.prototype.request,t);return i.extend(n,r.prototype,t),i.extend(n,t),n.create=function(t){return l(o(e,t))},n}var c=l(s);c.Axios=r,c.CanceledError=n(644),c.CancelToken=n(972),c.isCancel=n(502),c.VERSION=n(288).version,c.toFormData=n(675),c.AxiosError=n(648),c.Cancel=c.CanceledError,c.all=function(e){return Promise.all(e)},c.spread=n(713),c.isAxiosError=n(268),e.exports=c,e.exports["default"]=c},972:function(e,t,n){"use strict";var i=n(644);function a(e){if("function"!==typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise((function(e){t=e}));var n=this;this.promise.then((function(e){if(n._listeners){var t,i=n._listeners.length;for(t=0;t=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};i.forEach(["delete","get","head"],(function(e){h.headers[e]={}})),i.forEach(["post","put","patch"],(function(e){h.headers[e]=i.merge(l)})),e.exports=h},874:function(e){"use strict";e.exports={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1}},288:function(e){e.exports={version:"0.27.2"}},849:function(e){"use strict";e.exports=function(e,t){return function(){for(var n=new Array(arguments.length),i=0;i=0)return;o[t]="set-cookie"===t?(o[t]?o[t]:[]).concat([n]):o[t]?o[t]+", "+n:n}})),o):o}},205:function(e){"use strict";e.exports=function(e){var t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}},713:function(e){"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},675:function(e,t,n){"use strict";var i=n(867);function a(e,t){t=t||new FormData;var n=[];function a(e){return null===e?"":i.isDate(e)?e.toISOString():i.isArrayBuffer(e)||i.isTypedArray(e)?"function"===typeof Blob?new Blob([e]):Buffer.from(e):e}function r(e,o){if(i.isPlainObject(e)||i.isArray(e)){if(-1!==n.indexOf(e))throw Error("Circular reference detected in "+o);n.push(e),i.forEach(e,(function(e,n){if(!i.isUndefined(e)){var s,l=o?o+"."+n:n;if(e&&!o&&"object"===typeof e)if(i.endsWith(n,"{}"))e=JSON.stringify(e);else if(i.endsWith(n,"[]")&&(s=i.toArray(e)))return void s.forEach((function(e){!i.isUndefined(e)&&t.append(l,a(e))}));r(e,l)}})),n.pop()}else t.append(o,a(e))}return r(e),t}e.exports=a},875:function(e,t,n){"use strict";var i=n(288).version,a=n(648),r={};["object","boolean","number","function","string","symbol"].forEach((function(e,t){r[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}}));var o={};function s(e,t,n){if("object"!==typeof e)throw new a("options must be an object",a.ERR_BAD_OPTION_VALUE);var i=Object.keys(e),r=i.length;while(r-- >0){var o=i[r],s=t[o];if(s){var l=e[o],c=void 0===l||s(l,o,e);if(!0!==c)throw new a("option "+o+" must be "+c,a.ERR_BAD_OPTION_VALUE)}else if(!0!==n)throw new a("Unknown option "+o,a.ERR_BAD_OPTION)}}r.transitional=function(e,t,n){function r(e,t){return"[Axios v"+i+"] Transitional option '"+e+"'"+t+(n?". "+n:"")}return function(n,i,s){if(!1===e)throw new a(r(i," has been removed"+(t?" in "+t:"")),a.ERR_DEPRECATED);return t&&!o[i]&&(o[i]=!0,console.warn(r(i," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,i,s)}},e.exports={assertOptions:s,validators:r}},867:function(e,t,n){"use strict";var i=n(849),a=Object.prototype.toString,r=function(e){return function(t){var n=a.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())}}(Object.create(null));function o(e){return e=e.toLowerCase(),function(t){return r(t)===e}}function s(e){return Array.isArray(e)}function l(e){return"undefined"===typeof e}function c(e){return null!==e&&!l(e)&&null!==e.constructor&&!l(e.constructor)&&"function"===typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}var u=o("ArrayBuffer");function d(e){var t;return t="undefined"!==typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&u(e.buffer),t}function h(e){return"string"===typeof e}function f(e){return"number"===typeof e}function p(e){return null!==e&&"object"===typeof e}function v(e){if("object"!==r(e))return!1;var t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}var m=o("Date"),g=o("File"),y=o("Blob"),b=o("FileList");function w(e){return"[object Function]"===a.call(e)}function k(e){return p(e)&&w(e.pipe)}function C(e){var t="[object FormData]";return e&&("function"===typeof FormData&&e instanceof FormData||a.call(e)===t||w(e.toString)&&e.toString()===t)}var S=o("URLSearchParams");function _(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}function x(){return("undefined"===typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&("undefined"!==typeof window&&"undefined"!==typeof document)}function D(e,t){if(null!==e&&"undefined"!==typeof e)if("object"!==typeof e&&(e=[e]),s(e))for(var n=0,i=e.length;n0)r=i[a],o[r]||(t[r]=e[r],o[r]=!0);e=Object.getPrototypeOf(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t}function T(e,t,n){e=String(e),(void 0===n||n>e.length)&&(n=e.length),n-=t.length;var i=e.indexOf(t,n);return-1!==i&&i===n}function B(e){if(!e)return null;var t=e.length;if(l(t))return null;var n=new Array(t);while(t-- >0)n[t]=e[t];return n}var E=function(e){return function(t){return e&&t instanceof e}}("undefined"!==typeof Uint8Array&&Object.getPrototypeOf(Uint8Array));e.exports={isArray:s,isArrayBuffer:u,isBuffer:c,isFormData:C,isArrayBufferView:d,isString:h,isNumber:f,isObject:p,isPlainObject:v,isUndefined:l,isDate:m,isFile:g,isBlob:y,isFunction:w,isStream:k,isURLSearchParams:S,isStandardBrowserEnv:x,forEach:D,merge:$,extend:A,trim:_,stripBOM:P,inherits:O,toFlatObject:M,kindOf:r,kindOfTest:o,endsWith:T,toArray:B,isTypedArray:E,isFileList:b}},500:function(e,t,n){"use strict";function i(e){return i="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i(e)}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){for(var n=0;n=0||(a[n]=e[n]);return a}function y(e,t){if(null==e)return{};var n,i,a=g(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}function b(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function w(e,t){return!t||"object"!==typeof t&&"function"!==typeof t?b(e):t}function k(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function C(e,t){return D(e)||A(e,t)||O()}function S(e){return D(e)||$(e)||O()}function _(e){return x(e)||$(e)||P()}function x(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t0?1:0}n.d(t,{ZP:function(){return _v}});var T=Math.sign||M;function B(e,t){return(e&t)===t}function E(e,t){return(e%t+t)%t}function F(e,t,n){return Math.max(t,Math.min(n,e))}function I(e,t){return t.split(".").reduce((function(e,t){return e?e[t]:null}),e)}function N(e,t,n){if(!e)return-1;if(!n||"function"!==typeof n)return e.indexOf(t);for(var i=0;i2&&void 0!==arguments[2]&&arguments[2];if(i||!Object.assign){var a=function(e){return R(n[e])&&null!==t&&t.hasOwnProperty(e)&&R(t[e])},r=Object.getOwnPropertyNames(n).map((function(r){return s({},r,a(r)?e(t[r],n[r],i):n[r])})).reduce((function(e,t){return c({},e,{},t)}),{});return c({},t,{},r)}return Object.assign(t,n)},V=L,H={Android:function(){return"undefined"!==typeof window&&window.navigator.userAgent.match(/Android/i)},BlackBerry:function(){return"undefined"!==typeof window&&window.navigator.userAgent.match(/BlackBerry/i)},iOS:function(){return"undefined"!==typeof window&&(window.navigator.userAgent.match(/iPhone|iPad|iPod/i)||"MacIntel"===window.navigator.platform&&window.navigator.maxTouchPoints>1)},Opera:function(){return"undefined"!==typeof window&&window.navigator.userAgent.match(/Opera Mini/i)},Windows:function(){return"undefined"!==typeof window&&window.navigator.userAgent.match(/IEMobile/i)},any:function(){return H.Android()||H.BlackBerry()||H.iOS()||H.Opera()||H.Windows()}};function j(e){"undefined"!==typeof e.remove?e.remove():"undefined"!==typeof e.parentNode&&null!==e.parentNode&&e.parentNode.removeChild(e)}function z(e){var t=document.createElement("div");t.style.position="absolute",t.style.left="0px",t.style.top="0px",t.style.width="100%";var n=document.createElement("div");return t.appendChild(n),n.appendChild(e),document.body.appendChild(t),t}function U(e){return e&&e._isVue}function W(e){return e?e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&"):e}function q(e){return e?e.normalize("NFD").replace(/[\u0300-\u036f]/g,""):e}function Y(e,t){var n=JSON.parse(JSON.stringify(e)),i=function(e){return function(t,n){return e.map((function(e){var i=1;"-"===e[0]&&(i=-1,e=e.substring(1));var a=I(t,e),r=I(n,e);return a>r?i:a0&&void 0!==arguments[0]?arguments[0]:void 0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"long",n=[],i=0;i<12;i++)n.push(new Date(2e3,i,15));var a=new Intl.DateTimeFormat(e,{month:t});return n.map((function(e){return a.format(e)}))}function G(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"narrow",n=[],i=0;i<7;i++){var a=new Date(2e3,0,i+1);n[a.getDay()]=a}var r=new Intl.DateTimeFormat(e,{weekday:t});return n.map((function(e){return r.format(e)}))}function J(e,t){var n=t.match(e);return e.toString().match(/<(.+?)>/g).map((function(e){var t=e.match(/<(.+)>/);return!t||t.length<=0?null:e.match(/<(.+)>/)[1]})).reduce((function(e,t,i,a){return n&&n.length>i?e[t]=n[i+1]:e[t]=null,e}),{})}function Q(){return new Promise((function(e){var t=new Image;t.onerror=function(){return e(!1)},t.onload=function(){return e(1===t.width)},t.src="data:image/webp;base64,UklGRiQAAABXRUJQVlA4IBgAAAAwAQCdASoBAAEAAwA0JaQAA3AA/vuUAAA="})).catch((function(){return!1}))}function Z(e){return"shadowRoot"in e.$root.$options}var ee,te=function(e){return void 0!==e},ne=function(e){return null===e||void 0===e},ie={defaultContainerElement:null,defaultIconPack:"mdi",defaultIconComponent:null,defaultIconPrev:"chevron-left",defaultIconNext:"chevron-right",defaultLocale:void 0,defaultDialogConfirmText:null,defaultDialogCancelText:null,defaultSnackbarDuration:3500,defaultSnackbarPosition:null,defaultToastDuration:2e3,defaultToastPosition:null,defaultNotificationDuration:2e3,defaultNotificationPosition:null,defaultTooltipType:"is-primary",defaultTooltipDelay:null,defaultTooltipCloseDelay:null,defaultSidebarDelay:null,defaultInputAutocomplete:"on",defaultDateFormatter:null,defaultDateParser:null,defaultDateCreator:null,defaultTimeCreator:null,defaultDayNames:null,defaultMonthNames:null,defaultFirstDayOfWeek:null,defaultUnselectableDaysOfWeek:null,defaultTimeFormatter:null,defaultTimeParser:null,defaultModalCanCancel:["escape","x","outside","button"],defaultModalScroll:null,defaultDatepickerMobileNative:!0,defaultTimepickerMobileNative:!0,defaultNoticeQueue:!0,defaultInputHasCounter:!0,defaultTaginputHasCounter:!0,defaultUseHtml5Validation:!0,defaultDropdownMobileModal:!0,defaultFieldLabelPosition:null,defaultDatepickerYearsRange:[-100,10],defaultDatepickerNearbyMonthDays:!0,defaultDatepickerNearbySelectableMonthDays:!1,defaultDatepickerShowWeekNumber:!1,defaultDatepickerWeekNumberClickable:!1,defaultDatepickerMobileModal:!0,defaultTrapFocus:!0,defaultAutoFocus:!0,defaultButtonRounded:!1,defaultSwitchRounded:!0,defaultCarouselInterval:3500,defaultTabsExpanded:!1,defaultTabsAnimated:!0,defaultTabsType:null,defaultStatusIcon:!0,defaultProgrammaticPromise:!1,defaultLinkTags:["a","button","input","router-link","nuxt-link","n-link","RouterLink","NuxtLink","NLink"],defaultImageWebpFallback:null,defaultImageLazy:!0,defaultImageResponsive:!0,defaultImageRatio:null,defaultImageSrcsetFormatter:null,defaultBreadcrumbTag:"a",defaultBreadcrumbAlign:"is-left",defaultBreadcrumbSeparator:"",defaultBreadcrumbSize:"is-medium",customIconPacks:null},ae=function(e){ie=e},re=function(e){ee=e};function oe(e,t,n,i,a,r,o,s,l,c){"boolean"!==typeof o&&(l=s,s=o,o=!1);var u,d="function"===typeof n?n.options:n;if(e&&e.render&&(d.render=e.render,d.staticRenderFns=e.staticRenderFns,d._compiled=!0,a&&(d.functional=!0)),i&&(d._scopeId=i),r?(u=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),t&&t.call(this,l(e)),e&&e._registeredComponents&&e._registeredComponents.add(r)},d._ssrRegister=u):t&&(u=o?function(){t.call(this,c(this.$root.$options.shadowRoot))}:function(e){t.call(this,s(e))}),u)if(d.functional){var h=d.render;d.render=function(e,t){return u.call(t),h(e,t)}}else{var f=d.beforeCreate;d.beforeCreate=f?[].concat(f,u):[u]}return n}var se=oe,le=function(e){"undefined"!==typeof window&&window.Vue&&window.Vue.use(e)},ce=function(e,t){e.component(t.name,t)},ue=function(e,t,n){e.prototype.$buefy||(e.prototype.$buefy={}),e.prototype.$buefy[t]=n},de={props:{size:String,expanded:Boolean,loading:Boolean,rounded:Boolean,icon:String,iconPack:String,autocomplete:String,maxlength:[Number,String],useHtml5Validation:{type:Boolean,default:function(){return ie.defaultUseHtml5Validation}},validationMessage:String,locale:{type:[String,Array],default:function(){return ie.defaultLocale}},statusIcon:{type:Boolean,default:function(){return ie.defaultStatusIcon}}},data:function(){return{isValid:!0,isFocused:!1,newIconPack:this.iconPack||ie.defaultIconPack}},computed:{parentField:function(){for(var e=this.$parent,t=0;t<3;t++)e&&!e.$data._isField&&(e=e.$parent);return e},statusType:function(){var e=this.parentField||{},t=e.newType;if(t){if("string"===typeof t)return t;for(var n in t)if(t[n])return n}},statusMessage:function(){if(this.parentField)return this.parentField.newMessage||this.parentField.$slots.message},iconSize:function(){switch(this.size){case"is-small":return this.size;case"is-medium":return;case"is-large":return"mdi"===this.newIconPack?"is-medium":""}}},methods:{focus:function(){var e=this.getElement();void 0!==e&&this.$nextTick((function(){e&&e.focus()}))},onBlur:function(e){this.isFocused=!1,this.$emit("blur",e),this.checkHtml5Validity()},onFocus:function(e){this.isFocused=!0,this.$emit("focus",e)},getElement:function(){var e=this.$refs[this.$data._elementRef];while(U(e))e=e.$refs[e.$data._elementRef];return e},setInvalid:function(){var e="is-danger",t=this.validationMessage||this.getElement().validationMessage;this.setValidity(e,t)},setValidity:function(e,t){var n=this;this.$nextTick((function(){n.parentField&&(n.parentField.type||(n.parentField.newType=e),n.parentField.message||(n.parentField.newMessage=t))}))},checkHtml5Validity:function(){if(this.useHtml5Validation){var e=this.getElement();if(void 0!==e)return e.checkValidity()?(this.setValidity(null,null),this.isValid=!0):(this.setInvalid(),this.isValid=!1),this.isValid}}}},he={sizes:{default:"mdi-24px","is-small":null,"is-medium":"mdi-36px","is-large":"mdi-48px"},iconPrefix:"mdi-"},fe=function(){var e=ie&&ie.defaultIconComponent?"":"fa-";return{sizes:{default:null,"is-small":null,"is-medium":e+"lg","is-large":e+"2x"},iconPrefix:e,internalIcons:{information:"info-circle",alert:"exclamation-triangle","alert-circle":"exclamation-circle","chevron-right":"angle-right","chevron-left":"angle-left","chevron-down":"angle-down","eye-off":"eye-slash","menu-down":"caret-down","menu-up":"caret-up","close-circle":"times-circle"}}},pe=function(){var e={mdi:he,fa:fe(),fas:fe(),far:fe(),fad:fe(),fab:fe(),fal:fe(),"fa-solid":fe(),"fa-regular":fe(),"fa-light":fe(),"fa-thin":fe(),"fa-duotone":fe(),"fa-brands":fe()};return ie&&ie.customIconPacks&&(e=V(e,ie.customIconPacks,!0)),e},ve={name:"BIcon",props:{type:[String,Object],component:String,pack:String,icon:String,size:String,customSize:String,customClass:String,both:Boolean},computed:{iconConfig:function(){var e=pe();return e[this.newPack]},iconPrefix:function(){return this.iconConfig&&this.iconConfig.iconPrefix?this.iconConfig.iconPrefix:""},newIcon:function(){return"".concat(this.iconPrefix).concat(this.getEquivalentIconOf(this.icon))},newPack:function(){return this.pack||ie.defaultIconPack},newType:function(){if(this.type){var e=[];if("string"===typeof this.type)e=this.type.split("-");else for(var t in this.type)if(this.type[t]){e=t.split("-");break}if(!(e.length<=1)){var n=e,i=S(n),a=i.slice(1);return"has-text-".concat(a.join("-"))}}},newCustomSize:function(){return this.customSize||this.customSizeByPack},customSizeByPack:function(){if(this.iconConfig&&this.iconConfig.sizes){if(this.size&&void 0!==this.iconConfig.sizes[this.size])return this.iconConfig.sizes[this.size];if(this.iconConfig.sizes.default)return this.iconConfig.sizes.default}return null},useIconComponent:function(){return this.component||ie.defaultIconComponent}},methods:{getEquivalentIconOf:function(e){return this.both&&this.iconConfig&&this.iconConfig.internalIcons&&this.iconConfig.internalIcons[e]?this.iconConfig.internalIcons[e]:e}}};const me=ve;var ge=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("span",{staticClass:"icon",class:[e.newType,e.size]},[e.useIconComponent?n(e.useIconComponent,{tag:"component",class:[e.customClass],attrs:{icon:[e.newPack,e.newIcon],size:e.newCustomSize}}):n("i",{class:[e.newPack,e.newIcon,e.newCustomSize,e.customClass]})],1)},ye=[];const be=void 0,we=void 0,ke=void 0,Ce=!1;var Se=se({render:ge,staticRenderFns:ye},be,me,we,Ce,ke,void 0,void 0),_e={name:"BInput",components:s({},Se.name,Se),mixins:[de],inheritAttrs:!1,props:{value:[Number,String],type:{type:String,default:"text"},lazy:{type:Boolean,default:!1},passwordReveal:Boolean,iconClickable:Boolean,hasCounter:{type:Boolean,default:function(){return ie.defaultInputHasCounter}},customClass:{type:String,default:""},iconRight:String,iconRightClickable:Boolean,iconRightType:String},data:function(){return{newValue:this.value,newType:this.type,newAutocomplete:this.autocomplete||ie.defaultInputAutocomplete,isPasswordVisible:!1,_elementRef:"textarea"===this.type?"textarea":"input"}},computed:{computedValue:{get:function(){return this.newValue},set:function(e){this.newValue=e,this.$emit("input",e)}},rootClasses:function(){return[this.iconPosition,this.size,{"is-expanded":this.expanded,"is-loading":this.loading,"is-clearfix":!this.hasMessage}]},inputClasses:function(){return[this.statusType,this.size,{"is-rounded":this.rounded}]},hasIconRight:function(){return this.passwordReveal||this.loading||this.statusIcon&&this.statusTypeIcon||this.iconRight},rightIcon:function(){return this.passwordReveal?this.passwordVisibleIcon:this.iconRight?this.iconRight:this.statusTypeIcon},rightIconType:function(){return this.passwordReveal?"is-primary":this.iconRight?this.iconRightType||null:this.statusType},iconPosition:function(){var e="";return this.icon&&(e+="has-icons-left "),this.hasIconRight&&(e+="has-icons-right"),e},statusTypeIcon:function(){switch(this.statusType){case"is-success":return"check";case"is-danger":return"alert-circle";case"is-info":return"information";case"is-warning":return"alert"}},hasMessage:function(){return!!this.statusMessage},passwordVisibleIcon:function(){return this.isPasswordVisible?"eye-off":"eye"},valueLength:function(){return"string"===typeof this.computedValue?Array.from(this.computedValue).length:"number"===typeof this.computedValue?this.computedValue.toString().length:0}},watch:{value:function(e){this.newValue=e},type:function(e){this.newType=e}},methods:{togglePasswordVisibility:function(){var e=this;this.isPasswordVisible=!this.isPasswordVisible,this.newType=this.isPasswordVisible?"text":"password",this.$nextTick((function(){e.focus()}))},iconClick:function(e,t){var n=this;this.$emit(e,t),this.$nextTick((function(){n.focus()}))},rightIconClick:function(e){this.passwordReveal?this.togglePasswordVisibility():this.iconRightClickable&&this.iconClick("icon-right-click",e)},onInput:function(e){if(!this.lazy){var t=e.target.value;this.updateValue(t)}},onChange:function(e){if(this.lazy){var t=e.target.value;this.updateValue(t)}},updateValue:function(e){this.computedValue=e,!this.isValid&&this.checkHtml5Validity()}}};const xe=_e;var De=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"control",class:e.rootClasses},["textarea"!==e.type?n("input",e._b({ref:"input",staticClass:"input",class:[e.inputClasses,e.customClass],attrs:{type:e.newType,autocomplete:e.newAutocomplete,maxlength:e.maxlength},domProps:{value:e.computedValue},on:{input:e.onInput,change:e.onChange,blur:e.onBlur,focus:e.onFocus}},"input",e.$attrs,!1)):n("textarea",e._b({ref:"textarea",staticClass:"textarea",class:[e.inputClasses,e.customClass],attrs:{maxlength:e.maxlength},domProps:{value:e.computedValue},on:{input:e.onInput,change:e.onChange,blur:e.onBlur,focus:e.onFocus}},"textarea",e.$attrs,!1)),e.icon?n("b-icon",{staticClass:"is-left",class:{"is-clickable":e.iconClickable},attrs:{icon:e.icon,pack:e.iconPack,size:e.iconSize},nativeOn:{click:function(t){return e.iconClick("icon-click",t)}}}):e._e(),!e.loading&&e.hasIconRight?n("b-icon",{staticClass:"is-right",class:{"is-clickable":e.passwordReveal||e.iconRightClickable},attrs:{icon:e.rightIcon,pack:e.iconPack,size:e.iconSize,type:e.rightIconType,both:""},nativeOn:{click:function(t){return e.rightIconClick(t)}}}):e._e(),e.maxlength&&e.hasCounter&&"number"!==e.type?n("small",{staticClass:"help counter",class:{"is-invisible":!e.isFocused}},[e._v(" "+e._s(e.valueLength)+" / "+e._s(e.maxlength)+" ")]):e._e()],1)},$e=[];const Ae=void 0,Pe=void 0,Oe=void 0,Me=!1;var Te=se({render:De,staticRenderFns:$e},Ae,xe,Pe,Me,Oe,void 0,void 0),Be={name:"BAutocomplete",components:s({},Te.name,Te),mixins:[de],inheritAttrs:!1,props:{value:[Number,String],data:{type:Array,default:function(){return[]}},field:{type:String,default:"value"},keepFirst:Boolean,clearOnSelect:Boolean,openOnFocus:Boolean,customFormatter:Function,checkInfiniteScroll:Boolean,keepOpen:Boolean,selectOnClickOutside:Boolean,clearable:Boolean,maxHeight:[String,Number],dropdownPosition:{type:String,default:"auto"},groupField:String,groupOptions:String,iconRight:String,iconRightClickable:Boolean,appendToBody:Boolean,type:{type:String,default:"text"},confirmKeys:{type:Array,default:function(){return["Tab","Enter"]}},selectableHeader:Boolean,selectableFooter:Boolean},data:function(){return{selected:null,hovered:null,headerHovered:null,footerHovered:null,isActive:!1,newValue:this.value,newAutocomplete:this.autocomplete||"off",ariaAutocomplete:this.keepFirst?"both":"list",isListInViewportVertically:!0,hasFocus:!1,style:{},_isAutocomplete:!0,_elementRef:"input",_bodyEl:void 0}},computed:{computedData:function(){var e=this;if(this.groupField){if(this.groupOptions){var t=[];return this.data.forEach((function(n){var i=I(n,e.groupField),a=I(n,e.groupOptions);t.push({group:i,items:a})})),t}var n={};this.data.forEach((function(t){var i=I(t,e.groupField);n[i]||(n[i]=[]),n[i].push(t)}));var i=[];return Object.keys(n).forEach((function(e){i.push({group:e,items:n[e]})})),i}return[{items:this.data}]},isEmpty:function(){return!this.computedData||!this.computedData.some((function(e){return e.items&&e.items.length}))},whiteList:function(){var e=[];if(e.push(this.$refs.input.$el.querySelector("input")),e.push(this.$refs.dropdown),void 0!==this.$refs.dropdown){var t=this.$refs.dropdown.querySelectorAll("*"),n=!0,i=!1,a=void 0;try{for(var r,o=t[Symbol.iterator]();!(n=(r=o.next()).done);n=!0){var s=r.value;e.push(s)}}catch(v){i=!0,a=v}finally{try{n||null==o.return||o.return()}finally{if(i)throw a}}}if(this.$parent.$data._isTaginput){e.push(this.$parent.$el);var l=this.$parent.$el.querySelectorAll("*"),c=!0,u=!1,d=void 0;try{for(var h,f=l[Symbol.iterator]();!(c=(h=f.next()).done);c=!0){var p=h.value;e.push(p)}}catch(v){u=!0,d=v}finally{try{c||null==f.return||f.return()}finally{if(u)throw d}}}return e},hasDefaultSlot:function(){return!!this.$scopedSlots.default},hasGroupSlot:function(){return!!this.$scopedSlots.group},hasEmptySlot:function(){return!!this.$slots.empty},hasHeaderSlot:function(){return!!this.$slots.header},hasFooterSlot:function(){return!!this.$slots.footer},isOpenedTop:function(){return"top"===this.dropdownPosition||"auto"===this.dropdownPosition&&!this.isListInViewportVertically},newIconRight:function(){return this.clearable&&this.newValue?"close-circle":this.iconRight},newIconRightClickable:function(){return!!this.clearable||this.iconRightClickable},contentStyle:function(){return{maxHeight:K(this.maxHeight)}}},watch:{isActive:function(e){var t=this;"auto"===this.dropdownPosition&&(e?this.calcDropdownInViewportVertical():setTimeout((function(){t.calcDropdownInViewportVertical()}),100))},newValue:function(e){this.$emit("input",e);var t=this.getValue(this.selected);t&&t!==e&&this.setSelected(null,!1),!this.hasFocus||this.openOnFocus&&!e||(this.isActive=!!e)},value:function(e){this.newValue=e},data:function(){var e=this;if(this.keepFirst)this.$nextTick((function(){e.isActive?e.selectFirstOption(e.computedData):e.setHovered(null)}));else if(this.hovered){var t=this.getValue(this.hovered),n=this.computedData.map((function(e){return e.items})).reduce((function(e,t){return[].concat(_(e),_(t))}),[]);n.some((function(n){return e.getValue(n)===t}))||this.setHovered(null)}}},methods:{setHovered:function(e){void 0!==e&&(this.hovered=e)},setSelected:function(e){var t=this,n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0;if(void 0!==e){if(this.selected=e,this.$emit("select",this.selected,i),null!==this.selected){if(this.clearOnSelect){var a=this.$refs.input;a.newValue="",a.$refs.input.value=""}else this.newValue=this.getValue(this.selected);this.setHovered(null)}n&&this.$nextTick((function(){t.isActive=!1})),this.checkValidity()}},selectFirstOption:function(e){var t=this;this.$nextTick((function(){var n=e.filter((function(e){return e.items&&e.items.length}));if(n.length){var i=n[0].items[0];t.setHovered(i)}else t.setHovered(null)}))},keydown:function(e){var t=e.key;if("Enter"===t&&e.preventDefault(),"Escape"!==t&&"Tab"!==t||(this.isActive=!1),this.confirmKeys.indexOf(t)>=0){","===t&&e.preventDefault();var n=!this.keepOpen||"Tab"===t;if(null===this.hovered)return void this.checkIfHeaderOrFooterSelected(e,null,n);this.setSelected(this.hovered,n,e)}},selectHeaderOrFoterByClick:function(e,t){this.checkIfHeaderOrFooterSelected(e,{origin:t})},checkIfHeaderOrFooterSelected:function(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];this.selectableHeader&&(this.headerHovered||t&&"header"===t.origin)&&(this.$emit("select-header",e),this.headerHovered=!1,t&&this.setHovered(null),n&&(this.isActive=!1)),this.selectableFooter&&(this.footerHovered||t&&"footer"===t.origin)&&(this.$emit("select-footer",e),this.footerHovered=!1,t&&this.setHovered(null),n&&(this.isActive=!1))},clickedOutside:function(e){var t=Z(this)?e.composedPath()[0]:e.target;!this.hasFocus&&this.whiteList.indexOf(t)<0&&(this.keepFirst&&this.hovered&&this.selectOnClickOutside?this.setSelected(this.hovered,!0):this.isActive=!1)},getValue:function(e){if(null!==e)return"undefined"!==typeof this.customFormatter?this.customFormatter(e):"object"===i(e)?I(e,this.field):e},checkIfReachedTheEndOfScroll:function(e){e.clientHeight!==e.scrollHeight&&e.scrollTop+e.clientHeight>=e.scrollHeight&&this.$emit("infinite-scroll")},calcDropdownInViewportVertical:function(){var e=this;this.$nextTick((function(){if(void 0!==e.$refs.dropdown){var t=e.$refs.dropdown.getBoundingClientRect();e.isListInViewportVertically=t.top>=0&&t.bottom<=(window.innerHeight||document.documentElement.clientHeight),e.appendToBody&&e.updateAppendToBody()}}))},keyArrows:function(e){var t="down"===e?1:-1;if(this.isActive){var n,i=this.computedData.map((function(e){return e.items})).reduce((function(e,t){return[].concat(_(e),_(t))}),[]);this.hasHeaderSlot&&this.selectableHeader&&i.unshift(void 0),this.hasFooterSlot&&this.selectableFooter&&i.push(void 0),n=this.headerHovered?0+t:this.footerHovered?i.length-1+t:i.indexOf(this.hovered)+t,n=n>i.length-1?i.length-1:n,n=n<0?0:n,this.footerHovered=!1,this.headerHovered=!1,this.setHovered(void 0!==i[n]?i[n]:null),this.hasFooterSlot&&this.selectableFooter&&n===i.length-1&&(this.footerHovered=!0),this.hasHeaderSlot&&this.selectableHeader&&0===n&&(this.headerHovered=!0);var a=this.$refs.dropdown.querySelector(".dropdown-content"),r="a.dropdown-item:not(.is-disabled)";this.hasHeaderSlot&&this.selectableHeader&&(r+=",div.dropdown-header"),this.hasFooterSlot&&this.selectableFooter&&(r+=",div.dropdown-footer");var o=a.querySelectorAll(r)[n];if(!o)return;var s=a.scrollTop,l=a.scrollTop+a.clientHeight-o.clientHeight;o.offsetTop=l&&(a.scrollTop=o.offsetTop-a.clientHeight+o.clientHeight)}else this.isActive=!0},focused:function(e){this.getValue(this.selected)===this.newValue&&this.$el.querySelector("input").select(),this.openOnFocus&&(this.isActive=!0,this.keepFirst&&this.selectFirstOption(this.computedData)),this.hasFocus=!0,this.$emit("focus",e)},onBlur:function(e){this.hasFocus=!1,this.$emit("blur",e)},onInput:function(){var e=this.getValue(this.selected);e&&e===this.newValue||(this.$emit("typing",this.newValue),this.checkValidity())},rightIconClick:function(e){this.clearable?(this.newValue="",this.setSelected(null,!1),this.openOnFocus&&this.$refs.input.$el.focus()):this.$emit("icon-right-click",e)},checkValidity:function(){var e=this;this.useHtml5Validation&&this.$nextTick((function(){e.checkHtml5Validity()}))},updateAppendToBody:function(){var e=this.$refs.dropdown,t=this.$refs.input.$el;if(e&&t){var n=this.$data._bodyEl;n.classList.forEach((function(e){return n.classList.remove(e)})),n.classList.add("autocomplete"),n.classList.add("control"),this.expandend&&n.classList.add("is-expandend");var i=t.getBoundingClientRect(),a=i.top+window.scrollY,r=i.left+window.scrollX;this.isOpenedTop?a-=e.clientHeight:a+=t.clientHeight,this.style={position:"absolute",top:"".concat(a,"px"),left:"".concat(r,"px"),width:"".concat(t.clientWidth,"px"),maxWidth:"".concat(t.clientWidth,"px"),zIndex:"99"}}}},created:function(){"undefined"!==typeof window&&(document.addEventListener("click",this.clickedOutside),"auto"===this.dropdownPosition&&window.addEventListener("resize",this.calcDropdownInViewportVertical))},mounted:function(){var e=this;if(this.checkInfiniteScroll&&this.$refs.dropdown&&this.$refs.dropdown.querySelector(".dropdown-content")){var t=this.$refs.dropdown.querySelector(".dropdown-content");t.addEventListener("scroll",(function(){return e.checkIfReachedTheEndOfScroll(t)}))}this.appendToBody&&(this.$data._bodyEl=z(this.$refs.dropdown),this.updateAppendToBody())},beforeDestroy:function(){if("undefined"!==typeof window&&(document.removeEventListener("click",this.clickedOutside),"auto"===this.dropdownPosition&&window.removeEventListener("resize",this.calcDropdownInViewportVertical)),this.checkInfiniteScroll&&this.$refs.dropdown&&this.$refs.dropdown.querySelector(".dropdown-content")){var e=this.$refs.dropdown.querySelector(".dropdown-content");e.removeEventListener("scroll",this.checkIfReachedTheEndOfScroll)}this.appendToBody&&j(this.$data._bodyEl)}};const Ee=Be;var Fe=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"autocomplete control",class:{"is-expanded":e.expanded}},[n("b-input",e._b({ref:"input",attrs:{type:e.type,size:e.size,loading:e.loading,rounded:e.rounded,icon:e.icon,"icon-right":e.newIconRight,"icon-right-clickable":e.newIconRightClickable,"icon-pack":e.iconPack,maxlength:e.maxlength,autocomplete:e.newAutocomplete,"use-html5-validation":!1,"aria-autocomplete":e.ariaAutocomplete},on:{input:e.onInput,focus:e.focused,blur:e.onBlur,"icon-right-click":e.rightIconClick,"icon-click":function(t){return e.$emit("icon-click",t)}},nativeOn:{keydown:[function(t){return e.keydown(t)},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"up",38,t.key,["Up","ArrowUp"])?null:(t.preventDefault(),e.keyArrows("up"))},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"down",40,t.key,["Down","ArrowDown"])?null:(t.preventDefault(),e.keyArrows("down"))}]},model:{value:e.newValue,callback:function(t){e.newValue=t},expression:"newValue"}},"b-input",e.$attrs,!1)),n("transition",{attrs:{name:"fade"}},[n("div",{directives:[{name:"show",rawName:"v-show",value:e.isActive&&(!e.isEmpty||e.hasEmptySlot||e.hasHeaderSlot),expression:"isActive && (!isEmpty || hasEmptySlot || hasHeaderSlot)"}],ref:"dropdown",staticClass:"dropdown-menu",class:{"is-opened-top":e.isOpenedTop&&!e.appendToBody},style:e.style},[n("div",{directives:[{name:"show",rawName:"v-show",value:e.isActive,expression:"isActive"}],staticClass:"dropdown-content",style:e.contentStyle},[e.hasHeaderSlot?n("div",{staticClass:"dropdown-item dropdown-header",class:{"is-hovered":e.headerHovered},attrs:{role:"button",tabindex:"0"},on:{click:function(t){return e.selectHeaderOrFoterByClick(t,"header")}}},[e._t("header")],2):e._e(),e._l(e.computedData,(function(t,i){return[t.group?n("div",{key:i+"group",staticClass:"dropdown-item"},[e.hasGroupSlot?e._t("group",null,{group:t.group,index:i}):n("span",{staticClass:"has-text-weight-bold"},[e._v(" "+e._s(t.group)+" ")])],2):e._e(),e._l(t.items,(function(t,a){return n("a",{key:i+":"+a,staticClass:"dropdown-item",class:{"is-hovered":t===e.hovered},attrs:{role:"button",tabindex:"0"},on:{click:function(n){return n.stopPropagation(),e.setSelected(t,!e.keepOpen,n)}}},[e.hasDefaultSlot?e._t("default",null,{option:t,index:a}):n("span",[e._v(" "+e._s(e.getValue(t,!0))+" ")])],2)}))]})),e.isEmpty&&e.hasEmptySlot?n("div",{staticClass:"dropdown-item is-disabled"},[e._t("empty")],2):e._e(),e.hasFooterSlot?n("div",{staticClass:"dropdown-item dropdown-footer",class:{"is-hovered":e.footerHovered},attrs:{role:"button",tabindex:"0"},on:{click:function(t){return e.selectHeaderOrFoterByClick(t,"footer")}}},[e._t("footer")],2):e._e()],2)])])],1)},Ie=[];const Ne=void 0,Re=void 0,Le=void 0,Ve=!1;var He=se({render:Fe,staticRenderFns:Ie},Ne,Ee,Re,Ve,Le,void 0,void 0),je={install:function(e){ce(e,He)}};le(je);var ze=je,Ue={name:"BBreadcrumb",props:{align:{type:String,default:function(){return ie.defaultBreadcrumbAlign}},separator:{type:String,default:function(){return ie.defaultBreadcrumbSeparator}},size:{type:String,default:function(){return ie.defaultBreadcrumbSize}}},computed:{breadcrumbClasses:function(){return["breadcrumb",this.align,this.separator,this.size]}}};const We=Ue;var qe=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("nav",{class:e.breadcrumbClasses},[n("ul",[e._t("default")],2)])},Ye=[];const Ke=void 0,Xe=void 0,Ge=void 0,Je=!1;var Qe=se({render:qe,staticRenderFns:Ye},Ke,We,Xe,Je,Ge,void 0,void 0),Ze={name:"BBreadcrumbItem",inheritAttrs:!1,props:{tag:{type:String,default:function(){return ie.defaultBreadcrumbTag}},active:Boolean}};const et=Ze;var tt=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("li",{class:{"is-active":e.active}},[n(e.tag,e._g(e._b({tag:"component"},"component",e.$attrs,!1),e.$listeners),[e._t("default")],2)],1)},nt=[];const it=void 0,at=void 0,rt=void 0,ot=!1;var st=se({render:tt,staticRenderFns:nt},it,et,at,ot,rt,void 0,void 0),lt={install:function(e){ce(e,Qe),ce(e,st)}};le(lt);var ct=lt,ut={name:"BButton",components:s({},Se.name,Se),inheritAttrs:!1,props:{type:[String,Object],size:String,label:String,iconPack:String,iconLeft:String,iconRight:String,rounded:{type:Boolean,default:function(){return ie.defaultButtonRounded}},loading:Boolean,outlined:Boolean,expanded:Boolean,inverted:Boolean,focused:Boolean,active:Boolean,hovered:Boolean,selected:Boolean,nativeType:{type:String,default:"button",validator:function(e){return["button","submit","reset"].indexOf(e)>=0}},tag:{type:String,default:"button",validator:function(e){return ie.defaultLinkTags.indexOf(e)>=0}}},computed:{computedTag:function(){return void 0!==this.$attrs.disabled&&!1!==this.$attrs.disabled?"button":this.tag},iconSize:function(){return this.size&&"is-medium"!==this.size?"is-large"===this.size?"is-medium":this.size:"is-small"}}};const dt=ut;var ht=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n(e.computedTag,e._g(e._b({tag:"component",staticClass:"button",class:[e.size,e.type,{"is-rounded":e.rounded,"is-loading":e.loading,"is-outlined":e.outlined,"is-fullwidth":e.expanded,"is-inverted":e.inverted,"is-focused":e.focused,"is-active":e.active,"is-hovered":e.hovered,"is-selected":e.selected}],attrs:{type:"button"===e.computedTag?e.nativeType:void 0}},"component",e.$attrs,!1),e.$listeners),[e.iconLeft?n("b-icon",{attrs:{pack:e.iconPack,icon:e.iconLeft,size:e.iconSize}}):e._e(),e.label?n("span",[e._v(e._s(e.label))]):e.$slots.default?n("span",[e._t("default")],2):e._e(),e.iconRight?n("b-icon",{attrs:{pack:e.iconPack,icon:e.iconRight,size:e.iconSize}}):e._e()],1)},ft=[];const pt=void 0,vt=void 0,mt=void 0,gt=!1;var yt=se({render:ht,staticRenderFns:ft},pt,dt,vt,gt,mt,void 0,void 0),bt={install:function(e){ce(e,yt)}};le(bt);var wt=bt,kt=1,Ct=3,St=Ct,_t=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n={provide:function(){return s({},"b"+e,this)}};return B(t,kt)&&(n.data=function(){return{childItems:[]}},n.methods={_registerItem:function(e){this.childItems.push(e)},_unregisterItem:function(e){this.childItems=this.childItems.filter((function(t){return t!==e}))}},B(t,Ct)&&(n.watch={childItems:function(e){if(e.length>0&&this.$scopedSlots.default){var t=e[0].$vnode.tag,n=0,i=function i(a){var r=!0,o=!1,s=void 0;try{for(var l,c=function(){var a=l.value;if(a.tag===t){var r=e.find((function(e){return e.$vnode===a}));r&&(r.index=n++)}else if(a.tag){var o=a.componentInstance?a.componentInstance.$scopedSlots.default?a.componentInstance.$scopedSlots.default():a.componentInstance.$children:a.children;Array.isArray(o)&&o.length>0&&i(o.map((function(e){return e.$vnode})))}},u=a[Symbol.iterator]();!(r=(l=u.next()).done);r=!0)c()}catch(d){o=!0,s=d}finally{try{r||null==u.return||u.return()}finally{if(o)throw s}}return!1};i(this.$scopedSlots.default())}}},n.computed={sortedItems:function(){return this.childItems.slice().sort((function(e,t){return e.index-t.index}))}})),n},xt=1,Dt=2,$t=xt,At=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n={inject:{parent:{from:"b"+e,default:!1}},created:function(){if(this.parent)this.parent._registerItem&&this.parent._registerItem(this);else if(!B(t,Dt))throw this.$destroy(),new Error("You should wrap "+this.$options.name+" in a "+e)},beforeDestroy:function(){this.parent&&this.parent._unregisterItem&&this.parent._unregisterItem(this)}};return B(t,xt)&&(n.data=function(){return{index:null}}),n},Pt={name:"BImage",props:{src:String,alt:String,srcFallback:String,webpFallback:{type:String,default:function(){return ie.defaultImageWebpFallback}},lazy:{type:Boolean,default:function(){return ie.defaultImageLazy}},responsive:{type:Boolean,default:function(){return ie.defaultImageResponsive}},ratio:{type:String,default:function(){return ie.defaultImageRatio}},placeholder:String,srcset:String,srcsetSizes:Array,srcsetFormatter:{type:Function,default:function(e,t,n){return"function"===typeof ie.defaultImageSrcsetFormatter?ie.defaultImageSrcsetFormatter(e,t):n.formatSrcset(e,t)}},rounded:{type:Boolean,default:!1},captionFirst:{type:Boolean,default:!1},customClass:String},data:function(){return{clientWidth:0,webpSupportVerified:!1,webpSupported:!1,useNativeLazy:!1,observer:null,inViewPort:!1,bulmaKnownRatio:["square","1by1","5by4","4by3","3by2","5by3","16by9","b2y1","3by1","4by5","3by4","2by3","3by5","9by16","1by2","1by3"],loaded:!1,failed:!1}},computed:{ratioPattern:function(){return new RegExp(/([0-9]+)by([0-9]+)/)},hasRatio:function(){return this.ratio&&this.ratioPattern.test(this.ratio)},figureClasses:function(){var e={image:this.responsive};return this.hasRatio&&this.bulmaKnownRatio.indexOf(this.ratio)>=0&&(e["is-".concat(this.ratio)]=!0),e},figureStyles:function(){if(this.hasRatio&&this.bulmaKnownRatio.indexOf(this.ratio)<0){var e=this.ratioPattern.exec(this.ratio);return{paddingTop:"".concat(e[2]/e[1]*100,"%")}}},imgClasses:function(){return s({"is-rounded":this.rounded,"has-ratio":this.hasRatio},this.customClass,!!this.customClass)},srcExt:function(){return this.getExt(this.src)},isWepb:function(){return"webp"===this.srcExt},computedSrc:function(){var e=this.src;return this.failed&&this.srcFallback&&(e=this.srcFallback),!this.webpSupported&&this.isWepb&&this.webpFallback?this.webpFallback.startsWith(".")?e.replace(/\.webp/gi,"".concat(this.webpFallback)):this.webpFallback:e},computedWidth:function(){if(this.responsive&&this.clientWidth>0)return this.clientWidth},computedNativeLazy:function(){if(this.lazy&&this.useNativeLazy)return"lazy"},isDisplayed:function(){return(this.webpSupportVerified||!this.isWepb)&&(!this.lazy||this.useNativeLazy||this.inViewPort)},placeholderExt:function(){if(this.placeholder)return this.getExt(this.placeholder)},isPlaceholderWepb:function(){if(this.placeholder)return"webp"===this.placeholderExt},computedPlaceholder:function(){return!this.webpSupported&&this.isPlaceholderWepb&&this.webpFallback&&this.webpFallback.startsWith(".")?this.placeholder.replace(/\.webp/gi,"".concat(this.webpFallback)):this.placeholder},isPlaceholderDisplayed:function(){return!this.loaded&&(this.$slots.placeholder||this.placeholder&&(this.webpSupportVerified||!this.isPlaceholderWepb))},computedSrcset:function(){var e=this;return this.srcset?!this.webpSupported&&this.isWepb&&this.webpFallback&&this.webpFallback.startsWith(".")?this.srcset.replace(/\.webp/gi,"".concat(this.webpFallback)):this.srcset:this.srcsetSizes&&Array.isArray(this.srcsetSizes)&&this.srcsetSizes.length>0?this.srcsetSizes.map((function(t){return"".concat(e.srcsetFormatter(e.computedSrc,t,e)," ").concat(t,"w")})).join(","):void 0},computedSizes:function(){if(this.computedSrcset&&this.computedWidth)return"".concat(this.computedWidth,"px")},isCaptionFirst:function(){return this.$slots.caption&&this.captionFirst},isCaptionLast:function(){return this.$slots.caption&&!this.captionFirst}},methods:{getExt:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if(e){var n=t?e.split("?")[0]:e;return n.split(".").pop()}return""},setWidth:function(){this.clientWidth=this.$el.clientWidth},formatSrcset:function(e,t){var n=this.getExt(e,!1),i=e.split(".").slice(0,-1).join(".");return"".concat(i,"-").concat(t,".").concat(n)},onLoad:function(e){this.loaded=!0,this.emit("load",e)},onError:function(e){this.emit("error",e),this.failed||(this.failed=!0)},emit:function(e,t){var n=t.target;this.$emit(e,t,n.currentSrc||n.src||this.computedSrc)}},created:function(){var e=this;if(this.isWepb&&Q().then((function(t){e.webpSupportVerified=!0,e.webpSupported=t})),this.lazy){var t="undefined"!==typeof window&&"HTMLImageElement"in window&&"loading"in HTMLImageElement.prototype,n="undefined"!==typeof window&&"IntersectionObserver"in window;!t&&n?this.observer=new IntersectionObserver((function(t){var n=t[0],i=n.target,a=n.isIntersecting;a&&!e.inViewPort&&(e.inViewPort=!0,e.observer.unobserve(i))})):this.useNativeLazy=!0}},mounted:function(){this.lazy&&this.observer&&this.observer.observe(this.$el),this.setWidth(),"undefined"!==typeof window&&window.addEventListener("resize",this.setWidth)},beforeDestroy:function(){this.observer&&this.observer.disconnect(),"undefined"!==typeof window&&window.removeEventListener("resize",this.setWidth)}};const Ot=Pt;var Mt=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("figure",{staticClass:"b-image-wrapper",class:e.figureClasses,style:e.figureStyles},[e.isCaptionFirst?n("figcaption",[e._t("caption")],2):e._e(),n("transition",{attrs:{name:"fade"}},[e.isDisplayed?n("img",{class:e.imgClasses,attrs:{srcset:e.computedSrcset,src:e.computedSrc,alt:e.alt,width:e.computedWidth,sizes:e.computedSizes,loading:e.computedNativeLazy},on:{load:e.onLoad,error:e.onError}}):e._e()]),n("transition",{attrs:{name:"fade"}},[e.isPlaceholderDisplayed?e._t("placeholder",[n("img",{staticClass:"placeholder",class:e.imgClasses,attrs:{src:e.computedPlaceholder,alt:e.alt}})]):e._e()],2),e.isCaptionLast?n("figcaption",[e._t("caption")],2):e._e()],1)},Tt=[];const Bt=void 0,Et=void 0,Ft=void 0,It=!1;var Nt=se({render:Mt,staticRenderFns:Tt},Bt,Ot,Et,It,Ft,void 0,void 0),Rt={name:"BCarousel",components:s({},Se.name,Se),mixins:[_t("carousel",St)],props:{value:{type:Number,default:0},animated:{type:String,default:"slide"},interval:Number,hasDrag:{type:Boolean,default:!0},autoplay:{type:Boolean,default:!0},pauseHover:{type:Boolean,default:!0},pauseInfo:{type:Boolean,default:!0},pauseInfoType:{type:String,default:"is-white"},pauseText:{type:String,default:"Pause"},arrow:{type:Boolean,default:!0},arrowHover:{type:Boolean,default:!0},repeat:{type:Boolean,default:!0},iconPack:String,iconSize:String,iconPrev:{type:String,default:function(){return ie.defaultIconPrev}},iconNext:{type:String,default:function(){return ie.defaultIconNext}},indicator:{type:Boolean,default:!0},indicatorBackground:Boolean,indicatorCustom:Boolean,indicatorCustomSize:{type:String,default:"is-small"},indicatorInside:{type:Boolean,default:!0},indicatorMode:{type:String,default:"click"},indicatorPosition:{type:String,default:"is-bottom"},indicatorStyle:{type:String,default:"is-dots"},overlay:Boolean,progress:Boolean,progressType:{type:String,default:"is-primary"},withCarouselList:Boolean},data:function(){return{transition:"next",activeChild:this.value||0,isPause:!1,dragX:!1,timer:null}},computed:{indicatorClasses:function(){return[{"has-background":this.indicatorBackground,"has-custom":this.indicatorCustom,"is-inside":this.indicatorInside},this.indicatorCustom&&this.indicatorCustomSize,this.indicatorInside&&this.indicatorPosition]},hasPrev:function(){return this.repeat||0!==this.activeChild},hasNext:function(){return this.repeat||this.activeChild=e.length&&this.activeChild>0&&this.changeActive(this.activeChild-1)},autoplay:function(e){e?this.startTimer():this.pauseTimer()},repeat:function(e){e&&this.startTimer()}},methods:{startTimer:function(){var e=this;this.autoplay&&!this.timer&&(this.isPause=!1,this.timer=setInterval((function(){!e.repeat&&e.activeChild>=e.childItems.length-1?e.pauseTimer():e.next()}),this.interval||ie.defaultCarouselInterval))},pauseTimer:function(){this.isPause=!0,this.timer&&(clearInterval(this.timer),this.timer=null)},restartTimer:function(){this.pauseTimer(),this.startTimer()},checkPause:function(){this.pauseHover&&this.autoplay&&this.pauseTimer()},changeActive:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;this.activeChild===e||isNaN(e)||(t=t||e-this.activeChild,e=this.repeat?E(e,this.childItems.length):F(e,0,this.childItems.length-1),this.transition=t>0?"prev":"next",this.activeChild=e,e!==this.value&&this.$emit("input",e),this.restartTimer(),this.$emit("change",e))},modeChange:function(e,t){if(this.indicatorMode===e)return this.changeActive(t)},prev:function(){this.changeActive(this.activeChild-1,-1)},next:function(){this.changeActive(this.activeChild+1,1)},dragStart:function(e){this.hasDrag&&e.target.draggable&&(this.dragX=e.touches?e.changedTouches[0].pageX:e.pageX,e.touches?this.pauseTimer():e.preventDefault())},dragEnd:function(e){if(!1!==this.dragX){var t=e.touches?e.changedTouches[0].pageX:e.pageX,n=t-this.dragX;Math.abs(n)>30?n<0?this.next():this.prev():(e.target.click(),this.sortedItems[this.activeChild].$emit("click"),this.$emit("click")),e.touches&&this.startTimer(),this.dragX=!1}}},mounted:function(){this.startTimer()},beforeDestroy:function(){this.pauseTimer()}};const Lt=Rt;var Vt=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"carousel",class:{"is-overlay":e.overlay},on:{mouseenter:e.checkPause,mouseleave:e.startTimer}},[e.progress?n("progress",{staticClass:"progress",class:e.progressType,attrs:{max:e.childItems.length-1},domProps:{value:e.activeChild}},[e._v(" "+e._s(e.childItems.length-1)+" ")]):e._e(),n("div",{staticClass:"carousel-items",on:{mousedown:e.dragStart,mouseup:e.dragEnd,touchstart:function(t){return t.stopPropagation(),e.dragStart(t)},touchend:function(t){return t.stopPropagation(),e.dragEnd(t)}}},[e._t("default"),e.arrow?n("div",{staticClass:"carousel-arrow",class:{"is-hovered":e.arrowHover}},[n("b-icon",{directives:[{name:"show",rawName:"v-show",value:e.hasPrev,expression:"hasPrev"}],staticClass:"has-icons-left",attrs:{pack:e.iconPack,icon:e.iconPrev,size:e.iconSize,both:""},nativeOn:{click:function(t){return e.prev(t)}}}),n("b-icon",{directives:[{name:"show",rawName:"v-show",value:e.hasNext,expression:"hasNext"}],staticClass:"has-icons-right",attrs:{pack:e.iconPack,icon:e.iconNext,size:e.iconSize,both:""},nativeOn:{click:function(t){return e.next(t)}}})],1):e._e()],2),e.autoplay&&e.pauseHover&&e.pauseInfo&&e.isPause?n("div",{staticClass:"carousel-pause"},[n("span",{staticClass:"tag",class:e.pauseInfoType},[e._v(" "+e._s(e.pauseText)+" ")])]):e._e(),e.withCarouselList&&!e.indicator?[e._t("list",null,{active:e.activeChild,switch:e.changeActive})]:e._e(),e.indicator?n("div",{staticClass:"carousel-indicator",class:e.indicatorClasses},e._l(e.sortedItems,(function(t,i){return n("a",{key:t._uid,staticClass:"indicator-item",class:{"is-active":t.isActive},on:{mouseover:function(t){return e.modeChange("hover",i)},click:function(t){return e.modeChange("click",i)}}},[e._t("indicators",[n("span",{staticClass:"indicator-style",class:e.indicatorStyle})],{i:i})],2)})),0):e._e(),e.overlay?[e._t("overlay")]:e._e()],2)},Ht=[];const jt=void 0,zt=void 0,Ut=void 0,Wt=!1;var qt=se({render:Vt,staticRenderFns:Ht},jt,Lt,zt,Wt,Ut,void 0,void 0),Yt={name:"BCarouselItem",mixins:[At("carousel",$t)],data:function(){return{transitionName:null}},computed:{transition:function(){return"fade"===this.parent.animated?"fade":this.parent.transition?"slide-"+this.parent.transition:void 0},isActive:function(){return this.parent.activeChild===this.index}}};const Kt=Yt;var Xt=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("transition",{attrs:{name:e.transition}},[n("div",{directives:[{name:"show",rawName:"v-show",value:e.isActive,expression:"isActive"}],staticClass:"carousel-item"},[e._t("default")],2)])},Gt=[];const Jt=void 0,Qt=void 0,Zt=void 0,en=!1;var tn,nn=se({render:Xt,staticRenderFns:Gt},Jt,Kt,Qt,en,Zt,void 0,void 0),an={name:"BCarouselList",components:(tn={},s(tn,Se.name,Se),s(tn,Nt.name,Nt),tn),props:{data:{type:Array,default:function(){return[]}},value:{type:Number,default:0},scrollValue:{type:Number,default:0},hasDrag:{type:Boolean,default:!0},hasGrayscale:Boolean,hasOpacity:Boolean,repeat:Boolean,itemsToShow:{type:Number,default:4},itemsToList:{type:Number,default:1},asIndicator:Boolean,arrow:{type:Boolean,default:!0},arrowHover:{type:Boolean,default:!0},iconPack:String,iconSize:String,iconPrev:{type:String,default:function(){return ie.defaultIconPrev}},iconNext:{type:String,default:function(){return ie.defaultIconNext}},breakpoints:{type:Object,default:function(){return{}}}},data:function(){return{activeItem:this.value,scrollIndex:this.asIndicator?this.scrollValue:this.value,delta:0,dragX:!1,hold:0,windowWidth:0,touch:!1,observer:null,refresh_:0}},computed:{dragging:function(){return!1!==this.dragX},listClass:function(){return[{"has-grayscale":this.settings.hasGrayscale,"has-opacity":this.settings.hasOpacity,"is-dragging":this.dragging}]},itemStyle:function(){return"width: ".concat(this.itemWidth,"px;")},translation:function(){return-F(this.delta+this.scrollIndex*this.itemWidth,0,(this.data.length-this.settings.itemsToShow)*this.itemWidth)},total:function(){return this.data.length-this.settings.itemsToShow},hasPrev:function(){return this.settings.repeat||this.scrollIndex>0},hasNext:function(){return this.settings.repeat||this.scrollIndex=t)return!0}))[0];return t?c({},this.$props,{},this.breakpoints[t]):this.$props},itemWidth:function(){if(this.windowWidth){this.refresh_;var e=this.$el.getBoundingClientRect();return e.width/this.settings.itemsToShow}return 0}},watch:{value:function(e){this.switchTo(this.asIndicator?e-(this.itemsToShow-3)/2:e),this.activeItem!==e&&(this.activeItem=F(e,0,this.data.length-1))},scrollValue:function(e){this.switchTo(e)}},methods:{resized:function(){this.windowWidth=window.innerWidth},switchTo:function(e){e===this.scrollIndex||isNaN(e)||(this.settings.repeat&&(e=E(e,this.total+1)),e=F(e,0,this.total),this.scrollIndex=e,this.asIndicator||this.value===e?this.scrollIndex!==e&&this.$emit("updated:scroll",e):this.$emit("input",e))},next:function(){this.switchTo(this.scrollIndex+this.settings.itemsToList)},prev:function(){this.switchTo(this.scrollIndex-this.settings.itemsToList)},checkAsIndicator:function(e,t){if(this.asIndicator){var n=t.changedTouches?t.changedTouches[0].clientX:t.clientX;this.hold-Date.now()>2e3||Math.abs(this.dragX-n)>10||(this.dragX=!1,this.hold=0,t.preventDefault(),this.activeItem=e,this.$emit("switch",e))}},dragStart:function(e){this.dragging||!this.settings.hasDrag||0!==e.button&&"touchstart"!==e.type||(this.hold=Date.now(),this.touch=!!e.touches,this.dragX=this.touch?e.touches[0].clientX:e.clientX,window.addEventListener(this.touch?"touchmove":"mousemove",this.dragMove),window.addEventListener(this.touch?"touchend":"mouseup",this.dragEnd))},dragMove:function(e){if(this.dragging){var t=e.touches?(e.changedTouches[0]||e.touches[0]).clientX:e.clientX;this.delta=this.dragX-t,e.touches||e.preventDefault()}},dragEnd:function(){if(this.dragging||this.hold){if(this.hold){var e=T(this.delta),t=Math.round(Math.abs(this.delta/this.itemWidth)+.15);this.switchTo(this.scrollIndex+e*t)}this.delta=0,this.dragX=!1,window.removeEventListener(this.touch?"touchmove":"mousemove",this.dragMove),window.removeEventListener(this.touch?"touchend":"mouseup",this.dragEnd)}},refresh:function(){var e=this;this.$nextTick((function(){e.refresh_++}))}},mounted:function(){if("undefined"!==typeof window&&(window.ResizeObserver&&(this.observer=new ResizeObserver(this.refresh),this.observer.observe(this.$el)),window.addEventListener("resize",this.resized),document.addEventListener("animationend",this.refresh),document.addEventListener("transitionend",this.refresh),document.addEventListener("transitionstart",this.refresh),this.resized()),this.$attrs.config)throw new Error("The config prop was removed, you need to use v-bind instead")},beforeDestroy:function(){"undefined"!==typeof window&&(window.ResizeObserver&&this.observer.disconnect(),window.removeEventListener("resize",this.resized),document.removeEventListener("animationend",this.refresh),document.removeEventListener("transitionend",this.refresh),document.removeEventListener("transitionstart",this.refresh),this.dragEnd())}};const rn=an;var on=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"carousel-list",class:{"has-shadow":e.scrollIndex>0},on:{mousedown:function(t){return t.preventDefault(),e.dragStart(t)},touchstart:e.dragStart}},[n("div",{staticClass:"carousel-slides",class:e.listClass,style:"transform:translateX("+e.translation+"px)"},e._l(e.data,(function(t,i){return n("div",{key:i,staticClass:"carousel-slide",class:{"is-active":e.asIndicator?e.activeItem===i:e.scrollIndex===i},style:e.itemStyle,on:{mouseup:function(t){return e.checkAsIndicator(i,t)},touchend:function(t){return e.checkAsIndicator(i,t)}}},[e._t("item",[n("b-image",e._b({attrs:{src:t.image}},"b-image",t,!1))],{index:i,active:e.activeItem,scroll:e.scrollIndex,list:t},t)],2)})),0),e.arrow?n("div",{staticClass:"carousel-arrow",class:{"is-hovered":e.settings.arrowHover}},[n("b-icon",{directives:[{name:"show",rawName:"v-show",value:e.hasPrev,expression:"hasPrev"}],staticClass:"has-icons-left",attrs:{pack:e.settings.iconPack,icon:e.settings.iconPrev,size:e.settings.iconSize,both:""},nativeOn:{click:function(t){return t.preventDefault(),e.prev(t)}}}),n("b-icon",{directives:[{name:"show",rawName:"v-show",value:e.hasNext,expression:"hasNext"}],staticClass:"has-icons-right",attrs:{pack:e.settings.iconPack,icon:e.settings.iconNext,size:e.settings.iconSize,both:""},nativeOn:{click:function(t){return t.preventDefault(),e.next(t)}}})],1):e._e()])},sn=[];const ln=void 0,cn=void 0,un=void 0,dn=!1;var hn=se({render:on,staticRenderFns:sn},ln,rn,cn,dn,un,void 0,void 0),fn={install:function(e){ce(e,qt),ce(e,nn),ce(e,hn)}};le(fn);var pn=fn,vn={props:{value:[String,Number,Boolean,Function,Object,Array],nativeValue:[String,Number,Boolean,Function,Object,Array],type:String,disabled:Boolean,required:Boolean,name:String,size:String},data:function(){return{newValue:this.value}},computed:{computedValue:{get:function(){return this.newValue},set:function(e){this.newValue=e,this.$emit("input",e)}}},watch:{value:function(e){this.newValue=e}},methods:{focus:function(){this.$refs.input.focus()}}},mn={name:"BCheckbox",mixins:[vn],props:{indeterminate:Boolean,ariaLabelledby:String,trueValue:{type:[String,Number,Boolean,Function,Object,Array],default:!0},falseValue:{type:[String,Number,Boolean,Function,Object,Array],default:!1},autocomplete:{type:String,default:"on"}}};const gn=mn;var yn=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("label",{ref:"label",staticClass:"b-checkbox checkbox",class:[e.size,{"is-disabled":e.disabled}],attrs:{disabled:e.disabled},on:{click:e.focus,keydown:[function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:(t.preventDefault(),e.$refs.label.click())},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"space",32,t.key,[" ","Spacebar"])?null:(t.preventDefault(),e.$refs.label.click())}]}},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.computedValue,expression:"computedValue"}],ref:"input",attrs:{type:"checkbox",autocomplete:e.autocomplete,disabled:e.disabled,required:e.required,name:e.name,"true-value":e.trueValue,"false-value":e.falseValue,"aria-labelledby":e.ariaLabelledby},domProps:{indeterminate:e.indeterminate,value:e.nativeValue,checked:Array.isArray(e.computedValue)?e._i(e.computedValue,e.nativeValue)>-1:e._q(e.computedValue,e.trueValue)},on:{click:function(e){e.stopPropagation()},change:function(t){var n=e.computedValue,i=t.target,a=i.checked?e.trueValue:e.falseValue;if(Array.isArray(n)){var r=e.nativeValue,o=e._i(n,r);i.checked?o<0&&(e.computedValue=n.concat([r])):o>-1&&(e.computedValue=n.slice(0,o).concat(n.slice(o+1)))}else e.computedValue=a}}}),n("span",{staticClass:"check",class:e.type}),n("span",{staticClass:"control-label",attrs:{id:e.ariaLabelledby}},[e._t("default")],2)])},bn=[];const wn=void 0,kn=void 0,Cn=void 0,Sn=!1;var _n=se({render:yn,staticRenderFns:bn},wn,gn,kn,Sn,Cn,void 0,void 0),xn={name:"BCheckboxButton",mixins:[vn],props:{type:{type:String,default:"is-primary"},expanded:Boolean},data:function(){return{isFocused:!1}},computed:{checked:function(){return Array.isArray(this.newValue)?this.newValue.indexOf(this.nativeValue)>=0:this.newValue===this.nativeValue}}};const Dn=xn;var $n=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"control",class:{"is-expanded":e.expanded}},[n("label",{ref:"label",staticClass:"b-checkbox checkbox button",class:[e.checked?e.type:null,e.size,{"is-disabled":e.disabled,"is-focused":e.isFocused}],attrs:{disabled:e.disabled},on:{click:e.focus,keydown:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:(t.preventDefault(),e.$refs.label.click())}}},[e._t("default"),n("input",{directives:[{name:"model",rawName:"v-model",value:e.computedValue,expression:"computedValue"}],ref:"input",attrs:{type:"checkbox",disabled:e.disabled,required:e.required,name:e.name},domProps:{value:e.nativeValue,checked:Array.isArray(e.computedValue)?e._i(e.computedValue,e.nativeValue)>-1:e.computedValue},on:{click:function(e){e.stopPropagation()},focus:function(t){e.isFocused=!0},blur:function(t){e.isFocused=!1},change:function(t){var n=e.computedValue,i=t.target,a=!!i.checked;if(Array.isArray(n)){var r=e.nativeValue,o=e._i(n,r);i.checked?o<0&&(e.computedValue=n.concat([r])):o>-1&&(e.computedValue=n.slice(0,o).concat(n.slice(o+1)))}else e.computedValue=a}}})],2)])},An=[];const Pn=void 0,On=void 0,Mn=void 0,Tn=!1;var Bn=se({render:$n,staticRenderFns:An},Pn,Dn,On,Tn,Mn,void 0,void 0),En={install:function(e){ce(e,_n),ce(e,Bn)}};le(En);var Fn=En,In={name:"BCollapse",model:{prop:"open",event:"update:open"},props:{open:{type:Boolean,default:!0},animation:{type:String,default:"fade"},ariaId:{type:String,default:""},position:{type:String,default:"is-top",validator:function(e){return["is-top","is-bottom"].indexOf(e)>-1}}},data:function(){return{isOpen:this.open}},watch:{open:function(e){this.isOpen=e}},methods:{toggle:function(){this.isOpen=!this.isOpen,this.$emit("update:open",this.isOpen),this.$emit(this.isOpen?"open":"close")}},render:function(e){var t=e("div",{staticClass:"collapse-trigger",on:{click:this.toggle}},this.$scopedSlots.trigger?[this.$scopedSlots.trigger({open:this.isOpen})]:[this.$slots.trigger]),n=e("transition",{props:{name:this.animation}},[e("div",{staticClass:"collapse-content",attrs:{id:this.ariaId},directives:[{name:"show",value:this.isOpen}]},this.$slots.default)]);return e("div",{staticClass:"collapse"},"is-top"===this.position?[t,n]:[n,t])}};const Nn=In,Rn=void 0,Ln=void 0,Vn=void 0,Hn=void 0;var jn=se({},Rn,Nn,Ln,Hn,Vn,void 0,void 0),zn={install:function(e){ce(e,jn)}};le(zn);var Un,Wn=zn,qn="AM",Yn="PM",Kn="24",Xn="12",Gn=function(e,t){return t.dtf.format(e)},Jn=function(e,t){if(e){var n=null;if(t.computedValue&&!isNaN(t.computedValue)?n=new Date(t.computedValue):(n=t.timeCreator(),n.setMilliseconds(0)),t.dtf.formatToParts&&"function"===typeof t.dtf.formatToParts){var i=t.dtf.formatToParts(n).map((function(e){return"literal"===e.type?e.value.replace(/ /g,"\\s?"):"dayPeriod"===e.type?"((?!=<".concat(e.type,">)(").concat(t.amString,"|").concat(t.pmString,"|").concat(qn,"|").concat(Yn,"|").concat(qn.toLowerCase(),"|").concat(Yn.toLowerCase(),")?)"):"((?!=<".concat(e.type,">)\\d+)")})).join(""),a=J(i,e);if(a.hour=a.hour?parseInt(a.hour,10):null,a.minute=a.minute?parseInt(a.minute,10):null,a.second=a.second?parseInt(a.second,10):null,a.hour&&a.hour>=0&&a.hour<24&&a.minute&&a.minute>=0&&a.minute<59)return a.dayPeriod&&(a.dayPeriod.toLowerCase()===t.pmString.toLowerCase()||a.dayPeriod.toLowerCase()===Yn.toLowerCase())&&a.hour<12&&(a.hour+=12),n.setHours(a.hour),n.setMinutes(a.minute),n.setSeconds(a.second||0),n}var r=!1;if(t.hourFormat===Xn){var o=e.split(" ");e=o[0],r=o[1]===t.amString||o[1]===qn}var s=e.split(":"),l=parseInt(s[0],10),c=parseInt(s[1],10),u=t.enableSeconds?parseInt(s[2],10):0;return isNaN(l)||l<0||l>23||t.hourFormat===Xn&&(l<1||l>12)||isNaN(c)||c<0||c>59?null:(n.setSeconds(u),n.setMinutes(c),t.hourFormat===Xn&&(r&&12===l?l=0:r||12===l||(l+=12)),n.setHours(l),new Date(n.getTime()))}return null},Qn={mixins:[de],inheritAttrs:!1,props:{value:Date,inline:Boolean,minTime:Date,maxTime:Date,placeholder:String,editable:Boolean,disabled:Boolean,hourFormat:{type:String,validator:function(e){return e===Kn||e===Xn}},incrementHours:{type:Number,default:1},incrementMinutes:{type:Number,default:1},incrementSeconds:{type:Number,default:1},timeFormatter:{type:Function,default:function(e,t){return"function"===typeof ie.defaultTimeFormatter?ie.defaultTimeFormatter(e):Gn(e,t)}},timeParser:{type:Function,default:function(e,t){return"function"===typeof ie.defaultTimeParser?ie.defaultTimeParser(e):Jn(e,t)}},mobileNative:{type:Boolean,default:function(){return ie.defaultTimepickerMobileNative}},timeCreator:{type:Function,default:function(){return"function"===typeof ie.defaultTimeCreator?ie.defaultTimeCreator():new Date}},position:String,unselectableTimes:Array,openOnFocus:Boolean,enableSeconds:Boolean,defaultMinutes:Number,defaultSeconds:Number,focusable:{type:Boolean,default:!0},tzOffset:{type:Number,default:0},appendToBody:Boolean,resetOnMeridianChange:{type:Boolean,default:!1}},data:function(){return{dateSelected:this.value,hoursSelected:null,minutesSelected:null,secondsSelected:null,meridienSelected:null,_elementRef:"input",AM:qn,PM:Yn,HOUR_FORMAT_24:Kn,HOUR_FORMAT_12:Xn}},computed:{computedValue:{get:function(){return this.dateSelected},set:function(e){this.dateSelected=e,this.$emit("input",this.dateSelected)}},localeOptions:function(){return new Intl.DateTimeFormat(this.locale,{hour:"numeric",minute:"numeric",second:this.enableSeconds?"numeric":void 0}).resolvedOptions()},dtf:function(){return new Intl.DateTimeFormat(this.locale,{hour:this.localeOptions.hour||"numeric",minute:this.localeOptions.minute||"numeric",second:this.enableSeconds?this.localeOptions.second||"numeric":void 0,hourCycle:this.isHourFormat24?"h23":"h12"})},newHourFormat:function(){return this.hourFormat||(this.localeOptions.hour12?Xn:Kn)},sampleTime:function(){var e=this.timeCreator();return e.setHours(10),e.setSeconds(0),e.setMinutes(0),e.setMilliseconds(0),e},hourLiteral:function(){if(this.dtf.formatToParts&&"function"===typeof this.dtf.formatToParts){var e=this.sampleTime,t=this.dtf.formatToParts(e),n=t.find((function(e,n){return n>0&&"hour"===t[n-1].type}));if(n)return n.value}return":"},minuteLiteral:function(){if(this.dtf.formatToParts&&"function"===typeof this.dtf.formatToParts){var e=this.sampleTime,t=this.dtf.formatToParts(e),n=t.find((function(e,n){return n>0&&"minute"===t[n-1].type}));if(n)return n.value}return":"},secondLiteral:function(){if(this.dtf.formatToParts&&"function"===typeof this.dtf.formatToParts){var e=this.sampleTime,t=this.dtf.formatToParts(e),n=t.find((function(e,n){return n>0&&"second"===t[n-1].type}));if(n)return n.value}},amString:function(){if(this.dtf.formatToParts&&"function"===typeof this.dtf.formatToParts){var e=this.sampleTime;e.setHours(10);var t=this.dtf.formatToParts(e).find((function(e){return"dayPeriod"===e.type}));if(t)return t.value}return qn},pmString:function(){if(this.dtf.formatToParts&&"function"===typeof this.dtf.formatToParts){var e=this.sampleTime;e.setHours(20);var t=this.dtf.formatToParts(e).find((function(e){return"dayPeriod"===e.type}));if(t)return t.value}return Yn},hours:function(){if(!this.incrementHours||this.incrementHours<1)throw new Error("Hour increment cannot be null or less than 1.");for(var e=[],t=this.isHourFormat24?24:12,n=0;n=12?this.pmString:this.amString)},locale:function(){this.value||(this.meridienSelected=this.amString)},value:{handler:function(e){this.updateInternalState(e),!this.isValid&&this.$refs.input.checkHtml5Validity()},immediate:!0}},methods:{onMeridienChange:function(e){null!==this.hoursSelected&&this.resetOnMeridianChange?(this.hoursSelected=null,this.minutesSelected=null,this.secondsSelected=null,this.computedValue=null):null!==this.hoursSelected&&(e===this.pmString?this.hoursSelected+=12:e===this.amString&&(this.hoursSelected-=12)),this.updateDateSelected(this.hoursSelected,this.minutesSelected,this.enableSeconds?this.secondsSelected:0,e)},onHoursChange:function(e){this.minutesSelected||"undefined"===typeof this.defaultMinutes||(this.minutesSelected=this.defaultMinutes),this.secondsSelected||"undefined"===typeof this.defaultSeconds||(this.secondsSelected=this.defaultSeconds),this.updateDateSelected(parseInt(e,10),this.minutesSelected,this.enableSeconds?this.secondsSelected:0,this.meridienSelected)},onMinutesChange:function(e){!this.secondsSelected&&this.defaultSeconds&&(this.secondsSelected=this.defaultSeconds),this.updateDateSelected(this.hoursSelected,parseInt(e,10),this.enableSeconds?this.secondsSelected:0,this.meridienSelected)},onSecondsChange:function(e){this.updateDateSelected(this.hoursSelected,this.minutesSelected,parseInt(e,10),this.meridienSelected)},updateDateSelected:function(e,t,n,i){if(null!=e&&null!=t&&(!this.isHourFormat24&&null!==i||this.isHourFormat24)){var a=null;this.computedValue&&!isNaN(this.computedValue)?a=new Date(this.computedValue):(a=this.timeCreator(),a.setMilliseconds(0)),a.setHours(e),a.setMinutes(t),a.setSeconds(n),isNaN(a.getTime())||(this.computedValue=new Date(a.getTime()))}},updateInternalState:function(e){e?(this.hoursSelected=e.getHours(),this.minutesSelected=e.getMinutes(),this.secondsSelected=e.getSeconds(),this.meridienSelected=e.getHours()>=12?this.pmString:this.amString):(this.hoursSelected=null,this.minutesSelected=null,this.secondsSelected=null,this.meridienSelected=this.amString),this.dateSelected=e},isHourDisabled:function(e){var t=this,n=!1;if(this.minTime){var i=this.minTime.getHours(),a=this.minutes.every((function(n){return t.isMinuteDisabledForHour(e,n.value)}));n=er}if(this.unselectableTimes&&!n){var o=this.unselectableTimes.filter((function(n){return t.enableSeconds&&null!==t.secondsSelected?n.getHours()===e&&n.getMinutes()===t.minutesSelected&&n.getSeconds()===t.secondsSelected:null!==t.minutesSelected&&(n.getHours()===e&&n.getMinutes()===t.minutesSelected)}));n=o.length>0||this.minutes.every((function(n){return t.unselectableTimes.filter((function(t){return t.getHours()===e&&t.getMinutes()===n.value})).length>0}))}return n},isMinuteDisabledForHour:function(e,t){var n=!1;if(this.minTime){var i=this.minTime.getHours(),a=this.minTime.getMinutes();n=e===i&&to}return n},isMinuteDisabled:function(e){var t=this,n=!1;if(null!==this.hoursSelected&&(n=!!this.isHourDisabled(this.hoursSelected)||this.isMinuteDisabledForHour(this.hoursSelected,e),this.unselectableTimes&&!n)){var i=this.unselectableTimes.filter((function(n){return t.enableSeconds&&null!==t.secondsSelected?n.getHours()===t.hoursSelected&&n.getMinutes()===e&&n.getSeconds()===t.secondsSelected:n.getHours()===t.hoursSelected&&n.getMinutes()===e}));n=i.length>0}return n},isSecondDisabled:function(e){var t=this,n=!1;if(null!==this.minutesSelected){if(this.isMinuteDisabled(this.minutesSelected))n=!0;else{if(this.minTime){var i=this.minTime.getHours(),a=this.minTime.getMinutes(),r=this.minTime.getSeconds();n=this.hoursSelected===i&&this.minutesSelected===a&&el}}if(this.unselectableTimes&&!n){var c=this.unselectableTimes.filter((function(n){return n.getHours()===t.hoursSelected&&n.getMinutes()===t.minutesSelected&&n.getSeconds()===e}));n=c.length>0}}return n},onChange:function(e){var t=this.timeParser(e,this);this.updateInternalState(t),t&&!isNaN(t)?this.computedValue=t:(this.computedValue=null,this.$refs.input.newValue=this.computedValue)},toggle:function(e){this.$refs.dropdown&&(this.$refs.dropdown.isActive="boolean"===typeof e?e:!this.$refs.dropdown.isActive)},close:function(){this.toggle(!1)},handleOnFocus:function(){this.onFocus(),this.openOnFocus&&this.toggle(!0)},formatHHMMSS:function(e){var t=new Date(e);if(e&&!isNaN(t)){var n=t.getHours(),i=t.getMinutes(),a=t.getSeconds();return this.formatNumber(n,!0)+":"+this.formatNumber(i,!0)+":"+this.formatNumber(a,!0)}return""},onChangeNativePicker:function(e){var t=e.target.value;if(t){var n=null;this.computedValue&&!isNaN(this.computedValue)?n=new Date(this.computedValue):(n=new Date,n.setMilliseconds(0));var i=t.split(":");n.setHours(parseInt(i[0],10)),n.setMinutes(parseInt(i[1],10)),n.setSeconds(i[2]?parseInt(i[2],10):0),this.computedValue=new Date(n.getTime())}else this.computedValue=null},formatNumber:function(e,t){return this.isHourFormat24||t?this.pad(e):e},pad:function(e){return(e<10?"0":"")+e},formatValue:function(e){return e&&!isNaN(e)?this.timeFormatter(e,this):null},keyPress:function(e){var t=e.key;this.$refs.dropdown&&this.$refs.dropdown.isActive&&("Escape"===t||"Esc"===t)&&this.toggle(!1)},onActiveChange:function(e){e||this.onBlur()}},created:function(){"undefined"!==typeof window&&document.addEventListener("keyup",this.keyPress)},beforeDestroy:function(){"undefined"!==typeof window&&document.removeEventListener("keyup",this.keyPress)}},Zn=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return e?t?e.querySelectorAll('*[tabindex="-1"]'):e.querySelectorAll('a[href]:not([tabindex="-1"]),\n area[href],\n input:not([disabled]),\n select:not([disabled]),\n textarea:not([disabled]),\n button:not([disabled]),\n iframe,\n object,\n embed,\n *[tabindex]:not([tabindex="-1"]),\n *[contenteditable]'):null},ei=function(e,t){var n=t.value,i=void 0===n||n;if(i){var a=Zn(e),r=Zn(e,!0);a&&a.length>0&&(Un=function(t){a=Zn(e),r=Zn(e,!0);var n=a[0],i=a[a.length-1];t.target===n&&t.shiftKey&&"Tab"===t.key?(t.preventDefault(),i.focus()):(t.target===i||Array.from(r).indexOf(t.target)>=0)&&!t.shiftKey&&"Tab"===t.key&&(t.preventDefault(),n.focus())},e.addEventListener("keydown",Un))}},ti=function(e){e.removeEventListener("keydown",Un)},ni={bind:ei,unbind:ti},ii=["escape","outside"],ai={name:"BDropdown",directives:{trapFocus:ni},mixins:[_t("dropdown")],props:{value:{type:[String,Number,Boolean,Object,Array,Function],default:null},disabled:Boolean,inline:Boolean,scrollable:Boolean,maxHeight:{type:[String,Number],default:200},position:{type:String,validator:function(e){return["is-top-right","is-top-left","is-bottom-left","is-bottom-right"].indexOf(e)>-1}},triggers:{type:Array,default:function(){return["click"]}},mobileModal:{type:Boolean,default:function(){return ie.defaultDropdownMobileModal}},ariaRole:{type:String,validator:function(e){return["menu","list","dialog"].indexOf(e)>-1},default:null},animation:{type:String,default:"fade"},multiple:Boolean,trapFocus:{type:Boolean,default:function(){return ie.defaultTrapFocus}},closeOnClick:{type:Boolean,default:!0},canClose:{type:[Array,Boolean],default:!0},expanded:Boolean,appendToBody:Boolean,appendToBodyCopyParent:Boolean},data:function(){return{selected:this.value,style:{},isActive:!1,isHoverable:!1,_bodyEl:void 0}},computed:{rootClasses:function(){return[this.position,{"is-disabled":this.disabled,"is-hoverable":this.hoverable,"is-inline":this.inline,"is-active":this.isActive||this.inline,"is-mobile-modal":this.isMobileModal,"is-expanded":this.expanded}]},isMobileModal:function(){return this.mobileModal&&!this.inline},cancelOptions:function(){return"boolean"===typeof this.canClose?this.canClose?ii:[]:this.canClose},contentStyle:function(){return{maxHeight:this.scrollable?K(this.maxHeight):null,overflow:this.scrollable?"auto":null}},hoverable:function(){return this.triggers.indexOf("hover")>=0}},watch:{value:function(e){this.selected=e},isActive:function(e){var t=this;this.$emit("active-change",e),this.handleScroll(),this.appendToBody&&this.$nextTick((function(){t.updateAppendToBody()}))},isHoverable:function(e){this.hoverable&&this.$emit("active-change",e)}},methods:{handleScroll:function(){"undefined"!==typeof window&&this.isMobileModal&&(this.isActive?document.documentElement.classList.add("is-clipped-touch"):document.documentElement.classList.remove("is-clipped-touch"))},selectItem:function(e){this.multiple?(this.selected?-1===this.selected.indexOf(e)?this.selected=[].concat(_(this.selected),[e]):this.selected=this.selected.filter((function(t){return t!==e})):this.selected=[e],this.$emit("change",this.selected)):this.selected!==e&&(this.selected=e,this.$emit("change",this.selected)),this.$emit("input",this.selected),this.multiple||(this.isActive=!this.closeOnClick,this.hoverable&&this.closeOnClick&&(this.isHoverable=!1))},isInWhiteList:function(e){if(e===this.$refs.dropdownMenu)return!0;if(e===this.$refs.trigger)return!0;if(void 0!==this.$refs.dropdownMenu){var t=this.$refs.dropdownMenu.querySelectorAll("*"),n=!0,i=!1,a=void 0;try{for(var r,o=t[Symbol.iterator]();!(n=(r=o.next()).done);n=!0){var s=r.value;if(e===s)return!0}}catch(v){i=!0,a=v}finally{try{n||null==o.return||o.return()}finally{if(i)throw a}}}if(void 0!==this.$refs.trigger){var l=this.$refs.trigger.querySelectorAll("*"),c=!0,u=!1,d=void 0;try{for(var h,f=l[Symbol.iterator]();!(c=(h=f.next()).done);c=!0){var p=h.value;if(e===p)return!0}}catch(v){u=!0,d=v}finally{try{c||null==f.return||f.return()}finally{if(u)throw d}}}return!1},clickedOutside:function(e){if(!(this.cancelOptions.indexOf("outside")<0)&&!this.inline){var t=Z(this)?e.composedPath()[0]:e.target;this.isInWhiteList(t)||(this.isActive=!1)}},keyPress:function(e){var t=e.key;if(this.isActive&&("Escape"===t||"Esc"===t)){if(this.cancelOptions.indexOf("escape")<0)return;this.isActive=!1}},onClick:function(){this.triggers.indexOf("click")<0||this.toggle()},onContextMenu:function(){this.triggers.indexOf("contextmenu")<0||this.toggle()},onHover:function(){this.triggers.indexOf("hover")<0||(this.isHoverable=!0)},onFocus:function(){this.triggers.indexOf("focus")<0||this.toggle()},toggle:function(){var e=this;this.disabled||(this.isActive?this.isActive=!this.isActive:this.$nextTick((function(){var t=!e.isActive;e.isActive=t,setTimeout((function(){return e.isActive=t}))})))},updateAppendToBody:function(){var e=this.$refs.dropdown,t=this.$refs.dropdownMenu,n=this.$refs.trigger;if(t&&n){var a=this.$data._bodyEl.children[0];if(a.classList.forEach((function(e){return a.classList.remove(e)})),a.classList.add("dropdown"),a.classList.add("dropdown-menu-animation"),this.$vnode&&this.$vnode.data&&this.$vnode.data.staticClass&&a.classList.add(this.$vnode.data.staticClass),this.rootClasses.forEach((function(e){if(e&&"object"===i(e))for(var t in e)e[t]&&a.classList.add(t)})),this.appendToBodyCopyParent){var r=this.$refs.dropdown.parentNode,o=this.$data._bodyEl;o.classList.forEach((function(e){return o.classList.remove(e)})),r.classList.forEach((function(e){o.classList.add(e)}))}var s=n.getBoundingClientRect(),l=s.top+window.scrollY,c=s.left+window.scrollX;!this.position||this.position.indexOf("bottom")>=0?l+=n.clientHeight:l-=t.clientHeight,this.position&&this.position.indexOf("left")>=0&&(c-=t.clientWidth-n.clientWidth),this.style={position:"absolute",top:"".concat(l,"px"),left:"".concat(c,"px"),zIndex:"99",width:this.expanded?"".concat(e.offsetWidth,"px"):void 0}}}},mounted:function(){this.appendToBody&&(this.$data._bodyEl=z(this.$refs.dropdownMenu),this.updateAppendToBody())},created:function(){"undefined"!==typeof window&&(document.addEventListener("click",this.clickedOutside),document.addEventListener("keyup",this.keyPress))},beforeDestroy:function(){"undefined"!==typeof window&&(document.removeEventListener("click",this.clickedOutside),document.removeEventListener("keyup",this.keyPress)),this.appendToBody&&j(this.$data._bodyEl)}};const ri=ai;var oi=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{ref:"dropdown",staticClass:"dropdown dropdown-menu-animation",class:e.rootClasses,on:{mouseleave:function(t){e.isHoverable=!1}}},[e.inline?e._e():n("div",{ref:"trigger",staticClass:"dropdown-trigger",attrs:{tabindex:!e.disabled&&0,"aria-haspopup":"true"},on:{click:e.onClick,contextmenu:function(t){return t.preventDefault(),e.onContextMenu(t)},mouseenter:e.onHover,"!focus":function(t){return e.onFocus(t)}}},[e._t("trigger",null,{active:e.isActive})],2),n("transition",{attrs:{name:e.animation}},[e.isMobileModal?n("div",{directives:[{name:"show",rawName:"v-show",value:e.isActive,expression:"isActive"}],staticClass:"background",attrs:{"aria-hidden":!e.isActive}}):e._e()]),n("transition",{attrs:{name:e.animation}},[n("div",{directives:[{name:"show",rawName:"v-show",value:!e.disabled&&(e.isActive||e.isHoverable)||e.inline,expression:"(!disabled && (isActive || isHoverable)) || inline"},{name:"trap-focus",rawName:"v-trap-focus",value:e.trapFocus,expression:"trapFocus"}],ref:"dropdownMenu",staticClass:"dropdown-menu",style:e.style,attrs:{"aria-hidden":!e.isActive}},[n("div",{staticClass:"dropdown-content",style:e.contentStyle,attrs:{role:e.ariaRole,"aria-modal":!e.inline}},[e._t("default")],2)])])],1)},si=[];const li=void 0,ci=void 0,ui=void 0,di=!1;var hi=se({render:oi,staticRenderFns:si},li,ri,ci,di,ui,void 0,void 0),fi={name:"BDropdownItem",mixins:[At("dropdown")],props:{value:{type:[String,Number,Boolean,Object,Array,Function],default:null},separator:Boolean,disabled:Boolean,custom:Boolean,focusable:{type:Boolean,default:!0},paddingless:Boolean,hasLink:Boolean,ariaRole:{type:String,default:""}},computed:{anchorClasses:function(){return{"is-disabled":this.parent.disabled||this.disabled,"is-paddingless":this.paddingless,"is-active":this.isActive}},itemClasses:function(){return{"dropdown-item":!this.hasLink,"is-disabled":this.disabled,"is-paddingless":this.paddingless,"is-active":this.isActive,"has-link":this.hasLink}},ariaRoleItem:function(){return"menuitem"===this.ariaRole||"listitem"===this.ariaRole?this.ariaRole:null},isClickable:function(){return!this.parent.disabled&&!this.separator&&!this.disabled&&!this.custom},isActive:function(){return null!==this.parent.selected&&(this.parent.multiple?this.parent.selected.indexOf(this.value)>=0:this.value===this.parent.selected)},isFocusable:function(){return!this.hasLink&&this.focusable}},methods:{selectItem:function(){this.isClickable&&(this.parent.selectItem(this.value),this.$emit("click"))}}};const pi=fi;var vi=function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.separator?n("hr",{staticClass:"dropdown-divider"}):e.custom||e.hasLink?n("div",{class:e.itemClasses,attrs:{role:e.ariaRoleItem,tabindex:e.isFocusable?0:null},on:{click:e.selectItem}},[e._t("default")],2):n("a",{staticClass:"dropdown-item",class:e.anchorClasses,attrs:{role:e.ariaRoleItem,tabindex:e.isFocusable?0:null},on:{click:e.selectItem}},[e._t("default")],2)},mi=[];const gi=void 0,yi=void 0,bi=void 0,wi=!1;var ki=se({render:vi,staticRenderFns:mi},gi,pi,yi,wi,bi,void 0,void 0),Ci={name:"BFieldBody",props:{message:{type:[String,Array]},type:{type:[String,Object]}},render:function(e){var t=this,n=!0;return e("div",{attrs:{class:"field-body"}},this.$slots.default.map((function(i){return i.tag?(n&&(a=t.message,n=!1),e("b-field",{attrs:{type:t.type,message:a}},[i])):i;var a})))}};const Si=Ci,_i=void 0,xi=void 0,Di=void 0,$i=void 0;var Ai=se({},_i,Si,xi,$i,Di,void 0,void 0),Pi={name:"BField",components:s({},Ai.name,Ai),provide:function(){return{BField:this}},inject:{parent:{from:"BField",default:!1}},props:{type:[String,Object],label:String,labelFor:String,message:[String,Array,Object],grouped:Boolean,groupMultiline:Boolean,position:String,expanded:Boolean,horizontal:Boolean,addons:{type:Boolean,default:!0},customClass:String,labelPosition:{type:String,default:function(){return ie.defaultFieldLabelPosition}}},data:function(){return{newType:this.type,newMessage:this.message,fieldLabelSize:null,_isField:!0}},computed:{rootClasses:function(){return[{"is-expanded":this.expanded,"is-horizontal":this.horizontal,"is-floating-in-label":this.hasLabel&&!this.horizontal&&"inside"===this.labelPosition,"is-floating-label":this.hasLabel&&!this.horizontal&&"on-border"===this.labelPosition},this.numberInputClasses]},innerFieldClasses:function(){return[this.fieldType(),this.newPosition,{"is-grouped-multiline":this.groupMultiline}]},hasInnerField:function(){return this.grouped||this.groupMultiline||this.hasAddons()},newPosition:function(){if(void 0!==this.position){var e=this.position.split("-");if(!(e.length<1)){var t=this.grouped?"is-grouped-":"has-addons-";return this.position?t+e[1]:void 0}}},formattedMessage:function(){if(this.parent&&this.parent.hasInnerField)return"";if("string"===typeof this.newMessage)return[this.newMessage];var e=[];if(Array.isArray(this.newMessage))this.newMessage.forEach((function(t){if("string"===typeof t)e.push(t);else for(var n in t)t[n]&&e.push(n)}));else for(var t in this.newMessage)this.newMessage[t]&&e.push(t);return e.filter((function(e){if(e)return e}))},hasLabel:function(){return this.label||this.$slots.label},hasMessage:function(){return(!this.parent||!this.parent.hasInnerField)&&this.newMessage||this.$slots.message},numberInputClasses:function(){if(this.$slots.default){var e=this.$slots.default.filter((function(e){return e.tag&&e.tag.toLowerCase().indexOf("numberinput")>=0}))[0];if(e){var t=["has-numberinput"],n=e.componentOptions.propsData.controlsPosition,i=e.componentOptions.propsData.size;return n&&t.push("has-numberinput-".concat(n)),i&&t.push("has-numberinput-".concat(i)),t}}return null}},watch:{type:function(e){this.newType=e},message:function(e){this.newMessage=e},newMessage:function(e){this.parent&&this.parent.hasInnerField&&(this.parent.type||(this.parent.newType=this.newType),this.parent.message||(this.parent.newMessage=e))}},methods:{fieldType:function(){return this.grouped?"is-grouped":this.hasAddons()?"has-addons":void 0},hasAddons:function(){var e=0;return this.$slots.default&&(e=this.$slots.default.reduce((function(e,t){return t.tag?e+1:e}),0)),e>1&&this.addons&&!this.horizontal}},mounted:function(){if(this.horizontal){var e=this.$el.querySelectorAll(".input, .select, .button, .textarea, .b-slider");e.length>0&&(this.fieldLabelSize="is-normal")}}};const Oi=Pi;var Mi=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"field",class:e.rootClasses},[e.horizontal?n("div",{staticClass:"field-label",class:[e.customClass,e.fieldLabelSize]},[e.hasLabel?n("label",{staticClass:"label",class:e.customClass,attrs:{for:e.labelFor}},[e.$slots.label?e._t("label"):[e._v(e._s(e.label))]],2):e._e()]):[e.hasLabel?n("label",{staticClass:"label",class:e.customClass,attrs:{for:e.labelFor}},[e.$slots.label?e._t("label"):[e._v(e._s(e.label))]],2):e._e()],e.horizontal?n("b-field-body",{attrs:{message:e.newMessage?e.formattedMessage:"",type:e.newType}},[e._t("default")],2):e.hasInnerField?n("div",{staticClass:"field-body"},[n("b-field",{class:e.innerFieldClasses,attrs:{addons:!1,type:e.newType}},[e._t("default")],2)],1):[e._t("default")],e.hasMessage&&!e.horizontal?n("p",{staticClass:"help",class:e.newType},[e.$slots.message?e._t("message",null,{messages:e.formattedMessage}):[e._l(e.formattedMessage,(function(t,i){return[e._v(" "+e._s(t)+" "),i+1=this.countPerRing},calcHandAngle:function(e){var t=this.degreesPerUnit*(e-this.min);return this.isInnerRing(e)&&(t-=360),t},calcHandScale:function(e){return this.isInnerRing(e)?this.innerRadius/this.outerRadius:1},onMouseDown:function(e){e.preventDefault(),this.isDragging=!0,this.onDragMove(e)},onMouseUp:function(){this.isDragging=!1,this.isDisabled(this.inputValue)||this.$emit("change",this.inputValue)},onDragMove:function(e){if(e.preventDefault(),this.isDragging||"click"===e.type){var t=this.$refs.clock.getBoundingClientRect(),n=t.width,i=t.top,a=t.left,r="touches"in e?e.touches[0]:e,o=r.clientX,s=r.clientY,l={x:n/2,y:-n/2},c={x:o-a,y:i-s},u=Math.round(this.coordToAngle(l,c)+360)%360,d=this.double&&this.euclidean(l,c)<(this.outerRadius+this.innerRadius)/2-16,h=Math.round(u/this.degreesPerUnit)+this.min+(d?this.countPerRing:0);u>=360-this.degreesPerUnit/2&&(h=d?this.max:this.min),this.update(h)}},update:function(e){this.inputValue===e||this.isDisabled(e)||(this.prevAngle=this.handRotateAngle,this.inputValue=e,this.$emit("input",e))}}};const Hi=Vi;var ji=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"b-clockpicker-face",on:{mousedown:e.onMouseDown,mouseup:e.onMouseUp,mousemove:e.onDragMove,touchstart:e.onMouseDown,touchend:e.onMouseUp,touchmove:e.onDragMove}},[n("div",{ref:"clock",staticClass:"b-clockpicker-face-outer-ring"},[n("div",{staticClass:"b-clockpicker-face-hand",style:e.handStyle}),e._l(e.faceNumbers,(function(t,i){return n("span",{key:i,staticClass:"b-clockpicker-face-number",class:e.getFaceNumberClasses(t),style:{transform:e.getNumberTranslate(t.value)}},[n("span",[e._v(e._s(t.label))])])}))],2)])},zi=[];const Ui=void 0,Wi=void 0,qi=void 0,Yi=!1;var Ki,Xi=se({render:ji,staticRenderFns:zi},Ui,Hi,Wi,Yi,qi,void 0,void 0),Gi=12,Ji={name:"BClockpicker",components:(Ki={},s(Ki,Xi.name,Xi),s(Ki,Te.name,Te),s(Ki,Ni.name,Ni),s(Ki,Se.name,Se),s(Ki,hi.name,hi),s(Ki,ki.name,ki),Ki),mixins:[Qn],props:{pickerSize:{type:Number,default:290},incrementMinutes:{type:Number,default:5},autoSwitch:{type:Boolean,default:!0},type:{type:String,default:"is-primary"},hoursLabel:{type:String,default:function(){return ie.defaultClockpickerHoursLabel||"Hours"}},minutesLabel:{type:String,default:function(){return ie.defaultClockpickerMinutesLabel||"Min"}}},data:function(){return{isSelectingHour:!0,isDragging:!1,_isClockpicker:!0}},computed:{hoursDisplay:function(){if(null==this.hoursSelected)return"--";if(this.isHourFormat24)return this.pad(this.hoursSelected);var e=this.hoursSelected;return this.meridienSelected===this.pmString&&(e-=12),0===e&&(e=12),e},minutesDisplay:function(){return null==this.minutesSelected?"--":this.pad(this.minutesSelected)},minFaceValue:function(){return this.isSelectingHour&&!this.isHourFormat24&&this.meridienSelected===this.pmString?12:0},maxFaceValue:function(){return this.isSelectingHour?this.isHourFormat24||this.meridienSelected!==this.amString?23:11:59},faceSize:function(){return this.pickerSize-2*Gi},faceDisabledValues:function(){return this.isSelectingHour?this.isHourDisabled:this.isMinuteDisabled}},methods:{onClockInput:function(e){this.isSelectingHour?(this.hoursSelected=e,this.onHoursChange(e)):(this.minutesSelected=e,this.onMinutesChange(e))},onClockChange:function(e){this.autoSwitch&&this.isSelectingHour&&(this.isSelectingHour=!this.isSelectingHour)},onMeridienClick:function(e){this.meridienSelected!==e&&(this.meridienSelected=e,this.onMeridienChange(e))},onInputClick:function(e){this.$refs.dropdown.isActive&&e.stopPropagation()}}};const Qi=Ji;var Zi=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"b-clockpicker control",class:[e.size,e.type,{"is-expanded":e.expanded}]},[!e.isMobile||e.inline?n("b-dropdown",{ref:"dropdown",attrs:{position:e.position,disabled:e.disabled,inline:e.inline,"append-to-body":e.appendToBody,"append-to-body-copy-parent":""},on:{"active-change":e.onActiveChange},scopedSlots:e._u([e.inline?null:{key:"trigger",fn:function(){return[e._t("trigger",[n("b-input",e._b({ref:"input",attrs:{slot:"trigger",autocomplete:"off",value:e.formatValue(e.computedValue),placeholder:e.placeholder,size:e.size,icon:e.icon,"icon-pack":e.iconPack,loading:e.loading,disabled:e.disabled,readonly:!e.editable,rounded:e.rounded,"use-html5-validation":e.useHtml5Validation},on:{focus:e.handleOnFocus,blur:function(t){return e.checkHtml5Validity()}},nativeOn:{click:function(t){return e.onInputClick(t)},keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.toggle(!0)},change:function(t){return e.onChange(t.target.value)}},slot:"trigger"},"b-input",e.$attrs,!1))])]},proxy:!0}],null,!0)},[n("div",{staticClass:"card",attrs:{disabled:e.disabled,custom:""}},[e.inline?n("header",{staticClass:"card-header"},[n("div",{staticClass:"b-clockpicker-header card-header-title"},[n("div",{staticClass:"b-clockpicker-time"},[n("span",{staticClass:"b-clockpicker-btn",class:{active:e.isSelectingHour},on:{click:function(t){e.isSelectingHour=!0}}},[e._v(e._s(e.hoursDisplay))]),n("span",[e._v(e._s(e.hourLiteral))]),n("span",{staticClass:"b-clockpicker-btn",class:{active:!e.isSelectingHour},on:{click:function(t){e.isSelectingHour=!1}}},[e._v(e._s(e.minutesDisplay))])]),e.isHourFormat24?e._e():n("div",{staticClass:"b-clockpicker-period"},[n("div",{staticClass:"b-clockpicker-btn",class:{active:e.meridienSelected===e.amString||e.meridienSelected===e.AM},on:{click:function(t){return e.onMeridienClick(e.amString)}}},[e._v(e._s(e.amString))]),n("div",{staticClass:"b-clockpicker-btn",class:{active:e.meridienSelected===e.pmString||e.meridienSelected===e.PM},on:{click:function(t){return e.onMeridienClick(e.pmString)}}},[e._v(e._s(e.pmString))])])])]):e._e(),n("div",{staticClass:"card-content"},[n("div",{staticClass:"b-clockpicker-body",style:{width:e.faceSize+"px",height:e.faceSize+"px"}},[e.inline?e._e():n("div",{staticClass:"b-clockpicker-time"},[n("div",{staticClass:"b-clockpicker-btn",class:{active:e.isSelectingHour},on:{click:function(t){e.isSelectingHour=!0}}},[e._v(e._s(e.hoursLabel))]),n("span",{staticClass:"b-clockpicker-btn",class:{active:!e.isSelectingHour},on:{click:function(t){e.isSelectingHour=!1}}},[e._v(e._s(e.minutesLabel))])]),e.isHourFormat24||e.inline?e._e():n("div",{staticClass:"b-clockpicker-period"},[n("div",{staticClass:"b-clockpicker-btn",class:{active:e.meridienSelected===e.amString||e.meridienSelected===e.AM},on:{click:function(t){return e.onMeridienClick(e.amString)}}},[e._v(e._s(e.amString))]),n("div",{staticClass:"b-clockpicker-btn",class:{active:e.meridienSelected===e.pmString||e.meridienSelected===e.PM},on:{click:function(t){return e.onMeridienClick(e.pmString)}}},[e._v(e._s(e.pmString))])]),n("b-clockpicker-face",{attrs:{"picker-size":e.faceSize,min:e.minFaceValue,max:e.maxFaceValue,"face-numbers":e.isSelectingHour?e.hours:e.minutes,"disabled-values":e.faceDisabledValues,double:e.isSelectingHour&&e.isHourFormat24,value:e.isSelectingHour?e.hoursSelected:e.minutesSelected},on:{input:e.onClockInput,change:e.onClockChange}})],1)]),void 0!==e.$slots.default&&e.$slots.default.length?n("footer",{staticClass:"b-clockpicker-footer card-footer"},[e._t("default")],2):e._e()])]):n("b-input",e._b({ref:"input",attrs:{type:"time",autocomplete:"off",value:e.formatHHMMSS(e.computedValue),placeholder:e.placeholder,size:e.size,icon:e.icon,"icon-pack":e.iconPack,loading:e.loading,max:e.formatHHMMSS(e.maxTime),min:e.formatHHMMSS(e.minTime),disabled:e.disabled,readonly:!1,"use-html5-validation":e.useHtml5Validation},on:{focus:e.handleOnFocus,blur:function(t){e.onBlur()&&e.checkHtml5Validity()}},nativeOn:{click:function(t){return t.stopPropagation(),e.toggle(!0)},keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.toggle(!0)},change:function(t){return e.onChangeNativePicker(t)}}},"b-input",e.$attrs,!1))],1)},ea=[];const ta=void 0,na=void 0,ia=void 0,aa=!1;var ra=se({render:Zi,staticRenderFns:ea},ta,Qi,na,aa,ia,void 0,void 0),oa={install:function(e){ce(e,ra)}};le(oa);var sa=oa,la={name:"BSelect",components:s({},Se.name,Se),mixins:[de],inheritAttrs:!1,props:{value:{type:[String,Number,Boolean,Object,Array,Function,Date],default:null},placeholder:String,multiple:Boolean,nativeSize:[String,Number]},data:function(){return{selected:this.value,_elementRef:"select"}},computed:{computedValue:{get:function(){return this.selected},set:function(e){this.selected=e,this.$emit("input",e),!this.isValid&&this.checkHtml5Validity()}},spanClasses:function(){return[this.size,this.statusType,{"is-fullwidth":this.expanded,"is-loading":this.loading,"is-multiple":this.multiple,"is-rounded":this.rounded,"is-empty":null===this.selected}]}},watch:{value:function(e){this.selected=e,!this.isValid&&this.checkHtml5Validity()}}};const ca=la;var ua=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"control",class:{"is-expanded":e.expanded,"has-icons-left":e.icon}},[n("span",{staticClass:"select",class:e.spanClasses},[n("select",e._b({directives:[{name:"model",rawName:"v-model",value:e.computedValue,expression:"computedValue"}],ref:"select",attrs:{multiple:e.multiple,size:e.nativeSize},on:{blur:function(t){e.$emit("blur",t)&&e.checkHtml5Validity()},focus:function(t){return e.$emit("focus",t)},change:function(t){var n=Array.prototype.filter.call(t.target.options,(function(e){return e.selected})).map((function(e){var t="_value"in e?e._value:e.value;return t}));e.computedValue=t.target.multiple?n:n[0]}}},"select",e.$attrs,!1),[e.placeholder?[null==e.computedValue?n("option",{attrs:{disabled:"",hidden:""},domProps:{value:null}},[e._v(" "+e._s(e.placeholder)+" ")]):e._e()]:e._e(),e._t("default")],2)]),e.icon?n("b-icon",{staticClass:"is-left",attrs:{icon:e.icon,pack:e.iconPack,size:e.iconSize}}):e._e()],1)},da=[];const ha=void 0,fa=void 0,pa=void 0,va=!1;var ma=se({render:ua,staticRenderFns:da},ha,ca,fa,va,pa,void 0,void 0),ga={name:"BTooltip",props:{active:{type:Boolean,default:!0},type:{type:String,default:function(){return ie.defaultTooltipType}},label:String,delay:{type:Number,default:function(){return ie.defaultTooltipDelay}},closeDelay:{type:Number,default:function(){return ie.defaultTooltipCloseDelay}},position:{type:String,default:"is-top",validator:function(e){return["is-top","is-bottom","is-left","is-right"].indexOf(e)>-1}},triggers:{type:Array,default:function(){return["hover"]}},always:Boolean,square:Boolean,dashed:Boolean,multilined:Boolean,size:{type:String,default:"is-medium"},appendToBody:Boolean,animated:{type:Boolean,default:!0},animation:{type:String,default:"fade"},contentClass:String,autoClose:{type:[Array,Boolean],default:!0}},data:function(){return{isActive:!1,triggerStyle:{},timer:null,_bodyEl:void 0}},computed:{rootClasses:function(){return["b-tooltip",this.type,this.position,this.size,{"is-square":this.square,"is-always":this.always,"is-multiline":this.multilined,"is-dashed":this.dashed}]},newAnimation:function(){return this.animated?this.animation:void 0}},watch:{isActive:function(){this.$emit(this.isActive?"open":"close"),this.appendToBody&&this.updateAppendToBody()}},methods:{updateAppendToBody:function(){var e=this.$refs.tooltip,t=this.$refs.trigger;if(e&&t){var n=this.$data._bodyEl.children[0];n.classList.forEach((function(e){return n.classList.remove(e)})),this.$vnode&&this.$vnode.data&&this.$vnode.data.staticClass&&n.classList.add(this.$vnode.data.staticClass),this.rootClasses.forEach((function(e){if("object"===i(e))for(var t in e)e[t]&&n.classList.add(t);else n.classList.add(e)}));var a=t.getBoundingClientRect(),r=a.top+window.scrollY,o=a.left+window.scrollX,s=t.clientHeight/2/2;switch(this.position){case"is-top":n.style.width="".concat(t.clientWidth,"px"),n.style.height="0px",r-=t.clientHeight-s;break;case"is-bottom":n.style.width="".concat(t.clientWidth,"px"),n.style.height="0px",r+=s;break;case"is-left":n.style.width="0px",n.style.height="".concat(t.clientHeight,"px");break;case"is-right":n.style.width="0px",n.style.height="".concat(t.clientHeight,"px"),o+=t.clientWidth;break}var l=this.$data._bodyEl;l.style.position="absolute",l.style.top="".concat(r,"px"),l.style.left="".concat(o,"px"),l.style.width="0px",l.style.zIndex=this.isActive||this.always?"99":"-1",this.triggerStyle={zIndex:this.isActive||this.always?"100":void 0}}},onClick:function(){var e=this;this.triggers.indexOf("click")<0||this.$nextTick((function(){setTimeout((function(){return e.open()}))}))},onHover:function(){this.triggers.indexOf("hover")<0||this.open()},onContextMenu:function(e){this.triggers.indexOf("contextmenu")<0||(e.preventDefault(),this.open())},onFocus:function(){this.triggers.indexOf("focus")<0||this.open()},open:function(){var e=this;this.delay?this.timer=setTimeout((function(){e.isActive=!0,e.timer=null}),this.delay):this.isActive=!0},close:function(){var e=this;"boolean"===typeof this.autoClose&&(this.autoClose&&this.timer&&clearTimeout(this.timer),this.closeDelay?this.timer=setTimeout((function(){e.isActive=!e.autoClose,e.timer=null}),this.closeDelay):this.isActive=!this.autoClose)},clickedOutside:function(e){if(this.isActive&&Array.isArray(this.autoClose)){if(this.autoClose.includes("outside")&&!this.isInWhiteList(e.target))return void(this.isActive=!1);this.autoClose.includes("inside")&&this.isInWhiteList(e.target)&&(this.isActive=!1)}},keyPress:function(e){var t=e.key;!this.isActive||"Escape"!==t&&"Esc"!==t||Array.isArray(this.autoClose)&&this.autoClose.indexOf("escape")>=0&&(this.isActive=!1)},isInWhiteList:function(e){if(e===this.$refs.content)return!0;if(void 0!==this.$refs.content){var t=this.$refs.content.querySelectorAll("*"),n=!0,i=!1,a=void 0;try{for(var r,o=t[Symbol.iterator]();!(n=(r=o.next()).done);n=!0){var s=r.value;if(e===s)return!0}}catch(l){i=!0,a=l}finally{try{n||null==o.return||o.return()}finally{if(i)throw a}}}return!1}},mounted:function(){this.appendToBody&&"undefined"!==typeof window&&(this.$data._bodyEl=z(this.$refs.content),this.updateAppendToBody())},created:function(){"undefined"!==typeof window&&(document.addEventListener("click",this.clickedOutside),document.addEventListener("keyup",this.keyPress))},beforeDestroy:function(){"undefined"!==typeof window&&(document.removeEventListener("click",this.clickedOutside),document.removeEventListener("keyup",this.keyPress)),this.appendToBody&&j(this.$data._bodyEl)}};const ya=ga;var ba=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{ref:"tooltip",class:e.rootClasses},[n("transition",{attrs:{name:e.newAnimation}},[n("div",{directives:[{name:"show",rawName:"v-show",value:e.active&&(e.isActive||e.always),expression:"active && (isActive || always)"}],ref:"content",class:["tooltip-content",e.contentClass]},[e.label?[e._v(e._s(e.label))]:e.$slots.content?[e._t("content")]:e._e()],2)]),n("div",{ref:"trigger",staticClass:"tooltip-trigger",style:e.triggerStyle,on:{click:e.onClick,contextmenu:e.onContextMenu,mouseenter:e.onHover,"!focus":function(t){return e.onFocus(t)},"!blur":function(t){return e.close(t)},mouseleave:e.close}},[e._t("default")],2)],1)},wa=[];const ka=void 0,Ca=void 0,Sa=void 0,_a=!1;var xa=se({render:ba,staticRenderFns:wa},ka,ya,Ca,_a,Sa,void 0,void 0),Da=["red","green","blue","alpha"],$a={black:"#000000",silver:"#c0c0c0",gray:"#808080",white:"#ffffff",maroon:"#800000",red:"#ff0000",purple:"#800080",fuchsia:"#ff00ff",green:"#008000",lime:"#00ff00",olive:"#808000",yellow:"#ffff00",navy:"#000080",blue:"#0000ff",teal:"#008080",aqua:"#00ffff",orange:"#ffa500",aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",blanchedalmond:"#ffebcd",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",oldlace:"#fdf5e6",olivedrab:"#6b8e23",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",whitesmoke:"#f5f5f5",yellowgreen:"#9acd32",rebeccapurple:"#663399"},Aa=function(e){function t(){return a(this,t),w(this,d(t).call(this,"ColorTypeError: type must be hex(a), rgb(a) or hsl(a)"))}return u(t,e),t}(m(Error)),Pa=function(){function e(){var t=this;if(a(this,e),arguments.length>0)return e.parse.apply(e,arguments);this.$channels=new Uint8Array(Da.length),Da.forEach((function(e,n){Object.defineProperty(t,e,{get:function(){return t.$channels[n]},set:function(e){Number.isNaN(e/1)||(t.$channels[n]=Math.min(255,Math.max(0,e)))},enumerable:!0,configurable:!0})})),["hue","saturation","lightness"].forEach((function(e){var n=e.replace(/^./,(function(e){return e.toUpperCase()}));Object.defineProperty(t,e,{get:function(){return t["get".concat(n)]()},set:function(e){Number.isNaN(e/1)||t["set".concat(n)](e)},enumerable:!0,configurable:!0})}))}return o(e,[{key:"getHue",value:function(){var e=Array.from(this.$channels).map((function(e){return e/255})),t=C(e,3),n=t[0],i=t[1],a=t[2],r=[Math.min(n,i,a),Math.max(n,i,a)],o=r[0],s=r[1],l=s-o,c=0;if(0===l)return c;c=n===s?(i-a)/l%6:i===s?(a-n)/l+2:(n-i)/l+4,c*=60;while(c!==-1/0&&c<0)c+=360;return Math.round(c%360)}},{key:"setHue",value:function(t){for(var n=e.fromHSL(t,this.saturation,this.lightness,this.alpha/255),i=0;i0&&void 0!==arguments[0]?arguments[0]:"hex";switch(String(t).toLowerCase()){case"hex":return"#"+Da.slice(0,3).map((function(t){return e[t].toString(16).padStart(2,"0")})).join("");case"hexa":return"#"+Da.map((function(t){return e[t].toString(16).padStart(2,"0")})).join("");case"rgb":return"rgb(".concat(this.red,", ").concat(this.green,", ").concat(this.blue,")");case"rgba":return"rgba(".concat(this.red,", ").concat(this.green,", ").concat(this.blue,", ").concat(Math.round(this.alpha/2.55)/100,")");case"hsl":return"hsl(".concat(Math.round(this.hue),"deg, ").concat(Math.round(100*this.saturation),"%, ").concat(Math.round(100*this.lightness),"%)");case"hsla":return"hsla(".concat(Math.round(this.hue),"deg, ").concat(Math.round(100*this.saturation),"%, ").concat(Math.round(100*this.lightness),"%, ").concat(Math.round(this.alpha/2.55)/100,")");default:throw new Aa}}},{key:Symbol.toString,get:function(){return this.toString("hex")}}],[{key:"parse",value:function(){for(var t=arguments.length,n=new Array(t),a=0;a3)r.red=n[0],r.green=n[1],r.blue=n[2],n[3]&&(r.alpha=n[3]);else if(1===n.length){var o=Number(n[0]);return e.parseIndex(o,o>Math.pow(2,24)?3:4)}}else if("string"===typeof n[0]){var s=null;if("string"===typeof $a[n[0].toLowerCase()])return e.parseHex($a[n[0].toLowerCase()]);if(null!==(s=n[0].match(/^(#|&h|0x)?(([a-f0-9]{3,4}){1,2})$/i)))return e.parseHex(s[2]);if(null!==(s=n[0].match(/^rgba?\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)(\s*,\s*(\d*\.?\d+))?\s*\)$/i))){var l=[s[1],s[2],s[3],"undefined"!==typeof s[5]?s[5]:1];return e.fromRGB.apply(e,_(l.map((function(e){return Number(e)}))))}if(s=n[0].match(/^(h(sl|wb)a?|lab|color|cmyk)\(/i))throw new Error("Color expression not implemented yet")}return new e}},{key:"parseObject",value:function(t){var n=new e;return null===t||"object"!==i(t)?n:e.isColor(t)?t.clone():(Da.forEach((function(e){Number.isNaN(t[e])||(n[e]=t[e])})),n)}},{key:"parseHex",value:function(t){if("string"!==typeof t)throw new Error("Hex expression must be a string");if(t=t.trim().replace(/^(0x|&h|#)/i,""),3!==t.length&&4!==t.length||(t=t.split("").map((function(e){return e.repeat(2)})).join("")),6!==t.length&&8!==t.length)throw new Error("Incorrect Hex expression length");var n=t.split(/(..)/).filter((function(e){return e})).map((function(e){return Number.parseInt(e,16)}));return"number"===typeof n[3]&&(n[3]/=255),e.fromRGB.apply(e,_(n))}},{key:"parseIndex",value:function(t){for(var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:3,i=new e,a=0;a<4;a++)i[Da[a]]=t>>8*(n-a)&&255;return i}},{key:"fromRGB",value:function(t,n,i){var a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1;if([t,n,i,a].some((function(e){return Number.isNaN(e/1)})))throw new Error("Invalid arguments");a*=255;var r=new e;return[t,n,i,a].forEach((function(e,t){r[Da[t]]=e})),r}},{key:"fromHSL",value:function(t,n,i){var a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1;if([t,n,i,a].some((function(e){return Number.isNaN(e)})))throw new Error("Invalid arguments");while(t<0&&t!==-1/0)t+=360;t%=360,n=Math.max(0,Math.min(1,n)),i=Math.max(0,Math.min(1,i)),a=Math.max(0,Math.min(1,a));var r=(1-Math.abs(2*i-1))*n,o=r*(1-Math.abs(t/60%2-1)),s=i-r/2,l=t<60?[r,o,0]:t<120?[o,r,0]:t<180?[0,r,o]:t<240?[0,o,r]:t<300?[o,0,r]:[r,0,o],c=C(l,3),u=c[0],d=c[1],h=c[2];return e.fromRGB(255*(u+s),255*(d+s),255*(h+s),a)}},{key:"isColor",value:function(t){return t instanceof e}}]),e}(),Oa=.86602540378,Ma=.5,Ta=0,Ba={name:"BColorpickerHSLRepresentationTriangle",props:{value:{type:Object,required:!0,validator:function(e){return"number"===typeof e.hue&&"number"===typeof e.saturation&&"number"===typeof e.lightness}},size:{type:Number,default:200},thickness:{type:Number,default:20}},data:function(){return{id:Ta++,hue:this.value.hue,saturation:this.value.saturation,lightness:this.value.lightness,captureMouse:!1,captureType:"hue",clientOffset:{cx:-1,cy:-1,width:0,height:0},cos30:Oa,sin30:Ma,debounce:0}},computed:{viewBox:function(){var e=this.size;return"0 0 ".concat(e," ").concat(e)},internalRadius:function(){return this.size/2-this.thickness},haloPath:function(){var e=this.size,t=this.thickness,n=e/2-2,i=n-t,a=e/2;return"M".concat(a-n," ").concat(a,"a").concat(n," ").concat(n," 0 1 1 ").concat(2*n," 0")+"h".concat(-t)+"a".concat(-i," ").concat(i," 0 1 0 ").concat(-2*i," 0")+"a".concat(i," ").concat(i," 0 1 0 ").concat(2*i," 0")+"h".concat(t)+"a".concat(n," ").concat(n," 0 1 1 ").concat(-2*n," 0z")},trianglePath:function(){var e=this.size,t=this.thickness,n=e-4,i=(n-2*t)/2;return"M0 ".concat(-i)+"L".concat(Oa*i," ").concat(Ma*i)+"H".concat(-Oa*i,"z")}},watch:{captureMouse:function(e,t){if(!1===t&&!1!==e){var n=this.$el.getBoundingClientRect();this.clientOffset.cx=n.x+n.width/2,this.clientOffset.cy=n.y+n.height/2,this.clientOffset.width=n.width,this.clientOffset.height=n.height}},value:{deep:!0,handler:function(e){var t=this,n=e.hue,i=e.saturation,a=e.lightness;window.clearTimeout(this.debounce),this.debounce=window.setTimeout((function(){a>=.03&&a<=.97&&i>0&&(t.hue=n),t.saturation=i,t.lightness=a}),200)}}},methods:{increaseHue:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;this.hue=(this.hue+e)%360},decreaseHue:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;this.hue=(360+this.hue-e)%360},increaseSaturation:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:.01;this.saturation=Math.min(1,Math.max(0,this.saturation+e)),this.lightness=Math.min(.5+.5*(1-this.saturation),Math.max(.5-.5*(1-this.saturation),this.lightness))},decreaseSaturation:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:.01;this.saturation=Math.min(1,Math.max(0,this.saturation-e)),this.lightness=Math.min(.5+.5*(1-this.saturation),Math.max(.5-.5*(1-this.saturation),this.lightness))},increaseLightness:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:.01;this.lightness=Math.min(.5+.5*(1-this.saturation),Math.max(.5-.5*(1-this.saturation),this.lightness+e))},decreaseLightness:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:.01;this.lightness=Math.min(.5+.5*(1-this.saturation),Math.max(.5-.5*(1-this.saturation),this.lightness-e))},hueKeyPress:function(e){var t=!1;switch(e.key){case"ArrowRight":case"ArrowUp":this.increaseHue(),t=!0;break;case"ArrowLeft":case"ArrowDown":this.decreaseHue(),t=!0;break;case"Home":this.increaseHue(360-this.hue),t=!0;break;case"End":this.decreaseHue(this.hue),t=!0;break;case"PageUp":this.increaseHue(60-this.hue%60),t=!0;break;case"PageDown":this.decreaseHue(60+this.hue%60),t=!0;break}t&&(e.preventDefault(),e.stopPropagation(),this.emitColor())},slKeyPress:function(e){var t=!1;switch(e.key){case"ArrowRight":this.decreaseLightness(),t=!0;break;case"ArrowUp":this.increaseSaturation(),t=!0;break;case"ArrowLeft":this.increaseLightness(),t=!0;break;case"ArrowDown":this.decreaseSaturation(),t=!0;break;case"Home":this.increaseLightness(1-this.lightness),t=!0;break;case"End":this.decreaseLightness(this.lightness),t=!0;break;case"PageUp":this.increaseSaturation(1-this.saturation),t=!0;break;case"PageDown":this.decreaseSaturation(this.saturation),t=!0;break}t&&(e.preventDefault(),e.stopPropagation(),this.emitColor())},clickHue:function(e){this.startMouseCapture(e),this.trackMouse(e),this.stopMouseCapture(e),this.$refs.hueCursor.focus()},clickSL:function(e){this.startMouseCapture(e),this.trackMouse(e),this.stopMouseCapture(e),this.$refs.slCursor.focus()},trackMouse:function(e){if(!1!==this.captureMouse){e.preventDefault(),e.stopPropagation();var t=0,n=0;if("undefined"!==typeof e.touches&&e.touches.length){var i=[e.touches[0].clientX,e.touches[0].clientY];t=i[0],n=i[1]}else{var a=[e.clientX,e.clientY];t=a[0],n=a[1]}var r=Math.atan2(n-this.clientOffset.cy,t-this.clientOffset.cx);if("sl"===this.captureType){var o=Math.sqrt(Math.pow(t-this.clientOffset.cx,2)+Math.pow(n-this.clientOffset.cy,2)),s=this.size/this.clientOffset.width,l=o*Math.cos(r-this.hue/180*Math.PI)*s,c=o*Math.sin(r-this.hue/180*Math.PI)*s,u=this.internalRadius,d=1-(Math.min(u*Ma,Math.max(-u,c))+u)/(u+u*Ma),h=(Math.min(u*Oa*(1-d),Math.max(-u*Oa*(1-d),l))+u*Oa)/(2*u*Oa);this.saturation=Math.round(1e3*d)/1e3,this.lightness=1-Math.round(1e3*h)/1e3}else this.hue=Math.round(r/Math.PI*180+90)%360;this.emitColor()}},startMouseCapture:function(e){e.stopPropagation(),this.captureMouse=!0,null!==e.target.closest(".colorpicker-triangle-slider-sl")?this.captureType="sl":this.captureType="hue"},stopMouseCapture:function(e){!1!==this.captureMouse&&(e.preventDefault(),e.stopPropagation(),this.$refs["sl"===this.captureType?"slCursor":"hueCursor"].focus()),this.captureMouse=!1},emitColor:function(){var e=this.hue,t=this.saturation,n=this.lightness;this.$emit("input",Pa.fromHSL(e,t,n)),window.clearTimeout(this.debounce)}},mounted:function(){window.addEventListener("mousemove",this.trackMouse),window.addEventListener("touchmove",this.trackMouse,{passive:!1}),window.addEventListener("mouseup",this.stopMouseCapture),window.addEventListener("touchend",this.stopMouseCapture)},beforeDestroy:function(){window.removeEventListener("mousemove",this.trackMouse),window.removeEventListener("touchmove",this.trackMouse),window.removeEventListener("mouseup",this.stopMouseCapture),window.removeEventListener("touchend",this.stopMouseCapture)}};const Ea=Ba;var Fa=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("svg",{staticClass:"b-colorpicker-triangle",attrs:{viewBox:e.viewBox}},[n("defs",[n("linearGradient",{attrs:{id:"cp-triangle-gradient-ligthness-"+e.id,x1:"0",y1:"0",x2:"1",y2:"0"}},[n("stop",{attrs:{offset:"0%","stop-color":"#fff"}}),n("stop",{attrs:{offset:"100%","stop-color":"#000"}})],1),n("linearGradient",{attrs:{id:"cp-triangle-gradient-saturation-"+e.id,x1:"0",y1:"0",x2:"0",y2:"1"}},[n("stop",{attrs:{offset:"0%","stop-color":"hsl("+e.hue+"deg, 100%, 50%)","stop-opacity":"1"}}),n("stop",{attrs:{offset:"100%","stop-color":"hsl("+e.hue+"deg, 100%, 50%)","stop-opacity":"0"}})],1),n("clipPath",{attrs:{id:"cp-triangle-clip-"+e.id}},[n("path",{attrs:{d:e.haloPath}})])],1),n("g",{staticClass:"colorpicker-triangle-slider-hue"},[n("foreignObject",{attrs:{x:0,y:0,width:e.size,height:e.size,"clip-path":"url(#cp-triangle-clip-"+e.id+")"}},[n("div",{staticClass:"colorpicker-triangle-hue",on:{click:e.clickHue,mousedown:function(t){return t.preventDefault(),e.startMouseCapture(t)},touchstart:function(t){return t.preventDefault(),e.startMouseCapture(t)}}})]),n("g",{style:"transform: rotate("+e.hue+"deg)"},[n("foreignObject",{attrs:{x:e.size/2-4,y:0,width:"8",height:e.thickness+4}},[n("div",{ref:"hueCursor",staticClass:"hue-range-thumb",style:"background-color: hsl("+e.hue+"deg, 100%, 50%)",attrs:{role:"slider",tabindex:"0","aria-label":"Hue","aria-valuemin":"0","aria-valuenow":e.hue,"aria-valuemax":"360"},on:{click:e.clickHue,keydown:e.hueKeyPress,mousedown:function(t){return t.preventDefault(),e.startMouseCapture(t)},touchstart:function(t){return t.preventDefault(),e.startMouseCapture(t)}}})])],1)],1),n("g",{staticClass:"colorpicker-triangle-slider-sl",style:"transform: rotate("+e.hue+"deg) translate(50%, 50%)",attrs:{role:"graphics-datagroup","aria-datascales":"lightness, saturation"}},[n("path",{attrs:{d:e.trianglePath,fill:"url(#cp-triangle-gradient-ligthness-"+e.id+")"}}),n("path",{staticStyle:{"mix-blend-mode":"overlay"},attrs:{d:e.trianglePath,fill:"url(#cp-triangle-gradient-saturation-"+e.id+")"},on:{click:e.clickSL,mousedown:function(t){return t.preventDefault(),e.startMouseCapture(t)},touchstart:function(t){return t.preventDefault(),e.startMouseCapture(t)}}}),n("foreignObject",{attrs:{x:(e.internalRadius-3)*e.cos30*(.5-e.lightness)*2-6,y:-e.internalRadius+(1-e.saturation)*(e.internalRadius-3)*1.5-3,width:"12",height:"12"}},[n("div",{ref:"slCursor",staticClass:"sl-range-thumb",style:{backgroundColor:"hsl("+e.hue+"deg, "+100*e.saturation+"%, "+100*e.lightness+"%)"},attrs:{tabindex:"0","aria-datavalues":100*e.saturation+"%, "+100*e.lightness+"%"},on:{click:e.clickSL,keydown:e.slKeyPress,mousedown:function(t){return t.preventDefault(),e.startMouseCapture(t)},touchstart:function(t){return t.preventDefault(),e.startMouseCapture(t)}}})])],1)])},Ia=[];const Na=void 0,Ra=void 0,La=void 0,Va=!1;var Ha=se({render:Fa,staticRenderFns:Ia},Na,Ea,Ra,Va,La,void 0,void 0);function ja(){var e=k(["","px"]);return ja=function(){return e},e}function za(){var e=k(["","px"]);return za=function(){return e},e}function Ua(){var e=k(["","px"]);return Ua=function(){return e},e}var Wa=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i0&&void 0!==arguments[0]?arguments[0]:1;this.hue=(this.hue+e)%360},decreaseHue:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;this.hue=(360+this.hue-e)%360},increaseSaturation:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:.01;this.saturation=Math.min(1,Math.max(0,this.saturation+e)),this.lightness=Math.min(.5+.5*(1-this.saturation),Math.max(.5-.5*(1-this.saturation),this.lightness))},decreaseSaturation:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:.01;this.saturation=Math.min(1,Math.max(0,this.saturation-e)),this.lightness=Math.min(.5+.5*(1-this.saturation),Math.max(.5-.5*(1-this.saturation),this.lightness))},increaseLightness:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:.01;this.lightness=Math.min(.5+.5*(1-this.saturation),Math.max(.5-.5*(1-this.saturation),this.lightness+e))},decreaseLightness:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:.01;this.lightness=Math.min(.5+.5*(1-this.saturation),Math.max(.5-.5*(1-this.saturation),this.lightness-e))},hueKeyPress:function(e){var t=!1;switch(e.key){case"ArrowRight":case"ArrowUp":this.increaseHue(),t=!0;break;case"ArrowLeft":case"ArrowDown":this.decreaseHue(),t=!0;break;case"Home":this.increaseHue(360-this.hue),t=!0;break;case"End":this.decreaseHue(this.hue),t=!0;break;case"PageUp":this.increaseHue(60-this.hue%60),t=!0;break;case"PageDown":this.decreaseHue(60+this.hue%60),t=!0;break}t&&(e.preventDefault(),e.stopPropagation(),this.emitColor())},slKeyPress:function(e){var t=!1;switch(e.key){case"ArrowRight":this.increaseSaturation(),t=!0;break;case"ArrowUp":this.increaseLightness(),t=!0;break;case"ArrowLeft":this.decreaseSaturation(),t=!0;break;case"ArrowDown":this.decreaseLightness(),t=!0;break;case"Home":this.increaseLightness(1-this.lightness),t=!0;break;case"End":this.decreaseLightness(this.lightness),t=!0;break;case"PageUp":this.increaseSaturation(1-this.saturation),t=!0;break;case"PageDown":this.decreaseSaturation(this.saturation),t=!0;break}t&&(e.preventDefault(),e.stopPropagation(),this.emitColor())},startMouseCapture:function(e){e.stopPropagation(),this.captureMouse=!0,null!==e.target.closest(".colorpicker-square-slider-sl")?this.captureType="sl":this.captureType="hue"},stopMouseCapture:function(e){!1!==this.captureMouse&&(e.preventDefault(),e.stopPropagation(),this.$refs["sl"===this.captureType?"slCursor":"hueCursor"].focus()),this.captureMouse=!1},clickHue:function(e){this.startMouseCapture(e),this.trackMouse(e),this.stopMouseCapture(e),this.$refs.hueCursor.focus()},clickSL:function(e){this.startMouseCapture(e),this.trackMouse(e),this.stopMouseCapture(e),this.$refs.slCursor.focus()},trackMouse:function(e){if(!1!==this.captureMouse){e.preventDefault(),e.stopPropagation();var t=0,n=0;if("undefined"!==typeof e.touches&&e.touches.length){var i=[e.touches[0].clientX,e.touches[0].clientY];t=i[0],n=i[1]}else{var a=[e.clientX,e.clientY];t=a[0],n=a[1]}var r=Math.atan2(n-this.clientOffset.cy,t-this.clientOffset.cx);if("sl"===this.captureType){var o=(t-this.clientOffset.cx)/(this.clientOffset.width-2*this.thickness)+.5,s=(n-this.clientOffset.cy)/(this.clientOffset.height-2*this.thickness)+.5;this.saturation=Math.round(1e3*Math.min(1,Math.max(0,o)))/1e3,this.lightness=1-Math.round(1e3*Math.min(1,Math.max(0,s)))/1e3}else this.hue=Math.round(r/Math.PI*180+90)%360;this.emitColor()}},emitColor:function(){var e=this.hue,t=this.saturation,n=this.lightness;this.$emit("input",Pa.fromHSL(e,t,n)),window.clearTimeout(this.debounce)}},mounted:function(){window.addEventListener("mousemove",this.trackMouse),window.addEventListener("touchmove",this.trackMouse,{passive:!1}),window.addEventListener("mouseup",this.stopMouseCapture),window.addEventListener("touchend",this.stopMouseCapture)},beforeDestroy:function(){window.removeEventListener("mousemove",this.trackMouse),window.removeEventListener("touchmove",this.trackMouse),window.removeEventListener("mouseup",this.stopMouseCapture),window.removeEventListener("touchend",this.stopMouseCapture)}};const Ya=qa;var Ka=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"b-colorpicker-square",style:{width:e.size+"px"}},[n("div",{staticClass:"colorpicker-square-slider-hue",on:{click:e.clickHue,mousedown:function(t){return t.preventDefault(),e.startMouseCapture(t)},touchstart:function(t){return t.preventDefault(),e.startMouseCapture(t)}}},[n("div",{ref:"hueCursor",staticClass:"hue-range-thumb",style:e.hueThumbStyle,attrs:{role:"slider",tabindex:"0","aria-label":"Hue","aria-valuemin":"0","aria-valuemax":"359"}})]),n("div",{staticClass:"colorpicker-square-slider-sl",style:{background:e.SLBackground,margin:e.thickness+"px"},attrs:{"aria-datascales":"lightness, saturation"},on:{click:e.clickSL,mousedown:function(t){return t.preventDefault(),e.startMouseCapture(t)},touchstart:function(t){return t.preventDefault(),e.startMouseCapture(t)}}},[n("div",{ref:"slCursor",staticClass:"sl-range-thumb",style:e.slThumbStyle,attrs:{role:"slider",tabindex:"0","aria-datavalues":100*e.saturation+"%, "+100*e.lightness+"%"},on:{click:e.clickSL,keydown:e.slKeyPress,mousedown:function(t){return t.preventDefault(),e.startMouseCapture(t)},touchstart:function(t){return t.preventDefault(),e.startMouseCapture(t)}}})])])},Xa=[];const Ga=void 0,Ja=void 0,Qa=void 0,Za=!1;var er=se({render:Ka,staticRenderFns:Xa},Ga,Ya,Ja,Za,Qa,void 0,void 0),tr={name:"BColorpickerAlphaSlider",components:s({},xa.name,xa),props:{value:{type:Number,validator:function(e){return e>=0&&e<256}},color:[String,Object]},data:function(){var e=Pa.parse(this.color);return e.alpha=0,{startColor:e.toString("hex"),endColor:e.toString("hexa"),percent:Math.round(100*(1-this.value/255)),captureMouse:!1,clientOffset:{cx:-1,cy:-1,width:0,height:0}}},computed:{style:function(){return{backgroundImage:"linear-gradient(90deg, ".concat(this.startColor," 0%, ").concat(this.endColor," 100%),\n linear-gradient(45deg, #c7c7c7 25%, transparent 25%, transparent 75%, #c7c7c7 75%, #c7c7c7),\n linear-gradient(45deg, #c7c7c7 25%, transparent 25%, transparent 75%, #c7c7c7 75%, #c7c7c7)"),backgroundSize:"100% 100%, 1em 1em, 1em 1em",backgroundPosition:"0 0, .5em .5em, 0 0"}}},watch:{value:function(e,t){e!==t&&(this.percent=Math.round(100*(1-e/255)))},color:function(e){var t=Pa.parse(e);t.alpha=0,this.startColor=t.toString("hex"),this.endColor=t.toString("hexa")},captureMouse:function(e,t){if(!1===t&&!1!==e){var n=this.$el.getBoundingClientRect();this.clientOffset.cx=n.x+n.width/2,this.clientOffset.cy=n.y+n.height/2,this.clientOffset.width=n.width,this.clientOffset.height=n.height}}},methods:{increaseAlpha:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;this.percent=Math.max(0,Math.min(100,this.percent+e))},decreaseAlpha:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:.01;this.increaseAlpha(-e)},alphaKeyPress:function(e){var t=!1;switch(e.key){case"ArrowRight":case"ArrowUp":this.increaseAlpha(),t=!0;break;case"ArrowLeft":case"ArrowDown":this.decreaseAlpha(),t=!0;break;case"Home":this.decreaseAlpha(this.percent),t=!0;break;case"End":this.increaseAlpha(100-this.percent),t=!0;break;case"PageUp":this.increaseAlpha(10-this.percent%10),t=!0;break;case"PageDown":this.decreaseAlpha(this.percent%10),t=!0;break}t&&(e.preventDefault(),e.stopPropagation(),this.emitAlpha())},clickAlpha:function(e){this.startMouseCapture(e),this.trackMouse(e),this.stopMouseCapture(e),this.$refs.alphaCursor.focus()},startMouseCapture:function(e){e.stopPropagation(),this.captureMouse=!0},trackMouse:function(e){if(!1!==this.captureMouse){e.preventDefault(),e.stopPropagation();var t=[0,0],n=t[0];if("undefined"!==typeof e.touches&&e.touches.length){var i=[e.touches[0].clientX];n=i[0]}else{var a=[e.clientX];n=a[0]}var r=.5+(this.clientOffset.cx-n)/this.clientOffset.width;this.percent=Math.round(100-100*Math.max(0,Math.min(1,r))),this.emitAlpha()}},stopMouseCapture:function(e){!1!==this.captureMouse&&(e.preventDefault(),e.stopPropagation(),this.$refs.alphaCursor.focus()),this.captureMouse=!1},emitAlpha:function(){this.$emit("input",255*(1-this.percent/100))}},mounted:function(){window.addEventListener("mousemove",this.trackMouse),window.addEventListener("touchmove",this.trackMouse,{passive:!1}),window.addEventListener("mouseup",this.stopMouseCapture),window.addEventListener("touchend",this.stopMouseCapture)},beforeDestroy:function(){window.removeEventListener("mousemove",this.trackMouse),window.removeEventListener("touchmove",this.trackMouse),window.removeEventListener("mouseup",this.stopMouseCapture),window.removeEventListener("touchend",this.stopMouseCapture)}};const nr=tr;var ir=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"b-colorpicker-alpha-slider",style:e.style,on:{click:e.clickAlpha,keydown:e.alphaKeyPress,mousedown:e.startMouseCapture,touchstart:function(t){return t.preventDefault(),e.startMouseCapture(t)}}},[n("div",{ref:"alphaCursor",staticClass:"alpha-range-thumb",style:{left:e.percent+"%"},attrs:{role:"slider",tabindex:"0","aria-label":"Tranparency","aria-valuemin":"0","aria-valuenow":e.percent,"aria-valuemax":"100"}},[n("b-tooltip",{attrs:{label:e.percent+"%",always:e.captureMouse}})],1)])},ar=[];const rr=void 0,or=void 0,sr=void 0,lr=!1;var cr,ur=se({render:ir,staticRenderFns:ar},rr,nr,or,lr,sr,void 0,void 0),dr=function(e,t){return e.alpha<1?e.toString("hexa"):e.toString("hex")},hr=function(e,t){return Pa.parse(e)},fr={name:"BColorpicker",components:(cr={},s(cr,Ha.name,Ha),s(cr,er.name,er),s(cr,ur.name,ur),s(cr,Te.name,Te),s(cr,Ni.name,Ni),s(cr,ma.name,ma),s(cr,Se.name,Se),s(cr,hi.name,hi),s(cr,ki.name,ki),cr),mixins:[de],inheritAttrs:!1,provide:function(){return{$colorpicker:this}},props:{value:{type:[String,Object],validator:function(e){return"string"===typeof e||"object"===i(e)&&"number"===typeof e.red&&"number"===typeof e.green&&"number"===typeof e.blue}},representation:{type:String,default:"triangle",value:function(e){return["triangle","square"].some((function(t){return t===e}))}},inline:Boolean,disabled:Boolean,horizontalColorPicker:{type:Boolean,default:!1},colorFormatter:{type:Function,default:function(e,t){return"function"===typeof ie.defaultColorFormatter?ie.defaultColorFormatter(e):dr(e)}},colorParser:{type:Function,default:function(e,t){return"function"===typeof ie.defaultColorParser?ie.defaultColorParser(e):hr(e)}},alpha:{type:Boolean,default:!1},expanded:Boolean,position:String,mobileModal:{type:Boolean,default:function(){return ie.defaultDatepickerMobileModal}},focusable:{type:Boolean,default:!0},trapFocus:{type:Boolean,default:function(){return ie.defaultTrapFocus}},appendToBody:Boolean},data:function(){var e=this.colorParser(this.value);return{colorSelected:e}},computed:{background:function(){if(this.alpha)return"linear-gradient(\n 45deg,\n ".concat(this.colorSelected.toString("hex")," 50%,\n ").concat(this.colorSelected.toString("hexa")," 50%\n )");var e=this.colorSelected.toString("hex");return"linear-gradient(\n 45deg,\n ".concat(e," 50%,\n ").concat(e," 50%\n )")},triggerStyle:function(){var e=this.colorSelected,t=e.red,n=e.green,i=e.blue,a=.299*t+.587*n+.114*i>186;return{backgroundColor:"#ffffff",backgroundImage:"\n ".concat(this.background,",\n linear-gradient(45deg, #c7c7c7 25%, transparent 25%, transparent 75%, #c7c7c7 75%, #c7c7c7),\n linear-gradient(45deg, #c7c7c7 25%, transparent 25%, transparent 75%, #c7c7c7 75%, #c7c7c7)\n "),backgroundSize:"100% 100%, 16px 16px, 16px 16px",backgroundPosition:"0 0, 8px 8px, 0 0",color:a?"#000000":"#FFFFFF",textShadow:"0 0 2px ".concat(a?"#FFFFFFAA":"#000000AA")}},isMobile:function(){return this.mobileNative&&H.any()},ariaRole:function(){if(!this.inline)return"dialog"}},watch:{value:function(e){this.colorSelected=new Pa(e)}},methods:{updateColor:function(e){e.alpha=this.colorSelected.alpha,this.colorSelected=e,this.$emit("input",e)},updateAlpha:function(e){this.colorSelected.alpha=e,this.$emit("input",this.colorSelected)},formatValue:function(e){return e?this.colorFormatter(e,this):null},togglePicker:function(e){if(this.$refs.dropdown){var t="boolean"===typeof e?e:!this.$refs.dropdown.isActive;(t||this.closeOnClick)&&(this.$refs.dropdown.isActive=t)}},handleOnFocus:function(e){this.onFocus(e),this.openOnFocus&&this.togglePicker(!0)},toggle:function(){if(this.mobileNative&&this.isMobile){var e=this.$refs.input.$refs.input;return e.focus(),void e.click()}this.$refs.dropdown.toggle()},onInputClick:function(e){this.$refs.dropdown.isActive&&e.stopPropagation()},keyPress:function(e){var t=e.key;this.$refs.dropdown&&this.$refs.dropdown.isActive&&("Escape"===t||"Esc"===t)&&this.togglePicker(!1)},onActiveChange:function(e){e||this.onBlur(),this.$emit("active-change",e)}}};const pr=fr;var vr=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"colorpicker control",class:[e.size,{"is-expanded":e.expanded}]},[!e.isMobile||e.inline?n("b-dropdown",{ref:"dropdown",attrs:{position:e.position,expanded:e.expanded,disabled:e.disabled,inline:e.inline,"mobile-modal":e.mobileModal,"trap-focus":e.trapFocus,"aria-role":e.ariaRole,"append-to-body":e.appendToBody,"append-to-body-copy-parent":""},on:{"active-change":e.onActiveChange},scopedSlots:e._u([e.inline?null:{key:"trigger",fn:function(){return[e._t("trigger",[n("b-button",{style:e.triggerStyle,attrs:{expanded:e.expanded,disabled:e.disabled}},[n("span",{staticClass:"color-name"},[e._v(e._s(e.colorFormatter(e.colorSelected)))])])])]},proxy:!0}],null,!0)},[n("b-dropdown-item",{class:{"dropdown-horizontal-colorpicker":e.horizontalColorPicker},attrs:{disabled:e.disabled,focusable:e.focusable,custom:""}},[n("div",[n("header",{staticClass:"colorpicker-header"},[void 0!==e.$slots.header&&e.$slots.header.length?[e._t("header")]:e._e()],2),n("div",{staticClass:"colorpicker-content"},["square"===e.representation?n("b-colorpicker-h-s-l-representation-square",{attrs:{value:e.colorSelected},on:{input:e.updateColor}}):n("b-colorpicker-h-s-l-representation-triangle",{attrs:{value:e.colorSelected},on:{input:e.updateColor}})],1)]),n("footer",{staticClass:"colorpicker-footer"},[e.alpha?n("b-colorpicker-alpha-slider",{attrs:{value:e.colorSelected.alpha,color:e.colorSelected},on:{input:e.updateAlpha}}):e._e(),e._t("footer",[n("b-field",{staticClass:"colorpicker-fields",attrs:{grouped:""}},[n("b-field",{attrs:{horizontal:"",label:"R"}},[n("b-input",{attrs:{type:"number",size:"is-small","aria-label":"Red"},model:{value:e.colorSelected.red,callback:function(t){e.$set(e.colorSelected,"red",e._n(t))},expression:"colorSelected.red"}})],1),n("b-field",{attrs:{horizontal:"",label:"G"}},[n("b-input",{attrs:{type:"number",size:"is-small","aria-label":"Green"},model:{value:e.colorSelected.green,callback:function(t){e.$set(e.colorSelected,"green",e._n(t))},expression:"colorSelected.green"}})],1),n("b-field",{attrs:{horizontal:"",label:"B"}},[n("b-input",{attrs:{type:"number",size:"is-small","aria-label":"Blue"},model:{value:e.colorSelected.blue,callback:function(t){e.$set(e.colorSelected,"blue",e._n(t))},expression:"colorSelected.blue"}})],1)],1)],{color:e.colorSelected})],2)])],1):e._e()],1)},mr=[];const gr=void 0,yr=void 0,br=void 0,wr=!1;var kr=se({render:vr,staticRenderFns:mr},gr,pr,yr,wr,br,void 0,void 0),Cr={install:function(e){ce(e,kr)}};le(Cr);var Sr=Cr,_r={name:"BDatepickerTableRow",inject:{$datepicker:{name:"$datepicker",default:!1}},props:{selectedDate:{type:[Date,Array]},hoveredDateRange:Array,day:{type:Number},week:{type:Array,required:!0},month:{type:Number,required:!0},minDate:Date,maxDate:Date,disabled:Boolean,unselectableDates:[Array,Function],unselectableDaysOfWeek:Array,selectableDates:[Array,Function],events:Array,indicators:String,dateCreator:Function,nearbyMonthDays:Boolean,nearbySelectableMonthDays:Boolean,showWeekNumber:Boolean,weekNumberClickable:Boolean,range:Boolean,multiple:Boolean,rulesForFirstWeek:Number,firstDayOfWeek:Number},watch:{day:function(e){var t=this,n="day-".concat(this.month,"-").concat(e);this.$nextTick((function(){t.$refs[n]&&t.$refs[n].length>0&&t.$refs[n][0]&&t.$refs[n][0].focus()}))}},methods:{firstWeekOffset:function(e,t,n){var i=7+t-n,a=new Date(e,0,i),r=(7+a.getDay()-t)%7;return-r+i-1},daysInYear:function(e){return this.isLeapYear(e)?366:365},isLeapYear:function(e){return e%4===0&&e%100!==0||e%400===0},getSetDayOfYear:function(e){return Math.round((e-new Date(e.getFullYear(),0,1))/864e5)+1},weeksInYear:function(e,t,n){var i=this.firstWeekOffset(e,t,n),a=this.firstWeekOffset(e+1,t,n);return(this.daysInYear(e)-i+a)/7},getWeekNumber:function(e){var t,n,i=this.firstDayOfWeek,a=this.rulesForFirstWeek,r=this.firstWeekOffset(e.getFullYear(),i,a),o=Math.floor((this.getSetDayOfYear(e)-r-1)/7)+1;return o<1?(n=e.getFullYear()-1,t=o+this.weeksInYear(n,i,a)):o>this.weeksInYear(e.getFullYear(),i,a)?(t=o-this.weeksInYear(e.getFullYear(),i,a),n=e.getFullYear()+1):(n=e.getFullYear(),t=o),{week:t,year:n}},clickWeekNumber:function(e){this.weekNumberClickable&&this.$datepicker.$emit("week-number-click",e.week,e.year)},selectableDate:function(e){var t=[];if(this.minDate&&t.push(e>=this.minDate),this.maxDate&&t.push(e<=this.maxDate),this.nearbyMonthDays&&!this.nearbySelectableMonthDays&&t.push(e.getMonth()===this.month),this.selectableDates)if("function"===typeof this.selectableDates){if(this.selectableDates(e))return!0;t.push(!1)}else for(var n=0;nt[0]&&ethis.minDate)&&(!this.maxDate||ne?(this.selectedEndDate=this.selectedBeginDate,this.selectedBeginDate=e):this.selectedEndDate=e,this.$emit("range-end",e),this.$emit("input",[this.selectedBeginDate,this.selectedEndDate])):(this.selectedBeginDate=e,this.$emit("range-start",e))},handleSelectMultipleDates:function(e){var t=this.multipleSelectedDates.filter((function(t){return t.getDate()===e.getDate()&&t.getFullYear()===e.getFullYear()&&t.getMonth()===e.getMonth()}));t.length?this.multipleSelectedDates=this.multipleSelectedDates.filter((function(t){return t.getDate()!==e.getDate()||t.getFullYear()!==e.getFullYear()||t.getMonth()!==e.getMonth()})):this.multipleSelectedDates=[].concat(_(this.multipleSelectedDates),[e])},weekBuilder:function(e,t,n){for(var i=new Date(n,t),a=[],r=new Date(n,t,e).getDay(),o=r>=this.firstDayOfWeek?r-this.firstDayOfWeek:7-this.firstDayOfWeek+r,s=1,l=0;l=this.minDate),this.maxDate&&t.push(e<=this.maxDate),this.nearbyMonthDays&&!this.nearbySelectableMonthDays&&t.push(e.getMonth()===this.focused.month),this.selectableDates)if("function"===typeof this.selectableDates){if(this.selectableDates(e))return!0;t.push(!1)}else for(var n=0;n0&&this.$nextTick((function(){t.$refs[n][0]&&t.$refs[n][0].focus()}))}},methods:{selectMultipleDates:function(e){var t=this.multipleSelectedDates.filter((function(t){return t.getDate()===e.getDate()&&t.getFullYear()===e.getFullYear()&&t.getMonth()===e.getMonth()}));t.length?this.multipleSelectedDates=this.multipleSelectedDates.filter((function(t){return t.getDate()!==e.getDate()||t.getFullYear()!==e.getFullYear()||t.getMonth()!==e.getMonth()})):this.multipleSelectedDates.push(e),this.$emit("input",this.multipleSelectedDates)},selectableDate:function(e){var t=[];if(this.minDate&&t.push(e>=this.minDate),this.maxDate&&t.push(e<=this.maxDate),t.push(e.getFullYear()===this.focused.year),this.selectableDates)if("function"===typeof this.selectableDates){if(this.selectableDates(e))return!0;t.push(!1)}else for(var n=0;nt[0]&&ee?(this.selectedEndDate=this.selectedBeginDate,this.selectedBeginDate=e):this.selectedEndDate=e,this.$emit("range-end",e),this.$emit("input",[this.selectedBeginDate,this.selectedEndDate])):(this.selectedBeginDate=e,this.$emit("range-start",e)))},setRangeHoverEndDate:function(e){this.range&&(this.hoveredEndDate=e)},changeFocus:function(e,t){var n=e;n.setMonth(e.getMonth()+t),this.$emit("change-focus",n)}}};const zr=jr;var Ur=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("section",{staticClass:"datepicker-table"},[n("div",{staticClass:"datepicker-body",class:{"has-events":e.hasEvents}},[n("div",{staticClass:"datepicker-months"},[e._l(e.monthDates,(function(t,i){return[e.selectableDate(t)&&!e.disabled?n("a",{key:i,ref:"month-"+t.getMonth(),refInFor:!0,staticClass:"datepicker-cell",class:[e.classObject(t),{"has-event":e.eventsDateMatch(t)},e.indicators],attrs:{role:"button",href:"#",disabled:e.disabled,tabindex:e.focused.month===t.getMonth()?null:-1},on:{click:function(n){return n.preventDefault(),e.updateSelectedDate(t)},mouseenter:function(n){return e.setRangeHoverEndDate(t)},keydown:function(n){return n.preventDefault(),e.manageKeydown(n,t)}}},[e._v(" "+e._s(e.monthNames[t.getMonth()])+" "),e.eventsDateMatch(t)?n("div",{staticClass:"events"},e._l(e.eventsDateMatch(t),(function(e,t){return n("div",{key:t,staticClass:"event",class:e.type})})),0):e._e()]):n("div",{key:i,staticClass:"datepicker-cell",class:e.classObject(t)},[e._v(" "+e._s(e.monthNames[t.getMonth()])+" ")])]}))],2)])])},Wr=[];const qr=void 0,Yr=void 0,Kr=void 0,Xr=!1;var Gr,Jr=se({render:Ur,staticRenderFns:Wr},qr,zr,Yr,Xr,Kr,void 0,void 0),Qr=function(e,t){var n=Array.isArray(e)?e:[e],i=n.map((function(e){var n=new Date(e.getFullYear(),e.getMonth(),e.getDate(),12);return t.isTypeMonth?t.dtfMonth.format(n):t.dtf.format(n)}));return t.multiple?i.join(", "):i.join(" - ")},Zr=function(e,t){if(t.dtf.formatToParts&&"function"===typeof t.dtf.formatToParts){var n=(t.isTypeMonth?t.dtfMonth:t.dtf).formatToParts(new Date(2e3,11,25)).map((function(e){return"literal"===e.type?e.value:"((?!=<".concat(e.type,">)\\d+)")})).join(""),i=J(n,e);if(i.year&&4===i.year.length&&i.month&&i.month<=12){if(t.isTypeMonth)return new Date(i.year,i.month-1);if(i.day&&i.day<=31)return new Date(i.year,i.month-1,i.day,12)}}if(!t.isTypeMonth)return new Date(Date.parse(e));if(e){var a=e.split("/"),r=4===a[0].length?a[0]:a[1],o=2===a[0].length?a[0]:a[1];if(r&&o)return new Date(parseInt(r,10),parseInt(o-1,10),1,0,0,0,0)}return null},eo={name:"BDatepicker",components:(Gr={},s(Gr,Hr.name,Hr),s(Gr,Jr.name,Jr),s(Gr,Te.name,Te),s(Gr,Ni.name,Ni),s(Gr,ma.name,ma),s(Gr,Se.name,Se),s(Gr,hi.name,hi),s(Gr,ki.name,ki),Gr),mixins:[de],inheritAttrs:!1,provide:function(){return{$datepicker:this}},props:{value:{type:[Date,Array]},dayNames:{type:Array,default:function(){if(Array.isArray(ie.defaultDayNames))return ie.defaultDayNames}},monthNames:{type:Array,default:function(){if(Array.isArray(ie.defaultMonthNames))return ie.defaultMonthNames}},firstDayOfWeek:{type:Number,default:function(){return"number"===typeof ie.defaultFirstDayOfWeek?ie.defaultFirstDayOfWeek:0}},inline:Boolean,minDate:Date,maxDate:Date,focusedDate:Date,placeholder:String,editable:Boolean,disabled:Boolean,horizontalTimePicker:Boolean,unselectableDates:[Array,Function],unselectableDaysOfWeek:{type:Array,default:function(){return ie.defaultUnselectableDaysOfWeek}},selectableDates:[Array,Function],dateFormatter:{type:Function,default:function(e,t){return"function"===typeof ie.defaultDateFormatter?ie.defaultDateFormatter(e):Qr(e,t)}},dateParser:{type:Function,default:function(e,t){return"function"===typeof ie.defaultDateParser?ie.defaultDateParser(e):Zr(e,t)}},dateCreator:{type:Function,default:function(){return"function"===typeof ie.defaultDateCreator?ie.defaultDateCreator():new Date}},mobileNative:{type:Boolean,default:function(){return ie.defaultDatepickerMobileNative}},position:String,iconRight:String,iconRightClickable:Boolean,events:Array,indicators:{type:String,default:"dots"},openOnFocus:Boolean,iconPrev:{type:String,default:function(){return ie.defaultIconPrev}},iconNext:{type:String,default:function(){return ie.defaultIconNext}},yearsRange:{type:Array,default:function(){return ie.defaultDatepickerYearsRange}},type:{type:String,validator:function(e){return["month"].indexOf(e)>=0}},nearbyMonthDays:{type:Boolean,default:function(){return ie.defaultDatepickerNearbyMonthDays}},nearbySelectableMonthDays:{type:Boolean,default:function(){return ie.defaultDatepickerNearbySelectableMonthDays}},showWeekNumber:{type:Boolean,default:function(){return ie.defaultDatepickerShowWeekNumber}},weekNumberClickable:{type:Boolean,default:function(){return ie.defaultDatepickerWeekNumberClickable}},rulesForFirstWeek:{type:Number,default:function(){return 4}},range:{type:Boolean,default:!1},closeOnClick:{type:Boolean,default:!0},multiple:{type:Boolean,default:!1},mobileModal:{type:Boolean,default:function(){return ie.defaultDatepickerMobileModal}},focusable:{type:Boolean,default:!0},trapFocus:{type:Boolean,default:function(){return ie.defaultTrapFocus}},appendToBody:Boolean,ariaNextLabel:String,ariaPreviousLabel:String},data:function(){var e=(Array.isArray(this.value)?this.value[0]:this.value)||this.focusedDate||this.dateCreator();return!this.value&&this.maxDate&&this.maxDate.getFullYear()t}}))},listOfYears:function(){var e=this.focusedDateData.year+this.yearsRange[1];this.maxDate&&this.maxDate.getFullYear()t&&(t=Math.min(this.minDate.getFullYear(),this.focusedDateData.year));for(var n=[],i=t;i<=e;i++)n.push(i);return n.reverse()},showPrev:function(){if(!this.minDate)return!1;if(this.isTypeMonth)return this.focusedDateData.year<=this.minDate.getFullYear();var e=new Date(this.focusedDateData.year,this.focusedDateData.month),t=new Date(this.minDate.getFullYear(),this.minDate.getMonth());return e<=t},showNext:function(){if(!this.maxDate)return!1;if(this.isTypeMonth)return this.focusedDateData.year>=this.maxDate.getFullYear();var e=new Date(this.focusedDateData.year,this.focusedDateData.month),t=new Date(this.maxDate.getFullYear(),this.maxDate.getMonth());return e>=t},isMobile:function(){return this.mobileNative&&H.any()},isTypeMonth:function(){return"month"===this.type},ariaRole:function(){if(!this.inline)return"dialog"}},watch:{value:function(e){this.updateInternalState(e),this.multiple||this.togglePicker(!1)},focusedDate:function(e){e&&(this.focusedDateData={day:e.getDate(),month:e.getMonth(),year:e.getFullYear()})},"focusedDateData.month":function(e){this.$emit("change-month",e)},"focusedDateData.year":function(e){this.$emit("change-year",e)}},methods:{onChange:function(e){var t=this.dateParser(e,this);!t||isNaN(t)&&(!Array.isArray(t)||2!==t.length||isNaN(t[0])||isNaN(t[1]))?(this.computedValue=null,this.$refs.input&&(this.$refs.input.newValue=this.computedValue)):this.computedValue=t},formatValue:function(e){if(Array.isArray(e)){var t=Array.isArray(e)&&e.every((function(e){return!isNaN(e)}));return t?this.dateFormatter(_(e),this):null}return e&&!isNaN(e)?this.dateFormatter(e,this):null},prev:function(){this.disabled||(this.isTypeMonth?this.focusedDateData.year-=1:this.focusedDateData.month>0?this.focusedDateData.month-=1:(this.focusedDateData.month=11,this.focusedDateData.year-=1))},next:function(){this.disabled||(this.isTypeMonth?this.focusedDateData.year+=1:this.focusedDateData.month<11?this.focusedDateData.month+=1:(this.focusedDateData.month=0,this.focusedDateData.year+=1))},formatNative:function(e){return this.isTypeMonth?this.formatYYYYMM(e):this.formatYYYYMMDD(e)},formatYYYYMMDD:function(e){var t=new Date(e);if(e&&!isNaN(t)){var n=t.getFullYear(),i=t.getMonth()+1,a=t.getDate();return n+"-"+(i<10?"0":"")+i+"-"+(a<10?"0":"")+a}return""},formatYYYYMM:function(e){var t=new Date(e);if(e&&!isNaN(t)){var n=t.getFullYear(),i=t.getMonth()+1;return n+"-"+(i<10?"0":"")+i}return""},onChangeNativePicker:function(e){var t=e.target.value,n=t?t.split("-"):[];if(3===n.length){var i=parseInt(n[0],10),a=parseInt(n[1])-1,r=parseInt(n[2]);this.computedValue=new Date(i,a,r)}else this.computedValue=null},updateInternalState:function(e){if(this.dateSelected!==e){var t=Array.isArray(e),n=t?e.length?e[e.length-1]:this.dateCreator():e||this.dateCreator();(!t||t&&this.dateSelected&&e.length>this.dateSelected.length)&&(this.focusedDateData={day:n.getDate(),month:n.getMonth(),year:n.getFullYear()}),this.dateSelected=e}},togglePicker:function(e){if(this.$refs.dropdown){var t="boolean"===typeof e?e:!this.$refs.dropdown.isActive;(t||this.closeOnClick)&&(this.$refs.dropdown.isActive=t)}},handleOnFocus:function(e){this.onFocus(e),this.openOnFocus&&this.togglePicker(!0)},toggle:function(){if(this.mobileNative&&this.isMobile){var e=this.$refs.input.$refs.input;return e.focus(),void e.click()}this.$refs.dropdown.toggle()},onInputClick:function(e){this.$refs.dropdown.isActive&&e.stopPropagation()},keyPress:function(e){var t=e.key;this.$refs.dropdown&&this.$refs.dropdown.isActive&&("Escape"===t||"Esc"===t)&&this.togglePicker(!1)},onActiveChange:function(e){e||this.onBlur(),this.$emit("active-change",e)},changeFocus:function(e){this.focusedDateData={day:e.getDate(),month:e.getMonth(),year:e.getFullYear()}}},created:function(){"undefined"!==typeof window&&document.addEventListener("keyup",this.keyPress)},beforeDestroy:function(){"undefined"!==typeof window&&document.removeEventListener("keyup",this.keyPress)}};const to=eo;var no=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"datepicker control",class:[e.size,{"is-expanded":e.expanded}]},[!e.isMobile||e.inline?n("b-dropdown",{ref:"dropdown",attrs:{position:e.position,disabled:e.disabled,inline:e.inline,"mobile-modal":e.mobileModal,"trap-focus":e.trapFocus,"aria-role":e.ariaRole,"append-to-body":e.appendToBody,"append-to-body-copy-parent":""},on:{"active-change":e.onActiveChange},scopedSlots:e._u([e.inline?null:{key:"trigger",fn:function(){return[e._t("trigger",[n("b-input",e._b({ref:"input",attrs:{autocomplete:"off",value:e.formattedValue,placeholder:e.placeholder,size:e.size,icon:e.icon,"icon-right":e.iconRight,"icon-right-clickable":e.iconRightClickable,"icon-pack":e.iconPack,rounded:e.rounded,loading:e.loading,disabled:e.disabled,readonly:!e.editable,"use-html5-validation":!1},on:{"icon-right-click":function(t){return e.$emit("icon-right-click",t)},focus:e.handleOnFocus},nativeOn:{click:function(t){return e.onInputClick(t)},keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.togglePicker(!0)},change:function(t){return e.onChange(t.target.value)}}},"b-input",e.$attrs,!1))])]},proxy:!0}],null,!0)},[n("b-dropdown-item",{class:{"dropdown-horizontal-timepicker":e.horizontalTimePicker},attrs:{disabled:e.disabled,focusable:e.focusable,custom:""}},[n("div",[n("header",{staticClass:"datepicker-header"},[void 0!==e.$slots.header&&e.$slots.header.length?[e._t("header")]:n("div",{staticClass:"pagination field is-centered",class:e.size},[n("a",{directives:[{name:"show",rawName:"v-show",value:!e.showPrev&&!e.disabled,expression:"!showPrev && !disabled"}],staticClass:"pagination-previous",attrs:{role:"button",href:"#",disabled:e.disabled,"aria-label":e.ariaPreviousLabel},on:{click:function(t){return t.preventDefault(),e.prev(t)},keydown:[function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:(t.preventDefault(),e.prev(t))},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"space",32,t.key,[" ","Spacebar"])?null:(t.preventDefault(),e.prev(t))}]}},[n("b-icon",{attrs:{icon:e.iconPrev,pack:e.iconPack,both:"",type:"is-primary is-clickable"}})],1),n("a",{directives:[{name:"show",rawName:"v-show",value:!e.showNext&&!e.disabled,expression:"!showNext && !disabled"}],staticClass:"pagination-next",attrs:{role:"button",href:"#",disabled:e.disabled,"aria-label":e.ariaNextLabel},on:{click:function(t){return t.preventDefault(),e.next(t)},keydown:[function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:(t.preventDefault(),e.next(t))},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"space",32,t.key,[" ","Spacebar"])?null:(t.preventDefault(),e.next(t))}]}},[n("b-icon",{attrs:{icon:e.iconNext,pack:e.iconPack,both:"",type:"is-primary is-clickable"}})],1),n("div",{staticClass:"pagination-list"},[n("b-field",[e.isTypeMonth?e._e():n("b-select",{attrs:{disabled:e.disabled,size:e.size},model:{value:e.focusedDateData.month,callback:function(t){e.$set(e.focusedDateData,"month",t)},expression:"focusedDateData.month"}},e._l(e.listOfMonths,(function(t){return n("option",{key:t.name,attrs:{disabled:t.disabled},domProps:{value:t.index}},[e._v(" "+e._s(t.name)+" ")])})),0),n("b-select",{attrs:{disabled:e.disabled,size:e.size},model:{value:e.focusedDateData.year,callback:function(t){e.$set(e.focusedDateData,"year",t)},expression:"focusedDateData.year"}},e._l(e.listOfYears,(function(t){return n("option",{key:t,domProps:{value:t}},[e._v(" "+e._s(t)+" ")])})),0)],1)],1)])],2),e.isTypeMonth?n("div",[n("b-datepicker-month",{attrs:{"month-names":e.newMonthNames,"min-date":e.minDate,"max-date":e.maxDate,focused:e.focusedDateData,disabled:e.disabled,"unselectable-dates":e.unselectableDates,"unselectable-days-of-week":e.unselectableDaysOfWeek,"selectable-dates":e.selectableDates,events:e.events,indicators:e.indicators,"date-creator":e.dateCreator,range:e.range,multiple:e.multiple},on:{"range-start":function(t){return e.$emit("range-start",t)},"range-end":function(t){return e.$emit("range-end",t)},close:function(t){return e.togglePicker(!1)},"change-focus":e.changeFocus,"update:focused":function(t){e.focusedDateData=t}},model:{value:e.computedValue,callback:function(t){e.computedValue=t},expression:"computedValue"}})],1):n("div",{staticClass:"datepicker-content",class:{"content-horizontal-timepicker":e.horizontalTimePicker}},[n("b-datepicker-table",{attrs:{"day-names":e.newDayNames,"month-names":e.newMonthNames,"first-day-of-week":e.firstDayOfWeek,"rules-for-first-week":e.rulesForFirstWeek,"min-date":e.minDate,"max-date":e.maxDate,focused:e.focusedDateData,disabled:e.disabled,"unselectable-dates":e.unselectableDates,"unselectable-days-of-week":e.unselectableDaysOfWeek,"selectable-dates":e.selectableDates,events:e.events,indicators:e.indicators,"date-creator":e.dateCreator,"type-month":e.isTypeMonth,"nearby-month-days":e.nearbyMonthDays,"nearby-selectable-month-days":e.nearbySelectableMonthDays,"show-week-number":e.showWeekNumber,"week-number-clickable":e.weekNumberClickable,range:e.range,multiple:e.multiple},on:{"range-start":function(t){return e.$emit("range-start",t)},"range-end":function(t){return e.$emit("range-end",t)},close:function(t){return e.togglePicker(!1)},"update:focused":function(t){e.focusedDateData=t}},model:{value:e.computedValue,callback:function(t){e.computedValue=t},expression:"computedValue"}})],1)]),void 0!==e.$slots.default&&e.$slots.default.length?n("footer",{staticClass:"datepicker-footer",class:{"footer-horizontal-timepicker":e.horizontalTimePicker}},[e._t("default")],2):e._e()])],1):n("b-input",e._b({ref:"input",attrs:{type:e.isTypeMonth?"month":"date",autocomplete:"off",value:e.formatNative(e.computedValue),placeholder:e.placeholder,size:e.size,icon:e.icon,"icon-pack":e.iconPack,rounded:e.rounded,loading:e.loading,max:e.formatNative(e.maxDate),min:e.formatNative(e.minDate),disabled:e.disabled,readonly:!1,"use-html5-validation":!1},on:{focus:e.onFocus,blur:e.onBlur},nativeOn:{change:function(t){return e.onChangeNativePicker(t)}}},"b-input",e.$attrs,!1))],1)},io=[];const ao=void 0,ro=void 0,oo=void 0,so=!1;var lo=se({render:no,staticRenderFns:io},ao,to,ro,so,oo,void 0,void 0),co={install:function(e){ce(e,lo)}};le(co);var uo,ho=co,fo={name:"BTimepicker",components:(uo={},s(uo,Te.name,Te),s(uo,Ni.name,Ni),s(uo,ma.name,ma),s(uo,Se.name,Se),s(uo,hi.name,hi),s(uo,ki.name,ki),uo),mixins:[Qn],inheritAttrs:!1,data:function(){return{_isTimepicker:!0}},computed:{nativeStep:function(){if(this.enableSeconds)return"1"}}};const po=fo;var vo=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"timepicker control",class:[e.size,{"is-expanded":e.expanded}]},[!e.isMobile||e.inline?n("b-dropdown",{ref:"dropdown",attrs:{position:e.position,disabled:e.disabled,inline:e.inline,"append-to-body":e.appendToBody,"append-to-body-copy-parent":""},on:{"active-change":e.onActiveChange},scopedSlots:e._u([e.inline?null:{key:"trigger",fn:function(){return[e._t("trigger",[n("b-input",e._b({ref:"input",attrs:{autocomplete:"off",value:e.formatValue(e.computedValue),placeholder:e.placeholder,size:e.size,icon:e.icon,"icon-pack":e.iconPack,loading:e.loading,disabled:e.disabled,readonly:!e.editable,rounded:e.rounded,"use-html5-validation":e.useHtml5Validation},on:{focus:e.handleOnFocus},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.toggle(!0)},change:function(t){return e.onChange(t.target.value)}}},"b-input",e.$attrs,!1))])]},proxy:!0}],null,!0)},[n("b-dropdown-item",{attrs:{disabled:e.disabled,focusable:e.focusable,custom:""}},[n("b-field",{attrs:{grouped:"",position:"is-centered"}},[n("b-select",{attrs:{disabled:e.disabled,placeholder:"00"},nativeOn:{change:function(t){return e.onHoursChange(t.target.value)}},model:{value:e.hoursSelected,callback:function(t){e.hoursSelected=t},expression:"hoursSelected"}},e._l(e.hours,(function(t){return n("option",{key:t.value,attrs:{disabled:e.isHourDisabled(t.value)},domProps:{value:t.value}},[e._v(" "+e._s(t.label)+" ")])})),0),n("span",{staticClass:"control is-colon"},[e._v(e._s(e.hourLiteral))]),n("b-select",{attrs:{disabled:e.disabled,placeholder:"00"},nativeOn:{change:function(t){return e.onMinutesChange(t.target.value)}},model:{value:e.minutesSelected,callback:function(t){e.minutesSelected=t},expression:"minutesSelected"}},e._l(e.minutes,(function(t){return n("option",{key:t.value,attrs:{disabled:e.isMinuteDisabled(t.value)},domProps:{value:t.value}},[e._v(" "+e._s(t.label)+" ")])})),0),e.enableSeconds?[n("span",{staticClass:"control is-colon"},[e._v(e._s(e.minuteLiteral))]),n("b-select",{attrs:{disabled:e.disabled,placeholder:"00"},nativeOn:{change:function(t){return e.onSecondsChange(t.target.value)}},model:{value:e.secondsSelected,callback:function(t){e.secondsSelected=t},expression:"secondsSelected"}},e._l(e.seconds,(function(t){return n("option",{key:t.value,attrs:{disabled:e.isSecondDisabled(t.value)},domProps:{value:t.value}},[e._v(" "+e._s(t.label)+" ")])})),0),n("span",{staticClass:"control is-colon"},[e._v(e._s(e.secondLiteral))])]:e._e(),e.isHourFormat24?e._e():n("b-select",{attrs:{disabled:e.disabled},nativeOn:{change:function(t){return e.onMeridienChange(t.target.value)}},model:{value:e.meridienSelected,callback:function(t){e.meridienSelected=t},expression:"meridienSelected"}},e._l(e.meridiens,(function(t){return n("option",{key:t,domProps:{value:t}},[e._v(" "+e._s(t)+" ")])})),0)],2),void 0!==e.$slots.default&&e.$slots.default.length?n("footer",{staticClass:"timepicker-footer"},[e._t("default")],2):e._e()],1)],1):n("b-input",e._b({ref:"input",attrs:{type:"time",step:e.nativeStep,autocomplete:"off",value:e.formatHHMMSS(e.computedValue),placeholder:e.placeholder,size:e.size,icon:e.icon,"icon-pack":e.iconPack,rounded:e.rounded,loading:e.loading,max:e.formatHHMMSS(e.maxTime),min:e.formatHHMMSS(e.minTime),disabled:e.disabled,readonly:!1,"use-html5-validation":e.useHtml5Validation},on:{focus:e.handleOnFocus,blur:function(t){e.onBlur()&&e.checkHtml5Validity()}},nativeOn:{change:function(t){return e.onChange(t.target.value)}}},"b-input",e.$attrs,!1))],1)},mo=[];const go=void 0,yo=void 0,bo=void 0,wo=!1;var ko,Co=se({render:vo,staticRenderFns:mo},go,po,yo,wo,bo,void 0,void 0),So="AM",_o="PM",xo={name:"BDatetimepicker",components:(ko={},s(ko,lo.name,lo),s(ko,Co.name,Co),ko),mixins:[de],inheritAttrs:!1,props:{value:{type:Date},editable:{type:Boolean,default:!1},placeholder:String,horizontalTimePicker:Boolean,disabled:Boolean,firstDayOfWeek:{type:Number,default:function(){return"number"===typeof ie.defaultFirstDayOfWeek?ie.defaultFirstDayOfWeek:0}},rulesForFirstWeek:{type:Number,default:function(){return 4}},icon:String,iconRight:String,iconRightClickable:Boolean,iconPack:String,inline:Boolean,openOnFocus:Boolean,position:String,mobileNative:{type:Boolean,default:!0},minDatetime:Date,maxDatetime:Date,datetimeFormatter:{type:Function},datetimeParser:{type:Function},datetimeCreator:{type:Function,default:function(e){return"function"===typeof ie.defaultDatetimeCreator?ie.defaultDatetimeCreator(e):e}},datepicker:Object,timepicker:Object,tzOffset:{type:Number,default:0},focusable:{type:Boolean,default:!0},appendToBody:Boolean},data:function(){return{newValue:this.adjustValue(this.value)}},computed:{computedValue:{get:function(){return this.newValue},set:function(e){if(e){var t=new Date(e.getTime());this.newValue?e.getDate()===this.newValue.getDate()&&e.getMonth()===this.newValue.getMonth()&&e.getFullYear()===this.newValue.getFullYear()||0!==e.getHours()||0!==e.getMinutes()||0!==e.getSeconds()||t.setHours(this.newValue.getHours(),this.newValue.getMinutes(),this.newValue.getSeconds(),0):t=this.datetimeCreator(e),this.minDatetime&&tthis.adjustValue(this.maxDatetime)&&(t=this.adjustValue(this.maxDatetime)),this.newValue=new Date(t.getTime())}else this.newValue=this.adjustValue(e);var n=this.adjustValue(this.newValue,!0);this.$emit("input",n)}},localeOptions:function(){return new Intl.DateTimeFormat(this.locale,{year:"numeric",month:"numeric",day:"numeric",hour:"numeric",minute:"numeric",second:this.enableSeconds()?"numeric":void 0}).resolvedOptions()},dtf:function(){return new Intl.DateTimeFormat(this.locale,{year:this.localeOptions.year||"numeric",month:this.localeOptions.month||"numeric",day:this.localeOptions.day||"numeric",hour:this.localeOptions.hour||"numeric",minute:this.localeOptions.minute||"numeric",second:this.enableSeconds()?this.localeOptions.second||"numeric":void 0,hourCycle:this.isHourFormat24()?"h23":"h12"})},isMobileNative:function(){return this.mobileNative&&0===this.tzOffset},isMobile:function(){return this.isMobileNative&&H.any()},minDate:function(){if(!this.minDatetime)return this.datepicker?this.adjustValue(this.datepicker.minDate):null;var e=this.adjustValue(this.minDatetime);return new Date(e.getFullYear(),e.getMonth(),e.getDate(),0,0,0,0)},maxDate:function(){if(!this.maxDatetime)return this.datepicker?this.adjustValue(this.datepicker.maxDate):null;var e=this.adjustValue(this.maxDatetime);return new Date(e.getFullYear(),e.getMonth(),e.getDate(),0,0,0,0)},minTime:function(){if(!this.minDatetime||null===this.newValue||"undefined"===typeof this.newValue)return this.timepicker?this.adjustValue(this.timepicker.minTime):null;var e=this.adjustValue(this.minDatetime);return e.getFullYear()===this.newValue.getFullYear()&&e.getMonth()===this.newValue.getMonth()&&e.getDate()===this.newValue.getDate()?e:void 0},maxTime:function(){if(!this.maxDatetime||null===this.newValue||"undefined"===typeof this.newValue)return this.timepicker?this.adjustValue(this.timepicker.maxTime):null;var e=this.adjustValue(this.maxDatetime);return e.getFullYear()===this.newValue.getFullYear()&&e.getMonth()===this.newValue.getMonth()&&e.getDate()===this.newValue.getDate()?e:void 0},datepickerSize:function(){return this.datepicker&&this.datepicker.size?this.datepicker.size:this.size},timepickerSize:function(){return this.timepicker&&this.timepicker.size?this.timepicker.size:this.size},timepickerDisabled:function(){return this.timepicker&&this.timepicker.disabled?this.timepicker.disabled:this.disabled}},watch:{value:function(){this.newValue=this.adjustValue(this.value)},tzOffset:function(){this.newValue=this.adjustValue(this.value)}},methods:{enableSeconds:function(){return!!this.$refs.timepicker&&this.$refs.timepicker.enableSeconds},isHourFormat24:function(){return this.$refs.timepicker?this.$refs.timepicker.isHourFormat24:!this.localeOptions.hour12},adjustValue:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return e?t?new Date(e.getTime()-6e4*this.tzOffset):new Date(e.getTime()+6e4*this.tzOffset):e},defaultDatetimeParser:function(e){if("function"===typeof this.datetimeParser)return this.datetimeParser(e);if("function"===typeof ie.defaultDatetimeParser)return ie.defaultDatetimeParser(e);if(this.dtf.formatToParts&&"function"===typeof this.dtf.formatToParts){var t=[So,_o,So.toLowerCase(),_o.toLowerCase()];this.$refs.timepicker&&(t.push(this.$refs.timepicker.amString),t.push(this.$refs.timepicker.pmString));var n=this.dtf.formatToParts(new Date),i=n.map((function(e,i){return"literal"===e.type?i+1)(").concat(t.join("|"),")?)"):"((?!=<".concat(e.type,">)\\d+)")})).join(""),a=J(i,e);if(a.year&&4===a.year.length&&a.month&&a.month<=12&&a.day&&a.day<=31&&a.hour&&a.hour>=0&&a.hour<24&&a.minute&&a.minute>=0&&a.minute<=59){var r=new Date(a.year,a.month-1,a.day,a.hour,a.minute,a.second||0);return r}}return new Date(Date.parse(e))},defaultDatetimeFormatter:function(e){return"function"===typeof this.datetimeFormatter?this.datetimeFormatter(e):"function"===typeof ie.defaultDatetimeFormatter?ie.defaultDatetimeFormatter(e):this.dtf.format(e)},onChangeNativePicker:function(e){var t=e.target.value,n=t?t.split(/\D/):[];if(n.length>=5){var i=parseInt(n[0],10),a=parseInt(n[1],10)-1,r=parseInt(n[2],10),o=parseInt(n[3],10),s=parseInt(n[4],10);this.computedValue=new Date(i,a,r,o,s)}else this.computedValue=null},onActiveChange:function(e){this.$emit("active-change",e)},formatNative:function(e){var t=new Date(e);if(e&&!isNaN(t)){var n=t.getFullYear(),i=t.getMonth()+1,a=t.getDate(),r=t.getHours(),o=t.getMinutes(),s=t.getSeconds();return n+"-"+(i<10?"0":"")+i+"-"+(a<10?"0":"")+a+"T"+(r<10?"0":"")+r+":"+(o<10?"0":"")+o+":"+(s<10?"0":"")+s}return""},toggle:function(){this.$refs.datepicker.toggle()}},mounted:function(){this.isMobile&&!this.inline||this.newValue&&this.$refs.datepicker.$forceUpdate()}};const Do=xo;var $o=function(){var e=this,t=e.$createElement,n=e._self._c||t;return!e.isMobile||e.inline?n("b-datepicker",e._b({ref:"datepicker",attrs:{rounded:e.rounded,"open-on-focus":e.openOnFocus,position:e.position,loading:e.loading,inline:e.inline,editable:e.editable,expanded:e.expanded,"close-on-click":!1,"first-day-of-week":e.firstDayOfWeek,"rules-for-first-week":e.rulesForFirstWeek,"date-formatter":e.defaultDatetimeFormatter,"date-parser":e.defaultDatetimeParser,"min-date":e.minDate,"max-date":e.maxDate,icon:e.icon,"icon-right":e.iconRight,"icon-right-clickable":e.iconRightClickable,"icon-pack":e.iconPack,size:e.datepickerSize,placeholder:e.placeholder,"horizontal-time-picker":e.horizontalTimePicker,range:!1,disabled:e.disabled,"mobile-native":e.isMobileNative,locale:e.locale,focusable:e.focusable,"append-to-body":e.appendToBody},on:{focus:e.onFocus,blur:e.onBlur,"active-change":e.onActiveChange,"icon-right-click":function(t){return e.$emit("icon-right-click")},"change-month":function(t){return e.$emit("change-month",t)},"change-year":function(t){return e.$emit("change-year",t)}},model:{value:e.computedValue,callback:function(t){e.computedValue=t},expression:"computedValue"}},"b-datepicker",e.datepicker,!1),[n("nav",{staticClass:"level is-mobile"},[void 0!==e.$slots.left?n("div",{staticClass:"level-item has-text-centered"},[e._t("left")],2):e._e(),n("div",{staticClass:"level-item has-text-centered"},[n("b-timepicker",e._b({ref:"timepicker",attrs:{inline:"",editable:e.editable,"min-time":e.minTime,"max-time":e.maxTime,size:e.timepickerSize,disabled:e.timepickerDisabled,focusable:e.focusable,"mobile-native":e.isMobileNative,locale:e.locale},model:{value:e.computedValue,callback:function(t){e.computedValue=t},expression:"computedValue"}},"b-timepicker",e.timepicker,!1))],1),void 0!==e.$slots.right?n("div",{staticClass:"level-item has-text-centered"},[e._t("right")],2):e._e()])]):n("b-input",e._b({ref:"input",attrs:{type:"datetime-local",autocomplete:"off",value:e.formatNative(e.computedValue),placeholder:e.placeholder,size:e.size,icon:e.icon,"icon-pack":e.iconPack,rounded:e.rounded,loading:e.loading,max:e.formatNative(e.maxDate),min:e.formatNative(e.minDate),disabled:e.disabled,readonly:!1,"use-html5-validation":e.useHtml5Validation},on:{focus:e.onFocus,blur:e.onBlur},nativeOn:{change:function(t){return e.onChangeNativePicker(t)}}},"b-input",e.$attrs,!1))},Ao=[];const Po=void 0,Oo=void 0,Mo=void 0,To=!1;var Bo=se({render:$o,staticRenderFns:Ao},Po,Do,Oo,To,Mo,void 0,void 0),Eo={install:function(e){ce(e,Bo)}};le(Eo);var Fo=Eo,Io={name:"BModal",directives:{trapFocus:ni},model:{prop:"active",event:"update:active"},props:{active:Boolean,component:[Object,Function,String],content:[String,Array],programmatic:Boolean,props:Object,events:Object,width:{type:[String,Number],default:960},hasModalCard:Boolean,animation:{type:String,default:"zoom-out"},canCancel:{type:[Array,Boolean],default:function(){return ie.defaultModalCanCancel}},onCancel:{type:Function,default:function(){}},scroll:{type:String,default:function(){return ie.defaultModalScroll?ie.defaultModalScroll:"clip"},validator:function(e){return["clip","keep"].indexOf(e)>=0}},fullScreen:Boolean,trapFocus:{type:Boolean,default:function(){return ie.defaultTrapFocus}},autoFocus:{type:Boolean,default:function(){return ie.defaultAutoFocus}},customClass:String,ariaRole:{type:String,validator:function(e){return["dialog","alertdialog"].indexOf(e)>=0}},ariaModal:Boolean,ariaLabel:{type:String,validator:function(e){return Boolean(e)}},closeButtonAriaLabel:String,destroyOnHide:{type:Boolean,default:!0}},data:function(){return{isActive:this.active||!1,savedScrollTop:null,newWidth:"number"===typeof this.width?this.width+"px":this.width,animating:!this.active,destroyed:!this.active}},computed:{cancelOptions:function(){return"boolean"===typeof this.canCancel?this.canCancel?ie.defaultModalCanCancel:[]:this.canCancel},showX:function(){return this.cancelOptions.indexOf("x")>=0},customStyle:function(){return this.fullScreen?null:{maxWidth:this.newWidth}}},watch:{active:function(e){this.isActive=e},isActive:function(e){var t=this;e&&(this.destroyed=!1),this.handleScroll(),this.$nextTick((function(){e&&t.$el&&t.$el.focus&&t.autoFocus&&t.$el.focus()}))}},methods:{handleScroll:function(){"undefined"!==typeof window&&("clip"!==this.scroll?(this.savedScrollTop=this.savedScrollTop?this.savedScrollTop:document.documentElement.scrollTop,this.isActive?document.body.classList.add("is-noscroll"):document.body.classList.remove("is-noscroll"),this.isActive?document.body.style.top="-".concat(this.savedScrollTop,"px"):(document.documentElement.scrollTop=this.savedScrollTop,document.body.style.top=null,this.savedScrollTop=null)):this.isActive?document.documentElement.classList.add("is-clipped"):document.documentElement.classList.remove("is-clipped"))},cancel:function(e){this.cancelOptions.indexOf(e)<0||(this.$emit("cancel",arguments),this.onCancel.apply(null,arguments),this.close())},close:function(){var e=this;this.$emit("close"),this.$emit("update:active",!1),this.programmatic&&(this.isActive=!1,setTimeout((function(){e.$destroy(),j(e.$el)}),150))},keyPress:function(e){var t=e.key;!this.isActive||"Escape"!==t&&"Esc"!==t||this.cancel("escape")},afterEnter:function(){this.animating=!1,this.$emit("after-enter")},beforeLeave:function(){this.animating=!0},afterLeave:function(){this.destroyOnHide&&(this.destroyed=!0),this.$emit("after-leave")}},created:function(){"undefined"!==typeof window&&document.addEventListener("keyup",this.keyPress)},beforeMount:function(){this.programmatic&&document.body.appendChild(this.$el)},mounted:function(){this.programmatic?this.isActive=!0:this.isActive&&this.handleScroll()},beforeDestroy:function(){if("undefined"!==typeof window){document.removeEventListener("keyup",this.keyPress),document.documentElement.classList.remove("is-clipped");var e=this.savedScrollTop?this.savedScrollTop:document.documentElement.scrollTop;document.body.classList.remove("is-noscroll"),document.documentElement.scrollTop=e,document.body.style.top=null}}};const No=Io;var Ro=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("transition",{attrs:{name:e.animation},on:{"after-enter":e.afterEnter,"before-leave":e.beforeLeave,"after-leave":e.afterLeave}},[e.destroyed?e._e():n("div",{directives:[{name:"show",rawName:"v-show",value:e.isActive,expression:"isActive"},{name:"trap-focus",rawName:"v-trap-focus",value:e.trapFocus,expression:"trapFocus"}],staticClass:"modal is-active",class:[{"is-full-screen":e.fullScreen},e.customClass],attrs:{tabindex:"-1",role:e.ariaRole,"aria-label":e.ariaLabel,"aria-modal":e.ariaModal}},[n("div",{staticClass:"modal-background",on:{click:function(t){return e.cancel("outside")}}}),n("div",{staticClass:"animation-content",class:{"modal-content":!e.hasModalCard},style:e.customStyle},[e.component?n(e.component,e._g(e._b({tag:"component",attrs:{"can-cancel":e.canCancel},on:{close:e.close}},"component",e.props,!1),e.events)):e.content?[n("div",{domProps:{innerHTML:e._s(e.content)}})]:e._t("default",null,{canCancel:e.canCancel,close:e.close}),e.showX?n("button",{directives:[{name:"show",rawName:"v-show",value:!e.animating,expression:"!animating"}],staticClass:"modal-close is-large",attrs:{type:"button","aria-label":e.closeButtonAriaLabel},on:{click:function(t){return e.cancel("x")}}}):e._e()],2)])])},Lo=[];const Vo=void 0,Ho=void 0,jo=void 0,zo=!1;var Uo,Wo=se({render:Ro,staticRenderFns:Lo},Vo,No,Ho,zo,jo,void 0,void 0),qo={name:"BDialog",components:(Uo={},s(Uo,Se.name,Se),s(Uo,yt.name,yt),Uo),directives:{trapFocus:ni},extends:Wo,props:{title:String,message:[String,Array],icon:String,iconPack:String,hasIcon:Boolean,type:{type:String,default:"is-primary"},size:String,confirmText:{type:String,default:function(){return ie.defaultDialogConfirmText?ie.defaultDialogConfirmText:"OK"}},cancelText:{type:String,default:function(){return ie.defaultDialogCancelText?ie.defaultDialogCancelText:"Cancel"}},hasInput:Boolean,inputAttrs:{type:Object,default:function(){return{}}},onConfirm:{type:Function,default:function(){}},closeOnConfirm:{type:Boolean,default:!0},container:{type:String,default:function(){return ie.defaultContainerElement}},focusOn:{type:String,default:"confirm"},trapFocus:{type:Boolean,default:function(){return ie.defaultTrapFocus}},ariaRole:{type:String,validator:function(e){return["dialog","alertdialog"].indexOf(e)>=0}},ariaModal:Boolean},data:function(){var e=this.hasInput&&this.inputAttrs.value||"";return{prompt:e,isActive:!1,validationMessage:"",isCompositing:!1}},computed:{dialogClass:function(){return[this.size,{"has-custom-container":null!==this.container}]},iconByType:function(){switch(this.type){case"is-info":return"information";case"is-success":return"check-circle";case"is-warning":return"alert";case"is-danger":return"alert-circle";default:return null}},showCancel:function(){return this.cancelOptions.indexOf("button")>=0}},methods:{confirm:function(){var e=this;if(void 0!==this.$refs.input){if(this.isCompositing)return;if(!this.$refs.input.checkValidity())return this.validationMessage=this.$refs.input.validationMessage,void this.$nextTick((function(){return e.$refs.input.select()}))}this.$emit("confirm",this.prompt),this.onConfirm(this.prompt,this),this.closeOnConfirm&&this.close()},close:function(){var e=this;this.isActive=!1,setTimeout((function(){e.$destroy(),j(e.$el)}),150)}},beforeMount:function(){var e=this;"undefined"!==typeof window&&this.$nextTick((function(){var t=document.querySelector(e.container)||document.body;t.appendChild(e.$el)}))},mounted:function(){var e=this;this.isActive=!0,"undefined"===typeof this.inputAttrs.required&&this.$set(this.inputAttrs,"required",!0),this.$nextTick((function(){e.hasInput?e.$refs.input.focus():"cancel"===e.focusOn&&e.showCancel?e.$refs.cancelButton.$el.focus():e.$refs.confirmButton.$el.focus()}))}};const Yo=qo;var Ko=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("transition",{attrs:{name:e.animation}},[e.isActive?n("div",{directives:[{name:"trap-focus",rawName:"v-trap-focus",value:e.trapFocus,expression:"trapFocus"}],staticClass:"dialog modal is-active",class:e.dialogClass,attrs:{role:e.ariaRole,"aria-modal":e.ariaModal}},[n("div",{staticClass:"modal-background",on:{click:function(t){return e.cancel("outside")}}}),n("div",{staticClass:"modal-card animation-content"},[e.title?n("header",{staticClass:"modal-card-head"},[n("p",{staticClass:"modal-card-title"},[e._v(e._s(e.title))])]):e._e(),n("section",{staticClass:"modal-card-body",class:{"is-titleless":!e.title,"is-flex":e.hasIcon}},[n("div",{staticClass:"media"},[e.hasIcon&&(e.icon||e.iconByType)?n("div",{staticClass:"media-left"},[n("b-icon",{attrs:{icon:e.icon?e.icon:e.iconByType,pack:e.iconPack,type:e.type,both:!e.icon,size:"is-large"}})],1):e._e(),n("div",{staticClass:"media-content"},[n("p",[e.$slots.default?[e._t("default")]:[n("div",{domProps:{innerHTML:e._s(e.message)}})]],2),e.hasInput?n("div",{staticClass:"field"},[n("div",{staticClass:"control"},["checkbox"===e.inputAttrs.type?n("input",e._b({directives:[{name:"model",rawName:"v-model",value:e.prompt,expression:"prompt"}],ref:"input",staticClass:"input",class:{"is-danger":e.validationMessage},attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.prompt)?e._i(e.prompt,null)>-1:e.prompt},on:{compositionstart:function(t){e.isCompositing=!0},compositionend:function(t){e.isCompositing=!1},keydown:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.confirm(t)},change:function(t){var n=e.prompt,i=t.target,a=!!i.checked;if(Array.isArray(n)){var r=null,o=e._i(n,r);i.checked?o<0&&(e.prompt=n.concat([r])):o>-1&&(e.prompt=n.slice(0,o).concat(n.slice(o+1)))}else e.prompt=a}}},"input",e.inputAttrs,!1)):"radio"===e.inputAttrs.type?n("input",e._b({directives:[{name:"model",rawName:"v-model",value:e.prompt,expression:"prompt"}],ref:"input",staticClass:"input",class:{"is-danger":e.validationMessage},attrs:{type:"radio"},domProps:{checked:e._q(e.prompt,null)},on:{compositionstart:function(t){e.isCompositing=!0},compositionend:function(t){e.isCompositing=!1},keydown:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.confirm(t)},change:function(t){e.prompt=null}}},"input",e.inputAttrs,!1)):n("input",e._b({directives:[{name:"model",rawName:"v-model",value:e.prompt,expression:"prompt"}],ref:"input",staticClass:"input",class:{"is-danger":e.validationMessage},attrs:{type:e.inputAttrs.type},domProps:{value:e.prompt},on:{compositionstart:function(t){e.isCompositing=!0},compositionend:function(t){e.isCompositing=!1},keydown:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.confirm(t)},input:function(t){t.target.composing||(e.prompt=t.target.value)}}},"input",e.inputAttrs,!1))]),n("p",{staticClass:"help is-danger"},[e._v(e._s(e.validationMessage))])]):e._e()])])]),n("footer",{staticClass:"modal-card-foot"},[e.showCancel?n("b-button",{ref:"cancelButton",on:{click:function(t){return e.cancel("button")}}},[e._v(e._s(e.cancelText))]):e._e(),n("b-button",{ref:"confirmButton",attrs:{type:e.type},on:{click:e.confirm}},[e._v(e._s(e.confirmText))])],1)])]):e._e()])},Xo=[];const Go=void 0,Jo=void 0,Qo=void 0,Zo=!1;var es,ts=se({render:Ko,staticRenderFns:Xo},Go,Yo,Jo,Zo,Qo,void 0,void 0);function ns(e){var t;Array.isArray(e.message)&&(t=e.message,delete e.message);var n="undefined"!==typeof window&&window.Vue?window.Vue:es||ee,i=n.extend(ts),a=new i({el:document.createElement("div"),propsData:e});return t&&(a.$slots.default=t,a.$forceUpdate()),ie.defaultProgrammaticPromise?new Promise((function(e){a.$on("confirm",(function(t){return e({result:t||!0,dialog:a})})),a.$on("cancel",(function(){return e({result:!1,dialog:a})}))})):a}var is={alert:function(e){"string"===typeof e&&(e={message:e});var t={canCancel:!1},n=V(t,e);return ns(n)},confirm:function(e){var t={},n=V(t,e);return ns(n)},prompt:function(e){var t={hasInput:!0},n=V(t,e);return ns(n)}},as={install:function(e){es=e,ce(e,ts),ue(e,"dialog",is)}};le(as);var rs=as,os={install:function(e){ce(e,hi),ce(e,ki)}};le(os);var ss=os,ls={install:function(e){ce(e,Ni)}};le(ls);var cs=ls,us={install:function(e){ce(e,Se)}};le(us);var ds=us,hs={install:function(e){ce(e,Nt)}};le(hs);var fs=hs,ps={install:function(e){ce(e,Te)}};le(ps);var vs=ps,ms="undefined"===typeof window,gs=ms?Object:window.HTMLElement,ys=ms?Object:window.File,bs={name:"BLoading",model:{prop:"active",event:"update:active"},props:{active:Boolean,programmatic:Boolean,container:[Object,Function,gs],isFullPage:{type:Boolean,default:!0},animation:{type:String,default:"fade"},canCancel:{type:Boolean,default:!1},onCancel:{type:Function,default:function(){}}},data:function(){return{isActive:this.active||!1,displayInFullPage:this.isFullPage}},watch:{active:function(e){this.isActive=e},isFullPage:function(e){this.displayInFullPage=e}},methods:{cancel:function(){this.canCancel&&this.isActive&&this.close()},close:function(){var e=this;this.onCancel.apply(null,arguments),this.$emit("close"),this.$emit("update:active",!1),this.programmatic&&(this.isActive=!1,setTimeout((function(){e.$destroy(),j(e.$el)}),150))},keyPress:function(e){var t=e.key;"Escape"!==t&&"Esc"!==t||this.cancel()}},created:function(){"undefined"!==typeof window&&document.addEventListener("keyup",this.keyPress)},beforeMount:function(){this.programmatic&&(this.container?(this.displayInFullPage=!1,this.$emit("update:is-full-page",!1),this.container.appendChild(this.$el)):document.body.appendChild(this.$el))},mounted:function(){this.programmatic&&(this.isActive=!0)},beforeDestroy:function(){"undefined"!==typeof window&&document.removeEventListener("keyup",this.keyPress)}};const ws=bs;var ks=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("transition",{attrs:{name:e.animation}},[n("div",{directives:[{name:"show",rawName:"v-show",value:e.isActive,expression:"isActive"}],staticClass:"loading-overlay is-active",class:{"is-full-page":e.displayInFullPage}},[n("div",{staticClass:"loading-background",on:{click:e.cancel}}),e._t("default",[n("div",{staticClass:"loading-icon"})])],2)])},Cs=[];const Ss=void 0,_s=void 0,xs=void 0,Ds=!1;var $s,As=se({render:ks,staticRenderFns:Cs},Ss,ws,_s,Ds,xs,void 0,void 0),Ps={open:function(e){var t={programmatic:!0},n=V(t,e),i="undefined"!==typeof window&&window.Vue?window.Vue:$s||ee,a=i.extend(As);return new a({el:document.createElement("div"),propsData:n})}},Os={install:function(e){$s=e,ce(e,As),ue(e,"loading",Ps)}};le(Os);var Ms=Os,Ts={name:"BMenu",props:{accordion:{type:Boolean,default:!0},activable:{type:Boolean,default:!0}},data:function(){return{_isMenu:!0}}};const Bs=Ts;var Es=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"menu"},[e._t("default")],2)},Fs=[];const Is=void 0,Ns=void 0,Rs=void 0,Ls=!1;var Vs=se({render:Es,staticRenderFns:Fs},Is,Bs,Ns,Ls,Rs,void 0,void 0),Hs={name:"BMenuList",functional:!0,props:{label:String,icon:String,iconPack:String,ariaRole:{type:String,default:""},size:{type:String,default:"is-small"}},render:function(e,t){var n=null,i=t.slots();(t.props.label||i.label)&&(n=e("p",{attrs:{class:"menu-label"}},t.props.label?t.props.icon?[e("b-icon",{props:{icon:t.props.icon,pack:t.props.iconPack,size:t.props.size}}),e("span",{},t.props.label)]:t.props.label:i.label));var a=e("ul",{attrs:{class:"menu-list",role:"menu"===t.props.ariaRole?t.props.ariaRole:null}},i.default);return n?[n,a]:a}};const js=Hs,zs=void 0,Us=void 0,Ws=void 0,qs=void 0;var Ys=se({},zs,js,Us,qs,Ws,void 0,void 0),Ks={name:"BMenuItem",components:s({},Se.name,Se),inheritAttrs:!1,model:{prop:"active",event:"update:active"},props:{label:String,active:Boolean,expanded:Boolean,disabled:Boolean,iconPack:String,icon:String,animation:{type:String,default:"slide"},tag:{type:String,default:"a",validator:function(e){return ie.defaultLinkTags.indexOf(e)>=0}},ariaRole:{type:String,default:""},size:{type:String,default:"is-small"}},data:function(){return{newActive:this.active,newExpanded:this.expanded}},computed:{ariaRoleMenu:function(){return"menuitem"===this.ariaRole?this.ariaRole:null}},watch:{active:function(e){this.newActive=e},expanded:function(e){this.newExpanded=e}},methods:{onClick:function(e){if(!this.disabled){var t=this.getMenu();this.reset(this.$parent,t),this.newExpanded=this.$props.expanded||!this.newExpanded,this.$emit("update:expanded",this.newExpanded),t&&t.activable&&(this.newActive=!0,this.$emit("update:active",this.newActive))}},reset:function(e,t){var n=this,i=e.$children.filter((function(e){return e.name===n.name}));i.forEach((function(i){i!==n&&(n.reset(i,t),(!e.$data._isMenu||e.$data._isMenu&&e.accordion)&&(i.newExpanded=!1,i.$emit("update:expanded",i.newActive)),t&&t.activable&&(i.newActive=!1,i.$emit("update:active",i.newActive)))}))},getMenu:function(){var e=this.$parent;while(e&&!e.$data._isMenu)e=e.$parent;return e}}};const Xs=Ks;var Gs=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("li",{attrs:{role:e.ariaRoleMenu}},[n(e.tag,e._g(e._b({tag:"component",class:{"is-active":e.newActive,"is-expanded":e.newExpanded,"is-disabled":e.disabled,"icon-text":e.icon},on:{click:function(t){return e.onClick(t)}}},"component",e.$attrs,!1),e.$listeners),[e.icon?n("b-icon",{attrs:{icon:e.icon,pack:e.iconPack,size:e.size}}):e._e(),e.label?n("span",[e._v(" "+e._s(e.label)+" ")]):e._t("label",null,{expanded:e.newExpanded,active:e.newActive})],2),e.$slots.default?[n("transition",{attrs:{name:e.animation}},[n("ul",{directives:[{name:"show",rawName:"v-show",value:e.newExpanded,expression:"newExpanded"}]},[e._t("default")],2)])]:e._e()],2)},Js=[];const Qs=void 0,Zs=void 0,el=void 0,tl=!1;var nl=se({render:Gs,staticRenderFns:Js},Qs,Xs,Zs,tl,el,void 0,void 0),il={install:function(e){ce(e,Vs),ce(e,Ys),ce(e,nl)}};le(il);var al=il,rl={components:s({},Se.name,Se),model:{prop:"active",event:"update:active"},props:{active:{type:Boolean,default:!0},title:String,closable:{type:Boolean,default:!0},message:String,type:String,hasIcon:Boolean,size:String,icon:String,iconPack:String,iconSize:String,autoClose:{type:Boolean,default:!1},duration:{type:Number,default:2e3},progressBar:{type:Boolean,default:!1}},data:function(){return{isActive:this.active,remainingTime:this.duration/1e3,newIconSize:this.iconSize||this.size||"is-large"}},watch:{active:function(e){this.isActive=e},isActive:function(e){e?(this.setAutoClose(),this.setDurationProgress()):this.timer&&clearTimeout(this.timer)}},computed:{computedIcon:function(){if(this.icon)return this.icon;switch(this.type){case"is-info":return"information";case"is-success":return"check-circle";case"is-warning":return"alert";case"is-danger":return"alert-circle";default:return null}}},methods:{close:function(){this.isActive=!1,this.resetDurationProgress(),this.$emit("close"),this.$emit("update:active",!1)},click:function(){this.$emit("click")},setAutoClose:function(){var e=this;this.autoClose&&(this.timer=setTimeout((function(){e.isActive&&e.close()}),this.duration))},setDurationProgress:function(){var e=this;this.progressBar&&(this.$buefy.globalNoticeInterval=setInterval((function(){0!==e.remainingTime?e.remainingTime-=1:e.resetDurationProgress()}),1e3))},resetDurationProgress:function(){var e=this;setTimeout((function(){e.remainingTime=e.duration/1e3,clearInterval(e.$buefy.globalNoticeInterval)}),100)}},mounted:function(){this.setAutoClose()}},ol={name:"BMessage",mixins:[rl],props:{ariaCloseLabel:String}};const sl=ol;var ll=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("transition",{attrs:{name:"fade"}},[n("article",{directives:[{name:"show",rawName:"v-show",value:e.isActive,expression:"isActive"}],staticClass:"message",class:[e.type,e.size]},[e.$slots.header||e.title?n("header",{staticClass:"message-header"},[e.$slots.header?n("div",[e._t("header")],2):e.title?n("p",[e._v(e._s(e.title))]):e._e(),e.closable?n("button",{staticClass:"delete",attrs:{type:"button","aria-label":e.ariaCloseLabel},on:{click:e.close}}):e._e()]):e._e(),e.$slots.default?n("section",{staticClass:"message-body"},[n("div",{staticClass:"media"},[e.computedIcon&&e.hasIcon?n("div",{staticClass:"media-left"},[n("b-icon",{class:e.type,attrs:{icon:e.computedIcon,pack:e.iconPack,both:"",size:e.newIconSize}})],1):e._e(),n("div",{staticClass:"media-content"},[e._t("default")],2)])]):e._e(),e.autoClose&&e.progressBar?n("b-progress",{attrs:{value:e.remainingTime-1,max:e.duration/1e3-1,type:e.type,rounded:!1}}):e._e()],1)])},cl=[];const ul=void 0,dl=void 0,hl=void 0,fl=!1;var pl=se({render:ll,staticRenderFns:cl},ul,sl,dl,fl,hl,void 0,void 0),vl={install:function(e){ce(e,pl)}};le(vl);var ml,gl=vl,yl={open:function(e){var t;"string"===typeof e&&(e={content:e});var n,i={programmatic:!0};e.parent&&(t=e.parent,delete e.parent),Array.isArray(e.content)&&(n=e.content,delete e.content);var a=V(i,e),r="undefined"!==typeof window&&window.Vue?window.Vue:ml||ee,o=r.extend(Wo),s=new o({parent:t,el:document.createElement("div"),propsData:a});return n&&(s.$slots.default=n,s.$forceUpdate()),s}},bl={install:function(e){ml=e,ce(e,Wo),ue(e,"modal",yl)}};le(bl);var wl=bl,kl={props:{type:{type:String,default:"is-dark"},message:[String,Array],duration:Number,queue:{type:Boolean,default:void 0},indefinite:{type:Boolean,default:!1},pauseOnHover:{type:Boolean,default:!1},position:{type:String,default:"is-top",validator:function(e){return["is-top-right","is-top","is-top-left","is-bottom-right","is-bottom","is-bottom-left"].indexOf(e)>-1}},container:String},data:function(){return{isActive:!1,isPaused:!1,parentTop:null,parentBottom:null,newContainer:this.container||ie.defaultContainerElement}},computed:{correctParent:function(){switch(this.position){case"is-top-right":case"is-top":case"is-top-left":return this.parentTop;case"is-bottom-right":case"is-bottom":case"is-bottom-left":return this.parentBottom}},transition:function(){switch(this.position){case"is-top-right":case"is-top":case"is-top-left":return{enter:"fadeInDown",leave:"fadeOut"};case"is-bottom-right":case"is-bottom":case"is-bottom-left":return{enter:"fadeInUp",leave:"fadeOut"}}}},methods:{pause:function(){this.pauseOnHover&&!this.indefinite&&(this.isPaused=!0,clearInterval(this.$buefy.globalNoticeInterval))},removePause:function(){this.pauseOnHover&&!this.indefinite&&(this.isPaused=!1,this.close())},shouldQueue:function(){var e=void 0!==this.queue?this.queue:ie.defaultNoticeQueue;return!!e&&(this.parentTop.childElementCount>0||this.parentBottom.childElementCount>0)},click:function(){this.$emit("click")},close:function(){var e=this;this.isPaused||(clearTimeout(this.timer),this.isActive=!1,this.$emit("close"),setTimeout((function(){e.$destroy(),j(e.$el)}),150))},timeoutCallback:function(){return this.close()},showNotice:function(){var e=this;this.shouldQueue()&&(this.correctParent.innerHTML=""),this.correctParent.insertAdjacentElement("afterbegin",this.$el),this.isActive=!0,this.indefinite||(this.timer=setTimeout((function(){return e.timeoutCallback()}),this.newDuration))},setupContainer:function(){if(this.parentTop=document.querySelector((this.newContainer?this.newContainer:"body")+">.notices.is-top"),this.parentBottom=document.querySelector((this.newContainer?this.newContainer:"body")+">.notices.is-bottom"),!this.parentTop||!this.parentBottom){this.parentTop||(this.parentTop=document.createElement("div"),this.parentTop.className="notices is-top"),this.parentBottom||(this.parentBottom=document.createElement("div"),this.parentBottom.className="notices is-bottom");var e=document.querySelector(this.newContainer)||document.body;e.appendChild(this.parentTop),e.appendChild(this.parentBottom),this.newContainer&&(this.parentTop.classList.add("has-custom-container"),this.parentBottom.classList.add("has-custom-container"))}}},beforeMount:function(){this.setupContainer()},mounted:function(){this.showNotice()}},Cl={name:"BNotification",mixins:[rl],props:{position:String,ariaCloseLabel:String,animation:{type:String,default:"fade"}}};const Sl=Cl;var _l=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("transition",{attrs:{name:e.animation}},[n("article",{directives:[{name:"show",rawName:"v-show",value:e.isActive,expression:"isActive"}],staticClass:"notification",class:[e.type,e.position],on:{click:e.click}},[e.closable?n("button",{staticClass:"delete",attrs:{type:"button","aria-label":e.ariaCloseLabel},on:{click:e.close}}):e._e(),e.$slots.default||e.message?n("div",{staticClass:"media"},[e.computedIcon&&e.hasIcon?n("div",{staticClass:"media-left"},[n("b-icon",{attrs:{icon:e.computedIcon,pack:e.iconPack,size:e.newIconSize,both:"","aria-hidden":""}})],1):e._e(),n("div",{staticClass:"media-content"},[e.$slots.default?[e._t("default")]:[n("p",{staticClass:"text",domProps:{innerHTML:e._s(e.message)}})]],2)]):e._e(),e.progressBar?n("b-progress",{attrs:{value:e.remainingTime-1,max:e.duration/1e3-1,type:e.type,rounded:!1}}):e._e()],1)])},xl=[];const Dl=void 0,$l=void 0,Al=void 0,Pl=!1;var Ol=se({render:_l,staticRenderFns:xl},Dl,Sl,$l,Pl,Al,void 0,void 0),Ml={name:"BNotificationNotice",mixins:[kl],data:function(){return{newDuration:this.duration||ie.defaultNotificationDuration}},methods:{close:function(){var e=this;this.isPaused||(clearTimeout(this.timer),this.$refs.notification.isActive=!1,this.$emit("close"),setTimeout((function(){e.$destroy(),j(e.$el)}),150))}}};const Tl=Ml;var Bl=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("b-notification",e._b({ref:"notification",on:{click:e.click,close:e.close},nativeOn:{mouseenter:function(t){return e.pause(t)},mouseleave:function(t){return e.removePause(t)}}},"b-notification",e.$options.propsData,!1),[e._t("default")],2)},El=[];const Fl=void 0,Il=void 0,Nl=void 0,Rl=!1;var Ll,Vl=se({render:Bl,staticRenderFns:El},Fl,Tl,Il,Rl,Nl,void 0,void 0),Hl={open:function(e){var t;"string"===typeof e&&(e={message:e});var n,i={position:ie.defaultNotificationPosition||"is-top-right"};e.parent&&(t=e.parent,delete e.parent),Array.isArray(e.message)&&(n=e.message,delete e.message),e.active=!1;var a=V(i,e),r="undefined"!==typeof window&&window.Vue?window.Vue:Ll||ee,o=r.extend(Vl),s=new o({parent:t,el:document.createElement("div"),propsData:a});return n&&(s.$slots.default=n,s.$forceUpdate()),s.$children[0].isActive=!0,s}},jl={install:function(e){Ll=e,ce(e,Ol),ue(e,"notification",Hl)}};le(jl);var zl=jl,Ul={name:"NavbarBurger",props:{isOpened:{type:Boolean,default:!1}}};const Wl=Ul;var ql=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("a",e._g({staticClass:"navbar-burger burger",class:{"is-active":e.isOpened},attrs:{role:"button","aria-label":"menu","aria-expanded":e.isOpened,tabindex:"0"}},e.$listeners),[n("span",{attrs:{"aria-hidden":"true"}}),n("span",{attrs:{"aria-hidden":"true"}}),n("span",{attrs:{"aria-hidden":"true"}})])},Yl=[];const Kl=void 0,Xl=void 0,Gl=void 0,Jl=!1;var Ql=se({render:ql,staticRenderFns:Yl},Kl,Wl,Xl,Jl,Gl,void 0,void 0),Zl="undefined"!==typeof window&&("ontouchstart"in window||navigator.msMaxTouchPoints>0),ec=Zl?["touchstart","click"]:["click"],tc=[];function nc(e){var t="function"===typeof e;if(!t&&"object"!==i(e))throw new Error("v-click-outside: Binding value should be a function or an object, ".concat(i(e)," given"));return{handler:t?e:e.handler,middleware:e.middleware||function(e){return e},events:e.events||ec}}function ic(e){var t=e.el,n=e.event,i=e.handler,a=e.middleware,r=n.target!==t&&!t.contains(n.target);r&&a(n,t)&&i(n,t)}function ac(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.eventHandlers,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"add";t.forEach((function(e){var t=e.event,i=e.handler;document["".concat(n,"EventListener")](t,i)}))}function rc(e,t){var n=t.value,i=nc(n),a=i.handler,r=i.middleware,o=i.events,s={el:e,eventHandlers:o.map((function(t){return{event:t,handler:function(t){return ic({event:t,el:e,handler:a,middleware:r})}}}))};ac(s,"add"),tc.push(s)}function oc(e,t){var n=t.value,i=nc(n),a=i.handler,r=i.middleware,o=i.events,s=tc.filter((function(t){return t.el===e}))[0];ac(s,"remove"),s.eventHandlers=o.map((function(t){return{event:t,handler:function(t){return ic({event:t,el:e,handler:a,middleware:r})}}})),ac(s,"add")}function sc(e){var t=tc.filter((function(t){return t.el===e}))[0];ac(t,"remove")}var lc={bind:rc,update:oc,unbind:sc,instances:tc},cc="is-fixed-top",uc="has-navbar-fixed-top",dc="has-spaced-navbar-fixed-top",hc="is-fixed-bottom",fc="has-navbar-fixed-bottom",pc="has-spaced-navbar-fixed-bottom",vc="has-navbar-centered",mc=function(e){return!!e},gc={name:"BNavbar",components:{NavbarBurger:Ql},directives:{clickOutside:lc},model:{prop:"active",event:"update:active"},props:{type:[String,Object],transparent:{type:Boolean,default:!1},fixedTop:{type:Boolean,default:!1},fixedBottom:{type:Boolean,default:!1},active:{type:Boolean,default:!1},centered:{type:Boolean,default:!1},wrapperClass:{type:[String,Array,Object]},closeOnClick:{type:Boolean,default:!0},mobileBurger:{type:Boolean,default:!0},spaced:Boolean,shadow:Boolean},data:function(){return{internalIsActive:this.active,_isNavBar:!0}},computed:{isOpened:function(){return this.internalIsActive},computedClasses:function(){var e;return[this.type,(e={},s(e,cc,this.fixedTop),s(e,hc,this.fixedBottom),s(e,vc,this.centered),s(e,"is-spaced",this.spaced),s(e,"has-shadow",this.shadow),s(e,"is-transparent",this.transparent),e)]}},watch:{active:{handler:function(e){this.internalIsActive=e},immediate:!0},fixedTop:function(e){this.setBodyFixedTopClass(e)},bottomTop:function(e){this.setBodyFixedBottomClass(e)}},methods:{toggleActive:function(){this.internalIsActive=!this.internalIsActive,this.emitUpdateParentEvent()},closeMenu:function(){this.closeOnClick&&this.internalIsActive&&(this.internalIsActive=!1,this.emitUpdateParentEvent())},emitUpdateParentEvent:function(){this.$emit("update:active",this.internalIsActive)},setBodyClass:function(e){"undefined"!==typeof window&&document.body.classList.add(e)},removeBodyClass:function(e){"undefined"!==typeof window&&document.body.classList.remove(e)},checkIfFixedPropertiesAreColliding:function(){var e=this.fixedTop&&this.fixedBottom;if(e)throw new Error("You should choose if the BNavbar is fixed bottom or fixed top, but not both")},genNavbar:function(e){var t=[this.genNavbarBrandNode(e),this.genNavbarSlotsNode(e)];if(!mc(this.wrapperClass))return this.genNavbarSlots(e,t);var n=e("div",{class:this.wrapperClass},t);return this.genNavbarSlots(e,[n])},genNavbarSlots:function(e,t){return e("nav",{staticClass:"navbar",class:this.computedClasses,attrs:{role:"navigation","aria-label":"main navigation"},directives:[{name:"click-outside",value:this.closeMenu}]},t)},genNavbarBrandNode:function(e){return e("div",{class:"navbar-brand"},[this.$slots.brand,this.genBurgerNode(e)])},genBurgerNode:function(e){var t=this;if(this.mobileBurger){var n=e("navbar-burger",{props:{isOpened:this.isOpened},on:{click:this.toggleActive,keyup:function(e){13===e.keyCode&&t.toggleActive()}}}),i=!!this.$scopedSlots.burger;return i?this.$scopedSlots.burger({isOpened:this.isOpened,toggleActive:this.toggleActive}):n}},genNavbarSlotsNode:function(e){return e("div",{staticClass:"navbar-menu",class:{"is-active":this.isOpened}},[this.genMenuPosition(e,"start"),this.genMenuPosition(e,"end")])},genMenuPosition:function(e,t){return e("div",{staticClass:"navbar-".concat(t)},this.$slots[t])},setBodyFixedTopClass:function(e){this.checkIfFixedPropertiesAreColliding(),e?(this.setBodyClass(uc),this.spaced&&this.setBodyClass(dc)):(this.removeBodyClass(uc),this.removeBodyClass(dc))},setBodyFixedBottomClass:function(e){this.checkIfFixedPropertiesAreColliding(),e?(this.setBodyClass(fc),this.spaced&&this.setBodyClass(pc)):(this.removeBodyClass(fc),this.removeBodyClass(pc))}},beforeMount:function(){this.fixedTop&&this.setBodyFixedTopClass(!0),this.fixedBottom&&this.setBodyFixedBottomClass(!0)},beforeDestroy:function(){if(this.fixedTop){var e=this.spaced?dc:uc;this.removeBodyClass(e)}else if(this.fixedBottom){var t=this.spaced?pc:fc;this.removeBodyClass(t)}},render:function(e,t){return this.genNavbar(e)}};const yc=gc,bc=void 0,wc=void 0,kc=void 0,Cc=void 0;var Sc=se({},bc,yc,wc,Cc,kc,void 0,void 0),_c=["div","span","input"],xc={name:"BNavbarItem",inheritAttrs:!1,props:{tag:{type:String,default:"a"},active:Boolean},methods:{keyPress:function(e){var t=e.key;"Escape"!==t&&"Esc"!==t||this.closeMenuRecursive(this,["NavBar"])},handleClickEvent:function(e){var t=_c.some((function(t){return t===e.target.localName}));if(!t){var n=this.closeMenuRecursive(this,["NavbarDropdown","NavBar"]);n&&n.$data._isNavbarDropdown&&this.closeMenuRecursive(n,["NavBar"])}},closeMenuRecursive:function(e,t){if(!e.$parent)return null;var n=t.reduce((function(t,n){return e.$parent.$data["_is".concat(n)]?(e.$parent.closeMenu(),e.$parent):t}),null);return n||this.closeMenuRecursive(e.$parent,t)}},mounted:function(){"undefined"!==typeof window&&(this.$el.addEventListener("click",this.handleClickEvent),document.addEventListener("keyup",this.keyPress))},beforeDestroy:function(){"undefined"!==typeof window&&(this.$el.removeEventListener("click",this.handleClickEvent),document.removeEventListener("keyup",this.keyPress))}};const Dc=xc;var $c=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n(e.tag,e._g(e._b({tag:"component",staticClass:"navbar-item",class:{"is-active":e.active}},"component",e.$attrs,!1),e.$listeners),[e._t("default")],2)},Ac=[];const Pc=void 0,Oc=void 0,Mc=void 0,Tc=!1;var Bc=se({render:$c,staticRenderFns:Ac},Pc,Dc,Oc,Tc,Mc,void 0,void 0),Ec={name:"BNavbarDropdown",directives:{clickOutside:lc},inheritAttrs:!1,props:{label:String,hoverable:Boolean,active:Boolean,right:Boolean,arrowless:Boolean,boxed:Boolean,closeOnClick:{type:Boolean,default:!0},collapsible:Boolean,tag:{type:String,default:"a"}},data:function(){return{newActive:this.active,isHoverable:this.hoverable,_isNavbarDropdown:!0}},watch:{active:function(e){this.newActive=e},newActive:function(e){this.$emit("active-change",e)}},methods:{toggleMenu:function(){this.newActive=!this.newActive},showMenu:function(){this.newActive=!0},closeMenu:function(){this.newActive=!this.closeOnClick,this.hoverable&&this.closeOnClick&&(this.isHoverable=!1)},checkHoverable:function(){this.hoverable&&(this.isHoverable=!0)}}};const Fc=Ec;var Ic=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{directives:[{name:"click-outside",rawName:"v-click-outside",value:e.closeMenu,expression:"closeMenu"}],staticClass:"navbar-item has-dropdown",class:{"is-hoverable":e.isHoverable,"is-active":e.newActive},on:{mouseenter:e.checkHoverable}},[n(e.tag,e._g(e._b({tag:"component",staticClass:"navbar-link",class:{"is-arrowless":e.arrowless,"is-active":e.newActive&&e.collapsible},attrs:{"aria-haspopup":"true",tabindex:"0"},on:{click:function(t){return t.preventDefault(),e.toggleMenu(t)},keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.toggleMenu(t)}}},"component",e.$attrs,!1),e.$listeners),[e.label?[e._v(e._s(e.label))]:e._t("label")],2),n("div",{directives:[{name:"show",rawName:"v-show",value:!e.collapsible||e.collapsible&&e.newActive,expression:"!collapsible || (collapsible && newActive)"}],staticClass:"navbar-dropdown",class:{"is-right":e.right,"is-boxed":e.boxed}},[e._t("default")],2)],1)},Nc=[];const Rc=void 0,Lc=void 0,Vc=void 0,Hc=!1;var jc=se({render:Ic,staticRenderFns:Nc},Rc,Fc,Lc,Hc,Vc,void 0,void 0),zc={install:function(e){ce(e,Sc),ce(e,Bc),ce(e,jc)}};le(zc);var Uc,Wc=zc,qc={name:"BNumberinput",components:(Uc={},s(Uc,Se.name,Se),s(Uc,Te.name,Te),Uc),mixins:[de],inheritAttrs:!1,props:{value:Number,min:{type:[Number,String]},max:[Number,String],step:[Number,String],minStep:[Number,String],exponential:[Boolean,Number],disabled:Boolean,type:{type:String,default:"is-primary"},editable:{type:Boolean,default:!0},controls:{type:Boolean,default:!0},controlsAlignment:{type:String,default:"center",validator:function(e){return["left","right","center"].indexOf(e)>=0}},controlsRounded:{type:Boolean,default:!1},controlsPosition:String,placeholder:[Number,String],ariaMinusLabel:String,ariaPlusLabel:String,longPress:{type:Boolean,default:!0}},data:function(){return{newValue:this.value,newStep:this.step||1,newMinStep:this.minStep,timesPressed:1,_elementRef:"input"}},computed:{computedValue:{get:function(){return this.newValue},set:function(e){var t=this,n=0===Number(e)?0:Number(e)||null;""!==e&&void 0!==e&&null!==e||(n=void 0!==this.minNumber?this.minNumber:null),this.newValue=n,null===n?this.$emit("input",n):isNaN(n)||"-0"===n||this.$emit("input",Number(n)),this.$nextTick((function(){t.$refs.input&&t.$refs.input.checkHtml5Validity()}))}},controlsLeft:function(){return this.controls&&"right"!==this.controlsAlignment?"left"===this.controlsAlignment?["minus","plus"]:["minus"]:[]},controlsRight:function(){return this.controls&&"left"!==this.controlsAlignment?"right"===this.controlsAlignment?["minus","plus"]:["plus"]:[]},fieldClasses:function(){return[{"has-addons":"compact"===this.controlsPosition},{"is-grouped":"compact"!==this.controlsPosition},{"is-expanded":this.expanded}]},buttonClasses:function(){return[this.type,this.size,{"is-rounded":this.controlsRounded}]},minNumber:function(){return"string"===typeof this.min?parseFloat(this.min):this.min},maxNumber:function(){return"string"===typeof this.max?parseFloat(this.max):this.max},stepNumber:function(){return"any"===this.newStep?1:"string"===typeof this.newStep?parseFloat(this.newStep):this.newStep},minStepNumber:function(){if("any"===this.newStep&&"undefined"===typeof this.newMinStep)return"any";var e="undefined"!==typeof this.newMinStep?this.newMinStep:this.newStep;return"string"===typeof e?parseFloat(e):e},disabledMin:function(){return this.computedValue-this.stepNumberthis.maxNumber},stepDecimals:function(){var e=this.minStepNumber.toString(),t=e.indexOf(".");return t>=0?e.substring(t+1).length:0}},watch:{value:{immediate:!0,handler:function(e){this.newValue=e}},step:function(e){this.newStep=e},minStep:function(e){this.newMinStep=e}},methods:{isDisabled:function(e){return this.disabled||("plus"===e?this.disabledMax:this.disabledMin)},decrement:function(){if(null===this.computedValue||"undefined"===typeof this.computedValue){if(null!==this.maxNumber&&"undefined"!==typeof this.maxNumber)return void(this.computedValue=this.maxNumber);this.computedValue=0}if("undefined"===typeof this.minNumber||this.computedValue-this.stepNumber>=this.minNumber){var e=this.computedValue-this.stepNumber;this.computedValue=parseFloat(e.toFixed(this.stepDecimals))}},increment:function(){if(null===this.computedValue||"undefined"===typeof this.computedValue){if(null!==this.minNumber&&"undefined"!==typeof this.minNumber)return void(this.computedValue=this.minNumber);this.computedValue=0}if("undefined"===typeof this.maxNumber||this.computedValue+this.stepNumber<=this.maxNumber){var e=this.computedValue+this.stepNumber;this.computedValue=parseFloat(e.toFixed(this.stepDecimals))}},onControlClick:function(e,t){0===e.detail&&"click"===e.type&&(t?this.increment():this.decrement())},longPressTick:function(e){var t=this;e?this.increment():this.decrement(),this._$intervalRef=setTimeout((function(){t.longPressTick(e)}),this.exponential?250/(this.exponential*this.timesPressed++):250)},onStartLongPress:function(e,t){this.longPress&&(0!==e.button&&"touchstart"!==e.type||(clearTimeout(this._$intervalRef),this.longPressTick(t)))},onStopLongPress:function(){this._$intervalRef&&(this.timesPressed=1,clearTimeout(this._$intervalRef),this._$intervalRef=null)}}};const Yc=qc;var Kc=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"b-numberinput field",class:e.fieldClasses},[e._l(e.controlsLeft,(function(t){return n("p",{key:t,class:["control",t],on:{mouseup:e.onStopLongPress,mouseleave:e.onStopLongPress,touchend:e.onStopLongPress,touchcancel:e.onStopLongPress}},[n("button",{staticClass:"button",class:e.buttonClasses,attrs:{type:"button",disabled:e.isDisabled(t),"aria-label":"plus"===t?e.ariaPlusLabel:e.ariaMinusLabel},on:{mousedown:function(n){!e.isDisabled(t)&&e.onStartLongPress(n,"plus"===t)},touchstart:function(n){n.preventDefault(),!e.isDisabled(t)&&e.onStartLongPress(n,"plus"===t)},click:function(n){!e.isDisabled(t)&&e.onControlClick(n,"plus"===t)}}},[n("b-icon",{attrs:{both:"",icon:t,pack:e.iconPack,size:e.iconSize}})],1)])})),n("b-input",e._b({ref:"input",attrs:{type:"number",step:e.minStepNumber,max:e.max,min:e.min,size:e.size,disabled:e.disabled,readonly:!e.editable,loading:e.loading,rounded:e.rounded,icon:e.icon,"icon-pack":e.iconPack,autocomplete:e.autocomplete,expanded:e.expanded,placeholder:e.placeholder,"use-html5-validation":e.useHtml5Validation},on:{focus:function(t){return e.$emit("focus",t)},blur:function(t){return e.$emit("blur",t)}},model:{value:e.computedValue,callback:function(t){e.computedValue=t},expression:"computedValue"}},"b-input",e.$attrs,!1)),e._l(e.controlsRight,(function(t){return n("p",{key:t,class:["control",t],on:{mouseup:e.onStopLongPress,mouseleave:e.onStopLongPress,touchend:e.onStopLongPress,touchcancel:e.onStopLongPress}},[n("button",{staticClass:"button",class:e.buttonClasses,attrs:{type:"button",disabled:e.isDisabled(t),"aria-label":"plus"===t?e.ariaPlusLabel:e.ariaMinusLabel},on:{mousedown:function(n){!e.isDisabled(t)&&e.onStartLongPress(n,"plus"===t)},touchstart:function(n){n.preventDefault(),!e.isDisabled(t)&&e.onStartLongPress(n,"plus"===t)},click:function(n){!e.isDisabled(t)&&e.onControlClick(n,"plus"===t)}}},[n("b-icon",{attrs:{both:"",icon:t,pack:e.iconPack,size:e.iconSize}})],1)])}))],2)},Xc=[];const Gc=void 0,Jc=void 0,Qc=void 0,Zc=!1;var eu=se({render:Kc,staticRenderFns:Xc},Gc,Yc,Jc,Zc,Qc,void 0,void 0),tu={install:function(e){ce(e,eu)}};le(tu);var nu=tu,iu={name:"BPaginationButton",props:{page:{type:Object,required:!0},tag:{type:String,default:"a",validator:function(e){return ie.defaultLinkTags.indexOf(e)>=0}},disabled:{type:Boolean,default:!1}},computed:{href:function(){if("a"===this.tag)return"#"},isDisabled:function(){return this.disabled||this.page.disabled}}};const au=iu;var ru=function(){var e,t=this,n=t.$createElement,i=t._self._c||n;return i(t.tag,t._b({tag:"component",staticClass:"pagination-link",class:(e={"is-current":t.page.isCurrent},e[t.page.class]=!0,e),attrs:{role:"button",href:t.href,disabled:t.isDisabled,"aria-label":t.page["aria-label"],"aria-current":t.page.isCurrent},on:{click:function(e){return e.preventDefault(),t.page.click(e)}}},"component",t.$attrs,!1),[t._t("default",[t._v(t._s(t.page.number))])],2)},ou=[];const su=void 0,lu=void 0,cu=void 0,uu=!1;var du,hu=se({render:ru,staticRenderFns:ou},su,au,lu,uu,cu,void 0,void 0);function fu(e,t,n){var i;return function(){var a=this,r=arguments,o=function(){i=null,n||e.apply(a,r)},s=n&&!i;clearTimeout(i),i=setTimeout(o,t),s&&e.apply(a,r)}}var pu={name:"BPagination",components:(du={},s(du,Se.name,Se),s(du,hu.name,hu),du),model:{prop:"current",event:"update:current"},props:{total:[Number,String],perPage:{type:[Number,String],default:20},current:{type:[Number,String],default:1},rangeBefore:{type:[Number,String],default:1},rangeAfter:{type:[Number,String],default:1},size:String,simple:Boolean,rounded:Boolean,order:String,iconPack:String,iconPrev:{type:String,default:function(){return ie.defaultIconPrev}},iconNext:{type:String,default:function(){return ie.defaultIconNext}},ariaNextLabel:String,ariaPreviousLabel:String,ariaPageLabel:String,ariaCurrentLabel:String,pageInput:{type:Boolean,default:!1},pageInputPosition:String,debouncePageInput:[Number,String]},data:function(){return{inputValue:this.current}},computed:{rootClasses:function(){return[this.order,this.size,this.pageInputPosition,{"is-simple":this.simple,"is-rounded":this.rounded,"has-input":this.pageInput}]},beforeCurrent:function(){return parseInt(this.rangeBefore)},afterCurrent:function(){return parseInt(this.rangeAfter)},pageCount:function(){return Math.ceil(this.total/this.perPage)},firstItem:function(){var e=this.current*this.perPage-this.perPage+1;return e>=0?e:0},hasPrev:function(){return this.current>1},hasFirst:function(){return this.current>=2+this.beforeCurrent},hasFirstEllipsis:function(){return this.current>=this.beforeCurrent+4},hasLast:function(){return this.current<=this.pageCount-(1+this.afterCurrent)},hasLastEllipsis:function(){return this.currente&&this.last()},current:function(e){this.inputValue=e},debouncePageInput:{handler:function(e){this.debounceHandlePageInput=fu(this.handleOnInputPageChange,e)},immediate:!0}},methods:{prev:function(e){this.changePage(this.current-1,e)},next:function(e){this.changePage(this.current+1,e)},first:function(e){this.changePage(1,e)},last:function(e){this.changePage(this.pageCount,e)},changePage:function(e,t){this.current===e||e<1||e>this.pageCount||(this.$emit("update:current",e),this.$emit("change",e),t&&t.target&&this.$nextTick((function(){return t.target.focus()})))},getPage:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return{number:e,isCurrent:this.current===e,click:function(n){return t.changePage(e,n)},input:function(e,n){return t.changePage(+n,e)},disabled:n.disabled||!1,class:n.class||"","aria-label":n["aria-label"]||this.getAriaPageLabel(e,this.current===e)}},getAriaPageLabel:function(e,t){return!this.ariaPageLabel||t&&this.ariaCurrentLabel?this.ariaPageLabel&&t&&this.ariaCurrentLabel?this.ariaCurrentLabel+", "+this.ariaPageLabel+" "+e+".":null:this.ariaPageLabel+" "+e+"."},handleOnInputPageChange:function(e){this.getPage(this.inputValue).input(e,this.inputValue)},handleOnInputDebounce:function(e){this.debouncePageInput?this.debounceHandlePageInput(e):this.handleOnInputPageChange(e)},handleOnKeyPress:function(e){var t=e.which||e.keyCode;return t>=48&&t<=57||e.preventDefault()},handleAllowableInputPageRange:function(e){+e.target.value>0&&+e.target.value<=this.pageCount?this.handleOnInputValue(e):(this.inputValue=1,this.inputValue="")},handleOnInputValue:function(e){var t=+e.target.value;this.inputValue=t,Number.isInteger(this.inputValue)?this.handleOnInputDebounce(e):this.inputValue=this.current}}};const vu=pu;var mu=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("nav",{staticClass:"pagination",class:e.rootClasses},[e.$scopedSlots.previous?e._t("previous",[n("b-icon",{attrs:{icon:e.iconPrev,pack:e.iconPack,both:"","aria-hidden":"true"}})],{page:e.getPage(e.current-1,{disabled:!e.hasPrev,class:"pagination-previous","aria-label":e.ariaPreviousLabel})}):n("BPaginationButton",{staticClass:"pagination-previous",attrs:{disabled:!e.hasPrev,page:e.getPage(e.current-1),"aria-label":e.ariaPreviousLabel}},[n("b-icon",{attrs:{icon:e.iconPrev,pack:e.iconPack,both:"","aria-hidden":"true"}})],1),e.$scopedSlots.next?e._t("next",[n("b-icon",{attrs:{icon:e.iconNext,pack:e.iconPack,both:"","aria-hidden":"true"}})],{page:e.getPage(e.current+1,{disabled:!e.hasNext,class:"pagination-next","aria-label":e.ariaNextLabel})}):n("BPaginationButton",{staticClass:"pagination-next",attrs:{disabled:!e.hasNext,page:e.getPage(e.current+1),"aria-label":e.ariaNextLabel}},[n("b-icon",{attrs:{icon:e.iconNext,pack:e.iconPack,both:"","aria-hidden":"true"}})],1),n("div",{staticClass:"control pagination-input"},[e.pageInput?n("input",{staticClass:"input",attrs:{size:e.pageCount.toString().length,maxlength:e.pageCount.toString().length},domProps:{value:e.inputValue},on:{input:e.handleAllowableInputPageRange,keypress:e.handleOnKeyPress}}):e._e()]),e.simple?n("small",{staticClass:"info"},[1==e.perPage?[e._v(" "+e._s(e.firstItem)+" / "+e._s(e.total)+" ")]:[e._v(" "+e._s(e.firstItem)+"-"+e._s(Math.min(e.current*e.perPage,e.total))+" / "+e._s(e.total)+" ")]],2):n("ul",{staticClass:"pagination-list"},[e.hasFirst?n("li",[e.$scopedSlots.default?e._t("default",null,{page:e.getPage(1)}):n("BPaginationButton",{attrs:{page:e.getPage(1)}})],2):e._e(),e.hasFirstEllipsis?n("li",[n("span",{staticClass:"pagination-ellipsis"},[e._v("…")])]):e._e(),e._l(e.pagesInRange,(function(t){return n("li",{key:t.number},[e.$scopedSlots.default?e._t("default",null,{page:t}):n("BPaginationButton",{attrs:{page:t}})],2)})),e.hasLastEllipsis?n("li",[n("span",{staticClass:"pagination-ellipsis"},[e._v("…")])]):e._e(),e.hasLast?n("li",[e.$scopedSlots.default?e._t("default",null,{page:e.getPage(e.pageCount)}):n("BPaginationButton",{attrs:{page:e.getPage(e.pageCount)}})],2):e._e()],2)],2)},gu=[];const yu=void 0,bu=void 0,wu=void 0,ku=!1;var Cu=se({render:mu,staticRenderFns:gu},yu,vu,bu,ku,wu,void 0,void 0),Su={install:function(e){ce(e,Cu),ce(e,hu)}};le(Su);var _u=Su,xu={name:"BProgress",mixins:[_t("progress")],props:{type:{type:[String,Object],default:"is-darkgrey"},size:String,rounded:{type:Boolean,default:!0},value:{type:Number,default:void 0},max:{type:Number,default:100},showValue:{type:Boolean,default:!1},format:{type:String,default:"raw",validator:function(e){return["raw","percent"].indexOf(e)>=0}},precision:{type:Number,default:2},keepTrailingZeroes:{type:Boolean,default:!1},locale:{type:[String,Array],default:function(){return ie.defaultLocale}}},computed:{isIndeterminate:function(){return void 0===this.value||null===this.value},newType:function(){return[this.size,this.type,{"is-more-than-half":this.value&&this.value>this.max/2}]},newValue:function(){return this.calculateValue(this.value)},isNative:function(){return void 0===this.$slots.bar},wrapperClasses:function(){return s({"is-not-native":!this.isNative},this.size,"string"===typeof this.size&&!this.isNative)}},watch:{isIndeterminate:function(e){var t=this;this.$nextTick((function(){t.$refs.progress&&(e?t.$refs.progress.removeAttribute("value"):t.$refs.progress.setAttribute("value",t.value))}))}},methods:{calculateValue:function(e){if(void 0!==e&&null!==e&&!isNaN(e)){var t=this.keepTrailingZeroes?this.precision:0,n=this.precision;return"percent"===this.format?new Intl.NumberFormat(this.locale,{style:"percent",minimumFractionDigits:t,maximumFractionDigits:n}).format(e/this.max):new Intl.NumberFormat(this.locale,{minimumFractionDigits:t,maximumFractionDigits:n}).format(e)}}}};const Du=xu;var $u=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"progress-wrapper",class:[e.wrapperClasses,{"is-squared":!e.rounded}]},[e.isNative?n("progress",{ref:"progress",staticClass:"progress",class:[e.newType,{"is-squared":!e.rounded}],attrs:{max:e.max},domProps:{value:e.value}},[e._v(e._s(e.newValue))]):e._t("bar"),e.isNative&&e.showValue?n("p",{staticClass:"progress-value"},[e._t("default",[e._v(e._s(e.newValue))])],2):e._e()],2)},Au=[];const Pu=void 0,Ou=void 0,Mu=void 0,Tu=!1;var Bu=se({render:$u,staticRenderFns:Au},Pu,Du,Ou,Tu,Mu,void 0,void 0),Eu={name:"BProgressBar",mixins:[At("progress")],props:{type:{type:[String,Object],default:void 0},value:{type:Number,default:void 0},showValue:{type:Boolean,default:!1}},computed:{newType:function(){return[this.parent.size,this.type||this.parent.type]},newShowValue:function(){return this.showValue||this.parent.showValue},newValue:function(){return this.parent.calculateValue(this.value)},barWidth:function(){return"".concat(100*this.value/this.parent.max,"%")}}};const Fu=Eu;var Iu=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"progress-bar",class:e.newType,style:{width:e.barWidth},attrs:{role:"progressbar","aria-valuenow":e.value,"aria-valuemax":e.parent.max,"aria-valuemin":"0"}},[e.newShowValue?n("p",{staticClass:"progress-value"},[e._t("default",[e._v(e._s(e.newValue))])],2):e._e()])},Nu=[];const Ru=void 0,Lu=void 0,Vu=void 0,Hu=!1;var ju=se({render:Iu,staticRenderFns:Nu},Ru,Fu,Lu,Hu,Vu,void 0,void 0),zu={install:function(e){ce(e,Bu),ce(e,ju)}};le(zu);var Uu=zu,Wu={name:"BRadio",mixins:[vn]};const qu=Wu;var Yu=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("label",{ref:"label",staticClass:"b-radio radio",class:[e.size,{"is-disabled":e.disabled}],attrs:{disabled:e.disabled},on:{click:e.focus,keydown:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:(t.preventDefault(),e.$refs.label.click())}}},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.computedValue,expression:"computedValue"}],ref:"input",attrs:{type:"radio",disabled:e.disabled,required:e.required,name:e.name},domProps:{value:e.nativeValue,checked:e._q(e.computedValue,e.nativeValue)},on:{click:function(e){e.stopPropagation()},change:function(t){e.computedValue=e.nativeValue}}}),n("span",{staticClass:"check",class:e.type}),n("span",{staticClass:"control-label"},[e._t("default")],2)])},Ku=[];const Xu=void 0,Gu=void 0,Ju=void 0,Qu=!1;var Zu=se({render:Yu,staticRenderFns:Ku},Xu,qu,Gu,Qu,Ju,void 0,void 0),ed={name:"BRadioButton",mixins:[vn],props:{type:{type:String,default:"is-primary"},expanded:Boolean},data:function(){return{isFocused:!1}},computed:{isSelected:function(){return this.newValue===this.nativeValue},labelClass:function(){return[this.isSelected?this.type:null,this.size,{"is-selected":this.isSelected,"is-disabled":this.disabled,"is-focused":this.isFocused}]}}};const td=ed;var nd=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"control",class:{"is-expanded":e.expanded}},[n("label",{ref:"label",staticClass:"b-radio radio button",class:e.labelClass,attrs:{disabled:e.disabled},on:{click:e.focus,keydown:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:(t.preventDefault(),e.$refs.label.click())}}},[e._t("default"),n("input",{directives:[{name:"model",rawName:"v-model",value:e.computedValue,expression:"computedValue"}],ref:"input",attrs:{type:"radio",disabled:e.disabled,required:e.required,name:e.name},domProps:{value:e.nativeValue,checked:e._q(e.computedValue,e.nativeValue)},on:{click:function(e){e.stopPropagation()},focus:function(t){e.isFocused=!0},blur:function(t){e.isFocused=!1},change:function(t){e.computedValue=e.nativeValue}}})],2)])},id=[];const ad=void 0,rd=void 0,od=void 0,sd=!1;var ld=se({render:nd,staticRenderFns:id},ad,td,rd,sd,od,void 0,void 0),cd={install:function(e){ce(e,Zu),ce(e,ld)}};le(cd);var ud=cd,dd={name:"BRate",components:s({},Se.name,Se),props:{value:{type:Number,default:0},max:{type:Number,default:5},icon:{type:String,default:"star"},iconPack:String,size:String,spaced:Boolean,rtl:Boolean,disabled:Boolean,showScore:Boolean,showText:Boolean,customText:String,texts:Array,locale:{type:[String,Array],default:function(){return ie.defaultLocale}}},data:function(){return{newValue:this.value,hoverValue:0}},computed:{halfStyle:function(){return"width:".concat(this.valueDecimal,"%")},showMe:function(){var e="";return this.showScore?(e=this.disabled?this.value:this.newValue,e=0===e?"":new Intl.NumberFormat(this.locale).format(this.value)):this.showText&&(e=this.texts[Math.ceil(this.newValue)-1]),e},valueDecimal:function(){return 100*this.value-100*Math.floor(this.value)}},watch:{value:function(e){this.newValue=e}},methods:{resetNewValue:function(){this.disabled||(this.hoverValue=0)},previewRate:function(e,t){this.disabled||(this.hoverValue=e,t.stopPropagation())},confirmValue:function(e){this.disabled||(this.newValue=e,this.$emit("change",this.newValue),this.$emit("input",this.newValue))},checkHalf:function(e){var t=this.disabled&&this.valueDecimal>0&&e-1this.value;return t},rateClass:function(e){var t="",n=0!==this.hoverValue?this.hoverValue:this.newValue;return e<=n?t="set-on":this.disabled&&Math.ceil(this.value)===e&&(t="set-half"),t}}};const hd=dd;var fd=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"rate",class:{"is-disabled":e.disabled,"is-spaced":e.spaced,"is-rtl":e.rtl}},[e._l(e.max,(function(t,i){return n("div",{key:i,staticClass:"rate-item",class:e.rateClass(t),on:{mousemove:function(n){return e.previewRate(t,n)},mouseleave:e.resetNewValue,click:function(n){return n.preventDefault(),e.confirmValue(t)}}},[n("b-icon",{attrs:{pack:e.iconPack,icon:e.icon,size:e.size}}),e.checkHalf(t)?n("b-icon",{staticClass:"is-half",style:e.halfStyle,attrs:{pack:e.iconPack,icon:e.icon,size:e.size}}):e._e()],1)})),e.showText||e.showScore||e.customText?n("div",{staticClass:"rate-text",class:e.size},[n("span",[e._v(e._s(e.showMe))]),e.customText&&!e.showText?n("span",[e._v(e._s(e.customText))]):e._e()]):e._e()],2)},pd=[];const vd=void 0,md=void 0,gd=void 0,yd=!1;var bd=se({render:fd,staticRenderFns:pd},vd,hd,md,yd,gd,void 0,void 0),wd={install:function(e){ce(e,bd)}};le(wd);var kd=wd,Cd={install:function(e){ce(e,ma)}};le(Cd);var Sd=Cd,_d={name:"BSkeleton",functional:!0,props:{active:{type:Boolean,default:!0},animated:{type:Boolean,default:!0},width:[Number,String],height:[Number,String],circle:Boolean,rounded:{type:Boolean,default:!0},count:{type:Number,default:1},position:{type:String,default:"",validator:function(e){return["","is-centered","is-right"].indexOf(e)>-1}},size:String},render:function(e,t){if(t.props.active){for(var n=[],i=t.props.width,a=t.props.height,r=0;r=0}},fullheight:Boolean,fullwidth:Boolean,right:Boolean,mobile:{type:String},reduce:Boolean,expandOnHover:Boolean,expandOnHoverFixed:Boolean,delay:{type:Number,default:function(){return ie.defaultSidebarDelay}},canCancel:{type:[Array,Boolean],default:function(){return["escape","outside"]}},onCancel:{type:Function,default:function(){}},scroll:{type:String,default:function(){return ie.defaultModalScroll?ie.defaultModalScroll:"clip"},validator:function(e){return["clip","keep"].indexOf(e)>=0}}},data:function(){return{isOpen:this.open,isDelayOver:!1,transitionName:null,animating:!0,savedScrollTop:null,hasLeaved:!1,whiteList:[]}},computed:{rootClasses:function(){return[this.type,{"is-fixed":this.isFixed,"is-static":this.isStatic,"is-absolute":this.isAbsolute,"is-fullheight":this.fullheight,"is-fullwidth":this.fullwidth,"is-right":this.right,"is-mini":this.reduce&&!this.isDelayOver,"is-mini-expand":this.expandOnHover||this.isDelayOver,"is-mini-expand-fixed":this.expandOnHover&&this.expandOnHoverFixed||this.isDelayOver,"is-mini-delayed":null!==this.delay,"is-mini-mobile":"reduce"===this.mobile,"is-hidden-mobile":"hide"===this.mobile,"is-fullwidth-mobile":"fullwidth"===this.mobile}]},cancelOptions:function(){return"boolean"===typeof this.canCancel?this.canCancel?["escape","outside"]:[]:this.canCancel},isStatic:function(){return"static"===this.position},isFixed:function(){return"fixed"===this.position},isAbsolute:function(){return"absolute"===this.position}},watch:{open:{handler:function(e){this.isOpen=e,this.overlay&&this.handleScroll();var t=this.right?!e:e;this.transitionName=t?"slide-next":"slide-prev"},immediate:!0}},methods:{keyPress:function(e){var t=e.key;this.isFixed&&(!this.isOpen||"Escape"!==t&&"Esc"!==t||this.cancel("escape"))},cancel:function(e){this.cancelOptions.indexOf(e)<0||this.isStatic||(this.onCancel.apply(null,arguments),this.close())},close:function(){this.isOpen=!1,this.$emit("close"),this.$emit("update:open",!1)},clickedOutside:function(e){if(this.isFixed&&this.isOpen&&!this.animating){var t=Z(this)?e.composedPath()[0]:e.target;this.whiteList.indexOf(t)<0&&this.cancel("outside")}},beforeEnter:function(){this.animating=!0},afterEnter:function(){this.animating=!1},handleScroll:function(){"undefined"!==typeof window&&("clip"!==this.scroll?(this.savedScrollTop=this.savedScrollTop?this.savedScrollTop:document.documentElement.scrollTop,this.open?document.body.classList.add("is-noscroll"):document.body.classList.remove("is-noscroll"),this.open?document.body.style.top="-".concat(this.savedScrollTop,"px"):(document.documentElement.scrollTop=this.savedScrollTop,document.body.style.top=null,this.savedScrollTop=null)):this.open?document.documentElement.classList.add("is-clipped"):document.documentElement.classList.remove("is-clipped"))},onHover:function(){var e=this;this.delay?(this.hasLeaved=!1,this.timer=setTimeout((function(){e.hasLeaved||(e.isDelayOver=!0),e.timer=null}),this.delay)):this.isDelayOver=!1},onHoverLeave:function(){this.hasLeaved=!0,this.timer=null,this.isDelayOver=!1}},created:function(){"undefined"!==typeof window&&(document.addEventListener("keyup",this.keyPress),document.addEventListener("click",this.clickedOutside))},mounted:function(){"undefined"!==typeof window&&this.isFixed&&document.body.appendChild(this.$el),this.overlay&&this.open&&this.handleScroll()},beforeDestroy:function(){if("undefined"!==typeof window&&(document.removeEventListener("keyup",this.keyPress),document.removeEventListener("click",this.clickedOutside),this.overlay)){document.documentElement.classList.remove("is-clipped");var e=this.savedScrollTop?this.savedScrollTop:document.documentElement.scrollTop;document.body.classList.remove("is-noscroll"),document.documentElement.scrollTop=e,document.body.style.top=null}this.isFixed&&j(this.$el)},beforeUpdate:function(){if(this.whiteList=[],this.whiteList.push(this.$refs.sidebarContent),void 0!==this.$refs.sidebarContent){var e=this.$refs.sidebarContent.querySelectorAll("*"),t=!0,n=!1,i=void 0;try{for(var a,r=e[Symbol.iterator]();!(t=(a=r.next()).done);t=!0){var o=a.value;this.whiteList.push(o)}}catch(s){n=!0,i=s}finally{try{t||null==r.return||r.return()}finally{if(n)throw i}}}}};const Ed=Bd;var Fd=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"b-sidebar"},[e.overlay&&e.isOpen?n("div",{staticClass:"sidebar-background"}):e._e(),n("transition",{attrs:{name:e.transitionName},on:{"before-enter":e.beforeEnter,"after-enter":e.afterEnter}},[n("div",{directives:[{name:"show",rawName:"v-show",value:e.isOpen,expression:"isOpen"}],ref:"sidebarContent",staticClass:"sidebar-content",class:e.rootClasses,on:{mouseenter:e.onHover,mouseleave:e.onHoverLeave}},[e._t("default")],2)])],1)},Id=[];const Nd=void 0,Rd=void 0,Ld=void 0,Vd=!1;var Hd=se({render:Fd,staticRenderFns:Id},Nd,Ed,Rd,Vd,Ld,void 0,void 0),jd={install:function(e){ce(e,Hd)}};le(jd);var zd=jd,Ud={name:"BSliderThumb",components:s({},xa.name,xa),inheritAttrs:!1,props:{value:{type:Number,default:0},type:{type:String,default:""},tooltip:{type:Boolean,default:!0},indicator:{type:Boolean,default:!1},customFormatter:Function,format:{type:String,default:"raw",validator:function(e){return["raw","percent"].indexOf(e)>=0}},locale:{type:[String,Array],default:function(){return ie.defaultLocale}},tooltipAlways:{type:Boolean,default:!1}},data:function(){return{isFocused:!1,dragging:!1,startX:0,startPosition:0,newPosition:null,oldValue:this.value}},computed:{disabled:function(){return this.$parent.disabled},max:function(){return this.$parent.max},min:function(){return this.$parent.min},step:function(){return this.$parent.step},precision:function(){return this.$parent.precision},currentPosition:function(){return"".concat((this.value-this.min)/(this.max-this.min)*100,"%")},wrapperStyle:function(){return{left:this.currentPosition}},formattedValue:function(){return"undefined"!==typeof this.customFormatter?this.customFormatter(this.value):"percent"===this.format?new Intl.NumberFormat(this.locale,{style:"percent"}).format((this.value-this.min)/(this.max-this.min)):new Intl.NumberFormat(this.locale).format(this.value)}},methods:{onFocus:function(){this.isFocused=!0},onBlur:function(){this.isFocused=!1},onButtonDown:function(e){this.disabled||(e.preventDefault(),this.onDragStart(e),"undefined"!==typeof window&&(document.addEventListener("mousemove",this.onDragging),document.addEventListener("touchmove",this.onDragging),document.addEventListener("mouseup",this.onDragEnd),document.addEventListener("touchend",this.onDragEnd),document.addEventListener("contextmenu",this.onDragEnd)))},onLeftKeyDown:function(){this.disabled||this.value===this.min||(this.newPosition=parseFloat(this.currentPosition)-this.step/(this.max-this.min)*100,this.setPosition(this.newPosition),this.$parent.emitValue("change"))},onRightKeyDown:function(){this.disabled||this.value===this.max||(this.newPosition=parseFloat(this.currentPosition)+this.step/(this.max-this.min)*100,this.setPosition(this.newPosition),this.$parent.emitValue("change"))},onHomeKeyDown:function(){this.disabled||this.value===this.min||(this.newPosition=0,this.setPosition(this.newPosition),this.$parent.emitValue("change"))},onEndKeyDown:function(){this.disabled||this.value===this.max||(this.newPosition=100,this.setPosition(this.newPosition),this.$parent.emitValue("change"))},onDragStart:function(e){this.dragging=!0,this.$emit("dragstart"),"touchstart"===e.type&&(e.clientX=e.touches[0].clientX),this.startX=e.clientX,this.startPosition=parseFloat(this.currentPosition),this.newPosition=this.startPosition},onDragging:function(e){if(this.dragging){"touchmove"===e.type&&(e.clientX=e.touches[0].clientX);var t=(e.clientX-this.startX)/this.$parent.sliderSize()*100;this.newPosition=this.startPosition+t,this.setPosition(this.newPosition)}},onDragEnd:function(){this.dragging=!1,this.$emit("dragend"),this.value!==this.oldValue&&this.$parent.emitValue("change"),this.setPosition(this.newPosition),"undefined"!==typeof window&&(document.removeEventListener("mousemove",this.onDragging),document.removeEventListener("touchmove",this.onDragging),document.removeEventListener("mouseup",this.onDragEnd),document.removeEventListener("touchend",this.onDragEnd),document.removeEventListener("contextmenu",this.onDragEnd))},setPosition:function(e){if(null!==e&&!isNaN(e)){e<0?e=0:e>100&&(e=100);var t=100/((this.max-this.min)/this.step),n=Math.round(e/t),i=n*t/100*(this.max-this.min)+this.min;i=parseFloat(i.toFixed(this.precision)),this.$emit("input",i),this.dragging||i===this.oldValue||(this.oldValue=i)}}}};const Wd=Ud;var qd=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"b-slider-thumb-wrapper",class:{"is-dragging":e.dragging,"has-indicator":e.indicator},style:e.wrapperStyle},[n("b-tooltip",{attrs:{label:e.formattedValue,type:e.type,always:e.dragging||e.isFocused||e.tooltipAlways,active:!e.disabled&&e.tooltip}},[n("div",e._b({staticClass:"b-slider-thumb",attrs:{tabindex:!e.disabled&&0},on:{mousedown:e.onButtonDown,touchstart:e.onButtonDown,focus:e.onFocus,blur:e.onBlur,keydown:[function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"left",37,t.key,["Left","ArrowLeft"])||"button"in t&&0!==t.button?null:(t.preventDefault(),e.onLeftKeyDown(t))},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"right",39,t.key,["Right","ArrowRight"])||"button"in t&&2!==t.button?null:(t.preventDefault(),e.onRightKeyDown(t))},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"down",40,t.key,["Down","ArrowDown"])?null:(t.preventDefault(),e.onLeftKeyDown(t))},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"up",38,t.key,["Up","ArrowUp"])?null:(t.preventDefault(),e.onRightKeyDown(t))},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"home",void 0,t.key,void 0)?null:(t.preventDefault(),e.onHomeKeyDown(t))},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"end",void 0,t.key,void 0)?null:(t.preventDefault(),e.onEndKeyDown(t))}]}},"div",e.$attrs,!1),[e.indicator?n("span",[e._v(e._s(e.formattedValue))]):e._e()])])],1)},Yd=[];const Kd=void 0,Xd=void 0,Gd=void 0,Jd=!1;var Qd=se({render:qd,staticRenderFns:Yd},Kd,Wd,Xd,Jd,Gd,void 0,void 0),Zd={name:"BSliderTick",props:{value:{type:Number,default:0}},computed:{position:function(){var e=(this.value-this.$parent.min)/(this.$parent.max-this.$parent.min)*100;return e>=0&&e<=100?e:0},hidden:function(){return this.value===this.$parent.min||this.value===this.$parent.max}},methods:{getTickStyle:function(e){return{left:e+"%"}}},created:function(){if(!this.$parent.$data._isSlider)throw this.$destroy(),new Error("You should wrap bSliderTick on a bSlider")}};const eh=Zd;var th=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"b-slider-tick",class:{"is-tick-hidden":e.hidden},style:e.getTickStyle(e.position)},[e.$slots.default?n("span",{staticClass:"b-slider-tick-label"},[e._t("default")],2):e._e()])},nh=[];const ih=void 0,ah=void 0,rh=void 0,oh=!1;var sh,lh=se({render:th,staticRenderFns:nh},ih,eh,ah,oh,rh,void 0,void 0),ch={name:"BSlider",components:(sh={},s(sh,Qd.name,Qd),s(sh,lh.name,lh),sh),props:{value:{type:[Number,Array],default:0},min:{type:Number,default:0},max:{type:Number,default:100},step:{type:Number,default:1},type:{type:String,default:"is-primary"},size:String,ticks:{type:Boolean,default:!1},tooltip:{type:Boolean,default:!0},tooltipType:String,rounded:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},lazy:{type:Boolean,default:!1},customFormatter:Function,ariaLabel:[String,Array],biggerSliderFocus:{type:Boolean,default:!1},indicator:{type:Boolean,default:!1},format:{type:String,default:"raw",validator:function(e){return["raw","percent"].indexOf(e)>=0}},locale:{type:[String,Array],default:function(){return ie.defaultLocale}},tooltipAlways:{type:Boolean,default:!1}},data:function(){return{value1:null,value2:null,dragging:!1,isRange:!1,_isSlider:!0}},computed:{newTooltipType:function(){return this.tooltipType?this.tooltipType:this.type},tickValues:function(){if(!this.ticks||this.min>this.max||0===this.step)return[];for(var e=[],t=this.min+this.step;tthis.max))if(Array.isArray(e)){this.isRange=!0;var t="number"!==typeof e[0]||isNaN(e[0])?this.min:F(e[0],this.min,this.max),n="number"!==typeof e[1]||isNaN(e[1])?this.max:F(e[1],this.min,this.max);this.value1=this.isThumbReversed?n:t,this.value2=this.isThumbReversed?t:n}else this.isRange=!1,this.value1=isNaN(e)?this.min:F(e,this.min,this.max),this.value2=null},onInternalValueUpdate:function(){this.isRange&&(this.isThumbReversed=this.value1>this.value2),this.lazy&&this.dragging||this.emitValue("input"),this.dragging&&this.emitValue("dragging")},sliderSize:function(){return this.$refs.slider.getBoundingClientRect().width},onSliderClick:function(e){if(!this.disabled&&!this.isTrackClickDisabled){var t=this.$refs.slider.getBoundingClientRect().left,n=(e.clientX-t)/this.sliderSize()*100,i=this.min+n*(this.max-this.min)/100,a=Math.abs(i-this.value1);if(this.isRange){var r=Math.abs(i-this.value2);if(a<=r){if(a1&&void 0!==arguments[1]&&arguments[1],n=null,i=e+1;i1&&void 0!==arguments[1]&&arguments[1],n=null,i=e-1;i>=0;i--){var a=this.items[i];if(a.visible&&(!t||t&&!a.disabled)){n=i;break}}return n}}}},Fh=function(e){return{mixins:[At(e,$t)],props:{label:String,icon:String,iconPack:String,visible:{type:Boolean,default:!0},value:{type:String,default:function(){return this._uid.toString()}},headerClass:{type:[String,Array,Object],default:null}},data:function(){return{transitionName:null,elementClass:"item",elementRole:null}},computed:{isActive:function(){return this.parent.activeItem===this}},methods:{activate:function(e){this.transitionName=this.index-1},default:"bottom"},rounded:{type:Boolean,default:!0},mobileMode:{type:String,validator:function(e){return["minimalist","compact"].indexOf(e)>-1},default:"minimalist"},ariaNextLabel:String,ariaPreviousLabel:String},computed:{activeItem:function(){var e=this;return this.childItems.filter((function(t){return t.value===e.activeId}))[0]||this.items[0]},wrapperClasses:function(){return[this.size,s({"is-vertical":this.vertical},this.position,this.position&&this.vertical)]},mainClasses:function(){return[this.type,s({"has-label-right":"right"===this.labelPosition,"has-label-left":"left"===this.labelPosition,"is-animated":this.animated,"is-rounded":this.rounded},"mobile-".concat(this.mobileMode),null!==this.mobileMode)]},hasPrev:function(){return null!==this.prevItemIdx},nextItemIdx:function(){var e=this.activeItem?this.items.indexOf(this.activeItem):0;return this.getNextItemIdx(e)},nextItem:function(){var e=null;return null!==this.nextItemIdx&&(e=this.items[this.nextItemIdx]),e},prevItemIdx:function(){if(!this.activeItem)return null;var e=this.items.indexOf(this.activeItem);return this.getPrevItemIdx(e)},prevItem:function(){if(!this.activeItem)return null;var e=null;return null!==this.prevItemIdx&&(e=this.items[this.prevItemIdx]),e},hasNext:function(){return null!==this.nextItemIdx},navigationProps:function(){return{previous:{disabled:!this.hasPrev,action:this.prev},next:{disabled:!this.hasNext,action:this.next}}}},methods:{isItemClickable:function(e){return void 0===e.clickable?e.indext.index}]},[n("a",{staticClass:"step-link",class:{"is-clickable":e.isItemClickable(t)},on:{click:function(n){e.isItemClickable(t)&&e.childClick(t)}}},[n("div",{staticClass:"step-marker"},[t.icon?n("b-icon",{attrs:{icon:t.icon,pack:t.iconPack,size:e.size}}):t.step?n("span",[e._v(e._s(t.step))]):e._e()],1),n("div",{staticClass:"step-details"},[n("span",{staticClass:"step-title"},[e._v(e._s(t.label))])])])])})),0)]),n("section",{staticClass:"step-content",class:{"is-transitioning":e.isTransitioning}},[e._t("default")],2),e._t("navigation",[e.hasNavigation?n("nav",{staticClass:"step-navigation"},[n("a",{staticClass:"pagination-previous",attrs:{role:"button",disabled:e.navigationProps.previous.disabled,"aria-label":e.ariaPreviousLabel},on:{click:function(t){return t.preventDefault(),e.navigationProps.previous.action(t)}}},[n("b-icon",{attrs:{icon:e.iconPrev,pack:e.iconPack,both:"","aria-hidden":"true"}})],1),n("a",{staticClass:"pagination-next",attrs:{role:"button",disabled:e.navigationProps.next.disabled,"aria-label":e.ariaNextLabel},on:{click:function(t){return t.preventDefault(),e.navigationProps.next.action(t)}}},[n("b-icon",{attrs:{icon:e.iconNext,pack:e.iconPack,both:"","aria-hidden":"true"}})],1)]):e._e()],{previous:e.navigationProps.previous,next:e.navigationProps.next})],2)},Lh=[];const Vh=void 0,Hh=void 0,jh=void 0,zh=!1;var Uh=se({render:Rh,staticRenderFns:Lh},Vh,Nh,Hh,zh,jh,void 0,void 0),Wh={name:"BStepItem",mixins:[Fh("step")],props:{step:[String,Number],type:[String,Object],clickable:{type:Boolean,default:void 0}},data:function(){return{elementClass:"step-item"}}};const qh=Wh,Yh=void 0,Kh=void 0,Xh=void 0,Gh=void 0;var Jh=se({},Yh,qh,Kh,Gh,Xh,void 0,void 0),Qh={install:function(e){ce(e,Uh),ce(e,Jh)}};le(Qh);var Zh=Qh,ef={name:"BSwitch",props:{value:[String,Number,Boolean,Function,Object,Array,Date],nativeValue:[String,Number,Boolean,Function,Object,Array,Date],disabled:Boolean,type:String,passiveType:String,name:String,required:Boolean,size:String,ariaLabelledby:String,trueValue:{type:[String,Number,Boolean,Function,Object,Array,Date],default:!0},falseValue:{type:[String,Number,Boolean,Function,Object,Array,Date],default:!1},rounded:{type:Boolean,default:function(){return ie.defaultSwitchRounded}},outlined:{type:Boolean,default:!1},leftLabel:{type:Boolean,default:!1}},data:function(){return{newValue:this.value,isMouseDown:!1}},computed:{computedValue:{get:function(){return this.newValue},set:function(e){this.newValue=e,this.$emit("input",e)}},newClass:function(){return[this.size,{"is-disabled":this.disabled,"is-rounded":this.rounded,"is-outlined":this.outlined,"has-left-label":this.leftLabel}]},checkClasses:function(){return[{"is-elastic":this.isMouseDown&&!this.disabled},this.passiveType&&"".concat(this.passiveType,"-passive"),this.type]},showControlLabel:function(){return!!this.$slots.default}},watch:{value:function(e){this.newValue=e}},methods:{focus:function(){this.$refs.input.focus()}}};const tf=ef;var nf=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("label",{ref:"label",staticClass:"switch",class:e.newClass,attrs:{disabled:e.disabled},on:{click:e.focus,keydown:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:(t.preventDefault(),e.$refs.label.click())},mousedown:function(t){e.isMouseDown=!0},mouseup:function(t){e.isMouseDown=!1},mouseout:function(t){e.isMouseDown=!1},blur:function(t){e.isMouseDown=!1}}},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.computedValue,expression:"computedValue"}],ref:"input",attrs:{type:"checkbox",disabled:e.disabled,name:e.name,required:e.required,"true-value":e.trueValue,"false-value":e.falseValue,"aria-labelledby":e.ariaLabelledby},domProps:{value:e.nativeValue,checked:Array.isArray(e.computedValue)?e._i(e.computedValue,e.nativeValue)>-1:e._q(e.computedValue,e.trueValue)},on:{click:function(e){e.stopPropagation()},change:function(t){var n=e.computedValue,i=t.target,a=i.checked?e.trueValue:e.falseValue;if(Array.isArray(n)){var r=e.nativeValue,o=e._i(n,r);i.checked?o<0&&(e.computedValue=n.concat([r])):o>-1&&(e.computedValue=n.slice(0,o).concat(n.slice(o+1)))}else e.computedValue=a}}}),n("span",{staticClass:"check",class:e.checkClasses}),e.showControlLabel?n("span",{staticClass:"control-label",attrs:{id:e.ariaLabelledby}},[e._t("default")],2):e._e()])},af=[];const rf=void 0,of=void 0,sf=void 0,lf=!1;var cf=se({render:nf,staticRenderFns:af},rf,tf,of,lf,sf,void 0,void 0),uf={install:function(e){ce(e,cf)}};le(uf);var df,hf=uf,ff={name:"BTableMobileSort",components:(df={},s(df,ma.name,ma),s(df,Se.name,Se),df),props:{currentSortColumn:Object,sortMultipleData:Array,isAsc:Boolean,columns:Array,placeholder:String,iconPack:String,sortIcon:{type:String,default:"arrow-up"},sortIconSize:{type:String,default:"is-small"},sortMultiple:{type:Boolean,default:!1}},data:function(){return{sortMultipleSelect:"",mobileSort:this.currentSortColumn,defaultEvent:{shiftKey:!0,altKey:!0,ctrlKey:!0},ignoreSort:!1}},computed:{showPlaceholder:function(){var e=this;return!this.columns||!this.columns.some((function(t){return t===e.mobileSort}))}},watch:{sortMultipleSelect:function(e){this.ignoreSort?this.ignoreSort=!1:this.$emit("sort",e,this.defaultEvent)},mobileSort:function(e){this.currentSortColumn!==e&&this.$emit("sort",e,this.defaultEvent)},currentSortColumn:function(e){this.mobileSort=e}},methods:{removePriority:function(){var e=this;this.$emit("removePriority",this.sortMultipleSelect),this.ignoreSort=!0;var t=this.sortMultipleData.filter((function(t){return t.field!==e.sortMultipleSelect.field})).map((function(e){return e.field}));this.sortMultipleSelect=this.columns.filter((function(e){return t.includes(e.field)}))[0]},getSortingObjectOfColumn:function(e){return this.sortMultipleData.filter((function(t){return t.field===e.field}))[0]},columnIsDesc:function(e){var t=this.getSortingObjectOfColumn(e);return!t||!(!t.order||"desc"!==t.order)},getLabel:function(e){var t=this.getSortingObjectOfColumn(e);return t?e.label+"("+(this.sortMultipleData.indexOf(t)+1)+")":e.label},sort:function(){this.$emit("sort",this.sortMultiple?this.sortMultipleSelect:this.mobileSort,this.defaultEvent)}}};const pf=ff;var vf=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"field table-mobile-sort"},[n("div",{staticClass:"field has-addons"},[e.sortMultiple?n("b-select",{attrs:{expanded:""},model:{value:e.sortMultipleSelect,callback:function(t){e.sortMultipleSelect=t},expression:"sortMultipleSelect"}},e._l(e.columns,(function(t,i){return t.sortable?n("option",{key:i,domProps:{value:t}},[e._v(" "+e._s(e.getLabel(t))+" "),e.getSortingObjectOfColumn(t)?[e.columnIsDesc(t)?[e._v(" ↓ ")]:[e._v(" ↑ ")]]:e._e()],2):e._e()})),0):n("b-select",{attrs:{expanded:""},model:{value:e.mobileSort,callback:function(t){e.mobileSort=t},expression:"mobileSort"}},[e.placeholder?[n("option",{directives:[{name:"show",rawName:"v-show",value:e.showPlaceholder,expression:"showPlaceholder"}],attrs:{selected:"",disabled:"",hidden:""},domProps:{value:{}}},[e._v(" "+e._s(e.placeholder)+" ")])]:e._e(),e._l(e.columns,(function(t,i){return t.sortable?n("option",{key:i,domProps:{value:t}},[e._v(" "+e._s(t.label)+" ")]):e._e()}))],2),n("div",{staticClass:"control"},[e.sortMultiple&&e.sortMultipleData.length>0?[n("button",{staticClass:"button is-primary",on:{click:e.sort}},[n("b-icon",{class:{"is-desc":e.columnIsDesc(e.sortMultipleSelect)},attrs:{icon:e.sortIcon,pack:e.iconPack,size:e.sortIconSize,both:""}})],1),n("button",{staticClass:"button is-primary",on:{click:e.removePriority}},[n("b-icon",{attrs:{icon:"delete",size:e.sortIconSize,both:""}})],1)]:e.sortMultiple?e._e():n("button",{staticClass:"button is-primary",on:{click:e.sort}},[n("b-icon",{directives:[{name:"show",rawName:"v-show",value:e.currentSortColumn===e.mobileSort,expression:"currentSortColumn === mobileSort"}],class:{"is-desc":!e.isAsc},attrs:{icon:e.sortIcon,pack:e.iconPack,size:e.sortIconSize,both:""}})],1)],2)],1)])},mf=[];const gf=void 0,yf=void 0,bf=void 0,wf=!1;var kf=se({render:vf,staticRenderFns:mf},gf,pf,yf,wf,bf,void 0,void 0),Cf={name:"BTableColumn",inject:{$table:{name:"$table",default:!1}},props:{label:String,customKey:[String,Number],field:String,meta:[String,Number,Boolean,Function,Object,Array],width:[Number,String],numeric:Boolean,centered:Boolean,searchable:Boolean,sortable:Boolean,visible:{type:Boolean,default:!0},subheading:[String,Number],customSort:Function,customSearch:Function,sticky:Boolean,headerSelectable:Boolean,headerClass:String,cellClass:String,thAttrs:{type:Function,default:function(){return{}}},tdAttrs:{type:Function,default:function(){return{}}}},data:function(){return{newKey:this.customKey||this.label,_isTableColumn:!0}},computed:{thClasses:function(){var e=this.thAttrs(this),t=[this.headerClass,{"is-sortable":this.sortable,"is-sticky":this.sticky,"is-unselectable":this.isHeaderUnSelectable}];return e&&e.class&&t.push(e.class),t},thStyle:function(){var e=this.thAttrs(this),t=[this.style];return e&&e.style&&t.push(e.style),t},rootClasses:function(){return[this.cellClass,{"has-text-right":this.numeric&&!this.centered,"has-text-centered":this.centered,"is-sticky":this.sticky}]},style:function(){return{width:K(this.width)}},hasDefaultSlot:function(){return!!this.$scopedSlots.default},isHeaderUnSelectable:function(){return!this.headerSelectable&&this.sortable}},methods:{getRootClasses:function(e){var t=this.tdAttrs(e,this),n=[this.rootClasses];return t&&t.class&&n.push(t.class),n},getRootStyle:function(e){var t=this.tdAttrs(e,this),n=[];return t&&t.style&&n.push(t.style),n}},created:function(){if(!this.$table)throw this.$destroy(),new Error("You should wrap bTableColumn on a bTable");this.$table.refreshSlots()},beforeDestroy:function(){this.$table.refreshSlots()},render:function(e){return null}};const Sf=Cf,_f=void 0,xf=void 0,Df=void 0,$f=void 0;var Af=se({},_f,Sf,xf,$f,Df,void 0,void 0),Pf={name:"BTablePagination",components:s({},Cu.name,Cu),props:{paginated:Boolean,total:[Number,String],perPage:[Number,String],currentPage:[Number,String],paginationSimple:Boolean,paginationSize:String,rounded:Boolean,iconPack:String,ariaNextLabel:String,ariaPreviousLabel:String,ariaPageLabel:String,ariaCurrentLabel:String,pageInput:Boolean,paginationOrder:String,pageInputPosition:String,debouncePageInput:[Number,String]},data:function(){return{newCurrentPage:this.currentPage}},watch:{currentPage:function(e){this.newCurrentPage=e}},methods:{pageChanged:function(e){this.newCurrentPage=e>0?e:1,this.$emit("update:currentPage",this.newCurrentPage),this.$emit("page-change",this.newCurrentPage)}}};const Of=Pf;var Mf=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"top level"},[n("div",{staticClass:"level-left"},[e._t("default")],2),n("div",{staticClass:"level-right"},[e.paginated?n("div",{staticClass:"level-item"},[n("b-pagination",{attrs:{"icon-pack":e.iconPack,total:e.total,"per-page":e.perPage,simple:e.paginationSimple,size:e.paginationSize,current:e.newCurrentPage,rounded:e.rounded,"aria-next-label":e.ariaNextLabel,"aria-previous-label":e.ariaPreviousLabel,"aria-page-label":e.ariaPageLabel,"aria-current-label":e.ariaCurrentLabel,"page-input":e.pageInput,order:e.paginationOrder,"page-input-position":e.pageInputPosition,"debounce-page-input":e.debouncePageInput},on:{change:e.pageChanged}})],1):e._e()])])},Tf=[];const Bf=void 0,Ef=void 0,Ff=void 0,If=!1;var Nf,Rf=se({render:Mf,staticRenderFns:Tf},Bf,Of,Ef,If,Ff,void 0,void 0),Lf={name:"BTable",components:(Nf={},s(Nf,_n.name,_n),s(Nf,Se.name,Se),s(Nf,Te.name,Te),s(Nf,As.name,As),s(Nf,Bh.name,Bh),s(Nf,kf.name,kf),s(Nf,Af.name,Af),s(Nf,Rf.name,Rf),Nf),inheritAttrs:!1,provide:function(){return{$table:this}},props:{data:{type:Array,default:function(){return[]}},columns:{type:Array,default:function(){return[]}},bordered:Boolean,striped:Boolean,narrowed:Boolean,hoverable:Boolean,loading:Boolean,detailed:Boolean,checkable:Boolean,headerCheckable:{type:Boolean,default:!0},checkboxType:{type:String,default:"is-primary"},checkboxPosition:{type:String,default:"left",validator:function(e){return["left","right"].indexOf(e)>=0}},stickyCheckbox:{type:Boolean,default:!1},selected:Object,isRowSelectable:{type:Function,default:function(){return!0}},focusable:Boolean,customIsChecked:Function,isRowCheckable:{type:Function,default:function(){return!0}},checkedRows:{type:Array,default:function(){return[]}},mobileCards:{type:Boolean,default:!0},defaultSort:[String,Array],defaultSortDirection:{type:String,default:"asc"},sortIcon:{type:String,default:"arrow-up"},sortIconSize:{type:String,default:"is-small"},sortMultiple:{type:Boolean,default:!1},sortMultipleData:{type:Array,default:function(){return[]}},sortMultipleKey:{type:String,default:null},paginated:Boolean,currentPage:{type:Number,default:1},perPage:{type:[Number,String],default:20},showDetailIcon:{type:Boolean,default:!0},detailIcon:{type:String,default:"chevron-right"},paginationPosition:{type:String,default:"bottom",validator:function(e){return["bottom","top","both"].indexOf(e)>=0}},paginationRounded:Boolean,backendSorting:Boolean,backendFiltering:Boolean,rowClass:{type:Function,default:function(){return""}},openedDetailed:{type:Array,default:function(){return[]}},hasDetailedVisible:{type:Function,default:function(){return!0}},detailKey:{type:String,default:""},detailTransition:{type:String,default:""},customDetailRow:{type:Boolean,default:!1},backendPagination:Boolean,total:{type:[Number,String],default:0},iconPack:String,mobileSortPlaceholder:String,customRowKey:String,draggable:{type:Boolean,default:!1},draggableColumn:{type:Boolean,default:!1},scrollable:Boolean,ariaNextLabel:String,ariaPreviousLabel:String,ariaPageLabel:String,ariaCurrentLabel:String,stickyHeader:Boolean,height:[Number,String],filtersEvent:{type:String,default:""},cardLayout:Boolean,showHeader:{type:Boolean,default:!0},debounceSearch:Number,caption:String,showCaption:{type:Boolean,default:!0},pageInput:{type:Boolean,default:!1},paginationOrder:String,pageInputPosition:String,debouncePageInput:[Number,String]},data:function(){return{sortMultipleDataLocal:[],getValueByPath:I,visibleDetailRows:this.openedDetailed,newData:this.data,newDataTotal:this.backendPagination?this.total:this.data.length,newCheckedRows:_(this.checkedRows),lastCheckedRowIndex:null,newCurrentPage:this.currentPage,currentSortColumn:{},isAsc:!0,filters:{},defaultSlots:[],firstTimeSort:!0,_isTable:!0,isDraggingRow:!1,isDraggingColumn:!1}},computed:{sortMultipleDataComputed:function(){return this.backendSorting?this.sortMultipleData:this.sortMultipleDataLocal},tableClasses:function(){return{"is-bordered":this.bordered,"is-striped":this.striped,"is-narrow":this.narrowed,"is-hoverable":(this.hoverable||this.focusable)&&this.visibleData.length}},tableWrapperClasses:function(){return{"has-mobile-cards":this.mobileCards,"has-sticky-header":this.stickyHeader,"is-card-list":this.cardLayout,"table-container":this.isScrollable}},tableStyle:function(){return{height:K(this.height)}},visibleData:function(){if(!this.paginated)return this.newData;var e=this.newCurrentPage,t=this.perPage;if(this.newData.length<=t)return this.newData;var n=(e-1)*t,i=parseInt(n,10)+parseInt(t,10);return this.newData.slice(n,i)},visibleColumns:function(){return this.newColumns?this.newColumns.filter((function(e){return e.visible||void 0===e.visible})):this.newColumns},isAllChecked:function(){var e=this,t=this.visibleData.filter((function(t){return e.isRowCheckable(t)}));if(0===t.length)return!1;var n=t.some((function(t){return N(e.newCheckedRows,t,e.customIsChecked)<0}));return!n},isAllUncheckable:function(){var e=this,t=this.visibleData.filter((function(t){return e.isRowCheckable(t)}));return 0===t.length},hasSortablenewColumns:function(){return this.newColumns.some((function(e){return e.sortable}))},hasSearchablenewColumns:function(){return this.newColumns.some((function(e){return e.searchable}))},hasCustomSubheadings:function(){return!(!this.$scopedSlots||!this.$scopedSlots.subheading)||this.newColumns.some((function(e){return e.subheading||e.$scopedSlots&&e.$scopedSlots.subheading}))},columnCount:function(){var e=this.visibleColumns.length;return e+=this.checkable?1:0,e+=this.detailed&&this.showDetailIcon?1:0,e},showDetailRowIcon:function(){return this.detailed&&this.showDetailIcon},isScrollable:function(){return!!this.scrollable||!!this.newColumns&&this.newColumns.some((function(e){return e.sticky}))},newColumns:function(){var e=this;return this.columns&&this.columns.length?this.columns.map((function(t){var n=ee.extend(Af),i=new n({parent:e,propsData:t});return i.$scopedSlots={default:function(e){var n=i.$createElement("span",{domProps:{innerHTML:I(e.row,t.field)}});return[n]}},i})):this.defaultSlots.filter((function(e){return e.componentInstance&&e.componentInstance.$data&&e.componentInstance.$data._isTableColumn})).map((function(e){return e.componentInstance}))},canDragRow:function(){return this.draggable&&!this.isDraggingColumn},canDragColumn:function(){return this.draggableColumn&&!this.isDraggingRow}},watch:{data:function(e){var t=this;this.newData=e,this.backendFiltering||(this.newData=e.filter((function(e){return t.isRowFiltered(e)}))),this.backendSorting||this.sort(this.currentSortColumn,!0),this.backendPagination||(this.newDataTotal=this.newData.length)},total:function(e){this.backendPagination&&(this.newDataTotal=e)},currentPage:function(e){this.newCurrentPage=e},newCurrentPage:function(e){this.$emit("update:currentPage",e)},checkedRows:function(e){this.newCheckedRows=_(e)},debounceSearch:{handler:function(e){this.debouncedHandleFiltersChange=fu(this.handleFiltersChange,e)},immediate:!0},filters:{handler:function(e){this.debounceSearch?this.debouncedHandleFiltersChange(e):this.handleFiltersChange(e)},deep:!0},openedDetailed:function(e){this.visibleDetailRows=e}},methods:{onFiltersEvent:function(e){this.$emit("filters-event-".concat(this.filtersEvent),{event:e,filters:this.filters})},handleFiltersChange:function(e){var t=this;this.backendFiltering?this.$emit("filters-change",e):(this.newData=this.data.filter((function(e){return t.isRowFiltered(e)})),this.backendPagination||(this.newDataTotal=this.newData.length),this.backendSorting||(this.sortMultiple&&this.sortMultipleDataLocal&&this.sortMultipleDataLocal.length>0?this.doSortMultiColumn():Object.keys(this.currentSortColumn).length>0&&this.doSortSingleColumn(this.currentSortColumn)))},findIndexOfSortData:function(e){var t=this.sortMultipleDataComputed.filter((function(t){return t.field===e.field}))[0];return this.sortMultipleDataComputed.indexOf(t)+1},removeSortingPriority:function(e){if(this.backendSorting)this.$emit("sorting-priority-removed",e.field);else{this.sortMultipleDataLocal=this.sortMultipleDataLocal.filter((function(t){return t.field!==e.field}));var t=this.sortMultipleDataLocal.map((function(e){return(e.order&&"desc"===e.order?"-":"")+e.field}));0===t.length?this.resetMultiSorting():this.newData=Y(this.newData,t)}},resetMultiSorting:function(){this.sortMultipleDataLocal=[],this.currentSortColumn={},this.newData=this.data},sortBy:function(e,t,n,i){var a=[];return a=n&&"function"===typeof n?_(e).sort((function(e,t){return n(e,t,i)})):_(e).sort((function(e,n){var a=I(e,t),r=I(n,t);return"boolean"===typeof a&&"boolean"===typeof r?i?a-r:r-a:!ne(r)&&ne(a)?i?1:-1:!ne(a)&&ne(r)?i?-1:1:a===r?0:(a="string"===typeof a?a.toUpperCase():a,r="string"===typeof r?r.toUpperCase():r,i?a>r?1:-1:a>r?-1:1)})),a},sortMultiColumn:function(e){if(this.currentSortColumn={},!this.backendSorting){var t=this.sortMultipleDataLocal.filter((function(t){return t.field===e.field}))[0];t?t.order="desc"===t.order?"asc":"desc":this.sortMultipleDataLocal.push({field:e.field,order:e.isAsc}),this.doSortMultiColumn()}},doSortMultiColumn:function(){var e=this.sortMultipleDataLocal.map((function(e){return(e.order&&"desc"===e.order?"-":"")+e.field}));this.newData=Y(this.newData,e)},sort:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;e&&e.sortable&&(!this.backendSorting&&this.sortMultiple&&(this.sortMultipleKey&&n[this.sortMultipleKey]||!this.sortMultipleKey)?t?this.doSortMultiColumn():this.sortMultiColumn(e):(this.sortMultiple&&(this.sortMultipleDataLocal=[]),t||(this.isAsc=e===this.currentSortColumn?!this.isAsc:"desc"!==this.defaultSortDirection.toLowerCase()),this.firstTimeSort||this.$emit("sort",e.field,this.isAsc?"asc":"desc",n),this.backendSorting||this.doSortSingleColumn(e),this.currentSortColumn=e))},doSortSingleColumn:function(e){this.newData=this.sortBy(this.newData,e.field,e.customSort,this.isAsc)},isRowSelected:function(e,t){return!!t&&(this.customRowKey?e[this.customRowKey]===t[this.customRowKey]:e===t)},isRowChecked:function(e){return N(this.newCheckedRows,e,this.customIsChecked)>=0},removeCheckedRow:function(e){var t=N(this.newCheckedRows,e,this.customIsChecked);t>=0&&this.newCheckedRows.splice(t,1)},checkAll:function(){var e=this,t=this.isAllChecked;this.visibleData.forEach((function(n){e.isRowCheckable(n)&&e.removeCheckedRow(n),t||e.isRowCheckable(n)&&e.newCheckedRows.push(n)})),this.$emit("check",this.newCheckedRows),this.$emit("check-all",this.newCheckedRows),this.$emit("update:checkedRows",this.newCheckedRows)},checkRow:function(e,t,n){if(this.isRowCheckable(e)){var i=this.lastCheckedRowIndex;this.lastCheckedRowIndex=t,n.shiftKey&&null!==i&&t!==i?this.shiftCheckRow(e,t,i):this.isRowChecked(e)?this.removeCheckedRow(e):this.newCheckedRows.push(e),this.$emit("check",this.newCheckedRows,e),this.$emit("update:checkedRows",this.newCheckedRows)}},shiftCheckRow:function(e,t,n){var i=this,a=this.visibleData.slice(Math.min(t,n),Math.max(t,n)+1),r=!this.isRowChecked(e);a.forEach((function(e){i.removeCheckedRow(e),r&&i.isRowCheckable(e)&&i.newCheckedRows.push(e)}))},selectRow:function(e,t){this.$emit("click",e),this.selected!==e&&this.isRowSelectable(e)&&(this.$emit("select",e,this.selected),this.$emit("update:selected",e))},toggleDetails:function(e){var t=this.isVisibleDetailRow(e);t?(this.closeDetailRow(e),this.$emit("details-close",e)):(this.openDetailRow(e),this.$emit("details-open",e)),this.$emit("update:openedDetailed",this.visibleDetailRows)},openDetailRow:function(e){var t=this.handleDetailKey(e);this.visibleDetailRows.push(t)},closeDetailRow:function(e){var t=this.handleDetailKey(e),n=this.visibleDetailRows.indexOf(t);n>=0&&this.visibleDetailRows.splice(n,1)},isVisibleDetailRow:function(e){var t=this.handleDetailKey(e);return this.visibleDetailRows.indexOf(t)>=0},isActiveDetailRow:function(e){return this.detailed&&!this.customDetailRow&&this.isVisibleDetailRow(e)},isActiveCustomDetailRow:function(e){return this.detailed&&this.customDetailRow&&this.isVisibleDetailRow(e)},isRowFiltered:function(e){var t=this,n=function(n){if(!t.filters[n])return"continue";var i=t.filters[n],a=t.newColumns.filter((function(e){return e.field===n}))[0];if(a&&a.customSearch&&"function"===typeof a.customSearch){if(!a.customSearch(e,i))return{v:!1}}else{var r=t.getValueByPath(e,n);if(null==r)return{v:!1};if(Number.isInteger(r)){if(r!==Number(i))return{v:!1}}else{var o=new RegExp(W(i),"i");if(Array.isArray(r)){var s=r.some((function(e){return o.test(q(e))||o.test(e)}));if(!s)return{v:!1}}else if(!o.test(q(r))&&!o.test(r))return{v:!1}}}};for(var a in this.filters){var r=n(a);switch(r){case"continue":continue;default:if("object"===i(r))return r.v}}return!0},handleDetailKey:function(e){var t=this.detailKey;return t.length&&e?e[t]:e},checkPredefinedDetailedRows:function(){var e=this.openedDetailed.length>0;if(e&&!this.detailKey.length)throw new Error('If you set a predefined opened-detailed, you must provide a unique key using the prop "detail-key"')},checkSort:function(){if(this.newColumns.length&&this.firstTimeSort)this.initSort(),this.firstTimeSort=!1;else if(this.newColumns.length&&Object.keys(this.currentSortColumn).length>0)for(var e=0;e1)return!0;var e=this.$slots.footer[0].tag;return"th"===e||"td"===e},hasBottomLeftSlot:function(){return"undefined"!==typeof this.$slots["bottom-left"]},pressedArrow:function(e){if(this.visibleData.length){var t=this.visibleData.indexOf(this.selected)+e;t=t<0?0:t>this.visibleData.length-1?this.visibleData.length-1:t;var n=this.visibleData[t];if(this.isRowSelectable(n))this.selectRow(n);else{var i=null;if(e>0)for(var a=t;a=0&&null===i;r--)this.isRowSelectable(this.visibleData[r])&&(i=r);i>=0&&this.selectRow(this.visibleData[i])}}},focus:function(){this.focusable&&this.$el.querySelector("table").focus()},initSort:function(){var e=this;if(this.sortMultiple&&this.sortMultipleData)this.sortMultipleData.forEach((function(t){e.sortMultiColumn(t)}));else{if(!this.defaultSort)return;var t="",n=this.defaultSortDirection;Array.isArray(this.defaultSort)?(t=this.defaultSort[0],this.defaultSort[1]&&(n=this.defaultSort[1])):t=this.defaultSort;var i=this.newColumns.filter((function(e){return e.field===t}))[0];i&&(this.isAsc="desc"!==n.toLowerCase(),this.sort(i,!0))}},handleDragStart:function(e,t,n){this.canDragRow&&(this.isDraggingRow=!0,this.$emit("dragstart",{event:e,row:t,index:n}))},handleDragEnd:function(e,t,n){this.canDragRow&&(this.isDraggingRow=!1,this.$emit("dragend",{event:e,row:t,index:n}))},handleDrop:function(e,t,n){this.canDragRow&&this.$emit("drop",{event:e,row:t,index:n})},handleDragOver:function(e,t,n){this.canDragRow&&this.$emit("dragover",{event:e,row:t,index:n})},handleDragLeave:function(e,t,n){this.canDragRow&&this.$emit("dragleave",{event:e,row:t,index:n})},emitEventForRow:function(e,t,n){return this.$listeners[e]?this.$emit(e,n,t):null},handleColumnDragStart:function(e,t,n){this.canDragColumn&&(this.isDraggingColumn=!0,this.$emit("columndragstart",{event:e,column:t,index:n}))},handleColumnDragEnd:function(e,t,n){this.canDragColumn&&(this.isDraggingColumn=!1,this.$emit("columndragend",{event:e,column:t,index:n}))},handleColumnDrop:function(e,t,n){this.canDragColumn&&this.$emit("columndrop",{event:e,column:t,index:n})},handleColumnDragOver:function(e,t,n){this.canDragColumn&&this.$emit("columndragover",{event:e,column:t,index:n})},handleColumnDragLeave:function(e,t,n){this.canDragColumn&&this.$emit("columndragleave",{event:e,column:t,index:n})},refreshSlots:function(){this.defaultSlots=this.$slots.default||[]}},mounted:function(){this.refreshSlots(),this.checkPredefinedDetailedRows(),this.checkSort()}};const Vf=Lf;var Hf=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"b-table"},[e._t("default"),e.mobileCards&&e.hasSortablenewColumns?n("b-table-mobile-sort",{attrs:{"current-sort-column":e.currentSortColumn,"sort-multiple":e.sortMultiple,"sort-multiple-data":e.sortMultipleDataComputed,"is-asc":e.isAsc,columns:e.newColumns,placeholder:e.mobileSortPlaceholder,"icon-pack":e.iconPack,"sort-icon":e.sortIcon,"sort-icon-size":e.sortIconSize},on:{sort:function(t,n){return e.sort(t,null,n)},removePriority:function(t){return e.removeSortingPriority(t)}}}):e._e(),!e.paginated||"top"!==e.paginationPosition&&"both"!==e.paginationPosition?e._e():[e._t("pagination",[n("b-table-pagination",e._b({attrs:{"per-page":e.perPage,paginated:e.paginated,rounded:e.paginationRounded,"icon-pack":e.iconPack,total:e.newDataTotal,"current-page":e.newCurrentPage,"aria-next-label":e.ariaNextLabel,"aria-previous-label":e.ariaPreviousLabel,"aria-page-label":e.ariaPageLabel,"aria-current-label":e.ariaCurrentLabel,"page-input":e.pageInput,"pagination-order":e.paginationOrder,"page-input-position":e.pageInputPosition,"debounce-page-input":e.debouncePageInput},on:{"update:currentPage":function(t){e.newCurrentPage=t},"update:current-page":function(t){e.newCurrentPage=t},"page-change":function(t){return e.$emit("page-change",t)}}},"b-table-pagination",e.$attrs,!1),[e._t("top-left")],2)])],n("div",{staticClass:"table-wrapper",class:e.tableWrapperClasses,style:e.tableStyle},[n("table",{staticClass:"table",class:e.tableClasses,attrs:{tabindex:!!e.focusable&&0},on:{keydown:[function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"up",38,t.key,["Up","ArrowUp"])||t.target!==t.currentTarget?null:(t.preventDefault(),e.pressedArrow(-1))},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"down",40,t.key,["Down","ArrowDown"])||t.target!==t.currentTarget?null:(t.preventDefault(),e.pressedArrow(1))}]}},[e.caption?n("caption",{directives:[{name:"show",rawName:"v-show",value:e.showCaption,expression:"showCaption"}]},[e._v(e._s(e.caption))]):e._e(),e.newColumns.length&&e.showHeader?n("thead",[n("tr",[e.showDetailRowIcon?n("th",{attrs:{width:"40px"}}):e._e(),e.checkable&&"left"===e.checkboxPosition?n("th",{class:["checkbox-cell",{"is-sticky":e.stickyCheckbox}]},[e.headerCheckable?[n("b-checkbox",{attrs:{autocomplete:"off",value:e.isAllChecked,type:e.checkboxType,disabled:e.isAllUncheckable},nativeOn:{change:function(t){return e.checkAll(t)}}})]:e._e()],2):e._e(),e._l(e.visibleColumns,(function(t,i){return n("th",e._b({key:t.newKey+":"+i+"header",class:[t.thClasses,{"is-current-sort":!e.sortMultiple&&e.currentSortColumn===t}],style:t.thStyle,attrs:{draggable:e.canDragColumn},on:{click:function(n){return n.stopPropagation(),e.sort(t,null,n)},dragstart:function(n){return e.handleColumnDragStart(n,t,i)},dragend:function(n){return e.handleColumnDragEnd(n,t,i)},drop:function(n){return e.handleColumnDrop(n,t,i)},dragover:function(n){return e.handleColumnDragOver(n,t,i)},dragleave:function(n){return e.handleColumnDragLeave(n,t,i)}}},"th",t.thAttrs(t),!1),[n("div",{staticClass:"th-wrap",class:{"is-numeric":t.numeric,"is-centered":t.centered}},[t.$scopedSlots&&t.$scopedSlots.header?[n("b-slot-component",{attrs:{component:t,scoped:"",name:"header",tag:"span",props:{column:t,index:i}}})]:[n("span",{staticClass:"is-relative"},[e._v(" "+e._s(t.label)+" "),e.sortMultiple&&e.sortMultipleDataComputed&&e.sortMultipleDataComputed.length>0&&e.sortMultipleDataComputed.filter((function(e){return e.field===t.field})).length>0?[n("b-icon",{class:{"is-desc":"desc"===e.sortMultipleDataComputed.filter((function(e){return e.field===t.field}))[0].order},attrs:{icon:e.sortIcon,pack:e.iconPack,both:"",size:e.sortIconSize}}),e._v(" "+e._s(e.findIndexOfSortData(t))+" "),n("button",{staticClass:"delete is-small multi-sort-cancel-icon",attrs:{type:"button"},on:{click:function(n){return n.stopPropagation(),e.removeSortingPriority(t)}}})]:n("b-icon",{staticClass:"sort-icon",class:{"is-desc":!e.isAsc,"is-invisible":e.currentSortColumn!==t},attrs:{icon:e.sortIcon,pack:e.iconPack,both:"",size:e.sortIconSize}})],2)]],2)])})),e.checkable&&"right"===e.checkboxPosition?n("th",{class:["checkbox-cell",{"is-sticky":e.stickyCheckbox}]},[e.headerCheckable?[n("b-checkbox",{attrs:{autocomplete:"off",value:e.isAllChecked,type:e.checkboxType,disabled:e.isAllUncheckable},nativeOn:{change:function(t){return e.checkAll(t)}}})]:e._e()],2):e._e()],2),e.hasCustomSubheadings?n("tr",{staticClass:"is-subheading"},[e.showDetailRowIcon?n("th",{attrs:{width:"40px"}}):e._e(),e.checkable&&"left"===e.checkboxPosition?n("th"):e._e(),e._l(e.visibleColumns,(function(t,i){return n("th",{key:t.newKey+":"+i+"subheading",style:t.style},[n("div",{staticClass:"th-wrap",class:{"is-numeric":t.numeric,"is-centered":t.centered}},[t.$scopedSlots&&t.$scopedSlots.subheading?[n("b-slot-component",{attrs:{component:t,scoped:"",name:"subheading",tag:"span",props:{column:t,index:i}}})]:[e._v(e._s(t.subheading))]],2)])})),e.checkable&&"right"===e.checkboxPosition?n("th"):e._e()],2):e._e(),e.hasSearchablenewColumns?n("tr",[e.showDetailRowIcon?n("th",{attrs:{width:"40px"}}):e._e(),e.checkable&&"left"===e.checkboxPosition?n("th"):e._e(),e._l(e.visibleColumns,(function(t,i){return n("th",e._b({key:t.newKey+":"+i+"searchable",class:{"is-sticky":t.sticky},style:t.thStyle},"th",t.thAttrs(t),!1),[n("div",{staticClass:"th-wrap"},[t.searchable?[t.$scopedSlots&&t.$scopedSlots.searchable?[n("b-slot-component",{attrs:{component:t,scoped:!0,name:"searchable",tag:"span",props:{column:t,filters:e.filters}}})]:n("b-input",{attrs:{type:t.numeric?"number":"text"},nativeOn:e._d({},[e.filtersEvent,function(t){return e.onFiltersEvent(t)}]),model:{value:e.filters[t.field],callback:function(n){e.$set(e.filters,t.field,n)},expression:"filters[column.field]"}})]:e._e()],2)])})),e.checkable&&"right"===e.checkboxPosition?n("th"):e._e()],2):e._e()]):e._e(),n("tbody",[e._l(e.visibleData,(function(t,i){return[n("tr",{key:e.customRowKey?t[e.customRowKey]:i,class:[e.rowClass(t,i),{"is-selected":e.isRowSelected(t,e.selected),"is-checked":e.isRowChecked(t)}],attrs:{draggable:e.canDragRow},on:{click:function(n){return e.selectRow(t)},dblclick:function(n){return e.$emit("dblclick",t)},mouseenter:function(n){return e.emitEventForRow("mouseenter",n,t)},mouseleave:function(n){return e.emitEventForRow("mouseleave",n,t)},contextmenu:function(n){return e.$emit("contextmenu",t,n)},dragstart:function(n){return e.handleDragStart(n,t,i)},dragend:function(n){return e.handleDragEnd(n,t,i)},drop:function(n){return e.handleDrop(n,t,i)},dragover:function(n){return e.handleDragOver(n,t,i)},dragleave:function(n){return e.handleDragLeave(n,t,i)}}},[e.showDetailRowIcon?n("td",{staticClass:"chevron-cell"},[e.hasDetailedVisible(t)?n("a",{attrs:{role:"button"},on:{click:function(n){return n.stopPropagation(),e.toggleDetails(t)}}},[n("b-icon",{class:{"is-expanded":e.isVisibleDetailRow(t)},attrs:{icon:e.detailIcon,pack:e.iconPack,both:""}})],1):e._e()]):e._e(),e.checkable&&"left"===e.checkboxPosition?n("td",{class:["checkbox-cell",{"is-sticky":e.stickyCheckbox}]},[n("b-checkbox",{attrs:{autocomplete:"off",value:e.isRowChecked(t),type:e.checkboxType,disabled:!e.isRowCheckable(t)},nativeOn:{click:function(n){return n.preventDefault(),n.stopPropagation(),e.checkRow(t,i,n)}}})],1):e._e(),e._l(e.visibleColumns,(function(a,r){return[a.$scopedSlots&&a.$scopedSlots.default?[n("b-slot-component",e._b({key:a.newKey+":"+i+":"+r,class:a.getRootClasses(t),style:a.getRootStyle(t),attrs:{component:a,scoped:"",name:"default",tag:"td","data-label":a.label,props:{row:t,column:a,index:i,colindex:r,toggleDetails:e.toggleDetails}},nativeOn:{click:function(n){return e.$emit("cellclick",t,a,i,r)}}},"b-slot-component",a.tdAttrs(t,a),!1))]:e._e()]})),e.checkable&&"right"===e.checkboxPosition?n("td",{class:["checkbox-cell",{"is-sticky":e.stickyCheckbox}]},[n("b-checkbox",{attrs:{autocomplete:"off",value:e.isRowChecked(t),type:e.checkboxType,disabled:!e.isRowCheckable(t)},nativeOn:{click:function(n){return n.preventDefault(),n.stopPropagation(),e.checkRow(t,i,n)}}})],1):e._e()],2),n("transition",{key:(e.customRowKey?t[e.customRowKey]:i)+"detail",attrs:{name:e.detailTransition}},[e.isActiveDetailRow(t)?n("tr",{staticClass:"detail"},[n("td",{attrs:{colspan:e.columnCount}},[n("div",{staticClass:"detail-container"},[e._t("detail",null,{row:t,index:i})],2)])]):e._e()]),e.isActiveCustomDetailRow(t)?e._t("detail",null,{row:t,index:i}):e._e()]})),e.visibleData.length?e._e():n("tr",{staticClass:"is-empty"},[n("td",{attrs:{colspan:e.columnCount}},[e._t("empty")],2)])],2),void 0!==e.$slots.footer?n("tfoot",[n("tr",{staticClass:"table-footer"},[e.hasCustomFooterSlot()?e._t("footer"):n("th",{attrs:{colspan:e.columnCount}},[e._t("footer")],2)],2)]):e._e()]),e.loading?[e._t("loading",[n("b-loading",{attrs:{"is-full-page":!1,active:e.loading},on:{"update:active":function(t){e.loading=t}}})])]:e._e()],2),e.checkable&&e.hasBottomLeftSlot()||e.paginated&&("bottom"===e.paginationPosition||"both"===e.paginationPosition)?[e._t("pagination",[n("b-table-pagination",e._b({attrs:{"per-page":e.perPage,paginated:e.paginated,rounded:e.paginationRounded,"icon-pack":e.iconPack,total:e.newDataTotal,"current-page":e.newCurrentPage,"aria-next-label":e.ariaNextLabel,"aria-previous-label":e.ariaPreviousLabel,"aria-page-label":e.ariaPageLabel,"aria-current-label":e.ariaCurrentLabel,"page-input":e.pageInput,"pagination-order":e.paginationOrder,"page-input-position":e.pageInputPosition,"debounce-page-input":e.debouncePageInput},on:{"update:currentPage":function(t){e.newCurrentPage=t},"update:current-page":function(t){e.newCurrentPage=t},"page-change":function(t){return e.$emit("page-change",t)}}},"b-table-pagination",e.$attrs,!1),[e._t("bottom-left")],2)])]:e._e()],2)},jf=[];const zf=void 0,Uf=void 0,Wf=void 0,qf=!1;var Yf=se({render:Hf,staticRenderFns:jf},zf,Vf,Uf,qf,Wf,void 0,void 0),Kf={install:function(e){"undefined"===typeof ee&&re(e),ce(e,Yf),ce(e,Af)}};le(Kf);var Xf=Kf,Gf={name:"BTabs",mixins:[Eh("tab")],props:{expanded:{type:Boolean,default:function(){return ie.defaultTabsExpanded}},type:{type:[String,Object],default:function(){return ie.defaultTabsType}},animated:{type:Boolean,default:function(){return ie.defaultTabsAnimated}},multiline:Boolean},data:function(){return{currentFocus:this.value}},computed:{mainClasses:function(){return s({"is-fullwidth":this.expanded,"is-vertical":this.vertical,"is-multiline":this.multiline},this.position,this.position&&this.vertical)},navClasses:function(){var e;return[this.type,this.size,(e={},s(e,this.position,this.position&&!this.vertical),s(e,"is-fullwidth",this.expanded),s(e,"is-toggle","is-toggle-rounded"===this.type),e)]}},methods:{giveFocusToTab:function(e){e.$el&&e.$el.focus?e.$el.focus():e.focus&&e.focus()},manageTablistKeydown:function(e){var t=e.key;switch(t){case this.vertical?"ArrowUp":"ArrowLeft":case this.vertical?"Up":"Left":var n=this.getPrevItemIdx(this.currentFocus,!0);null===n&&(n=this.getPrevItemIdx(this.items.length,!0)),null!==n&&this.$refs.tabLink&&n0&&this.removeTag(this.tagsLength-1)},keydown:function(e){var t=e.key;if(-1===this.removeOnKeys.indexOf(t)||this.newTag.length||this.removeLastTag(),(!this.autocomplete||this.allowNew)&&this.confirmKeys.indexOf(t)>=0){if("Tab"!==t&&e.preventDefault(),"Enter"===t&&this.isComposing)return;this.addTag()}},onTyping:function(e){this.$emit("typing",e.trim())},emitInfiniteScroll:function(){this.$emit("infinite-scroll")}}};const Ip=Fp;var Np=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"taginput control",class:e.rootClasses},[n("div",{staticClass:"taginput-container",class:[e.statusType,e.size,e.containerClasses],attrs:{disabled:e.disabled},on:{click:function(t){e.hasInput&&e.focus(t)}}},[e._t("selected",e._l(e.tags,(function(t,i){return n("b-tag",{key:e.getNormalizedTagText(t)+i,attrs:{type:e.type,"close-type":e.closeType,size:e.size,rounded:e.rounded,attached:e.attached,tabstop:!1,disabled:e.disabled,ellipsis:e.ellipsis,closable:e.closable,"aria-close-label":e.ariaCloseLabel,title:e.ellipsis&&e.getNormalizedTagText(t)},on:{close:function(t){return e.removeTag(i,t)}}},[e._t("tag",[e._v(" "+e._s(e.getNormalizedTagText(t))+" ")],{tag:t})],2)})),{tags:e.tags}),e.hasInput?n("b-autocomplete",e._g(e._b({ref:"autocomplete",attrs:{data:e.data,field:e.field,icon:e.icon,"icon-pack":e.iconPack,maxlength:e.maxlength,"has-counter":!1,size:e.size,disabled:e.disabled,loading:e.loading,autocomplete:e.nativeAutocomplete,"open-on-focus":e.openOnFocus,"keep-open":e.openOnFocus,"keep-first":e.keepFirst,"group-field":e.groupField,"group-options":e.groupOptions,"use-html5-validation":e.useHtml5Validation,"check-infinite-scroll":e.checkInfiniteScroll,"append-to-body":e.appendToBody,"confirm-keys":e.confirmKeys},on:{typing:e.onTyping,focus:e.onFocus,blur:e.customOnBlur,select:e.onSelect,"infinite-scroll":e.emitInfiniteScroll},nativeOn:{keydown:function(t){return e.keydown(t)},compositionstart:function(t){e.isComposing=!0},compositionend:function(t){e.isComposing=!1}},scopedSlots:e._u([e.hasHeaderSlot?{key:"header",fn:function(){return[e._t("header")]},proxy:!0}:null,e.hasDefaultSlot?{key:"default",fn:function(t){return[e._t("default",null,{option:t.option,index:t.index})]}}:null,e.hasEmptySlot?{key:"empty",fn:function(){return[e._t("empty")]},proxy:!0}:null,e.hasFooterSlot?{key:"footer",fn:function(){return[e._t("footer")]},proxy:!0}:null],null,!0),model:{value:e.newTag,callback:function(t){e.newTag=t},expression:"newTag"}},"b-autocomplete",e.$attrs,!1),e.listeners)):e._e()],2),e.hasCounter&&(e.maxtags||e.maxlength)?n("small",{staticClass:"help counter"},[e.maxlength&&e.valueLength>0?[e._v(" "+e._s(e.valueLength)+" / "+e._s(e.maxlength)+" ")]:e.maxtags?[e._v(" "+e._s(e.tagsLength)+" / "+e._s(e.maxtags)+" ")]:e._e()],2):e._e()])},Rp=[];const Lp=void 0,Vp=void 0,Hp=void 0,jp=!1;var zp=se({render:Np,staticRenderFns:Rp},Lp,Ip,Vp,jp,Hp,void 0,void 0),Up={install:function(e){ce(e,zp)}};le(Up);var Wp=Up,qp={install:function(e){ce(e,Co)}};le(qp);var Yp=qp,Kp={name:"BToast",mixins:[kl],data:function(){return{newDuration:this.duration||ie.defaultToastDuration}}};const Xp=Kp;var Gp=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("transition",{attrs:{"enter-active-class":e.transition.enter,"leave-active-class":e.transition.leave}},[n("div",{directives:[{name:"show",rawName:"v-show",value:e.isActive,expression:"isActive"}],staticClass:"toast",class:[e.type,e.position],attrs:{"aria-hidden":!e.isActive,role:"alert"},on:{mouseenter:e.pause,mouseleave:e.removePause}},[e.$slots.default?[e._t("default")]:[n("div",{domProps:{innerHTML:e._s(e.message)}})]],2)])},Jp=[];const Qp=void 0,Zp=void 0,ev=void 0,tv=!1;var nv,iv=se({render:Gp,staticRenderFns:Jp},Qp,Xp,Zp,tv,ev,void 0,void 0),av={open:function(e){var t;"string"===typeof e&&(e={message:e});var n,i={position:ie.defaultToastPosition||"is-top"};e.parent&&(t=e.parent,delete e.parent),Array.isArray(e.message)&&(n=e.message,delete e.message);var a=V(i,e),r="undefined"!==typeof window&&window.Vue?window.Vue:nv||ee,o=r.extend(iv),s=new o({parent:t,el:document.createElement("div"),propsData:a});return n&&(s.$slots.default=n,s.$forceUpdate()),s}},rv={install:function(e){nv=e,ue(e,"toast",av)}};le(rv);var ov=rv,sv={install:function(e){ce(e,xa)}};le(sv);var lv=sv,cv={name:"BUpload",mixins:[de],inheritAttrs:!1,props:{value:{type:[Object,Function,ys,Array]},multiple:Boolean,disabled:Boolean,accept:String,dragDrop:Boolean,type:{type:String,default:"is-primary"},native:{type:Boolean,default:!1},expanded:{type:Boolean,default:!1},rounded:{type:Boolean,default:!1}},data:function(){return{newValue:this.value,dragDropFocus:!1,_elementRef:"input"}},watch:{value:function(e){this.newValue=e,(!e||Array.isArray(e)&&0===e.length)&&(this.$refs.input.value=null),!this.isValid&&!this.dragDrop&&this.checkHtml5Validity()}},methods:{onFileChange:function(e){if(!this.disabled&&!this.loading){this.dragDrop&&this.updateDragDropFocus(!1);var t=e.target.files||e.dataTransfer.files;if(0===t.length){if(!this.newValue)return;this.native&&(this.newValue=null)}else if(this.multiple){var n=!1;!this.native&&this.newValue||(this.newValue=[],n=!0);for(var i=0;i1&&void 0!==arguments[1]?arguments[1]:{};for(var n in re(e),ae(V(ie,t,!0)),Cv)e.use(Cv[n]);ue(e,"config",kv),e.prototype.$buefy.globalNoticeInterval=null}};le(Sv);var _v=Sv},588:function(){},345:function(e,t,n){"use strict";function i(e,t){for(var n in t)e[n]=t[n];return e}n.d(t,{ZP:function(){return Ct}});var a=/[!'()*]/g,r=function(e){return"%"+e.charCodeAt(0).toString(16)},o=/%2C/g,s=function(e){return encodeURIComponent(e).replace(a,r).replace(o,",")};function l(e){try{return decodeURIComponent(e)}catch(t){0}return e}function c(e,t,n){void 0===t&&(t={});var i,a=n||d;try{i=a(e||"")}catch(s){i={}}for(var r in t){var o=t[r];i[r]=Array.isArray(o)?o.map(u):u(o)}return i}var u=function(e){return null==e||"object"===typeof e?e:String(e)};function d(e){var t={};return e=e.trim().replace(/^(\?|#|&)/,""),e?(e.split("&").forEach((function(e){var n=e.replace(/\+/g," ").split("="),i=l(n.shift()),a=n.length>0?l(n.join("=")):null;void 0===t[i]?t[i]=a:Array.isArray(t[i])?t[i].push(a):t[i]=[t[i],a]})),t):t}function h(e){var t=e?Object.keys(e).map((function(t){var n=e[t];if(void 0===n)return"";if(null===n)return s(t);if(Array.isArray(n)){var i=[];return n.forEach((function(e){void 0!==e&&(null===e?i.push(s(t)):i.push(s(t)+"="+s(e)))})),i.join("&")}return s(t)+"="+s(n)})).filter((function(e){return e.length>0})).join("&"):null;return t?"?"+t:""}var f=/\/?$/;function p(e,t,n,i){var a=i&&i.options.stringifyQuery,r=t.query||{};try{r=v(r)}catch(s){}var o={name:t.name||e&&e.name,meta:e&&e.meta||{},path:t.path||"/",hash:t.hash||"",query:r,params:t.params||{},fullPath:y(t,a),matched:e?g(e):[]};return n&&(o.redirectedFrom=y(n,a)),Object.freeze(o)}function v(e){if(Array.isArray(e))return e.map(v);if(e&&"object"===typeof e){var t={};for(var n in e)t[n]=v(e[n]);return t}return e}var m=p(null,{path:"/"});function g(e){var t=[];while(e)t.unshift(e),e=e.parent;return t}function y(e,t){var n=e.path,i=e.query;void 0===i&&(i={});var a=e.hash;void 0===a&&(a="");var r=t||h;return(n||"/")+r(i)+a}function b(e,t,n){return t===m?e===t:!!t&&(e.path&&t.path?e.path.replace(f,"")===t.path.replace(f,"")&&(n||e.hash===t.hash&&w(e.query,t.query)):!(!e.name||!t.name)&&(e.name===t.name&&(n||e.hash===t.hash&&w(e.query,t.query)&&w(e.params,t.params))))}function w(e,t){if(void 0===e&&(e={}),void 0===t&&(t={}),!e||!t)return e===t;var n=Object.keys(e).sort(),i=Object.keys(t).sort();return n.length===i.length&&n.every((function(n,a){var r=e[n],o=i[a];if(o!==n)return!1;var s=t[n];return null==r||null==s?r===s:"object"===typeof r&&"object"===typeof s?w(r,s):String(r)===String(s)}))}function k(e,t){return 0===e.path.replace(f,"/").indexOf(t.path.replace(f,"/"))&&(!t.hash||e.hash===t.hash)&&C(e.query,t.query)}function C(e,t){for(var n in t)if(!(n in e))return!1;return!0}function S(e){for(var t=0;t=0&&(t=e.slice(i),e=e.slice(0,i));var a=e.indexOf("?");return a>=0&&(n=e.slice(a+1),e=e.slice(0,a)),{path:e,query:n,hash:t}}function P(e){return e.replace(/\/(?:\s*\/)+/g,"/")}var O=Array.isArray||function(e){return"[object Array]"==Object.prototype.toString.call(e)},M=G,T=N,B=R,E=H,F=X,I=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function N(e,t){var n,i=[],a=0,r=0,o="",s=t&&t.delimiter||"/";while(null!=(n=I.exec(e))){var l=n[0],c=n[1],u=n.index;if(o+=e.slice(r,u),r=u+l.length,c)o+=c[1];else{var d=e[r],h=n[2],f=n[3],p=n[4],v=n[5],m=n[6],g=n[7];o&&(i.push(o),o="");var y=null!=h&&null!=d&&d!==h,b="+"===m||"*"===m,w="?"===m||"*"===m,k=n[2]||s,C=p||v;i.push({name:f||a++,prefix:h||"",delimiter:k,optional:w,repeat:b,partial:y,asterisk:!!g,pattern:C?z(C):g?".*":"[^"+j(k)+"]+?"})}}return r1||!_.length)return 0===_.length?e():e("span",{},_)}if("a"===this.tag)S.on=C,S.attrs={href:l,"aria-current":y};else{var x=oe(this.$slots.default);if(x){x.isStatic=!1;var D=x.data=i({},x.data);for(var $ in D.on=D.on||{},D.on){var A=D.on[$];$ in C&&(D.on[$]=Array.isArray(A)?A:[A])}for(var P in C)P in D.on?D.on[P].push(C[P]):D.on[P]=w;var O=x.data.attrs=i({},x.data.attrs);O.href=l,O["aria-current"]=y}else S.on=C}return e(this.tag,S,this.$slots.default)}};function re(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&(void 0===e.button||0===e.button)){if(e.currentTarget&&e.currentTarget.getAttribute){var t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function oe(e){if(e)for(var t,n=0;n-1&&(s.params[d]=n.params[d]);return s.path=Q(c.path,s.params,'named route "'+l+'"'),h(c,s,o)}if(s.path){s.params={};for(var f=0;f-1}function qe(e,t){return We(e)&&e._isRouter&&(null==t||e.type===t)}function Ye(e,t,n){var i=function(a){a>=e.length?n():e[a]?t(e[a],(function(){i(a+1)})):i(a+1)};i(0)}function Ke(e){return function(t,n,i){var a=!1,r=0,o=null;Xe(e,(function(e,t,n,s){if("function"===typeof e&&void 0===e.cid){a=!0,r++;var l,c=Ze((function(t){Qe(t)&&(t=t.default),e.resolved="function"===typeof t?t:ee.extend(t),n.components[s]=t,r--,r<=0&&i()})),u=Ze((function(e){var t="Failed to resolve async component "+s+": "+e;o||(o=We(e)?e:new Error(t),i(o))}));try{l=e(c,u)}catch(h){u(h)}if(l)if("function"===typeof l.then)l.then(c,u);else{var d=l.component;d&&"function"===typeof d.then&&d.then(c,u)}}})),a||i()}}function Xe(e,t){return Ge(e.map((function(e){return Object.keys(e.components).map((function(n){return t(e.components[n],e.instances[n],e,n)}))})))}function Ge(e){return Array.prototype.concat.apply([],e)}var Je="function"===typeof Symbol&&"symbol"===typeof Symbol.toStringTag;function Qe(e){return e.__esModule||Je&&"Module"===e[Symbol.toStringTag]}function Ze(e){var t=!1;return function(){var n=[],i=arguments.length;while(i--)n[i]=arguments[i];if(!t)return t=!0,e.apply(this,n)}}var et=function(e,t){this.router=e,this.base=tt(t),this.current=m,this.pending=null,this.ready=!1,this.readyCbs=[],this.readyErrorCbs=[],this.errorCbs=[],this.listeners=[]};function tt(e){if(!e)if(le){var t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^https?:\/\/[^\/]+/,"")}else e="/";return"/"!==e.charAt(0)&&(e="/"+e),e.replace(/\/$/,"")}function nt(e,t){var n,i=Math.max(e.length,t.length);for(n=0;n0)){var t=this.router,n=t.options.scrollBehavior,i=Ee&&n;i&&this.listeners.push(Ce());var a=function(){var n=e.current,a=dt(e.base);e.current===m&&a===e._startLocation||e.transitionTo(a,(function(e){i&&Se(t,e,n,!0)}))};window.addEventListener("popstate",a),this.listeners.push((function(){window.removeEventListener("popstate",a)}))}},t.prototype.go=function(e){window.history.go(e)},t.prototype.push=function(e,t,n){var i=this,a=this,r=a.current;this.transitionTo(e,(function(e){Fe(P(i.base+e.fullPath)),Se(i.router,e,r,!1),t&&t(e)}),n)},t.prototype.replace=function(e,t,n){var i=this,a=this,r=a.current;this.transitionTo(e,(function(e){Ie(P(i.base+e.fullPath)),Se(i.router,e,r,!1),t&&t(e)}),n)},t.prototype.ensureURL=function(e){if(dt(this.base)!==this.current.fullPath){var t=P(this.base+this.current.fullPath);e?Fe(t):Ie(t)}},t.prototype.getCurrentLocation=function(){return dt(this.base)},t}(et);function dt(e){var t=window.location.pathname,n=t.toLowerCase(),i=e.toLowerCase();return!e||n!==i&&0!==n.indexOf(P(i+"/"))||(t=t.slice(e.length)),(t||"/")+window.location.search+window.location.hash}var ht=function(e){function t(t,n,i){e.call(this,t,n),i&&ft(this.base)||pt()}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.setupListeners=function(){var e=this;if(!(this.listeners.length>0)){var t=this.router,n=t.options.scrollBehavior,i=Ee&&n;i&&this.listeners.push(Ce());var a=function(){var t=e.current;pt()&&e.transitionTo(vt(),(function(n){i&&Se(e.router,n,t,!0),Ee||yt(n.fullPath)}))},r=Ee?"popstate":"hashchange";window.addEventListener(r,a),this.listeners.push((function(){window.removeEventListener(r,a)}))}},t.prototype.push=function(e,t,n){var i=this,a=this,r=a.current;this.transitionTo(e,(function(e){gt(e.fullPath),Se(i.router,e,r,!1),t&&t(e)}),n)},t.prototype.replace=function(e,t,n){var i=this,a=this,r=a.current;this.transitionTo(e,(function(e){yt(e.fullPath),Se(i.router,e,r,!1),t&&t(e)}),n)},t.prototype.go=function(e){window.history.go(e)},t.prototype.ensureURL=function(e){var t=this.current.fullPath;vt()!==t&&(e?gt(t):yt(t))},t.prototype.getCurrentLocation=function(){return vt()},t}(et);function ft(e){var t=dt(e);if(!/^\/#/.test(t))return window.location.replace(P(e+"/#"+t)),!0}function pt(){var e=vt();return"/"===e.charAt(0)||(yt("/"+e),!1)}function vt(){var e=window.location.href,t=e.indexOf("#");return t<0?"":(e=e.slice(t+1),e)}function mt(e){var t=window.location.href,n=t.indexOf("#"),i=n>=0?t.slice(0,n):t;return i+"#"+e}function gt(e){Ee?Fe(mt(e)):window.location.hash=e}function yt(e){Ee?Ie(mt(e)):window.location.replace(mt(e))}var bt=function(e){function t(t,n){e.call(this,t,n),this.stack=[],this.index=-1}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.push=function(e,t,n){var i=this;this.transitionTo(e,(function(e){i.stack=i.stack.slice(0,i.index+1).concat(e),i.index++,t&&t(e)}),n)},t.prototype.replace=function(e,t,n){var i=this;this.transitionTo(e,(function(e){i.stack=i.stack.slice(0,i.index).concat(e),t&&t(e)}),n)},t.prototype.go=function(e){var t=this,n=this.index+e;if(!(n<0||n>=this.stack.length)){var i=this.stack[n];this.confirmTransition(i,(function(){var e=t.current;t.index=n,t.updateRoute(i),t.router.afterHooks.forEach((function(t){t&&t(i,e)}))}),(function(e){qe(e,Ne.duplicated)&&(t.index=n)}))}},t.prototype.getCurrentLocation=function(){var e=this.stack[this.stack.length-1];return e?e.fullPath:"/"},t.prototype.ensureURL=function(){},t}(et),wt=function(e){void 0===e&&(e={}),this.app=null,this.apps=[],this.options=e,this.beforeHooks=[],this.resolveHooks=[],this.afterHooks=[],this.matcher=fe(e.routes||[],this);var t=e.mode||"hash";switch(this.fallback="history"===t&&!Ee&&!1!==e.fallback,this.fallback&&(t="hash"),le||(t="abstract"),this.mode=t,t){case"history":this.history=new ut(this,e.base);break;case"hash":this.history=new ht(this,e.base,this.fallback);break;case"abstract":this.history=new bt(this,e.base);break;default:0}},kt={currentRoute:{configurable:!0}};wt.prototype.match=function(e,t,n){return this.matcher.match(e,t,n)},kt.currentRoute.get=function(){return this.history&&this.history.current},wt.prototype.init=function(e){var t=this;if(this.apps.push(e),e.$once("hook:destroyed",(function(){var n=t.apps.indexOf(e);n>-1&&t.apps.splice(n,1),t.app===e&&(t.app=t.apps[0]||null),t.app||t.history.teardown()})),!this.app){this.app=e;var n=this.history;if(n instanceof ut||n instanceof ht){var i=function(e){var i=n.current,a=t.options.scrollBehavior,r=Ee&&a;r&&"fullPath"in e&&Se(t,e,i,!1)},a=function(e){n.setupListeners(),i(e)};n.transitionTo(n.getCurrentLocation(),a,a)}n.listen((function(e){t.apps.forEach((function(t){t._route=e}))}))}},wt.prototype.beforeEach=function(e){return St(this.beforeHooks,e)},wt.prototype.beforeResolve=function(e){return St(this.resolveHooks,e)},wt.prototype.afterEach=function(e){return St(this.afterHooks,e)},wt.prototype.onReady=function(e,t){this.history.onReady(e,t)},wt.prototype.onError=function(e){this.history.onError(e)},wt.prototype.push=function(e,t,n){var i=this;if(!t&&!n&&"undefined"!==typeof Promise)return new Promise((function(t,n){i.history.push(e,t,n)}));this.history.push(e,t,n)},wt.prototype.replace=function(e,t,n){var i=this;if(!t&&!n&&"undefined"!==typeof Promise)return new Promise((function(t,n){i.history.replace(e,t,n)}));this.history.replace(e,t,n)},wt.prototype.go=function(e){this.history.go(e)},wt.prototype.back=function(){this.go(-1)},wt.prototype.forward=function(){this.go(1)},wt.prototype.getMatchedComponents=function(e){var t=e?e.matched?e:this.resolve(e).route:this.currentRoute;return t?[].concat.apply([],t.matched.map((function(e){return Object.keys(e.components).map((function(t){return e.components[t]}))}))):[]},wt.prototype.resolve=function(e,t,n){t=t||this.history.current;var i=Z(e,t,n,this),a=this.match(i,t),r=a.redirectedFrom||a.fullPath,o=this.history.base,s=_t(o,r,this.mode);return{location:i,route:a,href:s,normalizedTo:i,resolved:a}},wt.prototype.getRoutes=function(){return this.matcher.getRoutes()},wt.prototype.addRoute=function(e,t){this.matcher.addRoute(e,t),this.history.current!==m&&this.history.transitionTo(this.history.getCurrentLocation())},wt.prototype.addRoutes=function(e){this.matcher.addRoutes(e),this.history.current!==m&&this.history.transitionTo(this.history.getCurrentLocation())},Object.defineProperties(wt.prototype,kt);var Ct=wt;function St(e,t){return e.push(t),function(){var n=e.indexOf(t);n>-1&&e.splice(n,1)}}function _t(e,t,n){var i="hash"===n?"#"+t:t;return e?P(e+"/"+i):i}wt.install=se,wt.version="3.6.5",wt.isNavigationFailure=qe,wt.NavigationFailureType=Ne,wt.START_LOCATION=m,le&&window.Vue&&window.Vue.use(wt)},144:function(e,t,n){"use strict";n.d(t,{ZP:function(){return Gi}}); -/*! - * Vue.js v2.7.14 - * (c) 2014-2022 Evan You - * Released under the MIT License. - */ -var i=Object.freeze({}),a=Array.isArray;function r(e){return void 0===e||null===e}function o(e){return void 0!==e&&null!==e}function s(e){return!0===e}function l(e){return!1===e}function c(e){return"string"===typeof e||"number"===typeof e||"symbol"===typeof e||"boolean"===typeof e}function u(e){return"function"===typeof e}function d(e){return null!==e&&"object"===typeof e}var h=Object.prototype.toString;function f(e){return"[object Object]"===h.call(e)}function p(e){return"[object RegExp]"===h.call(e)}function v(e){var t=parseFloat(String(e));return t>=0&&Math.floor(t)===t&&isFinite(e)}function m(e){return o(e)&&"function"===typeof e.then&&"function"===typeof e.catch}function g(e){return null==e?"":Array.isArray(e)||f(e)&&e.toString===h?JSON.stringify(e,null,2):String(e)}function y(e){var t=parseFloat(e);return isNaN(t)?e:t}function b(e,t){for(var n=Object.create(null),i=e.split(","),a=0;a-1)return e.splice(i,1)}}var C=Object.prototype.hasOwnProperty;function S(e,t){return C.call(e,t)}function _(e){var t=Object.create(null);return function(n){var i=t[n];return i||(t[n]=e(n))}}var x=/-(\w)/g,D=_((function(e){return e.replace(x,(function(e,t){return t?t.toUpperCase():""}))})),$=_((function(e){return e.charAt(0).toUpperCase()+e.slice(1)})),A=/\B([A-Z])/g,P=_((function(e){return e.replace(A,"-$1").toLowerCase()}));function O(e,t){function n(n){var i=arguments.length;return i?i>1?e.apply(t,arguments):e.call(t,n):e.call(t)}return n._length=e.length,n}function M(e,t){return e.bind(t)}var T=Function.prototype.bind?M:O;function B(e,t){t=t||0;var n=e.length-t,i=new Array(n);while(n--)i[n]=e[n+t];return i}function E(e,t){for(var n in t)e[n]=t[n];return e}function F(e){for(var t={},n=0;n0,ie=ee&&ee.indexOf("edge/")>0;ee&&ee.indexOf("android");var ae=ee&&/iphone|ipad|ipod|ios/.test(ee);ee&&/chrome\/\d+/.test(ee),ee&&/phantomjs/.test(ee);var re,oe=ee&&ee.match(/firefox\/(\d+)/),se={}.watch,le=!1;if(Z)try{var ce={};Object.defineProperty(ce,"passive",{get:function(){le=!0}}),window.addEventListener("test-passive",null,ce)}catch(Jo){}var ue=function(){return void 0===re&&(re=!Z&&"undefined"!==typeof n.g&&(n.g["process"]&&"server"===n.g["process"].env.VUE_ENV)),re},de=Z&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function he(e){return"function"===typeof e&&/native code/.test(e.toString())}var fe,pe="undefined"!==typeof Symbol&&he(Symbol)&&"undefined"!==typeof Reflect&&he(Reflect.ownKeys);fe="undefined"!==typeof Set&&he(Set)?Set:function(){function e(){this.set=Object.create(null)}return e.prototype.has=function(e){return!0===this.set[e]},e.prototype.add=function(e){this.set[e]=!0},e.prototype.clear=function(){this.set=Object.create(null)},e}();var ve=null;function me(e){void 0===e&&(e=null),e||ve&&ve._scope.off(),ve=e,e&&e._scope.on()}var ge=function(){function e(e,t,n,i,a,r,o,s){this.tag=e,this.data=t,this.children=n,this.text=i,this.elm=a,this.ns=void 0,this.context=r,this.fnContext=void 0,this.fnOptions=void 0,this.fnScopeId=void 0,this.key=t&&t.key,this.componentOptions=o,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=s,this.asyncMeta=void 0,this.isAsyncPlaceholder=!1}return Object.defineProperty(e.prototype,"child",{get:function(){return this.componentInstance},enumerable:!1,configurable:!0}),e}(),ye=function(e){void 0===e&&(e="");var t=new ge;return t.text=e,t.isComment=!0,t};function be(e){return new ge(void 0,void 0,void 0,String(e))}function we(e){var t=new ge(e.tag,e.data,e.children&&e.children.slice(),e.text,e.elm,e.context,e.componentOptions,e.asyncFactory);return t.ns=e.ns,t.isStatic=e.isStatic,t.key=e.key,t.isComment=e.isComment,t.fnContext=e.fnContext,t.fnOptions=e.fnOptions,t.fnScopeId=e.fnScopeId,t.asyncMeta=e.asyncMeta,t.isCloned=!0,t}var ke=0,Ce=[],Se=function(){for(var e=0;e0&&(i=st(i,"".concat(t||"","_").concat(n)),ot(i[0])&&ot(u)&&(d[l]=be(u.text+i[0].text),i.shift()),d.push.apply(d,i)):c(i)?ot(u)?d[l]=be(u.text+i):""!==i&&d.push(be(i)):ot(i)&&ot(u)?d[l]=be(u.text+i.text):(s(e._isVList)&&o(i.tag)&&r(i.key)&&o(t)&&(i.key="__vlist".concat(t,"_").concat(n,"__")),d.push(i)));return d}function lt(e,t){var n,i,r,s,l=null;if(a(e)||"string"===typeof e)for(l=new Array(e.length),n=0,i=e.length;n0,s=t?!!t.$stable:!o,l=t&&t.$key;if(t){if(t._normalized)return t._normalized;if(s&&a&&a!==i&&l===a.$key&&!o&&!a.$hasNormal)return a;for(var c in r={},t)t[c]&&"$"!==c[0]&&(r[c]=$t(e,n,c,t[c]))}else r={};for(var u in n)u in r||(r[u]=At(n,u));return t&&Object.isExtensible(t)&&(t._normalized=r),X(r,"$stable",s),X(r,"$key",l),X(r,"$hasNormal",o),r}function $t(e,t,n,i){var r=function(){var t=ve;me(e);var n=arguments.length?i.apply(null,arguments):i({});n=n&&"object"===typeof n&&!a(n)?[n]:rt(n);var r=n&&n[0];return me(t),n&&(!r||1===n.length&&r.isComment&&!xt(r))?void 0:n};return i.proxy&&Object.defineProperty(t,n,{get:r,enumerable:!0,configurable:!0}),r}function At(e,t){return function(){return e[t]}}function Pt(e){var t=e.$options,n=t.setup;if(n){var i=e._setupContext=Ot(e);me(e),De();var a=Xt(n,null,[e._props||je({}),i],e,"setup");if($e(),me(),u(a))t.render=a;else if(d(a))if(e._setupState=a,a.__sfc){var r=e._setupProxy={};for(var o in a)"__sfc"!==o&&qe(r,a,o)}else for(var o in a)K(o)||qe(e,a,o);else 0}}function Ot(e){return{get attrs(){if(!e._attrsProxy){var t=e._attrsProxy={};X(t,"_v_attr_proxy",!0),Mt(t,e.$attrs,i,e,"$attrs")}return e._attrsProxy},get listeners(){if(!e._listenersProxy){var t=e._listenersProxy={};Mt(t,e.$listeners,i,e,"$listeners")}return e._listenersProxy},get slots(){return Bt(e)},emit:T(e.$emit,e),expose:function(t){t&&Object.keys(t).forEach((function(n){return qe(e,t,n)}))}}}function Mt(e,t,n,i,a){var r=!1;for(var o in t)o in e?t[o]!==n[o]&&(r=!0):(r=!0,Tt(e,o,i,a));for(var o in e)o in t||(r=!0,delete e[o]);return r}function Tt(e,t,n,i){Object.defineProperty(e,t,{enumerable:!0,configurable:!0,get:function(){return n[i][t]}})}function Bt(e){return e._slotsProxy||Et(e._slotsProxy={},e.$scopedSlots),e._slotsProxy}function Et(e,t){for(var n in t)e[n]=t[n];for(var n in e)n in t||delete e[n]}function Ft(e){e._vnode=null,e._staticTrees=null;var t=e.$options,n=e.$vnode=t._parentVnode,a=n&&n.context;e.$slots=St(t._renderChildren,a),e.$scopedSlots=n?Dt(e.$parent,n.data.scopedSlots,e.$slots):i,e._c=function(t,n,i,a){return Ut(e,t,n,i,a,!1)},e.$createElement=function(t,n,i,a){return Ut(e,t,n,i,a,!0)};var r=n&&n.data;Re(e,"$attrs",r&&r.attrs||i,null,!0),Re(e,"$listeners",t._parentListeners||i,null,!0)}var It=null;function Nt(e){Ct(e.prototype),e.prototype.$nextTick=function(e){return ln(e,this)},e.prototype._render=function(){var e,t=this,n=t.$options,i=n.render,r=n._parentVnode;r&&t._isMounted&&(t.$scopedSlots=Dt(t.$parent,r.data.scopedSlots,t.$slots,t.$scopedSlots),t._slotsProxy&&Et(t._slotsProxy,t.$scopedSlots)),t.$vnode=r;try{me(t),It=t,e=i.call(t._renderProxy,t.$createElement)}catch(Jo){Kt(Jo,t,"render"),e=t._vnode}finally{It=null,me()}return a(e)&&1===e.length&&(e=e[0]),e instanceof ge||(e=ye()),e.parent=r,e}}function Rt(e,t){return(e.__esModule||pe&&"Module"===e[Symbol.toStringTag])&&(e=e.default),d(e)?t.extend(e):e}function Lt(e,t,n,i,a){var r=ye();return r.asyncFactory=e,r.asyncMeta={data:t,context:n,children:i,tag:a},r}function Vt(e,t){if(s(e.error)&&o(e.errorComp))return e.errorComp;if(o(e.resolved))return e.resolved;var n=It;if(n&&o(e.owners)&&-1===e.owners.indexOf(n)&&e.owners.push(n),s(e.loading)&&o(e.loadingComp))return e.loadingComp;if(n&&!o(e.owners)){var i=e.owners=[n],a=!0,l=null,c=null;n.$on("hook:destroyed",(function(){return k(i,n)}));var u=function(e){for(var t=0,n=i.length;t1?B(n):n;for(var i=B(arguments,1),a='event handler for "'.concat(e,'"'),r=0,o=n.length;rdocument.createEvent("Event").timeStamp&&(jn=function(){return zn.now()})}var Un=function(e,t){if(e.post){if(!t.post)return 1}else if(t.post)return-1;return e.id-t.id};function Wn(){var e,t;for(Hn=jn(),Rn=!0,En.sort(Un),Ln=0;LnLn&&En[n].id>e.id)n--;En.splice(n+1,0,e)}else En.push(e);Nn||(Nn=!0,ln(Wn))}}function Gn(e){var t=e.$options.provide;if(t){var n=u(t)?t.call(e):t;if(!d(n))return;for(var i=Je(e),a=pe?Reflect.ownKeys(n):Object.keys(n),r=0;r-1)if(r&&!S(a,"default"))o=!1;else if(""===o||o===P(e)){var l=Pi(String,a.type);(l<0||s-1)return this;var n=B(arguments,1);return n.unshift(this),u(e.install)?e.install.apply(e,n):u(e)&&e.apply(null,n),t.push(e),this}}function Qi(e){e.mixin=function(e){return this.options=Ci(this.options,e),this}}function Zi(e){e.cid=0;var t=1;e.extend=function(e){e=e||{};var n=this,i=n.cid,a=e._Ctor||(e._Ctor={});if(a[i])return a[i];var r=ii(e)||ii(n.options);var o=function(e){this._init(e)};return o.prototype=Object.create(n.prototype),o.prototype.constructor=o,o.cid=t++,o.options=Ci(n.options,e),o["super"]=n,o.options.props&&ea(o),o.options.computed&&ta(o),o.extend=n.extend,o.mixin=n.mixin,o.use=n.use,U.forEach((function(e){o[e]=n[e]})),r&&(o.options.components[r]=o),o.superOptions=n.options,o.extendOptions=e,o.sealedOptions=E({},o.options),a[i]=o,o}}function ea(e){var t=e.options.props;for(var n in t)Mi(e.prototype,"_props",n)}function ta(e){var t=e.options.computed;for(var n in t)Ri(e.prototype,n,t[n])}function na(e){U.forEach((function(t){e[t]=function(e,n){return n?("component"===t&&f(n)&&(n.name=n.name||e,n=this.options._base.extend(n)),"directive"===t&&u(n)&&(n={bind:n,update:n}),this.options[t+"s"][e]=n,n):this.options[t+"s"][e]}}))}function ia(e){return e&&(ii(e.Ctor.options)||e.tag)}function aa(e,t){return a(e)?e.indexOf(t)>-1:"string"===typeof e?e.split(",").indexOf(t)>-1:!!p(e)&&e.test(t)}function ra(e,t){var n=e.cache,i=e.keys,a=e._vnode;for(var r in n){var o=n[r];if(o){var s=o.name;s&&!t(s)&&oa(n,r,i,a)}}}function oa(e,t,n,i){var a=e[t];!a||i&&a.tag===i.tag||a.componentInstance.$destroy(),e[t]=null,k(n,t)}qi(Gi),Ui(Gi),Sn(Gi),$n(Gi),Nt(Gi);var sa=[String,RegExp,Array],la={name:"keep-alive",abstract:!0,props:{include:sa,exclude:sa,max:[String,Number]},methods:{cacheVNode:function(){var e=this,t=e.cache,n=e.keys,i=e.vnodeToCache,a=e.keyToCache;if(i){var r=i.tag,o=i.componentInstance,s=i.componentOptions;t[a]={name:ia(s),tag:r,componentInstance:o},n.push(a),this.max&&n.length>parseInt(this.max)&&oa(t,n[0],n,this._vnode),this.vnodeToCache=null}}},created:function(){this.cache=Object.create(null),this.keys=[]},destroyed:function(){for(var e in this.cache)oa(this.cache,e,this.keys)},mounted:function(){var e=this;this.cacheVNode(),this.$watch("include",(function(t){ra(e,(function(e){return aa(t,e)}))})),this.$watch("exclude",(function(t){ra(e,(function(e){return!aa(t,e)}))}))},updated:function(){this.cacheVNode()},render:function(){var e=this.$slots.default,t=Ht(e),n=t&&t.componentOptions;if(n){var i=ia(n),a=this,r=a.include,o=a.exclude;if(r&&(!i||!aa(r,i))||o&&i&&aa(o,i))return t;var s=this,l=s.cache,c=s.keys,u=null==t.key?n.Ctor.cid+(n.tag?"::".concat(n.tag):""):t.key;l[u]?(t.componentInstance=l[u].componentInstance,k(c,u),c.push(u)):(this.vnodeToCache=t,this.keyToCache=u),t.data.keepAlive=!0}return t||e&&e[0]}},ca={KeepAlive:la};function ua(e){var t={get:function(){return q}};Object.defineProperty(e,"config",t),e.util={warn:di,extend:E,mergeOptions:Ci,defineReactive:Re},e.set=Le,e.delete=Ve,e.nextTick=ln,e.observable=function(e){return Ne(e),e},e.options=Object.create(null),U.forEach((function(t){e.options[t+"s"]=Object.create(null)})),e.options._base=e,E(e.options.components,ca),Ji(e),Qi(e),Zi(e),na(e)}ua(Gi),Object.defineProperty(Gi.prototype,"$isServer",{get:ue}),Object.defineProperty(Gi.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(Gi,"FunctionalRenderContext",{value:Zn}),Gi.version=dn;var da=b("style,class"),ha=b("input,textarea,option,select,progress"),fa=function(e,t,n){return"value"===n&&ha(e)&&"button"!==t||"selected"===n&&"option"===e||"checked"===n&&"input"===e||"muted"===n&&"video"===e},pa=b("contenteditable,draggable,spellcheck"),va=b("events,caret,typing,plaintext-only"),ma=function(e,t){return ka(t)||"false"===t?"false":"contenteditable"===e&&va(t)?t:"true"},ga=b("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"),ya="http://www.w3.org/1999/xlink",ba=function(e){return":"===e.charAt(5)&&"xlink"===e.slice(0,5)},wa=function(e){return ba(e)?e.slice(6,e.length):""},ka=function(e){return null==e||!1===e};function Ca(e){var t=e.data,n=e,i=e;while(o(i.componentInstance))i=i.componentInstance._vnode,i&&i.data&&(t=Sa(i.data,t));while(o(n=n.parent))n&&n.data&&(t=Sa(t,n.data));return _a(t.staticClass,t.class)}function Sa(e,t){return{staticClass:xa(e.staticClass,t.staticClass),class:o(e.class)?[e.class,t.class]:t.class}}function _a(e,t){return o(e)||o(t)?xa(e,Da(t)):""}function xa(e,t){return e?t?e+" "+t:e:t||""}function Da(e){return Array.isArray(e)?$a(e):d(e)?Aa(e):"string"===typeof e?e:""}function $a(e){for(var t,n="",i=0,a=e.length;i-1?Ea[e]=t.constructor===window.HTMLUnknownElement||t.constructor===window.HTMLElement:Ea[e]=/HTMLUnknownElement/.test(t.toString())}var Ia=b("text,number,password,search,email,tel,url");function Na(e){if("string"===typeof e){var t=document.querySelector(e);return t||document.createElement("div")}return e}function Ra(e,t){var n=document.createElement(e);return"select"!==e||t.data&&t.data.attrs&&void 0!==t.data.attrs.multiple&&n.setAttribute("multiple","multiple"),n}function La(e,t){return document.createElementNS(Pa[e],t)}function Va(e){return document.createTextNode(e)}function Ha(e){return document.createComment(e)}function ja(e,t,n){e.insertBefore(t,n)}function za(e,t){e.removeChild(t)}function Ua(e,t){e.appendChild(t)}function Wa(e){return e.parentNode}function qa(e){return e.nextSibling}function Ya(e){return e.tagName}function Ka(e,t){e.textContent=t}function Xa(e,t){e.setAttribute(t,"")}var Ga=Object.freeze({__proto__:null,createElement:Ra,createElementNS:La,createTextNode:Va,createComment:Ha,insertBefore:ja,removeChild:za,appendChild:Ua,parentNode:Wa,nextSibling:qa,tagName:Ya,setTextContent:Ka,setStyleScope:Xa}),Ja={create:function(e,t){Qa(t)},update:function(e,t){e.data.ref!==t.data.ref&&(Qa(e,!0),Qa(t))},destroy:function(e){Qa(e,!0)}};function Qa(e,t){var n=e.data.ref;if(o(n)){var i=e.context,r=e.componentInstance||e.elm,s=t?null:r,l=t?void 0:r;if(u(n))Xt(n,i,[s],i,"template ref function");else{var c=e.data.refInFor,d="string"===typeof n||"number"===typeof n,h=We(n),f=i.$refs;if(d||h)if(c){var p=d?f[n]:n.value;t?a(p)&&k(p,r):a(p)?p.includes(r)||p.push(r):d?(f[n]=[r],Za(i,n,f[n])):n.value=[r]}else if(d){if(t&&f[n]!==r)return;f[n]=l,Za(i,n,s)}else if(h){if(t&&n.value!==r)return;n.value=s}else 0}}}function Za(e,t,n){var i=e._setupState;i&&S(i,t)&&(We(i[t])?i[t].value=n:i[t]=n)}var er=new ge("",{},[]),tr=["create","activate","update","remove","destroy"];function nr(e,t){return e.key===t.key&&e.asyncFactory===t.asyncFactory&&(e.tag===t.tag&&e.isComment===t.isComment&&o(e.data)===o(t.data)&&ir(e,t)||s(e.isAsyncPlaceholder)&&r(t.asyncFactory.error))}function ir(e,t){if("input"!==e.tag)return!0;var n,i=o(n=e.data)&&o(n=n.attrs)&&n.type,a=o(n=t.data)&&o(n=n.attrs)&&n.type;return i===a||Ia(i)&&Ia(a)}function ar(e,t,n){var i,a,r={};for(i=t;i<=n;++i)a=e[i].key,o(a)&&(r[a]=i);return r}function rr(e){var t,n,i={},l=e.modules,u=e.nodeOps;for(t=0;tv?(d=r(n[y+1])?null:n[y+1].elm,_(e,d,n,f,y,i)):f>y&&D(t,h,v)}function P(e,t,n,i){for(var a=n;a-1?mr(e,t,n):ga(t)?ka(n)?e.removeAttribute(t):(n="allowfullscreen"===t&&"EMBED"===e.tagName?"true":t,e.setAttribute(t,n)):pa(t)?e.setAttribute(t,ma(t,n)):ba(t)?ka(n)?e.removeAttributeNS(ya,wa(t)):e.setAttributeNS(ya,t,n):mr(e,t,n)}function mr(e,t,n){if(ka(n))e.removeAttribute(t);else{if(te&&!ne&&"TEXTAREA"===e.tagName&&"placeholder"===t&&""!==n&&!e.__ieph){var i=function(t){t.stopImmediatePropagation(),e.removeEventListener("input",i)};e.addEventListener("input",i),e.__ieph=!0}e.setAttribute(t,n)}}var gr={create:pr,update:pr};function yr(e,t){var n=t.elm,i=t.data,a=e.data;if(!(r(i.staticClass)&&r(i.class)&&(r(a)||r(a.staticClass)&&r(a.class)))){var s=Ca(t),l=n._transitionClasses;o(l)&&(s=xa(s,Da(l))),s!==n._prevClass&&(n.setAttribute("class",s),n._prevClass=s)}}var br,wr={create:yr,update:yr},kr="__r",Cr="__c";function Sr(e){if(o(e[kr])){var t=te?"change":"input";e[t]=[].concat(e[kr],e[t]||[]),delete e[kr]}o(e[Cr])&&(e.change=[].concat(e[Cr],e.change||[]),delete e[Cr])}function _r(e,t,n){var i=br;return function a(){var r=t.apply(null,arguments);null!==r&&$r(e,a,n,i)}}var xr=Zt&&!(oe&&Number(oe[1])<=53);function Dr(e,t,n,i){if(xr){var a=Hn,r=t;t=r._wrapper=function(e){if(e.target===e.currentTarget||e.timeStamp>=a||e.timeStamp<=0||e.target.ownerDocument!==document)return r.apply(this,arguments)}}br.addEventListener(e,t,le?{capture:n,passive:i}:n)}function $r(e,t,n,i){(i||br).removeEventListener(e,t._wrapper||t,n)}function Ar(e,t){if(!r(e.data.on)||!r(t.data.on)){var n=t.data.on||{},i=e.data.on||{};br=t.elm||e.elm,Sr(n),et(n,i,Dr,$r,_r,t.context),br=void 0}}var Pr,Or={create:Ar,update:Ar,destroy:function(e){return Ar(e,er)}};function Mr(e,t){if(!r(e.data.domProps)||!r(t.data.domProps)){var n,i,a=t.elm,l=e.data.domProps||{},c=t.data.domProps||{};for(n in(o(c.__ob__)||s(c._v_attr_proxy))&&(c=t.data.domProps=E({},c)),l)n in c||(a[n]="");for(n in c){if(i=c[n],"textContent"===n||"innerHTML"===n){if(t.children&&(t.children.length=0),i===l[n])continue;1===a.childNodes.length&&a.removeChild(a.childNodes[0])}if("value"===n&&"PROGRESS"!==a.tagName){a._value=i;var u=r(i)?"":String(i);Tr(a,u)&&(a.value=u)}else if("innerHTML"===n&&Ma(a.tagName)&&r(a.innerHTML)){Pr=Pr||document.createElement("div"),Pr.innerHTML="".concat(i,"");var d=Pr.firstChild;while(a.firstChild)a.removeChild(a.firstChild);while(d.firstChild)a.appendChild(d.firstChild)}else if(i!==l[n])try{a[n]=i}catch(Jo){}}}}function Tr(e,t){return!e.composing&&("OPTION"===e.tagName||Br(e,t)||Er(e,t))}function Br(e,t){var n=!0;try{n=document.activeElement!==e}catch(Jo){}return n&&e.value!==t}function Er(e,t){var n=e.value,i=e._vModifiers;if(o(i)){if(i.number)return y(n)!==y(t);if(i.trim)return n.trim()!==t.trim()}return n!==t}var Fr={create:Mr,update:Mr},Ir=_((function(e){var t={},n=/;(?![^(]*\))/g,i=/:(.+)/;return e.split(n).forEach((function(e){if(e){var n=e.split(i);n.length>1&&(t[n[0].trim()]=n[1].trim())}})),t}));function Nr(e){var t=Rr(e.style);return e.staticStyle?E(e.staticStyle,t):t}function Rr(e){return Array.isArray(e)?F(e):"string"===typeof e?Ir(e):e}function Lr(e,t){var n,i={};if(t){var a=e;while(a.componentInstance)a=a.componentInstance._vnode,a&&a.data&&(n=Nr(a.data))&&E(i,n)}(n=Nr(e.data))&&E(i,n);var r=e;while(r=r.parent)r.data&&(n=Nr(r.data))&&E(i,n);return i}var Vr,Hr=/^--/,jr=/\s*!important$/,zr=function(e,t,n){if(Hr.test(t))e.style.setProperty(t,n);else if(jr.test(n))e.style.setProperty(P(t),n.replace(jr,""),"important");else{var i=Wr(t);if(Array.isArray(n))for(var a=0,r=n.length;a-1?t.split(Kr).forEach((function(t){return e.classList.add(t)})):e.classList.add(t);else{var n=" ".concat(e.getAttribute("class")||""," ");n.indexOf(" "+t+" ")<0&&e.setAttribute("class",(n+t).trim())}}function Gr(e,t){if(t&&(t=t.trim()))if(e.classList)t.indexOf(" ")>-1?t.split(Kr).forEach((function(t){return e.classList.remove(t)})):e.classList.remove(t),e.classList.length||e.removeAttribute("class");else{var n=" ".concat(e.getAttribute("class")||""," "),i=" "+t+" ";while(n.indexOf(i)>=0)n=n.replace(i," ");n=n.trim(),n?e.setAttribute("class",n):e.removeAttribute("class")}}function Jr(e){if(e){if("object"===typeof e){var t={};return!1!==e.css&&E(t,Qr(e.name||"v")),E(t,e),t}return"string"===typeof e?Qr(e):void 0}}var Qr=_((function(e){return{enterClass:"".concat(e,"-enter"),enterToClass:"".concat(e,"-enter-to"),enterActiveClass:"".concat(e,"-enter-active"),leaveClass:"".concat(e,"-leave"),leaveToClass:"".concat(e,"-leave-to"),leaveActiveClass:"".concat(e,"-leave-active")}})),Zr=Z&&!ne,eo="transition",to="animation",no="transition",io="transitionend",ao="animation",ro="animationend";Zr&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(no="WebkitTransition",io="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(ao="WebkitAnimation",ro="webkitAnimationEnd"));var oo=Z?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(e){return e()};function so(e){oo((function(){oo(e)}))}function lo(e,t){var n=e._transitionClasses||(e._transitionClasses=[]);n.indexOf(t)<0&&(n.push(t),Xr(e,t))}function co(e,t){e._transitionClasses&&k(e._transitionClasses,t),Gr(e,t)}function uo(e,t,n){var i=fo(e,t),a=i.type,r=i.timeout,o=i.propCount;if(!a)return n();var s=a===eo?io:ro,l=0,c=function(){e.removeEventListener(s,u),n()},u=function(t){t.target===e&&++l>=o&&c()};setTimeout((function(){l0&&(n=eo,u=o,d=r.length):t===to?c>0&&(n=to,u=c,d=l.length):(u=Math.max(o,c),n=u>0?o>c?eo:to:null,d=n?n===eo?r.length:l.length:0);var h=n===eo&&ho.test(i[no+"Property"]);return{type:n,timeout:u,propCount:d,hasTransform:h}}function po(e,t){while(e.length1}function wo(e,t){!0!==t.data.show&&mo(t)}var ko=Z?{create:wo,activate:wo,remove:function(e,t){!0!==e.data.show?go(e,t):t()}}:{},Co=[gr,wr,Or,Fr,Yr,ko],So=Co.concat(fr),_o=rr({nodeOps:Ga,modules:So});ne&&document.addEventListener("selectionchange",(function(){var e=document.activeElement;e&&e.vmodel&&To(e,"input")}));var xo={inserted:function(e,t,n,i){"select"===n.tag?(i.elm&&!i.elm._vOptions?tt(n,"postpatch",(function(){xo.componentUpdated(e,t,n)})):Do(e,t,n.context),e._vOptions=[].map.call(e.options,Po)):("textarea"===n.tag||Ia(e.type))&&(e._vModifiers=t.modifiers,t.modifiers.lazy||(e.addEventListener("compositionstart",Oo),e.addEventListener("compositionend",Mo),e.addEventListener("change",Mo),ne&&(e.vmodel=!0)))},componentUpdated:function(e,t,n){if("select"===n.tag){Do(e,t,n.context);var i=e._vOptions,a=e._vOptions=[].map.call(e.options,Po);if(a.some((function(e,t){return!L(e,i[t])}))){var r=e.multiple?t.value.some((function(e){return Ao(e,a)})):t.value!==t.oldValue&&Ao(t.value,a);r&&To(e,"change")}}}};function Do(e,t,n){$o(e,t,n),(te||ie)&&setTimeout((function(){$o(e,t,n)}),0)}function $o(e,t,n){var i=t.value,a=e.multiple;if(!a||Array.isArray(i)){for(var r,o,s=0,l=e.options.length;s-1,o.selected!==r&&(o.selected=r);else if(L(Po(o),i))return void(e.selectedIndex!==s&&(e.selectedIndex=s));a||(e.selectedIndex=-1)}}function Ao(e,t){return t.every((function(t){return!L(t,e)}))}function Po(e){return"_value"in e?e._value:e.value}function Oo(e){e.target.composing=!0}function Mo(e){e.target.composing&&(e.target.composing=!1,To(e.target,"input"))}function To(e,t){var n=document.createEvent("HTMLEvents");n.initEvent(t,!0,!0),e.dispatchEvent(n)}function Bo(e){return!e.componentInstance||e.data&&e.data.transition?e:Bo(e.componentInstance._vnode)}var Eo={bind:function(e,t,n){var i=t.value;n=Bo(n);var a=n.data&&n.data.transition,r=e.__vOriginalDisplay="none"===e.style.display?"":e.style.display;i&&a?(n.data.show=!0,mo(n,(function(){e.style.display=r}))):e.style.display=i?r:"none"},update:function(e,t,n){var i=t.value,a=t.oldValue;if(!i!==!a){n=Bo(n);var r=n.data&&n.data.transition;r?(n.data.show=!0,i?mo(n,(function(){e.style.display=e.__vOriginalDisplay})):go(n,(function(){e.style.display="none"}))):e.style.display=i?e.__vOriginalDisplay:"none"}},unbind:function(e,t,n,i,a){a||(e.style.display=e.__vOriginalDisplay)}},Fo={model:xo,show:Eo},Io={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 No(e){var t=e&&e.componentOptions;return t&&t.Ctor.options.abstract?No(Ht(t.children)):e}function Ro(e){var t={},n=e.$options;for(var i in n.propsData)t[i]=e[i];var a=n._parentListeners;for(var i in a)t[D(i)]=a[i];return t}function Lo(e,t){if(/\d-keep-alive$/.test(t.tag))return e("keep-alive",{props:t.componentOptions.propsData})}function Vo(e){while(e=e.parent)if(e.data.transition)return!0}function Ho(e,t){return t.key===e.key&&t.tag===e.tag}var jo=function(e){return e.tag||xt(e)},zo=function(e){return"show"===e.name},Uo={name:"transition",props:Io,abstract:!0,render:function(e){var t=this,n=this.$slots.default;if(n&&(n=n.filter(jo),n.length)){0;var i=this.mode;0;var a=n[0];if(Vo(this.$vnode))return a;var r=No(a);if(!r)return a;if(this._leaving)return Lo(e,a);var o="__transition-".concat(this._uid,"-");r.key=null==r.key?r.isComment?o+"comment":o+r.tag:c(r.key)?0===String(r.key).indexOf(o)?r.key:o+r.key:r.key;var s=(r.data||(r.data={})).transition=Ro(this),l=this._vnode,u=No(l);if(r.data.directives&&r.data.directives.some(zo)&&(r.data.show=!0),u&&u.data&&!Ho(r,u)&&!xt(u)&&(!u.componentInstance||!u.componentInstance._vnode.isComment)){var d=u.data.transition=E({},s);if("out-in"===i)return this._leaving=!0,tt(d,"afterLeave",(function(){t._leaving=!1,t.$forceUpdate()})),Lo(e,a);if("in-out"===i){if(xt(r))return l;var h,f=function(){h()};tt(s,"afterEnter",f),tt(s,"enterCancelled",f),tt(d,"delayLeave",(function(e){h=e}))}}return a}}},Wo=E({tag:String,moveClass:String},Io);delete Wo.mode;var qo={props:Wo,beforeMount:function(){var e=this,t=this._update;this._update=function(n,i){var a=xn(e);e.__patch__(e._vnode,e.kept,!1,!0),e._vnode=e.kept,a(),t.call(e,n,i)}},render:function(e){for(var t=this.tag||this.$vnode.data.tag||"span",n=Object.create(null),i=this.prevChildren=this.children,a=this.$slots.default||[],r=this.children=[],o=Ro(this),s=0;s=2)e.mixin({beforeCreate:i});else{var n=e.prototype._init;e.prototype._init=function(e){void 0===e&&(e={}),e.init=e.init?[i].concat(e.init):i,n.call(this,e)}}function i(){var e=this.$options;e.store?this.$store="function"===typeof e.store?e.store():e.store:e.parent&&e.parent.$store&&(this.$store=e.parent.$store)}}var a="undefined"!==typeof window?window:"undefined"!==typeof n.g?n.g:{},r=a.__VUE_DEVTOOLS_GLOBAL_HOOK__;function o(e){r&&(e._devtoolHook=r,r.emit("vuex:init",e),r.on("vuex:travel-to-state",(function(t){e.replaceState(t)})),e.subscribe((function(e,t){r.emit("vuex:mutation",e,t)}),{prepend:!0}),e.subscribeAction((function(e,t){r.emit("vuex:action",e,t)}),{prepend:!0}))}function s(e,t){return e.filter(t)[0]}function l(e,t){if(void 0===t&&(t=[]),null===e||"object"!==typeof e)return e;var n=s(t,(function(t){return t.original===e}));if(n)return n.copy;var i=Array.isArray(e)?[]:{};return t.push({original:e,copy:i}),Object.keys(e).forEach((function(n){i[n]=l(e[n],t)})),i}function c(e,t){Object.keys(e).forEach((function(n){return t(e[n],n)}))}function u(e){return null!==e&&"object"===typeof e}function d(e){return e&&"function"===typeof e.then}function h(e,t){return function(){return e(t)}}var f=function(e,t){this.runtime=t,this._children=Object.create(null),this._rawModule=e;var n=e.state;this.state=("function"===typeof n?n():n)||{}},p={namespaced:{configurable:!0}};p.namespaced.get=function(){return!!this._rawModule.namespaced},f.prototype.addChild=function(e,t){this._children[e]=t},f.prototype.removeChild=function(e){delete this._children[e]},f.prototype.getChild=function(e){return this._children[e]},f.prototype.hasChild=function(e){return e in this._children},f.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)},f.prototype.forEachChild=function(e){c(this._children,e)},f.prototype.forEachGetter=function(e){this._rawModule.getters&&c(this._rawModule.getters,e)},f.prototype.forEachAction=function(e){this._rawModule.actions&&c(this._rawModule.actions,e)},f.prototype.forEachMutation=function(e){this._rawModule.mutations&&c(this._rawModule.mutations,e)},Object.defineProperties(f.prototype,p);var v=function(e){this.register([],e,!1)};function m(e,t,n){if(t.update(n),n.modules)for(var i in n.modules){if(!t.getChild(i))return void 0;m(e.concat(i),t.getChild(i),n.modules[i])}}v.prototype.get=function(e){return e.reduce((function(e,t){return e.getChild(t)}),this.root)},v.prototype.getNamespace=function(e){var t=this.root;return e.reduce((function(e,n){return t=t.getChild(n),e+(t.namespaced?n+"/":"")}),"")},v.prototype.update=function(e){m([],this.root,e)},v.prototype.register=function(e,t,n){var i=this;void 0===n&&(n=!0);var a=new f(t,n);if(0===e.length)this.root=a;else{var r=this.get(e.slice(0,-1));r.addChild(e[e.length-1],a)}t.modules&&c(t.modules,(function(t,a){i.register(e.concat(a),t,n)}))},v.prototype.unregister=function(e){var t=this.get(e.slice(0,-1)),n=e[e.length-1],i=t.getChild(n);i&&i.runtime&&t.removeChild(n)},v.prototype.isRegistered=function(e){var t=this.get(e.slice(0,-1)),n=e[e.length-1];return!!t&&t.hasChild(n)};var g;var y=function(e){var t=this;void 0===e&&(e={}),!g&&"undefined"!==typeof window&&window.Vue&&T(window.Vue);var n=e.plugins;void 0===n&&(n=[]);var i=e.strict;void 0===i&&(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 v(e),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._watcherVM=new g,this._makeLocalGettersCache=Object.create(null);var a=this,r=this,s=r.dispatch,l=r.commit;this.dispatch=function(e,t){return s.call(a,e,t)},this.commit=function(e,t,n){return l.call(a,e,t,n)},this.strict=i;var c=this._modules.root.state;S(this,c,[],this._modules.root),C(this,c),n.forEach((function(e){return e(t)}));var u=void 0!==e.devtools?e.devtools:g.config.devtools;u&&o(this)},b={state:{configurable:!0}};function w(e,t,n){return t.indexOf(e)<0&&(n&&n.prepend?t.unshift(e):t.push(e)),function(){var n=t.indexOf(e);n>-1&&t.splice(n,1)}}function k(e,t){e._actions=Object.create(null),e._mutations=Object.create(null),e._wrappedGetters=Object.create(null),e._modulesNamespaceMap=Object.create(null);var n=e.state;S(e,n,[],e._modules.root,!0),C(e,n,t)}function C(e,t,n){var i=e._vm;e.getters={},e._makeLocalGettersCache=Object.create(null);var a=e._wrappedGetters,r={};c(a,(function(t,n){r[n]=h(t,e),Object.defineProperty(e.getters,n,{get:function(){return e._vm[n]},enumerable:!0})}));var o=g.config.silent;g.config.silent=!0,e._vm=new g({data:{$$state:t},computed:r}),g.config.silent=o,e.strict&&P(e),i&&(n&&e._withCommit((function(){i._data.$$state=null})),g.nextTick((function(){return i.$destroy()})))}function S(e,t,n,i,a){var r=!n.length,o=e._modules.getNamespace(n);if(i.namespaced&&(e._modulesNamespaceMap[o],e._modulesNamespaceMap[o]=i),!r&&!a){var s=O(t,n.slice(0,-1)),l=n[n.length-1];e._withCommit((function(){g.set(s,l,i.state)}))}var c=i.context=_(e,o,n);i.forEachMutation((function(t,n){var i=o+n;D(e,i,t,c)})),i.forEachAction((function(t,n){var i=t.root?n:o+n,a=t.handler||t;$(e,i,a,c)})),i.forEachGetter((function(t,n){var i=o+n;A(e,i,t,c)})),i.forEachChild((function(i,r){S(e,t,n.concat(r),i,a)}))}function _(e,t,n){var i=""===t,a={dispatch:i?e.dispatch:function(n,i,a){var r=M(n,i,a),o=r.payload,s=r.options,l=r.type;return s&&s.root||(l=t+l),e.dispatch(l,o)},commit:i?e.commit:function(n,i,a){var r=M(n,i,a),o=r.payload,s=r.options,l=r.type;s&&s.root||(l=t+l),e.commit(l,o,s)}};return Object.defineProperties(a,{getters:{get:i?function(){return e.getters}:function(){return x(e,t)}},state:{get:function(){return O(e.state,n)}}}),a}function x(e,t){if(!e._makeLocalGettersCache[t]){var n={},i=t.length;Object.keys(e.getters).forEach((function(a){if(a.slice(0,i)===t){var r=a.slice(i);Object.defineProperty(n,r,{get:function(){return e.getters[a]},enumerable:!0})}})),e._makeLocalGettersCache[t]=n}return e._makeLocalGettersCache[t]}function D(e,t,n,i){var a=e._mutations[t]||(e._mutations[t]=[]);a.push((function(t){n.call(e,i.state,t)}))}function $(e,t,n,i){var a=e._actions[t]||(e._actions[t]=[]);a.push((function(t){var a=n.call(e,{dispatch:i.dispatch,commit:i.commit,getters:i.getters,state:i.state,rootGetters:e.getters,rootState:e.state},t);return d(a)||(a=Promise.resolve(a)),e._devtoolHook?a.catch((function(t){throw e._devtoolHook.emit("vuex:error",t),t})):a}))}function A(e,t,n,i){e._wrappedGetters[t]||(e._wrappedGetters[t]=function(e){return n(i.state,i.getters,e.state,e.getters)})}function P(e){e._vm.$watch((function(){return this._data.$$state}),(function(){0}),{deep:!0,sync:!0})}function O(e,t){return t.reduce((function(e,t){return e[t]}),e)}function M(e,t,n){return u(e)&&e.type&&(n=t,t=e,e=e.type),{type:e,payload:t,options:n}}function T(e){g&&e===g||(g=e,i(g))}b.state.get=function(){return this._vm._data.$$state},b.state.set=function(e){0},y.prototype.commit=function(e,t,n){var i=this,a=M(e,t,n),r=a.type,o=a.payload,s=(a.options,{type:r,payload:o}),l=this._mutations[r];l&&(this._withCommit((function(){l.forEach((function(e){e(o)}))})),this._subscribers.slice().forEach((function(e){return e(s,i.state)})))},y.prototype.dispatch=function(e,t){var n=this,i=M(e,t),a=i.type,r=i.payload,o={type:a,payload:r},s=this._actions[a];if(s){try{this._actionSubscribers.slice().filter((function(e){return e.before})).forEach((function(e){return e.before(o,n.state)}))}catch(c){0}var l=s.length>1?Promise.all(s.map((function(e){return e(r)}))):s[0](r);return new Promise((function(e,t){l.then((function(t){try{n._actionSubscribers.filter((function(e){return e.after})).forEach((function(e){return e.after(o,n.state)}))}catch(c){0}e(t)}),(function(e){try{n._actionSubscribers.filter((function(e){return e.error})).forEach((function(t){return t.error(o,n.state,e)}))}catch(c){0}t(e)}))}))}},y.prototype.subscribe=function(e,t){return w(e,this._subscribers,t)},y.prototype.subscribeAction=function(e,t){var n="function"===typeof e?{before:e}:e;return w(n,this._actionSubscribers,t)},y.prototype.watch=function(e,t,n){var i=this;return this._watcherVM.$watch((function(){return e(i.state,i.getters)}),t,n)},y.prototype.replaceState=function(e){var t=this;this._withCommit((function(){t._vm._data.$$state=e}))},y.prototype.registerModule=function(e,t,n){void 0===n&&(n={}),"string"===typeof e&&(e=[e]),this._modules.register(e,t),S(this,this.state,e,this._modules.get(e),n.preserveState),C(this,this.state)},y.prototype.unregisterModule=function(e){var t=this;"string"===typeof e&&(e=[e]),this._modules.unregister(e),this._withCommit((function(){var n=O(t.state,e.slice(0,-1));g.delete(n,e[e.length-1])})),k(this)},y.prototype.hasModule=function(e){return"string"===typeof e&&(e=[e]),this._modules.isRegistered(e)},y.prototype.hotUpdate=function(e){this._modules.update(e),k(this,!0)},y.prototype._withCommit=function(e){var t=this._committing;this._committing=!0,e(),this._committing=t},Object.defineProperties(y.prototype,b);var B=V((function(e,t){var n={};return R(t).forEach((function(t){var i=t.key,a=t.val;n[i]=function(){var t=this.$store.state,n=this.$store.getters;if(e){var i=H(this.$store,"mapState",e);if(!i)return;t=i.context.state,n=i.context.getters}return"function"===typeof a?a.call(this,t,n):t[a]},n[i].vuex=!0})),n})),E=V((function(e,t){var n={};return R(t).forEach((function(t){var i=t.key,a=t.val;n[i]=function(){var t=[],n=arguments.length;while(n--)t[n]=arguments[n];var i=this.$store.commit;if(e){var r=H(this.$store,"mapMutations",e);if(!r)return;i=r.context.commit}return"function"===typeof a?a.apply(this,[i].concat(t)):i.apply(this.$store,[a].concat(t))}})),n})),F=V((function(e,t){var n={};return R(t).forEach((function(t){var i=t.key,a=t.val;a=e+a,n[i]=function(){if(!e||H(this.$store,"mapGetters",e))return this.$store.getters[a]},n[i].vuex=!0})),n})),I=V((function(e,t){var n={};return R(t).forEach((function(t){var i=t.key,a=t.val;n[i]=function(){var t=[],n=arguments.length;while(n--)t[n]=arguments[n];var i=this.$store.dispatch;if(e){var r=H(this.$store,"mapActions",e);if(!r)return;i=r.context.dispatch}return"function"===typeof a?a.apply(this,[i].concat(t)):i.apply(this.$store,[a].concat(t))}})),n})),N=function(e){return{mapState:B.bind(null,e),mapGetters:F.bind(null,e),mapMutations:E.bind(null,e),mapActions:I.bind(null,e)}};function R(e){return L(e)?Array.isArray(e)?e.map((function(e){return{key:e,val:e}})):Object.keys(e).map((function(t){return{key:t,val:e[t]}})):[]}function L(e){return Array.isArray(e)||u(e)}function V(e){return function(t,n){return"string"!==typeof t?(n=t,t=""):"/"!==t.charAt(t.length-1)&&(t+="/"),e(t,n)}}function H(e,t,n){var i=e._modulesNamespaceMap[n];return i}function j(e){void 0===e&&(e={});var t=e.collapsed;void 0===t&&(t=!0);var n=e.filter;void 0===n&&(n=function(e,t,n){return!0});var i=e.transformer;void 0===i&&(i=function(e){return e});var a=e.mutationTransformer;void 0===a&&(a=function(e){return e});var r=e.actionFilter;void 0===r&&(r=function(e,t){return!0});var o=e.actionTransformer;void 0===o&&(o=function(e){return e});var s=e.logMutations;void 0===s&&(s=!0);var c=e.logActions;void 0===c&&(c=!0);var u=e.logger;return void 0===u&&(u=console),function(e){var d=l(e.state);"undefined"!==typeof u&&(s&&e.subscribe((function(e,r){var o=l(r);if(n(e,d,o)){var s=W(),c=a(e),h="mutation "+e.type+s;z(u,h,t),u.log("%c prev state","color: #9E9E9E; font-weight: bold",i(d)),u.log("%c mutation","color: #03A9F4; font-weight: bold",c),u.log("%c next state","color: #4CAF50; font-weight: bold",i(o)),U(u)}d=o})),c&&e.subscribeAction((function(e,n){if(r(e,n)){var i=W(),a=o(e),s="action "+e.type+i;z(u,s,t),u.log("%c action","color: #03A9F4; font-weight: bold",a),U(u)}})))}}function z(e,t,n){var i=n?e.groupCollapsed:e.group;try{i.call(e,t)}catch(a){e.log(t)}}function U(e){try{e.groupEnd()}catch(t){e.log("—— log end ——")}}function W(){var e=new Date;return" @ "+Y(e.getHours(),2)+":"+Y(e.getMinutes(),2)+":"+Y(e.getSeconds(),2)+"."+Y(e.getMilliseconds(),3)}function q(e,t){return new Array(t+1).join(e)}function Y(e,t){return q("0",t-e.toString().length)+e}var K={Store:y,install:T,version:"3.6.2",mapState:B,mapMutations:E,mapGetters:F,mapActions:I,createNamespacedHelpers:N,createLogger:j};t["ZP"]=K}}]); -//# sourceMappingURL=chunk-vendors.4d3080e8.js.map \ No newline at end of file diff --git a/web/dist/js/chunk-vendors.4d3080e8.js.map b/web/dist/js/chunk-vendors.4d3080e8.js.map deleted file mode 100644 index 0308f09d..00000000 --- a/web/dist/js/chunk-vendors.4d3080e8.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"js/chunk-vendors.4d3080e8.js","mappings":"kGAMe,SAASA,EACtBC,EACAC,EACAC,EACAC,EACAC,EACAC,EACAC,EACAC,GAGA,IAqBIC,EArBAC,EAAmC,oBAAlBT,EACjBA,EAAcS,QACdT,EAsDJ,GAnDIC,IACFQ,EAAQR,OAASA,EACjBQ,EAAQP,gBAAkBA,EAC1BO,EAAQC,WAAY,GAIlBP,IACFM,EAAQE,YAAa,GAInBN,IACFI,EAAQG,SAAW,UAAYP,GAI7BC,GACFE,EAAO,SAAUK,GAEfA,EACEA,GACCC,KAAKC,QAAUD,KAAKC,OAAOC,YAC3BF,KAAKG,QAAUH,KAAKG,OAAOF,QAAUD,KAAKG,OAAOF,OAAOC,WAEtDH,GAA0C,qBAAxBK,sBACrBL,EAAUK,qBAGRd,GACFA,EAAae,KAAKL,KAAMD,GAGtBA,GAAWA,EAAQO,uBACrBP,EAAQO,sBAAsBC,IAAIf,EAEtC,EAGAG,EAAQa,aAAed,GACdJ,IACTI,EAAOD,EACH,WACAH,EAAae,KACXL,MACCL,EAAQE,WAAaG,KAAKG,OAASH,MAAMS,MAAMC,SAASC,WAE7D,EACErB,GAGFI,EACF,GAAIC,EAAQE,WAAY,CAGtBF,EAAQiB,cAAgBlB,EAExB,IAAImB,EAAiBlB,EAA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ACVM,aAAcA,EACdC,WAAYA,EACZC,WAAYA,EACZC,wBAAyBA,EACzBG,aAAcA,GAGhB,S","sources":["webpack://web/./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js","webpack://web/./node_modules/axios/index.js","webpack://web/./node_modules/axios/lib/adapters/xhr.js","webpack://web/./node_modules/axios/lib/axios.js","webpack://web/./node_modules/axios/lib/cancel/CancelToken.js","webpack://web/./node_modules/axios/lib/cancel/CanceledError.js","webpack://web/./node_modules/axios/lib/cancel/isCancel.js","webpack://web/./node_modules/axios/lib/core/Axios.js","webpack://web/./node_modules/axios/lib/core/AxiosError.js","webpack://web/./node_modules/axios/lib/core/InterceptorManager.js","webpack://web/./node_modules/axios/lib/core/buildFullPath.js","webpack://web/./node_modules/axios/lib/core/dispatchRequest.js","webpack://web/./node_modules/axios/lib/core/mergeConfig.js","webpack://web/./node_modules/axios/lib/core/settle.js","webpack://web/./node_modules/axios/lib/core/transformData.js","webpack://web/./node_modules/axios/lib/defaults/index.js","webpack://web/./node_modules/axios/lib/defaults/transitional.js","webpack://web/./node_modules/axios/lib/env/data.js","webpack://web/./node_modules/axios/lib/helpers/bind.js","webpack://web/./node_modules/axios/lib/helpers/buildURL.js","webpack://web/./node_modules/axios/lib/helpers/combineURLs.js","webpack://web/./node_modules/axios/lib/helpers/cookies.js","webpack://web/./node_modules/axios/lib/helpers/isAbsoluteURL.js","webpack://web/./node_modules/axios/lib/helpers/isAxiosError.js","webpack://web/./node_modules/axios/lib/helpers/isURLSameOrigin.js","webpack://web/./node_modules/axios/lib/helpers/normalizeHeaderName.js","webpack://web/./node_modules/axios/lib/helpers/null.js","webpack://web/./node_modules/axios/lib/helpers/parseHeaders.js","webpack://web/./node_modules/axios/lib/helpers/parseProtocol.js","webpack://web/./node_modules/axios/lib/helpers/spread.js","webpack://web/./node_modules/axios/lib/helpers/toFormData.js","webpack://web/./node_modules/axios/lib/helpers/validator.js","webpack://web/./node_modules/axios/lib/utils.js","webpack://web/./node_modules/buefy/dist/esm/chunk-455cdeae.js","webpack://web/./node_modules/buefy/dist/esm/helpers.js","webpack://web/./node_modules/buefy/dist/esm/chunk-e92e3389.js","webpack://web/./node_modules/buefy/dist/esm/chunk-cca88db8.js","webpack://web/./node_modules/buefy/dist/esm/chunk-17b33cd2.js","webpack://web/./node_modules/buefy/dist/esm/chunk-7e17a637.js","webpack://web/./node_modules/buefy/dist/esm/chunk-72ecb544.js","webpack://web/./node_modules/buefy/dist/esm/chunk-abcf9a94.js","webpack://web/./node_modules/buefy/dist/esm/autocomplete.js","webpack://web/./node_modules/buefy/dist/esm/breadcrumb.js","webpack://web/./node_modules/buefy/dist/esm/chunk-b5576437.js","webpack://web/./node_modules/buefy/dist/esm/button.js","webpack://web/./node_modules/buefy/dist/esm/chunk-60a03517.js","webpack://web/./node_modules/buefy/dist/esm/chunk-493ff0a9.js","webpack://web/./node_modules/buefy/dist/esm/carousel.js","webpack://web/./node_modules/buefy/dist/esm/chunk-2793447b.js","webpack://web/./node_modules/buefy/dist/esm/chunk-4a2008fa.js","webpack://web/./node_modules/buefy/dist/esm/checkbox.js","webpack://web/./node_modules/buefy/dist/esm/collapse.js","webpack://web/./node_modules/buefy/dist/esm/chunk-42f463e6.js","webpack://web/./node_modules/buefy/dist/esm/chunk-6e56b8bc.js","webpack://web/./node_modules/buefy/dist/esm/chunk-ade5b253.js","webpack://web/./node_modules/buefy/dist/esm/chunk-53788519.js","webpack://web/./node_modules/buefy/dist/esm/clockpicker.js","webpack://web/./node_modules/buefy/dist/esm/chunk-4e788733.js","webpack://web/./node_modules/buefy/dist/esm/chunk-9b0b8225.js","webpack://web/./node_modules/buefy/dist/esm/colorpicker.js","webpack://web/./node_modules/buefy/dist/esm/chunk-ea6777b6.js","webpack://web/./node_modules/buefy/dist/esm/datepicker.js","webpack://web/./node_modules/buefy/dist/esm/chunk-35c20328.js","webpack://web/./node_modules/buefy/dist/esm/datetimepicker.js","webpack://web/./node_modules/buefy/dist/esm/chunk-33e1434e.js","webpack://web/./node_modules/buefy/dist/esm/dialog.js","webpack://web/./node_modules/buefy/dist/esm/dropdown.js","webpack://web/./node_modules/buefy/dist/esm/field.js","webpack://web/./node_modules/buefy/dist/esm/icon.js","webpack://web/./node_modules/buefy/dist/esm/image.js","webpack://web/./node_modules/buefy/dist/esm/input.js","webpack://web/./node_modules/buefy/dist/esm/chunk-b9bdb0e4.js","webpack://web/./node_modules/buefy/dist/esm/chunk-6d0f2352.js","webpack://web/./node_modules/buefy/dist/esm/loading.js","webpack://web/./node_modules/buefy/dist/esm/menu.js","webpack://web/./node_modules/buefy/dist/esm/chunk-7bb9107f.js","webpack://web/./node_modules/buefy/dist/esm/message.js","webpack://web/./node_modules/buefy/dist/esm/modal.js","webpack://web/./node_modules/buefy/dist/esm/chunk-a32d1427.js","webpack://web/./node_modules/buefy/dist/esm/notification.js","webpack://web/./node_modules/buefy/dist/esm/navbar.js","webpack://web/./node_modules/buefy/dist/esm/numberinput.js","webpack://web/./node_modules/buefy/dist/esm/chunk-c5284276.js","webpack://web/./node_modules/buefy/dist/esm/pagination.js","webpack://web/./node_modules/buefy/dist/esm/progress.js","webpack://web/./node_modules/buefy/dist/esm/radio.js","webpack://web/./node_modules/buefy/dist/esm/rate.js","webpack://web/./node_modules/buefy/dist/esm/select.js","webpack://web/./node_modules/buefy/dist/esm/skeleton.js","webpack://web/./node_modules/buefy/dist/esm/sidebar.js","webpack://web/./node_modules/buefy/dist/esm/slider.js","webpack://web/./node_modules/buefy/dist/esm/snackbar.js","webpack://web/./node_modules/buefy/dist/esm/chunk-c9c18b2f.js","webpack://web/./node_modules/buefy/dist/esm/chunk-f32d0228.js","webpack://web/./node_modules/buefy/dist/esm/steps.js","webpack://web/./node_modules/buefy/dist/esm/switch.js","webpack://web/./node_modules/buefy/dist/esm/table.js","webpack://web/./node_modules/buefy/dist/esm/tabs.js","webpack://web/./node_modules/buefy/dist/esm/chunk-2f2f0a74.js","webpack://web/./node_modules/buefy/dist/esm/tag.js","webpack://web/./node_modules/buefy/dist/esm/taginput.js","webpack://web/./node_modules/buefy/dist/esm/timepicker.js","webpack://web/./node_modules/buefy/dist/esm/toast.js","webpack://web/./node_modules/buefy/dist/esm/tooltip.js","webpack://web/./node_modules/buefy/dist/esm/upload.js","webpack://web/./node_modules/buefy/dist/esm/config.js","webpack://web/./node_modules/buefy/dist/esm/index.js","webpack://web/./node_modules/vue-router/dist/vue-router.esm.js","webpack://web/./node_modules/vue/dist/vue.runtime.esm.js","webpack://web/./node_modules/vuex/dist/vuex.esm.js"],"sourcesContent":["/* globals __VUE_SSR_CONTEXT__ */\n\n// IMPORTANT: Do NOT use ES2015 features in this file (except for modules).\n// This module is a runtime utility for cleaner component module output and will\n// be included in the final webpack user bundle.\n\nexport default function normalizeComponent (\n scriptExports,\n render,\n staticRenderFns,\n functionalTemplate,\n injectStyles,\n scopeId,\n moduleIdentifier, /* server only */\n shadowMode /* vue-cli only */\n) {\n // Vue.extend constructor export interop\n var options = typeof scriptExports === 'function'\n ? scriptExports.options\n : scriptExports\n\n // render functions\n if (render) {\n options.render = render\n options.staticRenderFns = staticRenderFns\n options._compiled = true\n }\n\n // functional template\n if (functionalTemplate) {\n options.functional = true\n }\n\n // scopedId\n if (scopeId) {\n options._scopeId = 'data-v-' + scopeId\n }\n\n var hook\n if (moduleIdentifier) { // server build\n hook = function (context) {\n // 2.3 injection\n context =\n context || // cached call\n (this.$vnode && this.$vnode.ssrContext) || // stateful\n (this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional\n // 2.2 with runInNewContext: true\n if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {\n context = __VUE_SSR_CONTEXT__\n }\n // inject component styles\n if (injectStyles) {\n injectStyles.call(this, context)\n }\n // register component module identifier for async chunk inferrence\n if (context && context._registeredComponents) {\n context._registeredComponents.add(moduleIdentifier)\n }\n }\n // used by ssr in case component is cached and beforeCreate\n // never gets called\n options._ssrRegister = hook\n } else if (injectStyles) {\n hook = shadowMode\n ? function () {\n injectStyles.call(\n this,\n (options.functional ? this.parent : this).$root.$options.shadowRoot\n )\n }\n : injectStyles\n }\n\n if (hook) {\n if (options.functional) {\n // for template-only hot-reload because in that case the render fn doesn't\n // go through the normalizer\n options._injectStyles = hook\n // register for functional component in vue file\n var originalRender = options.render\n options.render = function renderWithStyleInjection (h, context) {\n hook.call(context)\n return originalRender(h, context)\n }\n } else {\n // inject component registration as beforeCreate hook\n var existing = options.beforeCreate\n options.beforeCreate = existing\n ? [].concat(existing, hook)\n : [hook]\n }\n }\n\n return {\n exports: scriptExports,\n options: options\n }\n}\n","module.exports = require('./lib/axios');","'use strict';\n\nvar utils = require('./../utils');\nvar settle = require('./../core/settle');\nvar cookies = require('./../helpers/cookies');\nvar buildURL = require('./../helpers/buildURL');\nvar buildFullPath = require('../core/buildFullPath');\nvar parseHeaders = require('./../helpers/parseHeaders');\nvar isURLSameOrigin = require('./../helpers/isURLSameOrigin');\nvar transitionalDefaults = require('../defaults/transitional');\nvar AxiosError = require('../core/AxiosError');\nvar CanceledError = require('../cancel/CanceledError');\nvar parseProtocol = require('../helpers/parseProtocol');\n\nmodule.exports = function xhrAdapter(config) {\n return new Promise(function dispatchXhrRequest(resolve, reject) {\n var requestData = config.data;\n var requestHeaders = config.headers;\n var responseType = config.responseType;\n var onCanceled;\n function done() {\n if (config.cancelToken) {\n config.cancelToken.unsubscribe(onCanceled);\n }\n\n if (config.signal) {\n config.signal.removeEventListener('abort', onCanceled);\n }\n }\n\n if (utils.isFormData(requestData) && utils.isStandardBrowserEnv()) {\n delete requestHeaders['Content-Type']; // Let the browser set it\n }\n\n var request = new XMLHttpRequest();\n\n // HTTP basic authentication\n if (config.auth) {\n var username = config.auth.username || '';\n var password = config.auth.password ? unescape(encodeURIComponent(config.auth.password)) : '';\n requestHeaders.Authorization = 'Basic ' + btoa(username + ':' + password);\n }\n\n var fullPath = buildFullPath(config.baseURL, config.url);\n\n request.open(config.method.toUpperCase(), buildURL(fullPath, config.params, config.paramsSerializer), true);\n\n // Set the request timeout in MS\n request.timeout = config.timeout;\n\n function onloadend() {\n if (!request) {\n return;\n }\n // Prepare the response\n var responseHeaders = 'getAllResponseHeaders' in request ? parseHeaders(request.getAllResponseHeaders()) : null;\n var responseData = !responseType || responseType === 'text' || responseType === 'json' ?\n request.responseText : request.response;\n var response = {\n data: responseData,\n status: request.status,\n statusText: request.statusText,\n headers: responseHeaders,\n config: config,\n request: request\n };\n\n settle(function _resolve(value) {\n resolve(value);\n done();\n }, function _reject(err) {\n reject(err);\n done();\n }, response);\n\n // Clean up request\n request = null;\n }\n\n if ('onloadend' in request) {\n // Use onloadend if available\n request.onloadend = onloadend;\n } else {\n // Listen for ready state to emulate onloadend\n request.onreadystatechange = function handleLoad() {\n if (!request || request.readyState !== 4) {\n return;\n }\n\n // The request errored out and we didn't get a response, this will be\n // handled by onerror instead\n // With one exception: request that using file: protocol, most browsers\n // will return status as 0 even though it's a successful request\n if (request.status === 0 && !(request.responseURL && request.responseURL.indexOf('file:') === 0)) {\n return;\n }\n // readystate handler is calling before onerror or ontimeout handlers,\n // so we should call onloadend on the next 'tick'\n setTimeout(onloadend);\n };\n }\n\n // Handle browser request cancellation (as opposed to a manual cancellation)\n request.onabort = function handleAbort() {\n if (!request) {\n return;\n }\n\n reject(new AxiosError('Request aborted', AxiosError.ECONNABORTED, config, request));\n\n // Clean up request\n request = null;\n };\n\n // Handle low level network errors\n request.onerror = function handleError() {\n // Real errors are hidden from us by the browser\n // onerror should only fire if it's a network error\n reject(new AxiosError('Network Error', AxiosError.ERR_NETWORK, config, request, request));\n\n // Clean up request\n request = null;\n };\n\n // Handle timeout\n request.ontimeout = function handleTimeout() {\n var timeoutErrorMessage = config.timeout ? 'timeout of ' + config.timeout + 'ms exceeded' : 'timeout exceeded';\n var transitional = config.transitional || transitionalDefaults;\n if (config.timeoutErrorMessage) {\n timeoutErrorMessage = config.timeoutErrorMessage;\n }\n reject(new AxiosError(\n timeoutErrorMessage,\n transitional.clarifyTimeoutError ? AxiosError.ETIMEDOUT : AxiosError.ECONNABORTED,\n config,\n request));\n\n // Clean up request\n request = null;\n };\n\n // Add xsrf header\n // This is only done if running in a standard browser environment.\n // Specifically not if we're in a web worker, or react-native.\n if (utils.isStandardBrowserEnv()) {\n // Add xsrf header\n var xsrfValue = (config.withCredentials || isURLSameOrigin(fullPath)) && config.xsrfCookieName ?\n cookies.read(config.xsrfCookieName) :\n undefined;\n\n if (xsrfValue) {\n requestHeaders[config.xsrfHeaderName] = xsrfValue;\n }\n }\n\n // Add headers to the request\n if ('setRequestHeader' in request) {\n utils.forEach(requestHeaders, function setRequestHeader(val, key) {\n if (typeof requestData === 'undefined' && key.toLowerCase() === 'content-type') {\n // Remove Content-Type if data is undefined\n delete requestHeaders[key];\n } else {\n // Otherwise add header to the request\n request.setRequestHeader(key, val);\n }\n });\n }\n\n // Add withCredentials to request if needed\n if (!utils.isUndefined(config.withCredentials)) {\n request.withCredentials = !!config.withCredentials;\n }\n\n // Add responseType to request if needed\n if (responseType && responseType !== 'json') {\n request.responseType = config.responseType;\n }\n\n // Handle progress if needed\n if (typeof config.onDownloadProgress === 'function') {\n request.addEventListener('progress', config.onDownloadProgress);\n }\n\n // Not all browsers support upload events\n if (typeof config.onUploadProgress === 'function' && request.upload) {\n request.upload.addEventListener('progress', config.onUploadProgress);\n }\n\n if (config.cancelToken || config.signal) {\n // Handle cancellation\n // eslint-disable-next-line func-names\n onCanceled = function(cancel) {\n if (!request) {\n return;\n }\n reject(!cancel || (cancel && cancel.type) ? new CanceledError() : cancel);\n request.abort();\n request = null;\n };\n\n config.cancelToken && config.cancelToken.subscribe(onCanceled);\n if (config.signal) {\n config.signal.aborted ? onCanceled() : config.signal.addEventListener('abort', onCanceled);\n }\n }\n\n if (!requestData) {\n requestData = null;\n }\n\n var protocol = parseProtocol(fullPath);\n\n if (protocol && [ 'http', 'https', 'file' ].indexOf(protocol) === -1) {\n reject(new AxiosError('Unsupported protocol ' + protocol + ':', AxiosError.ERR_BAD_REQUEST, config));\n return;\n }\n\n\n // Send the request\n request.send(requestData);\n });\n};\n","'use strict';\n\nvar utils = require('./utils');\nvar bind = require('./helpers/bind');\nvar Axios = require('./core/Axios');\nvar mergeConfig = require('./core/mergeConfig');\nvar defaults = require('./defaults');\n\n/**\n * Create an instance of Axios\n *\n * @param {Object} defaultConfig The default config for the instance\n * @return {Axios} A new instance of Axios\n */\nfunction createInstance(defaultConfig) {\n var context = new Axios(defaultConfig);\n var instance = bind(Axios.prototype.request, context);\n\n // Copy axios.prototype to instance\n utils.extend(instance, Axios.prototype, context);\n\n // Copy context to instance\n utils.extend(instance, context);\n\n // Factory for creating new instances\n instance.create = function create(instanceConfig) {\n return createInstance(mergeConfig(defaultConfig, instanceConfig));\n };\n\n return instance;\n}\n\n// Create the default instance to be exported\nvar axios = createInstance(defaults);\n\n// Expose Axios class to allow class inheritance\naxios.Axios = Axios;\n\n// Expose Cancel & CancelToken\naxios.CanceledError = require('./cancel/CanceledError');\naxios.CancelToken = require('./cancel/CancelToken');\naxios.isCancel = require('./cancel/isCancel');\naxios.VERSION = require('./env/data').version;\naxios.toFormData = require('./helpers/toFormData');\n\n// Expose AxiosError class\naxios.AxiosError = require('../lib/core/AxiosError');\n\n// alias for CanceledError for backward compatibility\naxios.Cancel = axios.CanceledError;\n\n// Expose all/spread\naxios.all = function all(promises) {\n return Promise.all(promises);\n};\naxios.spread = require('./helpers/spread');\n\n// Expose isAxiosError\naxios.isAxiosError = require('./helpers/isAxiosError');\n\nmodule.exports = axios;\n\n// Allow use of default import syntax in TypeScript\nmodule.exports.default = axios;\n","'use strict';\n\nvar CanceledError = require('./CanceledError');\n\n/**\n * A `CancelToken` is an object that can be used to request cancellation of an operation.\n *\n * @class\n * @param {Function} executor The executor function.\n */\nfunction CancelToken(executor) {\n if (typeof executor !== 'function') {\n throw new TypeError('executor must be a function.');\n }\n\n var resolvePromise;\n\n this.promise = new Promise(function promiseExecutor(resolve) {\n resolvePromise = resolve;\n });\n\n var token = this;\n\n // eslint-disable-next-line func-names\n this.promise.then(function(cancel) {\n if (!token._listeners) return;\n\n var i;\n var l = token._listeners.length;\n\n for (i = 0; i < l; i++) {\n token._listeners[i](cancel);\n }\n token._listeners = null;\n });\n\n // eslint-disable-next-line func-names\n this.promise.then = function(onfulfilled) {\n var _resolve;\n // eslint-disable-next-line func-names\n var promise = new Promise(function(resolve) {\n token.subscribe(resolve);\n _resolve = resolve;\n }).then(onfulfilled);\n\n promise.cancel = function reject() {\n token.unsubscribe(_resolve);\n };\n\n return promise;\n };\n\n executor(function cancel(message) {\n if (token.reason) {\n // Cancellation has already been requested\n return;\n }\n\n token.reason = new CanceledError(message);\n resolvePromise(token.reason);\n });\n}\n\n/**\n * Throws a `CanceledError` if cancellation has been requested.\n */\nCancelToken.prototype.throwIfRequested = function throwIfRequested() {\n if (this.reason) {\n throw this.reason;\n }\n};\n\n/**\n * Subscribe to the cancel signal\n */\n\nCancelToken.prototype.subscribe = function subscribe(listener) {\n if (this.reason) {\n listener(this.reason);\n return;\n }\n\n if (this._listeners) {\n this._listeners.push(listener);\n } else {\n this._listeners = [listener];\n }\n};\n\n/**\n * Unsubscribe from the cancel signal\n */\n\nCancelToken.prototype.unsubscribe = function unsubscribe(listener) {\n if (!this._listeners) {\n return;\n }\n var index = this._listeners.indexOf(listener);\n if (index !== -1) {\n this._listeners.splice(index, 1);\n }\n};\n\n/**\n * Returns an object that contains a new `CancelToken` and a function that, when called,\n * cancels the `CancelToken`.\n */\nCancelToken.source = function source() {\n var cancel;\n var token = new CancelToken(function executor(c) {\n cancel = c;\n });\n return {\n token: token,\n cancel: cancel\n };\n};\n\nmodule.exports = CancelToken;\n","'use strict';\n\nvar AxiosError = require('../core/AxiosError');\nvar utils = require('../utils');\n\n/**\n * A `CanceledError` is an object that is thrown when an operation is canceled.\n *\n * @class\n * @param {string=} message The message.\n */\nfunction CanceledError(message) {\n // eslint-disable-next-line no-eq-null,eqeqeq\n AxiosError.call(this, message == null ? 'canceled' : message, AxiosError.ERR_CANCELED);\n this.name = 'CanceledError';\n}\n\nutils.inherits(CanceledError, AxiosError, {\n __CANCEL__: true\n});\n\nmodule.exports = CanceledError;\n","'use strict';\n\nmodule.exports = function isCancel(value) {\n return !!(value && value.__CANCEL__);\n};\n","'use strict';\n\nvar utils = require('./../utils');\nvar buildURL = require('../helpers/buildURL');\nvar InterceptorManager = require('./InterceptorManager');\nvar dispatchRequest = require('./dispatchRequest');\nvar mergeConfig = require('./mergeConfig');\nvar buildFullPath = require('./buildFullPath');\nvar validator = require('../helpers/validator');\n\nvar validators = validator.validators;\n/**\n * Create a new instance of Axios\n *\n * @param {Object} instanceConfig The default config for the instance\n */\nfunction Axios(instanceConfig) {\n this.defaults = instanceConfig;\n this.interceptors = {\n request: new InterceptorManager(),\n response: new InterceptorManager()\n };\n}\n\n/**\n * Dispatch a request\n *\n * @param {Object} config The config specific for this request (merged with this.defaults)\n */\nAxios.prototype.request = function request(configOrUrl, config) {\n /*eslint no-param-reassign:0*/\n // Allow for axios('example/url'[, config]) a la fetch API\n if (typeof configOrUrl === 'string') {\n config = config || {};\n config.url = configOrUrl;\n } else {\n config = configOrUrl || {};\n }\n\n config = mergeConfig(this.defaults, config);\n\n // Set config.method\n if (config.method) {\n config.method = config.method.toLowerCase();\n } else if (this.defaults.method) {\n config.method = this.defaults.method.toLowerCase();\n } else {\n config.method = 'get';\n }\n\n var transitional = config.transitional;\n\n if (transitional !== undefined) {\n validator.assertOptions(transitional, {\n silentJSONParsing: validators.transitional(validators.boolean),\n forcedJSONParsing: validators.transitional(validators.boolean),\n clarifyTimeoutError: validators.transitional(validators.boolean)\n }, false);\n }\n\n // filter out skipped interceptors\n var requestInterceptorChain = [];\n var synchronousRequestInterceptors = true;\n this.interceptors.request.forEach(function unshiftRequestInterceptors(interceptor) {\n if (typeof interceptor.runWhen === 'function' && interceptor.runWhen(config) === false) {\n return;\n }\n\n synchronousRequestInterceptors = synchronousRequestInterceptors && interceptor.synchronous;\n\n requestInterceptorChain.unshift(interceptor.fulfilled, interceptor.rejected);\n });\n\n var responseInterceptorChain = [];\n this.interceptors.response.forEach(function pushResponseInterceptors(interceptor) {\n responseInterceptorChain.push(interceptor.fulfilled, interceptor.rejected);\n });\n\n var promise;\n\n if (!synchronousRequestInterceptors) {\n var chain = [dispatchRequest, undefined];\n\n Array.prototype.unshift.apply(chain, requestInterceptorChain);\n chain = chain.concat(responseInterceptorChain);\n\n promise = Promise.resolve(config);\n while (chain.length) {\n promise = promise.then(chain.shift(), chain.shift());\n }\n\n return promise;\n }\n\n\n var newConfig = config;\n while (requestInterceptorChain.length) {\n var onFulfilled = requestInterceptorChain.shift();\n var onRejected = requestInterceptorChain.shift();\n try {\n newConfig = onFulfilled(newConfig);\n } catch (error) {\n onRejected(error);\n break;\n }\n }\n\n try {\n promise = dispatchRequest(newConfig);\n } catch (error) {\n return Promise.reject(error);\n }\n\n while (responseInterceptorChain.length) {\n promise = promise.then(responseInterceptorChain.shift(), responseInterceptorChain.shift());\n }\n\n return promise;\n};\n\nAxios.prototype.getUri = function getUri(config) {\n config = mergeConfig(this.defaults, config);\n var fullPath = buildFullPath(config.baseURL, config.url);\n return buildURL(fullPath, config.params, config.paramsSerializer);\n};\n\n// Provide aliases for supported request methods\nutils.forEach(['delete', 'get', 'head', 'options'], function forEachMethodNoData(method) {\n /*eslint func-names:0*/\n Axios.prototype[method] = function(url, config) {\n return this.request(mergeConfig(config || {}, {\n method: method,\n url: url,\n data: (config || {}).data\n }));\n };\n});\n\nutils.forEach(['post', 'put', 'patch'], function forEachMethodWithData(method) {\n /*eslint func-names:0*/\n\n function generateHTTPMethod(isForm) {\n return function httpMethod(url, data, config) {\n return this.request(mergeConfig(config || {}, {\n method: method,\n headers: isForm ? {\n 'Content-Type': 'multipart/form-data'\n } : {},\n url: url,\n data: data\n }));\n };\n }\n\n Axios.prototype[method] = generateHTTPMethod();\n\n Axios.prototype[method + 'Form'] = generateHTTPMethod(true);\n});\n\nmodule.exports = Axios;\n","'use strict';\n\nvar utils = require('../utils');\n\n/**\n * Create an Error with the specified message, config, error code, request and response.\n *\n * @param {string} message The error message.\n * @param {string} [code] The error code (for example, 'ECONNABORTED').\n * @param {Object} [config] The config.\n * @param {Object} [request] The request.\n * @param {Object} [response] The response.\n * @returns {Error} The created error.\n */\nfunction AxiosError(message, code, config, request, response) {\n Error.call(this);\n this.message = message;\n this.name = 'AxiosError';\n code && (this.code = code);\n config && (this.config = config);\n request && (this.request = request);\n response && (this.response = response);\n}\n\nutils.inherits(AxiosError, Error, {\n toJSON: function toJSON() {\n return {\n // Standard\n message: this.message,\n name: this.name,\n // Microsoft\n description: this.description,\n number: this.number,\n // Mozilla\n fileName: this.fileName,\n lineNumber: this.lineNumber,\n columnNumber: this.columnNumber,\n stack: this.stack,\n // Axios\n config: this.config,\n code: this.code,\n status: this.response && this.response.status ? this.response.status : null\n };\n }\n});\n\nvar prototype = AxiosError.prototype;\nvar descriptors = {};\n\n[\n 'ERR_BAD_OPTION_VALUE',\n 'ERR_BAD_OPTION',\n 'ECONNABORTED',\n 'ETIMEDOUT',\n 'ERR_NETWORK',\n 'ERR_FR_TOO_MANY_REDIRECTS',\n 'ERR_DEPRECATED',\n 'ERR_BAD_RESPONSE',\n 'ERR_BAD_REQUEST',\n 'ERR_CANCELED'\n// eslint-disable-next-line func-names\n].forEach(function(code) {\n descriptors[code] = {value: code};\n});\n\nObject.defineProperties(AxiosError, descriptors);\nObject.defineProperty(prototype, 'isAxiosError', {value: true});\n\n// eslint-disable-next-line func-names\nAxiosError.from = function(error, code, config, request, response, customProps) {\n var axiosError = Object.create(prototype);\n\n utils.toFlatObject(error, axiosError, function filter(obj) {\n return obj !== Error.prototype;\n });\n\n AxiosError.call(axiosError, error.message, code, config, request, response);\n\n axiosError.name = error.name;\n\n customProps && Object.assign(axiosError, customProps);\n\n return axiosError;\n};\n\nmodule.exports = AxiosError;\n","'use strict';\n\nvar utils = require('./../utils');\n\nfunction InterceptorManager() {\n this.handlers = [];\n}\n\n/**\n * Add a new interceptor to the stack\n *\n * @param {Function} fulfilled The function to handle `then` for a `Promise`\n * @param {Function} rejected The function to handle `reject` for a `Promise`\n *\n * @return {Number} An ID used to remove interceptor later\n */\nInterceptorManager.prototype.use = function use(fulfilled, rejected, options) {\n this.handlers.push({\n fulfilled: fulfilled,\n rejected: rejected,\n synchronous: options ? options.synchronous : false,\n runWhen: options ? options.runWhen : null\n });\n return this.handlers.length - 1;\n};\n\n/**\n * Remove an interceptor from the stack\n *\n * @param {Number} id The ID that was returned by `use`\n */\nInterceptorManager.prototype.eject = function eject(id) {\n if (this.handlers[id]) {\n this.handlers[id] = null;\n }\n};\n\n/**\n * Iterate over all the registered interceptors\n *\n * This method is particularly useful for skipping over any\n * interceptors that may have become `null` calling `eject`.\n *\n * @param {Function} fn The function to call for each interceptor\n */\nInterceptorManager.prototype.forEach = function forEach(fn) {\n utils.forEach(this.handlers, function forEachHandler(h) {\n if (h !== null) {\n fn(h);\n }\n });\n};\n\nmodule.exports = InterceptorManager;\n","'use strict';\n\nvar isAbsoluteURL = require('../helpers/isAbsoluteURL');\nvar combineURLs = require('../helpers/combineURLs');\n\n/**\n * Creates a new URL by combining the baseURL with the requestedURL,\n * only when the requestedURL is not already an absolute URL.\n * If the requestURL is absolute, this function returns the requestedURL untouched.\n *\n * @param {string} baseURL The base URL\n * @param {string} requestedURL Absolute or relative URL to combine\n * @returns {string} The combined full path\n */\nmodule.exports = function buildFullPath(baseURL, requestedURL) {\n if (baseURL && !isAbsoluteURL(requestedURL)) {\n return combineURLs(baseURL, requestedURL);\n }\n return requestedURL;\n};\n","'use strict';\n\nvar utils = require('./../utils');\nvar transformData = require('./transformData');\nvar isCancel = require('../cancel/isCancel');\nvar defaults = require('../defaults');\nvar CanceledError = require('../cancel/CanceledError');\n\n/**\n * Throws a `CanceledError` if cancellation has been requested.\n */\nfunction throwIfCancellationRequested(config) {\n if (config.cancelToken) {\n config.cancelToken.throwIfRequested();\n }\n\n if (config.signal && config.signal.aborted) {\n throw new CanceledError();\n }\n}\n\n/**\n * Dispatch a request to the server using the configured adapter.\n *\n * @param {object} config The config that is to be used for the request\n * @returns {Promise} The Promise to be fulfilled\n */\nmodule.exports = function dispatchRequest(config) {\n throwIfCancellationRequested(config);\n\n // Ensure headers exist\n config.headers = config.headers || {};\n\n // Transform request data\n config.data = transformData.call(\n config,\n config.data,\n config.headers,\n config.transformRequest\n );\n\n // Flatten headers\n config.headers = utils.merge(\n config.headers.common || {},\n config.headers[config.method] || {},\n config.headers\n );\n\n utils.forEach(\n ['delete', 'get', 'head', 'post', 'put', 'patch', 'common'],\n function cleanHeaderConfig(method) {\n delete config.headers[method];\n }\n );\n\n var adapter = config.adapter || defaults.adapter;\n\n return adapter(config).then(function onAdapterResolution(response) {\n throwIfCancellationRequested(config);\n\n // Transform response data\n response.data = transformData.call(\n config,\n response.data,\n response.headers,\n config.transformResponse\n );\n\n return response;\n }, function onAdapterRejection(reason) {\n if (!isCancel(reason)) {\n throwIfCancellationRequested(config);\n\n // Transform response data\n if (reason && reason.response) {\n reason.response.data = transformData.call(\n config,\n reason.response.data,\n reason.response.headers,\n config.transformResponse\n );\n }\n }\n\n return Promise.reject(reason);\n });\n};\n","'use strict';\n\nvar utils = require('../utils');\n\n/**\n * Config-specific merge-function which creates a new config-object\n * by merging two configuration objects together.\n *\n * @param {Object} config1\n * @param {Object} config2\n * @returns {Object} New object resulting from merging config2 to config1\n */\nmodule.exports = function mergeConfig(config1, config2) {\n // eslint-disable-next-line no-param-reassign\n config2 = config2 || {};\n var config = {};\n\n function getMergedValue(target, source) {\n if (utils.isPlainObject(target) && utils.isPlainObject(source)) {\n return utils.merge(target, source);\n } else if (utils.isPlainObject(source)) {\n return utils.merge({}, source);\n } else if (utils.isArray(source)) {\n return source.slice();\n }\n return source;\n }\n\n // eslint-disable-next-line consistent-return\n function mergeDeepProperties(prop) {\n if (!utils.isUndefined(config2[prop])) {\n return getMergedValue(config1[prop], config2[prop]);\n } else if (!utils.isUndefined(config1[prop])) {\n return getMergedValue(undefined, config1[prop]);\n }\n }\n\n // eslint-disable-next-line consistent-return\n function valueFromConfig2(prop) {\n if (!utils.isUndefined(config2[prop])) {\n return getMergedValue(undefined, config2[prop]);\n }\n }\n\n // eslint-disable-next-line consistent-return\n function defaultToConfig2(prop) {\n if (!utils.isUndefined(config2[prop])) {\n return getMergedValue(undefined, config2[prop]);\n } else if (!utils.isUndefined(config1[prop])) {\n return getMergedValue(undefined, config1[prop]);\n }\n }\n\n // eslint-disable-next-line consistent-return\n function mergeDirectKeys(prop) {\n if (prop in config2) {\n return getMergedValue(config1[prop], config2[prop]);\n } else if (prop in config1) {\n return getMergedValue(undefined, config1[prop]);\n }\n }\n\n var mergeMap = {\n 'url': valueFromConfig2,\n 'method': valueFromConfig2,\n 'data': valueFromConfig2,\n 'baseURL': defaultToConfig2,\n 'transformRequest': defaultToConfig2,\n 'transformResponse': defaultToConfig2,\n 'paramsSerializer': defaultToConfig2,\n 'timeout': defaultToConfig2,\n 'timeoutMessage': defaultToConfig2,\n 'withCredentials': defaultToConfig2,\n 'adapter': defaultToConfig2,\n 'responseType': defaultToConfig2,\n 'xsrfCookieName': defaultToConfig2,\n 'xsrfHeaderName': defaultToConfig2,\n 'onUploadProgress': defaultToConfig2,\n 'onDownloadProgress': defaultToConfig2,\n 'decompress': defaultToConfig2,\n 'maxContentLength': defaultToConfig2,\n 'maxBodyLength': defaultToConfig2,\n 'beforeRedirect': defaultToConfig2,\n 'transport': defaultToConfig2,\n 'httpAgent': defaultToConfig2,\n 'httpsAgent': defaultToConfig2,\n 'cancelToken': defaultToConfig2,\n 'socketPath': defaultToConfig2,\n 'responseEncoding': defaultToConfig2,\n 'validateStatus': mergeDirectKeys\n };\n\n utils.forEach(Object.keys(config1).concat(Object.keys(config2)), function computeConfigValue(prop) {\n var merge = mergeMap[prop] || mergeDeepProperties;\n var configValue = merge(prop);\n (utils.isUndefined(configValue) && merge !== mergeDirectKeys) || (config[prop] = configValue);\n });\n\n return config;\n};\n","'use strict';\n\nvar AxiosError = require('./AxiosError');\n\n/**\n * Resolve or reject a Promise based on response status.\n *\n * @param {Function} resolve A function that resolves the promise.\n * @param {Function} reject A function that rejects the promise.\n * @param {object} response The response.\n */\nmodule.exports = function settle(resolve, reject, response) {\n var validateStatus = response.config.validateStatus;\n if (!response.status || !validateStatus || validateStatus(response.status)) {\n resolve(response);\n } else {\n reject(new AxiosError(\n 'Request failed with status code ' + response.status,\n [AxiosError.ERR_BAD_REQUEST, AxiosError.ERR_BAD_RESPONSE][Math.floor(response.status / 100) - 4],\n response.config,\n response.request,\n response\n ));\n }\n};\n","'use strict';\n\nvar utils = require('./../utils');\nvar defaults = require('../defaults');\n\n/**\n * Transform the data for a request or a response\n *\n * @param {Object|String} data The data to be transformed\n * @param {Array} headers The headers for the request or response\n * @param {Array|Function} fns A single function or Array of functions\n * @returns {*} The resulting transformed data\n */\nmodule.exports = function transformData(data, headers, fns) {\n var context = this || defaults;\n /*eslint no-param-reassign:0*/\n utils.forEach(fns, function transform(fn) {\n data = fn.call(context, data, headers);\n });\n\n return data;\n};\n","'use strict';\n\nvar utils = require('../utils');\nvar normalizeHeaderName = require('../helpers/normalizeHeaderName');\nvar AxiosError = require('../core/AxiosError');\nvar transitionalDefaults = require('./transitional');\nvar toFormData = require('../helpers/toFormData');\n\nvar DEFAULT_CONTENT_TYPE = {\n 'Content-Type': 'application/x-www-form-urlencoded'\n};\n\nfunction setContentTypeIfUnset(headers, value) {\n if (!utils.isUndefined(headers) && utils.isUndefined(headers['Content-Type'])) {\n headers['Content-Type'] = value;\n }\n}\n\nfunction getDefaultAdapter() {\n var adapter;\n if (typeof XMLHttpRequest !== 'undefined') {\n // For browsers use XHR adapter\n adapter = require('../adapters/xhr');\n } else if (typeof process !== 'undefined' && Object.prototype.toString.call(process) === '[object process]') {\n // For node use HTTP adapter\n adapter = require('../adapters/http');\n }\n return adapter;\n}\n\nfunction stringifySafely(rawValue, parser, encoder) {\n if (utils.isString(rawValue)) {\n try {\n (parser || JSON.parse)(rawValue);\n return utils.trim(rawValue);\n } catch (e) {\n if (e.name !== 'SyntaxError') {\n throw e;\n }\n }\n }\n\n return (encoder || JSON.stringify)(rawValue);\n}\n\nvar defaults = {\n\n transitional: transitionalDefaults,\n\n adapter: getDefaultAdapter(),\n\n transformRequest: [function transformRequest(data, headers) {\n normalizeHeaderName(headers, 'Accept');\n normalizeHeaderName(headers, 'Content-Type');\n\n if (utils.isFormData(data) ||\n utils.isArrayBuffer(data) ||\n utils.isBuffer(data) ||\n utils.isStream(data) ||\n utils.isFile(data) ||\n utils.isBlob(data)\n ) {\n return data;\n }\n if (utils.isArrayBufferView(data)) {\n return data.buffer;\n }\n if (utils.isURLSearchParams(data)) {\n setContentTypeIfUnset(headers, 'application/x-www-form-urlencoded;charset=utf-8');\n return data.toString();\n }\n\n var isObjectPayload = utils.isObject(data);\n var contentType = headers && headers['Content-Type'];\n\n var isFileList;\n\n if ((isFileList = utils.isFileList(data)) || (isObjectPayload && contentType === 'multipart/form-data')) {\n var _FormData = this.env && this.env.FormData;\n return toFormData(isFileList ? {'files[]': data} : data, _FormData && new _FormData());\n } else if (isObjectPayload || contentType === 'application/json') {\n setContentTypeIfUnset(headers, 'application/json');\n return stringifySafely(data);\n }\n\n return data;\n }],\n\n transformResponse: [function transformResponse(data) {\n var transitional = this.transitional || defaults.transitional;\n var silentJSONParsing = transitional && transitional.silentJSONParsing;\n var forcedJSONParsing = transitional && transitional.forcedJSONParsing;\n var strictJSONParsing = !silentJSONParsing && this.responseType === 'json';\n\n if (strictJSONParsing || (forcedJSONParsing && utils.isString(data) && data.length)) {\n try {\n return JSON.parse(data);\n } catch (e) {\n if (strictJSONParsing) {\n if (e.name === 'SyntaxError') {\n throw AxiosError.from(e, AxiosError.ERR_BAD_RESPONSE, this, null, this.response);\n }\n throw e;\n }\n }\n }\n\n return data;\n }],\n\n /**\n * A timeout in milliseconds to abort a request. If set to 0 (default) a\n * timeout is not created.\n */\n timeout: 0,\n\n xsrfCookieName: 'XSRF-TOKEN',\n xsrfHeaderName: 'X-XSRF-TOKEN',\n\n maxContentLength: -1,\n maxBodyLength: -1,\n\n env: {\n FormData: require('./env/FormData')\n },\n\n validateStatus: function validateStatus(status) {\n return status >= 200 && status < 300;\n },\n\n headers: {\n common: {\n 'Accept': 'application/json, text/plain, */*'\n }\n }\n};\n\nutils.forEach(['delete', 'get', 'head'], function forEachMethodNoData(method) {\n defaults.headers[method] = {};\n});\n\nutils.forEach(['post', 'put', 'patch'], function forEachMethodWithData(method) {\n defaults.headers[method] = utils.merge(DEFAULT_CONTENT_TYPE);\n});\n\nmodule.exports = defaults;\n","'use strict';\n\nmodule.exports = {\n silentJSONParsing: true,\n forcedJSONParsing: true,\n clarifyTimeoutError: false\n};\n","module.exports = {\n \"version\": \"0.27.2\"\n};","'use strict';\n\nmodule.exports = function bind(fn, thisArg) {\n return function wrap() {\n var args = new Array(arguments.length);\n for (var i = 0; i < args.length; i++) {\n args[i] = arguments[i];\n }\n return fn.apply(thisArg, args);\n };\n};\n","'use strict';\n\nvar utils = require('./../utils');\n\nfunction encode(val) {\n return encodeURIComponent(val).\n replace(/%3A/gi, ':').\n replace(/%24/g, '$').\n replace(/%2C/gi, ',').\n replace(/%20/g, '+').\n replace(/%5B/gi, '[').\n replace(/%5D/gi, ']');\n}\n\n/**\n * Build a URL by appending params to the end\n *\n * @param {string} url The base of the url (e.g., http://www.google.com)\n * @param {object} [params] The params to be appended\n * @returns {string} The formatted url\n */\nmodule.exports = function buildURL(url, params, paramsSerializer) {\n /*eslint no-param-reassign:0*/\n if (!params) {\n return url;\n }\n\n var serializedParams;\n if (paramsSerializer) {\n serializedParams = paramsSerializer(params);\n } else if (utils.isURLSearchParams(params)) {\n serializedParams = params.toString();\n } else {\n var parts = [];\n\n utils.forEach(params, function serialize(val, key) {\n if (val === null || typeof val === 'undefined') {\n return;\n }\n\n if (utils.isArray(val)) {\n key = key + '[]';\n } else {\n val = [val];\n }\n\n utils.forEach(val, function parseValue(v) {\n if (utils.isDate(v)) {\n v = v.toISOString();\n } else if (utils.isObject(v)) {\n v = JSON.stringify(v);\n }\n parts.push(encode(key) + '=' + encode(v));\n });\n });\n\n serializedParams = parts.join('&');\n }\n\n if (serializedParams) {\n var hashmarkIndex = url.indexOf('#');\n if (hashmarkIndex !== -1) {\n url = url.slice(0, hashmarkIndex);\n }\n\n url += (url.indexOf('?') === -1 ? '?' : '&') + serializedParams;\n }\n\n return url;\n};\n","'use strict';\n\n/**\n * Creates a new URL by combining the specified URLs\n *\n * @param {string} baseURL The base URL\n * @param {string} relativeURL The relative URL\n * @returns {string} The combined URL\n */\nmodule.exports = function combineURLs(baseURL, relativeURL) {\n return relativeURL\n ? baseURL.replace(/\\/+$/, '') + '/' + relativeURL.replace(/^\\/+/, '')\n : baseURL;\n};\n","'use strict';\n\nvar utils = require('./../utils');\n\nmodule.exports = (\n utils.isStandardBrowserEnv() ?\n\n // Standard browser envs support document.cookie\n (function standardBrowserEnv() {\n return {\n write: function write(name, value, expires, path, domain, secure) {\n var cookie = [];\n cookie.push(name + '=' + encodeURIComponent(value));\n\n if (utils.isNumber(expires)) {\n cookie.push('expires=' + new Date(expires).toGMTString());\n }\n\n if (utils.isString(path)) {\n cookie.push('path=' + path);\n }\n\n if (utils.isString(domain)) {\n cookie.push('domain=' + domain);\n }\n\n if (secure === true) {\n cookie.push('secure');\n }\n\n document.cookie = cookie.join('; ');\n },\n\n read: function read(name) {\n var match = document.cookie.match(new RegExp('(^|;\\\\s*)(' + name + ')=([^;]*)'));\n return (match ? decodeURIComponent(match[3]) : null);\n },\n\n remove: function remove(name) {\n this.write(name, '', Date.now() - 86400000);\n }\n };\n })() :\n\n // Non standard browser env (web workers, react-native) lack needed support.\n (function nonStandardBrowserEnv() {\n return {\n write: function write() {},\n read: function read() { return null; },\n remove: function remove() {}\n };\n })()\n);\n","'use strict';\n\n/**\n * Determines whether the specified URL is absolute\n *\n * @param {string} url The URL to test\n * @returns {boolean} True if the specified URL is absolute, otherwise false\n */\nmodule.exports = function isAbsoluteURL(url) {\n // A URL is considered absolute if it begins with \"://\" or \"//\" (protocol-relative URL).\n // RFC 3986 defines scheme name as a sequence of characters beginning with a letter and followed\n // by any combination of letters, digits, plus, period, or hyphen.\n return /^([a-z][a-z\\d+\\-.]*:)?\\/\\//i.test(url);\n};\n","'use strict';\n\nvar utils = require('./../utils');\n\n/**\n * Determines whether the payload is an error thrown by Axios\n *\n * @param {*} payload The value to test\n * @returns {boolean} True if the payload is an error thrown by Axios, otherwise false\n */\nmodule.exports = function isAxiosError(payload) {\n return utils.isObject(payload) && (payload.isAxiosError === true);\n};\n","'use strict';\n\nvar utils = require('./../utils');\n\nmodule.exports = (\n utils.isStandardBrowserEnv() ?\n\n // Standard browser envs have full support of the APIs needed to test\n // whether the request URL is of the same origin as current location.\n (function standardBrowserEnv() {\n var msie = /(msie|trident)/i.test(navigator.userAgent);\n var urlParsingNode = document.createElement('a');\n var originURL;\n\n /**\n * Parse a URL to discover it's components\n *\n * @param {String} url The URL to be parsed\n * @returns {Object}\n */\n function resolveURL(url) {\n var href = url;\n\n if (msie) {\n // IE needs attribute set twice to normalize properties\n urlParsingNode.setAttribute('href', href);\n href = urlParsingNode.href;\n }\n\n urlParsingNode.setAttribute('href', href);\n\n // urlParsingNode provides the UrlUtils interface - http://url.spec.whatwg.org/#urlutils\n return {\n href: urlParsingNode.href,\n protocol: urlParsingNode.protocol ? urlParsingNode.protocol.replace(/:$/, '') : '',\n host: urlParsingNode.host,\n search: urlParsingNode.search ? urlParsingNode.search.replace(/^\\?/, '') : '',\n hash: urlParsingNode.hash ? urlParsingNode.hash.replace(/^#/, '') : '',\n hostname: urlParsingNode.hostname,\n port: urlParsingNode.port,\n pathname: (urlParsingNode.pathname.charAt(0) === '/') ?\n urlParsingNode.pathname :\n '/' + urlParsingNode.pathname\n };\n }\n\n originURL = resolveURL(window.location.href);\n\n /**\n * Determine if a URL shares the same origin as the current location\n *\n * @param {String} requestURL The URL to test\n * @returns {boolean} True if URL shares the same origin, otherwise false\n */\n return function isURLSameOrigin(requestURL) {\n var parsed = (utils.isString(requestURL)) ? resolveURL(requestURL) : requestURL;\n return (parsed.protocol === originURL.protocol &&\n parsed.host === originURL.host);\n };\n })() :\n\n // Non standard browser envs (web workers, react-native) lack needed support.\n (function nonStandardBrowserEnv() {\n return function isURLSameOrigin() {\n return true;\n };\n })()\n);\n","'use strict';\n\nvar utils = require('../utils');\n\nmodule.exports = function normalizeHeaderName(headers, normalizedName) {\n utils.forEach(headers, function processHeader(value, name) {\n if (name !== normalizedName && name.toUpperCase() === normalizedName.toUpperCase()) {\n headers[normalizedName] = value;\n delete headers[name];\n }\n });\n};\n","// eslint-disable-next-line strict\nmodule.exports = null;\n","'use strict';\n\nvar utils = require('./../utils');\n\n// Headers whose duplicates are ignored by node\n// c.f. https://nodejs.org/api/http.html#http_message_headers\nvar ignoreDuplicateOf = [\n 'age', 'authorization', 'content-length', 'content-type', 'etag',\n 'expires', 'from', 'host', 'if-modified-since', 'if-unmodified-since',\n 'last-modified', 'location', 'max-forwards', 'proxy-authorization',\n 'referer', 'retry-after', 'user-agent'\n];\n\n/**\n * Parse headers into an object\n *\n * ```\n * Date: Wed, 27 Aug 2014 08:58:49 GMT\n * Content-Type: application/json\n * Connection: keep-alive\n * Transfer-Encoding: chunked\n * ```\n *\n * @param {String} headers Headers needing to be parsed\n * @returns {Object} Headers parsed into an object\n */\nmodule.exports = function parseHeaders(headers) {\n var parsed = {};\n var key;\n var val;\n var i;\n\n if (!headers) { return parsed; }\n\n utils.forEach(headers.split('\\n'), function parser(line) {\n i = line.indexOf(':');\n key = utils.trim(line.substr(0, i)).toLowerCase();\n val = utils.trim(line.substr(i + 1));\n\n if (key) {\n if (parsed[key] && ignoreDuplicateOf.indexOf(key) >= 0) {\n return;\n }\n if (key === 'set-cookie') {\n parsed[key] = (parsed[key] ? parsed[key] : []).concat([val]);\n } else {\n parsed[key] = parsed[key] ? parsed[key] + ', ' + val : val;\n }\n }\n });\n\n return parsed;\n};\n","'use strict';\n\nmodule.exports = function parseProtocol(url) {\n var match = /^([-+\\w]{1,25})(:?\\/\\/|:)/.exec(url);\n return match && match[1] || '';\n};\n","'use strict';\n\n/**\n * Syntactic sugar for invoking a function and expanding an array for arguments.\n *\n * Common use case would be to use `Function.prototype.apply`.\n *\n * ```js\n * function f(x, y, z) {}\n * var args = [1, 2, 3];\n * f.apply(null, args);\n * ```\n *\n * With `spread` this example can be re-written.\n *\n * ```js\n * spread(function(x, y, z) {})([1, 2, 3]);\n * ```\n *\n * @param {Function} callback\n * @returns {Function}\n */\nmodule.exports = function spread(callback) {\n return function wrap(arr) {\n return callback.apply(null, arr);\n };\n};\n","'use strict';\n\nvar utils = require('../utils');\n\n/**\n * Convert a data object to FormData\n * @param {Object} obj\n * @param {?Object} [formData]\n * @returns {Object}\n **/\n\nfunction toFormData(obj, formData) {\n // eslint-disable-next-line no-param-reassign\n formData = formData || new FormData();\n\n var stack = [];\n\n function convertValue(value) {\n if (value === null) return '';\n\n if (utils.isDate(value)) {\n return value.toISOString();\n }\n\n if (utils.isArrayBuffer(value) || utils.isTypedArray(value)) {\n return typeof Blob === 'function' ? new Blob([value]) : Buffer.from(value);\n }\n\n return value;\n }\n\n function build(data, parentKey) {\n if (utils.isPlainObject(data) || utils.isArray(data)) {\n if (stack.indexOf(data) !== -1) {\n throw Error('Circular reference detected in ' + parentKey);\n }\n\n stack.push(data);\n\n utils.forEach(data, function each(value, key) {\n if (utils.isUndefined(value)) return;\n var fullKey = parentKey ? parentKey + '.' + key : key;\n var arr;\n\n if (value && !parentKey && typeof value === 'object') {\n if (utils.endsWith(key, '{}')) {\n // eslint-disable-next-line no-param-reassign\n value = JSON.stringify(value);\n } else if (utils.endsWith(key, '[]') && (arr = utils.toArray(value))) {\n // eslint-disable-next-line func-names\n arr.forEach(function(el) {\n !utils.isUndefined(el) && formData.append(fullKey, convertValue(el));\n });\n return;\n }\n }\n\n build(value, fullKey);\n });\n\n stack.pop();\n } else {\n formData.append(parentKey, convertValue(data));\n }\n }\n\n build(obj);\n\n return formData;\n}\n\nmodule.exports = toFormData;\n","'use strict';\n\nvar VERSION = require('../env/data').version;\nvar AxiosError = require('../core/AxiosError');\n\nvar validators = {};\n\n// eslint-disable-next-line func-names\n['object', 'boolean', 'number', 'function', 'string', 'symbol'].forEach(function(type, i) {\n validators[type] = function validator(thing) {\n return typeof thing === type || 'a' + (i < 1 ? 'n ' : ' ') + type;\n };\n});\n\nvar deprecatedWarnings = {};\n\n/**\n * Transitional option validator\n * @param {function|boolean?} validator - set to false if the transitional option has been removed\n * @param {string?} version - deprecated version / removed since version\n * @param {string?} message - some message with additional info\n * @returns {function}\n */\nvalidators.transitional = function transitional(validator, version, message) {\n function formatMessage(opt, desc) {\n return '[Axios v' + VERSION + '] Transitional option \\'' + opt + '\\'' + desc + (message ? '. ' + message : '');\n }\n\n // eslint-disable-next-line func-names\n return function(value, opt, opts) {\n if (validator === false) {\n throw new AxiosError(\n formatMessage(opt, ' has been removed' + (version ? ' in ' + version : '')),\n AxiosError.ERR_DEPRECATED\n );\n }\n\n if (version && !deprecatedWarnings[opt]) {\n deprecatedWarnings[opt] = true;\n // eslint-disable-next-line no-console\n console.warn(\n formatMessage(\n opt,\n ' has been deprecated since v' + version + ' and will be removed in the near future'\n )\n );\n }\n\n return validator ? validator(value, opt, opts) : true;\n };\n};\n\n/**\n * Assert object's properties type\n * @param {object} options\n * @param {object} schema\n * @param {boolean?} allowUnknown\n */\n\nfunction assertOptions(options, schema, allowUnknown) {\n if (typeof options !== 'object') {\n throw new AxiosError('options must be an object', AxiosError.ERR_BAD_OPTION_VALUE);\n }\n var keys = Object.keys(options);\n var i = keys.length;\n while (i-- > 0) {\n var opt = keys[i];\n var validator = schema[opt];\n if (validator) {\n var value = options[opt];\n var result = value === undefined || validator(value, opt, options);\n if (result !== true) {\n throw new AxiosError('option ' + opt + ' must be ' + result, AxiosError.ERR_BAD_OPTION_VALUE);\n }\n continue;\n }\n if (allowUnknown !== true) {\n throw new AxiosError('Unknown option ' + opt, AxiosError.ERR_BAD_OPTION);\n }\n }\n}\n\nmodule.exports = {\n assertOptions: assertOptions,\n validators: validators\n};\n","'use strict';\n\nvar bind = require('./helpers/bind');\n\n// utils is a library of generic helper functions non-specific to axios\n\nvar toString = Object.prototype.toString;\n\n// eslint-disable-next-line func-names\nvar kindOf = (function(cache) {\n // eslint-disable-next-line func-names\n return function(thing) {\n var str = toString.call(thing);\n return cache[str] || (cache[str] = str.slice(8, -1).toLowerCase());\n };\n})(Object.create(null));\n\nfunction kindOfTest(type) {\n type = type.toLowerCase();\n return function isKindOf(thing) {\n return kindOf(thing) === type;\n };\n}\n\n/**\n * Determine if a value is an Array\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is an Array, otherwise false\n */\nfunction isArray(val) {\n return Array.isArray(val);\n}\n\n/**\n * Determine if a value is undefined\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if the value is undefined, otherwise false\n */\nfunction isUndefined(val) {\n return typeof val === 'undefined';\n}\n\n/**\n * Determine if a value is a Buffer\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a Buffer, otherwise false\n */\nfunction isBuffer(val) {\n return val !== null && !isUndefined(val) && val.constructor !== null && !isUndefined(val.constructor)\n && typeof val.constructor.isBuffer === 'function' && val.constructor.isBuffer(val);\n}\n\n/**\n * Determine if a value is an ArrayBuffer\n *\n * @function\n * @param {Object} val The value to test\n * @returns {boolean} True if value is an ArrayBuffer, otherwise false\n */\nvar isArrayBuffer = kindOfTest('ArrayBuffer');\n\n\n/**\n * Determine if a value is a view on an ArrayBuffer\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a view on an ArrayBuffer, otherwise false\n */\nfunction isArrayBufferView(val) {\n var result;\n if ((typeof ArrayBuffer !== 'undefined') && (ArrayBuffer.isView)) {\n result = ArrayBuffer.isView(val);\n } else {\n result = (val) && (val.buffer) && (isArrayBuffer(val.buffer));\n }\n return result;\n}\n\n/**\n * Determine if a value is a String\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a String, otherwise false\n */\nfunction isString(val) {\n return typeof val === 'string';\n}\n\n/**\n * Determine if a value is a Number\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a Number, otherwise false\n */\nfunction isNumber(val) {\n return typeof val === 'number';\n}\n\n/**\n * Determine if a value is an Object\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is an Object, otherwise false\n */\nfunction isObject(val) {\n return val !== null && typeof val === 'object';\n}\n\n/**\n * Determine if a value is a plain Object\n *\n * @param {Object} val The value to test\n * @return {boolean} True if value is a plain Object, otherwise false\n */\nfunction isPlainObject(val) {\n if (kindOf(val) !== 'object') {\n return false;\n }\n\n var prototype = Object.getPrototypeOf(val);\n return prototype === null || prototype === Object.prototype;\n}\n\n/**\n * Determine if a value is a Date\n *\n * @function\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a Date, otherwise false\n */\nvar isDate = kindOfTest('Date');\n\n/**\n * Determine if a value is a File\n *\n * @function\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a File, otherwise false\n */\nvar isFile = kindOfTest('File');\n\n/**\n * Determine if a value is a Blob\n *\n * @function\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a Blob, otherwise false\n */\nvar isBlob = kindOfTest('Blob');\n\n/**\n * Determine if a value is a FileList\n *\n * @function\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a File, otherwise false\n */\nvar isFileList = kindOfTest('FileList');\n\n/**\n * Determine if a value is a Function\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a Function, otherwise false\n */\nfunction isFunction(val) {\n return toString.call(val) === '[object Function]';\n}\n\n/**\n * Determine if a value is a Stream\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a Stream, otherwise false\n */\nfunction isStream(val) {\n return isObject(val) && isFunction(val.pipe);\n}\n\n/**\n * Determine if a value is a FormData\n *\n * @param {Object} thing The value to test\n * @returns {boolean} True if value is an FormData, otherwise false\n */\nfunction isFormData(thing) {\n var pattern = '[object FormData]';\n return thing && (\n (typeof FormData === 'function' && thing instanceof FormData) ||\n toString.call(thing) === pattern ||\n (isFunction(thing.toString) && thing.toString() === pattern)\n );\n}\n\n/**\n * Determine if a value is a URLSearchParams object\n * @function\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a URLSearchParams object, otherwise false\n */\nvar isURLSearchParams = kindOfTest('URLSearchParams');\n\n/**\n * Trim excess whitespace off the beginning and end of a string\n *\n * @param {String} str The String to trim\n * @returns {String} The String freed of excess whitespace\n */\nfunction trim(str) {\n return str.trim ? str.trim() : str.replace(/^\\s+|\\s+$/g, '');\n}\n\n/**\n * Determine if we're running in a standard browser environment\n *\n * This allows axios to run in a web worker, and react-native.\n * Both environments support XMLHttpRequest, but not fully standard globals.\n *\n * web workers:\n * typeof window -> undefined\n * typeof document -> undefined\n *\n * react-native:\n * navigator.product -> 'ReactNative'\n * nativescript\n * navigator.product -> 'NativeScript' or 'NS'\n */\nfunction isStandardBrowserEnv() {\n if (typeof navigator !== 'undefined' && (navigator.product === 'ReactNative' ||\n navigator.product === 'NativeScript' ||\n navigator.product === 'NS')) {\n return false;\n }\n return (\n typeof window !== 'undefined' &&\n typeof document !== 'undefined'\n );\n}\n\n/**\n * Iterate over an Array or an Object invoking a function for each item.\n *\n * If `obj` is an Array callback will be called passing\n * the value, index, and complete array for each item.\n *\n * If 'obj' is an Object callback will be called passing\n * the value, key, and complete object for each property.\n *\n * @param {Object|Array} obj The object to iterate\n * @param {Function} fn The callback to invoke for each item\n */\nfunction forEach(obj, fn) {\n // Don't bother if no value provided\n if (obj === null || typeof obj === 'undefined') {\n return;\n }\n\n // Force an array if not already something iterable\n if (typeof obj !== 'object') {\n /*eslint no-param-reassign:0*/\n obj = [obj];\n }\n\n if (isArray(obj)) {\n // Iterate over array values\n for (var i = 0, l = obj.length; i < l; i++) {\n fn.call(null, obj[i], i, obj);\n }\n } else {\n // Iterate over object keys\n for (var key in obj) {\n if (Object.prototype.hasOwnProperty.call(obj, key)) {\n fn.call(null, obj[key], key, obj);\n }\n }\n }\n}\n\n/**\n * Accepts varargs expecting each argument to be an object, then\n * immutably merges the properties of each object and returns result.\n *\n * When multiple objects contain the same key the later object in\n * the arguments list will take precedence.\n *\n * Example:\n *\n * ```js\n * var result = merge({foo: 123}, {foo: 456});\n * console.log(result.foo); // outputs 456\n * ```\n *\n * @param {Object} obj1 Object to merge\n * @returns {Object} Result of all merge properties\n */\nfunction merge(/* obj1, obj2, obj3, ... */) {\n var result = {};\n function assignValue(val, key) {\n if (isPlainObject(result[key]) && isPlainObject(val)) {\n result[key] = merge(result[key], val);\n } else if (isPlainObject(val)) {\n result[key] = merge({}, val);\n } else if (isArray(val)) {\n result[key] = val.slice();\n } else {\n result[key] = val;\n }\n }\n\n for (var i = 0, l = arguments.length; i < l; i++) {\n forEach(arguments[i], assignValue);\n }\n return result;\n}\n\n/**\n * Extends object a by mutably adding to it the properties of object b.\n *\n * @param {Object} a The object to be extended\n * @param {Object} b The object to copy properties from\n * @param {Object} thisArg The object to bind function to\n * @return {Object} The resulting value of object a\n */\nfunction extend(a, b, thisArg) {\n forEach(b, function assignValue(val, key) {\n if (thisArg && typeof val === 'function') {\n a[key] = bind(val, thisArg);\n } else {\n a[key] = val;\n }\n });\n return a;\n}\n\n/**\n * Remove byte order marker. This catches EF BB BF (the UTF-8 BOM)\n *\n * @param {string} content with BOM\n * @return {string} content value without BOM\n */\nfunction stripBOM(content) {\n if (content.charCodeAt(0) === 0xFEFF) {\n content = content.slice(1);\n }\n return content;\n}\n\n/**\n * Inherit the prototype methods from one constructor into another\n * @param {function} constructor\n * @param {function} superConstructor\n * @param {object} [props]\n * @param {object} [descriptors]\n */\n\nfunction inherits(constructor, superConstructor, props, descriptors) {\n constructor.prototype = Object.create(superConstructor.prototype, descriptors);\n constructor.prototype.constructor = constructor;\n props && Object.assign(constructor.prototype, props);\n}\n\n/**\n * Resolve object with deep prototype chain to a flat object\n * @param {Object} sourceObj source object\n * @param {Object} [destObj]\n * @param {Function} [filter]\n * @returns {Object}\n */\n\nfunction toFlatObject(sourceObj, destObj, filter) {\n var props;\n var i;\n var prop;\n var merged = {};\n\n destObj = destObj || {};\n\n do {\n props = Object.getOwnPropertyNames(sourceObj);\n i = props.length;\n while (i-- > 0) {\n prop = props[i];\n if (!merged[prop]) {\n destObj[prop] = sourceObj[prop];\n merged[prop] = true;\n }\n }\n sourceObj = Object.getPrototypeOf(sourceObj);\n } while (sourceObj && (!filter || filter(sourceObj, destObj)) && sourceObj !== Object.prototype);\n\n return destObj;\n}\n\n/*\n * determines whether a string ends with the characters of a specified string\n * @param {String} str\n * @param {String} searchString\n * @param {Number} [position= 0]\n * @returns {boolean}\n */\nfunction endsWith(str, searchString, position) {\n str = String(str);\n if (position === undefined || position > str.length) {\n position = str.length;\n }\n position -= searchString.length;\n var lastIndex = str.indexOf(searchString, position);\n return lastIndex !== -1 && lastIndex === position;\n}\n\n\n/**\n * Returns new array from array like object\n * @param {*} [thing]\n * @returns {Array}\n */\nfunction toArray(thing) {\n if (!thing) return null;\n var i = thing.length;\n if (isUndefined(i)) return null;\n var arr = new Array(i);\n while (i-- > 0) {\n arr[i] = thing[i];\n }\n return arr;\n}\n\n// eslint-disable-next-line func-names\nvar isTypedArray = (function(TypedArray) {\n // eslint-disable-next-line func-names\n return function(thing) {\n return TypedArray && thing instanceof TypedArray;\n };\n})(typeof Uint8Array !== 'undefined' && Object.getPrototypeOf(Uint8Array));\n\nmodule.exports = {\n isArray: isArray,\n isArrayBuffer: isArrayBuffer,\n isBuffer: isBuffer,\n isFormData: isFormData,\n isArrayBufferView: isArrayBufferView,\n isString: isString,\n isNumber: isNumber,\n isObject: isObject,\n isPlainObject: isPlainObject,\n isUndefined: isUndefined,\n isDate: isDate,\n isFile: isFile,\n isBlob: isBlob,\n isFunction: isFunction,\n isStream: isStream,\n isURLSearchParams: isURLSearchParams,\n isStandardBrowserEnv: isStandardBrowserEnv,\n forEach: forEach,\n merge: merge,\n extend: extend,\n trim: trim,\n stripBOM: stripBOM,\n inherits: inherits,\n toFlatObject: toFlatObject,\n kindOf: kindOf,\n kindOfTest: kindOfTest,\n endsWith: endsWith,\n toArray: toArray,\n isTypedArray: isTypedArray,\n isFileList: isFileList\n};\n","function _typeof(obj) {\n \"@babel/helpers - typeof\";\n\n if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") {\n _typeof = function (obj) {\n return typeof obj;\n };\n } else {\n _typeof = function (obj) {\n return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj;\n };\n }\n\n return _typeof(obj);\n}\n\nfunction _classCallCheck(instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError(\"Cannot call a class as a function\");\n }\n}\n\nfunction _defineProperties(target, props) {\n for (var i = 0; i < props.length; i++) {\n var descriptor = props[i];\n descriptor.enumerable = descriptor.enumerable || false;\n descriptor.configurable = true;\n if (\"value\" in descriptor) descriptor.writable = true;\n Object.defineProperty(target, descriptor.key, descriptor);\n }\n}\n\nfunction _createClass(Constructor, protoProps, staticProps) {\n if (protoProps) _defineProperties(Constructor.prototype, protoProps);\n if (staticProps) _defineProperties(Constructor, staticProps);\n return Constructor;\n}\n\nfunction _defineProperty(obj, key, value) {\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n\n return obj;\n}\n\nfunction ownKeys(object, enumerableOnly) {\n var keys = Object.keys(object);\n\n if (Object.getOwnPropertySymbols) {\n var symbols = Object.getOwnPropertySymbols(object);\n if (enumerableOnly) symbols = symbols.filter(function (sym) {\n return Object.getOwnPropertyDescriptor(object, sym).enumerable;\n });\n keys.push.apply(keys, symbols);\n }\n\n return keys;\n}\n\nfunction _objectSpread2(target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i] != null ? arguments[i] : {};\n\n if (i % 2) {\n ownKeys(Object(source), true).forEach(function (key) {\n _defineProperty(target, key, source[key]);\n });\n } else if (Object.getOwnPropertyDescriptors) {\n Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));\n } else {\n ownKeys(Object(source)).forEach(function (key) {\n Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));\n });\n }\n }\n\n return target;\n}\n\nfunction _inherits(subClass, superClass) {\n if (typeof superClass !== \"function\" && superClass !== null) {\n throw new TypeError(\"Super expression must either be null or a function\");\n }\n\n subClass.prototype = Object.create(superClass && superClass.prototype, {\n constructor: {\n value: subClass,\n writable: true,\n configurable: true\n }\n });\n if (superClass) _setPrototypeOf(subClass, superClass);\n}\n\nfunction _getPrototypeOf(o) {\n _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {\n return o.__proto__ || Object.getPrototypeOf(o);\n };\n return _getPrototypeOf(o);\n}\n\nfunction _setPrototypeOf(o, p) {\n _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {\n o.__proto__ = p;\n return o;\n };\n\n return _setPrototypeOf(o, p);\n}\n\nfunction isNativeReflectConstruct() {\n if (typeof Reflect === \"undefined\" || !Reflect.construct) return false;\n if (Reflect.construct.sham) return false;\n if (typeof Proxy === \"function\") return true;\n\n try {\n Date.prototype.toString.call(Reflect.construct(Date, [], function () {}));\n return true;\n } catch (e) {\n return false;\n }\n}\n\nfunction _construct(Parent, args, Class) {\n if (isNativeReflectConstruct()) {\n _construct = Reflect.construct;\n } else {\n _construct = function _construct(Parent, args, Class) {\n var a = [null];\n a.push.apply(a, args);\n var Constructor = Function.bind.apply(Parent, a);\n var instance = new Constructor();\n if (Class) _setPrototypeOf(instance, Class.prototype);\n return instance;\n };\n }\n\n return _construct.apply(null, arguments);\n}\n\nfunction _isNativeFunction(fn) {\n return Function.toString.call(fn).indexOf(\"[native code]\") !== -1;\n}\n\nfunction _wrapNativeSuper(Class) {\n var _cache = typeof Map === \"function\" ? new Map() : undefined;\n\n _wrapNativeSuper = function _wrapNativeSuper(Class) {\n if (Class === null || !_isNativeFunction(Class)) return Class;\n\n if (typeof Class !== \"function\") {\n throw new TypeError(\"Super expression must either be null or a function\");\n }\n\n if (typeof _cache !== \"undefined\") {\n if (_cache.has(Class)) return _cache.get(Class);\n\n _cache.set(Class, Wrapper);\n }\n\n function Wrapper() {\n return _construct(Class, arguments, _getPrototypeOf(this).constructor);\n }\n\n Wrapper.prototype = Object.create(Class.prototype, {\n constructor: {\n value: Wrapper,\n enumerable: false,\n writable: true,\n configurable: true\n }\n });\n return _setPrototypeOf(Wrapper, Class);\n };\n\n return _wrapNativeSuper(Class);\n}\n\nfunction _objectWithoutPropertiesLoose(source, excluded) {\n if (source == null) return {};\n var target = {};\n var sourceKeys = Object.keys(source);\n var key, i;\n\n for (i = 0; i < sourceKeys.length; i++) {\n key = sourceKeys[i];\n if (excluded.indexOf(key) >= 0) continue;\n target[key] = source[key];\n }\n\n return target;\n}\n\nfunction _objectWithoutProperties(source, excluded) {\n if (source == null) return {};\n\n var target = _objectWithoutPropertiesLoose(source, excluded);\n\n var key, i;\n\n if (Object.getOwnPropertySymbols) {\n var sourceSymbolKeys = Object.getOwnPropertySymbols(source);\n\n for (i = 0; i < sourceSymbolKeys.length; i++) {\n key = sourceSymbolKeys[i];\n if (excluded.indexOf(key) >= 0) continue;\n if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;\n target[key] = source[key];\n }\n }\n\n return target;\n}\n\nfunction _assertThisInitialized(self) {\n if (self === void 0) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }\n\n return self;\n}\n\nfunction _possibleConstructorReturn(self, call) {\n if (call && (typeof call === \"object\" || typeof call === \"function\")) {\n return call;\n }\n\n return _assertThisInitialized(self);\n}\n\nfunction _taggedTemplateLiteral(strings, raw) {\n if (!raw) {\n raw = strings.slice(0);\n }\n\n return Object.freeze(Object.defineProperties(strings, {\n raw: {\n value: Object.freeze(raw)\n }\n }));\n}\n\nfunction _slicedToArray(arr, i) {\n return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _nonIterableRest();\n}\n\nfunction _toArray(arr) {\n return _arrayWithHoles(arr) || _iterableToArray(arr) || _nonIterableRest();\n}\n\nfunction _toConsumableArray(arr) {\n return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _nonIterableSpread();\n}\n\nfunction _arrayWithoutHoles(arr) {\n if (Array.isArray(arr)) {\n for (var i = 0, arr2 = new Array(arr.length); i < arr.length; i++) arr2[i] = arr[i];\n\n return arr2;\n }\n}\n\nfunction _arrayWithHoles(arr) {\n if (Array.isArray(arr)) return arr;\n}\n\nfunction _iterableToArray(iter) {\n if (Symbol.iterator in Object(iter) || Object.prototype.toString.call(iter) === \"[object Arguments]\") return Array.from(iter);\n}\n\nfunction _iterableToArrayLimit(arr, i) {\n if (!(Symbol.iterator in Object(arr) || Object.prototype.toString.call(arr) === \"[object Arguments]\")) {\n return;\n }\n\n var _arr = [];\n var _n = true;\n var _d = false;\n var _e = undefined;\n\n try {\n for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) {\n _arr.push(_s.value);\n\n if (i && _arr.length === i) break;\n }\n } catch (err) {\n _d = true;\n _e = err;\n } finally {\n try {\n if (!_n && _i[\"return\"] != null) _i[\"return\"]();\n } finally {\n if (_d) throw _e;\n }\n }\n\n return _arr;\n}\n\nfunction _nonIterableSpread() {\n throw new TypeError(\"Invalid attempt to spread non-iterable instance\");\n}\n\nfunction _nonIterableRest() {\n throw new TypeError(\"Invalid attempt to destructure non-iterable instance\");\n}\n\nexport { _defineProperty as _, _objectSpread2 as a, _typeof as b, _toArray as c, _toConsumableArray as d, _inherits as e, _wrapNativeSuper as f, _classCallCheck as g, _possibleConstructorReturn as h, _getPrototypeOf as i, _createClass as j, _slicedToArray as k, _taggedTemplateLiteral as l, _objectWithoutProperties as m };\n","import { _ as _defineProperty, a as _objectSpread2, b as _typeof } from './chunk-455cdeae.js';\n\n/**\r\n * +/- function to native math sign\r\n */\nfunction signPoly(value) {\n if (value < 0) return -1;\n return value > 0 ? 1 : 0;\n}\n\nvar sign = Math.sign || signPoly;\n/**\r\n * Checks if the flag is set\r\n * @param val\r\n * @param flag\r\n * @returns {boolean}\r\n */\n\nfunction hasFlag(val, flag) {\n return (val & flag) === flag;\n}\n/**\r\n * Native modulo bug with negative numbers\r\n * @param n\r\n * @param mod\r\n * @returns {number}\r\n */\n\n\nfunction mod(n, mod) {\n return (n % mod + mod) % mod;\n}\n/**\r\n * Asserts a value is beetween min and max\r\n * @param val\r\n * @param min\r\n * @param max\r\n * @returns {number}\r\n */\n\n\nfunction bound(val, min, max) {\n return Math.max(min, Math.min(max, val));\n}\n/**\r\n * Get value of an object property/path even if it's nested\r\n */\n\nfunction getValueByPath(obj, path) {\n return path.split('.').reduce(function (o, i) {\n return o ? o[i] : null;\n }, obj);\n}\n/**\r\n * Extension of indexOf method by equality function if specified\r\n */\n\nfunction indexOf(array, obj, fn) {\n if (!array) return -1;\n if (!fn || typeof fn !== 'function') return array.indexOf(obj);\n\n for (var i = 0; i < array.length; i++) {\n if (fn(array[i], obj)) {\n return i;\n }\n }\n\n return -1;\n}\n/**\r\n * Merge function to replace Object.assign with deep merging possibility\r\n */\n\nvar isObject = function isObject(item) {\n return _typeof(item) === 'object' && !Array.isArray(item);\n};\n\nvar mergeFn = function mergeFn(target, source) {\n var deep = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;\n\n if (deep || !Object.assign) {\n var isDeep = function isDeep(prop) {\n return isObject(source[prop]) && target !== null && target.hasOwnProperty(prop) && isObject(target[prop]);\n };\n\n var replaced = Object.getOwnPropertyNames(source).map(function (prop) {\n return _defineProperty({}, prop, isDeep(prop) ? mergeFn(target[prop], source[prop], deep) : source[prop]);\n }).reduce(function (a, b) {\n return _objectSpread2({}, a, {}, b);\n }, {});\n return _objectSpread2({}, target, {}, replaced);\n } else {\n return Object.assign(target, source);\n }\n};\n\nvar merge = mergeFn;\n/**\r\n * Mobile detection\r\n * https://www.abeautifulsite.net/detecting-mobile-devices-with-javascript\r\n */\n\nvar isMobile = {\n Android: function Android() {\n return typeof window !== 'undefined' && window.navigator.userAgent.match(/Android/i);\n },\n BlackBerry: function BlackBerry() {\n return typeof window !== 'undefined' && window.navigator.userAgent.match(/BlackBerry/i);\n },\n iOS: function iOS() {\n return typeof window !== 'undefined' && (window.navigator.userAgent.match(/iPhone|iPad|iPod/i) || window.navigator.platform === 'MacIntel' && window.navigator.maxTouchPoints > 1);\n },\n Opera: function Opera() {\n return typeof window !== 'undefined' && window.navigator.userAgent.match(/Opera Mini/i);\n },\n Windows: function Windows() {\n return typeof window !== 'undefined' && window.navigator.userAgent.match(/IEMobile/i);\n },\n any: function any() {\n return isMobile.Android() || isMobile.BlackBerry() || isMobile.iOS() || isMobile.Opera() || isMobile.Windows();\n }\n};\nfunction removeElement(el) {\n if (typeof el.remove !== 'undefined') {\n el.remove();\n } else if (typeof el.parentNode !== 'undefined' && el.parentNode !== null) {\n el.parentNode.removeChild(el);\n }\n}\nfunction createAbsoluteElement(el) {\n var root = document.createElement('div');\n root.style.position = 'absolute';\n root.style.left = '0px';\n root.style.top = '0px';\n root.style.width = '100%';\n var wrapper = document.createElement('div');\n root.appendChild(wrapper);\n wrapper.appendChild(el);\n document.body.appendChild(root);\n return root;\n}\nfunction isVueComponent(c) {\n return c && c._isVue;\n}\n/**\r\n * Escape regex characters\r\n * http://stackoverflow.com/a/6969486\r\n */\n\nfunction escapeRegExpChars(value) {\n if (!value) return value; // eslint-disable-next-line\n\n return value.replace(/[\\-\\[\\]\\/\\{\\}\\(\\)\\*\\+\\?\\.\\\\\\^\\$\\|]/g, '\\\\$&');\n}\n/**\r\n * Remove accents/diacritics in a string in JavaScript\r\n * https://stackoverflow.com/a/37511463\r\n */\n\nfunction removeDiacriticsFromString(value) {\n if (!value) return value;\n return value.normalize('NFD').replace(/[\\u0300-\\u036f]/g, '');\n}\nfunction multiColumnSort(inputArray, sortingPriority) {\n // clone it to prevent the any watchers from triggering every sorting iteration\n var array = JSON.parse(JSON.stringify(inputArray));\n\n var fieldSorter = function fieldSorter(fields) {\n return function (a, b) {\n return fields.map(function (o) {\n var dir = 1;\n\n if (o[0] === '-') {\n dir = -1;\n o = o.substring(1);\n }\n\n var aValue = getValueByPath(a, o);\n var bValue = getValueByPath(b, o);\n return aValue > bValue ? dir : aValue < bValue ? -dir : 0;\n }).reduce(function (p, n) {\n return p || n;\n }, 0);\n };\n };\n\n return array.sort(fieldSorter(sortingPriority));\n}\nfunction createNewEvent(eventName) {\n var event;\n\n if (typeof Event === 'function') {\n event = new Event(eventName);\n } else {\n event = document.createEvent('Event');\n event.initEvent(eventName, true, true);\n }\n\n return event;\n}\nfunction toCssWidth(width) {\n return width === undefined ? null : isNaN(width) ? width : width + 'px';\n}\n/**\r\n * Return month names according to a specified locale\r\n * @param {String} locale A bcp47 localerouter. undefined will use the user browser locale\r\n * @param {String} format long (ex. March), short (ex. Mar) or narrow (M)\r\n * @return {Array} An array of month names\r\n */\n\nfunction getMonthNames() {\n var locale = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : undefined;\n var format = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'long';\n var dates = [];\n\n for (var i = 0; i < 12; i++) {\n dates.push(new Date(2000, i, 15));\n }\n\n var dtf = new Intl.DateTimeFormat(locale, {\n month: format\n });\n return dates.map(function (d) {\n return dtf.format(d);\n });\n}\n/**\r\n * Return weekday names according to a specified locale\r\n * @param {String} locale A bcp47 localerouter. undefined will use the user browser locale\r\n * @param {String} format long (ex. Thursday), short (ex. Thu) or narrow (T)\r\n * @return {Array} An array of weekday names\r\n */\n\nfunction getWeekdayNames() {\n var locale = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : undefined;\n var format = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'narrow';\n var dates = [];\n\n for (var i = 0; i < 7; i++) {\n var dt = new Date(2000, 0, i + 1);\n dates[dt.getDay()] = dt;\n }\n\n var dtf = new Intl.DateTimeFormat(locale, {\n weekday: format\n });\n return dates.map(function (d) {\n return dtf.format(d);\n });\n}\n/**\r\n * Accept a regex with group names and return an object\r\n * ex. matchWithGroups(/((?!=)\\d+)\\/((?!=)\\d+)\\/((?!=)\\d+)/, '2000/12/25')\r\n * will return { year: 2000, month: 12, day: 25 }\r\n * @param {String} includes injections of (?!={groupname}) for each group\r\n * @param {String} the string to run regex\r\n * @return {Object} an object with a property for each group having the group's match as the value\r\n */\n\nfunction matchWithGroups(pattern, str) {\n var matches = str.match(pattern);\n return pattern // get the pattern as a string\n .toString() // suss out the groups\n .match(/<(.+?)>/g) // remove the braces\n .map(function (group) {\n var groupMatches = group.match(/<(.+)>/);\n\n if (!groupMatches || groupMatches.length <= 0) {\n return null;\n }\n\n return group.match(/<(.+)>/)[1];\n }) // create an object with a property for each group having the group's match as the value\n .reduce(function (acc, curr, index, arr) {\n if (matches && matches.length > index) {\n acc[curr] = matches[index + 1];\n } else {\n acc[curr] = null;\n }\n\n return acc;\n }, {});\n}\n/**\r\n * Based on\r\n * https://github.com/fregante/supports-webp\r\n */\n\nfunction isWebpSupported() {\n return new Promise(function (resolve) {\n var image = new Image();\n\n image.onerror = function () {\n return resolve(false);\n };\n\n image.onload = function () {\n return resolve(image.width === 1);\n };\n\n image.src = 'data:image/webp;base64,UklGRiQAAABXRUJQVlA4IBgAAAAwAQCdASoBAAEAAwA0JaQAA3AA/vuUAAA=';\n }).catch(function () {\n return false;\n });\n}\nfunction isCustomElement(vm) {\n return 'shadowRoot' in vm.$root.$options;\n}\nvar isDefined = function isDefined(d) {\n return d !== undefined;\n};\n/**\r\n * Checks if a value is null or undefined.\r\n * Based on\r\n * https://github.com/lodash/lodash/blob/master/isNil.js\r\n */\n\nvar isNil = function isNil(value) {\n return value === null || value === undefined;\n};\n\nexport { bound, createAbsoluteElement, createNewEvent, escapeRegExpChars, getMonthNames, getValueByPath, getWeekdayNames, hasFlag, indexOf, isCustomElement, isDefined, isMobile, isNil, isVueComponent, isWebpSupported, matchWithGroups, merge, mod, multiColumnSort, removeDiacriticsFromString, removeElement, sign, toCssWidth };\n","var config = {\n defaultContainerElement: null,\n defaultIconPack: 'mdi',\n defaultIconComponent: null,\n defaultIconPrev: 'chevron-left',\n defaultIconNext: 'chevron-right',\n defaultLocale: undefined,\n defaultDialogConfirmText: null,\n defaultDialogCancelText: null,\n defaultSnackbarDuration: 3500,\n defaultSnackbarPosition: null,\n defaultToastDuration: 2000,\n defaultToastPosition: null,\n defaultNotificationDuration: 2000,\n defaultNotificationPosition: null,\n defaultTooltipType: 'is-primary',\n defaultTooltipDelay: null,\n defaultTooltipCloseDelay: null,\n defaultSidebarDelay: null,\n defaultInputAutocomplete: 'on',\n defaultDateFormatter: null,\n defaultDateParser: null,\n defaultDateCreator: null,\n defaultTimeCreator: null,\n defaultDayNames: null,\n defaultMonthNames: null,\n defaultFirstDayOfWeek: null,\n defaultUnselectableDaysOfWeek: null,\n defaultTimeFormatter: null,\n defaultTimeParser: null,\n defaultModalCanCancel: ['escape', 'x', 'outside', 'button'],\n defaultModalScroll: null,\n defaultDatepickerMobileNative: true,\n defaultTimepickerMobileNative: true,\n defaultNoticeQueue: true,\n defaultInputHasCounter: true,\n defaultTaginputHasCounter: true,\n defaultUseHtml5Validation: true,\n defaultDropdownMobileModal: true,\n defaultFieldLabelPosition: null,\n defaultDatepickerYearsRange: [-100, 10],\n defaultDatepickerNearbyMonthDays: true,\n defaultDatepickerNearbySelectableMonthDays: false,\n defaultDatepickerShowWeekNumber: false,\n defaultDatepickerWeekNumberClickable: false,\n defaultDatepickerMobileModal: true,\n defaultTrapFocus: true,\n defaultAutoFocus: true,\n defaultButtonRounded: false,\n defaultSwitchRounded: true,\n defaultCarouselInterval: 3500,\n defaultTabsExpanded: false,\n defaultTabsAnimated: true,\n defaultTabsType: null,\n defaultStatusIcon: true,\n defaultProgrammaticPromise: false,\n defaultLinkTags: ['a', 'button', 'input', 'router-link', 'nuxt-link', 'n-link', 'RouterLink', 'NuxtLink', 'NLink'],\n defaultImageWebpFallback: null,\n defaultImageLazy: true,\n defaultImageResponsive: true,\n defaultImageRatio: null,\n defaultImageSrcsetFormatter: null,\n defaultBreadcrumbTag: 'a',\n defaultBreadcrumbAlign: 'is-left',\n defaultBreadcrumbSeparator: '',\n defaultBreadcrumbSize: 'is-medium',\n customIconPacks: null\n};\nvar setOptions = function setOptions(options) {\n config = options;\n};\nvar setVueInstance = function setVueInstance(Vue) {\n VueInstance = Vue;\n};\nvar VueInstance;\n\nexport { VueInstance as V, setOptions as a, config as c, setVueInstance as s };\n","function normalizeComponent(template, style, script, scopeId, isFunctionalTemplate, moduleIdentifier\n/* server only */\n, shadowMode, createInjector, createInjectorSSR, createInjectorShadow) {\n if (typeof shadowMode !== 'boolean') {\n createInjectorSSR = createInjector;\n createInjector = shadowMode;\n shadowMode = false;\n } // Vue.extend constructor export interop.\n\n\n var options = typeof script === 'function' ? script.options : script; // render functions\n\n if (template && template.render) {\n options.render = template.render;\n options.staticRenderFns = template.staticRenderFns;\n options._compiled = true; // functional template\n\n if (isFunctionalTemplate) {\n options.functional = true;\n }\n } // scopedId\n\n\n if (scopeId) {\n options._scopeId = scopeId;\n }\n\n var hook;\n\n if (moduleIdentifier) {\n // server build\n hook = function hook(context) {\n // 2.3 injection\n context = context || // cached call\n this.$vnode && this.$vnode.ssrContext || // stateful\n this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext; // functional\n // 2.2 with runInNewContext: true\n\n if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {\n context = __VUE_SSR_CONTEXT__;\n } // inject component styles\n\n\n if (style) {\n style.call(this, createInjectorSSR(context));\n } // register component module identifier for async chunk inference\n\n\n if (context && context._registeredComponents) {\n context._registeredComponents.add(moduleIdentifier);\n }\n }; // used by ssr in case component is cached and beforeCreate\n // never gets called\n\n\n options._ssrRegister = hook;\n } else if (style) {\n hook = shadowMode ? function () {\n style.call(this, createInjectorShadow(this.$root.$options.shadowRoot));\n } : function (context) {\n style.call(this, createInjector(context));\n };\n }\n\n if (hook) {\n if (options.functional) {\n // register for functional component in vue file\n var originalRender = options.render;\n\n options.render = function renderWithStyleInjection(h, context) {\n hook.call(context);\n return originalRender(h, context);\n };\n } else {\n // inject component registration as beforeCreate hook\n var existing = options.beforeCreate;\n options.beforeCreate = existing ? [].concat(existing, hook) : [hook];\n }\n }\n\n return script;\n}\n\nvar normalizeComponent_1 = normalizeComponent;\n\nvar use = function use(plugin) {\n if (typeof window !== 'undefined' && window.Vue) {\n window.Vue.use(plugin);\n }\n};\nvar registerComponent = function registerComponent(Vue, component) {\n Vue.component(component.name, component);\n};\nvar registerComponentProgrammatic = function registerComponentProgrammatic(Vue, property, component) {\n if (!Vue.prototype.$buefy) Vue.prototype.$buefy = {};\n Vue.prototype.$buefy[property] = component;\n};\n\nexport { normalizeComponent_1 as _, registerComponentProgrammatic as a, registerComponent as r, use as u };\n","import { isVueComponent } from './helpers.js';\nimport { c as config } from './chunk-e92e3389.js';\n\nvar FormElementMixin = {\n props: {\n size: String,\n expanded: Boolean,\n loading: Boolean,\n rounded: Boolean,\n icon: String,\n iconPack: String,\n // Native options to use in HTML5 validation\n autocomplete: String,\n maxlength: [Number, String],\n useHtml5Validation: {\n type: Boolean,\n default: function _default() {\n return config.defaultUseHtml5Validation;\n }\n },\n validationMessage: String,\n locale: {\n type: [String, Array],\n default: function _default() {\n return config.defaultLocale;\n }\n },\n statusIcon: {\n type: Boolean,\n default: function _default() {\n return config.defaultStatusIcon;\n }\n }\n },\n data: function data() {\n return {\n isValid: true,\n isFocused: false,\n newIconPack: this.iconPack || config.defaultIconPack\n };\n },\n computed: {\n /**\r\n * Find parent Field, max 3 levels deep.\r\n */\n parentField: function parentField() {\n var parent = this.$parent;\n\n for (var i = 0; i < 3; i++) {\n if (parent && !parent.$data._isField) {\n parent = parent.$parent;\n }\n }\n\n return parent;\n },\n\n /**\r\n * Get the type prop from parent if it's a Field.\r\n */\n statusType: function statusType() {\n var _ref = this.parentField || {},\n newType = _ref.newType;\n\n if (!newType) return;\n\n if (typeof newType === 'string') {\n return newType;\n } else {\n for (var key in newType) {\n if (newType[key]) {\n return key;\n }\n }\n }\n },\n\n /**\r\n * Get the message prop from parent if it's a Field.\r\n */\n statusMessage: function statusMessage() {\n if (!this.parentField) return;\n return this.parentField.newMessage || this.parentField.$slots.message;\n },\n\n /**\r\n * Fix icon size for inputs, large was too big\r\n */\n iconSize: function iconSize() {\n switch (this.size) {\n case 'is-small':\n return this.size;\n\n case 'is-medium':\n return;\n\n case 'is-large':\n return this.newIconPack === 'mdi' ? 'is-medium' : '';\n }\n }\n },\n methods: {\n /**\r\n * Focus method that work dynamically depending on the component.\r\n */\n focus: function focus() {\n var el = this.getElement();\n if (el === undefined) return;\n this.$nextTick(function () {\n if (el) el.focus();\n });\n },\n onBlur: function onBlur($event) {\n this.isFocused = false;\n this.$emit('blur', $event);\n this.checkHtml5Validity();\n },\n onFocus: function onFocus($event) {\n this.isFocused = true;\n this.$emit('focus', $event);\n },\n getElement: function getElement() {\n var el = this.$refs[this.$data._elementRef];\n\n while (isVueComponent(el)) {\n el = el.$refs[el.$data._elementRef];\n }\n\n return el;\n },\n setInvalid: function setInvalid() {\n var type = 'is-danger';\n var message = this.validationMessage || this.getElement().validationMessage;\n this.setValidity(type, message);\n },\n setValidity: function setValidity(type, message) {\n var _this = this;\n\n this.$nextTick(function () {\n if (_this.parentField) {\n // Set type only if not defined\n if (!_this.parentField.type) {\n _this.parentField.newType = type;\n } // Set message only if not defined\n\n\n if (!_this.parentField.message) {\n _this.parentField.newMessage = message;\n }\n }\n });\n },\n\n /**\r\n * Check HTML5 validation, set isValid property.\r\n * If validation fail, send 'is-danger' type,\r\n * and error message to parent if it's a Field.\r\n */\n checkHtml5Validity: function checkHtml5Validity() {\n if (!this.useHtml5Validation) return;\n var el = this.getElement();\n if (el === undefined) return;\n\n if (!el.checkValidity()) {\n this.setInvalid();\n this.isValid = false;\n } else {\n this.setValidity(null, null);\n this.isValid = true;\n }\n\n return this.isValid;\n }\n }\n};\n\nexport { FormElementMixin as F };\n","import { c as _toArray } from './chunk-455cdeae.js';\nimport { merge } from './helpers.js';\nimport { c as config } from './chunk-e92e3389.js';\nimport { _ as __vue_normalize__ } from './chunk-cca88db8.js';\n\nvar mdiIcons = {\n sizes: {\n 'default': 'mdi-24px',\n 'is-small': null,\n 'is-medium': 'mdi-36px',\n 'is-large': 'mdi-48px'\n },\n iconPrefix: 'mdi-'\n};\n\nvar faIcons = function faIcons() {\n var faIconPrefix = config && config.defaultIconComponent ? '' : 'fa-';\n return {\n sizes: {\n 'default': null,\n 'is-small': null,\n 'is-medium': faIconPrefix + 'lg',\n 'is-large': faIconPrefix + '2x'\n },\n iconPrefix: faIconPrefix,\n internalIcons: {\n 'information': 'info-circle',\n 'alert': 'exclamation-triangle',\n 'alert-circle': 'exclamation-circle',\n 'chevron-right': 'angle-right',\n 'chevron-left': 'angle-left',\n 'chevron-down': 'angle-down',\n 'eye-off': 'eye-slash',\n 'menu-down': 'caret-down',\n 'menu-up': 'caret-up',\n 'close-circle': 'times-circle'\n }\n };\n};\n\nvar getIcons = function getIcons() {\n var icons = {\n mdi: mdiIcons,\n fa: faIcons(),\n fas: faIcons(),\n far: faIcons(),\n fad: faIcons(),\n fab: faIcons(),\n fal: faIcons(),\n 'fa-solid': faIcons(),\n 'fa-regular': faIcons(),\n 'fa-light': faIcons(),\n 'fa-thin': faIcons(),\n 'fa-duotone': faIcons(),\n 'fa-brands': faIcons()\n };\n\n if (config && config.customIconPacks) {\n icons = merge(icons, config.customIconPacks, true);\n }\n\n return icons;\n};\n\nvar script = {\n name: 'BIcon',\n props: {\n type: [String, Object],\n component: String,\n pack: String,\n icon: String,\n size: String,\n customSize: String,\n customClass: String,\n both: Boolean // This is used internally to show both MDI and FA icon\n\n },\n computed: {\n iconConfig: function iconConfig() {\n var allIcons = getIcons();\n return allIcons[this.newPack];\n },\n iconPrefix: function iconPrefix() {\n if (this.iconConfig && this.iconConfig.iconPrefix) {\n return this.iconConfig.iconPrefix;\n }\n\n return '';\n },\n\n /**\r\n * Internal icon name based on the pack.\r\n * If pack is 'fa', gets the equivalent FA icon name of the MDI,\r\n * internal icons are always MDI.\r\n */\n newIcon: function newIcon() {\n return \"\".concat(this.iconPrefix).concat(this.getEquivalentIconOf(this.icon));\n },\n newPack: function newPack() {\n return this.pack || config.defaultIconPack;\n },\n newType: function newType() {\n if (!this.type) return;\n var splitType = [];\n\n if (typeof this.type === 'string') {\n splitType = this.type.split('-');\n } else {\n for (var key in this.type) {\n if (this.type[key]) {\n splitType = key.split('-');\n break;\n }\n }\n }\n\n if (splitType.length <= 1) return;\n\n var _splitType = splitType,\n _splitType2 = _toArray(_splitType),\n type = _splitType2.slice(1);\n\n return \"has-text-\".concat(type.join('-'));\n },\n newCustomSize: function newCustomSize() {\n return this.customSize || this.customSizeByPack;\n },\n customSizeByPack: function customSizeByPack() {\n if (this.iconConfig && this.iconConfig.sizes) {\n if (this.size && this.iconConfig.sizes[this.size] !== undefined) {\n return this.iconConfig.sizes[this.size];\n } else if (this.iconConfig.sizes.default) {\n return this.iconConfig.sizes.default;\n }\n }\n\n return null;\n },\n useIconComponent: function useIconComponent() {\n return this.component || config.defaultIconComponent;\n }\n },\n methods: {\n /**\r\n * Equivalent icon name of the MDI.\r\n */\n getEquivalentIconOf: function getEquivalentIconOf(value) {\n // Only transform the class if the both prop is set to true\n if (!this.both) {\n return value;\n }\n\n if (this.iconConfig && this.iconConfig.internalIcons && this.iconConfig.internalIcons[value]) {\n return this.iconConfig.internalIcons[value];\n }\n\n return value;\n }\n }\n};\n\n/* script */\nconst __vue_script__ = script;\n\n/* template */\nvar __vue_render__ = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('span',{staticClass:\"icon\",class:[_vm.newType, _vm.size]},[(!_vm.useIconComponent)?_c('i',{class:[_vm.newPack, _vm.newIcon, _vm.newCustomSize, _vm.customClass]}):_c(_vm.useIconComponent,{tag:\"component\",class:[_vm.customClass],attrs:{\"icon\":[_vm.newPack, _vm.newIcon],\"size\":_vm.newCustomSize}})],1)};\nvar __vue_staticRenderFns__ = [];\n\n /* style */\n const __vue_inject_styles__ = undefined;\n /* scoped */\n const __vue_scope_id__ = undefined;\n /* module identifier */\n const __vue_module_identifier__ = undefined;\n /* functional template */\n const __vue_is_functional_template__ = false;\n /* style inject */\n \n /* style inject SSR */\n \n\n \n var Icon = __vue_normalize__(\n { render: __vue_render__, staticRenderFns: __vue_staticRenderFns__ },\n __vue_inject_styles__,\n __vue_script__,\n __vue_scope_id__,\n __vue_is_functional_template__,\n __vue_module_identifier__,\n undefined,\n undefined\n );\n\nexport { Icon as I };\n","import { _ as _defineProperty } from './chunk-455cdeae.js';\nimport { c as config } from './chunk-e92e3389.js';\nimport { F as FormElementMixin } from './chunk-17b33cd2.js';\nimport { I as Icon } from './chunk-7e17a637.js';\nimport { _ as __vue_normalize__ } from './chunk-cca88db8.js';\n\nvar script = {\n name: 'BInput',\n components: _defineProperty({}, Icon.name, Icon),\n mixins: [FormElementMixin],\n inheritAttrs: false,\n props: {\n value: [Number, String],\n type: {\n type: String,\n default: 'text'\n },\n lazy: {\n type: Boolean,\n default: false\n },\n passwordReveal: Boolean,\n iconClickable: Boolean,\n hasCounter: {\n type: Boolean,\n default: function _default() {\n return config.defaultInputHasCounter;\n }\n },\n customClass: {\n type: String,\n default: ''\n },\n iconRight: String,\n iconRightClickable: Boolean,\n iconRightType: String\n },\n data: function data() {\n return {\n newValue: this.value,\n newType: this.type,\n newAutocomplete: this.autocomplete || config.defaultInputAutocomplete,\n isPasswordVisible: false,\n _elementRef: this.type === 'textarea' ? 'textarea' : 'input'\n };\n },\n computed: {\n computedValue: {\n get: function get() {\n return this.newValue;\n },\n set: function set(value) {\n this.newValue = value;\n this.$emit('input', value);\n }\n },\n rootClasses: function rootClasses() {\n return [this.iconPosition, this.size, {\n 'is-expanded': this.expanded,\n 'is-loading': this.loading,\n 'is-clearfix': !this.hasMessage\n }];\n },\n inputClasses: function inputClasses() {\n return [this.statusType, this.size, {\n 'is-rounded': this.rounded\n }];\n },\n hasIconRight: function hasIconRight() {\n return this.passwordReveal || this.loading || this.statusIcon && this.statusTypeIcon || this.iconRight;\n },\n rightIcon: function rightIcon() {\n if (this.passwordReveal) {\n return this.passwordVisibleIcon;\n } else if (this.iconRight) {\n return this.iconRight;\n }\n\n return this.statusTypeIcon;\n },\n rightIconType: function rightIconType() {\n if (this.passwordReveal) {\n return 'is-primary';\n } else if (this.iconRight) {\n return this.iconRightType || null;\n }\n\n return this.statusType;\n },\n\n /**\r\n * Position of the icon or if it's both sides.\r\n */\n iconPosition: function iconPosition() {\n var iconClasses = '';\n\n if (this.icon) {\n iconClasses += 'has-icons-left ';\n }\n\n if (this.hasIconRight) {\n iconClasses += 'has-icons-right';\n }\n\n return iconClasses;\n },\n\n /**\r\n * Icon name (MDI) based on the type.\r\n */\n statusTypeIcon: function statusTypeIcon() {\n switch (this.statusType) {\n case 'is-success':\n return 'check';\n\n case 'is-danger':\n return 'alert-circle';\n\n case 'is-info':\n return 'information';\n\n case 'is-warning':\n return 'alert';\n }\n },\n\n /**\r\n * Check if have any message prop from parent if it's a Field.\r\n */\n hasMessage: function hasMessage() {\n return !!this.statusMessage;\n },\n\n /**\r\n * Current password-reveal icon name.\r\n */\n passwordVisibleIcon: function passwordVisibleIcon() {\n return !this.isPasswordVisible ? 'eye' : 'eye-off';\n },\n\n /**\r\n * Get value length\r\n */\n valueLength: function valueLength() {\n if (typeof this.computedValue === 'string') {\n return Array.from(this.computedValue).length;\n } else if (typeof this.computedValue === 'number') {\n return this.computedValue.toString().length;\n }\n\n return 0;\n }\n },\n watch: {\n /**\r\n * When v-model is changed:\r\n * 1. Set internal value.\r\n */\n value: function value(_value) {\n this.newValue = _value;\n },\n type: function type(_type) {\n this.newType = _type;\n }\n },\n methods: {\n /**\r\n * Toggle the visibility of a password-reveal input\r\n * by changing the type and focus the input right away.\r\n */\n togglePasswordVisibility: function togglePasswordVisibility() {\n var _this = this;\n\n this.isPasswordVisible = !this.isPasswordVisible;\n this.newType = this.isPasswordVisible ? 'text' : 'password';\n this.$nextTick(function () {\n _this.focus();\n });\n },\n iconClick: function iconClick(emit, event) {\n var _this2 = this;\n\n this.$emit(emit, event);\n this.$nextTick(function () {\n _this2.focus();\n });\n },\n rightIconClick: function rightIconClick(event) {\n if (this.passwordReveal) {\n this.togglePasswordVisibility();\n } else if (this.iconRightClickable) {\n this.iconClick('icon-right-click', event);\n }\n },\n onInput: function onInput(event) {\n if (!this.lazy) {\n var value = event.target.value;\n this.updateValue(value);\n }\n },\n onChange: function onChange(event) {\n if (this.lazy) {\n var value = event.target.value;\n this.updateValue(value);\n }\n },\n updateValue: function updateValue(value) {\n this.computedValue = value;\n !this.isValid && this.checkHtml5Validity();\n }\n }\n};\n\n/* script */\nconst __vue_script__ = script;\n\n/* template */\nvar __vue_render__ = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"control\",class:_vm.rootClasses},[(_vm.type !== 'textarea')?_c('input',_vm._b({ref:\"input\",staticClass:\"input\",class:[_vm.inputClasses, _vm.customClass],attrs:{\"type\":_vm.newType,\"autocomplete\":_vm.newAutocomplete,\"maxlength\":_vm.maxlength},domProps:{\"value\":_vm.computedValue},on:{\"input\":_vm.onInput,\"change\":_vm.onChange,\"blur\":_vm.onBlur,\"focus\":_vm.onFocus}},'input',_vm.$attrs,false)):_c('textarea',_vm._b({ref:\"textarea\",staticClass:\"textarea\",class:[_vm.inputClasses, _vm.customClass],attrs:{\"maxlength\":_vm.maxlength},domProps:{\"value\":_vm.computedValue},on:{\"input\":_vm.onInput,\"change\":_vm.onChange,\"blur\":_vm.onBlur,\"focus\":_vm.onFocus}},'textarea',_vm.$attrs,false)),(_vm.icon)?_c('b-icon',{staticClass:\"is-left\",class:{'is-clickable': _vm.iconClickable},attrs:{\"icon\":_vm.icon,\"pack\":_vm.iconPack,\"size\":_vm.iconSize},nativeOn:{\"click\":function($event){return _vm.iconClick('icon-click', $event)}}}):_vm._e(),(!_vm.loading && _vm.hasIconRight)?_c('b-icon',{staticClass:\"is-right\",class:{ 'is-clickable': _vm.passwordReveal || _vm.iconRightClickable },attrs:{\"icon\":_vm.rightIcon,\"pack\":_vm.iconPack,\"size\":_vm.iconSize,\"type\":_vm.rightIconType,\"both\":\"\"},nativeOn:{\"click\":function($event){return _vm.rightIconClick($event)}}}):_vm._e(),(_vm.maxlength && _vm.hasCounter && _vm.type !== 'number')?_c('small',{staticClass:\"help counter\",class:{ 'is-invisible': !_vm.isFocused }},[_vm._v(\" \"+_vm._s(_vm.valueLength)+\" / \"+_vm._s(_vm.maxlength)+\" \")]):_vm._e()],1)};\nvar __vue_staticRenderFns__ = [];\n\n /* style */\n const __vue_inject_styles__ = undefined;\n /* scoped */\n const __vue_scope_id__ = undefined;\n /* module identifier */\n const __vue_module_identifier__ = undefined;\n /* functional template */\n const __vue_is_functional_template__ = false;\n /* style inject */\n \n /* style inject SSR */\n \n\n \n var Input = __vue_normalize__(\n { render: __vue_render__, staticRenderFns: __vue_staticRenderFns__ },\n __vue_inject_styles__,\n __vue_script__,\n __vue_scope_id__,\n __vue_is_functional_template__,\n __vue_module_identifier__,\n undefined,\n undefined\n );\n\nexport { Input as I };\n","import { _ as _defineProperty, d as _toConsumableArray, b as _typeof } from './chunk-455cdeae.js';\nimport { getValueByPath, toCssWidth, isCustomElement, createAbsoluteElement, removeElement } from './helpers.js';\nimport { F as FormElementMixin } from './chunk-17b33cd2.js';\nimport { _ as __vue_normalize__ } from './chunk-cca88db8.js';\nimport { I as Input } from './chunk-72ecb544.js';\n\nvar script = {\n name: 'BAutocomplete',\n components: _defineProperty({}, Input.name, Input),\n mixins: [FormElementMixin],\n inheritAttrs: false,\n props: {\n value: [Number, String],\n data: {\n type: Array,\n default: function _default() {\n return [];\n }\n },\n field: {\n type: String,\n default: 'value'\n },\n keepFirst: Boolean,\n clearOnSelect: Boolean,\n openOnFocus: Boolean,\n customFormatter: Function,\n checkInfiniteScroll: Boolean,\n keepOpen: Boolean,\n selectOnClickOutside: Boolean,\n clearable: Boolean,\n maxHeight: [String, Number],\n dropdownPosition: {\n type: String,\n default: 'auto'\n },\n groupField: String,\n groupOptions: String,\n iconRight: String,\n iconRightClickable: Boolean,\n appendToBody: Boolean,\n type: {\n type: String,\n default: 'text'\n },\n confirmKeys: {\n type: Array,\n default: function _default() {\n return ['Tab', 'Enter'];\n }\n },\n selectableHeader: Boolean,\n selectableFooter: Boolean\n },\n data: function data() {\n return {\n selected: null,\n hovered: null,\n headerHovered: null,\n footerHovered: null,\n isActive: false,\n newValue: this.value,\n newAutocomplete: this.autocomplete || 'off',\n ariaAutocomplete: this.keepFirst ? 'both' : 'list',\n isListInViewportVertically: true,\n hasFocus: false,\n style: {},\n _isAutocomplete: true,\n _elementRef: 'input',\n _bodyEl: undefined // Used to append to body\n\n };\n },\n computed: {\n computedData: function computedData() {\n var _this = this;\n\n if (this.groupField) {\n if (this.groupOptions) {\n var newData = [];\n this.data.forEach(function (option) {\n var group = getValueByPath(option, _this.groupField);\n var items = getValueByPath(option, _this.groupOptions);\n newData.push({\n group: group,\n items: items\n });\n });\n return newData;\n } else {\n var tmp = {};\n this.data.forEach(function (option) {\n var group = getValueByPath(option, _this.groupField);\n if (!tmp[group]) tmp[group] = [];\n tmp[group].push(option);\n });\n var _newData = [];\n Object.keys(tmp).forEach(function (group) {\n _newData.push({\n group: group,\n items: tmp[group]\n });\n });\n return _newData;\n }\n }\n\n return [{\n items: this.data\n }];\n },\n isEmpty: function isEmpty() {\n if (!this.computedData) return true;\n return !this.computedData.some(function (element) {\n return element.items && element.items.length;\n });\n },\n\n /**\r\n * White-listed items to not close when clicked.\r\n * Add input, dropdown and all children.\r\n */\n whiteList: function whiteList() {\n var whiteList = [];\n whiteList.push(this.$refs.input.$el.querySelector('input'));\n whiteList.push(this.$refs.dropdown); // Add all children from dropdown\n\n if (this.$refs.dropdown !== undefined) {\n var children = this.$refs.dropdown.querySelectorAll('*');\n var _iteratorNormalCompletion = true;\n var _didIteratorError = false;\n var _iteratorError = undefined;\n\n try {\n for (var _iterator = children[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) {\n var child = _step.value;\n whiteList.push(child);\n }\n } catch (err) {\n _didIteratorError = true;\n _iteratorError = err;\n } finally {\n try {\n if (!_iteratorNormalCompletion && _iterator.return != null) {\n _iterator.return();\n }\n } finally {\n if (_didIteratorError) {\n throw _iteratorError;\n }\n }\n }\n }\n\n if (this.$parent.$data._isTaginput) {\n // Add taginput container\n whiteList.push(this.$parent.$el); // Add .tag and .delete\n\n var tagInputChildren = this.$parent.$el.querySelectorAll('*');\n var _iteratorNormalCompletion2 = true;\n var _didIteratorError2 = false;\n var _iteratorError2 = undefined;\n\n try {\n for (var _iterator2 = tagInputChildren[Symbol.iterator](), _step2; !(_iteratorNormalCompletion2 = (_step2 = _iterator2.next()).done); _iteratorNormalCompletion2 = true) {\n var tagInputChild = _step2.value;\n whiteList.push(tagInputChild);\n }\n } catch (err) {\n _didIteratorError2 = true;\n _iteratorError2 = err;\n } finally {\n try {\n if (!_iteratorNormalCompletion2 && _iterator2.return != null) {\n _iterator2.return();\n }\n } finally {\n if (_didIteratorError2) {\n throw _iteratorError2;\n }\n }\n }\n }\n\n return whiteList;\n },\n\n /**\r\n * Check if exists default slot\r\n */\n hasDefaultSlot: function hasDefaultSlot() {\n return !!this.$scopedSlots.default;\n },\n\n /**\r\n * Check if exists group slot\r\n */\n hasGroupSlot: function hasGroupSlot() {\n return !!this.$scopedSlots.group;\n },\n\n /**\r\n * Check if exists \"empty\" slot\r\n */\n hasEmptySlot: function hasEmptySlot() {\n return !!this.$slots.empty;\n },\n\n /**\r\n * Check if exists \"header\" slot\r\n */\n hasHeaderSlot: function hasHeaderSlot() {\n return !!this.$slots.header;\n },\n\n /**\r\n * Check if exists \"footer\" slot\r\n */\n hasFooterSlot: function hasFooterSlot() {\n return !!this.$slots.footer;\n },\n\n /**\r\n * Apply dropdownPosition property\r\n */\n isOpenedTop: function isOpenedTop() {\n return this.dropdownPosition === 'top' || this.dropdownPosition === 'auto' && !this.isListInViewportVertically;\n },\n newIconRight: function newIconRight() {\n if (this.clearable && this.newValue) {\n return 'close-circle';\n }\n\n return this.iconRight;\n },\n newIconRightClickable: function newIconRightClickable() {\n if (this.clearable) {\n return true;\n }\n\n return this.iconRightClickable;\n },\n contentStyle: function contentStyle() {\n return {\n maxHeight: toCssWidth(this.maxHeight)\n };\n }\n },\n watch: {\n /**\r\n * When dropdown is toggled, check the visibility to know when\r\n * to open upwards.\r\n */\n isActive: function isActive(active) {\n var _this2 = this;\n\n if (this.dropdownPosition === 'auto') {\n if (active) {\n this.calcDropdownInViewportVertical();\n } else {\n // Timeout to wait for the animation to finish before recalculating\n setTimeout(function () {\n _this2.calcDropdownInViewportVertical();\n }, 100);\n }\n }\n },\n\n /**\r\n * When updating input's value\r\n * 1. Emit changes\r\n * 2. If value isn't the same as selected, set null\r\n * 3. Close dropdown if value is clear or else open it\r\n */\n newValue: function newValue(value) {\n this.$emit('input', value); // Check if selected is invalid\n\n var currentValue = this.getValue(this.selected);\n\n if (currentValue && currentValue !== value) {\n this.setSelected(null, false);\n } // Close dropdown if input is clear or else open it\n\n\n if (this.hasFocus && (!this.openOnFocus || value)) {\n this.isActive = !!value;\n }\n },\n\n /**\r\n * When v-model is changed:\r\n * 1. Update internal value.\r\n * 2. If it's invalid, validate again.\r\n */\n value: function value(_value) {\n this.newValue = _value;\n },\n\n /**\r\n * Select first option if \"keep-first\r\n */\n data: function data() {\n var _this3 = this;\n\n // Keep first option always pre-selected\n if (this.keepFirst) {\n this.$nextTick(function () {\n if (_this3.isActive) {\n _this3.selectFirstOption(_this3.computedData);\n } else {\n _this3.setHovered(null);\n }\n });\n } else {\n if (this.hovered) {\n // reset hovered if list doesn't contain it\n var hoveredValue = this.getValue(this.hovered);\n var data = this.computedData.map(function (d) {\n return d.items;\n }).reduce(function (a, b) {\n return [].concat(_toConsumableArray(a), _toConsumableArray(b));\n }, []);\n\n if (!data.some(function (d) {\n return _this3.getValue(d) === hoveredValue;\n })) {\n this.setHovered(null);\n }\n }\n }\n }\n },\n methods: {\n /**\r\n * Set which option is currently hovered.\r\n */\n setHovered: function setHovered(option) {\n if (option === undefined) return;\n this.hovered = option;\n },\n\n /**\r\n * Set which option is currently selected, update v-model,\r\n * update input value and close dropdown.\r\n */\n setSelected: function setSelected(option) {\n var _this4 = this;\n\n var closeDropdown = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;\n var event = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : undefined;\n if (option === undefined) return;\n this.selected = option;\n this.$emit('select', this.selected, event);\n\n if (this.selected !== null) {\n if (this.clearOnSelect) {\n var input = this.$refs.input;\n input.newValue = '';\n input.$refs.input.value = '';\n } else {\n this.newValue = this.getValue(this.selected);\n }\n\n this.setHovered(null);\n }\n\n closeDropdown && this.$nextTick(function () {\n _this4.isActive = false;\n });\n this.checkValidity();\n },\n\n /**\r\n * Select first option\r\n */\n selectFirstOption: function selectFirstOption(computedData) {\n var _this5 = this;\n\n this.$nextTick(function () {\n var nonEmptyElements = computedData.filter(function (element) {\n return element.items && element.items.length;\n });\n\n if (nonEmptyElements.length) {\n var option = nonEmptyElements[0].items[0];\n\n _this5.setHovered(option);\n } else {\n _this5.setHovered(null);\n }\n });\n },\n keydown: function keydown(event) {\n var key = event.key; // cannot destructure preventDefault (https://stackoverflow.com/a/49616808/2774496)\n // prevent emit submit event\n\n if (key === 'Enter') event.preventDefault(); // Close dropdown on Tab & no hovered\n\n if (key === 'Escape' || key === 'Tab') {\n this.isActive = false;\n }\n\n if (this.confirmKeys.indexOf(key) >= 0) {\n // If adding by comma, don't add the comma to the input\n if (key === ',') event.preventDefault(); // Close dropdown on select by Tab\n\n var closeDropdown = !this.keepOpen || key === 'Tab';\n\n if (this.hovered === null) {\n // header and footer uses headerHovered && footerHovered. If header or footer\n // was selected then fire event otherwise just return so a value isn't selected\n this.checkIfHeaderOrFooterSelected(event, null, closeDropdown);\n return;\n }\n\n this.setSelected(this.hovered, closeDropdown, event);\n }\n },\n selectHeaderOrFoterByClick: function selectHeaderOrFoterByClick(event, origin) {\n this.checkIfHeaderOrFooterSelected(event, {\n origin: origin\n });\n },\n\n /**\r\n * Check if header or footer was selected.\r\n */\n checkIfHeaderOrFooterSelected: function checkIfHeaderOrFooterSelected(event, triggerClick) {\n var closeDropdown = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : true;\n\n if (this.selectableHeader && (this.headerHovered || triggerClick && triggerClick.origin === 'header')) {\n this.$emit('select-header', event);\n this.headerHovered = false;\n if (triggerClick) this.setHovered(null);\n if (closeDropdown) this.isActive = false;\n }\n\n if (this.selectableFooter && (this.footerHovered || triggerClick && triggerClick.origin === 'footer')) {\n this.$emit('select-footer', event);\n this.footerHovered = false;\n if (triggerClick) this.setHovered(null);\n if (closeDropdown) this.isActive = false;\n }\n },\n\n /**\r\n * Close dropdown if clicked outside.\r\n */\n clickedOutside: function clickedOutside(event) {\n var target = isCustomElement(this) ? event.composedPath()[0] : event.target;\n\n if (!this.hasFocus && this.whiteList.indexOf(target) < 0) {\n if (this.keepFirst && this.hovered && this.selectOnClickOutside) {\n this.setSelected(this.hovered, true);\n } else {\n this.isActive = false;\n }\n }\n },\n\n /**\r\n * Return display text for the input.\r\n * If object, get value from path, or else just the value.\r\n */\n getValue: function getValue(option) {\n if (option === null) return;\n\n if (typeof this.customFormatter !== 'undefined') {\n return this.customFormatter(option);\n }\n\n return _typeof(option) === 'object' ? getValueByPath(option, this.field) : option;\n },\n\n /**\r\n * Check if the scroll list inside the dropdown\r\n * reached it's end.\r\n */\n checkIfReachedTheEndOfScroll: function checkIfReachedTheEndOfScroll(list) {\n if (list.clientHeight !== list.scrollHeight && list.scrollTop + list.clientHeight >= list.scrollHeight) {\n this.$emit('infinite-scroll');\n }\n },\n\n /**\r\n * Calculate if the dropdown is vertically visible when activated,\r\n * otherwise it is openened upwards.\r\n */\n calcDropdownInViewportVertical: function calcDropdownInViewportVertical() {\n var _this6 = this;\n\n this.$nextTick(function () {\n /**\r\n * this.$refs.dropdown may be undefined\r\n * when Autocomplete is conditional rendered\r\n */\n if (_this6.$refs.dropdown === undefined) return;\n\n var rect = _this6.$refs.dropdown.getBoundingClientRect();\n\n _this6.isListInViewportVertically = rect.top >= 0 && rect.bottom <= (window.innerHeight || document.documentElement.clientHeight);\n\n if (_this6.appendToBody) {\n _this6.updateAppendToBody();\n }\n });\n },\n\n /**\r\n * Arrows keys listener.\r\n * If dropdown is active, set hovered option, or else just open.\r\n */\n keyArrows: function keyArrows(direction) {\n var sum = direction === 'down' ? 1 : -1;\n\n if (this.isActive) {\n var data = this.computedData.map(function (d) {\n return d.items;\n }).reduce(function (a, b) {\n return [].concat(_toConsumableArray(a), _toConsumableArray(b));\n }, []);\n\n if (this.hasHeaderSlot && this.selectableHeader) {\n data.unshift(undefined);\n }\n\n if (this.hasFooterSlot && this.selectableFooter) {\n data.push(undefined);\n }\n\n var index;\n\n if (this.headerHovered) {\n index = 0 + sum;\n } else if (this.footerHovered) {\n index = data.length - 1 + sum;\n } else {\n index = data.indexOf(this.hovered) + sum;\n }\n\n index = index > data.length - 1 ? data.length - 1 : index;\n index = index < 0 ? 0 : index;\n this.footerHovered = false;\n this.headerHovered = false;\n this.setHovered(data[index] !== undefined ? data[index] : null);\n\n if (this.hasFooterSlot && this.selectableFooter && index === data.length - 1) {\n this.footerHovered = true;\n }\n\n if (this.hasHeaderSlot && this.selectableHeader && index === 0) {\n this.headerHovered = true;\n }\n\n var list = this.$refs.dropdown.querySelector('.dropdown-content');\n var querySelectorText = 'a.dropdown-item:not(.is-disabled)';\n\n if (this.hasHeaderSlot && this.selectableHeader) {\n querySelectorText += ',div.dropdown-header';\n }\n\n if (this.hasFooterSlot && this.selectableFooter) {\n querySelectorText += ',div.dropdown-footer';\n }\n\n var element = list.querySelectorAll(querySelectorText)[index];\n if (!element) return;\n var visMin = list.scrollTop;\n var visMax = list.scrollTop + list.clientHeight - element.clientHeight;\n\n if (element.offsetTop < visMin) {\n list.scrollTop = element.offsetTop;\n } else if (element.offsetTop >= visMax) {\n list.scrollTop = element.offsetTop - list.clientHeight + element.clientHeight;\n }\n } else {\n this.isActive = true;\n }\n },\n\n /**\r\n * Focus listener.\r\n * If value is the same as selected, select all text.\r\n */\n focused: function focused(event) {\n if (this.getValue(this.selected) === this.newValue) {\n this.$el.querySelector('input').select();\n }\n\n if (this.openOnFocus) {\n this.isActive = true;\n\n if (this.keepFirst) {\n // If open on focus, update the hovered\n this.selectFirstOption(this.computedData);\n }\n }\n\n this.hasFocus = true;\n this.$emit('focus', event);\n },\n\n /**\r\n * Blur listener.\r\n */\n onBlur: function onBlur(event) {\n this.hasFocus = false;\n this.$emit('blur', event);\n },\n onInput: function onInput() {\n var currentValue = this.getValue(this.selected);\n if (currentValue && currentValue === this.newValue) return;\n this.$emit('typing', this.newValue);\n this.checkValidity();\n },\n rightIconClick: function rightIconClick(event) {\n if (this.clearable) {\n this.newValue = '';\n this.setSelected(null, false);\n\n if (this.openOnFocus) {\n this.$refs.input.$el.focus();\n }\n } else {\n this.$emit('icon-right-click', event);\n }\n },\n checkValidity: function checkValidity() {\n var _this7 = this;\n\n if (this.useHtml5Validation) {\n this.$nextTick(function () {\n _this7.checkHtml5Validity();\n });\n }\n },\n updateAppendToBody: function updateAppendToBody() {\n var dropdownMenu = this.$refs.dropdown;\n var trigger = this.$refs.input.$el;\n\n if (dropdownMenu && trigger) {\n // update wrapper dropdown\n var root = this.$data._bodyEl;\n root.classList.forEach(function (item) {\n return root.classList.remove(item);\n });\n root.classList.add('autocomplete');\n root.classList.add('control');\n\n if (this.expandend) {\n root.classList.add('is-expandend');\n }\n\n var rect = trigger.getBoundingClientRect();\n var top = rect.top + window.scrollY;\n var left = rect.left + window.scrollX;\n\n if (!this.isOpenedTop) {\n top += trigger.clientHeight;\n } else {\n top -= dropdownMenu.clientHeight;\n }\n\n this.style = {\n position: 'absolute',\n top: \"\".concat(top, \"px\"),\n left: \"\".concat(left, \"px\"),\n width: \"\".concat(trigger.clientWidth, \"px\"),\n maxWidth: \"\".concat(trigger.clientWidth, \"px\"),\n zIndex: '99'\n };\n }\n }\n },\n created: function created() {\n if (typeof window !== 'undefined') {\n document.addEventListener('click', this.clickedOutside);\n\n if (this.dropdownPosition === 'auto') {\n window.addEventListener('resize', this.calcDropdownInViewportVertical);\n }\n }\n },\n mounted: function mounted() {\n var _this8 = this;\n\n if (this.checkInfiniteScroll && this.$refs.dropdown && this.$refs.dropdown.querySelector('.dropdown-content')) {\n var list = this.$refs.dropdown.querySelector('.dropdown-content');\n list.addEventListener('scroll', function () {\n return _this8.checkIfReachedTheEndOfScroll(list);\n });\n }\n\n if (this.appendToBody) {\n this.$data._bodyEl = createAbsoluteElement(this.$refs.dropdown);\n this.updateAppendToBody();\n }\n },\n beforeDestroy: function beforeDestroy() {\n if (typeof window !== 'undefined') {\n document.removeEventListener('click', this.clickedOutside);\n\n if (this.dropdownPosition === 'auto') {\n window.removeEventListener('resize', this.calcDropdownInViewportVertical);\n }\n }\n\n if (this.checkInfiniteScroll && this.$refs.dropdown && this.$refs.dropdown.querySelector('.dropdown-content')) {\n var list = this.$refs.dropdown.querySelector('.dropdown-content');\n list.removeEventListener('scroll', this.checkIfReachedTheEndOfScroll);\n }\n\n if (this.appendToBody) {\n removeElement(this.$data._bodyEl);\n }\n }\n};\n\n/* script */\nconst __vue_script__ = script;\n\n/* template */\nvar __vue_render__ = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"autocomplete control\",class:{ 'is-expanded': _vm.expanded }},[_c('b-input',_vm._b({ref:\"input\",attrs:{\"type\":_vm.type,\"size\":_vm.size,\"loading\":_vm.loading,\"rounded\":_vm.rounded,\"icon\":_vm.icon,\"icon-right\":_vm.newIconRight,\"icon-right-clickable\":_vm.newIconRightClickable,\"icon-pack\":_vm.iconPack,\"maxlength\":_vm.maxlength,\"autocomplete\":_vm.newAutocomplete,\"use-html5-validation\":false,\"aria-autocomplete\":_vm.ariaAutocomplete},on:{\"input\":_vm.onInput,\"focus\":_vm.focused,\"blur\":_vm.onBlur,\"icon-right-click\":_vm.rightIconClick,\"icon-click\":function (event) { return _vm.$emit('icon-click', event); }},nativeOn:{\"keydown\":[function($event){return _vm.keydown($event)},function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"up\",38,$event.key,[\"Up\",\"ArrowUp\"])){ return null; }$event.preventDefault();return _vm.keyArrows('up')},function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"down\",40,$event.key,[\"Down\",\"ArrowDown\"])){ return null; }$event.preventDefault();return _vm.keyArrows('down')}]},model:{value:(_vm.newValue),callback:function ($$v) {_vm.newValue=$$v;},expression:\"newValue\"}},'b-input',_vm.$attrs,false)),_c('transition',{attrs:{\"name\":\"fade\"}},[_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.isActive && (!_vm.isEmpty || _vm.hasEmptySlot || _vm.hasHeaderSlot)),expression:\"isActive && (!isEmpty || hasEmptySlot || hasHeaderSlot)\"}],ref:\"dropdown\",staticClass:\"dropdown-menu\",class:{ 'is-opened-top': _vm.isOpenedTop && !_vm.appendToBody },style:(_vm.style)},[_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.isActive),expression:\"isActive\"}],staticClass:\"dropdown-content\",style:(_vm.contentStyle)},[(_vm.hasHeaderSlot)?_c('div',{staticClass:\"dropdown-item dropdown-header\",class:{ 'is-hovered': _vm.headerHovered },attrs:{\"role\":\"button\",\"tabindex\":\"0\"},on:{\"click\":function($event){return _vm.selectHeaderOrFoterByClick($event, 'header')}}},[_vm._t(\"header\")],2):_vm._e(),_vm._l((_vm.computedData),function(element,groupindex){return [(element.group)?_c('div',{key:groupindex + 'group',staticClass:\"dropdown-item\"},[(_vm.hasGroupSlot)?_vm._t(\"group\",null,{\"group\":element.group,\"index\":groupindex}):_c('span',{staticClass:\"has-text-weight-bold\"},[_vm._v(\" \"+_vm._s(element.group)+\" \")])],2):_vm._e(),_vm._l((element.items),function(option,index){return _c('a',{key:groupindex + ':' + index,staticClass:\"dropdown-item\",class:{ 'is-hovered': option === _vm.hovered },attrs:{\"role\":\"button\",\"tabindex\":\"0\"},on:{\"click\":function($event){$event.stopPropagation();return _vm.setSelected(option, !_vm.keepOpen, $event)}}},[(_vm.hasDefaultSlot)?_vm._t(\"default\",null,{\"option\":option,\"index\":index}):_c('span',[_vm._v(\" \"+_vm._s(_vm.getValue(option, true))+\" \")])],2)})]}),(_vm.isEmpty && _vm.hasEmptySlot)?_c('div',{staticClass:\"dropdown-item is-disabled\"},[_vm._t(\"empty\")],2):_vm._e(),(_vm.hasFooterSlot)?_c('div',{staticClass:\"dropdown-item dropdown-footer\",class:{ 'is-hovered': _vm.footerHovered },attrs:{\"role\":\"button\",\"tabindex\":\"0\"},on:{\"click\":function($event){return _vm.selectHeaderOrFoterByClick($event, 'footer')}}},[_vm._t(\"footer\")],2):_vm._e()],2)])])],1)};\nvar __vue_staticRenderFns__ = [];\n\n /* style */\n const __vue_inject_styles__ = undefined;\n /* scoped */\n const __vue_scope_id__ = undefined;\n /* module identifier */\n const __vue_module_identifier__ = undefined;\n /* functional template */\n const __vue_is_functional_template__ = false;\n /* style inject */\n \n /* style inject SSR */\n \n\n \n var Autocomplete = __vue_normalize__(\n { render: __vue_render__, staticRenderFns: __vue_staticRenderFns__ },\n __vue_inject_styles__,\n __vue_script__,\n __vue_scope_id__,\n __vue_is_functional_template__,\n __vue_module_identifier__,\n undefined,\n undefined\n );\n\nexport { Autocomplete as A };\n","import './chunk-455cdeae.js';\nimport './helpers.js';\nimport './chunk-e92e3389.js';\nimport './chunk-17b33cd2.js';\nimport './chunk-7e17a637.js';\nimport { r as registerComponent, u as use } from './chunk-cca88db8.js';\nimport './chunk-72ecb544.js';\nimport { A as Autocomplete } from './chunk-abcf9a94.js';\nexport { A as BAutocomplete } from './chunk-abcf9a94.js';\n\nvar Plugin = {\n install: function install(Vue) {\n registerComponent(Vue, Autocomplete);\n }\n};\nuse(Plugin);\n\nexport default Plugin;\n","import { c as config } from './chunk-e92e3389.js';\nimport { _ as __vue_normalize__, r as registerComponent, u as use } from './chunk-cca88db8.js';\n\n//\nvar script = {\n name: 'BBreadcrumb',\n props: {\n align: {\n type: String,\n default: function _default() {\n return config.defaultBreadcrumbAlign;\n }\n },\n separator: {\n type: String,\n default: function _default() {\n return config.defaultBreadcrumbSeparator;\n }\n },\n size: {\n type: String,\n default: function _default() {\n return config.defaultBreadcrumbSize;\n }\n }\n },\n computed: {\n breadcrumbClasses: function breadcrumbClasses() {\n return ['breadcrumb', this.align, this.separator, this.size];\n }\n }\n};\n\n/* script */\nconst __vue_script__ = script;\n\n/* template */\nvar __vue_render__ = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('nav',{class:_vm.breadcrumbClasses},[_c('ul',[_vm._t(\"default\")],2)])};\nvar __vue_staticRenderFns__ = [];\n\n /* style */\n const __vue_inject_styles__ = undefined;\n /* scoped */\n const __vue_scope_id__ = undefined;\n /* module identifier */\n const __vue_module_identifier__ = undefined;\n /* functional template */\n const __vue_is_functional_template__ = false;\n /* style inject */\n \n /* style inject SSR */\n \n\n \n var Breadcrumb = __vue_normalize__(\n { render: __vue_render__, staticRenderFns: __vue_staticRenderFns__ },\n __vue_inject_styles__,\n __vue_script__,\n __vue_scope_id__,\n __vue_is_functional_template__,\n __vue_module_identifier__,\n undefined,\n undefined\n );\n\n//\nvar script$1 = {\n name: 'BBreadcrumbItem',\n inheritAttrs: false,\n props: {\n tag: {\n type: String,\n default: function _default() {\n return config.defaultBreadcrumbTag;\n }\n },\n active: Boolean\n }\n};\n\n/* script */\nconst __vue_script__$1 = script$1;\n\n/* template */\nvar __vue_render__$1 = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('li',{class:{ 'is-active': _vm.active }},[_c(_vm.tag,_vm._g(_vm._b({tag:\"component\"},'component',_vm.$attrs,false),_vm.$listeners),[_vm._t(\"default\")],2)],1)};\nvar __vue_staticRenderFns__$1 = [];\n\n /* style */\n const __vue_inject_styles__$1 = undefined;\n /* scoped */\n const __vue_scope_id__$1 = undefined;\n /* module identifier */\n const __vue_module_identifier__$1 = undefined;\n /* functional template */\n const __vue_is_functional_template__$1 = false;\n /* style inject */\n \n /* style inject SSR */\n \n\n \n var BreadcrumbItem = __vue_normalize__(\n { render: __vue_render__$1, staticRenderFns: __vue_staticRenderFns__$1 },\n __vue_inject_styles__$1,\n __vue_script__$1,\n __vue_scope_id__$1,\n __vue_is_functional_template__$1,\n __vue_module_identifier__$1,\n undefined,\n undefined\n );\n\nvar Plugin = {\n install: function install(Vue) {\n registerComponent(Vue, Breadcrumb);\n registerComponent(Vue, BreadcrumbItem);\n }\n};\nuse(Plugin);\n\nexport default Plugin;\nexport { Breadcrumb as BBreadcrumb, BreadcrumbItem as BBreadcrumbItem };\n","import { _ as _defineProperty } from './chunk-455cdeae.js';\nimport { c as config } from './chunk-e92e3389.js';\nimport { I as Icon } from './chunk-7e17a637.js';\nimport { _ as __vue_normalize__ } from './chunk-cca88db8.js';\n\nvar script = {\n name: 'BButton',\n components: _defineProperty({}, Icon.name, Icon),\n inheritAttrs: false,\n props: {\n type: [String, Object],\n size: String,\n label: String,\n iconPack: String,\n iconLeft: String,\n iconRight: String,\n rounded: {\n type: Boolean,\n default: function _default() {\n return config.defaultButtonRounded;\n }\n },\n loading: Boolean,\n outlined: Boolean,\n expanded: Boolean,\n inverted: Boolean,\n focused: Boolean,\n active: Boolean,\n hovered: Boolean,\n selected: Boolean,\n nativeType: {\n type: String,\n default: 'button',\n validator: function validator(value) {\n return ['button', 'submit', 'reset'].indexOf(value) >= 0;\n }\n },\n tag: {\n type: String,\n default: 'button',\n validator: function validator(value) {\n return config.defaultLinkTags.indexOf(value) >= 0;\n }\n }\n },\n computed: {\n computedTag: function computedTag() {\n if (this.$attrs.disabled !== undefined && this.$attrs.disabled !== false) {\n return 'button';\n }\n\n return this.tag;\n },\n iconSize: function iconSize() {\n if (!this.size || this.size === 'is-medium') {\n return 'is-small';\n } else if (this.size === 'is-large') {\n return 'is-medium';\n }\n\n return this.size;\n }\n }\n};\n\n/* script */\nconst __vue_script__ = script;\n\n/* template */\nvar __vue_render__ = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c(_vm.computedTag,_vm._g(_vm._b({tag:\"component\",staticClass:\"button\",class:[_vm.size, _vm.type, {\n 'is-rounded': _vm.rounded,\n 'is-loading': _vm.loading,\n 'is-outlined': _vm.outlined,\n 'is-fullwidth': _vm.expanded,\n 'is-inverted': _vm.inverted,\n 'is-focused': _vm.focused,\n 'is-active': _vm.active,\n 'is-hovered': _vm.hovered,\n 'is-selected': _vm.selected\n }],attrs:{\"type\":_vm.computedTag === 'button' ? _vm.nativeType : undefined}},'component',_vm.$attrs,false),_vm.$listeners),[(_vm.iconLeft)?_c('b-icon',{attrs:{\"pack\":_vm.iconPack,\"icon\":_vm.iconLeft,\"size\":_vm.iconSize}}):_vm._e(),(_vm.label)?_c('span',[_vm._v(_vm._s(_vm.label))]):(_vm.$slots.default)?_c('span',[_vm._t(\"default\")],2):_vm._e(),(_vm.iconRight)?_c('b-icon',{attrs:{\"pack\":_vm.iconPack,\"icon\":_vm.iconRight,\"size\":_vm.iconSize}}):_vm._e()],1)};\nvar __vue_staticRenderFns__ = [];\n\n /* style */\n const __vue_inject_styles__ = undefined;\n /* scoped */\n const __vue_scope_id__ = undefined;\n /* module identifier */\n const __vue_module_identifier__ = undefined;\n /* functional template */\n const __vue_is_functional_template__ = false;\n /* style inject */\n \n /* style inject SSR */\n \n\n \n var Button = __vue_normalize__(\n { render: __vue_render__, staticRenderFns: __vue_staticRenderFns__ },\n __vue_inject_styles__,\n __vue_script__,\n __vue_scope_id__,\n __vue_is_functional_template__,\n __vue_module_identifier__,\n undefined,\n undefined\n );\n\nexport { Button as B };\n","import './chunk-455cdeae.js';\nimport './helpers.js';\nimport './chunk-e92e3389.js';\nimport './chunk-7e17a637.js';\nimport { r as registerComponent, u as use } from './chunk-cca88db8.js';\nimport { B as Button } from './chunk-b5576437.js';\nexport { B as BButton } from './chunk-b5576437.js';\n\nvar Plugin = {\n install: function install(Vue) {\n registerComponent(Vue, Button);\n }\n};\nuse(Plugin);\n\nexport default Plugin;\n","import { _ as _defineProperty } from './chunk-455cdeae.js';\nimport { hasFlag } from './helpers.js';\n\nvar items = 1;\nvar sorted = 3;\nvar Sorted = sorted;\nvar ProviderParentMixin = (function (itemName) {\n var flags = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;\n var mixin = {\n provide: function provide() {\n return _defineProperty({}, 'b' + itemName, this);\n }\n };\n\n if (hasFlag(flags, items)) {\n mixin.data = function () {\n return {\n childItems: []\n };\n };\n\n mixin.methods = {\n _registerItem: function _registerItem(item) {\n this.childItems.push(item);\n },\n _unregisterItem: function _unregisterItem(item) {\n this.childItems = this.childItems.filter(function (i) {\n return i !== item;\n });\n }\n };\n\n if (hasFlag(flags, sorted)) {\n mixin.watch = {\n /**\r\n * When items are added/removed deep search in the elements default's slot\r\n * And mark the items with their index\r\n */\n childItems: function childItems(items) {\n if (items.length > 0 && this.$scopedSlots.default) {\n var tag = items[0].$vnode.tag;\n var index = 0;\n\n var deepSearch = function deepSearch(children) {\n var _iteratorNormalCompletion = true;\n var _didIteratorError = false;\n var _iteratorError = undefined;\n\n try {\n var _loop = function _loop() {\n var child = _step.value;\n\n if (child.tag === tag) {\n // An item with the same tag will for sure be found\n var it = items.find(function (i) {\n return i.$vnode === child;\n });\n\n if (it) {\n it.index = index++;\n }\n } else if (child.tag) {\n var sub = child.componentInstance ? child.componentInstance.$scopedSlots.default ? child.componentInstance.$scopedSlots.default() : child.componentInstance.$children : child.children;\n\n if (Array.isArray(sub) && sub.length > 0) {\n deepSearch(sub.map(function (e) {\n return e.$vnode;\n }));\n }\n }\n };\n\n for (var _iterator = children[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) {\n _loop();\n }\n } catch (err) {\n _didIteratorError = true;\n _iteratorError = err;\n } finally {\n try {\n if (!_iteratorNormalCompletion && _iterator.return != null) {\n _iterator.return();\n }\n } finally {\n if (_didIteratorError) {\n throw _iteratorError;\n }\n }\n }\n\n return false;\n };\n\n deepSearch(this.$scopedSlots.default());\n }\n }\n };\n mixin.computed = {\n /**\r\n * When items are added/removed sort them according to their position\r\n */\n sortedItems: function sortedItems() {\n return this.childItems.slice().sort(function (i1, i2) {\n return i1.index - i2.index;\n });\n }\n };\n }\n }\n\n return mixin;\n});\n\nvar sorted$1 = 1;\nvar optional = 2;\nvar Sorted$1 = sorted$1;\nvar InjectedChildMixin = (function (parentItemName) {\n var flags = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;\n var mixin = {\n inject: {\n parent: {\n from: 'b' + parentItemName,\n default: false\n }\n },\n created: function created() {\n if (!this.parent) {\n if (!hasFlag(flags, optional)) {\n this.$destroy();\n throw new Error('You should wrap ' + this.$options.name + ' in a ' + parentItemName);\n }\n } else if (this.parent._registerItem) {\n this.parent._registerItem(this);\n }\n },\n beforeDestroy: function beforeDestroy() {\n if (this.parent && this.parent._unregisterItem) {\n this.parent._unregisterItem(this);\n }\n }\n };\n\n if (hasFlag(flags, sorted$1)) {\n mixin.data = function () {\n return {\n index: null\n };\n };\n }\n\n return mixin;\n});\n\nexport { InjectedChildMixin as I, ProviderParentMixin as P, Sorted as S, Sorted$1 as a };\n","import { _ as _defineProperty } from './chunk-455cdeae.js';\nimport { isWebpSupported } from './helpers.js';\nimport { c as config } from './chunk-e92e3389.js';\nimport { _ as __vue_normalize__ } from './chunk-cca88db8.js';\n\nvar script = {\n name: 'BImage',\n props: {\n src: String,\n alt: String,\n srcFallback: String,\n webpFallback: {\n type: String,\n default: function _default() {\n return config.defaultImageWebpFallback;\n }\n },\n lazy: {\n type: Boolean,\n default: function _default() {\n return config.defaultImageLazy;\n }\n },\n responsive: {\n type: Boolean,\n default: function _default() {\n return config.defaultImageResponsive;\n }\n },\n ratio: {\n type: String,\n default: function _default() {\n return config.defaultImageRatio;\n }\n },\n placeholder: String,\n srcset: String,\n srcsetSizes: Array,\n srcsetFormatter: {\n type: Function,\n default: function _default(src, size, vm) {\n if (typeof config.defaultImageSrcsetFormatter === 'function') {\n return config.defaultImageSrcsetFormatter(src, size);\n } else {\n return vm.formatSrcset(src, size);\n }\n }\n },\n rounded: {\n type: Boolean,\n default: false\n },\n captionFirst: {\n type: Boolean,\n default: false\n },\n customClass: String\n },\n data: function data() {\n return {\n clientWidth: 0,\n webpSupportVerified: false,\n webpSupported: false,\n useNativeLazy: false,\n observer: null,\n inViewPort: false,\n bulmaKnownRatio: ['square', '1by1', '5by4', '4by3', '3by2', '5by3', '16by9', 'b2y1', '3by1', '4by5', '3by4', '2by3', '3by5', '9by16', '1by2', '1by3'],\n loaded: false,\n failed: false\n };\n },\n computed: {\n ratioPattern: function ratioPattern() {\n return new RegExp(/([0-9]+)by([0-9]+)/);\n },\n hasRatio: function hasRatio() {\n return this.ratio && this.ratioPattern.test(this.ratio);\n },\n figureClasses: function figureClasses() {\n var classes = {\n image: this.responsive\n };\n\n if (this.hasRatio && this.bulmaKnownRatio.indexOf(this.ratio) >= 0) {\n classes[\"is-\".concat(this.ratio)] = true;\n }\n\n return classes;\n },\n figureStyles: function figureStyles() {\n if (this.hasRatio && this.bulmaKnownRatio.indexOf(this.ratio) < 0) {\n var ratioValues = this.ratioPattern.exec(this.ratio);\n return {\n paddingTop: \"\".concat(ratioValues[2] / ratioValues[1] * 100, \"%\")\n };\n }\n },\n imgClasses: function imgClasses() {\n return _defineProperty({\n 'is-rounded': this.rounded,\n 'has-ratio': this.hasRatio\n }, this.customClass, !!this.customClass);\n },\n srcExt: function srcExt() {\n return this.getExt(this.src);\n },\n isWepb: function isWepb() {\n return this.srcExt === 'webp';\n },\n computedSrc: function computedSrc() {\n var src = this.src;\n\n if (this.failed && this.srcFallback) {\n src = this.srcFallback;\n }\n\n if (!this.webpSupported && this.isWepb && this.webpFallback) {\n if (this.webpFallback.startsWith('.')) {\n return src.replace(/\\.webp/gi, \"\".concat(this.webpFallback));\n }\n\n return this.webpFallback;\n }\n\n return src;\n },\n computedWidth: function computedWidth() {\n if (this.responsive && this.clientWidth > 0) {\n return this.clientWidth;\n }\n },\n computedNativeLazy: function computedNativeLazy() {\n if (this.lazy && this.useNativeLazy) {\n return 'lazy';\n }\n },\n isDisplayed: function isDisplayed() {\n return (this.webpSupportVerified || !this.isWepb) && (!this.lazy || this.useNativeLazy || this.inViewPort);\n },\n placeholderExt: function placeholderExt() {\n if (this.placeholder) {\n return this.getExt(this.placeholder);\n }\n },\n isPlaceholderWepb: function isPlaceholderWepb() {\n if (this.placeholder) {\n return this.placeholderExt === 'webp';\n }\n },\n computedPlaceholder: function computedPlaceholder() {\n if (!this.webpSupported && this.isPlaceholderWepb && this.webpFallback && this.webpFallback.startsWith('.')) {\n return this.placeholder.replace(/\\.webp/gi, \"\".concat(this.webpFallback));\n }\n\n return this.placeholder;\n },\n isPlaceholderDisplayed: function isPlaceholderDisplayed() {\n return !this.loaded && (this.$slots.placeholder || this.placeholder && (this.webpSupportVerified || !this.isPlaceholderWepb));\n },\n computedSrcset: function computedSrcset() {\n var _this = this;\n\n if (this.srcset) {\n if (!this.webpSupported && this.isWepb && this.webpFallback && this.webpFallback.startsWith('.')) {\n return this.srcset.replace(/\\.webp/gi, \"\".concat(this.webpFallback));\n }\n\n return this.srcset;\n }\n\n if (this.srcsetSizes && Array.isArray(this.srcsetSizes) && this.srcsetSizes.length > 0) {\n return this.srcsetSizes.map(function (size) {\n return \"\".concat(_this.srcsetFormatter(_this.computedSrc, size, _this), \" \").concat(size, \"w\");\n }).join(',');\n }\n },\n computedSizes: function computedSizes() {\n if (this.computedSrcset && this.computedWidth) {\n return \"\".concat(this.computedWidth, \"px\");\n }\n },\n isCaptionFirst: function isCaptionFirst() {\n return this.$slots.caption && this.captionFirst;\n },\n isCaptionLast: function isCaptionLast() {\n return this.$slots.caption && !this.captionFirst;\n }\n },\n methods: {\n getExt: function getExt(filename) {\n var clean = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;\n\n if (filename) {\n var noParam = clean ? filename.split('?')[0] : filename;\n return noParam.split('.').pop();\n }\n\n return '';\n },\n setWidth: function setWidth() {\n this.clientWidth = this.$el.clientWidth;\n },\n formatSrcset: function formatSrcset(src, size) {\n var ext = this.getExt(src, false);\n var name = src.split('.').slice(0, -1).join('.');\n return \"\".concat(name, \"-\").concat(size, \".\").concat(ext);\n },\n onLoad: function onLoad(event) {\n this.loaded = true;\n this.emit('load', event);\n },\n onError: function onError(event) {\n this.emit('error', event);\n\n if (!this.failed) {\n this.failed = true;\n }\n },\n emit: function emit(eventName, event) {\n var target = event.target;\n this.$emit(eventName, event, target.currentSrc || target.src || this.computedSrc);\n }\n },\n created: function created() {\n var _this2 = this;\n\n if (this.isWepb) {\n isWebpSupported().then(function (supported) {\n _this2.webpSupportVerified = true;\n _this2.webpSupported = supported;\n });\n }\n\n if (this.lazy) {\n // We use native lazy loading if supported\n // We try to use Intersection Observer if native lazy loading is not supported\n // We use the lazy attribute anyway if we cannot detect support (SSR for example).\n var nativeLazySupported = typeof window !== 'undefined' && 'HTMLImageElement' in window && 'loading' in HTMLImageElement.prototype;\n var intersectionObserverSupported = typeof window !== 'undefined' && 'IntersectionObserver' in window;\n\n if (!nativeLazySupported && intersectionObserverSupported) {\n this.observer = new IntersectionObserver(function (events) {\n var _events$ = events[0],\n target = _events$.target,\n isIntersecting = _events$.isIntersecting;\n\n if (isIntersecting && !_this2.inViewPort) {\n _this2.inViewPort = true;\n\n _this2.observer.unobserve(target);\n }\n });\n } else {\n this.useNativeLazy = true;\n }\n }\n },\n mounted: function mounted() {\n if (this.lazy && this.observer) {\n this.observer.observe(this.$el);\n }\n\n this.setWidth();\n\n if (typeof window !== 'undefined') {\n window.addEventListener('resize', this.setWidth);\n }\n },\n beforeDestroy: function beforeDestroy() {\n if (this.observer) {\n this.observer.disconnect();\n }\n\n if (typeof window !== 'undefined') {\n window.removeEventListener('resize', this.setWidth);\n }\n }\n};\n\n/* script */\nconst __vue_script__ = script;\n\n/* template */\nvar __vue_render__ = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('figure',{staticClass:\"b-image-wrapper\",class:_vm.figureClasses,style:(_vm.figureStyles)},[(_vm.isCaptionFirst)?_c('figcaption',[_vm._t(\"caption\")],2):_vm._e(),_c('transition',{attrs:{\"name\":\"fade\"}},[(_vm.isDisplayed)?_c('img',{class:_vm.imgClasses,attrs:{\"srcset\":_vm.computedSrcset,\"src\":_vm.computedSrc,\"alt\":_vm.alt,\"width\":_vm.computedWidth,\"sizes\":_vm.computedSizes,\"loading\":_vm.computedNativeLazy},on:{\"load\":_vm.onLoad,\"error\":_vm.onError}}):_vm._e()]),_c('transition',{attrs:{\"name\":\"fade\"}},[(_vm.isPlaceholderDisplayed)?_vm._t(\"placeholder\",[_c('img',{staticClass:\"placeholder\",class:_vm.imgClasses,attrs:{\"src\":_vm.computedPlaceholder,\"alt\":_vm.alt}})]):_vm._e()],2),(_vm.isCaptionLast)?_c('figcaption',[_vm._t(\"caption\")],2):_vm._e()],1)};\nvar __vue_staticRenderFns__ = [];\n\n /* style */\n const __vue_inject_styles__ = undefined;\n /* scoped */\n const __vue_scope_id__ = undefined;\n /* module identifier */\n const __vue_module_identifier__ = undefined;\n /* functional template */\n const __vue_is_functional_template__ = false;\n /* style inject */\n \n /* style inject SSR */\n \n\n \n var Image = __vue_normalize__(\n { render: __vue_render__, staticRenderFns: __vue_staticRenderFns__ },\n __vue_inject_styles__,\n __vue_script__,\n __vue_scope_id__,\n __vue_is_functional_template__,\n __vue_module_identifier__,\n undefined,\n undefined\n );\n\nexport { Image as I };\n","import { _ as _defineProperty, a as _objectSpread2 } from './chunk-455cdeae.js';\nimport { mod, bound, sign } from './helpers.js';\nimport { c as config } from './chunk-e92e3389.js';\nimport { I as Icon } from './chunk-7e17a637.js';\nimport { _ as __vue_normalize__, r as registerComponent, u as use } from './chunk-cca88db8.js';\nimport { P as ProviderParentMixin, S as Sorted, I as InjectedChildMixin, a as Sorted$1 } from './chunk-60a03517.js';\nimport { I as Image } from './chunk-493ff0a9.js';\n\nvar script = {\n name: 'BCarousel',\n components: _defineProperty({}, Icon.name, Icon),\n mixins: [ProviderParentMixin('carousel', Sorted)],\n props: {\n value: {\n type: Number,\n default: 0\n },\n animated: {\n type: String,\n default: 'slide'\n },\n interval: Number,\n hasDrag: {\n type: Boolean,\n default: true\n },\n autoplay: {\n type: Boolean,\n default: true\n },\n pauseHover: {\n type: Boolean,\n default: true\n },\n pauseInfo: {\n type: Boolean,\n default: true\n },\n pauseInfoType: {\n type: String,\n default: 'is-white'\n },\n pauseText: {\n type: String,\n default: 'Pause'\n },\n arrow: {\n type: Boolean,\n default: true\n },\n arrowHover: {\n type: Boolean,\n default: true\n },\n repeat: {\n type: Boolean,\n default: true\n },\n iconPack: String,\n iconSize: String,\n iconPrev: {\n type: String,\n default: function _default() {\n return config.defaultIconPrev;\n }\n },\n iconNext: {\n type: String,\n default: function _default() {\n return config.defaultIconNext;\n }\n },\n indicator: {\n type: Boolean,\n default: true\n },\n indicatorBackground: Boolean,\n indicatorCustom: Boolean,\n indicatorCustomSize: {\n type: String,\n default: 'is-small'\n },\n indicatorInside: {\n type: Boolean,\n default: true\n },\n indicatorMode: {\n type: String,\n default: 'click'\n },\n indicatorPosition: {\n type: String,\n default: 'is-bottom'\n },\n indicatorStyle: {\n type: String,\n default: 'is-dots'\n },\n overlay: Boolean,\n progress: Boolean,\n progressType: {\n type: String,\n default: 'is-primary'\n },\n withCarouselList: Boolean\n },\n data: function data() {\n return {\n transition: 'next',\n activeChild: this.value || 0,\n isPause: false,\n dragX: false,\n timer: null\n };\n },\n computed: {\n indicatorClasses: function indicatorClasses() {\n return [{\n 'has-background': this.indicatorBackground,\n 'has-custom': this.indicatorCustom,\n 'is-inside': this.indicatorInside\n }, this.indicatorCustom && this.indicatorCustomSize, this.indicatorInside && this.indicatorPosition];\n },\n // checking arrows\n hasPrev: function hasPrev() {\n return this.repeat || this.activeChild !== 0;\n },\n hasNext: function hasNext() {\n return this.repeat || this.activeChild < this.childItems.length - 1;\n }\n },\n watch: {\n /**\r\n * When v-model is changed set the new active item.\r\n */\n value: function value(_value) {\n this.changeActive(_value);\n },\n\n /**\r\n * When carousel-items are updated, set active one.\r\n */\n sortedItems: function sortedItems(items) {\n if (this.activeChild >= items.length && this.activeChild > 0) {\n this.changeActive(this.activeChild - 1);\n }\n },\n\n /**\r\n * When autoplay is changed, start or pause timer accordingly\r\n */\n autoplay: function autoplay(status) {\n status ? this.startTimer() : this.pauseTimer();\n },\n\n /**\r\n * Since the timer can get paused at the end, if repeat is changed we need to restart it\r\n */\n repeat: function repeat(status) {\n if (status) {\n this.startTimer();\n }\n }\n },\n methods: {\n startTimer: function startTimer() {\n var _this = this;\n\n if (!this.autoplay || this.timer) return;\n this.isPause = false;\n this.timer = setInterval(function () {\n if (!_this.repeat && _this.activeChild >= _this.childItems.length - 1) {\n _this.pauseTimer();\n } else {\n _this.next();\n }\n }, this.interval || config.defaultCarouselInterval);\n },\n pauseTimer: function pauseTimer() {\n this.isPause = true;\n\n if (this.timer) {\n clearInterval(this.timer);\n this.timer = null;\n }\n },\n restartTimer: function restartTimer() {\n this.pauseTimer();\n this.startTimer();\n },\n checkPause: function checkPause() {\n if (this.pauseHover && this.autoplay) {\n this.pauseTimer();\n }\n },\n\n /**\r\n * Change the active item and emit change event.\r\n * action only for animated slide, there true = next, false = prev\r\n */\n changeActive: function changeActive(newIndex) {\n var direction = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;\n if (this.activeChild === newIndex || isNaN(newIndex)) return;\n direction = direction || newIndex - this.activeChild;\n newIndex = this.repeat ? mod(newIndex, this.childItems.length) : bound(newIndex, 0, this.childItems.length - 1);\n this.transition = direction > 0 ? 'prev' : 'next'; // Transition names are reversed from the actual direction for correct effect\n\n this.activeChild = newIndex;\n\n if (newIndex !== this.value) {\n this.$emit('input', newIndex);\n }\n\n this.restartTimer();\n this.$emit('change', newIndex); // BC\n },\n // Indicator trigger when change active item.\n modeChange: function modeChange(trigger, value) {\n if (this.indicatorMode === trigger) {\n return this.changeActive(value);\n }\n },\n prev: function prev() {\n this.changeActive(this.activeChild - 1, -1);\n },\n next: function next() {\n this.changeActive(this.activeChild + 1, 1);\n },\n // handle drag event\n dragStart: function dragStart(event) {\n if (!this.hasDrag || !event.target.draggable) return;\n this.dragX = event.touches ? event.changedTouches[0].pageX : event.pageX;\n\n if (event.touches) {\n this.pauseTimer();\n } else {\n event.preventDefault();\n }\n },\n dragEnd: function dragEnd(event) {\n if (this.dragX === false) return;\n var detected = event.touches ? event.changedTouches[0].pageX : event.pageX;\n var diffX = detected - this.dragX;\n\n if (Math.abs(diffX) > 30) {\n if (diffX < 0) {\n this.next();\n } else {\n this.prev();\n }\n } else {\n event.target.click();\n this.sortedItems[this.activeChild].$emit('click');\n this.$emit('click');\n }\n\n if (event.touches) {\n this.startTimer();\n }\n\n this.dragX = false;\n }\n },\n mounted: function mounted() {\n this.startTimer();\n },\n beforeDestroy: function beforeDestroy() {\n this.pauseTimer();\n }\n};\n\n/* script */\nconst __vue_script__ = script;\n\n/* template */\nvar __vue_render__ = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"carousel\",class:{'is-overlay': _vm.overlay},on:{\"mouseenter\":_vm.checkPause,\"mouseleave\":_vm.startTimer}},[(_vm.progress)?_c('progress',{staticClass:\"progress\",class:_vm.progressType,attrs:{\"max\":_vm.childItems.length - 1},domProps:{\"value\":_vm.activeChild}},[_vm._v(\" \"+_vm._s(_vm.childItems.length - 1)+\" \")]):_vm._e(),_c('div',{staticClass:\"carousel-items\",on:{\"mousedown\":_vm.dragStart,\"mouseup\":_vm.dragEnd,\"touchstart\":function($event){$event.stopPropagation();return _vm.dragStart($event)},\"touchend\":function($event){$event.stopPropagation();return _vm.dragEnd($event)}}},[_vm._t(\"default\"),(_vm.arrow)?_c('div',{staticClass:\"carousel-arrow\",class:{'is-hovered': _vm.arrowHover}},[_c('b-icon',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.hasPrev),expression:\"hasPrev\"}],staticClass:\"has-icons-left\",attrs:{\"pack\":_vm.iconPack,\"icon\":_vm.iconPrev,\"size\":_vm.iconSize,\"both\":\"\"},nativeOn:{\"click\":function($event){return _vm.prev($event)}}}),_c('b-icon',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.hasNext),expression:\"hasNext\"}],staticClass:\"has-icons-right\",attrs:{\"pack\":_vm.iconPack,\"icon\":_vm.iconNext,\"size\":_vm.iconSize,\"both\":\"\"},nativeOn:{\"click\":function($event){return _vm.next($event)}}})],1):_vm._e()],2),(_vm.autoplay && _vm.pauseHover && _vm.pauseInfo && _vm.isPause)?_c('div',{staticClass:\"carousel-pause\"},[_c('span',{staticClass:\"tag\",class:_vm.pauseInfoType},[_vm._v(\" \"+_vm._s(_vm.pauseText)+\" \")])]):_vm._e(),(_vm.withCarouselList && !_vm.indicator)?[_vm._t(\"list\",null,{\"active\":_vm.activeChild,\"switch\":_vm.changeActive})]:_vm._e(),(_vm.indicator)?_c('div',{staticClass:\"carousel-indicator\",class:_vm.indicatorClasses},_vm._l((_vm.sortedItems),function(item,index){return _c('a',{key:item._uid,staticClass:\"indicator-item\",class:{'is-active': item.isActive},on:{\"mouseover\":function($event){return _vm.modeChange('hover', index)},\"click\":function($event){return _vm.modeChange('click', index)}}},[_vm._t(\"indicators\",[_c('span',{staticClass:\"indicator-style\",class:_vm.indicatorStyle})],{\"i\":index})],2)}),0):_vm._e(),(_vm.overlay)?[_vm._t(\"overlay\")]:_vm._e()],2)};\nvar __vue_staticRenderFns__ = [];\n\n /* style */\n const __vue_inject_styles__ = undefined;\n /* scoped */\n const __vue_scope_id__ = undefined;\n /* module identifier */\n const __vue_module_identifier__ = undefined;\n /* functional template */\n const __vue_is_functional_template__ = false;\n /* style inject */\n \n /* style inject SSR */\n \n\n \n var Carousel = __vue_normalize__(\n { render: __vue_render__, staticRenderFns: __vue_staticRenderFns__ },\n __vue_inject_styles__,\n __vue_script__,\n __vue_scope_id__,\n __vue_is_functional_template__,\n __vue_module_identifier__,\n undefined,\n undefined\n );\n\n//\nvar script$1 = {\n name: 'BCarouselItem',\n mixins: [InjectedChildMixin('carousel', Sorted$1)],\n data: function data() {\n return {\n transitionName: null\n };\n },\n computed: {\n transition: function transition() {\n if (this.parent.animated === 'fade') {\n return 'fade';\n } else if (this.parent.transition) {\n return 'slide-' + this.parent.transition;\n }\n },\n isActive: function isActive() {\n return this.parent.activeChild === this.index;\n }\n }\n};\n\n/* script */\nconst __vue_script__$1 = script$1;\n\n/* template */\nvar __vue_render__$1 = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('transition',{attrs:{\"name\":_vm.transition}},[_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.isActive),expression:\"isActive\"}],staticClass:\"carousel-item\"},[_vm._t(\"default\")],2)])};\nvar __vue_staticRenderFns__$1 = [];\n\n /* style */\n const __vue_inject_styles__$1 = undefined;\n /* scoped */\n const __vue_scope_id__$1 = undefined;\n /* module identifier */\n const __vue_module_identifier__$1 = undefined;\n /* functional template */\n const __vue_is_functional_template__$1 = false;\n /* style inject */\n \n /* style inject SSR */\n \n\n \n var CarouselItem = __vue_normalize__(\n { render: __vue_render__$1, staticRenderFns: __vue_staticRenderFns__$1 },\n __vue_inject_styles__$1,\n __vue_script__$1,\n __vue_scope_id__$1,\n __vue_is_functional_template__$1,\n __vue_module_identifier__$1,\n undefined,\n undefined\n );\n\nvar _components;\nvar script$2 = {\n name: 'BCarouselList',\n components: (_components = {}, _defineProperty(_components, Icon.name, Icon), _defineProperty(_components, Image.name, Image), _components),\n props: {\n data: {\n type: Array,\n default: function _default() {\n return [];\n }\n },\n value: {\n type: Number,\n default: 0\n },\n scrollValue: {\n type: Number,\n default: 0\n },\n hasDrag: {\n type: Boolean,\n default: true\n },\n hasGrayscale: Boolean,\n hasOpacity: Boolean,\n repeat: Boolean,\n itemsToShow: {\n type: Number,\n default: 4\n },\n itemsToList: {\n type: Number,\n default: 1\n },\n asIndicator: Boolean,\n arrow: {\n type: Boolean,\n default: true\n },\n arrowHover: {\n type: Boolean,\n default: true\n },\n iconPack: String,\n iconSize: String,\n iconPrev: {\n type: String,\n default: function _default() {\n return config.defaultIconPrev;\n }\n },\n iconNext: {\n type: String,\n default: function _default() {\n return config.defaultIconNext;\n }\n },\n breakpoints: {\n type: Object,\n default: function _default() {\n return {};\n }\n }\n },\n data: function data() {\n return {\n activeItem: this.value,\n scrollIndex: this.asIndicator ? this.scrollValue : this.value,\n delta: 0,\n dragX: false,\n hold: 0,\n windowWidth: 0,\n touch: false,\n observer: null,\n refresh_: 0\n };\n },\n computed: {\n dragging: function dragging() {\n return this.dragX !== false;\n },\n listClass: function listClass() {\n return [{\n 'has-grayscale': this.settings.hasGrayscale,\n 'has-opacity': this.settings.hasOpacity,\n 'is-dragging': this.dragging\n }];\n },\n itemStyle: function itemStyle() {\n return \"width: \".concat(this.itemWidth, \"px;\");\n },\n translation: function translation() {\n return -bound(this.delta + this.scrollIndex * this.itemWidth, 0, (this.data.length - this.settings.itemsToShow) * this.itemWidth);\n },\n total: function total() {\n return this.data.length - this.settings.itemsToShow;\n },\n hasPrev: function hasPrev() {\n return this.settings.repeat || this.scrollIndex > 0;\n },\n hasNext: function hasNext() {\n return this.settings.repeat || this.scrollIndex < this.total;\n },\n breakpointKeys: function breakpointKeys() {\n return Object.keys(this.breakpoints).sort(function (a, b) {\n return b - a;\n });\n },\n settings: function settings() {\n var _this = this;\n\n var breakpoint = this.breakpointKeys.filter(function (breakpoint) {\n if (_this.windowWidth >= breakpoint) {\n return true;\n }\n })[0];\n\n if (breakpoint) {\n return _objectSpread2({}, this.$props, {}, this.breakpoints[breakpoint]);\n }\n\n return this.$props;\n },\n itemWidth: function itemWidth() {\n if (this.windowWidth) {\n // Ensure component is mounted\n\n /* eslint-disable-next-line */\n this.refresh_; // We force the computed property to refresh if this prop is changed\n\n var rect = this.$el.getBoundingClientRect();\n return rect.width / this.settings.itemsToShow;\n }\n\n return 0;\n }\n },\n watch: {\n /**\r\n * When v-model is changed set the new active item.\r\n */\n value: function value(_value) {\n this.switchTo(this.asIndicator ? _value - (this.itemsToShow - 3) / 2 : _value);\n\n if (this.activeItem !== _value) {\n this.activeItem = bound(_value, 0, this.data.length - 1);\n }\n },\n scrollValue: function scrollValue(value) {\n this.switchTo(value);\n }\n },\n methods: {\n resized: function resized() {\n this.windowWidth = window.innerWidth;\n },\n switchTo: function switchTo(newIndex) {\n if (newIndex === this.scrollIndex || isNaN(newIndex)) {\n return;\n }\n\n if (this.settings.repeat) {\n newIndex = mod(newIndex, this.total + 1);\n }\n\n newIndex = bound(newIndex, 0, this.total);\n this.scrollIndex = newIndex;\n\n if (!this.asIndicator && this.value !== newIndex) {\n this.$emit('input', newIndex);\n } else if (this.scrollIndex !== newIndex) {\n this.$emit('updated:scroll', newIndex);\n }\n },\n next: function next() {\n this.switchTo(this.scrollIndex + this.settings.itemsToList);\n },\n prev: function prev() {\n this.switchTo(this.scrollIndex - this.settings.itemsToList);\n },\n checkAsIndicator: function checkAsIndicator(value, event) {\n if (!this.asIndicator) return;\n var dragEndX = event.changedTouches ? event.changedTouches[0].clientX : event.clientX;\n if (this.hold - Date.now() > 2000 || Math.abs(this.dragX - dragEndX) > 10) return;\n this.dragX = false;\n this.hold = 0;\n event.preventDefault(); // Make the item appear in the middle\n\n this.activeItem = value;\n this.$emit('switch', value);\n },\n // handle drag event\n dragStart: function dragStart(event) {\n if (this.dragging || !this.settings.hasDrag || event.button !== 0 && event.type !== 'touchstart') return;\n this.hold = Date.now();\n this.touch = !!event.touches;\n this.dragX = this.touch ? event.touches[0].clientX : event.clientX;\n window.addEventListener(this.touch ? 'touchmove' : 'mousemove', this.dragMove);\n window.addEventListener(this.touch ? 'touchend' : 'mouseup', this.dragEnd);\n },\n dragMove: function dragMove(event) {\n if (!this.dragging) return;\n var dragEndX = event.touches ? (event.changedTouches[0] || event.touches[0]).clientX : event.clientX;\n this.delta = this.dragX - dragEndX;\n\n if (!event.touches) {\n event.preventDefault();\n }\n },\n dragEnd: function dragEnd() {\n if (!this.dragging && !this.hold) return;\n\n if (this.hold) {\n var signCheck = sign(this.delta);\n var results = Math.round(Math.abs(this.delta / this.itemWidth) + 0.15); // Hack\n\n this.switchTo(this.scrollIndex + signCheck * results);\n }\n\n this.delta = 0;\n this.dragX = false;\n window.removeEventListener(this.touch ? 'touchmove' : 'mousemove', this.dragMove);\n window.removeEventListener(this.touch ? 'touchend' : 'mouseup', this.dragEnd);\n },\n refresh: function refresh() {\n var _this2 = this;\n\n this.$nextTick(function () {\n _this2.refresh_++;\n });\n }\n },\n mounted: function mounted() {\n if (typeof window !== 'undefined') {\n if (window.ResizeObserver) {\n this.observer = new ResizeObserver(this.refresh);\n this.observer.observe(this.$el);\n }\n\n window.addEventListener('resize', this.resized);\n document.addEventListener('animationend', this.refresh);\n document.addEventListener('transitionend', this.refresh);\n document.addEventListener('transitionstart', this.refresh);\n this.resized();\n }\n\n if (this.$attrs.config) {\n throw new Error('The config prop was removed, you need to use v-bind instead');\n }\n },\n beforeDestroy: function beforeDestroy() {\n if (typeof window !== 'undefined') {\n if (window.ResizeObserver) {\n this.observer.disconnect();\n }\n\n window.removeEventListener('resize', this.resized);\n document.removeEventListener('animationend', this.refresh);\n document.removeEventListener('transitionend', this.refresh);\n document.removeEventListener('transitionstart', this.refresh);\n this.dragEnd();\n }\n }\n};\n\n/* script */\nconst __vue_script__$2 = script$2;\n\n/* template */\nvar __vue_render__$2 = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"carousel-list\",class:{'has-shadow': _vm.scrollIndex > 0},on:{\"mousedown\":function($event){$event.preventDefault();return _vm.dragStart($event)},\"touchstart\":_vm.dragStart}},[_c('div',{staticClass:\"carousel-slides\",class:_vm.listClass,style:('transform:translateX('+_vm.translation+'px)')},_vm._l((_vm.data),function(list,index){return _c('div',{key:index,staticClass:\"carousel-slide\",class:{'is-active': _vm.asIndicator ? _vm.activeItem === index : _vm.scrollIndex === index},style:(_vm.itemStyle),on:{\"mouseup\":function($event){return _vm.checkAsIndicator(index, $event)},\"touchend\":function($event){return _vm.checkAsIndicator(index, $event)}}},[_vm._t(\"item\",[_c('b-image',_vm._b({attrs:{\"src\":list.image}},'b-image',list,false))],{\"index\":index,\"active\":_vm.activeItem,\"scroll\":_vm.scrollIndex,\"list\":list},list)],2)}),0),(_vm.arrow)?_c('div',{staticClass:\"carousel-arrow\",class:{'is-hovered': _vm.settings.arrowHover}},[_c('b-icon',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.hasPrev),expression:\"hasPrev\"}],staticClass:\"has-icons-left\",attrs:{\"pack\":_vm.settings.iconPack,\"icon\":_vm.settings.iconPrev,\"size\":_vm.settings.iconSize,\"both\":\"\"},nativeOn:{\"click\":function($event){$event.preventDefault();return _vm.prev($event)}}}),_c('b-icon',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.hasNext),expression:\"hasNext\"}],staticClass:\"has-icons-right\",attrs:{\"pack\":_vm.settings.iconPack,\"icon\":_vm.settings.iconNext,\"size\":_vm.settings.iconSize,\"both\":\"\"},nativeOn:{\"click\":function($event){$event.preventDefault();return _vm.next($event)}}})],1):_vm._e()])};\nvar __vue_staticRenderFns__$2 = [];\n\n /* style */\n const __vue_inject_styles__$2 = undefined;\n /* scoped */\n const __vue_scope_id__$2 = undefined;\n /* module identifier */\n const __vue_module_identifier__$2 = undefined;\n /* functional template */\n const __vue_is_functional_template__$2 = false;\n /* style inject */\n \n /* style inject SSR */\n \n\n \n var CarouselList = __vue_normalize__(\n { render: __vue_render__$2, staticRenderFns: __vue_staticRenderFns__$2 },\n __vue_inject_styles__$2,\n __vue_script__$2,\n __vue_scope_id__$2,\n __vue_is_functional_template__$2,\n __vue_module_identifier__$2,\n undefined,\n undefined\n );\n\nvar Plugin = {\n install: function install(Vue) {\n registerComponent(Vue, Carousel);\n registerComponent(Vue, CarouselItem);\n registerComponent(Vue, CarouselList);\n }\n};\nuse(Plugin);\n\nexport default Plugin;\nexport { Carousel as BCarousel, CarouselItem as BCarouselItem, CarouselList as BCarouselList };\n","var CheckRadioMixin = {\n props: {\n value: [String, Number, Boolean, Function, Object, Array],\n nativeValue: [String, Number, Boolean, Function, Object, Array],\n type: String,\n disabled: Boolean,\n required: Boolean,\n name: String,\n size: String\n },\n data: function data() {\n return {\n newValue: this.value\n };\n },\n computed: {\n computedValue: {\n get: function get() {\n return this.newValue;\n },\n set: function set(value) {\n this.newValue = value;\n this.$emit('input', value);\n }\n }\n },\n watch: {\n /**\r\n * When v-model change, set internal value.\r\n */\n value: function value(_value) {\n this.newValue = _value;\n }\n },\n methods: {\n focus: function focus() {\n // MacOS FireFox and Safari do not focus when clicked\n this.$refs.input.focus();\n }\n }\n};\n\nexport { CheckRadioMixin as C };\n","import { _ as __vue_normalize__ } from './chunk-cca88db8.js';\nimport { C as CheckRadioMixin } from './chunk-2793447b.js';\n\n//\nvar script = {\n name: 'BCheckbox',\n mixins: [CheckRadioMixin],\n props: {\n indeterminate: Boolean,\n ariaLabelledby: String,\n trueValue: {\n type: [String, Number, Boolean, Function, Object, Array],\n default: true\n },\n falseValue: {\n type: [String, Number, Boolean, Function, Object, Array],\n default: false\n },\n autocomplete: {\n type: String,\n default: 'on'\n }\n }\n};\n\n/* script */\nconst __vue_script__ = script;\n\n/* template */\nvar __vue_render__ = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('label',{ref:\"label\",staticClass:\"b-checkbox checkbox\",class:[_vm.size, { 'is-disabled': _vm.disabled }],attrs:{\"disabled\":_vm.disabled},on:{\"click\":_vm.focus,\"keydown\":[function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"enter\",13,$event.key,\"Enter\")){ return null; }$event.preventDefault();return _vm.$refs.label.click()},function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"space\",32,$event.key,[\" \",\"Spacebar\"])){ return null; }$event.preventDefault();return _vm.$refs.label.click()}]}},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.computedValue),expression:\"computedValue\"}],ref:\"input\",attrs:{\"type\":\"checkbox\",\"autocomplete\":_vm.autocomplete,\"disabled\":_vm.disabled,\"required\":_vm.required,\"name\":_vm.name,\"true-value\":_vm.trueValue,\"false-value\":_vm.falseValue,\"aria-labelledby\":_vm.ariaLabelledby},domProps:{\"indeterminate\":_vm.indeterminate,\"value\":_vm.nativeValue,\"checked\":Array.isArray(_vm.computedValue)?_vm._i(_vm.computedValue,_vm.nativeValue)>-1:_vm._q(_vm.computedValue,_vm.trueValue)},on:{\"click\":function($event){$event.stopPropagation();},\"change\":function($event){var $$a=_vm.computedValue,$$el=$event.target,$$c=$$el.checked?(_vm.trueValue):(_vm.falseValue);if(Array.isArray($$a)){var $$v=_vm.nativeValue,$$i=_vm._i($$a,$$v);if($$el.checked){$$i<0&&(_vm.computedValue=$$a.concat([$$v]));}else{$$i>-1&&(_vm.computedValue=$$a.slice(0,$$i).concat($$a.slice($$i+1)));}}else{_vm.computedValue=$$c;}}}}),_c('span',{staticClass:\"check\",class:_vm.type}),_c('span',{staticClass:\"control-label\",attrs:{\"id\":_vm.ariaLabelledby}},[_vm._t(\"default\")],2)])};\nvar __vue_staticRenderFns__ = [];\n\n /* style */\n const __vue_inject_styles__ = undefined;\n /* scoped */\n const __vue_scope_id__ = undefined;\n /* module identifier */\n const __vue_module_identifier__ = undefined;\n /* functional template */\n const __vue_is_functional_template__ = false;\n /* style inject */\n \n /* style inject SSR */\n \n\n \n var Checkbox = __vue_normalize__(\n { render: __vue_render__, staticRenderFns: __vue_staticRenderFns__ },\n __vue_inject_styles__,\n __vue_script__,\n __vue_scope_id__,\n __vue_is_functional_template__,\n __vue_module_identifier__,\n undefined,\n undefined\n );\n\nexport { Checkbox as C };\n","import { _ as __vue_normalize__, r as registerComponent, u as use } from './chunk-cca88db8.js';\nimport { C as CheckRadioMixin } from './chunk-2793447b.js';\nimport { C as Checkbox } from './chunk-4a2008fa.js';\nexport { C as BCheckbox } from './chunk-4a2008fa.js';\n\n//\nvar script = {\n name: 'BCheckboxButton',\n mixins: [CheckRadioMixin],\n props: {\n type: {\n type: String,\n default: 'is-primary'\n },\n expanded: Boolean\n },\n data: function data() {\n return {\n isFocused: false\n };\n },\n computed: {\n checked: function checked() {\n if (Array.isArray(this.newValue)) {\n return this.newValue.indexOf(this.nativeValue) >= 0;\n }\n\n return this.newValue === this.nativeValue;\n }\n }\n};\n\n/* script */\nconst __vue_script__ = script;\n\n/* template */\nvar __vue_render__ = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"control\",class:{ 'is-expanded': _vm.expanded }},[_c('label',{ref:\"label\",staticClass:\"b-checkbox checkbox button\",class:[_vm.checked ? _vm.type : null, _vm.size, {\n 'is-disabled': _vm.disabled,\n 'is-focused': _vm.isFocused\n }],attrs:{\"disabled\":_vm.disabled},on:{\"click\":_vm.focus,\"keydown\":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"enter\",13,$event.key,\"Enter\")){ return null; }$event.preventDefault();return _vm.$refs.label.click()}}},[_vm._t(\"default\"),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.computedValue),expression:\"computedValue\"}],ref:\"input\",attrs:{\"type\":\"checkbox\",\"disabled\":_vm.disabled,\"required\":_vm.required,\"name\":_vm.name},domProps:{\"value\":_vm.nativeValue,\"checked\":Array.isArray(_vm.computedValue)?_vm._i(_vm.computedValue,_vm.nativeValue)>-1:(_vm.computedValue)},on:{\"click\":function($event){$event.stopPropagation();},\"focus\":function($event){_vm.isFocused = true;},\"blur\":function($event){_vm.isFocused = false;},\"change\":function($event){var $$a=_vm.computedValue,$$el=$event.target,$$c=$$el.checked?(true):(false);if(Array.isArray($$a)){var $$v=_vm.nativeValue,$$i=_vm._i($$a,$$v);if($$el.checked){$$i<0&&(_vm.computedValue=$$a.concat([$$v]));}else{$$i>-1&&(_vm.computedValue=$$a.slice(0,$$i).concat($$a.slice($$i+1)));}}else{_vm.computedValue=$$c;}}}})],2)])};\nvar __vue_staticRenderFns__ = [];\n\n /* style */\n const __vue_inject_styles__ = undefined;\n /* scoped */\n const __vue_scope_id__ = undefined;\n /* module identifier */\n const __vue_module_identifier__ = undefined;\n /* functional template */\n const __vue_is_functional_template__ = false;\n /* style inject */\n \n /* style inject SSR */\n \n\n \n var CheckboxButton = __vue_normalize__(\n { render: __vue_render__, staticRenderFns: __vue_staticRenderFns__ },\n __vue_inject_styles__,\n __vue_script__,\n __vue_scope_id__,\n __vue_is_functional_template__,\n __vue_module_identifier__,\n undefined,\n undefined\n );\n\nvar Plugin = {\n install: function install(Vue) {\n registerComponent(Vue, Checkbox);\n registerComponent(Vue, CheckboxButton);\n }\n};\nuse(Plugin);\n\nexport default Plugin;\nexport { CheckboxButton as BCheckboxButton };\n","import { _ as __vue_normalize__, r as registerComponent, u as use } from './chunk-cca88db8.js';\n\nvar script = {\n name: 'BCollapse',\n // deprecated, to replace with default 'value' in the next breaking change\n model: {\n prop: 'open',\n event: 'update:open'\n },\n props: {\n open: {\n type: Boolean,\n default: true\n },\n animation: {\n type: String,\n default: 'fade'\n },\n ariaId: {\n type: String,\n default: ''\n },\n position: {\n type: String,\n default: 'is-top',\n validator: function validator(value) {\n return ['is-top', 'is-bottom'].indexOf(value) > -1;\n }\n }\n },\n data: function data() {\n return {\n isOpen: this.open\n };\n },\n watch: {\n open: function open(value) {\n this.isOpen = value;\n }\n },\n methods: {\n /**\r\n * Toggle and emit events\r\n */\n toggle: function toggle() {\n this.isOpen = !this.isOpen;\n this.$emit('update:open', this.isOpen);\n this.$emit(this.isOpen ? 'open' : 'close');\n }\n },\n render: function render(createElement) {\n var trigger = createElement('div', {\n staticClass: 'collapse-trigger',\n on: {\n click: this.toggle\n }\n }, this.$scopedSlots.trigger ? [this.$scopedSlots.trigger({\n open: this.isOpen\n })] : [this.$slots.trigger]);\n var content = createElement('transition', {\n props: {\n name: this.animation\n }\n }, [createElement('div', {\n staticClass: 'collapse-content',\n attrs: {\n 'id': this.ariaId\n },\n directives: [{\n name: 'show',\n value: this.isOpen\n }]\n }, this.$slots.default)]);\n return createElement('div', {\n staticClass: 'collapse'\n }, this.position === 'is-top' ? [trigger, content] : [content, trigger]);\n }\n};\n\n/* script */\nconst __vue_script__ = script;\n\n/* template */\n\n /* style */\n const __vue_inject_styles__ = undefined;\n /* scoped */\n const __vue_scope_id__ = undefined;\n /* module identifier */\n const __vue_module_identifier__ = undefined;\n /* functional template */\n const __vue_is_functional_template__ = undefined;\n /* style inject */\n \n /* style inject SSR */\n \n\n \n var Collapse = __vue_normalize__(\n {},\n __vue_inject_styles__,\n __vue_script__,\n __vue_scope_id__,\n __vue_is_functional_template__,\n __vue_module_identifier__,\n undefined,\n undefined\n );\n\nvar Plugin = {\n install: function install(Vue) {\n registerComponent(Vue, Collapse);\n }\n};\nuse(Plugin);\n\nexport default Plugin;\nexport { Collapse as BCollapse };\n","var findFocusable = function findFocusable(element) {\n var programmatic = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;\n\n if (!element) {\n return null;\n }\n\n if (programmatic) {\n return element.querySelectorAll(\"*[tabindex=\\\"-1\\\"]\");\n }\n\n return element.querySelectorAll(\"a[href]:not([tabindex=\\\"-1\\\"]),\\n area[href],\\n input:not([disabled]),\\n select:not([disabled]),\\n textarea:not([disabled]),\\n button:not([disabled]),\\n iframe,\\n object,\\n embed,\\n *[tabindex]:not([tabindex=\\\"-1\\\"]),\\n *[contenteditable]\");\n};\n\nvar onKeyDown;\n\nvar bind = function bind(el, _ref) {\n var _ref$value = _ref.value,\n value = _ref$value === void 0 ? true : _ref$value;\n\n if (value) {\n var focusable = findFocusable(el);\n var focusableProg = findFocusable(el, true);\n\n if (focusable && focusable.length > 0) {\n onKeyDown = function onKeyDown(event) {\n // Need to get focusable each time since it can change between key events\n // ex. changing month in a datepicker\n focusable = findFocusable(el);\n focusableProg = findFocusable(el, true);\n var firstFocusable = focusable[0];\n var lastFocusable = focusable[focusable.length - 1];\n\n if (event.target === firstFocusable && event.shiftKey && event.key === 'Tab') {\n event.preventDefault();\n lastFocusable.focus();\n } else if ((event.target === lastFocusable || Array.from(focusableProg).indexOf(event.target) >= 0) && !event.shiftKey && event.key === 'Tab') {\n event.preventDefault();\n firstFocusable.focus();\n }\n };\n\n el.addEventListener('keydown', onKeyDown);\n }\n }\n};\n\nvar unbind = function unbind(el) {\n el.removeEventListener('keydown', onKeyDown);\n};\n\nvar directive = {\n bind: bind,\n unbind: unbind\n};\n\nexport { directive as t };\n","import { isMobile, matchWithGroups } from './helpers.js';\nimport { c as config } from './chunk-e92e3389.js';\nimport { F as FormElementMixin } from './chunk-17b33cd2.js';\n\nvar AM = 'AM';\nvar PM = 'PM';\nvar HOUR_FORMAT_24 = '24';\nvar HOUR_FORMAT_12 = '12';\n\nvar defaultTimeFormatter = function defaultTimeFormatter(date, vm) {\n return vm.dtf.format(date);\n};\n\nvar defaultTimeParser = function defaultTimeParser(timeString, vm) {\n if (timeString) {\n var d = null;\n\n if (vm.computedValue && !isNaN(vm.computedValue)) {\n d = new Date(vm.computedValue);\n } else {\n d = vm.timeCreator();\n d.setMilliseconds(0);\n }\n\n if (vm.dtf.formatToParts && typeof vm.dtf.formatToParts === 'function') {\n var formatRegex = vm.dtf.formatToParts(d).map(function (part) {\n if (part.type === 'literal') {\n return part.value.replace(/ /g, '\\\\s?');\n } else if (part.type === 'dayPeriod') {\n return \"((?!=<\".concat(part.type, \">)(\").concat(vm.amString, \"|\").concat(vm.pmString, \"|\").concat(AM, \"|\").concat(PM, \"|\").concat(AM.toLowerCase(), \"|\").concat(PM.toLowerCase(), \")?)\");\n }\n\n return \"((?!=<\".concat(part.type, \">)\\\\d+)\");\n }).join('');\n var timeGroups = matchWithGroups(formatRegex, timeString); // We do a simple validation for the group.\n // If it is not valid, it will fallback to Date.parse below\n\n timeGroups.hour = timeGroups.hour ? parseInt(timeGroups.hour, 10) : null;\n timeGroups.minute = timeGroups.minute ? parseInt(timeGroups.minute, 10) : null;\n timeGroups.second = timeGroups.second ? parseInt(timeGroups.second, 10) : null;\n\n if (timeGroups.hour && timeGroups.hour >= 0 && timeGroups.hour < 24 && timeGroups.minute && timeGroups.minute >= 0 && timeGroups.minute < 59) {\n if (timeGroups.dayPeriod && (timeGroups.dayPeriod.toLowerCase() === vm.pmString.toLowerCase() || timeGroups.dayPeriod.toLowerCase() === PM.toLowerCase()) && timeGroups.hour < 12) {\n timeGroups.hour += 12;\n }\n\n d.setHours(timeGroups.hour);\n d.setMinutes(timeGroups.minute);\n d.setSeconds(timeGroups.second || 0);\n return d;\n }\n } // Fallback if formatToParts is not supported or if we were not able to parse a valid date\n\n\n var am = false;\n\n if (vm.hourFormat === HOUR_FORMAT_12) {\n var dateString12 = timeString.split(' ');\n timeString = dateString12[0];\n am = dateString12[1] === vm.amString || dateString12[1] === AM;\n }\n\n var time = timeString.split(':');\n var hours = parseInt(time[0], 10);\n var minutes = parseInt(time[1], 10);\n var seconds = vm.enableSeconds ? parseInt(time[2], 10) : 0;\n\n if (isNaN(hours) || hours < 0 || hours > 23 || vm.hourFormat === HOUR_FORMAT_12 && (hours < 1 || hours > 12) || isNaN(minutes) || minutes < 0 || minutes > 59) {\n return null;\n }\n\n d.setSeconds(seconds);\n d.setMinutes(minutes);\n\n if (vm.hourFormat === HOUR_FORMAT_12) {\n if (am && hours === 12) {\n hours = 0;\n } else if (!am && hours !== 12) {\n hours += 12;\n }\n }\n\n d.setHours(hours);\n return new Date(d.getTime());\n }\n\n return null;\n};\n\nvar TimepickerMixin = {\n mixins: [FormElementMixin],\n inheritAttrs: false,\n props: {\n value: Date,\n inline: Boolean,\n minTime: Date,\n maxTime: Date,\n placeholder: String,\n editable: Boolean,\n disabled: Boolean,\n hourFormat: {\n type: String,\n validator: function validator(value) {\n return value === HOUR_FORMAT_24 || value === HOUR_FORMAT_12;\n }\n },\n incrementHours: {\n type: Number,\n default: 1\n },\n incrementMinutes: {\n type: Number,\n default: 1\n },\n incrementSeconds: {\n type: Number,\n default: 1\n },\n timeFormatter: {\n type: Function,\n default: function _default(date, vm) {\n if (typeof config.defaultTimeFormatter === 'function') {\n return config.defaultTimeFormatter(date);\n } else {\n return defaultTimeFormatter(date, vm);\n }\n }\n },\n timeParser: {\n type: Function,\n default: function _default(date, vm) {\n if (typeof config.defaultTimeParser === 'function') {\n return config.defaultTimeParser(date);\n } else {\n return defaultTimeParser(date, vm);\n }\n }\n },\n mobileNative: {\n type: Boolean,\n default: function _default() {\n return config.defaultTimepickerMobileNative;\n }\n },\n timeCreator: {\n type: Function,\n default: function _default() {\n if (typeof config.defaultTimeCreator === 'function') {\n return config.defaultTimeCreator();\n } else {\n return new Date();\n }\n }\n },\n position: String,\n unselectableTimes: Array,\n openOnFocus: Boolean,\n enableSeconds: Boolean,\n defaultMinutes: Number,\n defaultSeconds: Number,\n focusable: {\n type: Boolean,\n default: true\n },\n tzOffset: {\n type: Number,\n default: 0\n },\n appendToBody: Boolean,\n resetOnMeridianChange: {\n type: Boolean,\n default: false\n }\n },\n data: function data() {\n return {\n dateSelected: this.value,\n hoursSelected: null,\n minutesSelected: null,\n secondsSelected: null,\n meridienSelected: null,\n _elementRef: 'input',\n AM: AM,\n PM: PM,\n HOUR_FORMAT_24: HOUR_FORMAT_24,\n HOUR_FORMAT_12: HOUR_FORMAT_12\n };\n },\n computed: {\n computedValue: {\n get: function get() {\n return this.dateSelected;\n },\n set: function set(value) {\n this.dateSelected = value;\n this.$emit('input', this.dateSelected);\n }\n },\n localeOptions: function localeOptions() {\n return new Intl.DateTimeFormat(this.locale, {\n hour: 'numeric',\n minute: 'numeric',\n second: this.enableSeconds ? 'numeric' : undefined\n }).resolvedOptions();\n },\n dtf: function dtf() {\n return new Intl.DateTimeFormat(this.locale, {\n hour: this.localeOptions.hour || 'numeric',\n minute: this.localeOptions.minute || 'numeric',\n second: this.enableSeconds ? this.localeOptions.second || 'numeric' : undefined,\n // Fixes 12 hour display github.com/buefy/buefy/issues/3418\n hourCycle: !this.isHourFormat24 ? 'h12' : 'h23'\n });\n },\n newHourFormat: function newHourFormat() {\n return this.hourFormat || (this.localeOptions.hour12 ? HOUR_FORMAT_12 : HOUR_FORMAT_24);\n },\n sampleTime: function sampleTime() {\n var d = this.timeCreator();\n d.setHours(10);\n d.setSeconds(0);\n d.setMinutes(0);\n d.setMilliseconds(0);\n return d;\n },\n hourLiteral: function hourLiteral() {\n if (this.dtf.formatToParts && typeof this.dtf.formatToParts === 'function') {\n var d = this.sampleTime;\n var parts = this.dtf.formatToParts(d);\n var literal = parts.find(function (part, idx) {\n return idx > 0 && parts[idx - 1].type === 'hour';\n });\n\n if (literal) {\n return literal.value;\n }\n }\n\n return ':';\n },\n minuteLiteral: function minuteLiteral() {\n if (this.dtf.formatToParts && typeof this.dtf.formatToParts === 'function') {\n var d = this.sampleTime;\n var parts = this.dtf.formatToParts(d);\n var literal = parts.find(function (part, idx) {\n return idx > 0 && parts[idx - 1].type === 'minute';\n });\n\n if (literal) {\n return literal.value;\n }\n }\n\n return ':';\n },\n secondLiteral: function secondLiteral() {\n if (this.dtf.formatToParts && typeof this.dtf.formatToParts === 'function') {\n var d = this.sampleTime;\n var parts = this.dtf.formatToParts(d);\n var literal = parts.find(function (part, idx) {\n return idx > 0 && parts[idx - 1].type === 'second';\n });\n\n if (literal) {\n return literal.value;\n }\n }\n },\n amString: function amString() {\n if (this.dtf.formatToParts && typeof this.dtf.formatToParts === 'function') {\n var d = this.sampleTime;\n d.setHours(10);\n var dayPeriod = this.dtf.formatToParts(d).find(function (part) {\n return part.type === 'dayPeriod';\n });\n\n if (dayPeriod) {\n return dayPeriod.value;\n }\n }\n\n return AM;\n },\n pmString: function pmString() {\n if (this.dtf.formatToParts && typeof this.dtf.formatToParts === 'function') {\n var d = this.sampleTime;\n d.setHours(20);\n var dayPeriod = this.dtf.formatToParts(d).find(function (part) {\n return part.type === 'dayPeriod';\n });\n\n if (dayPeriod) {\n return dayPeriod.value;\n }\n }\n\n return PM;\n },\n hours: function hours() {\n if (!this.incrementHours || this.incrementHours < 1) throw new Error('Hour increment cannot be null or less than 1.');\n var hours = [];\n var numberOfHours = this.isHourFormat24 ? 24 : 12;\n\n for (var i = 0; i < numberOfHours; i += this.incrementHours) {\n var value = i;\n var label = value;\n\n if (!this.isHourFormat24) {\n value = i + 1;\n label = value;\n\n if (this.meridienSelected === this.amString) {\n if (value === 12) {\n value = 0;\n }\n } else if (this.meridienSelected === this.pmString) {\n if (value !== 12) {\n value += 12;\n }\n }\n }\n\n hours.push({\n label: this.formatNumber(label),\n value: value\n });\n }\n\n return hours;\n },\n minutes: function minutes() {\n if (!this.incrementMinutes || this.incrementMinutes < 1) throw new Error('Minute increment cannot be null or less than 1.');\n var minutes = [];\n\n for (var i = 0; i < 60; i += this.incrementMinutes) {\n minutes.push({\n label: this.formatNumber(i, true),\n value: i\n });\n }\n\n return minutes;\n },\n seconds: function seconds() {\n if (!this.incrementSeconds || this.incrementSeconds < 1) throw new Error('Second increment cannot be null or less than 1.');\n var seconds = [];\n\n for (var i = 0; i < 60; i += this.incrementSeconds) {\n seconds.push({\n label: this.formatNumber(i, true),\n value: i\n });\n }\n\n return seconds;\n },\n meridiens: function meridiens() {\n return [this.amString, this.pmString];\n },\n isMobile: function isMobile$1() {\n return this.mobileNative && isMobile.any();\n },\n isHourFormat24: function isHourFormat24() {\n return this.newHourFormat === HOUR_FORMAT_24;\n }\n },\n watch: {\n hourFormat: function hourFormat() {\n if (this.hoursSelected !== null) {\n this.meridienSelected = this.hoursSelected >= 12 ? this.pmString : this.amString;\n }\n },\n locale: function locale() {\n // see updateInternalState default\n if (!this.value) {\n this.meridienSelected = this.amString;\n }\n },\n\n /**\r\n * When v-model is changed:\r\n * 1. Update internal value.\r\n * 2. If it's invalid, validate again.\r\n */\n value: {\n handler: function handler(value) {\n this.updateInternalState(value);\n !this.isValid && this.$refs.input.checkHtml5Validity();\n },\n immediate: true\n }\n },\n methods: {\n onMeridienChange: function onMeridienChange(value) {\n if (this.hoursSelected !== null && this.resetOnMeridianChange) {\n this.hoursSelected = null;\n this.minutesSelected = null;\n this.secondsSelected = null;\n this.computedValue = null;\n } else if (this.hoursSelected !== null) {\n if (value === this.pmString) {\n this.hoursSelected += 12;\n } else if (value === this.amString) {\n this.hoursSelected -= 12;\n }\n }\n\n this.updateDateSelected(this.hoursSelected, this.minutesSelected, this.enableSeconds ? this.secondsSelected : 0, value);\n },\n onHoursChange: function onHoursChange(value) {\n if (!this.minutesSelected && typeof this.defaultMinutes !== 'undefined') {\n this.minutesSelected = this.defaultMinutes;\n }\n\n if (!this.secondsSelected && typeof this.defaultSeconds !== 'undefined') {\n this.secondsSelected = this.defaultSeconds;\n }\n\n this.updateDateSelected(parseInt(value, 10), this.minutesSelected, this.enableSeconds ? this.secondsSelected : 0, this.meridienSelected);\n },\n onMinutesChange: function onMinutesChange(value) {\n if (!this.secondsSelected && this.defaultSeconds) {\n this.secondsSelected = this.defaultSeconds;\n }\n\n this.updateDateSelected(this.hoursSelected, parseInt(value, 10), this.enableSeconds ? this.secondsSelected : 0, this.meridienSelected);\n },\n onSecondsChange: function onSecondsChange(value) {\n this.updateDateSelected(this.hoursSelected, this.minutesSelected, parseInt(value, 10), this.meridienSelected);\n },\n updateDateSelected: function updateDateSelected(hours, minutes, seconds, meridiens) {\n if (hours != null && minutes != null && (!this.isHourFormat24 && meridiens !== null || this.isHourFormat24)) {\n var time = null;\n\n if (this.computedValue && !isNaN(this.computedValue)) {\n time = new Date(this.computedValue);\n } else {\n time = this.timeCreator();\n time.setMilliseconds(0);\n }\n\n time.setHours(hours);\n time.setMinutes(minutes);\n time.setSeconds(seconds);\n if (!isNaN(time.getTime())) this.computedValue = new Date(time.getTime());\n }\n },\n updateInternalState: function updateInternalState(value) {\n if (value) {\n this.hoursSelected = value.getHours();\n this.minutesSelected = value.getMinutes();\n this.secondsSelected = value.getSeconds();\n this.meridienSelected = value.getHours() >= 12 ? this.pmString : this.amString;\n } else {\n this.hoursSelected = null;\n this.minutesSelected = null;\n this.secondsSelected = null;\n this.meridienSelected = this.amString;\n }\n\n this.dateSelected = value;\n },\n isHourDisabled: function isHourDisabled(hour) {\n var _this = this;\n\n var disabled = false;\n\n if (this.minTime) {\n var minHours = this.minTime.getHours();\n var noMinutesAvailable = this.minutes.every(function (minute) {\n return _this.isMinuteDisabledForHour(hour, minute.value);\n });\n disabled = hour < minHours || noMinutesAvailable;\n }\n\n if (this.maxTime) {\n if (!disabled) {\n var maxHours = this.maxTime.getHours();\n disabled = hour > maxHours;\n }\n }\n\n if (this.unselectableTimes) {\n if (!disabled) {\n var unselectable = this.unselectableTimes.filter(function (time) {\n if (_this.enableSeconds && _this.secondsSelected !== null) {\n return time.getHours() === hour && time.getMinutes() === _this.minutesSelected && time.getSeconds() === _this.secondsSelected;\n } else if (_this.minutesSelected !== null) {\n return time.getHours() === hour && time.getMinutes() === _this.minutesSelected;\n }\n\n return false;\n });\n\n if (unselectable.length > 0) {\n disabled = true;\n } else {\n disabled = this.minutes.every(function (minute) {\n return _this.unselectableTimes.filter(function (time) {\n return time.getHours() === hour && time.getMinutes() === minute.value;\n }).length > 0;\n });\n }\n }\n }\n\n return disabled;\n },\n isMinuteDisabledForHour: function isMinuteDisabledForHour(hour, minute) {\n var disabled = false;\n\n if (this.minTime) {\n var minHours = this.minTime.getHours();\n var minMinutes = this.minTime.getMinutes();\n disabled = hour === minHours && minute < minMinutes;\n }\n\n if (this.maxTime) {\n if (!disabled) {\n var maxHours = this.maxTime.getHours();\n var maxMinutes = this.maxTime.getMinutes();\n disabled = hour === maxHours && minute > maxMinutes;\n }\n }\n\n return disabled;\n },\n isMinuteDisabled: function isMinuteDisabled(minute) {\n var _this2 = this;\n\n var disabled = false;\n\n if (this.hoursSelected !== null) {\n if (this.isHourDisabled(this.hoursSelected)) {\n disabled = true;\n } else {\n disabled = this.isMinuteDisabledForHour(this.hoursSelected, minute);\n }\n\n if (this.unselectableTimes) {\n if (!disabled) {\n var unselectable = this.unselectableTimes.filter(function (time) {\n if (_this2.enableSeconds && _this2.secondsSelected !== null) {\n return time.getHours() === _this2.hoursSelected && time.getMinutes() === minute && time.getSeconds() === _this2.secondsSelected;\n } else {\n return time.getHours() === _this2.hoursSelected && time.getMinutes() === minute;\n }\n });\n disabled = unselectable.length > 0;\n }\n }\n }\n\n return disabled;\n },\n isSecondDisabled: function isSecondDisabled(second) {\n var _this3 = this;\n\n var disabled = false;\n\n if (this.minutesSelected !== null) {\n if (this.isMinuteDisabled(this.minutesSelected)) {\n disabled = true;\n } else {\n if (this.minTime) {\n var minHours = this.minTime.getHours();\n var minMinutes = this.minTime.getMinutes();\n var minSeconds = this.minTime.getSeconds();\n disabled = this.hoursSelected === minHours && this.minutesSelected === minMinutes && second < minSeconds;\n }\n\n if (this.maxTime) {\n if (!disabled) {\n var maxHours = this.maxTime.getHours();\n var maxMinutes = this.maxTime.getMinutes();\n var maxSeconds = this.maxTime.getSeconds();\n disabled = this.hoursSelected === maxHours && this.minutesSelected === maxMinutes && second > maxSeconds;\n }\n }\n }\n\n if (this.unselectableTimes) {\n if (!disabled) {\n var unselectable = this.unselectableTimes.filter(function (time) {\n return time.getHours() === _this3.hoursSelected && time.getMinutes() === _this3.minutesSelected && time.getSeconds() === second;\n });\n disabled = unselectable.length > 0;\n }\n }\n }\n\n return disabled;\n },\n\n /*\r\n * Parse string into date\r\n */\n onChange: function onChange(value) {\n var date = this.timeParser(value, this);\n this.updateInternalState(date);\n\n if (date && !isNaN(date)) {\n this.computedValue = date;\n } else {\n // Force refresh input value when not valid date\n this.computedValue = null;\n this.$refs.input.newValue = this.computedValue;\n }\n },\n\n /*\r\n * Toggle timepicker\r\n */\n toggle: function toggle(active) {\n if (this.$refs.dropdown) {\n this.$refs.dropdown.isActive = typeof active === 'boolean' ? active : !this.$refs.dropdown.isActive;\n }\n },\n\n /*\r\n * Close timepicker\r\n */\n close: function close() {\n this.toggle(false);\n },\n\n /*\r\n * Call default onFocus method and show timepicker\r\n */\n handleOnFocus: function handleOnFocus() {\n this.onFocus();\n\n if (this.openOnFocus) {\n this.toggle(true);\n }\n },\n\n /*\r\n * Format date into string 'HH-MM-SS'\r\n */\n formatHHMMSS: function formatHHMMSS(value) {\n var date = new Date(value);\n\n if (value && !isNaN(date)) {\n var hours = date.getHours();\n var minutes = date.getMinutes();\n var seconds = date.getSeconds();\n return this.formatNumber(hours, true) + ':' + this.formatNumber(minutes, true) + ':' + this.formatNumber(seconds, true);\n }\n\n return '';\n },\n\n /*\r\n * Parse time from string\r\n */\n onChangeNativePicker: function onChangeNativePicker(event) {\n var date = event.target.value;\n\n if (date) {\n var time = null;\n\n if (this.computedValue && !isNaN(this.computedValue)) {\n time = new Date(this.computedValue);\n } else {\n time = new Date();\n time.setMilliseconds(0);\n }\n\n var t = date.split(':');\n time.setHours(parseInt(t[0], 10));\n time.setMinutes(parseInt(t[1], 10));\n time.setSeconds(t[2] ? parseInt(t[2], 10) : 0);\n this.computedValue = new Date(time.getTime());\n } else {\n this.computedValue = null;\n }\n },\n formatNumber: function formatNumber(value, prependZero) {\n return this.isHourFormat24 || prependZero ? this.pad(value) : value;\n },\n pad: function pad(value) {\n return (value < 10 ? '0' : '') + value;\n },\n\n /*\r\n * Format date into string\r\n */\n formatValue: function formatValue(date) {\n if (date && !isNaN(date)) {\n return this.timeFormatter(date, this);\n } else {\n return null;\n }\n },\n\n /**\r\n * Keypress event that is bound to the document.\r\n */\n keyPress: function keyPress(_ref) {\n var key = _ref.key;\n\n if (this.$refs.dropdown && this.$refs.dropdown.isActive && (key === 'Escape' || key === 'Esc')) {\n this.toggle(false);\n }\n },\n\n /**\r\n * Emit 'blur' event on dropdown is not active (closed)\r\n */\n onActiveChange: function onActiveChange(value) {\n if (!value) {\n this.onBlur();\n }\n }\n },\n created: function created() {\n if (typeof window !== 'undefined') {\n document.addEventListener('keyup', this.keyPress);\n }\n },\n beforeDestroy: function beforeDestroy() {\n if (typeof window !== 'undefined') {\n document.removeEventListener('keyup', this.keyPress);\n }\n }\n};\n\nexport { TimepickerMixin as T };\n","import { d as _toConsumableArray, b as _typeof } from './chunk-455cdeae.js';\nimport { toCssWidth, isCustomElement, createAbsoluteElement, removeElement } from './helpers.js';\nimport { c as config } from './chunk-e92e3389.js';\nimport { _ as __vue_normalize__ } from './chunk-cca88db8.js';\nimport { P as ProviderParentMixin, I as InjectedChildMixin } from './chunk-60a03517.js';\nimport { t as trapFocus } from './chunk-42f463e6.js';\n\nvar DEFAULT_CLOSE_OPTIONS = ['escape', 'outside'];\nvar script = {\n name: 'BDropdown',\n directives: {\n trapFocus: trapFocus\n },\n mixins: [ProviderParentMixin('dropdown')],\n props: {\n value: {\n type: [String, Number, Boolean, Object, Array, Function],\n default: null\n },\n disabled: Boolean,\n inline: Boolean,\n scrollable: Boolean,\n maxHeight: {\n type: [String, Number],\n default: 200\n },\n position: {\n type: String,\n validator: function validator(value) {\n return ['is-top-right', 'is-top-left', 'is-bottom-left', 'is-bottom-right'].indexOf(value) > -1;\n }\n },\n triggers: {\n type: Array,\n default: function _default() {\n return ['click'];\n }\n },\n mobileModal: {\n type: Boolean,\n default: function _default() {\n return config.defaultDropdownMobileModal;\n }\n },\n ariaRole: {\n type: String,\n validator: function validator(value) {\n return ['menu', 'list', 'dialog'].indexOf(value) > -1;\n },\n default: null\n },\n animation: {\n type: String,\n default: 'fade'\n },\n multiple: Boolean,\n trapFocus: {\n type: Boolean,\n default: function _default() {\n return config.defaultTrapFocus;\n }\n },\n closeOnClick: {\n type: Boolean,\n default: true\n },\n canClose: {\n type: [Array, Boolean],\n default: true\n },\n expanded: Boolean,\n appendToBody: Boolean,\n appendToBodyCopyParent: Boolean\n },\n data: function data() {\n return {\n selected: this.value,\n style: {},\n isActive: false,\n isHoverable: false,\n _bodyEl: undefined // Used to append to body\n\n };\n },\n computed: {\n rootClasses: function rootClasses() {\n return [this.position, {\n 'is-disabled': this.disabled,\n 'is-hoverable': this.hoverable,\n 'is-inline': this.inline,\n 'is-active': this.isActive || this.inline,\n 'is-mobile-modal': this.isMobileModal,\n 'is-expanded': this.expanded\n }];\n },\n isMobileModal: function isMobileModal() {\n return this.mobileModal && !this.inline;\n },\n cancelOptions: function cancelOptions() {\n return typeof this.canClose === 'boolean' ? this.canClose ? DEFAULT_CLOSE_OPTIONS : [] : this.canClose;\n },\n contentStyle: function contentStyle() {\n return {\n maxHeight: this.scrollable ? toCssWidth(this.maxHeight) : null,\n overflow: this.scrollable ? 'auto' : null\n };\n },\n hoverable: function hoverable() {\n return this.triggers.indexOf('hover') >= 0;\n }\n },\n watch: {\n /**\r\n * When v-model is changed set the new selected item.\r\n */\n value: function value(_value) {\n this.selected = _value;\n },\n\n /**\r\n * Emit event when isActive value is changed.\r\n */\n isActive: function isActive(value) {\n var _this = this;\n\n this.$emit('active-change', value);\n this.handleScroll();\n\n if (this.appendToBody) {\n this.$nextTick(function () {\n _this.updateAppendToBody();\n });\n }\n },\n isHoverable: function isHoverable(value) {\n if (this.hoverable) {\n this.$emit('active-change', value);\n }\n }\n },\n methods: {\n handleScroll: function handleScroll() {\n if (typeof window === 'undefined') return;\n\n if (this.isMobileModal) {\n if (this.isActive) {\n document.documentElement.classList.add('is-clipped-touch');\n } else {\n document.documentElement.classList.remove('is-clipped-touch');\n }\n }\n },\n\n /**\r\n * Click listener from DropdownItem.\r\n * 1. Set new selected item.\r\n * 2. Emit input event to update the user v-model.\r\n * 3. Close the dropdown.\r\n */\n selectItem: function selectItem(value) {\n if (this.multiple) {\n if (this.selected) {\n if (this.selected.indexOf(value) === -1) {\n // Add value\n this.selected = [].concat(_toConsumableArray(this.selected), [value]);\n } else {\n // Remove value\n this.selected = this.selected.filter(function (val) {\n return val !== value;\n });\n }\n } else {\n this.selected = [value];\n }\n\n this.$emit('change', this.selected);\n } else {\n if (this.selected !== value) {\n this.selected = value;\n this.$emit('change', this.selected);\n }\n }\n\n this.$emit('input', this.selected);\n\n if (!this.multiple) {\n this.isActive = !this.closeOnClick;\n\n if (this.hoverable && this.closeOnClick) {\n this.isHoverable = false;\n }\n }\n },\n\n /**\r\n * White-listed items to not close when clicked.\r\n */\n isInWhiteList: function isInWhiteList(el) {\n if (el === this.$refs.dropdownMenu) return true;\n if (el === this.$refs.trigger) return true; // All chidren from dropdown\n\n if (this.$refs.dropdownMenu !== undefined) {\n var children = this.$refs.dropdownMenu.querySelectorAll('*');\n var _iteratorNormalCompletion = true;\n var _didIteratorError = false;\n var _iteratorError = undefined;\n\n try {\n for (var _iterator = children[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) {\n var child = _step.value;\n\n if (el === child) {\n return true;\n }\n }\n } catch (err) {\n _didIteratorError = true;\n _iteratorError = err;\n } finally {\n try {\n if (!_iteratorNormalCompletion && _iterator.return != null) {\n _iterator.return();\n }\n } finally {\n if (_didIteratorError) {\n throw _iteratorError;\n }\n }\n }\n } // All children from trigger\n\n\n if (this.$refs.trigger !== undefined) {\n var _children = this.$refs.trigger.querySelectorAll('*');\n\n var _iteratorNormalCompletion2 = true;\n var _didIteratorError2 = false;\n var _iteratorError2 = undefined;\n\n try {\n for (var _iterator2 = _children[Symbol.iterator](), _step2; !(_iteratorNormalCompletion2 = (_step2 = _iterator2.next()).done); _iteratorNormalCompletion2 = true) {\n var _child = _step2.value;\n\n if (el === _child) {\n return true;\n }\n }\n } catch (err) {\n _didIteratorError2 = true;\n _iteratorError2 = err;\n } finally {\n try {\n if (!_iteratorNormalCompletion2 && _iterator2.return != null) {\n _iterator2.return();\n }\n } finally {\n if (_didIteratorError2) {\n throw _iteratorError2;\n }\n }\n }\n }\n\n return false;\n },\n\n /**\r\n * Close dropdown if clicked outside.\r\n */\n clickedOutside: function clickedOutside(event) {\n if (this.cancelOptions.indexOf('outside') < 0) return;\n if (this.inline) return;\n var target = isCustomElement(this) ? event.composedPath()[0] : event.target;\n if (!this.isInWhiteList(target)) this.isActive = false;\n },\n\n /**\r\n * Keypress event that is bound to the document\r\n */\n keyPress: function keyPress(_ref) {\n var key = _ref.key;\n\n if (this.isActive && (key === 'Escape' || key === 'Esc')) {\n if (this.cancelOptions.indexOf('escape') < 0) return;\n this.isActive = false;\n }\n },\n onClick: function onClick() {\n if (this.triggers.indexOf('click') < 0) return;\n this.toggle();\n },\n onContextMenu: function onContextMenu() {\n if (this.triggers.indexOf('contextmenu') < 0) return;\n this.toggle();\n },\n onHover: function onHover() {\n if (this.triggers.indexOf('hover') < 0) return;\n this.isHoverable = true;\n },\n onFocus: function onFocus() {\n if (this.triggers.indexOf('focus') < 0) return;\n this.toggle();\n },\n\n /**\r\n * Toggle dropdown if it's not disabled.\r\n */\n toggle: function toggle() {\n var _this2 = this;\n\n if (this.disabled) return;\n\n if (!this.isActive) {\n // if not active, toggle after clickOutside event\n // this fixes toggling programmatic\n this.$nextTick(function () {\n var value = !_this2.isActive;\n _this2.isActive = value; // Vue 2.6.x ???\n\n setTimeout(function () {\n return _this2.isActive = value;\n });\n });\n } else {\n this.isActive = !this.isActive;\n }\n },\n updateAppendToBody: function updateAppendToBody() {\n var dropdown = this.$refs.dropdown;\n var dropdownMenu = this.$refs.dropdownMenu;\n var trigger = this.$refs.trigger;\n\n if (dropdownMenu && trigger) {\n // update wrapper dropdown\n var dropdownWrapper = this.$data._bodyEl.children[0];\n dropdownWrapper.classList.forEach(function (item) {\n return dropdownWrapper.classList.remove(item);\n });\n dropdownWrapper.classList.add('dropdown');\n dropdownWrapper.classList.add('dropdown-menu-animation');\n\n if (this.$vnode && this.$vnode.data && this.$vnode.data.staticClass) {\n dropdownWrapper.classList.add(this.$vnode.data.staticClass);\n }\n\n this.rootClasses.forEach(function (item) {\n // skip position prop\n if (item && _typeof(item) === 'object') {\n for (var key in item) {\n if (item[key]) {\n dropdownWrapper.classList.add(key);\n }\n }\n }\n });\n\n if (this.appendToBodyCopyParent) {\n var parentNode = this.$refs.dropdown.parentNode;\n var parent = this.$data._bodyEl;\n parent.classList.forEach(function (item) {\n return parent.classList.remove(item);\n });\n parentNode.classList.forEach(function (item) {\n parent.classList.add(item);\n });\n }\n\n var rect = trigger.getBoundingClientRect();\n var top = rect.top + window.scrollY;\n var left = rect.left + window.scrollX;\n\n if (!this.position || this.position.indexOf('bottom') >= 0) {\n top += trigger.clientHeight;\n } else {\n top -= dropdownMenu.clientHeight;\n }\n\n if (this.position && this.position.indexOf('left') >= 0) {\n left -= dropdownMenu.clientWidth - trigger.clientWidth;\n }\n\n this.style = {\n position: 'absolute',\n top: \"\".concat(top, \"px\"),\n left: \"\".concat(left, \"px\"),\n zIndex: '99',\n width: this.expanded ? \"\".concat(dropdown.offsetWidth, \"px\") : undefined\n };\n }\n }\n },\n mounted: function mounted() {\n if (this.appendToBody) {\n this.$data._bodyEl = createAbsoluteElement(this.$refs.dropdownMenu);\n this.updateAppendToBody();\n }\n },\n created: function created() {\n if (typeof window !== 'undefined') {\n document.addEventListener('click', this.clickedOutside);\n document.addEventListener('keyup', this.keyPress);\n }\n },\n beforeDestroy: function beforeDestroy() {\n if (typeof window !== 'undefined') {\n document.removeEventListener('click', this.clickedOutside);\n document.removeEventListener('keyup', this.keyPress);\n }\n\n if (this.appendToBody) {\n removeElement(this.$data._bodyEl);\n }\n }\n};\n\n/* script */\nconst __vue_script__ = script;\n\n/* template */\nvar __vue_render__ = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{ref:\"dropdown\",staticClass:\"dropdown dropdown-menu-animation\",class:_vm.rootClasses,on:{\"mouseleave\":function($event){_vm.isHoverable = false;}}},[(!_vm.inline)?_c('div',{ref:\"trigger\",staticClass:\"dropdown-trigger\",attrs:{\"tabindex\":_vm.disabled ? false : 0,\"aria-haspopup\":\"true\"},on:{\"click\":_vm.onClick,\"contextmenu\":function($event){$event.preventDefault();return _vm.onContextMenu($event)},\"mouseenter\":_vm.onHover,\"!focus\":function($event){return _vm.onFocus($event)}}},[_vm._t(\"trigger\",null,{\"active\":_vm.isActive})],2):_vm._e(),_c('transition',{attrs:{\"name\":_vm.animation}},[(_vm.isMobileModal)?_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.isActive),expression:\"isActive\"}],staticClass:\"background\",attrs:{\"aria-hidden\":!_vm.isActive}}):_vm._e()]),_c('transition',{attrs:{\"name\":_vm.animation}},[_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:((!_vm.disabled && (_vm.isActive || _vm.isHoverable)) || _vm.inline),expression:\"(!disabled && (isActive || isHoverable)) || inline\"},{name:\"trap-focus\",rawName:\"v-trap-focus\",value:(_vm.trapFocus),expression:\"trapFocus\"}],ref:\"dropdownMenu\",staticClass:\"dropdown-menu\",style:(_vm.style),attrs:{\"aria-hidden\":!_vm.isActive}},[_c('div',{staticClass:\"dropdown-content\",style:(_vm.contentStyle),attrs:{\"role\":_vm.ariaRole,\"aria-modal\":!_vm.inline}},[_vm._t(\"default\")],2)])])],1)};\nvar __vue_staticRenderFns__ = [];\n\n /* style */\n const __vue_inject_styles__ = undefined;\n /* scoped */\n const __vue_scope_id__ = undefined;\n /* module identifier */\n const __vue_module_identifier__ = undefined;\n /* functional template */\n const __vue_is_functional_template__ = false;\n /* style inject */\n \n /* style inject SSR */\n \n\n \n var Dropdown = __vue_normalize__(\n { render: __vue_render__, staticRenderFns: __vue_staticRenderFns__ },\n __vue_inject_styles__,\n __vue_script__,\n __vue_scope_id__,\n __vue_is_functional_template__,\n __vue_module_identifier__,\n undefined,\n undefined\n );\n\n//\nvar script$1 = {\n name: 'BDropdownItem',\n mixins: [InjectedChildMixin('dropdown')],\n props: {\n value: {\n type: [String, Number, Boolean, Object, Array, Function],\n default: null\n },\n separator: Boolean,\n disabled: Boolean,\n custom: Boolean,\n focusable: {\n type: Boolean,\n default: true\n },\n paddingless: Boolean,\n hasLink: Boolean,\n ariaRole: {\n type: String,\n default: ''\n }\n },\n computed: {\n anchorClasses: function anchorClasses() {\n return {\n 'is-disabled': this.parent.disabled || this.disabled,\n 'is-paddingless': this.paddingless,\n 'is-active': this.isActive\n };\n },\n itemClasses: function itemClasses() {\n return {\n 'dropdown-item': !this.hasLink,\n 'is-disabled': this.disabled,\n 'is-paddingless': this.paddingless,\n 'is-active': this.isActive,\n 'has-link': this.hasLink\n };\n },\n ariaRoleItem: function ariaRoleItem() {\n return this.ariaRole === 'menuitem' || this.ariaRole === 'listitem' ? this.ariaRole : null;\n },\n isClickable: function isClickable() {\n return !this.parent.disabled && !this.separator && !this.disabled && !this.custom;\n },\n isActive: function isActive() {\n if (this.parent.selected === null) return false;\n if (this.parent.multiple) return this.parent.selected.indexOf(this.value) >= 0;\n return this.value === this.parent.selected;\n },\n isFocusable: function isFocusable() {\n return this.hasLink ? false : this.focusable;\n }\n },\n methods: {\n /**\r\n * Click listener, select the item.\r\n */\n selectItem: function selectItem() {\n if (!this.isClickable) return;\n this.parent.selectItem(this.value);\n this.$emit('click');\n }\n }\n};\n\n/* script */\nconst __vue_script__$1 = script$1;\n\n/* template */\nvar __vue_render__$1 = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.separator)?_c('hr',{staticClass:\"dropdown-divider\"}):(!_vm.custom && !_vm.hasLink)?_c('a',{staticClass:\"dropdown-item\",class:_vm.anchorClasses,attrs:{\"role\":_vm.ariaRoleItem,\"tabindex\":_vm.isFocusable ? 0 : null},on:{\"click\":_vm.selectItem}},[_vm._t(\"default\")],2):_c('div',{class:_vm.itemClasses,attrs:{\"role\":_vm.ariaRoleItem,\"tabindex\":_vm.isFocusable ? 0 : null},on:{\"click\":_vm.selectItem}},[_vm._t(\"default\")],2)};\nvar __vue_staticRenderFns__$1 = [];\n\n /* style */\n const __vue_inject_styles__$1 = undefined;\n /* scoped */\n const __vue_scope_id__$1 = undefined;\n /* module identifier */\n const __vue_module_identifier__$1 = undefined;\n /* functional template */\n const __vue_is_functional_template__$1 = false;\n /* style inject */\n \n /* style inject SSR */\n \n\n \n var DropdownItem = __vue_normalize__(\n { render: __vue_render__$1, staticRenderFns: __vue_staticRenderFns__$1 },\n __vue_inject_styles__$1,\n __vue_script__$1,\n __vue_scope_id__$1,\n __vue_is_functional_template__$1,\n __vue_module_identifier__$1,\n undefined,\n undefined\n );\n\nexport { Dropdown as D, DropdownItem as a };\n","import { _ as _defineProperty } from './chunk-455cdeae.js';\nimport { c as config } from './chunk-e92e3389.js';\nimport { _ as __vue_normalize__ } from './chunk-cca88db8.js';\n\nvar script = {\n name: 'BFieldBody',\n props: {\n message: {\n type: [String, Array]\n },\n type: {\n type: [String, Object]\n }\n },\n render: function render(createElement) {\n var _this = this;\n\n var first = true;\n return createElement('div', {\n attrs: {\n 'class': 'field-body'\n }\n }, this.$slots.default.map(function (element) {\n // skip returns and comments\n if (!element.tag) {\n return element;\n }\n\n var message;\n\n if (first) {\n message = _this.message;\n first = false;\n }\n\n return createElement('b-field', {\n attrs: {\n type: _this.type,\n message: message\n }\n }, [element]);\n }));\n }\n};\n\n/* script */\nconst __vue_script__ = script;\n\n/* template */\n\n /* style */\n const __vue_inject_styles__ = undefined;\n /* scoped */\n const __vue_scope_id__ = undefined;\n /* module identifier */\n const __vue_module_identifier__ = undefined;\n /* functional template */\n const __vue_is_functional_template__ = undefined;\n /* style inject */\n \n /* style inject SSR */\n \n\n \n var FieldBody = __vue_normalize__(\n {},\n __vue_inject_styles__,\n __vue_script__,\n __vue_scope_id__,\n __vue_is_functional_template__,\n __vue_module_identifier__,\n undefined,\n undefined\n );\n\nvar script$1 = {\n name: 'BField',\n components: _defineProperty({}, FieldBody.name, FieldBody),\n provide: function provide() {\n return {\n 'BField': this\n };\n },\n inject: {\n parent: {\n from: 'BField',\n default: false\n }\n },\n // Used internally only when using Field in Field\n props: {\n type: [String, Object],\n label: String,\n labelFor: String,\n message: [String, Array, Object],\n grouped: Boolean,\n groupMultiline: Boolean,\n position: String,\n expanded: Boolean,\n horizontal: Boolean,\n addons: {\n type: Boolean,\n default: true\n },\n customClass: String,\n labelPosition: {\n type: String,\n default: function _default() {\n return config.defaultFieldLabelPosition;\n }\n }\n },\n data: function data() {\n return {\n newType: this.type,\n newMessage: this.message,\n fieldLabelSize: null,\n _isField: true // Used internally by Input and Select\n\n };\n },\n computed: {\n rootClasses: function rootClasses() {\n return [{\n 'is-expanded': this.expanded,\n 'is-horizontal': this.horizontal,\n 'is-floating-in-label': this.hasLabel && !this.horizontal && this.labelPosition === 'inside',\n 'is-floating-label': this.hasLabel && !this.horizontal && this.labelPosition === 'on-border'\n }, this.numberInputClasses];\n },\n innerFieldClasses: function innerFieldClasses() {\n return [this.fieldType(), this.newPosition, {\n 'is-grouped-multiline': this.groupMultiline\n }];\n },\n hasInnerField: function hasInnerField() {\n return this.grouped || this.groupMultiline || this.hasAddons();\n },\n\n /**\r\n * Correct Bulma class for the side of the addon or group.\r\n *\r\n * This is not kept like the others (is-small, etc.),\r\n * because since 'has-addons' is set automatically it\r\n * doesn't make sense to teach users what addons are exactly.\r\n */\n newPosition: function newPosition() {\n if (this.position === undefined) return;\n var position = this.position.split('-');\n if (position.length < 1) return;\n var prefix = this.grouped ? 'is-grouped-' : 'has-addons-';\n if (this.position) return prefix + position[1];\n },\n\n /**\r\n * Formatted message in case it's an array\r\n * (each element is separated by
tag)\r\n */\n formattedMessage: function formattedMessage() {\n if (this.parent && this.parent.hasInnerField) {\n return ''; // Message will be displayed in parent field\n }\n\n if (typeof this.newMessage === 'string') {\n return [this.newMessage];\n }\n\n var messages = [];\n\n if (Array.isArray(this.newMessage)) {\n this.newMessage.forEach(function (message) {\n if (typeof message === 'string') {\n messages.push(message);\n } else {\n for (var key in message) {\n if (message[key]) {\n messages.push(key);\n }\n }\n }\n });\n } else {\n for (var key in this.newMessage) {\n if (this.newMessage[key]) {\n messages.push(key);\n }\n }\n }\n\n return messages.filter(function (m) {\n if (m) return m;\n });\n },\n hasLabel: function hasLabel() {\n return this.label || this.$slots.label;\n },\n hasMessage: function hasMessage() {\n return (!this.parent || !this.parent.hasInnerField) && this.newMessage || this.$slots.message;\n },\n numberInputClasses: function numberInputClasses() {\n if (this.$slots.default) {\n var numberinput = this.$slots.default.filter(function (node) {\n return node.tag && node.tag.toLowerCase().indexOf('numberinput') >= 0;\n })[0];\n\n if (numberinput) {\n var classes = ['has-numberinput'];\n var controlsPosition = numberinput.componentOptions.propsData.controlsPosition;\n var size = numberinput.componentOptions.propsData.size;\n\n if (controlsPosition) {\n classes.push(\"has-numberinput-\".concat(controlsPosition));\n }\n\n if (size) {\n classes.push(\"has-numberinput-\".concat(size));\n }\n\n return classes;\n }\n }\n\n return null;\n }\n },\n watch: {\n /**\r\n * Set internal type when prop change.\r\n */\n type: function type(value) {\n this.newType = value;\n },\n\n /**\r\n * Set internal message when prop change.\r\n */\n message: function message(value) {\n this.newMessage = value;\n },\n\n /**\r\n * Set parent message if we use Field in Field.\r\n */\n newMessage: function newMessage(value) {\n if (this.parent && this.parent.hasInnerField) {\n if (!this.parent.type) {\n this.parent.newType = this.newType;\n }\n\n if (!this.parent.message) {\n this.parent.newMessage = value;\n }\n }\n }\n },\n methods: {\n /**\r\n * Field has addons if there are more than one slot\r\n * (element / component) in the Field.\r\n * Or is grouped when prop is set.\r\n * Is a method to be called when component re-render.\r\n */\n fieldType: function fieldType() {\n if (this.grouped) return 'is-grouped';\n if (this.hasAddons()) return 'has-addons';\n },\n hasAddons: function hasAddons() {\n var renderedNode = 0;\n\n if (this.$slots.default) {\n renderedNode = this.$slots.default.reduce(function (i, node) {\n return node.tag ? i + 1 : i;\n }, 0);\n }\n\n return renderedNode > 1 && this.addons && !this.horizontal;\n }\n },\n mounted: function mounted() {\n if (this.horizontal) {\n // Bulma docs: .is-normal for any .input or .button\n var elements = this.$el.querySelectorAll('.input, .select, .button, .textarea, .b-slider');\n\n if (elements.length > 0) {\n this.fieldLabelSize = 'is-normal';\n }\n }\n }\n};\n\n/* script */\nconst __vue_script__$1 = script$1;\n\n/* template */\nvar __vue_render__ = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"field\",class:_vm.rootClasses},[(_vm.horizontal)?_c('div',{staticClass:\"field-label\",class:[_vm.customClass, _vm.fieldLabelSize]},[(_vm.hasLabel)?_c('label',{staticClass:\"label\",class:_vm.customClass,attrs:{\"for\":_vm.labelFor}},[(_vm.$slots.label)?_vm._t(\"label\"):[_vm._v(_vm._s(_vm.label))]],2):_vm._e()]):[(_vm.hasLabel)?_c('label',{staticClass:\"label\",class:_vm.customClass,attrs:{\"for\":_vm.labelFor}},[(_vm.$slots.label)?_vm._t(\"label\"):[_vm._v(_vm._s(_vm.label))]],2):_vm._e()],(_vm.horizontal)?_c('b-field-body',{attrs:{\"message\":_vm.newMessage ? _vm.formattedMessage : '',\"type\":_vm.newType}},[_vm._t(\"default\")],2):(_vm.hasInnerField)?_c('div',{staticClass:\"field-body\"},[_c('b-field',{class:_vm.innerFieldClasses,attrs:{\"addons\":false,\"type\":_vm.newType}},[_vm._t(\"default\")],2)],1):[_vm._t(\"default\")],(_vm.hasMessage && !_vm.horizontal)?_c('p',{staticClass:\"help\",class:_vm.newType},[(_vm.$slots.message)?_vm._t(\"message\",null,{\"messages\":_vm.formattedMessage}):[_vm._l((_vm.formattedMessage),function(mess,i){return [_vm._v(\" \"+_vm._s(mess)+\" \"),((i + 1) < _vm.formattedMessage.length)?_c('br',{key:i}):_vm._e()]})]],2):_vm._e()],2)};\nvar __vue_staticRenderFns__ = [];\n\n /* style */\n const __vue_inject_styles__$1 = undefined;\n /* scoped */\n const __vue_scope_id__$1 = undefined;\n /* module identifier */\n const __vue_module_identifier__$1 = undefined;\n /* functional template */\n const __vue_is_functional_template__$1 = false;\n /* style inject */\n \n /* style inject SSR */\n \n\n \n var Field = __vue_normalize__(\n { render: __vue_render__, staticRenderFns: __vue_staticRenderFns__ },\n __vue_inject_styles__$1,\n __vue_script__$1,\n __vue_scope_id__$1,\n __vue_is_functional_template__$1,\n __vue_module_identifier__$1,\n undefined,\n undefined\n );\n\nexport { Field as F };\n","import { _ as _defineProperty } from './chunk-455cdeae.js';\nimport './helpers.js';\nimport { c as config } from './chunk-e92e3389.js';\nimport './chunk-17b33cd2.js';\nimport { I as Icon } from './chunk-7e17a637.js';\nimport { _ as __vue_normalize__, r as registerComponent, u as use } from './chunk-cca88db8.js';\nimport { I as Input } from './chunk-72ecb544.js';\nimport './chunk-60a03517.js';\nimport { T as TimepickerMixin } from './chunk-6e56b8bc.js';\nimport './chunk-42f463e6.js';\nimport { D as Dropdown, a as DropdownItem } from './chunk-ade5b253.js';\nimport { F as Field } from './chunk-53788519.js';\n\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n// These should match the variables in clockpicker.scss\nvar indicatorSize = 40;\nvar paddingInner = 5;\nvar script = {\n name: 'BClockpickerFace',\n props: {\n pickerSize: Number,\n min: Number,\n max: Number,\n double: Boolean,\n value: Number,\n faceNumbers: Array,\n disabledValues: Function\n },\n data: function data() {\n return {\n isDragging: false,\n inputValue: this.value,\n prevAngle: 720\n };\n },\n computed: {\n /**\r\n * How many number indicators are shown on the face\r\n */\n count: function count() {\n return this.max - this.min + 1;\n },\n\n /**\r\n * How many number indicators are shown per ring on the face\r\n */\n countPerRing: function countPerRing() {\n return this.double ? this.count / 2 : this.count;\n },\n\n /**\r\n * Radius of the clock face\r\n */\n radius: function radius() {\n return this.pickerSize / 2;\n },\n\n /**\r\n * Radius of the outer ring of number indicators\r\n */\n outerRadius: function outerRadius() {\n return this.radius - paddingInner - indicatorSize / 2;\n },\n\n /**\r\n * Radius of the inner ring of number indicators\r\n */\n innerRadius: function innerRadius() {\n return Math.max(this.outerRadius * 0.6, this.outerRadius - paddingInner - indicatorSize); // 48px gives enough room for the outer ring of numbers\n },\n\n /**\r\n * The angle for each selectable value\r\n * For hours this ends up being 30 degrees, for minutes 6 degrees\r\n */\n degreesPerUnit: function degreesPerUnit() {\n return 360 / this.countPerRing;\n },\n\n /**\r\n * Used for calculating x/y grid location based on degrees\r\n */\n degrees: function degrees() {\n return this.degreesPerUnit * Math.PI / 180;\n },\n\n /**\r\n * Calculates the angle the clock hand should be rotated for the\r\n * selected value\r\n */\n handRotateAngle: function handRotateAngle() {\n var currentAngle = this.prevAngle;\n\n while (currentAngle < 0) {\n currentAngle += 360;\n }\n\n var targetAngle = this.calcHandAngle(this.displayedValue);\n var degreesDiff = this.shortestDistanceDegrees(currentAngle, targetAngle);\n var angle = this.prevAngle + degreesDiff;\n return angle;\n },\n\n /**\r\n * Determines how long the selector hand is based on if the\r\n * selected value is located along the outer or inner ring\r\n */\n handScale: function handScale() {\n return this.calcHandScale(this.displayedValue);\n },\n handStyle: function handStyle() {\n return {\n transform: \"rotate(\".concat(this.handRotateAngle, \"deg) scaleY(\").concat(this.handScale, \")\"),\n transition: '.3s cubic-bezier(.25,.8,.50,1)'\n };\n },\n\n /**\r\n * The value the hand should be pointing at\r\n */\n displayedValue: function displayedValue() {\n return this.inputValue == null ? this.min : this.inputValue;\n }\n },\n watch: {\n value: function value(_value) {\n if (_value !== this.inputValue) {\n this.prevAngle = this.handRotateAngle;\n }\n\n this.inputValue = _value;\n }\n },\n methods: {\n isDisabled: function isDisabled(value) {\n return this.disabledValues && this.disabledValues(value);\n },\n\n /**\r\n * Calculates the distance between two points\r\n */\n euclidean: function euclidean(p0, p1) {\n var dx = p1.x - p0.x;\n var dy = p1.y - p0.y;\n return Math.sqrt(dx * dx + dy * dy);\n },\n shortestDistanceDegrees: function shortestDistanceDegrees(start, stop) {\n var modDiff = (stop - start) % 360;\n var shortestDistance = 180 - Math.abs(Math.abs(modDiff) - 180);\n return (modDiff + 360) % 360 < 180 ? shortestDistance * 1 : shortestDistance * -1;\n },\n\n /**\r\n * Calculates the angle of the line from the center point\r\n * to the given point.\r\n */\n coordToAngle: function coordToAngle(center, p1) {\n var value = 2 * Math.atan2(p1.y - center.y - this.euclidean(center, p1), p1.x - center.x);\n return Math.abs(value * 180 / Math.PI);\n },\n\n /**\r\n * Generates the inline style translate() property for a\r\n * number indicator, which determines it's location on the\r\n * clock face\r\n */\n getNumberTranslate: function getNumberTranslate(value) {\n var _this$getNumberCoords = this.getNumberCoords(value),\n x = _this$getNumberCoords.x,\n y = _this$getNumberCoords.y;\n\n return \"translate(\".concat(x, \"px, \").concat(y, \"px)\");\n },\n\n /***\r\n * Calculates the coordinates on the clock face for a number\r\n * indicator value\r\n */\n getNumberCoords: function getNumberCoords(value) {\n var radius = this.isInnerRing(value) ? this.innerRadius : this.outerRadius;\n return {\n x: Math.round(radius * Math.sin((value - this.min) * this.degrees)),\n y: Math.round(-radius * Math.cos((value - this.min) * this.degrees))\n };\n },\n getFaceNumberClasses: function getFaceNumberClasses(num) {\n return {\n 'active': num.value === this.displayedValue,\n 'disabled': this.isDisabled(num.value)\n };\n },\n\n /**\r\n * Determines if a value resides on the inner ring\r\n */\n isInnerRing: function isInnerRing(value) {\n return this.double && value - this.min >= this.countPerRing;\n },\n calcHandAngle: function calcHandAngle(value) {\n var angle = this.degreesPerUnit * (value - this.min);\n if (this.isInnerRing(value)) angle -= 360;\n return angle;\n },\n calcHandScale: function calcHandScale(value) {\n return this.isInnerRing(value) ? this.innerRadius / this.outerRadius : 1;\n },\n onMouseDown: function onMouseDown(e) {\n e.preventDefault();\n this.isDragging = true;\n this.onDragMove(e);\n },\n onMouseUp: function onMouseUp() {\n this.isDragging = false;\n\n if (!this.isDisabled(this.inputValue)) {\n this.$emit('change', this.inputValue);\n }\n },\n onDragMove: function onDragMove(e) {\n e.preventDefault();\n if (!this.isDragging && e.type !== 'click') return;\n\n var _this$$refs$clock$get = this.$refs.clock.getBoundingClientRect(),\n width = _this$$refs$clock$get.width,\n top = _this$$refs$clock$get.top,\n left = _this$$refs$clock$get.left;\n\n var _ref = 'touches' in e ? e.touches[0] : e,\n clientX = _ref.clientX,\n clientY = _ref.clientY;\n\n var center = {\n x: width / 2,\n y: -width / 2\n };\n var coords = {\n x: clientX - left,\n y: top - clientY\n };\n var handAngle = Math.round(this.coordToAngle(center, coords) + 360) % 360;\n var insideClick = this.double && this.euclidean(center, coords) < (this.outerRadius + this.innerRadius) / 2 - 16;\n var value = Math.round(handAngle / this.degreesPerUnit) + this.min + (insideClick ? this.countPerRing : 0); // Necessary to fix edge case when selecting left part of max value\n\n if (handAngle >= 360 - this.degreesPerUnit / 2) {\n value = insideClick ? this.max : this.min;\n }\n\n this.update(value);\n },\n update: function update(value) {\n if (this.inputValue !== value && !this.isDisabled(value)) {\n this.prevAngle = this.handRotateAngle;\n this.inputValue = value;\n this.$emit('input', value);\n }\n }\n }\n};\n\n/* script */\nconst __vue_script__ = script;\n\n/* template */\nvar __vue_render__ = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"b-clockpicker-face\",on:{\"mousedown\":_vm.onMouseDown,\"mouseup\":_vm.onMouseUp,\"mousemove\":_vm.onDragMove,\"touchstart\":_vm.onMouseDown,\"touchend\":_vm.onMouseUp,\"touchmove\":_vm.onDragMove}},[_c('div',{ref:\"clock\",staticClass:\"b-clockpicker-face-outer-ring\"},[_c('div',{staticClass:\"b-clockpicker-face-hand\",style:(_vm.handStyle)}),_vm._l((_vm.faceNumbers),function(num,index){return _c('span',{key:index,staticClass:\"b-clockpicker-face-number\",class:_vm.getFaceNumberClasses(num),style:({ transform: _vm.getNumberTranslate(num.value) })},[_c('span',[_vm._v(_vm._s(num.label))])])})],2)])};\nvar __vue_staticRenderFns__ = [];\n\n /* style */\n const __vue_inject_styles__ = undefined;\n /* scoped */\n const __vue_scope_id__ = undefined;\n /* module identifier */\n const __vue_module_identifier__ = undefined;\n /* functional template */\n const __vue_is_functional_template__ = false;\n /* style inject */\n \n /* style inject SSR */\n \n\n \n var ClockpickerFace = __vue_normalize__(\n { render: __vue_render__, staticRenderFns: __vue_staticRenderFns__ },\n __vue_inject_styles__,\n __vue_script__,\n __vue_scope_id__,\n __vue_is_functional_template__,\n __vue_module_identifier__,\n undefined,\n undefined\n );\n\nvar _components;\nvar outerPadding = 12;\nvar script$1 = {\n name: 'BClockpicker',\n components: (_components = {}, _defineProperty(_components, ClockpickerFace.name, ClockpickerFace), _defineProperty(_components, Input.name, Input), _defineProperty(_components, Field.name, Field), _defineProperty(_components, Icon.name, Icon), _defineProperty(_components, Dropdown.name, Dropdown), _defineProperty(_components, DropdownItem.name, DropdownItem), _components),\n mixins: [TimepickerMixin],\n props: {\n pickerSize: {\n type: Number,\n default: 290\n },\n incrementMinutes: {\n type: Number,\n default: 5\n },\n autoSwitch: {\n type: Boolean,\n default: true\n },\n type: {\n type: String,\n default: 'is-primary'\n },\n hoursLabel: {\n type: String,\n default: function _default() {\n return config.defaultClockpickerHoursLabel || 'Hours';\n }\n },\n minutesLabel: {\n type: String,\n default: function _default() {\n return config.defaultClockpickerMinutesLabel || 'Min';\n }\n }\n },\n data: function data() {\n return {\n isSelectingHour: true,\n isDragging: false,\n _isClockpicker: true\n };\n },\n computed: {\n hoursDisplay: function hoursDisplay() {\n if (this.hoursSelected == null) return '--';\n if (this.isHourFormat24) return this.pad(this.hoursSelected);\n var display = this.hoursSelected;\n\n if (this.meridienSelected === this.pmString) {\n display -= 12;\n }\n\n if (display === 0) display = 12;\n return display;\n },\n minutesDisplay: function minutesDisplay() {\n return this.minutesSelected == null ? '--' : this.pad(this.minutesSelected);\n },\n minFaceValue: function minFaceValue() {\n return this.isSelectingHour && !this.isHourFormat24 && this.meridienSelected === this.pmString ? 12 : 0;\n },\n maxFaceValue: function maxFaceValue() {\n return this.isSelectingHour ? !this.isHourFormat24 && this.meridienSelected === this.amString ? 11 : 23 : 59;\n },\n faceSize: function faceSize() {\n return this.pickerSize - outerPadding * 2;\n },\n faceDisabledValues: function faceDisabledValues() {\n return this.isSelectingHour ? this.isHourDisabled : this.isMinuteDisabled;\n }\n },\n methods: {\n onClockInput: function onClockInput(value) {\n if (this.isSelectingHour) {\n this.hoursSelected = value;\n this.onHoursChange(value);\n } else {\n this.minutesSelected = value;\n this.onMinutesChange(value);\n }\n },\n onClockChange: function onClockChange(value) {\n if (this.autoSwitch && this.isSelectingHour) {\n this.isSelectingHour = !this.isSelectingHour;\n }\n },\n onMeridienClick: function onMeridienClick(value) {\n if (this.meridienSelected !== value) {\n this.meridienSelected = value;\n this.onMeridienChange(value);\n }\n },\n\n /*\r\n * Avoid dropdown toggle when is already visible\r\n */\n onInputClick: function onInputClick(event) {\n if (this.$refs.dropdown.isActive) {\n event.stopPropagation();\n }\n }\n }\n};\n\n/* script */\nconst __vue_script__$1 = script$1;\n\n/* template */\nvar __vue_render__$1 = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"b-clockpicker control\",class:[_vm.size, _vm.type, {'is-expanded': _vm.expanded}]},[(!_vm.isMobile || _vm.inline)?_c('b-dropdown',{ref:\"dropdown\",attrs:{\"position\":_vm.position,\"disabled\":_vm.disabled,\"inline\":_vm.inline,\"append-to-body\":_vm.appendToBody,\"append-to-body-copy-parent\":\"\"},on:{\"active-change\":_vm.onActiveChange},scopedSlots:_vm._u([(!_vm.inline)?{key:\"trigger\",fn:function(){return [_vm._t(\"trigger\",[_c('b-input',_vm._b({ref:\"input\",attrs:{\"slot\":\"trigger\",\"autocomplete\":\"off\",\"value\":_vm.formatValue(_vm.computedValue),\"placeholder\":_vm.placeholder,\"size\":_vm.size,\"icon\":_vm.icon,\"icon-pack\":_vm.iconPack,\"loading\":_vm.loading,\"disabled\":_vm.disabled,\"readonly\":!_vm.editable,\"rounded\":_vm.rounded,\"use-html5-validation\":_vm.useHtml5Validation},on:{\"focus\":_vm.handleOnFocus,\"blur\":function($event){return _vm.checkHtml5Validity()}},nativeOn:{\"click\":function($event){return _vm.onInputClick($event)},\"keyup\":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"enter\",13,$event.key,\"Enter\")){ return null; }return _vm.toggle(true)},\"change\":function($event){return _vm.onChange($event.target.value)}},slot:\"trigger\"},'b-input',_vm.$attrs,false))])]},proxy:true}:null],null,true)},[_c('div',{staticClass:\"card\",attrs:{\"disabled\":_vm.disabled,\"custom\":\"\"}},[(_vm.inline)?_c('header',{staticClass:\"card-header\"},[_c('div',{staticClass:\"b-clockpicker-header card-header-title\"},[_c('div',{staticClass:\"b-clockpicker-time\"},[_c('span',{staticClass:\"b-clockpicker-btn\",class:{ active: _vm.isSelectingHour },on:{\"click\":function($event){_vm.isSelectingHour = true;}}},[_vm._v(_vm._s(_vm.hoursDisplay))]),_c('span',[_vm._v(_vm._s(_vm.hourLiteral))]),_c('span',{staticClass:\"b-clockpicker-btn\",class:{ active: !_vm.isSelectingHour },on:{\"click\":function($event){_vm.isSelectingHour = false;}}},[_vm._v(_vm._s(_vm.minutesDisplay))])]),(!_vm.isHourFormat24)?_c('div',{staticClass:\"b-clockpicker-period\"},[_c('div',{staticClass:\"b-clockpicker-btn\",class:{\n active: _vm.meridienSelected === _vm.amString || _vm.meridienSelected === _vm.AM\n },on:{\"click\":function($event){return _vm.onMeridienClick(_vm.amString)}}},[_vm._v(_vm._s(_vm.amString))]),_c('div',{staticClass:\"b-clockpicker-btn\",class:{\n active: _vm.meridienSelected === _vm.pmString || _vm.meridienSelected === _vm.PM\n },on:{\"click\":function($event){return _vm.onMeridienClick(_vm.pmString)}}},[_vm._v(_vm._s(_vm.pmString))])]):_vm._e()])]):_vm._e(),_c('div',{staticClass:\"card-content\"},[_c('div',{staticClass:\"b-clockpicker-body\",style:({ width: _vm.faceSize + 'px', height: _vm.faceSize + 'px' })},[(!_vm.inline)?_c('div',{staticClass:\"b-clockpicker-time\"},[_c('div',{staticClass:\"b-clockpicker-btn\",class:{ active: _vm.isSelectingHour },on:{\"click\":function($event){_vm.isSelectingHour = true;}}},[_vm._v(_vm._s(_vm.hoursLabel))]),_c('span',{staticClass:\"b-clockpicker-btn\",class:{ active: !_vm.isSelectingHour },on:{\"click\":function($event){_vm.isSelectingHour = false;}}},[_vm._v(_vm._s(_vm.minutesLabel))])]):_vm._e(),(!_vm.isHourFormat24 && !_vm.inline)?_c('div',{staticClass:\"b-clockpicker-period\"},[_c('div',{staticClass:\"b-clockpicker-btn\",class:{\n active: _vm.meridienSelected === _vm.amString || _vm.meridienSelected === _vm.AM\n },on:{\"click\":function($event){return _vm.onMeridienClick(_vm.amString)}}},[_vm._v(_vm._s(_vm.amString))]),_c('div',{staticClass:\"b-clockpicker-btn\",class:{\n active: _vm.meridienSelected === _vm.pmString || _vm.meridienSelected === _vm.PM\n },on:{\"click\":function($event){return _vm.onMeridienClick(_vm.pmString)}}},[_vm._v(_vm._s(_vm.pmString))])]):_vm._e(),_c('b-clockpicker-face',{attrs:{\"picker-size\":_vm.faceSize,\"min\":_vm.minFaceValue,\"max\":_vm.maxFaceValue,\"face-numbers\":_vm.isSelectingHour ? _vm.hours : _vm.minutes,\"disabled-values\":_vm.faceDisabledValues,\"double\":_vm.isSelectingHour && _vm.isHourFormat24,\"value\":_vm.isSelectingHour ? _vm.hoursSelected : _vm.minutesSelected},on:{\"input\":_vm.onClockInput,\"change\":_vm.onClockChange}})],1)]),(_vm.$slots.default !== undefined && _vm.$slots.default.length)?_c('footer',{staticClass:\"b-clockpicker-footer card-footer\"},[_vm._t(\"default\")],2):_vm._e()])]):_c('b-input',_vm._b({ref:\"input\",attrs:{\"type\":\"time\",\"autocomplete\":\"off\",\"value\":_vm.formatHHMMSS(_vm.computedValue),\"placeholder\":_vm.placeholder,\"size\":_vm.size,\"icon\":_vm.icon,\"icon-pack\":_vm.iconPack,\"loading\":_vm.loading,\"max\":_vm.formatHHMMSS(_vm.maxTime),\"min\":_vm.formatHHMMSS(_vm.minTime),\"disabled\":_vm.disabled,\"readonly\":false,\"use-html5-validation\":_vm.useHtml5Validation},on:{\"focus\":_vm.handleOnFocus,\"blur\":function($event){_vm.onBlur() && _vm.checkHtml5Validity();}},nativeOn:{\"click\":function($event){$event.stopPropagation();return _vm.toggle(true)},\"keyup\":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"enter\",13,$event.key,\"Enter\")){ return null; }return _vm.toggle(true)},\"change\":function($event){return _vm.onChangeNativePicker($event)}}},'b-input',_vm.$attrs,false))],1)};\nvar __vue_staticRenderFns__$1 = [];\n\n /* style */\n const __vue_inject_styles__$1 = undefined;\n /* scoped */\n const __vue_scope_id__$1 = undefined;\n /* module identifier */\n const __vue_module_identifier__$1 = undefined;\n /* functional template */\n const __vue_is_functional_template__$1 = false;\n /* style inject */\n \n /* style inject SSR */\n \n\n \n var Clockpicker = __vue_normalize__(\n { render: __vue_render__$1, staticRenderFns: __vue_staticRenderFns__$1 },\n __vue_inject_styles__$1,\n __vue_script__$1,\n __vue_scope_id__$1,\n __vue_is_functional_template__$1,\n __vue_module_identifier__$1,\n undefined,\n undefined\n );\n\nvar Plugin = {\n install: function install(Vue) {\n registerComponent(Vue, Clockpicker);\n }\n};\nuse(Plugin);\n\nexport default Plugin;\nexport { Clockpicker as BClockpicker };\n","import { _ as _defineProperty } from './chunk-455cdeae.js';\nimport { F as FormElementMixin } from './chunk-17b33cd2.js';\nimport { I as Icon } from './chunk-7e17a637.js';\nimport { _ as __vue_normalize__ } from './chunk-cca88db8.js';\n\nvar script = {\n name: 'BSelect',\n components: _defineProperty({}, Icon.name, Icon),\n mixins: [FormElementMixin],\n inheritAttrs: false,\n props: {\n value: {\n type: [String, Number, Boolean, Object, Array, Function, Date],\n default: null\n },\n placeholder: String,\n multiple: Boolean,\n nativeSize: [String, Number]\n },\n data: function data() {\n return {\n selected: this.value,\n _elementRef: 'select'\n };\n },\n computed: {\n computedValue: {\n get: function get() {\n return this.selected;\n },\n set: function set(value) {\n this.selected = value;\n this.$emit('input', value);\n !this.isValid && this.checkHtml5Validity();\n }\n },\n spanClasses: function spanClasses() {\n return [this.size, this.statusType, {\n 'is-fullwidth': this.expanded,\n 'is-loading': this.loading,\n 'is-multiple': this.multiple,\n 'is-rounded': this.rounded,\n 'is-empty': this.selected === null\n }];\n }\n },\n watch: {\n /**\r\n * When v-model is changed:\r\n * 1. Set the selected option.\r\n * 2. If it's invalid, validate again.\r\n */\n value: function value(_value) {\n this.selected = _value;\n !this.isValid && this.checkHtml5Validity();\n }\n }\n};\n\n/* script */\nconst __vue_script__ = script;\n\n/* template */\nvar __vue_render__ = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"control\",class:{ 'is-expanded': _vm.expanded, 'has-icons-left': _vm.icon }},[_c('span',{staticClass:\"select\",class:_vm.spanClasses},[_c('select',_vm._b({directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.computedValue),expression:\"computedValue\"}],ref:\"select\",attrs:{\"multiple\":_vm.multiple,\"size\":_vm.nativeSize},on:{\"blur\":function($event){_vm.$emit('blur', $event) && _vm.checkHtml5Validity();},\"focus\":function($event){return _vm.$emit('focus', $event)},\"change\":function($event){var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = \"_value\" in o ? o._value : o.value;return val}); _vm.computedValue=$event.target.multiple ? $$selectedVal : $$selectedVal[0];}}},'select',_vm.$attrs,false),[(_vm.placeholder)?[(_vm.computedValue == null)?_c('option',{attrs:{\"disabled\":\"\",\"hidden\":\"\"},domProps:{\"value\":null}},[_vm._v(\" \"+_vm._s(_vm.placeholder)+\" \")]):_vm._e()]:_vm._e(),_vm._t(\"default\")],2)]),(_vm.icon)?_c('b-icon',{staticClass:\"is-left\",attrs:{\"icon\":_vm.icon,\"pack\":_vm.iconPack,\"size\":_vm.iconSize}}):_vm._e()],1)};\nvar __vue_staticRenderFns__ = [];\n\n /* style */\n const __vue_inject_styles__ = undefined;\n /* scoped */\n const __vue_scope_id__ = undefined;\n /* module identifier */\n const __vue_module_identifier__ = undefined;\n /* functional template */\n const __vue_is_functional_template__ = false;\n /* style inject */\n \n /* style inject SSR */\n \n\n \n var Select = __vue_normalize__(\n { render: __vue_render__, staticRenderFns: __vue_staticRenderFns__ },\n __vue_inject_styles__,\n __vue_script__,\n __vue_scope_id__,\n __vue_is_functional_template__,\n __vue_module_identifier__,\n undefined,\n undefined\n );\n\nexport { Select as S };\n","import { b as _typeof } from './chunk-455cdeae.js';\nimport { createAbsoluteElement, removeElement } from './helpers.js';\nimport { c as config } from './chunk-e92e3389.js';\nimport { _ as __vue_normalize__ } from './chunk-cca88db8.js';\n\nvar script = {\n name: 'BTooltip',\n props: {\n active: {\n type: Boolean,\n default: true\n },\n type: {\n type: String,\n default: function _default() {\n return config.defaultTooltipType;\n }\n },\n label: String,\n delay: {\n type: Number,\n default: function _default() {\n return config.defaultTooltipDelay;\n }\n },\n closeDelay: {\n type: Number,\n default: function _default() {\n return config.defaultTooltipCloseDelay;\n }\n },\n position: {\n type: String,\n default: 'is-top',\n validator: function validator(value) {\n return ['is-top', 'is-bottom', 'is-left', 'is-right'].indexOf(value) > -1;\n }\n },\n triggers: {\n type: Array,\n default: function _default() {\n return ['hover'];\n }\n },\n always: Boolean,\n square: Boolean,\n dashed: Boolean,\n multilined: Boolean,\n size: {\n type: String,\n default: 'is-medium'\n },\n appendToBody: Boolean,\n animated: {\n type: Boolean,\n default: true\n },\n animation: {\n type: String,\n default: 'fade'\n },\n contentClass: String,\n autoClose: {\n type: [Array, Boolean],\n default: true\n }\n },\n data: function data() {\n return {\n isActive: false,\n triggerStyle: {},\n timer: null,\n _bodyEl: undefined // Used to append to body\n\n };\n },\n computed: {\n rootClasses: function rootClasses() {\n return ['b-tooltip', this.type, this.position, this.size, {\n 'is-square': this.square,\n 'is-always': this.always,\n 'is-multiline': this.multilined,\n 'is-dashed': this.dashed\n }];\n },\n newAnimation: function newAnimation() {\n return this.animated ? this.animation : undefined;\n }\n },\n watch: {\n isActive: function isActive() {\n this.$emit(this.isActive ? 'open' : 'close');\n\n if (this.appendToBody) {\n this.updateAppendToBody();\n }\n }\n },\n methods: {\n updateAppendToBody: function updateAppendToBody() {\n var tooltip = this.$refs.tooltip;\n var trigger = this.$refs.trigger;\n\n if (tooltip && trigger) {\n // update wrapper tooltip\n var tooltipEl = this.$data._bodyEl.children[0];\n tooltipEl.classList.forEach(function (item) {\n return tooltipEl.classList.remove(item);\n });\n\n if (this.$vnode && this.$vnode.data && this.$vnode.data.staticClass) {\n tooltipEl.classList.add(this.$vnode.data.staticClass);\n }\n\n this.rootClasses.forEach(function (item) {\n if (_typeof(item) === 'object') {\n for (var key in item) {\n if (item[key]) {\n tooltipEl.classList.add(key);\n }\n }\n } else {\n tooltipEl.classList.add(item);\n }\n });\n var rect = trigger.getBoundingClientRect();\n var top = rect.top + window.scrollY;\n var left = rect.left + window.scrollX;\n var quaterHeight = trigger.clientHeight / 2 / 2;\n\n switch (this.position) {\n case 'is-top':\n tooltipEl.style.width = \"\".concat(trigger.clientWidth, \"px\");\n tooltipEl.style.height = \"0px\";\n top -= trigger.clientHeight - quaterHeight;\n break;\n\n case 'is-bottom':\n tooltipEl.style.width = \"\".concat(trigger.clientWidth, \"px\");\n tooltipEl.style.height = \"0px\";\n top += quaterHeight;\n break;\n\n case 'is-left':\n tooltipEl.style.width = \"0px\";\n tooltipEl.style.height = \"\".concat(trigger.clientHeight, \"px\");\n break;\n\n case 'is-right':\n tooltipEl.style.width = \"0px\";\n tooltipEl.style.height = \"\".concat(trigger.clientHeight, \"px\");\n left += trigger.clientWidth;\n break;\n }\n\n var wrapper = this.$data._bodyEl;\n wrapper.style.position = 'absolute';\n wrapper.style.top = \"\".concat(top, \"px\");\n wrapper.style.left = \"\".concat(left, \"px\");\n wrapper.style.width = \"0px\";\n wrapper.style.zIndex = this.isActive || this.always ? '99' : '-1';\n this.triggerStyle = {\n zIndex: this.isActive || this.always ? '100' : undefined\n };\n }\n },\n onClick: function onClick() {\n var _this = this;\n\n if (this.triggers.indexOf('click') < 0) return; // if not active, toggle after clickOutside event\n // this fixes toggling programmatic\n\n this.$nextTick(function () {\n setTimeout(function () {\n return _this.open();\n });\n });\n },\n onHover: function onHover() {\n if (this.triggers.indexOf('hover') < 0) return;\n this.open();\n },\n onContextMenu: function onContextMenu(e) {\n if (this.triggers.indexOf('contextmenu') < 0) return;\n e.preventDefault();\n this.open();\n },\n onFocus: function onFocus() {\n if (this.triggers.indexOf('focus') < 0) return;\n this.open();\n },\n open: function open() {\n var _this2 = this;\n\n if (this.delay) {\n this.timer = setTimeout(function () {\n _this2.isActive = true;\n _this2.timer = null;\n }, this.delay);\n } else {\n this.isActive = true;\n }\n },\n close: function close() {\n var _this3 = this;\n\n if (typeof this.autoClose === 'boolean') {\n if (this.autoClose && this.timer) clearTimeout(this.timer);\n\n if (this.closeDelay) {\n this.timer = setTimeout(function () {\n _this3.isActive = !_this3.autoClose;\n _this3.timer = null;\n }, this.closeDelay);\n } else {\n this.isActive = !this.autoClose;\n }\n }\n },\n\n /**\r\n * Close tooltip if clicked outside.\r\n */\n clickedOutside: function clickedOutside(event) {\n if (this.isActive) {\n if (Array.isArray(this.autoClose)) {\n if (this.autoClose.includes('outside')) {\n if (!this.isInWhiteList(event.target)) {\n this.isActive = false;\n return;\n }\n }\n\n if (this.autoClose.includes('inside')) {\n if (this.isInWhiteList(event.target)) this.isActive = false;\n }\n }\n }\n },\n\n /**\r\n * Keypress event that is bound to the document\r\n */\n keyPress: function keyPress(_ref) {\n var key = _ref.key;\n\n if (this.isActive && (key === 'Escape' || key === 'Esc')) {\n if (Array.isArray(this.autoClose)) {\n if (this.autoClose.indexOf('escape') >= 0) this.isActive = false;\n }\n }\n },\n\n /**\r\n * White-listed items to not close when clicked.\r\n */\n isInWhiteList: function isInWhiteList(el) {\n if (el === this.$refs.content) return true; // All chidren from content\n\n if (this.$refs.content !== undefined) {\n var children = this.$refs.content.querySelectorAll('*');\n var _iteratorNormalCompletion = true;\n var _didIteratorError = false;\n var _iteratorError = undefined;\n\n try {\n for (var _iterator = children[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) {\n var child = _step.value;\n\n if (el === child) {\n return true;\n }\n }\n } catch (err) {\n _didIteratorError = true;\n _iteratorError = err;\n } finally {\n try {\n if (!_iteratorNormalCompletion && _iterator.return != null) {\n _iterator.return();\n }\n } finally {\n if (_didIteratorError) {\n throw _iteratorError;\n }\n }\n }\n }\n\n return false;\n }\n },\n mounted: function mounted() {\n if (this.appendToBody && typeof window !== 'undefined') {\n this.$data._bodyEl = createAbsoluteElement(this.$refs.content);\n this.updateAppendToBody();\n }\n },\n created: function created() {\n if (typeof window !== 'undefined') {\n document.addEventListener('click', this.clickedOutside);\n document.addEventListener('keyup', this.keyPress);\n }\n },\n beforeDestroy: function beforeDestroy() {\n if (typeof window !== 'undefined') {\n document.removeEventListener('click', this.clickedOutside);\n document.removeEventListener('keyup', this.keyPress);\n }\n\n if (this.appendToBody) {\n removeElement(this.$data._bodyEl);\n }\n }\n};\n\n/* script */\nconst __vue_script__ = script;\n\n/* template */\nvar __vue_render__ = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{ref:\"tooltip\",class:_vm.rootClasses},[_c('transition',{attrs:{\"name\":_vm.newAnimation}},[_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.active && (_vm.isActive || _vm.always)),expression:\"active && (isActive || always)\"}],ref:\"content\",class:['tooltip-content', _vm.contentClass]},[(_vm.label)?[_vm._v(_vm._s(_vm.label))]:(_vm.$slots.content)?[_vm._t(\"content\")]:_vm._e()],2)]),_c('div',{ref:\"trigger\",staticClass:\"tooltip-trigger\",style:(_vm.triggerStyle),on:{\"click\":_vm.onClick,\"contextmenu\":_vm.onContextMenu,\"mouseenter\":_vm.onHover,\"!focus\":function($event){return _vm.onFocus($event)},\"!blur\":function($event){return _vm.close($event)},\"mouseleave\":_vm.close}},[_vm._t(\"default\")],2)],1)};\nvar __vue_staticRenderFns__ = [];\n\n /* style */\n const __vue_inject_styles__ = undefined;\n /* scoped */\n const __vue_scope_id__ = undefined;\n /* module identifier */\n const __vue_module_identifier__ = undefined;\n /* functional template */\n const __vue_is_functional_template__ = false;\n /* style inject */\n \n /* style inject SSR */\n \n\n \n var Tooltip = __vue_normalize__(\n { render: __vue_render__, staticRenderFns: __vue_staticRenderFns__ },\n __vue_inject_styles__,\n __vue_script__,\n __vue_scope_id__,\n __vue_is_functional_template__,\n __vue_module_identifier__,\n undefined,\n undefined\n );\n\nexport { Tooltip as T };\n","import { e as _inherits, f as _wrapNativeSuper, g as _classCallCheck, h as _possibleConstructorReturn, i as _getPrototypeOf, j as _createClass, b as _typeof, d as _toConsumableArray, k as _slicedToArray, l as _taggedTemplateLiteral, _ as _defineProperty } from './chunk-455cdeae.js';\nimport { isMobile } from './helpers.js';\nimport { c as config } from './chunk-e92e3389.js';\nimport { F as FormElementMixin } from './chunk-17b33cd2.js';\nimport { I as Icon } from './chunk-7e17a637.js';\nimport { _ as __vue_normalize__, r as registerComponent, u as use } from './chunk-cca88db8.js';\nimport { I as Input } from './chunk-72ecb544.js';\nimport './chunk-60a03517.js';\nimport './chunk-42f463e6.js';\nimport { D as Dropdown, a as DropdownItem } from './chunk-ade5b253.js';\nimport { F as Field } from './chunk-53788519.js';\nimport { S as Select } from './chunk-4e788733.js';\nimport { T as Tooltip } from './chunk-9b0b8225.js';\n\nvar colorChannels = ['red', 'green', 'blue', 'alpha'];\nvar colorsNammed = {\n black: '#000000',\n silver: '#c0c0c0',\n gray: '#808080',\n white: '#ffffff',\n maroon: '#800000',\n red: '#ff0000',\n purple: '#800080',\n fuchsia: '#ff00ff',\n green: '#008000',\n lime: '#00ff00',\n olive: '#808000',\n yellow: '#ffff00',\n navy: '#000080',\n blue: '#0000ff',\n teal: '#008080',\n aqua: '#00ffff',\n orange: '#ffa500',\n aliceblue: '#f0f8ff',\n antiquewhite: '#faebd7',\n aquamarine: '#7fffd4',\n azure: '#f0ffff',\n beige: '#f5f5dc',\n bisque: '#ffe4c4',\n blanchedalmond: '#ffebcd',\n blueviolet: '#8a2be2',\n brown: '#a52a2a',\n burlywood: '#deb887',\n cadetblue: '#5f9ea0',\n chartreuse: '#7fff00',\n chocolate: '#d2691e',\n coral: '#ff7f50',\n cornflowerblue: '#6495ed',\n cornsilk: '#fff8dc',\n crimson: '#dc143c',\n cyan: '#00ffff',\n darkblue: '#00008b',\n darkcyan: '#008b8b',\n darkgoldenrod: '#b8860b',\n darkgray: '#a9a9a9',\n darkgreen: '#006400',\n darkgrey: '#a9a9a9',\n darkkhaki: '#bdb76b',\n darkmagenta: '#8b008b',\n darkolivegreen: '#556b2f',\n darkorange: '#ff8c00',\n darkorchid: '#9932cc',\n darkred: '#8b0000',\n darksalmon: '#e9967a',\n darkseagreen: '#8fbc8f',\n darkslateblue: '#483d8b',\n darkslategray: '#2f4f4f',\n darkslategrey: '#2f4f4f',\n darkturquoise: '#00ced1',\n darkviolet: '#9400d3',\n deeppink: '#ff1493',\n deepskyblue: '#00bfff',\n dimgray: '#696969',\n dimgrey: '#696969',\n dodgerblue: '#1e90ff',\n firebrick: '#b22222',\n floralwhite: '#fffaf0',\n forestgreen: '#228b22',\n gainsboro: '#dcdcdc',\n ghostwhite: '#f8f8ff',\n gold: '#ffd700',\n goldenrod: '#daa520',\n greenyellow: '#adff2f',\n grey: '#808080',\n honeydew: '#f0fff0',\n hotpink: '#ff69b4',\n indianred: '#cd5c5c',\n indigo: '#4b0082',\n ivory: '#fffff0',\n khaki: '#f0e68c',\n lavender: '#e6e6fa',\n lavenderblush: '#fff0f5',\n lawngreen: '#7cfc00',\n lemonchiffon: '#fffacd',\n lightblue: '#add8e6',\n lightcoral: '#f08080',\n lightcyan: '#e0ffff',\n lightgoldenrodyellow: '#fafad2',\n lightgray: '#d3d3d3',\n lightgreen: '#90ee90',\n lightgrey: '#d3d3d3',\n lightpink: '#ffb6c1',\n lightsalmon: '#ffa07a',\n lightseagreen: '#20b2aa',\n lightskyblue: '#87cefa',\n lightslategray: '#778899',\n lightslategrey: '#778899',\n lightsteelblue: '#b0c4de',\n lightyellow: '#ffffe0',\n limegreen: '#32cd32',\n linen: '#faf0e6',\n magenta: '#ff00ff',\n mediumaquamarine: '#66cdaa',\n mediumblue: '#0000cd',\n mediumorchid: '#ba55d3',\n mediumpurple: '#9370db',\n mediumseagreen: '#3cb371',\n mediumslateblue: '#7b68ee',\n mediumspringgreen: '#00fa9a',\n mediumturquoise: '#48d1cc',\n mediumvioletred: '#c71585',\n midnightblue: '#191970',\n mintcream: '#f5fffa',\n mistyrose: '#ffe4e1',\n moccasin: '#ffe4b5',\n navajowhite: '#ffdead',\n oldlace: '#fdf5e6',\n olivedrab: '#6b8e23',\n orangered: '#ff4500',\n orchid: '#da70d6',\n palegoldenrod: '#eee8aa',\n palegreen: '#98fb98',\n paleturquoise: '#afeeee',\n palevioletred: '#db7093',\n papayawhip: '#ffefd5',\n peachpuff: '#ffdab9',\n peru: '#cd853f',\n pink: '#ffc0cb',\n plum: '#dda0dd',\n powderblue: '#b0e0e6',\n rosybrown: '#bc8f8f',\n royalblue: '#4169e1',\n saddlebrown: '#8b4513',\n salmon: '#fa8072',\n sandybrown: '#f4a460',\n seagreen: '#2e8b57',\n seashell: '#fff5ee',\n sienna: '#a0522d',\n skyblue: '#87ceeb',\n slateblue: '#6a5acd',\n slategray: '#708090',\n slategrey: '#708090',\n snow: '#fffafa',\n springgreen: '#00ff7f',\n steelblue: '#4682b4',\n tan: '#d2b48c',\n thistle: '#d8bfd8',\n tomato: '#ff6347',\n turquoise: '#40e0d0',\n violet: '#ee82ee',\n wheat: '#f5deb3',\n whitesmoke: '#f5f5f5',\n yellowgreen: '#9acd32',\n rebeccapurple: '#663399'\n};\nvar ColorTypeError =\n/*#__PURE__*/\nfunction (_Error) {\n _inherits(ColorTypeError, _Error);\n\n function ColorTypeError() {\n _classCallCheck(this, ColorTypeError);\n\n return _possibleConstructorReturn(this, _getPrototypeOf(ColorTypeError).call(this, 'ColorTypeError: type must be hex(a), rgb(a) or hsl(a)'));\n }\n\n return ColorTypeError;\n}(_wrapNativeSuper(Error));\n\nvar Color =\n/*#__PURE__*/\nfunction () {\n function Color() {\n var _this = this;\n\n _classCallCheck(this, Color);\n\n if (arguments.length > 0) {\n return Color.parse.apply(Color, arguments);\n }\n\n this.$channels = new Uint8Array(colorChannels.length);\n colorChannels.forEach(function (channel, index) {\n Object.defineProperty(_this, channel, {\n get: function get() {\n return _this.$channels[index];\n },\n set: function set(byte) {\n if (!Number.isNaN(byte / 1)) {\n _this.$channels[index] = Math.min(255, Math.max(0, byte));\n }\n },\n enumerable: true,\n configurable: true\n });\n }) // Required for observability\n ;\n ['hue', 'saturation', 'lightness'].forEach(function (name) {\n var capitalizedName = name.replace(/^./, function (m) {\n return m.toUpperCase();\n });\n Object.defineProperty(_this, name, {\n get: function get() {\n return _this[\"get\".concat(capitalizedName)]();\n },\n set: function set(value) {\n if (!Number.isNaN(value / 1)) {\n _this[\"set\".concat(capitalizedName)](value);\n }\n },\n enumerable: true,\n configurable: true\n });\n });\n }\n\n _createClass(Color, [{\n key: \"getHue\",\n value: function getHue() {\n var _Array$from$map = Array.from(this.$channels).map(function (c) {\n return c / 255;\n }),\n _Array$from$map2 = _slicedToArray(_Array$from$map, 3),\n red = _Array$from$map2[0],\n green = _Array$from$map2[1],\n blue = _Array$from$map2[2];\n\n var _ref = [Math.min(red, green, blue), Math.max(red, green, blue)],\n min = _ref[0],\n max = _ref[1];\n var delta = max - min;\n var hue = 0;\n\n if (delta === 0) {\n return hue;\n }\n\n if (red === max) {\n hue = (green - blue) / delta % 6;\n } else if (green === max) {\n hue = (blue - red) / delta + 2;\n } else {\n hue = (red - green) / delta + 4;\n }\n\n hue *= 60;\n\n while (hue !== -Infinity && hue < 0) {\n hue += 360;\n }\n\n return Math.round(hue % 360);\n }\n }, {\n key: \"setHue\",\n value: function setHue(value) {\n var color = Color.fromHSL(value, this.saturation, this.lightness, this.alpha / 255);\n\n for (var i = 0; i < this.$channels.length; i++) {\n this.$channels[i] = Number(color.$channels[i]);\n }\n }\n }, {\n key: \"getSaturation\",\n value: function getSaturation() {\n var _Array$from$map3 = Array.from(this.$channels).map(function (c) {\n return c / 255;\n }),\n _Array$from$map4 = _slicedToArray(_Array$from$map3, 3),\n red = _Array$from$map4[0],\n green = _Array$from$map4[1],\n blue = _Array$from$map4[2];\n\n var _ref2 = [Math.min(red, green, blue), Math.max(red, green, blue)],\n min = _ref2[0],\n max = _ref2[1];\n var delta = max - min;\n return delta !== 0 ? Math.round(delta / (1 - Math.abs(2 * this.lightness - 1)) * 100) / 100 : 0;\n }\n }, {\n key: \"setSaturation\",\n value: function setSaturation(value) {\n var _this2 = this;\n\n var color = Color.fromHSL(this.hue, value, this.lightness, this.alpha / 255);\n colorChannels.forEach(function (_, i) {\n return _this2.$channels[i] = color.$channels[i];\n });\n }\n }, {\n key: \"getLightness\",\n value: function getLightness() {\n var _Array$from$map5 = Array.from(this.$channels).map(function (c) {\n return c / 255;\n }),\n _Array$from$map6 = _slicedToArray(_Array$from$map5, 3),\n red = _Array$from$map6[0],\n green = _Array$from$map6[1],\n blue = _Array$from$map6[2];\n\n var _ref3 = [Math.min(red, green, blue), Math.max(red, green, blue)],\n min = _ref3[0],\n max = _ref3[1];\n return Math.round((max + min) / 2 * 100) / 100;\n }\n }, {\n key: \"setLightness\",\n value: function setLightness(value) {\n var _this3 = this;\n\n var color = Color.fromHSL(this.hue, this.lightness, value, this.alpha / 255);\n colorChannels.forEach(function (_, i) {\n return _this3.$channels[i] = color.$channels[i];\n });\n }\n }, {\n key: \"clone\",\n value: function clone() {\n var _this4 = this;\n\n var color = new Color();\n colorChannels.forEach(function (_, i) {\n return color.$channels[i] = _this4.$channels[i];\n });\n return color;\n }\n }, {\n key: \"toString\",\n value: function toString() {\n var _this5 = this;\n\n var type = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'hex';\n\n switch (String(type).toLowerCase()) {\n case 'hex':\n return '#' + colorChannels.slice(0, 3).map(function (channel) {\n return _this5[channel].toString(16).padStart(2, '0');\n }).join('');\n\n case 'hexa':\n return '#' + colorChannels.map(function (channel) {\n return _this5[channel].toString(16).padStart(2, '0');\n }).join('');\n\n case 'rgb':\n return \"rgb(\".concat(this.red, \", \").concat(this.green, \", \").concat(this.blue, \")\");\n\n case 'rgba':\n return \"rgba(\".concat(this.red, \", \").concat(this.green, \", \").concat(this.blue, \", \").concat(Math.round(this.alpha / 2.55) / 100, \")\");\n\n case 'hsl':\n return \"hsl(\".concat(Math.round(this.hue), \"deg, \").concat(Math.round(this.saturation * 100), \"%, \").concat(Math.round(this.lightness * 100), \"%)\");\n\n case 'hsla':\n return \"hsla(\".concat(Math.round(this.hue), \"deg, \").concat(Math.round(this.saturation * 100), \"%, \").concat(Math.round(this.lightness * 100), \"%, \").concat(Math.round(this.alpha / 2.55) / 100, \")\");\n\n default:\n throw new ColorTypeError();\n }\n }\n }, {\n key: Symbol.toString,\n get: function get() {\n return this.toString('hex');\n }\n }], [{\n key: \"parse\",\n value: function parse() {\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n if (_typeof(args[0]) === 'object') {\n return Color.parseObject(args[0]);\n } else if (args.every(function (arg) {\n return !Number.isNaN(arg / 1);\n })) {\n var color = new Color();\n\n if (args.length > 3) {\n color.red = args[0];\n color.green = args[1];\n color.blue = args[2];\n\n if (args[3]) {\n color.alpha = args[3];\n }\n } else if (args.length === 1) {\n var index = Number(args[0]);\n return Color.parseIndex(index, index > Math.pow(2, 24) ? 3 : 4);\n }\n } else if (typeof args[0] === 'string') {\n var match = null;\n\n if (typeof colorsNammed[args[0].toLowerCase()] === 'string') {\n return Color.parseHex(colorsNammed[args[0].toLowerCase()]);\n } else if ((match = args[0].match(/^(#|&h|0x)?(([a-f0-9]{3,4}){1,2})$/i)) !== null) {\n return Color.parseHex(match[2]);\n } else if ((match = args[0].match(/^rgba?\\(\\s*(\\d+)\\s*,\\s*(\\d+)\\s*,\\s*(\\d+)(\\s*,\\s*(\\d*\\.?\\d+))?\\s*\\)$/i)) !== null) {\n var channels = [match[1], match[2], match[3], typeof match[5] !== 'undefined' ? match[5] : 1];\n return Color.fromRGB.apply(Color, _toConsumableArray(channels.map(function (value) {\n return Number(value);\n })));\n } else if (match = args[0].match(/^(h(sl|wb)a?|lab|color|cmyk)\\(/i)) {\n throw new Error('Color expression not implemented yet');\n }\n }\n\n return new Color();\n }\n }, {\n key: \"parseObject\",\n value: function parseObject(object) {\n var color = new Color();\n\n if (object === null || _typeof(object) !== 'object') {\n return color;\n }\n\n if (Color.isColor(object)) {\n return object.clone();\n }\n\n colorChannels.forEach(function (channel) {\n if (!Number.isNaN(object[channel])) {\n color[channel] = object[channel];\n }\n });\n return color;\n }\n }, {\n key: \"parseHex\",\n value: function parseHex(hex) {\n if (typeof hex !== 'string') {\n throw new Error('Hex expression must be a string');\n }\n\n hex = hex.trim().replace(/^(0x|&h|#)/i, '');\n\n if (hex.length === 3 || hex.length === 4) {\n hex = hex.split('').map(function (c) {\n return c.repeat(2);\n }).join('');\n }\n\n if (!(hex.length === 6 || hex.length === 8)) {\n throw new Error('Incorrect Hex expression length');\n }\n\n var chans = hex.split(/(..)/).filter(function (value) {\n return value;\n }).map(function (value) {\n return Number.parseInt(value, 16);\n });\n\n if (typeof chans[3] === 'number') {\n chans[3] /= 255;\n }\n\n return Color.fromRGB.apply(Color, _toConsumableArray(chans));\n }\n }, {\n key: \"parseIndex\",\n value: function parseIndex(value) {\n var channels = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 3;\n var color = new Color();\n\n for (var i = 0; i < 4; i++) {\n color[colorChannels[i]] = value >> (channels - i) * 8 && 0xff;\n }\n\n return color;\n }\n }, {\n key: \"fromRGB\",\n value: function fromRGB(red, green, blue) {\n var alpha = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : 1;\n\n if ([red, green, blue, alpha].some(function (arg) {\n return Number.isNaN(arg / 1);\n })) {\n throw new Error('Invalid arguments');\n }\n\n alpha *= 255;\n var color = new Color();\n [red, green, blue, alpha].forEach(function (value, index) {\n color[colorChannels[index]] = value;\n });\n return color;\n }\n }, {\n key: \"fromHSL\",\n value: function fromHSL(hue, saturation, lightness) {\n var alpha = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : 1;\n\n if ([hue, saturation, lightness, alpha].some(function (arg) {\n return Number.isNaN(arg);\n })) {\n throw new Error('Invalid arguments');\n }\n\n while (hue < 0 && hue !== -Infinity) {\n hue += 360;\n }\n\n hue = hue % 360;\n saturation = Math.max(0, Math.min(1, saturation));\n lightness = Math.max(0, Math.min(1, lightness));\n alpha = Math.max(0, Math.min(1, alpha));\n var c = (1 - Math.abs(2 * lightness - 1)) * saturation;\n var x = c * (1 - Math.abs(hue / 60 % 2 - 1));\n var m = lightness - c / 2;\n\n var _ref4 = hue < 60 ? [c, x, 0] : hue < 120 ? [x, c, 0] : hue < 180 ? [0, c, x] : hue < 240 ? [0, x, c] : hue < 300 ? [x, 0, c] : [c, 0, x],\n _ref5 = _slicedToArray(_ref4, 3),\n r = _ref5[0],\n g = _ref5[1],\n b = _ref5[2];\n\n return Color.fromRGB((r + m) * 255, (g + m) * 255, (b + m) * 255, alpha);\n }\n }, {\n key: \"isColor\",\n value: function isColor(arg) {\n return arg instanceof Color;\n }\n }]);\n\n return Color;\n}();\n\n//\nvar cos30 = 0.86602540378;\nvar sin30 = 0.5;\nvar id = 0;\nvar script = {\n name: 'BColorpickerHSLRepresentationTriangle',\n props: {\n value: {\n type: Object,\n required: true,\n validator: function validator(value) {\n return typeof value.hue === 'number' && typeof value.saturation === 'number' && typeof value.lightness === 'number';\n }\n },\n size: {\n type: Number,\n default: 200\n },\n thickness: {\n type: Number,\n default: 20\n }\n },\n data: function data() {\n return {\n id: id++,\n hue: this.value.hue,\n saturation: this.value.saturation,\n lightness: this.value.lightness,\n captureMouse: false,\n captureType: 'hue',\n clientOffset: {\n cx: -1,\n cy: -1,\n width: 0,\n height: 0\n },\n cos30: cos30,\n sin30: sin30,\n debounce: 0\n };\n },\n computed: {\n viewBox: function viewBox() {\n var size = this.size;\n return \"0 0 \".concat(size, \" \").concat(size);\n },\n internalRadius: function internalRadius() {\n return this.size / 2 - this.thickness;\n },\n haloPath: function haloPath() {\n var size = this.size,\n thickness = this.thickness;\n var radius = size / 2 - 2; // 2px padding\n\n var thicknessRadius = radius - thickness;\n var center = size / 2;\n return \"M\".concat(center - radius, \" \").concat(center, \"a\").concat(radius, \" \").concat(radius, \" 0 1 1 \").concat(2 * radius, \" 0\") + \"h\".concat(-thickness) + \"a\".concat(-thicknessRadius, \" \").concat(thicknessRadius, \" 0 1 0 \").concat(-2 * thicknessRadius, \" 0\") + \"a\".concat(thicknessRadius, \" \").concat(thicknessRadius, \" 0 1 0 \").concat(2 * thicknessRadius, \" 0\") + \"h\".concat(thickness) + \"a\".concat(radius, \" \").concat(radius, \" 0 1 1 \").concat(-2 * radius, \" 0z\");\n },\n trianglePath: function trianglePath() {\n var size = this.size,\n thickness = this.thickness;\n var radius = size - 4;\n var thicknessRadius = (radius - 2 * thickness) / 2;\n return \"M0 \".concat(-thicknessRadius) + \"L\".concat(cos30 * thicknessRadius, \" \").concat(sin30 * thicknessRadius) + \"H\".concat(-cos30 * thicknessRadius, \"z\");\n }\n },\n watch: {\n captureMouse: function captureMouse(newValue, oldValue) {\n if (oldValue === false && newValue !== false) {\n var rect = this.$el.getBoundingClientRect(); // Caching offset\n\n this.clientOffset.cx = rect.x + rect.width / 2;\n this.clientOffset.cy = rect.y + rect.height / 2;\n this.clientOffset.width = rect.width;\n this.clientOffset.height = rect.height;\n }\n },\n value: {\n deep: true,\n handler: function handler(newColor) {\n var _this = this;\n\n var hue = newColor.hue,\n saturation = newColor.saturation,\n lightness = newColor.lightness;\n window.clearTimeout(this.debounce);\n this.debounce = window.setTimeout(function () {\n if (lightness >= 0.03 && lightness <= 0.97 && saturation > 0) {\n _this.hue = hue;\n }\n\n _this.saturation = saturation;\n _this.lightness = lightness;\n }, 200);\n }\n }\n },\n methods: {\n increaseHue: function increaseHue() {\n var value = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 1;\n this.hue = (this.hue + value) % 360;\n },\n decreaseHue: function decreaseHue() {\n var value = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 1;\n this.hue = (360 + this.hue - value) % 360;\n },\n increaseSaturation: function increaseSaturation() {\n var value = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 0.01;\n this.saturation = Math.min(1, Math.max(0, this.saturation + value));\n this.lightness = Math.min(0.5 + (1 - this.saturation) * 0.5, Math.max(0.5 - (1 - this.saturation) * 0.5, this.lightness));\n },\n decreaseSaturation: function decreaseSaturation() {\n var value = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 0.01;\n this.saturation = Math.min(1, Math.max(0, this.saturation - value));\n this.lightness = Math.min(0.5 + (1 - this.saturation) * 0.5, Math.max(0.5 - (1 - this.saturation) * 0.5, this.lightness));\n },\n increaseLightness: function increaseLightness() {\n var value = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 0.01;\n this.lightness = Math.min(0.5 + (1 - this.saturation) * 0.5, Math.max(0.5 - (1 - this.saturation) * 0.5, this.lightness + value));\n },\n decreaseLightness: function decreaseLightness() {\n var value = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 0.01;\n this.lightness = Math.min(0.5 + (1 - this.saturation) * 0.5, Math.max(0.5 - (1 - this.saturation) * 0.5, this.lightness - value));\n },\n hueKeyPress: function hueKeyPress(event) {\n var handled = false;\n\n switch (event.key) {\n case 'ArrowRight':\n case 'ArrowUp':\n this.increaseHue();\n handled = true;\n break;\n\n case 'ArrowLeft':\n case 'ArrowDown':\n this.decreaseHue();\n handled = true;\n break;\n\n case 'Home':\n this.increaseHue(360 - this.hue);\n handled = true;\n break;\n\n case 'End':\n this.decreaseHue(this.hue);\n handled = true;\n break;\n\n case 'PageUp':\n this.increaseHue(60 - this.hue % 60);\n handled = true;\n break;\n\n case 'PageDown':\n this.decreaseHue(60 + this.hue % 60);\n handled = true;\n break;\n }\n\n if (handled) {\n event.preventDefault();\n event.stopPropagation();\n this.emitColor();\n }\n },\n slKeyPress: function slKeyPress(event) {\n var handled = false;\n\n switch (event.key) {\n case 'ArrowRight':\n this.decreaseLightness();\n handled = true;\n break;\n\n case 'ArrowUp':\n this.increaseSaturation();\n handled = true;\n break;\n\n case 'ArrowLeft':\n this.increaseLightness();\n handled = true;\n break;\n\n case 'ArrowDown':\n this.decreaseSaturation();\n handled = true;\n break;\n\n case 'Home':\n this.increaseLightness(1 - this.lightness);\n handled = true;\n break;\n\n case 'End':\n this.decreaseLightness(this.lightness);\n handled = true;\n break;\n\n case 'PageUp':\n this.increaseSaturation(1 - this.saturation);\n handled = true;\n break;\n\n case 'PageDown':\n this.decreaseSaturation(this.saturation);\n handled = true;\n break;\n }\n\n if (handled) {\n event.preventDefault();\n event.stopPropagation();\n this.emitColor();\n }\n },\n clickHue: function clickHue(event) {\n this.startMouseCapture(event);\n this.trackMouse(event);\n this.stopMouseCapture(event);\n this.$refs.hueCursor.focus();\n },\n clickSL: function clickSL(event) {\n this.startMouseCapture(event);\n this.trackMouse(event);\n this.stopMouseCapture(event);\n this.$refs.slCursor.focus();\n },\n trackMouse: function trackMouse(event) {\n if (this.captureMouse === false) {\n return;\n }\n\n event.preventDefault();\n event.stopPropagation();\n var mouseX = 0,\n mouseY = 0;\n\n if (typeof event.touches !== 'undefined' && event.touches.length) {\n var _ref = [event.touches[0].clientX, event.touches[0].clientY];\n mouseX = _ref[0];\n mouseY = _ref[1];\n } else {\n var _ref2 = [event.clientX, event.clientY];\n mouseX = _ref2[0];\n mouseY = _ref2[1];\n }\n\n var angle = Math.atan2(mouseY - this.clientOffset.cy, mouseX - this.clientOffset.cx);\n\n if (this.captureType === 'sl') {\n var d = Math.sqrt(Math.pow(mouseX - this.clientOffset.cx, 2) + Math.pow(mouseY - this.clientOffset.cy, 2));\n var ratio = this.size / this.clientOffset.width;\n var dx = d * Math.cos(angle - this.hue / 180 * Math.PI) * ratio;\n var dy = d * Math.sin(angle - this.hue / 180 * Math.PI) * ratio;\n var radius = this.internalRadius;\n var saturation = 1 - (Math.min(radius * sin30, Math.max(-radius, dy)) + radius) / (radius + radius * sin30);\n var lightness = (Math.min(radius * cos30 * (1 - saturation), Math.max(-radius * cos30 * (1 - saturation), dx)) + radius * cos30) / (radius * 2 * cos30);\n this.saturation = Math.round(saturation * 1000) / 1000;\n this.lightness = 1 - Math.round(lightness * 1000) / 1000;\n } else {\n this.hue = Math.round(angle / Math.PI * 180 + 90) % 360;\n }\n\n this.emitColor();\n },\n startMouseCapture: function startMouseCapture(event) {\n event.stopPropagation();\n this.captureMouse = true;\n\n if (event.target.closest('.colorpicker-triangle-slider-sl') !== null) {\n this.captureType = 'sl';\n } else {\n this.captureType = 'hue';\n }\n },\n stopMouseCapture: function stopMouseCapture(event) {\n if (this.captureMouse !== false) {\n event.preventDefault();\n event.stopPropagation();\n this.$refs[this.captureType === 'sl' ? 'slCursor' : 'hueCursor'].focus();\n }\n\n this.captureMouse = false;\n },\n emitColor: function emitColor() {\n var hue = this.hue,\n saturation = this.saturation,\n lightness = this.lightness;\n this.$emit('input', Color.fromHSL(hue, saturation, lightness));\n window.clearTimeout(this.debounce);\n }\n },\n mounted: function mounted() {\n window.addEventListener('mousemove', this.trackMouse);\n window.addEventListener('touchmove', this.trackMouse, {\n passive: false\n });\n window.addEventListener('mouseup', this.stopMouseCapture);\n window.addEventListener('touchend', this.stopMouseCapture);\n },\n beforeDestroy: function beforeDestroy() {\n window.removeEventListener('mousemove', this.trackMouse);\n window.removeEventListener('touchmove', this.trackMouse);\n window.removeEventListener('mouseup', this.stopMouseCapture);\n window.removeEventListener('touchend', this.stopMouseCapture);\n }\n};\n\n/* script */\nconst __vue_script__ = script;\n\n/* template */\nvar __vue_render__ = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('svg',{staticClass:\"b-colorpicker-triangle\",attrs:{\"viewBox\":_vm.viewBox}},[_c('defs',[_c('linearGradient',{attrs:{\"id\":(\"cp-triangle-gradient-ligthness-\" + _vm.id),\"x1\":\"0\",\"y1\":\"0\",\"x2\":\"1\",\"y2\":\"0\"}},[_c('stop',{attrs:{\"offset\":\"0%\",\"stop-color\":\"#fff\"}}),_c('stop',{attrs:{\"offset\":\"100%\",\"stop-color\":\"#000\"}})],1),_c('linearGradient',{attrs:{\"id\":(\"cp-triangle-gradient-saturation-\" + _vm.id),\"x1\":\"0\",\"y1\":\"0\",\"x2\":\"0\",\"y2\":\"1\"}},[_c('stop',{attrs:{\"offset\":\"0%\",\"stop-color\":(\"hsl(\" + _vm.hue + \"deg, 100%, 50%)\"),\"stop-opacity\":\"1\"}}),_c('stop',{attrs:{\"offset\":\"100%\",\"stop-color\":(\"hsl(\" + _vm.hue + \"deg, 100%, 50%)\"),\"stop-opacity\":\"0\"}})],1),_c('clipPath',{attrs:{\"id\":(\"cp-triangle-clip-\" + _vm.id)}},[_c('path',{attrs:{\"d\":_vm.haloPath}})])],1),_c('g',{staticClass:\"colorpicker-triangle-slider-hue\"},[_c('foreignObject',{attrs:{\"x\":0,\"y\":0,\"width\":_vm.size,\"height\":_vm.size,\"clip-path\":(\"url(#cp-triangle-clip-\" + _vm.id + \")\")}},[_c('div',{staticClass:\"colorpicker-triangle-hue\",on:{\"click\":_vm.clickHue,\"mousedown\":function($event){$event.preventDefault();return _vm.startMouseCapture($event)},\"touchstart\":function($event){$event.preventDefault();return _vm.startMouseCapture($event)}}})]),_c('g',{style:((\"transform: rotate(\" + _vm.hue + \"deg)\"))},[_c('foreignObject',{attrs:{\"x\":_vm.size / 2 - 4,\"y\":0,\"width\":\"8\",\"height\":_vm.thickness + 4}},[_c('div',{ref:\"hueCursor\",staticClass:\"hue-range-thumb\",style:((\"background-color: hsl(\" + _vm.hue + \"deg, 100%, 50%)\")),attrs:{\"role\":\"slider\",\"tabindex\":\"0\",\"aria-label\":\"Hue\",\"aria-valuemin\":\"0\",\"aria-valuenow\":_vm.hue,\"aria-valuemax\":\"360\"},on:{\"click\":_vm.clickHue,\"keydown\":_vm.hueKeyPress,\"mousedown\":function($event){$event.preventDefault();return _vm.startMouseCapture($event)},\"touchstart\":function($event){$event.preventDefault();return _vm.startMouseCapture($event)}}})])],1)],1),_c('g',{staticClass:\"colorpicker-triangle-slider-sl\",style:((\"transform: rotate(\" + _vm.hue + \"deg) translate(50%, 50%)\")),attrs:{\"role\":\"graphics-datagroup\",\"aria-datascales\":\"lightness, saturation\"}},[_c('path',{attrs:{\"d\":_vm.trianglePath,\"fill\":(\"url(#cp-triangle-gradient-ligthness-\" + _vm.id + \")\")}}),_c('path',{staticStyle:{\"mix-blend-mode\":\"overlay\"},attrs:{\"d\":_vm.trianglePath,\"fill\":(\"url(#cp-triangle-gradient-saturation-\" + _vm.id + \")\")},on:{\"click\":_vm.clickSL,\"mousedown\":function($event){$event.preventDefault();return _vm.startMouseCapture($event)},\"touchstart\":function($event){$event.preventDefault();return _vm.startMouseCapture($event)}}}),_c('foreignObject',{attrs:{\"x\":((_vm.internalRadius - 3) * _vm.cos30) * (-_vm.lightness + 0.5) * 2 - 6,\"y\":-_vm.internalRadius + (1 - _vm.saturation) * (_vm.internalRadius - 3) * 1.5 - 3,\"width\":\"12\",\"height\":\"12\"}},[_c('div',{ref:\"slCursor\",staticClass:\"sl-range-thumb\",style:({\n backgroundColor: (\"hsl(\" + _vm.hue + \"deg, \" + (_vm.saturation * 100) + \"%, \" + (_vm.lightness * 100) + \"%)\")\n }),attrs:{\"tabindex\":\"0\",\"aria-datavalues\":((_vm.saturation * 100) + \"%, \" + (_vm.lightness * 100) + \"%\")},on:{\"click\":_vm.clickSL,\"keydown\":_vm.slKeyPress,\"mousedown\":function($event){$event.preventDefault();return _vm.startMouseCapture($event)},\"touchstart\":function($event){$event.preventDefault();return _vm.startMouseCapture($event)}}})])],1)])};\nvar __vue_staticRenderFns__ = [];\n\n /* style */\n const __vue_inject_styles__ = undefined;\n /* scoped */\n const __vue_scope_id__ = undefined;\n /* module identifier */\n const __vue_module_identifier__ = undefined;\n /* functional template */\n const __vue_is_functional_template__ = false;\n /* style inject */\n \n /* style inject SSR */\n \n\n \n var ColorpickerHSLRepresentationTriangle = __vue_normalize__(\n { render: __vue_render__, staticRenderFns: __vue_staticRenderFns__ },\n __vue_inject_styles__,\n __vue_script__,\n __vue_scope_id__,\n __vue_is_functional_template__,\n __vue_module_identifier__,\n undefined,\n undefined\n );\n\nfunction _templateObject3() {\n var data = _taggedTemplateLiteral([\"\", \"px\"]);\n\n _templateObject3 = function _templateObject3() {\n return data;\n };\n\n return data;\n}\n\nfunction _templateObject2() {\n var data = _taggedTemplateLiteral([\"\", \"px\"]);\n\n _templateObject2 = function _templateObject2() {\n return data;\n };\n\n return data;\n}\n\nfunction _templateObject() {\n var data = _taggedTemplateLiteral([\"\", \"px\"]);\n\n _templateObject = function _templateObject() {\n return data;\n };\n\n return data;\n}\n\nvar precision = function precision(strs) {\n for (var _len = arguments.length, values = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n values[_key - 1] = arguments[_key];\n }\n\n var tmp = [];\n strs.forEach(function (str, i) {\n tmp.push(str);\n\n if (values[i]) {\n tmp.push(Number.isNaN(values[i] / 1) ? values[i] : Math.round(values * 10) / 10);\n }\n });\n return tmp.join('');\n};\n\nvar script$1 = {\n name: 'BColorpickerHSLRepresentationSquare',\n props: {\n value: {\n type: Object,\n required: true,\n validator: function validator(value) {\n return typeof value.hue === 'number' && typeof value.saturation === 'number' && typeof value.lightness === 'number';\n }\n },\n size: {\n type: Number,\n default: 200\n },\n thickness: {\n type: Number,\n default: 20\n }\n },\n data: function data() {\n return {\n hue: this.value.hue,\n saturation: this.value.saturation,\n lightness: this.value.lightness,\n captureMouse: false,\n captureType: 'hue',\n clientOffset: {\n cx: -1,\n cy: -1,\n width: 0,\n height: 0\n },\n debounce: 0\n };\n },\n computed: {\n hueThumbStyle: function hueThumbStyle() {\n var hue = this.hue,\n size = this.size,\n thickness = this.thickness;\n var side = size - thickness;\n var offset = size / 2;\n var angle = (hue + 720 + 90) % 360 / 180 * Math.PI;\n var ciq = 1 / Math.cos(Math.PI / 4);\n var _x$y = {\n x: -Math.min(1, Math.max(-1, ciq * Math.cos(angle))) / 2 * side + offset,\n y: -Math.min(1, Math.max(-1, ciq * Math.sin(angle))) / 2 * side + offset\n },\n x = _x$y.x,\n y = _x$y.y;\n return {\n background: \"hsl(\".concat(hue, \"deg, 100%, 50%)\"),\n left: precision(_templateObject(), x),\n top: precision(_templateObject2(), y),\n width: precision(_templateObject3(), thickness - 2)\n };\n },\n slThumbStyle: function slThumbStyle() {\n var hue = this.hue,\n saturation = this.saturation,\n lightness = this.lightness;\n saturation = Math.max(0, Math.min(1, saturation));\n lightness = Math.max(0, Math.min(1, lightness));\n return {\n background: \"hsl(\".concat(hue, \"deg, \").concat(saturation * 100, \"%, \").concat(lightness * 100, \"%)\"),\n left: \"\".concat(saturation * 100, \"%\"),\n top: \"\".concat((1 - lightness) * 100, \"%\")\n };\n },\n SLBackground: function SLBackground() {\n var hue = this.hue;\n return \"linear-gradient(90deg, hsl(\".concat(hue, \"deg, 0%, 50%), hsl(\").concat(hue, \"deg, 100%, 50%))\");\n }\n },\n watch: {\n captureMouse: function captureMouse(newValue, oldValue) {\n if (oldValue === false && newValue !== false) {\n var rect = this.$el.getBoundingClientRect(); // Caching offset\n\n this.clientOffset.cx = rect.x + rect.width / 2;\n this.clientOffset.cy = rect.y + rect.height / 2;\n this.clientOffset.width = rect.width;\n this.clientOffset.height = rect.height;\n }\n },\n value: {\n deep: true,\n handler: function handler(newColor) {\n var _this = this;\n\n var hue = newColor.hue,\n saturation = newColor.saturation,\n lightness = newColor.lightness;\n window.clearTimeout(this.debounce);\n this.debounce = window.setTimeout(function () {\n _this.hue = hue;\n _this.saturation = saturation;\n _this.lightness = lightness;\n }, 200);\n }\n }\n },\n methods: {\n increaseHue: function increaseHue() {\n var value = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 1;\n this.hue = (this.hue + value) % 360;\n },\n decreaseHue: function decreaseHue() {\n var value = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 1;\n this.hue = (360 + this.hue - value) % 360;\n },\n increaseSaturation: function increaseSaturation() {\n var value = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 0.01;\n this.saturation = Math.min(1, Math.max(0, this.saturation + value));\n this.lightness = Math.min(0.5 + (1 - this.saturation) * 0.5, Math.max(0.5 - (1 - this.saturation) * 0.5, this.lightness));\n },\n decreaseSaturation: function decreaseSaturation() {\n var value = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 0.01;\n this.saturation = Math.min(1, Math.max(0, this.saturation - value));\n this.lightness = Math.min(0.5 + (1 - this.saturation) * 0.5, Math.max(0.5 - (1 - this.saturation) * 0.5, this.lightness));\n },\n increaseLightness: function increaseLightness() {\n var value = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 0.01;\n this.lightness = Math.min(0.5 + (1 - this.saturation) * 0.5, Math.max(0.5 - (1 - this.saturation) * 0.5, this.lightness + value));\n },\n decreaseLightness: function decreaseLightness() {\n var value = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 0.01;\n this.lightness = Math.min(0.5 + (1 - this.saturation) * 0.5, Math.max(0.5 - (1 - this.saturation) * 0.5, this.lightness - value));\n },\n hueKeyPress: function hueKeyPress(event) {\n var handled = false;\n\n switch (event.key) {\n case 'ArrowRight':\n case 'ArrowUp':\n this.increaseHue();\n handled = true;\n break;\n\n case 'ArrowLeft':\n case 'ArrowDown':\n this.decreaseHue();\n handled = true;\n break;\n\n case 'Home':\n this.increaseHue(360 - this.hue);\n handled = true;\n break;\n\n case 'End':\n this.decreaseHue(this.hue);\n handled = true;\n break;\n\n case 'PageUp':\n this.increaseHue(60 - this.hue % 60);\n handled = true;\n break;\n\n case 'PageDown':\n this.decreaseHue(60 + this.hue % 60);\n handled = true;\n break;\n }\n\n if (handled) {\n event.preventDefault();\n event.stopPropagation();\n this.emitColor();\n }\n },\n slKeyPress: function slKeyPress(event) {\n var handled = false;\n\n switch (event.key) {\n case 'ArrowRight':\n this.increaseSaturation();\n handled = true;\n break;\n\n case 'ArrowUp':\n this.increaseLightness();\n handled = true;\n break;\n\n case 'ArrowLeft':\n this.decreaseSaturation();\n handled = true;\n break;\n\n case 'ArrowDown':\n this.decreaseLightness();\n handled = true;\n break;\n\n case 'Home':\n this.increaseLightness(1 - this.lightness);\n handled = true;\n break;\n\n case 'End':\n this.decreaseLightness(this.lightness);\n handled = true;\n break;\n\n case 'PageUp':\n this.increaseSaturation(1 - this.saturation);\n handled = true;\n break;\n\n case 'PageDown':\n this.decreaseSaturation(this.saturation);\n handled = true;\n break;\n }\n\n if (handled) {\n event.preventDefault();\n event.stopPropagation();\n this.emitColor();\n }\n },\n startMouseCapture: function startMouseCapture(event) {\n event.stopPropagation();\n this.captureMouse = true;\n\n if (event.target.closest('.colorpicker-square-slider-sl') !== null) {\n this.captureType = 'sl';\n } else {\n this.captureType = 'hue';\n }\n },\n stopMouseCapture: function stopMouseCapture(event) {\n if (this.captureMouse !== false) {\n event.preventDefault();\n event.stopPropagation();\n this.$refs[this.captureType === 'sl' ? 'slCursor' : 'hueCursor'].focus();\n }\n\n this.captureMouse = false;\n },\n clickHue: function clickHue(event) {\n this.startMouseCapture(event);\n this.trackMouse(event);\n this.stopMouseCapture(event);\n this.$refs.hueCursor.focus();\n },\n clickSL: function clickSL(event) {\n this.startMouseCapture(event);\n this.trackMouse(event);\n this.stopMouseCapture(event);\n this.$refs.slCursor.focus();\n },\n trackMouse: function trackMouse(event) {\n if (this.captureMouse === false) {\n return;\n }\n\n event.preventDefault();\n event.stopPropagation();\n var mouseX = 0,\n mouseY = 0;\n\n if (typeof event.touches !== 'undefined' && event.touches.length) {\n var _ref = [event.touches[0].clientX, event.touches[0].clientY];\n mouseX = _ref[0];\n mouseY = _ref[1];\n } else {\n var _ref2 = [event.clientX, event.clientY];\n mouseX = _ref2[0];\n mouseY = _ref2[1];\n }\n\n var angle = Math.atan2(mouseY - this.clientOffset.cy, mouseX - this.clientOffset.cx);\n\n if (this.captureType === 'sl') {\n var saturation = (mouseX - this.clientOffset.cx) / (this.clientOffset.width - this.thickness * 2) + 0.5;\n var lightness = (mouseY - this.clientOffset.cy) / (this.clientOffset.height - this.thickness * 2) + 0.5;\n this.saturation = Math.round(Math.min(1, Math.max(0, saturation)) * 1000) / 1000;\n this.lightness = 1 - Math.round(Math.min(1, Math.max(0, lightness)) * 1000) / 1000;\n } else {\n this.hue = Math.round(angle / Math.PI * 180 + 90) % 360;\n }\n\n this.emitColor();\n },\n emitColor: function emitColor() {\n var hue = this.hue,\n saturation = this.saturation,\n lightness = this.lightness;\n this.$emit('input', Color.fromHSL(hue, saturation, lightness));\n window.clearTimeout(this.debounce);\n }\n },\n mounted: function mounted() {\n window.addEventListener('mousemove', this.trackMouse);\n window.addEventListener('touchmove', this.trackMouse, {\n passive: false\n });\n window.addEventListener('mouseup', this.stopMouseCapture);\n window.addEventListener('touchend', this.stopMouseCapture);\n },\n beforeDestroy: function beforeDestroy() {\n window.removeEventListener('mousemove', this.trackMouse);\n window.removeEventListener('touchmove', this.trackMouse);\n window.removeEventListener('mouseup', this.stopMouseCapture);\n window.removeEventListener('touchend', this.stopMouseCapture);\n }\n};\n\n/* script */\nconst __vue_script__$1 = script$1;\n\n/* template */\nvar __vue_render__$1 = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"b-colorpicker-square\",style:({ width: (_vm.size + \"px\") })},[_c('div',{staticClass:\"colorpicker-square-slider-hue\",on:{\"click\":_vm.clickHue,\"mousedown\":function($event){$event.preventDefault();return _vm.startMouseCapture($event)},\"touchstart\":function($event){$event.preventDefault();return _vm.startMouseCapture($event)}}},[_c('div',{ref:\"hueCursor\",staticClass:\"hue-range-thumb\",style:(_vm.hueThumbStyle),attrs:{\"role\":\"slider\",\"tabindex\":\"0\",\"aria-label\":\"Hue\",\"aria-valuemin\":\"0\",\"aria-valuemax\":\"359\"}})]),_c('div',{staticClass:\"colorpicker-square-slider-sl\",style:({\n background: _vm.SLBackground,\n margin: (_vm.thickness + \"px\")\n }),attrs:{\"aria-datascales\":\"lightness, saturation\"},on:{\"click\":_vm.clickSL,\"mousedown\":function($event){$event.preventDefault();return _vm.startMouseCapture($event)},\"touchstart\":function($event){$event.preventDefault();return _vm.startMouseCapture($event)}}},[_c('div',{ref:\"slCursor\",staticClass:\"sl-range-thumb\",style:(_vm.slThumbStyle),attrs:{\"role\":\"slider\",\"tabindex\":\"0\",\"aria-datavalues\":((_vm.saturation * 100) + \"%, \" + (_vm.lightness * 100) + \"%\")},on:{\"click\":_vm.clickSL,\"keydown\":_vm.slKeyPress,\"mousedown\":function($event){$event.preventDefault();return _vm.startMouseCapture($event)},\"touchstart\":function($event){$event.preventDefault();return _vm.startMouseCapture($event)}}})])])};\nvar __vue_staticRenderFns__$1 = [];\n\n /* style */\n const __vue_inject_styles__$1 = undefined;\n /* scoped */\n const __vue_scope_id__$1 = undefined;\n /* module identifier */\n const __vue_module_identifier__$1 = undefined;\n /* functional template */\n const __vue_is_functional_template__$1 = false;\n /* style inject */\n \n /* style inject SSR */\n \n\n \n var ColorpickerHSLRepresentationSquare = __vue_normalize__(\n { render: __vue_render__$1, staticRenderFns: __vue_staticRenderFns__$1 },\n __vue_inject_styles__$1,\n __vue_script__$1,\n __vue_scope_id__$1,\n __vue_is_functional_template__$1,\n __vue_module_identifier__$1,\n undefined,\n undefined\n );\n\nvar script$2 = {\n name: 'BColorpickerAlphaSlider',\n components: _defineProperty({}, Tooltip.name, Tooltip),\n props: {\n value: {\n type: Number,\n validator: function validator(value) {\n return value >= 0 && value < 256;\n }\n },\n color: [String, Object]\n },\n data: function data() {\n var color = Color.parse(this.color);\n color.alpha = 0;\n return {\n startColor: color.toString('hex'),\n endColor: color.toString('hexa'),\n percent: Math.round((1 - this.value / 255) * 100),\n captureMouse: false,\n clientOffset: {\n cx: -1,\n cy: -1,\n width: 0,\n height: 0\n }\n };\n },\n computed: {\n style: function style() {\n return {\n backgroundImage: \"linear-gradient(90deg, \".concat(this.startColor, \" 0%, \").concat(this.endColor, \" 100%),\\n linear-gradient(45deg, #c7c7c7 25%, transparent 25%, transparent 75%, #c7c7c7 75%, #c7c7c7),\\n linear-gradient(45deg, #c7c7c7 25%, transparent 25%, transparent 75%, #c7c7c7 75%, #c7c7c7)\"),\n backgroundSize: '100% 100%, 1em 1em, 1em 1em',\n backgroundPosition: '0 0, .5em .5em, 0 0'\n };\n }\n },\n watch: {\n value: function value(newValue, oldValue) {\n if (newValue !== oldValue) {\n this.percent = Math.round((1 - newValue / 255) * 100);\n }\n },\n color: function color(newColor) {\n var color = Color.parse(newColor);\n color.alpha = 0;\n this.startColor = color.toString('hex');\n this.endColor = color.toString('hexa');\n },\n captureMouse: function captureMouse(newValue, oldValue) {\n if (oldValue === false && newValue !== false) {\n var rect = this.$el.getBoundingClientRect(); // Caching offset\n\n this.clientOffset.cx = rect.x + rect.width / 2;\n this.clientOffset.cy = rect.y + rect.height / 2;\n this.clientOffset.width = rect.width;\n this.clientOffset.height = rect.height;\n }\n }\n },\n methods: {\n increaseAlpha: function increaseAlpha() {\n var value = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 1;\n this.percent = Math.max(0, Math.min(100, this.percent + value));\n },\n decreaseAlpha: function decreaseAlpha() {\n var value = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 0.01;\n this.increaseAlpha(-value);\n },\n alphaKeyPress: function alphaKeyPress(event) {\n var handled = false;\n\n switch (event.key) {\n case 'ArrowRight':\n case 'ArrowUp':\n this.increaseAlpha();\n handled = true;\n break;\n\n case 'ArrowLeft':\n case 'ArrowDown':\n this.decreaseAlpha();\n handled = true;\n break;\n\n case 'Home':\n this.decreaseAlpha(this.percent);\n handled = true;\n break;\n\n case 'End':\n this.increaseAlpha(100 - this.percent);\n handled = true;\n break;\n\n case 'PageUp':\n this.increaseAlpha(10 - this.percent % 10);\n handled = true;\n break;\n\n case 'PageDown':\n this.decreaseAlpha(this.percent % 10);\n handled = true;\n break;\n }\n\n if (handled) {\n event.preventDefault();\n event.stopPropagation();\n this.emitAlpha();\n }\n },\n clickAlpha: function clickAlpha(event) {\n this.startMouseCapture(event);\n this.trackMouse(event);\n this.stopMouseCapture(event);\n this.$refs.alphaCursor.focus();\n },\n startMouseCapture: function startMouseCapture(event) {\n event.stopPropagation();\n this.captureMouse = true;\n },\n trackMouse: function trackMouse(event) {\n if (this.captureMouse === false) {\n return;\n }\n\n event.preventDefault();\n event.stopPropagation();\n var _ref = [0, 0],\n mouseX = _ref[0];\n\n if (typeof event.touches !== 'undefined' && event.touches.length) {\n var _ref2 = [event.touches[0].clientX];\n mouseX = _ref2[0];\n } else {\n var _ref3 = [event.clientX];\n mouseX = _ref3[0];\n }\n\n var ratio = 0.5 + (this.clientOffset.cx - mouseX) / this.clientOffset.width;\n this.percent = Math.round(100 - Math.max(0, Math.min(1, ratio)) * 100);\n this.emitAlpha();\n },\n stopMouseCapture: function stopMouseCapture(event) {\n if (this.captureMouse !== false) {\n event.preventDefault();\n event.stopPropagation();\n this.$refs.alphaCursor.focus();\n }\n\n this.captureMouse = false;\n },\n emitAlpha: function emitAlpha() {\n this.$emit('input', (1 - this.percent / 100) * 255);\n }\n },\n mounted: function mounted() {\n window.addEventListener('mousemove', this.trackMouse);\n window.addEventListener('touchmove', this.trackMouse, {\n passive: false\n });\n window.addEventListener('mouseup', this.stopMouseCapture);\n window.addEventListener('touchend', this.stopMouseCapture);\n },\n beforeDestroy: function beforeDestroy() {\n window.removeEventListener('mousemove', this.trackMouse);\n window.removeEventListener('touchmove', this.trackMouse);\n window.removeEventListener('mouseup', this.stopMouseCapture);\n window.removeEventListener('touchend', this.stopMouseCapture);\n }\n};\n\n/* script */\nconst __vue_script__$2 = script$2;\n\n/* template */\nvar __vue_render__$2 = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"b-colorpicker-alpha-slider\",style:(_vm.style),on:{\"click\":_vm.clickAlpha,\"keydown\":_vm.alphaKeyPress,\"mousedown\":_vm.startMouseCapture,\"touchstart\":function($event){$event.preventDefault();return _vm.startMouseCapture($event)}}},[_c('div',{ref:\"alphaCursor\",staticClass:\"alpha-range-thumb\",style:({ left: (_vm.percent + \"%\") }),attrs:{\"role\":\"slider\",\"tabindex\":\"0\",\"aria-label\":\"Tranparency\",\"aria-valuemin\":\"0\",\"aria-valuenow\":_vm.percent,\"aria-valuemax\":\"100\"}},[_c('b-tooltip',{attrs:{\"label\":(_vm.percent + \"%\"),\"always\":_vm.captureMouse}})],1)])};\nvar __vue_staticRenderFns__$2 = [];\n\n /* style */\n const __vue_inject_styles__$2 = undefined;\n /* scoped */\n const __vue_scope_id__$2 = undefined;\n /* module identifier */\n const __vue_module_identifier__$2 = undefined;\n /* functional template */\n const __vue_is_functional_template__$2 = false;\n /* style inject */\n \n /* style inject SSR */\n \n\n \n var ColorpickerAlphaSlider = __vue_normalize__(\n { render: __vue_render__$2, staticRenderFns: __vue_staticRenderFns__$2 },\n __vue_inject_styles__$2,\n __vue_script__$2,\n __vue_scope_id__$2,\n __vue_is_functional_template__$2,\n __vue_module_identifier__$2,\n undefined,\n undefined\n );\n\nvar _components;\n\nvar defaultColorFormatter = function defaultColorFormatter(color, vm) {\n if (color.alpha < 1) {\n return color.toString('hexa');\n } else {\n return color.toString('hex');\n }\n};\n\nvar defaultColorParser = function defaultColorParser(color, vm) {\n return Color.parse(color);\n};\n\nvar script$3 = {\n name: 'BColorpicker',\n components: (_components = {}, _defineProperty(_components, ColorpickerHSLRepresentationTriangle.name, ColorpickerHSLRepresentationTriangle), _defineProperty(_components, ColorpickerHSLRepresentationSquare.name, ColorpickerHSLRepresentationSquare), _defineProperty(_components, ColorpickerAlphaSlider.name, ColorpickerAlphaSlider), _defineProperty(_components, Input.name, Input), _defineProperty(_components, Field.name, Field), _defineProperty(_components, Select.name, Select), _defineProperty(_components, Icon.name, Icon), _defineProperty(_components, Dropdown.name, Dropdown), _defineProperty(_components, DropdownItem.name, DropdownItem), _components),\n mixins: [FormElementMixin],\n inheritAttrs: false,\n provide: function provide() {\n return {\n $colorpicker: this\n };\n },\n props: {\n value: {\n type: [String, Object],\n validator: function validator(value) {\n return typeof value === 'string' || _typeof(value) === 'object' && typeof value.red === 'number' && typeof value.green === 'number' && typeof value.blue === 'number';\n }\n },\n representation: {\n type: String,\n default: 'triangle',\n value: function value(_value) {\n return ['triangle', 'square'].some(function (r) {\n return r === _value;\n });\n }\n },\n inline: Boolean,\n disabled: Boolean,\n horizontalColorPicker: {\n type: Boolean,\n default: false\n },\n colorFormatter: {\n type: Function,\n default: function _default(color, vm) {\n if (typeof config.defaultColorFormatter === 'function') {\n return config.defaultColorFormatter(color);\n } else {\n return defaultColorFormatter(color);\n }\n }\n },\n colorParser: {\n type: Function,\n default: function _default(color, vm) {\n if (typeof config.defaultColorParser === 'function') {\n return config.defaultColorParser(color);\n } else {\n return defaultColorParser(color);\n }\n }\n },\n alpha: {\n type: Boolean,\n default: false\n },\n expanded: Boolean,\n position: String,\n mobileModal: {\n type: Boolean,\n default: function _default() {\n return config.defaultDatepickerMobileModal;\n }\n },\n focusable: {\n type: Boolean,\n default: true\n },\n trapFocus: {\n type: Boolean,\n default: function _default() {\n return config.defaultTrapFocus;\n }\n },\n appendToBody: Boolean\n },\n data: function data() {\n var color = this.colorParser(this.value);\n return {\n colorSelected: color\n };\n },\n computed: {\n background: function background() {\n if (this.alpha) {\n return \"linear-gradient(\\n 45deg,\\n \".concat(this.colorSelected.toString('hex'), \" 50%,\\n \").concat(this.colorSelected.toString('hexa'), \" 50%\\n )\");\n } else {\n var hex = this.colorSelected.toString('hex');\n return \"linear-gradient(\\n 45deg,\\n \".concat(hex, \" 50%,\\n \").concat(hex, \" 50%\\n )\");\n }\n },\n triggerStyle: function triggerStyle() {\n var _this$colorSelected = this.colorSelected,\n red = _this$colorSelected.red,\n green = _this$colorSelected.green,\n blue = _this$colorSelected.blue;\n var light = red * 0.299 + green * 0.587 + blue * 0.114 > 186;\n return {\n backgroundColor: '#ffffff',\n backgroundImage: \"\\n \".concat(this.background, \",\\n linear-gradient(45deg, #c7c7c7 25%, transparent 25%, transparent 75%, #c7c7c7 75%, #c7c7c7),\\n linear-gradient(45deg, #c7c7c7 25%, transparent 25%, transparent 75%, #c7c7c7 75%, #c7c7c7)\\n \"),\n backgroundSize: '100% 100%, 16px 16px, 16px 16px',\n backgroundPosition: '0 0, 8px 8px, 0 0',\n color: light ? '#000000' : '#FFFFFF',\n textShadow: \"0 0 2px \".concat(light ? '#FFFFFFAA' : '#000000AA')\n };\n },\n isMobile: function isMobile$1() {\n return this.mobileNative && isMobile.any();\n },\n ariaRole: function ariaRole() {\n if (!this.inline) {\n return 'dialog';\n }\n }\n },\n watch: {\n value: function value(_value2) {\n this.colorSelected = new Color(_value2);\n }\n },\n methods: {\n updateColor: function updateColor(value) {\n value.alpha = this.colorSelected.alpha;\n this.colorSelected = value;\n this.$emit('input', value);\n },\n updateAlpha: function updateAlpha(alpha) {\n this.colorSelected.alpha = alpha;\n this.$emit('input', this.colorSelected);\n },\n\n /*\r\n * Format color into string\r\n */\n formatValue: function formatValue(value) {\n return value ? this.colorFormatter(value, this) : null;\n },\n\n /*\r\n * Toggle datepicker\r\n */\n togglePicker: function togglePicker(active) {\n if (this.$refs.dropdown) {\n var isActive = typeof active === 'boolean' ? active : !this.$refs.dropdown.isActive;\n\n if (isActive) {\n this.$refs.dropdown.isActive = isActive;\n } else if (this.closeOnClick) {\n this.$refs.dropdown.isActive = isActive;\n }\n }\n },\n\n /*\r\n * Call default onFocus method and show datepicker\r\n */\n handleOnFocus: function handleOnFocus(event) {\n this.onFocus(event);\n\n if (this.openOnFocus) {\n this.togglePicker(true);\n }\n },\n\n /*\r\n * Toggle dropdown\r\n */\n toggle: function toggle() {\n if (this.mobileNative && this.isMobile) {\n var input = this.$refs.input.$refs.input;\n input.focus();\n input.click();\n return;\n }\n\n this.$refs.dropdown.toggle();\n },\n\n /*\r\n * Avoid dropdown toggle when is already visible\r\n */\n onInputClick: function onInputClick(event) {\n if (this.$refs.dropdown.isActive) {\n event.stopPropagation();\n }\n },\n\n /**\r\n * Keypress event that is bound to the document.\r\n */\n keyPress: function keyPress(_ref) {\n var key = _ref.key;\n\n if (this.$refs.dropdown && this.$refs.dropdown.isActive && (key === 'Escape' || key === 'Esc')) {\n this.togglePicker(false);\n }\n },\n\n /**\r\n * Emit 'blur' event on dropdown is not active (closed)\r\n */\n onActiveChange: function onActiveChange(value) {\n if (!value) {\n this.onBlur();\n }\n /*\r\n * Emit 'active-change' when on dropdown active state change\r\n */\n\n\n this.$emit('active-change', value);\n }\n }\n};\n\n/* script */\nconst __vue_script__$3 = script$3;\n\n/* template */\nvar __vue_render__$3 = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"colorpicker control\",class:[_vm.size, {'is-expanded': _vm.expanded}]},[(!_vm.isMobile || _vm.inline)?_c('b-dropdown',{ref:\"dropdown\",attrs:{\"position\":_vm.position,\"expanded\":_vm.expanded,\"disabled\":_vm.disabled,\"inline\":_vm.inline,\"mobile-modal\":_vm.mobileModal,\"trap-focus\":_vm.trapFocus,\"aria-role\":_vm.ariaRole,\"append-to-body\":_vm.appendToBody,\"append-to-body-copy-parent\":\"\"},on:{\"active-change\":_vm.onActiveChange},scopedSlots:_vm._u([(!_vm.inline)?{key:\"trigger\",fn:function(){return [_vm._t(\"trigger\",[_c('b-button',{style:(_vm.triggerStyle),attrs:{\"expanded\":_vm.expanded,\"disabled\":_vm.disabled}},[_c('span',{staticClass:\"color-name\"},[_vm._v(_vm._s(_vm.colorFormatter(_vm.colorSelected)))])])])]},proxy:true}:null],null,true)},[_c('b-dropdown-item',{class:{'dropdown-horizontal-colorpicker': _vm.horizontalColorPicker},attrs:{\"disabled\":_vm.disabled,\"focusable\":_vm.focusable,\"custom\":\"\"}},[_c('div',[_c('header',{staticClass:\"colorpicker-header\"},[(_vm.$slots.header !== undefined && _vm.$slots.header.length)?[_vm._t(\"header\")]:_vm._e()],2),_c('div',{staticClass:\"colorpicker-content\"},[(_vm.representation === 'square')?_c('b-colorpicker-h-s-l-representation-square',{attrs:{\"value\":_vm.colorSelected},on:{\"input\":_vm.updateColor}}):_c('b-colorpicker-h-s-l-representation-triangle',{attrs:{\"value\":_vm.colorSelected},on:{\"input\":_vm.updateColor}})],1)]),_c('footer',{staticClass:\"colorpicker-footer\"},[(_vm.alpha)?_c('b-colorpicker-alpha-slider',{attrs:{\"value\":_vm.colorSelected.alpha,\"color\":_vm.colorSelected},on:{\"input\":_vm.updateAlpha}}):_vm._e(),_vm._t(\"footer\",[_c('b-field',{staticClass:\"colorpicker-fields\",attrs:{\"grouped\":\"\"}},[_c('b-field',{attrs:{\"horizontal\":\"\",\"label\":\"R\"}},[_c('b-input',{attrs:{\"type\":\"number\",\"size\":\"is-small\",\"aria-label\":\"Red\"},model:{value:(_vm.colorSelected.red),callback:function ($$v) {_vm.$set(_vm.colorSelected, \"red\", _vm._n($$v));},expression:\"colorSelected.red\"}})],1),_c('b-field',{attrs:{\"horizontal\":\"\",\"label\":\"G\"}},[_c('b-input',{attrs:{\"type\":\"number\",\"size\":\"is-small\",\"aria-label\":\"Green\"},model:{value:(_vm.colorSelected.green),callback:function ($$v) {_vm.$set(_vm.colorSelected, \"green\", _vm._n($$v));},expression:\"colorSelected.green\"}})],1),_c('b-field',{attrs:{\"horizontal\":\"\",\"label\":\"B\"}},[_c('b-input',{attrs:{\"type\":\"number\",\"size\":\"is-small\",\"aria-label\":\"Blue\"},model:{value:(_vm.colorSelected.blue),callback:function ($$v) {_vm.$set(_vm.colorSelected, \"blue\", _vm._n($$v));},expression:\"colorSelected.blue\"}})],1)],1)],{\"color\":_vm.colorSelected})],2)])],1):_vm._e()],1)};\nvar __vue_staticRenderFns__$3 = [];\n\n /* style */\n const __vue_inject_styles__$3 = undefined;\n /* scoped */\n const __vue_scope_id__$3 = undefined;\n /* module identifier */\n const __vue_module_identifier__$3 = undefined;\n /* functional template */\n const __vue_is_functional_template__$3 = false;\n /* style inject */\n \n /* style inject SSR */\n \n\n \n var Colorpicker = __vue_normalize__(\n { render: __vue_render__$3, staticRenderFns: __vue_staticRenderFns__$3 },\n __vue_inject_styles__$3,\n __vue_script__$3,\n __vue_scope_id__$3,\n __vue_is_functional_template__$3,\n __vue_module_identifier__$3,\n undefined,\n undefined\n );\n\nvar Plugin = {\n install: function install(Vue) {\n registerComponent(Vue, Colorpicker);\n }\n};\nuse(Plugin);\n\nexport default Plugin;\nexport { Colorpicker as BColorpicker };\n","import { _ as _defineProperty, d as _toConsumableArray } from './chunk-455cdeae.js';\nimport { isDefined, getMonthNames, getWeekdayNames, isMobile, matchWithGroups } from './helpers.js';\nimport { c as config } from './chunk-e92e3389.js';\nimport { F as FormElementMixin } from './chunk-17b33cd2.js';\nimport { I as Icon } from './chunk-7e17a637.js';\nimport { _ as __vue_normalize__ } from './chunk-cca88db8.js';\nimport { I as Input } from './chunk-72ecb544.js';\nimport { D as Dropdown, a as DropdownItem } from './chunk-ade5b253.js';\nimport { F as Field } from './chunk-53788519.js';\nimport { S as Select } from './chunk-4e788733.js';\n\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\nvar script = {\n name: 'BDatepickerTableRow',\n inject: {\n $datepicker: {\n name: '$datepicker',\n default: false\n }\n },\n props: {\n selectedDate: {\n type: [Date, Array]\n },\n hoveredDateRange: Array,\n day: {\n type: Number\n },\n week: {\n type: Array,\n required: true\n },\n month: {\n type: Number,\n required: true\n },\n minDate: Date,\n maxDate: Date,\n disabled: Boolean,\n unselectableDates: [Array, Function],\n unselectableDaysOfWeek: Array,\n selectableDates: [Array, Function],\n events: Array,\n indicators: String,\n dateCreator: Function,\n nearbyMonthDays: Boolean,\n nearbySelectableMonthDays: Boolean,\n showWeekNumber: Boolean,\n weekNumberClickable: Boolean,\n range: Boolean,\n multiple: Boolean,\n rulesForFirstWeek: Number,\n firstDayOfWeek: Number\n },\n watch: {\n day: function day(_day) {\n var _this = this;\n\n var refName = \"day-\".concat(this.month, \"-\").concat(_day);\n this.$nextTick(function () {\n if (_this.$refs[refName] && _this.$refs[refName].length > 0) {\n if (_this.$refs[refName][0]) {\n _this.$refs[refName][0].focus();\n }\n }\n }); // $nextTick needed when month is changed\n }\n },\n methods: {\n firstWeekOffset: function firstWeekOffset(year, dow, doy) {\n // first-week day -- which january is always in the first week (4 for iso, 1 for other)\n var fwd = 7 + dow - doy; // first-week day local weekday -- which local weekday is fwd\n\n var firstJanuary = new Date(year, 0, fwd);\n var fwdlw = (7 + firstJanuary.getDay() - dow) % 7;\n return -fwdlw + fwd - 1;\n },\n daysInYear: function daysInYear(year) {\n return this.isLeapYear(year) ? 366 : 365;\n },\n isLeapYear: function isLeapYear(year) {\n return year % 4 === 0 && year % 100 !== 0 || year % 400 === 0;\n },\n getSetDayOfYear: function getSetDayOfYear(input) {\n return Math.round((input - new Date(input.getFullYear(), 0, 1)) / 864e5) + 1;\n },\n weeksInYear: function weeksInYear(year, dow, doy) {\n var weekOffset = this.firstWeekOffset(year, dow, doy);\n var weekOffsetNext = this.firstWeekOffset(year + 1, dow, doy);\n return (this.daysInYear(year) - weekOffset + weekOffsetNext) / 7;\n },\n getWeekNumber: function getWeekNumber(mom) {\n var dow = this.firstDayOfWeek; // first day of week\n // Rules for the first week : 1 for the 1st January, 4 for the 4th January\n\n var doy = this.rulesForFirstWeek;\n var weekOffset = this.firstWeekOffset(mom.getFullYear(), dow, doy);\n var week = Math.floor((this.getSetDayOfYear(mom) - weekOffset - 1) / 7) + 1;\n var resWeek;\n var resYear;\n\n if (week < 1) {\n resYear = mom.getFullYear() - 1;\n resWeek = week + this.weeksInYear(resYear, dow, doy);\n } else if (week > this.weeksInYear(mom.getFullYear(), dow, doy)) {\n resWeek = week - this.weeksInYear(mom.getFullYear(), dow, doy);\n resYear = mom.getFullYear() + 1;\n } else {\n resYear = mom.getFullYear();\n resWeek = week;\n }\n\n return {\n week: resWeek,\n year: resYear\n };\n },\n clickWeekNumber: function clickWeekNumber(weekData) {\n if (this.weekNumberClickable) {\n this.$datepicker.$emit('week-number-click', weekData.week, weekData.year);\n }\n },\n\n /*\r\n * Check that selected day is within earliest/latest params and\r\n * is within this month\r\n */\n selectableDate: function selectableDate(day) {\n var validity = [];\n\n if (this.minDate) {\n validity.push(day >= this.minDate);\n }\n\n if (this.maxDate) {\n validity.push(day <= this.maxDate);\n }\n\n if (this.nearbyMonthDays && !this.nearbySelectableMonthDays) {\n validity.push(day.getMonth() === this.month);\n }\n\n if (this.selectableDates) {\n if (typeof this.selectableDates === 'function') {\n if (this.selectableDates(day)) {\n return true;\n } else {\n validity.push(false);\n }\n } else {\n for (var i = 0; i < this.selectableDates.length; i++) {\n var enabledDate = this.selectableDates[i];\n\n if (day.getDate() === enabledDate.getDate() && day.getFullYear() === enabledDate.getFullYear() && day.getMonth() === enabledDate.getMonth()) {\n return true;\n } else {\n validity.push(false);\n }\n }\n }\n }\n\n if (this.unselectableDates) {\n if (typeof this.unselectableDates === 'function') {\n validity.push(!this.unselectableDates(day));\n } else {\n for (var _i = 0; _i < this.unselectableDates.length; _i++) {\n var disabledDate = this.unselectableDates[_i];\n validity.push(day.getDate() !== disabledDate.getDate() || day.getFullYear() !== disabledDate.getFullYear() || day.getMonth() !== disabledDate.getMonth());\n }\n }\n }\n\n if (this.unselectableDaysOfWeek) {\n for (var _i2 = 0; _i2 < this.unselectableDaysOfWeek.length; _i2++) {\n var dayOfWeek = this.unselectableDaysOfWeek[_i2];\n validity.push(day.getDay() !== dayOfWeek);\n }\n }\n\n return validity.indexOf(false) < 0;\n },\n\n /*\r\n * Emit select event with chosen date as payload\r\n */\n emitChosenDate: function emitChosenDate(day) {\n if (this.disabled) return;\n\n if (this.selectableDate(day)) {\n this.$emit('select', day);\n }\n },\n eventsDateMatch: function eventsDateMatch(day) {\n if (!this.events || !this.events.length) return false;\n var dayEvents = [];\n\n for (var i = 0; i < this.events.length; i++) {\n if (this.events[i].date.getDay() === day.getDay()) {\n dayEvents.push(this.events[i]);\n }\n }\n\n if (!dayEvents.length) {\n return false;\n }\n\n return dayEvents;\n },\n\n /*\r\n * Build classObject for cell using validations\r\n */\n classObject: function classObject(day) {\n function dateMatch(dateOne, dateTwo, multiple) {\n // if either date is null or undefined, return false\n // if using multiple flag, return false\n if (!dateOne || !dateTwo || multiple) {\n return false;\n }\n\n if (Array.isArray(dateTwo)) {\n return dateTwo.some(function (date) {\n return dateOne.getDate() === date.getDate() && dateOne.getFullYear() === date.getFullYear() && dateOne.getMonth() === date.getMonth();\n });\n }\n\n return dateOne.getDate() === dateTwo.getDate() && dateOne.getFullYear() === dateTwo.getFullYear() && dateOne.getMonth() === dateTwo.getMonth();\n }\n\n function dateWithin(dateOne, dates, multiple) {\n if (!Array.isArray(dates) || multiple) {\n return false;\n }\n\n return dateOne > dates[0] && dateOne < dates[1];\n }\n\n return _defineProperty({\n 'is-selected': dateMatch(day, this.selectedDate) || dateWithin(day, this.selectedDate, this.multiple),\n 'is-first-selected': dateMatch(day, Array.isArray(this.selectedDate) && this.selectedDate[0], this.multiple),\n 'is-within-selected': dateWithin(day, this.selectedDate, this.multiple),\n 'is-last-selected': dateMatch(day, Array.isArray(this.selectedDate) && this.selectedDate[1], this.multiple),\n 'is-within-hovered-range': this.hoveredDateRange && this.hoveredDateRange.length === 2 && (dateMatch(day, this.hoveredDateRange) || dateWithin(day, this.hoveredDateRange)),\n 'is-first-hovered': dateMatch(day, Array.isArray(this.hoveredDateRange) && this.hoveredDateRange[0]),\n 'is-within-hovered': dateWithin(day, this.hoveredDateRange),\n 'is-last-hovered': dateMatch(day, Array.isArray(this.hoveredDateRange) && this.hoveredDateRange[1]),\n 'is-today': dateMatch(day, this.dateCreator()),\n 'is-selectable': this.selectableDate(day) && !this.disabled,\n 'is-unselectable': !this.selectableDate(day) || this.disabled,\n 'is-invisible': !this.nearbyMonthDays && day.getMonth() !== this.month,\n 'is-nearby': this.nearbySelectableMonthDays && day.getMonth() !== this.month,\n 'has-event': this.eventsDateMatch(day)\n }, this.indicators, this.eventsDateMatch(day));\n },\n setRangeHoverEndDate: function setRangeHoverEndDate(day) {\n if (this.range) {\n this.$emit('rangeHoverEndDate', day);\n }\n },\n manageKeydown: function manageKeydown(event, weekDay) {\n // https://developer.mozilla.org/fr/docs/Web/API/KeyboardEvent/key/Key_Values#Navigation_keys\n var key = event.key;\n var preventDefault = true;\n\n switch (key) {\n case 'Tab':\n {\n preventDefault = false;\n break;\n }\n\n case ' ':\n case 'Space':\n case 'Spacebar':\n case 'Enter':\n {\n this.emitChosenDate(weekDay);\n break;\n }\n\n case 'ArrowLeft':\n case 'Left':\n {\n this.changeFocus(weekDay, -1);\n break;\n }\n\n case 'ArrowRight':\n case 'Right':\n {\n this.changeFocus(weekDay, 1);\n break;\n }\n\n case 'ArrowUp':\n case 'Up':\n {\n this.changeFocus(weekDay, -7);\n break;\n }\n\n case 'ArrowDown':\n case 'Down':\n {\n this.changeFocus(weekDay, 7);\n break;\n }\n }\n\n if (preventDefault) {\n event.preventDefault();\n }\n },\n changeFocus: function changeFocus(day, inc) {\n var nextDay = new Date(day.getTime());\n nextDay.setDate(day.getDate() + inc);\n\n while ((!this.minDate || nextDay > this.minDate) && (!this.maxDate || nextDay < this.maxDate) && !this.selectableDate(nextDay)) {\n nextDay.setDate(day.getDate() + Math.sign(inc));\n }\n\n this.setRangeHoverEndDate(nextDay);\n this.$emit('change-focus', nextDay);\n }\n }\n};\n\n/* script */\nconst __vue_script__ = script;\n\n/* template */\nvar __vue_render__ = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"datepicker-row\"},[(_vm.showWeekNumber)?_c('a',{staticClass:\"datepicker-cell is-week-number\",class:{'is-clickable': _vm.weekNumberClickable },on:{\"click\":function($event){$event.preventDefault();_vm.clickWeekNumber(_vm.getWeekNumber(_vm.week[6]));}}},[_c('span',[_vm._v(_vm._s(_vm.getWeekNumber(_vm.week[6]).week))])]):_vm._e(),_vm._l((_vm.week),function(weekDay,index){return [(_vm.selectableDate(weekDay) && !_vm.disabled)?_c('a',{key:index,ref:(\"day-\" + (weekDay.getMonth()) + \"-\" + (weekDay.getDate())),refInFor:true,staticClass:\"datepicker-cell\",class:_vm.classObject(weekDay),attrs:{\"role\":\"button\",\"href\":\"#\",\"disabled\":_vm.disabled,\"tabindex\":_vm.day === weekDay.getDate() && _vm.month === weekDay.getMonth() ? null : -1},on:{\"click\":function($event){$event.preventDefault();return _vm.emitChosenDate(weekDay)},\"mouseenter\":function($event){return _vm.setRangeHoverEndDate(weekDay)},\"keydown\":function($event){return _vm.manageKeydown($event, weekDay)}}},[_c('span',[_vm._v(_vm._s(weekDay.getDate()))]),(_vm.eventsDateMatch(weekDay))?_c('div',{staticClass:\"events\"},_vm._l((_vm.eventsDateMatch(weekDay)),function(event,index){return _c('div',{key:index,staticClass:\"event\",class:event.type})}),0):_vm._e()]):_c('div',{key:index,staticClass:\"datepicker-cell\",class:_vm.classObject(weekDay)},[_c('span',[_vm._v(_vm._s(weekDay.getDate()))]),(_vm.eventsDateMatch(weekDay))?_c('div',{staticClass:\"events\"},_vm._l((_vm.eventsDateMatch(weekDay)),function(event,index){return _c('div',{key:index,staticClass:\"event\",class:event.type})}),0):_vm._e()])]})],2)};\nvar __vue_staticRenderFns__ = [];\n\n /* style */\n const __vue_inject_styles__ = undefined;\n /* scoped */\n const __vue_scope_id__ = undefined;\n /* module identifier */\n const __vue_module_identifier__ = undefined;\n /* functional template */\n const __vue_is_functional_template__ = false;\n /* style inject */\n \n /* style inject SSR */\n \n\n \n var DatepickerTableRow = __vue_normalize__(\n { render: __vue_render__, staticRenderFns: __vue_staticRenderFns__ },\n __vue_inject_styles__,\n __vue_script__,\n __vue_scope_id__,\n __vue_is_functional_template__,\n __vue_module_identifier__,\n undefined,\n undefined\n );\n\nvar script$1 = {\n name: 'BDatepickerTable',\n components: _defineProperty({}, DatepickerTableRow.name, DatepickerTableRow),\n props: {\n value: {\n type: [Date, Array]\n },\n dayNames: Array,\n monthNames: Array,\n firstDayOfWeek: Number,\n events: Array,\n indicators: String,\n minDate: Date,\n maxDate: Date,\n focused: Object,\n disabled: Boolean,\n dateCreator: Function,\n unselectableDates: [Array, Function],\n unselectableDaysOfWeek: Array,\n selectableDates: [Array, Function],\n nearbyMonthDays: Boolean,\n nearbySelectableMonthDays: Boolean,\n showWeekNumber: Boolean,\n weekNumberClickable: Boolean,\n rulesForFirstWeek: Number,\n range: Boolean,\n multiple: Boolean\n },\n data: function data() {\n return {\n selectedBeginDate: undefined,\n selectedEndDate: undefined,\n hoveredEndDate: undefined\n };\n },\n computed: {\n multipleSelectedDates: {\n get: function get() {\n return this.multiple && this.value ? this.value : [];\n },\n set: function set(value) {\n this.$emit('input', value);\n }\n },\n visibleDayNames: function visibleDayNames() {\n var visibleDayNames = [];\n var index = this.firstDayOfWeek;\n\n while (visibleDayNames.length < this.dayNames.length) {\n var currentDayName = this.dayNames[index % this.dayNames.length];\n visibleDayNames.push(currentDayName);\n index++;\n }\n\n if (this.showWeekNumber) visibleDayNames.unshift('');\n return visibleDayNames;\n },\n hasEvents: function hasEvents() {\n return this.events && this.events.length;\n },\n\n /*\r\n * Return array of all events in the specified month\r\n */\n eventsInThisMonth: function eventsInThisMonth() {\n if (!this.events) return [];\n var monthEvents = [];\n\n for (var i = 0; i < this.events.length; i++) {\n var event = this.events[i];\n\n if (!event.hasOwnProperty('date')) {\n event = {\n date: event\n };\n }\n\n if (!event.hasOwnProperty('type')) {\n event.type = 'is-primary';\n }\n\n if (event.date.getMonth() === this.focused.month && event.date.getFullYear() === this.focused.year) {\n monthEvents.push(event);\n }\n }\n\n return monthEvents;\n },\n\n /*\r\n * Return array of all weeks in the specified month\r\n */\n weeksInThisMonth: function weeksInThisMonth() {\n this.validateFocusedDay();\n var month = this.focused.month;\n var year = this.focused.year;\n var weeksInThisMonth = [];\n var startingDay = 1;\n\n while (weeksInThisMonth.length < 6) {\n var newWeek = this.weekBuilder(startingDay, month, year);\n weeksInThisMonth.push(newWeek);\n startingDay += 7;\n }\n\n return weeksInThisMonth;\n },\n hoveredDateRange: function hoveredDateRange() {\n if (!this.range) {\n return [];\n }\n\n if (!isNaN(this.selectedEndDate)) {\n return [];\n }\n\n if (this.hoveredEndDate < this.selectedBeginDate) {\n return [this.hoveredEndDate, this.selectedBeginDate].filter(isDefined);\n }\n\n return [this.selectedBeginDate, this.hoveredEndDate].filter(isDefined);\n }\n },\n methods: {\n /*\r\n * Emit input event with selected date as payload for v-model in parent\r\n */\n updateSelectedDate: function updateSelectedDate(date) {\n if (!this.range && !this.multiple) {\n this.$emit('input', date);\n } else if (this.range) {\n this.handleSelectRangeDate(date);\n } else if (this.multiple) {\n this.handleSelectMultipleDates(date);\n }\n },\n\n /*\r\n * If both begin and end dates are set, reset the end date and set the begin date.\r\n * If only begin date is selected, emit an array of the begin date and the new date.\r\n * If not set, only set the begin date.\r\n */\n handleSelectRangeDate: function handleSelectRangeDate(date) {\n if (this.selectedBeginDate && this.selectedEndDate) {\n this.selectedBeginDate = date;\n this.selectedEndDate = undefined;\n this.$emit('range-start', date);\n } else if (this.selectedBeginDate && !this.selectedEndDate) {\n if (this.selectedBeginDate > date) {\n this.selectedEndDate = this.selectedBeginDate;\n this.selectedBeginDate = date;\n } else {\n this.selectedEndDate = date;\n }\n\n this.$emit('range-end', date);\n this.$emit('input', [this.selectedBeginDate, this.selectedEndDate]);\n } else {\n this.selectedBeginDate = date;\n this.$emit('range-start', date);\n }\n },\n\n /*\r\n * If selected date already exists list of selected dates, remove it from the list\r\n * Otherwise, add date to list of selected dates\r\n */\n handleSelectMultipleDates: function handleSelectMultipleDates(date) {\n var multipleSelect = this.multipleSelectedDates.filter(function (selectedDate) {\n return selectedDate.getDate() === date.getDate() && selectedDate.getFullYear() === date.getFullYear() && selectedDate.getMonth() === date.getMonth();\n });\n\n if (multipleSelect.length) {\n this.multipleSelectedDates = this.multipleSelectedDates.filter(function (selectedDate) {\n return selectedDate.getDate() !== date.getDate() || selectedDate.getFullYear() !== date.getFullYear() || selectedDate.getMonth() !== date.getMonth();\n });\n } else {\n this.multipleSelectedDates = [].concat(_toConsumableArray(this.multipleSelectedDates), [date]);\n }\n },\n\n /*\r\n * Return array of all days in the week that the startingDate is within\r\n */\n weekBuilder: function weekBuilder(startingDate, month, year) {\n var thisMonth = new Date(year, month);\n var thisWeek = [];\n var dayOfWeek = new Date(year, month, startingDate).getDay();\n var end = dayOfWeek >= this.firstDayOfWeek ? dayOfWeek - this.firstDayOfWeek : 7 - this.firstDayOfWeek + dayOfWeek;\n var daysAgo = 1;\n\n for (var i = 0; i < end; i++) {\n thisWeek.unshift(new Date(thisMonth.getFullYear(), thisMonth.getMonth(), startingDate - daysAgo));\n daysAgo++;\n }\n\n thisWeek.push(new Date(year, month, startingDate));\n var daysForward = 1;\n\n while (thisWeek.length < 7) {\n thisWeek.push(new Date(year, month, startingDate + daysForward));\n daysForward++;\n }\n\n return thisWeek;\n },\n validateFocusedDay: function validateFocusedDay() {\n var focusedDate = new Date(this.focused.year, this.focused.month, this.focused.day);\n if (this.selectableDate(focusedDate)) return;\n var day = 0; // Number of days in the current month\n\n var monthDays = new Date(this.focused.year, this.focused.month + 1, 0).getDate();\n var firstFocusable = null;\n\n while (!firstFocusable && ++day < monthDays) {\n var date = new Date(this.focused.year, this.focused.month, day);\n\n if (this.selectableDate(date)) {\n firstFocusable = focusedDate;\n var focused = {\n day: date.getDate(),\n month: date.getMonth(),\n year: date.getFullYear()\n };\n this.$emit('update:focused', focused);\n }\n }\n },\n\n /*\r\n * Check that selected day is within earliest/latest params and\r\n * is within this month\r\n */\n selectableDate: function selectableDate(day) {\n var validity = [];\n\n if (this.minDate) {\n validity.push(day >= this.minDate);\n }\n\n if (this.maxDate) {\n validity.push(day <= this.maxDate);\n }\n\n if (this.nearbyMonthDays && !this.nearbySelectableMonthDays) {\n validity.push(day.getMonth() === this.focused.month);\n }\n\n if (this.selectableDates) {\n if (typeof this.selectableDates === 'function') {\n if (this.selectableDates(day)) {\n return true;\n } else {\n validity.push(false);\n }\n } else {\n for (var i = 0; i < this.selectableDates.length; i++) {\n var enabledDate = this.selectableDates[i];\n\n if (day.getDate() === enabledDate.getDate() && day.getFullYear() === enabledDate.getFullYear() && day.getMonth() === enabledDate.getMonth()) {\n return true;\n } else {\n validity.push(false);\n }\n }\n }\n }\n\n if (this.unselectableDates) {\n if (typeof this.unselectableDates === 'function') {\n validity.push(!this.unselectableDates(day));\n } else {\n for (var _i = 0; _i < this.unselectableDates.length; _i++) {\n var disabledDate = this.unselectableDates[_i];\n validity.push(day.getDate() !== disabledDate.getDate() || day.getFullYear() !== disabledDate.getFullYear() || day.getMonth() !== disabledDate.getMonth());\n }\n }\n }\n\n if (this.unselectableDaysOfWeek) {\n for (var _i2 = 0; _i2 < this.unselectableDaysOfWeek.length; _i2++) {\n var dayOfWeek = this.unselectableDaysOfWeek[_i2];\n validity.push(day.getDay() !== dayOfWeek);\n }\n }\n\n return validity.indexOf(false) < 0;\n },\n eventsInThisWeek: function eventsInThisWeek(week) {\n return this.eventsInThisMonth.filter(function (event) {\n var stripped = new Date(Date.parse(event.date));\n stripped.setHours(0, 0, 0, 0);\n var timed = stripped.getTime();\n return week.some(function (weekDate) {\n return weekDate.getTime() === timed;\n });\n });\n },\n setRangeHoverEndDate: function setRangeHoverEndDate(day) {\n this.hoveredEndDate = day;\n },\n changeFocus: function changeFocus(day) {\n var focused = {\n day: day.getDate(),\n month: day.getMonth(),\n year: day.getFullYear()\n };\n this.$emit('update:focused', focused);\n }\n }\n};\n\n/* script */\nconst __vue_script__$1 = script$1;\n\n/* template */\nvar __vue_render__$1 = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('section',{staticClass:\"datepicker-table\"},[_c('header',{staticClass:\"datepicker-header\"},_vm._l((_vm.visibleDayNames),function(day,index){return _c('div',{key:index,staticClass:\"datepicker-cell\"},[_c('span',[_vm._v(_vm._s(day))])])}),0),_c('div',{staticClass:\"datepicker-body\",class:{'has-events':_vm.hasEvents}},_vm._l((_vm.weeksInThisMonth),function(week,index){return _c('b-datepicker-table-row',{key:index,attrs:{\"selected-date\":_vm.value,\"day\":_vm.focused.day,\"week\":week,\"month\":_vm.focused.month,\"min-date\":_vm.minDate,\"max-date\":_vm.maxDate,\"disabled\":_vm.disabled,\"unselectable-dates\":_vm.unselectableDates,\"unselectable-days-of-week\":_vm.unselectableDaysOfWeek,\"selectable-dates\":_vm.selectableDates,\"events\":_vm.eventsInThisWeek(week),\"indicators\":_vm.indicators,\"date-creator\":_vm.dateCreator,\"nearby-month-days\":_vm.nearbyMonthDays,\"nearby-selectable-month-days\":_vm.nearbySelectableMonthDays,\"show-week-number\":_vm.showWeekNumber,\"week-number-clickable\":_vm.weekNumberClickable,\"first-day-of-week\":_vm.firstDayOfWeek,\"rules-for-first-week\":_vm.rulesForFirstWeek,\"range\":_vm.range,\"hovered-date-range\":_vm.hoveredDateRange,\"multiple\":_vm.multiple},on:{\"select\":_vm.updateSelectedDate,\"rangeHoverEndDate\":_vm.setRangeHoverEndDate,\"change-focus\":_vm.changeFocus}})}),1)])};\nvar __vue_staticRenderFns__$1 = [];\n\n /* style */\n const __vue_inject_styles__$1 = undefined;\n /* scoped */\n const __vue_scope_id__$1 = undefined;\n /* module identifier */\n const __vue_module_identifier__$1 = undefined;\n /* functional template */\n const __vue_is_functional_template__$1 = false;\n /* style inject */\n \n /* style inject SSR */\n \n\n \n var DatepickerTable = __vue_normalize__(\n { render: __vue_render__$1, staticRenderFns: __vue_staticRenderFns__$1 },\n __vue_inject_styles__$1,\n __vue_script__$1,\n __vue_scope_id__$1,\n __vue_is_functional_template__$1,\n __vue_module_identifier__$1,\n undefined,\n undefined\n );\n\n//\nvar script$2 = {\n name: 'BDatepickerMonth',\n props: {\n value: {\n type: [Date, Array]\n },\n monthNames: Array,\n events: Array,\n indicators: String,\n minDate: Date,\n maxDate: Date,\n focused: Object,\n disabled: Boolean,\n dateCreator: Function,\n unselectableDates: [Array, Function],\n unselectableDaysOfWeek: Array,\n selectableDates: [Array, Function],\n range: Boolean,\n multiple: Boolean\n },\n data: function data() {\n return {\n selectedBeginDate: undefined,\n selectedEndDate: undefined,\n hoveredEndDate: undefined,\n multipleSelectedDates: this.multiple && this.value ? this.value : []\n };\n },\n computed: {\n hasEvents: function hasEvents() {\n return this.events && this.events.length;\n },\n\n /*\r\n * Return array of all events in the specified month\r\n */\n eventsInThisYear: function eventsInThisYear() {\n if (!this.events) return [];\n var yearEvents = [];\n\n for (var i = 0; i < this.events.length; i++) {\n var event = this.events[i];\n\n if (!event.hasOwnProperty('date')) {\n event = {\n date: event\n };\n }\n\n if (!event.hasOwnProperty('type')) {\n event.type = 'is-primary';\n }\n\n if (event.date.getFullYear() === this.focused.year) {\n yearEvents.push(event);\n }\n }\n\n return yearEvents;\n },\n monthDates: function monthDates() {\n var year = this.focused.year;\n var months = [];\n\n for (var i = 0; i < 12; i++) {\n var d = new Date(year, i, 1);\n d.setHours(0, 0, 0, 0);\n months.push(d);\n }\n\n return months;\n },\n focusedMonth: function focusedMonth() {\n return this.focused.month;\n },\n hoveredDateRange: function hoveredDateRange() {\n if (!this.range) {\n return [];\n }\n\n if (!isNaN(this.selectedEndDate)) {\n return [];\n }\n\n if (this.hoveredEndDate < this.selectedBeginDate) {\n return [this.hoveredEndDate, this.selectedBeginDate].filter(isDefined);\n }\n\n return [this.selectedBeginDate, this.hoveredEndDate].filter(isDefined);\n }\n },\n watch: {\n focusedMonth: function focusedMonth(month) {\n var _this = this;\n\n var refName = \"month-\".concat(month);\n\n if (this.$refs[refName] && this.$refs[refName].length > 0) {\n this.$nextTick(function () {\n if (_this.$refs[refName][0]) {\n _this.$refs[refName][0].focus();\n }\n }); // $nextTick needed when year is changed\n }\n }\n },\n methods: {\n selectMultipleDates: function selectMultipleDates(date) {\n var multipleSelect = this.multipleSelectedDates.filter(function (selectedDate) {\n return selectedDate.getDate() === date.getDate() && selectedDate.getFullYear() === date.getFullYear() && selectedDate.getMonth() === date.getMonth();\n });\n\n if (multipleSelect.length) {\n this.multipleSelectedDates = this.multipleSelectedDates.filter(function (selectedDate) {\n return selectedDate.getDate() !== date.getDate() || selectedDate.getFullYear() !== date.getFullYear() || selectedDate.getMonth() !== date.getMonth();\n });\n } else {\n this.multipleSelectedDates.push(date);\n }\n\n this.$emit('input', this.multipleSelectedDates);\n },\n selectableDate: function selectableDate(day) {\n var validity = [];\n\n if (this.minDate) {\n validity.push(day >= this.minDate);\n }\n\n if (this.maxDate) {\n validity.push(day <= this.maxDate);\n }\n\n validity.push(day.getFullYear() === this.focused.year);\n\n if (this.selectableDates) {\n if (typeof this.selectableDates === 'function') {\n if (this.selectableDates(day)) {\n return true;\n } else {\n validity.push(false);\n }\n } else {\n for (var i = 0; i < this.selectableDates.length; i++) {\n var enabledDate = this.selectableDates[i];\n\n if (day.getFullYear() === enabledDate.getFullYear() && day.getMonth() === enabledDate.getMonth()) {\n return true;\n } else {\n validity.push(false);\n }\n }\n }\n }\n\n if (this.unselectableDates) {\n if (typeof this.unselectableDates === 'function') {\n validity.push(!this.unselectableDates(day));\n } else {\n for (var _i = 0; _i < this.unselectableDates.length; _i++) {\n var disabledDate = this.unselectableDates[_i];\n validity.push(day.getFullYear() !== disabledDate.getFullYear() || day.getMonth() !== disabledDate.getMonth());\n }\n }\n }\n\n if (this.unselectableDaysOfWeek) {\n for (var _i2 = 0; _i2 < this.unselectableDaysOfWeek.length; _i2++) {\n var dayOfWeek = this.unselectableDaysOfWeek[_i2];\n validity.push(day.getDay() !== dayOfWeek);\n }\n }\n\n return validity.indexOf(false) < 0;\n },\n eventsDateMatch: function eventsDateMatch(day) {\n if (!this.eventsInThisYear.length) return false;\n var monthEvents = [];\n\n for (var i = 0; i < this.eventsInThisYear.length; i++) {\n if (this.eventsInThisYear[i].date.getMonth() === day.getMonth()) {\n monthEvents.push(this.events[i]);\n }\n }\n\n if (!monthEvents.length) {\n return false;\n }\n\n return monthEvents;\n },\n\n /*\r\n * Build classObject for cell using validations\r\n */\n classObject: function classObject(day) {\n function dateMatch(dateOne, dateTwo, multiple) {\n // if either date is null or undefined, return false\n if (!dateOne || !dateTwo || multiple) {\n return false;\n }\n\n if (Array.isArray(dateTwo)) {\n return dateTwo.some(function (date) {\n return dateOne.getFullYear() === date.getFullYear() && dateOne.getMonth() === date.getMonth();\n });\n }\n\n return dateOne.getFullYear() === dateTwo.getFullYear() && dateOne.getMonth() === dateTwo.getMonth();\n }\n\n function dateWithin(dateOne, dates, multiple) {\n if (!Array.isArray(dates) || multiple) {\n return false;\n }\n\n return dateOne > dates[0] && dateOne < dates[1];\n }\n\n function dateMultipleSelected(dateOne, dates, multiple) {\n if (!Array.isArray(dates) || !multiple) {\n return false;\n }\n\n return dates.some(function (date) {\n return dateOne.getDate() === date.getDate() && dateOne.getFullYear() === date.getFullYear() && dateOne.getMonth() === date.getMonth();\n });\n }\n\n return {\n 'is-selected': dateMatch(day, this.value, this.multiple) || dateWithin(day, this.value, this.multiple) || dateMultipleSelected(day, this.multipleSelectedDates, this.multiple),\n 'is-first-selected': dateMatch(day, Array.isArray(this.value) && this.value[0], this.multiple),\n 'is-within-selected': dateWithin(day, this.value, this.multiple),\n 'is-last-selected': dateMatch(day, Array.isArray(this.value) && this.value[1], this.multiple),\n 'is-within-hovered-range': this.hoveredDateRange && this.hoveredDateRange.length === 2 && (dateMatch(day, this.hoveredDateRange) || dateWithin(day, this.hoveredDateRange)),\n 'is-first-hovered': dateMatch(day, Array.isArray(this.hoveredDateRange) && this.hoveredDateRange[0]),\n 'is-within-hovered': dateWithin(day, this.hoveredDateRange),\n 'is-last-hovered': dateMatch(day, Array.isArray(this.hoveredDateRange) && this.hoveredDateRange[1]),\n 'is-today': dateMatch(day, this.dateCreator()),\n 'is-selectable': this.selectableDate(day) && !this.disabled,\n 'is-unselectable': !this.selectableDate(day) || this.disabled\n };\n },\n manageKeydown: function manageKeydown(_ref, date) {\n var key = _ref.key;\n\n // https://developer.mozilla.org/fr/docs/Web/API/KeyboardEvent/key/Key_Values#Navigation_keys\n switch (key) {\n case ' ':\n case 'Space':\n case 'Spacebar':\n case 'Enter':\n {\n this.updateSelectedDate(date);\n break;\n }\n\n case 'ArrowLeft':\n case 'Left':\n {\n this.changeFocus(date, -1);\n break;\n }\n\n case 'ArrowRight':\n case 'Right':\n {\n this.changeFocus(date, 1);\n break;\n }\n\n case 'ArrowUp':\n case 'Up':\n {\n this.changeFocus(date, -3);\n break;\n }\n\n case 'ArrowDown':\n case 'Down':\n {\n this.changeFocus(date, 3);\n break;\n }\n }\n },\n\n /*\r\n * Emit input event with selected date as payload for v-model in parent\r\n */\n updateSelectedDate: function updateSelectedDate(date) {\n if (!this.range && !this.multiple) {\n this.emitChosenDate(date);\n } else if (this.range) {\n this.handleSelectRangeDate(date);\n } else if (this.multiple) {\n this.selectMultipleDates(date);\n }\n },\n\n /*\r\n * Emit select event with chosen date as payload\r\n */\n emitChosenDate: function emitChosenDate(day) {\n if (this.disabled) return;\n\n if (!this.multiple) {\n if (this.selectableDate(day)) {\n this.$emit('input', day);\n }\n } else {\n this.selectMultipleDates(day);\n }\n },\n\n /*\r\n * If both begin and end dates are set, reset the end date and set the begin date.\r\n * If only begin date is selected, emit an array of the begin date and the new date.\r\n * If not set, only set the begin date.\r\n */\n handleSelectRangeDate: function handleSelectRangeDate(date) {\n if (this.disabled) return;\n\n if (this.selectedBeginDate && this.selectedEndDate) {\n this.selectedBeginDate = date;\n this.selectedEndDate = undefined;\n this.$emit('range-start', date);\n } else if (this.selectedBeginDate && !this.selectedEndDate) {\n if (this.selectedBeginDate > date) {\n this.selectedEndDate = this.selectedBeginDate;\n this.selectedBeginDate = date;\n } else {\n this.selectedEndDate = date;\n }\n\n this.$emit('range-end', date);\n this.$emit('input', [this.selectedBeginDate, this.selectedEndDate]);\n } else {\n this.selectedBeginDate = date;\n this.$emit('range-start', date);\n }\n },\n setRangeHoverEndDate: function setRangeHoverEndDate(day) {\n if (this.range) {\n this.hoveredEndDate = day;\n }\n },\n changeFocus: function changeFocus(month, inc) {\n var nextMonth = month;\n nextMonth.setMonth(month.getMonth() + inc);\n this.$emit('change-focus', nextMonth);\n }\n }\n};\n\n/* script */\nconst __vue_script__$2 = script$2;\n\n/* template */\nvar __vue_render__$2 = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('section',{staticClass:\"datepicker-table\"},[_c('div',{staticClass:\"datepicker-body\",class:{'has-events':_vm.hasEvents}},[_c('div',{staticClass:\"datepicker-months\"},[_vm._l((_vm.monthDates),function(date,index){return [(_vm.selectableDate(date) && !_vm.disabled)?_c('a',{key:index,ref:(\"month-\" + (date.getMonth())),refInFor:true,staticClass:\"datepicker-cell\",class:[\n _vm.classObject(date),\n {'has-event': _vm.eventsDateMatch(date)},\n _vm.indicators\n ],attrs:{\"role\":\"button\",\"href\":\"#\",\"disabled\":_vm.disabled,\"tabindex\":_vm.focused.month === date.getMonth() ? null : -1},on:{\"click\":function($event){$event.preventDefault();return _vm.updateSelectedDate(date)},\"mouseenter\":function($event){return _vm.setRangeHoverEndDate(date)},\"keydown\":function($event){$event.preventDefault();return _vm.manageKeydown($event, date)}}},[_vm._v(\" \"+_vm._s(_vm.monthNames[date.getMonth()])+\" \"),(_vm.eventsDateMatch(date))?_c('div',{staticClass:\"events\"},_vm._l((_vm.eventsDateMatch(date)),function(event,index){return _c('div',{key:index,staticClass:\"event\",class:event.type})}),0):_vm._e()]):_c('div',{key:index,staticClass:\"datepicker-cell\",class:_vm.classObject(date)},[_vm._v(\" \"+_vm._s(_vm.monthNames[date.getMonth()])+\" \")])]})],2)])])};\nvar __vue_staticRenderFns__$2 = [];\n\n /* style */\n const __vue_inject_styles__$2 = undefined;\n /* scoped */\n const __vue_scope_id__$2 = undefined;\n /* module identifier */\n const __vue_module_identifier__$2 = undefined;\n /* functional template */\n const __vue_is_functional_template__$2 = false;\n /* style inject */\n \n /* style inject SSR */\n \n\n \n var DatepickerMonth = __vue_normalize__(\n { render: __vue_render__$2, staticRenderFns: __vue_staticRenderFns__$2 },\n __vue_inject_styles__$2,\n __vue_script__$2,\n __vue_scope_id__$2,\n __vue_is_functional_template__$2,\n __vue_module_identifier__$2,\n undefined,\n undefined\n );\n\nvar _components;\n\nvar defaultDateFormatter = function defaultDateFormatter(date, vm) {\n var targetDates = Array.isArray(date) ? date : [date];\n var dates = targetDates.map(function (date) {\n var d = new Date(date.getFullYear(), date.getMonth(), date.getDate(), 12);\n return !vm.isTypeMonth ? vm.dtf.format(d) : vm.dtfMonth.format(d);\n });\n return !vm.multiple ? dates.join(' - ') : dates.join(', ');\n};\n\nvar defaultDateParser = function defaultDateParser(date, vm) {\n if (vm.dtf.formatToParts && typeof vm.dtf.formatToParts === 'function') {\n var formatRegex = (vm.isTypeMonth ? vm.dtfMonth : vm.dtf).formatToParts(new Date(2000, 11, 25)).map(function (part) {\n if (part.type === 'literal') {\n return part.value;\n }\n\n return \"((?!=<\".concat(part.type, \">)\\\\d+)\");\n }).join('');\n var dateGroups = matchWithGroups(formatRegex, date); // We do a simple validation for the group.\n // If it is not valid, it will fallback to Date.parse below\n\n if (dateGroups.year && dateGroups.year.length === 4 && dateGroups.month && dateGroups.month <= 12) {\n if (vm.isTypeMonth) return new Date(dateGroups.year, dateGroups.month - 1);else if (dateGroups.day && dateGroups.day <= 31) {\n return new Date(dateGroups.year, dateGroups.month - 1, dateGroups.day, 12);\n }\n }\n } // Fallback if formatToParts is not supported or if we were not able to parse a valid date\n\n\n if (!vm.isTypeMonth) return new Date(Date.parse(date));\n\n if (date) {\n var s = date.split('/');\n var year = s[0].length === 4 ? s[0] : s[1];\n var month = s[0].length === 2 ? s[0] : s[1];\n\n if (year && month) {\n return new Date(parseInt(year, 10), parseInt(month - 1, 10), 1, 0, 0, 0, 0);\n }\n }\n\n return null;\n};\n\nvar script$3 = {\n name: 'BDatepicker',\n components: (_components = {}, _defineProperty(_components, DatepickerTable.name, DatepickerTable), _defineProperty(_components, DatepickerMonth.name, DatepickerMonth), _defineProperty(_components, Input.name, Input), _defineProperty(_components, Field.name, Field), _defineProperty(_components, Select.name, Select), _defineProperty(_components, Icon.name, Icon), _defineProperty(_components, Dropdown.name, Dropdown), _defineProperty(_components, DropdownItem.name, DropdownItem), _components),\n mixins: [FormElementMixin],\n inheritAttrs: false,\n provide: function provide() {\n return {\n $datepicker: this\n };\n },\n props: {\n value: {\n type: [Date, Array]\n },\n dayNames: {\n type: Array,\n default: function _default() {\n if (!Array.isArray(config.defaultDayNames)) {\n return undefined;\n }\n\n return config.defaultDayNames;\n }\n },\n monthNames: {\n type: Array,\n default: function _default() {\n if (!Array.isArray(config.defaultMonthNames)) {\n return undefined;\n }\n\n return config.defaultMonthNames;\n }\n },\n firstDayOfWeek: {\n type: Number,\n default: function _default() {\n if (typeof config.defaultFirstDayOfWeek === 'number') {\n return config.defaultFirstDayOfWeek;\n } else {\n return 0;\n }\n }\n },\n inline: Boolean,\n minDate: Date,\n maxDate: Date,\n focusedDate: Date,\n placeholder: String,\n editable: Boolean,\n disabled: Boolean,\n horizontalTimePicker: Boolean,\n unselectableDates: [Array, Function],\n unselectableDaysOfWeek: {\n type: Array,\n default: function _default() {\n return config.defaultUnselectableDaysOfWeek;\n }\n },\n selectableDates: [Array, Function],\n dateFormatter: {\n type: Function,\n default: function _default(date, vm) {\n if (typeof config.defaultDateFormatter === 'function') {\n return config.defaultDateFormatter(date);\n } else {\n return defaultDateFormatter(date, vm);\n }\n }\n },\n dateParser: {\n type: Function,\n default: function _default(date, vm) {\n if (typeof config.defaultDateParser === 'function') {\n return config.defaultDateParser(date);\n } else {\n return defaultDateParser(date, vm);\n }\n }\n },\n dateCreator: {\n type: Function,\n default: function _default() {\n if (typeof config.defaultDateCreator === 'function') {\n return config.defaultDateCreator();\n } else {\n return new Date();\n }\n }\n },\n mobileNative: {\n type: Boolean,\n default: function _default() {\n return config.defaultDatepickerMobileNative;\n }\n },\n position: String,\n iconRight: String,\n iconRightClickable: Boolean,\n events: Array,\n indicators: {\n type: String,\n default: 'dots'\n },\n openOnFocus: Boolean,\n iconPrev: {\n type: String,\n default: function _default() {\n return config.defaultIconPrev;\n }\n },\n iconNext: {\n type: String,\n default: function _default() {\n return config.defaultIconNext;\n }\n },\n yearsRange: {\n type: Array,\n default: function _default() {\n return config.defaultDatepickerYearsRange;\n }\n },\n type: {\n type: String,\n validator: function validator(value) {\n return ['month'].indexOf(value) >= 0;\n }\n },\n nearbyMonthDays: {\n type: Boolean,\n default: function _default() {\n return config.defaultDatepickerNearbyMonthDays;\n }\n },\n nearbySelectableMonthDays: {\n type: Boolean,\n default: function _default() {\n return config.defaultDatepickerNearbySelectableMonthDays;\n }\n },\n showWeekNumber: {\n type: Boolean,\n default: function _default() {\n return config.defaultDatepickerShowWeekNumber;\n }\n },\n weekNumberClickable: {\n type: Boolean,\n default: function _default() {\n return config.defaultDatepickerWeekNumberClickable;\n }\n },\n rulesForFirstWeek: {\n type: Number,\n default: function _default() {\n return 4;\n }\n },\n range: {\n type: Boolean,\n default: false\n },\n closeOnClick: {\n type: Boolean,\n default: true\n },\n multiple: {\n type: Boolean,\n default: false\n },\n mobileModal: {\n type: Boolean,\n default: function _default() {\n return config.defaultDatepickerMobileModal;\n }\n },\n focusable: {\n type: Boolean,\n default: true\n },\n trapFocus: {\n type: Boolean,\n default: function _default() {\n return config.defaultTrapFocus;\n }\n },\n appendToBody: Boolean,\n ariaNextLabel: String,\n ariaPreviousLabel: String\n },\n data: function data() {\n var focusedDate = (Array.isArray(this.value) ? this.value[0] : this.value) || this.focusedDate || this.dateCreator();\n\n if (!this.value && this.maxDate && this.maxDate.getFullYear() < focusedDate.getFullYear()) {\n focusedDate.setFullYear(this.maxDate.getFullYear());\n }\n\n return {\n dateSelected: this.value,\n focusedDateData: {\n day: focusedDate.getDate(),\n month: focusedDate.getMonth(),\n year: focusedDate.getFullYear()\n },\n _elementRef: 'input',\n _isDatepicker: true\n };\n },\n computed: {\n computedValue: {\n get: function get() {\n return this.dateSelected;\n },\n set: function set(value) {\n var _this = this;\n\n this.updateInternalState(value);\n if (!this.multiple) this.togglePicker(false);\n this.$emit('input', value);\n\n if (this.useHtml5Validation) {\n this.$nextTick(function () {\n _this.checkHtml5Validity();\n });\n }\n }\n },\n formattedValue: function formattedValue() {\n return this.formatValue(this.computedValue);\n },\n localeOptions: function localeOptions() {\n return new Intl.DateTimeFormat(this.locale, {\n year: 'numeric',\n month: 'numeric'\n }).resolvedOptions();\n },\n dtf: function dtf() {\n return new Intl.DateTimeFormat(this.locale);\n },\n dtfMonth: function dtfMonth() {\n return new Intl.DateTimeFormat(this.locale, {\n year: this.localeOptions.year || 'numeric',\n month: this.localeOptions.month || '2-digit'\n });\n },\n newMonthNames: function newMonthNames() {\n if (Array.isArray(this.monthNames)) {\n return this.monthNames;\n }\n\n return getMonthNames(this.locale);\n },\n newDayNames: function newDayNames() {\n if (Array.isArray(this.dayNames)) {\n return this.dayNames;\n }\n\n return getWeekdayNames(this.locale);\n },\n listOfMonths: function listOfMonths() {\n var minMonth = 0;\n var maxMonth = 12;\n\n if (this.minDate && this.focusedDateData.year === this.minDate.getFullYear()) {\n minMonth = this.minDate.getMonth();\n }\n\n if (this.maxDate && this.focusedDateData.year === this.maxDate.getFullYear()) {\n maxMonth = this.maxDate.getMonth();\n }\n\n return this.newMonthNames.map(function (name, index) {\n return {\n name: name,\n index: index,\n disabled: index < minMonth || index > maxMonth\n };\n });\n },\n\n /*\r\n * Returns an array of years for the year dropdown. If earliest/latest\r\n * dates are set by props, range of years will fall within those dates.\r\n */\n listOfYears: function listOfYears() {\n var latestYear = this.focusedDateData.year + this.yearsRange[1];\n\n if (this.maxDate && this.maxDate.getFullYear() < latestYear) {\n latestYear = Math.max(this.maxDate.getFullYear(), this.focusedDateData.year);\n }\n\n var earliestYear = this.focusedDateData.year + this.yearsRange[0];\n\n if (this.minDate && this.minDate.getFullYear() > earliestYear) {\n earliestYear = Math.min(this.minDate.getFullYear(), this.focusedDateData.year);\n }\n\n var arrayOfYears = [];\n\n for (var i = earliestYear; i <= latestYear; i++) {\n arrayOfYears.push(i);\n }\n\n return arrayOfYears.reverse();\n },\n showPrev: function showPrev() {\n if (!this.minDate) return false;\n\n if (this.isTypeMonth) {\n return this.focusedDateData.year <= this.minDate.getFullYear();\n }\n\n var dateToCheck = new Date(this.focusedDateData.year, this.focusedDateData.month);\n var date = new Date(this.minDate.getFullYear(), this.minDate.getMonth());\n return dateToCheck <= date;\n },\n showNext: function showNext() {\n if (!this.maxDate) return false;\n\n if (this.isTypeMonth) {\n return this.focusedDateData.year >= this.maxDate.getFullYear();\n }\n\n var dateToCheck = new Date(this.focusedDateData.year, this.focusedDateData.month);\n var date = new Date(this.maxDate.getFullYear(), this.maxDate.getMonth());\n return dateToCheck >= date;\n },\n isMobile: function isMobile$1() {\n return this.mobileNative && isMobile.any();\n },\n isTypeMonth: function isTypeMonth() {\n return this.type === 'month';\n },\n ariaRole: function ariaRole() {\n if (!this.inline) {\n return 'dialog';\n }\n }\n },\n watch: {\n /**\r\n * When v-model is changed:\r\n * 1. Update internal value.\r\n * 2. If it's invalid, validate again.\r\n */\n value: function value(_value) {\n this.updateInternalState(_value);\n if (!this.multiple) this.togglePicker(false);\n },\n focusedDate: function focusedDate(value) {\n if (value) {\n this.focusedDateData = {\n day: value.getDate(),\n month: value.getMonth(),\n year: value.getFullYear()\n };\n }\n },\n\n /*\r\n * Emit input event on month and/or year change\r\n */\n 'focusedDateData.month': function focusedDateDataMonth(value) {\n this.$emit('change-month', value);\n },\n 'focusedDateData.year': function focusedDateDataYear(value) {\n this.$emit('change-year', value);\n }\n },\n methods: {\n /*\r\n * Parse string into date\r\n */\n onChange: function onChange(value) {\n var date = this.dateParser(value, this);\n\n if (date && (!isNaN(date) || Array.isArray(date) && date.length === 2 && !isNaN(date[0]) && !isNaN(date[1]))) {\n this.computedValue = date;\n } else {\n // Force refresh input value when not valid date\n this.computedValue = null;\n\n if (this.$refs.input) {\n this.$refs.input.newValue = this.computedValue;\n }\n }\n },\n\n /*\r\n * Format date into string\r\n */\n formatValue: function formatValue(value) {\n if (Array.isArray(value)) {\n var isArrayWithValidDates = Array.isArray(value) && value.every(function (v) {\n return !isNaN(v);\n });\n return isArrayWithValidDates ? this.dateFormatter(_toConsumableArray(value), this) : null;\n }\n\n return value && !isNaN(value) ? this.dateFormatter(value, this) : null;\n },\n\n /*\r\n * Either decrement month by 1 if not January or decrement year by 1\r\n * and set month to 11 (December) or decrement year when 'month'\r\n */\n prev: function prev() {\n if (this.disabled) return;\n\n if (this.isTypeMonth) {\n this.focusedDateData.year -= 1;\n } else {\n if (this.focusedDateData.month > 0) {\n this.focusedDateData.month -= 1;\n } else {\n this.focusedDateData.month = 11;\n this.focusedDateData.year -= 1;\n }\n }\n },\n\n /*\r\n * Either increment month by 1 if not December or increment year by 1\r\n * and set month to 0 (January) or increment year when 'month'\r\n */\n next: function next() {\n if (this.disabled) return;\n\n if (this.isTypeMonth) {\n this.focusedDateData.year += 1;\n } else {\n if (this.focusedDateData.month < 11) {\n this.focusedDateData.month += 1;\n } else {\n this.focusedDateData.month = 0;\n this.focusedDateData.year += 1;\n }\n }\n },\n formatNative: function formatNative(value) {\n return this.isTypeMonth ? this.formatYYYYMM(value) : this.formatYYYYMMDD(value);\n },\n\n /*\r\n * Format date into string 'YYYY-MM-DD'\r\n */\n formatYYYYMMDD: function formatYYYYMMDD(value) {\n var date = new Date(value);\n\n if (value && !isNaN(date)) {\n var year = date.getFullYear();\n var month = date.getMonth() + 1;\n var day = date.getDate();\n return year + '-' + ((month < 10 ? '0' : '') + month) + '-' + ((day < 10 ? '0' : '') + day);\n }\n\n return '';\n },\n\n /*\r\n * Format date into string 'YYYY-MM'\r\n */\n formatYYYYMM: function formatYYYYMM(value) {\n var date = new Date(value);\n\n if (value && !isNaN(date)) {\n var year = date.getFullYear();\n var month = date.getMonth() + 1;\n return year + '-' + ((month < 10 ? '0' : '') + month);\n }\n\n return '';\n },\n\n /*\r\n * Parse date from string\r\n */\n onChangeNativePicker: function onChangeNativePicker(event) {\n var date = event.target.value;\n var s = date ? date.split('-') : [];\n\n if (s.length === 3) {\n var year = parseInt(s[0], 10);\n var month = parseInt(s[1]) - 1;\n var day = parseInt(s[2]);\n this.computedValue = new Date(year, month, day);\n } else {\n this.computedValue = null;\n }\n },\n updateInternalState: function updateInternalState(value) {\n if (this.dateSelected === value) return;\n var isArray = Array.isArray(value);\n var currentDate = isArray ? !value.length ? this.dateCreator() : value[value.length - 1] : !value ? this.dateCreator() : value;\n\n if (!isArray || isArray && this.dateSelected && value.length > this.dateSelected.length) {\n this.focusedDateData = {\n day: currentDate.getDate(),\n month: currentDate.getMonth(),\n year: currentDate.getFullYear()\n };\n }\n\n this.dateSelected = value;\n },\n\n /*\r\n * Toggle datepicker\r\n */\n togglePicker: function togglePicker(active) {\n if (this.$refs.dropdown) {\n var isActive = typeof active === 'boolean' ? active : !this.$refs.dropdown.isActive;\n\n if (isActive) {\n this.$refs.dropdown.isActive = isActive;\n } else if (this.closeOnClick) {\n this.$refs.dropdown.isActive = isActive;\n }\n }\n },\n\n /*\r\n * Call default onFocus method and show datepicker\r\n */\n handleOnFocus: function handleOnFocus(event) {\n this.onFocus(event);\n\n if (this.openOnFocus) {\n this.togglePicker(true);\n }\n },\n\n /*\r\n * Toggle dropdown\r\n */\n toggle: function toggle() {\n if (this.mobileNative && this.isMobile) {\n var input = this.$refs.input.$refs.input;\n input.focus();\n input.click();\n return;\n }\n\n this.$refs.dropdown.toggle();\n },\n\n /*\r\n * Avoid dropdown toggle when is already visible\r\n */\n onInputClick: function onInputClick(event) {\n if (this.$refs.dropdown.isActive) {\n event.stopPropagation();\n }\n },\n\n /**\r\n * Keypress event that is bound to the document.\r\n */\n keyPress: function keyPress(_ref) {\n var key = _ref.key;\n\n if (this.$refs.dropdown && this.$refs.dropdown.isActive && (key === 'Escape' || key === 'Esc')) {\n this.togglePicker(false);\n }\n },\n\n /**\r\n * Emit 'blur' event on dropdown is not active (closed)\r\n */\n onActiveChange: function onActiveChange(value) {\n if (!value) {\n this.onBlur();\n }\n /*\r\n * Emit 'active-change' when on dropdown active state change\r\n */\n\n\n this.$emit('active-change', value);\n },\n changeFocus: function changeFocus(day) {\n this.focusedDateData = {\n day: day.getDate(),\n month: day.getMonth(),\n year: day.getFullYear()\n };\n }\n },\n created: function created() {\n if (typeof window !== 'undefined') {\n document.addEventListener('keyup', this.keyPress);\n }\n },\n beforeDestroy: function beforeDestroy() {\n if (typeof window !== 'undefined') {\n document.removeEventListener('keyup', this.keyPress);\n }\n }\n};\n\n/* script */\nconst __vue_script__$3 = script$3;\n\n/* template */\nvar __vue_render__$3 = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"datepicker control\",class:[_vm.size, {'is-expanded': _vm.expanded}]},[(!_vm.isMobile || _vm.inline)?_c('b-dropdown',{ref:\"dropdown\",attrs:{\"position\":_vm.position,\"disabled\":_vm.disabled,\"inline\":_vm.inline,\"mobile-modal\":_vm.mobileModal,\"trap-focus\":_vm.trapFocus,\"aria-role\":_vm.ariaRole,\"append-to-body\":_vm.appendToBody,\"append-to-body-copy-parent\":\"\"},on:{\"active-change\":_vm.onActiveChange},scopedSlots:_vm._u([(!_vm.inline)?{key:\"trigger\",fn:function(){return [_vm._t(\"trigger\",[_c('b-input',_vm._b({ref:\"input\",attrs:{\"autocomplete\":\"off\",\"value\":_vm.formattedValue,\"placeholder\":_vm.placeholder,\"size\":_vm.size,\"icon\":_vm.icon,\"icon-right\":_vm.iconRight,\"icon-right-clickable\":_vm.iconRightClickable,\"icon-pack\":_vm.iconPack,\"rounded\":_vm.rounded,\"loading\":_vm.loading,\"disabled\":_vm.disabled,\"readonly\":!_vm.editable,\"use-html5-validation\":false},on:{\"icon-right-click\":function($event){return _vm.$emit('icon-right-click', $event)},\"focus\":_vm.handleOnFocus},nativeOn:{\"click\":function($event){return _vm.onInputClick($event)},\"keyup\":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"enter\",13,$event.key,\"Enter\")){ return null; }return _vm.togglePicker(true)},\"change\":function($event){return _vm.onChange($event.target.value)}}},'b-input',_vm.$attrs,false))])]},proxy:true}:null],null,true)},[_c('b-dropdown-item',{class:{'dropdown-horizontal-timepicker': _vm.horizontalTimePicker},attrs:{\"disabled\":_vm.disabled,\"focusable\":_vm.focusable,\"custom\":\"\"}},[_c('div',[_c('header',{staticClass:\"datepicker-header\"},[(_vm.$slots.header !== undefined && _vm.$slots.header.length)?[_vm._t(\"header\")]:_c('div',{staticClass:\"pagination field is-centered\",class:_vm.size},[_c('a',{directives:[{name:\"show\",rawName:\"v-show\",value:(!_vm.showPrev && !_vm.disabled),expression:\"!showPrev && !disabled\"}],staticClass:\"pagination-previous\",attrs:{\"role\":\"button\",\"href\":\"#\",\"disabled\":_vm.disabled,\"aria-label\":_vm.ariaPreviousLabel},on:{\"click\":function($event){$event.preventDefault();return _vm.prev($event)},\"keydown\":[function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"enter\",13,$event.key,\"Enter\")){ return null; }$event.preventDefault();return _vm.prev($event)},function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"space\",32,$event.key,[\" \",\"Spacebar\"])){ return null; }$event.preventDefault();return _vm.prev($event)}]}},[_c('b-icon',{attrs:{\"icon\":_vm.iconPrev,\"pack\":_vm.iconPack,\"both\":\"\",\"type\":\"is-primary is-clickable\"}})],1),_c('a',{directives:[{name:\"show\",rawName:\"v-show\",value:(!_vm.showNext && !_vm.disabled),expression:\"!showNext && !disabled\"}],staticClass:\"pagination-next\",attrs:{\"role\":\"button\",\"href\":\"#\",\"disabled\":_vm.disabled,\"aria-label\":_vm.ariaNextLabel},on:{\"click\":function($event){$event.preventDefault();return _vm.next($event)},\"keydown\":[function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"enter\",13,$event.key,\"Enter\")){ return null; }$event.preventDefault();return _vm.next($event)},function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"space\",32,$event.key,[\" \",\"Spacebar\"])){ return null; }$event.preventDefault();return _vm.next($event)}]}},[_c('b-icon',{attrs:{\"icon\":_vm.iconNext,\"pack\":_vm.iconPack,\"both\":\"\",\"type\":\"is-primary is-clickable\"}})],1),_c('div',{staticClass:\"pagination-list\"},[_c('b-field',[(!_vm.isTypeMonth)?_c('b-select',{attrs:{\"disabled\":_vm.disabled,\"size\":_vm.size},model:{value:(_vm.focusedDateData.month),callback:function ($$v) {_vm.$set(_vm.focusedDateData, \"month\", $$v);},expression:\"focusedDateData.month\"}},_vm._l((_vm.listOfMonths),function(month){return _c('option',{key:month.name,attrs:{\"disabled\":month.disabled},domProps:{\"value\":month.index}},[_vm._v(\" \"+_vm._s(month.name)+\" \")])}),0):_vm._e(),_c('b-select',{attrs:{\"disabled\":_vm.disabled,\"size\":_vm.size},model:{value:(_vm.focusedDateData.year),callback:function ($$v) {_vm.$set(_vm.focusedDateData, \"year\", $$v);},expression:\"focusedDateData.year\"}},_vm._l((_vm.listOfYears),function(year){return _c('option',{key:year,domProps:{\"value\":year}},[_vm._v(\" \"+_vm._s(year)+\" \")])}),0)],1)],1)])],2),(!_vm.isTypeMonth)?_c('div',{staticClass:\"datepicker-content\",class:{'content-horizontal-timepicker': _vm.horizontalTimePicker}},[_c('b-datepicker-table',{attrs:{\"day-names\":_vm.newDayNames,\"month-names\":_vm.newMonthNames,\"first-day-of-week\":_vm.firstDayOfWeek,\"rules-for-first-week\":_vm.rulesForFirstWeek,\"min-date\":_vm.minDate,\"max-date\":_vm.maxDate,\"focused\":_vm.focusedDateData,\"disabled\":_vm.disabled,\"unselectable-dates\":_vm.unselectableDates,\"unselectable-days-of-week\":_vm.unselectableDaysOfWeek,\"selectable-dates\":_vm.selectableDates,\"events\":_vm.events,\"indicators\":_vm.indicators,\"date-creator\":_vm.dateCreator,\"type-month\":_vm.isTypeMonth,\"nearby-month-days\":_vm.nearbyMonthDays,\"nearby-selectable-month-days\":_vm.nearbySelectableMonthDays,\"show-week-number\":_vm.showWeekNumber,\"week-number-clickable\":_vm.weekNumberClickable,\"range\":_vm.range,\"multiple\":_vm.multiple},on:{\"range-start\":function (date) { return _vm.$emit('range-start', date); },\"range-end\":function (date) { return _vm.$emit('range-end', date); },\"close\":function($event){return _vm.togglePicker(false)},\"update:focused\":function($event){_vm.focusedDateData = $event;}},model:{value:(_vm.computedValue),callback:function ($$v) {_vm.computedValue=$$v;},expression:\"computedValue\"}})],1):_c('div',[_c('b-datepicker-month',{attrs:{\"month-names\":_vm.newMonthNames,\"min-date\":_vm.minDate,\"max-date\":_vm.maxDate,\"focused\":_vm.focusedDateData,\"disabled\":_vm.disabled,\"unselectable-dates\":_vm.unselectableDates,\"unselectable-days-of-week\":_vm.unselectableDaysOfWeek,\"selectable-dates\":_vm.selectableDates,\"events\":_vm.events,\"indicators\":_vm.indicators,\"date-creator\":_vm.dateCreator,\"range\":_vm.range,\"multiple\":_vm.multiple},on:{\"range-start\":function (date) { return _vm.$emit('range-start', date); },\"range-end\":function (date) { return _vm.$emit('range-end', date); },\"close\":function($event){return _vm.togglePicker(false)},\"change-focus\":_vm.changeFocus,\"update:focused\":function($event){_vm.focusedDateData = $event;}},model:{value:(_vm.computedValue),callback:function ($$v) {_vm.computedValue=$$v;},expression:\"computedValue\"}})],1)]),(_vm.$slots.default !== undefined && _vm.$slots.default.length)?_c('footer',{staticClass:\"datepicker-footer\",class:{'footer-horizontal-timepicker': _vm.horizontalTimePicker}},[_vm._t(\"default\")],2):_vm._e()])],1):_c('b-input',_vm._b({ref:\"input\",attrs:{\"type\":!_vm.isTypeMonth ? 'date' : 'month',\"autocomplete\":\"off\",\"value\":_vm.formatNative(_vm.computedValue),\"placeholder\":_vm.placeholder,\"size\":_vm.size,\"icon\":_vm.icon,\"icon-pack\":_vm.iconPack,\"rounded\":_vm.rounded,\"loading\":_vm.loading,\"max\":_vm.formatNative(_vm.maxDate),\"min\":_vm.formatNative(_vm.minDate),\"disabled\":_vm.disabled,\"readonly\":false,\"use-html5-validation\":false},on:{\"focus\":_vm.onFocus,\"blur\":_vm.onBlur},nativeOn:{\"change\":function($event){return _vm.onChangeNativePicker($event)}}},'b-input',_vm.$attrs,false))],1)};\nvar __vue_staticRenderFns__$3 = [];\n\n /* style */\n const __vue_inject_styles__$3 = undefined;\n /* scoped */\n const __vue_scope_id__$3 = undefined;\n /* module identifier */\n const __vue_module_identifier__$3 = undefined;\n /* functional template */\n const __vue_is_functional_template__$3 = false;\n /* style inject */\n \n /* style inject SSR */\n \n\n \n var Datepicker = __vue_normalize__(\n { render: __vue_render__$3, staticRenderFns: __vue_staticRenderFns__$3 },\n __vue_inject_styles__$3,\n __vue_script__$3,\n __vue_scope_id__$3,\n __vue_is_functional_template__$3,\n __vue_module_identifier__$3,\n undefined,\n undefined\n );\n\nexport { Datepicker as D };\n","import './chunk-455cdeae.js';\nimport './helpers.js';\nimport './chunk-e92e3389.js';\nimport './chunk-17b33cd2.js';\nimport './chunk-7e17a637.js';\nimport { r as registerComponent, u as use } from './chunk-cca88db8.js';\nimport './chunk-72ecb544.js';\nimport './chunk-60a03517.js';\nimport './chunk-42f463e6.js';\nimport './chunk-ade5b253.js';\nimport './chunk-53788519.js';\nimport './chunk-4e788733.js';\nimport { D as Datepicker } from './chunk-ea6777b6.js';\nexport { D as BDatepicker } from './chunk-ea6777b6.js';\n\nvar Plugin = {\n install: function install(Vue) {\n registerComponent(Vue, Datepicker);\n }\n};\nuse(Plugin);\n\nexport default Plugin;\n","import { _ as _defineProperty } from './chunk-455cdeae.js';\nimport { I as Icon } from './chunk-7e17a637.js';\nimport { _ as __vue_normalize__ } from './chunk-cca88db8.js';\nimport { I as Input } from './chunk-72ecb544.js';\nimport { T as TimepickerMixin } from './chunk-6e56b8bc.js';\nimport { D as Dropdown, a as DropdownItem } from './chunk-ade5b253.js';\nimport { F as Field } from './chunk-53788519.js';\nimport { S as Select } from './chunk-4e788733.js';\n\nvar _components;\nvar script = {\n name: 'BTimepicker',\n components: (_components = {}, _defineProperty(_components, Input.name, Input), _defineProperty(_components, Field.name, Field), _defineProperty(_components, Select.name, Select), _defineProperty(_components, Icon.name, Icon), _defineProperty(_components, Dropdown.name, Dropdown), _defineProperty(_components, DropdownItem.name, DropdownItem), _components),\n mixins: [TimepickerMixin],\n inheritAttrs: false,\n data: function data() {\n return {\n _isTimepicker: true\n };\n },\n computed: {\n nativeStep: function nativeStep() {\n if (this.enableSeconds) return '1';\n }\n }\n};\n\n/* script */\nconst __vue_script__ = script;\n\n/* template */\nvar __vue_render__ = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"timepicker control\",class:[_vm.size, {'is-expanded': _vm.expanded}]},[(!_vm.isMobile || _vm.inline)?_c('b-dropdown',{ref:\"dropdown\",attrs:{\"position\":_vm.position,\"disabled\":_vm.disabled,\"inline\":_vm.inline,\"append-to-body\":_vm.appendToBody,\"append-to-body-copy-parent\":\"\"},on:{\"active-change\":_vm.onActiveChange},scopedSlots:_vm._u([(!_vm.inline)?{key:\"trigger\",fn:function(){return [_vm._t(\"trigger\",[_c('b-input',_vm._b({ref:\"input\",attrs:{\"autocomplete\":\"off\",\"value\":_vm.formatValue(_vm.computedValue),\"placeholder\":_vm.placeholder,\"size\":_vm.size,\"icon\":_vm.icon,\"icon-pack\":_vm.iconPack,\"loading\":_vm.loading,\"disabled\":_vm.disabled,\"readonly\":!_vm.editable,\"rounded\":_vm.rounded,\"use-html5-validation\":_vm.useHtml5Validation},on:{\"focus\":_vm.handleOnFocus},nativeOn:{\"keyup\":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"enter\",13,$event.key,\"Enter\")){ return null; }return _vm.toggle(true)},\"change\":function($event){return _vm.onChange($event.target.value)}}},'b-input',_vm.$attrs,false))])]},proxy:true}:null],null,true)},[_c('b-dropdown-item',{attrs:{\"disabled\":_vm.disabled,\"focusable\":_vm.focusable,\"custom\":\"\"}},[_c('b-field',{attrs:{\"grouped\":\"\",\"position\":\"is-centered\"}},[_c('b-select',{attrs:{\"disabled\":_vm.disabled,\"placeholder\":\"00\"},nativeOn:{\"change\":function($event){return _vm.onHoursChange($event.target.value)}},model:{value:(_vm.hoursSelected),callback:function ($$v) {_vm.hoursSelected=$$v;},expression:\"hoursSelected\"}},_vm._l((_vm.hours),function(hour){return _c('option',{key:hour.value,attrs:{\"disabled\":_vm.isHourDisabled(hour.value)},domProps:{\"value\":hour.value}},[_vm._v(\" \"+_vm._s(hour.label)+\" \")])}),0),_c('span',{staticClass:\"control is-colon\"},[_vm._v(_vm._s(_vm.hourLiteral))]),_c('b-select',{attrs:{\"disabled\":_vm.disabled,\"placeholder\":\"00\"},nativeOn:{\"change\":function($event){return _vm.onMinutesChange($event.target.value)}},model:{value:(_vm.minutesSelected),callback:function ($$v) {_vm.minutesSelected=$$v;},expression:\"minutesSelected\"}},_vm._l((_vm.minutes),function(minute){return _c('option',{key:minute.value,attrs:{\"disabled\":_vm.isMinuteDisabled(minute.value)},domProps:{\"value\":minute.value}},[_vm._v(\" \"+_vm._s(minute.label)+\" \")])}),0),(_vm.enableSeconds)?[_c('span',{staticClass:\"control is-colon\"},[_vm._v(_vm._s(_vm.minuteLiteral))]),_c('b-select',{attrs:{\"disabled\":_vm.disabled,\"placeholder\":\"00\"},nativeOn:{\"change\":function($event){return _vm.onSecondsChange($event.target.value)}},model:{value:(_vm.secondsSelected),callback:function ($$v) {_vm.secondsSelected=$$v;},expression:\"secondsSelected\"}},_vm._l((_vm.seconds),function(second){return _c('option',{key:second.value,attrs:{\"disabled\":_vm.isSecondDisabled(second.value)},domProps:{\"value\":second.value}},[_vm._v(\" \"+_vm._s(second.label)+\" \")])}),0),_c('span',{staticClass:\"control is-colon\"},[_vm._v(_vm._s(_vm.secondLiteral))])]:_vm._e(),(!_vm.isHourFormat24)?_c('b-select',{attrs:{\"disabled\":_vm.disabled},nativeOn:{\"change\":function($event){return _vm.onMeridienChange($event.target.value)}},model:{value:(_vm.meridienSelected),callback:function ($$v) {_vm.meridienSelected=$$v;},expression:\"meridienSelected\"}},_vm._l((_vm.meridiens),function(meridien){return _c('option',{key:meridien,domProps:{\"value\":meridien}},[_vm._v(\" \"+_vm._s(meridien)+\" \")])}),0):_vm._e()],2),(_vm.$slots.default !== undefined && _vm.$slots.default.length)?_c('footer',{staticClass:\"timepicker-footer\"},[_vm._t(\"default\")],2):_vm._e()],1)],1):_c('b-input',_vm._b({ref:\"input\",attrs:{\"type\":\"time\",\"step\":_vm.nativeStep,\"autocomplete\":\"off\",\"value\":_vm.formatHHMMSS(_vm.computedValue),\"placeholder\":_vm.placeholder,\"size\":_vm.size,\"icon\":_vm.icon,\"icon-pack\":_vm.iconPack,\"rounded\":_vm.rounded,\"loading\":_vm.loading,\"max\":_vm.formatHHMMSS(_vm.maxTime),\"min\":_vm.formatHHMMSS(_vm.minTime),\"disabled\":_vm.disabled,\"readonly\":false,\"use-html5-validation\":_vm.useHtml5Validation},on:{\"focus\":_vm.handleOnFocus,\"blur\":function($event){_vm.onBlur() && _vm.checkHtml5Validity();}},nativeOn:{\"change\":function($event){return _vm.onChange($event.target.value)}}},'b-input',_vm.$attrs,false))],1)};\nvar __vue_staticRenderFns__ = [];\n\n /* style */\n const __vue_inject_styles__ = undefined;\n /* scoped */\n const __vue_scope_id__ = undefined;\n /* module identifier */\n const __vue_module_identifier__ = undefined;\n /* functional template */\n const __vue_is_functional_template__ = false;\n /* style inject */\n \n /* style inject SSR */\n \n\n \n var Timepicker = __vue_normalize__(\n { render: __vue_render__, staticRenderFns: __vue_staticRenderFns__ },\n __vue_inject_styles__,\n __vue_script__,\n __vue_scope_id__,\n __vue_is_functional_template__,\n __vue_module_identifier__,\n undefined,\n undefined\n );\n\nexport { Timepicker as T };\n","import { _ as _defineProperty } from './chunk-455cdeae.js';\nimport { isMobile, matchWithGroups } from './helpers.js';\nimport { c as config } from './chunk-e92e3389.js';\nimport { F as FormElementMixin } from './chunk-17b33cd2.js';\nimport './chunk-7e17a637.js';\nimport { _ as __vue_normalize__, r as registerComponent, u as use } from './chunk-cca88db8.js';\nimport './chunk-72ecb544.js';\nimport './chunk-60a03517.js';\nimport './chunk-6e56b8bc.js';\nimport './chunk-42f463e6.js';\nimport './chunk-ade5b253.js';\nimport './chunk-53788519.js';\nimport './chunk-4e788733.js';\nimport { D as Datepicker } from './chunk-ea6777b6.js';\nimport { T as Timepicker } from './chunk-35c20328.js';\n\nvar _components;\nvar AM = 'AM';\nvar PM = 'PM';\nvar script = {\n name: 'BDatetimepicker',\n components: (_components = {}, _defineProperty(_components, Datepicker.name, Datepicker), _defineProperty(_components, Timepicker.name, Timepicker), _components),\n mixins: [FormElementMixin],\n inheritAttrs: false,\n props: {\n value: {\n type: Date\n },\n editable: {\n type: Boolean,\n default: false\n },\n placeholder: String,\n horizontalTimePicker: Boolean,\n disabled: Boolean,\n firstDayOfWeek: {\n type: Number,\n default: function _default() {\n if (typeof config.defaultFirstDayOfWeek === 'number') {\n return config.defaultFirstDayOfWeek;\n } else {\n return 0;\n }\n }\n },\n rulesForFirstWeek: {\n type: Number,\n default: function _default() {\n return 4;\n }\n },\n icon: String,\n iconRight: String,\n iconRightClickable: Boolean,\n iconPack: String,\n inline: Boolean,\n openOnFocus: Boolean,\n position: String,\n mobileNative: {\n type: Boolean,\n default: true\n },\n minDatetime: Date,\n maxDatetime: Date,\n datetimeFormatter: {\n type: Function\n },\n datetimeParser: {\n type: Function\n },\n datetimeCreator: {\n type: Function,\n default: function _default(date) {\n if (typeof config.defaultDatetimeCreator === 'function') {\n return config.defaultDatetimeCreator(date);\n } else {\n return date;\n }\n }\n },\n datepicker: Object,\n timepicker: Object,\n tzOffset: {\n type: Number,\n default: 0\n },\n focusable: {\n type: Boolean,\n default: true\n },\n appendToBody: Boolean\n },\n data: function data() {\n return {\n newValue: this.adjustValue(this.value)\n };\n },\n computed: {\n computedValue: {\n get: function get() {\n return this.newValue;\n },\n set: function set(value) {\n if (value) {\n var val = new Date(value.getTime());\n\n if (this.newValue) {\n // restore time part\n if ((value.getDate() !== this.newValue.getDate() || value.getMonth() !== this.newValue.getMonth() || value.getFullYear() !== this.newValue.getFullYear()) && value.getHours() === 0 && value.getMinutes() === 0 && value.getSeconds() === 0) {\n val.setHours(this.newValue.getHours(), this.newValue.getMinutes(), this.newValue.getSeconds(), 0);\n }\n } else {\n val = this.datetimeCreator(value);\n } // check min and max range\n\n\n if (this.minDatetime && val < this.adjustValue(this.minDatetime)) {\n val = this.adjustValue(this.minDatetime);\n } else if (this.maxDatetime && val > this.adjustValue(this.maxDatetime)) {\n val = this.adjustValue(this.maxDatetime);\n }\n\n this.newValue = new Date(val.getTime());\n } else {\n this.newValue = this.adjustValue(value);\n }\n\n var adjustedValue = this.adjustValue(this.newValue, true); // reverse adjust\n\n this.$emit('input', adjustedValue);\n }\n },\n localeOptions: function localeOptions() {\n return new Intl.DateTimeFormat(this.locale, {\n year: 'numeric',\n month: 'numeric',\n day: 'numeric',\n hour: 'numeric',\n minute: 'numeric',\n second: this.enableSeconds() ? 'numeric' : undefined\n }).resolvedOptions();\n },\n dtf: function dtf() {\n return new Intl.DateTimeFormat(this.locale, {\n year: this.localeOptions.year || 'numeric',\n month: this.localeOptions.month || 'numeric',\n day: this.localeOptions.day || 'numeric',\n hour: this.localeOptions.hour || 'numeric',\n minute: this.localeOptions.minute || 'numeric',\n second: this.enableSeconds() ? this.localeOptions.second || 'numeric' : undefined,\n hourCycle: !this.isHourFormat24() ? 'h12' : 'h23'\n });\n },\n isMobileNative: function isMobileNative() {\n return this.mobileNative && this.tzOffset === 0;\n },\n isMobile: function isMobile$1() {\n return this.isMobileNative && isMobile.any();\n },\n minDate: function minDate() {\n if (!this.minDatetime) {\n return this.datepicker ? this.adjustValue(this.datepicker.minDate) : null;\n }\n\n var adjMinDatetime = this.adjustValue(this.minDatetime);\n return new Date(adjMinDatetime.getFullYear(), adjMinDatetime.getMonth(), adjMinDatetime.getDate(), 0, 0, 0, 0);\n },\n maxDate: function maxDate() {\n if (!this.maxDatetime) {\n return this.datepicker ? this.adjustValue(this.datepicker.maxDate) : null;\n }\n\n var adjMaxDatetime = this.adjustValue(this.maxDatetime);\n return new Date(adjMaxDatetime.getFullYear(), adjMaxDatetime.getMonth(), adjMaxDatetime.getDate(), 0, 0, 0, 0);\n },\n minTime: function minTime() {\n if (!this.minDatetime || this.newValue === null || typeof this.newValue === 'undefined') {\n return this.timepicker ? this.adjustValue(this.timepicker.minTime) : null;\n }\n\n var adjMinDatetime = this.adjustValue(this.minDatetime);\n\n if (adjMinDatetime.getFullYear() === this.newValue.getFullYear() && adjMinDatetime.getMonth() === this.newValue.getMonth() && adjMinDatetime.getDate() === this.newValue.getDate()) {\n return adjMinDatetime;\n }\n },\n maxTime: function maxTime() {\n if (!this.maxDatetime || this.newValue === null || typeof this.newValue === 'undefined') {\n return this.timepicker ? this.adjustValue(this.timepicker.maxTime) : null;\n }\n\n var adjMaxDatetime = this.adjustValue(this.maxDatetime);\n\n if (adjMaxDatetime.getFullYear() === this.newValue.getFullYear() && adjMaxDatetime.getMonth() === this.newValue.getMonth() && adjMaxDatetime.getDate() === this.newValue.getDate()) {\n return adjMaxDatetime;\n }\n },\n datepickerSize: function datepickerSize() {\n return this.datepicker && this.datepicker.size ? this.datepicker.size : this.size;\n },\n timepickerSize: function timepickerSize() {\n return this.timepicker && this.timepicker.size ? this.timepicker.size : this.size;\n },\n timepickerDisabled: function timepickerDisabled() {\n return this.timepicker && this.timepicker.disabled ? this.timepicker.disabled : this.disabled;\n }\n },\n watch: {\n value: function value() {\n this.newValue = this.adjustValue(this.value);\n },\n tzOffset: function tzOffset() {\n this.newValue = this.adjustValue(this.value);\n }\n },\n methods: {\n enableSeconds: function enableSeconds() {\n if (this.$refs.timepicker) {\n return this.$refs.timepicker.enableSeconds;\n }\n\n return false;\n },\n isHourFormat24: function isHourFormat24() {\n if (this.$refs.timepicker) {\n return this.$refs.timepicker.isHourFormat24;\n }\n\n return !this.localeOptions.hour12;\n },\n adjustValue: function adjustValue(value) {\n var reverse = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;\n if (!value) return value;\n\n if (reverse) {\n return new Date(value.getTime() - this.tzOffset * 60000);\n } else {\n return new Date(value.getTime() + this.tzOffset * 60000);\n }\n },\n defaultDatetimeParser: function defaultDatetimeParser(date) {\n if (typeof this.datetimeParser === 'function') {\n return this.datetimeParser(date);\n } else if (typeof config.defaultDatetimeParser === 'function') {\n return config.defaultDatetimeParser(date);\n } else {\n if (this.dtf.formatToParts && typeof this.dtf.formatToParts === 'function') {\n var dayPeriods = [AM, PM, AM.toLowerCase(), PM.toLowerCase()];\n\n if (this.$refs.timepicker) {\n dayPeriods.push(this.$refs.timepicker.amString);\n dayPeriods.push(this.$refs.timepicker.pmString);\n }\n\n var parts = this.dtf.formatToParts(new Date());\n var formatRegex = parts.map(function (part, idx) {\n if (part.type === 'literal') {\n if (idx + 1 < parts.length && parts[idx + 1].type === 'hour') {\n return \"[^\\\\d]+\";\n }\n\n return part.value.replace(/ /g, '\\\\s?');\n } else if (part.type === 'dayPeriod') {\n return \"((?!=<\".concat(part.type, \">)(\").concat(dayPeriods.join('|'), \")?)\");\n }\n\n return \"((?!=<\".concat(part.type, \">)\\\\d+)\");\n }).join('');\n var datetimeGroups = matchWithGroups(formatRegex, date); // We do a simple validation for the group.\n // If it is not valid, it will fallback to Date.parse below\n\n if (datetimeGroups.year && datetimeGroups.year.length === 4 && datetimeGroups.month && datetimeGroups.month <= 12 && datetimeGroups.day && datetimeGroups.day <= 31 && datetimeGroups.hour && datetimeGroups.hour >= 0 && datetimeGroups.hour < 24 && datetimeGroups.minute && datetimeGroups.minute >= 0 && datetimeGroups.minute <= 59) {\n var d = new Date(datetimeGroups.year, datetimeGroups.month - 1, datetimeGroups.day, datetimeGroups.hour, datetimeGroups.minute, datetimeGroups.second || 0);\n return d;\n }\n }\n\n return new Date(Date.parse(date));\n }\n },\n defaultDatetimeFormatter: function defaultDatetimeFormatter(date) {\n if (typeof this.datetimeFormatter === 'function') {\n return this.datetimeFormatter(date);\n } else if (typeof config.defaultDatetimeFormatter === 'function') {\n return config.defaultDatetimeFormatter(date);\n } else {\n return this.dtf.format(date);\n }\n },\n\n /*\r\n * Parse date from string\r\n */\n onChangeNativePicker: function onChangeNativePicker(event) {\n var date = event.target.value;\n var s = date ? date.split(/\\D/) : [];\n\n if (s.length >= 5) {\n var year = parseInt(s[0], 10);\n var month = parseInt(s[1], 10) - 1;\n var day = parseInt(s[2], 10);\n var hours = parseInt(s[3], 10);\n var minutes = parseInt(s[4], 10); // Seconds are omitted intentionally; they are unsupported by input\n // type=datetime-local and cause the control to fail native validation\n\n this.computedValue = new Date(year, month, day, hours, minutes);\n } else {\n this.computedValue = null;\n }\n },\n\n /*\r\n * Emit 'active-change' on datepicker active state change\r\n */\n onActiveChange: function onActiveChange(value) {\n this.$emit('active-change', value);\n },\n formatNative: function formatNative(value) {\n var date = new Date(value);\n\n if (value && !isNaN(date)) {\n var year = date.getFullYear();\n var month = date.getMonth() + 1;\n var day = date.getDate();\n var hours = date.getHours();\n var minutes = date.getMinutes();\n var seconds = date.getSeconds();\n return year + '-' + ((month < 10 ? '0' : '') + month) + '-' + ((day < 10 ? '0' : '') + day) + 'T' + ((hours < 10 ? '0' : '') + hours) + ':' + ((minutes < 10 ? '0' : '') + minutes) + ':' + ((seconds < 10 ? '0' : '') + seconds);\n }\n\n return '';\n },\n toggle: function toggle() {\n this.$refs.datepicker.toggle();\n }\n },\n mounted: function mounted() {\n if (!this.isMobile || this.inline) {\n // $refs attached, it's time to refresh datepicker (input)\n if (this.newValue) {\n this.$refs.datepicker.$forceUpdate();\n }\n }\n }\n};\n\n/* script */\nconst __vue_script__ = script;\n\n/* template */\nvar __vue_render__ = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (!_vm.isMobile || _vm.inline)?_c('b-datepicker',_vm._b({ref:\"datepicker\",attrs:{\"rounded\":_vm.rounded,\"open-on-focus\":_vm.openOnFocus,\"position\":_vm.position,\"loading\":_vm.loading,\"inline\":_vm.inline,\"editable\":_vm.editable,\"expanded\":_vm.expanded,\"close-on-click\":false,\"first-day-of-week\":_vm.firstDayOfWeek,\"rules-for-first-week\":_vm.rulesForFirstWeek,\"date-formatter\":_vm.defaultDatetimeFormatter,\"date-parser\":_vm.defaultDatetimeParser,\"min-date\":_vm.minDate,\"max-date\":_vm.maxDate,\"icon\":_vm.icon,\"icon-right\":_vm.iconRight,\"icon-right-clickable\":_vm.iconRightClickable,\"icon-pack\":_vm.iconPack,\"size\":_vm.datepickerSize,\"placeholder\":_vm.placeholder,\"horizontal-time-picker\":_vm.horizontalTimePicker,\"range\":false,\"disabled\":_vm.disabled,\"mobile-native\":_vm.isMobileNative,\"locale\":_vm.locale,\"focusable\":_vm.focusable,\"append-to-body\":_vm.appendToBody},on:{\"focus\":_vm.onFocus,\"blur\":_vm.onBlur,\"active-change\":_vm.onActiveChange,\"icon-right-click\":function($event){return _vm.$emit('icon-right-click')},\"change-month\":function($event){return _vm.$emit('change-month', $event)},\"change-year\":function($event){return _vm.$emit('change-year', $event)}},model:{value:(_vm.computedValue),callback:function ($$v) {_vm.computedValue=$$v;},expression:\"computedValue\"}},'b-datepicker',_vm.datepicker,false),[_c('nav',{staticClass:\"level is-mobile\"},[(_vm.$slots.left !== undefined)?_c('div',{staticClass:\"level-item has-text-centered\"},[_vm._t(\"left\")],2):_vm._e(),_c('div',{staticClass:\"level-item has-text-centered\"},[_c('b-timepicker',_vm._b({ref:\"timepicker\",attrs:{\"inline\":\"\",\"editable\":_vm.editable,\"min-time\":_vm.minTime,\"max-time\":_vm.maxTime,\"size\":_vm.timepickerSize,\"disabled\":_vm.timepickerDisabled,\"focusable\":_vm.focusable,\"mobile-native\":_vm.isMobileNative,\"locale\":_vm.locale},model:{value:(_vm.computedValue),callback:function ($$v) {_vm.computedValue=$$v;},expression:\"computedValue\"}},'b-timepicker',_vm.timepicker,false))],1),(_vm.$slots.right !== undefined)?_c('div',{staticClass:\"level-item has-text-centered\"},[_vm._t(\"right\")],2):_vm._e()])]):_c('b-input',_vm._b({ref:\"input\",attrs:{\"type\":\"datetime-local\",\"autocomplete\":\"off\",\"value\":_vm.formatNative(_vm.computedValue),\"placeholder\":_vm.placeholder,\"size\":_vm.size,\"icon\":_vm.icon,\"icon-pack\":_vm.iconPack,\"rounded\":_vm.rounded,\"loading\":_vm.loading,\"max\":_vm.formatNative(_vm.maxDate),\"min\":_vm.formatNative(_vm.minDate),\"disabled\":_vm.disabled,\"readonly\":false,\"use-html5-validation\":_vm.useHtml5Validation},on:{\"focus\":_vm.onFocus,\"blur\":_vm.onBlur},nativeOn:{\"change\":function($event){return _vm.onChangeNativePicker($event)}}},'b-input',_vm.$attrs,false))};\nvar __vue_staticRenderFns__ = [];\n\n /* style */\n const __vue_inject_styles__ = undefined;\n /* scoped */\n const __vue_scope_id__ = undefined;\n /* module identifier */\n const __vue_module_identifier__ = undefined;\n /* functional template */\n const __vue_is_functional_template__ = false;\n /* style inject */\n \n /* style inject SSR */\n \n\n \n var Datetimepicker = __vue_normalize__(\n { render: __vue_render__, staticRenderFns: __vue_staticRenderFns__ },\n __vue_inject_styles__,\n __vue_script__,\n __vue_scope_id__,\n __vue_is_functional_template__,\n __vue_module_identifier__,\n undefined,\n undefined\n );\n\nvar Plugin = {\n install: function install(Vue) {\n registerComponent(Vue, Datetimepicker);\n }\n};\nuse(Plugin);\n\nexport default Plugin;\nexport { Datetimepicker as BDatetimepicker };\n","import { removeElement } from './helpers.js';\nimport { c as config } from './chunk-e92e3389.js';\nimport { _ as __vue_normalize__ } from './chunk-cca88db8.js';\nimport { t as trapFocus } from './chunk-42f463e6.js';\n\n//\nvar script = {\n name: 'BModal',\n directives: {\n trapFocus: trapFocus\n },\n // deprecated, to replace with default 'value' in the next breaking change\n model: {\n prop: 'active',\n event: 'update:active'\n },\n props: {\n active: Boolean,\n component: [Object, Function, String],\n content: [String, Array],\n programmatic: Boolean,\n props: Object,\n events: Object,\n width: {\n type: [String, Number],\n default: 960\n },\n hasModalCard: Boolean,\n animation: {\n type: String,\n default: 'zoom-out'\n },\n canCancel: {\n type: [Array, Boolean],\n default: function _default() {\n return config.defaultModalCanCancel;\n }\n },\n onCancel: {\n type: Function,\n default: function _default() {}\n },\n scroll: {\n type: String,\n default: function _default() {\n return config.defaultModalScroll ? config.defaultModalScroll : 'clip';\n },\n validator: function validator(value) {\n return ['clip', 'keep'].indexOf(value) >= 0;\n }\n },\n fullScreen: Boolean,\n trapFocus: {\n type: Boolean,\n default: function _default() {\n return config.defaultTrapFocus;\n }\n },\n autoFocus: {\n type: Boolean,\n default: function _default() {\n return config.defaultAutoFocus;\n }\n },\n customClass: String,\n ariaRole: {\n type: String,\n validator: function validator(value) {\n return ['dialog', 'alertdialog'].indexOf(value) >= 0;\n }\n },\n ariaModal: Boolean,\n ariaLabel: {\n type: String,\n validator: function validator(value) {\n return Boolean(value);\n }\n },\n closeButtonAriaLabel: String,\n destroyOnHide: {\n type: Boolean,\n default: true\n }\n },\n data: function data() {\n return {\n isActive: this.active || false,\n savedScrollTop: null,\n newWidth: typeof this.width === 'number' ? this.width + 'px' : this.width,\n animating: !this.active,\n destroyed: !this.active\n };\n },\n computed: {\n cancelOptions: function cancelOptions() {\n return typeof this.canCancel === 'boolean' ? this.canCancel ? config.defaultModalCanCancel : [] : this.canCancel;\n },\n showX: function showX() {\n return this.cancelOptions.indexOf('x') >= 0;\n },\n customStyle: function customStyle() {\n if (!this.fullScreen) {\n return {\n maxWidth: this.newWidth\n };\n }\n\n return null;\n }\n },\n watch: {\n active: function active(value) {\n this.isActive = value;\n },\n isActive: function isActive(value) {\n var _this = this;\n\n if (value) this.destroyed = false;\n this.handleScroll();\n this.$nextTick(function () {\n if (value && _this.$el && _this.$el.focus && _this.autoFocus) {\n _this.$el.focus();\n }\n });\n }\n },\n methods: {\n handleScroll: function handleScroll() {\n if (typeof window === 'undefined') return;\n\n if (this.scroll === 'clip') {\n if (this.isActive) {\n document.documentElement.classList.add('is-clipped');\n } else {\n document.documentElement.classList.remove('is-clipped');\n }\n\n return;\n }\n\n this.savedScrollTop = !this.savedScrollTop ? document.documentElement.scrollTop : this.savedScrollTop;\n\n if (this.isActive) {\n document.body.classList.add('is-noscroll');\n } else {\n document.body.classList.remove('is-noscroll');\n }\n\n if (this.isActive) {\n document.body.style.top = \"-\".concat(this.savedScrollTop, \"px\");\n return;\n }\n\n document.documentElement.scrollTop = this.savedScrollTop;\n document.body.style.top = null;\n this.savedScrollTop = null;\n },\n\n /**\r\n * Close the Modal if canCancel and call the onCancel prop (function).\r\n */\n cancel: function cancel(method) {\n if (this.cancelOptions.indexOf(method) < 0) return;\n this.$emit('cancel', arguments);\n this.onCancel.apply(null, arguments);\n this.close();\n },\n\n /**\r\n * Call the onCancel prop (function).\r\n * Emit events, and destroy modal if it's programmatic.\r\n */\n close: function close() {\n var _this2 = this;\n\n this.$emit('close');\n this.$emit('update:active', false); // Timeout for the animation complete before destroying\n\n if (this.programmatic) {\n this.isActive = false;\n setTimeout(function () {\n _this2.$destroy();\n\n removeElement(_this2.$el);\n }, 150);\n }\n },\n\n /**\r\n * Keypress event that is bound to the document.\r\n */\n keyPress: function keyPress(_ref) {\n var key = _ref.key;\n if (this.isActive && (key === 'Escape' || key === 'Esc')) this.cancel('escape');\n },\n\n /**\r\n * Transition after-enter hook\r\n */\n afterEnter: function afterEnter() {\n this.animating = false;\n this.$emit('after-enter');\n },\n\n /**\r\n * Transition before-leave hook\r\n */\n beforeLeave: function beforeLeave() {\n this.animating = true;\n },\n\n /**\r\n * Transition after-leave hook\r\n */\n afterLeave: function afterLeave() {\n if (this.destroyOnHide) {\n this.destroyed = true;\n }\n\n this.$emit('after-leave');\n }\n },\n created: function created() {\n if (typeof window !== 'undefined') {\n document.addEventListener('keyup', this.keyPress);\n }\n },\n beforeMount: function beforeMount() {\n // Insert the Modal component in body tag\n // only if it's programmatic\n this.programmatic && document.body.appendChild(this.$el);\n },\n mounted: function mounted() {\n if (this.programmatic) this.isActive = true;else if (this.isActive) this.handleScroll();\n },\n beforeDestroy: function beforeDestroy() {\n if (typeof window !== 'undefined') {\n document.removeEventListener('keyup', this.keyPress); // reset scroll\n\n document.documentElement.classList.remove('is-clipped');\n var savedScrollTop = !this.savedScrollTop ? document.documentElement.scrollTop : this.savedScrollTop;\n document.body.classList.remove('is-noscroll');\n document.documentElement.scrollTop = savedScrollTop;\n document.body.style.top = null;\n }\n }\n};\n\n/* script */\nconst __vue_script__ = script;\n\n/* template */\nvar __vue_render__ = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('transition',{attrs:{\"name\":_vm.animation},on:{\"after-enter\":_vm.afterEnter,\"before-leave\":_vm.beforeLeave,\"after-leave\":_vm.afterLeave}},[(!_vm.destroyed)?_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.isActive),expression:\"isActive\"},{name:\"trap-focus\",rawName:\"v-trap-focus\",value:(_vm.trapFocus),expression:\"trapFocus\"}],staticClass:\"modal is-active\",class:[{'is-full-screen': _vm.fullScreen}, _vm.customClass],attrs:{\"tabindex\":\"-1\",\"role\":_vm.ariaRole,\"aria-label\":_vm.ariaLabel,\"aria-modal\":_vm.ariaModal}},[_c('div',{staticClass:\"modal-background\",on:{\"click\":function($event){return _vm.cancel('outside')}}}),_c('div',{staticClass:\"animation-content\",class:{ 'modal-content': !_vm.hasModalCard },style:(_vm.customStyle)},[(_vm.component)?_c(_vm.component,_vm._g(_vm._b({tag:\"component\",attrs:{\"can-cancel\":_vm.canCancel},on:{\"close\":_vm.close}},'component',_vm.props,false),_vm.events)):(_vm.content)?[_c('div',{domProps:{\"innerHTML\":_vm._s(_vm.content)}})]:_vm._t(\"default\",null,{\"canCancel\":_vm.canCancel,\"close\":_vm.close}),(_vm.showX)?_c('button',{directives:[{name:\"show\",rawName:\"v-show\",value:(!_vm.animating),expression:\"!animating\"}],staticClass:\"modal-close is-large\",attrs:{\"type\":\"button\",\"aria-label\":_vm.closeButtonAriaLabel},on:{\"click\":function($event){return _vm.cancel('x')}}}):_vm._e()],2)]):_vm._e()])};\nvar __vue_staticRenderFns__ = [];\n\n /* style */\n const __vue_inject_styles__ = undefined;\n /* scoped */\n const __vue_scope_id__ = undefined;\n /* module identifier */\n const __vue_module_identifier__ = undefined;\n /* functional template */\n const __vue_is_functional_template__ = false;\n /* style inject */\n \n /* style inject SSR */\n \n\n \n var Modal = __vue_normalize__(\n { render: __vue_render__, staticRenderFns: __vue_staticRenderFns__ },\n __vue_inject_styles__,\n __vue_script__,\n __vue_scope_id__,\n __vue_is_functional_template__,\n __vue_module_identifier__,\n undefined,\n undefined\n );\n\nexport { Modal as M };\n","import { _ as _defineProperty } from './chunk-455cdeae.js';\nimport { removeElement, merge } from './helpers.js';\nimport { c as config, V as VueInstance } from './chunk-e92e3389.js';\nimport { I as Icon } from './chunk-7e17a637.js';\nimport { _ as __vue_normalize__, r as registerComponent, a as registerComponentProgrammatic, u as use } from './chunk-cca88db8.js';\nimport { B as Button } from './chunk-b5576437.js';\nimport { t as trapFocus } from './chunk-42f463e6.js';\nimport { M as Modal } from './chunk-33e1434e.js';\n\nvar _components;\nvar script = {\n name: 'BDialog',\n components: (_components = {}, _defineProperty(_components, Icon.name, Icon), _defineProperty(_components, Button.name, Button), _components),\n directives: {\n trapFocus: trapFocus\n },\n extends: Modal,\n props: {\n title: String,\n message: [String, Array],\n icon: String,\n iconPack: String,\n hasIcon: Boolean,\n type: {\n type: String,\n default: 'is-primary'\n },\n size: String,\n confirmText: {\n type: String,\n default: function _default() {\n return config.defaultDialogConfirmText ? config.defaultDialogConfirmText : 'OK';\n }\n },\n cancelText: {\n type: String,\n default: function _default() {\n return config.defaultDialogCancelText ? config.defaultDialogCancelText : 'Cancel';\n }\n },\n hasInput: Boolean,\n // Used internally to know if it's prompt\n inputAttrs: {\n type: Object,\n default: function _default() {\n return {};\n }\n },\n onConfirm: {\n type: Function,\n default: function _default() {}\n },\n closeOnConfirm: {\n type: Boolean,\n default: true\n },\n container: {\n type: String,\n default: function _default() {\n return config.defaultContainerElement;\n }\n },\n focusOn: {\n type: String,\n default: 'confirm'\n },\n trapFocus: {\n type: Boolean,\n default: function _default() {\n return config.defaultTrapFocus;\n }\n },\n ariaRole: {\n type: String,\n validator: function validator(value) {\n return ['dialog', 'alertdialog'].indexOf(value) >= 0;\n }\n },\n ariaModal: Boolean\n },\n data: function data() {\n var prompt = this.hasInput ? this.inputAttrs.value || '' : '';\n return {\n prompt: prompt,\n isActive: false,\n validationMessage: '',\n isCompositing: false\n };\n },\n computed: {\n dialogClass: function dialogClass() {\n return [this.size, {\n 'has-custom-container': this.container !== null\n }];\n },\n\n /**\r\n * Icon name (MDI) based on the type.\r\n */\n iconByType: function iconByType() {\n switch (this.type) {\n case 'is-info':\n return 'information';\n\n case 'is-success':\n return 'check-circle';\n\n case 'is-warning':\n return 'alert';\n\n case 'is-danger':\n return 'alert-circle';\n\n default:\n return null;\n }\n },\n showCancel: function showCancel() {\n return this.cancelOptions.indexOf('button') >= 0;\n }\n },\n methods: {\n /**\r\n * If it's a prompt Dialog, validate the input.\r\n * Call the onConfirm prop (function) and close the Dialog.\r\n */\n confirm: function confirm() {\n var _this = this;\n\n if (this.$refs.input !== undefined) {\n if (this.isCompositing) return;\n\n if (!this.$refs.input.checkValidity()) {\n this.validationMessage = this.$refs.input.validationMessage;\n this.$nextTick(function () {\n return _this.$refs.input.select();\n });\n return;\n }\n }\n\n this.$emit('confirm', this.prompt);\n this.onConfirm(this.prompt, this);\n if (this.closeOnConfirm) this.close();\n },\n\n /**\r\n * Close the Dialog.\r\n */\n close: function close() {\n var _this2 = this;\n\n this.isActive = false; // Timeout for the animation complete before destroying\n\n setTimeout(function () {\n _this2.$destroy();\n\n removeElement(_this2.$el);\n }, 150);\n }\n },\n beforeMount: function beforeMount() {\n var _this3 = this;\n\n // Insert the Dialog component in the element container\n if (typeof window !== 'undefined') {\n this.$nextTick(function () {\n var container = document.querySelector(_this3.container) || document.body;\n container.appendChild(_this3.$el);\n });\n }\n },\n mounted: function mounted() {\n var _this4 = this;\n\n this.isActive = true;\n\n if (typeof this.inputAttrs.required === 'undefined') {\n this.$set(this.inputAttrs, 'required', true);\n }\n\n this.$nextTick(function () {\n // Handle which element receives focus\n if (_this4.hasInput) {\n _this4.$refs.input.focus();\n } else if (_this4.focusOn === 'cancel' && _this4.showCancel) {\n _this4.$refs.cancelButton.$el.focus();\n } else {\n _this4.$refs.confirmButton.$el.focus();\n }\n });\n }\n};\n\n/* script */\nconst __vue_script__ = script;\n\n/* template */\nvar __vue_render__ = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('transition',{attrs:{\"name\":_vm.animation}},[(_vm.isActive)?_c('div',{directives:[{name:\"trap-focus\",rawName:\"v-trap-focus\",value:(_vm.trapFocus),expression:\"trapFocus\"}],staticClass:\"dialog modal is-active\",class:_vm.dialogClass,attrs:{\"role\":_vm.ariaRole,\"aria-modal\":_vm.ariaModal}},[_c('div',{staticClass:\"modal-background\",on:{\"click\":function($event){return _vm.cancel('outside')}}}),_c('div',{staticClass:\"modal-card animation-content\"},[(_vm.title)?_c('header',{staticClass:\"modal-card-head\"},[_c('p',{staticClass:\"modal-card-title\"},[_vm._v(_vm._s(_vm.title))])]):_vm._e(),_c('section',{staticClass:\"modal-card-body\",class:{ 'is-titleless': !_vm.title, 'is-flex': _vm.hasIcon }},[_c('div',{staticClass:\"media\"},[(_vm.hasIcon && (_vm.icon || _vm.iconByType))?_c('div',{staticClass:\"media-left\"},[_c('b-icon',{attrs:{\"icon\":_vm.icon ? _vm.icon : _vm.iconByType,\"pack\":_vm.iconPack,\"type\":_vm.type,\"both\":!_vm.icon,\"size\":\"is-large\"}})],1):_vm._e(),_c('div',{staticClass:\"media-content\"},[_c('p',[(_vm.$slots.default)?[_vm._t(\"default\")]:[_c('div',{domProps:{\"innerHTML\":_vm._s(_vm.message)}})]],2),(_vm.hasInput)?_c('div',{staticClass:\"field\"},[_c('div',{staticClass:\"control\"},[(((_vm.inputAttrs).type)==='checkbox')?_c('input',_vm._b({directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.prompt),expression:\"prompt\"}],ref:\"input\",staticClass:\"input\",class:{ 'is-danger': _vm.validationMessage },attrs:{\"type\":\"checkbox\"},domProps:{\"checked\":Array.isArray(_vm.prompt)?_vm._i(_vm.prompt,null)>-1:(_vm.prompt)},on:{\"compositionstart\":function($event){_vm.isCompositing = true;},\"compositionend\":function($event){_vm.isCompositing = false;},\"keydown\":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"enter\",13,$event.key,\"Enter\")){ return null; }return _vm.confirm($event)},\"change\":function($event){var $$a=_vm.prompt,$$el=$event.target,$$c=$$el.checked?(true):(false);if(Array.isArray($$a)){var $$v=null,$$i=_vm._i($$a,$$v);if($$el.checked){$$i<0&&(_vm.prompt=$$a.concat([$$v]));}else{$$i>-1&&(_vm.prompt=$$a.slice(0,$$i).concat($$a.slice($$i+1)));}}else{_vm.prompt=$$c;}}}},'input',_vm.inputAttrs,false)):(((_vm.inputAttrs).type)==='radio')?_c('input',_vm._b({directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.prompt),expression:\"prompt\"}],ref:\"input\",staticClass:\"input\",class:{ 'is-danger': _vm.validationMessage },attrs:{\"type\":\"radio\"},domProps:{\"checked\":_vm._q(_vm.prompt,null)},on:{\"compositionstart\":function($event){_vm.isCompositing = true;},\"compositionend\":function($event){_vm.isCompositing = false;},\"keydown\":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"enter\",13,$event.key,\"Enter\")){ return null; }return _vm.confirm($event)},\"change\":function($event){_vm.prompt=null;}}},'input',_vm.inputAttrs,false)):_c('input',_vm._b({directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.prompt),expression:\"prompt\"}],ref:\"input\",staticClass:\"input\",class:{ 'is-danger': _vm.validationMessage },attrs:{\"type\":(_vm.inputAttrs).type},domProps:{\"value\":(_vm.prompt)},on:{\"compositionstart\":function($event){_vm.isCompositing = true;},\"compositionend\":function($event){_vm.isCompositing = false;},\"keydown\":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"enter\",13,$event.key,\"Enter\")){ return null; }return _vm.confirm($event)},\"input\":function($event){if($event.target.composing){ return; }_vm.prompt=$event.target.value;}}},'input',_vm.inputAttrs,false))]),_c('p',{staticClass:\"help is-danger\"},[_vm._v(_vm._s(_vm.validationMessage))])]):_vm._e()])])]),_c('footer',{staticClass:\"modal-card-foot\"},[(_vm.showCancel)?_c('b-button',{ref:\"cancelButton\",on:{\"click\":function($event){return _vm.cancel('button')}}},[_vm._v(_vm._s(_vm.cancelText))]):_vm._e(),_c('b-button',{ref:\"confirmButton\",attrs:{\"type\":_vm.type},on:{\"click\":_vm.confirm}},[_vm._v(_vm._s(_vm.confirmText))])],1)])]):_vm._e()])};\nvar __vue_staticRenderFns__ = [];\n\n /* style */\n const __vue_inject_styles__ = undefined;\n /* scoped */\n const __vue_scope_id__ = undefined;\n /* module identifier */\n const __vue_module_identifier__ = undefined;\n /* functional template */\n const __vue_is_functional_template__ = false;\n /* style inject */\n \n /* style inject SSR */\n \n\n \n var Dialog = __vue_normalize__(\n { render: __vue_render__, staticRenderFns: __vue_staticRenderFns__ },\n __vue_inject_styles__,\n __vue_script__,\n __vue_scope_id__,\n __vue_is_functional_template__,\n __vue_module_identifier__,\n undefined,\n undefined\n );\n\nvar localVueInstance;\n\nfunction open(propsData) {\n var slot;\n\n if (Array.isArray(propsData.message)) {\n slot = propsData.message;\n delete propsData.message;\n }\n\n var vm = typeof window !== 'undefined' && window.Vue ? window.Vue : localVueInstance || VueInstance;\n var DialogComponent = vm.extend(Dialog);\n var component = new DialogComponent({\n el: document.createElement('div'),\n propsData: propsData\n });\n\n if (slot) {\n component.$slots.default = slot;\n component.$forceUpdate();\n }\n\n if (!config.defaultProgrammaticPromise) {\n return component;\n } else {\n return new Promise(function (resolve) {\n component.$on('confirm', function (event) {\n return resolve({\n result: event || true,\n dialog: component\n });\n });\n component.$on('cancel', function () {\n return resolve({\n result: false,\n dialog: component\n });\n });\n });\n }\n}\n\nvar DialogProgrammatic = {\n alert: function alert(params) {\n if (typeof params === 'string') {\n params = {\n message: params\n };\n }\n\n var defaultParam = {\n canCancel: false\n };\n var propsData = merge(defaultParam, params);\n return open(propsData);\n },\n confirm: function confirm(params) {\n var defaultParam = {};\n var propsData = merge(defaultParam, params);\n return open(propsData);\n },\n prompt: function prompt(params) {\n var defaultParam = {\n hasInput: true\n };\n var propsData = merge(defaultParam, params);\n return open(propsData);\n }\n};\nvar Plugin = {\n install: function install(Vue) {\n localVueInstance = Vue;\n registerComponent(Vue, Dialog);\n registerComponentProgrammatic(Vue, 'dialog', DialogProgrammatic);\n }\n};\nuse(Plugin);\n\nexport default Plugin;\nexport { Dialog as BDialog, DialogProgrammatic };\n","import './chunk-455cdeae.js';\nimport './helpers.js';\nimport './chunk-e92e3389.js';\nimport { r as registerComponent, u as use } from './chunk-cca88db8.js';\nimport './chunk-60a03517.js';\nimport './chunk-42f463e6.js';\nimport { D as Dropdown, a as DropdownItem } from './chunk-ade5b253.js';\nexport { D as BDropdown, a as BDropdownItem } from './chunk-ade5b253.js';\n\nvar Plugin = {\n install: function install(Vue) {\n registerComponent(Vue, Dropdown);\n registerComponent(Vue, DropdownItem);\n }\n};\nuse(Plugin);\n\nexport default Plugin;\n","import './chunk-455cdeae.js';\nimport './chunk-e92e3389.js';\nimport { r as registerComponent, u as use } from './chunk-cca88db8.js';\nimport { F as Field } from './chunk-53788519.js';\nexport { F as BField } from './chunk-53788519.js';\n\nvar Plugin = {\n install: function install(Vue) {\n registerComponent(Vue, Field);\n }\n};\nuse(Plugin);\n\nexport default Plugin;\n","import './chunk-455cdeae.js';\nimport './helpers.js';\nimport './chunk-e92e3389.js';\nimport { I as Icon } from './chunk-7e17a637.js';\nexport { I as BIcon } from './chunk-7e17a637.js';\nimport { r as registerComponent, u as use } from './chunk-cca88db8.js';\n\nvar Plugin = {\n install: function install(Vue) {\n registerComponent(Vue, Icon);\n }\n};\nuse(Plugin);\n\nexport default Plugin;\n","import './chunk-455cdeae.js';\nimport './helpers.js';\nimport './chunk-e92e3389.js';\nimport { r as registerComponent, u as use } from './chunk-cca88db8.js';\nimport { I as Image } from './chunk-493ff0a9.js';\nexport { I as BImage } from './chunk-493ff0a9.js';\n\nvar Plugin = {\n install: function install(Vue) {\n registerComponent(Vue, Image);\n }\n};\nuse(Plugin);\n\nexport default Plugin;\n","import './chunk-455cdeae.js';\nimport './helpers.js';\nimport './chunk-e92e3389.js';\nimport './chunk-17b33cd2.js';\nimport './chunk-7e17a637.js';\nimport { r as registerComponent, u as use } from './chunk-cca88db8.js';\nimport { I as Input } from './chunk-72ecb544.js';\nexport { I as BInput } from './chunk-72ecb544.js';\n\nvar Plugin = {\n install: function install(Vue) {\n registerComponent(Vue, Input);\n }\n};\nuse(Plugin);\n\nexport default Plugin;\n","// Polyfills for SSR\nvar isSSR = typeof window === 'undefined';\nvar HTMLElement = isSSR ? Object : window.HTMLElement;\nvar File = isSSR ? Object : window.File;\n\nexport { File as F, HTMLElement as H };\n","import { removeElement } from './helpers.js';\nimport { _ as __vue_normalize__ } from './chunk-cca88db8.js';\nimport { H as HTMLElement } from './chunk-b9bdb0e4.js';\n\n//\nvar script = {\n name: 'BLoading',\n // deprecated, to replace with default 'value' in the next breaking change\n model: {\n prop: 'active',\n event: 'update:active'\n },\n props: {\n active: Boolean,\n programmatic: Boolean,\n container: [Object, Function, HTMLElement],\n isFullPage: {\n type: Boolean,\n default: true\n },\n animation: {\n type: String,\n default: 'fade'\n },\n canCancel: {\n type: Boolean,\n default: false\n },\n onCancel: {\n type: Function,\n default: function _default() {}\n }\n },\n data: function data() {\n return {\n isActive: this.active || false,\n displayInFullPage: this.isFullPage\n };\n },\n watch: {\n active: function active(value) {\n this.isActive = value;\n },\n isFullPage: function isFullPage(value) {\n this.displayInFullPage = value;\n }\n },\n methods: {\n /**\r\n * Close the Modal if canCancel.\r\n */\n cancel: function cancel() {\n if (!this.canCancel || !this.isActive) return;\n this.close();\n },\n\n /**\r\n * Emit events, and destroy modal if it's programmatic.\r\n */\n close: function close() {\n var _this = this;\n\n this.onCancel.apply(null, arguments);\n this.$emit('close');\n this.$emit('update:active', false); // Timeout for the animation complete before destroying\n\n if (this.programmatic) {\n this.isActive = false;\n setTimeout(function () {\n _this.$destroy();\n\n removeElement(_this.$el);\n }, 150);\n }\n },\n\n /**\r\n * Keypress event that is bound to the document.\r\n */\n keyPress: function keyPress(_ref) {\n var key = _ref.key;\n if (key === 'Escape' || key === 'Esc') this.cancel();\n }\n },\n created: function created() {\n if (typeof window !== 'undefined') {\n document.addEventListener('keyup', this.keyPress);\n }\n },\n beforeMount: function beforeMount() {\n // Insert the Loading component in body tag\n // only if it's programmatic\n if (this.programmatic) {\n if (!this.container) {\n document.body.appendChild(this.$el);\n } else {\n this.displayInFullPage = false;\n this.$emit('update:is-full-page', false);\n this.container.appendChild(this.$el);\n }\n }\n },\n mounted: function mounted() {\n if (this.programmatic) this.isActive = true;\n },\n beforeDestroy: function beforeDestroy() {\n if (typeof window !== 'undefined') {\n document.removeEventListener('keyup', this.keyPress);\n }\n }\n};\n\n/* script */\nconst __vue_script__ = script;\n\n/* template */\nvar __vue_render__ = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('transition',{attrs:{\"name\":_vm.animation}},[_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.isActive),expression:\"isActive\"}],staticClass:\"loading-overlay is-active\",class:{ 'is-full-page': _vm.displayInFullPage }},[_c('div',{staticClass:\"loading-background\",on:{\"click\":_vm.cancel}}),_vm._t(\"default\",[_c('div',{staticClass:\"loading-icon\"})])],2)])};\nvar __vue_staticRenderFns__ = [];\n\n /* style */\n const __vue_inject_styles__ = undefined;\n /* scoped */\n const __vue_scope_id__ = undefined;\n /* module identifier */\n const __vue_module_identifier__ = undefined;\n /* functional template */\n const __vue_is_functional_template__ = false;\n /* style inject */\n \n /* style inject SSR */\n \n\n \n var Loading = __vue_normalize__(\n { render: __vue_render__, staticRenderFns: __vue_staticRenderFns__ },\n __vue_inject_styles__,\n __vue_script__,\n __vue_scope_id__,\n __vue_is_functional_template__,\n __vue_module_identifier__,\n undefined,\n undefined\n );\n\nexport { Loading as L };\n","import './chunk-455cdeae.js';\nimport { merge } from './helpers.js';\nimport { V as VueInstance } from './chunk-e92e3389.js';\nimport { r as registerComponent, a as registerComponentProgrammatic, u as use } from './chunk-cca88db8.js';\nimport './chunk-b9bdb0e4.js';\nimport { L as Loading } from './chunk-6d0f2352.js';\nexport { L as BLoading } from './chunk-6d0f2352.js';\n\nvar localVueInstance;\nvar LoadingProgrammatic = {\n open: function open(params) {\n var defaultParam = {\n programmatic: true\n };\n var propsData = merge(defaultParam, params);\n var vm = typeof window !== 'undefined' && window.Vue ? window.Vue : localVueInstance || VueInstance;\n var LoadingComponent = vm.extend(Loading);\n return new LoadingComponent({\n el: document.createElement('div'),\n propsData: propsData\n });\n }\n};\nvar Plugin = {\n install: function install(Vue) {\n localVueInstance = Vue;\n registerComponent(Vue, Loading);\n registerComponentProgrammatic(Vue, 'loading', LoadingProgrammatic);\n }\n};\nuse(Plugin);\n\nexport default Plugin;\nexport { LoadingProgrammatic };\n","import { _ as _defineProperty } from './chunk-455cdeae.js';\nimport './helpers.js';\nimport { c as config } from './chunk-e92e3389.js';\nimport { I as Icon } from './chunk-7e17a637.js';\nimport { _ as __vue_normalize__, r as registerComponent, u as use } from './chunk-cca88db8.js';\n\n//\n//\n//\n//\n//\n//\nvar script = {\n name: 'BMenu',\n props: {\n accordion: {\n type: Boolean,\n default: true\n },\n activable: {\n type: Boolean,\n default: true\n }\n },\n data: function data() {\n return {\n _isMenu: true // Used by MenuItem\n\n };\n }\n};\n\n/* script */\nconst __vue_script__ = script;\n\n/* template */\nvar __vue_render__ = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"menu\"},[_vm._t(\"default\")],2)};\nvar __vue_staticRenderFns__ = [];\n\n /* style */\n const __vue_inject_styles__ = undefined;\n /* scoped */\n const __vue_scope_id__ = undefined;\n /* module identifier */\n const __vue_module_identifier__ = undefined;\n /* functional template */\n const __vue_is_functional_template__ = false;\n /* style inject */\n \n /* style inject SSR */\n \n\n \n var Menu = __vue_normalize__(\n { render: __vue_render__, staticRenderFns: __vue_staticRenderFns__ },\n __vue_inject_styles__,\n __vue_script__,\n __vue_scope_id__,\n __vue_is_functional_template__,\n __vue_module_identifier__,\n undefined,\n undefined\n );\n\nvar script$1 = {\n name: 'BMenuList',\n functional: true,\n props: {\n label: String,\n icon: String,\n iconPack: String,\n ariaRole: {\n type: String,\n default: ''\n },\n size: {\n type: String,\n default: 'is-small'\n }\n },\n render: function render(createElement, context) {\n var vlabel = null;\n var slots = context.slots();\n\n if (context.props.label || slots.label) {\n vlabel = createElement('p', {\n attrs: {\n 'class': 'menu-label'\n }\n }, context.props.label ? context.props.icon ? [createElement('b-icon', {\n props: {\n 'icon': context.props.icon,\n 'pack': context.props.iconPack,\n 'size': context.props.size\n }\n }), createElement('span', {}, context.props.label)] : context.props.label : slots.label);\n }\n\n var vnode = createElement('ul', {\n attrs: {\n 'class': 'menu-list',\n 'role': context.props.ariaRole === 'menu' ? context.props.ariaRole : null\n }\n }, slots.default);\n return vlabel ? [vlabel, vnode] : vnode;\n }\n};\n\n/* script */\nconst __vue_script__$1 = script$1;\n\n/* template */\n\n /* style */\n const __vue_inject_styles__$1 = undefined;\n /* scoped */\n const __vue_scope_id__$1 = undefined;\n /* module identifier */\n const __vue_module_identifier__$1 = undefined;\n /* functional template */\n const __vue_is_functional_template__$1 = undefined;\n /* style inject */\n \n /* style inject SSR */\n \n\n \n var MenuList = __vue_normalize__(\n {},\n __vue_inject_styles__$1,\n __vue_script__$1,\n __vue_scope_id__$1,\n __vue_is_functional_template__$1,\n __vue_module_identifier__$1,\n undefined,\n undefined\n );\n\nvar script$2 = {\n name: 'BMenuItem',\n components: _defineProperty({}, Icon.name, Icon),\n inheritAttrs: false,\n // deprecated, to replace with default 'value' in the next breaking change\n model: {\n prop: 'active',\n event: 'update:active'\n },\n props: {\n label: String,\n active: Boolean,\n expanded: Boolean,\n disabled: Boolean,\n iconPack: String,\n icon: String,\n animation: {\n type: String,\n default: 'slide'\n },\n tag: {\n type: String,\n default: 'a',\n validator: function validator(value) {\n return config.defaultLinkTags.indexOf(value) >= 0;\n }\n },\n ariaRole: {\n type: String,\n default: ''\n },\n size: {\n type: String,\n default: 'is-small'\n }\n },\n data: function data() {\n return {\n newActive: this.active,\n newExpanded: this.expanded\n };\n },\n computed: {\n ariaRoleMenu: function ariaRoleMenu() {\n return this.ariaRole === 'menuitem' ? this.ariaRole : null;\n }\n },\n watch: {\n active: function active(value) {\n this.newActive = value;\n },\n expanded: function expanded(value) {\n this.newExpanded = value;\n }\n },\n methods: {\n onClick: function onClick(event) {\n if (this.disabled) return;\n var menu = this.getMenu();\n this.reset(this.$parent, menu);\n this.newExpanded = this.$props.expanded || !this.newExpanded;\n this.$emit('update:expanded', this.newExpanded);\n\n if (menu && menu.activable) {\n this.newActive = true;\n this.$emit('update:active', this.newActive);\n }\n },\n reset: function reset(parent, menu) {\n var _this = this;\n\n var items = parent.$children.filter(function (c) {\n return c.name === _this.name;\n });\n items.forEach(function (item) {\n if (item !== _this) {\n _this.reset(item, menu);\n\n if (!parent.$data._isMenu || parent.$data._isMenu && parent.accordion) {\n item.newExpanded = false;\n item.$emit('update:expanded', item.newActive);\n }\n\n if (menu && menu.activable) {\n item.newActive = false;\n item.$emit('update:active', item.newActive);\n }\n }\n });\n },\n getMenu: function getMenu() {\n var parent = this.$parent;\n\n while (parent && !parent.$data._isMenu) {\n parent = parent.$parent;\n }\n\n return parent;\n }\n }\n};\n\n/* script */\nconst __vue_script__$2 = script$2;\n\n/* template */\nvar __vue_render__$1 = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('li',{attrs:{\"role\":_vm.ariaRoleMenu}},[_c(_vm.tag,_vm._g(_vm._b({tag:\"component\",class:{\n 'is-active': _vm.newActive,\n 'is-expanded': _vm.newExpanded,\n 'is-disabled': _vm.disabled,\n 'icon-text': _vm.icon,\n },on:{\"click\":function($event){return _vm.onClick($event)}}},'component',_vm.$attrs,false),_vm.$listeners),[(_vm.icon)?_c('b-icon',{attrs:{\"icon\":_vm.icon,\"pack\":_vm.iconPack,\"size\":_vm.size}}):_vm._e(),(_vm.label)?_c('span',[_vm._v(\" \"+_vm._s(_vm.label)+\" \")]):_vm._t(\"label\",null,{\"expanded\":_vm.newExpanded,\"active\":_vm.newActive})],2),(_vm.$slots.default)?[_c('transition',{attrs:{\"name\":_vm.animation}},[_c('ul',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.newExpanded),expression:\"newExpanded\"}]},[_vm._t(\"default\")],2)])]:_vm._e()],2)};\nvar __vue_staticRenderFns__$1 = [];\n\n /* style */\n const __vue_inject_styles__$2 = undefined;\n /* scoped */\n const __vue_scope_id__$2 = undefined;\n /* module identifier */\n const __vue_module_identifier__$2 = undefined;\n /* functional template */\n const __vue_is_functional_template__$2 = false;\n /* style inject */\n \n /* style inject SSR */\n \n\n \n var MenuItem = __vue_normalize__(\n { render: __vue_render__$1, staticRenderFns: __vue_staticRenderFns__$1 },\n __vue_inject_styles__$2,\n __vue_script__$2,\n __vue_scope_id__$2,\n __vue_is_functional_template__$2,\n __vue_module_identifier__$2,\n undefined,\n undefined\n );\n\nvar Plugin = {\n install: function install(Vue) {\n registerComponent(Vue, Menu);\n registerComponent(Vue, MenuList);\n registerComponent(Vue, MenuItem);\n }\n};\nuse(Plugin);\n\nexport default Plugin;\nexport { Menu as BMenu, MenuItem as BMenuItem, MenuList as BMenuList };\n","import { _ as _defineProperty } from './chunk-455cdeae.js';\nimport { I as Icon } from './chunk-7e17a637.js';\n\nvar MessageMixin = {\n components: _defineProperty({}, Icon.name, Icon),\n // deprecated, to replace with default 'value' in the next breaking change\n model: {\n prop: 'active',\n event: 'update:active'\n },\n props: {\n active: {\n type: Boolean,\n default: true\n },\n title: String,\n closable: {\n type: Boolean,\n default: true\n },\n message: String,\n type: String,\n hasIcon: Boolean,\n size: String,\n icon: String,\n iconPack: String,\n iconSize: String,\n autoClose: {\n type: Boolean,\n default: false\n },\n duration: {\n type: Number,\n default: 2000\n },\n progressBar: {\n type: Boolean,\n default: false\n }\n },\n data: function data() {\n return {\n isActive: this.active,\n remainingTime: this.duration / 1000,\n // in seconds\n newIconSize: this.iconSize || this.size || 'is-large'\n };\n },\n watch: {\n active: function active(value) {\n this.isActive = value;\n },\n isActive: function isActive(value) {\n if (value) {\n this.setAutoClose();\n this.setDurationProgress();\n } else {\n if (this.timer) {\n clearTimeout(this.timer);\n }\n }\n }\n },\n computed: {\n /**\r\n * Icon name (MDI) based on type.\r\n */\n computedIcon: function computedIcon() {\n if (this.icon) {\n return this.icon;\n }\n\n switch (this.type) {\n case 'is-info':\n return 'information';\n\n case 'is-success':\n return 'check-circle';\n\n case 'is-warning':\n return 'alert';\n\n case 'is-danger':\n return 'alert-circle';\n\n default:\n return null;\n }\n }\n },\n methods: {\n /**\r\n * Close the Message and emit events.\r\n */\n close: function close() {\n this.isActive = false;\n this.resetDurationProgress();\n this.$emit('close');\n this.$emit('update:active', false);\n },\n click: function click() {\n this.$emit('click');\n },\n\n /**\r\n * Set timer to auto close message\r\n */\n setAutoClose: function setAutoClose() {\n var _this = this;\n\n if (this.autoClose) {\n this.timer = setTimeout(function () {\n if (_this.isActive) {\n _this.close();\n }\n }, this.duration);\n }\n },\n setDurationProgress: function setDurationProgress() {\n var _this2 = this;\n\n if (this.progressBar) {\n /**\r\n * Runs every one second to set the duration passed before\r\n * the alert will auto close to show it in the progress bar (Remaining Time)\r\n */\n this.$buefy.globalNoticeInterval = setInterval(function () {\n if (_this2.remainingTime !== 0) {\n _this2.remainingTime -= 1;\n } else {\n _this2.resetDurationProgress();\n }\n }, 1000);\n }\n },\n resetDurationProgress: function resetDurationProgress() {\n var _this3 = this;\n\n /**\r\n * Wait until the component get closed and then reset\r\n **/\n setTimeout(function () {\n _this3.remainingTime = _this3.duration / 1000;\n clearInterval(_this3.$buefy.globalNoticeInterval);\n }, 100);\n }\n },\n mounted: function mounted() {\n this.setAutoClose();\n }\n};\n\nexport { MessageMixin as M };\n","import './chunk-455cdeae.js';\nimport './helpers.js';\nimport './chunk-e92e3389.js';\nimport './chunk-7e17a637.js';\nimport { _ as __vue_normalize__, r as registerComponent, u as use } from './chunk-cca88db8.js';\nimport { M as MessageMixin } from './chunk-7bb9107f.js';\n\n//\nvar script = {\n name: 'BMessage',\n mixins: [MessageMixin],\n props: {\n ariaCloseLabel: String\n }\n};\n\n/* script */\nconst __vue_script__ = script;\n\n/* template */\nvar __vue_render__ = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('transition',{attrs:{\"name\":\"fade\"}},[_c('article',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.isActive),expression:\"isActive\"}],staticClass:\"message\",class:[_vm.type, _vm.size]},[(_vm.$slots.header || _vm.title)?_c('header',{staticClass:\"message-header\"},[(_vm.$slots.header)?_c('div',[_vm._t(\"header\")],2):(_vm.title)?_c('p',[_vm._v(_vm._s(_vm.title))]):_vm._e(),(_vm.closable)?_c('button',{staticClass:\"delete\",attrs:{\"type\":\"button\",\"aria-label\":_vm.ariaCloseLabel},on:{\"click\":_vm.close}}):_vm._e()]):_vm._e(),(_vm.$slots.default)?_c('section',{staticClass:\"message-body\"},[_c('div',{staticClass:\"media\"},[(_vm.computedIcon && _vm.hasIcon)?_c('div',{staticClass:\"media-left\"},[_c('b-icon',{class:_vm.type,attrs:{\"icon\":_vm.computedIcon,\"pack\":_vm.iconPack,\"both\":\"\",\"size\":_vm.newIconSize}})],1):_vm._e(),_c('div',{staticClass:\"media-content\"},[_vm._t(\"default\")],2)])]):_vm._e(),(_vm.autoClose && _vm.progressBar)?_c('b-progress',{attrs:{\"value\":_vm.remainingTime - 1,\"max\":_vm.duration / 1000 - 1,\"type\":_vm.type,\"rounded\":false}}):_vm._e()],1)])};\nvar __vue_staticRenderFns__ = [];\n\n /* style */\n const __vue_inject_styles__ = undefined;\n /* scoped */\n const __vue_scope_id__ = undefined;\n /* module identifier */\n const __vue_module_identifier__ = undefined;\n /* functional template */\n const __vue_is_functional_template__ = false;\n /* style inject */\n \n /* style inject SSR */\n \n\n \n var Message = __vue_normalize__(\n { render: __vue_render__, staticRenderFns: __vue_staticRenderFns__ },\n __vue_inject_styles__,\n __vue_script__,\n __vue_scope_id__,\n __vue_is_functional_template__,\n __vue_module_identifier__,\n undefined,\n undefined\n );\n\nvar Plugin = {\n install: function install(Vue) {\n registerComponent(Vue, Message);\n }\n};\nuse(Plugin);\n\nexport default Plugin;\nexport { Message as BMessage };\n","import './chunk-455cdeae.js';\nimport { merge } from './helpers.js';\nimport { V as VueInstance } from './chunk-e92e3389.js';\nimport { r as registerComponent, a as registerComponentProgrammatic, u as use } from './chunk-cca88db8.js';\nimport './chunk-42f463e6.js';\nimport { M as Modal } from './chunk-33e1434e.js';\nexport { M as BModal } from './chunk-33e1434e.js';\n\nvar localVueInstance;\nvar ModalProgrammatic = {\n open: function open(params) {\n var parent;\n\n if (typeof params === 'string') {\n params = {\n content: params\n };\n }\n\n var defaultParam = {\n programmatic: true\n };\n\n if (params.parent) {\n parent = params.parent;\n delete params.parent;\n }\n\n var slot;\n\n if (Array.isArray(params.content)) {\n slot = params.content;\n delete params.content;\n }\n\n var propsData = merge(defaultParam, params);\n var vm = typeof window !== 'undefined' && window.Vue ? window.Vue : localVueInstance || VueInstance;\n var ModalComponent = vm.extend(Modal);\n var component = new ModalComponent({\n parent: parent,\n el: document.createElement('div'),\n propsData: propsData\n });\n\n if (slot) {\n component.$slots.default = slot;\n component.$forceUpdate();\n }\n\n return component;\n }\n};\nvar Plugin = {\n install: function install(Vue) {\n localVueInstance = Vue;\n registerComponent(Vue, Modal);\n registerComponentProgrammatic(Vue, 'modal', ModalProgrammatic);\n }\n};\nuse(Plugin);\n\nexport default Plugin;\nexport { ModalProgrammatic };\n","import { removeElement } from './helpers.js';\nimport { c as config } from './chunk-e92e3389.js';\n\nvar NoticeMixin = {\n props: {\n type: {\n type: String,\n default: 'is-dark'\n },\n message: [String, Array],\n duration: Number,\n queue: {\n type: Boolean,\n default: undefined\n },\n indefinite: {\n type: Boolean,\n default: false\n },\n pauseOnHover: {\n type: Boolean,\n default: false\n },\n position: {\n type: String,\n default: 'is-top',\n validator: function validator(value) {\n return ['is-top-right', 'is-top', 'is-top-left', 'is-bottom-right', 'is-bottom', 'is-bottom-left'].indexOf(value) > -1;\n }\n },\n container: String\n },\n data: function data() {\n return {\n isActive: false,\n isPaused: false,\n parentTop: null,\n parentBottom: null,\n newContainer: this.container || config.defaultContainerElement\n };\n },\n computed: {\n correctParent: function correctParent() {\n switch (this.position) {\n case 'is-top-right':\n case 'is-top':\n case 'is-top-left':\n return this.parentTop;\n\n case 'is-bottom-right':\n case 'is-bottom':\n case 'is-bottom-left':\n return this.parentBottom;\n }\n },\n transition: function transition() {\n switch (this.position) {\n case 'is-top-right':\n case 'is-top':\n case 'is-top-left':\n return {\n enter: 'fadeInDown',\n leave: 'fadeOut'\n };\n\n case 'is-bottom-right':\n case 'is-bottom':\n case 'is-bottom-left':\n return {\n enter: 'fadeInUp',\n leave: 'fadeOut'\n };\n }\n }\n },\n methods: {\n pause: function pause() {\n if (this.pauseOnHover && !this.indefinite) {\n this.isPaused = true;\n clearInterval(this.$buefy.globalNoticeInterval);\n }\n },\n removePause: function removePause() {\n if (this.pauseOnHover && !this.indefinite) {\n this.isPaused = false;\n this.close();\n }\n },\n shouldQueue: function shouldQueue() {\n var queue = this.queue !== undefined ? this.queue : config.defaultNoticeQueue;\n if (!queue) return false;\n return this.parentTop.childElementCount > 0 || this.parentBottom.childElementCount > 0;\n },\n click: function click() {\n this.$emit('click');\n },\n close: function close() {\n var _this = this;\n\n if (!this.isPaused) {\n clearTimeout(this.timer);\n this.isActive = false;\n this.$emit('close'); // Timeout for the animation complete before destroying\n\n setTimeout(function () {\n _this.$destroy();\n\n removeElement(_this.$el);\n }, 150);\n }\n },\n timeoutCallback: function timeoutCallback() {\n return this.close();\n },\n showNotice: function showNotice() {\n var _this2 = this;\n\n if (this.shouldQueue()) this.correctParent.innerHTML = '';\n this.correctParent.insertAdjacentElement('afterbegin', this.$el);\n this.isActive = true;\n\n if (!this.indefinite) {\n this.timer = setTimeout(function () {\n return _this2.timeoutCallback();\n }, this.newDuration);\n }\n },\n setupContainer: function setupContainer() {\n this.parentTop = document.querySelector((this.newContainer ? this.newContainer : 'body') + '>.notices.is-top');\n this.parentBottom = document.querySelector((this.newContainer ? this.newContainer : 'body') + '>.notices.is-bottom');\n if (this.parentTop && this.parentBottom) return;\n\n if (!this.parentTop) {\n this.parentTop = document.createElement('div');\n this.parentTop.className = 'notices is-top';\n }\n\n if (!this.parentBottom) {\n this.parentBottom = document.createElement('div');\n this.parentBottom.className = 'notices is-bottom';\n }\n\n var container = document.querySelector(this.newContainer) || document.body;\n container.appendChild(this.parentTop);\n container.appendChild(this.parentBottom);\n\n if (this.newContainer) {\n this.parentTop.classList.add('has-custom-container');\n this.parentBottom.classList.add('has-custom-container');\n }\n }\n },\n beforeMount: function beforeMount() {\n this.setupContainer();\n },\n mounted: function mounted() {\n this.showNotice();\n }\n};\n\nexport { NoticeMixin as N };\n","import './chunk-455cdeae.js';\nimport { removeElement, merge } from './helpers.js';\nimport { c as config, V as VueInstance } from './chunk-e92e3389.js';\nimport './chunk-7e17a637.js';\nimport { _ as __vue_normalize__, r as registerComponent, a as registerComponentProgrammatic, u as use } from './chunk-cca88db8.js';\nimport { M as MessageMixin } from './chunk-7bb9107f.js';\nimport { N as NoticeMixin } from './chunk-a32d1427.js';\n\n//\nvar script = {\n name: 'BNotification',\n mixins: [MessageMixin],\n props: {\n position: String,\n ariaCloseLabel: String,\n animation: {\n type: String,\n default: 'fade'\n }\n }\n};\n\n/* script */\nconst __vue_script__ = script;\n\n/* template */\nvar __vue_render__ = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('transition',{attrs:{\"name\":_vm.animation}},[_c('article',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.isActive),expression:\"isActive\"}],staticClass:\"notification\",class:[_vm.type, _vm.position],on:{\"click\":_vm.click}},[(_vm.closable)?_c('button',{staticClass:\"delete\",attrs:{\"type\":\"button\",\"aria-label\":_vm.ariaCloseLabel},on:{\"click\":_vm.close}}):_vm._e(),(_vm.$slots.default || _vm.message)?_c('div',{staticClass:\"media\"},[(_vm.computedIcon && _vm.hasIcon)?_c('div',{staticClass:\"media-left\"},[_c('b-icon',{attrs:{\"icon\":_vm.computedIcon,\"pack\":_vm.iconPack,\"size\":_vm.newIconSize,\"both\":\"\",\"aria-hidden\":\"\"}})],1):_vm._e(),_c('div',{staticClass:\"media-content\"},[(_vm.$slots.default)?[_vm._t(\"default\")]:[_c('p',{staticClass:\"text\",domProps:{\"innerHTML\":_vm._s(_vm.message)}})]],2)]):_vm._e(),(_vm.progressBar)?_c('b-progress',{attrs:{\"value\":_vm.remainingTime - 1,\"max\":_vm.duration / 1000 - 1,\"type\":_vm.type,\"rounded\":false}}):_vm._e()],1)])};\nvar __vue_staticRenderFns__ = [];\n\n /* style */\n const __vue_inject_styles__ = undefined;\n /* scoped */\n const __vue_scope_id__ = undefined;\n /* module identifier */\n const __vue_module_identifier__ = undefined;\n /* functional template */\n const __vue_is_functional_template__ = false;\n /* style inject */\n \n /* style inject SSR */\n \n\n \n var Notification = __vue_normalize__(\n { render: __vue_render__, staticRenderFns: __vue_staticRenderFns__ },\n __vue_inject_styles__,\n __vue_script__,\n __vue_scope_id__,\n __vue_is_functional_template__,\n __vue_module_identifier__,\n undefined,\n undefined\n );\n\n//\nvar script$1 = {\n name: 'BNotificationNotice',\n mixins: [NoticeMixin],\n data: function data() {\n return {\n newDuration: this.duration || config.defaultNotificationDuration\n };\n },\n methods: {\n close: function close() {\n var _this = this;\n\n if (!this.isPaused) {\n clearTimeout(this.timer);\n this.$refs.notification.isActive = false;\n this.$emit('close'); // Timeout for the animation complete before destroying\n\n setTimeout(function () {\n _this.$destroy();\n\n removeElement(_this.$el);\n }, 150);\n }\n }\n }\n};\n\n/* script */\nconst __vue_script__$1 = script$1;\n\n/* template */\nvar __vue_render__$1 = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('b-notification',_vm._b({ref:\"notification\",on:{\"click\":_vm.click,\"close\":_vm.close},nativeOn:{\"mouseenter\":function($event){return _vm.pause($event)},\"mouseleave\":function($event){return _vm.removePause($event)}}},'b-notification',_vm.$options.propsData,false),[_vm._t(\"default\")],2)};\nvar __vue_staticRenderFns__$1 = [];\n\n /* style */\n const __vue_inject_styles__$1 = undefined;\n /* scoped */\n const __vue_scope_id__$1 = undefined;\n /* module identifier */\n const __vue_module_identifier__$1 = undefined;\n /* functional template */\n const __vue_is_functional_template__$1 = false;\n /* style inject */\n \n /* style inject SSR */\n \n\n \n var NotificationNotice = __vue_normalize__(\n { render: __vue_render__$1, staticRenderFns: __vue_staticRenderFns__$1 },\n __vue_inject_styles__$1,\n __vue_script__$1,\n __vue_scope_id__$1,\n __vue_is_functional_template__$1,\n __vue_module_identifier__$1,\n undefined,\n undefined\n );\n\nvar localVueInstance;\nvar NotificationProgrammatic = {\n open: function open(params) {\n var parent;\n\n if (typeof params === 'string') {\n params = {\n message: params\n };\n }\n\n var defaultParam = {\n position: config.defaultNotificationPosition || 'is-top-right'\n };\n\n if (params.parent) {\n parent = params.parent;\n delete params.parent;\n }\n\n var slot;\n\n if (Array.isArray(params.message)) {\n slot = params.message;\n delete params.message;\n } // fix animation\n\n\n params.active = false;\n var propsData = merge(defaultParam, params);\n var vm = typeof window !== 'undefined' && window.Vue ? window.Vue : localVueInstance || VueInstance;\n var NotificationNoticeComponent = vm.extend(NotificationNotice);\n var component = new NotificationNoticeComponent({\n parent: parent,\n el: document.createElement('div'),\n propsData: propsData\n });\n\n if (slot) {\n component.$slots.default = slot;\n component.$forceUpdate();\n } // fix animation\n\n\n component.$children[0].isActive = true;\n return component;\n }\n};\nvar Plugin = {\n install: function install(Vue) {\n localVueInstance = Vue;\n registerComponent(Vue, Notification);\n registerComponentProgrammatic(Vue, 'notification', NotificationProgrammatic);\n }\n};\nuse(Plugin);\n\nexport default Plugin;\nexport { Notification as BNotification, NotificationProgrammatic };\n","import { b as _typeof, _ as _defineProperty } from './chunk-455cdeae.js';\nimport { _ as __vue_normalize__, r as registerComponent, u as use } from './chunk-cca88db8.js';\n\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\nvar script = {\n name: 'NavbarBurger',\n props: {\n isOpened: {\n type: Boolean,\n default: false\n }\n }\n};\n\n/* script */\nconst __vue_script__ = script;\n\n/* template */\nvar __vue_render__ = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('a',_vm._g({staticClass:\"navbar-burger burger\",class:{ 'is-active': _vm.isOpened },attrs:{\"role\":\"button\",\"aria-label\":\"menu\",\"aria-expanded\":_vm.isOpened,\"tabindex\":\"0\"}},_vm.$listeners),[_c('span',{attrs:{\"aria-hidden\":\"true\"}}),_c('span',{attrs:{\"aria-hidden\":\"true\"}}),_c('span',{attrs:{\"aria-hidden\":\"true\"}})])};\nvar __vue_staticRenderFns__ = [];\n\n /* style */\n const __vue_inject_styles__ = undefined;\n /* scoped */\n const __vue_scope_id__ = undefined;\n /* module identifier */\n const __vue_module_identifier__ = undefined;\n /* functional template */\n const __vue_is_functional_template__ = false;\n /* style inject */\n \n /* style inject SSR */\n \n\n \n var NavbarBurger = __vue_normalize__(\n { render: __vue_render__, staticRenderFns: __vue_staticRenderFns__ },\n __vue_inject_styles__,\n __vue_script__,\n __vue_scope_id__,\n __vue_is_functional_template__,\n __vue_module_identifier__,\n undefined,\n undefined\n );\n\nvar isTouch = typeof window !== 'undefined' && ('ontouchstart' in window || navigator.msMaxTouchPoints > 0);\nvar events = isTouch ? ['touchstart', 'click'] : ['click'];\nvar instances = [];\n\nfunction processArgs(bindingValue) {\n var isFunction = typeof bindingValue === 'function';\n\n if (!isFunction && _typeof(bindingValue) !== 'object') {\n throw new Error(\"v-click-outside: Binding value should be a function or an object, \".concat(_typeof(bindingValue), \" given\"));\n }\n\n return {\n handler: isFunction ? bindingValue : bindingValue.handler,\n middleware: bindingValue.middleware || function (isClickOutside) {\n return isClickOutside;\n },\n events: bindingValue.events || events\n };\n}\n\nfunction onEvent(_ref) {\n var el = _ref.el,\n event = _ref.event,\n handler = _ref.handler,\n middleware = _ref.middleware;\n var isClickOutside = event.target !== el && !el.contains(event.target);\n\n if (!isClickOutside || !middleware(event, el)) {\n return;\n }\n\n handler(event, el);\n}\n\nfunction toggleEventListeners() {\n var _ref2 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},\n eventHandlers = _ref2.eventHandlers;\n\n var action = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'add';\n eventHandlers.forEach(function (_ref3) {\n var event = _ref3.event,\n handler = _ref3.handler;\n document[\"\".concat(action, \"EventListener\")](event, handler);\n });\n}\n\nfunction bind(el, _ref4) {\n var value = _ref4.value;\n\n var _processArgs = processArgs(value),\n _handler = _processArgs.handler,\n middleware = _processArgs.middleware,\n events = _processArgs.events;\n\n var instance = {\n el: el,\n eventHandlers: events.map(function (eventName) {\n return {\n event: eventName,\n handler: function handler(event) {\n return onEvent({\n event: event,\n el: el,\n handler: _handler,\n middleware: middleware\n });\n }\n };\n })\n };\n toggleEventListeners(instance, 'add');\n instances.push(instance);\n}\n\nfunction update(el, _ref5) {\n var value = _ref5.value;\n\n var _processArgs2 = processArgs(value),\n _handler2 = _processArgs2.handler,\n middleware = _processArgs2.middleware,\n events = _processArgs2.events; // `filter` instead of `find` for compat with IE\n\n\n var instance = instances.filter(function (instance) {\n return instance.el === el;\n })[0];\n toggleEventListeners(instance, 'remove');\n instance.eventHandlers = events.map(function (eventName) {\n return {\n event: eventName,\n handler: function handler(event) {\n return onEvent({\n event: event,\n el: el,\n handler: _handler2,\n middleware: middleware\n });\n }\n };\n });\n toggleEventListeners(instance, 'add');\n}\n\nfunction unbind(el) {\n // `filter` instead of `find` for compat with IE\n var instance = instances.filter(function (instance) {\n return instance.el === el;\n })[0];\n toggleEventListeners(instance, 'remove');\n}\n\nvar directive = {\n bind: bind,\n update: update,\n unbind: unbind,\n instances: instances\n};\n\nvar FIXED_TOP_CLASS = 'is-fixed-top';\nvar BODY_FIXED_TOP_CLASS = 'has-navbar-fixed-top';\nvar BODY_SPACED_FIXED_TOP_CLASS = 'has-spaced-navbar-fixed-top';\nvar FIXED_BOTTOM_CLASS = 'is-fixed-bottom';\nvar BODY_FIXED_BOTTOM_CLASS = 'has-navbar-fixed-bottom';\nvar BODY_SPACED_FIXED_BOTTOM_CLASS = 'has-spaced-navbar-fixed-bottom';\nvar BODY_CENTERED_CLASS = 'has-navbar-centered';\n\nvar isFilled = function isFilled(str) {\n return !!str;\n};\n\nvar script$1 = {\n name: 'BNavbar',\n components: {\n NavbarBurger: NavbarBurger\n },\n directives: {\n clickOutside: directive\n },\n // deprecated, to replace with default 'value' in the next breaking change\n model: {\n prop: 'active',\n event: 'update:active'\n },\n props: {\n type: [String, Object],\n transparent: {\n type: Boolean,\n default: false\n },\n fixedTop: {\n type: Boolean,\n default: false\n },\n fixedBottom: {\n type: Boolean,\n default: false\n },\n active: {\n type: Boolean,\n default: false\n },\n centered: {\n type: Boolean,\n default: false\n },\n wrapperClass: {\n type: [String, Array, Object]\n },\n closeOnClick: {\n type: Boolean,\n default: true\n },\n mobileBurger: {\n type: Boolean,\n default: true\n },\n spaced: Boolean,\n shadow: Boolean\n },\n data: function data() {\n return {\n internalIsActive: this.active,\n _isNavBar: true // Used internally by NavbarItem\n\n };\n },\n computed: {\n isOpened: function isOpened() {\n return this.internalIsActive;\n },\n computedClasses: function computedClasses() {\n var _ref;\n\n return [this.type, (_ref = {}, _defineProperty(_ref, FIXED_TOP_CLASS, this.fixedTop), _defineProperty(_ref, FIXED_BOTTOM_CLASS, this.fixedBottom), _defineProperty(_ref, BODY_CENTERED_CLASS, this.centered), _defineProperty(_ref, 'is-spaced', this.spaced), _defineProperty(_ref, 'has-shadow', this.shadow), _defineProperty(_ref, 'is-transparent', this.transparent), _ref)];\n }\n },\n watch: {\n active: {\n handler: function handler(active) {\n this.internalIsActive = active;\n },\n immediate: true\n },\n fixedTop: function fixedTop(isSet) {\n // toggle body class only on update to handle multiple navbar\n this.setBodyFixedTopClass(isSet);\n },\n bottomTop: function bottomTop(isSet) {\n // toggle body class only on update to handle multiple navbar\n this.setBodyFixedBottomClass(isSet);\n }\n },\n methods: {\n toggleActive: function toggleActive() {\n this.internalIsActive = !this.internalIsActive;\n this.emitUpdateParentEvent();\n },\n closeMenu: function closeMenu() {\n if (this.closeOnClick && this.internalIsActive) {\n this.internalIsActive = false;\n this.emitUpdateParentEvent();\n }\n },\n emitUpdateParentEvent: function emitUpdateParentEvent() {\n this.$emit('update:active', this.internalIsActive);\n },\n setBodyClass: function setBodyClass(className) {\n if (typeof window !== 'undefined') {\n document.body.classList.add(className);\n }\n },\n removeBodyClass: function removeBodyClass(className) {\n if (typeof window !== 'undefined') {\n document.body.classList.remove(className);\n }\n },\n checkIfFixedPropertiesAreColliding: function checkIfFixedPropertiesAreColliding() {\n var areColliding = this.fixedTop && this.fixedBottom;\n\n if (areColliding) {\n throw new Error('You should choose if the BNavbar is fixed bottom or fixed top, but not both');\n }\n },\n genNavbar: function genNavbar(createElement) {\n var navBarSlots = [this.genNavbarBrandNode(createElement), this.genNavbarSlotsNode(createElement)];\n\n if (!isFilled(this.wrapperClass)) {\n return this.genNavbarSlots(createElement, navBarSlots);\n } // It wraps the slots into a div with the provided wrapperClass prop\n\n\n var navWrapper = createElement('div', {\n class: this.wrapperClass\n }, navBarSlots);\n return this.genNavbarSlots(createElement, [navWrapper]);\n },\n genNavbarSlots: function genNavbarSlots(createElement, slots) {\n return createElement('nav', {\n staticClass: 'navbar',\n class: this.computedClasses,\n attrs: {\n role: 'navigation',\n 'aria-label': 'main navigation'\n },\n directives: [{\n name: 'click-outside',\n value: this.closeMenu\n }]\n }, slots);\n },\n genNavbarBrandNode: function genNavbarBrandNode(createElement) {\n return createElement('div', {\n class: 'navbar-brand'\n }, [this.$slots.brand, this.genBurgerNode(createElement)]);\n },\n genBurgerNode: function genBurgerNode(createElement) {\n var _this = this;\n\n if (this.mobileBurger) {\n var defaultBurgerNode = createElement('navbar-burger', {\n props: {\n isOpened: this.isOpened\n },\n on: {\n click: this.toggleActive,\n keyup: function keyup(event) {\n if (event.keyCode !== 13) return;\n\n _this.toggleActive();\n }\n }\n });\n var hasBurgerSlot = !!this.$scopedSlots.burger;\n return hasBurgerSlot ? this.$scopedSlots.burger({\n isOpened: this.isOpened,\n toggleActive: this.toggleActive\n }) : defaultBurgerNode;\n }\n },\n genNavbarSlotsNode: function genNavbarSlotsNode(createElement) {\n return createElement('div', {\n staticClass: 'navbar-menu',\n class: {\n 'is-active': this.isOpened\n }\n }, [this.genMenuPosition(createElement, 'start'), this.genMenuPosition(createElement, 'end')]);\n },\n genMenuPosition: function genMenuPosition(createElement, positionName) {\n return createElement('div', {\n staticClass: \"navbar-\".concat(positionName)\n }, this.$slots[positionName]);\n },\n setBodyFixedTopClass: function setBodyFixedTopClass(isSet) {\n this.checkIfFixedPropertiesAreColliding();\n\n if (isSet) {\n // TODO Apply only one of the classes once PR is merged in Bulma:\n // https://github.com/jgthms/bulma/pull/2737\n this.setBodyClass(BODY_FIXED_TOP_CLASS);\n this.spaced && this.setBodyClass(BODY_SPACED_FIXED_TOP_CLASS);\n } else {\n this.removeBodyClass(BODY_FIXED_TOP_CLASS);\n this.removeBodyClass(BODY_SPACED_FIXED_TOP_CLASS);\n }\n },\n setBodyFixedBottomClass: function setBodyFixedBottomClass(isSet) {\n this.checkIfFixedPropertiesAreColliding();\n\n if (isSet) {\n // TODO Apply only one of the classes once PR is merged in Bulma:\n // https://github.com/jgthms/bulma/pull/2737\n this.setBodyClass(BODY_FIXED_BOTTOM_CLASS);\n this.spaced && this.setBodyClass(BODY_SPACED_FIXED_BOTTOM_CLASS);\n } else {\n this.removeBodyClass(BODY_FIXED_BOTTOM_CLASS);\n this.removeBodyClass(BODY_SPACED_FIXED_BOTTOM_CLASS);\n }\n }\n },\n beforeMount: function beforeMount() {\n this.fixedTop && this.setBodyFixedTopClass(true);\n this.fixedBottom && this.setBodyFixedBottomClass(true);\n },\n beforeDestroy: function beforeDestroy() {\n if (this.fixedTop) {\n var className = this.spaced ? BODY_SPACED_FIXED_TOP_CLASS : BODY_FIXED_TOP_CLASS;\n this.removeBodyClass(className);\n } else if (this.fixedBottom) {\n var _className = this.spaced ? BODY_SPACED_FIXED_BOTTOM_CLASS : BODY_FIXED_BOTTOM_CLASS;\n\n this.removeBodyClass(_className);\n }\n },\n render: function render(createElement, fn) {\n return this.genNavbar(createElement);\n }\n};\n\n/* script */\nconst __vue_script__$1 = script$1;\n\n/* template */\n\n /* style */\n const __vue_inject_styles__$1 = undefined;\n /* scoped */\n const __vue_scope_id__$1 = undefined;\n /* module identifier */\n const __vue_module_identifier__$1 = undefined;\n /* functional template */\n const __vue_is_functional_template__$1 = undefined;\n /* style inject */\n \n /* style inject SSR */\n \n\n \n var Navbar = __vue_normalize__(\n {},\n __vue_inject_styles__$1,\n __vue_script__$1,\n __vue_scope_id__$1,\n __vue_is_functional_template__$1,\n __vue_module_identifier__$1,\n undefined,\n undefined\n );\n\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\nvar clickableWhiteList = ['div', 'span', 'input'];\nvar script$2 = {\n name: 'BNavbarItem',\n inheritAttrs: false,\n props: {\n tag: {\n type: String,\n default: 'a'\n },\n active: Boolean\n },\n methods: {\n /**\r\n * Keypress event that is bound to the document\r\n */\n keyPress: function keyPress(_ref) {\n var key = _ref.key;\n\n if (key === 'Escape' || key === 'Esc') {\n this.closeMenuRecursive(this, ['NavBar']);\n }\n },\n\n /**\r\n * Close parent if clicked outside.\r\n */\n handleClickEvent: function handleClickEvent(event) {\n var isOnWhiteList = clickableWhiteList.some(function (item) {\n return item === event.target.localName;\n });\n\n if (!isOnWhiteList) {\n var parent = this.closeMenuRecursive(this, ['NavbarDropdown', 'NavBar']);\n if (parent && parent.$data._isNavbarDropdown) this.closeMenuRecursive(parent, ['NavBar']);\n }\n },\n\n /**\r\n * Close parent recursively\r\n */\n closeMenuRecursive: function closeMenuRecursive(current, targetComponents) {\n if (!current.$parent) return null;\n var foundItem = targetComponents.reduce(function (acc, item) {\n if (current.$parent.$data[\"_is\".concat(item)]) {\n current.$parent.closeMenu();\n return current.$parent;\n }\n\n return acc;\n }, null);\n return foundItem || this.closeMenuRecursive(current.$parent, targetComponents);\n }\n },\n mounted: function mounted() {\n if (typeof window !== 'undefined') {\n this.$el.addEventListener('click', this.handleClickEvent);\n document.addEventListener('keyup', this.keyPress);\n }\n },\n beforeDestroy: function beforeDestroy() {\n if (typeof window !== 'undefined') {\n this.$el.removeEventListener('click', this.handleClickEvent);\n document.removeEventListener('keyup', this.keyPress);\n }\n }\n};\n\n/* script */\nconst __vue_script__$2 = script$2;\n\n/* template */\nvar __vue_render__$1 = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c(_vm.tag,_vm._g(_vm._b({tag:\"component\",staticClass:\"navbar-item\",class:{\n 'is-active': _vm.active\n }},'component',_vm.$attrs,false),_vm.$listeners),[_vm._t(\"default\")],2)};\nvar __vue_staticRenderFns__$1 = [];\n\n /* style */\n const __vue_inject_styles__$2 = undefined;\n /* scoped */\n const __vue_scope_id__$2 = undefined;\n /* module identifier */\n const __vue_module_identifier__$2 = undefined;\n /* functional template */\n const __vue_is_functional_template__$2 = false;\n /* style inject */\n \n /* style inject SSR */\n \n\n \n var NavbarItem = __vue_normalize__(\n { render: __vue_render__$1, staticRenderFns: __vue_staticRenderFns__$1 },\n __vue_inject_styles__$2,\n __vue_script__$2,\n __vue_scope_id__$2,\n __vue_is_functional_template__$2,\n __vue_module_identifier__$2,\n undefined,\n undefined\n );\n\n//\nvar script$3 = {\n name: 'BNavbarDropdown',\n directives: {\n clickOutside: directive\n },\n inheritAttrs: false,\n props: {\n label: String,\n hoverable: Boolean,\n active: Boolean,\n right: Boolean,\n arrowless: Boolean,\n boxed: Boolean,\n closeOnClick: {\n type: Boolean,\n default: true\n },\n collapsible: Boolean,\n tag: {\n type: String,\n default: 'a'\n }\n },\n data: function data() {\n return {\n newActive: this.active,\n isHoverable: this.hoverable,\n _isNavbarDropdown: true // Used internally by NavbarItem\n\n };\n },\n watch: {\n active: function active(value) {\n this.newActive = value;\n },\n newActive: function newActive(value) {\n this.$emit('active-change', value);\n }\n },\n methods: {\n toggleMenu: function toggleMenu() {\n this.newActive = !this.newActive;\n },\n showMenu: function showMenu() {\n this.newActive = true;\n },\n\n /**\r\n * See naming convetion of navbaritem\r\n */\n closeMenu: function closeMenu() {\n this.newActive = !this.closeOnClick;\n\n if (this.hoverable && this.closeOnClick) {\n this.isHoverable = false;\n }\n },\n checkHoverable: function checkHoverable() {\n if (this.hoverable) {\n this.isHoverable = true;\n }\n }\n }\n};\n\n/* script */\nconst __vue_script__$3 = script$3;\n\n/* template */\nvar __vue_render__$2 = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{directives:[{name:\"click-outside\",rawName:\"v-click-outside\",value:(_vm.closeMenu),expression:\"closeMenu\"}],staticClass:\"navbar-item has-dropdown\",class:{\n 'is-hoverable': _vm.isHoverable,\n 'is-active': _vm.newActive\n },on:{\"mouseenter\":_vm.checkHoverable}},[_c(_vm.tag,_vm._g(_vm._b({tag:\"component\",staticClass:\"navbar-link\",class:{\n 'is-arrowless': _vm.arrowless,\n 'is-active': _vm.newActive && _vm.collapsible\n },attrs:{\"aria-haspopup\":\"true\",\"tabindex\":\"0\"},on:{\"click\":function($event){$event.preventDefault();return _vm.toggleMenu($event)},\"keyup\":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"enter\",13,$event.key,\"Enter\")){ return null; }return _vm.toggleMenu($event)}}},'component',_vm.$attrs,false),_vm.$listeners),[(_vm.label)?[_vm._v(_vm._s(_vm.label))]:_vm._t(\"label\")],2),_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(!_vm.collapsible || (_vm.collapsible && _vm.newActive)),expression:\"!collapsible || (collapsible && newActive)\"}],staticClass:\"navbar-dropdown\",class:{\n 'is-right': _vm.right,\n 'is-boxed': _vm.boxed,\n }},[_vm._t(\"default\")],2)],1)};\nvar __vue_staticRenderFns__$2 = [];\n\n /* style */\n const __vue_inject_styles__$3 = undefined;\n /* scoped */\n const __vue_scope_id__$3 = undefined;\n /* module identifier */\n const __vue_module_identifier__$3 = undefined;\n /* functional template */\n const __vue_is_functional_template__$3 = false;\n /* style inject */\n \n /* style inject SSR */\n \n\n \n var NavbarDropdown = __vue_normalize__(\n { render: __vue_render__$2, staticRenderFns: __vue_staticRenderFns__$2 },\n __vue_inject_styles__$3,\n __vue_script__$3,\n __vue_scope_id__$3,\n __vue_is_functional_template__$3,\n __vue_module_identifier__$3,\n undefined,\n undefined\n );\n\nvar Plugin = {\n install: function install(Vue) {\n registerComponent(Vue, Navbar);\n registerComponent(Vue, NavbarItem);\n registerComponent(Vue, NavbarDropdown);\n }\n};\nuse(Plugin);\n\nexport default Plugin;\nexport { Navbar as BNavbar, NavbarDropdown as BNavbarDropdown, NavbarItem as BNavbarItem };\n","import { _ as _defineProperty } from './chunk-455cdeae.js';\nimport './helpers.js';\nimport './chunk-e92e3389.js';\nimport { F as FormElementMixin } from './chunk-17b33cd2.js';\nimport { I as Icon } from './chunk-7e17a637.js';\nimport { _ as __vue_normalize__, r as registerComponent, u as use } from './chunk-cca88db8.js';\nimport { I as Input } from './chunk-72ecb544.js';\n\nvar _components;\nvar script = {\n name: 'BNumberinput',\n components: (_components = {}, _defineProperty(_components, Icon.name, Icon), _defineProperty(_components, Input.name, Input), _components),\n mixins: [FormElementMixin],\n inheritAttrs: false,\n props: {\n value: Number,\n min: {\n type: [Number, String]\n },\n max: [Number, String],\n step: [Number, String],\n minStep: [Number, String],\n exponential: [Boolean, Number],\n disabled: Boolean,\n type: {\n type: String,\n default: 'is-primary'\n },\n editable: {\n type: Boolean,\n default: true\n },\n controls: {\n type: Boolean,\n default: true\n },\n controlsAlignment: {\n type: String,\n default: 'center',\n validator: function validator(value) {\n return ['left', 'right', 'center'].indexOf(value) >= 0;\n }\n },\n controlsRounded: {\n type: Boolean,\n default: false\n },\n controlsPosition: String,\n placeholder: [Number, String],\n ariaMinusLabel: String,\n ariaPlusLabel: String,\n longPress: {\n type: Boolean,\n default: true\n }\n },\n data: function data() {\n return {\n newValue: this.value,\n newStep: this.step || 1,\n newMinStep: this.minStep,\n timesPressed: 1,\n _elementRef: 'input'\n };\n },\n computed: {\n computedValue: {\n get: function get() {\n return this.newValue;\n },\n set: function set(value) {\n var _this = this;\n\n // Parses the number, so that \"0\" => 0, and \"invalid\" => null\n var newValue = Number(value) === 0 ? 0 : Number(value) || null;\n\n if (value === '' || value === undefined || value === null) {\n if (this.minNumber !== undefined) {\n newValue = this.minNumber;\n } else {\n newValue = null;\n }\n }\n\n this.newValue = newValue;\n\n if (newValue === null) {\n this.$emit('input', newValue);\n } else if (!isNaN(newValue) && newValue !== '-0') {\n this.$emit('input', Number(newValue));\n }\n\n this.$nextTick(function () {\n if (_this.$refs.input) {\n _this.$refs.input.checkHtml5Validity();\n }\n });\n }\n },\n controlsLeft: function controlsLeft() {\n if (this.controls && this.controlsAlignment !== 'right') {\n return this.controlsAlignment === 'left' ? ['minus', 'plus'] : ['minus'];\n }\n\n return [];\n },\n controlsRight: function controlsRight() {\n if (this.controls && this.controlsAlignment !== 'left') {\n return this.controlsAlignment === 'right' ? ['minus', 'plus'] : ['plus'];\n }\n\n return [];\n },\n fieldClasses: function fieldClasses() {\n return [{\n 'has-addons': this.controlsPosition === 'compact'\n }, {\n 'is-grouped': this.controlsPosition !== 'compact'\n }, {\n 'is-expanded': this.expanded\n }];\n },\n buttonClasses: function buttonClasses() {\n return [this.type, this.size, {\n 'is-rounded': this.controlsRounded\n }];\n },\n minNumber: function minNumber() {\n return typeof this.min === 'string' ? parseFloat(this.min) : this.min;\n },\n maxNumber: function maxNumber() {\n return typeof this.max === 'string' ? parseFloat(this.max) : this.max;\n },\n stepNumber: function stepNumber() {\n if (this.newStep === 'any') {\n return 1;\n }\n\n return typeof this.newStep === 'string' ? parseFloat(this.newStep) : this.newStep;\n },\n minStepNumber: function minStepNumber() {\n if (this.newStep === 'any' && typeof this.newMinStep === 'undefined') {\n return 'any';\n }\n\n var step = typeof this.newMinStep !== 'undefined' ? this.newMinStep : this.newStep;\n return typeof step === 'string' ? parseFloat(step) : step;\n },\n disabledMin: function disabledMin() {\n return this.computedValue - this.stepNumber < this.minNumber;\n },\n disabledMax: function disabledMax() {\n return this.computedValue + this.stepNumber > this.maxNumber;\n },\n stepDecimals: function stepDecimals() {\n var step = this.minStepNumber.toString();\n var index = step.indexOf('.');\n\n if (index >= 0) {\n return step.substring(index + 1).length;\n }\n\n return 0;\n }\n },\n watch: {\n /**\r\n * When v-model is changed:\r\n * 1. Set internal value.\r\n */\n value: {\n immediate: true,\n handler: function handler(value) {\n this.newValue = value;\n }\n },\n step: function step(value) {\n this.newStep = value;\n },\n minStep: function minStep(value) {\n this.newMinStep = value;\n }\n },\n methods: {\n isDisabled: function isDisabled(control) {\n return this.disabled || (control === 'plus' ? this.disabledMax : this.disabledMin);\n },\n decrement: function decrement() {\n if (this.computedValue === null || typeof this.computedValue === 'undefined') {\n if (this.maxNumber !== null && typeof this.maxNumber !== 'undefined') {\n this.computedValue = this.maxNumber;\n return;\n }\n\n this.computedValue = 0;\n }\n\n if (typeof this.minNumber === 'undefined' || this.computedValue - this.stepNumber >= this.minNumber) {\n var value = this.computedValue - this.stepNumber;\n this.computedValue = parseFloat(value.toFixed(this.stepDecimals));\n }\n },\n increment: function increment() {\n if (this.computedValue === null || typeof this.computedValue === 'undefined') {\n if (this.minNumber !== null && typeof this.minNumber !== 'undefined') {\n this.computedValue = this.minNumber;\n return;\n }\n\n this.computedValue = 0;\n }\n\n if (typeof this.maxNumber === 'undefined' || this.computedValue + this.stepNumber <= this.maxNumber) {\n var value = this.computedValue + this.stepNumber;\n this.computedValue = parseFloat(value.toFixed(this.stepDecimals));\n }\n },\n onControlClick: function onControlClick(event, inc) {\n // IE 11 -> filter click event\n if (event.detail !== 0 || event.type !== 'click') return;\n if (inc) this.increment();else this.decrement();\n },\n longPressTick: function longPressTick(inc) {\n var _this2 = this;\n\n if (inc) this.increment();else this.decrement();\n this._$intervalRef = setTimeout(function () {\n _this2.longPressTick(inc);\n }, this.exponential ? 250 / (this.exponential * this.timesPressed++) : 250);\n },\n onStartLongPress: function onStartLongPress(event, inc) {\n if (!this.longPress) return;\n if (event.button !== 0 && event.type !== 'touchstart') return;\n clearTimeout(this._$intervalRef);\n this.longPressTick(inc);\n },\n onStopLongPress: function onStopLongPress() {\n if (!this._$intervalRef) return;\n this.timesPressed = 1;\n clearTimeout(this._$intervalRef);\n this._$intervalRef = null;\n }\n }\n};\n\n/* script */\nconst __vue_script__ = script;\n\n/* template */\nvar __vue_render__ = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"b-numberinput field\",class:_vm.fieldClasses},[_vm._l((_vm.controlsLeft),function(control){return _c('p',{key:control,class:['control', control],on:{\"mouseup\":_vm.onStopLongPress,\"mouseleave\":_vm.onStopLongPress,\"touchend\":_vm.onStopLongPress,\"touchcancel\":_vm.onStopLongPress}},[_c('button',{staticClass:\"button\",class:_vm.buttonClasses,attrs:{\"type\":\"button\",\"disabled\":_vm.isDisabled(control),\"aria-label\":control === 'plus' ? _vm.ariaPlusLabel : _vm.ariaMinusLabel},on:{\"mousedown\":function($event){!_vm.isDisabled(control) && _vm.onStartLongPress($event, control === 'plus');},\"touchstart\":function($event){$event.preventDefault();!_vm.isDisabled(control) && _vm.onStartLongPress($event, control === 'plus');},\"click\":function($event){!_vm.isDisabled(control) && _vm.onControlClick($event, control === 'plus');}}},[_c('b-icon',{attrs:{\"both\":\"\",\"icon\":control,\"pack\":_vm.iconPack,\"size\":_vm.iconSize}})],1)])}),_c('b-input',_vm._b({ref:\"input\",attrs:{\"type\":\"number\",\"step\":_vm.minStepNumber,\"max\":_vm.max,\"min\":_vm.min,\"size\":_vm.size,\"disabled\":_vm.disabled,\"readonly\":!_vm.editable,\"loading\":_vm.loading,\"rounded\":_vm.rounded,\"icon\":_vm.icon,\"icon-pack\":_vm.iconPack,\"autocomplete\":_vm.autocomplete,\"expanded\":_vm.expanded,\"placeholder\":_vm.placeholder,\"use-html5-validation\":_vm.useHtml5Validation},on:{\"focus\":function($event){return _vm.$emit('focus', $event)},\"blur\":function($event){return _vm.$emit('blur', $event)}},model:{value:(_vm.computedValue),callback:function ($$v) {_vm.computedValue=$$v;},expression:\"computedValue\"}},'b-input',_vm.$attrs,false)),_vm._l((_vm.controlsRight),function(control){return _c('p',{key:control,class:['control', control],on:{\"mouseup\":_vm.onStopLongPress,\"mouseleave\":_vm.onStopLongPress,\"touchend\":_vm.onStopLongPress,\"touchcancel\":_vm.onStopLongPress}},[_c('button',{staticClass:\"button\",class:_vm.buttonClasses,attrs:{\"type\":\"button\",\"disabled\":_vm.isDisabled(control),\"aria-label\":control === 'plus' ? _vm.ariaPlusLabel : _vm.ariaMinusLabel},on:{\"mousedown\":function($event){!_vm.isDisabled(control) && _vm.onStartLongPress($event, control === 'plus');},\"touchstart\":function($event){$event.preventDefault();!_vm.isDisabled(control) && _vm.onStartLongPress($event, control === 'plus');},\"click\":function($event){!_vm.isDisabled(control) && _vm.onControlClick($event, control === 'plus');}}},[_c('b-icon',{attrs:{\"both\":\"\",\"icon\":control,\"pack\":_vm.iconPack,\"size\":_vm.iconSize}})],1)])})],2)};\nvar __vue_staticRenderFns__ = [];\n\n /* style */\n const __vue_inject_styles__ = undefined;\n /* scoped */\n const __vue_scope_id__ = undefined;\n /* module identifier */\n const __vue_module_identifier__ = undefined;\n /* functional template */\n const __vue_is_functional_template__ = false;\n /* style inject */\n \n /* style inject SSR */\n \n\n \n var Numberinput = __vue_normalize__(\n { render: __vue_render__, staticRenderFns: __vue_staticRenderFns__ },\n __vue_inject_styles__,\n __vue_script__,\n __vue_scope_id__,\n __vue_is_functional_template__,\n __vue_module_identifier__,\n undefined,\n undefined\n );\n\nvar Plugin = {\n install: function install(Vue) {\n registerComponent(Vue, Numberinput);\n }\n};\nuse(Plugin);\n\nexport default Plugin;\nexport { Numberinput as BNumberinput };\n","import { _ as _defineProperty } from './chunk-455cdeae.js';\nimport { c as config } from './chunk-e92e3389.js';\nimport { I as Icon } from './chunk-7e17a637.js';\nimport { _ as __vue_normalize__ } from './chunk-cca88db8.js';\n\n//\nvar script = {\n name: 'BPaginationButton',\n props: {\n page: {\n type: Object,\n required: true\n },\n tag: {\n type: String,\n default: 'a',\n validator: function validator(value) {\n return config.defaultLinkTags.indexOf(value) >= 0;\n }\n },\n disabled: {\n type: Boolean,\n default: false\n }\n },\n computed: {\n href: function href() {\n if (this.tag === 'a') {\n return '#';\n }\n },\n isDisabled: function isDisabled() {\n return this.disabled || this.page.disabled;\n }\n }\n};\n\n/* script */\nconst __vue_script__ = script;\n\n/* template */\nvar __vue_render__ = function () {\nvar _obj;\nvar _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c(_vm.tag,_vm._b({tag:\"component\",staticClass:\"pagination-link\",class:( _obj = { 'is-current': _vm.page.isCurrent }, _obj[_vm.page.class] = true, _obj ),attrs:{\"role\":\"button\",\"href\":_vm.href,\"disabled\":_vm.isDisabled,\"aria-label\":_vm.page['aria-label'],\"aria-current\":_vm.page.isCurrent},on:{\"click\":function($event){$event.preventDefault();return _vm.page.click($event)}}},'component',_vm.$attrs,false),[_vm._t(\"default\",[_vm._v(_vm._s(_vm.page.number))])],2)};\nvar __vue_staticRenderFns__ = [];\n\n /* style */\n const __vue_inject_styles__ = undefined;\n /* scoped */\n const __vue_scope_id__ = undefined;\n /* module identifier */\n const __vue_module_identifier__ = undefined;\n /* functional template */\n const __vue_is_functional_template__ = false;\n /* style inject */\n \n /* style inject SSR */\n \n\n \n var PaginationButton = __vue_normalize__(\n { render: __vue_render__, staticRenderFns: __vue_staticRenderFns__ },\n __vue_inject_styles__,\n __vue_script__,\n __vue_scope_id__,\n __vue_is_functional_template__,\n __vue_module_identifier__,\n undefined,\n undefined\n );\n\nfunction debounce (func, wait, immediate) {\n var timeout;\n return function () {\n var context = this;\n var args = arguments;\n\n var later = function later() {\n timeout = null;\n if (!immediate) func.apply(context, args);\n };\n\n var callNow = immediate && !timeout;\n clearTimeout(timeout);\n timeout = setTimeout(later, wait);\n if (callNow) func.apply(context, args);\n };\n}\n\nvar _components;\nvar script$1 = {\n name: 'BPagination',\n components: (_components = {}, _defineProperty(_components, Icon.name, Icon), _defineProperty(_components, PaginationButton.name, PaginationButton), _components),\n // deprecated, to replace with default 'value' in the next breaking change\n model: {\n prop: 'current',\n event: 'update:current'\n },\n props: {\n total: [Number, String],\n perPage: {\n type: [Number, String],\n default: 20\n },\n current: {\n type: [Number, String],\n default: 1\n },\n rangeBefore: {\n type: [Number, String],\n default: 1\n },\n rangeAfter: {\n type: [Number, String],\n default: 1\n },\n size: String,\n simple: Boolean,\n rounded: Boolean,\n order: String,\n iconPack: String,\n iconPrev: {\n type: String,\n default: function _default() {\n return config.defaultIconPrev;\n }\n },\n iconNext: {\n type: String,\n default: function _default() {\n return config.defaultIconNext;\n }\n },\n ariaNextLabel: String,\n ariaPreviousLabel: String,\n ariaPageLabel: String,\n ariaCurrentLabel: String,\n pageInput: {\n type: Boolean,\n default: false\n },\n pageInputPosition: String,\n debouncePageInput: [Number, String]\n },\n data: function data() {\n return {\n inputValue: this.current\n };\n },\n computed: {\n rootClasses: function rootClasses() {\n return [this.order, this.size, this.pageInputPosition, {\n 'is-simple': this.simple,\n 'is-rounded': this.rounded,\n 'has-input': this.pageInput\n }];\n },\n beforeCurrent: function beforeCurrent() {\n return parseInt(this.rangeBefore);\n },\n afterCurrent: function afterCurrent() {\n return parseInt(this.rangeAfter);\n },\n\n /**\r\n * Total page size (count).\r\n */\n pageCount: function pageCount() {\n return Math.ceil(this.total / this.perPage);\n },\n\n /**\r\n * First item of the page (count).\r\n */\n firstItem: function firstItem() {\n var firstItem = this.current * this.perPage - this.perPage + 1;\n return firstItem >= 0 ? firstItem : 0;\n },\n\n /**\r\n * Check if previous button is available.\r\n */\n hasPrev: function hasPrev() {\n return this.current > 1;\n },\n\n /**\r\n * Check if first page button should be visible.\r\n */\n hasFirst: function hasFirst() {\n return this.current >= 2 + this.beforeCurrent;\n },\n\n /**\r\n * Check if first ellipsis should be visible.\r\n */\n hasFirstEllipsis: function hasFirstEllipsis() {\n return this.current >= this.beforeCurrent + 4;\n },\n\n /**\r\n * Check if last page button should be visible.\r\n */\n hasLast: function hasLast() {\n return this.current <= this.pageCount - (1 + this.afterCurrent);\n },\n\n /**\r\n * Check if last ellipsis should be visible.\r\n */\n hasLastEllipsis: function hasLastEllipsis() {\n return this.current < this.pageCount - (2 + this.afterCurrent);\n },\n\n /**\r\n * Check if next button is available.\r\n */\n hasNext: function hasNext() {\n return this.current < this.pageCount;\n },\n\n /**\r\n * Get near pages, 1 before and 1 after the current.\r\n * Also add the click event to the array.\r\n */\n pagesInRange: function pagesInRange() {\n if (this.simple) return;\n var left = Math.max(1, this.current - this.beforeCurrent);\n\n if (left - 1 === 2) {\n left--; // Do not show the ellipsis if there is only one to hide\n }\n\n var right = Math.min(this.current + this.afterCurrent, this.pageCount);\n\n if (this.pageCount - right === 2) {\n right++; // Do not show the ellipsis if there is only one to hide\n }\n\n var pages = [];\n\n for (var i = left; i <= right; i++) {\n pages.push(this.getPage(i));\n }\n\n return pages;\n }\n },\n watch: {\n /**\r\n * If current page is trying to be greater than page count, set to last.\r\n */\n pageCount: function pageCount(value) {\n if (this.current > value) this.last();\n },\n current: function current(value) {\n this.inputValue = value;\n },\n debouncePageInput: {\n handler: function handler(value) {\n this.debounceHandlePageInput = debounce(this.handleOnInputPageChange, value);\n },\n immediate: true\n }\n },\n methods: {\n /**\r\n * Previous button click listener.\r\n */\n prev: function prev(event) {\n this.changePage(this.current - 1, event);\n },\n\n /**\r\n * Next button click listener.\r\n */\n next: function next(event) {\n this.changePage(this.current + 1, event);\n },\n\n /**\r\n * First button click listener.\r\n */\n first: function first(event) {\n this.changePage(1, event);\n },\n\n /**\r\n * Last button click listener.\r\n */\n last: function last(event) {\n this.changePage(this.pageCount, event);\n },\n changePage: function changePage(num, event) {\n if (this.current === num || num < 1 || num > this.pageCount) return;\n this.$emit('update:current', num);\n this.$emit('change', num); // Set focus on element to keep tab order\n\n if (event && event.target) {\n this.$nextTick(function () {\n return event.target.focus();\n });\n }\n },\n getPage: function getPage(num) {\n var _this = this;\n\n var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n return {\n number: num,\n isCurrent: this.current === num,\n click: function click(event) {\n return _this.changePage(num, event);\n },\n input: function input(event, inputNum) {\n return _this.changePage(+inputNum, event);\n },\n disabled: options.disabled || false,\n class: options.class || '',\n 'aria-label': options['aria-label'] || this.getAriaPageLabel(num, this.current === num)\n };\n },\n\n /**\r\n * Get text for aria-label according to page number.\r\n */\n getAriaPageLabel: function getAriaPageLabel(pageNumber, isCurrent) {\n if (this.ariaPageLabel && (!isCurrent || !this.ariaCurrentLabel)) {\n return this.ariaPageLabel + ' ' + pageNumber + '.';\n } else if (this.ariaPageLabel && isCurrent && this.ariaCurrentLabel) {\n return this.ariaCurrentLabel + ', ' + this.ariaPageLabel + ' ' + pageNumber + '.';\n }\n\n return null;\n },\n handleOnInputPageChange: function handleOnInputPageChange(event) {\n this.getPage(this.inputValue).input(event, this.inputValue);\n },\n handleOnInputDebounce: function handleOnInputDebounce(event) {\n if (this.debouncePageInput) {\n this.debounceHandlePageInput(event);\n } else {\n this.handleOnInputPageChange(event);\n }\n },\n handleOnKeyPress: function handleOnKeyPress(event) {\n // --- This is required to only allow numeric inputs for the page input - --- //\n // --- size attribute does not work with input type number. --- //\n var ASCIICode = event.which || event.keyCode;\n\n if (ASCIICode >= 48 && ASCIICode <= 57) {\n return true;\n } else {\n return event.preventDefault();\n }\n },\n handleAllowableInputPageRange: function handleAllowableInputPageRange(event) {\n if (+event.target.value > 0 && +event.target.value <= this.pageCount) {\n this.handleOnInputValue(event);\n } else {\n // --- It is nessacery to set inputValue to 1 and then to '' so that the DOM- --- //\n // --- will update the input component even when Backspace is used and then-\n // --- 0 us entered. --- //\n this.inputValue = 1;\n this.inputValue = '';\n }\n },\n handleOnInputValue: function handleOnInputValue(event) {\n var inputValue = +event.target.value;\n this.inputValue = inputValue;\n\n if (Number.isInteger(this.inputValue)) {\n this.handleOnInputDebounce(event);\n } else {\n // --- if NaN, then set inputValue back to current --- //\n this.inputValue = this.current;\n }\n }\n }\n};\n\n/* script */\nconst __vue_script__$1 = script$1;\n\n/* template */\nvar __vue_render__$1 = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('nav',{staticClass:\"pagination\",class:_vm.rootClasses},[(_vm.$scopedSlots.previous)?_vm._t(\"previous\",[_c('b-icon',{attrs:{\"icon\":_vm.iconPrev,\"pack\":_vm.iconPack,\"both\":\"\",\"aria-hidden\":\"true\"}})],{\"page\":_vm.getPage(_vm.current - 1, {\n disabled: !_vm.hasPrev,\n class: 'pagination-previous',\n 'aria-label': _vm.ariaPreviousLabel,\n })}):_c('BPaginationButton',{staticClass:\"pagination-previous\",attrs:{\"disabled\":!_vm.hasPrev,\"page\":_vm.getPage(_vm.current - 1),\"aria-label\":_vm.ariaPreviousLabel}},[_c('b-icon',{attrs:{\"icon\":_vm.iconPrev,\"pack\":_vm.iconPack,\"both\":\"\",\"aria-hidden\":\"true\"}})],1),(_vm.$scopedSlots.next)?_vm._t(\"next\",[_c('b-icon',{attrs:{\"icon\":_vm.iconNext,\"pack\":_vm.iconPack,\"both\":\"\",\"aria-hidden\":\"true\"}})],{\"page\":_vm.getPage(_vm.current + 1, {\n disabled: !_vm.hasNext,\n class: 'pagination-next',\n 'aria-label': _vm.ariaNextLabel,\n })}):_c('BPaginationButton',{staticClass:\"pagination-next\",attrs:{\"disabled\":!_vm.hasNext,\"page\":_vm.getPage(_vm.current + 1),\"aria-label\":_vm.ariaNextLabel}},[_c('b-icon',{attrs:{\"icon\":_vm.iconNext,\"pack\":_vm.iconPack,\"both\":\"\",\"aria-hidden\":\"true\"}})],1),_c('div',{staticClass:\"control pagination-input\"},[(_vm.pageInput)?_c('input',{staticClass:\"input\",attrs:{\"size\":_vm.pageCount.toString().length,\"maxlength\":_vm.pageCount.toString().length},domProps:{\"value\":_vm.inputValue},on:{\"input\":_vm.handleAllowableInputPageRange,\"keypress\":_vm.handleOnKeyPress}}):_vm._e()]),(_vm.simple)?_c('small',{staticClass:\"info\"},[(_vm.perPage == 1)?[_vm._v(\" \"+_vm._s(_vm.firstItem)+\" / \"+_vm._s(_vm.total)+\" \")]:[_vm._v(\" \"+_vm._s(_vm.firstItem)+\"-\"+_vm._s(Math.min(_vm.current * _vm.perPage, _vm.total))+\" / \"+_vm._s(_vm.total)+\" \")]],2):_c('ul',{staticClass:\"pagination-list\"},[(_vm.hasFirst)?_c('li',[(_vm.$scopedSlots.default)?_vm._t(\"default\",null,{\"page\":_vm.getPage(1)}):_c('BPaginationButton',{attrs:{\"page\":_vm.getPage(1)}})],2):_vm._e(),(_vm.hasFirstEllipsis)?_c('li',[_c('span',{staticClass:\"pagination-ellipsis\"},[_vm._v(\"…\")])]):_vm._e(),_vm._l((_vm.pagesInRange),function(page){return _c('li',{key:page.number},[(_vm.$scopedSlots.default)?_vm._t(\"default\",null,{\"page\":page}):_c('BPaginationButton',{attrs:{\"page\":page}})],2)}),(_vm.hasLastEllipsis)?_c('li',[_c('span',{staticClass:\"pagination-ellipsis\"},[_vm._v(\"…\")])]):_vm._e(),(_vm.hasLast)?_c('li',[(_vm.$scopedSlots.default)?_vm._t(\"default\",null,{\"page\":_vm.getPage(_vm.pageCount)}):_c('BPaginationButton',{attrs:{\"page\":_vm.getPage(_vm.pageCount)}})],2):_vm._e()],2)],2)};\nvar __vue_staticRenderFns__$1 = [];\n\n /* style */\n const __vue_inject_styles__$1 = undefined;\n /* scoped */\n const __vue_scope_id__$1 = undefined;\n /* module identifier */\n const __vue_module_identifier__$1 = undefined;\n /* functional template */\n const __vue_is_functional_template__$1 = false;\n /* style inject */\n \n /* style inject SSR */\n \n\n \n var Pagination = __vue_normalize__(\n { render: __vue_render__$1, staticRenderFns: __vue_staticRenderFns__$1 },\n __vue_inject_styles__$1,\n __vue_script__$1,\n __vue_scope_id__$1,\n __vue_is_functional_template__$1,\n __vue_module_identifier__$1,\n undefined,\n undefined\n );\n\nexport { Pagination as P, PaginationButton as a, debounce as d };\n","import './chunk-455cdeae.js';\nimport './helpers.js';\nimport './chunk-e92e3389.js';\nimport './chunk-7e17a637.js';\nimport { r as registerComponent, u as use } from './chunk-cca88db8.js';\nimport { P as Pagination, a as PaginationButton } from './chunk-c5284276.js';\nexport { P as BPagination, a as BPaginationButton } from './chunk-c5284276.js';\n\nvar Plugin = {\n install: function install(Vue) {\n registerComponent(Vue, Pagination);\n registerComponent(Vue, PaginationButton);\n }\n};\nuse(Plugin);\n\nexport default Plugin;\n","import { _ as _defineProperty } from './chunk-455cdeae.js';\nimport './helpers.js';\nimport { c as config } from './chunk-e92e3389.js';\nimport { _ as __vue_normalize__, r as registerComponent, u as use } from './chunk-cca88db8.js';\nimport { P as ProviderParentMixin, I as InjectedChildMixin } from './chunk-60a03517.js';\n\nvar script = {\n name: 'BProgress',\n mixins: [ProviderParentMixin('progress')],\n props: {\n type: {\n type: [String, Object],\n default: 'is-darkgrey'\n },\n size: String,\n rounded: {\n type: Boolean,\n default: true\n },\n value: {\n type: Number,\n default: undefined\n },\n max: {\n type: Number,\n default: 100\n },\n showValue: {\n type: Boolean,\n default: false\n },\n format: {\n type: String,\n default: 'raw',\n validator: function validator(value) {\n return ['raw', 'percent'].indexOf(value) >= 0;\n }\n },\n precision: {\n type: Number,\n default: 2\n },\n keepTrailingZeroes: {\n type: Boolean,\n default: false\n },\n locale: {\n type: [String, Array],\n default: function _default() {\n return config.defaultLocale;\n }\n }\n },\n computed: {\n isIndeterminate: function isIndeterminate() {\n return this.value === undefined || this.value === null;\n },\n newType: function newType() {\n return [this.size, this.type, {\n 'is-more-than-half': this.value && this.value > this.max / 2\n }];\n },\n newValue: function newValue() {\n return this.calculateValue(this.value);\n },\n isNative: function isNative() {\n return this.$slots.bar === undefined;\n },\n wrapperClasses: function wrapperClasses() {\n return _defineProperty({\n 'is-not-native': !this.isNative\n }, this.size, typeof this.size === 'string' && !this.isNative);\n }\n },\n watch: {\n /**\r\n * When value is changed back to undefined, value of native progress get reset to 0.\r\n * Need to add and remove the value attribute to have the indeterminate or not.\r\n */\n isIndeterminate: function isIndeterminate(indeterminate) {\n var _this = this;\n\n this.$nextTick(function () {\n if (_this.$refs.progress) {\n if (indeterminate) {\n _this.$refs.progress.removeAttribute('value');\n } else {\n _this.$refs.progress.setAttribute('value', _this.value);\n }\n }\n });\n }\n },\n methods: {\n calculateValue: function calculateValue(value) {\n if (value === undefined || value === null || isNaN(value)) {\n return undefined;\n }\n\n var minimumFractionDigits = this.keepTrailingZeroes ? this.precision : 0;\n var maximumFractionDigits = this.precision;\n\n if (this.format === 'percent') {\n return new Intl.NumberFormat(this.locale, {\n style: 'percent',\n minimumFractionDigits: minimumFractionDigits,\n maximumFractionDigits: maximumFractionDigits\n }).format(value / this.max);\n }\n\n return new Intl.NumberFormat(this.locale, {\n minimumFractionDigits: minimumFractionDigits,\n maximumFractionDigits: maximumFractionDigits\n }).format(value);\n }\n }\n};\n\n/* script */\nconst __vue_script__ = script;\n\n/* template */\nvar __vue_render__ = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"progress-wrapper\",class:[_vm.wrapperClasses, { 'is-squared': !_vm.rounded }]},[(_vm.isNative)?_c('progress',{ref:\"progress\",staticClass:\"progress\",class:[_vm.newType, { 'is-squared': !_vm.rounded }],attrs:{\"max\":_vm.max},domProps:{\"value\":_vm.value}},[_vm._v(_vm._s(_vm.newValue))]):_vm._t(\"bar\"),(_vm.isNative && _vm.showValue)?_c('p',{staticClass:\"progress-value\"},[_vm._t(\"default\",[_vm._v(_vm._s(_vm.newValue))])],2):_vm._e()],2)};\nvar __vue_staticRenderFns__ = [];\n\n /* style */\n const __vue_inject_styles__ = undefined;\n /* scoped */\n const __vue_scope_id__ = undefined;\n /* module identifier */\n const __vue_module_identifier__ = undefined;\n /* functional template */\n const __vue_is_functional_template__ = false;\n /* style inject */\n \n /* style inject SSR */\n \n\n \n var Progress = __vue_normalize__(\n { render: __vue_render__, staticRenderFns: __vue_staticRenderFns__ },\n __vue_inject_styles__,\n __vue_script__,\n __vue_scope_id__,\n __vue_is_functional_template__,\n __vue_module_identifier__,\n undefined,\n undefined\n );\n\n//\nvar script$1 = {\n name: 'BProgressBar',\n mixins: [InjectedChildMixin('progress')],\n props: {\n type: {\n type: [String, Object],\n default: undefined\n },\n value: {\n type: Number,\n default: undefined\n },\n showValue: {\n type: Boolean,\n default: false\n }\n },\n computed: {\n newType: function newType() {\n return [this.parent.size, this.type || this.parent.type];\n },\n newShowValue: function newShowValue() {\n return this.showValue || this.parent.showValue;\n },\n newValue: function newValue() {\n return this.parent.calculateValue(this.value);\n },\n barWidth: function barWidth() {\n return \"\".concat(this.value * 100 / this.parent.max, \"%\");\n }\n }\n};\n\n/* script */\nconst __vue_script__$1 = script$1;\n\n/* template */\nvar __vue_render__$1 = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"progress-bar\",class:_vm.newType,style:({width: _vm.barWidth}),attrs:{\"role\":\"progressbar\",\"aria-valuenow\":_vm.value,\"aria-valuemax\":_vm.parent.max,\"aria-valuemin\":\"0\"}},[(_vm.newShowValue)?_c('p',{staticClass:\"progress-value\"},[_vm._t(\"default\",[_vm._v(_vm._s(_vm.newValue))])],2):_vm._e()])};\nvar __vue_staticRenderFns__$1 = [];\n\n /* style */\n const __vue_inject_styles__$1 = undefined;\n /* scoped */\n const __vue_scope_id__$1 = undefined;\n /* module identifier */\n const __vue_module_identifier__$1 = undefined;\n /* functional template */\n const __vue_is_functional_template__$1 = false;\n /* style inject */\n \n /* style inject SSR */\n \n\n \n var ProgressBar = __vue_normalize__(\n { render: __vue_render__$1, staticRenderFns: __vue_staticRenderFns__$1 },\n __vue_inject_styles__$1,\n __vue_script__$1,\n __vue_scope_id__$1,\n __vue_is_functional_template__$1,\n __vue_module_identifier__$1,\n undefined,\n undefined\n );\n\nvar Plugin = {\n install: function install(Vue) {\n registerComponent(Vue, Progress);\n registerComponent(Vue, ProgressBar);\n }\n};\nuse(Plugin);\n\nexport default Plugin;\nexport { Progress as BProgress, ProgressBar as BProgressBar };\n","import { _ as __vue_normalize__, r as registerComponent, u as use } from './chunk-cca88db8.js';\nimport { C as CheckRadioMixin } from './chunk-2793447b.js';\n\n//\nvar script = {\n name: 'BRadio',\n mixins: [CheckRadioMixin]\n};\n\n/* script */\nconst __vue_script__ = script;\n\n/* template */\nvar __vue_render__ = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('label',{ref:\"label\",staticClass:\"b-radio radio\",class:[_vm.size, { 'is-disabled': _vm.disabled }],attrs:{\"disabled\":_vm.disabled},on:{\"click\":_vm.focus,\"keydown\":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"enter\",13,$event.key,\"Enter\")){ return null; }$event.preventDefault();return _vm.$refs.label.click()}}},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.computedValue),expression:\"computedValue\"}],ref:\"input\",attrs:{\"type\":\"radio\",\"disabled\":_vm.disabled,\"required\":_vm.required,\"name\":_vm.name},domProps:{\"value\":_vm.nativeValue,\"checked\":_vm._q(_vm.computedValue,_vm.nativeValue)},on:{\"click\":function($event){$event.stopPropagation();},\"change\":function($event){_vm.computedValue=_vm.nativeValue;}}}),_c('span',{staticClass:\"check\",class:_vm.type}),_c('span',{staticClass:\"control-label\"},[_vm._t(\"default\")],2)])};\nvar __vue_staticRenderFns__ = [];\n\n /* style */\n const __vue_inject_styles__ = undefined;\n /* scoped */\n const __vue_scope_id__ = undefined;\n /* module identifier */\n const __vue_module_identifier__ = undefined;\n /* functional template */\n const __vue_is_functional_template__ = false;\n /* style inject */\n \n /* style inject SSR */\n \n\n \n var Radio = __vue_normalize__(\n { render: __vue_render__, staticRenderFns: __vue_staticRenderFns__ },\n __vue_inject_styles__,\n __vue_script__,\n __vue_scope_id__,\n __vue_is_functional_template__,\n __vue_module_identifier__,\n undefined,\n undefined\n );\n\n//\nvar script$1 = {\n name: 'BRadioButton',\n mixins: [CheckRadioMixin],\n props: {\n type: {\n type: String,\n default: 'is-primary'\n },\n expanded: Boolean\n },\n data: function data() {\n return {\n isFocused: false\n };\n },\n computed: {\n isSelected: function isSelected() {\n return this.newValue === this.nativeValue;\n },\n labelClass: function labelClass() {\n return [this.isSelected ? this.type : null, this.size, {\n 'is-selected': this.isSelected,\n 'is-disabled': this.disabled,\n 'is-focused': this.isFocused\n }];\n }\n }\n};\n\n/* script */\nconst __vue_script__$1 = script$1;\n\n/* template */\nvar __vue_render__$1 = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"control\",class:{ 'is-expanded': _vm.expanded }},[_c('label',{ref:\"label\",staticClass:\"b-radio radio button\",class:_vm.labelClass,attrs:{\"disabled\":_vm.disabled},on:{\"click\":_vm.focus,\"keydown\":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"enter\",13,$event.key,\"Enter\")){ return null; }$event.preventDefault();return _vm.$refs.label.click()}}},[_vm._t(\"default\"),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.computedValue),expression:\"computedValue\"}],ref:\"input\",attrs:{\"type\":\"radio\",\"disabled\":_vm.disabled,\"required\":_vm.required,\"name\":_vm.name},domProps:{\"value\":_vm.nativeValue,\"checked\":_vm._q(_vm.computedValue,_vm.nativeValue)},on:{\"click\":function($event){$event.stopPropagation();},\"focus\":function($event){_vm.isFocused = true;},\"blur\":function($event){_vm.isFocused = false;},\"change\":function($event){_vm.computedValue=_vm.nativeValue;}}})],2)])};\nvar __vue_staticRenderFns__$1 = [];\n\n /* style */\n const __vue_inject_styles__$1 = undefined;\n /* scoped */\n const __vue_scope_id__$1 = undefined;\n /* module identifier */\n const __vue_module_identifier__$1 = undefined;\n /* functional template */\n const __vue_is_functional_template__$1 = false;\n /* style inject */\n \n /* style inject SSR */\n \n\n \n var RadioButton = __vue_normalize__(\n { render: __vue_render__$1, staticRenderFns: __vue_staticRenderFns__$1 },\n __vue_inject_styles__$1,\n __vue_script__$1,\n __vue_scope_id__$1,\n __vue_is_functional_template__$1,\n __vue_module_identifier__$1,\n undefined,\n undefined\n );\n\nvar Plugin = {\n install: function install(Vue) {\n registerComponent(Vue, Radio);\n registerComponent(Vue, RadioButton);\n }\n};\nuse(Plugin);\n\nexport default Plugin;\nexport { Radio as BRadio, RadioButton as BRadioButton };\n","import { _ as _defineProperty } from './chunk-455cdeae.js';\nimport './helpers.js';\nimport { c as config } from './chunk-e92e3389.js';\nimport { I as Icon } from './chunk-7e17a637.js';\nimport { _ as __vue_normalize__, r as registerComponent, u as use } from './chunk-cca88db8.js';\n\nvar script = {\n name: 'BRate',\n components: _defineProperty({}, Icon.name, Icon),\n props: {\n value: {\n type: Number,\n default: 0\n },\n max: {\n type: Number,\n default: 5\n },\n icon: {\n type: String,\n default: 'star'\n },\n iconPack: String,\n size: String,\n spaced: Boolean,\n rtl: Boolean,\n disabled: Boolean,\n showScore: Boolean,\n showText: Boolean,\n customText: String,\n texts: Array,\n locale: {\n type: [String, Array],\n default: function _default() {\n return config.defaultLocale;\n }\n }\n },\n data: function data() {\n return {\n newValue: this.value,\n hoverValue: 0\n };\n },\n computed: {\n halfStyle: function halfStyle() {\n return \"width:\".concat(this.valueDecimal, \"%\");\n },\n showMe: function showMe() {\n var result = '';\n\n if (this.showScore) {\n result = this.disabled ? this.value : this.newValue;\n\n if (result === 0) {\n result = '';\n } else {\n result = new Intl.NumberFormat(this.locale).format(this.value);\n }\n } else if (this.showText) {\n result = this.texts[Math.ceil(this.newValue) - 1];\n }\n\n return result;\n },\n valueDecimal: function valueDecimal() {\n return this.value * 100 - Math.floor(this.value) * 100;\n }\n },\n watch: {\n // When v-model is changed set the new value.\n value: function value(_value) {\n this.newValue = _value;\n }\n },\n methods: {\n resetNewValue: function resetNewValue() {\n if (this.disabled) return;\n this.hoverValue = 0;\n },\n previewRate: function previewRate(index, event) {\n if (this.disabled) return;\n this.hoverValue = index;\n event.stopPropagation();\n },\n confirmValue: function confirmValue(index) {\n if (this.disabled) return;\n this.newValue = index;\n this.$emit('change', this.newValue);\n this.$emit('input', this.newValue);\n },\n checkHalf: function checkHalf(index) {\n var showWhenDisabled = this.disabled && this.valueDecimal > 0 && index - 1 < this.value && index > this.value;\n return showWhenDisabled;\n },\n rateClass: function rateClass(index) {\n var output = '';\n var currentValue = this.hoverValue !== 0 ? this.hoverValue : this.newValue;\n\n if (index <= currentValue) {\n output = 'set-on';\n } else if (this.disabled && Math.ceil(this.value) === index) {\n output = 'set-half';\n }\n\n return output;\n }\n }\n};\n\n/* script */\nconst __vue_script__ = script;\n\n/* template */\nvar __vue_render__ = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"rate\",class:{ 'is-disabled': _vm.disabled, 'is-spaced': _vm.spaced, 'is-rtl': _vm.rtl }},[_vm._l((_vm.max),function(item,index){return _c('div',{key:index,staticClass:\"rate-item\",class:_vm.rateClass(item),on:{\"mousemove\":function($event){return _vm.previewRate(item, $event)},\"mouseleave\":_vm.resetNewValue,\"click\":function($event){$event.preventDefault();return _vm.confirmValue(item)}}},[_c('b-icon',{attrs:{\"pack\":_vm.iconPack,\"icon\":_vm.icon,\"size\":_vm.size}}),(_vm.checkHalf(item))?_c('b-icon',{staticClass:\"is-half\",style:(_vm.halfStyle),attrs:{\"pack\":_vm.iconPack,\"icon\":_vm.icon,\"size\":_vm.size}}):_vm._e()],1)}),(_vm.showText || _vm.showScore || _vm.customText)?_c('div',{staticClass:\"rate-text\",class:_vm.size},[_c('span',[_vm._v(_vm._s(_vm.showMe))]),(_vm.customText && !_vm.showText)?_c('span',[_vm._v(_vm._s(_vm.customText))]):_vm._e()]):_vm._e()],2)};\nvar __vue_staticRenderFns__ = [];\n\n /* style */\n const __vue_inject_styles__ = undefined;\n /* scoped */\n const __vue_scope_id__ = undefined;\n /* module identifier */\n const __vue_module_identifier__ = undefined;\n /* functional template */\n const __vue_is_functional_template__ = false;\n /* style inject */\n \n /* style inject SSR */\n \n\n \n var Rate = __vue_normalize__(\n { render: __vue_render__, staticRenderFns: __vue_staticRenderFns__ },\n __vue_inject_styles__,\n __vue_script__,\n __vue_scope_id__,\n __vue_is_functional_template__,\n __vue_module_identifier__,\n undefined,\n undefined\n );\n\nvar Plugin = {\n install: function install(Vue) {\n registerComponent(Vue, Rate);\n }\n};\nuse(Plugin);\n\nexport default Plugin;\nexport { Rate as BRate };\n","import './chunk-455cdeae.js';\nimport './helpers.js';\nimport './chunk-e92e3389.js';\nimport './chunk-17b33cd2.js';\nimport './chunk-7e17a637.js';\nimport { r as registerComponent, u as use } from './chunk-cca88db8.js';\nimport { S as Select } from './chunk-4e788733.js';\nexport { S as BSelect } from './chunk-4e788733.js';\n\nvar Plugin = {\n install: function install(Vue) {\n registerComponent(Vue, Select);\n }\n};\nuse(Plugin);\n\nexport default Plugin;\n","import { _ as __vue_normalize__, r as registerComponent, u as use } from './chunk-cca88db8.js';\n\nvar script = {\n name: 'BSkeleton',\n functional: true,\n props: {\n active: {\n type: Boolean,\n default: true\n },\n animated: {\n type: Boolean,\n default: true\n },\n width: [Number, String],\n height: [Number, String],\n circle: Boolean,\n rounded: {\n type: Boolean,\n default: true\n },\n count: {\n type: Number,\n default: 1\n },\n position: {\n type: String,\n default: '',\n validator: function validator(value) {\n return ['', 'is-centered', 'is-right'].indexOf(value) > -1;\n }\n },\n size: String\n },\n render: function render(createElement, context) {\n if (!context.props.active) return;\n var items = [];\n var width = context.props.width;\n var height = context.props.height;\n\n for (var i = 0; i < context.props.count; i++) {\n items.push(createElement('div', {\n staticClass: 'b-skeleton-item',\n class: {\n 'is-rounded': context.props.rounded\n },\n key: i,\n style: {\n height: height === undefined ? null : isNaN(height) ? height : height + 'px',\n width: width === undefined ? null : isNaN(width) ? width : width + 'px',\n borderRadius: context.props.circle ? '50%' : null\n }\n }));\n }\n\n return createElement('div', {\n staticClass: 'b-skeleton',\n class: [context.props.size, context.props.position, {\n 'is-animated': context.props.animated\n }]\n }, items);\n }\n};\n\n/* script */\nconst __vue_script__ = script;\n\n/* template */\n\n /* style */\n const __vue_inject_styles__ = undefined;\n /* scoped */\n const __vue_scope_id__ = undefined;\n /* module identifier */\n const __vue_module_identifier__ = undefined;\n /* functional template */\n const __vue_is_functional_template__ = undefined;\n /* style inject */\n \n /* style inject SSR */\n \n\n \n var Skeleton = __vue_normalize__(\n {},\n __vue_inject_styles__,\n __vue_script__,\n __vue_scope_id__,\n __vue_is_functional_template__,\n __vue_module_identifier__,\n undefined,\n undefined\n );\n\nvar Plugin = {\n install: function install(Vue) {\n registerComponent(Vue, Skeleton);\n }\n};\nuse(Plugin);\n\nexport default Plugin;\nexport { Skeleton as BSkeleton };\n","import './chunk-455cdeae.js';\nimport { isCustomElement, removeElement } from './helpers.js';\nimport { c as config } from './chunk-e92e3389.js';\nimport { _ as __vue_normalize__, r as registerComponent, u as use } from './chunk-cca88db8.js';\n\n//\nvar script = {\n name: 'BSidebar',\n model: {\n prop: 'open',\n event: 'update:open'\n },\n props: {\n open: Boolean,\n type: [String, Object],\n overlay: Boolean,\n position: {\n type: String,\n default: 'fixed',\n validator: function validator(value) {\n return ['fixed', 'absolute', 'static'].indexOf(value) >= 0;\n }\n },\n fullheight: Boolean,\n fullwidth: Boolean,\n right: Boolean,\n mobile: {\n type: String\n },\n reduce: Boolean,\n expandOnHover: Boolean,\n expandOnHoverFixed: Boolean,\n delay: {\n type: Number,\n default: function _default() {\n return config.defaultSidebarDelay;\n }\n },\n canCancel: {\n type: [Array, Boolean],\n default: function _default() {\n return ['escape', 'outside'];\n }\n },\n onCancel: {\n type: Function,\n default: function _default() {}\n },\n scroll: {\n type: String,\n default: function _default() {\n return config.defaultModalScroll ? config.defaultModalScroll : 'clip';\n },\n validator: function validator(value) {\n return ['clip', 'keep'].indexOf(value) >= 0;\n }\n }\n },\n data: function data() {\n return {\n isOpen: this.open,\n isDelayOver: false,\n transitionName: null,\n animating: true,\n savedScrollTop: null,\n hasLeaved: false,\n whiteList: []\n };\n },\n computed: {\n rootClasses: function rootClasses() {\n return [this.type, {\n 'is-fixed': this.isFixed,\n 'is-static': this.isStatic,\n 'is-absolute': this.isAbsolute,\n 'is-fullheight': this.fullheight,\n 'is-fullwidth': this.fullwidth,\n 'is-right': this.right,\n 'is-mini': this.reduce && !this.isDelayOver,\n 'is-mini-expand': this.expandOnHover || this.isDelayOver,\n 'is-mini-expand-fixed': this.expandOnHover && this.expandOnHoverFixed || this.isDelayOver,\n 'is-mini-delayed': this.delay !== null,\n 'is-mini-mobile': this.mobile === 'reduce',\n 'is-hidden-mobile': this.mobile === 'hide',\n 'is-fullwidth-mobile': this.mobile === 'fullwidth'\n }];\n },\n cancelOptions: function cancelOptions() {\n return typeof this.canCancel === 'boolean' ? this.canCancel ? ['escape', 'outside'] : [] : this.canCancel;\n },\n isStatic: function isStatic() {\n return this.position === 'static';\n },\n isFixed: function isFixed() {\n return this.position === 'fixed';\n },\n isAbsolute: function isAbsolute() {\n return this.position === 'absolute';\n }\n },\n watch: {\n open: {\n handler: function handler(value) {\n this.isOpen = value;\n\n if (this.overlay) {\n this.handleScroll();\n }\n\n var open = this.right ? !value : value;\n this.transitionName = !open ? 'slide-prev' : 'slide-next';\n },\n immediate: true\n }\n },\n methods: {\n /**\r\n * Keypress event that is bound to the document.\r\n */\n keyPress: function keyPress(_ref) {\n var key = _ref.key;\n\n if (this.isFixed) {\n if (this.isOpen && (key === 'Escape' || key === 'Esc')) this.cancel('escape');\n }\n },\n\n /**\r\n * Close the Sidebar if canCancel and call the onCancel prop (function).\r\n */\n cancel: function cancel(method) {\n if (this.cancelOptions.indexOf(method) < 0) return;\n if (this.isStatic) return;\n this.onCancel.apply(null, arguments);\n this.close();\n },\n\n /**\r\n * Call the onCancel prop (function) and emit events\r\n */\n close: function close() {\n this.isOpen = false;\n this.$emit('close');\n this.$emit('update:open', false);\n },\n\n /**\r\n * Close fixed sidebar if clicked outside.\r\n */\n clickedOutside: function clickedOutside(event) {\n if (this.isFixed) {\n if (this.isOpen && !this.animating) {\n var target = isCustomElement(this) ? event.composedPath()[0] : event.target;\n\n if (this.whiteList.indexOf(target) < 0) {\n this.cancel('outside');\n }\n }\n }\n },\n\n /**\r\n * Transition before-enter hook\r\n */\n beforeEnter: function beforeEnter() {\n this.animating = true;\n },\n\n /**\r\n * Transition after-leave hook\r\n */\n afterEnter: function afterEnter() {\n this.animating = false;\n },\n handleScroll: function handleScroll() {\n if (typeof window === 'undefined') return;\n\n if (this.scroll === 'clip') {\n if (this.open) {\n document.documentElement.classList.add('is-clipped');\n } else {\n document.documentElement.classList.remove('is-clipped');\n }\n\n return;\n }\n\n this.savedScrollTop = !this.savedScrollTop ? document.documentElement.scrollTop : this.savedScrollTop;\n\n if (this.open) {\n document.body.classList.add('is-noscroll');\n } else {\n document.body.classList.remove('is-noscroll');\n }\n\n if (this.open) {\n document.body.style.top = \"-\".concat(this.savedScrollTop, \"px\");\n return;\n }\n\n document.documentElement.scrollTop = this.savedScrollTop;\n document.body.style.top = null;\n this.savedScrollTop = null;\n },\n onHover: function onHover() {\n var _this = this;\n\n if (this.delay) {\n this.hasLeaved = false;\n this.timer = setTimeout(function () {\n if (!_this.hasLeaved) {\n _this.isDelayOver = true;\n }\n\n _this.timer = null;\n }, this.delay);\n } else {\n this.isDelayOver = false;\n }\n },\n onHoverLeave: function onHoverLeave() {\n this.hasLeaved = true;\n this.timer = null;\n this.isDelayOver = false;\n }\n },\n created: function created() {\n if (typeof window !== 'undefined') {\n document.addEventListener('keyup', this.keyPress);\n document.addEventListener('click', this.clickedOutside);\n }\n },\n mounted: function mounted() {\n if (typeof window !== 'undefined') {\n if (this.isFixed) {\n document.body.appendChild(this.$el);\n }\n }\n\n if (this.overlay && this.open) {\n this.handleScroll();\n }\n },\n beforeDestroy: function beforeDestroy() {\n if (typeof window !== 'undefined') {\n document.removeEventListener('keyup', this.keyPress);\n document.removeEventListener('click', this.clickedOutside);\n\n if (this.overlay) {\n // reset scroll\n document.documentElement.classList.remove('is-clipped');\n var savedScrollTop = !this.savedScrollTop ? document.documentElement.scrollTop : this.savedScrollTop;\n document.body.classList.remove('is-noscroll');\n document.documentElement.scrollTop = savedScrollTop;\n document.body.style.top = null;\n }\n }\n\n if (this.isFixed) {\n removeElement(this.$el);\n }\n },\n beforeUpdate: function beforeUpdate() {\n /**\r\n * White-listed items to not close when clicked.\r\n * Add sidebar content and all children.\r\n */\n this.whiteList = [];\n this.whiteList.push(this.$refs.sidebarContent); // Add all chidren from sidebar\n\n if (this.$refs.sidebarContent !== undefined) {\n var children = this.$refs.sidebarContent.querySelectorAll('*');\n var _iteratorNormalCompletion = true;\n var _didIteratorError = false;\n var _iteratorError = undefined;\n\n try {\n for (var _iterator = children[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) {\n var child = _step.value;\n this.whiteList.push(child);\n }\n } catch (err) {\n _didIteratorError = true;\n _iteratorError = err;\n } finally {\n try {\n if (!_iteratorNormalCompletion && _iterator.return != null) {\n _iterator.return();\n }\n } finally {\n if (_didIteratorError) {\n throw _iteratorError;\n }\n }\n }\n }\n }\n};\n\n/* script */\nconst __vue_script__ = script;\n\n/* template */\nvar __vue_render__ = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"b-sidebar\"},[(_vm.overlay && _vm.isOpen)?_c('div',{staticClass:\"sidebar-background\"}):_vm._e(),_c('transition',{attrs:{\"name\":_vm.transitionName},on:{\"before-enter\":_vm.beforeEnter,\"after-enter\":_vm.afterEnter}},[_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.isOpen),expression:\"isOpen\"}],ref:\"sidebarContent\",staticClass:\"sidebar-content\",class:_vm.rootClasses,on:{\"mouseenter\":_vm.onHover,\"mouseleave\":_vm.onHoverLeave}},[_vm._t(\"default\")],2)])],1)};\nvar __vue_staticRenderFns__ = [];\n\n /* style */\n const __vue_inject_styles__ = undefined;\n /* scoped */\n const __vue_scope_id__ = undefined;\n /* module identifier */\n const __vue_module_identifier__ = undefined;\n /* functional template */\n const __vue_is_functional_template__ = false;\n /* style inject */\n \n /* style inject SSR */\n \n\n \n var Sidebar = __vue_normalize__(\n { render: __vue_render__, staticRenderFns: __vue_staticRenderFns__ },\n __vue_inject_styles__,\n __vue_script__,\n __vue_scope_id__,\n __vue_is_functional_template__,\n __vue_module_identifier__,\n undefined,\n undefined\n );\n\nvar Plugin = {\n install: function install(Vue) {\n registerComponent(Vue, Sidebar);\n }\n};\nuse(Plugin);\n\nexport default Plugin;\nexport { Sidebar as BSidebar };\n","import { _ as _defineProperty, d as _toConsumableArray } from './chunk-455cdeae.js';\nimport { bound } from './helpers.js';\nimport { c as config } from './chunk-e92e3389.js';\nimport { _ as __vue_normalize__, r as registerComponent, u as use } from './chunk-cca88db8.js';\nimport { T as Tooltip } from './chunk-9b0b8225.js';\n\nvar script = {\n name: 'BSliderThumb',\n components: _defineProperty({}, Tooltip.name, Tooltip),\n inheritAttrs: false,\n props: {\n value: {\n type: Number,\n default: 0\n },\n type: {\n type: String,\n default: ''\n },\n tooltip: {\n type: Boolean,\n default: true\n },\n indicator: {\n type: Boolean,\n default: false\n },\n customFormatter: Function,\n format: {\n type: String,\n default: 'raw',\n validator: function validator(value) {\n return ['raw', 'percent'].indexOf(value) >= 0;\n }\n },\n locale: {\n type: [String, Array],\n default: function _default() {\n return config.defaultLocale;\n }\n },\n tooltipAlways: {\n type: Boolean,\n default: false\n }\n },\n data: function data() {\n return {\n isFocused: false,\n dragging: false,\n startX: 0,\n startPosition: 0,\n newPosition: null,\n oldValue: this.value\n };\n },\n computed: {\n disabled: function disabled() {\n return this.$parent.disabled;\n },\n max: function max() {\n return this.$parent.max;\n },\n min: function min() {\n return this.$parent.min;\n },\n step: function step() {\n return this.$parent.step;\n },\n precision: function precision() {\n return this.$parent.precision;\n },\n currentPosition: function currentPosition() {\n return \"\".concat((this.value - this.min) / (this.max - this.min) * 100, \"%\");\n },\n wrapperStyle: function wrapperStyle() {\n return {\n left: this.currentPosition\n };\n },\n formattedValue: function formattedValue() {\n if (typeof this.customFormatter !== 'undefined') {\n return this.customFormatter(this.value);\n }\n\n if (this.format === 'percent') {\n return new Intl.NumberFormat(this.locale, {\n style: 'percent'\n }).format((this.value - this.min) / (this.max - this.min));\n }\n\n return new Intl.NumberFormat(this.locale).format(this.value);\n }\n },\n methods: {\n onFocus: function onFocus() {\n this.isFocused = true;\n },\n onBlur: function onBlur() {\n this.isFocused = false;\n },\n onButtonDown: function onButtonDown(event) {\n if (this.disabled) return;\n event.preventDefault();\n this.onDragStart(event);\n\n if (typeof window !== 'undefined') {\n document.addEventListener('mousemove', this.onDragging);\n document.addEventListener('touchmove', this.onDragging);\n document.addEventListener('mouseup', this.onDragEnd);\n document.addEventListener('touchend', this.onDragEnd);\n document.addEventListener('contextmenu', this.onDragEnd);\n }\n },\n onLeftKeyDown: function onLeftKeyDown() {\n if (this.disabled || this.value === this.min) return;\n this.newPosition = parseFloat(this.currentPosition) - this.step / (this.max - this.min) * 100;\n this.setPosition(this.newPosition);\n this.$parent.emitValue('change');\n },\n onRightKeyDown: function onRightKeyDown() {\n if (this.disabled || this.value === this.max) return;\n this.newPosition = parseFloat(this.currentPosition) + this.step / (this.max - this.min) * 100;\n this.setPosition(this.newPosition);\n this.$parent.emitValue('change');\n },\n onHomeKeyDown: function onHomeKeyDown() {\n if (this.disabled || this.value === this.min) return;\n this.newPosition = 0;\n this.setPosition(this.newPosition);\n this.$parent.emitValue('change');\n },\n onEndKeyDown: function onEndKeyDown() {\n if (this.disabled || this.value === this.max) return;\n this.newPosition = 100;\n this.setPosition(this.newPosition);\n this.$parent.emitValue('change');\n },\n onDragStart: function onDragStart(event) {\n this.dragging = true;\n this.$emit('dragstart');\n\n if (event.type === 'touchstart') {\n event.clientX = event.touches[0].clientX;\n }\n\n this.startX = event.clientX;\n this.startPosition = parseFloat(this.currentPosition);\n this.newPosition = this.startPosition;\n },\n onDragging: function onDragging(event) {\n if (this.dragging) {\n if (event.type === 'touchmove') {\n event.clientX = event.touches[0].clientX;\n }\n\n var diff = (event.clientX - this.startX) / this.$parent.sliderSize() * 100;\n this.newPosition = this.startPosition + diff;\n this.setPosition(this.newPosition);\n }\n },\n onDragEnd: function onDragEnd() {\n this.dragging = false;\n this.$emit('dragend');\n\n if (this.value !== this.oldValue) {\n this.$parent.emitValue('change');\n }\n\n this.setPosition(this.newPosition);\n\n if (typeof window !== 'undefined') {\n document.removeEventListener('mousemove', this.onDragging);\n document.removeEventListener('touchmove', this.onDragging);\n document.removeEventListener('mouseup', this.onDragEnd);\n document.removeEventListener('touchend', this.onDragEnd);\n document.removeEventListener('contextmenu', this.onDragEnd);\n }\n },\n setPosition: function setPosition(percent) {\n if (percent === null || isNaN(percent)) return;\n\n if (percent < 0) {\n percent = 0;\n } else if (percent > 100) {\n percent = 100;\n }\n\n var stepLength = 100 / ((this.max - this.min) / this.step);\n var steps = Math.round(percent / stepLength);\n var value = steps * stepLength / 100 * (this.max - this.min) + this.min;\n value = parseFloat(value.toFixed(this.precision));\n this.$emit('input', value);\n\n if (!this.dragging && value !== this.oldValue) {\n this.oldValue = value;\n }\n }\n }\n};\n\n/* script */\nconst __vue_script__ = script;\n\n/* template */\nvar __vue_render__ = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"b-slider-thumb-wrapper\",class:{ 'is-dragging': _vm.dragging, 'has-indicator': _vm.indicator},style:(_vm.wrapperStyle)},[_c('b-tooltip',{attrs:{\"label\":_vm.formattedValue,\"type\":_vm.type,\"always\":_vm.dragging || _vm.isFocused || _vm.tooltipAlways,\"active\":!_vm.disabled && _vm.tooltip}},[_c('div',_vm._b({staticClass:\"b-slider-thumb\",attrs:{\"tabindex\":_vm.disabled ? false : 0},on:{\"mousedown\":_vm.onButtonDown,\"touchstart\":_vm.onButtonDown,\"focus\":_vm.onFocus,\"blur\":_vm.onBlur,\"keydown\":[function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"left\",37,$event.key,[\"Left\",\"ArrowLeft\"])){ return null; }if('button' in $event && $event.button !== 0){ return null; }$event.preventDefault();return _vm.onLeftKeyDown($event)},function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"right\",39,$event.key,[\"Right\",\"ArrowRight\"])){ return null; }if('button' in $event && $event.button !== 2){ return null; }$event.preventDefault();return _vm.onRightKeyDown($event)},function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"down\",40,$event.key,[\"Down\",\"ArrowDown\"])){ return null; }$event.preventDefault();return _vm.onLeftKeyDown($event)},function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"up\",38,$event.key,[\"Up\",\"ArrowUp\"])){ return null; }$event.preventDefault();return _vm.onRightKeyDown($event)},function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"home\",undefined,$event.key,undefined)){ return null; }$event.preventDefault();return _vm.onHomeKeyDown($event)},function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"end\",undefined,$event.key,undefined)){ return null; }$event.preventDefault();return _vm.onEndKeyDown($event)}]}},'div',_vm.$attrs,false),[(_vm.indicator)?_c('span',[_vm._v(_vm._s(_vm.formattedValue))]):_vm._e()])])],1)};\nvar __vue_staticRenderFns__ = [];\n\n /* style */\n const __vue_inject_styles__ = undefined;\n /* scoped */\n const __vue_scope_id__ = undefined;\n /* module identifier */\n const __vue_module_identifier__ = undefined;\n /* functional template */\n const __vue_is_functional_template__ = false;\n /* style inject */\n \n /* style inject SSR */\n \n\n \n var SliderThumb = __vue_normalize__(\n { render: __vue_render__, staticRenderFns: __vue_staticRenderFns__ },\n __vue_inject_styles__,\n __vue_script__,\n __vue_scope_id__,\n __vue_is_functional_template__,\n __vue_module_identifier__,\n undefined,\n undefined\n );\n\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\nvar script$1 = {\n name: 'BSliderTick',\n props: {\n value: {\n type: Number,\n default: 0\n }\n },\n computed: {\n position: function position() {\n var pos = (this.value - this.$parent.min) / (this.$parent.max - this.$parent.min) * 100;\n return pos >= 0 && pos <= 100 ? pos : 0;\n },\n hidden: function hidden() {\n return this.value === this.$parent.min || this.value === this.$parent.max;\n }\n },\n methods: {\n getTickStyle: function getTickStyle(position) {\n return {\n 'left': position + '%'\n };\n }\n },\n created: function created() {\n if (!this.$parent.$data._isSlider) {\n this.$destroy();\n throw new Error('You should wrap bSliderTick on a bSlider');\n }\n }\n};\n\n/* script */\nconst __vue_script__$1 = script$1;\n\n/* template */\nvar __vue_render__$1 = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"b-slider-tick\",class:{ 'is-tick-hidden': _vm.hidden },style:(_vm.getTickStyle(_vm.position))},[(_vm.$slots.default)?_c('span',{staticClass:\"b-slider-tick-label\"},[_vm._t(\"default\")],2):_vm._e()])};\nvar __vue_staticRenderFns__$1 = [];\n\n /* style */\n const __vue_inject_styles__$1 = undefined;\n /* scoped */\n const __vue_scope_id__$1 = undefined;\n /* module identifier */\n const __vue_module_identifier__$1 = undefined;\n /* functional template */\n const __vue_is_functional_template__$1 = false;\n /* style inject */\n \n /* style inject SSR */\n \n\n \n var SliderTick = __vue_normalize__(\n { render: __vue_render__$1, staticRenderFns: __vue_staticRenderFns__$1 },\n __vue_inject_styles__$1,\n __vue_script__$1,\n __vue_scope_id__$1,\n __vue_is_functional_template__$1,\n __vue_module_identifier__$1,\n undefined,\n undefined\n );\n\nvar _components;\nvar script$2 = {\n name: 'BSlider',\n components: (_components = {}, _defineProperty(_components, SliderThumb.name, SliderThumb), _defineProperty(_components, SliderTick.name, SliderTick), _components),\n props: {\n value: {\n type: [Number, Array],\n default: 0\n },\n min: {\n type: Number,\n default: 0\n },\n max: {\n type: Number,\n default: 100\n },\n step: {\n type: Number,\n default: 1\n },\n type: {\n type: String,\n default: 'is-primary'\n },\n size: String,\n ticks: {\n type: Boolean,\n default: false\n },\n tooltip: {\n type: Boolean,\n default: true\n },\n tooltipType: String,\n rounded: {\n type: Boolean,\n default: false\n },\n disabled: {\n type: Boolean,\n default: false\n },\n lazy: {\n type: Boolean,\n default: false\n },\n customFormatter: Function,\n ariaLabel: [String, Array],\n biggerSliderFocus: {\n type: Boolean,\n default: false\n },\n indicator: {\n type: Boolean,\n default: false\n },\n format: {\n type: String,\n default: 'raw',\n validator: function validator(value) {\n return ['raw', 'percent'].indexOf(value) >= 0;\n }\n },\n locale: {\n type: [String, Array],\n default: function _default() {\n return config.defaultLocale;\n }\n },\n tooltipAlways: {\n type: Boolean,\n default: false\n }\n },\n data: function data() {\n return {\n value1: null,\n value2: null,\n dragging: false,\n isRange: false,\n _isSlider: true // Used by Thumb and Tick\n\n };\n },\n computed: {\n newTooltipType: function newTooltipType() {\n return this.tooltipType ? this.tooltipType : this.type;\n },\n tickValues: function tickValues() {\n if (!this.ticks || this.min > this.max || this.step === 0) return [];\n var result = [];\n\n for (var i = this.min + this.step; i < this.max; i = i + this.step) {\n result.push(i);\n }\n\n return result;\n },\n minValue: function minValue() {\n return Math.min(this.value1, this.value2);\n },\n maxValue: function maxValue() {\n return Math.max(this.value1, this.value2);\n },\n barSize: function barSize() {\n return this.isRange ? \"\".concat(100 * (this.maxValue - this.minValue) / (this.max - this.min), \"%\") : \"\".concat(100 * (this.value1 - this.min) / (this.max - this.min), \"%\");\n },\n barStart: function barStart() {\n return this.isRange ? \"\".concat(100 * (this.minValue - this.min) / (this.max - this.min), \"%\") : '0%';\n },\n precision: function precision() {\n var precisions = [this.min, this.max, this.step].map(function (item) {\n var decimal = ('' + item).split('.')[1];\n return decimal ? decimal.length : 0;\n });\n return Math.max.apply(Math, _toConsumableArray(precisions));\n },\n barStyle: function barStyle() {\n return {\n width: this.barSize,\n left: this.barStart\n };\n },\n rootClasses: function rootClasses() {\n return {\n 'is-rounded': this.rounded,\n 'is-dragging': this.dragging,\n 'is-disabled': this.disabled,\n 'slider-focus': this.biggerSliderFocus\n };\n }\n },\n watch: {\n /**\r\n * When v-model is changed set the new active step.\r\n */\n value: function value(_value) {\n this.setValues(_value);\n },\n value1: function value1() {\n this.onInternalValueUpdate();\n },\n value2: function value2() {\n this.onInternalValueUpdate();\n },\n min: function min() {\n this.setValues(this.value);\n },\n max: function max() {\n this.setValues(this.value);\n }\n },\n methods: {\n setValues: function setValues(newValue) {\n if (this.min > this.max) {\n return;\n }\n\n if (Array.isArray(newValue)) {\n this.isRange = true;\n var smallValue = typeof newValue[0] !== 'number' || isNaN(newValue[0]) ? this.min : bound(newValue[0], this.min, this.max);\n var largeValue = typeof newValue[1] !== 'number' || isNaN(newValue[1]) ? this.max : bound(newValue[1], this.min, this.max);\n this.value1 = this.isThumbReversed ? largeValue : smallValue;\n this.value2 = this.isThumbReversed ? smallValue : largeValue;\n } else {\n this.isRange = false;\n this.value1 = isNaN(newValue) ? this.min : bound(newValue, this.min, this.max);\n this.value2 = null;\n }\n },\n onInternalValueUpdate: function onInternalValueUpdate() {\n if (this.isRange) {\n this.isThumbReversed = this.value1 > this.value2;\n }\n\n if (!this.lazy || !this.dragging) {\n this.emitValue('input');\n }\n\n if (this.dragging) {\n this.emitValue('dragging');\n }\n },\n sliderSize: function sliderSize() {\n return this.$refs.slider.getBoundingClientRect().width;\n },\n onSliderClick: function onSliderClick(event) {\n if (this.disabled || this.isTrackClickDisabled) return;\n var sliderOffsetLeft = this.$refs.slider.getBoundingClientRect().left;\n var percent = (event.clientX - sliderOffsetLeft) / this.sliderSize() * 100;\n var targetValue = this.min + percent * (this.max - this.min) / 100;\n var diffFirst = Math.abs(targetValue - this.value1);\n\n if (!this.isRange) {\n if (diffFirst < this.step / 2) return;\n this.$refs.button1.setPosition(percent);\n } else {\n var diffSecond = Math.abs(targetValue - this.value2);\n\n if (diffFirst <= diffSecond) {\n if (diffFirst < this.step / 2) return;\n this.$refs['button1'].setPosition(percent);\n } else {\n if (diffSecond < this.step / 2) return;\n this.$refs['button2'].setPosition(percent);\n }\n }\n\n this.emitValue('change');\n },\n onDragStart: function onDragStart() {\n this.dragging = true;\n this.$emit('dragstart');\n },\n onDragEnd: function onDragEnd() {\n var _this = this;\n\n this.isTrackClickDisabled = true;\n setTimeout(function () {\n // avoid triggering onSliderClick after dragend\n _this.isTrackClickDisabled = false;\n }, 0);\n this.dragging = false;\n this.$emit('dragend');\n\n if (this.lazy) {\n this.emitValue('input');\n }\n },\n emitValue: function emitValue(type) {\n this.$emit(type, this.isRange ? [this.minValue, this.maxValue] : this.value1);\n }\n },\n created: function created() {\n this.isThumbReversed = false;\n this.isTrackClickDisabled = false;\n this.setValues(this.value);\n }\n};\n\n/* script */\nconst __vue_script__$2 = script$2;\n\n/* template */\nvar __vue_render__$2 = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"b-slider\",class:[_vm.size, _vm.type, _vm.rootClasses ],on:{\"click\":_vm.onSliderClick}},[_c('div',{ref:\"slider\",staticClass:\"b-slider-track\"},[_c('div',{staticClass:\"b-slider-fill\",style:(_vm.barStyle)}),(_vm.ticks)?_vm._l((_vm.tickValues),function(val,key){return _c('b-slider-tick',{key:key,attrs:{\"value\":val}})}):_vm._e(),_vm._t(\"default\"),_c('b-slider-thumb',{ref:\"button1\",attrs:{\"tooltip-always\":_vm.tooltipAlways,\"type\":_vm.newTooltipType,\"tooltip\":_vm.tooltip,\"custom-formatter\":_vm.customFormatter,\"indicator\":_vm.indicator,\"format\":_vm.format,\"locale\":_vm.locale,\"role\":\"slider\",\"aria-valuenow\":_vm.value1,\"aria-valuemin\":_vm.min,\"aria-valuemax\":_vm.max,\"aria-orientation\":\"horizontal\",\"aria-label\":Array.isArray(_vm.ariaLabel) ? _vm.ariaLabel[0] : _vm.ariaLabel,\"aria-disabled\":_vm.disabled},on:{\"dragstart\":_vm.onDragStart,\"dragend\":_vm.onDragEnd},model:{value:(_vm.value1),callback:function ($$v) {_vm.value1=$$v;},expression:\"value1\"}}),(_vm.isRange)?_c('b-slider-thumb',{ref:\"button2\",attrs:{\"tooltip-always\":_vm.tooltipAlways,\"type\":_vm.newTooltipType,\"tooltip\":_vm.tooltip,\"custom-formatter\":_vm.customFormatter,\"indicator\":_vm.indicator,\"format\":_vm.format,\"locale\":_vm.locale,\"role\":\"slider\",\"aria-valuenow\":_vm.value2,\"aria-valuemin\":_vm.min,\"aria-valuemax\":_vm.max,\"aria-orientation\":\"horizontal\",\"aria-label\":Array.isArray(_vm.ariaLabel) ? _vm.ariaLabel[1] : '',\"aria-disabled\":_vm.disabled},on:{\"dragstart\":_vm.onDragStart,\"dragend\":_vm.onDragEnd},model:{value:(_vm.value2),callback:function ($$v) {_vm.value2=$$v;},expression:\"value2\"}}):_vm._e()],2)])};\nvar __vue_staticRenderFns__$2 = [];\n\n /* style */\n const __vue_inject_styles__$2 = undefined;\n /* scoped */\n const __vue_scope_id__$2 = undefined;\n /* module identifier */\n const __vue_module_identifier__$2 = undefined;\n /* functional template */\n const __vue_is_functional_template__$2 = false;\n /* style inject */\n \n /* style inject SSR */\n \n\n \n var Slider = __vue_normalize__(\n { render: __vue_render__$2, staticRenderFns: __vue_staticRenderFns__$2 },\n __vue_inject_styles__$2,\n __vue_script__$2,\n __vue_scope_id__$2,\n __vue_is_functional_template__$2,\n __vue_module_identifier__$2,\n undefined,\n undefined\n );\n\nvar Plugin = {\n install: function install(Vue) {\n registerComponent(Vue, Slider);\n registerComponent(Vue, SliderTick);\n }\n};\nuse(Plugin);\n\nexport default Plugin;\nexport { Slider as BSlider, SliderTick as BSliderTick };\n","import './chunk-455cdeae.js';\nimport { merge } from './helpers.js';\nimport { c as config, V as VueInstance } from './chunk-e92e3389.js';\nimport { _ as __vue_normalize__, a as registerComponentProgrammatic, u as use } from './chunk-cca88db8.js';\nimport { N as NoticeMixin } from './chunk-a32d1427.js';\n\n//\nvar script = {\n name: 'BSnackbar',\n mixins: [NoticeMixin],\n props: {\n actionText: {\n type: String,\n default: 'OK'\n },\n onAction: {\n type: Function,\n default: function _default() {}\n },\n cancelText: {\n type: String | null,\n default: null\n }\n },\n data: function data() {\n return {\n newDuration: this.duration || config.defaultSnackbarDuration\n };\n },\n methods: {\n /**\r\n * Click listener.\r\n * Call action prop before closing (from Mixin).\r\n */\n action: function action() {\n this.onAction();\n this.close();\n }\n }\n};\n\n/* script */\nconst __vue_script__ = script;\n\n/* template */\nvar __vue_render__ = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('transition',{attrs:{\"enter-active-class\":_vm.transition.enter,\"leave-active-class\":_vm.transition.leave}},[_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.isActive),expression:\"isActive\"}],staticClass:\"snackbar\",class:[_vm.type,_vm.position],attrs:{\"role\":_vm.actionText ? 'alertdialog' : 'alert'},on:{\"mouseenter\":_vm.pause,\"mouseleave\":_vm.removePause}},[(_vm.$slots.default)?[_vm._t(\"default\")]:[_c('div',{staticClass:\"text\",domProps:{\"innerHTML\":_vm._s(_vm.message)}})],(_vm.cancelText)?_c('div',{staticClass:\"action is-light is-cancel\",on:{\"click\":_vm.close}},[_c('button',{staticClass:\"button\"},[_vm._v(_vm._s(_vm.cancelText))])]):_vm._e(),(_vm.actionText)?_c('div',{staticClass:\"action\",class:_vm.type,on:{\"click\":_vm.action}},[_c('button',{staticClass:\"button\"},[_vm._v(_vm._s(_vm.actionText))])]):_vm._e()],2)])};\nvar __vue_staticRenderFns__ = [];\n\n /* style */\n const __vue_inject_styles__ = undefined;\n /* scoped */\n const __vue_scope_id__ = undefined;\n /* module identifier */\n const __vue_module_identifier__ = undefined;\n /* functional template */\n const __vue_is_functional_template__ = false;\n /* style inject */\n \n /* style inject SSR */\n \n\n \n var Snackbar = __vue_normalize__(\n { render: __vue_render__, staticRenderFns: __vue_staticRenderFns__ },\n __vue_inject_styles__,\n __vue_script__,\n __vue_scope_id__,\n __vue_is_functional_template__,\n __vue_module_identifier__,\n undefined,\n undefined\n );\n\nvar localVueInstance;\nvar SnackbarProgrammatic = {\n open: function open(params) {\n var parent;\n\n if (typeof params === 'string') {\n params = {\n message: params\n };\n }\n\n var defaultParam = {\n type: 'is-success',\n position: config.defaultSnackbarPosition || 'is-bottom-right',\n queue: true\n };\n\n if (params.parent) {\n parent = params.parent;\n delete params.parent;\n }\n\n var slot;\n\n if (Array.isArray(params.message)) {\n slot = params.message;\n delete params.message;\n }\n\n var propsData = merge(defaultParam, params);\n var vm = typeof window !== 'undefined' && window.Vue ? window.Vue : localVueInstance || VueInstance;\n var SnackbarComponent = vm.extend(Snackbar);\n var component = new SnackbarComponent({\n parent: parent,\n el: document.createElement('div'),\n propsData: propsData\n });\n\n if (slot) {\n component.$slots.default = slot;\n component.$forceUpdate();\n }\n\n return component;\n }\n};\nvar Plugin = {\n install: function install(Vue) {\n localVueInstance = Vue;\n registerComponentProgrammatic(Vue, 'snackbar', SnackbarProgrammatic);\n }\n};\nuse(Plugin);\n\nexport default Plugin;\nexport { Snackbar as BSnackbar, SnackbarProgrammatic };\n","import { isVueComponent } from './helpers.js';\n\nvar SlotComponent = {\n name: 'BSlotComponent',\n props: {\n component: {\n type: Object,\n required: true\n },\n name: {\n type: String,\n default: 'default'\n },\n scoped: {\n type: Boolean\n },\n props: {\n type: Object\n },\n tag: {\n type: String,\n default: 'div'\n },\n event: {\n type: String,\n default: 'hook:updated'\n }\n },\n methods: {\n refresh: function refresh() {\n this.$forceUpdate();\n }\n },\n created: function created() {\n if (isVueComponent(this.component)) {\n this.component.$on(this.event, this.refresh);\n }\n },\n beforeDestroy: function beforeDestroy() {\n if (isVueComponent(this.component)) {\n this.component.$off(this.event, this.refresh);\n }\n },\n render: function render(createElement) {\n if (isVueComponent(this.component)) {\n return createElement(this.tag, {}, this.scoped ? this.component.$scopedSlots[this.name](this.props) : this.component.$slots[this.name]);\n }\n }\n};\n\nexport { SlotComponent as S };\n","import { _ as _defineProperty } from './chunk-455cdeae.js';\nimport { bound } from './helpers.js';\nimport { I as Icon } from './chunk-7e17a637.js';\nimport { P as ProviderParentMixin, S as Sorted, I as InjectedChildMixin, a as Sorted$1 } from './chunk-60a03517.js';\nimport { S as SlotComponent } from './chunk-c9c18b2f.js';\n\nvar TabbedMixin = (function (cmp) {\n var _components;\n\n return {\n mixins: [ProviderParentMixin(cmp, Sorted)],\n components: (_components = {}, _defineProperty(_components, Icon.name, Icon), _defineProperty(_components, SlotComponent.name, SlotComponent), _components),\n props: {\n value: {\n type: [String, Number],\n default: undefined\n },\n size: String,\n animated: {\n type: Boolean,\n default: true\n },\n animation: String,\n animateInitially: Boolean,\n vertical: {\n type: Boolean,\n default: false\n },\n position: String,\n destroyOnHide: {\n type: Boolean,\n default: false\n }\n },\n data: function data() {\n return {\n activeId: this.value,\n // Internal state\n defaultSlots: [],\n contentHeight: 0,\n isTransitioning: false\n };\n },\n mounted: function mounted() {\n if (typeof this.value === 'number') {\n // Backward compatibility: converts the index value to an id\n var value = bound(this.value, 0, this.items.length - 1);\n this.activeId = this.items[value].value;\n } else {\n this.activeId = this.value;\n }\n },\n computed: {\n activeItem: function activeItem() {\n var _this = this;\n\n return this.activeId === undefined ? this.items[0] : this.activeId === null ? null : this.childItems.find(function (i) {\n return i.value === _this.activeId;\n });\n },\n items: function items() {\n return this.sortedItems;\n }\n },\n watch: {\n /**\r\n * When v-model is changed set the new active tab.\r\n */\n value: function value(_value) {\n if (typeof _value === 'number') {\n // Backward compatibility: converts the index value to an id\n _value = bound(_value, 0, this.items.length - 1);\n this.activeId = this.items[_value].value;\n } else {\n this.activeId = _value;\n }\n },\n\n /**\r\n * Sync internal state with external state\r\n */\n activeId: function activeId(val, oldValue) {\n var oldTab = oldValue !== undefined && oldValue !== null ? this.childItems.find(function (i) {\n return i.value === oldValue;\n }) : null;\n\n if (oldTab && this.activeItem) {\n oldTab.deactivate(this.activeItem.index);\n this.activeItem.activate(oldTab.index);\n }\n\n val = this.activeItem ? typeof this.value === 'number' ? this.items.indexOf(this.activeItem) : this.activeItem.value : undefined;\n\n if (val !== this.value) {\n this.$emit('input', val);\n }\n }\n },\n methods: {\n /**\r\n * Child click listener, emit input event and change active child.\r\n */\n childClick: function childClick(child) {\n this.activeId = child.value;\n },\n getNextItemIdx: function getNextItemIdx(fromIdx) {\n var skipDisabled = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;\n var nextItemIdx = null;\n var idx = fromIdx + 1;\n\n for (; idx < this.items.length; idx++) {\n var item = this.items[idx];\n\n if (item.visible && (!skipDisabled || skipDisabled && !item.disabled)) {\n nextItemIdx = idx;\n break;\n }\n }\n\n return nextItemIdx;\n },\n getPrevItemIdx: function getPrevItemIdx(fromIdx) {\n var skipDisabled = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;\n var prevItemIdx = null;\n\n for (var idx = fromIdx - 1; idx >= 0; idx--) {\n var item = this.items[idx];\n\n if (item.visible && (!skipDisabled || skipDisabled && !item.disabled)) {\n prevItemIdx = idx;\n break;\n }\n }\n\n return prevItemIdx;\n }\n }\n };\n});\n\nvar TabbedChildMixin = (function (parentCmp) {\n return {\n mixins: [InjectedChildMixin(parentCmp, Sorted$1)],\n props: {\n label: String,\n icon: String,\n iconPack: String,\n visible: {\n type: Boolean,\n default: true\n },\n value: {\n type: String,\n default: function _default() {\n return this._uid.toString();\n }\n },\n headerClass: {\n type: [String, Array, Object],\n default: null\n }\n },\n data: function data() {\n return {\n transitionName: null,\n elementClass: 'item',\n elementRole: null\n };\n },\n computed: {\n isActive: function isActive() {\n return this.parent.activeItem === this;\n }\n },\n methods: {\n /**\r\n * Activate element, alter animation name based on the index.\r\n */\n activate: function activate(oldIndex) {\n this.transitionName = this.index < oldIndex ? this.parent.vertical ? 'slide-down' : 'slide-next' : this.parent.vertical ? 'slide-up' : 'slide-prev';\n },\n\n /**\r\n * Deactivate element, alter animation name based on the index.\r\n */\n deactivate: function deactivate(newIndex) {\n this.transitionName = newIndex < this.index ? this.parent.vertical ? 'slide-down' : 'slide-next' : this.parent.vertical ? 'slide-up' : 'slide-prev';\n }\n },\n render: function render(createElement) {\n var _this = this;\n\n // if destroy apply v-if\n if (this.parent.destroyOnHide) {\n if (!this.isActive || !this.visible) {\n return;\n }\n }\n\n var vnode = createElement('div', {\n directives: [{\n name: 'show',\n value: this.isActive && this.visible\n }],\n attrs: {\n 'class': this.elementClass,\n 'role': this.elementRole,\n 'id': \"\".concat(this.value, \"-content\"),\n 'aria-labelledby': this.elementRole ? \"\".concat(this.value, \"-label\") : null,\n 'tabindex': this.isActive ? 0 : -1\n }\n }, this.$slots.default); // check animated prop\n\n if (this.parent.animated) {\n return createElement('transition', {\n props: {\n 'name': this.parent.animation || this.transitionName,\n 'appear': this.parent.animateInitially === true || undefined\n },\n on: {\n 'before-enter': function beforeEnter() {\n _this.parent.isTransitioning = true;\n },\n 'after-enter': function afterEnter() {\n _this.parent.isTransitioning = false;\n }\n }\n }, [vnode]);\n }\n\n return vnode;\n }\n };\n});\n\nexport { TabbedMixin as T, TabbedChildMixin as a };\n","import { _ as _defineProperty } from './chunk-455cdeae.js';\nimport './helpers.js';\nimport { c as config } from './chunk-e92e3389.js';\nimport { I as Icon } from './chunk-7e17a637.js';\nimport { _ as __vue_normalize__, r as registerComponent, u as use } from './chunk-cca88db8.js';\nimport './chunk-60a03517.js';\nimport './chunk-c9c18b2f.js';\nimport { T as TabbedMixin, a as TabbedChildMixin } from './chunk-f32d0228.js';\n\nvar script = {\n name: 'BSteps',\n components: _defineProperty({}, Icon.name, Icon),\n mixins: [TabbedMixin('step')],\n props: {\n type: [String, Object],\n iconPack: String,\n iconPrev: {\n type: String,\n default: function _default() {\n return config.defaultIconPrev;\n }\n },\n iconNext: {\n type: String,\n default: function _default() {\n return config.defaultIconNext;\n }\n },\n hasNavigation: {\n type: Boolean,\n default: true\n },\n labelPosition: {\n type: String,\n validator: function validator(value) {\n return ['bottom', 'right', 'left'].indexOf(value) > -1;\n },\n default: 'bottom'\n },\n rounded: {\n type: Boolean,\n default: true\n },\n mobileMode: {\n type: String,\n validator: function validator(value) {\n return ['minimalist', 'compact'].indexOf(value) > -1;\n },\n default: 'minimalist'\n },\n ariaNextLabel: String,\n ariaPreviousLabel: String\n },\n computed: {\n // Override mixin implementation to always have a value\n activeItem: function activeItem() {\n var _this = this;\n\n return this.childItems.filter(function (i) {\n return i.value === _this.activeId;\n })[0] || this.items[0];\n },\n wrapperClasses: function wrapperClasses() {\n return [this.size, _defineProperty({\n 'is-vertical': this.vertical\n }, this.position, this.position && this.vertical)];\n },\n mainClasses: function mainClasses() {\n return [this.type, _defineProperty({\n 'has-label-right': this.labelPosition === 'right',\n 'has-label-left': this.labelPosition === 'left',\n 'is-animated': this.animated,\n 'is-rounded': this.rounded\n }, \"mobile-\".concat(this.mobileMode), this.mobileMode !== null)];\n },\n\n /**\r\n * Check if previous button is available.\r\n */\n hasPrev: function hasPrev() {\n return this.prevItemIdx !== null;\n },\n\n /**\r\n * Retrieves the next visible item index\r\n */\n nextItemIdx: function nextItemIdx() {\n var idx = this.activeItem ? this.items.indexOf(this.activeItem) : 0;\n return this.getNextItemIdx(idx);\n },\n\n /**\r\n * Retrieves the next visible item\r\n */\n nextItem: function nextItem() {\n var nextItem = null;\n\n if (this.nextItemIdx !== null) {\n nextItem = this.items[this.nextItemIdx];\n }\n\n return nextItem;\n },\n\n /**\r\n * Retrieves the next visible item index\r\n */\n prevItemIdx: function prevItemIdx() {\n if (!this.activeItem) {\n return null;\n }\n\n var idx = this.items.indexOf(this.activeItem);\n return this.getPrevItemIdx(idx);\n },\n\n /**\r\n * Retrieves the previous visible item\r\n */\n prevItem: function prevItem() {\n if (!this.activeItem) {\n return null;\n }\n\n var prevItem = null;\n\n if (this.prevItemIdx !== null) {\n prevItem = this.items[this.prevItemIdx];\n }\n\n return prevItem;\n },\n\n /**\r\n * Check if next button is available.\r\n */\n hasNext: function hasNext() {\n return this.nextItemIdx !== null;\n },\n navigationProps: function navigationProps() {\n return {\n previous: {\n disabled: !this.hasPrev,\n action: this.prev\n },\n next: {\n disabled: !this.hasNext,\n action: this.next\n }\n };\n }\n },\n methods: {\n /**\r\n * Return if the step should be clickable or not.\r\n */\n isItemClickable: function isItemClickable(stepItem) {\n if (stepItem.clickable === undefined) {\n return stepItem.index < this.activeItem.index;\n }\n\n return stepItem.clickable;\n },\n\n /**\r\n * Previous button click listener.\r\n */\n prev: function prev() {\n if (this.hasPrev) {\n this.activeId = this.prevItem.value;\n }\n },\n\n /**\r\n * Previous button click listener.\r\n */\n next: function next() {\n if (this.hasNext) {\n this.activeId = this.nextItem.value;\n }\n }\n }\n};\n\n/* script */\nconst __vue_script__ = script;\n\n/* template */\nvar __vue_render__ = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"b-steps\",class:_vm.wrapperClasses},[_c('nav',{staticClass:\"steps\",class:_vm.mainClasses},[_c('ul',{staticClass:\"step-items\"},_vm._l((_vm.items),function(childItem){return _c('li',{directives:[{name:\"show\",rawName:\"v-show\",value:(childItem.visible),expression:\"childItem.visible\"}],key:childItem.value,staticClass:\"step-item\",class:[childItem.type || _vm.type, childItem.headerClass, {\n 'is-active': childItem.isActive,\n 'is-previous': _vm.activeItem.index > childItem.index\n }]},[_c('a',{staticClass:\"step-link\",class:{'is-clickable': _vm.isItemClickable(childItem)},on:{\"click\":function($event){_vm.isItemClickable(childItem) && _vm.childClick(childItem);}}},[_c('div',{staticClass:\"step-marker\"},[(childItem.icon)?_c('b-icon',{attrs:{\"icon\":childItem.icon,\"pack\":childItem.iconPack,\"size\":_vm.size}}):(childItem.step)?_c('span',[_vm._v(_vm._s(childItem.step))]):_vm._e()],1),_c('div',{staticClass:\"step-details\"},[_c('span',{staticClass:\"step-title\"},[_vm._v(_vm._s(childItem.label))])])])])}),0)]),_c('section',{staticClass:\"step-content\",class:{'is-transitioning': _vm.isTransitioning}},[_vm._t(\"default\")],2),_vm._t(\"navigation\",[(_vm.hasNavigation)?_c('nav',{staticClass:\"step-navigation\"},[_c('a',{staticClass:\"pagination-previous\",attrs:{\"role\":\"button\",\"disabled\":_vm.navigationProps.previous.disabled,\"aria-label\":_vm.ariaPreviousLabel},on:{\"click\":function($event){$event.preventDefault();return _vm.navigationProps.previous.action($event)}}},[_c('b-icon',{attrs:{\"icon\":_vm.iconPrev,\"pack\":_vm.iconPack,\"both\":\"\",\"aria-hidden\":\"true\"}})],1),_c('a',{staticClass:\"pagination-next\",attrs:{\"role\":\"button\",\"disabled\":_vm.navigationProps.next.disabled,\"aria-label\":_vm.ariaNextLabel},on:{\"click\":function($event){$event.preventDefault();return _vm.navigationProps.next.action($event)}}},[_c('b-icon',{attrs:{\"icon\":_vm.iconNext,\"pack\":_vm.iconPack,\"both\":\"\",\"aria-hidden\":\"true\"}})],1)]):_vm._e()],{\"previous\":_vm.navigationProps.previous,\"next\":_vm.navigationProps.next})],2)};\nvar __vue_staticRenderFns__ = [];\n\n /* style */\n const __vue_inject_styles__ = undefined;\n /* scoped */\n const __vue_scope_id__ = undefined;\n /* module identifier */\n const __vue_module_identifier__ = undefined;\n /* functional template */\n const __vue_is_functional_template__ = false;\n /* style inject */\n \n /* style inject SSR */\n \n\n \n var Steps = __vue_normalize__(\n { render: __vue_render__, staticRenderFns: __vue_staticRenderFns__ },\n __vue_inject_styles__,\n __vue_script__,\n __vue_scope_id__,\n __vue_is_functional_template__,\n __vue_module_identifier__,\n undefined,\n undefined\n );\n\nvar script$1 = {\n name: 'BStepItem',\n mixins: [TabbedChildMixin('step')],\n props: {\n step: [String, Number],\n type: [String, Object],\n clickable: {\n type: Boolean,\n default: undefined\n }\n },\n data: function data() {\n return {\n elementClass: 'step-item'\n };\n }\n};\n\n/* script */\nconst __vue_script__$1 = script$1;\n\n/* template */\n\n /* style */\n const __vue_inject_styles__$1 = undefined;\n /* scoped */\n const __vue_scope_id__$1 = undefined;\n /* module identifier */\n const __vue_module_identifier__$1 = undefined;\n /* functional template */\n const __vue_is_functional_template__$1 = undefined;\n /* style inject */\n \n /* style inject SSR */\n \n\n \n var StepItem = __vue_normalize__(\n {},\n __vue_inject_styles__$1,\n __vue_script__$1,\n __vue_scope_id__$1,\n __vue_is_functional_template__$1,\n __vue_module_identifier__$1,\n undefined,\n undefined\n );\n\nvar Plugin = {\n install: function install(Vue) {\n registerComponent(Vue, Steps);\n registerComponent(Vue, StepItem);\n }\n};\nuse(Plugin);\n\nexport default Plugin;\nexport { StepItem as BStepItem, Steps as BSteps };\n","import { c as config } from './chunk-e92e3389.js';\nimport { _ as __vue_normalize__, r as registerComponent, u as use } from './chunk-cca88db8.js';\n\n//\nvar script = {\n name: 'BSwitch',\n props: {\n value: [String, Number, Boolean, Function, Object, Array, Date],\n nativeValue: [String, Number, Boolean, Function, Object, Array, Date],\n disabled: Boolean,\n type: String,\n passiveType: String,\n name: String,\n required: Boolean,\n size: String,\n ariaLabelledby: String,\n trueValue: {\n type: [String, Number, Boolean, Function, Object, Array, Date],\n default: true\n },\n falseValue: {\n type: [String, Number, Boolean, Function, Object, Array, Date],\n default: false\n },\n rounded: {\n type: Boolean,\n default: function _default() {\n return config.defaultSwitchRounded;\n }\n },\n outlined: {\n type: Boolean,\n default: false\n },\n leftLabel: {\n type: Boolean,\n default: false\n }\n },\n data: function data() {\n return {\n newValue: this.value,\n isMouseDown: false\n };\n },\n computed: {\n computedValue: {\n get: function get() {\n return this.newValue;\n },\n set: function set(value) {\n this.newValue = value;\n this.$emit('input', value);\n }\n },\n newClass: function newClass() {\n return [this.size, {\n 'is-disabled': this.disabled,\n 'is-rounded': this.rounded,\n 'is-outlined': this.outlined,\n 'has-left-label': this.leftLabel\n }];\n },\n checkClasses: function checkClasses() {\n return [{\n 'is-elastic': this.isMouseDown && !this.disabled\n }, this.passiveType && \"\".concat(this.passiveType, \"-passive\"), this.type];\n },\n showControlLabel: function showControlLabel() {\n return !!this.$slots.default;\n }\n },\n watch: {\n /**\r\n * When v-model change, set internal value.\r\n */\n value: function value(_value) {\n this.newValue = _value;\n }\n },\n methods: {\n focus: function focus() {\n // MacOS FireFox and Safari do not focus when clicked\n this.$refs.input.focus();\n }\n }\n};\n\n/* script */\nconst __vue_script__ = script;\n\n/* template */\nvar __vue_render__ = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('label',{ref:\"label\",staticClass:\"switch\",class:_vm.newClass,attrs:{\"disabled\":_vm.disabled},on:{\"click\":_vm.focus,\"keydown\":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"enter\",13,$event.key,\"Enter\")){ return null; }$event.preventDefault();return _vm.$refs.label.click()},\"mousedown\":function($event){_vm.isMouseDown = true;},\"mouseup\":function($event){_vm.isMouseDown = false;},\"mouseout\":function($event){_vm.isMouseDown = false;},\"blur\":function($event){_vm.isMouseDown = false;}}},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.computedValue),expression:\"computedValue\"}],ref:\"input\",attrs:{\"type\":\"checkbox\",\"disabled\":_vm.disabled,\"name\":_vm.name,\"required\":_vm.required,\"true-value\":_vm.trueValue,\"false-value\":_vm.falseValue,\"aria-labelledby\":_vm.ariaLabelledby},domProps:{\"value\":_vm.nativeValue,\"checked\":Array.isArray(_vm.computedValue)?_vm._i(_vm.computedValue,_vm.nativeValue)>-1:_vm._q(_vm.computedValue,_vm.trueValue)},on:{\"click\":function($event){$event.stopPropagation();},\"change\":function($event){var $$a=_vm.computedValue,$$el=$event.target,$$c=$$el.checked?(_vm.trueValue):(_vm.falseValue);if(Array.isArray($$a)){var $$v=_vm.nativeValue,$$i=_vm._i($$a,$$v);if($$el.checked){$$i<0&&(_vm.computedValue=$$a.concat([$$v]));}else{$$i>-1&&(_vm.computedValue=$$a.slice(0,$$i).concat($$a.slice($$i+1)));}}else{_vm.computedValue=$$c;}}}}),_c('span',{staticClass:\"check\",class:_vm.checkClasses}),(_vm.showControlLabel)?_c('span',{staticClass:\"control-label\",attrs:{\"id\":_vm.ariaLabelledby}},[_vm._t(\"default\")],2):_vm._e()])};\nvar __vue_staticRenderFns__ = [];\n\n /* style */\n const __vue_inject_styles__ = undefined;\n /* scoped */\n const __vue_scope_id__ = undefined;\n /* module identifier */\n const __vue_module_identifier__ = undefined;\n /* functional template */\n const __vue_is_functional_template__ = false;\n /* style inject */\n \n /* style inject SSR */\n \n\n \n var Switch = __vue_normalize__(\n { render: __vue_render__, staticRenderFns: __vue_staticRenderFns__ },\n __vue_inject_styles__,\n __vue_script__,\n __vue_scope_id__,\n __vue_is_functional_template__,\n __vue_module_identifier__,\n undefined,\n undefined\n );\n\nvar Plugin = {\n install: function install(Vue) {\n registerComponent(Vue, Switch);\n }\n};\nuse(Plugin);\n\nexport default Plugin;\nexport { Switch as BSwitch };\n","import { _ as _defineProperty, d as _toConsumableArray, b as _typeof } from './chunk-455cdeae.js';\nimport { toCssWidth, getValueByPath, indexOf, multiColumnSort, isNil, escapeRegExpChars, removeDiacriticsFromString } from './helpers.js';\nimport { V as VueInstance, s as setVueInstance } from './chunk-e92e3389.js';\nimport './chunk-17b33cd2.js';\nimport { I as Icon } from './chunk-7e17a637.js';\nimport { _ as __vue_normalize__, r as registerComponent, u as use } from './chunk-cca88db8.js';\nimport { I as Input } from './chunk-72ecb544.js';\nimport './chunk-2793447b.js';\nimport { C as Checkbox } from './chunk-4a2008fa.js';\nimport { S as Select } from './chunk-4e788733.js';\nimport './chunk-b9bdb0e4.js';\nimport { L as Loading } from './chunk-6d0f2352.js';\nimport { P as Pagination, d as debounce } from './chunk-c5284276.js';\nimport { S as SlotComponent } from './chunk-c9c18b2f.js';\n\nvar _components;\nvar script = {\n name: 'BTableMobileSort',\n components: (_components = {}, _defineProperty(_components, Select.name, Select), _defineProperty(_components, Icon.name, Icon), _components),\n props: {\n currentSortColumn: Object,\n sortMultipleData: Array,\n isAsc: Boolean,\n columns: Array,\n placeholder: String,\n iconPack: String,\n sortIcon: {\n type: String,\n default: 'arrow-up'\n },\n sortIconSize: {\n type: String,\n default: 'is-small'\n },\n sortMultiple: {\n type: Boolean,\n default: false\n }\n },\n data: function data() {\n return {\n sortMultipleSelect: '',\n mobileSort: this.currentSortColumn,\n defaultEvent: {\n shiftKey: true,\n altKey: true,\n ctrlKey: true\n },\n ignoreSort: false\n };\n },\n computed: {\n showPlaceholder: function showPlaceholder() {\n var _this = this;\n\n return !this.columns || !this.columns.some(function (column) {\n return column === _this.mobileSort;\n });\n }\n },\n watch: {\n sortMultipleSelect: function sortMultipleSelect(column) {\n if (this.ignoreSort) {\n this.ignoreSort = false;\n } else {\n this.$emit('sort', column, this.defaultEvent);\n }\n },\n mobileSort: function mobileSort(column) {\n if (this.currentSortColumn === column) return;\n this.$emit('sort', column, this.defaultEvent);\n },\n currentSortColumn: function currentSortColumn(column) {\n this.mobileSort = column;\n }\n },\n methods: {\n removePriority: function removePriority() {\n var _this2 = this;\n\n this.$emit('removePriority', this.sortMultipleSelect); // ignore the watcher to sort when we just change whats displayed in the select\n // otherwise the direction will be flipped\n // The sort event is already triggered by the emit\n\n this.ignoreSort = true; // Select one of the other options when we reset one\n\n var remainingFields = this.sortMultipleData.filter(function (data) {\n return data.field !== _this2.sortMultipleSelect.field;\n }).map(function (data) {\n return data.field;\n });\n this.sortMultipleSelect = this.columns.filter(function (column) {\n return remainingFields.includes(column.field);\n })[0];\n },\n getSortingObjectOfColumn: function getSortingObjectOfColumn(column) {\n return this.sortMultipleData.filter(function (i) {\n return i.field === column.field;\n })[0];\n },\n columnIsDesc: function columnIsDesc(column) {\n var sortingObject = this.getSortingObjectOfColumn(column);\n\n if (sortingObject) {\n return !!(sortingObject.order && sortingObject.order === 'desc');\n }\n\n return true;\n },\n getLabel: function getLabel(column) {\n var sortingObject = this.getSortingObjectOfColumn(column);\n\n if (sortingObject) {\n return column.label + '(' + (this.sortMultipleData.indexOf(sortingObject) + 1) + ')';\n }\n\n return column.label;\n },\n sort: function sort() {\n this.$emit('sort', this.sortMultiple ? this.sortMultipleSelect : this.mobileSort, this.defaultEvent);\n }\n }\n};\n\n/* script */\nconst __vue_script__ = script;\n\n/* template */\nvar __vue_render__ = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"field table-mobile-sort\"},[_c('div',{staticClass:\"field has-addons\"},[(_vm.sortMultiple)?_c('b-select',{attrs:{\"expanded\":\"\"},model:{value:(_vm.sortMultipleSelect),callback:function ($$v) {_vm.sortMultipleSelect=$$v;},expression:\"sortMultipleSelect\"}},_vm._l((_vm.columns),function(column,index){return (column.sortable)?_c('option',{key:index,domProps:{\"value\":column}},[_vm._v(\" \"+_vm._s(_vm.getLabel(column))+\" \"),(_vm.getSortingObjectOfColumn(column))?[(_vm.columnIsDesc(column))?[_vm._v(\" ↓ \")]:[_vm._v(\" ↑ \")]]:_vm._e()],2):_vm._e()}),0):_c('b-select',{attrs:{\"expanded\":\"\"},model:{value:(_vm.mobileSort),callback:function ($$v) {_vm.mobileSort=$$v;},expression:\"mobileSort\"}},[(_vm.placeholder)?[_c('option',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.showPlaceholder),expression:\"showPlaceholder\"}],attrs:{\"selected\":\"\",\"disabled\":\"\",\"hidden\":\"\"},domProps:{\"value\":{}}},[_vm._v(\" \"+_vm._s(_vm.placeholder)+\" \")])]:_vm._e(),_vm._l((_vm.columns),function(column,index){return (column.sortable)?_c('option',{key:index,domProps:{\"value\":column}},[_vm._v(\" \"+_vm._s(column.label)+\" \")]):_vm._e()})],2),_c('div',{staticClass:\"control\"},[(_vm.sortMultiple && _vm.sortMultipleData.length > 0)?[_c('button',{staticClass:\"button is-primary\",on:{\"click\":_vm.sort}},[_c('b-icon',{class:{ 'is-desc': _vm.columnIsDesc(_vm.sortMultipleSelect) },attrs:{\"icon\":_vm.sortIcon,\"pack\":_vm.iconPack,\"size\":_vm.sortIconSize,\"both\":\"\"}})],1),_c('button',{staticClass:\"button is-primary\",on:{\"click\":_vm.removePriority}},[_c('b-icon',{attrs:{\"icon\":\"delete\",\"size\":_vm.sortIconSize,\"both\":\"\"}})],1)]:(!_vm.sortMultiple)?_c('button',{staticClass:\"button is-primary\",on:{\"click\":_vm.sort}},[_c('b-icon',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.currentSortColumn === _vm.mobileSort),expression:\"currentSortColumn === mobileSort\"}],class:{ 'is-desc': !_vm.isAsc },attrs:{\"icon\":_vm.sortIcon,\"pack\":_vm.iconPack,\"size\":_vm.sortIconSize,\"both\":\"\"}})],1):_vm._e()],2)],1)])};\nvar __vue_staticRenderFns__ = [];\n\n /* style */\n const __vue_inject_styles__ = undefined;\n /* scoped */\n const __vue_scope_id__ = undefined;\n /* module identifier */\n const __vue_module_identifier__ = undefined;\n /* functional template */\n const __vue_is_functional_template__ = false;\n /* style inject */\n \n /* style inject SSR */\n \n\n \n var TableMobileSort = __vue_normalize__(\n { render: __vue_render__, staticRenderFns: __vue_staticRenderFns__ },\n __vue_inject_styles__,\n __vue_script__,\n __vue_scope_id__,\n __vue_is_functional_template__,\n __vue_module_identifier__,\n undefined,\n undefined\n );\n\nvar script$1 = {\n name: 'BTableColumn',\n inject: {\n $table: {\n name: '$table',\n default: false\n }\n },\n props: {\n label: String,\n customKey: [String, Number],\n field: String,\n meta: [String, Number, Boolean, Function, Object, Array],\n width: [Number, String],\n numeric: Boolean,\n centered: Boolean,\n searchable: Boolean,\n sortable: Boolean,\n visible: {\n type: Boolean,\n default: true\n },\n subheading: [String, Number],\n customSort: Function,\n customSearch: Function,\n sticky: Boolean,\n headerSelectable: Boolean,\n headerClass: String,\n cellClass: String,\n thAttrs: {\n type: Function,\n default: function _default() {\n return {};\n }\n },\n tdAttrs: {\n type: Function,\n default: function _default() {\n return {};\n }\n }\n },\n data: function data() {\n return {\n newKey: this.customKey || this.label,\n _isTableColumn: true\n };\n },\n computed: {\n thClasses: function thClasses() {\n var attrs = this.thAttrs(this);\n var classes = [this.headerClass, {\n 'is-sortable': this.sortable,\n 'is-sticky': this.sticky,\n 'is-unselectable': this.isHeaderUnSelectable\n }];\n\n if (attrs && attrs.class) {\n classes.push(attrs.class);\n }\n\n return classes;\n },\n thStyle: function thStyle() {\n var attrs = this.thAttrs(this);\n var style = [this.style];\n\n if (attrs && attrs.style) {\n style.push(attrs.style);\n }\n\n return style;\n },\n rootClasses: function rootClasses() {\n return [this.cellClass, {\n 'has-text-right': this.numeric && !this.centered,\n 'has-text-centered': this.centered,\n 'is-sticky': this.sticky\n }];\n },\n style: function style() {\n return {\n width: toCssWidth(this.width)\n };\n },\n hasDefaultSlot: function hasDefaultSlot() {\n return !!this.$scopedSlots.default;\n },\n\n /**\r\n * Return if column header is un-selectable\r\n */\n isHeaderUnSelectable: function isHeaderUnSelectable() {\n return !this.headerSelectable && this.sortable;\n }\n },\n methods: {\n getRootClasses: function getRootClasses(row) {\n var attrs = this.tdAttrs(row, this);\n var classes = [this.rootClasses];\n\n if (attrs && attrs.class) {\n classes.push(attrs.class);\n }\n\n return classes;\n },\n getRootStyle: function getRootStyle(row) {\n var attrs = this.tdAttrs(row, this);\n var style = [];\n\n if (attrs && attrs.style) {\n style.push(attrs.style);\n }\n\n return style;\n }\n },\n created: function created() {\n if (!this.$table) {\n this.$destroy();\n throw new Error('You should wrap bTableColumn on a bTable');\n }\n\n this.$table.refreshSlots();\n },\n beforeDestroy: function beforeDestroy() {\n this.$table.refreshSlots();\n },\n render: function render(createElement) {\n // renderless\n return null;\n }\n};\n\n/* script */\nconst __vue_script__$1 = script$1;\n\n/* template */\n\n /* style */\n const __vue_inject_styles__$1 = undefined;\n /* scoped */\n const __vue_scope_id__$1 = undefined;\n /* module identifier */\n const __vue_module_identifier__$1 = undefined;\n /* functional template */\n const __vue_is_functional_template__$1 = undefined;\n /* style inject */\n \n /* style inject SSR */\n \n\n \n var TableColumn = __vue_normalize__(\n {},\n __vue_inject_styles__$1,\n __vue_script__$1,\n __vue_scope_id__$1,\n __vue_is_functional_template__$1,\n __vue_module_identifier__$1,\n undefined,\n undefined\n );\n\nvar script$2 = {\n name: 'BTablePagination',\n components: _defineProperty({}, Pagination.name, Pagination),\n props: {\n paginated: Boolean,\n total: [Number, String],\n perPage: [Number, String],\n currentPage: [Number, String],\n paginationSimple: Boolean,\n paginationSize: String,\n rounded: Boolean,\n iconPack: String,\n ariaNextLabel: String,\n ariaPreviousLabel: String,\n ariaPageLabel: String,\n ariaCurrentLabel: String,\n pageInput: Boolean,\n paginationOrder: String,\n pageInputPosition: String,\n debouncePageInput: [Number, String]\n },\n data: function data() {\n return {\n newCurrentPage: this.currentPage\n };\n },\n watch: {\n currentPage: function currentPage(newVal) {\n this.newCurrentPage = newVal;\n }\n },\n methods: {\n /**\r\n * Paginator change listener.\r\n */\n pageChanged: function pageChanged(page) {\n this.newCurrentPage = page > 0 ? page : 1;\n this.$emit('update:currentPage', this.newCurrentPage);\n this.$emit('page-change', this.newCurrentPage);\n }\n }\n};\n\n/* script */\nconst __vue_script__$2 = script$2;\n\n/* template */\nvar __vue_render__$1 = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"top level\"},[_c('div',{staticClass:\"level-left\"},[_vm._t(\"default\")],2),_c('div',{staticClass:\"level-right\"},[(_vm.paginated)?_c('div',{staticClass:\"level-item\"},[_c('b-pagination',{attrs:{\"icon-pack\":_vm.iconPack,\"total\":_vm.total,\"per-page\":_vm.perPage,\"simple\":_vm.paginationSimple,\"size\":_vm.paginationSize,\"current\":_vm.newCurrentPage,\"rounded\":_vm.rounded,\"aria-next-label\":_vm.ariaNextLabel,\"aria-previous-label\":_vm.ariaPreviousLabel,\"aria-page-label\":_vm.ariaPageLabel,\"aria-current-label\":_vm.ariaCurrentLabel,\"page-input\":_vm.pageInput,\"order\":_vm.paginationOrder,\"page-input-position\":_vm.pageInputPosition,\"debounce-page-input\":_vm.debouncePageInput},on:{\"change\":_vm.pageChanged}})],1):_vm._e()])])};\nvar __vue_staticRenderFns__$1 = [];\n\n /* style */\n const __vue_inject_styles__$2 = undefined;\n /* scoped */\n const __vue_scope_id__$2 = undefined;\n /* module identifier */\n const __vue_module_identifier__$2 = undefined;\n /* functional template */\n const __vue_is_functional_template__$2 = false;\n /* style inject */\n \n /* style inject SSR */\n \n\n \n var TablePagination = __vue_normalize__(\n { render: __vue_render__$1, staticRenderFns: __vue_staticRenderFns__$1 },\n __vue_inject_styles__$2,\n __vue_script__$2,\n __vue_scope_id__$2,\n __vue_is_functional_template__$2,\n __vue_module_identifier__$2,\n undefined,\n undefined\n );\n\nvar _components$1;\nvar script$3 = {\n name: 'BTable',\n components: (_components$1 = {}, _defineProperty(_components$1, Checkbox.name, Checkbox), _defineProperty(_components$1, Icon.name, Icon), _defineProperty(_components$1, Input.name, Input), _defineProperty(_components$1, Loading.name, Loading), _defineProperty(_components$1, SlotComponent.name, SlotComponent), _defineProperty(_components$1, TableMobileSort.name, TableMobileSort), _defineProperty(_components$1, TableColumn.name, TableColumn), _defineProperty(_components$1, TablePagination.name, TablePagination), _components$1),\n inheritAttrs: false,\n provide: function provide() {\n return {\n $table: this\n };\n },\n props: {\n data: {\n type: Array,\n default: function _default() {\n return [];\n }\n },\n columns: {\n type: Array,\n default: function _default() {\n return [];\n }\n },\n bordered: Boolean,\n striped: Boolean,\n narrowed: Boolean,\n hoverable: Boolean,\n loading: Boolean,\n detailed: Boolean,\n checkable: Boolean,\n headerCheckable: {\n type: Boolean,\n default: true\n },\n checkboxType: {\n type: String,\n default: 'is-primary'\n },\n checkboxPosition: {\n type: String,\n default: 'left',\n validator: function validator(value) {\n return ['left', 'right'].indexOf(value) >= 0;\n }\n },\n stickyCheckbox: {\n type: Boolean,\n default: false\n },\n selected: Object,\n isRowSelectable: {\n type: Function,\n default: function _default() {\n return true;\n }\n },\n focusable: Boolean,\n customIsChecked: Function,\n isRowCheckable: {\n type: Function,\n default: function _default() {\n return true;\n }\n },\n checkedRows: {\n type: Array,\n default: function _default() {\n return [];\n }\n },\n mobileCards: {\n type: Boolean,\n default: true\n },\n defaultSort: [String, Array],\n defaultSortDirection: {\n type: String,\n default: 'asc'\n },\n sortIcon: {\n type: String,\n default: 'arrow-up'\n },\n sortIconSize: {\n type: String,\n default: 'is-small'\n },\n sortMultiple: {\n type: Boolean,\n default: false\n },\n sortMultipleData: {\n type: Array,\n default: function _default() {\n return [];\n }\n },\n sortMultipleKey: {\n type: String,\n default: null\n },\n paginated: Boolean,\n currentPage: {\n type: Number,\n default: 1\n },\n perPage: {\n type: [Number, String],\n default: 20\n },\n showDetailIcon: {\n type: Boolean,\n default: true\n },\n detailIcon: {\n type: String,\n default: 'chevron-right'\n },\n paginationPosition: {\n type: String,\n default: 'bottom',\n validator: function validator(value) {\n return ['bottom', 'top', 'both'].indexOf(value) >= 0;\n }\n },\n paginationRounded: Boolean,\n backendSorting: Boolean,\n backendFiltering: Boolean,\n rowClass: {\n type: Function,\n default: function _default() {\n return '';\n }\n },\n openedDetailed: {\n type: Array,\n default: function _default() {\n return [];\n }\n },\n hasDetailedVisible: {\n type: Function,\n default: function _default() {\n return true;\n }\n },\n detailKey: {\n type: String,\n default: ''\n },\n detailTransition: {\n type: String,\n default: ''\n },\n customDetailRow: {\n type: Boolean,\n default: false\n },\n backendPagination: Boolean,\n total: {\n type: [Number, String],\n default: 0\n },\n iconPack: String,\n mobileSortPlaceholder: String,\n customRowKey: String,\n draggable: {\n type: Boolean,\n default: false\n },\n draggableColumn: {\n type: Boolean,\n default: false\n },\n scrollable: Boolean,\n ariaNextLabel: String,\n ariaPreviousLabel: String,\n ariaPageLabel: String,\n ariaCurrentLabel: String,\n stickyHeader: Boolean,\n height: [Number, String],\n filtersEvent: {\n type: String,\n default: ''\n },\n cardLayout: Boolean,\n showHeader: {\n type: Boolean,\n default: true\n },\n debounceSearch: Number,\n caption: String,\n showCaption: {\n type: Boolean,\n default: true\n },\n pageInput: {\n type: Boolean,\n default: false\n },\n paginationOrder: String,\n pageInputPosition: String,\n debouncePageInput: [Number, String]\n },\n data: function data() {\n return {\n sortMultipleDataLocal: [],\n getValueByPath: getValueByPath,\n visibleDetailRows: this.openedDetailed,\n newData: this.data,\n newDataTotal: this.backendPagination ? this.total : this.data.length,\n newCheckedRows: _toConsumableArray(this.checkedRows),\n lastCheckedRowIndex: null,\n newCurrentPage: this.currentPage,\n currentSortColumn: {},\n isAsc: true,\n filters: {},\n defaultSlots: [],\n firstTimeSort: true,\n // Used by first time initSort\n _isTable: true,\n // Used by TableColumn\n isDraggingRow: false,\n isDraggingColumn: false\n };\n },\n computed: {\n sortMultipleDataComputed: function sortMultipleDataComputed() {\n return this.backendSorting ? this.sortMultipleData : this.sortMultipleDataLocal;\n },\n tableClasses: function tableClasses() {\n return {\n 'is-bordered': this.bordered,\n 'is-striped': this.striped,\n 'is-narrow': this.narrowed,\n 'is-hoverable': (this.hoverable || this.focusable) && this.visibleData.length\n };\n },\n tableWrapperClasses: function tableWrapperClasses() {\n return {\n 'has-mobile-cards': this.mobileCards,\n 'has-sticky-header': this.stickyHeader,\n 'is-card-list': this.cardLayout,\n 'table-container': this.isScrollable\n };\n },\n tableStyle: function tableStyle() {\n return {\n height: toCssWidth(this.height)\n };\n },\n\n /**\r\n * Splitted data based on the pagination.\r\n */\n visibleData: function visibleData() {\n if (!this.paginated) return this.newData;\n var currentPage = this.newCurrentPage;\n var perPage = this.perPage;\n\n if (this.newData.length <= perPage) {\n return this.newData;\n } else {\n var start = (currentPage - 1) * perPage;\n var end = parseInt(start, 10) + parseInt(perPage, 10);\n return this.newData.slice(start, end);\n }\n },\n visibleColumns: function visibleColumns() {\n if (!this.newColumns) return this.newColumns;\n return this.newColumns.filter(function (column) {\n return column.visible || column.visible === undefined;\n });\n },\n\n /**\r\n * Check if all rows in the page are checked.\r\n */\n isAllChecked: function isAllChecked() {\n var _this = this;\n\n var validVisibleData = this.visibleData.filter(function (row) {\n return _this.isRowCheckable(row);\n });\n if (validVisibleData.length === 0) return false;\n var isAllChecked = validVisibleData.some(function (currentVisibleRow) {\n return indexOf(_this.newCheckedRows, currentVisibleRow, _this.customIsChecked) < 0;\n });\n return !isAllChecked;\n },\n\n /**\r\n * Check if all rows in the page are checkable.\r\n */\n isAllUncheckable: function isAllUncheckable() {\n var _this2 = this;\n\n var validVisibleData = this.visibleData.filter(function (row) {\n return _this2.isRowCheckable(row);\n });\n return validVisibleData.length === 0;\n },\n\n /**\r\n * Check if has any sortable column.\r\n */\n hasSortablenewColumns: function hasSortablenewColumns() {\n return this.newColumns.some(function (column) {\n return column.sortable;\n });\n },\n\n /**\r\n * Check if has any searchable column.\r\n */\n hasSearchablenewColumns: function hasSearchablenewColumns() {\n return this.newColumns.some(function (column) {\n return column.searchable;\n });\n },\n\n /**\r\n * Check if has any column using subheading.\r\n */\n hasCustomSubheadings: function hasCustomSubheadings() {\n if (this.$scopedSlots && this.$scopedSlots.subheading) return true;\n return this.newColumns.some(function (column) {\n return column.subheading || column.$scopedSlots && column.$scopedSlots.subheading;\n });\n },\n\n /**\r\n * Return total column count based if it's checkable or expanded\r\n */\n columnCount: function columnCount() {\n var count = this.visibleColumns.length;\n count += this.checkable ? 1 : 0;\n count += this.detailed && this.showDetailIcon ? 1 : 0;\n return count;\n },\n\n /**\r\n * return if detailed row tabled\r\n * will be with chevron column & icon or not\r\n */\n showDetailRowIcon: function showDetailRowIcon() {\n return this.detailed && this.showDetailIcon;\n },\n\n /**\r\n * return if scrollable table\r\n */\n isScrollable: function isScrollable() {\n if (this.scrollable) return true;\n if (!this.newColumns) return false;\n return this.newColumns.some(function (column) {\n return column.sticky;\n });\n },\n newColumns: function newColumns() {\n var _this3 = this;\n\n if (this.columns && this.columns.length) {\n return this.columns.map(function (column) {\n var TableColumnComponent = VueInstance.extend(TableColumn);\n var component = new TableColumnComponent({\n parent: _this3,\n propsData: column\n });\n component.$scopedSlots = {\n default: function _default(props) {\n var vnode = component.$createElement('span', {\n domProps: {\n innerHTML: getValueByPath(props.row, column.field)\n }\n });\n return [vnode];\n }\n };\n return component;\n });\n }\n\n return this.defaultSlots.filter(function (vnode) {\n return vnode.componentInstance && vnode.componentInstance.$data && vnode.componentInstance.$data._isTableColumn;\n }).map(function (vnode) {\n return vnode.componentInstance;\n });\n },\n canDragRow: function canDragRow() {\n return this.draggable && !this.isDraggingColumn;\n },\n canDragColumn: function canDragColumn() {\n return this.draggableColumn && !this.isDraggingRow;\n }\n },\n watch: {\n /**\r\n * When data prop change:\r\n * 1. Update internal value.\r\n * 2. Filter data if it's not backend-filtered.\r\n * 3. Sort again if it's not backend-sorted.\r\n * 4. Set new total if it's not backend-paginated.\r\n */\n data: function data(value) {\n var _this4 = this;\n\n this.newData = value;\n\n if (!this.backendFiltering) {\n this.newData = value.filter(function (row) {\n return _this4.isRowFiltered(row);\n });\n }\n\n if (!this.backendSorting) {\n this.sort(this.currentSortColumn, true);\n }\n\n if (!this.backendPagination) {\n this.newDataTotal = this.newData.length;\n }\n },\n\n /**\r\n * When Pagination total change, update internal total\r\n * only if it's backend-paginated.\r\n */\n total: function total(newTotal) {\n if (!this.backendPagination) return;\n this.newDataTotal = newTotal;\n },\n currentPage: function currentPage(newVal) {\n this.newCurrentPage = newVal;\n },\n newCurrentPage: function newCurrentPage(newVal) {\n this.$emit('update:currentPage', newVal);\n },\n\n /**\r\n * When checkedRows prop change, update internal value without\r\n * mutating original data.\r\n */\n checkedRows: function checkedRows(rows) {\n this.newCheckedRows = _toConsumableArray(rows);\n },\n\n /*\r\n newColumns(value) {\r\n this.checkSort()\r\n },\r\n */\n debounceSearch: {\n handler: function handler(value) {\n this.debouncedHandleFiltersChange = debounce(this.handleFiltersChange, value);\n },\n immediate: true\n },\n filters: {\n handler: function handler(value) {\n if (this.debounceSearch) {\n this.debouncedHandleFiltersChange(value);\n } else {\n this.handleFiltersChange(value);\n }\n },\n deep: true\n },\n\n /**\r\n * When the user wants to control the detailed rows via props.\r\n * Or wants to open the details of certain row with the router for example.\r\n */\n openedDetailed: function openedDetailed(expandedRows) {\n this.visibleDetailRows = expandedRows;\n }\n },\n methods: {\n onFiltersEvent: function onFiltersEvent(event) {\n this.$emit(\"filters-event-\".concat(this.filtersEvent), {\n event: event,\n filters: this.filters\n });\n },\n handleFiltersChange: function handleFiltersChange(value) {\n var _this5 = this;\n\n if (this.backendFiltering) {\n this.$emit('filters-change', value);\n } else {\n this.newData = this.data.filter(function (row) {\n return _this5.isRowFiltered(row);\n });\n\n if (!this.backendPagination) {\n this.newDataTotal = this.newData.length;\n }\n\n if (!this.backendSorting) {\n if (this.sortMultiple && this.sortMultipleDataLocal && this.sortMultipleDataLocal.length > 0) {\n this.doSortMultiColumn();\n } else if (Object.keys(this.currentSortColumn).length > 0) {\n this.doSortSingleColumn(this.currentSortColumn);\n }\n }\n }\n },\n findIndexOfSortData: function findIndexOfSortData(column) {\n var sortObj = this.sortMultipleDataComputed.filter(function (i) {\n return i.field === column.field;\n })[0];\n return this.sortMultipleDataComputed.indexOf(sortObj) + 1;\n },\n removeSortingPriority: function removeSortingPriority(column) {\n if (this.backendSorting) {\n this.$emit('sorting-priority-removed', column.field);\n } else {\n this.sortMultipleDataLocal = this.sortMultipleDataLocal.filter(function (priority) {\n return priority.field !== column.field;\n });\n var formattedSortingPriority = this.sortMultipleDataLocal.map(function (i) {\n return (i.order && i.order === 'desc' ? '-' : '') + i.field;\n });\n\n if (formattedSortingPriority.length === 0) {\n this.resetMultiSorting();\n } else {\n this.newData = multiColumnSort(this.newData, formattedSortingPriority);\n }\n }\n },\n resetMultiSorting: function resetMultiSorting() {\n this.sortMultipleDataLocal = [];\n this.currentSortColumn = {};\n this.newData = this.data;\n },\n\n /**\r\n * Sort an array by key without mutating original data.\r\n * Call the user sort function if it was passed.\r\n */\n sortBy: function sortBy(array, key, fn, isAsc) {\n var sorted = []; // Sorting without mutating original data\n\n if (fn && typeof fn === 'function') {\n sorted = _toConsumableArray(array).sort(function (a, b) {\n return fn(a, b, isAsc);\n });\n } else {\n sorted = _toConsumableArray(array).sort(function (a, b) {\n // Get nested values from objects\n var newA = getValueByPath(a, key);\n var newB = getValueByPath(b, key); // sort boolean type\n\n if (typeof newA === 'boolean' && typeof newB === 'boolean') {\n return isAsc ? newA - newB : newB - newA;\n } // sort null values to the bottom when in asc order\n // and to the top when in desc order\n\n\n if (!isNil(newB) && isNil(newA)) return isAsc ? 1 : -1;\n if (!isNil(newA) && isNil(newB)) return isAsc ? -1 : 1;\n if (newA === newB) return 0;\n newA = typeof newA === 'string' ? newA.toUpperCase() : newA;\n newB = typeof newB === 'string' ? newB.toUpperCase() : newB;\n return isAsc ? newA > newB ? 1 : -1 : newA > newB ? -1 : 1;\n });\n }\n\n return sorted;\n },\n sortMultiColumn: function sortMultiColumn(column) {\n this.currentSortColumn = {};\n\n if (!this.backendSorting) {\n var existingPriority = this.sortMultipleDataLocal.filter(function (i) {\n return i.field === column.field;\n })[0];\n\n if (existingPriority) {\n existingPriority.order = existingPriority.order === 'desc' ? 'asc' : 'desc';\n } else {\n this.sortMultipleDataLocal.push({\n field: column.field,\n order: column.isAsc\n });\n }\n\n this.doSortMultiColumn();\n }\n },\n doSortMultiColumn: function doSortMultiColumn() {\n var formattedSortingPriority = this.sortMultipleDataLocal.map(function (i) {\n return (i.order && i.order === 'desc' ? '-' : '') + i.field;\n });\n this.newData = multiColumnSort(this.newData, formattedSortingPriority);\n },\n\n /**\r\n * Sort the column.\r\n * Toggle current direction on column if it's sortable\r\n * and not just updating the prop.\r\n */\n sort: function sort(column) {\n var updatingData = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;\n var event = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : null;\n if (!column || !column.sortable) return;\n\n if ( // if backend sorting is enabled, just emit the sort press like usual\n // if the correct key combination isnt pressed, sort like usual\n !this.backendSorting && this.sortMultiple && (this.sortMultipleKey && event[this.sortMultipleKey] || !this.sortMultipleKey)) {\n if (updatingData) {\n this.doSortMultiColumn();\n } else {\n this.sortMultiColumn(column);\n }\n } else {\n // sort multiple is enabled but the correct key combination isnt pressed so reset\n if (this.sortMultiple) {\n this.sortMultipleDataLocal = [];\n }\n\n if (!updatingData) {\n this.isAsc = column === this.currentSortColumn ? !this.isAsc : this.defaultSortDirection.toLowerCase() !== 'desc';\n }\n\n if (!this.firstTimeSort) {\n this.$emit('sort', column.field, this.isAsc ? 'asc' : 'desc', event);\n }\n\n if (!this.backendSorting) {\n this.doSortSingleColumn(column);\n }\n\n this.currentSortColumn = column;\n }\n },\n doSortSingleColumn: function doSortSingleColumn(column) {\n this.newData = this.sortBy(this.newData, column.field, column.customSort, this.isAsc);\n },\n isRowSelected: function isRowSelected(row, selected) {\n if (!selected) {\n return false;\n }\n\n if (this.customRowKey) {\n return row[this.customRowKey] === selected[this.customRowKey];\n }\n\n return row === selected;\n },\n\n /**\r\n * Check if the row is checked (is added to the array).\r\n */\n isRowChecked: function isRowChecked(row) {\n return indexOf(this.newCheckedRows, row, this.customIsChecked) >= 0;\n },\n\n /**\r\n * Remove a checked row from the array.\r\n */\n removeCheckedRow: function removeCheckedRow(row) {\n var index = indexOf(this.newCheckedRows, row, this.customIsChecked);\n\n if (index >= 0) {\n this.newCheckedRows.splice(index, 1);\n }\n },\n\n /**\r\n * Header checkbox click listener.\r\n * Add or remove all rows in current page.\r\n */\n checkAll: function checkAll() {\n var _this6 = this;\n\n var isAllChecked = this.isAllChecked;\n this.visibleData.forEach(function (currentRow) {\n if (_this6.isRowCheckable(currentRow)) {\n _this6.removeCheckedRow(currentRow);\n }\n\n if (!isAllChecked) {\n if (_this6.isRowCheckable(currentRow)) {\n _this6.newCheckedRows.push(currentRow);\n }\n }\n });\n this.$emit('check', this.newCheckedRows);\n this.$emit('check-all', this.newCheckedRows); // Emit checked rows to update user variable\n\n this.$emit('update:checkedRows', this.newCheckedRows);\n },\n\n /**\r\n * Row checkbox click listener.\r\n */\n checkRow: function checkRow(row, index, event) {\n if (!this.isRowCheckable(row)) return;\n var lastIndex = this.lastCheckedRowIndex;\n this.lastCheckedRowIndex = index;\n\n if (event.shiftKey && lastIndex !== null && index !== lastIndex) {\n this.shiftCheckRow(row, index, lastIndex);\n } else if (!this.isRowChecked(row)) {\n this.newCheckedRows.push(row);\n } else {\n this.removeCheckedRow(row);\n }\n\n this.$emit('check', this.newCheckedRows, row); // Emit checked rows to update user variable\n\n this.$emit('update:checkedRows', this.newCheckedRows);\n },\n\n /**\r\n * Check row when shift is pressed.\r\n */\n shiftCheckRow: function shiftCheckRow(row, index, lastCheckedRowIndex) {\n var _this7 = this;\n\n // Get the subset of the list between the two indicies\n var subset = this.visibleData.slice(Math.min(index, lastCheckedRowIndex), Math.max(index, lastCheckedRowIndex) + 1); // Determine the operation based on the state of the clicked checkbox\n\n var shouldCheck = !this.isRowChecked(row);\n subset.forEach(function (item) {\n _this7.removeCheckedRow(item);\n\n if (shouldCheck && _this7.isRowCheckable(item)) {\n _this7.newCheckedRows.push(item);\n }\n });\n },\n\n /**\r\n * Row click listener.\r\n * Emit all necessary events.\r\n */\n selectRow: function selectRow(row, index) {\n this.$emit('click', row);\n if (this.selected === row) return;\n if (!this.isRowSelectable(row)) return; // Emit new and old row\n\n this.$emit('select', row, this.selected); // Emit new row to update user variable\n\n this.$emit('update:selected', row);\n },\n\n /**\r\n * Toggle to show/hide details slot\r\n */\n toggleDetails: function toggleDetails(obj) {\n var found = this.isVisibleDetailRow(obj);\n\n if (found) {\n this.closeDetailRow(obj);\n this.$emit('details-close', obj);\n } else {\n this.openDetailRow(obj);\n this.$emit('details-open', obj);\n } // Syncs the detailed rows with the parent component\n\n\n this.$emit('update:openedDetailed', this.visibleDetailRows);\n },\n openDetailRow: function openDetailRow(obj) {\n var index = this.handleDetailKey(obj);\n this.visibleDetailRows.push(index);\n },\n closeDetailRow: function closeDetailRow(obj) {\n var index = this.handleDetailKey(obj);\n var i = this.visibleDetailRows.indexOf(index);\n\n if (i >= 0) {\n this.visibleDetailRows.splice(i, 1);\n }\n },\n isVisibleDetailRow: function isVisibleDetailRow(obj) {\n var index = this.handleDetailKey(obj);\n return this.visibleDetailRows.indexOf(index) >= 0;\n },\n isActiveDetailRow: function isActiveDetailRow(row) {\n return this.detailed && !this.customDetailRow && this.isVisibleDetailRow(row);\n },\n isActiveCustomDetailRow: function isActiveCustomDetailRow(row) {\n return this.detailed && this.customDetailRow && this.isVisibleDetailRow(row);\n },\n isRowFiltered: function isRowFiltered(row) {\n var _this8 = this;\n\n var _loop = function _loop(key) {\n if (!_this8.filters[key]) return \"continue\";\n var input = _this8.filters[key];\n\n var column = _this8.newColumns.filter(function (c) {\n return c.field === key;\n })[0];\n\n if (column && column.customSearch && typeof column.customSearch === 'function') {\n if (!column.customSearch(row, input)) return {\n v: false\n };\n } else {\n var value = _this8.getValueByPath(row, key);\n\n if (value == null) return {\n v: false\n };\n\n if (Number.isInteger(value)) {\n if (value !== Number(input)) return {\n v: false\n };\n } else {\n var re = new RegExp(escapeRegExpChars(input), 'i');\n\n if (Array.isArray(value)) {\n var valid = value.some(function (val) {\n return re.test(removeDiacriticsFromString(val)) || re.test(val);\n });\n if (!valid) return {\n v: false\n };\n } else {\n if (!re.test(removeDiacriticsFromString(value)) && !re.test(value)) {\n return {\n v: false\n };\n }\n }\n }\n }\n };\n\n for (var key in this.filters) {\n var _ret = _loop(key);\n\n switch (_ret) {\n case \"continue\":\n continue;\n\n default:\n if (_typeof(_ret) === \"object\") return _ret.v;\n }\n }\n\n return true;\n },\n\n /**\r\n * When the detailKey is defined we use the object[detailKey] as index.\r\n * If not, use the object reference by default.\r\n */\n handleDetailKey: function handleDetailKey(index) {\n var key = this.detailKey;\n return !key.length || !index ? index : index[key];\n },\n checkPredefinedDetailedRows: function checkPredefinedDetailedRows() {\n var defaultExpandedRowsDefined = this.openedDetailed.length > 0;\n\n if (defaultExpandedRowsDefined && !this.detailKey.length) {\n throw new Error('If you set a predefined opened-detailed, you must provide a unique key using the prop \"detail-key\"');\n }\n },\n\n /**\r\n * Call initSort only first time (For example async data).\r\n */\n checkSort: function checkSort() {\n if (this.newColumns.length && this.firstTimeSort) {\n this.initSort();\n this.firstTimeSort = false;\n } else if (this.newColumns.length) {\n if (Object.keys(this.currentSortColumn).length > 0) {\n for (var i = 0; i < this.newColumns.length; i++) {\n if (this.newColumns[i].field === this.currentSortColumn.field) {\n this.currentSortColumn = this.newColumns[i];\n break;\n }\n }\n }\n }\n },\n\n /**\r\n * Check if footer slot has custom content.\r\n */\n hasCustomFooterSlot: function hasCustomFooterSlot() {\n if (this.$slots.footer.length > 1) return true;\n var tag = this.$slots.footer[0].tag;\n if (tag !== 'th' && tag !== 'td') return false;\n return true;\n },\n\n /**\r\n * Check if bottom-left slot exists.\r\n */\n hasBottomLeftSlot: function hasBottomLeftSlot() {\n return typeof this.$slots['bottom-left'] !== 'undefined';\n },\n\n /**\r\n * Table arrow keys listener, change selection.\r\n */\n pressedArrow: function pressedArrow(pos) {\n if (!this.visibleData.length) return;\n var index = this.visibleData.indexOf(this.selected) + pos; // Prevent from going up from first and down from last\n\n index = index < 0 ? 0 : index > this.visibleData.length - 1 ? this.visibleData.length - 1 : index;\n var row = this.visibleData[index];\n\n if (!this.isRowSelectable(row)) {\n var newIndex = null;\n\n if (pos > 0) {\n for (var i = index; i < this.visibleData.length && newIndex === null; i++) {\n if (this.isRowSelectable(this.visibleData[i])) newIndex = i;\n }\n } else {\n for (var _i = index; _i >= 0 && newIndex === null; _i--) {\n if (this.isRowSelectable(this.visibleData[_i])) newIndex = _i;\n }\n }\n\n if (newIndex >= 0) {\n this.selectRow(this.visibleData[newIndex]);\n }\n } else {\n this.selectRow(row);\n }\n },\n\n /**\r\n * Focus table element if has selected prop.\r\n */\n focus: function focus() {\n if (!this.focusable) return;\n this.$el.querySelector('table').focus();\n },\n\n /**\r\n * Initial sorted column based on the default-sort prop.\r\n */\n initSort: function initSort() {\n var _this9 = this;\n\n if (this.sortMultiple && this.sortMultipleData) {\n this.sortMultipleData.forEach(function (column) {\n _this9.sortMultiColumn(column);\n });\n } else {\n if (!this.defaultSort) return;\n var sortField = '';\n var sortDirection = this.defaultSortDirection;\n\n if (Array.isArray(this.defaultSort)) {\n sortField = this.defaultSort[0];\n\n if (this.defaultSort[1]) {\n sortDirection = this.defaultSort[1];\n }\n } else {\n sortField = this.defaultSort;\n }\n\n var sortColumn = this.newColumns.filter(function (column) {\n return column.field === sortField;\n })[0];\n\n if (sortColumn) {\n this.isAsc = sortDirection.toLowerCase() !== 'desc';\n this.sort(sortColumn, true);\n }\n }\n },\n\n /**\r\n * Emits drag start event (row)\r\n */\n handleDragStart: function handleDragStart(event, row, index) {\n if (!this.canDragRow) return;\n this.isDraggingRow = true;\n this.$emit('dragstart', {\n event: event,\n row: row,\n index: index\n });\n },\n\n /**\r\n * Emits drag leave event (row)\r\n */\n handleDragEnd: function handleDragEnd(event, row, index) {\n if (!this.canDragRow) return;\n this.isDraggingRow = false;\n this.$emit('dragend', {\n event: event,\n row: row,\n index: index\n });\n },\n\n /**\r\n * Emits drop event (row)\r\n */\n handleDrop: function handleDrop(event, row, index) {\n if (!this.canDragRow) return;\n this.$emit('drop', {\n event: event,\n row: row,\n index: index\n });\n },\n\n /**\r\n * Emits drag over event (row)\r\n */\n handleDragOver: function handleDragOver(event, row, index) {\n if (!this.canDragRow) return;\n this.$emit('dragover', {\n event: event,\n row: row,\n index: index\n });\n },\n\n /**\r\n * Emits drag leave event (row)\r\n */\n handleDragLeave: function handleDragLeave(event, row, index) {\n if (!this.canDragRow) return;\n this.$emit('dragleave', {\n event: event,\n row: row,\n index: index\n });\n },\n emitEventForRow: function emitEventForRow(eventName, event, row) {\n return this.$listeners[eventName] ? this.$emit(eventName, row, event) : null;\n },\n\n /**\r\n * Emits drag start event (column)\r\n */\n handleColumnDragStart: function handleColumnDragStart(event, column, index) {\n if (!this.canDragColumn) return;\n this.isDraggingColumn = true;\n this.$emit('columndragstart', {\n event: event,\n column: column,\n index: index\n });\n },\n\n /**\r\n * Emits drag leave event (column)\r\n */\n handleColumnDragEnd: function handleColumnDragEnd(event, column, index) {\n if (!this.canDragColumn) return;\n this.isDraggingColumn = false;\n this.$emit('columndragend', {\n event: event,\n column: column,\n index: index\n });\n },\n\n /**\r\n * Emits drop event (column)\r\n */\n handleColumnDrop: function handleColumnDrop(event, column, index) {\n if (!this.canDragColumn) return;\n this.$emit('columndrop', {\n event: event,\n column: column,\n index: index\n });\n },\n\n /**\r\n * Emits drag over event (column)\r\n */\n handleColumnDragOver: function handleColumnDragOver(event, column, index) {\n if (!this.canDragColumn) return;\n this.$emit('columndragover', {\n event: event,\n column: column,\n index: index\n });\n },\n\n /**\r\n * Emits drag leave event (column)\r\n */\n handleColumnDragLeave: function handleColumnDragLeave(event, column, index) {\n if (!this.canDragColumn) return;\n this.$emit('columndragleave', {\n event: event,\n column: column,\n index: index\n });\n },\n refreshSlots: function refreshSlots() {\n this.defaultSlots = this.$slots.default || [];\n }\n },\n mounted: function mounted() {\n this.refreshSlots();\n this.checkPredefinedDetailedRows();\n this.checkSort();\n }\n};\n\n/* script */\nconst __vue_script__$3 = script$3;\n\n/* template */\nvar __vue_render__$2 = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"b-table\"},[_vm._t(\"default\"),(_vm.mobileCards && _vm.hasSortablenewColumns)?_c('b-table-mobile-sort',{attrs:{\"current-sort-column\":_vm.currentSortColumn,\"sort-multiple\":_vm.sortMultiple,\"sort-multiple-data\":_vm.sortMultipleDataComputed,\"is-asc\":_vm.isAsc,\"columns\":_vm.newColumns,\"placeholder\":_vm.mobileSortPlaceholder,\"icon-pack\":_vm.iconPack,\"sort-icon\":_vm.sortIcon,\"sort-icon-size\":_vm.sortIconSize},on:{\"sort\":function (column, event) { return _vm.sort(column, null, event); },\"removePriority\":function (column) { return _vm.removeSortingPriority(column); }}}):_vm._e(),(_vm.paginated && (_vm.paginationPosition === 'top' || _vm.paginationPosition === 'both'))?[_vm._t(\"pagination\",[_c('b-table-pagination',_vm._b({attrs:{\"per-page\":_vm.perPage,\"paginated\":_vm.paginated,\"rounded\":_vm.paginationRounded,\"icon-pack\":_vm.iconPack,\"total\":_vm.newDataTotal,\"current-page\":_vm.newCurrentPage,\"aria-next-label\":_vm.ariaNextLabel,\"aria-previous-label\":_vm.ariaPreviousLabel,\"aria-page-label\":_vm.ariaPageLabel,\"aria-current-label\":_vm.ariaCurrentLabel,\"page-input\":_vm.pageInput,\"pagination-order\":_vm.paginationOrder,\"page-input-position\":_vm.pageInputPosition,\"debounce-page-input\":_vm.debouncePageInput},on:{\"update:currentPage\":function($event){_vm.newCurrentPage=$event;},\"update:current-page\":function($event){_vm.newCurrentPage=$event;},\"page-change\":function (event) { return _vm.$emit('page-change', event); }}},'b-table-pagination',_vm.$attrs,false),[_vm._t(\"top-left\")],2)])]:_vm._e(),_c('div',{staticClass:\"table-wrapper\",class:_vm.tableWrapperClasses,style:(_vm.tableStyle)},[_c('table',{staticClass:\"table\",class:_vm.tableClasses,attrs:{\"tabindex\":!_vm.focusable ? false : 0},on:{\"keydown\":[function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"up\",38,$event.key,[\"Up\",\"ArrowUp\"])){ return null; }if($event.target !== $event.currentTarget){ return null; }$event.preventDefault();return _vm.pressedArrow(-1)},function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"down\",40,$event.key,[\"Down\",\"ArrowDown\"])){ return null; }if($event.target !== $event.currentTarget){ return null; }$event.preventDefault();return _vm.pressedArrow(1)}]}},[(_vm.caption)?_c('caption',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.showCaption),expression:\"showCaption\"}]},[_vm._v(_vm._s(_vm.caption))]):_vm._e(),(_vm.newColumns.length && _vm.showHeader)?_c('thead',[_c('tr',[(_vm.showDetailRowIcon)?_c('th',{attrs:{\"width\":\"40px\"}}):_vm._e(),(_vm.checkable && _vm.checkboxPosition === 'left')?_c('th',{class:['checkbox-cell', { 'is-sticky': _vm.stickyCheckbox } ]},[(_vm.headerCheckable)?[_c('b-checkbox',{attrs:{\"autocomplete\":\"off\",\"value\":_vm.isAllChecked,\"type\":_vm.checkboxType,\"disabled\":_vm.isAllUncheckable},nativeOn:{\"change\":function($event){return _vm.checkAll($event)}}})]:_vm._e()],2):_vm._e(),_vm._l((_vm.visibleColumns),function(column,index){return _c('th',_vm._b({key:column.newKey + ':' + index + 'header',class:[column.thClasses, {\n 'is-current-sort': !_vm.sortMultiple && _vm.currentSortColumn === column,\n }],style:(column.thStyle),attrs:{\"draggable\":_vm.canDragColumn},on:{\"click\":function($event){$event.stopPropagation();return _vm.sort(column, null, $event)},\"dragstart\":function($event){return _vm.handleColumnDragStart($event, column, index)},\"dragend\":function($event){return _vm.handleColumnDragEnd($event, column, index)},\"drop\":function($event){return _vm.handleColumnDrop($event, column, index)},\"dragover\":function($event){return _vm.handleColumnDragOver($event, column, index)},\"dragleave\":function($event){return _vm.handleColumnDragLeave($event, column, index)}}},'th',column.thAttrs(column),false),[_c('div',{staticClass:\"th-wrap\",class:{\n 'is-numeric': column.numeric,\n 'is-centered': column.centered\n }},[(column.$scopedSlots && column.$scopedSlots.header)?[_c('b-slot-component',{attrs:{\"component\":column,\"scoped\":\"\",\"name\":\"header\",\"tag\":\"span\",\"props\":{ column: column, index: index }}})]:[_c('span',{staticClass:\"is-relative\"},[_vm._v(\" \"+_vm._s(column.label)+\" \"),(_vm.sortMultiple &&\n _vm.sortMultipleDataComputed &&\n _vm.sortMultipleDataComputed.length > 0 &&\n _vm.sortMultipleDataComputed.filter(function (i) { return i.field === column.field; }).length > 0)?[_c('b-icon',{class:{\n 'is-desc': _vm.sortMultipleDataComputed.filter(function (i) { return i.field === column.field; })[0].order === 'desc'},attrs:{\"icon\":_vm.sortIcon,\"pack\":_vm.iconPack,\"both\":\"\",\"size\":_vm.sortIconSize}}),_vm._v(\" \"+_vm._s(_vm.findIndexOfSortData(column))+\" \"),_c('button',{staticClass:\"delete is-small multi-sort-cancel-icon\",attrs:{\"type\":\"button\"},on:{\"click\":function($event){$event.stopPropagation();return _vm.removeSortingPriority(column)}}})]:_c('b-icon',{staticClass:\"sort-icon\",class:{\n 'is-desc': !_vm.isAsc,\n 'is-invisible': _vm.currentSortColumn !== column\n },attrs:{\"icon\":_vm.sortIcon,\"pack\":_vm.iconPack,\"both\":\"\",\"size\":_vm.sortIconSize}})],2)]],2)])}),(_vm.checkable && _vm.checkboxPosition === 'right')?_c('th',{class:['checkbox-cell', { 'is-sticky': _vm.stickyCheckbox } ]},[(_vm.headerCheckable)?[_c('b-checkbox',{attrs:{\"autocomplete\":\"off\",\"value\":_vm.isAllChecked,\"type\":_vm.checkboxType,\"disabled\":_vm.isAllUncheckable},nativeOn:{\"change\":function($event){return _vm.checkAll($event)}}})]:_vm._e()],2):_vm._e()],2),(_vm.hasCustomSubheadings)?_c('tr',{staticClass:\"is-subheading\"},[(_vm.showDetailRowIcon)?_c('th',{attrs:{\"width\":\"40px\"}}):_vm._e(),(_vm.checkable && _vm.checkboxPosition === 'left')?_c('th'):_vm._e(),_vm._l((_vm.visibleColumns),function(column,index){return _c('th',{key:column.newKey + ':' + index + 'subheading',style:(column.style)},[_c('div',{staticClass:\"th-wrap\",class:{\n 'is-numeric': column.numeric,\n 'is-centered': column.centered\n }},[(column.$scopedSlots && column.$scopedSlots.subheading)?[_c('b-slot-component',{attrs:{\"component\":column,\"scoped\":\"\",\"name\":\"subheading\",\"tag\":\"span\",\"props\":{ column: column, index: index }}})]:[_vm._v(_vm._s(column.subheading))]],2)])}),(_vm.checkable && _vm.checkboxPosition === 'right')?_c('th'):_vm._e()],2):_vm._e(),(_vm.hasSearchablenewColumns)?_c('tr',[(_vm.showDetailRowIcon)?_c('th',{attrs:{\"width\":\"40px\"}}):_vm._e(),(_vm.checkable && _vm.checkboxPosition === 'left')?_c('th'):_vm._e(),_vm._l((_vm.visibleColumns),function(column,index){return _c('th',_vm._b({key:column.newKey + ':' + index + 'searchable',class:{'is-sticky': column.sticky},style:(column.thStyle)},'th',column.thAttrs(column),false),[_c('div',{staticClass:\"th-wrap\"},[(column.searchable)?[(column.$scopedSlots\n && column.$scopedSlots.searchable)?[_c('b-slot-component',{attrs:{\"component\":column,\"scoped\":true,\"name\":\"searchable\",\"tag\":\"span\",\"props\":{ column: column, filters: _vm.filters }}})]:_c('b-input',{attrs:{\"type\":column.numeric ? 'number' : 'text'},nativeOn:_vm._d({},[_vm.filtersEvent,function($event){return _vm.onFiltersEvent($event)}]),model:{value:(_vm.filters[column.field]),callback:function ($$v) {_vm.$set(_vm.filters, column.field, $$v);},expression:\"filters[column.field]\"}})]:_vm._e()],2)])}),(_vm.checkable && _vm.checkboxPosition === 'right')?_c('th'):_vm._e()],2):_vm._e()]):_vm._e(),_c('tbody',[_vm._l((_vm.visibleData),function(row,index){return [_c('tr',{key:_vm.customRowKey ? row[_vm.customRowKey] : index,class:[_vm.rowClass(row, index), {\n 'is-selected': _vm.isRowSelected(row, _vm.selected),\n 'is-checked': _vm.isRowChecked(row),\n }],attrs:{\"draggable\":_vm.canDragRow},on:{\"click\":function($event){return _vm.selectRow(row)},\"dblclick\":function($event){return _vm.$emit('dblclick', row)},\"mouseenter\":function($event){return _vm.emitEventForRow('mouseenter', $event, row)},\"mouseleave\":function($event){return _vm.emitEventForRow('mouseleave', $event, row)},\"contextmenu\":function($event){return _vm.$emit('contextmenu', row, $event)},\"dragstart\":function($event){return _vm.handleDragStart($event, row, index)},\"dragend\":function($event){return _vm.handleDragEnd($event, row, index)},\"drop\":function($event){return _vm.handleDrop($event, row, index)},\"dragover\":function($event){return _vm.handleDragOver($event, row, index)},\"dragleave\":function($event){return _vm.handleDragLeave($event, row, index)}}},[(_vm.showDetailRowIcon)?_c('td',{staticClass:\"chevron-cell\"},[(_vm.hasDetailedVisible(row))?_c('a',{attrs:{\"role\":\"button\"},on:{\"click\":function($event){$event.stopPropagation();return _vm.toggleDetails(row)}}},[_c('b-icon',{class:{'is-expanded': _vm.isVisibleDetailRow(row)},attrs:{\"icon\":_vm.detailIcon,\"pack\":_vm.iconPack,\"both\":\"\"}})],1):_vm._e()]):_vm._e(),(_vm.checkable && _vm.checkboxPosition === 'left')?_c('td',{class:['checkbox-cell', { 'is-sticky': _vm.stickyCheckbox } ]},[_c('b-checkbox',{attrs:{\"autocomplete\":\"off\",\"value\":_vm.isRowChecked(row),\"type\":_vm.checkboxType,\"disabled\":!_vm.isRowCheckable(row)},nativeOn:{\"click\":function($event){$event.preventDefault();$event.stopPropagation();return _vm.checkRow(row, index, $event)}}})],1):_vm._e(),_vm._l((_vm.visibleColumns),function(column,colindex){return [(column.$scopedSlots && column.$scopedSlots.default)?[_c('b-slot-component',_vm._b({key:column.newKey + ':' + index + ':' + colindex,class:column.getRootClasses(row),style:(column.getRootStyle(row)),attrs:{\"component\":column,\"scoped\":\"\",\"name\":\"default\",\"tag\":\"td\",\"data-label\":column.label,\"props\":{ row: row, column: column, index: index, colindex: colindex, toggleDetails: _vm.toggleDetails }},nativeOn:{\"click\":function($event){return _vm.$emit('cellclick',row,column,index,colindex)}}},'b-slot-component',column.tdAttrs(row, column),false))]:_vm._e()]}),(_vm.checkable && _vm.checkboxPosition === 'right')?_c('td',{class:['checkbox-cell', { 'is-sticky': _vm.stickyCheckbox } ]},[_c('b-checkbox',{attrs:{\"autocomplete\":\"off\",\"value\":_vm.isRowChecked(row),\"type\":_vm.checkboxType,\"disabled\":!_vm.isRowCheckable(row)},nativeOn:{\"click\":function($event){$event.preventDefault();$event.stopPropagation();return _vm.checkRow(row, index, $event)}}})],1):_vm._e()],2),_c('transition',{key:(_vm.customRowKey ? row[_vm.customRowKey] : index) + 'detail',attrs:{\"name\":_vm.detailTransition}},[(_vm.isActiveDetailRow(row))?_c('tr',{staticClass:\"detail\"},[_c('td',{attrs:{\"colspan\":_vm.columnCount}},[_c('div',{staticClass:\"detail-container\"},[_vm._t(\"detail\",null,{\"row\":row,\"index\":index})],2)])]):_vm._e()]),(_vm.isActiveCustomDetailRow(row))?_vm._t(\"detail\",null,{\"row\":row,\"index\":index}):_vm._e()]}),(!_vm.visibleData.length)?_c('tr',{staticClass:\"is-empty\"},[_c('td',{attrs:{\"colspan\":_vm.columnCount}},[_vm._t(\"empty\")],2)]):_vm._e()],2),(_vm.$slots.footer !== undefined)?_c('tfoot',[_c('tr',{staticClass:\"table-footer\"},[(_vm.hasCustomFooterSlot())?_vm._t(\"footer\"):_c('th',{attrs:{\"colspan\":_vm.columnCount}},[_vm._t(\"footer\")],2)],2)]):_vm._e()]),(_vm.loading)?[_vm._t(\"loading\",[_c('b-loading',{attrs:{\"is-full-page\":false,\"active\":_vm.loading},on:{\"update:active\":function($event){_vm.loading=$event;}}})])]:_vm._e()],2),((_vm.checkable && _vm.hasBottomLeftSlot()) ||\n (_vm.paginated && (_vm.paginationPosition === 'bottom' || _vm.paginationPosition === 'both')))?[_vm._t(\"pagination\",[_c('b-table-pagination',_vm._b({attrs:{\"per-page\":_vm.perPage,\"paginated\":_vm.paginated,\"rounded\":_vm.paginationRounded,\"icon-pack\":_vm.iconPack,\"total\":_vm.newDataTotal,\"current-page\":_vm.newCurrentPage,\"aria-next-label\":_vm.ariaNextLabel,\"aria-previous-label\":_vm.ariaPreviousLabel,\"aria-page-label\":_vm.ariaPageLabel,\"aria-current-label\":_vm.ariaCurrentLabel,\"page-input\":_vm.pageInput,\"pagination-order\":_vm.paginationOrder,\"page-input-position\":_vm.pageInputPosition,\"debounce-page-input\":_vm.debouncePageInput},on:{\"update:currentPage\":function($event){_vm.newCurrentPage=$event;},\"update:current-page\":function($event){_vm.newCurrentPage=$event;},\"page-change\":function (event) { return _vm.$emit('page-change', event); }}},'b-table-pagination',_vm.$attrs,false),[_vm._t(\"bottom-left\")],2)])]:_vm._e()],2)};\nvar __vue_staticRenderFns__$2 = [];\n\n /* style */\n const __vue_inject_styles__$3 = undefined;\n /* scoped */\n const __vue_scope_id__$3 = undefined;\n /* module identifier */\n const __vue_module_identifier__$3 = undefined;\n /* functional template */\n const __vue_is_functional_template__$3 = false;\n /* style inject */\n \n /* style inject SSR */\n \n\n \n var Table = __vue_normalize__(\n { render: __vue_render__$2, staticRenderFns: __vue_staticRenderFns__$2 },\n __vue_inject_styles__$3,\n __vue_script__$3,\n __vue_scope_id__$3,\n __vue_is_functional_template__$3,\n __vue_module_identifier__$3,\n undefined,\n undefined\n );\n\nvar Plugin = {\n install: function install(Vue) {\n // individual import + extend method into Table.vue\n if (typeof VueInstance === 'undefined') {\n setVueInstance(Vue);\n }\n\n registerComponent(Vue, Table);\n registerComponent(Vue, TableColumn);\n }\n};\nuse(Plugin);\n\nexport default Plugin;\nexport { Table as BTable, TableColumn as BTableColumn };\n","import { _ as _defineProperty } from './chunk-455cdeae.js';\nimport './helpers.js';\nimport { c as config } from './chunk-e92e3389.js';\nimport './chunk-7e17a637.js';\nimport { _ as __vue_normalize__, r as registerComponent, u as use } from './chunk-cca88db8.js';\nimport './chunk-60a03517.js';\nimport './chunk-c9c18b2f.js';\nimport { T as TabbedMixin, a as TabbedChildMixin } from './chunk-f32d0228.js';\n\nvar script = {\n name: 'BTabs',\n mixins: [TabbedMixin('tab')],\n props: {\n expanded: {\n type: Boolean,\n default: function _default() {\n return config.defaultTabsExpanded;\n }\n },\n type: {\n type: [String, Object],\n default: function _default() {\n return config.defaultTabsType;\n }\n },\n animated: {\n type: Boolean,\n default: function _default() {\n return config.defaultTabsAnimated;\n }\n },\n multiline: Boolean\n },\n data: function data() {\n return {\n currentFocus: this.value\n };\n },\n computed: {\n mainClasses: function mainClasses() {\n return _defineProperty({\n 'is-fullwidth': this.expanded,\n 'is-vertical': this.vertical,\n 'is-multiline': this.multiline\n }, this.position, this.position && this.vertical);\n },\n navClasses: function navClasses() {\n var _ref2;\n\n return [this.type, this.size, (_ref2 = {}, _defineProperty(_ref2, this.position, this.position && !this.vertical), _defineProperty(_ref2, 'is-fullwidth', this.expanded), _defineProperty(_ref2, 'is-toggle', this.type === 'is-toggle-rounded'), _ref2)];\n }\n },\n methods: {\n giveFocusToTab: function giveFocusToTab(tab) {\n if (tab.$el && tab.$el.focus) {\n tab.$el.focus();\n } else if (tab.focus) {\n tab.focus();\n }\n },\n manageTablistKeydown: function manageTablistKeydown(event) {\n // https://developer.mozilla.org/fr/docs/Web/API/KeyboardEvent/key/Key_Values#Navigation_keys\n var key = event.key;\n\n switch (key) {\n case this.vertical ? 'ArrowUp' : 'ArrowLeft':\n case this.vertical ? 'Up' : 'Left':\n {\n var prevIdx = this.getPrevItemIdx(this.currentFocus, true);\n\n if (prevIdx === null) {\n // We try to give focus back to the last visible element\n prevIdx = this.getPrevItemIdx(this.items.length, true);\n }\n\n if (prevIdx !== null && this.$refs.tabLink && prevIdx < this.$refs.tabLink.length && !this.items[prevIdx].disabled) {\n this.giveFocusToTab(this.$refs.tabLink[prevIdx]);\n }\n\n event.preventDefault();\n break;\n }\n\n case this.vertical ? 'ArrowDown' : 'ArrowRight':\n case this.vertical ? 'Down' : 'Right':\n {\n var nextIdx = this.getNextItemIdx(this.currentFocus, true);\n\n if (nextIdx === null) {\n // We try to give focus back to the first visible element\n nextIdx = this.getNextItemIdx(-1, true);\n }\n\n if (nextIdx !== null && this.$refs.tabLink && nextIdx < this.$refs.tabLink.length && !this.items[nextIdx].disabled) {\n this.giveFocusToTab(this.$refs.tabLink[nextIdx]);\n }\n\n event.preventDefault();\n break;\n }\n }\n },\n manageTabKeydown: function manageTabKeydown(event, childItem) {\n // https://developer.mozilla.org/fr/docs/Web/API/KeyboardEvent/key/Key_Values#Navigation_keys\n var key = event.key;\n\n switch (key) {\n case ' ':\n case 'Space':\n case 'Spacebar':\n case 'Enter':\n {\n this.childClick(childItem);\n event.preventDefault();\n break;\n }\n }\n }\n }\n};\n\n/* script */\nconst __vue_script__ = script;\n\n/* template */\nvar __vue_render__ = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"b-tabs\",class:_vm.mainClasses},[_c('nav',{staticClass:\"tabs\",class:_vm.navClasses,on:{\"keydown\":_vm.manageTablistKeydown}},[_vm._t(\"start\"),_c('ul',{attrs:{\"aria-orientation\":_vm.vertical ? 'vertical' : 'horizontal',\"role\":\"tablist\"}},_vm._l((_vm.items),function(childItem,childIdx){return _c('li',{directives:[{name:\"show\",rawName:\"v-show\",value:(childItem.visible),expression:\"childItem.visible\"}],key:childItem.value,class:[ childItem.headerClass, { 'is-active': childItem.isActive,\n 'is-disabled': childItem.disabled }],attrs:{\"role\":\"tab\",\"aria-controls\":((childItem.value) + \"-content\"),\"aria-selected\":(\"\" + (childItem.isActive))}},[(childItem.$scopedSlots.header)?_c('b-slot-component',{ref:\"tabLink\",refInFor:true,attrs:{\"component\":childItem,\"name\":\"header\",\"tag\":\"a\",\"id\":((childItem.value) + \"-label\"),\"tabindex\":childItem.isActive ? 0 : -1},on:{\"keydown\":function($event){return _vm.manageTabKeydown($event, childItem)}},nativeOn:{\"focus\":function($event){_vm.currentFocus = childIdx;},\"click\":function($event){return _vm.childClick(childItem)}}}):_c('a',{ref:\"tabLink\",refInFor:true,attrs:{\"id\":((childItem.value) + \"-label\"),\"tabindex\":childItem.isActive ? 0 : -1},on:{\"focus\":function($event){_vm.currentFocus = childIdx;},\"click\":function($event){return _vm.childClick(childItem)},\"keydown\":function($event){return _vm.manageTabKeydown($event, childItem)}}},[(childItem.icon)?_c('b-icon',{attrs:{\"icon\":childItem.icon,\"pack\":childItem.iconPack,\"size\":_vm.size}}):_vm._e(),_c('span',[_vm._v(_vm._s(childItem.label))])],1)],1)}),0),_vm._t(\"end\")],2),_c('section',{staticClass:\"tab-content\",class:{'is-transitioning': _vm.isTransitioning}},[_vm._t(\"default\")],2)])};\nvar __vue_staticRenderFns__ = [];\n\n /* style */\n const __vue_inject_styles__ = undefined;\n /* scoped */\n const __vue_scope_id__ = undefined;\n /* module identifier */\n const __vue_module_identifier__ = undefined;\n /* functional template */\n const __vue_is_functional_template__ = false;\n /* style inject */\n \n /* style inject SSR */\n \n\n \n var Tabs = __vue_normalize__(\n { render: __vue_render__, staticRenderFns: __vue_staticRenderFns__ },\n __vue_inject_styles__,\n __vue_script__,\n __vue_scope_id__,\n __vue_is_functional_template__,\n __vue_module_identifier__,\n undefined,\n undefined\n );\n\nvar script$1 = {\n name: 'BTabItem',\n mixins: [TabbedChildMixin('tab')],\n props: {\n disabled: Boolean\n },\n data: function data() {\n return {\n elementClass: 'tab-item',\n elementRole: 'tabpanel'\n };\n }\n};\n\n/* script */\nconst __vue_script__$1 = script$1;\n\n/* template */\n\n /* style */\n const __vue_inject_styles__$1 = undefined;\n /* scoped */\n const __vue_scope_id__$1 = undefined;\n /* module identifier */\n const __vue_module_identifier__$1 = undefined;\n /* functional template */\n const __vue_is_functional_template__$1 = undefined;\n /* style inject */\n \n /* style inject SSR */\n \n\n \n var TabItem = __vue_normalize__(\n {},\n __vue_inject_styles__$1,\n __vue_script__$1,\n __vue_scope_id__$1,\n __vue_is_functional_template__$1,\n __vue_module_identifier__$1,\n undefined,\n undefined\n );\n\nvar Plugin = {\n install: function install(Vue) {\n registerComponent(Vue, Tabs);\n registerComponent(Vue, TabItem);\n }\n};\nuse(Plugin);\n\nexport default Plugin;\nexport { TabItem as BTabItem, Tabs as BTabs };\n","import { _ as __vue_normalize__ } from './chunk-cca88db8.js';\n\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\nvar script = {\n name: 'BTag',\n props: {\n attached: Boolean,\n closable: Boolean,\n type: String,\n size: String,\n rounded: Boolean,\n disabled: Boolean,\n ellipsis: Boolean,\n tabstop: {\n type: Boolean,\n default: true\n },\n ariaCloseLabel: String,\n icon: String,\n iconType: String,\n iconPack: String,\n closeType: String,\n closeIcon: String,\n closeIconPack: String,\n closeIconType: String\n },\n methods: {\n /**\r\n * Emit close event when delete button is clicked\r\n * or delete key is pressed.\r\n */\n close: function close(event) {\n if (this.disabled) return;\n this.$emit('close', event);\n },\n\n /**\r\n * Emit click event when tag is clicked.\r\n */\n click: function click(event) {\n if (this.disabled) return;\n this.$emit('click', event);\n }\n }\n};\n\n/* script */\nconst __vue_script__ = script;\n\n/* template */\nvar __vue_render__ = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.attached && _vm.closable)?_c('div',{staticClass:\"tags has-addons\"},[_c('span',{staticClass:\"tag\",class:[_vm.type, _vm.size, { 'is-rounded': _vm.rounded }]},[(_vm.icon)?_c('b-icon',{attrs:{\"icon\":_vm.icon,\"size\":_vm.size,\"type\":_vm.iconType,\"pack\":_vm.iconPack}}):_vm._e(),_c('span',{class:{ 'has-ellipsis': _vm.ellipsis },on:{\"click\":_vm.click}},[_vm._t(\"default\")],2)],1),_c('a',{staticClass:\"tag\",class:[_vm.size,\n _vm.closeType,\n {'is-rounded': _vm.rounded},\n _vm.closeIcon ? 'has-delete-icon' : 'is-delete'],attrs:{\"role\":\"button\",\"aria-label\":_vm.ariaCloseLabel,\"tabindex\":_vm.tabstop ? 0 : false,\"disabled\":_vm.disabled},on:{\"click\":_vm.close,\"keyup\":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"delete\",[8,46],$event.key,[\"Backspace\",\"Delete\",\"Del\"])){ return null; }$event.preventDefault();return _vm.close($event)}}},[(_vm.closeIcon)?_c('b-icon',{attrs:{\"custom-class\":\"\",\"icon\":_vm.closeIcon,\"size\":_vm.size,\"type\":_vm.closeIconType,\"pack\":_vm.closeIconPack}}):_vm._e()],1)]):_c('span',{staticClass:\"tag\",class:[_vm.type, _vm.size, { 'is-rounded': _vm.rounded }]},[(_vm.icon)?_c('b-icon',{attrs:{\"icon\":_vm.icon,\"size\":_vm.size,\"type\":_vm.iconType,\"pack\":_vm.iconPack}}):_vm._e(),_c('span',{class:{ 'has-ellipsis': _vm.ellipsis },on:{\"click\":_vm.click}},[_vm._t(\"default\")],2),(_vm.closable)?_c('a',{staticClass:\"delete is-small\",class:_vm.closeType,attrs:{\"role\":\"button\",\"aria-label\":_vm.ariaCloseLabel,\"disabled\":_vm.disabled,\"tabindex\":_vm.tabstop ? 0 : false},on:{\"click\":_vm.close,\"keyup\":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"delete\",[8,46],$event.key,[\"Backspace\",\"Delete\",\"Del\"])){ return null; }$event.preventDefault();return _vm.close($event)}}}):_vm._e()],1)};\nvar __vue_staticRenderFns__ = [];\n\n /* style */\n const __vue_inject_styles__ = undefined;\n /* scoped */\n const __vue_scope_id__ = undefined;\n /* module identifier */\n const __vue_module_identifier__ = undefined;\n /* functional template */\n const __vue_is_functional_template__ = false;\n /* style inject */\n \n /* style inject SSR */\n \n\n \n var Tag = __vue_normalize__(\n { render: __vue_render__, staticRenderFns: __vue_staticRenderFns__ },\n __vue_inject_styles__,\n __vue_script__,\n __vue_scope_id__,\n __vue_is_functional_template__,\n __vue_module_identifier__,\n undefined,\n undefined\n );\n\nexport { Tag as T };\n","import { _ as __vue_normalize__, r as registerComponent, u as use } from './chunk-cca88db8.js';\nimport { T as Tag } from './chunk-2f2f0a74.js';\nexport { T as BTag } from './chunk-2f2f0a74.js';\n\n//\n//\n//\n//\n//\n//\nvar script = {\n name: 'BTaglist',\n props: {\n attached: Boolean\n }\n};\n\n/* script */\nconst __vue_script__ = script;\n\n/* template */\nvar __vue_render__ = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"tags\",class:{ 'has-addons': _vm.attached }},[_vm._t(\"default\")],2)};\nvar __vue_staticRenderFns__ = [];\n\n /* style */\n const __vue_inject_styles__ = undefined;\n /* scoped */\n const __vue_scope_id__ = undefined;\n /* module identifier */\n const __vue_module_identifier__ = undefined;\n /* functional template */\n const __vue_is_functional_template__ = false;\n /* style inject */\n \n /* style inject SSR */\n \n\n \n var Taglist = __vue_normalize__(\n { render: __vue_render__, staticRenderFns: __vue_staticRenderFns__ },\n __vue_inject_styles__,\n __vue_script__,\n __vue_scope_id__,\n __vue_is_functional_template__,\n __vue_module_identifier__,\n undefined,\n undefined\n );\n\nvar Plugin = {\n install: function install(Vue) {\n registerComponent(Vue, Tag);\n registerComponent(Vue, Taglist);\n }\n};\nuse(Plugin);\n\nexport default Plugin;\nexport { Taglist as BTaglist };\n","import { _ as _defineProperty, m as _objectWithoutProperties, b as _typeof } from './chunk-455cdeae.js';\nimport { getValueByPath } from './helpers.js';\nimport { c as config } from './chunk-e92e3389.js';\nimport { F as FormElementMixin } from './chunk-17b33cd2.js';\nimport './chunk-7e17a637.js';\nimport { _ as __vue_normalize__, r as registerComponent, u as use } from './chunk-cca88db8.js';\nimport './chunk-72ecb544.js';\nimport { A as Autocomplete } from './chunk-abcf9a94.js';\nimport { T as Tag } from './chunk-2f2f0a74.js';\n\nvar _components;\nvar script = {\n name: 'BTaginput',\n components: (_components = {}, _defineProperty(_components, Autocomplete.name, Autocomplete), _defineProperty(_components, Tag.name, Tag), _components),\n mixins: [FormElementMixin],\n inheritAttrs: false,\n props: {\n value: {\n type: Array,\n default: function _default() {\n return [];\n }\n },\n data: {\n type: Array,\n default: function _default() {\n return [];\n }\n },\n type: String,\n closeType: String,\n rounded: {\n type: Boolean,\n default: false\n },\n attached: {\n type: Boolean,\n default: false\n },\n maxtags: {\n type: [Number, String],\n required: false\n },\n hasCounter: {\n type: Boolean,\n default: function _default() {\n return config.defaultTaginputHasCounter;\n }\n },\n field: {\n type: String,\n default: 'value'\n },\n autocomplete: Boolean,\n groupField: String,\n groupOptions: String,\n nativeAutocomplete: String,\n openOnFocus: Boolean,\n keepFirst: Boolean,\n disabled: Boolean,\n ellipsis: Boolean,\n closable: {\n type: Boolean,\n default: true\n },\n ariaCloseLabel: String,\n confirmKeys: {\n type: Array,\n default: function _default() {\n return [',', 'Tab', 'Enter'];\n }\n },\n removeOnKeys: {\n type: Array,\n default: function _default() {\n return ['Backspace'];\n }\n },\n allowNew: Boolean,\n onPasteSeparators: {\n type: Array,\n default: function _default() {\n return [','];\n }\n },\n beforeAdding: {\n type: Function,\n default: function _default() {\n return true;\n }\n },\n allowDuplicates: {\n type: Boolean,\n default: false\n },\n checkInfiniteScroll: {\n type: Boolean,\n default: false\n },\n createTag: {\n type: Function,\n default: function _default(tag) {\n return tag;\n }\n },\n appendToBody: Boolean\n },\n data: function data() {\n return {\n tags: Array.isArray(this.value) ? this.value.slice(0) : this.value || [],\n newTag: '',\n isComposing: false,\n _elementRef: 'autocomplete',\n _isTaginput: true\n };\n },\n computed: {\n listeners: function listeners() {\n var _this$$listeners = this.$listeners,\n input = _this$$listeners.input,\n listeners = _objectWithoutProperties(_this$$listeners, [\"input\"]);\n\n return listeners;\n },\n rootClasses: function rootClasses() {\n return {\n 'is-expanded': this.expanded\n };\n },\n containerClasses: function containerClasses() {\n return {\n 'is-focused': this.isFocused,\n 'is-focusable': this.hasInput\n };\n },\n valueLength: function valueLength() {\n return this.newTag.trim().length;\n },\n hasDefaultSlot: function hasDefaultSlot() {\n return !!this.$scopedSlots.default;\n },\n hasEmptySlot: function hasEmptySlot() {\n return !!this.$slots.empty;\n },\n hasHeaderSlot: function hasHeaderSlot() {\n return !!this.$slots.header;\n },\n hasFooterSlot: function hasFooterSlot() {\n return !!this.$slots.footer;\n },\n\n /**\r\n * Show the input field if a maxtags hasn't been set or reached.\r\n */\n hasInput: function hasInput() {\n return this.maxtags == null || this.maxtags === 1 || this.tagsLength < this.maxtags;\n },\n tagsLength: function tagsLength() {\n return this.tags.length;\n },\n\n /**\r\n * If Taginput has onPasteSeparators prop,\r\n * returning new RegExp used to split pasted string.\r\n */\n separatorsAsRegExp: function separatorsAsRegExp() {\n var sep = this.onPasteSeparators;\n return sep.length ? new RegExp(sep.map(function (s) {\n return s ? s.replace(/[-[\\]{}()*+?.,\\\\^$|#\\s]/g, '\\\\$&') : null;\n }).join('|'), 'g') : null;\n }\n },\n watch: {\n /**\r\n * When v-model is changed set internal value.\r\n */\n value: function value(_value) {\n this.tags = Array.isArray(_value) ? _value.slice(0) : _value || [];\n },\n hasInput: function hasInput() {\n if (!this.hasInput) this.onBlur();\n }\n },\n methods: {\n addTag: function addTag(tag) {\n var _this = this;\n\n var tagToAdd = tag || this.newTag.trim();\n\n if (tagToAdd) {\n if (!this.autocomplete) {\n var reg = this.separatorsAsRegExp;\n\n if (reg && tagToAdd.match(reg)) {\n tagToAdd.split(reg).map(function (t) {\n return t.trim();\n }).filter(function (t) {\n return t.length !== 0;\n }).map(this.addTag);\n return;\n }\n } // Add the tag input if it is not blank\n // or previously added (if not allowDuplicates).\n\n\n var add = !this.allowDuplicates ? this.tags.indexOf(tagToAdd) === -1 : true;\n\n if (add && this.beforeAdding(tagToAdd)) {\n if (this.maxtags === 1) {\n this.tags = []; // replace existing tag if only 1 is allowed\n }\n\n this.tags.push(this.createTag(tagToAdd));\n this.$emit('input', this.tags);\n this.$emit('add', tagToAdd);\n } // after autocomplete events\n\n\n requestAnimationFrame(function () {\n _this.newTag = '';\n\n _this.$emit('typing', '');\n });\n }\n },\n getNormalizedTagText: function getNormalizedTagText(tag) {\n if (_typeof(tag) === 'object') {\n tag = getValueByPath(tag, this.field);\n }\n\n return \"\".concat(tag);\n },\n customOnBlur: function customOnBlur(event) {\n // Add tag on-blur if not select only\n if (!this.autocomplete) this.addTag();\n this.onBlur(event);\n },\n onSelect: function onSelect(option) {\n var _this2 = this;\n\n if (!option) return;\n this.addTag(option);\n this.$nextTick(function () {\n _this2.newTag = '';\n });\n },\n removeTag: function removeTag(index, event) {\n var tag = this.tags.splice(index, 1)[0];\n this.$emit('input', this.tags);\n this.$emit('remove', tag);\n if (event) event.stopPropagation();\n\n if (this.openOnFocus && this.$refs.autocomplete) {\n this.$refs.autocomplete.focus();\n }\n\n return tag;\n },\n removeLastTag: function removeLastTag() {\n if (this.tagsLength > 0) {\n this.removeTag(this.tagsLength - 1);\n }\n },\n keydown: function keydown(event) {\n var key = event.key; // cannot destructure preventDefault (https://stackoverflow.com/a/49616808/2774496)\n\n if (this.removeOnKeys.indexOf(key) !== -1 && !this.newTag.length) {\n this.removeLastTag();\n } // Stop if is to accept select only\n\n\n if (this.autocomplete && !this.allowNew) return;\n\n if (this.confirmKeys.indexOf(key) >= 0) {\n // Allow Tab to advance to next field regardless\n if (key !== 'Tab') event.preventDefault();\n if (key === 'Enter' && this.isComposing) return;\n this.addTag();\n }\n },\n onTyping: function onTyping(event) {\n this.$emit('typing', event.trim());\n },\n emitInfiniteScroll: function emitInfiniteScroll() {\n this.$emit('infinite-scroll');\n }\n }\n};\n\n/* script */\nconst __vue_script__ = script;\n\n/* template */\nvar __vue_render__ = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"taginput control\",class:_vm.rootClasses},[_c('div',{staticClass:\"taginput-container\",class:[_vm.statusType, _vm.size, _vm.containerClasses],attrs:{\"disabled\":_vm.disabled},on:{\"click\":function($event){_vm.hasInput && _vm.focus($event);}}},[_vm._t(\"selected\",_vm._l((_vm.tags),function(tag,index){return _c('b-tag',{key:_vm.getNormalizedTagText(tag) + index,attrs:{\"type\":_vm.type,\"close-type\":_vm.closeType,\"size\":_vm.size,\"rounded\":_vm.rounded,\"attached\":_vm.attached,\"tabstop\":false,\"disabled\":_vm.disabled,\"ellipsis\":_vm.ellipsis,\"closable\":_vm.closable,\"aria-close-label\":_vm.ariaCloseLabel,\"title\":_vm.ellipsis && _vm.getNormalizedTagText(tag)},on:{\"close\":function($event){return _vm.removeTag(index, $event)}}},[_vm._t(\"tag\",[_vm._v(\" \"+_vm._s(_vm.getNormalizedTagText(tag))+\" \")],{\"tag\":tag})],2)}),{\"tags\":_vm.tags}),(_vm.hasInput)?_c('b-autocomplete',_vm._g(_vm._b({ref:\"autocomplete\",attrs:{\"data\":_vm.data,\"field\":_vm.field,\"icon\":_vm.icon,\"icon-pack\":_vm.iconPack,\"maxlength\":_vm.maxlength,\"has-counter\":false,\"size\":_vm.size,\"disabled\":_vm.disabled,\"loading\":_vm.loading,\"autocomplete\":_vm.nativeAutocomplete,\"open-on-focus\":_vm.openOnFocus,\"keep-open\":_vm.openOnFocus,\"keep-first\":_vm.keepFirst,\"group-field\":_vm.groupField,\"group-options\":_vm.groupOptions,\"use-html5-validation\":_vm.useHtml5Validation,\"check-infinite-scroll\":_vm.checkInfiniteScroll,\"append-to-body\":_vm.appendToBody,\"confirm-keys\":_vm.confirmKeys},on:{\"typing\":_vm.onTyping,\"focus\":_vm.onFocus,\"blur\":_vm.customOnBlur,\"select\":_vm.onSelect,\"infinite-scroll\":_vm.emitInfiniteScroll},nativeOn:{\"keydown\":function($event){return _vm.keydown($event)},\"compositionstart\":function($event){_vm.isComposing = true;},\"compositionend\":function($event){_vm.isComposing = false;}},scopedSlots:_vm._u([(_vm.hasHeaderSlot)?{key:\"header\",fn:function(){return [_vm._t(\"header\")]},proxy:true}:null,(_vm.hasDefaultSlot)?{key:\"default\",fn:function(props){return [_vm._t(\"default\",null,{\"option\":props.option,\"index\":props.index})]}}:null,(_vm.hasEmptySlot)?{key:\"empty\",fn:function(){return [_vm._t(\"empty\")]},proxy:true}:null,(_vm.hasFooterSlot)?{key:\"footer\",fn:function(){return [_vm._t(\"footer\")]},proxy:true}:null],null,true),model:{value:(_vm.newTag),callback:function ($$v) {_vm.newTag=$$v;},expression:\"newTag\"}},'b-autocomplete',_vm.$attrs,false),_vm.listeners)):_vm._e()],2),(_vm.hasCounter && (_vm.maxtags || _vm.maxlength))?_c('small',{staticClass:\"help counter\"},[(_vm.maxlength && _vm.valueLength > 0)?[_vm._v(\" \"+_vm._s(_vm.valueLength)+\" / \"+_vm._s(_vm.maxlength)+\" \")]:(_vm.maxtags)?[_vm._v(\" \"+_vm._s(_vm.tagsLength)+\" / \"+_vm._s(_vm.maxtags)+\" \")]:_vm._e()],2):_vm._e()])};\nvar __vue_staticRenderFns__ = [];\n\n /* style */\n const __vue_inject_styles__ = undefined;\n /* scoped */\n const __vue_scope_id__ = undefined;\n /* module identifier */\n const __vue_module_identifier__ = undefined;\n /* functional template */\n const __vue_is_functional_template__ = false;\n /* style inject */\n \n /* style inject SSR */\n \n\n \n var Taginput = __vue_normalize__(\n { render: __vue_render__, staticRenderFns: __vue_staticRenderFns__ },\n __vue_inject_styles__,\n __vue_script__,\n __vue_scope_id__,\n __vue_is_functional_template__,\n __vue_module_identifier__,\n undefined,\n undefined\n );\n\nvar Plugin = {\n install: function install(Vue) {\n registerComponent(Vue, Taginput);\n }\n};\nuse(Plugin);\n\nexport default Plugin;\nexport { Taginput as BTaginput };\n","import './chunk-455cdeae.js';\nimport './helpers.js';\nimport './chunk-e92e3389.js';\nimport './chunk-17b33cd2.js';\nimport './chunk-7e17a637.js';\nimport { r as registerComponent, u as use } from './chunk-cca88db8.js';\nimport './chunk-72ecb544.js';\nimport './chunk-60a03517.js';\nimport './chunk-6e56b8bc.js';\nimport './chunk-42f463e6.js';\nimport './chunk-ade5b253.js';\nimport './chunk-53788519.js';\nimport './chunk-4e788733.js';\nimport { T as Timepicker } from './chunk-35c20328.js';\nexport { T as BTimepicker } from './chunk-35c20328.js';\n\nvar Plugin = {\n install: function install(Vue) {\n registerComponent(Vue, Timepicker);\n }\n};\nuse(Plugin);\n\nexport default Plugin;\n","import './chunk-455cdeae.js';\nimport { merge } from './helpers.js';\nimport { c as config, V as VueInstance } from './chunk-e92e3389.js';\nimport { _ as __vue_normalize__, a as registerComponentProgrammatic, u as use } from './chunk-cca88db8.js';\nimport { N as NoticeMixin } from './chunk-a32d1427.js';\n\n//\nvar script = {\n name: 'BToast',\n mixins: [NoticeMixin],\n data: function data() {\n return {\n newDuration: this.duration || config.defaultToastDuration\n };\n }\n};\n\n/* script */\nconst __vue_script__ = script;\n\n/* template */\nvar __vue_render__ = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('transition',{attrs:{\"enter-active-class\":_vm.transition.enter,\"leave-active-class\":_vm.transition.leave}},[_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.isActive),expression:\"isActive\"}],staticClass:\"toast\",class:[_vm.type, _vm.position],attrs:{\"aria-hidden\":!_vm.isActive,\"role\":\"alert\"},on:{\"mouseenter\":_vm.pause,\"mouseleave\":_vm.removePause}},[(_vm.$slots.default)?[_vm._t(\"default\")]:[_c('div',{domProps:{\"innerHTML\":_vm._s(_vm.message)}})]],2)])};\nvar __vue_staticRenderFns__ = [];\n\n /* style */\n const __vue_inject_styles__ = undefined;\n /* scoped */\n const __vue_scope_id__ = undefined;\n /* module identifier */\n const __vue_module_identifier__ = undefined;\n /* functional template */\n const __vue_is_functional_template__ = false;\n /* style inject */\n \n /* style inject SSR */\n \n\n \n var Toast = __vue_normalize__(\n { render: __vue_render__, staticRenderFns: __vue_staticRenderFns__ },\n __vue_inject_styles__,\n __vue_script__,\n __vue_scope_id__,\n __vue_is_functional_template__,\n __vue_module_identifier__,\n undefined,\n undefined\n );\n\nvar localVueInstance;\nvar ToastProgrammatic = {\n open: function open(params) {\n var parent;\n\n if (typeof params === 'string') {\n params = {\n message: params\n };\n }\n\n var defaultParam = {\n position: config.defaultToastPosition || 'is-top'\n };\n\n if (params.parent) {\n parent = params.parent;\n delete params.parent;\n }\n\n var slot;\n\n if (Array.isArray(params.message)) {\n slot = params.message;\n delete params.message;\n }\n\n var propsData = merge(defaultParam, params);\n var vm = typeof window !== 'undefined' && window.Vue ? window.Vue : localVueInstance || VueInstance;\n var ToastComponent = vm.extend(Toast);\n var component = new ToastComponent({\n parent: parent,\n el: document.createElement('div'),\n propsData: propsData\n });\n\n if (slot) {\n component.$slots.default = slot;\n component.$forceUpdate();\n }\n\n return component;\n }\n};\nvar Plugin = {\n install: function install(Vue) {\n localVueInstance = Vue;\n registerComponentProgrammatic(Vue, 'toast', ToastProgrammatic);\n }\n};\nuse(Plugin);\n\nexport default Plugin;\nexport { Toast as BToast, ToastProgrammatic };\n","import './chunk-455cdeae.js';\nimport './helpers.js';\nimport './chunk-e92e3389.js';\nimport { r as registerComponent, u as use } from './chunk-cca88db8.js';\nimport { T as Tooltip } from './chunk-9b0b8225.js';\nexport { T as BTooltip } from './chunk-9b0b8225.js';\n\nvar Plugin = {\n install: function install(Vue) {\n registerComponent(Vue, Tooltip);\n }\n};\nuse(Plugin);\n\nexport default Plugin;\n","import './chunk-455cdeae.js';\nimport './helpers.js';\nimport './chunk-e92e3389.js';\nimport { F as FormElementMixin } from './chunk-17b33cd2.js';\nimport { _ as __vue_normalize__, r as registerComponent, u as use } from './chunk-cca88db8.js';\nimport { F as File } from './chunk-b9bdb0e4.js';\n\n//\nvar script = {\n name: 'BUpload',\n mixins: [FormElementMixin],\n inheritAttrs: false,\n props: {\n value: {\n type: [Object, Function, File, Array]\n },\n multiple: Boolean,\n disabled: Boolean,\n accept: String,\n dragDrop: Boolean,\n type: {\n type: String,\n default: 'is-primary'\n },\n native: {\n type: Boolean,\n default: false\n },\n expanded: {\n type: Boolean,\n default: false\n },\n rounded: {\n type: Boolean,\n default: false\n }\n },\n data: function data() {\n return {\n newValue: this.value,\n dragDropFocus: false,\n _elementRef: 'input'\n };\n },\n watch: {\n /**\r\n * When v-model is changed:\r\n * 1. Set internal value.\r\n * 2. Reset internal input file value\r\n * 3. If it's invalid, validate again.\r\n */\n value: function value(_value) {\n this.newValue = _value;\n\n if (!_value || Array.isArray(_value) && _value.length === 0) {\n this.$refs.input.value = null;\n }\n\n !this.isValid && !this.dragDrop && this.checkHtml5Validity();\n }\n },\n methods: {\n /**\r\n * Listen change event on input type 'file',\r\n * emit 'input' event and validate\r\n */\n onFileChange: function onFileChange(event) {\n if (this.disabled || this.loading) return;\n if (this.dragDrop) this.updateDragDropFocus(false);\n var value = event.target.files || event.dataTransfer.files;\n\n if (value.length === 0) {\n if (!this.newValue) return;\n if (this.native) this.newValue = null;\n } else if (!this.multiple) {\n // only one element in case drag drop mode and isn't multiple\n if (this.dragDrop && value.length !== 1) return;else {\n var file = value[0];\n if (this.checkType(file)) this.newValue = file;else if (this.newValue) {\n this.newValue = null;\n this.clearInput();\n } else {\n // Force input back to empty state and recheck validity\n this.clearInput();\n this.checkHtml5Validity();\n return;\n }\n }\n } else {\n // always new values if native or undefined local\n var newValues = false;\n\n if (this.native || !this.newValue) {\n this.newValue = [];\n newValues = true;\n }\n\n for (var i = 0; i < value.length; i++) {\n var _file = value[i];\n\n if (this.checkType(_file)) {\n this.newValue.push(_file);\n newValues = true;\n }\n }\n\n if (!newValues) return;\n }\n\n this.$emit('input', this.newValue);\n !this.dragDrop && this.checkHtml5Validity();\n },\n\n /*\r\n * Reset file input value\r\n */\n clearInput: function clearInput() {\n this.$refs.input.value = null;\n },\n\n /**\r\n * Listen drag-drop to update internal variable\r\n */\n updateDragDropFocus: function updateDragDropFocus(focus) {\n if (!this.disabled && !this.loading) {\n this.dragDropFocus = focus;\n }\n },\n\n /**\r\n * Check mime type of file\r\n */\n checkType: function checkType(file) {\n if (!this.accept) return true;\n var types = this.accept.split(',');\n if (types.length === 0) return true;\n var valid = false;\n\n for (var i = 0; i < types.length && !valid; i++) {\n var type = types[i].trim();\n\n if (type) {\n if (type.substring(0, 1) === '.') {\n // check extension\n var extension = file.name.toLowerCase().slice(-type.length);\n\n if (extension === type.toLowerCase()) {\n valid = true;\n }\n } else {\n // check mime type\n if (file.type.match(type)) {\n valid = true;\n }\n }\n }\n }\n\n if (!valid) this.$emit('invalid');\n return valid;\n }\n }\n};\n\n/* script */\nconst __vue_script__ = script;\n\n/* template */\nvar __vue_render__ = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('label',{staticClass:\"upload control\",class:{'is-expanded' : _vm.expanded, 'is-rounded' : _vm.rounded}},[(!_vm.dragDrop)?[_vm._t(\"default\")]:_c('div',{staticClass:\"upload-draggable\",class:[_vm.type, {\n 'is-loading': _vm.loading,\n 'is-disabled': _vm.disabled,\n 'is-hovered': _vm.dragDropFocus,\n 'is-expanded': _vm.expanded,\n }],on:{\"dragover\":function($event){$event.preventDefault();return _vm.updateDragDropFocus(true)},\"dragleave\":function($event){$event.preventDefault();return _vm.updateDragDropFocus(false)},\"dragenter\":function($event){$event.preventDefault();return _vm.updateDragDropFocus(true)},\"drop\":function($event){$event.preventDefault();return _vm.onFileChange($event)}}},[_vm._t(\"default\")],2),_c('input',_vm._b({ref:\"input\",attrs:{\"type\":\"file\",\"multiple\":_vm.multiple,\"accept\":_vm.accept,\"disabled\":_vm.disabled},on:{\"change\":_vm.onFileChange}},'input',_vm.$attrs,false))],2)};\nvar __vue_staticRenderFns__ = [];\n\n /* style */\n const __vue_inject_styles__ = undefined;\n /* scoped */\n const __vue_scope_id__ = undefined;\n /* module identifier */\n const __vue_module_identifier__ = undefined;\n /* functional template */\n const __vue_is_functional_template__ = false;\n /* style inject */\n \n /* style inject SSR */\n \n\n \n var Upload = __vue_normalize__(\n { render: __vue_render__, staticRenderFns: __vue_staticRenderFns__ },\n __vue_inject_styles__,\n __vue_script__,\n __vue_scope_id__,\n __vue_is_functional_template__,\n __vue_module_identifier__,\n undefined,\n undefined\n );\n\nvar Plugin = {\n install: function install(Vue) {\n registerComponent(Vue, Upload);\n }\n};\nuse(Plugin);\n\nexport default Plugin;\nexport { Upload as BUpload };\n","import './chunk-455cdeae.js';\nimport { merge } from './helpers.js';\nimport { c as config, a as setOptions } from './chunk-e92e3389.js';\n\nvar ConfigComponent = {\n getOptions: function getOptions() {\n return config;\n },\n setOptions: function setOptions$1(options) {\n setOptions(merge(config, options, true));\n }\n};\n\nexport default ConfigComponent;\n","import './chunk-455cdeae.js';\nimport { merge } from './helpers.js';\nexport { bound, createAbsoluteElement, createNewEvent, escapeRegExpChars, getMonthNames, getValueByPath, getWeekdayNames, hasFlag, indexOf, isCustomElement, isDefined, isMobile, isNil, isVueComponent, isWebpSupported, matchWithGroups, merge, mod, multiColumnSort, removeDiacriticsFromString, removeElement, sign, toCssWidth } from './helpers.js';\nimport { s as setVueInstance, a as setOptions, c as config } from './chunk-e92e3389.js';\nimport './chunk-17b33cd2.js';\nimport './chunk-7e17a637.js';\nimport { a as registerComponentProgrammatic, u as use } from './chunk-cca88db8.js';\nimport './chunk-72ecb544.js';\nimport './chunk-abcf9a94.js';\nimport Plugin from './autocomplete.js';\nexport { default as Autocomplete } from './autocomplete.js';\nimport Plugin$1 from './breadcrumb.js';\nexport { default as Breadcrumb } from './breadcrumb.js';\nimport './chunk-b5576437.js';\nimport Plugin$2 from './button.js';\nexport { default as Button } from './button.js';\nimport './chunk-60a03517.js';\nimport Plugin$3 from './carousel.js';\nexport { default as Carousel } from './carousel.js';\nimport './chunk-493ff0a9.js';\nimport './chunk-2793447b.js';\nimport './chunk-4a2008fa.js';\nimport Plugin$4 from './checkbox.js';\nexport { default as Checkbox } from './checkbox.js';\nimport Plugin$6 from './collapse.js';\nexport { default as Collapse } from './collapse.js';\nimport './chunk-6e56b8bc.js';\nimport './chunk-42f463e6.js';\nimport './chunk-ade5b253.js';\nimport './chunk-53788519.js';\nimport Plugin$5 from './clockpicker.js';\nexport { default as Clockpicker } from './clockpicker.js';\nimport Plugin$7 from './colorpicker.js';\nexport { default as Colorpicker } from './colorpicker.js';\nimport './chunk-4e788733.js';\nimport './chunk-9b0b8225.js';\nimport './chunk-ea6777b6.js';\nimport Plugin$8 from './datepicker.js';\nexport { default as Datepicker } from './datepicker.js';\nimport './chunk-35c20328.js';\nimport Plugin$9 from './datetimepicker.js';\nexport { default as Datetimepicker } from './datetimepicker.js';\nimport './chunk-33e1434e.js';\nimport Plugin$a from './dialog.js';\nexport { default as Dialog, DialogProgrammatic } from './dialog.js';\nimport Plugin$b from './dropdown.js';\nexport { default as Dropdown } from './dropdown.js';\nimport Plugin$c from './field.js';\nexport { default as Field } from './field.js';\nimport Plugin$d from './icon.js';\nexport { default as Icon } from './icon.js';\nimport Plugin$e from './image.js';\nexport { default as Image } from './image.js';\nimport Plugin$f from './input.js';\nexport { default as Input } from './input.js';\nimport './chunk-b9bdb0e4.js';\nimport './chunk-6d0f2352.js';\nimport Plugin$g from './loading.js';\nexport { default as Loading, LoadingProgrammatic } from './loading.js';\nimport Plugin$h from './menu.js';\nexport { default as Menu } from './menu.js';\nimport './chunk-7bb9107f.js';\nimport Plugin$i from './message.js';\nexport { default as Message } from './message.js';\nimport Plugin$j from './modal.js';\nexport { default as Modal, ModalProgrammatic } from './modal.js';\nimport Plugin$l from './notification.js';\nexport { default as Notification, NotificationProgrammatic } from './notification.js';\nimport './chunk-a32d1427.js';\nimport Plugin$k from './navbar.js';\nexport { default as Navbar } from './navbar.js';\nimport Plugin$m from './numberinput.js';\nexport { default as Numberinput } from './numberinput.js';\nimport './chunk-c5284276.js';\nimport Plugin$n from './pagination.js';\nexport { default as Pagination } from './pagination.js';\nimport Plugin$o from './progress.js';\nexport { default as Progress } from './progress.js';\nimport Plugin$p from './radio.js';\nexport { default as Radio } from './radio.js';\nimport Plugin$q from './rate.js';\nexport { default as Rate } from './rate.js';\nimport Plugin$r from './select.js';\nexport { default as Select } from './select.js';\nimport Plugin$s from './skeleton.js';\nexport { default as Skeleton } from './skeleton.js';\nimport Plugin$t from './sidebar.js';\nexport { default as Sidebar } from './sidebar.js';\nimport Plugin$u from './slider.js';\nexport { default as Slider } from './slider.js';\nimport Plugin$v from './snackbar.js';\nexport { default as Snackbar, SnackbarProgrammatic } from './snackbar.js';\nimport './chunk-c9c18b2f.js';\nimport './chunk-f32d0228.js';\nimport Plugin$w from './steps.js';\nexport { default as Steps } from './steps.js';\nimport Plugin$x from './switch.js';\nexport { default as Switch } from './switch.js';\nimport Plugin$y from './table.js';\nexport { default as Table } from './table.js';\nimport Plugin$z from './tabs.js';\nexport { default as Tabs } from './tabs.js';\nimport './chunk-2f2f0a74.js';\nimport Plugin$A from './tag.js';\nexport { default as Tag } from './tag.js';\nimport Plugin$B from './taginput.js';\nexport { default as Taginput } from './taginput.js';\nimport Plugin$C from './timepicker.js';\nexport { default as Timepicker } from './timepicker.js';\nimport Plugin$D from './toast.js';\nexport { default as Toast, ToastProgrammatic } from './toast.js';\nimport Plugin$E from './tooltip.js';\nexport { default as Tooltip } from './tooltip.js';\nimport Plugin$F from './upload.js';\nexport { default as Upload } from './upload.js';\nimport ConfigComponent from './config.js';\nexport { default as ConfigProgrammatic } from './config.js';\n\n\n\nvar components = /*#__PURE__*/Object.freeze({\n Autocomplete: Plugin,\n Breadcrumb: Plugin$1,\n Button: Plugin$2,\n Carousel: Plugin$3,\n Checkbox: Plugin$4,\n Clockpicker: Plugin$5,\n Collapse: Plugin$6,\n Colorpicker: Plugin$7,\n Datepicker: Plugin$8,\n Datetimepicker: Plugin$9,\n Dialog: Plugin$a,\n Dropdown: Plugin$b,\n Field: Plugin$c,\n Icon: Plugin$d,\n Image: Plugin$e,\n Input: Plugin$f,\n Loading: Plugin$g,\n Menu: Plugin$h,\n Message: Plugin$i,\n Modal: Plugin$j,\n Navbar: Plugin$k,\n Notification: Plugin$l,\n Numberinput: Plugin$m,\n Pagination: Plugin$n,\n Progress: Plugin$o,\n Radio: Plugin$p,\n Rate: Plugin$q,\n Select: Plugin$r,\n Skeleton: Plugin$s,\n Sidebar: Plugin$t,\n Slider: Plugin$u,\n Snackbar: Plugin$v,\n Steps: Plugin$w,\n Switch: Plugin$x,\n Table: Plugin$y,\n Tabs: Plugin$z,\n Tag: Plugin$A,\n Taginput: Plugin$B,\n Timepicker: Plugin$C,\n Toast: Plugin$D,\n Tooltip: Plugin$E,\n Upload: Plugin$F\n});\n\nvar Buefy = {\n install: function install(Vue) {\n var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n setVueInstance(Vue); // Options\n\n setOptions(merge(config, options, true)); // Components\n\n for (var componentKey in components) {\n Vue.use(components[componentKey]);\n } // Config component\n\n\n registerComponentProgrammatic(Vue, 'config', ConfigComponent);\n Vue.prototype.$buefy.globalNoticeInterval = null;\n }\n};\nuse(Buefy);\n\nexport default Buefy;\n","/*!\n * vue-router v3.6.5\n * (c) 2022 Evan You\n * @license MIT\n */\n/* */\n\nfunction assert (condition, message) {\n if (!condition) {\n throw new Error((\"[vue-router] \" + message))\n }\n}\n\nfunction warn (condition, message) {\n if (!condition) {\n typeof console !== 'undefined' && console.warn((\"[vue-router] \" + message));\n }\n}\n\nfunction extend (a, b) {\n for (var key in b) {\n a[key] = b[key];\n }\n return a\n}\n\n/* */\n\nvar encodeReserveRE = /[!'()*]/g;\nvar encodeReserveReplacer = function (c) { return '%' + c.charCodeAt(0).toString(16); };\nvar commaRE = /%2C/g;\n\n// fixed encodeURIComponent which is more conformant to RFC3986:\n// - escapes [!'()*]\n// - preserve commas\nvar encode = function (str) { return encodeURIComponent(str)\n .replace(encodeReserveRE, encodeReserveReplacer)\n .replace(commaRE, ','); };\n\nfunction decode (str) {\n try {\n return decodeURIComponent(str)\n } catch (err) {\n if (process.env.NODE_ENV !== 'production') {\n warn(false, (\"Error decoding \\\"\" + str + \"\\\". Leaving it intact.\"));\n }\n }\n return str\n}\n\nfunction resolveQuery (\n query,\n extraQuery,\n _parseQuery\n) {\n if ( extraQuery === void 0 ) extraQuery = {};\n\n var parse = _parseQuery || parseQuery;\n var parsedQuery;\n try {\n parsedQuery = parse(query || '');\n } catch (e) {\n process.env.NODE_ENV !== 'production' && warn(false, e.message);\n parsedQuery = {};\n }\n for (var key in extraQuery) {\n var value = extraQuery[key];\n parsedQuery[key] = Array.isArray(value)\n ? value.map(castQueryParamValue)\n : castQueryParamValue(value);\n }\n return parsedQuery\n}\n\nvar castQueryParamValue = function (value) { return (value == null || typeof value === 'object' ? value : String(value)); };\n\nfunction parseQuery (query) {\n var res = {};\n\n query = query.trim().replace(/^(\\?|#|&)/, '');\n\n if (!query) {\n return res\n }\n\n query.split('&').forEach(function (param) {\n var parts = param.replace(/\\+/g, ' ').split('=');\n var key = decode(parts.shift());\n var val = parts.length > 0 ? decode(parts.join('=')) : null;\n\n if (res[key] === undefined) {\n res[key] = val;\n } else if (Array.isArray(res[key])) {\n res[key].push(val);\n } else {\n res[key] = [res[key], val];\n }\n });\n\n return res\n}\n\nfunction stringifyQuery (obj) {\n var res = obj\n ? Object.keys(obj)\n .map(function (key) {\n var val = obj[key];\n\n if (val === undefined) {\n return ''\n }\n\n if (val === null) {\n return encode(key)\n }\n\n if (Array.isArray(val)) {\n var result = [];\n val.forEach(function (val2) {\n if (val2 === undefined) {\n return\n }\n if (val2 === null) {\n result.push(encode(key));\n } else {\n result.push(encode(key) + '=' + encode(val2));\n }\n });\n return result.join('&')\n }\n\n return encode(key) + '=' + encode(val)\n })\n .filter(function (x) { return x.length > 0; })\n .join('&')\n : null;\n return res ? (\"?\" + res) : ''\n}\n\n/* */\n\nvar trailingSlashRE = /\\/?$/;\n\nfunction createRoute (\n record,\n location,\n redirectedFrom,\n router\n) {\n var stringifyQuery = router && router.options.stringifyQuery;\n\n var query = location.query || {};\n try {\n query = clone(query);\n } catch (e) {}\n\n var route = {\n name: location.name || (record && record.name),\n meta: (record && record.meta) || {},\n path: location.path || '/',\n hash: location.hash || '',\n query: query,\n params: location.params || {},\n fullPath: getFullPath(location, stringifyQuery),\n matched: record ? formatMatch(record) : []\n };\n if (redirectedFrom) {\n route.redirectedFrom = getFullPath(redirectedFrom, stringifyQuery);\n }\n return Object.freeze(route)\n}\n\nfunction clone (value) {\n if (Array.isArray(value)) {\n return value.map(clone)\n } else if (value && typeof value === 'object') {\n var res = {};\n for (var key in value) {\n res[key] = clone(value[key]);\n }\n return res\n } else {\n return value\n }\n}\n\n// the starting route that represents the initial state\nvar START = createRoute(null, {\n path: '/'\n});\n\nfunction formatMatch (record) {\n var res = [];\n while (record) {\n res.unshift(record);\n record = record.parent;\n }\n return res\n}\n\nfunction getFullPath (\n ref,\n _stringifyQuery\n) {\n var path = ref.path;\n var query = ref.query; if ( query === void 0 ) query = {};\n var hash = ref.hash; if ( hash === void 0 ) hash = '';\n\n var stringify = _stringifyQuery || stringifyQuery;\n return (path || '/') + stringify(query) + hash\n}\n\nfunction isSameRoute (a, b, onlyPath) {\n if (b === START) {\n return a === b\n } else if (!b) {\n return false\n } else if (a.path && b.path) {\n return a.path.replace(trailingSlashRE, '') === b.path.replace(trailingSlashRE, '') && (onlyPath ||\n a.hash === b.hash &&\n isObjectEqual(a.query, b.query))\n } else if (a.name && b.name) {\n return (\n a.name === b.name &&\n (onlyPath || (\n a.hash === b.hash &&\n isObjectEqual(a.query, b.query) &&\n isObjectEqual(a.params, b.params))\n )\n )\n } else {\n return false\n }\n}\n\nfunction isObjectEqual (a, b) {\n if ( a === void 0 ) a = {};\n if ( b === void 0 ) b = {};\n\n // handle null value #1566\n if (!a || !b) { return a === b }\n var aKeys = Object.keys(a).sort();\n var bKeys = Object.keys(b).sort();\n if (aKeys.length !== bKeys.length) {\n return false\n }\n return aKeys.every(function (key, i) {\n var aVal = a[key];\n var bKey = bKeys[i];\n if (bKey !== key) { return false }\n var bVal = b[key];\n // query values can be null and undefined\n if (aVal == null || bVal == null) { return aVal === bVal }\n // check nested equality\n if (typeof aVal === 'object' && typeof bVal === 'object') {\n return isObjectEqual(aVal, bVal)\n }\n return String(aVal) === String(bVal)\n })\n}\n\nfunction isIncludedRoute (current, target) {\n return (\n current.path.replace(trailingSlashRE, '/').indexOf(\n target.path.replace(trailingSlashRE, '/')\n ) === 0 &&\n (!target.hash || current.hash === target.hash) &&\n queryIncludes(current.query, target.query)\n )\n}\n\nfunction queryIncludes (current, target) {\n for (var key in target) {\n if (!(key in current)) {\n return false\n }\n }\n return true\n}\n\nfunction handleRouteEntered (route) {\n for (var i = 0; i < route.matched.length; i++) {\n var record = route.matched[i];\n for (var name in record.instances) {\n var instance = record.instances[name];\n var cbs = record.enteredCbs[name];\n if (!instance || !cbs) { continue }\n delete record.enteredCbs[name];\n for (var i$1 = 0; i$1 < cbs.length; i$1++) {\n if (!instance._isBeingDestroyed) { cbs[i$1](instance); }\n }\n }\n }\n}\n\nvar View = {\n name: 'RouterView',\n functional: true,\n props: {\n name: {\n type: String,\n default: 'default'\n }\n },\n render: function render (_, ref) {\n var props = ref.props;\n var children = ref.children;\n var parent = ref.parent;\n var data = ref.data;\n\n // used by devtools to display a router-view badge\n data.routerView = true;\n\n // directly use parent context's createElement() function\n // so that components rendered by router-view can resolve named slots\n var h = parent.$createElement;\n var name = props.name;\n var route = parent.$route;\n var cache = parent._routerViewCache || (parent._routerViewCache = {});\n\n // determine current view depth, also check to see if the tree\n // has been toggled inactive but kept-alive.\n var depth = 0;\n var inactive = false;\n while (parent && parent._routerRoot !== parent) {\n var vnodeData = parent.$vnode ? parent.$vnode.data : {};\n if (vnodeData.routerView) {\n depth++;\n }\n if (vnodeData.keepAlive && parent._directInactive && parent._inactive) {\n inactive = true;\n }\n parent = parent.$parent;\n }\n data.routerViewDepth = depth;\n\n // render previous view if the tree is inactive and kept-alive\n if (inactive) {\n var cachedData = cache[name];\n var cachedComponent = cachedData && cachedData.component;\n if (cachedComponent) {\n // #2301\n // pass props\n if (cachedData.configProps) {\n fillPropsinData(cachedComponent, data, cachedData.route, cachedData.configProps);\n }\n return h(cachedComponent, data, children)\n } else {\n // render previous empty view\n return h()\n }\n }\n\n var matched = route.matched[depth];\n var component = matched && matched.components[name];\n\n // render empty node if no matched route or no config component\n if (!matched || !component) {\n cache[name] = null;\n return h()\n }\n\n // cache component\n cache[name] = { component: component };\n\n // attach instance registration hook\n // this will be called in the instance's injected lifecycle hooks\n data.registerRouteInstance = function (vm, val) {\n // val could be undefined for unregistration\n var current = matched.instances[name];\n if (\n (val && current !== vm) ||\n (!val && current === vm)\n ) {\n matched.instances[name] = val;\n }\n }\n\n // also register instance in prepatch hook\n // in case the same component instance is reused across different routes\n ;(data.hook || (data.hook = {})).prepatch = function (_, vnode) {\n matched.instances[name] = vnode.componentInstance;\n };\n\n // register instance in init hook\n // in case kept-alive component be actived when routes changed\n data.hook.init = function (vnode) {\n if (vnode.data.keepAlive &&\n vnode.componentInstance &&\n vnode.componentInstance !== matched.instances[name]\n ) {\n matched.instances[name] = vnode.componentInstance;\n }\n\n // if the route transition has already been confirmed then we weren't\n // able to call the cbs during confirmation as the component was not\n // registered yet, so we call it here.\n handleRouteEntered(route);\n };\n\n var configProps = matched.props && matched.props[name];\n // save route and configProps in cache\n if (configProps) {\n extend(cache[name], {\n route: route,\n configProps: configProps\n });\n fillPropsinData(component, data, route, configProps);\n }\n\n return h(component, data, children)\n }\n};\n\nfunction fillPropsinData (component, data, route, configProps) {\n // resolve props\n var propsToPass = data.props = resolveProps(route, configProps);\n if (propsToPass) {\n // clone to prevent mutation\n propsToPass = data.props = extend({}, propsToPass);\n // pass non-declared props as attrs\n var attrs = data.attrs = data.attrs || {};\n for (var key in propsToPass) {\n if (!component.props || !(key in component.props)) {\n attrs[key] = propsToPass[key];\n delete propsToPass[key];\n }\n }\n }\n}\n\nfunction resolveProps (route, config) {\n switch (typeof config) {\n case 'undefined':\n return\n case 'object':\n return config\n case 'function':\n return config(route)\n case 'boolean':\n return config ? route.params : undefined\n default:\n if (process.env.NODE_ENV !== 'production') {\n warn(\n false,\n \"props in \\\"\" + (route.path) + \"\\\" is a \" + (typeof config) + \", \" +\n \"expecting an object, function or boolean.\"\n );\n }\n }\n}\n\n/* */\n\nfunction resolvePath (\n relative,\n base,\n append\n) {\n var firstChar = relative.charAt(0);\n if (firstChar === '/') {\n return relative\n }\n\n if (firstChar === '?' || firstChar === '#') {\n return base + relative\n }\n\n var stack = base.split('/');\n\n // remove trailing segment if:\n // - not appending\n // - appending to trailing slash (last segment is empty)\n if (!append || !stack[stack.length - 1]) {\n stack.pop();\n }\n\n // resolve relative path\n var segments = relative.replace(/^\\//, '').split('/');\n for (var i = 0; i < segments.length; i++) {\n var segment = segments[i];\n if (segment === '..') {\n stack.pop();\n } else if (segment !== '.') {\n stack.push(segment);\n }\n }\n\n // ensure leading slash\n if (stack[0] !== '') {\n stack.unshift('');\n }\n\n return stack.join('/')\n}\n\nfunction parsePath (path) {\n var hash = '';\n var query = '';\n\n var hashIndex = path.indexOf('#');\n if (hashIndex >= 0) {\n hash = path.slice(hashIndex);\n path = path.slice(0, hashIndex);\n }\n\n var queryIndex = path.indexOf('?');\n if (queryIndex >= 0) {\n query = path.slice(queryIndex + 1);\n path = path.slice(0, queryIndex);\n }\n\n return {\n path: path,\n query: query,\n hash: hash\n }\n}\n\nfunction cleanPath (path) {\n return path.replace(/\\/(?:\\s*\\/)+/g, '/')\n}\n\nvar isarray = Array.isArray || function (arr) {\n return Object.prototype.toString.call(arr) == '[object Array]';\n};\n\n/**\n * Expose `pathToRegexp`.\n */\nvar pathToRegexp_1 = pathToRegexp;\nvar parse_1 = parse;\nvar compile_1 = compile;\nvar tokensToFunction_1 = tokensToFunction;\nvar tokensToRegExp_1 = tokensToRegExp;\n\n/**\n * The main path matching regexp utility.\n *\n * @type {RegExp}\n */\nvar PATH_REGEXP = new RegExp([\n // Match escaped characters that would otherwise appear in future matches.\n // This allows the user to escape special characters that won't transform.\n '(\\\\\\\\.)',\n // Match Express-style parameters and un-named parameters with a prefix\n // and optional suffixes. Matches appear as:\n //\n // \"/:test(\\\\d+)?\" => [\"/\", \"test\", \"\\d+\", undefined, \"?\", undefined]\n // \"/route(\\\\d+)\" => [undefined, undefined, undefined, \"\\d+\", undefined, undefined]\n // \"/*\" => [\"/\", undefined, undefined, undefined, undefined, \"*\"]\n '([\\\\/.])?(?:(?:\\\\:(\\\\w+)(?:\\\\(((?:\\\\\\\\.|[^\\\\\\\\()])+)\\\\))?|\\\\(((?:\\\\\\\\.|[^\\\\\\\\()])+)\\\\))([+*?])?|(\\\\*))'\n].join('|'), 'g');\n\n/**\n * Parse a string for the raw tokens.\n *\n * @param {string} str\n * @param {Object=} options\n * @return {!Array}\n */\nfunction parse (str, options) {\n var tokens = [];\n var key = 0;\n var index = 0;\n var path = '';\n var defaultDelimiter = options && options.delimiter || '/';\n var res;\n\n while ((res = PATH_REGEXP.exec(str)) != null) {\n var m = res[0];\n var escaped = res[1];\n var offset = res.index;\n path += str.slice(index, offset);\n index = offset + m.length;\n\n // Ignore already escaped sequences.\n if (escaped) {\n path += escaped[1];\n continue\n }\n\n var next = str[index];\n var prefix = res[2];\n var name = res[3];\n var capture = res[4];\n var group = res[5];\n var modifier = res[6];\n var asterisk = res[7];\n\n // Push the current path onto the tokens.\n if (path) {\n tokens.push(path);\n path = '';\n }\n\n var partial = prefix != null && next != null && next !== prefix;\n var repeat = modifier === '+' || modifier === '*';\n var optional = modifier === '?' || modifier === '*';\n var delimiter = res[2] || defaultDelimiter;\n var pattern = capture || group;\n\n tokens.push({\n name: name || key++,\n prefix: prefix || '',\n delimiter: delimiter,\n optional: optional,\n repeat: repeat,\n partial: partial,\n asterisk: !!asterisk,\n pattern: pattern ? escapeGroup(pattern) : (asterisk ? '.*' : '[^' + escapeString(delimiter) + ']+?')\n });\n }\n\n // Match any characters still remaining.\n if (index < str.length) {\n path += str.substr(index);\n }\n\n // If the path exists, push it onto the end.\n if (path) {\n tokens.push(path);\n }\n\n return tokens\n}\n\n/**\n * Compile a string to a template function for the path.\n *\n * @param {string} str\n * @param {Object=} options\n * @return {!function(Object=, Object=)}\n */\nfunction compile (str, options) {\n return tokensToFunction(parse(str, options), options)\n}\n\n/**\n * Prettier encoding of URI path segments.\n *\n * @param {string}\n * @return {string}\n */\nfunction encodeURIComponentPretty (str) {\n return encodeURI(str).replace(/[\\/?#]/g, function (c) {\n return '%' + c.charCodeAt(0).toString(16).toUpperCase()\n })\n}\n\n/**\n * Encode the asterisk parameter. Similar to `pretty`, but allows slashes.\n *\n * @param {string}\n * @return {string}\n */\nfunction encodeAsterisk (str) {\n return encodeURI(str).replace(/[?#]/g, function (c) {\n return '%' + c.charCodeAt(0).toString(16).toUpperCase()\n })\n}\n\n/**\n * Expose a method for transforming tokens into the path function.\n */\nfunction tokensToFunction (tokens, options) {\n // Compile all the tokens into regexps.\n var matches = new Array(tokens.length);\n\n // Compile all the patterns before compilation.\n for (var i = 0; i < tokens.length; i++) {\n if (typeof tokens[i] === 'object') {\n matches[i] = new RegExp('^(?:' + tokens[i].pattern + ')$', flags(options));\n }\n }\n\n return function (obj, opts) {\n var path = '';\n var data = obj || {};\n var options = opts || {};\n var encode = options.pretty ? encodeURIComponentPretty : encodeURIComponent;\n\n for (var i = 0; i < tokens.length; i++) {\n var token = tokens[i];\n\n if (typeof token === 'string') {\n path += token;\n\n continue\n }\n\n var value = data[token.name];\n var segment;\n\n if (value == null) {\n if (token.optional) {\n // Prepend partial segment prefixes.\n if (token.partial) {\n path += token.prefix;\n }\n\n continue\n } else {\n throw new TypeError('Expected \"' + token.name + '\" to be defined')\n }\n }\n\n if (isarray(value)) {\n if (!token.repeat) {\n throw new TypeError('Expected \"' + token.name + '\" to not repeat, but received `' + JSON.stringify(value) + '`')\n }\n\n if (value.length === 0) {\n if (token.optional) {\n continue\n } else {\n throw new TypeError('Expected \"' + token.name + '\" to not be empty')\n }\n }\n\n for (var j = 0; j < value.length; j++) {\n segment = encode(value[j]);\n\n if (!matches[i].test(segment)) {\n throw new TypeError('Expected all \"' + token.name + '\" to match \"' + token.pattern + '\", but received `' + JSON.stringify(segment) + '`')\n }\n\n path += (j === 0 ? token.prefix : token.delimiter) + segment;\n }\n\n continue\n }\n\n segment = token.asterisk ? encodeAsterisk(value) : encode(value);\n\n if (!matches[i].test(segment)) {\n throw new TypeError('Expected \"' + token.name + '\" to match \"' + token.pattern + '\", but received \"' + segment + '\"')\n }\n\n path += token.prefix + segment;\n }\n\n return path\n }\n}\n\n/**\n * Escape a regular expression string.\n *\n * @param {string} str\n * @return {string}\n */\nfunction escapeString (str) {\n return str.replace(/([.+*?=^!:${}()[\\]|\\/\\\\])/g, '\\\\$1')\n}\n\n/**\n * Escape the capturing group by escaping special characters and meaning.\n *\n * @param {string} group\n * @return {string}\n */\nfunction escapeGroup (group) {\n return group.replace(/([=!:$\\/()])/g, '\\\\$1')\n}\n\n/**\n * Attach the keys as a property of the regexp.\n *\n * @param {!RegExp} re\n * @param {Array} keys\n * @return {!RegExp}\n */\nfunction attachKeys (re, keys) {\n re.keys = keys;\n return re\n}\n\n/**\n * Get the flags for a regexp from the options.\n *\n * @param {Object} options\n * @return {string}\n */\nfunction flags (options) {\n return options && options.sensitive ? '' : 'i'\n}\n\n/**\n * Pull out keys from a regexp.\n *\n * @param {!RegExp} path\n * @param {!Array} keys\n * @return {!RegExp}\n */\nfunction regexpToRegexp (path, keys) {\n // Use a negative lookahead to match only capturing groups.\n var groups = path.source.match(/\\((?!\\?)/g);\n\n if (groups) {\n for (var i = 0; i < groups.length; i++) {\n keys.push({\n name: i,\n prefix: null,\n delimiter: null,\n optional: false,\n repeat: false,\n partial: false,\n asterisk: false,\n pattern: null\n });\n }\n }\n\n return attachKeys(path, keys)\n}\n\n/**\n * Transform an array into a regexp.\n *\n * @param {!Array} path\n * @param {Array} keys\n * @param {!Object} options\n * @return {!RegExp}\n */\nfunction arrayToRegexp (path, keys, options) {\n var parts = [];\n\n for (var i = 0; i < path.length; i++) {\n parts.push(pathToRegexp(path[i], keys, options).source);\n }\n\n var regexp = new RegExp('(?:' + parts.join('|') + ')', flags(options));\n\n return attachKeys(regexp, keys)\n}\n\n/**\n * Create a path regexp from string input.\n *\n * @param {string} path\n * @param {!Array} keys\n * @param {!Object} options\n * @return {!RegExp}\n */\nfunction stringToRegexp (path, keys, options) {\n return tokensToRegExp(parse(path, options), keys, options)\n}\n\n/**\n * Expose a function for taking tokens and returning a RegExp.\n *\n * @param {!Array} tokens\n * @param {(Array|Object)=} keys\n * @param {Object=} options\n * @return {!RegExp}\n */\nfunction tokensToRegExp (tokens, keys, options) {\n if (!isarray(keys)) {\n options = /** @type {!Object} */ (keys || options);\n keys = [];\n }\n\n options = options || {};\n\n var strict = options.strict;\n var end = options.end !== false;\n var route = '';\n\n // Iterate over the tokens and create our regexp string.\n for (var i = 0; i < tokens.length; i++) {\n var token = tokens[i];\n\n if (typeof token === 'string') {\n route += escapeString(token);\n } else {\n var prefix = escapeString(token.prefix);\n var capture = '(?:' + token.pattern + ')';\n\n keys.push(token);\n\n if (token.repeat) {\n capture += '(?:' + prefix + capture + ')*';\n }\n\n if (token.optional) {\n if (!token.partial) {\n capture = '(?:' + prefix + '(' + capture + '))?';\n } else {\n capture = prefix + '(' + capture + ')?';\n }\n } else {\n capture = prefix + '(' + capture + ')';\n }\n\n route += capture;\n }\n }\n\n var delimiter = escapeString(options.delimiter || '/');\n var endsWithDelimiter = route.slice(-delimiter.length) === delimiter;\n\n // In non-strict mode we allow a slash at the end of match. If the path to\n // match already ends with a slash, we remove it for consistency. The slash\n // is valid at the end of a path match, not in the middle. This is important\n // in non-ending mode, where \"/test/\" shouldn't match \"/test//route\".\n if (!strict) {\n route = (endsWithDelimiter ? route.slice(0, -delimiter.length) : route) + '(?:' + delimiter + '(?=$))?';\n }\n\n if (end) {\n route += '$';\n } else {\n // In non-ending mode, we need the capturing groups to match as much as\n // possible by using a positive lookahead to the end or next path segment.\n route += strict && endsWithDelimiter ? '' : '(?=' + delimiter + '|$)';\n }\n\n return attachKeys(new RegExp('^' + route, flags(options)), keys)\n}\n\n/**\n * Normalize the given path string, returning a regular expression.\n *\n * An empty array can be passed in for the keys, which will hold the\n * placeholder key descriptions. For example, using `/user/:id`, `keys` will\n * contain `[{ name: 'id', delimiter: '/', optional: false, repeat: false }]`.\n *\n * @param {(string|RegExp|Array)} path\n * @param {(Array|Object)=} keys\n * @param {Object=} options\n * @return {!RegExp}\n */\nfunction pathToRegexp (path, keys, options) {\n if (!isarray(keys)) {\n options = /** @type {!Object} */ (keys || options);\n keys = [];\n }\n\n options = options || {};\n\n if (path instanceof RegExp) {\n return regexpToRegexp(path, /** @type {!Array} */ (keys))\n }\n\n if (isarray(path)) {\n return arrayToRegexp(/** @type {!Array} */ (path), /** @type {!Array} */ (keys), options)\n }\n\n return stringToRegexp(/** @type {string} */ (path), /** @type {!Array} */ (keys), options)\n}\npathToRegexp_1.parse = parse_1;\npathToRegexp_1.compile = compile_1;\npathToRegexp_1.tokensToFunction = tokensToFunction_1;\npathToRegexp_1.tokensToRegExp = tokensToRegExp_1;\n\n/* */\n\n// $flow-disable-line\nvar regexpCompileCache = Object.create(null);\n\nfunction fillParams (\n path,\n params,\n routeMsg\n) {\n params = params || {};\n try {\n var filler =\n regexpCompileCache[path] ||\n (regexpCompileCache[path] = pathToRegexp_1.compile(path));\n\n // Fix #2505 resolving asterisk routes { name: 'not-found', params: { pathMatch: '/not-found' }}\n // and fix #3106 so that you can work with location descriptor object having params.pathMatch equal to empty string\n if (typeof params.pathMatch === 'string') { params[0] = params.pathMatch; }\n\n return filler(params, { pretty: true })\n } catch (e) {\n if (process.env.NODE_ENV !== 'production') {\n // Fix #3072 no warn if `pathMatch` is string\n warn(typeof params.pathMatch === 'string', (\"missing param for \" + routeMsg + \": \" + (e.message)));\n }\n return ''\n } finally {\n // delete the 0 if it was added\n delete params[0];\n }\n}\n\n/* */\n\nfunction normalizeLocation (\n raw,\n current,\n append,\n router\n) {\n var next = typeof raw === 'string' ? { path: raw } : raw;\n // named target\n if (next._normalized) {\n return next\n } else if (next.name) {\n next = extend({}, raw);\n var params = next.params;\n if (params && typeof params === 'object') {\n next.params = extend({}, params);\n }\n return next\n }\n\n // relative params\n if (!next.path && next.params && current) {\n next = extend({}, next);\n next._normalized = true;\n var params$1 = extend(extend({}, current.params), next.params);\n if (current.name) {\n next.name = current.name;\n next.params = params$1;\n } else if (current.matched.length) {\n var rawPath = current.matched[current.matched.length - 1].path;\n next.path = fillParams(rawPath, params$1, (\"path \" + (current.path)));\n } else if (process.env.NODE_ENV !== 'production') {\n warn(false, \"relative params navigation requires a current route.\");\n }\n return next\n }\n\n var parsedPath = parsePath(next.path || '');\n var basePath = (current && current.path) || '/';\n var path = parsedPath.path\n ? resolvePath(parsedPath.path, basePath, append || next.append)\n : basePath;\n\n var query = resolveQuery(\n parsedPath.query,\n next.query,\n router && router.options.parseQuery\n );\n\n var hash = next.hash || parsedPath.hash;\n if (hash && hash.charAt(0) !== '#') {\n hash = \"#\" + hash;\n }\n\n return {\n _normalized: true,\n path: path,\n query: query,\n hash: hash\n }\n}\n\n/* */\n\n// work around weird flow bug\nvar toTypes = [String, Object];\nvar eventTypes = [String, Array];\n\nvar noop = function () {};\n\nvar warnedCustomSlot;\nvar warnedTagProp;\nvar warnedEventProp;\n\nvar Link = {\n name: 'RouterLink',\n props: {\n to: {\n type: toTypes,\n required: true\n },\n tag: {\n type: String,\n default: 'a'\n },\n custom: Boolean,\n exact: Boolean,\n exactPath: Boolean,\n append: Boolean,\n replace: Boolean,\n activeClass: String,\n exactActiveClass: String,\n ariaCurrentValue: {\n type: String,\n default: 'page'\n },\n event: {\n type: eventTypes,\n default: 'click'\n }\n },\n render: function render (h) {\n var this$1$1 = this;\n\n var router = this.$router;\n var current = this.$route;\n var ref = router.resolve(\n this.to,\n current,\n this.append\n );\n var location = ref.location;\n var route = ref.route;\n var href = ref.href;\n\n var classes = {};\n var globalActiveClass = router.options.linkActiveClass;\n var globalExactActiveClass = router.options.linkExactActiveClass;\n // Support global empty active class\n var activeClassFallback =\n globalActiveClass == null ? 'router-link-active' : globalActiveClass;\n var exactActiveClassFallback =\n globalExactActiveClass == null\n ? 'router-link-exact-active'\n : globalExactActiveClass;\n var activeClass =\n this.activeClass == null ? activeClassFallback : this.activeClass;\n var exactActiveClass =\n this.exactActiveClass == null\n ? exactActiveClassFallback\n : this.exactActiveClass;\n\n var compareTarget = route.redirectedFrom\n ? createRoute(null, normalizeLocation(route.redirectedFrom), null, router)\n : route;\n\n classes[exactActiveClass] = isSameRoute(current, compareTarget, this.exactPath);\n classes[activeClass] = this.exact || this.exactPath\n ? classes[exactActiveClass]\n : isIncludedRoute(current, compareTarget);\n\n var ariaCurrentValue = classes[exactActiveClass] ? this.ariaCurrentValue : null;\n\n var handler = function (e) {\n if (guardEvent(e)) {\n if (this$1$1.replace) {\n router.replace(location, noop);\n } else {\n router.push(location, noop);\n }\n }\n };\n\n var on = { click: guardEvent };\n if (Array.isArray(this.event)) {\n this.event.forEach(function (e) {\n on[e] = handler;\n });\n } else {\n on[this.event] = handler;\n }\n\n var data = { class: classes };\n\n var scopedSlot =\n !this.$scopedSlots.$hasNormal &&\n this.$scopedSlots.default &&\n this.$scopedSlots.default({\n href: href,\n route: route,\n navigate: handler,\n isActive: classes[activeClass],\n isExactActive: classes[exactActiveClass]\n });\n\n if (scopedSlot) {\n if (process.env.NODE_ENV !== 'production' && !this.custom) {\n !warnedCustomSlot && warn(false, 'In Vue Router 4, the v-slot API will by default wrap its content with an
element. Use the custom prop to remove this warning:\\n\\n');\n warnedCustomSlot = true;\n }\n if (scopedSlot.length === 1) {\n return scopedSlot[0]\n } else if (scopedSlot.length > 1 || !scopedSlot.length) {\n if (process.env.NODE_ENV !== 'production') {\n warn(\n false,\n (\" with to=\\\"\" + (this.to) + \"\\\" is trying to use a scoped slot but it didn't provide exactly one child. Wrapping the content with a span element.\")\n );\n }\n return scopedSlot.length === 0 ? h() : h('span', {}, scopedSlot)\n }\n }\n\n if (process.env.NODE_ENV !== 'production') {\n if ('tag' in this.$options.propsData && !warnedTagProp) {\n warn(\n false,\n \"'s tag prop is deprecated and has been removed in Vue Router 4. Use the v-slot API to remove this warning: https://next.router.vuejs.org/guide/migration/#removal-of-event-and-tag-props-in-router-link.\"\n );\n warnedTagProp = true;\n }\n if ('event' in this.$options.propsData && !warnedEventProp) {\n warn(\n false,\n \"'s event prop is deprecated and has been removed in Vue Router 4. Use the v-slot API to remove this warning: https://next.router.vuejs.org/guide/migration/#removal-of-event-and-tag-props-in-router-link.\"\n );\n warnedEventProp = true;\n }\n }\n\n if (this.tag === 'a') {\n data.on = on;\n data.attrs = { href: href, 'aria-current': ariaCurrentValue };\n } else {\n // find the first child and apply listener and href\n var a = findAnchor(this.$slots.default);\n if (a) {\n // in case the is a static node\n a.isStatic = false;\n var aData = (a.data = extend({}, a.data));\n aData.on = aData.on || {};\n // transform existing events in both objects into arrays so we can push later\n for (var event in aData.on) {\n var handler$1 = aData.on[event];\n if (event in on) {\n aData.on[event] = Array.isArray(handler$1) ? handler$1 : [handler$1];\n }\n }\n // append new listeners for router-link\n for (var event$1 in on) {\n if (event$1 in aData.on) {\n // on[event] is always a function\n aData.on[event$1].push(on[event$1]);\n } else {\n aData.on[event$1] = handler;\n }\n }\n\n var aAttrs = (a.data.attrs = extend({}, a.data.attrs));\n aAttrs.href = href;\n aAttrs['aria-current'] = ariaCurrentValue;\n } else {\n // doesn't have child, apply listener to self\n data.on = on;\n }\n }\n\n return h(this.tag, data, this.$slots.default)\n }\n};\n\nfunction guardEvent (e) {\n // don't redirect with control keys\n if (e.metaKey || e.altKey || e.ctrlKey || e.shiftKey) { return }\n // don't redirect when preventDefault called\n if (e.defaultPrevented) { return }\n // don't redirect on right click\n if (e.button !== undefined && e.button !== 0) { return }\n // don't redirect if `target=\"_blank\"`\n if (e.currentTarget && e.currentTarget.getAttribute) {\n var target = e.currentTarget.getAttribute('target');\n if (/\\b_blank\\b/i.test(target)) { return }\n }\n // this may be a Weex event which doesn't have this method\n if (e.preventDefault) {\n e.preventDefault();\n }\n return true\n}\n\nfunction findAnchor (children) {\n if (children) {\n var child;\n for (var i = 0; i < children.length; i++) {\n child = children[i];\n if (child.tag === 'a') {\n return child\n }\n if (child.children && (child = findAnchor(child.children))) {\n return child\n }\n }\n }\n}\n\nvar _Vue;\n\nfunction install (Vue) {\n if (install.installed && _Vue === Vue) { return }\n install.installed = true;\n\n _Vue = Vue;\n\n var isDef = function (v) { return v !== undefined; };\n\n var registerInstance = function (vm, callVal) {\n var i = vm.$options._parentVnode;\n if (isDef(i) && isDef(i = i.data) && isDef(i = i.registerRouteInstance)) {\n i(vm, callVal);\n }\n };\n\n Vue.mixin({\n beforeCreate: function beforeCreate () {\n if (isDef(this.$options.router)) {\n this._routerRoot = this;\n this._router = this.$options.router;\n this._router.init(this);\n Vue.util.defineReactive(this, '_route', this._router.history.current);\n } else {\n this._routerRoot = (this.$parent && this.$parent._routerRoot) || this;\n }\n registerInstance(this, this);\n },\n destroyed: function destroyed () {\n registerInstance(this);\n }\n });\n\n Object.defineProperty(Vue.prototype, '$router', {\n get: function get () { return this._routerRoot._router }\n });\n\n Object.defineProperty(Vue.prototype, '$route', {\n get: function get () { return this._routerRoot._route }\n });\n\n Vue.component('RouterView', View);\n Vue.component('RouterLink', Link);\n\n var strats = Vue.config.optionMergeStrategies;\n // use the same hook merging strategy for route hooks\n strats.beforeRouteEnter = strats.beforeRouteLeave = strats.beforeRouteUpdate = strats.created;\n}\n\n/* */\n\nvar inBrowser = typeof window !== 'undefined';\n\n/* */\n\nfunction createRouteMap (\n routes,\n oldPathList,\n oldPathMap,\n oldNameMap,\n parentRoute\n) {\n // the path list is used to control path matching priority\n var pathList = oldPathList || [];\n // $flow-disable-line\n var pathMap = oldPathMap || Object.create(null);\n // $flow-disable-line\n var nameMap = oldNameMap || Object.create(null);\n\n routes.forEach(function (route) {\n addRouteRecord(pathList, pathMap, nameMap, route, parentRoute);\n });\n\n // ensure wildcard routes are always at the end\n for (var i = 0, l = pathList.length; i < l; i++) {\n if (pathList[i] === '*') {\n pathList.push(pathList.splice(i, 1)[0]);\n l--;\n i--;\n }\n }\n\n if (process.env.NODE_ENV === 'development') {\n // warn if routes do not include leading slashes\n var found = pathList\n // check for missing leading slash\n .filter(function (path) { return path && path.charAt(0) !== '*' && path.charAt(0) !== '/'; });\n\n if (found.length > 0) {\n var pathNames = found.map(function (path) { return (\"- \" + path); }).join('\\n');\n warn(false, (\"Non-nested routes must include a leading slash character. Fix the following routes: \\n\" + pathNames));\n }\n }\n\n return {\n pathList: pathList,\n pathMap: pathMap,\n nameMap: nameMap\n }\n}\n\nfunction addRouteRecord (\n pathList,\n pathMap,\n nameMap,\n route,\n parent,\n matchAs\n) {\n var path = route.path;\n var name = route.name;\n if (process.env.NODE_ENV !== 'production') {\n assert(path != null, \"\\\"path\\\" is required in a route configuration.\");\n assert(\n typeof route.component !== 'string',\n \"route config \\\"component\\\" for path: \" + (String(\n path || name\n )) + \" cannot be a \" + \"string id. Use an actual component instead.\"\n );\n\n warn(\n // eslint-disable-next-line no-control-regex\n !/[^\\u0000-\\u007F]+/.test(path),\n \"Route with path \\\"\" + path + \"\\\" contains unencoded characters, make sure \" +\n \"your path is correctly encoded before passing it to the router. Use \" +\n \"encodeURI to encode static segments of your path.\"\n );\n }\n\n var pathToRegexpOptions =\n route.pathToRegexpOptions || {};\n var normalizedPath = normalizePath(path, parent, pathToRegexpOptions.strict);\n\n if (typeof route.caseSensitive === 'boolean') {\n pathToRegexpOptions.sensitive = route.caseSensitive;\n }\n\n var record = {\n path: normalizedPath,\n regex: compileRouteRegex(normalizedPath, pathToRegexpOptions),\n components: route.components || { default: route.component },\n alias: route.alias\n ? typeof route.alias === 'string'\n ? [route.alias]\n : route.alias\n : [],\n instances: {},\n enteredCbs: {},\n name: name,\n parent: parent,\n matchAs: matchAs,\n redirect: route.redirect,\n beforeEnter: route.beforeEnter,\n meta: route.meta || {},\n props:\n route.props == null\n ? {}\n : route.components\n ? route.props\n : { default: route.props }\n };\n\n if (route.children) {\n // Warn if route is named, does not redirect and has a default child route.\n // If users navigate to this route by name, the default child will\n // not be rendered (GH Issue #629)\n if (process.env.NODE_ENV !== 'production') {\n if (\n route.name &&\n !route.redirect &&\n route.children.some(function (child) { return /^\\/?$/.test(child.path); })\n ) {\n warn(\n false,\n \"Named Route '\" + (route.name) + \"' has a default child route. \" +\n \"When navigating to this named route (:to=\\\"{name: '\" + (route.name) + \"'}\\\"), \" +\n \"the default child route will not be rendered. Remove the name from \" +\n \"this route and use the name of the default child route for named \" +\n \"links instead.\"\n );\n }\n }\n route.children.forEach(function (child) {\n var childMatchAs = matchAs\n ? cleanPath((matchAs + \"/\" + (child.path)))\n : undefined;\n addRouteRecord(pathList, pathMap, nameMap, child, record, childMatchAs);\n });\n }\n\n if (!pathMap[record.path]) {\n pathList.push(record.path);\n pathMap[record.path] = record;\n }\n\n if (route.alias !== undefined) {\n var aliases = Array.isArray(route.alias) ? route.alias : [route.alias];\n for (var i = 0; i < aliases.length; ++i) {\n var alias = aliases[i];\n if (process.env.NODE_ENV !== 'production' && alias === path) {\n warn(\n false,\n (\"Found an alias with the same value as the path: \\\"\" + path + \"\\\". You have to remove that alias. It will be ignored in development.\")\n );\n // skip in dev to make it work\n continue\n }\n\n var aliasRoute = {\n path: alias,\n children: route.children\n };\n addRouteRecord(\n pathList,\n pathMap,\n nameMap,\n aliasRoute,\n parent,\n record.path || '/' // matchAs\n );\n }\n }\n\n if (name) {\n if (!nameMap[name]) {\n nameMap[name] = record;\n } else if (process.env.NODE_ENV !== 'production' && !matchAs) {\n warn(\n false,\n \"Duplicate named routes definition: \" +\n \"{ name: \\\"\" + name + \"\\\", path: \\\"\" + (record.path) + \"\\\" }\"\n );\n }\n }\n}\n\nfunction compileRouteRegex (\n path,\n pathToRegexpOptions\n) {\n var regex = pathToRegexp_1(path, [], pathToRegexpOptions);\n if (process.env.NODE_ENV !== 'production') {\n var keys = Object.create(null);\n regex.keys.forEach(function (key) {\n warn(\n !keys[key.name],\n (\"Duplicate param keys in route with path: \\\"\" + path + \"\\\"\")\n );\n keys[key.name] = true;\n });\n }\n return regex\n}\n\nfunction normalizePath (\n path,\n parent,\n strict\n) {\n if (!strict) { path = path.replace(/\\/$/, ''); }\n if (path[0] === '/') { return path }\n if (parent == null) { return path }\n return cleanPath(((parent.path) + \"/\" + path))\n}\n\n/* */\n\n\n\nfunction createMatcher (\n routes,\n router\n) {\n var ref = createRouteMap(routes);\n var pathList = ref.pathList;\n var pathMap = ref.pathMap;\n var nameMap = ref.nameMap;\n\n function addRoutes (routes) {\n createRouteMap(routes, pathList, pathMap, nameMap);\n }\n\n function addRoute (parentOrRoute, route) {\n var parent = (typeof parentOrRoute !== 'object') ? nameMap[parentOrRoute] : undefined;\n // $flow-disable-line\n createRouteMap([route || parentOrRoute], pathList, pathMap, nameMap, parent);\n\n // add aliases of parent\n if (parent && parent.alias.length) {\n createRouteMap(\n // $flow-disable-line route is defined if parent is\n parent.alias.map(function (alias) { return ({ path: alias, children: [route] }); }),\n pathList,\n pathMap,\n nameMap,\n parent\n );\n }\n }\n\n function getRoutes () {\n return pathList.map(function (path) { return pathMap[path]; })\n }\n\n function match (\n raw,\n currentRoute,\n redirectedFrom\n ) {\n var location = normalizeLocation(raw, currentRoute, false, router);\n var name = location.name;\n\n if (name) {\n var record = nameMap[name];\n if (process.env.NODE_ENV !== 'production') {\n warn(record, (\"Route with name '\" + name + \"' does not exist\"));\n }\n if (!record) { return _createRoute(null, location) }\n var paramNames = record.regex.keys\n .filter(function (key) { return !key.optional; })\n .map(function (key) { return key.name; });\n\n if (typeof location.params !== 'object') {\n location.params = {};\n }\n\n if (currentRoute && typeof currentRoute.params === 'object') {\n for (var key in currentRoute.params) {\n if (!(key in location.params) && paramNames.indexOf(key) > -1) {\n location.params[key] = currentRoute.params[key];\n }\n }\n }\n\n location.path = fillParams(record.path, location.params, (\"named route \\\"\" + name + \"\\\"\"));\n return _createRoute(record, location, redirectedFrom)\n } else if (location.path) {\n location.params = {};\n for (var i = 0; i < pathList.length; i++) {\n var path = pathList[i];\n var record$1 = pathMap[path];\n if (matchRoute(record$1.regex, location.path, location.params)) {\n return _createRoute(record$1, location, redirectedFrom)\n }\n }\n }\n // no match\n return _createRoute(null, location)\n }\n\n function redirect (\n record,\n location\n ) {\n var originalRedirect = record.redirect;\n var redirect = typeof originalRedirect === 'function'\n ? originalRedirect(createRoute(record, location, null, router))\n : originalRedirect;\n\n if (typeof redirect === 'string') {\n redirect = { path: redirect };\n }\n\n if (!redirect || typeof redirect !== 'object') {\n if (process.env.NODE_ENV !== 'production') {\n warn(\n false, (\"invalid redirect option: \" + (JSON.stringify(redirect)))\n );\n }\n return _createRoute(null, location)\n }\n\n var re = redirect;\n var name = re.name;\n var path = re.path;\n var query = location.query;\n var hash = location.hash;\n var params = location.params;\n query = re.hasOwnProperty('query') ? re.query : query;\n hash = re.hasOwnProperty('hash') ? re.hash : hash;\n params = re.hasOwnProperty('params') ? re.params : params;\n\n if (name) {\n // resolved named direct\n var targetRecord = nameMap[name];\n if (process.env.NODE_ENV !== 'production') {\n assert(targetRecord, (\"redirect failed: named route \\\"\" + name + \"\\\" not found.\"));\n }\n return match({\n _normalized: true,\n name: name,\n query: query,\n hash: hash,\n params: params\n }, undefined, location)\n } else if (path) {\n // 1. resolve relative redirect\n var rawPath = resolveRecordPath(path, record);\n // 2. resolve params\n var resolvedPath = fillParams(rawPath, params, (\"redirect route with path \\\"\" + rawPath + \"\\\"\"));\n // 3. rematch with existing query and hash\n return match({\n _normalized: true,\n path: resolvedPath,\n query: query,\n hash: hash\n }, undefined, location)\n } else {\n if (process.env.NODE_ENV !== 'production') {\n warn(false, (\"invalid redirect option: \" + (JSON.stringify(redirect))));\n }\n return _createRoute(null, location)\n }\n }\n\n function alias (\n record,\n location,\n matchAs\n ) {\n var aliasedPath = fillParams(matchAs, location.params, (\"aliased route with path \\\"\" + matchAs + \"\\\"\"));\n var aliasedMatch = match({\n _normalized: true,\n path: aliasedPath\n });\n if (aliasedMatch) {\n var matched = aliasedMatch.matched;\n var aliasedRecord = matched[matched.length - 1];\n location.params = aliasedMatch.params;\n return _createRoute(aliasedRecord, location)\n }\n return _createRoute(null, location)\n }\n\n function _createRoute (\n record,\n location,\n redirectedFrom\n ) {\n if (record && record.redirect) {\n return redirect(record, redirectedFrom || location)\n }\n if (record && record.matchAs) {\n return alias(record, location, record.matchAs)\n }\n return createRoute(record, location, redirectedFrom, router)\n }\n\n return {\n match: match,\n addRoute: addRoute,\n getRoutes: getRoutes,\n addRoutes: addRoutes\n }\n}\n\nfunction matchRoute (\n regex,\n path,\n params\n) {\n var m = path.match(regex);\n\n if (!m) {\n return false\n } else if (!params) {\n return true\n }\n\n for (var i = 1, len = m.length; i < len; ++i) {\n var key = regex.keys[i - 1];\n if (key) {\n // Fix #1994: using * with props: true generates a param named 0\n params[key.name || 'pathMatch'] = typeof m[i] === 'string' ? decode(m[i]) : m[i];\n }\n }\n\n return true\n}\n\nfunction resolveRecordPath (path, record) {\n return resolvePath(path, record.parent ? record.parent.path : '/', true)\n}\n\n/* */\n\n// use User Timing api (if present) for more accurate key precision\nvar Time =\n inBrowser && window.performance && window.performance.now\n ? window.performance\n : Date;\n\nfunction genStateKey () {\n return Time.now().toFixed(3)\n}\n\nvar _key = genStateKey();\n\nfunction getStateKey () {\n return _key\n}\n\nfunction setStateKey (key) {\n return (_key = key)\n}\n\n/* */\n\nvar positionStore = Object.create(null);\n\nfunction setupScroll () {\n // Prevent browser scroll behavior on History popstate\n if ('scrollRestoration' in window.history) {\n window.history.scrollRestoration = 'manual';\n }\n // Fix for #1585 for Firefox\n // Fix for #2195 Add optional third attribute to workaround a bug in safari https://bugs.webkit.org/show_bug.cgi?id=182678\n // Fix for #2774 Support for apps loaded from Windows file shares not mapped to network drives: replaced location.origin with\n // window.location.protocol + '//' + window.location.host\n // location.host contains the port and location.hostname doesn't\n var protocolAndPath = window.location.protocol + '//' + window.location.host;\n var absolutePath = window.location.href.replace(protocolAndPath, '');\n // preserve existing history state as it could be overriden by the user\n var stateCopy = extend({}, window.history.state);\n stateCopy.key = getStateKey();\n window.history.replaceState(stateCopy, '', absolutePath);\n window.addEventListener('popstate', handlePopState);\n return function () {\n window.removeEventListener('popstate', handlePopState);\n }\n}\n\nfunction handleScroll (\n router,\n to,\n from,\n isPop\n) {\n if (!router.app) {\n return\n }\n\n var behavior = router.options.scrollBehavior;\n if (!behavior) {\n return\n }\n\n if (process.env.NODE_ENV !== 'production') {\n assert(typeof behavior === 'function', \"scrollBehavior must be a function\");\n }\n\n // wait until re-render finishes before scrolling\n router.app.$nextTick(function () {\n var position = getScrollPosition();\n var shouldScroll = behavior.call(\n router,\n to,\n from,\n isPop ? position : null\n );\n\n if (!shouldScroll) {\n return\n }\n\n if (typeof shouldScroll.then === 'function') {\n shouldScroll\n .then(function (shouldScroll) {\n scrollToPosition((shouldScroll), position);\n })\n .catch(function (err) {\n if (process.env.NODE_ENV !== 'production') {\n assert(false, err.toString());\n }\n });\n } else {\n scrollToPosition(shouldScroll, position);\n }\n });\n}\n\nfunction saveScrollPosition () {\n var key = getStateKey();\n if (key) {\n positionStore[key] = {\n x: window.pageXOffset,\n y: window.pageYOffset\n };\n }\n}\n\nfunction handlePopState (e) {\n saveScrollPosition();\n if (e.state && e.state.key) {\n setStateKey(e.state.key);\n }\n}\n\nfunction getScrollPosition () {\n var key = getStateKey();\n if (key) {\n return positionStore[key]\n }\n}\n\nfunction getElementPosition (el, offset) {\n var docEl = document.documentElement;\n var docRect = docEl.getBoundingClientRect();\n var elRect = el.getBoundingClientRect();\n return {\n x: elRect.left - docRect.left - offset.x,\n y: elRect.top - docRect.top - offset.y\n }\n}\n\nfunction isValidPosition (obj) {\n return isNumber(obj.x) || isNumber(obj.y)\n}\n\nfunction normalizePosition (obj) {\n return {\n x: isNumber(obj.x) ? obj.x : window.pageXOffset,\n y: isNumber(obj.y) ? obj.y : window.pageYOffset\n }\n}\n\nfunction normalizeOffset (obj) {\n return {\n x: isNumber(obj.x) ? obj.x : 0,\n y: isNumber(obj.y) ? obj.y : 0\n }\n}\n\nfunction isNumber (v) {\n return typeof v === 'number'\n}\n\nvar hashStartsWithNumberRE = /^#\\d/;\n\nfunction scrollToPosition (shouldScroll, position) {\n var isObject = typeof shouldScroll === 'object';\n if (isObject && typeof shouldScroll.selector === 'string') {\n // getElementById would still fail if the selector contains a more complicated query like #main[data-attr]\n // but at the same time, it doesn't make much sense to select an element with an id and an extra selector\n var el = hashStartsWithNumberRE.test(shouldScroll.selector) // $flow-disable-line\n ? document.getElementById(shouldScroll.selector.slice(1)) // $flow-disable-line\n : document.querySelector(shouldScroll.selector);\n\n if (el) {\n var offset =\n shouldScroll.offset && typeof shouldScroll.offset === 'object'\n ? shouldScroll.offset\n : {};\n offset = normalizeOffset(offset);\n position = getElementPosition(el, offset);\n } else if (isValidPosition(shouldScroll)) {\n position = normalizePosition(shouldScroll);\n }\n } else if (isObject && isValidPosition(shouldScroll)) {\n position = normalizePosition(shouldScroll);\n }\n\n if (position) {\n // $flow-disable-line\n if ('scrollBehavior' in document.documentElement.style) {\n window.scrollTo({\n left: position.x,\n top: position.y,\n // $flow-disable-line\n behavior: shouldScroll.behavior\n });\n } else {\n window.scrollTo(position.x, position.y);\n }\n }\n}\n\n/* */\n\nvar supportsPushState =\n inBrowser &&\n (function () {\n var ua = window.navigator.userAgent;\n\n if (\n (ua.indexOf('Android 2.') !== -1 || ua.indexOf('Android 4.0') !== -1) &&\n ua.indexOf('Mobile Safari') !== -1 &&\n ua.indexOf('Chrome') === -1 &&\n ua.indexOf('Windows Phone') === -1\n ) {\n return false\n }\n\n return window.history && typeof window.history.pushState === 'function'\n })();\n\nfunction pushState (url, replace) {\n saveScrollPosition();\n // try...catch the pushState call to get around Safari\n // DOM Exception 18 where it limits to 100 pushState calls\n var history = window.history;\n try {\n if (replace) {\n // preserve existing history state as it could be overriden by the user\n var stateCopy = extend({}, history.state);\n stateCopy.key = getStateKey();\n history.replaceState(stateCopy, '', url);\n } else {\n history.pushState({ key: setStateKey(genStateKey()) }, '', url);\n }\n } catch (e) {\n window.location[replace ? 'replace' : 'assign'](url);\n }\n}\n\nfunction replaceState (url) {\n pushState(url, true);\n}\n\n// When changing thing, also edit router.d.ts\nvar NavigationFailureType = {\n redirected: 2,\n aborted: 4,\n cancelled: 8,\n duplicated: 16\n};\n\nfunction createNavigationRedirectedError (from, to) {\n return createRouterError(\n from,\n to,\n NavigationFailureType.redirected,\n (\"Redirected when going from \\\"\" + (from.fullPath) + \"\\\" to \\\"\" + (stringifyRoute(\n to\n )) + \"\\\" via a navigation guard.\")\n )\n}\n\nfunction createNavigationDuplicatedError (from, to) {\n var error = createRouterError(\n from,\n to,\n NavigationFailureType.duplicated,\n (\"Avoided redundant navigation to current location: \\\"\" + (from.fullPath) + \"\\\".\")\n );\n // backwards compatible with the first introduction of Errors\n error.name = 'NavigationDuplicated';\n return error\n}\n\nfunction createNavigationCancelledError (from, to) {\n return createRouterError(\n from,\n to,\n NavigationFailureType.cancelled,\n (\"Navigation cancelled from \\\"\" + (from.fullPath) + \"\\\" to \\\"\" + (to.fullPath) + \"\\\" with a new navigation.\")\n )\n}\n\nfunction createNavigationAbortedError (from, to) {\n return createRouterError(\n from,\n to,\n NavigationFailureType.aborted,\n (\"Navigation aborted from \\\"\" + (from.fullPath) + \"\\\" to \\\"\" + (to.fullPath) + \"\\\" via a navigation guard.\")\n )\n}\n\nfunction createRouterError (from, to, type, message) {\n var error = new Error(message);\n error._isRouter = true;\n error.from = from;\n error.to = to;\n error.type = type;\n\n return error\n}\n\nvar propertiesToLog = ['params', 'query', 'hash'];\n\nfunction stringifyRoute (to) {\n if (typeof to === 'string') { return to }\n if ('path' in to) { return to.path }\n var location = {};\n propertiesToLog.forEach(function (key) {\n if (key in to) { location[key] = to[key]; }\n });\n return JSON.stringify(location, null, 2)\n}\n\nfunction isError (err) {\n return Object.prototype.toString.call(err).indexOf('Error') > -1\n}\n\nfunction isNavigationFailure (err, errorType) {\n return (\n isError(err) &&\n err._isRouter &&\n (errorType == null || err.type === errorType)\n )\n}\n\n/* */\n\nfunction runQueue (queue, fn, cb) {\n var step = function (index) {\n if (index >= queue.length) {\n cb();\n } else {\n if (queue[index]) {\n fn(queue[index], function () {\n step(index + 1);\n });\n } else {\n step(index + 1);\n }\n }\n };\n step(0);\n}\n\n/* */\n\nfunction resolveAsyncComponents (matched) {\n return function (to, from, next) {\n var hasAsync = false;\n var pending = 0;\n var error = null;\n\n flatMapComponents(matched, function (def, _, match, key) {\n // if it's a function and doesn't have cid attached,\n // assume it's an async component resolve function.\n // we are not using Vue's default async resolving mechanism because\n // we want to halt the navigation until the incoming component has been\n // resolved.\n if (typeof def === 'function' && def.cid === undefined) {\n hasAsync = true;\n pending++;\n\n var resolve = once(function (resolvedDef) {\n if (isESModule(resolvedDef)) {\n resolvedDef = resolvedDef.default;\n }\n // save resolved on async factory in case it's used elsewhere\n def.resolved = typeof resolvedDef === 'function'\n ? resolvedDef\n : _Vue.extend(resolvedDef);\n match.components[key] = resolvedDef;\n pending--;\n if (pending <= 0) {\n next();\n }\n });\n\n var reject = once(function (reason) {\n var msg = \"Failed to resolve async component \" + key + \": \" + reason;\n process.env.NODE_ENV !== 'production' && warn(false, msg);\n if (!error) {\n error = isError(reason)\n ? reason\n : new Error(msg);\n next(error);\n }\n });\n\n var res;\n try {\n res = def(resolve, reject);\n } catch (e) {\n reject(e);\n }\n if (res) {\n if (typeof res.then === 'function') {\n res.then(resolve, reject);\n } else {\n // new syntax in Vue 2.3\n var comp = res.component;\n if (comp && typeof comp.then === 'function') {\n comp.then(resolve, reject);\n }\n }\n }\n }\n });\n\n if (!hasAsync) { next(); }\n }\n}\n\nfunction flatMapComponents (\n matched,\n fn\n) {\n return flatten(matched.map(function (m) {\n return Object.keys(m.components).map(function (key) { return fn(\n m.components[key],\n m.instances[key],\n m, key\n ); })\n }))\n}\n\nfunction flatten (arr) {\n return Array.prototype.concat.apply([], arr)\n}\n\nvar hasSymbol =\n typeof Symbol === 'function' &&\n typeof Symbol.toStringTag === 'symbol';\n\nfunction isESModule (obj) {\n return obj.__esModule || (hasSymbol && obj[Symbol.toStringTag] === 'Module')\n}\n\n// in Webpack 2, require.ensure now also returns a Promise\n// so the resolve/reject functions may get called an extra time\n// if the user uses an arrow function shorthand that happens to\n// return that Promise.\nfunction once (fn) {\n var called = false;\n return function () {\n var args = [], len = arguments.length;\n while ( len-- ) args[ len ] = arguments[ len ];\n\n if (called) { return }\n called = true;\n return fn.apply(this, args)\n }\n}\n\n/* */\n\nvar History = function History (router, base) {\n this.router = router;\n this.base = normalizeBase(base);\n // start with a route object that stands for \"nowhere\"\n this.current = START;\n this.pending = null;\n this.ready = false;\n this.readyCbs = [];\n this.readyErrorCbs = [];\n this.errorCbs = [];\n this.listeners = [];\n};\n\nHistory.prototype.listen = function listen (cb) {\n this.cb = cb;\n};\n\nHistory.prototype.onReady = function onReady (cb, errorCb) {\n if (this.ready) {\n cb();\n } else {\n this.readyCbs.push(cb);\n if (errorCb) {\n this.readyErrorCbs.push(errorCb);\n }\n }\n};\n\nHistory.prototype.onError = function onError (errorCb) {\n this.errorCbs.push(errorCb);\n};\n\nHistory.prototype.transitionTo = function transitionTo (\n location,\n onComplete,\n onAbort\n) {\n var this$1$1 = this;\n\n var route;\n // catch redirect option https://github.com/vuejs/vue-router/issues/3201\n try {\n route = this.router.match(location, this.current);\n } catch (e) {\n this.errorCbs.forEach(function (cb) {\n cb(e);\n });\n // Exception should still be thrown\n throw e\n }\n var prev = this.current;\n this.confirmTransition(\n route,\n function () {\n this$1$1.updateRoute(route);\n onComplete && onComplete(route);\n this$1$1.ensureURL();\n this$1$1.router.afterHooks.forEach(function (hook) {\n hook && hook(route, prev);\n });\n\n // fire ready cbs once\n if (!this$1$1.ready) {\n this$1$1.ready = true;\n this$1$1.readyCbs.forEach(function (cb) {\n cb(route);\n });\n }\n },\n function (err) {\n if (onAbort) {\n onAbort(err);\n }\n if (err && !this$1$1.ready) {\n // Initial redirection should not mark the history as ready yet\n // because it's triggered by the redirection instead\n // https://github.com/vuejs/vue-router/issues/3225\n // https://github.com/vuejs/vue-router/issues/3331\n if (!isNavigationFailure(err, NavigationFailureType.redirected) || prev !== START) {\n this$1$1.ready = true;\n this$1$1.readyErrorCbs.forEach(function (cb) {\n cb(err);\n });\n }\n }\n }\n );\n};\n\nHistory.prototype.confirmTransition = function confirmTransition (route, onComplete, onAbort) {\n var this$1$1 = this;\n\n var current = this.current;\n this.pending = route;\n var abort = function (err) {\n // changed after adding errors with\n // https://github.com/vuejs/vue-router/pull/3047 before that change,\n // redirect and aborted navigation would produce an err == null\n if (!isNavigationFailure(err) && isError(err)) {\n if (this$1$1.errorCbs.length) {\n this$1$1.errorCbs.forEach(function (cb) {\n cb(err);\n });\n } else {\n if (process.env.NODE_ENV !== 'production') {\n warn(false, 'uncaught error during route navigation:');\n }\n console.error(err);\n }\n }\n onAbort && onAbort(err);\n };\n var lastRouteIndex = route.matched.length - 1;\n var lastCurrentIndex = current.matched.length - 1;\n if (\n isSameRoute(route, current) &&\n // in the case the route map has been dynamically appended to\n lastRouteIndex === lastCurrentIndex &&\n route.matched[lastRouteIndex] === current.matched[lastCurrentIndex]\n ) {\n this.ensureURL();\n if (route.hash) {\n handleScroll(this.router, current, route, false);\n }\n return abort(createNavigationDuplicatedError(current, route))\n }\n\n var ref = resolveQueue(\n this.current.matched,\n route.matched\n );\n var updated = ref.updated;\n var deactivated = ref.deactivated;\n var activated = ref.activated;\n\n var queue = [].concat(\n // in-component leave guards\n extractLeaveGuards(deactivated),\n // global before hooks\n this.router.beforeHooks,\n // in-component update hooks\n extractUpdateHooks(updated),\n // in-config enter guards\n activated.map(function (m) { return m.beforeEnter; }),\n // async components\n resolveAsyncComponents(activated)\n );\n\n var iterator = function (hook, next) {\n if (this$1$1.pending !== route) {\n return abort(createNavigationCancelledError(current, route))\n }\n try {\n hook(route, current, function (to) {\n if (to === false) {\n // next(false) -> abort navigation, ensure current URL\n this$1$1.ensureURL(true);\n abort(createNavigationAbortedError(current, route));\n } else if (isError(to)) {\n this$1$1.ensureURL(true);\n abort(to);\n } else if (\n typeof to === 'string' ||\n (typeof to === 'object' &&\n (typeof to.path === 'string' || typeof to.name === 'string'))\n ) {\n // next('/') or next({ path: '/' }) -> redirect\n abort(createNavigationRedirectedError(current, route));\n if (typeof to === 'object' && to.replace) {\n this$1$1.replace(to);\n } else {\n this$1$1.push(to);\n }\n } else {\n // confirm transition and pass on the value\n next(to);\n }\n });\n } catch (e) {\n abort(e);\n }\n };\n\n runQueue(queue, iterator, function () {\n // wait until async components are resolved before\n // extracting in-component enter guards\n var enterGuards = extractEnterGuards(activated);\n var queue = enterGuards.concat(this$1$1.router.resolveHooks);\n runQueue(queue, iterator, function () {\n if (this$1$1.pending !== route) {\n return abort(createNavigationCancelledError(current, route))\n }\n this$1$1.pending = null;\n onComplete(route);\n if (this$1$1.router.app) {\n this$1$1.router.app.$nextTick(function () {\n handleRouteEntered(route);\n });\n }\n });\n });\n};\n\nHistory.prototype.updateRoute = function updateRoute (route) {\n this.current = route;\n this.cb && this.cb(route);\n};\n\nHistory.prototype.setupListeners = function setupListeners () {\n // Default implementation is empty\n};\n\nHistory.prototype.teardown = function teardown () {\n // clean up event listeners\n // https://github.com/vuejs/vue-router/issues/2341\n this.listeners.forEach(function (cleanupListener) {\n cleanupListener();\n });\n this.listeners = [];\n\n // reset current history route\n // https://github.com/vuejs/vue-router/issues/3294\n this.current = START;\n this.pending = null;\n};\n\nfunction normalizeBase (base) {\n if (!base) {\n if (inBrowser) {\n // respect tag\n var baseEl = document.querySelector('base');\n base = (baseEl && baseEl.getAttribute('href')) || '/';\n // strip full URL origin\n base = base.replace(/^https?:\\/\\/[^\\/]+/, '');\n } else {\n base = '/';\n }\n }\n // make sure there's the starting slash\n if (base.charAt(0) !== '/') {\n base = '/' + base;\n }\n // remove trailing slash\n return base.replace(/\\/$/, '')\n}\n\nfunction resolveQueue (\n current,\n next\n) {\n var i;\n var max = Math.max(current.length, next.length);\n for (i = 0; i < max; i++) {\n if (current[i] !== next[i]) {\n break\n }\n }\n return {\n updated: next.slice(0, i),\n activated: next.slice(i),\n deactivated: current.slice(i)\n }\n}\n\nfunction extractGuards (\n records,\n name,\n bind,\n reverse\n) {\n var guards = flatMapComponents(records, function (def, instance, match, key) {\n var guard = extractGuard(def, name);\n if (guard) {\n return Array.isArray(guard)\n ? guard.map(function (guard) { return bind(guard, instance, match, key); })\n : bind(guard, instance, match, key)\n }\n });\n return flatten(reverse ? guards.reverse() : guards)\n}\n\nfunction extractGuard (\n def,\n key\n) {\n if (typeof def !== 'function') {\n // extend now so that global mixins are applied.\n def = _Vue.extend(def);\n }\n return def.options[key]\n}\n\nfunction extractLeaveGuards (deactivated) {\n return extractGuards(deactivated, 'beforeRouteLeave', bindGuard, true)\n}\n\nfunction extractUpdateHooks (updated) {\n return extractGuards(updated, 'beforeRouteUpdate', bindGuard)\n}\n\nfunction bindGuard (guard, instance) {\n if (instance) {\n return function boundRouteGuard () {\n return guard.apply(instance, arguments)\n }\n }\n}\n\nfunction extractEnterGuards (\n activated\n) {\n return extractGuards(\n activated,\n 'beforeRouteEnter',\n function (guard, _, match, key) {\n return bindEnterGuard(guard, match, key)\n }\n )\n}\n\nfunction bindEnterGuard (\n guard,\n match,\n key\n) {\n return function routeEnterGuard (to, from, next) {\n return guard(to, from, function (cb) {\n if (typeof cb === 'function') {\n if (!match.enteredCbs[key]) {\n match.enteredCbs[key] = [];\n }\n match.enteredCbs[key].push(cb);\n }\n next(cb);\n })\n }\n}\n\n/* */\n\nvar HTML5History = /*@__PURE__*/(function (History) {\n function HTML5History (router, base) {\n History.call(this, router, base);\n\n this._startLocation = getLocation(this.base);\n }\n\n if ( History ) HTML5History.__proto__ = History;\n HTML5History.prototype = Object.create( History && History.prototype );\n HTML5History.prototype.constructor = HTML5History;\n\n HTML5History.prototype.setupListeners = function setupListeners () {\n var this$1$1 = this;\n\n if (this.listeners.length > 0) {\n return\n }\n\n var router = this.router;\n var expectScroll = router.options.scrollBehavior;\n var supportsScroll = supportsPushState && expectScroll;\n\n if (supportsScroll) {\n this.listeners.push(setupScroll());\n }\n\n var handleRoutingEvent = function () {\n var current = this$1$1.current;\n\n // Avoiding first `popstate` event dispatched in some browsers but first\n // history route not updated since async guard at the same time.\n var location = getLocation(this$1$1.base);\n if (this$1$1.current === START && location === this$1$1._startLocation) {\n return\n }\n\n this$1$1.transitionTo(location, function (route) {\n if (supportsScroll) {\n handleScroll(router, route, current, true);\n }\n });\n };\n window.addEventListener('popstate', handleRoutingEvent);\n this.listeners.push(function () {\n window.removeEventListener('popstate', handleRoutingEvent);\n });\n };\n\n HTML5History.prototype.go = function go (n) {\n window.history.go(n);\n };\n\n HTML5History.prototype.push = function push (location, onComplete, onAbort) {\n var this$1$1 = this;\n\n var ref = this;\n var fromRoute = ref.current;\n this.transitionTo(location, function (route) {\n pushState(cleanPath(this$1$1.base + route.fullPath));\n handleScroll(this$1$1.router, route, fromRoute, false);\n onComplete && onComplete(route);\n }, onAbort);\n };\n\n HTML5History.prototype.replace = function replace (location, onComplete, onAbort) {\n var this$1$1 = this;\n\n var ref = this;\n var fromRoute = ref.current;\n this.transitionTo(location, function (route) {\n replaceState(cleanPath(this$1$1.base + route.fullPath));\n handleScroll(this$1$1.router, route, fromRoute, false);\n onComplete && onComplete(route);\n }, onAbort);\n };\n\n HTML5History.prototype.ensureURL = function ensureURL (push) {\n if (getLocation(this.base) !== this.current.fullPath) {\n var current = cleanPath(this.base + this.current.fullPath);\n push ? pushState(current) : replaceState(current);\n }\n };\n\n HTML5History.prototype.getCurrentLocation = function getCurrentLocation () {\n return getLocation(this.base)\n };\n\n return HTML5History;\n}(History));\n\nfunction getLocation (base) {\n var path = window.location.pathname;\n var pathLowerCase = path.toLowerCase();\n var baseLowerCase = base.toLowerCase();\n // base=\"/a\" shouldn't turn path=\"/app\" into \"/a/pp\"\n // https://github.com/vuejs/vue-router/issues/3555\n // so we ensure the trailing slash in the base\n if (base && ((pathLowerCase === baseLowerCase) ||\n (pathLowerCase.indexOf(cleanPath(baseLowerCase + '/')) === 0))) {\n path = path.slice(base.length);\n }\n return (path || '/') + window.location.search + window.location.hash\n}\n\n/* */\n\nvar HashHistory = /*@__PURE__*/(function (History) {\n function HashHistory (router, base, fallback) {\n History.call(this, router, base);\n // check history fallback deeplinking\n if (fallback && checkFallback(this.base)) {\n return\n }\n ensureSlash();\n }\n\n if ( History ) HashHistory.__proto__ = History;\n HashHistory.prototype = Object.create( History && History.prototype );\n HashHistory.prototype.constructor = HashHistory;\n\n // this is delayed until the app mounts\n // to avoid the hashchange listener being fired too early\n HashHistory.prototype.setupListeners = function setupListeners () {\n var this$1$1 = this;\n\n if (this.listeners.length > 0) {\n return\n }\n\n var router = this.router;\n var expectScroll = router.options.scrollBehavior;\n var supportsScroll = supportsPushState && expectScroll;\n\n if (supportsScroll) {\n this.listeners.push(setupScroll());\n }\n\n var handleRoutingEvent = function () {\n var current = this$1$1.current;\n if (!ensureSlash()) {\n return\n }\n this$1$1.transitionTo(getHash(), function (route) {\n if (supportsScroll) {\n handleScroll(this$1$1.router, route, current, true);\n }\n if (!supportsPushState) {\n replaceHash(route.fullPath);\n }\n });\n };\n var eventType = supportsPushState ? 'popstate' : 'hashchange';\n window.addEventListener(\n eventType,\n handleRoutingEvent\n );\n this.listeners.push(function () {\n window.removeEventListener(eventType, handleRoutingEvent);\n });\n };\n\n HashHistory.prototype.push = function push (location, onComplete, onAbort) {\n var this$1$1 = this;\n\n var ref = this;\n var fromRoute = ref.current;\n this.transitionTo(\n location,\n function (route) {\n pushHash(route.fullPath);\n handleScroll(this$1$1.router, route, fromRoute, false);\n onComplete && onComplete(route);\n },\n onAbort\n );\n };\n\n HashHistory.prototype.replace = function replace (location, onComplete, onAbort) {\n var this$1$1 = this;\n\n var ref = this;\n var fromRoute = ref.current;\n this.transitionTo(\n location,\n function (route) {\n replaceHash(route.fullPath);\n handleScroll(this$1$1.router, route, fromRoute, false);\n onComplete && onComplete(route);\n },\n onAbort\n );\n };\n\n HashHistory.prototype.go = function go (n) {\n window.history.go(n);\n };\n\n HashHistory.prototype.ensureURL = function ensureURL (push) {\n var current = this.current.fullPath;\n if (getHash() !== current) {\n push ? pushHash(current) : replaceHash(current);\n }\n };\n\n HashHistory.prototype.getCurrentLocation = function getCurrentLocation () {\n return getHash()\n };\n\n return HashHistory;\n}(History));\n\nfunction checkFallback (base) {\n var location = getLocation(base);\n if (!/^\\/#/.test(location)) {\n window.location.replace(cleanPath(base + '/#' + location));\n return true\n }\n}\n\nfunction ensureSlash () {\n var path = getHash();\n if (path.charAt(0) === '/') {\n return true\n }\n replaceHash('/' + path);\n return false\n}\n\nfunction getHash () {\n // We can't use window.location.hash here because it's not\n // consistent across browsers - Firefox will pre-decode it!\n var href = window.location.href;\n var index = href.indexOf('#');\n // empty path\n if (index < 0) { return '' }\n\n href = href.slice(index + 1);\n\n return href\n}\n\nfunction getUrl (path) {\n var href = window.location.href;\n var i = href.indexOf('#');\n var base = i >= 0 ? href.slice(0, i) : href;\n return (base + \"#\" + path)\n}\n\nfunction pushHash (path) {\n if (supportsPushState) {\n pushState(getUrl(path));\n } else {\n window.location.hash = path;\n }\n}\n\nfunction replaceHash (path) {\n if (supportsPushState) {\n replaceState(getUrl(path));\n } else {\n window.location.replace(getUrl(path));\n }\n}\n\n/* */\n\nvar AbstractHistory = /*@__PURE__*/(function (History) {\n function AbstractHistory (router, base) {\n History.call(this, router, base);\n this.stack = [];\n this.index = -1;\n }\n\n if ( History ) AbstractHistory.__proto__ = History;\n AbstractHistory.prototype = Object.create( History && History.prototype );\n AbstractHistory.prototype.constructor = AbstractHistory;\n\n AbstractHistory.prototype.push = function push (location, onComplete, onAbort) {\n var this$1$1 = this;\n\n this.transitionTo(\n location,\n function (route) {\n this$1$1.stack = this$1$1.stack.slice(0, this$1$1.index + 1).concat(route);\n this$1$1.index++;\n onComplete && onComplete(route);\n },\n onAbort\n );\n };\n\n AbstractHistory.prototype.replace = function replace (location, onComplete, onAbort) {\n var this$1$1 = this;\n\n this.transitionTo(\n location,\n function (route) {\n this$1$1.stack = this$1$1.stack.slice(0, this$1$1.index).concat(route);\n onComplete && onComplete(route);\n },\n onAbort\n );\n };\n\n AbstractHistory.prototype.go = function go (n) {\n var this$1$1 = this;\n\n var targetIndex = this.index + n;\n if (targetIndex < 0 || targetIndex >= this.stack.length) {\n return\n }\n var route = this.stack[targetIndex];\n this.confirmTransition(\n route,\n function () {\n var prev = this$1$1.current;\n this$1$1.index = targetIndex;\n this$1$1.updateRoute(route);\n this$1$1.router.afterHooks.forEach(function (hook) {\n hook && hook(route, prev);\n });\n },\n function (err) {\n if (isNavigationFailure(err, NavigationFailureType.duplicated)) {\n this$1$1.index = targetIndex;\n }\n }\n );\n };\n\n AbstractHistory.prototype.getCurrentLocation = function getCurrentLocation () {\n var current = this.stack[this.stack.length - 1];\n return current ? current.fullPath : '/'\n };\n\n AbstractHistory.prototype.ensureURL = function ensureURL () {\n // noop\n };\n\n return AbstractHistory;\n}(History));\n\n/* */\n\n\n\nvar VueRouter = function VueRouter (options) {\n if ( options === void 0 ) options = {};\n\n if (process.env.NODE_ENV !== 'production') {\n warn(this instanceof VueRouter, \"Router must be called with the new operator.\");\n }\n this.app = null;\n this.apps = [];\n this.options = options;\n this.beforeHooks = [];\n this.resolveHooks = [];\n this.afterHooks = [];\n this.matcher = createMatcher(options.routes || [], this);\n\n var mode = options.mode || 'hash';\n this.fallback =\n mode === 'history' && !supportsPushState && options.fallback !== false;\n if (this.fallback) {\n mode = 'hash';\n }\n if (!inBrowser) {\n mode = 'abstract';\n }\n this.mode = mode;\n\n switch (mode) {\n case 'history':\n this.history = new HTML5History(this, options.base);\n break\n case 'hash':\n this.history = new HashHistory(this, options.base, this.fallback);\n break\n case 'abstract':\n this.history = new AbstractHistory(this, options.base);\n break\n default:\n if (process.env.NODE_ENV !== 'production') {\n assert(false, (\"invalid mode: \" + mode));\n }\n }\n};\n\nvar prototypeAccessors = { currentRoute: { configurable: true } };\n\nVueRouter.prototype.match = function match (raw, current, redirectedFrom) {\n return this.matcher.match(raw, current, redirectedFrom)\n};\n\nprototypeAccessors.currentRoute.get = function () {\n return this.history && this.history.current\n};\n\nVueRouter.prototype.init = function init (app /* Vue component instance */) {\n var this$1$1 = this;\n\n process.env.NODE_ENV !== 'production' &&\n assert(\n install.installed,\n \"not installed. Make sure to call `Vue.use(VueRouter)` \" +\n \"before creating root instance.\"\n );\n\n this.apps.push(app);\n\n // set up app destroyed handler\n // https://github.com/vuejs/vue-router/issues/2639\n app.$once('hook:destroyed', function () {\n // clean out app from this.apps array once destroyed\n var index = this$1$1.apps.indexOf(app);\n if (index > -1) { this$1$1.apps.splice(index, 1); }\n // ensure we still have a main app or null if no apps\n // we do not release the router so it can be reused\n if (this$1$1.app === app) { this$1$1.app = this$1$1.apps[0] || null; }\n\n if (!this$1$1.app) { this$1$1.history.teardown(); }\n });\n\n // main app previously initialized\n // return as we don't need to set up new history listener\n if (this.app) {\n return\n }\n\n this.app = app;\n\n var history = this.history;\n\n if (history instanceof HTML5History || history instanceof HashHistory) {\n var handleInitialScroll = function (routeOrError) {\n var from = history.current;\n var expectScroll = this$1$1.options.scrollBehavior;\n var supportsScroll = supportsPushState && expectScroll;\n\n if (supportsScroll && 'fullPath' in routeOrError) {\n handleScroll(this$1$1, routeOrError, from, false);\n }\n };\n var setupListeners = function (routeOrError) {\n history.setupListeners();\n handleInitialScroll(routeOrError);\n };\n history.transitionTo(\n history.getCurrentLocation(),\n setupListeners,\n setupListeners\n );\n }\n\n history.listen(function (route) {\n this$1$1.apps.forEach(function (app) {\n app._route = route;\n });\n });\n};\n\nVueRouter.prototype.beforeEach = function beforeEach (fn) {\n return registerHook(this.beforeHooks, fn)\n};\n\nVueRouter.prototype.beforeResolve = function beforeResolve (fn) {\n return registerHook(this.resolveHooks, fn)\n};\n\nVueRouter.prototype.afterEach = function afterEach (fn) {\n return registerHook(this.afterHooks, fn)\n};\n\nVueRouter.prototype.onReady = function onReady (cb, errorCb) {\n this.history.onReady(cb, errorCb);\n};\n\nVueRouter.prototype.onError = function onError (errorCb) {\n this.history.onError(errorCb);\n};\n\nVueRouter.prototype.push = function push (location, onComplete, onAbort) {\n var this$1$1 = this;\n\n // $flow-disable-line\n if (!onComplete && !onAbort && typeof Promise !== 'undefined') {\n return new Promise(function (resolve, reject) {\n this$1$1.history.push(location, resolve, reject);\n })\n } else {\n this.history.push(location, onComplete, onAbort);\n }\n};\n\nVueRouter.prototype.replace = function replace (location, onComplete, onAbort) {\n var this$1$1 = this;\n\n // $flow-disable-line\n if (!onComplete && !onAbort && typeof Promise !== 'undefined') {\n return new Promise(function (resolve, reject) {\n this$1$1.history.replace(location, resolve, reject);\n })\n } else {\n this.history.replace(location, onComplete, onAbort);\n }\n};\n\nVueRouter.prototype.go = function go (n) {\n this.history.go(n);\n};\n\nVueRouter.prototype.back = function back () {\n this.go(-1);\n};\n\nVueRouter.prototype.forward = function forward () {\n this.go(1);\n};\n\nVueRouter.prototype.getMatchedComponents = function getMatchedComponents (to) {\n var route = to\n ? to.matched\n ? to\n : this.resolve(to).route\n : this.currentRoute;\n if (!route) {\n return []\n }\n return [].concat.apply(\n [],\n route.matched.map(function (m) {\n return Object.keys(m.components).map(function (key) {\n return m.components[key]\n })\n })\n )\n};\n\nVueRouter.prototype.resolve = function resolve (\n to,\n current,\n append\n) {\n current = current || this.history.current;\n var location = normalizeLocation(to, current, append, this);\n var route = this.match(location, current);\n var fullPath = route.redirectedFrom || route.fullPath;\n var base = this.history.base;\n var href = createHref(base, fullPath, this.mode);\n return {\n location: location,\n route: route,\n href: href,\n // for backwards compat\n normalizedTo: location,\n resolved: route\n }\n};\n\nVueRouter.prototype.getRoutes = function getRoutes () {\n return this.matcher.getRoutes()\n};\n\nVueRouter.prototype.addRoute = function addRoute (parentOrRoute, route) {\n this.matcher.addRoute(parentOrRoute, route);\n if (this.history.current !== START) {\n this.history.transitionTo(this.history.getCurrentLocation());\n }\n};\n\nVueRouter.prototype.addRoutes = function addRoutes (routes) {\n if (process.env.NODE_ENV !== 'production') {\n warn(false, 'router.addRoutes() is deprecated and has been removed in Vue Router 4. Use router.addRoute() instead.');\n }\n this.matcher.addRoutes(routes);\n if (this.history.current !== START) {\n this.history.transitionTo(this.history.getCurrentLocation());\n }\n};\n\nObject.defineProperties( VueRouter.prototype, prototypeAccessors );\n\nvar VueRouter$1 = VueRouter;\n\nfunction registerHook (list, fn) {\n list.push(fn);\n return function () {\n var i = list.indexOf(fn);\n if (i > -1) { list.splice(i, 1); }\n }\n}\n\nfunction createHref (base, fullPath, mode) {\n var path = mode === 'hash' ? '#' + fullPath : fullPath;\n return base ? cleanPath(base + '/' + path) : path\n}\n\n// We cannot remove this as it would be a breaking change\nVueRouter.install = install;\nVueRouter.version = '3.6.5';\nVueRouter.isNavigationFailure = isNavigationFailure;\nVueRouter.NavigationFailureType = NavigationFailureType;\nVueRouter.START_LOCATION = START;\n\nif (inBrowser && window.Vue) {\n window.Vue.use(VueRouter);\n}\n\nvar version = '3.6.5';\n\nexport { NavigationFailureType, Link as RouterLink, View as RouterView, START as START_LOCATION, VueRouter$1 as default, isNavigationFailure, version };\n","/*!\n * Vue.js v2.7.14\n * (c) 2014-2022 Evan You\n * Released under the MIT License.\n */\nvar emptyObject = Object.freeze({});\nvar isArray = Array.isArray;\n// These helpers produce better VM code in JS engines due to their\n// explicitness and function inlining.\nfunction isUndef(v) {\n return v === undefined || v === null;\n}\nfunction isDef(v) {\n return v !== undefined && v !== null;\n}\nfunction isTrue(v) {\n return v === true;\n}\nfunction isFalse(v) {\n return v === false;\n}\n/**\n * Check if value is primitive.\n */\nfunction isPrimitive(value) {\n return (typeof value === 'string' ||\n typeof value === 'number' ||\n // $flow-disable-line\n typeof value === 'symbol' ||\n typeof value === 'boolean');\n}\nfunction isFunction(value) {\n return typeof value === 'function';\n}\n/**\n * Quick object check - this is primarily used to tell\n * objects from primitive values when we know the value\n * is a JSON-compliant type.\n */\nfunction isObject(obj) {\n return obj !== null && typeof obj === 'object';\n}\n/**\n * Get the raw type string of a value, e.g., [object Object].\n */\nvar _toString = Object.prototype.toString;\nfunction toRawType(value) {\n return _toString.call(value).slice(8, -1);\n}\n/**\n * Strict object type check. Only returns true\n * for plain JavaScript objects.\n */\nfunction isPlainObject(obj) {\n return _toString.call(obj) === '[object Object]';\n}\nfunction isRegExp(v) {\n return _toString.call(v) === '[object RegExp]';\n}\n/**\n * Check if val is a valid array index.\n */\nfunction isValidArrayIndex(val) {\n var n = parseFloat(String(val));\n return n >= 0 && Math.floor(n) === n && isFinite(val);\n}\nfunction isPromise(val) {\n return (isDef(val) &&\n typeof val.then === 'function' &&\n typeof val.catch === 'function');\n}\n/**\n * Convert a value to a string that is actually rendered.\n */\nfunction toString(val) {\n return val == null\n ? ''\n : Array.isArray(val) || (isPlainObject(val) && val.toString === _toString)\n ? JSON.stringify(val, null, 2)\n : String(val);\n}\n/**\n * Convert an input value to a number for persistence.\n * If the conversion fails, return original string.\n */\nfunction toNumber(val) {\n var n = parseFloat(val);\n return isNaN(n) ? val : n;\n}\n/**\n * Make a map and return a function for checking if a key\n * is in that map.\n */\nfunction makeMap(str, expectsLowerCase) {\n var map = Object.create(null);\n var list = str.split(',');\n for (var i = 0; i < list.length; i++) {\n map[list[i]] = true;\n }\n return expectsLowerCase ? function (val) { return map[val.toLowerCase()]; } : function (val) { return map[val]; };\n}\n/**\n * Check if a tag is a built-in tag.\n */\nvar isBuiltInTag = makeMap('slot,component', true);\n/**\n * Check if an attribute is a reserved attribute.\n */\nvar isReservedAttribute = makeMap('key,ref,slot,slot-scope,is');\n/**\n * Remove an item from an array.\n */\nfunction remove$2(arr, item) {\n var len = arr.length;\n if (len) {\n // fast path for the only / last item\n if (item === arr[len - 1]) {\n arr.length = len - 1;\n return;\n }\n var index = arr.indexOf(item);\n if (index > -1) {\n return arr.splice(index, 1);\n }\n }\n}\n/**\n * Check whether an object has the property.\n */\nvar hasOwnProperty = Object.prototype.hasOwnProperty;\nfunction hasOwn(obj, key) {\n return hasOwnProperty.call(obj, key);\n}\n/**\n * Create a cached version of a pure function.\n */\nfunction cached(fn) {\n var cache = Object.create(null);\n return function cachedFn(str) {\n var hit = cache[str];\n return hit || (cache[str] = fn(str));\n };\n}\n/**\n * Camelize a hyphen-delimited string.\n */\nvar camelizeRE = /-(\\w)/g;\nvar camelize = cached(function (str) {\n return str.replace(camelizeRE, function (_, c) { return (c ? c.toUpperCase() : ''); });\n});\n/**\n * Capitalize a string.\n */\nvar capitalize = cached(function (str) {\n return str.charAt(0).toUpperCase() + str.slice(1);\n});\n/**\n * Hyphenate a camelCase string.\n */\nvar hyphenateRE = /\\B([A-Z])/g;\nvar hyphenate = cached(function (str) {\n return str.replace(hyphenateRE, '-$1').toLowerCase();\n});\n/**\n * Simple bind polyfill for environments that do not support it,\n * e.g., PhantomJS 1.x. Technically, we don't need this anymore\n * since native bind is now performant enough in most browsers.\n * But removing it would mean breaking code that was able to run in\n * PhantomJS 1.x, so this must be kept for backward compatibility.\n */\n/* istanbul ignore next */\nfunction polyfillBind(fn, ctx) {\n function boundFn(a) {\n var l = arguments.length;\n return l\n ? l > 1\n ? fn.apply(ctx, arguments)\n : fn.call(ctx, a)\n : fn.call(ctx);\n }\n boundFn._length = fn.length;\n return boundFn;\n}\nfunction nativeBind(fn, ctx) {\n return fn.bind(ctx);\n}\n// @ts-expect-error bind cannot be `undefined`\nvar bind = Function.prototype.bind ? nativeBind : polyfillBind;\n/**\n * Convert an Array-like object to a real Array.\n */\nfunction toArray(list, start) {\n start = start || 0;\n var i = list.length - start;\n var ret = new Array(i);\n while (i--) {\n ret[i] = list[i + start];\n }\n return ret;\n}\n/**\n * Mix properties into target object.\n */\nfunction extend(to, _from) {\n for (var key in _from) {\n to[key] = _from[key];\n }\n return to;\n}\n/**\n * Merge an Array of Objects into a single Object.\n */\nfunction toObject(arr) {\n var res = {};\n for (var i = 0; i < arr.length; i++) {\n if (arr[i]) {\n extend(res, arr[i]);\n }\n }\n return res;\n}\n/* eslint-disable no-unused-vars */\n/**\n * Perform no operation.\n * Stubbing args to make Flow happy without leaving useless transpiled code\n * with ...rest (https://flow.org/blog/2017/05/07/Strict-Function-Call-Arity/).\n */\nfunction noop(a, b, c) { }\n/**\n * Always return false.\n */\nvar no = function (a, b, c) { return false; };\n/* eslint-enable no-unused-vars */\n/**\n * Return the same value.\n */\nvar identity = function (_) { return _; };\n/**\n * Check if two values are loosely equal - that is,\n * if they are plain objects, do they have the same shape?\n */\nfunction looseEqual(a, b) {\n if (a === b)\n return true;\n var isObjectA = isObject(a);\n var isObjectB = isObject(b);\n if (isObjectA && isObjectB) {\n try {\n var isArrayA = Array.isArray(a);\n var isArrayB = Array.isArray(b);\n if (isArrayA && isArrayB) {\n return (a.length === b.length &&\n a.every(function (e, i) {\n return looseEqual(e, b[i]);\n }));\n }\n else if (a instanceof Date && b instanceof Date) {\n return a.getTime() === b.getTime();\n }\n else if (!isArrayA && !isArrayB) {\n var keysA = Object.keys(a);\n var keysB = Object.keys(b);\n return (keysA.length === keysB.length &&\n keysA.every(function (key) {\n return looseEqual(a[key], b[key]);\n }));\n }\n else {\n /* istanbul ignore next */\n return false;\n }\n }\n catch (e) {\n /* istanbul ignore next */\n return false;\n }\n }\n else if (!isObjectA && !isObjectB) {\n return String(a) === String(b);\n }\n else {\n return false;\n }\n}\n/**\n * Return the first index at which a loosely equal value can be\n * found in the array (if value is a plain object, the array must\n * contain an object of the same shape), or -1 if it is not present.\n */\nfunction looseIndexOf(arr, val) {\n for (var i = 0; i < arr.length; i++) {\n if (looseEqual(arr[i], val))\n return i;\n }\n return -1;\n}\n/**\n * Ensure a function is called only once.\n */\nfunction once(fn) {\n var called = false;\n return function () {\n if (!called) {\n called = true;\n fn.apply(this, arguments);\n }\n };\n}\n// https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is#polyfill\nfunction hasChanged(x, y) {\n if (x === y) {\n return x === 0 && 1 / x !== 1 / y;\n }\n else {\n return x === x || y === y;\n }\n}\n\nvar SSR_ATTR = 'data-server-rendered';\nvar ASSET_TYPES = ['component', 'directive', 'filter'];\nvar LIFECYCLE_HOOKS = [\n 'beforeCreate',\n 'created',\n 'beforeMount',\n 'mounted',\n 'beforeUpdate',\n 'updated',\n 'beforeDestroy',\n 'destroyed',\n 'activated',\n 'deactivated',\n 'errorCaptured',\n 'serverPrefetch',\n 'renderTracked',\n 'renderTriggered'\n];\n\nvar config = {\n /**\n * Option merge strategies (used in core/util/options)\n */\n // $flow-disable-line\n optionMergeStrategies: Object.create(null),\n /**\n * Whether to suppress warnings.\n */\n silent: false,\n /**\n * Show production mode tip message on boot?\n */\n productionTip: process.env.NODE_ENV !== 'production',\n /**\n * Whether to enable devtools\n */\n devtools: process.env.NODE_ENV !== 'production',\n /**\n * Whether to record perf\n */\n performance: false,\n /**\n * Error handler for watcher errors\n */\n errorHandler: null,\n /**\n * Warn handler for watcher warns\n */\n warnHandler: null,\n /**\n * Ignore certain custom elements\n */\n ignoredElements: [],\n /**\n * Custom user key aliases for v-on\n */\n // $flow-disable-line\n keyCodes: Object.create(null),\n /**\n * Check if a tag is reserved so that it cannot be registered as a\n * component. This is platform-dependent and may be overwritten.\n */\n isReservedTag: no,\n /**\n * Check if an attribute is reserved so that it cannot be used as a component\n * prop. This is platform-dependent and may be overwritten.\n */\n isReservedAttr: no,\n /**\n * Check if a tag is an unknown element.\n * Platform-dependent.\n */\n isUnknownElement: no,\n /**\n * Get the namespace of an element\n */\n getTagNamespace: noop,\n /**\n * Parse the real tag name for the specific platform.\n */\n parsePlatformTagName: identity,\n /**\n * Check if an attribute must be bound using property, e.g. value\n * Platform-dependent.\n */\n mustUseProp: no,\n /**\n * Perform updates asynchronously. Intended to be used by Vue Test Utils\n * This will significantly reduce performance if set to false.\n */\n async: true,\n /**\n * Exposed for legacy reasons\n */\n _lifecycleHooks: LIFECYCLE_HOOKS\n};\n\n/**\n * unicode letters used for parsing html tags, component names and property paths.\n * using https://www.w3.org/TR/html53/semantics-scripting.html#potentialcustomelementname\n * skipping \\u10000-\\uEFFFF due to it freezing up PhantomJS\n */\nvar unicodeRegExp = /a-zA-Z\\u00B7\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u203F-\\u2040\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD/;\n/**\n * Check if a string starts with $ or _\n */\nfunction isReserved(str) {\n var c = (str + '').charCodeAt(0);\n return c === 0x24 || c === 0x5f;\n}\n/**\n * Define a property.\n */\nfunction def(obj, key, val, enumerable) {\n Object.defineProperty(obj, key, {\n value: val,\n enumerable: !!enumerable,\n writable: true,\n configurable: true\n });\n}\n/**\n * Parse simple path.\n */\nvar bailRE = new RegExp(\"[^\".concat(unicodeRegExp.source, \".$_\\\\d]\"));\nfunction parsePath(path) {\n if (bailRE.test(path)) {\n return;\n }\n var segments = path.split('.');\n return function (obj) {\n for (var i = 0; i < segments.length; i++) {\n if (!obj)\n return;\n obj = obj[segments[i]];\n }\n return obj;\n };\n}\n\n// can we use __proto__?\nvar hasProto = '__proto__' in {};\n// Browser environment sniffing\nvar inBrowser = typeof window !== 'undefined';\nvar UA = inBrowser && window.navigator.userAgent.toLowerCase();\nvar isIE = UA && /msie|trident/.test(UA);\nvar isIE9 = UA && UA.indexOf('msie 9.0') > 0;\nvar isEdge = UA && UA.indexOf('edge/') > 0;\nUA && UA.indexOf('android') > 0;\nvar isIOS = UA && /iphone|ipad|ipod|ios/.test(UA);\nUA && /chrome\\/\\d+/.test(UA) && !isEdge;\nUA && /phantomjs/.test(UA);\nvar isFF = UA && UA.match(/firefox\\/(\\d+)/);\n// Firefox has a \"watch\" function on Object.prototype...\n// @ts-expect-error firebox support\nvar nativeWatch = {}.watch;\nvar supportsPassive = false;\nif (inBrowser) {\n try {\n var opts = {};\n Object.defineProperty(opts, 'passive', {\n get: function () {\n /* istanbul ignore next */\n supportsPassive = true;\n }\n }); // https://github.com/facebook/flow/issues/285\n window.addEventListener('test-passive', null, opts);\n }\n catch (e) { }\n}\n// this needs to be lazy-evaled because vue may be required before\n// vue-server-renderer can set VUE_ENV\nvar _isServer;\nvar isServerRendering = function () {\n if (_isServer === undefined) {\n /* istanbul ignore if */\n if (!inBrowser && typeof global !== 'undefined') {\n // detect presence of vue-server-renderer and avoid\n // Webpack shimming the process\n _isServer =\n global['process'] && global['process'].env.VUE_ENV === 'server';\n }\n else {\n _isServer = false;\n }\n }\n return _isServer;\n};\n// detect devtools\nvar devtools = inBrowser && window.__VUE_DEVTOOLS_GLOBAL_HOOK__;\n/* istanbul ignore next */\nfunction isNative(Ctor) {\n return typeof Ctor === 'function' && /native code/.test(Ctor.toString());\n}\nvar hasSymbol = typeof Symbol !== 'undefined' &&\n isNative(Symbol) &&\n typeof Reflect !== 'undefined' &&\n isNative(Reflect.ownKeys);\nvar _Set; // $flow-disable-line\n/* istanbul ignore if */ if (typeof Set !== 'undefined' && isNative(Set)) {\n // use native Set when available.\n _Set = Set;\n}\nelse {\n // a non-standard Set polyfill that only works with primitive keys.\n _Set = /** @class */ (function () {\n function Set() {\n this.set = Object.create(null);\n }\n Set.prototype.has = function (key) {\n return this.set[key] === true;\n };\n Set.prototype.add = function (key) {\n this.set[key] = true;\n };\n Set.prototype.clear = function () {\n this.set = Object.create(null);\n };\n return Set;\n }());\n}\n\nvar currentInstance = null;\n/**\n * This is exposed for compatibility with v3 (e.g. some functions in VueUse\n * relies on it). Do not use this internally, just use `currentInstance`.\n *\n * @internal this function needs manual type declaration because it relies\n * on previously manually authored types from Vue 2\n */\nfunction getCurrentInstance() {\n return currentInstance && { proxy: currentInstance };\n}\n/**\n * @internal\n */\nfunction setCurrentInstance(vm) {\n if (vm === void 0) { vm = null; }\n if (!vm)\n currentInstance && currentInstance._scope.off();\n currentInstance = vm;\n vm && vm._scope.on();\n}\n\n/**\n * @internal\n */\nvar VNode = /** @class */ (function () {\n function VNode(tag, data, children, text, elm, context, componentOptions, asyncFactory) {\n this.tag = tag;\n this.data = data;\n this.children = children;\n this.text = text;\n this.elm = elm;\n this.ns = undefined;\n this.context = context;\n this.fnContext = undefined;\n this.fnOptions = undefined;\n this.fnScopeId = undefined;\n this.key = data && data.key;\n this.componentOptions = componentOptions;\n this.componentInstance = undefined;\n this.parent = undefined;\n this.raw = false;\n this.isStatic = false;\n this.isRootInsert = true;\n this.isComment = false;\n this.isCloned = false;\n this.isOnce = false;\n this.asyncFactory = asyncFactory;\n this.asyncMeta = undefined;\n this.isAsyncPlaceholder = false;\n }\n Object.defineProperty(VNode.prototype, \"child\", {\n // DEPRECATED: alias for componentInstance for backwards compat.\n /* istanbul ignore next */\n get: function () {\n return this.componentInstance;\n },\n enumerable: false,\n configurable: true\n });\n return VNode;\n}());\nvar createEmptyVNode = function (text) {\n if (text === void 0) { text = ''; }\n var node = new VNode();\n node.text = text;\n node.isComment = true;\n return node;\n};\nfunction createTextVNode(val) {\n return new VNode(undefined, undefined, undefined, String(val));\n}\n// optimized shallow clone\n// used for static nodes and slot nodes because they may be reused across\n// multiple renders, cloning them avoids errors when DOM manipulations rely\n// on their elm reference.\nfunction cloneVNode(vnode) {\n var cloned = new VNode(vnode.tag, vnode.data, \n // #7975\n // clone children array to avoid mutating original in case of cloning\n // a child.\n vnode.children && vnode.children.slice(), vnode.text, vnode.elm, vnode.context, vnode.componentOptions, vnode.asyncFactory);\n cloned.ns = vnode.ns;\n cloned.isStatic = vnode.isStatic;\n cloned.key = vnode.key;\n cloned.isComment = vnode.isComment;\n cloned.fnContext = vnode.fnContext;\n cloned.fnOptions = vnode.fnOptions;\n cloned.fnScopeId = vnode.fnScopeId;\n cloned.asyncMeta = vnode.asyncMeta;\n cloned.isCloned = true;\n return cloned;\n}\n\n/******************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */\r\n\r\nvar __assign = function() {\r\n __assign = Object.assign || function __assign(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n }\r\n return t;\r\n };\r\n return __assign.apply(this, arguments);\r\n};\n\nvar uid$2 = 0;\nvar pendingCleanupDeps = [];\nvar cleanupDeps = function () {\n for (var i = 0; i < pendingCleanupDeps.length; i++) {\n var dep = pendingCleanupDeps[i];\n dep.subs = dep.subs.filter(function (s) { return s; });\n dep._pending = false;\n }\n pendingCleanupDeps.length = 0;\n};\n/**\n * A dep is an observable that can have multiple\n * directives subscribing to it.\n * @internal\n */\nvar Dep = /** @class */ (function () {\n function Dep() {\n // pending subs cleanup\n this._pending = false;\n this.id = uid$2++;\n this.subs = [];\n }\n Dep.prototype.addSub = function (sub) {\n this.subs.push(sub);\n };\n Dep.prototype.removeSub = function (sub) {\n // #12696 deps with massive amount of subscribers are extremely slow to\n // clean up in Chromium\n // to workaround this, we unset the sub for now, and clear them on\n // next scheduler flush.\n this.subs[this.subs.indexOf(sub)] = null;\n if (!this._pending) {\n this._pending = true;\n pendingCleanupDeps.push(this);\n }\n };\n Dep.prototype.depend = function (info) {\n if (Dep.target) {\n Dep.target.addDep(this);\n if (process.env.NODE_ENV !== 'production' && info && Dep.target.onTrack) {\n Dep.target.onTrack(__assign({ effect: Dep.target }, info));\n }\n }\n };\n Dep.prototype.notify = function (info) {\n // stabilize the subscriber list first\n var subs = this.subs.filter(function (s) { return s; });\n if (process.env.NODE_ENV !== 'production' && !config.async) {\n // subs aren't sorted in scheduler if not running async\n // we need to sort them now to make sure they fire in correct\n // order\n subs.sort(function (a, b) { return a.id - b.id; });\n }\n for (var i = 0, l = subs.length; i < l; i++) {\n var sub = subs[i];\n if (process.env.NODE_ENV !== 'production' && info) {\n sub.onTrigger &&\n sub.onTrigger(__assign({ effect: subs[i] }, info));\n }\n sub.update();\n }\n };\n return Dep;\n}());\n// The current target watcher being evaluated.\n// This is globally unique because only one watcher\n// can be evaluated at a time.\nDep.target = null;\nvar targetStack = [];\nfunction pushTarget(target) {\n targetStack.push(target);\n Dep.target = target;\n}\nfunction popTarget() {\n targetStack.pop();\n Dep.target = targetStack[targetStack.length - 1];\n}\n\n/*\n * not type checking this file because flow doesn't play well with\n * dynamically accessing methods on Array prototype\n */\nvar arrayProto = Array.prototype;\nvar arrayMethods = Object.create(arrayProto);\nvar methodsToPatch = [\n 'push',\n 'pop',\n 'shift',\n 'unshift',\n 'splice',\n 'sort',\n 'reverse'\n];\n/**\n * Intercept mutating methods and emit events\n */\nmethodsToPatch.forEach(function (method) {\n // cache original method\n var original = arrayProto[method];\n def(arrayMethods, method, function mutator() {\n var args = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n args[_i] = arguments[_i];\n }\n var result = original.apply(this, args);\n var ob = this.__ob__;\n var inserted;\n switch (method) {\n case 'push':\n case 'unshift':\n inserted = args;\n break;\n case 'splice':\n inserted = args.slice(2);\n break;\n }\n if (inserted)\n ob.observeArray(inserted);\n // notify change\n if (process.env.NODE_ENV !== 'production') {\n ob.dep.notify({\n type: \"array mutation\" /* TriggerOpTypes.ARRAY_MUTATION */,\n target: this,\n key: method\n });\n }\n else {\n ob.dep.notify();\n }\n return result;\n });\n});\n\nvar arrayKeys = Object.getOwnPropertyNames(arrayMethods);\nvar NO_INIITIAL_VALUE = {};\n/**\n * In some cases we may want to disable observation inside a component's\n * update computation.\n */\nvar shouldObserve = true;\nfunction toggleObserving(value) {\n shouldObserve = value;\n}\n// ssr mock dep\nvar mockDep = {\n notify: noop,\n depend: noop,\n addSub: noop,\n removeSub: noop\n};\n/**\n * Observer class that is attached to each observed\n * object. Once attached, the observer converts the target\n * object's property keys into getter/setters that\n * collect dependencies and dispatch updates.\n */\nvar Observer = /** @class */ (function () {\n function Observer(value, shallow, mock) {\n if (shallow === void 0) { shallow = false; }\n if (mock === void 0) { mock = false; }\n this.value = value;\n this.shallow = shallow;\n this.mock = mock;\n // this.value = value\n this.dep = mock ? mockDep : new Dep();\n this.vmCount = 0;\n def(value, '__ob__', this);\n if (isArray(value)) {\n if (!mock) {\n if (hasProto) {\n value.__proto__ = arrayMethods;\n /* eslint-enable no-proto */\n }\n else {\n for (var i = 0, l = arrayKeys.length; i < l; i++) {\n var key = arrayKeys[i];\n def(value, key, arrayMethods[key]);\n }\n }\n }\n if (!shallow) {\n this.observeArray(value);\n }\n }\n else {\n /**\n * Walk through all properties and convert them into\n * getter/setters. This method should only be called when\n * value type is Object.\n */\n var keys = Object.keys(value);\n for (var i = 0; i < keys.length; i++) {\n var key = keys[i];\n defineReactive(value, key, NO_INIITIAL_VALUE, undefined, shallow, mock);\n }\n }\n }\n /**\n * Observe a list of Array items.\n */\n Observer.prototype.observeArray = function (value) {\n for (var i = 0, l = value.length; i < l; i++) {\n observe(value[i], false, this.mock);\n }\n };\n return Observer;\n}());\n// helpers\n/**\n * Attempt to create an observer instance for a value,\n * returns the new observer if successfully observed,\n * or the existing observer if the value already has one.\n */\nfunction observe(value, shallow, ssrMockReactivity) {\n if (value && hasOwn(value, '__ob__') && value.__ob__ instanceof Observer) {\n return value.__ob__;\n }\n if (shouldObserve &&\n (ssrMockReactivity || !isServerRendering()) &&\n (isArray(value) || isPlainObject(value)) &&\n Object.isExtensible(value) &&\n !value.__v_skip /* ReactiveFlags.SKIP */ &&\n !isRef(value) &&\n !(value instanceof VNode)) {\n return new Observer(value, shallow, ssrMockReactivity);\n }\n}\n/**\n * Define a reactive property on an Object.\n */\nfunction defineReactive(obj, key, val, customSetter, shallow, mock) {\n var dep = new Dep();\n var property = Object.getOwnPropertyDescriptor(obj, key);\n if (property && property.configurable === false) {\n return;\n }\n // cater for pre-defined getter/setters\n var getter = property && property.get;\n var setter = property && property.set;\n if ((!getter || setter) &&\n (val === NO_INIITIAL_VALUE || arguments.length === 2)) {\n val = obj[key];\n }\n var childOb = !shallow && observe(val, false, mock);\n Object.defineProperty(obj, key, {\n enumerable: true,\n configurable: true,\n get: function reactiveGetter() {\n var value = getter ? getter.call(obj) : val;\n if (Dep.target) {\n if (process.env.NODE_ENV !== 'production') {\n dep.depend({\n target: obj,\n type: \"get\" /* TrackOpTypes.GET */,\n key: key\n });\n }\n else {\n dep.depend();\n }\n if (childOb) {\n childOb.dep.depend();\n if (isArray(value)) {\n dependArray(value);\n }\n }\n }\n return isRef(value) && !shallow ? value.value : value;\n },\n set: function reactiveSetter(newVal) {\n var value = getter ? getter.call(obj) : val;\n if (!hasChanged(value, newVal)) {\n return;\n }\n if (process.env.NODE_ENV !== 'production' && customSetter) {\n customSetter();\n }\n if (setter) {\n setter.call(obj, newVal);\n }\n else if (getter) {\n // #7981: for accessor properties without setter\n return;\n }\n else if (!shallow && isRef(value) && !isRef(newVal)) {\n value.value = newVal;\n return;\n }\n else {\n val = newVal;\n }\n childOb = !shallow && observe(newVal, false, mock);\n if (process.env.NODE_ENV !== 'production') {\n dep.notify({\n type: \"set\" /* TriggerOpTypes.SET */,\n target: obj,\n key: key,\n newValue: newVal,\n oldValue: value\n });\n }\n else {\n dep.notify();\n }\n }\n });\n return dep;\n}\nfunction set(target, key, val) {\n if (process.env.NODE_ENV !== 'production' && (isUndef(target) || isPrimitive(target))) {\n warn(\"Cannot set reactive property on undefined, null, or primitive value: \".concat(target));\n }\n if (isReadonly(target)) {\n process.env.NODE_ENV !== 'production' && warn(\"Set operation on key \\\"\".concat(key, \"\\\" failed: target is readonly.\"));\n return;\n }\n var ob = target.__ob__;\n if (isArray(target) && isValidArrayIndex(key)) {\n target.length = Math.max(target.length, key);\n target.splice(key, 1, val);\n // when mocking for SSR, array methods are not hijacked\n if (ob && !ob.shallow && ob.mock) {\n observe(val, false, true);\n }\n return val;\n }\n if (key in target && !(key in Object.prototype)) {\n target[key] = val;\n return val;\n }\n if (target._isVue || (ob && ob.vmCount)) {\n process.env.NODE_ENV !== 'production' &&\n warn('Avoid adding reactive properties to a Vue instance or its root $data ' +\n 'at runtime - declare it upfront in the data option.');\n return val;\n }\n if (!ob) {\n target[key] = val;\n return val;\n }\n defineReactive(ob.value, key, val, undefined, ob.shallow, ob.mock);\n if (process.env.NODE_ENV !== 'production') {\n ob.dep.notify({\n type: \"add\" /* TriggerOpTypes.ADD */,\n target: target,\n key: key,\n newValue: val,\n oldValue: undefined\n });\n }\n else {\n ob.dep.notify();\n }\n return val;\n}\nfunction del(target, key) {\n if (process.env.NODE_ENV !== 'production' && (isUndef(target) || isPrimitive(target))) {\n warn(\"Cannot delete reactive property on undefined, null, or primitive value: \".concat(target));\n }\n if (isArray(target) && isValidArrayIndex(key)) {\n target.splice(key, 1);\n return;\n }\n var ob = target.__ob__;\n if (target._isVue || (ob && ob.vmCount)) {\n process.env.NODE_ENV !== 'production' &&\n warn('Avoid deleting properties on a Vue instance or its root $data ' +\n '- just set it to null.');\n return;\n }\n if (isReadonly(target)) {\n process.env.NODE_ENV !== 'production' &&\n warn(\"Delete operation on key \\\"\".concat(key, \"\\\" failed: target is readonly.\"));\n return;\n }\n if (!hasOwn(target, key)) {\n return;\n }\n delete target[key];\n if (!ob) {\n return;\n }\n if (process.env.NODE_ENV !== 'production') {\n ob.dep.notify({\n type: \"delete\" /* TriggerOpTypes.DELETE */,\n target: target,\n key: key\n });\n }\n else {\n ob.dep.notify();\n }\n}\n/**\n * Collect dependencies on array elements when the array is touched, since\n * we cannot intercept array element access like property getters.\n */\nfunction dependArray(value) {\n for (var e = void 0, i = 0, l = value.length; i < l; i++) {\n e = value[i];\n if (e && e.__ob__) {\n e.__ob__.dep.depend();\n }\n if (isArray(e)) {\n dependArray(e);\n }\n }\n}\n\nfunction reactive(target) {\n makeReactive(target, false);\n return target;\n}\n/**\n * Return a shallowly-reactive copy of the original object, where only the root\n * level properties are reactive. It also does not auto-unwrap refs (even at the\n * root level).\n */\nfunction shallowReactive(target) {\n makeReactive(target, true);\n def(target, \"__v_isShallow\" /* ReactiveFlags.IS_SHALLOW */, true);\n return target;\n}\nfunction makeReactive(target, shallow) {\n // if trying to observe a readonly proxy, return the readonly version.\n if (!isReadonly(target)) {\n if (process.env.NODE_ENV !== 'production') {\n if (isArray(target)) {\n warn(\"Avoid using Array as root value for \".concat(shallow ? \"shallowReactive()\" : \"reactive()\", \" as it cannot be tracked in watch() or watchEffect(). Use \").concat(shallow ? \"shallowRef()\" : \"ref()\", \" instead. This is a Vue-2-only limitation.\"));\n }\n var existingOb = target && target.__ob__;\n if (existingOb && existingOb.shallow !== shallow) {\n warn(\"Target is already a \".concat(existingOb.shallow ? \"\" : \"non-\", \"shallow reactive object, and cannot be converted to \").concat(shallow ? \"\" : \"non-\", \"shallow.\"));\n }\n }\n var ob = observe(target, shallow, isServerRendering() /* ssr mock reactivity */);\n if (process.env.NODE_ENV !== 'production' && !ob) {\n if (target == null || isPrimitive(target)) {\n warn(\"value cannot be made reactive: \".concat(String(target)));\n }\n if (isCollectionType(target)) {\n warn(\"Vue 2 does not support reactive collection types such as Map or Set.\");\n }\n }\n }\n}\nfunction isReactive(value) {\n if (isReadonly(value)) {\n return isReactive(value[\"__v_raw\" /* ReactiveFlags.RAW */]);\n }\n return !!(value && value.__ob__);\n}\nfunction isShallow(value) {\n return !!(value && value.__v_isShallow);\n}\nfunction isReadonly(value) {\n return !!(value && value.__v_isReadonly);\n}\nfunction isProxy(value) {\n return isReactive(value) || isReadonly(value);\n}\nfunction toRaw(observed) {\n var raw = observed && observed[\"__v_raw\" /* ReactiveFlags.RAW */];\n return raw ? toRaw(raw) : observed;\n}\nfunction markRaw(value) {\n // non-extensible objects won't be observed anyway\n if (Object.isExtensible(value)) {\n def(value, \"__v_skip\" /* ReactiveFlags.SKIP */, true);\n }\n return value;\n}\n/**\n * @internal\n */\nfunction isCollectionType(value) {\n var type = toRawType(value);\n return (type === 'Map' || type === 'WeakMap' || type === 'Set' || type === 'WeakSet');\n}\n\n/**\n * @internal\n */\nvar RefFlag = \"__v_isRef\";\nfunction isRef(r) {\n return !!(r && r.__v_isRef === true);\n}\nfunction ref$1(value) {\n return createRef(value, false);\n}\nfunction shallowRef(value) {\n return createRef(value, true);\n}\nfunction createRef(rawValue, shallow) {\n if (isRef(rawValue)) {\n return rawValue;\n }\n var ref = {};\n def(ref, RefFlag, true);\n def(ref, \"__v_isShallow\" /* ReactiveFlags.IS_SHALLOW */, shallow);\n def(ref, 'dep', defineReactive(ref, 'value', rawValue, null, shallow, isServerRendering()));\n return ref;\n}\nfunction triggerRef(ref) {\n if (process.env.NODE_ENV !== 'production' && !ref.dep) {\n warn(\"received object is not a triggerable ref.\");\n }\n if (process.env.NODE_ENV !== 'production') {\n ref.dep &&\n ref.dep.notify({\n type: \"set\" /* TriggerOpTypes.SET */,\n target: ref,\n key: 'value'\n });\n }\n else {\n ref.dep && ref.dep.notify();\n }\n}\nfunction unref(ref) {\n return isRef(ref) ? ref.value : ref;\n}\nfunction proxyRefs(objectWithRefs) {\n if (isReactive(objectWithRefs)) {\n return objectWithRefs;\n }\n var proxy = {};\n var keys = Object.keys(objectWithRefs);\n for (var i = 0; i < keys.length; i++) {\n proxyWithRefUnwrap(proxy, objectWithRefs, keys[i]);\n }\n return proxy;\n}\nfunction proxyWithRefUnwrap(target, source, key) {\n Object.defineProperty(target, key, {\n enumerable: true,\n configurable: true,\n get: function () {\n var val = source[key];\n if (isRef(val)) {\n return val.value;\n }\n else {\n var ob = val && val.__ob__;\n if (ob)\n ob.dep.depend();\n return val;\n }\n },\n set: function (value) {\n var oldValue = source[key];\n if (isRef(oldValue) && !isRef(value)) {\n oldValue.value = value;\n }\n else {\n source[key] = value;\n }\n }\n });\n}\nfunction customRef(factory) {\n var dep = new Dep();\n var _a = factory(function () {\n if (process.env.NODE_ENV !== 'production') {\n dep.depend({\n target: ref,\n type: \"get\" /* TrackOpTypes.GET */,\n key: 'value'\n });\n }\n else {\n dep.depend();\n }\n }, function () {\n if (process.env.NODE_ENV !== 'production') {\n dep.notify({\n target: ref,\n type: \"set\" /* TriggerOpTypes.SET */,\n key: 'value'\n });\n }\n else {\n dep.notify();\n }\n }), get = _a.get, set = _a.set;\n var ref = {\n get value() {\n return get();\n },\n set value(newVal) {\n set(newVal);\n }\n };\n def(ref, RefFlag, true);\n return ref;\n}\nfunction toRefs(object) {\n if (process.env.NODE_ENV !== 'production' && !isReactive(object)) {\n warn(\"toRefs() expects a reactive object but received a plain one.\");\n }\n var ret = isArray(object) ? new Array(object.length) : {};\n for (var key in object) {\n ret[key] = toRef(object, key);\n }\n return ret;\n}\nfunction toRef(object, key, defaultValue) {\n var val = object[key];\n if (isRef(val)) {\n return val;\n }\n var ref = {\n get value() {\n var val = object[key];\n return val === undefined ? defaultValue : val;\n },\n set value(newVal) {\n object[key] = newVal;\n }\n };\n def(ref, RefFlag, true);\n return ref;\n}\n\nvar rawToReadonlyFlag = \"__v_rawToReadonly\";\nvar rawToShallowReadonlyFlag = \"__v_rawToShallowReadonly\";\nfunction readonly(target) {\n return createReadonly(target, false);\n}\nfunction createReadonly(target, shallow) {\n if (!isPlainObject(target)) {\n if (process.env.NODE_ENV !== 'production') {\n if (isArray(target)) {\n warn(\"Vue 2 does not support readonly arrays.\");\n }\n else if (isCollectionType(target)) {\n warn(\"Vue 2 does not support readonly collection types such as Map or Set.\");\n }\n else {\n warn(\"value cannot be made readonly: \".concat(typeof target));\n }\n }\n return target;\n }\n if (process.env.NODE_ENV !== 'production' && !Object.isExtensible(target)) {\n warn(\"Vue 2 does not support creating readonly proxy for non-extensible object.\");\n }\n // already a readonly object\n if (isReadonly(target)) {\n return target;\n }\n // already has a readonly proxy\n var existingFlag = shallow ? rawToShallowReadonlyFlag : rawToReadonlyFlag;\n var existingProxy = target[existingFlag];\n if (existingProxy) {\n return existingProxy;\n }\n var proxy = Object.create(Object.getPrototypeOf(target));\n def(target, existingFlag, proxy);\n def(proxy, \"__v_isReadonly\" /* ReactiveFlags.IS_READONLY */, true);\n def(proxy, \"__v_raw\" /* ReactiveFlags.RAW */, target);\n if (isRef(target)) {\n def(proxy, RefFlag, true);\n }\n if (shallow || isShallow(target)) {\n def(proxy, \"__v_isShallow\" /* ReactiveFlags.IS_SHALLOW */, true);\n }\n var keys = Object.keys(target);\n for (var i = 0; i < keys.length; i++) {\n defineReadonlyProperty(proxy, target, keys[i], shallow);\n }\n return proxy;\n}\nfunction defineReadonlyProperty(proxy, target, key, shallow) {\n Object.defineProperty(proxy, key, {\n enumerable: true,\n configurable: true,\n get: function () {\n var val = target[key];\n return shallow || !isPlainObject(val) ? val : readonly(val);\n },\n set: function () {\n process.env.NODE_ENV !== 'production' &&\n warn(\"Set operation on key \\\"\".concat(key, \"\\\" failed: target is readonly.\"));\n }\n });\n}\n/**\n * Returns a reactive-copy of the original object, where only the root level\n * properties are readonly, and does NOT unwrap refs nor recursively convert\n * returned properties.\n * This is used for creating the props proxy object for stateful components.\n */\nfunction shallowReadonly(target) {\n return createReadonly(target, true);\n}\n\nfunction computed(getterOrOptions, debugOptions) {\n var getter;\n var setter;\n var onlyGetter = isFunction(getterOrOptions);\n if (onlyGetter) {\n getter = getterOrOptions;\n setter = process.env.NODE_ENV !== 'production'\n ? function () {\n warn('Write operation failed: computed value is readonly');\n }\n : noop;\n }\n else {\n getter = getterOrOptions.get;\n setter = getterOrOptions.set;\n }\n var watcher = isServerRendering()\n ? null\n : new Watcher(currentInstance, getter, noop, { lazy: true });\n if (process.env.NODE_ENV !== 'production' && watcher && debugOptions) {\n watcher.onTrack = debugOptions.onTrack;\n watcher.onTrigger = debugOptions.onTrigger;\n }\n var ref = {\n // some libs rely on the presence effect for checking computed refs\n // from normal refs, but the implementation doesn't matter\n effect: watcher,\n get value() {\n if (watcher) {\n if (watcher.dirty) {\n watcher.evaluate();\n }\n if (Dep.target) {\n if (process.env.NODE_ENV !== 'production' && Dep.target.onTrack) {\n Dep.target.onTrack({\n effect: Dep.target,\n target: ref,\n type: \"get\" /* TrackOpTypes.GET */,\n key: 'value'\n });\n }\n watcher.depend();\n }\n return watcher.value;\n }\n else {\n return getter();\n }\n },\n set value(newVal) {\n setter(newVal);\n }\n };\n def(ref, RefFlag, true);\n def(ref, \"__v_isReadonly\" /* ReactiveFlags.IS_READONLY */, onlyGetter);\n return ref;\n}\n\nvar WATCHER = \"watcher\";\nvar WATCHER_CB = \"\".concat(WATCHER, \" callback\");\nvar WATCHER_GETTER = \"\".concat(WATCHER, \" getter\");\nvar WATCHER_CLEANUP = \"\".concat(WATCHER, \" cleanup\");\n// Simple effect.\nfunction watchEffect(effect, options) {\n return doWatch(effect, null, options);\n}\nfunction watchPostEffect(effect, options) {\n return doWatch(effect, null, (process.env.NODE_ENV !== 'production'\n ? __assign(__assign({}, options), { flush: 'post' }) : { flush: 'post' }));\n}\nfunction watchSyncEffect(effect, options) {\n return doWatch(effect, null, (process.env.NODE_ENV !== 'production'\n ? __assign(__assign({}, options), { flush: 'sync' }) : { flush: 'sync' }));\n}\n// initial value for watchers to trigger on undefined initial values\nvar INITIAL_WATCHER_VALUE = {};\n// implementation\nfunction watch(source, cb, options) {\n if (process.env.NODE_ENV !== 'production' && typeof cb !== 'function') {\n warn(\"`watch(fn, options?)` signature has been moved to a separate API. \" +\n \"Use `watchEffect(fn, options?)` instead. `watch` now only \" +\n \"supports `watch(source, cb, options?) signature.\");\n }\n return doWatch(source, cb, options);\n}\nfunction doWatch(source, cb, _a) {\n var _b = _a === void 0 ? emptyObject : _a, immediate = _b.immediate, deep = _b.deep, _c = _b.flush, flush = _c === void 0 ? 'pre' : _c, onTrack = _b.onTrack, onTrigger = _b.onTrigger;\n if (process.env.NODE_ENV !== 'production' && !cb) {\n if (immediate !== undefined) {\n warn(\"watch() \\\"immediate\\\" option is only respected when using the \" +\n \"watch(source, callback, options?) signature.\");\n }\n if (deep !== undefined) {\n warn(\"watch() \\\"deep\\\" option is only respected when using the \" +\n \"watch(source, callback, options?) signature.\");\n }\n }\n var warnInvalidSource = function (s) {\n warn(\"Invalid watch source: \".concat(s, \". A watch source can only be a getter/effect \") +\n \"function, a ref, a reactive object, or an array of these types.\");\n };\n var instance = currentInstance;\n var call = function (fn, type, args) {\n if (args === void 0) { args = null; }\n return invokeWithErrorHandling(fn, null, args, instance, type);\n };\n var getter;\n var forceTrigger = false;\n var isMultiSource = false;\n if (isRef(source)) {\n getter = function () { return source.value; };\n forceTrigger = isShallow(source);\n }\n else if (isReactive(source)) {\n getter = function () {\n source.__ob__.dep.depend();\n return source;\n };\n deep = true;\n }\n else if (isArray(source)) {\n isMultiSource = true;\n forceTrigger = source.some(function (s) { return isReactive(s) || isShallow(s); });\n getter = function () {\n return source.map(function (s) {\n if (isRef(s)) {\n return s.value;\n }\n else if (isReactive(s)) {\n return traverse(s);\n }\n else if (isFunction(s)) {\n return call(s, WATCHER_GETTER);\n }\n else {\n process.env.NODE_ENV !== 'production' && warnInvalidSource(s);\n }\n });\n };\n }\n else if (isFunction(source)) {\n if (cb) {\n // getter with cb\n getter = function () { return call(source, WATCHER_GETTER); };\n }\n else {\n // no cb -> simple effect\n getter = function () {\n if (instance && instance._isDestroyed) {\n return;\n }\n if (cleanup) {\n cleanup();\n }\n return call(source, WATCHER, [onCleanup]);\n };\n }\n }\n else {\n getter = noop;\n process.env.NODE_ENV !== 'production' && warnInvalidSource(source);\n }\n if (cb && deep) {\n var baseGetter_1 = getter;\n getter = function () { return traverse(baseGetter_1()); };\n }\n var cleanup;\n var onCleanup = function (fn) {\n cleanup = watcher.onStop = function () {\n call(fn, WATCHER_CLEANUP);\n };\n };\n // in SSR there is no need to setup an actual effect, and it should be noop\n // unless it's eager\n if (isServerRendering()) {\n // we will also not call the invalidate callback (+ runner is not set up)\n onCleanup = noop;\n if (!cb) {\n getter();\n }\n else if (immediate) {\n call(cb, WATCHER_CB, [\n getter(),\n isMultiSource ? [] : undefined,\n onCleanup\n ]);\n }\n return noop;\n }\n var watcher = new Watcher(currentInstance, getter, noop, {\n lazy: true\n });\n watcher.noRecurse = !cb;\n var oldValue = isMultiSource ? [] : INITIAL_WATCHER_VALUE;\n // overwrite default run\n watcher.run = function () {\n if (!watcher.active) {\n return;\n }\n if (cb) {\n // watch(source, cb)\n var newValue = watcher.get();\n if (deep ||\n forceTrigger ||\n (isMultiSource\n ? newValue.some(function (v, i) {\n return hasChanged(v, oldValue[i]);\n })\n : hasChanged(newValue, oldValue))) {\n // cleanup before running cb again\n if (cleanup) {\n cleanup();\n }\n call(cb, WATCHER_CB, [\n newValue,\n // pass undefined as the old value when it's changed for the first time\n oldValue === INITIAL_WATCHER_VALUE ? undefined : oldValue,\n onCleanup\n ]);\n oldValue = newValue;\n }\n }\n else {\n // watchEffect\n watcher.get();\n }\n };\n if (flush === 'sync') {\n watcher.update = watcher.run;\n }\n else if (flush === 'post') {\n watcher.post = true;\n watcher.update = function () { return queueWatcher(watcher); };\n }\n else {\n // pre\n watcher.update = function () {\n if (instance && instance === currentInstance && !instance._isMounted) {\n // pre-watcher triggered before\n var buffer = instance._preWatchers || (instance._preWatchers = []);\n if (buffer.indexOf(watcher) < 0)\n buffer.push(watcher);\n }\n else {\n queueWatcher(watcher);\n }\n };\n }\n if (process.env.NODE_ENV !== 'production') {\n watcher.onTrack = onTrack;\n watcher.onTrigger = onTrigger;\n }\n // initial run\n if (cb) {\n if (immediate) {\n watcher.run();\n }\n else {\n oldValue = watcher.get();\n }\n }\n else if (flush === 'post' && instance) {\n instance.$once('hook:mounted', function () { return watcher.get(); });\n }\n else {\n watcher.get();\n }\n return function () {\n watcher.teardown();\n };\n}\n\nvar activeEffectScope;\nvar EffectScope = /** @class */ (function () {\n function EffectScope(detached) {\n if (detached === void 0) { detached = false; }\n this.detached = detached;\n /**\n * @internal\n */\n this.active = true;\n /**\n * @internal\n */\n this.effects = [];\n /**\n * @internal\n */\n this.cleanups = [];\n this.parent = activeEffectScope;\n if (!detached && activeEffectScope) {\n this.index =\n (activeEffectScope.scopes || (activeEffectScope.scopes = [])).push(this) - 1;\n }\n }\n EffectScope.prototype.run = function (fn) {\n if (this.active) {\n var currentEffectScope = activeEffectScope;\n try {\n activeEffectScope = this;\n return fn();\n }\n finally {\n activeEffectScope = currentEffectScope;\n }\n }\n else if (process.env.NODE_ENV !== 'production') {\n warn(\"cannot run an inactive effect scope.\");\n }\n };\n /**\n * This should only be called on non-detached scopes\n * @internal\n */\n EffectScope.prototype.on = function () {\n activeEffectScope = this;\n };\n /**\n * This should only be called on non-detached scopes\n * @internal\n */\n EffectScope.prototype.off = function () {\n activeEffectScope = this.parent;\n };\n EffectScope.prototype.stop = function (fromParent) {\n if (this.active) {\n var i = void 0, l = void 0;\n for (i = 0, l = this.effects.length; i < l; i++) {\n this.effects[i].teardown();\n }\n for (i = 0, l = this.cleanups.length; i < l; i++) {\n this.cleanups[i]();\n }\n if (this.scopes) {\n for (i = 0, l = this.scopes.length; i < l; i++) {\n this.scopes[i].stop(true);\n }\n }\n // nested scope, dereference from parent to avoid memory leaks\n if (!this.detached && this.parent && !fromParent) {\n // optimized O(1) removal\n var last = this.parent.scopes.pop();\n if (last && last !== this) {\n this.parent.scopes[this.index] = last;\n last.index = this.index;\n }\n }\n this.parent = undefined;\n this.active = false;\n }\n };\n return EffectScope;\n}());\nfunction effectScope(detached) {\n return new EffectScope(detached);\n}\n/**\n * @internal\n */\nfunction recordEffectScope(effect, scope) {\n if (scope === void 0) { scope = activeEffectScope; }\n if (scope && scope.active) {\n scope.effects.push(effect);\n }\n}\nfunction getCurrentScope() {\n return activeEffectScope;\n}\nfunction onScopeDispose(fn) {\n if (activeEffectScope) {\n activeEffectScope.cleanups.push(fn);\n }\n else if (process.env.NODE_ENV !== 'production') {\n warn(\"onScopeDispose() is called when there is no active effect scope\" +\n \" to be associated with.\");\n }\n}\n\nfunction provide(key, value) {\n if (!currentInstance) {\n if (process.env.NODE_ENV !== 'production') {\n warn(\"provide() can only be used inside setup().\");\n }\n }\n else {\n // TS doesn't allow symbol as index type\n resolveProvided(currentInstance)[key] = value;\n }\n}\nfunction resolveProvided(vm) {\n // by default an instance inherits its parent's provides object\n // but when it needs to provide values of its own, it creates its\n // own provides object using parent provides object as prototype.\n // this way in `inject` we can simply look up injections from direct\n // parent and let the prototype chain do the work.\n var existing = vm._provided;\n var parentProvides = vm.$parent && vm.$parent._provided;\n if (parentProvides === existing) {\n return (vm._provided = Object.create(parentProvides));\n }\n else {\n return existing;\n }\n}\nfunction inject(key, defaultValue, treatDefaultAsFactory) {\n if (treatDefaultAsFactory === void 0) { treatDefaultAsFactory = false; }\n // fallback to `currentRenderingInstance` so that this can be called in\n // a functional component\n var instance = currentInstance;\n if (instance) {\n // #2400\n // to support `app.use` plugins,\n // fallback to appContext's `provides` if the instance is at root\n var provides = instance.$parent && instance.$parent._provided;\n if (provides && key in provides) {\n // TS doesn't allow symbol as index type\n return provides[key];\n }\n else if (arguments.length > 1) {\n return treatDefaultAsFactory && isFunction(defaultValue)\n ? defaultValue.call(instance)\n : defaultValue;\n }\n else if (process.env.NODE_ENV !== 'production') {\n warn(\"injection \\\"\".concat(String(key), \"\\\" not found.\"));\n }\n }\n else if (process.env.NODE_ENV !== 'production') {\n warn(\"inject() can only be used inside setup() or functional components.\");\n }\n}\n\nvar normalizeEvent = cached(function (name) {\n var passive = name.charAt(0) === '&';\n name = passive ? name.slice(1) : name;\n var once = name.charAt(0) === '~'; // Prefixed last, checked first\n name = once ? name.slice(1) : name;\n var capture = name.charAt(0) === '!';\n name = capture ? name.slice(1) : name;\n return {\n name: name,\n once: once,\n capture: capture,\n passive: passive\n };\n});\nfunction createFnInvoker(fns, vm) {\n function invoker() {\n var fns = invoker.fns;\n if (isArray(fns)) {\n var cloned = fns.slice();\n for (var i = 0; i < cloned.length; i++) {\n invokeWithErrorHandling(cloned[i], null, arguments, vm, \"v-on handler\");\n }\n }\n else {\n // return handler return value for single handlers\n return invokeWithErrorHandling(fns, null, arguments, vm, \"v-on handler\");\n }\n }\n invoker.fns = fns;\n return invoker;\n}\nfunction updateListeners(on, oldOn, add, remove, createOnceHandler, vm) {\n var name, cur, old, event;\n for (name in on) {\n cur = on[name];\n old = oldOn[name];\n event = normalizeEvent(name);\n if (isUndef(cur)) {\n process.env.NODE_ENV !== 'production' &&\n warn(\"Invalid handler for event \\\"\".concat(event.name, \"\\\": got \") + String(cur), vm);\n }\n else if (isUndef(old)) {\n if (isUndef(cur.fns)) {\n cur = on[name] = createFnInvoker(cur, vm);\n }\n if (isTrue(event.once)) {\n cur = on[name] = createOnceHandler(event.name, cur, event.capture);\n }\n add(event.name, cur, event.capture, event.passive, event.params);\n }\n else if (cur !== old) {\n old.fns = cur;\n on[name] = old;\n }\n }\n for (name in oldOn) {\n if (isUndef(on[name])) {\n event = normalizeEvent(name);\n remove(event.name, oldOn[name], event.capture);\n }\n }\n}\n\nfunction mergeVNodeHook(def, hookKey, hook) {\n if (def instanceof VNode) {\n def = def.data.hook || (def.data.hook = {});\n }\n var invoker;\n var oldHook = def[hookKey];\n function wrappedHook() {\n hook.apply(this, arguments);\n // important: remove merged hook to ensure it's called only once\n // and prevent memory leak\n remove$2(invoker.fns, wrappedHook);\n }\n if (isUndef(oldHook)) {\n // no existing hook\n invoker = createFnInvoker([wrappedHook]);\n }\n else {\n /* istanbul ignore if */\n if (isDef(oldHook.fns) && isTrue(oldHook.merged)) {\n // already a merged invoker\n invoker = oldHook;\n invoker.fns.push(wrappedHook);\n }\n else {\n // existing plain hook\n invoker = createFnInvoker([oldHook, wrappedHook]);\n }\n }\n invoker.merged = true;\n def[hookKey] = invoker;\n}\n\nfunction extractPropsFromVNodeData(data, Ctor, tag) {\n // we are only extracting raw values here.\n // validation and default values are handled in the child\n // component itself.\n var propOptions = Ctor.options.props;\n if (isUndef(propOptions)) {\n return;\n }\n var res = {};\n var attrs = data.attrs, props = data.props;\n if (isDef(attrs) || isDef(props)) {\n for (var key in propOptions) {\n var altKey = hyphenate(key);\n if (process.env.NODE_ENV !== 'production') {\n var keyInLowerCase = key.toLowerCase();\n if (key !== keyInLowerCase && attrs && hasOwn(attrs, keyInLowerCase)) {\n tip(\"Prop \\\"\".concat(keyInLowerCase, \"\\\" is passed to component \") +\n \"\".concat(formatComponentName(\n // @ts-expect-error tag is string\n tag || Ctor), \", but the declared prop name is\") +\n \" \\\"\".concat(key, \"\\\". \") +\n \"Note that HTML attributes are case-insensitive and camelCased \" +\n \"props need to use their kebab-case equivalents when using in-DOM \" +\n \"templates. You should probably use \\\"\".concat(altKey, \"\\\" instead of \\\"\").concat(key, \"\\\".\"));\n }\n }\n checkProp(res, props, key, altKey, true) ||\n checkProp(res, attrs, key, altKey, false);\n }\n }\n return res;\n}\nfunction checkProp(res, hash, key, altKey, preserve) {\n if (isDef(hash)) {\n if (hasOwn(hash, key)) {\n res[key] = hash[key];\n if (!preserve) {\n delete hash[key];\n }\n return true;\n }\n else if (hasOwn(hash, altKey)) {\n res[key] = hash[altKey];\n if (!preserve) {\n delete hash[altKey];\n }\n return true;\n }\n }\n return false;\n}\n\n// The template compiler attempts to minimize the need for normalization by\n// statically analyzing the template at compile time.\n//\n// For plain HTML markup, normalization can be completely skipped because the\n// generated render function is guaranteed to return Array. There are\n// two cases where extra normalization is needed:\n// 1. When the children contains components - because a functional component\n// may return an Array instead of a single root. In this case, just a simple\n// normalization is needed - if any child is an Array, we flatten the whole\n// thing with Array.prototype.concat. It is guaranteed to be only 1-level deep\n// because functional components already normalize their own children.\nfunction simpleNormalizeChildren(children) {\n for (var i = 0; i < children.length; i++) {\n if (isArray(children[i])) {\n return Array.prototype.concat.apply([], children);\n }\n }\n return children;\n}\n// 2. When the children contains constructs that always generated nested Arrays,\n// e.g.